feat: enhance zed integration with TodoWriteTool and TaskTool support (#992)

- Implemented detection and handling for TodoWriteTool to route updates as plan entries instead of tool call events.
- Added sub-agent tool tracking for TaskTool, allowing for event emission and cleanup.
- Updated event listeners to manage sub-agent tool calls and approval requests effectively.
This commit is contained in:
Mingholy
2025-11-07 19:55:23 +08:00
committed by GitHub
parent 7a472e4fcf
commit 3c01c7153b
3 changed files with 413 additions and 29 deletions

View File

@@ -62,9 +62,10 @@ export type {
SubAgentToolResultEvent,
SubAgentFinishEvent,
SubAgentErrorEvent,
SubAgentApprovalRequestEvent,
} from './subagent-events.js';
export { SubAgentEventEmitter } from './subagent-events.js';
export { SubAgentEventEmitter, SubAgentEventType } from './subagent-events.js';
// Statistics and formatting
export type {