Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
import type { ConversationScenario } from "../../../profiles/index.js";
import type { CodingAgentRuntimeToolRegistration } from "../../../runtime-contracts/index.js";
import { createTodoTool, type TodoToolInput, type TodoToolOptions } from "./todo-tool.js";
export const TODO_TOOL_SCOPES = [
"im-claw",
"conversation",
"project",
"batch",
"automation",
"kb-processing",
"cli",
] as const satisfies readonly ConversationScenario[];
export const TODO_TOOL_CATEGORY = "agent-control" as const;
export interface TodoToolRegistrationOptions extends TodoToolOptions {
readonly modelOrder?: number;
}
export function createTodoToolRegistration(
options: TodoToolRegistrationOptions,
): CodingAgentRuntimeToolRegistration<TodoToolInput> {
const tool = createTodoTool(options);
return {
tool: { ...tool, modelOrder: options.modelOrder },
scopeUse: TODO_TOOL_SCOPES,
modelOrder: options.modelOrder,
category: TODO_TOOL_CATEGORY,
};
}