@jangts/agent-core 0.3.5 → 0.3.6

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 (97) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +28 -26
  3. package/development/docs/api/README.en.md +2 -0
  4. package/development/docs/api/README.md +2 -0
  5. package/development/docs/api/observability.en.md +37 -11
  6. package/development/docs/api/observability.md +64 -11
  7. package/development/docs/api/reference.en.md +469 -348
  8. package/development/docs/api/reference.md +193 -137
  9. package/development/docs/api/types.en.md +1 -0
  10. package/development/docs/api/types.md +1 -0
  11. package/development/docs/api/workflow-views.en.md +64 -0
  12. package/development/docs/api/workflow-views.md +78 -0
  13. package/development/docs/api/workflow.en.md +6 -2
  14. package/development/docs/api/workflow.md +6 -2
  15. package/development/skills/agent-core-app/SKILL.md +12 -0
  16. package/dist/cjs/capabilities/invocation.js +21 -1
  17. package/dist/cjs/capabilities/tool-runtime.js +8 -1
  18. package/dist/cjs/capabilities/tools.js +12 -17
  19. package/dist/cjs/diagnostics/index.js +51 -3
  20. package/dist/cjs/diagnostics/native-sub-flow.js +106 -0
  21. package/dist/cjs/diagnostics/sub-flow.js +278 -32
  22. package/dist/cjs/execution/engine.js +3 -2
  23. package/dist/cjs/execution/events.js +5 -5
  24. package/dist/cjs/execution/reporting.js +18 -28
  25. package/dist/cjs/execution/workflow-chain.js +211 -0
  26. package/dist/cjs/execution/workflow-graph.js +72 -0
  27. package/dist/cjs/execution/workflow.js +34 -6
  28. package/dist/cjs/kits/aggregation.js +17 -14
  29. package/dist/cjs/kits/answering/checks.js +2 -1
  30. package/dist/cjs/kits/answering/flow.js +24 -21
  31. package/dist/cjs/kits/answering/tasks.js +25 -20
  32. package/dist/cjs/kits/delivery.js +36 -24
  33. package/dist/cjs/kits/knowledge/catalog.js +33 -30
  34. package/dist/cjs/kits/policies.js +3 -2
  35. package/dist/cjs/kits/presentation/outputs.js +2 -1
  36. package/dist/cjs/kits/retrieval.js +7 -1
  37. package/dist/cjs/kits/tools.js +1 -0
  38. package/dist/cjs/model/decision-retry.js +2 -1
  39. package/dist/cjs/model/runner.js +20 -5
  40. package/dist/cjs/structs/execution/workflow-views.js +2 -0
  41. package/dist/cjs/support/context/nodes.js +48 -45
  42. package/dist/cjs/support/context/processing.js +6 -3
  43. package/dist/cjs/utils/invocation.js +1 -0
  44. package/dist/esm/capabilities/invocation.js +21 -1
  45. package/dist/esm/capabilities/tool-runtime.js +8 -1
  46. package/dist/esm/capabilities/tools.js +12 -17
  47. package/dist/esm/diagnostics/index.d.ts +1 -0
  48. package/dist/esm/diagnostics/index.js +48 -2
  49. package/dist/esm/diagnostics/native-sub-flow.d.ts +94 -0
  50. package/dist/esm/diagnostics/native-sub-flow.js +101 -0
  51. package/dist/esm/diagnostics/sub-flow.d.ts +56 -4
  52. package/dist/esm/diagnostics/sub-flow.js +271 -32
  53. package/dist/esm/execution/engine.d.ts +1 -0
  54. package/dist/esm/execution/engine.js +3 -2
  55. package/dist/esm/execution/events.js +5 -5
  56. package/dist/esm/execution/reporting.d.ts +6 -12
  57. package/dist/esm/execution/reporting.js +19 -29
  58. package/dist/esm/execution/workflow-chain.d.ts +3 -0
  59. package/dist/esm/execution/workflow-chain.js +208 -0
  60. package/dist/esm/execution/workflow-graph.d.ts +7 -0
  61. package/dist/esm/execution/workflow-graph.js +68 -0
  62. package/dist/esm/execution/workflow.d.ts +6 -0
  63. package/dist/esm/execution/workflow.js +34 -6
  64. package/dist/esm/kits/aggregation.d.ts +1 -1
  65. package/dist/esm/kits/aggregation.js +17 -14
  66. package/dist/esm/kits/answering/checks.js +2 -1
  67. package/dist/esm/kits/answering/flow.js +24 -21
  68. package/dist/esm/kits/answering/tasks.js +25 -20
  69. package/dist/esm/kits/delivery.d.ts +0 -9
  70. package/dist/esm/kits/delivery.js +36 -24
  71. package/dist/esm/kits/knowledge/catalog.js +33 -30
  72. package/dist/esm/kits/policies.d.ts +1 -1
  73. package/dist/esm/kits/policies.js +3 -2
  74. package/dist/esm/kits/presentation/outputs.js +2 -1
  75. package/dist/esm/kits/retrieval.js +7 -1
  76. package/dist/esm/kits/tools.js +1 -0
  77. package/dist/esm/model/decision-retry.d.ts +2 -0
  78. package/dist/esm/model/decision-retry.js +2 -1
  79. package/dist/esm/model/runner.d.ts +2 -0
  80. package/dist/esm/model/runner.js +20 -5
  81. package/dist/esm/structs/capabilities/invocation.d.ts +2 -0
  82. package/dist/esm/structs/capabilities/tools.d.ts +7 -3
  83. package/dist/esm/structs/common.d.ts +2 -0
  84. package/dist/esm/structs/debug.d.ts +36 -20
  85. package/dist/esm/structs/execution/workflow-views.d.ts +123 -0
  86. package/dist/esm/structs/execution/workflow-views.js +1 -0
  87. package/dist/esm/structs/execution/workflow.d.ts +4 -3
  88. package/dist/esm/structs/index.d.ts +1 -0
  89. package/dist/esm/structs/model/runtime.d.ts +2 -0
  90. package/dist/esm/support/context/nodes.js +48 -45
  91. package/dist/esm/support/context/processing.js +6 -3
  92. package/dist/esm/utils/invocation.d.ts +1 -0
  93. package/dist/esm/utils/invocation.js +1 -0
  94. package/package.json +1 -1
  95. package/dist/cjs/utils/debug.js +0 -30
  96. package/dist/esm/utils/debug.d.ts +0 -27
  97. package/dist/esm/utils/debug.js +0 -27
@@ -6,28 +6,31 @@ Symbols of this package link to the declarations shipped with the package; exter
6
6
 
7
7
  ## @jangts/agent-core
8
8
 
9
- [Contracts and behavior](core.md) · 294 exported symbols
9
+ [Contracts and behavior](core.md) · 316 exported symbols
10
10
 
11
11
  | Symbol | Type/value | Declaration and notes |
12
12
  | --- | --- | --- |
13
- | `abortableStream` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/abortable-stream.d.ts#L1) |
14
- | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L58) |
13
+ | `abortableStream` | value | [Declaration](../../../dist/esm/index.d.ts#L31) |
14
+ | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L60) |
15
+ | `AgentCacheAddress` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L27) |
16
+ | `AgentCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L23) |
17
+ | `AgentCachePort` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L34) |
15
18
  | `AgentCatalogPorts` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
16
- | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L78) |
17
- | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L89) |
18
- | `AgentCoreEngine` | value + type | [Declaration](../../../dist/esm/execution/engine.d.ts#L105) |
19
- | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L36) |
20
- | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L31) |
19
+ | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L80) |
20
+ | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L91) |
21
+ | `AgentCoreEngine` | value + type | [Declaration](../../../dist/esm/execution/engine.d.ts#L107) |
22
+ | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L37) |
23
+ | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L33) |
21
24
  | `AgentErrorInfo` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L46) |
22
- | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L20) |
23
- | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L13) |
25
+ | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L22) |
26
+ | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L15) |
24
27
  | `AgentOutputEvent` | type | [Declaration](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
25
- | `AgentWorkflow` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L8) |
28
+ | `AgentWorkflow` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L9) |
26
29
  | `AgentWorkflowDefinition` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L102) |
27
30
  | `assembleContextPlan` | value | [Declaration](../../../dist/esm/context/plan.d.ts#L14) |
28
31
  | `assembleFragments` | value | [Declaration](../../../dist/esm/context/assembly.d.ts#L14) |
29
32
  | `AsyncSink` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L21) |
30
- | `AttemptBudget` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L150) |
33
+ | `AttemptBudget` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L156) |
31
34
  | `bindInteraction` | value | [Declaration](../../../dist/esm/kits/interaction/handlers.d.ts#L21) |
32
35
  | `BreakCheck` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L33) |
33
36
  | `BreakEvent` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L42) |
@@ -37,6 +40,8 @@ Symbols of this package link to the declarations shipped with the package; exter
37
40
  | `BreakWhileConfig` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L49) |
38
41
  | `BudgetError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L29) |
39
42
  | `BuiltContext` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L45) |
43
+ | `CacheContext` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L51) |
44
+ | `CacheReadOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L11) |
40
45
  | `CandidateSelectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
41
46
  | `CatalogIntent` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L12) |
42
47
  | `CatalogScope` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L17) |
@@ -72,20 +77,20 @@ Symbols of this package link to the declarations shipped with the package; exter
72
77
  | `ContextTrust` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L13) |
73
78
  | `CoreDiagnosticRecord` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L260) |
74
79
  | `CoreEvent` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L188) |
75
- | `coreEventCatalog` | value | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L1) |
80
+ | `coreEventCatalog` | value | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
76
81
  | `CoreEventDescriptor` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L126) |
77
82
  | `CoreEventName` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L119) |
78
83
  | `CoreEventPayloads` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L17) |
79
84
  | `CoreLogOutput` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L213) |
80
- | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L34) |
81
- | `createDiagnostics` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L15) |
85
+ | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L35) |
86
+ | `createDiagnostics` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L16) |
82
87
  | `CreateDiagnosticsOptions` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L247) |
83
88
  | `createIntentRegistry` | value | [Declaration](../../../dist/esm/kits/intents/registry.d.ts#L87) |
84
89
  | `createJsonTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L28) |
85
90
  | `createModelTransport` | value | [Declaration](../../../dist/esm/model/selection-transport.d.ts#L17) |
86
91
  | `createScopeRegistry` | value | [Declaration](../../../dist/esm/kits/intents/scopes.d.ts#L134) |
87
92
  | `createTextTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L10) |
88
- | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L151) |
93
+ | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L168) |
89
94
  | `defineAgentCatalog` | value | [Declaration](../../../dist/esm/kits/intents/catalog.d.ts#L15) |
90
95
  | `defineCandidateSelection` | value | [Declaration](../../../dist/esm/kits/candidates.d.ts#L24) |
91
96
  | `defineCommand` | value | [Declaration](../../../dist/esm/kits/interaction/command.d.ts#L15) |
@@ -102,25 +107,26 @@ Symbols of this package link to the declarations shipped with the package; exter
102
107
  | `defineSemanticSlots` | value | [Declaration](../../../dist/esm/kits/presentation/templates.d.ts#L37) |
103
108
  | `defineTextSkillLoader` | value | [Declaration](../../../dist/esm/kits/text-skills.d.ts#L16) |
104
109
  | `defineTextTemplate` | value | [Declaration](../../../dist/esm/kits/presentation/templates.d.ts#L21) |
105
- | `defineWorkflow` | value | [Declaration](../../../dist/esm/execution/workflow.d.ts#L143) |
110
+ | `defineWorkflow` | value | [Declaration](../../../dist/esm/execution/workflow.d.ts#L149) |
106
111
  | `DescribedTool` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L40) |
107
112
  | `DiagnosticContext` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L224) |
108
- | `diagnosticError` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L24) |
113
+ | `diagnosticError` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L25) |
109
114
  | `DiagnosticIdentity` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L131) |
110
115
  | `DiagnosticSpanFields` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L180) |
111
116
  | `DurationMs` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L17) |
112
117
  | `encodeSseEvent` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L25) |
118
+ | `EngineCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L6) |
113
119
  | `EvidenceProjectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
114
120
  | `EvidenceProjectionProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L29) |
115
121
  | `EvidenceProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L21) |
116
122
  | `EvidenceRequirement` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L12) |
