SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
68d7816 verified
Raw History Blame Contribute Delete
660 Bytes
import { ITodoListTool } from '#/features/todo/tools/todo-list/todo-list';
import { TodoListTool } from '#/features/todo/tools/todo-list/todoListTool';
import { Feature } from '#/features/feature';
import { registerFeature } from '#/features/featureRegistry';
import { AgentTodoService, IAgentTodoService } from '#/features/todo/todoService';
export class TodoFeature extends Feature {
static override readonly name = 'todo';
constructor() {
super();
this.contributeAgentService(IAgentTodoService, AgentTodoService);
this.contributeTool(ITodoListTool, TodoListTool, { name: 'TodoList', domain: 'todo' });
}
}
registerFeature(TodoFeature);