feat(omo-task): add agent orchestration tool for subagent spawning

Implement omo_task tool that allows main agents (oracle, frontend-ui-ux-engineer, etc.) to spawn explore or librarian as subagents.

- Add constants: ALLOWED_AGENTS, TASK_TOOL_DESCRIPTION_TEMPLATE
- Add types: AllowedAgentType, OmoTaskArgs, OmoTaskResult
- Implement createOmoTask function with session management
- Support both new session creation and existing session continuation
- Include proper error handling and logging

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-11 15:02:31 +09:00
parent e4e31ca66a
commit b7ad8dc736
4 changed files with 157 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
export * from "./types"
export * from "./constants"
export { createOmoTask } from "./tools"