Download packages/agent-core-v2/src/features/todo/todoFeature.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/todo/todoFeature.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/todo/todoFeature.ts
-
curl -L -o todoFeature.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/todo/todoFeature.ts
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); | |