feat(council-archive): register council tools and add write_output_to_file to task tool

- Register council_finalize and council_read in tool registry
- Add write_output_to_file param to delegate-task, propagate to LaunchInput
- Create council-archive barrel exports
This commit is contained in:
ismeth
2026-02-27 15:18:18 +01:00
committed by YeonGyu-Kim
parent 2a426860f6
commit b6b956c4c3
6 changed files with 12 additions and 0 deletions
@@ -80,6 +80,7 @@ export async function executeBackgroundTask(
skillContent: systemContent,
category: args.category,
sessionPermission: QUESTION_DENIED_SESSION_PERMISSION,
writeOutputToFile: args.write_output_to_file,
})
// OpenCode TUI's `Task` tool UI calculates toolcalls by looking up
+1
View File
@@ -105,6 +105,7 @@ export function createDelegateTask(options: DelegateTaskToolOptions): ToolDefini
subagent_type: tool.schema.string().optional().describe("REQUIRED if category not provided. Do NOT provide both category and subagent_type."),
session_id: tool.schema.string().optional().describe("Existing Task session to continue"),
command: tool.schema.string().optional().describe("The command that triggered this task"),
write_output_to_file: tool.schema.boolean().optional().describe("Write raw task output to file on completion"),
},
async execute(args: DelegateTaskArgs, toolContext) {
const ctx = toolContext as ToolContextWithMetadata
+1
View File
@@ -17,6 +17,7 @@ export interface DelegateTaskArgs {
session_id?: string
command?: string
load_skills: string[]
write_output_to_file?: boolean
execute?: {
task_id: string
task_dir?: string