117
- | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L47) |
123
+ | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L49) |
118
124
  | `executeInvocation` | value | [Declaration](../../../dist/esm/capabilities/invocation.d.ts#L17) |
119
125
  | `ExecutionContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L95) |
120
126
  | `ExecutionEventDescriptor` | type | [Declaration](../../../dist/esm/structs/execution/events.d.ts#L14) |
121
127
  | `ExecutionObserver` | type | [Declaration](../../../dist/esm/structs/execution/events.d.ts#L17) |
122
128
  | `ExecutionOptions` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L86) |
123
- | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L42) |
129
+ | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L45) |
124
130
  | `getErrorInfo` | value | [Declaration](../../../dist/esm/errors.d.ts#L25) |
125
131
  | `Id` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L13) |
126
132
  | `IntentDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/registry.d.ts#L14) |
@@ -144,7 +150,7 @@ Symbols of this package link to the declarations shipped with the package; exter
144
150
  | `JsonSchema` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L25) |
145
151
  | `LifecycleProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L54) |
146
152
  | `LifecycleTool` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L110) |
147
- | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L12) |
153
+ | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L13) |
148
154
  | `matchRule` | value | [Declaration](../../../dist/esm/utils/rules.d.ts#L26) |
149
155
  | `MatchRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L12) |
150
156
  | `MaybePromise` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L27) |
@@ -158,16 +164,16 @@ Symbols of this package link to the declarations shipped with the package; exter
158
164
  | `ModelCapabilitySource` | type | [Declaration](../../../dist/esm/structs/capabilities/model.d.ts#L47) |
159
165
  | `ModelChildOptions` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L126) |
160
166
  | `ModelChildPolicy` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L56) |
161
- | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L32) |
167
+ | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L34) |
162
168
  | `ModelImage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L10) |
163
- | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L199) |
169
+ | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L201) |
164
170
  | `ModelInteractionAdapter` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L45) |
165
171
  | `modelInteractionCatalog` | value | [Declaration](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
166
- | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L16) |
167
- | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L55) |
172
+ | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L17) |
173
+ | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L59) |
168
174
  | `ModelOutputEvent` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L107) |
169
- | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L54) |
170
- | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L249) |
175
+ | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L57) |
176
+ | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L251) |
171
177
  | `modelProtocolError` | value | [Declaration](../../../dist/esm/utils/model-protocol.d.ts#L9) |
172
178
  | `ModelProviderContext` | type | [Declaration](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
173
179
  | `ModelProviderErrorCode` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L15) |
@@ -184,17 +190,19 @@ Symbols of this package link to the declarations shipped with the package; exter
184
190
  | `ModelTokenBudget` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L30) |
185
191
  | `ModelTransportDefinition` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L65) |
186
192
  | `ModelTransportRegistration` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L60) |
187
- | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L23) |
193
+ | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L25) |
188
194
  | `nativeFunctionInteraction` | value | [Declaration](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
189
- | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L128) |
190
- | `normalizeDiagnosticEvent` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L38) |
195
+ | `NodeAgentCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L43) |
196
+ | `NodeCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L15) |
197
+ | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L140) |
198
+ | `normalizeDiagnosticEvent` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L39) |
191
199
  | `Observer` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L19) |
192
- | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L107) |
200
+ | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L109) |
193
201
  | `parseJsonFrames` | value | [Declaration](../../../dist/esm/support/transport/json.d.ts#L32) |
194
202
  | `Policy` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L135) |
195
203
  | `PolicyAssessment` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L22) |
196
204
  | `PolicyDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L11) |
197
- | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L230) |
205
+ | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L232) |
198
206
  | `PreparedModelInteraction` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L25) |
199
207
  | `ProtocolCheck` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L47) |
200
208
  | `ProtocolField` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L15) |
@@ -206,8 +214,8 @@ Symbols of this package link to the declarations shipped with the package; exter
206
214
  | `ProviderReasoningStrategy` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
207
215
  | `publishReplyEvents` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L40) |
208
216
  | `ReadonlyCatalog` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L60) |
209
- | `readSse` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L13) |
210
- | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L88) |
217
+ | `readSse` | value | [Declaration](../../../dist/esm/index.d.ts#L31) |
218
+ | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L94) |
211
219
  | `RecoveryDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L40) |
212
220
  | `RecoveryResult` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L31) |
213
221
  | `RegisteredIntent` | type | [Declaration](../../../dist/esm/structs/kits/intents/registry.d.ts#L73) |
@@ -216,7 +224,7 @@ Symbols of this package link to the declarations shipped with the package; exter
216
224
  | `RegisteredProtocol` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L149) |
217
225
  | `RegisteredScope` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L73) |
218
226
  | `RegisteredScopeEvidence` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L61) |
219
- | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L58) |
227
+ | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
220
228
  | `RegistrationDefinition` | type | [Declaration](../../../dist/esm/structs/support/registration.d.ts#L11) |
221
229
  | `Registry` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L76) |
222
230
  | `REPLY_BUBBLE_BOUNDARY` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L19) |
@@ -228,37 +236,40 @@ Symbols of this package link to the declarations shipped with the package; exter
228
236
  | `reportedStepStatusCatalog` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L19) |
229
237
  | `reportedStepStatuses` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L53) |
230
238
  | `requireWorkflowValue` | value | [Declaration](../../../dist/esm/execution/state.d.ts#L22) |
231
- | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L95) |
232
- | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L48) |
233
- | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L55) |
239
+ | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
240
+ | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
241
+ | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
234
242
  | `retrievalQueryKey` | value | [Declaration](../../../dist/esm/utils/query-key.d.ts#L12) |
235
- | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L46) |
236
- | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L29) |
237
- | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L16) |
238
- | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L86) |
243
+ | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
244
+ | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
245
+ | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
246
+ | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
239
247
  | `RetrievalSource` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
240
- | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L20) |
248
+ | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
241
249
  | `route` | value | [Declaration](../../../dist/esm/execution/state.d.ts#L195) |
242
250
  | `scanJsonObjectFrames` | value | [Declaration](../../../dist/esm/support/transport/json.d.ts#L18) |
243
251
  | `SchemaAdapter` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L29) |
244
252
  | `ScopeDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
245
253
  | `ScopeDescription` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
254
+ | `ScopedSubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L55) |
255
+ | `ScopedSubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
246
256
  | `ScopeRegistry` | value + type | [Declaration](../../../dist/esm/kits/intents/scopes.d.ts#L17) |
247
257
  | `ScopeRegistryPolicy` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L38) |
248
- | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L116) |
258
+ | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L118) |
249
259
  | `SemanticSlotDefinition` | type | [Declaration](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
250
260
  | `serializeOutputEvents` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L53) |
251
- | `SseEvent` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L1) |
252
- | `SseIdleTimeoutError` | value + type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L5) |
261
+ | `SseEvent` | type | [Declaration](../../../dist/esm/index.d.ts#L31) |
262
+ | `SseIdleTimeoutError` | value + type | [Declaration](../../../dist/esm/index.d.ts#L31) |
253
263
  | `SseOutputEvent` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
254
- | `SseReadOptions` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L8) |
264
+ | `SseReadOptions` | type | [Declaration](../../../dist/esm/index.d.ts#L31) |
255
265
  | `SseWriter` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
256
- | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L25) |
257
- | `SubFlowLogger` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
258
- | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L105) |
259
- | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L101) |
260
- | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L84) |
261
- | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L135) |
266
+ | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L26) |
267
+ | `SubFlowLog` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L130) |
268
+ | `SubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L45) |
269
+ | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L119) |
270
+ | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L111) |
271
+ | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L90) |
272
+ | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L147) |
262
273
  | `Support` | value | [Declaration](../../../dist/esm/support/index.d.ts#L10) |
263
274
  | `textOutputEvents` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L60) |
264
275
  | `TextSkill` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
@@ -273,11 +284,11 @@ Symbols of this package link to the declarations shipped with the package; exter
273
284
  | `ToolContribution` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L82) |
274
285
  | `ToolDefinition` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L17) |
275
286
  | `ToolExecutionContext` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L36) |
276
- | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
287
+ | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L62) |
277
288
  | `ToolFinalizer` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L164) |
278
289
  | `ToolInvocation` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L61) |
279
290
  | `ToolInvocationPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L51) |
280
- | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L81) |
291
+ | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L83) |
281
292
  | `ToolJournal` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L31) |
282
293
  | `ToolLifecycleOptions` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L166) |
283
294
  | `ToolLifecycleRegistry` | value + type | [Declaration](../../../dist/esm/kits/tools.d.ts#L18) |
@@ -285,8 +296,8 @@ Symbols of this package link to the declarations shipped with the package; exter
285
296
  | `ToolNormalizer` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L162) |
286
297
  | `ToolProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L156) |
287
298
  | `ToolRegistry` | value + type | [Declaration](../../../dist/esm/capabilities/tools.d.ts#L7) |
288
- | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L90) |
289
- | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L71) |
299
+ | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L94) |
300
+ | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L73) |
290
301
  | `ToolResult` | type | [Declaration](../../../dist/esm/structs/invocation.d.ts#L57) |
291
302
  | `ToolRuntimeTypes` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L20) |
292
303
  | `transformContextText` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L39) |
@@ -295,47 +306,77 @@ Symbols of this package link to the declarations shipped with the package; exter
295
306
  | `ValidationError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L17) |
296
307
  | `WalkRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L22) |
297
308
  | `walkRules` | value | [Declaration](../../../dist/esm/utils/rules.d.ts#L36) |
298
- | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L23) |
309
+ | `WorkflowChain` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L62) |
310
+ | `WorkflowChainCoverage` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L46) |
311
+ | `WorkflowChainNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L78) |
312
+ | `WorkflowChainNodeEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L98) |
313
+ | `WorkflowChainSource` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L57) |
314
+ | `WorkflowChainTransition` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L111) |
315
+ | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L25) |
299
316
  | `WorkflowContractError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L38) |
300
- | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L114) |
301
- | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L156) |
302
- | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L170) |
317
+ | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L116) |
318
+ | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L158) |
319
+ | `WorkflowGraph` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L6) |
320
+ | `WorkflowGraphEdge` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L37) |
321
+ | `WorkflowGraphNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L15) |
322
+ | `WorkflowGraphRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L28) |
323
+ | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L172) |
303
324
  | `WorkflowNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L72) |
304
- | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L63) |
305
- | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L47) |
325
+ | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L65) |
326
+ | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L49) |
327
+ | `WorkflowSubflowRecord` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L71) |
306
328
  | `writeSseFrame` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L38) |
307
329
 
308
330
  ## @jangts/agent-core/engine
309
331
 
310
- [Contracts and behavior](core.md) · 25 exported symbols
332
+ [Contracts and behavior](core.md) · 44 exported symbols
311
333
 
312
334
  | Symbol | Type/value | Declaration and notes |
313
335
  | --- | --- | --- |
314
- | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L58) |
315
- | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L78) |
316
- | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L89) |
317
- | `AgentCoreEngine` | value + type | [Declaration](../../../dist/esm/execution/engine.d.ts#L105) |
318
- | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L36) |
319
- | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L31) |
320
- | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L20) |
321
- | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L13) |
322
- | `AgentWorkflow` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L8) |
336
+ | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L60) |
337
+ | `AgentCacheAddress` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L27) |
338
+ | `AgentCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L23) |
339
+ | `AgentCachePort` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L34) |
340
+ | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L80) |
341
+ | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L91) |
342
+ | `AgentCoreEngine` | value + type | [Declaration](../../../dist/esm/execution/engine.d.ts#L107) |
343
+ | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L37) |
344
+ | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L33) |
345
+ | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L22) |
346
+ | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L15) |
347
+ | `AgentWorkflow` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L9) |
323
348
  | `AgentWorkflowDefinition` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L102) |
324
- | `AttemptBudget` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L150) |
325
- | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L34) |
326
- | `defineWorkflow` | value | [Declaration](../../../dist/esm/execution/workflow.d.ts#L143) |
327
- | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L12) |
349
+ | `AttemptBudget` | value + type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L156) |
350
+ | `CacheContext` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L51) |
351
+ | `CacheReadOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L11) |
352
+ | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L35) |
353
+ | `defineWorkflow` | value | [Declaration](../../../dist/esm/execution/workflow.d.ts#L149) |
354
+ | `EngineCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L6) |
355
+ | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L13) |
356
+ | `NodeAgentCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L43) |
357
+ | `NodeCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L15) |
328
358
  | `requireWorkflowValue` | value | [Declaration](../../../dist/esm/execution/state.d.ts#L22) |
329
359
  | `route` | value | [Declaration](../../../dist/esm/execution/state.d.ts#L195) |
330
- | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L25) |
331
- | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L23) |
360
+ | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L26) |
361
+ | `WorkflowChain` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L62) |
362
+ | `WorkflowChainCoverage` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L46) |
363
+ | `WorkflowChainNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L78) |
364
+ | `WorkflowChainNodeEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L98) |
365
+ | `WorkflowChainSource` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L57) |
366
+ | `WorkflowChainTransition` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L111) |
367
+ | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L25) |
332
368
  | `WorkflowContractError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L38) |
333
- | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L114) |
334
- | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L156) |
335
- | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L170) |
369
+ | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L116) |
370
+ | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L158) |
371
+ | `WorkflowGraph` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L6) |
372
+ | `WorkflowGraphEdge` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L37) |
373
+ | `WorkflowGraphNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L15) |
374
+ | `WorkflowGraphRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L28) |
375
+ | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L172) |
336
376
  | `WorkflowNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L72) |
