@namzu/sdk 34.0.1 → 34.2.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 (40) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +7 -0
  3. package/dist/agents/ReactiveAgent.d.ts.map +1 -1
  4. package/dist/agents/ReactiveAgent.js +1 -0
  5. package/dist/agents/ReactiveAgent.js.map +1 -1
  6. package/dist/agents/SupervisorAgent.d.ts.map +1 -1
  7. package/dist/agents/SupervisorAgent.js +1 -0
  8. package/dist/agents/SupervisorAgent.js.map +1 -1
  9. package/dist/plugin/loader.d.ts +6 -0
  10. package/dist/plugin/loader.d.ts.map +1 -1
  11. package/dist/plugin/loader.js +3 -2
  12. package/dist/plugin/loader.js.map +1 -1
  13. package/dist/public-types.d.ts +1 -1
  14. package/dist/public-types.d.ts.map +1 -1
  15. package/dist/runtime/query/executor.d.ts.map +1 -1
  16. package/dist/runtime/query/executor.js +12 -1
  17. package/dist/runtime/query/executor.js.map +1 -1
  18. package/dist/runtime/query/index.d.ts +2 -1
  19. package/dist/runtime/query/index.d.ts.map +1 -1
  20. package/dist/runtime/query/index.js +2 -1
  21. package/dist/runtime/query/index.js.map +1 -1
  22. package/dist/store/session/disk.d.ts +3 -1
  23. package/dist/store/session/disk.d.ts.map +1 -1
  24. package/dist/store/session/disk.js +89 -21
  25. package/dist/store/session/disk.js.map +1 -1
  26. package/dist/types/agent/base.d.ts +9 -0
  27. package/dist/types/agent/base.d.ts.map +1 -1
  28. package/dist/types/tool/index.d.ts +12 -0
  29. package/dist/types/tool/index.d.ts.map +1 -1
  30. package/dist/types/tool/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/agents/ReactiveAgent.ts +1 -0
  33. package/src/agents/SupervisorAgent.ts +1 -0
  34. package/src/plugin/loader.ts +9 -2
  35. package/src/public-types.ts +1 -0
  36. package/src/runtime/query/executor.ts +12 -1
  37. package/src/runtime/query/index.ts +4 -2
  38. package/src/store/session/disk.ts +121 -19
  39. package/src/types/agent/base.ts +10 -0
  40. package/src/types/tool/index.ts +13 -0
@@ -375,6 +375,19 @@ export interface ToolContext {
375
375
  */
376
376
  toolUseId?: string
377
377
 
378
+ /**
379
+ * Stable, run-scoped identity shared by every direct tool call the model
380
+ * issued in the same response batch.
381
+ *
382
+ * `toolUseId` answers "which call is this?"; this answers "which sibling
383
+ * calls were launched together?". Hosts use it to keep a concurrent group
384
+ * visible while one sibling is still running without accidentally reviving
385
+ * terminal work from an older batch or another run whose provider reused a
386
+ * call id. Optional because a host may invoke a tool directly, outside the
387
+ * query executor.
388
+ */
389
+ toolBatchId?: string
390
+
378
391
  /**
379
392
  * How this execution entered the tool registry.
380
393
  *