@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.
- package/CHANGELOG.md +25 -0
- package/README.md +7 -0
- package/dist/agents/ReactiveAgent.d.ts.map +1 -1
- package/dist/agents/ReactiveAgent.js +1 -0
- package/dist/agents/ReactiveAgent.js.map +1 -1
- package/dist/agents/SupervisorAgent.d.ts.map +1 -1
- package/dist/agents/SupervisorAgent.js +1 -0
- package/dist/agents/SupervisorAgent.js.map +1 -1
- package/dist/plugin/loader.d.ts +6 -0
- package/dist/plugin/loader.d.ts.map +1 -1
- package/dist/plugin/loader.js +3 -2
- package/dist/plugin/loader.js.map +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.d.ts.map +1 -1
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +12 -1
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/index.d.ts +2 -1
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +2 -1
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/store/session/disk.d.ts +3 -1
- package/dist/store/session/disk.d.ts.map +1 -1
- package/dist/store/session/disk.js +89 -21
- package/dist/store/session/disk.js.map +1 -1
- package/dist/types/agent/base.d.ts +9 -0
- package/dist/types/agent/base.d.ts.map +1 -1
- package/dist/types/tool/index.d.ts +12 -0
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/ReactiveAgent.ts +1 -0
- package/src/agents/SupervisorAgent.ts +1 -0
- package/src/plugin/loader.ts +9 -2
- package/src/public-types.ts +1 -0
- package/src/runtime/query/executor.ts +12 -1
- package/src/runtime/query/index.ts +4 -2
- package/src/store/session/disk.ts +121 -19
- package/src/types/agent/base.ts +10 -0
- package/src/types/tool/index.ts +13 -0
package/src/types/tool/index.ts
CHANGED
|
@@ -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
|
*
|