337
- | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L63) |
338
- | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L47) |
377
+ | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L65) |
378
+ | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L49) |
379
+ | `WorkflowSubflowRecord` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L71) |
339
380
 
340
381
  ## @jangts/agent-core/model
341
382
 
@@ -348,9 +389,9 @@ Symbols of this package link to the declarations shipped with the package; exter
348
389
  | `ModelCallTrace` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L72) |
349
390
  | `ModelChildOptions` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L126) |
350
391
  | `ModelChildPolicy` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L56) |
351
- | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L199) |
392
+ | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L201) |
352
393
  | `ModelOutputEvent` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L107) |
353
- | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L249) |
394
+ | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L251) |
354
395
  | `ModelRunner` | value + type | [Declaration](../../../dist/esm/model/runner.d.ts#L14) |
355
396
  | `ModelRunnerOptions` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L164) |
356
397
  | `ModelRunnerPorts` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L111) |
@@ -358,28 +399,31 @@ Symbols of this package link to the declarations shipped with the package; exter
358
399
  | `ModelRuntimeConfig` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L45) |
359
400
  | `ModelTokenBudget` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L30) |
360
401
  | `ModelTransportDefinition` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L65) |
361
- | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L230) |
402
+ | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L232) |
362
403
 
363
404
  ## @jangts/agent-core/types
364
405
 
365
- [Contracts and behavior](types.md) · 451 exported symbols
406
+ [Contracts and behavior](types.md) · 473 exported symbols
366
407
 
367
408
  | Symbol | Type/value | Declaration and notes |
368
409
  | --- | --- | --- |
369
- | `abortableStream` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/abortable-stream.d.ts#L1) |
370
- | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L58) |
410
+ | `abortableStream` | type | [Declaration](../../../dist/esm/types.d.ts#L20) |
411
+ | `AgentBranch` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L60) |
412
+ | `AgentCacheAddress` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L27) |
413
+ | `AgentCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L23) |
414
+ | `AgentCachePort` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L34) |
371
415
  | `AgentCatalogPorts` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
372
- | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L78) |
373
- | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L89) |
374
- | `AgentCoreEngine` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L105) |
375
- | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L36) |
376
- | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L31) |
416
+ | `AgentCheckpoint` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L80) |
417
+ | `AgentCheckpointRecord` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L91) |
418
+ | `AgentCoreEngine` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L107) |
419
+ | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L37) |
420
+ | `AgentCoreEngineSetup` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L33) |
377
421
  | `AgentErrorInfo` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L46) |
378
422
  | `AgentFamily` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L86) |
379
- | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L20) |
380
- | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L13) |
423
+ | `AgentModelBinding` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L22) |
424
+ | `AgentModelRuntime` | type | [Declaration](../../../dist/esm/execution/engine.d.ts#L15) |
381
425
  | `AgentOutputEvent` | type | [Declaration](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
382
- | `AgentWorkflow` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L8) |
426
+ | `AgentWorkflow` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L9) |
383
427
  | `AgentWorkflowDefinition` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L102) |
384
428
  | `Aggregation` | type | [Declaration](../../../dist/esm/kits/aggregation.d.ts#L44) |
385
429
  | `AnswerCheck` | type | [Declaration](../../../dist/esm/structs/kits/answering/flow.d.ts#L16) |
@@ -398,7 +442,7 @@ Symbols of this package link to the declarations shipped with the package; exter
398
442
  | `assembleContextPlan` | type | [Declaration](../../../dist/esm/context/plan.d.ts#L14) |
399
443
  | `assembleFragments` | type | [Declaration](../../../dist/esm/context/assembly.d.ts#L14) |
400
444
  | `AsyncSink` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L21) |
401
- | `AttemptBudget` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L150) |
445
+ | `AttemptBudget` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L156) |
402
446
  | `bindInteraction` | type | [Declaration](../../../dist/esm/kits/interaction/handlers.d.ts#L21) |
403
447
  | `BreakCheck` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L33) |
404
448
  | `BreakEvent` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L42) |
@@ -408,6 +452,8 @@ Symbols of this package link to the declarations shipped with the package; exter
408
452
  | `BreakWhileConfig` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L49) |
409
453
  | `BudgetError` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L29) |
410
454
  | `BuiltContext` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L45) |
455
+ | `CacheContext` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L51) |
456
+ | `CacheReadOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L11) |
411
457
  | `Candidates` | type | [Declaration](../../../dist/esm/kits/candidates.d.ts#L35) |
412
458
  | `CandidateSelectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
413
459
  | `CapabilityCatalogOptions` | type | [Declaration](../../../dist/esm/structs/support/capabilities.d.ts#L31) |
@@ -451,20 +497,20 @@ Symbols of this package link to the declarations shipped with the package; exter
451
497
  | `ContextTrust` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L13) |
452
498
  | `CoreDiagnosticRecord` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L260) |
453
499
  | `CoreEvent` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L188) |
454
- | `coreEventCatalog` | type | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L1) |
500
+ | `coreEventCatalog` | type | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
455
501
  | `CoreEventDescriptor` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L126) |
456
502
  | `CoreEventName` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L119) |
457
503
  | `CoreEventPayloads` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L17) |
458
504
  | `CoreLogOutput` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L213) |
459
- | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L34) |
460
- | `createDiagnostics` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L15) |
505
+ | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L35) |
506
+ | `createDiagnostics` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L16) |
461
507
  | `CreateDiagnosticsOptions` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L247) |
462
508
  | `createIntentRegistry` | type | [Declaration](../../../dist/esm/kits/intents/registry.d.ts#L87) |
463
509
  | `createJsonTransport` | type | [Declaration](../../../dist/esm/support/model/transports.d.ts#L28) |
464
510
  | `createModelTransport` | type | [Declaration](../../../dist/esm/model/selection-transport.d.ts#L17) |
465
511
  | `createScopeRegistry` | type | [Declaration](../../../dist/esm/kits/intents/scopes.d.ts#L134) |
466
512
  | `createTextTransport` | type | [Declaration](../../../dist/esm/support/model/transports.d.ts#L10) |
467
- | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L151) |
513
+ | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L168) |
468
514
  | `defineAgentCatalog` | type | [Declaration](../../../dist/esm/kits/intents/catalog.d.ts#L15) |
469
515
  | `defineAgentFamily` | type | [Declaration](../../../dist/esm/kits/family.d.ts#L17) |
470
516
  | `defineAnswerCheckCatalog` | type | [Declaration](../../../dist/esm/kits/answering/checks.d.ts#L15) |
@@ -478,7 +524,7 @@ Symbols of this package link to the declarations shipped with the package; exter
478
524
  | `defineContentProjection` | type | [Declaration](../../../dist/esm/kits/projection.d.ts#L15) |
479
525
  | `defineContextAssembly` | type | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L15) |
480
526
  | `defineContextFragments` | type | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L28) |
481
- | `defineDelivery` | type | [Declaration](../../../dist/esm/kits/delivery.d.ts#L25) |
527
+ | `defineDelivery` | type | [Declaration](../../../dist/esm/kits/delivery.d.ts#L16) |
482
528
  | `defineDurableTask` | type | [Declaration](../../../dist/esm/kits/durable.d.ts#L19) |
483
529
  | `defineEvidenceChecklist` | type | [Declaration](../../../dist/esm/kits/evidence.d.ts#L14) |
484
530
  | `defineEvidenceProjection` | type | [Declaration](../../../dist/esm/kits/evidence.d.ts#L40) |
@@ -498,13 +544,13 @@ Symbols of this package link to the declarations shipped with the package; exter
498
544
  | `defineTextSkillLoader` | type | [Declaration](../../../dist/esm/kits/text-skills.d.ts#L16) |
499
545
  | `defineTextTemplate` | type | [Declaration](../../../dist/esm/kits/presentation/templates.d.ts#L21) |
500
546
  | `defineTreeProjection` | type | [Declaration](../../../dist/esm/kits/projection.d.ts#L48) |
501
- | `defineWorkflow` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L143) |
502
- | `Delivery` | type | [Declaration](../../../dist/esm/kits/delivery.d.ts#L44) |
547
+ | `defineWorkflow` | type | [Declaration](../../../dist/esm/execution/workflow.d.ts#L149) |
548
+ | `Delivery` | type | [Declaration](../../../dist/esm/kits/delivery.d.ts#L35) |
503
549
  | `DeliveryOptions` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L25) |
504
550
  | `DeliveryStage` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L13) |
505
551
  | `DescribedTool` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L40) |
506
552
  | `DiagnosticContext` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L224) |
507
- | `diagnosticError` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L24) |
553
+ | `diagnosticError` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L25) |
508
554
  | `DiagnosticIdentity` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L131) |
509
555
  | `DiagnosticSpanFields` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L180) |
510
556
  | `Durable` | type | [Declaration](../../../dist/esm/kits/durable.d.ts#L22) |
@@ -519,13 +565,14 @@ Symbols of this package link to the declarations shipped with the package; exter
519
565
  | `DurableTaskOptions` | type | [Declaration](../../../dist/esm/structs/kits/durable.d.ts#L89) |
520
566
  | `DurationMs` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L17) |
521
567
  | `encodeSseEvent` | type | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L25) |
568
+ | `EngineCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L6) |
522
569
  | `ErrorContext` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L61) |
523
570
  | `Evidence` | type | [Declaration](../../../dist/esm/kits/evidence.d.ts#L48) |
524
571
  | `EvidenceProjectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
525
572
  | `EvidenceProjectionProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L29) |
526
573
  | `EvidenceProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L21) |
527
574
  | `EvidenceRequirement` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L12) |
528
- | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L47) |
575
+ | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L49) |
529
576
  | `executeInvocation` | type | [Declaration](../../../dist/esm/capabilities/invocation.d.ts#L17) |
530
577
  | `ExecutionContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L95) |
531
578
  | `ExecutionEventDescriptor` | type | [Declaration](../../../dist/esm/structs/execution/events.d.ts#L14) |
@@ -538,7 +585,7 @@ Symbols of this package link to the declarations shipped with the package; exter
538
585
  | `FamilyRecord` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L36) |
539
586
  | `FamilyStore` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L49) |
540
587
  | `FamilyVersion` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L19) |
541
- | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L42) |
588
+ | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L45) |
542
589
  | `FusedRank` | type | [Declaration](../../../dist/esm/kits/rank-fusion.d.ts#L11) |
543
590
  | `getErrorInfo` | type | [Declaration](../../../dist/esm/errors.d.ts#L25) |
544
591
  | `Id` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L13) |
@@ -583,7 +630,7 @@ Symbols of this package link to the declarations shipped with the package; exter
583
630
  | `KnowledgeSourceReference` | type | [Declaration](../../../dist/esm/structs/kits/knowledge-publication.d.ts#L17) |
584
631
  | `LifecycleProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L54) |
585
632
  | `LifecycleTool` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L110) |
586
- | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L12) |
633
+ | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L13) |
587
634
  | `matchRule` | type | [Declaration](../../../dist/esm/utils/rules.d.ts#L26) |
588
635
  | `MatchRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L12) |
589
636
  | `MaybePromise` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L27) |
@@ -601,18 +648,18 @@ Symbols of this package link to the declarations shipped with the package; exter
601
648
  | `ModelChildOptions` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L126) |
602
649
  | `ModelChildPolicy` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L56) |
603
650
  | `ModelChoiceIndex` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
