ismeth b7a3b65106 feat(athena): add background_wait tool for race-style task collection
New tool that takes multiple task IDs and blocks until ANY one completes (Promise.race pattern). Returns the completed task's result plus a progress summary with remaining IDs. Enables Athena to show incremental council progress without polling.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-24 22:24:54 +09:00

10 lines
184 B
TypeScript

export {
createBackgroundTask,
createBackgroundOutput,
createBackgroundCancel,
createBackgroundWait,
} from "./tools"
export type * from "./types"
export * from "./constants"