qlogicagent 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/agent.js +10 -9
  2. package/dist/cli.js +213 -211
  3. package/dist/index.js +212 -210
  4. package/dist/orchestration.js +13 -12
  5. package/dist/protocol.js +1 -0
  6. package/dist/types/agent/constants.d.ts +4 -53
  7. package/dist/types/agent/tunable-defaults.d.ts +225 -0
  8. package/dist/types/agent/types.d.ts +24 -100
  9. package/dist/types/cli/stdio-server.d.ts +40 -0
  10. package/dist/types/cli/tool-bootstrap.d.ts +6 -0
  11. package/dist/types/contracts/index.d.ts +2 -3
  12. package/dist/types/llm/provider-def.d.ts +3 -0
  13. package/dist/types/llm/transport.d.ts +25 -25
  14. package/dist/types/llm/transports/anthropic-messages.d.ts +2 -2
  15. package/dist/types/llm/transports/gemini-generatecontent.d.ts +2 -2
  16. package/dist/types/llm/transports/openai-chat.d.ts +2 -2
  17. package/dist/types/llm/transports/openai-responses.d.ts +9 -9
  18. package/dist/types/llm/transports/volcengine-responses.d.ts +11 -11
  19. package/dist/types/orchestration/agent-instance.d.ts +15 -0
  20. package/dist/types/orchestration/skill-improvement.d.ts +39 -8
  21. package/dist/types/orchestration/solo-evaluator.d.ts +7 -0
  22. package/dist/types/orchestration/subagent/fork-subagent.d.ts +2 -2
  23. package/dist/types/orchestration/tool-loop/tool-choice-policy.d.ts +1 -1
  24. package/dist/types/protocol/methods.d.ts +143 -53
  25. package/dist/types/protocol/notifications.d.ts +4 -495
  26. package/dist/types/protocol/wire/acp-protocol.d.ts +411 -0
  27. package/dist/types/protocol/wire/agent-events.d.ts +32 -0
  28. package/dist/types/protocol/wire/agent-methods.d.ts +587 -0
  29. package/dist/types/protocol/wire/agent-rpc.d.ts +97 -0
  30. package/dist/types/protocol/wire/capability-manifest.d.ts +111 -0
  31. package/dist/types/protocol/wire/capability-transport.d.ts +207 -0
  32. package/dist/types/protocol/wire/channel-ingress.d.ts +29 -0
  33. package/dist/types/protocol/wire/channel.d.ts +89 -0
  34. package/dist/types/protocol/wire/chat-types.d.ts +87 -0
  35. package/dist/types/protocol/wire/checkpoint-runtime.d.ts +61 -0
  36. package/dist/types/protocol/wire/checkpoint.d.ts +72 -0
  37. package/dist/types/protocol/wire/execution.d.ts +391 -0
  38. package/dist/types/protocol/wire/gateway-rpc.d.ts +314 -0
  39. package/dist/types/protocol/wire/gateway.d.ts +62 -0
  40. package/dist/types/protocol/wire/hook-protocol.d.ts +37 -0
  41. package/dist/types/protocol/wire/index.d.ts +25 -0
  42. package/dist/types/protocol/wire/memory-provider-lifecycle.d.ts +80 -0
  43. package/dist/types/protocol/wire/notification-payloads.d.ts +581 -0
  44. package/dist/types/protocol/wire/provider-runtime-contract.d.ts +66 -0
  45. package/dist/types/protocol/wire/provider-runtime-core.d.ts +147 -0
  46. package/dist/types/protocol/wire/provider-runtime-io.d.ts +20 -0
  47. package/dist/types/protocol/wire/resource-manifest.d.ts +68 -0
  48. package/dist/types/protocol/wire/session.d.ts +32 -0
  49. package/dist/types/protocol/wire/thread-protocol.d.ts +157 -0
  50. package/dist/types/protocol/wire/transport.d.ts +57 -0
  51. package/dist/types/protocol/wire/turn.d.ts +208 -0
  52. package/dist/types/protocol/wire/web-capability.d.ts +51 -0
  53. package/dist/types/runtime/hooks/memory-hooks.d.ts +2 -5
  54. package/dist/types/runtime/hooks/skill-recall-hooks.d.ts +2 -4
  55. package/dist/types/runtime/infra/acp-types.d.ts +3 -142
  56. package/dist/types/runtime/infra/project-store.d.ts +6 -0
  57. package/dist/types/runtime/infra/skill-injector.d.ts +9 -2
  58. package/dist/types/runtime/infra/token-budget.d.ts +3 -3
  59. package/dist/types/runtime/session/index.d.ts +1 -1
  60. package/dist/types/runtime/session/session-memory.d.ts +46 -0
  61. package/dist/types/runtime/session/session-persistence.d.ts +34 -8
  62. package/dist/types/runtime/session/session-state.d.ts +4 -4
  63. package/dist/types/skills/memory/memory-tool.d.ts +1 -1
  64. package/dist/types/skills/memory/qmemory-adapter.d.ts +1 -1
  65. package/dist/types/skills/permissions/hook-runner.d.ts +4 -4
  66. package/dist/types/skills/permissions/permission-classifier.d.ts +2 -2
  67. package/dist/types/skills/skill-system/skill-source.d.ts +65 -0
  68. package/dist/types/skills/tools/project-switch-tool.d.ts +24 -0
  69. package/dist/types/skills/tools.d.ts +5 -5
  70. package/dist/types/transport/acp-event-emitter.d.ts +1 -1
  71. package/dist/types/transport/acp-server.d.ts +18 -9
  72. package/package.json +14 -3