604
- | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L32) |
651
+ | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L34) |
605
652
  | `ModelImage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L10) |
606
- | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L199) |
653
+ | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L201) |
607
654
  | `ModelInteractionAdapter` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L45) |
608
655
  | `modelInteractionCatalog` | type | [Declaration](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
609
656
  | `ModelInvocationContext` | type | [Declaration](../../../dist/esm/kits/inference.d.ts#L28) |
610
657
  | `ModelInvocationRequest` | type | [Declaration](../../../dist/esm/kits/inference.d.ts#L37) |
611
- | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L16) |
612
- | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L55) |
658
+ | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L17) |
659
+ | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L59) |
613
660
  | `ModelOutputEvent` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L107) |
614
- | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L54) |
615
- | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L249) |
661
+ | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L57) |
662
+ | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L251) |
616
663
  | `modelProtocolError` | type | [Declaration](../../../dist/esm/utils/model-protocol.d.ts#L9) |
617
664
  | `ModelProviderContext` | type | [Declaration](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
618
665
  | `ModelProviderErrorCode` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L15) |
@@ -630,16 +677,18 @@ Symbols of this package link to the declarations shipped with the package; exter
630
677
  | `ModelTokenBudget` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L30) |
631
678
  | `ModelTransportDefinition` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L65) |
632
679
  | `ModelTransportRegistration` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L60) |
633
- | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L23) |
680
+ | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L25) |
634
681
  | `NativeFunctionCall` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L73) |
635
682
  | `nativeFunctionInteraction` | type | [Declaration](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
636
- | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L128) |
683
+ | `NodeAgentCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L43) |
684
+ | `NodeCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L15) |
685
+ | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L140) |
637
686
  | `Normalization` | type | [Declaration](../../../dist/esm/kits/normalization.d.ts#L37) |
638
687
  | `NormalizationOptions` | type | [Declaration](../../../dist/esm/structs/kits/normalization.d.ts#L20) |
639
688
  | `NormalizationStep` | type | [Declaration](../../../dist/esm/structs/kits/normalization.d.ts#L11) |
640
- | `normalizeDiagnosticEvent` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L38) |
689
+ | `normalizeDiagnosticEvent` | type | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L39) |
641
690
  | `Observer` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L19) |
642
- | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L107) |
691
+ | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L109) |
643
692
  | `OutputCatalogOptions` | type | [Declaration](../../../dist/esm/structs/kits/presentation/outputs.d.ts#L77) |
644
693
  | `OutputComposeInput` | type | [Declaration](../../../dist/esm/structs/kits/presentation/outputs.d.ts#L60) |
645
694
  | `OutputDefinition` | type | [Declaration](../../../dist/esm/structs/kits/presentation/outputs.d.ts#L33) |
@@ -653,7 +702,7 @@ Symbols of this package link to the declarations shipped with the package; exter
653
702
  | `Policy` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L135) |
654
703
  | `PolicyAssessment` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L22) |
655
704
  | `PolicyDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L11) |
656
- | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L230) |
705
+ | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L232) |
657
706
  | `PreparedModelInteraction` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L25) |
658
707
  | `PreparedModelTransport` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L38) |
659
708
  | `Presentation` | type | [Declaration](../../../dist/esm/kits/presentation/index.d.ts#L22) |
@@ -677,9 +726,9 @@ Symbols of this package link to the declarations shipped with the package; exter
677
726
  | `QueryAggregationOptions` | type | [Declaration](../../../dist/esm/structs/kits/aggregation.d.ts#L10) |
678
727
  | `RankedList` | type | [Declaration](../../../dist/esm/kits/rank-fusion.d.ts#L2) |
679
728
  | `ReadonlyCatalog` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L60) |
680
- | `readSse` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L13) |
729
+ | `readSse` | type | [Declaration](../../../dist/esm/types.d.ts#L20) |
681
730
  | `reciprocalRankFusion` | type | [Declaration](../../../dist/esm/kits/rank-fusion.d.ts#L36) |
682
- | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L88) |
731
+ | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L94) |
683
732
  | `RecoveryDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L40) |
684
733
  | `RecoveryResult` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L31) |
685
734
  | `Reflection` | type | [Declaration](../../../dist/esm/kits/reflection.d.ts#L18) |
@@ -700,7 +749,7 @@ Symbols of this package link to the declarations shipped with the package; exter
700
749
  | `RegisteredProtocol` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L149) |
701
750
  | `RegisteredScope` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L73) |
702
751
  | `RegisteredScopeEvidence` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L61) |
703
- | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L58) |
752
+ | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
704
753
  | `RegisteredTransportOutput` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L158) |
705
754
  | `RegistrationDefinition` | type | [Declaration](../../../dist/esm/structs/support/registration.d.ts#L11) |
706
755
  | `Registry` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L76) |
@@ -715,47 +764,50 @@ Symbols of this package link to the declarations shipped with the package; exter
715
764
  | `requireWorkflowValue` | type | [Declaration](../../../dist/esm/execution/state.d.ts#L22) |
716
765
  | `resolvePreference` | type | [Declaration](../../../dist/esm/kits/presentation/variants.d.ts#L34) |
717
766
  | `Retrieval` | type | [Declaration](../../../dist/esm/kits/retrieval.d.ts#L23) |
718
- | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L95) |
719
- | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L48) |
720
- | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L55) |
767
+ | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
768
+ | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
769
+ | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
721
770
  | `retrievalQueryKey` | type | [Declaration](../../../dist/esm/utils/query-key.d.ts#L12) |
722
- | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L46) |
723
- | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L29) |
724
- | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L16) |
725
- | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L86) |
771
+ | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
772
+ | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
773
+ | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
774
+ | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
726
775
  | `RetrievalSource` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
727
- | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L20) |
776
+ | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
728
777
  | `route` | type | [Declaration](../../../dist/esm/execution/state.d.ts#L195) |
729
778
  | `scanJsonObjectFrames` | type | [Declaration](../../../dist/esm/support/transport/json.d.ts#L18) |
730
779
  | `SchemaAdapter` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L29) |
731
780
  | `ScopeDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
732
781
  | `ScopeDescription` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
782
+ | `ScopedSubFlowLogger` | type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L55) |
783
+ | `ScopedSubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
733
784
  | `ScopeRegistry` | type | [Declaration](../../../dist/esm/kits/intents/scopes.d.ts#L17) |
734
785
  | `ScopeRegistryPolicy` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L38) |
735
- | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L116) |
786
+ | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L118) |
736
787
  | `SectionSelection` | type | [Declaration](../../../dist/esm/structs/kits/knowledge.d.ts#L33) |
737
788
  | `SelectedTools` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L39) |
738
789
  | `selectVariant` | type | [Declaration](../../../dist/esm/kits/presentation/variants.d.ts#L20) |
739
790
  | `SemanticSlotDefinition` | type | [Declaration](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
740
791
  | `serializeOutputEvents` | type | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L53) |
741
- | `SseEvent` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L1) |
742
- | `SseIdleTimeoutError` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L5) |
792
+ | `SseEvent` | type | [Declaration](../../../dist/esm/types.d.ts#L10) |
793
+ | `SseIdleTimeoutError` | type | [Declaration](../../../dist/esm/types.d.ts#L20) |
743
794
  | `SseOutputEvent` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
744
- | `SseReadOptions` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L8) |
795
+ | `SseReadOptions` | type | [Declaration](../../../dist/esm/types.d.ts#L10) |
745
796
  | `SseWriter` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
746
- | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L25) |
747
- | `SubFlowLogger` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
748
- | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L105) |
749
- | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L101) |
750
- | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L84) |
751
- | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L135) |
797
+ | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L26) |
798
+ | `SubFlowLog` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L130) |
799
+ | `SubFlowLogger` | type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L45) |
800
+ | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L119) |
801
+ | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L111) |
802
+ | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L90) |
803
+ | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L147) |
752
804
  | `Support` | type | [Declaration](../../../dist/esm/support/index.d.ts#L10) |
753
805
  | `textOutputEvents` | type | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L60) |
754
806
  | `TextSearch` | type | [Declaration](../../../dist/esm/kits/search.d.ts#L8) |
755
- | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L28) |
807
+ | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L29) |
756
808
  | `TextSearchOptions` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L12) |
757
- | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L34) |
758
- | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L45) |
809
+ | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L36) |
810
+ | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L47) |
759
811
  | `TextSkill` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
760
812
  | `TextSkillHeader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L31) |
761
813
  | `TextSkillLoader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L61) |
@@ -772,11 +824,11 @@ Symbols of this package link to the declarations shipped with the package; exter
772
824
  | `ToolContribution` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L82) |
773
825
  | `ToolDefinition` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L17) |
774
826
  | `ToolExecutionContext` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L36) |
775
- | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
827
+ | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L62) |
776
828
  | `ToolFinalizer` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L164) |
777
829
  | `ToolInvocation` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L61) |
778
830
  | `ToolInvocationPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L51) |
779
- | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L81) |
831
+ | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L83) |
780
832
  | `ToolJournal` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L31) |
781
833
  | `ToolJournalFinish` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L22) |
782
834
  | `ToolJournalStart` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L13) |
@@ -788,8 +840,8 @@ Symbols of this package link to the declarations shipped with the package; exter
788
840
  | `ToolProposal` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L18) |
789
841
  | `ToolProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L156) |
790
842
  | `ToolRegistry` | type | [Declaration](../../../dist/esm/capabilities/tools.d.ts#L7) |
791
- | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L90) |
792
- | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L71) |
843
+ | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L94) |
844
+ | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L73) |
793
845
  | `ToolResult` | type | [Declaration](../../../dist/esm/structs/invocation.d.ts#L57) |
794
846
  | `ToolRuntime` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L53) |
795
847
  | `ToolRuntimeTypes` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L20) |
@@ -807,25 +859,39 @@ Symbols of this package link to the declarations shipped with the package; exter
807
859
  | `VectorSearchSpace` | type | [Declaration](../../../dist/esm/kits/vector-search.d.ts#L12) |
808
860
  | `WalkRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L22) |
809
861
  | `walkRules` | type | [Declaration](../../../dist/esm/utils/rules.d.ts#L36) |
810
- | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L23) |
862
+ | `WorkflowChain` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L62) |
863
+ | `WorkflowChainCoverage` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L46) |
864
+ | `WorkflowChainNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L78) |
865
+ | `WorkflowChainNodeEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L98) |
866
+ | `WorkflowChainSource` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L57) |
867
+ | `WorkflowChainTransition` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L111) |
868
+ | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L25) |
811
869
  | `WorkflowContractError` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L38) |
812
- | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L114) |
813
- | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L156) |
814
- | `WorkflowFailure` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L151) |
815
- | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L170) |
870
+ | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L116) |
871
+ | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L158) |
872
+ | `WorkflowFailure` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L153) |
873
+ | `WorkflowGraph` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L6) |
874
+ | `WorkflowGraphEdge` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L37) |
875
+ | `WorkflowGraphNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L15) |
876
+ | `WorkflowGraphRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L28) |
877
+ | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L172) |
816
878
  | `WorkflowNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L72) |
817
- | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L63) |
818
- | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L47) |
879
+ | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L65) |
880
+ | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L49) |
881
+ | `WorkflowSubflowRecord` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L71) |
819
882
  | `writeSseFrame` | type | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L38) |
820
883
 
821
884
  ## @jangts/agent-core/structs
822
885
 
823
- [Contracts and behavior](types.md) · 274 exported symbols
886
+ [Contracts and behavior](types.md) · 296 exported symbols
824
887
 
825
888
  | Symbol | Type/value | Declaration and notes |
826
889
  | --- | --- | --- |
890
+ | `AgentCacheAddress` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L27) |
891
+ | `AgentCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L23) |
892
+ | `AgentCachePort` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L34) |
827
893
  | `AgentCatalogPorts` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
828
- | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L36) |
894
+ | `AgentCoreEngineOptions` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L37) |
829
895
  | `AgentErrorInfo` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L46) |
830
896
  | `AgentFamily` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L86) |
831
897
  | `AgentOutputEvent` | type | [Declaration](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
@@ -840,6 +906,8 @@ Symbols of this package link to the declarations shipped with the package; exter
840
906
  | `BreakWhileConfig` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L49) |
841
907
  | `BudgetError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L29) |
842
908
  | `BuiltContext` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L45) |
909
+ | `CacheContext` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L51) |
910
+ | `CacheReadOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L11) |
843
911
  | `CandidateSelectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
844
912
  | `CapabilityCatalogOptions` | type | [Declaration](../../../dist/esm/structs/support/capabilities.d.ts#L31) |
845
913
  | `CapabilityModule` | type | [Declaration](../../../dist/esm/structs/support/capabilities.d.ts#L20) |
@@ -874,9 +942,9 @@ Symbols of this package link to the declarations shipped with the package; exter
874
942
  | `CoreEventName` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L119) |
875
943
  | `CoreEventPayloads` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L17) |
876
944
  | `CoreLogOutput` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L213) |
877
- | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L34) |
945
+ | `CoreStep` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L35) |
878
946
  | `CreateDiagnosticsOptions` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L247) |
879
- | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L151) |
947
+ | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L168) |
880
948
  | `DescribedTool` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L40) |
881
949
  | `DiagnosticContext` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L224) |
882
950
  | `DiagnosticIdentity` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L131) |
@@ -891,12 +959,13 @@ Symbols of this package link to the declarations shipped with the package; exter
891
959
  | `DurableTaskDefinition` | type | [Declaration](../../../dist/esm/structs/kits/durable.d.ts#L77) |
892
960
  | `DurableTaskOptions` | type | [Declaration](../../../dist/esm/structs/kits/durable.d.ts#L89) |
893
961
  | `DurationMs` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L17) |
962
+ | `EngineCacheOptions` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L6) |
894
963
  | `ErrorContext` | type | [Declaration](../../../dist/esm/structs/errors.d.ts#L61) |
895
964
  | `EvidenceProjectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
