@jangts/agent-core 0.2.1 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/development/docs/api/reference.md +290 -257
- package/development/docs/api/workflow.en.md +10 -0
- package/development/docs/api/workflow.md +22 -0
- package/development/skills/agent-core-app/SKILL.md +4 -0
- package/dist/cjs/execution/cache.js +162 -0
- package/dist/cjs/execution/engine.js +10 -0
- package/dist/cjs/kits/vector-search.js +4 -7
- package/dist/cjs/structs/execution/cache.js +6 -0
- package/dist/esm/execution/cache.d.ts +20 -0
- package/dist/esm/execution/cache.js +156 -0
- package/dist/esm/execution/engine.d.ts +5 -0
- package/dist/esm/execution/engine.js +10 -0
- package/dist/esm/kits/vector-search.js +4 -7
- package/dist/esm/structs/execution/cache.d.ts +54 -0
- package/dist/esm/structs/execution/cache.js +5 -0
- package/dist/esm/structs/execution/engine.d.ts +6 -1
- package/dist/esm/structs/execution/workflow.d.ts +2 -1
- package/dist/esm/structs/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -6,24 +6,27 @@
|
|
|
6
6
|
|
|
7
7
|
## @jangts/agent-core
|
|
8
8
|
|
|
9
|
-
[合同与行为](core.md) ·
|
|
9
|
+
[合同与行为](core.md) · 302 个导出符号
|
|
10
10
|
|
|
11
11
|
| 符号 | 类型/值 | 声明与说明 |
|
|
12
12
|
| --- | --- | --- |
|
|
13
|
-
| `abortableStream` | value | [声明](../../../
|
|
14
|
-
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
13
|
+
| `abortableStream` | value | [声明](../../../dist/esm/index.d.ts#L31) |
|
|
14
|
+
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#L60) |
|
|
15
|
+
| `AgentCacheAddress` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L27) |
|
|
16
|
+
| `AgentCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L23) |
|
|
17
|
+
| `AgentCachePort` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L34) |
|
|
15
18
|
| `AgentCatalogPorts` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
|
|
16
|
-
| `AgentCheckpoint` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
17
|
-
| `AgentCheckpointRecord` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
18
|
-
| `AgentCoreEngine` | value + type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
19
|
-
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
20
|
-
| `AgentCoreEngineSetup` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
19
|
+
| `AgentCheckpoint` | type | [声明](../../../dist/esm/execution/engine.d.ts#L80) |
|
|
20
|
+
| `AgentCheckpointRecord` | type | [声明](../../../dist/esm/execution/engine.d.ts#L91) |
|
|
21
|
+
| `AgentCoreEngine` | value + type | [声明](../../../dist/esm/execution/engine.d.ts#L107) |
|
|
22
|
+
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L37) |
|
|
23
|
+
| `AgentCoreEngineSetup` | type | [声明](../../../dist/esm/execution/engine.d.ts#L33) |
|
|
21
24
|
| `AgentErrorInfo` | type | [声明](../../../dist/esm/structs/errors.d.ts#L46) |
|
|
22
|
-
| `AgentModelBinding` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
23
|
-
| `AgentModelRuntime` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
25
|
+
| `AgentModelBinding` | type | [声明](../../../dist/esm/execution/engine.d.ts#L22) |
|
|
26
|
+
| `AgentModelRuntime` | type | [声明](../../../dist/esm/execution/engine.d.ts#L15) |
|
|
24
27
|
| `AgentOutputEvent` | type | [声明](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
|
|
25
28
|
| `AgentWorkflow` | value + type | [声明](../../../dist/esm/execution/workflow.d.ts#L8) |
|
|
26
|
-
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
29
|
+
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L103) |
|
|
27
30
|
| `assembleContextPlan` | value | [声明](../../../dist/esm/context/plan.d.ts#L14) |
|
|
28
31
|
| `assembleFragments` | value | [声明](../../../dist/esm/context/assembly.d.ts#L14) |
|
|
29
32
|
| `AsyncSink` | type | [声明](../../../dist/esm/structs/common.d.ts#L21) |
|
|
@@ -37,6 +40,8 @@
|
|
|
37
40
|
| `BreakWhileConfig` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L49) |
|
|
38
41
|
| `BudgetError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L29) |
|
|
39
42
|
| `BuiltContext` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L45) |
|
|
43
|
+
| `CacheContext` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L51) |
|
|
44
|
+
| `CacheReadOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L11) |
|
|
40
45
|
| `CandidateSelectionDefinition` | type | [声明](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
|
|
41
46
|
| `CatalogIntent` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L12) |
|
|
42
47
|
| `CatalogScope` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L17) |
|
|
@@ -72,12 +77,12 @@
|
|
|
72
77
|
| `ContextTrust` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L13) |
|
|
73
78
|
| `CoreDiagnosticRecord` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L260) |
|
|
74
79
|
| `CoreEvent` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L188) |
|
|
75
|
-
| `coreEventCatalog` | value | [声明](../../../dist/esm/diagnostics/catalog.d.ts#
|
|
80
|
+
| `coreEventCatalog` | value | [声明](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
|
|
76
81
|
| `CoreEventDescriptor` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L126) |
|
|
77
82
|
| `CoreEventName` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L119) |
|
|
78
83
|
| `CoreEventPayloads` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L17) |
|
|
79
84
|
| `CoreLogOutput` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L213) |
|
|
80
|
-
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
85
|
+
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L35) |
|
|
81
86
|
| `createDiagnostics` | value | [声明](../../../dist/esm/diagnostics/index.d.ts#L15) |
|
|
82
87
|
| `CreateDiagnosticsOptions` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L247) |
|
|
83
88
|
| `createIntentRegistry` | value | [声明](../../../dist/esm/kits/intents/registry.d.ts#L87) |
|
|
@@ -110,6 +115,7 @@
|
|
|
110
115
|
| `DiagnosticSpanFields` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L180) |
|
|
111
116
|
| `DurationMs` | type | [声明](../../../dist/esm/structs/common.d.ts#L17) |
|
|
112
117
|
| `encodeSseEvent` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L25) |
|
|
118
|
+
| `EngineCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L6) |
|
|
113
119
|
| `EvidenceProjectionDefinition` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
|
|
114
120
|
| `EvidenceProjectionProvider` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L29) |
|
|
115
121
|
| `EvidenceProvider` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L21) |
|
|
@@ -120,7 +126,7 @@
|
|
|
120
126
|
| `ExecutionEventDescriptor` | type | [声明](../../../dist/esm/structs/execution/events.d.ts#L14) |
|
|
121
127
|
| `ExecutionObserver` | type | [声明](../../../dist/esm/structs/execution/events.d.ts#L17) |
|
|
122
128
|
| `ExecutionOptions` | type | [声明](../../../dist/esm/structs/common.d.ts#L86) |
|
|
123
|
-
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
129
|
+
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L45) |
|
|
124
130
|
| `getErrorInfo` | value | [声明](../../../dist/esm/errors.d.ts#L25) |
|
|
125
131
|
| `Id` | type | [声明](../../../dist/esm/structs/common.d.ts#L13) |
|
|
126
132
|
| `IntentDefinition` | type | [声明](../../../dist/esm/structs/kits/intents/registry.d.ts#L14) |
|
|
@@ -144,7 +150,7 @@
|
|
|
144
150
|
| `JsonSchema` | type | [声明](../../../dist/esm/structs/common.d.ts#L25) |
|
|
145
151
|
| `LifecycleProtocol` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L54) |
|
|
146
152
|
| `LifecycleTool` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L110) |
|
|
147
|
-
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
153
|
+
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L13) |
|
|
148
154
|
| `matchRule` | value | [声明](../../../dist/esm/utils/rules.d.ts#L26) |
|
|
149
155
|
| `MatchRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L12) |
|
|
150
156
|
| `MaybePromise` | type | [声明](../../../dist/esm/structs/common.d.ts#L27) |
|
|
@@ -158,15 +164,15 @@
|
|
|
158
164
|
| `ModelCapabilitySource` | type | [声明](../../../dist/esm/structs/capabilities/model.d.ts#L47) |
|
|
159
165
|
| `ModelChildOptions` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L126) |
|
|
160
166
|
| `ModelChildPolicy` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L56) |
|
|
161
|
-
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
167
|
+
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L34) |
|
|
162
168
|
| `ModelImage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L10) |
|
|
163
169
|
| `ModelInputMeasurement` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L199) |
|
|
164
170
|
| `ModelInteractionAdapter` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L45) |
|
|
165
171
|
| `modelInteractionCatalog` | value | [声明](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
|
|
166
|
-
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
167
|
-
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
172
|
+
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L17) |
|
|
173
|
+
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L59) |
|
|
168
174
|
| `ModelOutputEvent` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L107) |
|
|
169
|
-
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
175
|
+
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L57) |
|
|
170
176
|
| `ModelPrepareRequest` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L249) |
|
|
171
177
|
| `modelProtocolError` | value | [声明](../../../dist/esm/utils/model-protocol.d.ts#L9) |
|
|
172
178
|
| `ModelProviderContext` | type | [声明](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
|
|
@@ -184,8 +190,10 @@
|
|
|
184
190
|
| `ModelTokenBudget` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L30) |
|
|
185
191
|
| `ModelTransportDefinition` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L65) |
|
|
186
192
|
| `ModelTransportRegistration` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L60) |
|
|
187
|
-
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
193
|
+
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L25) |
|
|
188
194
|
| `nativeFunctionInteraction` | value | [声明](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
|
|
195
|
+
| `NodeAgentCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L43) |
|
|
196
|
+
| `NodeCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L15) |
|
|
189
197
|
| `NodeReportingContext` | type | [声明](../../../dist/esm/structs/debug.d.ts#L128) |
|
|
190
198
|
| `normalizeDiagnosticEvent` | value | [声明](../../../dist/esm/diagnostics/index.d.ts#L38) |
|
|
191
199
|
| `Observer` | type | [声明](../../../dist/esm/structs/common.d.ts#L19) |
|
|
@@ -206,7 +214,7 @@
|
|
|
206
214
|
| `ProviderReasoningStrategy` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
|
|
207
215
|
| `publishReplyEvents` | value | [声明](../../../dist/esm/kits/presentation/events.d.ts#L40) |
|
|
208
216
|
| `ReadonlyCatalog` | type | [声明](../../../dist/esm/structs/common.d.ts#L60) |
|
|
209
|
-
| `readSse` | value | [声明](../../../
|
|
217
|
+
| `readSse` | value | [声明](../../../dist/esm/index.d.ts#L31) |
|
|
210
218
|
| `RecordedSubStep` | type | [声明](../../../dist/esm/structs/debug.d.ts#L88) |
|
|
211
219
|
| `RecoveryDefinition` | type | [声明](../../../dist/esm/structs/kits/policies.d.ts#L40) |
|
|
212
220
|
| `RecoveryResult` | type | [声明](../../../dist/esm/structs/kits/policies.d.ts#L31) |
|
|
@@ -228,16 +236,16 @@
|
|
|
228
236
|
| `reportedStepStatusCatalog` | value | [声明](../../../dist/esm/structs/debug.d.ts#L19) |
|
|
229
237
|
| `reportedStepStatuses` | value | [声明](../../../dist/esm/structs/debug.d.ts#L53) |
|
|
230
238
|
| `requireWorkflowValue` | value | [声明](../../../dist/esm/execution/state.d.ts#L22) |
|
|
231
|
-
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
232
|
-
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
233
|
-
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
239
|
+
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
|
|
240
|
+
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
|
|
241
|
+
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
|
|
234
242
|
| `retrievalQueryKey` | value | [声明](../../../dist/esm/utils/query-key.d.ts#L12) |
|
|
235
|
-
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
236
|
-
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
237
|
-
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
238
|
-
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
243
|
+
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
|
|
244
|
+
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
|
|
245
|
+
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
|
|
246
|
+
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
|
|
239
247
|
| `RetrievalSource` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
|
|
240
|
-
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
248
|
+
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
|
|
241
249
|
| `route` | value | [声明](../../../dist/esm/execution/state.d.ts#L195) |
|
|
242
250
|
| `scanJsonObjectFrames` | value | [声明](../../../dist/esm/support/transport/json.d.ts#L18) |
|
|
243
251
|
| `SchemaAdapter` | type | [声明](../../../dist/esm/structs/common.d.ts#L29) |
|
|
@@ -248,12 +256,12 @@
|
|
|
248
256
|
| `SearchHit` | type | [声明](../../../dist/esm/structs/common.d.ts#L116) |
|
|
249
257
|
| `SemanticSlotDefinition` | type | [声明](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
|
|
250
258
|
| `serializeOutputEvents` | value | [声明](../../../dist/esm/kits/presentation/events.d.ts#L53) |
|
|
251
|
-
| `SseEvent` | type | [声明](../../../
|
|
252
|
-
| `SseIdleTimeoutError` | value + type | [声明](../../../
|
|
259
|
+
| `SseEvent` | type | [声明](../../../dist/esm/index.d.ts#L31) |
|
|
260
|
+
| `SseIdleTimeoutError` | value + type | [声明](../../../dist/esm/index.d.ts#L31) |
|
|
253
261
|
| `SseOutputEvent` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
|
|
254
|
-
| `SseReadOptions` | type | [声明](../../../
|
|
262
|
+
| `SseReadOptions` | type | [声明](../../../dist/esm/index.d.ts#L31) |
|
|
255
263
|
| `SseWriter` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
|
|
256
|
-
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
264
|
+
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L26) |
|
|
257
265
|
| `SubFlowLogger` | type | [声明](../../../dist/esm/structs/debug.d.ts#L117) |
|
|
258
266
|
| `SubFlowStepFix` | type | [声明](../../../dist/esm/structs/debug.d.ts#L105) |
|
|
259
267
|
| `SubFlowStepInput` | type | [声明](../../../dist/esm/structs/debug.d.ts#L101) |
|
|
@@ -295,47 +303,55 @@
|
|
|
295
303
|
| `ValidationError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L17) |
|
|
296
304
|
| `WalkRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L22) |
|
|
297
305
|
| `walkRules` | value | [声明](../../../dist/esm/utils/rules.d.ts#L36) |
|
|
298
|
-
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
306
|
+
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L24) |
|
|
299
307
|
| `WorkflowContractError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L38) |
|
|
300
|
-
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
301
|
-
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
302
|
-
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
303
|
-
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
304
|
-
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
305
|
-
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
308
|
+
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L115) |
|
|
309
|
+
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L157) |
|
|
310
|
+
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L171) |
|
|
311
|
+
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L73) |
|
|
312
|
+
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L64) |
|
|
313
|
+
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L48) |
|
|
306
314
|
| `writeSseFrame` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L38) |
|
|
307
315
|
|
|
308
316
|
## @jangts/agent-core/engine
|
|
309
317
|
|
|
310
|
-
[合同与行为](core.md) ·
|
|
318
|
+
[合同与行为](core.md) · 33 个导出符号
|
|
311
319
|
|
|
312
320
|
| 符号 | 类型/值 | 声明与说明 |
|
|
313
321
|
| --- | --- | --- |
|
|
314
|
-
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
315
|
-
| `
|
|
316
|
-
| `
|
|
317
|
-
| `
|
|
318
|
-
| `
|
|
319
|
-
| `
|
|
320
|
-
| `
|
|
321
|
-
| `
|
|
322
|
+
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#L60) |
|
|
323
|
+
| `AgentCacheAddress` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L27) |
|
|
324
|
+
| `AgentCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L23) |
|
|
325
|
+
| `AgentCachePort` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L34) |
|
|
326
|
+
| `AgentCheckpoint` | type | [声明](../../../dist/esm/execution/engine.d.ts#L80) |
|
|
327
|
+
| `AgentCheckpointRecord` | type | [声明](../../../dist/esm/execution/engine.d.ts#L91) |
|
|
328
|
+
| `AgentCoreEngine` | value + type | [声明](../../../dist/esm/execution/engine.d.ts#L107) |
|
|
329
|
+
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L37) |
|
|
330
|
+
| `AgentCoreEngineSetup` | type | [声明](../../../dist/esm/execution/engine.d.ts#L33) |
|
|
331
|
+
| `AgentModelBinding` | type | [声明](../../../dist/esm/execution/engine.d.ts#L22) |
|
|
332
|
+
| `AgentModelRuntime` | type | [声明](../../../dist/esm/execution/engine.d.ts#L15) |
|
|
322
333
|
| `AgentWorkflow` | value + type | [声明](../../../dist/esm/execution/workflow.d.ts#L8) |
|
|
323
|
-
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
334
|
+
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L103) |
|
|
324
335
|
| `AttemptBudget` | value + type | [声明](../../../dist/esm/execution/workflow.d.ts#L150) |
|
|
325
|
-
| `
|
|
336
|
+
| `CacheContext` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L51) |
|
|
337
|
+
| `CacheReadOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L11) |
|
|
338
|
+
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L35) |
|
|
326
339
|
| `defineWorkflow` | value | [声明](../../../dist/esm/execution/workflow.d.ts#L143) |
|
|
327
|
-
| `
|
|
340
|
+
| `EngineCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L6) |
|
|
341
|
+
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L13) |
|
|
342
|
+
| `NodeAgentCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L43) |
|
|
343
|
+
| `NodeCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L15) |
|
|
328
344
|
| `requireWorkflowValue` | value | [声明](../../../dist/esm/execution/state.d.ts#L22) |
|
|
329
345
|
| `route` | value | [声明](../../../dist/esm/execution/state.d.ts#L195) |
|
|
330
|
-
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
331
|
-
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
346
|
+
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L26) |
|
|
347
|
+
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L24) |
|
|
332
348
|
| `WorkflowContractError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L38) |
|
|
333
|
-
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
334
|
-
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
335
|
-
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
336
|
-
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
337
|
-
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
338
|
-
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
349
|
+
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L115) |
|
|
350
|
+
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L157) |
|
|
351
|
+
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L171) |
|
|
352
|
+
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L73) |
|
|
353
|
+
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L64) |
|
|
354
|
+
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L48) |
|
|
339
355
|
|
|
340
356
|
## @jangts/agent-core/model
|
|
341
357
|
|
|
@@ -362,25 +378,28 @@
|
|
|
362
378
|
|
|
363
379
|
## @jangts/agent-core/types
|
|
364
380
|
|
|
365
|
-
[合同与行为](types.md) ·
|
|
381
|
+
[合同与行为](types.md) · 459 个导出符号
|
|
366
382
|
|
|
367
383
|
| 符号 | 类型/值 | 声明与说明 |
|
|
368
384
|
| --- | --- | --- |
|
|
369
|
-
| `abortableStream` | type | [声明](../../../
|
|
370
|
-
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
385
|
+
| `abortableStream` | type | [声明](../../../dist/esm/types.d.ts#L20) |
|
|
386
|
+
| `AgentBranch` | type | [声明](../../../dist/esm/execution/engine.d.ts#L60) |
|
|
387
|
+
| `AgentCacheAddress` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L27) |
|
|
388
|
+
| `AgentCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L23) |
|
|
389
|
+
| `AgentCachePort` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L34) |
|
|
371
390
|
| `AgentCatalogPorts` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
|
|
372
|
-
| `AgentCheckpoint` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
373
|
-
| `AgentCheckpointRecord` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
374
|
-
| `AgentCoreEngine` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
375
|
-
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
376
|
-
| `AgentCoreEngineSetup` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
391
|
+
| `AgentCheckpoint` | type | [声明](../../../dist/esm/execution/engine.d.ts#L80) |
|
|
392
|
+
| `AgentCheckpointRecord` | type | [声明](../../../dist/esm/execution/engine.d.ts#L91) |
|
|
393
|
+
| `AgentCoreEngine` | type | [声明](../../../dist/esm/execution/engine.d.ts#L107) |
|
|
394
|
+
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L37) |
|
|
395
|
+
| `AgentCoreEngineSetup` | type | [声明](../../../dist/esm/execution/engine.d.ts#L33) |
|
|
377
396
|
| `AgentErrorInfo` | type | [声明](../../../dist/esm/structs/errors.d.ts#L46) |
|
|
378
397
|
| `AgentFamily` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L86) |
|
|
379
|
-
| `AgentModelBinding` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
380
|
-
| `AgentModelRuntime` | type | [声明](../../../dist/esm/execution/engine.d.ts#
|
|
398
|
+
| `AgentModelBinding` | type | [声明](../../../dist/esm/execution/engine.d.ts#L22) |
|
|
399
|
+
| `AgentModelRuntime` | type | [声明](../../../dist/esm/execution/engine.d.ts#L15) |
|
|
381
400
|
| `AgentOutputEvent` | type | [声明](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
|
|
382
401
|
| `AgentWorkflow` | type | [声明](../../../dist/esm/execution/workflow.d.ts#L8) |
|
|
383
|
-
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
402
|
+
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L103) |
|
|
384
403
|
| `Aggregation` | type | [声明](../../../dist/esm/kits/aggregation.d.ts#L44) |
|
|
385
404
|
| `AnswerCheck` | type | [声明](../../../dist/esm/structs/kits/answering/flow.d.ts#L16) |
|
|
386
405
|
| `AnswerChecker` | type | [声明](../../../dist/esm/structs/kits/answering/checks.d.ts#L11) |
|
|
@@ -408,6 +427,8 @@
|
|
|
408
427
|
| `BreakWhileConfig` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L49) |
|
|
409
428
|
| `BudgetError` | type | [声明](../../../dist/esm/structs/errors.d.ts#L29) |
|
|
410
429
|
| `BuiltContext` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L45) |
|
|
430
|
+
| `CacheContext` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L51) |
|
|
431
|
+
| `CacheReadOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L11) |
|
|
411
432
|
| `Candidates` | type | [声明](../../../dist/esm/kits/candidates.d.ts#L35) |
|
|
412
433
|
| `CandidateSelectionDefinition` | type | [声明](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
|
|
413
434
|
| `CapabilityCatalogOptions` | type | [声明](../../../dist/esm/structs/support/capabilities.d.ts#L31) |
|
|
@@ -451,12 +472,12 @@
|
|
|
451
472
|
| `ContextTrust` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L13) |
|
|
452
473
|
| `CoreDiagnosticRecord` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L260) |
|
|
453
474
|
| `CoreEvent` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L188) |
|
|
454
|
-
| `coreEventCatalog` | type | [声明](../../../dist/esm/diagnostics/catalog.d.ts#
|
|
475
|
+
| `coreEventCatalog` | type | [声明](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
|
|
455
476
|
| `CoreEventDescriptor` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L126) |
|
|
456
477
|
| `CoreEventName` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L119) |
|
|
457
478
|
| `CoreEventPayloads` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L17) |
|
|
458
479
|
| `CoreLogOutput` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L213) |
|
|
459
|
-
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
480
|
+
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L35) |
|
|
460
481
|
| `createDiagnostics` | type | [声明](../../../dist/esm/diagnostics/index.d.ts#L15) |
|
|
461
482
|
| `CreateDiagnosticsOptions` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L247) |
|
|
462
483
|
| `createIntentRegistry` | type | [声明](../../../dist/esm/kits/intents/registry.d.ts#L87) |
|
|
@@ -519,6 +540,7 @@
|
|
|
519
540
|
| `DurableTaskOptions` | type | [声明](../../../dist/esm/structs/kits/durable.d.ts#L89) |
|
|
520
541
|
| `DurationMs` | type | [声明](../../../dist/esm/structs/common.d.ts#L17) |
|
|
521
542
|
| `encodeSseEvent` | type | [声明](../../../dist/esm/support/transport/sse.d.ts#L25) |
|
|
543
|
+
| `EngineCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L6) |
|
|
522
544
|
| `ErrorContext` | type | [声明](../../../dist/esm/structs/errors.d.ts#L61) |
|
|
523
545
|
| `Evidence` | type | [声明](../../../dist/esm/kits/evidence.d.ts#L48) |
|
|
524
546
|
| `EvidenceProjectionDefinition` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
|
|
@@ -538,7 +560,7 @@
|
|
|
538
560
|
| `FamilyRecord` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L36) |
|
|
539
561
|
| `FamilyStore` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L49) |
|
|
540
562
|
| `FamilyVersion` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L19) |
|
|
541
|
-
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
563
|
+
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L45) |
|
|
542
564
|
| `FusedRank` | type | [声明](../../../dist/esm/kits/rank-fusion.d.ts#L11) |
|
|
543
565
|
| `getErrorInfo` | type | [声明](../../../dist/esm/errors.d.ts#L25) |
|
|
544
566
|
| `Id` | type | [声明](../../../dist/esm/structs/common.d.ts#L13) |
|
|
@@ -583,7 +605,7 @@
|
|
|
583
605
|
| `KnowledgeSourceReference` | type | [声明](../../../dist/esm/structs/kits/knowledge-publication.d.ts#L17) |
|
|
584
606
|
| `LifecycleProtocol` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L54) |
|
|
585
607
|
| `LifecycleTool` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L110) |
|
|
586
|
-
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
608
|
+
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L13) |
|
|
587
609
|
| `matchRule` | type | [声明](../../../dist/esm/utils/rules.d.ts#L26) |
|
|
588
610
|
| `MatchRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L12) |
|
|
589
611
|
| `MaybePromise` | type | [声明](../../../dist/esm/structs/common.d.ts#L27) |
|
|
@@ -601,17 +623,17 @@
|
|
|
601
623
|
| `ModelChildOptions` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L126) |
|
|
602
624
|
| `ModelChildPolicy` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L56) |
|
|
603
625
|
| `ModelChoiceIndex` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
|
|
604
|
-
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
626
|
+
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L34) |
|
|
605
627
|
| `ModelImage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L10) |
|
|
606
628
|
| `ModelInputMeasurement` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L199) |
|
|
607
629
|
| `ModelInteractionAdapter` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L45) |
|
|
608
630
|
| `modelInteractionCatalog` | type | [声明](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
|
|
609
631
|
| `ModelInvocationContext` | type | [声明](../../../dist/esm/kits/inference.d.ts#L28) |
|
|
610
632
|
| `ModelInvocationRequest` | type | [声明](../../../dist/esm/kits/inference.d.ts#L37) |
|
|
611
|
-
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
612
|
-
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
633
|
+
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L17) |
|
|
634
|
+
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L59) |
|
|
613
635
|
| `ModelOutputEvent` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L107) |
|
|
614
|
-
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
636
|
+
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L57) |
|
|
615
637
|
| `ModelPrepareRequest` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L249) |
|
|
616
638
|
| `modelProtocolError` | type | [声明](../../../dist/esm/utils/model-protocol.d.ts#L9) |
|
|
617
639
|
| `ModelProviderContext` | type | [声明](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
|
|
@@ -630,9 +652,11 @@
|
|
|
630
652
|
| `ModelTokenBudget` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L30) |
|
|
631
653
|
| `ModelTransportDefinition` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L65) |
|
|
632
654
|
| `ModelTransportRegistration` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L60) |
|
|
633
|
-
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
655
|
+
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L25) |
|
|
634
656
|
| `NativeFunctionCall` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L73) |
|
|
635
657
|
| `nativeFunctionInteraction` | type | [声明](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
|
|
658
|
+
| `NodeAgentCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L43) |
|
|
659
|
+
| `NodeCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L15) |
|
|
636
660
|
| `NodeReportingContext` | type | [声明](../../../dist/esm/structs/debug.d.ts#L128) |
|
|
637
661
|
| `Normalization` | type | [声明](../../../dist/esm/kits/normalization.d.ts#L37) |
|
|
638
662
|
| `NormalizationOptions` | type | [声明](../../../dist/esm/structs/kits/normalization.d.ts#L20) |
|
|
@@ -677,7 +701,7 @@
|
|
|
677
701
|
| `QueryAggregationOptions` | type | [声明](../../../dist/esm/structs/kits/aggregation.d.ts#L10) |
|
|
678
702
|
| `RankedList` | type | [声明](../../../dist/esm/kits/rank-fusion.d.ts#L2) |
|
|
679
703
|
| `ReadonlyCatalog` | type | [声明](../../../dist/esm/structs/common.d.ts#L60) |
|
|
680
|
-
| `readSse` | type | [声明](../../../
|
|
704
|
+
| `readSse` | type | [声明](../../../dist/esm/types.d.ts#L20) |
|
|
681
705
|
| `reciprocalRankFusion` | type | [声明](../../../dist/esm/kits/rank-fusion.d.ts#L36) |
|
|
682
706
|
| `RecordedSubStep` | type | [声明](../../../dist/esm/structs/debug.d.ts#L88) |
|
|
683
707
|
| `RecoveryDefinition` | type | [声明](../../../dist/esm/structs/kits/policies.d.ts#L40) |
|
|
@@ -715,16 +739,16 @@
|
|
|
715
739
|
| `requireWorkflowValue` | type | [声明](../../../dist/esm/execution/state.d.ts#L22) |
|
|
716
740
|
| `resolvePreference` | type | [声明](../../../dist/esm/kits/presentation/variants.d.ts#L34) |
|
|
717
741
|
| `Retrieval` | type | [声明](../../../dist/esm/kits/retrieval.d.ts#L23) |
|
|
718
|
-
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
719
|
-
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
720
|
-
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
742
|
+
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
|
|
743
|
+
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
|
|
744
|
+
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
|
|
721
745
|
| `retrievalQueryKey` | type | [声明](../../../dist/esm/utils/query-key.d.ts#L12) |
|
|
722
|
-
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
723
|
-
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
724
|
-
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
725
|
-
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
746
|
+
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
|
|
747
|
+
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
|
|
748
|
+
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
|
|
749
|
+
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
|
|
726
750
|
| `RetrievalSource` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
|
|
727
|
-
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
751
|
+
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
|
|
728
752
|
| `route` | type | [声明](../../../dist/esm/execution/state.d.ts#L195) |
|
|
729
753
|
| `scanJsonObjectFrames` | type | [声明](../../../dist/esm/support/transport/json.d.ts#L18) |
|
|
730
754
|
| `SchemaAdapter` | type | [声明](../../../dist/esm/structs/common.d.ts#L29) |
|
|
@@ -738,12 +762,12 @@
|
|
|
738
762
|
| `selectVariant` | type | [声明](../../../dist/esm/kits/presentation/variants.d.ts#L20) |
|
|
739
763
|
| `SemanticSlotDefinition` | type | [声明](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
|
|
740
764
|
| `serializeOutputEvents` | type | [声明](../../../dist/esm/kits/presentation/events.d.ts#L53) |
|
|
741
|
-
| `SseEvent` | type | [声明](../../../
|
|
742
|
-
| `SseIdleTimeoutError` | type | [声明](../../../
|
|
765
|
+
| `SseEvent` | type | [声明](../../../dist/esm/types.d.ts#L10) |
|
|
766
|
+
| `SseIdleTimeoutError` | type | [声明](../../../dist/esm/types.d.ts#L20) |
|
|
743
767
|
| `SseOutputEvent` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
|
|
744
|
-
| `SseReadOptions` | type | [声明](../../../
|
|
768
|
+
| `SseReadOptions` | type | [声明](../../../dist/esm/types.d.ts#L10) |
|
|
745
769
|
| `SseWriter` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
|
|
746
|
-
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
770
|
+
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L26) |
|
|
747
771
|
| `SubFlowLogger` | type | [声明](../../../dist/esm/structs/debug.d.ts#L117) |
|
|
748
772
|
| `SubFlowStepFix` | type | [声明](../../../dist/esm/structs/debug.d.ts#L105) |
|
|
749
773
|
| `SubFlowStepInput` | type | [声明](../../../dist/esm/structs/debug.d.ts#L101) |
|
|
@@ -752,10 +776,10 @@
|
|
|
752
776
|
| `Support` | type | [声明](../../../dist/esm/support/index.d.ts#L10) |
|
|
753
777
|
| `textOutputEvents` | type | [声明](../../../dist/esm/kits/presentation/events.d.ts#L60) |
|
|
754
778
|
| `TextSearch` | type | [声明](../../../dist/esm/kits/search.d.ts#L8) |
|
|
755
|
-
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
779
|
+
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L29) |
|
|
756
780
|
| `TextSearchOptions` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L12) |
|
|
757
|
-
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
758
|
-
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
781
|
+
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L36) |
|
|
782
|
+
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L47) |
|
|
759
783
|
| `TextSkill` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
|
|
760
784
|
| `TextSkillHeader` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L31) |
|
|
761
785
|
| `TextSkillLoader` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L61) |
|
|
@@ -807,29 +831,32 @@
|
|
|
807
831
|
| `VectorSearchSpace` | type | [声明](../../../dist/esm/kits/vector-search.d.ts#L12) |
|
|
808
832
|
| `WalkRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L22) |
|
|
809
833
|
| `walkRules` | type | [声明](../../../dist/esm/utils/rules.d.ts#L36) |
|
|
810
|
-
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
834
|
+
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L24) |
|
|
811
835
|
| `WorkflowContractError` | type | [声明](../../../dist/esm/structs/errors.d.ts#L38) |
|
|
812
|
-
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
813
|
-
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
814
|
-
| `WorkflowFailure` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
815
|
-
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
816
|
-
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
817
|
-
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
818
|
-
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
836
|
+
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L115) |
|
|
837
|
+
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L157) |
|
|
838
|
+
| `WorkflowFailure` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L152) |
|
|
839
|
+
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L171) |
|
|
840
|
+
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L73) |
|
|
841
|
+
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L64) |
|
|
842
|
+
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L48) |
|
|
819
843
|
| `writeSseFrame` | type | [声明](../../../dist/esm/support/transport/sse.d.ts#L38) |
|
|
820
844
|
|
|
821
845
|
## @jangts/agent-core/structs
|
|
822
846
|
|
|
823
|
-
[合同与行为](types.md) ·
|
|
847
|
+
[合同与行为](types.md) · 282 个导出符号
|
|
824
848
|
|
|
825
849
|
| 符号 | 类型/值 | 声明与说明 |
|
|
826
850
|
| --- | --- | --- |
|
|
851
|
+
| `AgentCacheAddress` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L27) |
|
|
852
|
+
| `AgentCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L23) |
|
|
853
|
+
| `AgentCachePort` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L34) |
|
|
827
854
|
| `AgentCatalogPorts` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L49) |
|
|
828
|
-
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
855
|
+
| `AgentCoreEngineOptions` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L37) |
|
|
829
856
|
| `AgentErrorInfo` | type | [声明](../../../dist/esm/structs/errors.d.ts#L46) |
|
|
830
857
|
| `AgentFamily` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L86) |
|
|
831
858
|
| `AgentOutputEvent` | type | [声明](../../../dist/esm/structs/kits/presentation/events.d.ts#L11) |
|
|
832
|
-
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
859
|
+
| `AgentWorkflowDefinition` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L103) |
|
|
833
860
|
| `ArtifactReference` | type | [声明](../../../dist/esm/structs/kits/artifacts.d.ts#L12) |
|
|
834
861
|
| `ArtifactResolver` | type | [声明](../../../dist/esm/structs/kits/artifacts.d.ts#L21) |
|
|
835
862
|
| `AsyncSink` | type | [声明](../../../dist/esm/structs/common.d.ts#L21) |
|
|
@@ -840,6 +867,8 @@
|
|
|
840
867
|
| `BreakWhileConfig` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L49) |
|
|
841
868
|
| `BudgetError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L29) |
|
|
842
869
|
| `BuiltContext` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L45) |
|
|
870
|
+
| `CacheContext` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L51) |
|
|
871
|
+
| `CacheReadOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L11) |
|
|
843
872
|
| `CandidateSelectionDefinition` | type | [声明](../../../dist/esm/structs/kits/candidates.d.ts#L16) |
|
|
844
873
|
| `CapabilityCatalogOptions` | type | [声明](../../../dist/esm/structs/support/capabilities.d.ts#L31) |
|
|
845
874
|
| `CapabilityModule` | type | [声明](../../../dist/esm/structs/support/capabilities.d.ts#L20) |
|
|
@@ -874,7 +903,7 @@
|
|
|
874
903
|
| `CoreEventName` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L119) |
|
|
875
904
|
| `CoreEventPayloads` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L17) |
|
|
876
905
|
| `CoreLogOutput` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L213) |
|
|
877
|
-
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
906
|
+
| `CoreStep` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L35) |
|
|
878
907
|
| `CreateDiagnosticsOptions` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L247) |
|
|
879
908
|
| `DebugStepsOutput` | type | [声明](../../../dist/esm/structs/debug.d.ts#L151) |
|
|
880
909
|
| `DescribedTool` | type | [声明](../../../dist/esm/structs/kits/intents/catalog.d.ts#L40) |
|
|
@@ -891,6 +920,7 @@
|
|
|
891
920
|
| `DurableTaskDefinition` | type | [声明](../../../dist/esm/structs/kits/durable.d.ts#L77) |
|
|
892
921
|
| `DurableTaskOptions` | type | [声明](../../../dist/esm/structs/kits/durable.d.ts#L89) |
|
|
893
922
|
| `DurationMs` | type | [声明](../../../dist/esm/structs/common.d.ts#L17) |
|
|
923
|
+
| `EngineCacheOptions` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L6) |
|
|
894
924
|
| `ErrorContext` | type | [声明](../../../dist/esm/structs/errors.d.ts#L61) |
|
|
895
925
|
| `EvidenceProjectionDefinition` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L36) |
|
|
896
926
|
| `EvidenceProjectionProvider` | type | [声明](../../../dist/esm/structs/kits/evidence.d.ts#L29) |
|
|
@@ -907,7 +937,7 @@
|
|
|
907
937
|
| `FamilyRecord` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L36) |
|
|
908
938
|
| `FamilyStore` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L49) |
|
|
909
939
|
| `FamilyVersion` | type | [声明](../../../dist/esm/structs/kits/family.d.ts#L19) |
|
|
910
|
-
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
940
|
+
| `FunctionCallDelta` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L45) |
|
|
911
941
|
| `Id` | type | [声明](../../../dist/esm/structs/common.d.ts#L13) |
|
|
912
942
|
| `IntentDefinition` | type | [声明](../../../dist/esm/structs/kits/intents/registry.d.ts#L14) |
|
|
913
943
|
| `IntentDescription` | type | [声明](../../../dist/esm/structs/kits/intents/registry.d.ts#L62) |
|
|
@@ -937,7 +967,7 @@
|
|
|
937
967
|
| `KnowledgeSourceReference` | type | [声明](../../../dist/esm/structs/kits/knowledge-publication.d.ts#L17) |
|
|
938
968
|
| `LifecycleProtocol` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L54) |
|
|
939
969
|
| `LifecycleTool` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L110) |
|
|
940
|
-
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
970
|
+
| `LoopEvent` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L13) |
|
|
941
971
|
| `MatchRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L12) |
|
|
942
972
|
| `MaybePromise` | type | [声明](../../../dist/esm/structs/common.d.ts#L27) |
|
|
943
973
|
| `ModelCallRecord` | type | [声明](../../../dist/esm/structs/invocation.d.ts#L35) |
|
|
@@ -950,14 +980,14 @@
|
|
|
950
980
|
| `ModelChildOptions` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L126) |
|
|
951
981
|
| `ModelChildPolicy` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L56) |
|
|
952
982
|
| `ModelChoiceIndex` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
|
|
953
|
-
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
983
|
+
| `ModelFunction` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L34) |
|
|
954
984
|
| `ModelImage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L10) |
|
|
955
985
|
| `ModelInputMeasurement` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L199) |
|
|
956
986
|
| `ModelInteractionAdapter` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L45) |
|
|
957
|
-
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
958
|
-
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
987
|
+
| `ModelMessage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L17) |
|
|
988
|
+
| `ModelOptions` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L59) |
|
|
959
989
|
| `ModelOutputEvent` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L107) |
|
|
960
|
-
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
990
|
+
| `ModelPart` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L57) |
|
|
961
991
|
| `ModelPrepareRequest` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L249) |
|
|
962
992
|
| `ModelProviderContext` | type | [声明](../../../dist/esm/structs/model/chat-provider.d.ts#L14) |
|
|
963
993
|
| `ModelProviderErrorCode` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L15) |
|
|
@@ -973,8 +1003,10 @@
|
|
|
973
1003
|
| `ModelTokenBudget` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L30) |
|
|
974
1004
|
| `ModelTransportDefinition` | type | [声明](../../../dist/esm/structs/model/runtime.d.ts#L65) |
|
|
975
1005
|
| `ModelTransportRegistration` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L60) |
|
|
976
|
-
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#
|
|
1006
|
+
| `ModelUsage` | type | [声明](../../../dist/esm/structs/model/messages.d.ts#L25) |
|
|
977
1007
|
| `NativeFunctionCall` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L73) |
|
|
1008
|
+
| `NodeAgentCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L43) |
|
|
1009
|
+
| `NodeCache` | type | [声明](../../../dist/esm/structs/execution/cache.d.ts#L15) |
|
|
978
1010
|
| `NodeReportingContext` | type | [声明](../../../dist/esm/structs/debug.d.ts#L128) |
|
|
979
1011
|
| `Observer` | type | [声明](../../../dist/esm/structs/common.d.ts#L19) |
|
|
980
1012
|
| `OperationContext` | type | [声明](../../../dist/esm/structs/common.d.ts#L107) |
|
|
@@ -1027,15 +1059,15 @@
|
|
|
1027
1059
|
| `ReportedStepStatus` | type | [声明](../../../dist/esm/structs/debug.d.ts#L55) |
|
|
1028
1060
|
| `reportedStepStatusCatalog` | value | [声明](../../../dist/esm/structs/debug.d.ts#L19) |
|
|
1029
1061
|
| `reportedStepStatuses` | value | [声明](../../../dist/esm/structs/debug.d.ts#L53) |
|
|
1030
|
-
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1031
|
-
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1032
|
-
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1033
|
-
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1034
|
-
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1035
|
-
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1036
|
-
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1062
|
+
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
|
|
1063
|
+
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
|
|
1064
|
+
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
|
|
1065
|
+
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
|
|
1066
|
+
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
|
|
1067
|
+
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
|
|
1068
|
+
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
|
|
1037
1069
|
| `RetrievalSource` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
|
|
1038
|
-
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1070
|
+
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
|
|
1039
1071
|
| `SchemaAdapter` | type | [声明](../../../dist/esm/structs/common.d.ts#L29) |
|
|
1040
1072
|
| `ScopeDefinition` | type | [声明](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
|
|
1041
1073
|
| `ScopeDescription` | type | [声明](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
|
|
@@ -1043,11 +1075,11 @@
|
|
|
1043
1075
|
| `SearchHit` | type | [声明](../../../dist/esm/structs/common.d.ts#L116) |
|
|
1044
1076
|
| `SelectedTools` | type | [声明](../../../dist/esm/structs/support/tools.d.ts#L39) |
|
|
1045
1077
|
| `SemanticSlotDefinition` | type | [声明](../../../dist/esm/structs/kits/presentation/templates.d.ts#L19) |
|
|
1046
|
-
| `SseEvent` | type | [声明](../../../
|
|
1078
|
+
| `SseEvent` | type | [声明](../../../dist/esm/structs/index.d.ts#L26) |
|
|
1047
1079
|
| `SseOutputEvent` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
|
|
1048
|
-
| `SseReadOptions` | type | [声明](../../../
|
|
1080
|
+
| `SseReadOptions` | type | [声明](../../../dist/esm/structs/index.d.ts#L26) |
|
|
1049
1081
|
| `SseWriter` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
|
|
1050
|
-
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#
|
|
1082
|
+
| `StepOutcome` | type | [声明](../../../dist/esm/structs/execution/engine.d.ts#L26) |
|
|
1051
1083
|
| `SubFlowLogger` | type | [声明](../../../dist/esm/structs/debug.d.ts#L117) |
|
|
1052
1084
|
| `SubFlowStepFix` | type | [声明](../../../dist/esm/structs/debug.d.ts#L105) |
|
|
1053
1085
|
| `SubFlowStepInput` | type | [声明](../../../dist/esm/structs/debug.d.ts#L101) |
|
|
@@ -1089,15 +1121,15 @@
|
|
|
1089
1121
|
| `ToolRuntimeTypes` | type | [声明](../../../dist/esm/structs/kits/tools.d.ts#L20) |
|
|
1090
1122
|
| `ValidationError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L17) |
|
|
1091
1123
|
| `WalkRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L22) |
|
|
1092
|
-
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1124
|
+
| `WorkflowContext` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L24) |
|
|
1093
1125
|
| `WorkflowContractError` | value + type | [声明](../../../dist/esm/structs/errors.d.ts#L38) |
|
|
1094
|
-
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1095
|
-
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1096
|
-
| `WorkflowFailure` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1097
|
-
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1098
|
-
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1099
|
-
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1100
|
-
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#
|
|
1126
|
+
| `WorkflowEvent` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L115) |
|
|
1127
|
+
| `WorkflowExtension` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L157) |
|
|
1128
|
+
| `WorkflowFailure` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L152) |
|
|
1129
|
+
| `WorkflowModel` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L171) |
|
|
1130
|
+
| `WorkflowNode` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L73) |
|
|
1131
|
+
| `WorkflowNodeReport` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L64) |
|
|
1132
|
+
| `WorkflowRoute` | type | [声明](../../../dist/esm/structs/execution/workflow.d.ts#L48) |
|
|
1101
1133
|
|
|
1102
1134
|
## @jangts/agent-core/context
|
|
1103
1135
|
|
|
@@ -1196,13 +1228,13 @@
|
|
|
1196
1228
|
|
|
1197
1229
|
| 符号 | 类型/值 | 声明与说明 |
|
|
1198
1230
|
| --- | --- | --- |
|
|
1199
|
-
| `abortableStream` | value | [声明](../../../
|
|
1231
|
+
| `abortableStream` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L15) |
|
|
1200
1232
|
| `encodeSseEvent` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L25) |
|
|
1201
|
-
| `readSse` | value | [声明](../../../
|
|
1202
|
-
| `SseEvent` | type | [声明](../../../
|
|
1203
|
-
| `SseIdleTimeoutError` | value + type | [声明](../../../
|
|
1233
|
+
| `readSse` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L13) |
|
|
1234
|
+
| `SseEvent` | type | [声明](../../../dist/esm/support/transport/sse.d.ts#L13) |
|
|
1235
|
+
| `SseIdleTimeoutError` | value + type | [声明](../../../dist/esm/support/transport/sse.d.ts#L13) |
|
|
1204
1236
|
| `SseOutputEvent` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
|
|
1205
|
-
| `SseReadOptions` | type | [声明](../../../
|
|
1237
|
+
| `SseReadOptions` | type | [声明](../../../dist/esm/support/transport/sse.d.ts#L13) |
|
|
1206
1238
|
| `SseWriter` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
|
|
1207
1239
|
| `writeSseFrame` | value | [声明](../../../dist/esm/support/transport/sse.d.ts#L38) |
|
|
1208
1240
|
|
|
@@ -1224,7 +1256,7 @@
|
|
|
1224
1256
|
| --- | --- | --- |
|
|
1225
1257
|
| `CoreDiagnosticRecord` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L260) |
|
|
1226
1258
|
| `CoreEvent` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L188) |
|
|
1227
|
-
| `coreEventCatalog` | value | [声明](../../../dist/esm/diagnostics/catalog.d.ts#
|
|
1259
|
+
| `coreEventCatalog` | value | [声明](../../../dist/esm/diagnostics/catalog.d.ts#L7) |
|
|
1228
1260
|
| `CoreEventDescriptor` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L126) |
|
|
1229
1261
|
| `CoreEventName` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L119) |
|
|
1230
1262
|
| `CoreEventPayloads` | type | [声明](../../../dist/esm/structs/diagnostics.d.ts#L17) |
|
|
@@ -1333,7 +1365,7 @@
|
|
|
1333
1365
|
|
|
1334
1366
|
| 符号 | 类型/值 | 声明与说明 |
|
|
1335
1367
|
| --- | --- | --- |
|
|
1336
|
-
| `abortableStream` | value | [声明](../../../
|
|
1368
|
+
| `abortableStream` | value | [声明](../../../dist/esm/support/index.d.ts#L15) |
|
|
1337
1369
|
| `AggregatedToolCall` | type | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L13) |
|
|
1338
1370
|
| `assembleFragments` | value | [声明](../../../dist/esm/context/assembly.d.ts#L14) |
|
|
1339
1371
|
| `BreakCheck` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L33) |
|
|
@@ -1376,47 +1408,47 @@
|
|
|
1376
1408
|
| `ContextLifetime` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L15) |
|
|
1377
1409
|
| `ContextModelCall` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L216) |
|
|
1378
1410
|
| `ContextModelRequest` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L208) |
|
|
1379
|
-
| `ContextNodeResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1411
|
+
| `ContextNodeResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L7) |
|
|
1380
1412
|
| `ContextPlan` | type | [声明](../../../dist/esm/structs/context/processing.d.ts#L13) |
|
|
1381
1413
|
| `ContextPolicy` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L134) |
|
|
1382
|
-
| `contextPolicyCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#
|
|
1383
|
-
| `ContextProcessingNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1414
|
+
| `contextPolicyCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L181) |
|
|
1415
|
+
| `ContextProcessingNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L22) |
|
|
1384
1416
|
| `ContextProcessingOptions` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L220) |
|
|
1385
1417
|
| `ContextProcessingReport` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L177) |
|
|
1386
1418
|
| `ContextProjection` | type | [声明](../../../dist/esm/structs/support/context.d.ts#L14) |
|
|
1387
1419
|
| `ContextRecentHistory` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L27) |
|
|
1388
1420
|
| `ContextReduction` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L41) |
|
|
1389
1421
|
| `contextReductionCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L31) |
|
|
1390
|
-
| `ContextReductionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1422
|
+
| `ContextReductionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L68) |
|
|
1391
1423
|
| `ContextSelection` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L62) |
|
|
1392
1424
|
| `ContextSelectionCall` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L108) |
|
|
1393
1425
|
| `ContextSelectionCandidate` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L84) |
|
|
1394
1426
|
| `contextSelectionCatalog` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L46) |
|
|
1395
|
-
| `ContextSelectionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1396
|
-
| `ContextSelectionResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1427
|
+
| `ContextSelectionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L59) |
|
|
1428
|
+
| `ContextSelectionResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L54) |
|
|
1397
1429
|
| `ContextSelector` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L126) |
|
|
1398
|
-
| `ContextStageResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1430
|
+
| `ContextStageResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L45) |
|
|
1399
1431
|
| `ContextStrategy` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L63) |
|
|
1400
1432
|
| `ContextStrategyOptions` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L57) |
|
|
1401
1433
|
| `ContextStrategySettings` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L39) |
|
|
1402
1434
|
| `ContextTokenMeasurement` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L100) |
|
|
1403
1435
|
| `ContextTrust` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L13) |
|
|
1404
1436
|
| `createContextCompressor` | value | [声明](../../../dist/esm/support/context/compression.d.ts#L20) |
|
|
1405
|
-
| `createContextProcessingNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1406
|
-
| `createContextReductionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1407
|
-
| `createContextSelectionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1437
|
+
| `createContextProcessingNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L84) |
|
|
1438
|
+
| `createContextReductionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L107) |
|
|
1439
|
+
| `createContextSelectionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L95) |
|
|
1408
1440
|
| `createContextSelector` | value | [声明](../../../dist/esm/support/context/selection.d.ts#L16) |
|
|
1409
1441
|
| `createContextStrategy` | value | [声明](../../../dist/esm/support/context/strategies.d.ts#L85) |
|
|
1410
1442
|
| `createJsonTransport` | value | [声明](../../../dist/esm/support/model/transports.d.ts#L28) |
|
|
1411
|
-
| `createModelStrategy` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#
|
|
1443
|
+
| `createModelStrategy` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#L75) |
|
|
1412
1444
|
| `createModelTransport` | value | [声明](../../../dist/esm/model/selection-transport.d.ts#L17) |
|
|
1413
1445
|
| `createProviderObservationScope` | value | [声明](../../../dist/esm/support/model/observer.d.ts#L32) |
|
|
1414
|
-
| `createReplyPreview` | value | [声明](../../../dist/esm/support/model/reply-preview.d.ts#
|
|
1415
|
-
| `createReplyPreviewRules` | value | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1446
|
+
| `createReplyPreview` | value | [声明](../../../dist/esm/support/model/reply-preview.d.ts#L44) |
|
|
1447
|
+
| `createReplyPreviewRules` | value | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L39) |
|
|
1416
1448
|
| `createStageModelTransport` | value | [声明](../../../dist/esm/support/model/stage-transport.d.ts#L11) |
|
|
1417
1449
|
| `createTextTransport` | value | [声明](../../../dist/esm/support/model/transports.d.ts#L10) |
|
|
1418
1450
|
| `createToolCallCollector` | value | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L40) |
|
|
1419
|
-
| `defaultCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/default.d.ts#
|
|
1451
|
+
| `defaultCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/default.d.ts#L11) |
|
|
1420
1452
|
| `defineCapabilityCatalog` | value | [声明](../../../dist/esm/support/capabilities.d.ts#L28) |
|
|
1421
1453
|
| `defineContextAssembly` | value | [声明](../../../dist/esm/support/context/assembly.d.ts#L15) |
|
|
1422
1454
|
| `defineContextFragments` | value | [声明](../../../dist/esm/support/context/assembly.d.ts#L28) |
|
|
@@ -1436,8 +1468,8 @@
|
|
|
1436
1468
|
| `MatchRule` | type | [声明](../../../dist/esm/structs/utils/rules.d.ts#L12) |
|
|
1437
1469
|
| `modelBudgetStrategies` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#L11) |
|
|
1438
1470
|
| `ModelBudgetStrategy` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#L35) |
|
|
1439
|
-
| `ModelChildrenOptions` | type | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1440
|
-
| `ModelChildTask` | type | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1471
|
+
| `ModelChildrenOptions` | type | [声明](../../../dist/esm/support/model/children.d.ts#L24) |
|
|
1472
|
+
| `ModelChildTask` | type | [声明](../../../dist/esm/support/model/children.d.ts#L15) |
|
|
1441
1473
|
| `ModelChoiceIndex` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
|
|
1442
1474
|
| `ModelInteractionAdapter` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L45) |
|
|
1443
1475
|
| `modelInteractionCatalog` | value | [声明](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
|
|
@@ -1445,44 +1477,44 @@
|
|
|
1445
1477
|
| `ModelProviderFailure` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L37) |
|
|
1446
1478
|
| `ModelResponseCollector` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L14) |
|
|
1447
1479
|
| `ModelStageTransportRegistration` | type | [声明](../../../dist/esm/structs/support/model/interactions.d.ts#L15) |
|
|
1448
|
-
| `ModelStrategyOptions` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#
|
|
1480
|
+
| `ModelStrategyOptions` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#L43) |
|
|
1449
1481
|
| `ModelTransportRegistration` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L60) |
|
|
1450
1482
|
| `NativeFunctionCall` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L73) |
|
|
1451
1483
|
| `nativeFunctionInteraction` | value | [声明](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
|
|
1452
1484
|
| `parseJsonFrames` | value | [声明](../../../dist/esm/support/transport/json.d.ts#L32) |
|
|
1453
1485
|
| `PreparedModelInteraction` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L25) |
|
|
1454
|
-
| `processContext` | value | [声明](../../../dist/esm/support/context/processing.d.ts#
|
|
1455
|
-
| `ProviderAssistantMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1486
|
+
| `processContext` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L235) |
|
|
1487
|
+
| `ProviderAssistantMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L38) |
|
|
1456
1488
|
| `ProviderErrorCapture` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L63) |
|
|
1457
1489
|
| `ProviderEventDescriptor` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L44) |
|
|
1458
1490
|
| `ProviderEventName` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L42) |
|
|
1459
1491
|
| `ProviderEventPayloads` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L13) |
|
|
1460
|
-
| `ProviderMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1492
|
+
| `ProviderMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L54) |
|
|
1461
1493
|
| `ProviderObservation` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L49) |
|
|
1462
1494
|
| `ProviderObserver` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L56) |
|
|
1463
1495
|
| `ProviderReasoningLevel` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L45) |
|
|
1464
1496
|
| `ProviderReasoningStrategy` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
|
|
1465
|
-
| `ProviderSystemMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1497
|
+
| `ProviderSystemMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L22) |
|
|
1466
1498
|
| `ProviderToolCall` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L13) |
|
|
1467
|
-
| `ProviderToolMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1468
|
-
| `ProviderUserMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1469
|
-
| `readSse` | value | [声明](../../../
|
|
1499
|
+
| `ProviderToolMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L46) |
|
|
1500
|
+
| `ProviderUserMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L30) |
|
|
1501
|
+
| `readSse` | value | [声明](../../../dist/esm/support/index.d.ts#L15) |
|
|
1470
1502
|
| `RegistrationDefinition` | type | [声明](../../../dist/esm/structs/support/registration.d.ts#L11) |
|
|
1471
|
-
| `ReplyPreviewCapability` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1472
|
-
| `ReplyPreviewOptions` | type | [声明](../../../dist/esm/support/model/reply-preview.d.ts#
|
|
1473
|
-
| `ReplyPreviewRule` | type | [声明](../../../dist/esm/support/model/reply-preview.d.ts#
|
|
1474
|
-
| `ReplyPreviewStage` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1503
|
+
| `ReplyPreviewCapability` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L8) |
|
|
1504
|
+
| `ReplyPreviewOptions` | type | [声明](../../../dist/esm/support/model/reply-preview.d.ts#L29) |
|
|
1505
|
+
| `ReplyPreviewRule` | type | [声明](../../../dist/esm/support/model/reply-preview.d.ts#L7) |
|
|
1506
|
+
| `ReplyPreviewStage` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L20) |
|
|
1475
1507
|
| `reservedContextCalls` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L10) |
|
|
1476
1508
|
| `retryMultipleModelCalls` | value | [声明](../../../dist/esm/model/decision-retry.d.ts#L11) |
|
|
1477
|
-
| `runChildren` | value | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1509
|
+
| `runChildren` | value | [声明](../../../dist/esm/support/model/children.d.ts#L47) |
|
|
1478
1510
|
| `scanJsonObjectFrames` | value | [声明](../../../dist/esm/support/transport/json.d.ts#L18) |
|
|
1479
1511
|
| `selectContextSteps` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L85) |
|
|
1480
1512
|
| `SelectedTools` | type | [声明](../../../dist/esm/structs/support/tools.d.ts#L39) |
|
|
1481
|
-
| `sessionCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/session.d.ts#
|
|
1482
|
-
| `SseEvent` | type | [声明](../../../
|
|
1483
|
-
| `SseIdleTimeoutError` | value + type | [声明](../../../
|
|
1513
|
+
| `sessionCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/session.d.ts#L16) |
|
|
1514
|
+
| `SseEvent` | type | [声明](../../../dist/esm/support/index.d.ts#L15) |
|
|
1515
|
+
| `SseIdleTimeoutError` | value + type | [声明](../../../dist/esm/support/index.d.ts#L15) |
|
|
1484
1516
|
| `SseOutputEvent` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L19) |
|
|
1485
|
-
| `SseReadOptions` | type | [声明](../../../
|
|
1517
|
+
| `SseReadOptions` | type | [声明](../../../dist/esm/support/index.d.ts#L15) |
|
|
1486
1518
|
| `SseWriter` | type | [声明](../../../dist/esm/structs/support/transport/sse.d.ts#L12) |
|
|
1487
1519
|
| `streamEvents` | value | [声明](../../../dist/esm/support/stream-events.d.ts#L23) |
|
|
1488
1520
|
| `ToolCallCollector` | type | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L22) |
|
|
@@ -1558,16 +1590,16 @@
|
|
|
1558
1590
|
| --- | --- | --- |
|
|
1559
1591
|
| `defineRetrieval` | value | [声明](../../../dist/esm/kits/retrieval.d.ts#L18) |
|
|
1560
1592
|
| `Retrieval` | value | [声明](../../../dist/esm/kits/retrieval.d.ts#L23) |
|
|
1561
|
-
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1562
|
-
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1563
|
-
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1593
|
+
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
|
|
1594
|
+
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
|
|
1595
|
+
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
|
|
1564
1596
|
| `retrievalQueryKey` | value | [声明](../../../dist/esm/utils/query-key.d.ts#L12) |
|
|
1565
|
-
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1566
|
-
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1567
|
-
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1568
|
-
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1597
|
+
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
|
|
1598
|
+
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
|
|
1599
|
+
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
|
|
1600
|
+
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
|
|
1569
1601
|
| `RetrievalSource` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
|
|
1570
|
-
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
1602
|
+
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
|
|
1571
1603
|
|
|
1572
1604
|
## @jangts/agent-core/kits/evidence
|
|
1573
1605
|
|
|
@@ -1727,40 +1759,40 @@
|
|
|
1727
1759
|
| `ContextLifetime` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L15) |
|
|
1728
1760
|
| `ContextModelCall` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L216) |
|
|
1729
1761
|
| `ContextModelRequest` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L208) |
|
|
1730
|
-
| `ContextNodeResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1762
|
+
| `ContextNodeResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L7) |
|
|
1731
1763
|
| `ContextPlan` | type | [声明](../../../dist/esm/structs/context/processing.d.ts#L13) |
|
|
1732
1764
|
| `ContextPolicy` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L134) |
|
|
1733
|
-
| `contextPolicyCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#
|
|
1734
|
-
| `ContextProcessingNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1765
|
+
| `contextPolicyCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L181) |
|
|
1766
|
+
| `ContextProcessingNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L22) |
|
|
1735
1767
|
| `ContextProcessingOptions` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L220) |
|
|
1736
1768
|
| `ContextProcessingReport` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L177) |
|
|
1737
1769
|
| `ContextProjection` | type | [声明](../../../dist/esm/structs/support/context.d.ts#L14) |
|
|
1738
1770
|
| `ContextRecentHistory` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L27) |
|
|
1739
1771
|
| `ContextReduction` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L41) |
|
|
1740
1772
|
| `contextReductionCatalog` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L31) |
|
|
1741
|
-
| `ContextReductionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1773
|
+
| `ContextReductionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L68) |
|
|
1742
1774
|
| `ContextSelection` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L62) |
|
|
1743
1775
|
| `ContextSelectionCall` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L108) |
|
|
1744
1776
|
| `ContextSelectionCandidate` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L84) |
|
|
1745
1777
|
| `contextSelectionCatalog` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L46) |
|
|
1746
|
-
| `ContextSelectionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1747
|
-
| `ContextSelectionResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1778
|
+
| `ContextSelectionNodeDefinition` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L59) |
|
|
1779
|
+
| `ContextSelectionResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L54) |
|
|
1748
1780
|
| `ContextSelector` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L126) |
|
|
1749
|
-
| `ContextStageResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1781
|
+
| `ContextStageResult` | type | [声明](../../../dist/esm/support/context/nodes.d.ts#L45) |
|
|
1750
1782
|
| `ContextStrategy` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L63) |
|
|
1751
1783
|
| `ContextStrategyOptions` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L57) |
|
|
1752
1784
|
| `ContextStrategySettings` | type | [声明](../../../dist/esm/support/context/strategies.d.ts#L39) |
|
|
1753
1785
|
| `ContextTokenMeasurement` | type | [声明](../../../dist/esm/structs/support/context-processing.d.ts#L100) |
|
|
1754
1786
|
| `ContextTrust` | type | [声明](../../../dist/esm/structs/context/fragments.d.ts#L13) |
|
|
1755
1787
|
| `createContextCompressor` | value | [声明](../../../dist/esm/support/context/compression.d.ts#L20) |
|
|
1756
|
-
| `createContextProcessingNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1757
|
-
| `createContextReductionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1758
|
-
| `createContextSelectionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#
|
|
1788
|
+
| `createContextProcessingNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L84) |
|
|
1789
|
+
| `createContextReductionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L107) |
|
|
1790
|
+
| `createContextSelectionNode` | value | [声明](../../../dist/esm/support/context/nodes.d.ts#L95) |
|
|
1759
1791
|
| `createContextSelector` | value | [声明](../../../dist/esm/support/context/selection.d.ts#L16) |
|
|
1760
1792
|
| `createContextStrategy` | value | [声明](../../../dist/esm/support/context/strategies.d.ts#L85) |
|
|
1761
1793
|
| `defineContextAssembly` | value | [声明](../../../dist/esm/support/context/assembly.d.ts#L15) |
|
|
1762
1794
|
| `defineContextFragments` | value | [声明](../../../dist/esm/support/context/assembly.d.ts#L28) |
|
|
1763
|
-
| `processContext` | value | [声明](../../../dist/esm/support/context/processing.d.ts#
|
|
1795
|
+
| `processContext` | value | [声明](../../../dist/esm/support/context/processing.d.ts#L235) |
|
|
1764
1796
|
| `reservedContextCalls` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L10) |
|
|
1765
1797
|
| `selectContextSteps` | value | [声明](../../../dist/esm/support/context/selection-policy.d.ts#L85) |
|
|
1766
1798
|
| `transformContextText` | value | [声明](../../../dist/esm/support/context/assembly.d.ts#L39) |
|
|
@@ -1787,20 +1819,20 @@
|
|
|
1787
1819
|
| `CompletionRequestFacts` | type | [声明](../../../dist/esm/structs/support/model/completion.d.ts#L20) |
|
|
1788
1820
|
| `CompletionSession` | type | [声明](../../../dist/esm/structs/support/model/completion.d.ts#L31) |
|
|
1789
1821
|
| `createJsonTransport` | value | [声明](../../../dist/esm/support/model/transports.d.ts#L28) |
|
|
1790
|
-
| `createModelStrategy` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#
|
|
1822
|
+
| `createModelStrategy` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#L75) |
|
|
1791
1823
|
| `createModelTransport` | value | [声明](../../../dist/esm/model/selection-transport.d.ts#L17) |
|
|
1792
1824
|
| `createProviderObservationScope` | value | [声明](../../../dist/esm/support/model/observer.d.ts#L32) |
|
|
1793
|
-
| `createReplyPreviewRules` | value | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1825
|
+
| `createReplyPreviewRules` | value | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L39) |
|
|
1794
1826
|
| `createStageModelTransport` | value | [声明](../../../dist/esm/support/model/stage-transport.d.ts#L11) |
|
|
1795
1827
|
| `createTextTransport` | value | [声明](../../../dist/esm/support/model/transports.d.ts#L10) |
|
|
1796
1828
|
| `createToolCallCollector` | value | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L40) |
|
|
1797
|
-
| `defaultCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/default.d.ts#
|
|
1829
|
+
| `defaultCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/default.d.ts#L11) |
|
|
1798
1830
|
| `defineModelCapabilities` | value | [声明](../../../dist/esm/support/model/capabilities.d.ts#L16) |
|
|
1799
1831
|
| `jsonObjectInteraction` | value | [声明](../../../dist/esm/model/interactions/json-object.d.ts#L9) |
|
|
1800
1832
|
| `modelBudgetStrategies` | value | [声明](../../../dist/esm/support/model/strategies.d.ts#L11) |
|
|
1801
1833
|
| `ModelBudgetStrategy` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#L35) |
|
|
1802
|
-
| `ModelChildrenOptions` | type | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1803
|
-
| `ModelChildTask` | type | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1834
|
+
| `ModelChildrenOptions` | type | [声明](../../../dist/esm/support/model/children.d.ts#L24) |
|
|
1835
|
+
| `ModelChildTask` | type | [声明](../../../dist/esm/support/model/children.d.ts#L15) |
|
|
1804
1836
|
| `ModelChoiceIndex` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L113) |
|
|
1805
1837
|
| `ModelInteractionAdapter` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L45) |
|
|
1806
1838
|
| `modelInteractionCatalog` | value | [声明](../../../dist/esm/support/model/interactions/index.d.ts#L6) |
|
|
@@ -1808,29 +1840,29 @@
|
|
|
1808
1840
|
| `ModelProviderFailure` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L37) |
|
|
1809
1841
|
| `ModelResponseCollector` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L14) |
|
|
1810
1842
|
| `ModelStageTransportRegistration` | type | [声明](../../../dist/esm/structs/support/model/interactions.d.ts#L15) |
|
|
1811
|
-
| `ModelStrategyOptions` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#
|
|
1843
|
+
| `ModelStrategyOptions` | type | [声明](../../../dist/esm/support/model/strategies.d.ts#L43) |
|
|
1812
1844
|
| `ModelTransportRegistration` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L60) |
|
|
1813
1845
|
| `NativeFunctionCall` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L73) |
|
|
1814
1846
|
| `nativeFunctionInteraction` | value | [声明](../../../dist/esm/model/interactions/native-functions.d.ts#L8) |
|
|
1815
1847
|
| `PreparedModelInteraction` | type | [声明](../../../dist/esm/structs/model/interactions.d.ts#L25) |
|
|
1816
|
-
| `ProviderAssistantMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1848
|
+
| `ProviderAssistantMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L38) |
|
|
1817
1849
|
| `ProviderErrorCapture` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L63) |
|
|
1818
1850
|
| `ProviderEventDescriptor` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L44) |
|
|
1819
1851
|
| `ProviderEventName` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L42) |
|
|
1820
1852
|
| `ProviderEventPayloads` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L13) |
|
|
1821
|
-
| `ProviderMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1853
|
+
| `ProviderMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L54) |
|
|
1822
1854
|
| `ProviderObservation` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L49) |
|
|
1823
1855
|
| `ProviderObserver` | type | [声明](../../../dist/esm/structs/support/model/provider-observer.d.ts#L56) |
|
|
1824
1856
|
| `ProviderReasoningLevel` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L45) |
|
|
1825
1857
|
| `ProviderReasoningStrategy` | type | [声明](../../../dist/esm/structs/support/model/provider.d.ts#L52) |
|
|
1826
|
-
| `ProviderSystemMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1858
|
+
| `ProviderSystemMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L22) |
|
|
1827
1859
|
| `ProviderToolCall` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L13) |
|
|
1828
|
-
| `ProviderToolMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1829
|
-
| `ProviderUserMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#
|
|
1830
|
-
| `ReplyPreviewCapability` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1831
|
-
| `ReplyPreviewStage` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#
|
|
1832
|
-
| `runChildren` | value | [声明](../../../dist/esm/support/model/children.d.ts#
|
|
1833
|
-
| `sessionCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/session.d.ts#
|
|
1860
|
+
| `ProviderToolMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L46) |
|
|
1861
|
+
| `ProviderUserMessage` | type | [声明](../../../dist/esm/structs/support/model/messages.d.ts#L30) |
|
|
1862
|
+
| `ReplyPreviewCapability` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L8) |
|
|
1863
|
+
| `ReplyPreviewStage` | type | [声明](../../../dist/esm/support/model/preview-rules.d.ts#L20) |
|
|
1864
|
+
| `runChildren` | value | [声明](../../../dist/esm/support/model/children.d.ts#L47) |
|
|
1865
|
+
| `sessionCompletionPolicy` | value | [声明](../../../dist/esm/support/model/completion/session.d.ts#L16) |
|
|
1834
1866
|
| `ToolCallCollector` | type | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L22) |
|
|
1835
1867
|
| `ToolCallFailure` | type | [声明](../../../dist/esm/support/model/completion/calls.d.ts#L20) |
|
|
1836
1868
|
|
|
@@ -2018,16 +2050,16 @@
|
|
|
2018
2050
|
| `ReplyDeliveryOptions` | type | [声明](../../../dist/esm/structs/kits/presentation/events.d.ts#L39) |
|
|
2019
2051
|
| `resolvePreference` | value | [声明](../../../dist/esm/kits/presentation/variants.d.ts#L34) |
|
|
2020
2052
|
| `Retrieval` | value | [声明](../../../dist/esm/kits/retrieval.d.ts#L23) |
|
|
2021
|
-
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2022
|
-
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2023
|
-
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2053
|
+
| `RetrievalDefinition` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L96) |
|
|
2054
|
+
| `RetrievalEffect` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L49) |
|
|
2055
|
+
| `RetrievalPorts` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L56) |
|
|
2024
2056
|
| `retrievalQueryKey` | value | [声明](../../../dist/esm/utils/query-key.d.ts#L12) |
|
|
2025
|
-
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2026
|
-
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2027
|
-
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2028
|
-
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2057
|
+
| `RetrievalReason` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L47) |
|
|
2058
|
+
| `RetrievalReceipt` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L30) |
|
|
2059
|
+
| `RetrievalResult` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L17) |
|
|
2060
|
+
| `RetrievalRunner` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L87) |
|
|
2029
2061
|
| `RetrievalSource` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L13) |
|
|
2030
|
-
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#
|
|
2062
|
+
| `RetrievalState` | type | [声明](../../../dist/esm/structs/kits/retrieval.d.ts#L21) |
|
|
2031
2063
|
| `ScopeDefinition` | type | [声明](../../../dist/esm/structs/kits/intents/scopes.d.ts#L15) |
|
|
2032
2064
|
| `ScopeDescription` | type | [声明](../../../dist/esm/structs/kits/intents/scopes.d.ts#L77) |
|
|
2033
2065
|
| `ScopeRegistry` | value + type | [声明](../../../dist/esm/kits/intents/scopes.d.ts#L17) |
|
|
@@ -2038,10 +2070,10 @@
|
|
|
2038
2070
|
| `serializeOutputEvents` | value | [声明](../../../dist/esm/kits/presentation/events.d.ts#L53) |
|
|
2039
2071
|
| `textOutputEvents` | value | [声明](../../../dist/esm/kits/presentation/events.d.ts#L60) |
|
|
2040
2072
|
| `TextSearch` | value + type | [声明](../../../dist/esm/kits/search.d.ts#L8) |
|
|
2041
|
-
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2073
|
+
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L29) |
|
|
2042
2074
|
| `TextSearchOptions` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L12) |
|
|
2043
|
-
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2044
|
-
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2075
|
+
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L36) |
|
|
2076
|
+
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L47) |
|
|
2045
2077
|
| `TextSkill` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L24) |
|
|
2046
2078
|
| `TextSkillHeader` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L31) |
|
|
2047
2079
|
| `TextSkillLoader` | type | [声明](../../../dist/esm/structs/kits/text-skills.d.ts#L61) |
|
|
@@ -2071,35 +2103,36 @@
|
|
|
2071
2103
|
|
|
2072
2104
|
## @jangts/agent-core/mock
|
|
2073
2105
|
|
|
2074
|
-
[合同与行为](mock.md) ·
|
|
2106
|
+
[合同与行为](mock.md) · 26 个导出符号
|
|
2075
2107
|
|
|
2076
2108
|
| 符号 | 类型/值 | 声明与说明 |
|
|
2077
2109
|
| --- | --- | --- |
|
|
2078
|
-
| `CallRecord` | type | [声明](../../../
|
|
2079
|
-
| `
|
|
2080
|
-
| `
|
|
2081
|
-
| `
|
|
2082
|
-
| `
|
|
2083
|
-
| `
|
|
2084
|
-
| `
|
|
2085
|
-
| `
|
|
2086
|
-
| `
|
|
2087
|
-
| `
|
|
2088
|
-
| `
|
|
2089
|
-
| `
|
|
2090
|
-
| `
|
|
2091
|
-
| `
|
|
2092
|
-
| `
|
|
2093
|
-
| `
|
|
2094
|
-
| `
|
|
2095
|
-
| `
|
|
2096
|
-
| `
|
|
2097
|
-
| `
|
|
2098
|
-
| `
|
|
2099
|
-
| `
|
|
2100
|
-
| `
|
|
2101
|
-
| `
|
|
2102
|
-
| `
|
|
2110
|
+
| `CallRecord` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2111
|
+
| `encodeModelResponse` | value | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2112
|
+
| `Generated` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2113
|
+
| `GenerationContext` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2114
|
+
| `GenerationInput` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2115
|
+
| `GenerationOptions` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2116
|
+
| `Generator` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2117
|
+
| `generatorNames` | value | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2118
|
+
| `generators` | value | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2119
|
+
| `HttpFault` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2120
|
+
| `JsonValue` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2121
|
+
| `Message` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2122
|
+
| `MockGPT` | value + type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2123
|
+
| `MockGPTError` | value + type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2124
|
+
| `MockGPTOptions` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2125
|
+
| `ModelOutput` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2126
|
+
| `ModelRequest` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2127
|
+
| `OutputOptions` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2128
|
+
| `ResponseDescription` | value + type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2129
|
+
| `responses` | value | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2130
|
+
| `routes` | value | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2131
|
+
| `Rule` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2132
|
+
| `TextOptions` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2133
|
+
| `TextSource` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2134
|
+
| `ToolCall` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2135
|
+
| `Usage` | type | [声明](../../../dist/esm/mock.d.ts#L8) |
|
|
2103
2136
|
|
|
2104
2137
|
## @jangts/agent-core/kits/search
|
|
2105
2138
|
|
|
@@ -2108,10 +2141,10 @@
|
|
|
2108
2141
|
| 符号 | 类型/值 | 声明与说明 |
|
|
2109
2142
|
| --- | --- | --- |
|
|
2110
2143
|
| `TextSearch` | value + type | [声明](../../../dist/esm/kits/search.d.ts#L8) |
|
|
2111
|
-
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2144
|
+
| `TextSearchHit` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L29) |
|
|
2112
2145
|
| `TextSearchOptions` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L12) |
|
|
2113
|
-
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2114
|
-
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#
|
|
2146
|
+
| `TextSearchQuery` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L36) |
|
|
2147
|
+
| `TextSearchSnapshot` | type | [声明](../../../dist/esm/structs/kits/search.d.ts#L47) |
|
|
2115
2148
|
|
|
2116
2149
|
## @jangts/agent-core/kits/inference
|
|
2117
2150
|
|
|
@@ -2217,10 +2250,10 @@
|
|
|
2217
2250
|
|
|
2218
2251
|
| 符号 | 类型/值 | 声明与说明 |
|
|
2219
2252
|
| --- | --- | --- |
|
|
2220
|
-
| `createMockHandler` | value | [声明](../../../
|
|
2221
|
-
| `createMockServer` | value | [声明](../../../
|
|
2222
|
-
| `HandlerOptions` | type | [声明](../../../
|
|
2223
|
-
| `ServerOptions` | type | [声明](../../../
|
|
2253
|
+
| `createMockHandler` | value | [声明](../../../dist/esm/mock/node.d.ts#L8) |
|
|
2254
|
+
| `createMockServer` | value | [声明](../../../dist/esm/mock/node.d.ts#L8) |
|
|
2255
|
+
| `HandlerOptions` | type | [声明](../../../dist/esm/mock/node.d.ts#L8) |
|
|
2256
|
+
| `ServerOptions` | type | [声明](../../../dist/esm/mock/node.d.ts#L8) |
|
|
2224
2257
|
|
|
2225
2258
|
## @jangts/agent-core/mock/web
|
|
2226
2259
|
|
|
@@ -2228,8 +2261,8 @@
|
|
|
2228
2261
|
|
|
2229
2262
|
| 符号 | 类型/值 | 声明与说明 |
|
|
2230
2263
|
| --- | --- | --- |
|
|
2231
|
-
| `isPublicAddress` | value | [声明](../../../
|
|
2232
|
-
| `LoadedPage` | type | [声明](../../../
|
|
2233
|
-
| `sources` | value | [声明](../../../
|
|
2234
|
-
| `WebOptions` | type | [声明](../../../
|
|
2235
|
-
| `WebProfile` | type | [声明](../../../
|
|
2264
|
+
| `isPublicAddress` | value | [声明](../../../dist/esm/mock/web.d.ts#L8) |
|
|
2265
|
+
| `LoadedPage` | type | [声明](../../../dist/esm/mock/web.d.ts#L8) |
|
|
2266
|
+
| `sources` | value | [声明](../../../dist/esm/mock/web.d.ts#L8) |
|
|
2267
|
+
| `WebOptions` | type | [声明](../../../dist/esm/mock/web.d.ts#L8) |
|
|
2268
|
+
| `WebProfile` | type | [声明](../../../dist/esm/mock/web.d.ts#L8) |
|