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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user