mirror of
https://github.com/instructkr/claude-code.git
synced 2026-04-06 03:08:48 +03:00
Replace all 6 task tool stubs (TaskCreate/Get/List/Stop/Update/Output) with real TaskRegistry-backed implementations: - TaskCreate: creates task in global registry, returns real task_id - TaskGet: retrieves full task state (status, messages, timestamps) - TaskList: lists all tasks with metadata - TaskStop: transitions task to stopped state with validation - TaskUpdate: appends user messages to task message history - TaskOutput: returns accumulated task output Global registry uses OnceLock<TaskRegistry> singleton per process. All existing tests pass (37 tools, 149 runtime, 102 CLI).