896
965
  | `EvidenceProjectionProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L29) |
897
966
  | `EvidenceProvider` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L21) |
898
967
  | `EvidenceRequirement` | type | [Declaration](../../../dist/esm/structs/kits/evidence.d.ts#L12) |
899
- | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L47) |
968
+ | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L49) |
900
969
  | `ExecutionContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L95) |
901
970
  | `ExecutionEventDescriptor` | type | [Declaration](../../../dist/esm/structs/execution/events.d.ts#L14) |
902
971
  | `ExecutionObserver` | type | [Declaration](../../../dist/esm/structs/execution/events.d.ts#L17) |
@@ -907,7 +976,7 @@ Symbols of this package link to the declarations shipped with the package; exter
907
976
  | `FamilyRecord` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L36) |
908
977
  | `FamilyStore` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L49) |
909
978
  | `FamilyVersion` | type | [Declaration](../../../dist/esm/structs/kits/family.d.ts#L19) |
910
- | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L42) |
979
+ | `FunctionCallDelta` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L45) |
911
980
  | `Id` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L13) |
912
981
  | `IntentDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/registry.d.ts#L14) |
913
982
  | `IntentDescription` | type | [Declaration](../../../dist/esm/structs/kits/intents/registry.d.ts#L62) |
@@ -937,7 +1006,7 @@ Symbols of this package link to the declarations shipped with the package; exter
937
1006
  | `KnowledgeSourceReference` | type | [Declaration](../../../dist/esm/structs/kits/knowledge-publication.d.ts#L17) |
938
1007
  | `LifecycleProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L54) |
939
1008
  | `LifecycleTool` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L110) |
940
- | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L12) |
1009
+ | `LoopEvent` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L13) |
941
1010
  | `MatchRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L12) |
942
1011
  | `MaybePromise` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L27) |
943
1012
  | `ModelCallRecord` | type | [Declaration](../../../dist/esm/structs/invocation.d.ts#L35) |
@@ -950,15 +1019,15 @@ Symbols of this package link to the declarations shipped with the package; exter
950
1019
  | `ModelChildOptions` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L126) |
951
1020
  | `ModelChildPolicy` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L56) |
952
1021
  | `ModelChoiceIndex` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
953
- | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L32) |
1022
+ | `ModelFunction` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L34) |
954
1023
  | `ModelImage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L10) |
955
- | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L199) |
1024
+ | `ModelInputMeasurement` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L201) |
956
1025
  | `ModelInteractionAdapter` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L45) |
957
- | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L16) |
958
- | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L55) |
1026
+ | `ModelMessage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L17) |
1027
+ | `ModelOptions` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L59) |
959
1028
  | `ModelOutputEvent` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L107) |
960
- | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L54) |
961
- | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L249) |
1029
+ | `ModelPart` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L57) |
1030
+ | `ModelPrepareRequest` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L251) |
962
1031
  | `ModelProviderContext` | type | [Declaration](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
963
1032
  | `ModelProviderErrorCode` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L15) |
964
1033
  | `ModelProviderFailure` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L37) |
@@ -973,15 +1042,17 @@ Symbols of this package link to the declarations shipped with the package; exter
973
1042
  | `ModelTokenBudget` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L30) |
974
1043
  | `ModelTransportDefinition` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L65) |
975
1044
  | `ModelTransportRegistration` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L60) |
976
- | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L23) |
1045
+ | `ModelUsage` | type | [Declaration](../../../dist/esm/structs/model/messages.d.ts#L25) |
977
1046
  | `NativeFunctionCall` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L73) |
978
- | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L128) |
1047
+ | `NodeAgentCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L43) |
1048
+ | `NodeCache` | type | [Declaration](../../../dist/esm/structs/execution/cache.d.ts#L15) |
1049
+ | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L140) |
979
1050
  | `Observer` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L19) |
980
- | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L107) |
1051
+ | `OperationContext` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L109) |
981
1052
  | `Policy` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L135) |
982
1053
  | `PolicyAssessment` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L22) |
983
1054
  | `PolicyDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L11) |
984
- | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L230) |
1055
+ | `PreparedModelCall` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L232) |
985
1056
  | `PreparedModelInteraction` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L25) |
986
1057
  | `PreparedModelTransport` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L38) |
987
1058
  | `ProtocolCheck` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L47) |
@@ -998,7 +1069,7 @@ Symbols of this package link to the declarations shipped with the package; exter
998
1069
  | `ProviderReasoningLevel` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L45) |
999
1070
  | `ProviderReasoningStrategy` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
1000
1071
  | `ReadonlyCatalog` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L60) |
1001
- | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L88) |
1072
+ | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L94) |
1002
1073
  | `RecoveryDefinition` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L40) |
1003
1074
  | `RecoveryResult` | type | [Declaration](../../../dist/esm/structs/kits/policies.d.ts#L31) |
1004
1075
  | `ReflectionDefinition` | type | [Declaration](../../../dist/esm/structs/kits/reflection.d.ts#L108) |
@@ -1017,7 +1088,7 @@ Symbols of this package link to the declarations shipped with the package; exter
1017
1088
  | `RegisteredProtocol` | type | [Declaration](../../../dist/esm/structs/kits/interaction.d.ts#L149) |
1018
1089
  | `RegisteredScope` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L73) |
1019
1090
  | `RegisteredScopeEvidence` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L61) |
1020
- | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L58) |
1091
+ | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
1021
1092
  | `RegisteredTransportOutput` | type | [Declaration](../../../dist/esm/structs/model/runtime.d.ts#L158) |
1022
1093
  | `RegistrationDefinition` | type | [Declaration](../../../dist/esm/structs/support/registration.d.ts#L11) |
1023
1094
  | `Registry` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L76) |
@@ -1027,32 +1098,35 @@ Symbols of this package link to the declarations shipped with the package; exter
1027
1098
  | `ReportedStepStatus` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L55) |
1028
1099
  | `reportedStepStatusCatalog` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L19) |
1029
1100
  | `reportedStepStatuses` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L53) |
1030
- | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L95) |
1031
- | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L48) |
1032
- | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L55) |
1033
- | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L46) |
1034
- | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L29) |
1035
- | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L16) |
1036
- | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L86) |
1101
+ | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
1102
+ | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
1103
+ | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
1104
+ | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
1105
+ | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
1106
+ | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
1107
+ | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
1037
1108
  | `RetrievalSource` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
1038
- | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L20) |
1109
+ | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
1039
1110
  | `SchemaAdapter` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L29) |
1040
1111
  | `ScopeDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
1041
1112
  | `ScopeDescription` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
1113
+ | `ScopedSubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L55) |
1114
+ | `ScopedSubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
1042
1115
  | `ScopeRegistryPolicy` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L38) |
1043
- | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L116) |
1116
+ | `SearchHit` | type | [Declaration](../../../dist/esm/structs/common.d.ts#L118) |
1044
1117
  | `SelectedTools` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L39) |
1045
1118
  | `SemanticSlotDefinition` | type | [Declaration](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
1046
- | `SseEvent` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L1) |
1119
+ | `SseEvent` | type | [Declaration](../../../dist/esm/structs/index.d.ts#L26) |
1047
1120
  | `SseOutputEvent` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
1048
- | `SseReadOptions` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L8) |
1121
+ | `SseReadOptions` | type | [Declaration](../../../dist/esm/structs/index.d.ts#L26) |
1049
1122
  | `SseWriter` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
1050
- | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L25) |
1051
- | `SubFlowLogger` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
1052
- | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L105) |
1053
- | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L101) |
1054
- | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L84) |
1055
- | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L135) |
1123
+ | `StepOutcome` | type | [Declaration](../../../dist/esm/structs/execution/engine.d.ts#L26) |
1124
+ | `SubFlowLog` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L130) |
1125
+ | `SubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L45) |
1126
+ | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L119) |
1127
+ | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L111) |
1128
+ | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L90) |
1129
+ | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L147) |
1056
1130
  | `TextSkill` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
1057
1131
  | `TextSkillHeader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L31) |
1058
1132
  | `TextSkillLoader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L61) |
@@ -1068,11 +1142,11 @@ Symbols of this package link to the declarations shipped with the package; exter
1068
1142
  | `ToolContribution` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L82) |
1069
1143
  | `ToolDefinition` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L17) |
1070
1144
  | `ToolExecutionContext` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L36) |
1071
- | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
1145
+ | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L62) |
1072
1146
  | `ToolFinalizer` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L164) |
1073
1147
  | `ToolInvocation` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L61) |
1074
1148
  | `ToolInvocationPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L51) |
1075
- | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L81) |
1149
+ | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L83) |
1076
1150
  | `ToolJournal` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L31) |
1077
1151
  | `ToolJournalFinish` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L22) |
1078
1152
  | `ToolJournalStart` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L13) |
@@ -1082,22 +1156,33 @@ Symbols of this package link to the declarations shipped with the package; exter
1082
1156
  | `ToolOutput` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L43) |
1083
1157
  | `ToolProposal` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L18) |
1084
1158
  | `ToolProtocol` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L156) |
1085
- | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L90) |
1086
- | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L71) |
1159
+ | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L94) |
1160
+ | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L73) |
1087
1161
  | `ToolResult` | type | [Declaration](../../../dist/esm/structs/invocation.d.ts#L57) |
1088
1162
  | `ToolRuntime` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L53) |
1089
1163
  | `ToolRuntimeTypes` | type | [Declaration](../../../dist/esm/structs/kits/tools.d.ts#L20) |
1090
1164
  | `ValidationError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L17) |
1091
1165
  | `WalkRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L22) |
1092
- | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L23) |
1166
+ | `WorkflowChain` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L62) |
1167
+ | `WorkflowChainCoverage` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L46) |
1168
+ | `WorkflowChainNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L78) |
1169
+ | `WorkflowChainNodeEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L98) |
1170
+ | `WorkflowChainSource` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L57) |
1171
+ | `WorkflowChainTransition` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L111) |
1172
+ | `WorkflowContext` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L25) |
1093
1173
  | `WorkflowContractError` | value + type | [Declaration](../../../dist/esm/structs/errors.d.ts#L38) |
1094
- | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L114) |
1095
- | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L156) |
1096
- | `WorkflowFailure` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L151) |
1097
- | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L170) |
1174
+ | `WorkflowEvent` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L116) |
1175
+ | `WorkflowExtension` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L158) |
1176
+ | `WorkflowFailure` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L153) |
1177
+ | `WorkflowGraph` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L6) |
1178
+ | `WorkflowGraphEdge` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L37) |
1179
+ | `WorkflowGraphNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L15) |
1180
+ | `WorkflowGraphRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L28) |
1181
+ | `WorkflowModel` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L172) |
1098
1182
  | `WorkflowNode` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L72) |
1099
- | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L63) |
1100
- | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L47) |
1183
+ | `WorkflowNodeReport` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L65) |
1184
+ | `WorkflowRoute` | type | [Declaration](../../../dist/esm/structs/execution/workflow.d.ts#L49) |
1185
+ | `WorkflowSubflowRecord` | type | [Declaration](../../../dist/esm/structs/execution/workflow-views.d.ts#L71) |
1101
1186
 
1102
1187
  ## @jangts/agent-core/context
1103
1188
 
@@ -1168,19 +1253,19 @@ Symbols of this package link to the declarations shipped with the package; exter
1168
1253
 
1169
1254
  | Symbol | Type/value | Declaration and notes |
1170
1255
  | --- | --- | --- |
1171
- | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L47) |
1256
+ | `ExecutableTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L49) |
1172
1257
  | `executeInvocation` | value | [Declaration](../../../dist/esm/capabilities/invocation.d.ts#L17) |
1173
1258
  | `InvocationHandler` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L38) |
1174
- | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L58) |
1259
+ | `RegisteredTool` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
1175
1260
  | `ToolDefinition` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L17) |
1176
1261
  | `ToolExecutionContext` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L36) |
1177
- | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L60) |
1262
+ | `ToolExecutionEvent` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L62) |
1178
1263
  | `ToolInvocationPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L51) |