@@ -2,499 +2,8 @@
2
2
  * Centralized Notification Event Protocol — all JSON-RPC notification types
3
3
  * that qlogicagent emits to external apps.
4
4
  *
5
- * This is the SINGLE SOURCE OF TRUTH for the agent's outbound event contract.
6
- * Frontend, Electron, Hub, and test harness all consume these types.
7
- *
8
- * Reference: Codex app-server events, Claude Code streaming events,
9
- * DeerFlow LangGraph stream modes.
10
- */
11
- import type { TokenUsage } from "../agent/types.js";
12
- import type { TodoItem } from "../contracts/todo.js";
13
- import type { AgentSource } from "../runtime/infra/acp-types.js";
14
- /** Embedded thread item for clients using the Thread protocol. */
15
- export interface NotificationThreadItem {
16
- id: string;
17
- type: string;
18
- role: "user" | "assistant" | "system";
19
- text?: string;
20
- toolName?: string;
21
- toolCallId?: string;
22
- arguments?: string;
23
- output?: string;
24
- approved?: boolean;
25
- strategy?: string;
26
- createdAt: string;
27
- }
28
- /** Turn started — always emitted first. */
29
- export interface TurnStartNotification {
30
- turnId: string;
31
- /** Model being used for this turn (Codex parity). */
32
- model?: string;
33
- /** Provider id. */
34
- provider?: string;
35
- }
36
- /** Streaming text chunk from the main agent. */
37
- export interface TurnDeltaNotification {
38
- turnId: string;
39
- text: string;
40
- item?: NotificationThreadItem;
41
- agentSource?: AgentSource;
42
- }
43
- /** Turn completed successfully. */
44
- export interface TurnEndNotification {
45
- turnId: string;
46
- content: string;
47
- usage?: TokenUsage;
48
- model?: string;
49
- provider?: string;
50
- item?: NotificationThreadItem;
51
- agentSource?: AgentSource;
52
- }
53
- /** Turn failed. */
54
- export interface TurnErrorNotification {
55
- turnId: string;
56
- error: string;
57
- code?: string;
58
- }
59
- /** Agent self-recovered from an error (retry, conversation repair, etc.). */
60
- export interface TurnRecoveryNotification {
61
- turnId: string;
62
- action: string;
63
- detail?: string;
64
- item?: NotificationThreadItem;
65
- }
66
- /** Tool invocation started — includes arguments for UI display. */
67
- export interface TurnToolCallNotification {
68
- turnId: string;
69
- callId: string;
70
- name: string;
71
- /** Serialized arguments JSON. Enables UI to display "searching for X", "reading file Y". */
72
- arguments?: string;
73
- item?: NotificationThreadItem;
74
- agentSource?: AgentSource;
75
- }
76
- /**
77
- * Tool execution completed.
78
- * Includes truncated output for "Used X sources" style panels.
79
- */
80
- export interface TurnToolResultNotification {
81
- turnId: string;
82
- callId: string;
83
- name: string;
84
- ok: boolean;
85
- error?: string;
86
- /** Truncated tool output (max 2000 chars). Enables source preview panels. */
87
- outputPreview?: string;
88
- item?: NotificationThreadItem;
89
- }
90
- /** Tool execution blocked by permission system. */
91
- export interface TurnToolBlockedNotification {
92
- turnId: string;
93
- callId: string;
94
- name: string;
95
- reason: string;
96
- item?: NotificationThreadItem;
97
- }
98
- /**
99
- * Reasoning/thinking token stream — separate from main delta.
100
- * Enables DeerFlow-style collapsible thinking blocks.
101
- *
102
- * For models that support extended thinking (Claude, DeepSeek-R1, o1),
103
- * reasoning content is streamed via this event instead of turn.delta.
5
+ * CANONICAL SOURCE: protocol/wire/notification-payloads.ts
6
+ * This file re-exports the wire types.
7
+ * Internal consumers import from this file — zero churn.
104
8
  */
