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 { createTaskOutputTool, type TaskOutputToolInput, type TaskOutputToolOptions } from "./task-output-tool.js";
export const TASK_OUTPUT_TOOL_SCOPES = [
"im-claw",
"conversation",
"project",
"batch",
"automation",
"kb-processing",
"cli",
] as const satisfies readonly ConversationScenario[];
export const TASK_OUTPUT_TOOL_REQUIRES = ["bg-tasks"] as const;
export const TASK_OUTPUT_TOOL_CATEGORY = "agent-control" as const;
export function createTaskOutputToolRegistration(
options: TaskOutputToolOptions,
): CodingAgentRuntimeToolRegistration<TaskOutputToolInput> {
return {
tool: createTaskOutputTool(options),
scopeUse: TASK_OUTPUT_TOOL_SCOPES,
requires: TASK_OUTPUT_TOOL_REQUIRES,
category: TASK_OUTPUT_TOOL_CATEGORY,
};
}