1179
- | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L81) |
1264
+ | `ToolInvocationRequest` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L83) |
1180
1265
  | `ToolJournal` | type | [Declaration](../../../dist/esm/structs/capabilities/invocation.d.ts#L31) |
1181
1266
  | `ToolRegistry` | value + type | [Declaration](../../../dist/esm/capabilities/tools.d.ts#L7) |
1182
- | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L90) |
1183
- | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L71) |
1267
+ | `ToolRegistryOptions` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L94) |
1268
+ | `ToolRegistryPorts` | type | [Declaration](../../../dist/esm/structs/capabilities/tools.d.ts#L73) |
1184
1269
 
1185
1270
  ## @jangts/agent-core/protocols
1186
1271
 
@@ -1196,13 +1281,13 @@ Symbols of this package link to the declarations shipped with the package; exter
1196
1281
 
1197
1282
  | Symbol | Type/value | Declaration and notes |
1198
1283
  | --- | --- | --- |
1199
- | `abortableStream` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/abortable-stream.d.ts#L1) |
1284
+ | `abortableStream` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L15) |
1200
1285
  | `encodeSseEvent` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L25) |
1201
- | `readSse` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L13) |
1202
- | `SseEvent` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L1) |
1203
- | `SseIdleTimeoutError` | value + type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L5) |
1286
+ | `readSse` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L13) |
1287
+ | `SseEvent` | type | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L13) |
1288
+ | `SseIdleTimeoutError` | value + type | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L13) |
1204
1289
  | `SseOutputEvent` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
1205
- | `SseReadOptions` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L8) |
1290
+ | `SseReadOptions` | type | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L13) |
1206
1291
  | `SseWriter` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
1207
1292
  | `writeSseFrame` | value | [Declaration](../../../dist/esm/support/transport/sse.d.ts#L38) |
1208
1293
 
@@ -1218,36 +1303,39 @@ Symbols of this package link to the declarations shipped with the package; exter
1218
1303
 
1219
1304
  ## @jangts/agent-core/diagnostics
1220
1305
 
1221
- [Contracts and behavior](observability.md) · 26 exported symbols
1306
+ [Contracts and behavior](observability.md) · 29 exported symbols
1222
1307
 
1223
1308
  | Symbol | Type/value | Declaration and notes |
1224
1309
  | --- | --- | --- |
1225
1310
  | `CoreDiagnosticRecord` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L260) |
1226
1311
  | `CoreEvent` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L188) |
1227
- | `coreEventCatalog` | value | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L1) |
1312
+ | `coreEventCatalog` | value | [Declaration](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
1228
1313
  | `CoreEventDescriptor` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L126) |
1229
1314
  | `CoreEventName` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L119) |
1230
1315
  | `CoreEventPayloads` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L17) |
1231
1316
  | `CoreLogOutput` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L213) |
1232
- | `createDiagnostics` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L15) |
1317
+ | `createDiagnostics` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L16) |
1233
1318
  | `CreateDiagnosticsOptions` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L247) |
1234
- | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L151) |
1319
+ | `DebugStepsOutput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L168) |
1235
1320
  | `DiagnosticContext` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L224) |
1236
- | `diagnosticError` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L24) |
1321
+ | `diagnosticError` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L25) |
1237
1322
  | `DiagnosticIdentity` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L131) |
1238
1323
  | `DiagnosticSpanFields` | type | [Declaration](../../../dist/esm/structs/diagnostics.d.ts#L180) |
1239
- | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L128) |
1240
- | `normalizeDiagnosticEvent` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L38) |
1241
- | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L88) |
1324
+ | `NodeReportingContext` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L140) |
1325
+ | `normalizeDiagnosticEvent` | value | [Declaration](../../../dist/esm/diagnostics/index.d.ts#L39) |
1326
+ | `RecordedSubStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L94) |
1242
1327
  | `ReportedStep` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L57) |
1243
1328
  | `ReportedStepStatus` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L55) |
1244
1329
  | `reportedStepStatusCatalog` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L19) |
1245
1330
  | `reportedStepStatuses` | value | [Declaration](../../../dist/esm/structs/debug.d.ts#L53) |
1246
- | `SubFlowLogger` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
1247
- | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L105) |
1248
- | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L101) |
1249
- | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L84) |
1250
- | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L135) |
1331
+ | `ScopedSubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L55) |
1332
+ | `ScopedSubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L117) |
1333
+ | `SubFlowLog` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L130) |
1334
+ | `SubFlowLogger` | value + type | [Declaration](../../../dist/esm/diagnostics/sub-flow.d.ts#L45) |
1335
+ | `SubFlowStepFix` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L119) |
1336
+ | `SubFlowStepInput` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L111) |
1337
+ | `SubFlowValue` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L90) |
1338
+ | `SubStepProgress` | type | [Declaration](../../../dist/esm/structs/debug.d.ts#L147) |
1251
1339
 
1252
1340
  ## @jangts/agent-core/kits/knowledge
1253
1341
 
@@ -1333,7 +1421,7 @@ Symbols of this package link to the declarations shipped with the package; exter
1333
1421
 
1334
1422
  | Symbol | Type/value | Declaration and notes |
1335
1423
  | --- | --- | --- |
1336
- | `abortableStream` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/abortable-stream.d.ts#L1) |
1424
+ | `abortableStream` | value | [Declaration](../../../dist/esm/support/index.d.ts#L15) |
1337
1425
  | `AggregatedToolCall` | type | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L13) |
1338
1426
  | `assembleFragments` | value | [Declaration](../../../dist/esm/context/assembly.d.ts#L14) |
1339
1427
  | `BreakCheck` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L33) |
@@ -1376,47 +1464,47 @@ Symbols of this package link to the declarations shipped with the package; exter
1376
1464
  | `ContextLifetime` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L15) |
1377
1465
  | `ContextModelCall` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L216) |
1378
1466
  | `ContextModelRequest` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L208) |
1379
- | `ContextNodeResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L6) |
1467
+ | `ContextNodeResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L7) |
1380
1468
  | `ContextPlan` | type | [Declaration](../../../dist/esm/structs/context/processing.d.ts#L13) |
1381
1469
  | `ContextPolicy` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L134) |
1382
- | `contextPolicyCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L174) |
1383
- | `ContextProcessingNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L14) |
1470
+ | `contextPolicyCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L181) |
1471
+ | `ContextProcessingNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L22) |
1384
1472
  | `ContextProcessingOptions` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L220) |
1385
1473
  | `ContextProcessingReport` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L177) |
1386
1474
  | `ContextProjection` | type | [Declaration](../../../dist/esm/structs/support/context.d.ts#L14) |
1387
1475
  | `ContextRecentHistory` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L27) |
1388
1476
  | `ContextReduction` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L41) |
1389
1477
  | `contextReductionCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L31) |
1390
- | `ContextReductionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L52) |
1478
+ | `ContextReductionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L68) |
1391
1479
  | `ContextSelection` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L62) |
1392
1480
  | `ContextSelectionCall` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L108) |
1393
1481
  | `ContextSelectionCandidate` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L84) |
1394
1482
  | `contextSelectionCatalog` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L46) |
1395
- | `ContextSelectionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L48) |
1396
- | `ContextSelectionResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L44) |
1483
+ | `ContextSelectionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L59) |
1484
+ | `ContextSelectionResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L54) |
1397
1485
  | `ContextSelector` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L126) |
1398
- | `ContextStageResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L36) |
1486
+ | `ContextStageResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L45) |
1399
1487
  | `ContextStrategy` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L63) |
1400
1488
  | `ContextStrategyOptions` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L57) |
1401
1489
  | `ContextStrategySettings` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L39) |
1402
1490
  | `ContextTokenMeasurement` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L100) |
1403
1491
  | `ContextTrust` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L13) |
1404
1492
  | `createContextCompressor` | value | [Declaration](../../../dist/esm/support/context/compression.d.ts#L20) |
1405
- | `createContextProcessingNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L68) |
1406
- | `createContextReductionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L91) |
1407
- | `createContextSelectionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L79) |
1493
+ | `createContextProcessingNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L84) |
1494
+ | `createContextReductionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L107) |
1495
+ | `createContextSelectionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L95) |
1408
1496
  | `createContextSelector` | value | [Declaration](../../../dist/esm/support/context/selection.d.ts#L16) |
1409
1497
  | `createContextStrategy` | value | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L85) |
1410
1498
  | `createJsonTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L28) |