105
- export interface TurnReasoningDeltaNotification {
106
- turnId: string;
107
- text: string;
108
- }
109
- /** Plan/strategy update — rendered as DeerFlow Plan component. */
110
- export interface TurnPlanUpdateNotification {
111
- turnId: string;
112
- slug: string;
113
- content: string;
114
- item?: NotificationThreadItem;
115
- }
116
- /** Suggestion items — interactive quick-action buttons. */
117
- export interface TurnSuggestionsNotification {
118
- turnId: string;
119
- items: Array<{
120
- text: string;
121
- icon?: string;
122
- action?: string;
123
- }>;
124
- }
125
- /** Sub-agent (fork, skill, dream) started execution. */
126
- export interface TurnSubagentStartedNotification {
127
- turnId: string;
128
- subagentId: string;
129
- agentType: string;
130
- prompt?: string;
131
- }
132
- /** Sub-agent streaming text chunk. */
133
- export interface TurnSubagentDeltaNotification {
134
- agentType: string;
135
- subagentId?: string;
136
- text: string;
137
- }
138
- /** Sub-agent completed execution. */
139
- export interface TurnSubagentEndedNotification {
140
- turnId: string;
141
- subagentId: string;
142
- agentType: string;
143
- ok: boolean;
144
- /** Truncated result (max 2000 chars). */
145
- outputPreview?: string;
146
- error?: string;
147
- }
148
- /** URL citations / file citations returned by OpenAI built-in tools. */
149
- export interface TurnAnnotationsNotification {
150
- turnId: string;
151
- annotations: Array<{
152
- type: string;
153
- url?: string;
154
- title?: string;
155
- [key: string]: unknown;
156
- }>;
157
- }
158
- export type MediaResultType = "image" | "tts" | "video" | "music" | "3d";
159
- /** Structured media generation result — enables media preview cards. */
160
- export interface TurnMediaResultNotification {
161
- turnId: string;
162
- mediaType: MediaResultType;
163
- /** Local file path or URL. */
164
- url: string;
165
- /** Model used for generation. */
166
- model?: string;
167
- /** Provider id. */
168
- provider?: string;
169
- /** Duration in seconds (for TTS/video). */
170
- durationSeconds?: number;
171
- /** Image dimensions. */
172
- width?: number;
173
- height?: number;
174
- /** MIME type (e.g. "audio/mpeg", "image/png"). */
175
- mimeType?: string;
176
- /** Billing info. */
177
- billingUnit?: string;
178
- billingQuantity?: number;
179
- /** Backend task ID — for progress querying / cancellation. */
180
- taskId?: string;
181
- }
182
- /** Async media generation progress — emitted during polling for video/music/3D tasks. */
183
- export interface TurnMediaProgressNotification {
184
- turnId: string;
185
- /** Backend task ID (provider-specific). */
186
- taskId: string;
187
- mediaType: MediaResultType;
188
- /** Estimated progress (0-100). */
189
- percent: number;
190
- /** Provider status label (e.g. "queuing", "running", "processing"). */
191
- status: string;
192
- /** Provider id. */
193
- provider?: string;
194
- }
195
- /** Media files auto-downloaded to local storage (~/.qlogicagent/media/). */
196
- export interface TurnMediaPersistedNotification {
197
- turnId: string;
198
- files: Array<{
199
- remoteUrl: string;
200
- localPath: string;
201
- bytes: number;
202
- mimeType: string;
203
- }>;
204
- }
205
- /** Full todo list updated — enables DeerFlow-style todo panel sync. */
206
- export interface TurnTodosUpdatedNotification {
207
- turnId?: string;
208
- items: TodoItem[];
209
- summary: {
210
- total: number;
211
- completed: number;
212
- inProgress: number;
213
- notStarted: number;
214
- };
215
- }
216
- /** Infrastructure task state change (bash, agent fork, dream). */
217
- export interface TaskUpdatedNotification {
218
- taskId: string;
219
- type: string;
220
- lifecycle: string;
221
- label?: string;
222
- }
223
- /** Long-running command execution progress (shell, script). */
224
- export interface TurnExecProgressNotification {
225
- output: string;
226
- elapsedTimeSeconds: number;
227
- totalLines: number;
228
- totalBytes: number;
229
- }
230
- /** Generic progress heartbeat (e.g. builtin tool status). */
231
- export interface TurnHeartbeatNotification {
232
- turnId: string;
233
- message: string;
234
- }
235
- /** Human-readable summary of a tool use batch. */
236
- export interface TurnToolUseSummaryNotification {
237
- turnId: string;
238
- summary: string;
239
- }
240
- export type ArtifactType = "code" | "file" | "image" | "document" | "diagram" | "table";
241
- /** Structured artifact produced by the agent — enables Canvas-style rendering. */
242
- export interface TurnArtifactNotification {
243
- turnId: string;
244
- artifactId: string;
245
- type: ArtifactType;
246
- title: string;
247
- /** File path (for file/code artifacts). */
248
- filePath?: string;
249
- /** Language id (for code artifacts). */
250
- language?: string;
251
- /** Content body (may be truncated for large artifacts). */
252
- content?: string;
253
- /** MIME type. */
254
- mimeType?: string;
255
- }
256
- /** Agent requests user approval before executing a restricted tool. */
257
- export interface ToolApprovalRequestNotification {
258
- approvalId: string;
259
- callId: string;
260
- toolName: string;
261
- arguments: string;
262
- message?: string;
263
- suggestions?: string[];
264
- }
265
- /** Skill instruction directive. */
266
- export interface TurnSkillInstructionNotification {
267
- turnId: string;
268
- instruction: unknown;
269
- }
270
- /** Agent asks the user a clarifying question mid-turn. Host presents UI, then responds via thread.user_response. */
271
- export interface TurnAskUserNotification {
272
- requestId: string;
273
- questions: Array<{
274
- header: string;
275
- question: string;
276
- options?: Array<{
277
- label: string;
278
- description?: string;
279
- }>;
280
- }>;
281
- }
282
- /** Memory content changed (local md or QMemory). */
283
- export interface MemoryUpdatedNotification {
284
- source: string;
285
- /** Memory target (memory, user, etc.). */
286
- target?: string;
287
- /** Number of entries. */
288
- entryCount?: number;
289
- /** Human-readable summary of what changed. */
290
- summary?: string;
291
- }
292
- /** Emitted when importance decay runs after a Dream consolidation. */
293
- export interface MemoryDecayCompletedNotification {
294
- /** Number of memories whose importance was reduced. */
295
- decayed: number;
296
- /** Number of memories archived (below threshold). */
297
- archived: number;
298
- /** Duration in ms. */
299
- durationMs: number;
300
- }
301
- /** Session metadata changed (title, model, etc.). */
302
- export interface SessionInfoNotification {
303
- sessionId: string;
304
- title?: string;
305
- model?: string;
306
- provider?: string;
307
- cwd?: string;
308
- turnCount?: number;
309
- }
310
- /** Permission rule saved/updated. */
311
- export interface PermissionRuleUpdatedNotification {
312
- /** Tool name glob pattern. */
313
- pattern: string;
314
- /** New permission behavior (allow, deny, ask). */
315
- behavior: string;
316
- }
317
- /** Team created, updated, or destroyed. */
318
- export interface TeamUpdatedNotification {
319
- teamName: string;
320
- action: "created" | "destroyed" | "member_joined" | "member_left";
321
- members?: Array<{
322
- agentName: string;
323
- role: string;
324
- worktreePath?: string;
325
- pid?: number;
326
- }>;
327
- }
328
- /** Forwarded notification from a team member child process. */
329
- export interface TeamMemberNotification {
330
- memberId: string;
331
- method: string;
332
- params: unknown;
333
- }
334
- /** Team member child process state change. */
335
- export interface TeamMemberStateNotification {
336
- memberId: string;
337
- state: "starting" | "ready" | "running" | "completed" | "failed" | "killed";
338
- }
339
- export interface PongNotification {
340
- }
341
- /** Real-time token usage update (emitted after each LLM call within a turn). */
342
- export interface TurnUsageUpdateNotification {
343
- turnId: string;
344
- usage: TokenUsage;
345
- model?: string;
346
- /** Cumulative cost estimate for this session (USD). */
347
- sessionCostUSD?: number;
348
- }
349
- /** Agent status change notification. */
350
- export interface AgentsStatusNotification {
351
- agentId: string;
352
- status: "available" | "spawning" | "running" | "hang" | "failed" | "unavailable";
353
- health?: {
354
- missedBeats: number;
355
- lastActiveAt: string;
356
- };
357
- usage?: {
358
- inputTokens: number;
359
- outputTokens: number;
360
- totalTokens: number;
361
- };
362
- error?: {
363
- phase: string;
364
- message: string;
365
- retriesLeft: number;
366
- };
367
- }
368
- /** Agent error notification. */
369
- export interface AgentsErrorNotification {
370
- agentId: string;
371
- phase: "detect" | "spawn" | "handshake" | "runtime" | "shutdown" | "heartbeat";
372
- error: string;
373
- retriesLeft: number;
374
- }
375
- /** Solo agent progress notification. */
376
- export interface SoloProgressNotification {
377
- soloId: string;
378
- agentId: string;
379
- state: "pending" | "running" | "completed" | "failed";
380
- progress?: string;
381
- }
382
- /** Solo evaluation completed notification. */
383
- export interface SoloEvaluationNotification {
384
- soloId: string;
385
- winnerId: string;
386
- reasoning: string;
387
- }
388
- /** Solo agent streaming delta — text output from a competing agent. */
389
- export interface SoloAgentDeltaNotification {
390
- soloId: string;
391
- agentId: string;
392
- text: string;
393
- }
394
- /** Product task started. */
395
- export interface ProductTaskStartedNotification {
396
- productId: string;
397
- taskId: string;
398
- assignee: string;
399
- }
400
- /** Product task completed. */
401
- export interface ProductTaskCompletedNotification {
402
- productId: string;
403
- taskId: string;
404
- result: string;
405
- }
406
- /** Product task failed. */
407
- export interface ProductTaskFailedNotification {
408
- productId: string;
409
- taskId: string;
410
- error: string;
411
- }
412
- /** Product checkpoint saved. */
413
- export interface ProductCheckpointedNotification {
414
- productId: string;
415
- timestamp: string;
416
- }
417
- /** Product budget warning (>80%). */
418
- export interface ProductBudgetWarningNotification {
419
- productId: string;
420
- usedTokens: number;
421
- maxTotalTokens: number;
422
- percentage: number;
423
- }
424
- /** Product completed (all tasks done or terminal). */
425
- export interface ProductCompletedNotification {
426
- productId: string;
427
- summary: string;
428
- }
429
- /** A project was created. */
430
- export interface ProjectCreatedNotification {
431
- id: string;
432
- name: string;
433
- workspaceDir: string;
434
- type: string;
435
- groupId?: string;
436
- }
437
- /** Active project was switched. */
438
- export interface ProjectSwitchedNotification {
439
- id: string;
440
- name: string;
441
- workspaceDir: string;
442
- }
443
- /** A project was deleted. */
444
- export interface ProjectDeletedNotification {
445
- id: string;
446
- }
447
- export interface NotificationMethodMap {
448
- "turn.start": TurnStartNotification;
449
- "turn.delta": TurnDeltaNotification;
450
- "turn.end": TurnEndNotification;
451
- "turn.error": TurnErrorNotification;
452
- "turn.recovery": TurnRecoveryNotification;
453
- "turn.tool_call": TurnToolCallNotification;
454
- "turn.tool_result": TurnToolResultNotification;
455
- "turn.tool_blocked": TurnToolBlockedNotification;
456
- "turn.reasoning_delta": TurnReasoningDeltaNotification;
457
- "turn.plan_update": TurnPlanUpdateNotification;
458
- "turn.suggestions": TurnSuggestionsNotification;
459
- "turn.subagent_started": TurnSubagentStartedNotification;
460
- "turn.subagent_delta": TurnSubagentDeltaNotification;
461
- "turn.subagent_ended": TurnSubagentEndedNotification;
462
- "turn.annotations": TurnAnnotationsNotification;
463
- "turn.media_result": TurnMediaResultNotification;
464
- "turn.media_progress": TurnMediaProgressNotification;
465
- "turn.media_persisted": TurnMediaPersistedNotification;
466
- "turn.todos_updated": TurnTodosUpdatedNotification;
467
- "task.updated": TaskUpdatedNotification;
468
- "turn.exec_progress": TurnExecProgressNotification;
469
- "turn.heartbeat": TurnHeartbeatNotification;
470
- "turn.tool_use_summary": TurnToolUseSummaryNotification;
471
- "turn.artifact": TurnArtifactNotification;
472
- "tool.approval.request": ToolApprovalRequestNotification;
473
- "turn.skill_instruction": TurnSkillInstructionNotification;
474
- "turn.ask_user": TurnAskUserNotification;
475
- "memory.updated": MemoryUpdatedNotification;
476
- "memory.decay.completed": MemoryDecayCompletedNotification;
477
- "session.info": SessionInfoNotification;
478
- "permission.rule_updated": PermissionRuleUpdatedNotification;
479
- "team.updated": TeamUpdatedNotification;
480
- "team.member.notification": TeamMemberNotification;
481
- "team.member.state": TeamMemberStateNotification;
482
- "turn.usage_update": TurnUsageUpdateNotification;
483
- "pong": PongNotification;
484
- "agents.status": AgentsStatusNotification;
485
- "agents.error": AgentsErrorNotification;
486
- "solo.progress": SoloProgressNotification;
487
- "solo.evaluation": SoloEvaluationNotification;
488
- "solo.agentDelta": SoloAgentDeltaNotification;
489
- "product.taskStarted": ProductTaskStartedNotification;
490
- "product.taskCompleted": ProductTaskCompletedNotification;
491
- "product.taskFailed": ProductTaskFailedNotification;
492
- "product.checkpointed": ProductCheckpointedNotification;
493
- "product.budgetWarning": ProductBudgetWarningNotification;
494
- "product.completed": ProductCompletedNotification;
495
- "project.created": ProjectCreatedNotification;
496
- "project.switched": ProjectSwitchedNotification;
497
- "project.deleted": ProjectDeletedNotification;
498
- }
499
- /** All known notification method names. */
500
- export type NotificationMethod = keyof NotificationMethodMap;
9
+ export type { AgentSource, AgentsErrorNotification, AgentsStatusNotification, ArtifactType, MediaResultType, MemoryDecayCompletedNotification, MemoryUpdatedNotification, NotificationMethod, NotificationMethodMap, NotificationThreadItem, PermissionRuleUpdatedNotification, PlanInterruptedNotification, PongNotification, ProductBudgetUpdateNotification, ProductBudgetWarningNotification, ProductCheckpointedNotification, ProductCompletedNotification, ProductDagTopologyNotification, ProductTaskCompletedNotification, ProductTaskFailedNotification, ProductTaskOutputDeltaNotification, ProductTaskStartedNotification, ProjectArchivedNotification, ProjectCreatedNotification, ProjectDeletedNotification, ProjectRenamedNotification, ProjectSwitchedNotification, ProjectUnarchivedNotification, SessionInfoNotification, SoloAgentDeltaNotification, SoloAgentDiffNotification, SoloAgentUsageNotification, SoloEvaluationNotification, SoloProgressNotification, TeamMemberNotification, ToolApprovalRequestNotification, TurnAnnotationsNotification, TurnArtifactNotification, TurnAskUserNotification, TurnDeltaNotification, TurnEndNotification, TurnErrorNotification, TurnExecProgressNotification, TurnHeartbeatNotification, TurnMediaPersistedNotification, TurnMediaProgressNotification, TurnMediaResultNotification, TurnPlanUpdateNotification, TurnReasoningDeltaNotification, TurnRecoveryNotification, TurnSidechainCompletedNotification, TurnSidechainStartedNotification, TurnSkillInstructionNotification, TurnStartNotification, TurnSubagentDeltaNotification, TurnSuggestionsNotification, TurnTaskUpdatedNotification, TurnTodosUpdatedNotification, TurnToolBlockedNotification, TurnToolCallNotification, TurnToolResultNotification, TurnToolUseSummaryNotification, TurnUsageUpdateNotification, WireTokenUsage, } from "./wire/index.js";