refactor(background-task): unify background_result and background_status into background_output tool
- Merge background_status into background_output with block parameter - Replace background_result references with background_output throughout codebase - Update tool descriptions to reflect new unified API - Remove background-tasks.json (memory-based only) - Simplify notification messages and tool usage instructions
This commit is contained in:
@@ -24,8 +24,7 @@ import { skill } from "./skill"
|
||||
|
||||
import {
|
||||
createBackgroundTask,
|
||||
createBackgroundStatus,
|
||||
createBackgroundResult,
|
||||
createBackgroundOutput,
|
||||
createBackgroundCancel,
|
||||
} from "./background-task"
|
||||
|
||||
@@ -39,8 +38,7 @@ export { createOmoTask } from "./omo-task"
|
||||
export function createBackgroundTools(manager: BackgroundManager, client: OpencodeClient) {
|
||||
return {
|
||||
background_task: createBackgroundTask(manager),
|
||||
background_status: createBackgroundStatus(manager),
|
||||
background_result: createBackgroundResult(manager, client),
|
||||
background_output: createBackgroundOutput(manager, client),
|
||||
background_cancel: createBackgroundCancel(manager, client),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user