1411
- | `createModelStrategy` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L71) |
1499
+ | `createModelStrategy` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L75) |
1412
1500
  | `createModelTransport` | value | [Declaration](../../../dist/esm/model/selection-transport.d.ts#L17) |
1413
1501
  | `createProviderObservationScope` | value | [Declaration](../../../dist/esm/support/model/observer.d.ts#L32) |
1414
- | `createReplyPreview` | value | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L37) |
1415
- | `createReplyPreviewRules` | value | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L33) |
1502
+ | `createReplyPreview` | value | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L44) |
1503
+ | `createReplyPreviewRules` | value | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L39) |
1416
1504
  | `createStageModelTransport` | value | [Declaration](../../../dist/esm/support/model/stage-transport.d.ts#L11) |
1417
1505
  | `createTextTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L10) |
1418
1506
  | `createToolCallCollector` | value | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L40) |
1419
- | `defaultCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/default.d.ts#L10) |
1507
+ | `defaultCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/default.d.ts#L11) |
1420
1508
  | `defineCapabilityCatalog` | value | [Declaration](../../../dist/esm/support/capabilities.d.ts#L28) |
1421
1509
  | `defineContextAssembly` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L15) |
1422
1510
  | `defineContextFragments` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L28) |
@@ -1436,8 +1524,8 @@ Symbols of this package link to the declarations shipped with the package; exter
1436
1524
  | `MatchRule` | type | [Declaration](../../../dist/esm/structs/utils/rules.d.ts#L12) |
1437
1525
  | `modelBudgetStrategies` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L11) |
1438
1526
  | `ModelBudgetStrategy` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L35) |
1439
- | `ModelChildrenOptions` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L22) |
1440
- | `ModelChildTask` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L14) |
1527
+ | `ModelChildrenOptions` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L24) |
1528
+ | `ModelChildTask` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L15) |
1441
1529
  | `ModelChoiceIndex` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
1442
1530
  | `ModelInteractionAdapter` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L45) |
1443
1531
  | `modelInteractionCatalog` | value | [Declaration](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
@@ -1445,44 +1533,44 @@ Symbols of this package link to the declarations shipped with the package; exter
1445
1533
  | `ModelProviderFailure` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L37) |
1446
1534
  | `ModelResponseCollector` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L14) |
1447
1535
  | `ModelStageTransportRegistration` | type | [Declaration](../../../dist/esm/structs/support/model/interactions.d.ts#L15) |
1448
- | `ModelStrategyOptions` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L39) |
1536
+ | `ModelStrategyOptions` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L43) |
1449
1537
  | `ModelTransportRegistration` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L60) |
1450
1538
  | `NativeFunctionCall` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L73) |
1451
1539
  | `nativeFunctionInteraction` | value | [Declaration](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
1452
1540
  | `parseJsonFrames` | value | [Declaration](../../../dist/esm/support/transport/json.d.ts#L32) |
1453
1541
  | `PreparedModelInteraction` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L25) |
1454
- | `processContext` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L228) |
1455
- | `ProviderAssistantMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L36) |
1542
+ | `processContext` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L235) |
1543
+ | `ProviderAssistantMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L38) |
1456
1544
  | `ProviderErrorCapture` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L63) |
1457
1545
  | `ProviderEventDescriptor` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L44) |
1458
1546
  | `ProviderEventName` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L42) |
1459
1547
  | `ProviderEventPayloads` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L13) |
1460
- | `ProviderMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L52) |
1548
+ | `ProviderMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L54) |
1461
1549
  | `ProviderObservation` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L49) |
1462
1550
  | `ProviderObserver` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L56) |
1463
1551
  | `ProviderReasoningLevel` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L45) |
1464
1552
  | `ProviderReasoningStrategy` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
1465
- | `ProviderSystemMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L21) |
1553
+ | `ProviderSystemMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L22) |
1466
1554
  | `ProviderToolCall` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L13) |
1467
- | `ProviderToolMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L44) |
1468
- | `ProviderUserMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L28) |
1469
- | `readSse` | value | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L13) |
1555
+ | `ProviderToolMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L46) |
1556
+ | `ProviderUserMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L30) |
1557
+ | `readSse` | value | [Declaration](../../../dist/esm/support/index.d.ts#L15) |
1470
1558
  | `RegistrationDefinition` | type | [Declaration](../../../dist/esm/structs/support/registration.d.ts#L11) |
1471
- | `ReplyPreviewCapability` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L3) |
1472
- | `ReplyPreviewOptions` | type | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L22) |
1473
- | `ReplyPreviewRule` | type | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L2) |
1474
- | `ReplyPreviewStage` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L14) |
1559
+ | `ReplyPreviewCapability` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L8) |
1560
+ | `ReplyPreviewOptions` | type | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L29) |
1561
+ | `ReplyPreviewRule` | type | [Declaration](../../../dist/esm/support/model/reply-preview.d.ts#L7) |
1562
+ | `ReplyPreviewStage` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L20) |
1475
1563
  | `reservedContextCalls` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L10) |
1476
1564
  | `retryMultipleModelCalls` | value | [Declaration](../../../dist/esm/model/decision-retry.d.ts#L11) |
1477
- | `runChildren` | value | [Declaration](../../../dist/esm/support/model/children.d.ts#L45) |
1565
+ | `runChildren` | value | [Declaration](../../../dist/esm/support/model/children.d.ts#L47) |
1478
1566
  | `scanJsonObjectFrames` | value | [Declaration](../../../dist/esm/support/transport/json.d.ts#L18) |
1479
1567
  | `selectContextSteps` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L85) |
1480
1568
  | `SelectedTools` | type | [Declaration](../../../dist/esm/structs/support/tools.d.ts#L39) |
1481
- | `sessionCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/session.d.ts#L11) |
1482
- | `SseEvent` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L1) |
1483
- | `SseIdleTimeoutError` | value + type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L5) |
1569
+ | `sessionCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/session.d.ts#L16) |
1570
+ | `SseEvent` | type | [Declaration](../../../dist/esm/support/index.d.ts#L15) |
1571
+ | `SseIdleTimeoutError` | value + type | [Declaration](../../../dist/esm/support/index.d.ts#L15) |
1484
1572
  | `SseOutputEvent` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
1485
- | `SseReadOptions` | type | [Declaration](../../../node_modules/@jangts/streaming/dist/esm/sse.d.ts#L8) |
1573
+ | `SseReadOptions` | type | [Declaration](../../../dist/esm/support/index.d.ts#L15) |
1486
1574
  | `SseWriter` | type | [Declaration](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
1487
1575
  | `streamEvents` | value | [Declaration](../../../dist/esm/support/stream-events.d.ts#L23) |
1488
1576
  | `ToolCallCollector` | type | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L22) |
@@ -1520,8 +1608,8 @@ Symbols of this package link to the declarations shipped with the package; exter
1520
1608
 
1521
1609
  | Symbol | Type/value | Declaration and notes |
1522
1610
  | --- | --- | --- |
1523
- | `defineDelivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L25) |
1524
- | `Delivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L44) |
1611
+ | `defineDelivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L16) |
1612
+ | `Delivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L35) |
1525
1613
  | `DeliveryOptions` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L25) |
1526
1614
  | `DeliveryStage` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L13) |
1527
1615
 
@@ -1558,16 +1646,16 @@ Symbols of this package link to the declarations shipped with the package; exter
1558
1646
  | --- | --- | --- |
1559
1647
  | `defineRetrieval` | value | [Declaration](../../../dist/esm/kits/retrieval.d.ts#L18) |
1560
1648
  | `Retrieval` | value | [Declaration](../../../dist/esm/kits/retrieval.d.ts#L23) |
1561
- | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L95) |
1562
- | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L48) |
1563
- | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L55) |
1649
+ | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
1650
+ | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
1651
+ | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
1564
1652
  | `retrievalQueryKey` | value | [Declaration](../../../dist/esm/utils/query-key.d.ts#L12) |
1565
- | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L46) |
1566
- | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L29) |
1567
- | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L16) |
1568
- | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L86) |
1653
+ | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
1654
+ | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
1655
+ | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
1656
+ | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
1569
1657
  | `RetrievalSource` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
1570
- | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L20) |
1658
+ | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
1571
1659
 
1572
1660
  ## @jangts/agent-core/kits/evidence
1573
1661
 
@@ -1727,40 +1815,40 @@ Symbols of this package link to the declarations shipped with the package; exter
1727
1815
  | `ContextLifetime` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L15) |
1728
1816
  | `ContextModelCall` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L216) |
1729
1817
  | `ContextModelRequest` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L208) |
1730
- | `ContextNodeResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L6) |
1818
+ | `ContextNodeResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L7) |
1731
1819
  | `ContextPlan` | type | [Declaration](../../../dist/esm/structs/context/processing.d.ts#L13) |
1732
1820
  | `ContextPolicy` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L134) |
1733
- | `contextPolicyCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L174) |
1734
- | `ContextProcessingNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L14) |
1821
+ | `contextPolicyCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L181) |
1822
+ | `ContextProcessingNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L22) |
1735
1823
  | `ContextProcessingOptions` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L220) |
1736
1824
  | `ContextProcessingReport` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L177) |
1737
1825
  | `ContextProjection` | type | [Declaration](../../../dist/esm/structs/support/context.d.ts#L14) |
1738
1826
  | `ContextRecentHistory` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L27) |
1739
1827
  | `ContextReduction` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L41) |
1740
1828
  | `contextReductionCatalog` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L31) |
1741
- | `ContextReductionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L52) |
1829
+ | `ContextReductionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L68) |
1742
1830
  | `ContextSelection` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L62) |
1743
1831
  | `ContextSelectionCall` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L108) |
1744
1832
  | `ContextSelectionCandidate` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L84) |
1745
1833
  | `contextSelectionCatalog` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L46) |
1746
- | `ContextSelectionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L48) |
1747
- | `ContextSelectionResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L44) |
1834
+ | `ContextSelectionNodeDefinition` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L59) |
1835
+ | `ContextSelectionResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L54) |
1748
1836
  | `ContextSelector` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L126) |
1749
- | `ContextStageResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L36) |
1837
+ | `ContextStageResult` | type | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L45) |
1750
1838
  | `ContextStrategy` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L63) |
1751
1839
  | `ContextStrategyOptions` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L57) |
1752
1840
  | `ContextStrategySettings` | type | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L39) |
1753
1841
  | `ContextTokenMeasurement` | type | [Declaration](../../../dist/esm/structs/support/context-processing.d.ts#L100) |
1754
1842
  | `ContextTrust` | type | [Declaration](../../../dist/esm/structs/context/fragments.d.ts#L13) |
1755
1843
  | `createContextCompressor` | value | [Declaration](../../../dist/esm/support/context/compression.d.ts#L20) |
1756
- | `createContextProcessingNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L68) |
1757
- | `createContextReductionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L91) |
1758
- | `createContextSelectionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L79) |
1844
+ | `createContextProcessingNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L84) |
1845
+ | `createContextReductionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L107) |
1846
+ | `createContextSelectionNode` | value | [Declaration](../../../dist/esm/support/context/nodes.d.ts#L95) |
1759
1847
  | `createContextSelector` | value | [Declaration](../../../dist/esm/support/context/selection.d.ts#L16) |
1760
1848
  | `createContextStrategy` | value | [Declaration](../../../dist/esm/support/context/strategies.d.ts#L85) |
1761
1849
  | `defineContextAssembly` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L15) |
1762
1850
  | `defineContextFragments` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L28) |
1763
- | `processContext` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L228) |
1851
+ | `processContext` | value | [Declaration](../../../dist/esm/support/context/processing.d.ts#L235) |
1764
1852
  | `reservedContextCalls` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L10) |
1765
1853
  | `selectContextSteps` | value | [Declaration](../../../dist/esm/support/context/selection-policy.d.ts#L85) |
1766
1854
  | `transformContextText` | value | [Declaration](../../../dist/esm/support/context/assembly.d.ts#L39) |
@@ -1787,20 +1875,20 @@ Symbols of this package link to the declarations shipped with the package; exter
1787
1875
  | `CompletionRequestFacts` | type | [Declaration](../../../dist/esm/structs/support/model/completion.d.ts#L20) |
1788
1876
  | `CompletionSession` | type | [Declaration](../../../dist/esm/structs/support/model/completion.d.ts#L31) |
1789
1877
  | `createJsonTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L28) |
1790
- | `createModelStrategy` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L71) |
1878
+ | `createModelStrategy` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L75) |
1791
1879
  | `createModelTransport` | value | [Declaration](../../../dist/esm/model/selection-transport.d.ts#L17) |
1792
1880
  | `createProviderObservationScope` | value | [Declaration](../../../dist/esm/support/model/observer.d.ts#L32) |
1793
- | `createReplyPreviewRules` | value | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L33) |
1881
+ | `createReplyPreviewRules` | value | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L39) |
1794
1882
  | `createStageModelTransport` | value | [Declaration](../../../dist/esm/support/model/stage-transport.d.ts#L11) |
1795
1883
  | `createTextTransport` | value | [Declaration](../../../dist/esm/support/model/transports.d.ts#L10) |
1796
1884
  | `createToolCallCollector` | value | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L40) |
1797
- | `defaultCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/default.d.ts#L10) |
1885
+ | `defaultCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/default.d.ts#L11) |
1798
1886
  | `defineModelCapabilities` | value | [Declaration](../../../dist/esm/support/model/capabilities.d.ts#L16) |
1799
1887
  | `jsonObjectInteraction` | value | [Declaration](../../../dist/esm/model/interactions/json-object.d.ts#L9) |
1800
1888
  | `modelBudgetStrategies` | value | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L11) |
1801
1889
  | `ModelBudgetStrategy` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L35) |
1802
- | `ModelChildrenOptions` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L22) |
1803
- | `ModelChildTask` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L14) |
1890
+ | `ModelChildrenOptions` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L24) |
1891
+ | `ModelChildTask` | type | [Declaration](../../../dist/esm/support/model/children.d.ts#L15) |
1804
1892
  | `ModelChoiceIndex` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
1805
1893
  | `ModelInteractionAdapter` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L45) |
1806
1894
  | `modelInteractionCatalog` | value | [Declaration](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
@@ -1808,29 +1896,29 @@ Symbols of this package link to the declarations shipped with the package; exter
1808
1896
  | `ModelProviderFailure` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L37) |
1809
1897
  | `ModelResponseCollector` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L14) |
1810
1898
  | `ModelStageTransportRegistration` | type | [Declaration](../../../dist/esm/structs/support/model/interactions.d.ts#L15) |
1811
- | `ModelStrategyOptions` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L39) |
1899
+ | `ModelStrategyOptions` | type | [Declaration](../../../dist/esm/support/model/strategies.d.ts#L43) |
1812
1900
  | `ModelTransportRegistration` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L60) |
1813
1901
  | `NativeFunctionCall` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L73) |
1814
1902
  | `nativeFunctionInteraction` | value | [Declaration](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
1815
1903
  | `PreparedModelInteraction` | type | [Declaration](../../../dist/esm/structs/model/interactions.d.ts#L25) |
1816
- | `ProviderAssistantMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L36) |
1904
+ | `ProviderAssistantMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L38) |
1817
1905
  | `ProviderErrorCapture` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L63) |
1818
1906
  | `ProviderEventDescriptor` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L44) |
1819
1907
  | `ProviderEventName` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L42) |
1820
1908
  | `ProviderEventPayloads` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L13) |
1821
- | `ProviderMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L52) |
1909
+ | `ProviderMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L54) |
1822
1910
  | `ProviderObservation` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L49) |
1823
1911
  | `ProviderObserver` | type | [Declaration](../../../dist/esm/structs/support/model/provider-observer.d.ts#L56) |
1824
1912
  | `ProviderReasoningLevel` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L45) |
1825
1913
  | `ProviderReasoningStrategy` | type | [Declaration](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
1826
- | `ProviderSystemMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L21) |
1914
+ | `ProviderSystemMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L22) |
1827
1915
  | `ProviderToolCall` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L13) |
1828
- | `ProviderToolMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L44) |
1829
- | `ProviderUserMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L28) |
1830
- | `ReplyPreviewCapability` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L3) |
1831
- | `ReplyPreviewStage` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L14) |
1832
- | `runChildren` | value | [Declaration](../../../dist/esm/support/model/children.d.ts#L45) |
1833
- | `sessionCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/session.d.ts#L11) |
1916
+ | `ProviderToolMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L46) |
1917
+ | `ProviderUserMessage` | type | [Declaration](../../../dist/esm/structs/support/model/messages.d.ts#L30) |
1918
+ | `ReplyPreviewCapability` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L8) |
1919
+ | `ReplyPreviewStage` | type | [Declaration](../../../dist/esm/support/model/preview-rules.d.ts#L20) |
1920
+ | `runChildren` | value | [Declaration](../../../dist/esm/support/model/children.d.ts#L47) |
1921
+ | `sessionCompletionPolicy` | value | [Declaration](../../../dist/esm/support/model/completion/session.d.ts#L16) |
1834
1922
  | `ToolCallCollector` | type | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L22) |
1835
1923
  | `ToolCallFailure` | type | [Declaration](../../../dist/esm/support/model/completion/calls.d.ts#L20) |
1836
1924
 
@@ -1885,7 +1973,7 @@ Symbols of this package link to the declarations shipped with the package; exter
1885
1973
  | `defineCommand` | value | [Declaration](../../../dist/esm/kits/interaction/command.d.ts#L15) |
1886
1974
  | `defineCommandCatalog` | value | [Declaration](../../../dist/esm/kits/interaction/commands.d.ts#L89) |
1887
1975
  | `defineContentProjection` | value | [Declaration](../../../dist/esm/kits/projection.d.ts#L15) |
1888
- | `defineDelivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L25) |
1976
+ | `defineDelivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L16) |
1889
1977
  | `defineDurableTask` | value | [Declaration](../../../dist/esm/kits/durable.d.ts#L19) |
1890
1978
  | `defineEvidenceChecklist` | value | [Declaration](../../../dist/esm/kits/evidence.d.ts#L14) |
1891
1979
  | `defineEvidenceProjection` | value | [Declaration](../../../dist/esm/kits/evidence.d.ts#L40) |
@@ -1904,7 +1992,7 @@ Symbols of this package link to the declarations shipped with the package; exter
1904
1992
  | `defineTextSkillLoader` | value | [Declaration](../../../dist/esm/kits/text-skills.d.ts#L16) |
1905
1993
  | `defineTextTemplate` | value | [Declaration](../../../dist/esm/kits/presentation/templates.d.ts#L21) |
1906
1994
  | `defineTreeProjection` | value | [Declaration](../../../dist/esm/kits/projection.d.ts#L48) |
1907
- | `Delivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L44) |
1995
+ | `Delivery` | value | [Declaration](../../../dist/esm/kits/delivery.d.ts#L35) |
1908
1996
  | `DeliveryOptions` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L25) |
1909
1997
  | `DeliveryStage` | type | [Declaration](../../../dist/esm/structs/kits/delivery.d.ts#L13) |
1910
1998
  | `DescribedTool` | type | [Declaration](../../../dist/esm/structs/kits/intents/catalog.d.ts#L40) |
@@ -2018,16 +2106,16 @@ Symbols of this package link to the declarations shipped with the package; exter
2018
2106
  | `ReplyDeliveryOptions` | type | [Declaration](../../../dist/esm/structs/kits/presentation/events.d.ts#L39) |
2019
2107
  | `resolvePreference` | value | [Declaration](../../../dist/esm/kits/presentation/variants.d.ts#L34) |
2020
2108
  | `Retrieval` | value | [Declaration](../../../dist/esm/kits/retrieval.d.ts#L23) |
2021
- | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L95) |
2022
- | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L48) |
2023
- | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L55) |
2109
+ | `RetrievalDefinition` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
2110
+ | `RetrievalEffect` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
2111
+ | `RetrievalPorts` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
2024
2112
  | `retrievalQueryKey` | value | [Declaration](../../../dist/esm/utils/query-key.d.ts#L12) |
2025
- | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L46) |
2026
- | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L29) |
2027
- | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L16) |
2028
- | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L86) |
2113
+ | `RetrievalReason` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
2114
+ | `RetrievalReceipt` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
2115
+ | `RetrievalResult` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
2116
+ | `RetrievalRunner` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
2029
2117
  | `RetrievalSource` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
2030
- | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L20) |
2118
+ | `RetrievalState` | type | [Declaration](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
2031
2119
  | `ScopeDefinition` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
2032
2120
  | `ScopeDescription` | type | [Declaration](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
2033
2121
  | `ScopeRegistry` | value + type | [Declaration](../../../dist/esm/kits/intents/scopes.d.ts#L17) |
@@ -2038,10 +2126,10 @@ Symbols of this package link to the declarations shipped with the package; exter
2038
2126
  | `serializeOutputEvents` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L53) |
2039
2127
  | `textOutputEvents` | value | [Declaration](../../../dist/esm/kits/presentation/events.d.ts#L60) |
2040
2128
  | `TextSearch` | value + type | [Declaration](../../../dist/esm/kits/search.d.ts#L8) |
2041
- | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L28) |
2129
+ | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L29) |
2042
2130
  | `TextSearchOptions` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L12) |
2043
- | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L34) |
2044
- | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L45) |
2131
+ | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L36) |
2132
+ | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L47) |
2045
2133
  | `TextSkill` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
2046
2134
  | `TextSkillHeader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L31) |
2047
2135
  | `TextSkillLoader` | type | [Declaration](../../../dist/esm/structs/kits/text-skills.d.ts#L61) |
@@ -2071,35 +2159,36 @@ Symbols of this package link to the declarations shipped with the package; exter
2071
2159
 
2072
2160
  ## @jangts/agent-core/mock
2073
2161
 
2074
- [Contracts and behavior](mock.md) · 25 exported symbols
2162
+ [Contracts and behavior](mock.md) · 26 exported symbols
2075
2163
 
2076
2164
  | Symbol | Type/value | Declaration and notes |
2077
2165
  | --- | --- | --- |
2078
- | `CallRecord` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L91) |
2079
- | `Generated` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L70) |
2080
- | `GenerationContext` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L29) |
2081
- | `GenerationInput` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L21) |
2082
- | `GenerationOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L26) |
2083
- | `Generator` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L71) |
2084
- | `generatorNames` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/generators/index.d.ts#L32) |
2085
- | `generators` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/generators/index.d.ts#L4) |
2086
- | `HttpFault` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L66) |
2087
- | `JsonValue` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L1) |
2088
- | `Message` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L4) |
2089
- | `MockGPT` | value + type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/runtime/mock.d.ts#L2) |
2090
- | `MockGPTError` | value + type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/shared/utils.d.ts#L3) |
2091
- | `MockGPTOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L80) |
2092
- | `ModelOutput` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L62) |
2093
- | `ModelRequest` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L11) |
2094
- | `OutputOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L51) |
2095
- | `ResponseDescription` | value + type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L104) |
2096
- | `responses` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/runtime/responses.d.ts#L5) |
2097
- | `routes` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/runtime/chat-completions.d.ts#L2) |
2098
- | `Rule` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L72) |
2099
- | `TextOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/generators/text.d.ts#L3) |
2100
- | `TextSource` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/generators/text.d.ts#L2) |
2101
- | `ToolCall` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L41) |
2102
- | `Usage` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/types.d.ts#L46) |
2166
+ | `CallRecord` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2167
+ | `encodeModelResponse` | value | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2168
+ | `Generated` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2169
+ | `GenerationContext` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2170
+ | `GenerationInput` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2171
+ | `GenerationOptions` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2172
+ | `Generator` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2173
+ | `generatorNames` | value | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2174
+ | `generators` | value | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2175
+ | `HttpFault` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2176
+ | `JsonValue` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2177
+ | `Message` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2178
+ | `MockGPT` | value + type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2179
+ | `MockGPTError` | value + type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2180
+ | `MockGPTOptions` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2181
+ | `ModelOutput` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2182
+ | `ModelRequest` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2183
+ | `OutputOptions` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2184
+ | `ResponseDescription` | value + type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2185
+ | `responses` | value | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2186
+ | `routes` | value | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2187
+ | `Rule` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2188
+ | `TextOptions` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2189
+ | `TextSource` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2190
+ | `ToolCall` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2191
+ | `Usage` | type | [Declaration](../../../dist/esm/mock.d.ts#L8) |
2103
2192
 
2104
2193
  ## @jangts/agent-core/kits/search
2105
2194
 
@@ -2108,10 +2197,10 @@ Symbols of this package link to the declarations shipped with the package; exter
2108
2197
  | Symbol | Type/value | Declaration and notes |
2109
2198
  | --- | --- | --- |
2110
2199
  | `TextSearch` | value + type | [Declaration](../../../dist/esm/kits/search.d.ts#L8) |
2111
- | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L28) |
2200
+ | `TextSearchHit` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L29) |
2112
2201
  | `TextSearchOptions` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L12) |
2113
- | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L34) |
2114
- | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L45) |
2202
+ | `TextSearchQuery` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L36) |
2203
+ | `TextSearchSnapshot` | type | [Declaration](../../../dist/esm/structs/kits/search.d.ts#L47) |
2115
2204
 
2116
2205
  ## @jangts/agent-core/kits/inference
2117
2206
 
@@ -2217,10 +2306,10 @@ Symbols of this package link to the declarations shipped with the package; exter
2217
2306
 
2218
2307
  | Symbol | Type/value | Declaration and notes |
2219
2308
  | --- | --- | --- |
2220
- | `createMockHandler` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/node/server.d.ts#L13) |
2221
- | `createMockServer` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/node/server.d.ts#L14) |
2222
- | `HandlerOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/node/server.d.ts#L3) |
2223
- | `ServerOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/node/server.d.ts#L10) |
2309
+ | `createMockHandler` | value | [Declaration](../../../dist/esm/mock/node.d.ts#L8) |
2310
+ | `createMockServer` | value | [Declaration](../../../dist/esm/mock/node.d.ts#L8) |
2311
+ | `HandlerOptions` | type | [Declaration](../../../dist/esm/mock/node.d.ts#L8) |
2312
+ | `ServerOptions` | type | [Declaration](../../../dist/esm/mock/node.d.ts#L8) |
2224
2313
 
2225
2314
  ## @jangts/agent-core/mock/web
2226
2315
 
@@ -2228,8 +2317,40 @@ Symbols of this package link to the declarations shipped with the package; exter
2228
2317
 
2229
2318
  | Symbol | Type/value | Declaration and notes |
2230
2319
  | --- | --- | --- |
2231
- | `isPublicAddress` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/sources/http.d.ts#L42) |
2232
- | `LoadedPage` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/sources/http.d.ts#L1) |
2233
- | `sources` | value | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/sources/web.d.ts#L20) |
2234
- | `WebOptions` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/sources/web.d.ts#L6) |
2235
- | `WebProfile` | type | [Declaration](../../../node_modules/@jangts/mock-gpt/dist/esm/sources/http.d.ts#L36) |
2320
+ | `isPublicAddress` | value | [Declaration](../../../dist/esm/mock/web.d.ts#L8) |
2321
+ | `LoadedPage` | type | [Declaration](../../../dist/esm/mock/web.d.ts#L8) |
2322
+ | `sources` | value | [Declaration](../../../dist/esm/mock/web.d.ts#L8) |
2323
+ | `WebOptions` | type | [Declaration](../../../dist/esm/mock/web.d.ts#L8) |
2324
+ | `WebProfile` | type | [Declaration](../../../dist/esm/mock/web.d.ts#L8) |
2325
+
2326
+ ## @jangts/agent-core/support/decorators
2327
+
2328
+ [Contracts and behavior](support.md) · 25 exported symbols
2329
+
2330
+ | Symbol | Type/value | Declaration and notes |
2331
+ | --- | --- | --- |
2332
+ | `agent` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L35) |
2333
+ | `Agent` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L20) |
2334
+ | `AgentOptions` | type | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L33) |
2335
+ | `agentPool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L28) |
2336
+ | `ClassDecoration` | type | [Declaration](../../../dist/esm/support/decorators/definition.d.ts#L13) |
2337
+ | `DecorationOptions` | type | [Declaration](../../../dist/esm/support/decorators/definition.d.ts#L10) |
2338
+ | `DefinitionReader` | type | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L9) |
2339
+ | `fragment` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L27) |
2340
+ | `Fragment` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L16) |
2341
+ | `fragmentPool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L24) |
2342
+ | `IdentifiedDefinition` | type | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L5) |
2343
+ | `MethodDecoration` | type | [Declaration](../../../dist/esm/support/decorators/definition.d.ts#L14) |
2344
+ | `model` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L39) |
2345
+ | `Model` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L22) |
2346
+ | `ModelOptions` | type | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L37) |
2347
+ | `modelPool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L86) |
2348
+ | `node` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L19) |
2349
+ | `Node` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L12) |
2350
+ | `nodePool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L20) |
2351
+ | `tool` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L23) |
2352
+ | `Tool` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L14) |
2353
+ | `toolPool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L22) |
2354
+ | `workflow` | value | [Declaration](../../../dist/esm/support/decorators/index.d.ts#L31) |
2355
+ | `Workflow` | type | [Declaration](../../../dist/esm/support/decorators/types.d.ts#L18) |
2356
+ | `workflowPool` | value | [Declaration](../../../dist/esm/support/decorators/pool.d.ts#L26) |