@linnlabs/linnkit 0.10.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +156 -1
- package/dist/{agent-invocation-BHcNfrBV.d.cts → agent-invocation-CAlm9qOw.d.cts} +1 -1
- package/dist/{agent-invocation-BznDaXDs.d.ts → agent-invocation-DKoEDLkl.d.ts} +1 -1
- package/dist/{ai-engine.types-vZRnQcJa.d.ts → ai-engine.types-CeLoM624.d.cts} +9 -1
- package/dist/{ai-engine.types-BpeU_XQG.d.cts → ai-engine.types-LqmnfR2W.d.ts} +9 -1
- package/dist/{audit-CtcfART1.d.ts → audit-BuWHoMEr.d.ts} +4 -2
- package/dist/{audit-LeOrm2hX.d.cts → audit-DnzNQzwq.d.cts} +4 -2
- package/dist/cli.cjs +565 -194
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +565 -194
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +590 -26
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.d.cts +84 -7
- package/dist/context-manager.d.ts +84 -7
- package/dist/context-manager.js +590 -26
- package/dist/context-manager.js.map +1 -1
- package/dist/{context-trace-BHKDS-eq.d.cts → context-trace-DrtvKac4.d.cts} +36 -3
- package/dist/{context-trace-CHbqHmyE.d.ts → context-trace-WV1HAZeB.d.ts} +36 -3
- package/dist/contracts.cjs +222 -1
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +5 -3
- package/dist/contracts.d.ts +5 -3
- package/dist/contracts.js +202 -2
- package/dist/contracts.js.map +1 -1
- package/dist/{defaultGraphExecutor-C2E59v_R.d.cts → defaultGraphExecutor-L1ri3oij.d.cts} +35 -7
- package/dist/{defaultGraphExecutor-B29_qTHy.d.ts → defaultGraphExecutor-QzzdudLQ.d.ts} +35 -7
- package/dist/{index-BAaUP9yU.d.cts → index-BeQO0rx2.d.cts} +328 -263
- package/dist/{index-Cvr23YCl.d.cts → index-CDofGr_4.d.ts} +24 -6
- package/dist/{index-CKQzzZ5Y.d.cts → index-Crl5E4eF.d.cts} +26 -3
- package/dist/{index-C0DAjsdX.d.ts → index-DWGKvssS.d.ts} +2 -2
- package/dist/{index-D0mKxTR5.d.ts → index-X5lYU1Lj.d.ts} +26 -3
- package/dist/{index-DDzuSb0n.d.ts → index-uCNCpJBg.d.cts} +24 -6
- package/dist/{index-BaVpVNi2.d.ts → index-wOZD-p2-.d.ts} +328 -263
- package/dist/{index-BnYCS8Zg.d.cts → index-wXVAHZ0D.d.cts} +2 -2
- package/dist/index.cjs +893 -312
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -14
- package/dist/index.d.ts +17 -14
- package/dist/index.js +893 -312
- package/dist/index.js.map +1 -1
- package/dist/{messages-XthmnHZ3.d.cts → messages-Br5SiLD3.d.cts} +706 -1
- package/dist/{messages-XthmnHZ3.d.ts → messages-Br5SiLD3.d.ts} +706 -1
- package/dist/{ports-s-tSp3sB.d.cts → ports-Dugizzje.d.cts} +4 -0
- package/dist/{ports-DpPTFhSd.d.ts → ports-fhp84x_C.d.ts} +4 -0
- package/dist/ports.d.cts +8 -5
- package/dist/ports.d.ts +8 -5
- package/dist/quickstart.cjs +564 -193
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.d.cts +9 -8
- package/dist/quickstart.d.ts +9 -8
- package/dist/quickstart.js +564 -193
- package/dist/quickstart.js.map +1 -1
- package/dist/{runAgent-C6F-399C.d.ts → runAgent-BmMSju8I.d.ts} +4 -4
- package/dist/{runAgent-ilEj66Ik.d.cts → runAgent-CKgcRSRH.d.cts} +4 -4
- package/dist/{runHandle-BNOqS-Bl.d.cts → runHandle-DH4VmQx6.d.cts} +4 -2
- package/dist/{runHandle-BdLXOFqF.d.ts → runHandle-o3p06Nva.d.ts} +4 -2
- package/dist/runtime-kernel/events.cjs +201 -1
- package/dist/runtime-kernel/events.cjs.map +1 -1
- package/dist/runtime-kernel/events.d.cts +3 -3
- package/dist/runtime-kernel/events.d.ts +3 -3
- package/dist/runtime-kernel/events.js +201 -1
- package/dist/runtime-kernel/events.js.map +1 -1
- package/dist/runtime-kernel.cjs +824 -264
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +14 -12
- package/dist/runtime-kernel.d.ts +14 -12
- package/dist/runtime-kernel.js +816 -265
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +847 -264
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.d.cts +14 -12
- package/dist/testkit.d.ts +14 -12
- package/dist/testkit.js +847 -264
- package/dist/testkit.js.map +1 -1
- package/dist/{agentSpec-Du4Iye0q.d.cts → token-accounting-CwpSPg4y.d.cts} +1265 -1
- package/dist/{agentSpec-Du4Iye0q.d.ts → token-accounting-CwpSPg4y.d.ts} +1265 -1
- package/dist/token-calibration-Cxv6dDYF.d.cts +327 -0
- package/dist/token-calibration-Cxv6dDYF.d.ts +327 -0
- package/dist/token-counter-CFfP8PQb.d.cts +26 -0
- package/dist/token-counter-SFyyTeaG.d.ts +26 -0
- package/dist/token-usage-CqwT7-5K.d.cts +133 -0
- package/dist/token-usage-CqwT7-5K.d.ts +133 -0
- package/dist/{tokenizer-DFL4I7-I.d.ts → tokenizer-BFJNCHFX.d.ts} +1 -1
- package/dist/{tokenizer-DH_JXv-H.d.cts → tokenizer-DoGsBE3A.d.cts} +1 -1
- package/docs/README.md +1 -1
- package/docs/integration/README.md +2 -2
- package/docs/integration/agent-registration-guide.md +2 -0
- package/docs/integration/context-engineering.md +53 -1
- package/docs/integration/context-fences.md +12 -0
- package/package.json +2 -2
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { a as LLMPolicy, b as LLMPolicyRequestContext, c as LLMPolicyResponseContext, d as LLMPolicyMatchContext, e as LLMPolicyErrorDecision, f as LlmCaller, M as ModelCatalogEntry, g as ModelCatalogLike, h as ModelResolver, E as ExecutorLocalState, S as StandardToolCall, i as ModelResolverLike, T as TelemetryPort, G as GraphNode, j as EngineState, N as NodeResult, C as Checkpointer, k as CheckpointMeta, l as CheckpointListFilter, m as CheckpointSummary, n as ENGINE_STATE_SCHEMA_VERSION, o as GraphExecutor, p as MemoryEventStore, s as summarizeCheckpoint, q as ToolContextPatch, D as DefaultRunSupervisor, r as DefaultRunSupervisorOptions, F as FindActiveByConversationOptions, t as MemoryRunRegistryStore, R as RunExecutionContext, u as RunExecutorPort, v as RunOutcome, x as RunRegistrationSpec, y as RunSnapshot, z as RunSupervisor, A as RunTerminalError, B as RunTerminalEvent, H as RunTerminalStatus, I as RunWaitForTerminalOptions, J as TELEMETRY_EVENT_KINDS, K as TelemetryEvent, O as TelemetryScope, P as DefaultGraphExecutorOptions, Q as GraphLoopHarness, U as GraphLoopHarnessOptions, V as GraphLoopHarnessRunResult, W as GraphLoopLlmNodeFactoryParams, X as createDefaultGraphExecutor, Y as createGraphLoopHarness } from './defaultGraphExecutor-
|
|
2
|
-
import { b as AuditPort } from './audit-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { a as LLMPolicy, b as LLMPolicyRequestContext, c as LLMPolicyResponseContext, d as LLMPolicyMatchContext, e as LLMPolicyErrorDecision, f as LlmCaller, M as ModelCatalogEntry, g as ModelCatalogLike, h as ModelResolver, E as ExecutorLocalState, S as StandardToolCall, i as ModelResolverLike, T as TelemetryPort, G as GraphNode, j as EngineState, N as NodeResult, C as Checkpointer, k as CheckpointMeta, l as CheckpointListFilter, m as CheckpointSummary, n as ENGINE_STATE_SCHEMA_VERSION, o as GraphExecutor, p as MemoryEventStore, s as summarizeCheckpoint, q as ToolContextPatch, D as DefaultRunSupervisor, r as DefaultRunSupervisorOptions, F as FindActiveByConversationOptions, t as MemoryRunRegistryStore, R as RunExecutionContext, u as RunExecutorPort, v as RunOutcome, x as RunRegistrationSpec, y as RunSnapshot, z as RunSupervisor, A as RunTerminalError, B as RunTerminalEvent, H as RunTerminalStatus, I as RunWaitForTerminalOptions, J as TELEMETRY_EVENT_KINDS, K as TelemetryEvent, O as TelemetryScope, P as DefaultGraphExecutorOptions, Q as GraphLoopHarness, U as GraphLoopHarnessOptions, V as GraphLoopHarnessRunResult, W as GraphLoopLlmNodeFactoryParams, X as createDefaultGraphExecutor, Y as createGraphLoopHarness } from './defaultGraphExecutor-L1ri3oij.cjs';
|
|
2
|
+
import { b as AuditPort } from './audit-DnzNQzwq.cjs';
|
|
3
|
+
import { T as TokenizerPort } from './tokenizer-DoGsBE3A.cjs';
|
|
4
|
+
import { b as ToolCatalogPort, c as ToolPresentationPort, d as ToolExecutionPort, O as ObservationPreviewPort, C as ConversationArtifactContext, e as ObservationPreviewContext, f as ObservationPreviewMeta, g as ObservationPreviewResult, a as ToolExecutionResult, T as ToolRuntimeDefinition, h as ToolRuntimePort, i as ToolSchemaContext } from './ports-Dugizzje.cjs';
|
|
5
|
+
import { A as AgentInvocationRequest } from './agent-invocation-CAlm9qOw.cjs';
|
|
6
6
|
import { R as RuntimeEvent, E as ErrorEvent } from './todo-Ca8llpRQ.cjs';
|
|
7
|
+
import { C as ContextTokenComponent, w as ContextComponentTokenLedgerEntry, g as AgentSpecContextPolicy, e as AgentSpecSystemReminderPolicy, s as AgentSpecSystemReminderTrigger, r as AgentSpecSystemReminderExtraRule, L as LlmUsageTokenLedgerEntry, z as TokenLedgerAggregate, F as TokenUsageTotals, B as TokenLedgerEntry, E as TokenPricing, y as CostBreakdown, R as RunTokenUsageAggregate } from './token-accounting-CwpSPg4y.cjs';
|
|
8
|
+
import { C as ContextBuildTokenEstimate } from './token-calibration-Cxv6dDYF.cjs';
|
|
9
|
+
import { a as LlmRequestMessage, L as LlmCallOptions, b as LlmResponseContent, c as LlmRetryConfig, P as ProviderReasoningDetails, T as ToolCall, d as ToolCallChunk, e as ToolCallExtraContent } from './ai-engine.types-CeLoM624.cjs';
|
|
7
10
|
import { A as AnyAgentEvent } from './agentEvents-DEB7Fy_J.cjs';
|
|
8
11
|
import { a as ToolExecutionContext, B as BaseTool, T as ToolArgs, b as ToolParameterSchema, c as ToolParameterProperty, d as ToolContextConversationView, A as AgentTool, C as CommonParameterTypes, J as JsonObjectSchema, O as OpenAIToolSchema, S as StructuredToolResult, e as ToolCallResult, f as ToolContextCompatibilityFields, g as ToolControlInfo, h as ToolDisplayOptions, i as ToolLayoutOptions, j as ToolRegistryEntry, k as ToolResult, U as UnifiedToolResult, l as computeToolIdempotencyKey, m as findCachedToolOutputByIdempotencyKey, r as readToolContextModelId, n as readToolContextRunContext, o as readToolContextUserQuery, R as RunContext, p as createDefaultRunContext, q as ChildRunParentContext, s as SubRunTracePublisher, t as ChildRunHistoryPolicy, u as ChildRunInvokerPort, v as ChildRunRequest, w as ChildRunResult, x as SubRunTraceEnvelope } from './toolContracts-Bm3EZ1UM.cjs';
|
|
9
|
-
import { E as EventRangeOptions, a as EventStore, P as PersistedEvent, c as createMonotonicEventIdFactory, b as EventBus, C as CancelOpts, D as DefaultRunHandle, d as DefaultRunHandleOptions, L as ListRunsFilter, e as RunAwaitingUserPatch, R as RunCost, f as RunCostCollector, g as RunFailureInfo, h as RunHandle, i as RunLifecyclePatch, j as RunMeta, k as RunObserveFilter, l as RunRecord, m as RunRegistryStore, n as RunRequestSnapshot, o as RunStatus, r as runMetaFromRecord } from './runHandle-
|
|
12
|
+
import { E as EventRangeOptions, a as EventStore, P as PersistedEvent, c as createMonotonicEventIdFactory, b as EventBus, C as CancelOpts, D as DefaultRunHandle, d as DefaultRunHandleOptions, L as ListRunsFilter, e as RunAwaitingUserPatch, R as RunCost, f as RunCostCollector, g as RunFailureInfo, h as RunHandle, i as RunLifecyclePatch, j as RunMeta, k as RunObserveFilter, l as RunRecord, m as RunRegistryStore, n as RunRequestSnapshot, o as RunStatus, r as runMetaFromRecord } from './runHandle-DH4VmQx6.cjs';
|
|
10
13
|
import { C as CHECKPOINT_MARKER_TYPE, D as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME } from './checkpointMarker-DAI3wUQu.cjs';
|
|
11
14
|
import { a as ExecutionTraceContext, E as EventEnvelope } from './execution-CAIypb41.cjs';
|
|
12
|
-
import { i as index$
|
|
13
|
-
import { T as TokenizerPort } from './tokenizer-DH_JXv-H.cjs';
|
|
14
|
-
import { g as AgentSpecContextPolicy, e as AgentSpecSystemReminderPolicy, r as AgentSpecSystemReminderTrigger, q as AgentSpecSystemReminderExtraRule } from './agentSpec-Du4Iye0q.cjs';
|
|
15
|
+
import { i as index$e } from './index-wXVAHZ0D.cjs';
|
|
15
16
|
import { e as AuditEnvelope, b as AuditActor, d as AuditDecision, f as AuditEvidence, c as AuditCostDelta, g as AuditScope } from './audit-BaRUGaqv.cjs';
|
|
17
|
+
import { C as CanonicalLlmUsage } from './token-usage-CqwT7-5K.cjs';
|
|
16
18
|
|
|
17
19
|
interface DefaultTokenizerPortConfig {
|
|
18
20
|
/** tiktoken encoding 名,默认沿用 TokenCalculator 的 cl100k_base 近似路径。 */
|
|
@@ -79,35 +81,35 @@ declare function appendStreamingProviderReasoningDetails(existing: unknown[], in
|
|
|
79
81
|
declare function compactProviderReasoningDetails(reasoningDetails: unknown[]): unknown[];
|
|
80
82
|
declare function compactReasoningDetailsInValue<T>(value: T): T;
|
|
81
83
|
|
|
82
|
-
type index$
|
|
83
|
-
declare const index$
|
|
84
|
-
type index$
|
|
85
|
-
declare const index$
|
|
86
|
-
type index$
|
|
87
|
-
declare const index$
|
|
88
|
-
declare const index$
|
|
89
|
-
declare const index$
|
|
90
|
-
declare const index$
|
|
91
|
-
declare const index$
|
|
92
|
-
declare const index$
|
|
93
|
-
declare const index$
|
|
94
|
-
declare const index$
|
|
95
|
-
declare const index$
|
|
96
|
-
declare const index$
|
|
97
|
-
declare const index$
|
|
98
|
-
declare const index$
|
|
99
|
-
declare const index$
|
|
100
|
-
declare const index$
|
|
101
|
-
declare const index$
|
|
102
|
-
declare const index$
|
|
103
|
-
declare const index$
|
|
104
|
-
declare const index$
|
|
105
|
-
declare const index$
|
|
106
|
-
declare const index$
|
|
107
|
-
declare const index$
|
|
108
|
-
declare const index$
|
|
109
|
-
declare namespace index$
|
|
110
|
-
export { index$
|
|
84
|
+
type index$d_DefaultTokenizerPort = DefaultTokenizerPort;
|
|
85
|
+
declare const index$d_DefaultTokenizerPort: typeof DefaultTokenizerPort;
|
|
86
|
+
type index$d_DefaultTokenizerPortConfig = DefaultTokenizerPortConfig;
|
|
87
|
+
declare const index$d_LLMPolicy: typeof LLMPolicy;
|
|
88
|
+
type index$d_LLMPolicyEngine = LLMPolicyEngine;
|
|
89
|
+
declare const index$d_LLMPolicyEngine: typeof LLMPolicyEngine;
|
|
90
|
+
declare const index$d_LLMPolicyErrorDecision: typeof LLMPolicyErrorDecision;
|
|
91
|
+
declare const index$d_LLMPolicyMatchContext: typeof LLMPolicyMatchContext;
|
|
92
|
+
declare const index$d_LLMPolicyRequestContext: typeof LLMPolicyRequestContext;
|
|
93
|
+
declare const index$d_LLMPolicyResponseContext: typeof LLMPolicyResponseContext;
|
|
94
|
+
declare const index$d_LlmCallOptions: typeof LlmCallOptions;
|
|
95
|
+
declare const index$d_LlmCaller: typeof LlmCaller;
|
|
96
|
+
declare const index$d_LlmRequestMessage: typeof LlmRequestMessage;
|
|
97
|
+
declare const index$d_LlmResponseContent: typeof LlmResponseContent;
|
|
98
|
+
declare const index$d_LlmRetryConfig: typeof LlmRetryConfig;
|
|
99
|
+
declare const index$d_ModelCatalogEntry: typeof ModelCatalogEntry;
|
|
100
|
+
declare const index$d_ModelCatalogLike: typeof ModelCatalogLike;
|
|
101
|
+
declare const index$d_ModelResolver: typeof ModelResolver;
|
|
102
|
+
declare const index$d_ProviderReasoningDetails: typeof ProviderReasoningDetails;
|
|
103
|
+
declare const index$d_ToolCall: typeof ToolCall;
|
|
104
|
+
declare const index$d_ToolCallChunk: typeof ToolCallChunk;
|
|
105
|
+
declare const index$d_ToolCallExtraContent: typeof ToolCallExtraContent;
|
|
106
|
+
declare const index$d_appendStreamingProviderReasoningDetails: typeof appendStreamingProviderReasoningDetails;
|
|
107
|
+
declare const index$d_compactProviderReasoningDetails: typeof compactProviderReasoningDetails;
|
|
108
|
+
declare const index$d_compactReasoningDetailsInValue: typeof compactReasoningDetailsInValue;
|
|
109
|
+
declare const index$d_createDefaultTokenizerPort: typeof createDefaultTokenizerPort;
|
|
110
|
+
declare const index$d_defaultPolicyEngine: typeof defaultPolicyEngine;
|
|
111
|
+
declare namespace index$d {
|
|
112
|
+
export { index$d_DefaultTokenizerPort as DefaultTokenizerPort, type index$d_DefaultTokenizerPortConfig as DefaultTokenizerPortConfig, index$d_LLMPolicy as LLMPolicy, index$d_LLMPolicyEngine as LLMPolicyEngine, index$d_LLMPolicyErrorDecision as LLMPolicyErrorDecision, index$d_LLMPolicyMatchContext as LLMPolicyMatchContext, index$d_LLMPolicyRequestContext as LLMPolicyRequestContext, index$d_LLMPolicyResponseContext as LLMPolicyResponseContext, index$d_LlmCallOptions as LlmCallOptions, index$d_LlmCaller as LlmCaller, index$d_LlmRequestMessage as LlmRequestMessage, index$d_LlmResponseContent as LlmResponseContent, index$d_LlmRetryConfig as LlmRetryConfig, index$d_ModelCatalogEntry as ModelCatalogEntry, index$d_ModelCatalogLike as ModelCatalogLike, index$d_ModelResolver as ModelResolver, index$d_ProviderReasoningDetails as ProviderReasoningDetails, index$d_ToolCall as ToolCall, index$d_ToolCallChunk as ToolCallChunk, index$d_ToolCallExtraContent as ToolCallExtraContent, index$d_appendStreamingProviderReasoningDetails as appendStreamingProviderReasoningDetails, index$d_compactProviderReasoningDetails as compactProviderReasoningDetails, index$d_compactReasoningDetailsInValue as compactReasoningDetailsInValue, index$d_createDefaultTokenizerPort as createDefaultTokenizerPort, index$d_defaultPolicyEngine as defaultPolicyEngine };
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
interface GraphExecutorSummarizationCallbacks {
|
|
@@ -136,6 +138,21 @@ interface GraphExecutorContextBuildOutput {
|
|
|
136
138
|
* 避免 graph-engine 反向依赖 context-manager。
|
|
137
139
|
*/
|
|
138
140
|
contextTrace?: unknown;
|
|
141
|
+
/**
|
|
142
|
+
* 构建期 token 估算快照。
|
|
143
|
+
*
|
|
144
|
+
* 中文备注:runtime-kernel 只透传稳定 DTO;它不解析 context-manager 内部 trace,
|
|
145
|
+
* 也不把 provider remote count 当成本地估算样本来源。
|
|
146
|
+
*/
|
|
147
|
+
tokenEstimate?: ContextBuildTokenEstimate;
|
|
148
|
+
/**
|
|
149
|
+
* 构建期上下文分项 token 估算。
|
|
150
|
+
*
|
|
151
|
+
* 中文备注:context-manager 只产稳定 DTO,runtime-kernel 在带 run/turn scope 的地方
|
|
152
|
+
* 再创建账本条目,避免反向读取 ContextTrace 内部结构。
|
|
153
|
+
*/
|
|
154
|
+
tokenComponents?: ContextTokenComponent[];
|
|
155
|
+
tokenLedgerEntry?: ContextComponentTokenLedgerEntry;
|
|
139
156
|
}
|
|
140
157
|
interface GraphExecutorContextBuilder {
|
|
141
158
|
build(input: GraphExecutorContextBuildInput): Promise<GraphExecutorContextBuildOutput>;
|
|
@@ -210,6 +227,7 @@ interface GraphAgentExecutorDependencies extends GraphAgentExecutorOptions {
|
|
|
210
227
|
*/
|
|
211
228
|
telemetryPort?: TelemetryPort;
|
|
212
229
|
auditPort?: AuditPort;
|
|
230
|
+
tokenizer?: TokenizerPort;
|
|
213
231
|
}
|
|
214
232
|
declare class GraphAgentExecutor {
|
|
215
233
|
private readonly llmCaller;
|
|
@@ -220,6 +238,7 @@ declare class GraphAgentExecutor {
|
|
|
220
238
|
private readonly modelCatalog;
|
|
221
239
|
private readonly telemetryPort;
|
|
222
240
|
private readonly auditPort;
|
|
241
|
+
private readonly tokenizer;
|
|
223
242
|
private readonly stages;
|
|
224
243
|
private readonly middlewares;
|
|
225
244
|
constructor(dependencies: GraphAgentExecutorDependencies);
|
|
@@ -329,42 +348,42 @@ declare class MemoryCheckpointer implements Checkpointer {
|
|
|
329
348
|
list(filter?: CheckpointListFilter): Promise<CheckpointSummary[]>;
|
|
330
349
|
}
|
|
331
350
|
|
|
332
|
-
type index$
|
|
333
|
-
declare const index$
|
|
334
|
-
declare const index$
|
|
335
|
-
declare const index$
|
|
336
|
-
declare const index$
|
|
337
|
-
declare const index$
|
|
338
|
-
declare const index$
|
|
339
|
-
declare const index$
|
|
340
|
-
declare const index$
|
|
341
|
-
declare const index$
|
|
342
|
-
declare const index$
|
|
343
|
-
type index$
|
|
344
|
-
declare const index$
|
|
345
|
-
type index$
|
|
346
|
-
declare const index$
|
|
347
|
-
type index$
|
|
348
|
-
type index$
|
|
349
|
-
type index$
|
|
350
|
-
declare const index$
|
|
351
|
-
type index$
|
|
352
|
-
declare const index$
|
|
353
|
-
type index$
|
|
354
|
-
declare const index$
|
|
355
|
-
declare const index$
|
|
356
|
-
type index$
|
|
357
|
-
declare const index$
|
|
358
|
-
type index$
|
|
359
|
-
declare const index$
|
|
360
|
-
type index$
|
|
361
|
-
declare const index$
|
|
362
|
-
type index$
|
|
363
|
-
declare const index$
|
|
364
|
-
declare const index$
|
|
365
|
-
declare const index$
|
|
366
|
-
declare namespace index$
|
|
367
|
-
export { index$
|
|
351
|
+
type index$c_AnswerNode = AnswerNode;
|
|
352
|
+
declare const index$c_AnswerNode: typeof AnswerNode;
|
|
353
|
+
declare const index$c_CheckpointListFilter: typeof CheckpointListFilter;
|
|
354
|
+
declare const index$c_CheckpointMeta: typeof CheckpointMeta;
|
|
355
|
+
declare const index$c_CheckpointSummary: typeof CheckpointSummary;
|
|
356
|
+
declare const index$c_Checkpointer: typeof Checkpointer;
|
|
357
|
+
declare const index$c_ENGINE_STATE_SCHEMA_VERSION: typeof ENGINE_STATE_SCHEMA_VERSION;
|
|
358
|
+
declare const index$c_EngineState: typeof EngineState;
|
|
359
|
+
declare const index$c_EventRangeOptions: typeof EventRangeOptions;
|
|
360
|
+
declare const index$c_EventStore: typeof EventStore;
|
|
361
|
+
declare const index$c_ExecutorLocalState: typeof ExecutorLocalState;
|
|
362
|
+
type index$c_GraphAgentExecutor = GraphAgentExecutor;
|
|
363
|
+
declare const index$c_GraphAgentExecutor: typeof GraphAgentExecutor;
|
|
364
|
+
type index$c_GraphAgentExecutorDependencies = GraphAgentExecutorDependencies;
|
|
365
|
+
declare const index$c_GraphExecutor: typeof GraphExecutor;
|
|
366
|
+
type index$c_GraphExecutorContextBuildInput = GraphExecutorContextBuildInput;
|
|
367
|
+
type index$c_GraphExecutorContextBuildOutput = GraphExecutorContextBuildOutput;
|
|
368
|
+
type index$c_GraphExecutorContextBuilder = GraphExecutorContextBuilder;
|
|
369
|
+
declare const index$c_GraphNode: typeof GraphNode;
|
|
370
|
+
type index$c_LlmNode = LlmNode;
|
|
371
|
+
declare const index$c_LlmNode: typeof LlmNode;
|
|
372
|
+
type index$c_MemoryCheckpointer = MemoryCheckpointer;
|
|
373
|
+
declare const index$c_MemoryCheckpointer: typeof MemoryCheckpointer;
|
|
374
|
+
declare const index$c_MemoryEventStore: typeof MemoryEventStore;
|
|
375
|
+
type index$c_PendingContextRuntimeEvent = PendingContextRuntimeEvent;
|
|
376
|
+
declare const index$c_PersistedEvent: typeof PersistedEvent;
|
|
377
|
+
type index$c_ToolNode = ToolNode;
|
|
378
|
+
declare const index$c_ToolNode: typeof ToolNode;
|
|
379
|
+
type index$c_UserNode = UserNode;
|
|
380
|
+
declare const index$c_UserNode: typeof UserNode;
|
|
381
|
+
type index$c_WaitUserNode = WaitUserNode;
|
|
382
|
+
declare const index$c_WaitUserNode: typeof WaitUserNode;
|
|
383
|
+
declare const index$c_createMonotonicEventIdFactory: typeof createMonotonicEventIdFactory;
|
|
384
|
+
declare const index$c_summarizeCheckpoint: typeof summarizeCheckpoint;
|
|
385
|
+
declare namespace index$c {
|
|
386
|
+
export { index$c_AnswerNode as AnswerNode, index$c_CheckpointListFilter as CheckpointListFilter, index$c_CheckpointMeta as CheckpointMeta, index$c_CheckpointSummary as CheckpointSummary, index$c_Checkpointer as Checkpointer, index$c_ENGINE_STATE_SCHEMA_VERSION as ENGINE_STATE_SCHEMA_VERSION, index$c_EngineState as EngineState, index$c_EventRangeOptions as EventRangeOptions, index$c_EventStore as EventStore, index$c_ExecutorLocalState as ExecutorLocalState, index$c_GraphAgentExecutor as GraphAgentExecutor, type index$c_GraphAgentExecutorDependencies as GraphAgentExecutorDependencies, index$c_GraphExecutor as GraphExecutor, type index$c_GraphExecutorContextBuildInput as GraphExecutorContextBuildInput, type index$c_GraphExecutorContextBuildOutput as GraphExecutorContextBuildOutput, type index$c_GraphExecutorContextBuilder as GraphExecutorContextBuilder, index$c_GraphNode as GraphNode, index$c_LlmNode as LlmNode, index$c_MemoryCheckpointer as MemoryCheckpointer, index$c_MemoryEventStore as MemoryEventStore, type index$c_PendingContextRuntimeEvent as PendingContextRuntimeEvent, index$c_PersistedEvent as PersistedEvent, index$c_ToolNode as ToolNode, index$c_UserNode as UserNode, index$c_WaitUserNode as WaitUserNode, index$c_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index$c_summarizeCheckpoint as summarizeCheckpoint };
|
|
368
387
|
}
|
|
369
388
|
|
|
370
389
|
interface ContextCheckpointToolArgs extends ToolArgs {
|
|
@@ -470,60 +489,60 @@ declare function readToolContextWorkingHistory(context: ToolExecutionContext): R
|
|
|
470
489
|
declare function readToolContextPersistedHistory(context: ToolExecutionContext): ReadonlyArray<RuntimeEvent>;
|
|
471
490
|
declare function stripRuntimeReservedToolContextPatch(patch: Partial<ToolExecutionContext> | Record<string, unknown> | undefined): Record<string, unknown>;
|
|
472
491
|
|
|
473
|
-
declare const index$
|
|
474
|
-
declare const index$
|
|
475
|
-
declare const index$
|
|
476
|
-
type index$
|
|
477
|
-
type index$
|
|
478
|
-
type index$
|
|
479
|
-
declare const index$
|
|
480
|
-
type index$
|
|
481
|
-
type index$
|
|
482
|
-
type index$
|
|
483
|
-
declare const index$
|
|
484
|
-
declare const index$
|
|
485
|
-
declare const index$
|
|
486
|
-
declare const index$
|
|
487
|
-
declare const index$
|
|
488
|
-
declare const index$
|
|
489
|
-
declare const index$
|
|
490
|
-
declare const index$
|
|
491
|
-
declare const index$
|
|
492
|
-
declare const index$
|
|
493
|
-
declare const index$
|
|
494
|
-
declare const index$
|
|
495
|
-
declare const index$
|
|
496
|
-
declare const index$
|
|
497
|
-
declare const index$
|
|
498
|
-
declare const index$
|
|
499
|
-
declare const index$
|
|
500
|
-
declare const index$
|
|
501
|
-
declare const index$
|
|
502
|
-
declare const index$
|
|
503
|
-
declare const index$
|
|
504
|
-
declare const index$
|
|
505
|
-
declare const index$
|
|
506
|
-
declare const index$
|
|
507
|
-
declare const index$
|
|
508
|
-
declare const index$
|
|
509
|
-
declare const index$
|
|
510
|
-
declare const index$
|
|
511
|
-
declare const index$
|
|
512
|
-
declare const index$
|
|
513
|
-
declare const index$
|
|
514
|
-
declare const index$
|
|
515
|
-
declare const index$
|
|
516
|
-
declare const index$
|
|
517
|
-
declare const index$
|
|
518
|
-
declare const index$
|
|
519
|
-
declare const index$
|
|
520
|
-
declare const index$
|
|
521
|
-
declare const index$
|
|
522
|
-
declare const index$
|
|
523
|
-
declare const index$
|
|
524
|
-
declare const index$
|
|
525
|
-
declare namespace index$
|
|
526
|
-
export { index$
|
|
492
|
+
declare const index$b_AgentTool: typeof AgentTool;
|
|
493
|
+
declare const index$b_BaseTool: typeof BaseTool;
|
|
494
|
+
declare const index$b_CommonParameterTypes: typeof CommonParameterTypes;
|
|
495
|
+
type index$b_ContextCheckpointPayload = ContextCheckpointPayload;
|
|
496
|
+
type index$b_ContextCheckpointPayloadExtension = ContextCheckpointPayloadExtension;
|
|
497
|
+
type index$b_ContextCheckpointTool = ContextCheckpointTool;
|
|
498
|
+
declare const index$b_ContextCheckpointTool: typeof ContextCheckpointTool;
|
|
499
|
+
type index$b_ContextCheckpointToolArgs = ContextCheckpointToolArgs;
|
|
500
|
+
type index$b_ContextCheckpointToolHookParams = ContextCheckpointToolHookParams;
|
|
501
|
+
type index$b_ContextCheckpointToolOptions = ContextCheckpointToolOptions;
|
|
502
|
+
declare const index$b_ConversationArtifactContext: typeof ConversationArtifactContext;
|
|
503
|
+
declare const index$b_JsonObjectSchema: typeof JsonObjectSchema;
|
|
504
|
+
declare const index$b_ObservationPreviewContext: typeof ObservationPreviewContext;
|
|
505
|
+
declare const index$b_ObservationPreviewMeta: typeof ObservationPreviewMeta;
|
|
506
|
+
declare const index$b_ObservationPreviewPort: typeof ObservationPreviewPort;
|
|
507
|
+
declare const index$b_ObservationPreviewResult: typeof ObservationPreviewResult;
|
|
508
|
+
declare const index$b_OpenAIToolSchema: typeof OpenAIToolSchema;
|
|
509
|
+
declare const index$b_StructuredToolResult: typeof StructuredToolResult;
|
|
510
|
+
declare const index$b_ToolArgs: typeof ToolArgs;
|
|
511
|
+
declare const index$b_ToolCallResult: typeof ToolCallResult;
|
|
512
|
+
declare const index$b_ToolCatalogPort: typeof ToolCatalogPort;
|
|
513
|
+
declare const index$b_ToolContextCompatibilityFields: typeof ToolContextCompatibilityFields;
|
|
514
|
+
declare const index$b_ToolContextConversationView: typeof ToolContextConversationView;
|
|
515
|
+
declare const index$b_ToolContextPatch: typeof ToolContextPatch;
|
|
516
|
+
declare const index$b_ToolControlInfo: typeof ToolControlInfo;
|
|
517
|
+
declare const index$b_ToolDisplayOptions: typeof ToolDisplayOptions;
|
|
518
|
+
declare const index$b_ToolExecutionContext: typeof ToolExecutionContext;
|
|
519
|
+
declare const index$b_ToolExecutionPort: typeof ToolExecutionPort;
|
|
520
|
+
declare const index$b_ToolExecutionResult: typeof ToolExecutionResult;
|
|
521
|
+
declare const index$b_ToolLayoutOptions: typeof ToolLayoutOptions;
|
|
522
|
+
declare const index$b_ToolParameterProperty: typeof ToolParameterProperty;
|
|
523
|
+
declare const index$b_ToolParameterSchema: typeof ToolParameterSchema;
|
|
524
|
+
declare const index$b_ToolPresentationPort: typeof ToolPresentationPort;
|
|
525
|
+
declare const index$b_ToolRegistryEntry: typeof ToolRegistryEntry;
|
|
526
|
+
declare const index$b_ToolResult: typeof ToolResult;
|
|
527
|
+
declare const index$b_ToolRuntimeDefinition: typeof ToolRuntimeDefinition;
|
|
528
|
+
declare const index$b_ToolRuntimePort: typeof ToolRuntimePort;
|
|
529
|
+
declare const index$b_ToolSchemaContext: typeof ToolSchemaContext;
|
|
530
|
+
declare const index$b_UnifiedToolResult: typeof UnifiedToolResult;
|
|
531
|
+
declare const index$b_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
532
|
+
declare const index$b_copyToolContextRuntimeCapability: typeof copyToolContextRuntimeCapability;
|
|
533
|
+
declare const index$b_createContextCheckpointTool: typeof createContextCheckpointTool;
|
|
534
|
+
declare const index$b_ensureToolContextRuntimeCapability: typeof ensureToolContextRuntimeCapability;
|
|
535
|
+
declare const index$b_findCachedToolOutputByIdempotencyKey: typeof findCachedToolOutputByIdempotencyKey;
|
|
536
|
+
declare const index$b_getToolContextRuntimeBinding: typeof getToolContextRuntimeBinding;
|
|
537
|
+
declare const index$b_normalizeToolArgs: typeof normalizeToolArgs;
|
|
538
|
+
declare const index$b_readToolContextModelId: typeof readToolContextModelId;
|
|
539
|
+
declare const index$b_readToolContextPersistedHistory: typeof readToolContextPersistedHistory;
|
|
540
|
+
declare const index$b_readToolContextRunContext: typeof readToolContextRunContext;
|
|
541
|
+
declare const index$b_readToolContextUserQuery: typeof readToolContextUserQuery;
|
|
542
|
+
declare const index$b_readToolContextWorkingHistory: typeof readToolContextWorkingHistory;
|
|
543
|
+
declare const index$b_stripRuntimeReservedToolContextPatch: typeof stripRuntimeReservedToolContextPatch;
|
|
544
|
+
declare namespace index$b {
|
|
545
|
+
export { index$b_AgentTool as AgentTool, index$b_BaseTool as BaseTool, index$b_CommonParameterTypes as CommonParameterTypes, type index$b_ContextCheckpointPayload as ContextCheckpointPayload, type index$b_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index$b_ContextCheckpointTool as ContextCheckpointTool, type index$b_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index$b_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index$b_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index$b_ConversationArtifactContext as ConversationArtifactContext, index$b_JsonObjectSchema as JsonObjectSchema, index$b_ObservationPreviewContext as ObservationPreviewContext, index$b_ObservationPreviewMeta as ObservationPreviewMeta, index$b_ObservationPreviewPort as ObservationPreviewPort, index$b_ObservationPreviewResult as ObservationPreviewResult, index$b_OpenAIToolSchema as OpenAIToolSchema, index$b_StructuredToolResult as StructuredToolResult, index$b_ToolArgs as ToolArgs, index$b_ToolCallResult as ToolCallResult, index$b_ToolCatalogPort as ToolCatalogPort, index$b_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index$b_ToolContextConversationView as ToolContextConversationView, index$b_ToolContextPatch as ToolContextPatch, index$b_ToolControlInfo as ToolControlInfo, index$b_ToolDisplayOptions as ToolDisplayOptions, index$b_ToolExecutionContext as ToolExecutionContext, index$b_ToolExecutionPort as ToolExecutionPort, index$b_ToolExecutionResult as ToolExecutionResult, index$b_ToolLayoutOptions as ToolLayoutOptions, index$b_ToolParameterProperty as ToolParameterProperty, index$b_ToolParameterSchema as ToolParameterSchema, index$b_ToolPresentationPort as ToolPresentationPort, index$b_ToolRegistryEntry as ToolRegistryEntry, index$b_ToolResult as ToolResult, index$b_ToolRuntimeDefinition as ToolRuntimeDefinition, index$b_ToolRuntimePort as ToolRuntimePort, index$b_ToolSchemaContext as ToolSchemaContext, index$b_UnifiedToolResult as UnifiedToolResult, index$b_computeToolIdempotencyKey as computeToolIdempotencyKey, index$b_copyToolContextRuntimeCapability as copyToolContextRuntimeCapability, index$b_createContextCheckpointTool as createContextCheckpointTool, index$b_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$b_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index$b_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$b_normalizeToolArgs as normalizeToolArgs, index$b_readToolContextModelId as readToolContextModelId, index$b_readToolContextPersistedHistory as readToolContextPersistedHistory, index$b_readToolContextRunContext as readToolContextRunContext, index$b_readToolContextUserQuery as readToolContextUserQuery, index$b_readToolContextWorkingHistory as readToolContextWorkingHistory, index$b_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch };
|
|
527
546
|
}
|
|
528
547
|
|
|
529
548
|
/**
|
|
@@ -632,18 +651,18 @@ interface CreateRuntimeErrorEventInput {
|
|
|
632
651
|
*/
|
|
633
652
|
declare function createRuntimeErrorEvent(input: CreateRuntimeErrorEventInput): ErrorEvent;
|
|
634
653
|
|
|
635
|
-
declare const index$
|
|
636
|
-
type index$
|
|
637
|
-
declare const index$
|
|
638
|
-
declare const index$
|
|
639
|
-
declare namespace index$
|
|
640
|
-
export { index$
|
|
654
|
+
declare const index$a_EventBus: typeof EventBus;
|
|
655
|
+
type index$a_EventSequencer = EventSequencer;
|
|
656
|
+
declare const index$a_EventSequencer: typeof EventSequencer;
|
|
657
|
+
declare const index$a_createRuntimeErrorEvent: typeof createRuntimeErrorEvent;
|
|
658
|
+
declare namespace index$a {
|
|
659
|
+
export { index$a_EventBus as EventBus, index$a_EventSequencer as EventSequencer, index$a_createRuntimeErrorEvent as createRuntimeErrorEvent };
|
|
641
660
|
}
|
|
642
661
|
|
|
643
|
-
declare const index$
|
|
644
|
-
declare const index$
|
|
645
|
-
declare namespace index$
|
|
646
|
-
export { index$
|
|
662
|
+
declare const index$9_RunContext: typeof RunContext;
|
|
663
|
+
declare const index$9_createDefaultRunContext: typeof createDefaultRunContext;
|
|
664
|
+
declare namespace index$9 {
|
|
665
|
+
export { index$9_RunContext as RunContext, index$9_createDefaultRunContext as createDefaultRunContext };
|
|
647
666
|
}
|
|
648
667
|
|
|
649
668
|
/**
|
|
@@ -727,17 +746,17 @@ declare function pickChildRunSeedHistory(params: {
|
|
|
727
746
|
historyPolicy?: ChildRunHistoryPolicy;
|
|
728
747
|
}): RuntimeEvent[];
|
|
729
748
|
|
|
730
|
-
type index$
|
|
731
|
-
type index$
|
|
732
|
-
type index$
|
|
733
|
-
type index$
|
|
734
|
-
declare const index$
|
|
735
|
-
declare const index$
|
|
736
|
-
declare const index$
|
|
737
|
-
declare const index$
|
|
738
|
-
declare const index$
|
|
739
|
-
declare namespace index$
|
|
740
|
-
export { type index$
|
|
749
|
+
type index$8_ChildRunAgentConfig = ChildRunAgentConfig;
|
|
750
|
+
type index$8_ChildRunInvokeConfig = ChildRunInvokeConfig;
|
|
751
|
+
type index$8_ChildRunInvokeResult = ChildRunInvokeResult;
|
|
752
|
+
type index$8_ChildRunInvoker = ChildRunInvoker;
|
|
753
|
+
declare const index$8_ChildRunInvoker: typeof ChildRunInvoker;
|
|
754
|
+
declare const index$8_ChildRunInvokerPort: typeof ChildRunInvokerPort;
|
|
755
|
+
declare const index$8_ChildRunRequest: typeof ChildRunRequest;
|
|
756
|
+
declare const index$8_ChildRunResult: typeof ChildRunResult;
|
|
757
|
+
declare const index$8_pickChildRunSeedHistory: typeof pickChildRunSeedHistory;
|
|
758
|
+
declare namespace index$8 {
|
|
759
|
+
export { type index$8_ChildRunAgentConfig as ChildRunAgentConfig, type index$8_ChildRunInvokeConfig as ChildRunInvokeConfig, type index$8_ChildRunInvokeResult as ChildRunInvokeResult, index$8_ChildRunInvoker as ChildRunInvoker, index$8_ChildRunInvokerPort as ChildRunInvokerPort, index$8_ChildRunRequest as ChildRunRequest, index$8_ChildRunResult as ChildRunResult, index$8_pickChildRunSeedHistory as pickChildRunSeedHistory };
|
|
741
760
|
}
|
|
742
761
|
|
|
743
762
|
interface EventBusSubRunTracePublisherOptions {
|
|
@@ -797,11 +816,11 @@ declare class EventBusSubRunTracePublisher implements SubRunTracePublisher {
|
|
|
797
816
|
publish(envelope: SubRunTraceEnvelope): void;
|
|
798
817
|
}
|
|
799
818
|
|
|
800
|
-
type index$
|
|
801
|
-
declare const index$
|
|
802
|
-
declare const index$
|
|
803
|
-
declare namespace index$
|
|
804
|
-
export { index$
|
|
819
|
+
type index$7_EventBusSubRunTracePublisher = EventBusSubRunTracePublisher;
|
|
820
|
+
declare const index$7_EventBusSubRunTracePublisher: typeof EventBusSubRunTracePublisher;
|
|
821
|
+
declare const index$7_SubRunTracePublisher: typeof SubRunTracePublisher;
|
|
822
|
+
declare namespace index$7 {
|
|
823
|
+
export { index$7_EventBusSubRunTracePublisher as EventBusSubRunTracePublisher, index$7_SubRunTracePublisher as SubRunTracePublisher };
|
|
805
824
|
}
|
|
806
825
|
|
|
807
826
|
/**
|
|
@@ -901,13 +920,13 @@ declare class RequestEnricherRegistry {
|
|
|
901
920
|
}
|
|
902
921
|
declare const requestEnricherRegistry: RequestEnricherRegistry;
|
|
903
922
|
|
|
904
|
-
type index$
|
|
905
|
-
type index$
|
|
906
|
-
type index$
|
|
907
|
-
type index$
|
|
908
|
-
declare const index$
|
|
909
|
-
declare namespace index$
|
|
910
|
-
export { type index$
|
|
923
|
+
type index$6_EnrichmentContext = EnrichmentContext;
|
|
924
|
+
type index$6_EnrichmentResult = EnrichmentResult;
|
|
925
|
+
type index$6_RegistryEnrichmentResult = RegistryEnrichmentResult;
|
|
926
|
+
type index$6_RequestEnricher = RequestEnricher;
|
|
927
|
+
declare const index$6_requestEnricherRegistry: typeof requestEnricherRegistry;
|
|
928
|
+
declare namespace index$6 {
|
|
929
|
+
export { type index$6_EnrichmentContext as EnrichmentContext, type index$6_EnrichmentResult as EnrichmentResult, type index$6_RegistryEnrichmentResult as RegistryEnrichmentResult, type index$6_RequestEnricher as RequestEnricher, index$6_requestEnricherRegistry as requestEnricherRegistry };
|
|
911
930
|
}
|
|
912
931
|
|
|
913
932
|
declare class NotImplementedError extends Error {
|
|
@@ -921,56 +940,56 @@ declare class RunAlreadyRegisteredError extends Error {
|
|
|
921
940
|
constructor(runId: string);
|
|
922
941
|
}
|
|
923
942
|
|
|
924
|
-
declare const index$
|
|
925
|
-
declare const index$
|
|
926
|
-
declare const index$
|
|
927
|
-
declare const index$
|
|
928
|
-
declare const index$
|
|
929
|
-
declare const index$
|
|
930
|
-
declare const index$
|
|
931
|
-
declare const index$
|
|
932
|
-
type index$
|
|
933
|
-
declare const index$
|
|
934
|
-
type index$
|
|
935
|
-
declare const index$
|
|
936
|
-
declare const index$
|
|
937
|
-
declare const index$
|
|
938
|
-
declare const index$
|
|
939
|
-
declare const index$
|
|
940
|
-
declare const index$
|
|
941
|
-
declare const index$
|
|
942
|
-
declare const index$
|
|
943
|
-
declare const index$
|
|
944
|
-
declare const index$
|
|
945
|
-
type index$
|
|
946
|
-
declare const index$
|
|
947
|
-
declare const index$
|
|
948
|
-
declare const index$
|
|
949
|
-
declare const index$
|
|
950
|
-
declare const index$
|
|
951
|
-
declare const index$
|
|
952
|
-
declare const index$
|
|
953
|
-
declare const index$
|
|
954
|
-
declare const index$
|
|
955
|
-
declare const index$
|
|
956
|
-
declare const index$
|
|
957
|
-
declare const index$
|
|
958
|
-
declare const index$
|
|
959
|
-
declare const index$
|
|
960
|
-
declare const index$
|
|
961
|
-
declare namespace index$
|
|
962
|
-
export { index$
|
|
943
|
+
declare const index$5_CancelOpts: typeof CancelOpts;
|
|
944
|
+
declare const index$5_DefaultRunHandle: typeof DefaultRunHandle;
|
|
945
|
+
declare const index$5_DefaultRunHandleOptions: typeof DefaultRunHandleOptions;
|
|
946
|
+
declare const index$5_DefaultRunSupervisor: typeof DefaultRunSupervisor;
|
|
947
|
+
declare const index$5_DefaultRunSupervisorOptions: typeof DefaultRunSupervisorOptions;
|
|
948
|
+
declare const index$5_FindActiveByConversationOptions: typeof FindActiveByConversationOptions;
|
|
949
|
+
declare const index$5_ListRunsFilter: typeof ListRunsFilter;
|
|
950
|
+
declare const index$5_MemoryRunRegistryStore: typeof MemoryRunRegistryStore;
|
|
951
|
+
type index$5_NotImplementedError = NotImplementedError;
|
|
952
|
+
declare const index$5_NotImplementedError: typeof NotImplementedError;
|
|
953
|
+
type index$5_RunAlreadyRegisteredError = RunAlreadyRegisteredError;
|
|
954
|
+
declare const index$5_RunAlreadyRegisteredError: typeof RunAlreadyRegisteredError;
|
|
955
|
+
declare const index$5_RunAwaitingUserPatch: typeof RunAwaitingUserPatch;
|
|
956
|
+
declare const index$5_RunCost: typeof RunCost;
|
|
957
|
+
declare const index$5_RunCostCollector: typeof RunCostCollector;
|
|
958
|
+
declare const index$5_RunExecutionContext: typeof RunExecutionContext;
|
|
959
|
+
declare const index$5_RunExecutorPort: typeof RunExecutorPort;
|
|
960
|
+
declare const index$5_RunFailureInfo: typeof RunFailureInfo;
|
|
961
|
+
declare const index$5_RunHandle: typeof RunHandle;
|
|
962
|
+
declare const index$5_RunLifecyclePatch: typeof RunLifecyclePatch;
|
|
963
|
+
declare const index$5_RunMeta: typeof RunMeta;
|
|
964
|
+
type index$5_RunNotFoundError = RunNotFoundError;
|
|
965
|
+
declare const index$5_RunNotFoundError: typeof RunNotFoundError;
|
|
966
|
+
declare const index$5_RunObserveFilter: typeof RunObserveFilter;
|
|
967
|
+
declare const index$5_RunOutcome: typeof RunOutcome;
|
|
968
|
+
declare const index$5_RunRecord: typeof RunRecord;
|
|
969
|
+
declare const index$5_RunRegistrationSpec: typeof RunRegistrationSpec;
|
|
970
|
+
declare const index$5_RunRegistryStore: typeof RunRegistryStore;
|
|
971
|
+
declare const index$5_RunRequestSnapshot: typeof RunRequestSnapshot;
|
|
972
|
+
declare const index$5_RunSnapshot: typeof RunSnapshot;
|
|
973
|
+
declare const index$5_RunStatus: typeof RunStatus;
|
|
974
|
+
declare const index$5_RunSupervisor: typeof RunSupervisor;
|
|
975
|
+
declare const index$5_RunTerminalError: typeof RunTerminalError;
|
|
976
|
+
declare const index$5_RunTerminalEvent: typeof RunTerminalEvent;
|
|
977
|
+
declare const index$5_RunTerminalStatus: typeof RunTerminalStatus;
|
|
978
|
+
declare const index$5_RunWaitForTerminalOptions: typeof RunWaitForTerminalOptions;
|
|
979
|
+
declare const index$5_runMetaFromRecord: typeof runMetaFromRecord;
|
|
980
|
+
declare namespace index$5 {
|
|
981
|
+
export { index$5_CancelOpts as CancelOpts, index$5_DefaultRunHandle as DefaultRunHandle, index$5_DefaultRunHandleOptions as DefaultRunHandleOptions, index$5_DefaultRunSupervisor as DefaultRunSupervisor, index$5_DefaultRunSupervisorOptions as DefaultRunSupervisorOptions, index$5_FindActiveByConversationOptions as FindActiveByConversationOptions, index$5_ListRunsFilter as ListRunsFilter, index$5_MemoryRunRegistryStore as MemoryRunRegistryStore, index$5_NotImplementedError as NotImplementedError, index$5_RunAlreadyRegisteredError as RunAlreadyRegisteredError, index$5_RunAwaitingUserPatch as RunAwaitingUserPatch, index$5_RunCost as RunCost, index$5_RunCostCollector as RunCostCollector, index$5_RunExecutionContext as RunExecutionContext, index$5_RunExecutorPort as RunExecutorPort, index$5_RunFailureInfo as RunFailureInfo, index$5_RunHandle as RunHandle, index$5_RunLifecyclePatch as RunLifecyclePatch, index$5_RunMeta as RunMeta, index$5_RunNotFoundError as RunNotFoundError, index$5_RunObserveFilter as RunObserveFilter, index$5_RunOutcome as RunOutcome, index$5_RunRecord as RunRecord, index$5_RunRegistrationSpec as RunRegistrationSpec, index$5_RunRegistryStore as RunRegistryStore, index$5_RunRequestSnapshot as RunRequestSnapshot, index$5_RunSnapshot as RunSnapshot, index$5_RunStatus as RunStatus, index$5_RunSupervisor as RunSupervisor, index$5_RunTerminalError as RunTerminalError, index$5_RunTerminalEvent as RunTerminalEvent, index$5_RunTerminalStatus as RunTerminalStatus, index$5_RunWaitForTerminalOptions as RunWaitForTerminalOptions, index$5_runMetaFromRecord as runMetaFromRecord };
|
|
963
982
|
}
|
|
964
983
|
|
|
965
984
|
declare const noopTelemetry: TelemetryPort;
|
|
966
985
|
|
|
967
|
-
declare const index$
|
|
968
|
-
declare const index$
|
|
969
|
-
declare const index$
|
|
970
|
-
declare const index$
|
|
971
|
-
declare const index$
|
|
972
|
-
declare namespace index$
|
|
973
|
-
export { index$
|
|
986
|
+
declare const index$4_TELEMETRY_EVENT_KINDS: typeof TELEMETRY_EVENT_KINDS;
|
|
987
|
+
declare const index$4_TelemetryEvent: typeof TelemetryEvent;
|
|
988
|
+
declare const index$4_TelemetryPort: typeof TelemetryPort;
|
|
989
|
+
declare const index$4_TelemetryScope: typeof TelemetryScope;
|
|
990
|
+
declare const index$4_noopTelemetry: typeof noopTelemetry;
|
|
991
|
+
declare namespace index$4 {
|
|
992
|
+
export { index$4_TELEMETRY_EVENT_KINDS as TELEMETRY_EVENT_KINDS, index$4_TelemetryEvent as TelemetryEvent, index$4_TelemetryPort as TelemetryPort, index$4_TelemetryScope as TelemetryScope, index$4_noopTelemetry as noopTelemetry };
|
|
974
993
|
}
|
|
975
994
|
|
|
976
995
|
interface ConsoleAuditOptions {
|
|
@@ -1063,29 +1082,29 @@ declare function createFileAudit(options: FileAuditOptions): AuditPort;
|
|
|
1063
1082
|
|
|
1064
1083
|
declare const noopAudit: AuditPort;
|
|
1065
1084
|
|
|
1066
|
-
type index$
|
|
1067
|
-
declare const index$
|
|
1068
|
-
type index$
|
|
1069
|
-
type index$
|
|
1070
|
-
declare const index$
|
|
1071
|
-
type index$
|
|
1072
|
-
type index$
|
|
1073
|
-
type index$
|
|
1074
|
-
type index$
|
|
1075
|
-
declare const index$
|
|
1076
|
-
type index$
|
|
1077
|
-
type index$
|
|
1078
|
-
declare const index$
|
|
1079
|
-
declare const index$
|
|
1080
|
-
declare const index$
|
|
1081
|
-
declare const index$
|
|
1082
|
-
declare const index$
|
|
1083
|
-
declare const index$
|
|
1084
|
-
declare const index$
|
|
1085
|
-
declare const index$
|
|
1086
|
-
declare const index$
|
|
1087
|
-
declare namespace index$
|
|
1088
|
-
export { index$
|
|
1085
|
+
type index$3_AuditEnvelopePersistenceError = AuditEnvelopePersistenceError;
|
|
1086
|
+
declare const index$3_AuditEnvelopePersistenceError: typeof AuditEnvelopePersistenceError;
|
|
1087
|
+
type index$3_CompositeAuditOptions = CompositeAuditOptions;
|
|
1088
|
+
type index$3_CompositeAuditPort = CompositeAuditPort;
|
|
1089
|
+
declare const index$3_CompositeAuditPort: typeof CompositeAuditPort;
|
|
1090
|
+
type index$3_ConsoleAuditOptions = ConsoleAuditOptions;
|
|
1091
|
+
type index$3_EmitAuditEnvelopeParams = EmitAuditEnvelopeParams;
|
|
1092
|
+
type index$3_EventStoreAuditOptions = EventStoreAuditOptions;
|
|
1093
|
+
type index$3_EventStoreAuditPort = EventStoreAuditPort;
|
|
1094
|
+
declare const index$3_EventStoreAuditPort: typeof EventStoreAuditPort;
|
|
1095
|
+
type index$3_FileAuditOptions = FileAuditOptions;
|
|
1096
|
+
type index$3_FileAuditPort = FileAuditPort;
|
|
1097
|
+
declare const index$3_FileAuditPort: typeof FileAuditPort;
|
|
1098
|
+
declare const index$3_consoleAudit: typeof consoleAudit;
|
|
1099
|
+
declare const index$3_createCompositeAudit: typeof createCompositeAudit;
|
|
1100
|
+
declare const index$3_createConsoleAudit: typeof createConsoleAudit;
|
|
1101
|
+
declare const index$3_createEventStoreAudit: typeof createEventStoreAudit;
|
|
1102
|
+
declare const index$3_createFileAudit: typeof createFileAudit;
|
|
1103
|
+
declare const index$3_emitAuditEnvelope: typeof emitAuditEnvelope;
|
|
1104
|
+
declare const index$3_emitSandboxDecisionAudit: typeof emitSandboxDecisionAudit;
|
|
1105
|
+
declare const index$3_noopAudit: typeof noopAudit;
|
|
1106
|
+
declare namespace index$3 {
|
|
1107
|
+
export { index$3_AuditEnvelopePersistenceError as AuditEnvelopePersistenceError, type index$3_CompositeAuditOptions as CompositeAuditOptions, index$3_CompositeAuditPort as CompositeAuditPort, type index$3_ConsoleAuditOptions as ConsoleAuditOptions, type index$3_EmitAuditEnvelopeParams as EmitAuditEnvelopeParams, type index$3_EventStoreAuditOptions as EventStoreAuditOptions, index$3_EventStoreAuditPort as EventStoreAuditPort, type index$3_FileAuditOptions as FileAuditOptions, index$3_FileAuditPort as FileAuditPort, index$3_consoleAudit as consoleAudit, index$3_createCompositeAudit as createCompositeAudit, index$3_createConsoleAudit as createConsoleAudit, index$3_createEventStoreAudit as createEventStoreAudit, index$3_createFileAudit as createFileAudit, index$3_emitAuditEnvelope as emitAuditEnvelope, index$3_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$3_noopAudit as noopAudit };
|
|
1089
1108
|
}
|
|
1090
1109
|
|
|
1091
1110
|
/**
|
|
@@ -1212,38 +1231,74 @@ declare const budgetWarningTrigger: SystemReminderTriggerEvaluator;
|
|
|
1212
1231
|
declare const agentHasToolTrigger: SystemReminderTriggerEvaluator;
|
|
1213
1232
|
declare const BUILTIN_SYSTEM_REMINDER_TRIGGERS: Record<string, SystemReminderTriggerEvaluator>;
|
|
1214
1233
|
|
|
1215
|
-
declare const index$
|
|
1216
|
-
declare const index$
|
|
1217
|
-
declare const index$
|
|
1218
|
-
declare const index$
|
|
1219
|
-
type index$
|
|
1220
|
-
type index$
|
|
1221
|
-
type index$
|
|
1222
|
-
declare const index$
|
|
1223
|
-
type index$
|
|
1224
|
-
type index$
|
|
1225
|
-
type index$
|
|
1226
|
-
declare const index$
|
|
1227
|
-
declare const index$
|
|
1228
|
-
declare const index$
|
|
1229
|
-
declare const index$
|
|
1230
|
-
declare const index$
|
|
1231
|
-
declare const index$
|
|
1232
|
-
declare const index$
|
|
1233
|
-
declare const index$
|
|
1234
|
-
declare const index$
|
|
1235
|
-
declare const index$
|
|
1236
|
-
declare const index$
|
|
1237
|
-
declare const index$
|
|
1238
|
-
declare const index$
|
|
1239
|
-
declare const index$
|
|
1240
|
-
declare const index$
|
|
1241
|
-
declare const index$
|
|
1242
|
-
declare const index$
|
|
1243
|
-
declare const index$
|
|
1244
|
-
declare const index$
|
|
1234
|
+
declare const index$2_BUILTIN_SYSTEM_REMINDER_TEMPLATES: typeof BUILTIN_SYSTEM_REMINDER_TEMPLATES;
|
|
1235
|
+
declare const index$2_BUILTIN_SYSTEM_REMINDER_TRIGGERS: typeof BUILTIN_SYSTEM_REMINDER_TRIGGERS;
|
|
1236
|
+
declare const index$2_DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME: typeof DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME;
|
|
1237
|
+
declare const index$2_SYSTEM_REMINDER_RULES: typeof SYSTEM_REMINDER_RULES;
|
|
1238
|
+
type index$2_SystemReminderContentTemplate = SystemReminderContentTemplate;
|
|
1239
|
+
type index$2_SystemReminderContext = SystemReminderContext;
|
|
1240
|
+
type index$2_SystemReminderRegistry = SystemReminderRegistry;
|
|
1241
|
+
declare const index$2_SystemReminderRegistry: typeof SystemReminderRegistry;
|
|
1242
|
+
type index$2_SystemReminderRule = SystemReminderRule;
|
|
1243
|
+
type index$2_SystemReminderRuleDefinition = SystemReminderRuleDefinition;
|
|
1244
|
+
type index$2_SystemReminderTriggerEvaluator = SystemReminderTriggerEvaluator;
|
|
1245
|
+
declare const index$2_agentHasToolTrigger: typeof agentHasToolTrigger;
|
|
1246
|
+
declare const index$2_applySystemReminders: typeof applySystemReminders;
|
|
1247
|
+
declare const index$2_budgetWarningTrigger: typeof budgetWarningTrigger;
|
|
1248
|
+
declare const index$2_contextBudgetWarningTemplate: typeof contextBudgetWarningTemplate;
|
|
1249
|
+
declare const index$2_countToolCallsInCurrentRequest: typeof countToolCallsInCurrentRequest;
|
|
1250
|
+
declare const index$2_createDefaultSystemReminderRegistry: typeof createDefaultSystemReminderRegistry;
|
|
1251
|
+
declare const index$2_createSystemReminderRules: typeof createSystemReminderRules;
|
|
1252
|
+
declare const index$2_defaultSystemReminderRegistry: typeof defaultSystemReminderRegistry;
|
|
1253
|
+
declare const index$2_lastStepsHintTemplate: typeof lastStepsHintTemplate;
|
|
1254
|
+
declare const index$2_maxStepsForceFinalAnswerTemplate: typeof maxStepsForceFinalAnswerTemplate;
|
|
1255
|
+
declare const index$2_periodicTaskstateReflectionTemplate: typeof periodicTaskstateReflectionTemplate;
|
|
1256
|
+
declare const index$2_phaseEqualsTrigger: typeof phaseEqualsTrigger;
|
|
1257
|
+
declare const index$2_readContextCheckpointToolName: typeof readContextCheckpointToolName;
|
|
1258
|
+
declare const index$2_readNonEmptyStrings: typeof readNonEmptyStrings;
|
|
1259
|
+
declare const index$2_remainingStepsLeqTrigger: typeof remainingStepsLeqTrigger;
|
|
1260
|
+
declare const index$2_stepCountModuloTrigger: typeof stepCountModuloTrigger;
|
|
1261
|
+
declare const index$2_toDisplayStep: typeof toDisplayStep;
|
|
1262
|
+
declare const index$2_toolCallStreakTemplate: typeof toolCallStreakTemplate;
|
|
1263
|
+
declare const index$2_toolCallStreakTrigger: typeof toolCallStreakTrigger;
|
|
1264
|
+
declare namespace index$2 {
|
|
1265
|
+
export { index$2_BUILTIN_SYSTEM_REMINDER_TEMPLATES as BUILTIN_SYSTEM_REMINDER_TEMPLATES, index$2_BUILTIN_SYSTEM_REMINDER_TRIGGERS as BUILTIN_SYSTEM_REMINDER_TRIGGERS, index$2_DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME, index$2_SYSTEM_REMINDER_RULES as SYSTEM_REMINDER_RULES, type index$2_SystemReminderContentTemplate as SystemReminderContentTemplate, type index$2_SystemReminderContext as SystemReminderContext, index$2_SystemReminderRegistry as SystemReminderRegistry, type index$2_SystemReminderRule as SystemReminderRule, type index$2_SystemReminderRuleDefinition as SystemReminderRuleDefinition, type index$2_SystemReminderTriggerEvaluator as SystemReminderTriggerEvaluator, index$2_agentHasToolTrigger as agentHasToolTrigger, index$2_applySystemReminders as applySystemReminders, index$2_budgetWarningTrigger as budgetWarningTrigger, index$2_contextBudgetWarningTemplate as contextBudgetWarningTemplate, index$2_countToolCallsInCurrentRequest as countToolCallsInCurrentRequest, index$2_createDefaultSystemReminderRegistry as createDefaultSystemReminderRegistry, index$2_createSystemReminderRules as createSystemReminderRules, index$2_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index$2_lastStepsHintTemplate as lastStepsHintTemplate, index$2_maxStepsForceFinalAnswerTemplate as maxStepsForceFinalAnswerTemplate, index$2_periodicTaskstateReflectionTemplate as periodicTaskstateReflectionTemplate, index$2_phaseEqualsTrigger as phaseEqualsTrigger, index$2_readContextCheckpointToolName as readContextCheckpointToolName, index$2_readNonEmptyStrings as readNonEmptyStrings, index$2_remainingStepsLeqTrigger as remainingStepsLeqTrigger, index$2_stepCountModuloTrigger as stepCountModuloTrigger, index$2_toDisplayStep as toDisplayStep, index$2_toolCallStreakTemplate as toolCallStreakTemplate, index$2_toolCallStreakTrigger as toolCallStreakTrigger };
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
type LedgerEntryScope = Pick<LlmUsageTokenLedgerEntry, 'runId' | 'parentRunId' | 'conversationId' | 'turnId' | 'stepId' | 'route' | 'createdAt'>;
|
|
1269
|
+
interface CreateLlmUsageLedgerEntryInput extends LedgerEntryScope {
|
|
1270
|
+
id: string;
|
|
1271
|
+
modelId?: string;
|
|
1272
|
+
usage: CanonicalLlmUsage;
|
|
1273
|
+
}
|
|
1274
|
+
interface CreateContextComponentLedgerEntryInput extends LedgerEntryScope {
|
|
1275
|
+
id: string;
|
|
1276
|
+
components: readonly ContextTokenComponent[];
|
|
1277
|
+
}
|
|
1278
|
+
declare function aggregateCanonicalUsage(usages: readonly CanonicalLlmUsage[]): TokenUsageTotals | undefined;
|
|
1279
|
+
declare function createLlmUsageLedgerEntry(input: CreateLlmUsageLedgerEntryInput): LlmUsageTokenLedgerEntry;
|
|
1280
|
+
declare function createContextComponentLedgerEntry(input: CreateContextComponentLedgerEntryInput): ContextComponentTokenLedgerEntry;
|
|
1281
|
+
declare function addUsageTotals(left: TokenUsageTotals | undefined, right: TokenUsageTotals | undefined): TokenUsageTotals | undefined;
|
|
1282
|
+
declare function addLedgerAggregate(left: TokenLedgerAggregate, right: TokenLedgerAggregate): TokenLedgerAggregate;
|
|
1283
|
+
declare function aggregateTokenLedgerEntries(entries: readonly TokenLedgerEntry[]): TokenLedgerAggregate;
|
|
1284
|
+
declare function createRunTokenUsageAggregate(input: {
|
|
1285
|
+
ownEntries: readonly TokenLedgerEntry[];
|
|
1286
|
+
childAggregates?: readonly TokenLedgerAggregate[];
|
|
1287
|
+
}): RunTokenUsageAggregate;
|
|
1288
|
+
declare function computeCost(usage: CanonicalLlmUsage, pricing?: TokenPricing): CostBreakdown;
|
|
1289
|
+
|
|
1290
|
+
type index$1_CreateContextComponentLedgerEntryInput = CreateContextComponentLedgerEntryInput;
|
|
1291
|
+
type index$1_CreateLlmUsageLedgerEntryInput = CreateLlmUsageLedgerEntryInput;
|
|
1292
|
+
declare const index$1_addLedgerAggregate: typeof addLedgerAggregate;
|
|
1293
|
+
declare const index$1_addUsageTotals: typeof addUsageTotals;
|
|
1294
|
+
declare const index$1_aggregateCanonicalUsage: typeof aggregateCanonicalUsage;
|
|
1295
|
+
declare const index$1_aggregateTokenLedgerEntries: typeof aggregateTokenLedgerEntries;
|
|
1296
|
+
declare const index$1_computeCost: typeof computeCost;
|
|
1297
|
+
declare const index$1_createContextComponentLedgerEntry: typeof createContextComponentLedgerEntry;
|
|
1298
|
+
declare const index$1_createLlmUsageLedgerEntry: typeof createLlmUsageLedgerEntry;
|
|
1299
|
+
declare const index$1_createRunTokenUsageAggregate: typeof createRunTokenUsageAggregate;
|
|
1245
1300
|
declare namespace index$1 {
|
|
1246
|
-
export {
|
|
1301
|
+
export { type index$1_CreateContextComponentLedgerEntryInput as CreateContextComponentLedgerEntryInput, type index$1_CreateLlmUsageLedgerEntryInput as CreateLlmUsageLedgerEntryInput, index$1_addLedgerAggregate as addLedgerAggregate, index$1_addUsageTotals as addUsageTotals, index$1_aggregateCanonicalUsage as aggregateCanonicalUsage, index$1_aggregateTokenLedgerEntries as aggregateTokenLedgerEntries, index$1_computeCost as computeCost, index$1_createContextComponentLedgerEntry as createContextComponentLedgerEntry, index$1_createLlmUsageLedgerEntry as createLlmUsageLedgerEntry, index$1_createRunTokenUsageAggregate as createRunTokenUsageAggregate };
|
|
1247
1302
|
}
|
|
1248
1303
|
|
|
1249
1304
|
/**
|
|
@@ -1310,6 +1365,8 @@ type index_ContextCheckpointToolArgs = ContextCheckpointToolArgs;
|
|
|
1310
1365
|
type index_ContextCheckpointToolHookParams = ContextCheckpointToolHookParams;
|
|
1311
1366
|
type index_ContextCheckpointToolOptions = ContextCheckpointToolOptions;
|
|
1312
1367
|
declare const index_ConversationArtifactContext: typeof ConversationArtifactContext;
|
|
1368
|
+
type index_CreateContextComponentLedgerEntryInput = CreateContextComponentLedgerEntryInput;
|
|
1369
|
+
type index_CreateLlmUsageLedgerEntryInput = CreateLlmUsageLedgerEntryInput;
|
|
1313
1370
|
declare const index_DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME: typeof DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME;
|
|
1314
1371
|
declare const index_DefaultGraphExecutorOptions: typeof DefaultGraphExecutorOptions;
|
|
1315
1372
|
type index_DefaultTokenizerPort = DefaultTokenizerPort;
|
|
@@ -1416,12 +1473,17 @@ type index_UserNode = UserNode;
|
|
|
1416
1473
|
declare const index_UserNode: typeof UserNode;
|
|
1417
1474
|
type index_WaitUserNode = WaitUserNode;
|
|
1418
1475
|
declare const index_WaitUserNode: typeof WaitUserNode;
|
|
1476
|
+
declare const index_addLedgerAggregate: typeof addLedgerAggregate;
|
|
1477
|
+
declare const index_addUsageTotals: typeof addUsageTotals;
|
|
1419
1478
|
declare const index_agentHasToolTrigger: typeof agentHasToolTrigger;
|
|
1479
|
+
declare const index_aggregateCanonicalUsage: typeof aggregateCanonicalUsage;
|
|
1480
|
+
declare const index_aggregateTokenLedgerEntries: typeof aggregateTokenLedgerEntries;
|
|
1420
1481
|
declare const index_appendStreamingProviderReasoningDetails: typeof appendStreamingProviderReasoningDetails;
|
|
1421
1482
|
declare const index_applySystemReminders: typeof applySystemReminders;
|
|
1422
1483
|
declare const index_budgetWarningTrigger: typeof budgetWarningTrigger;
|
|
1423
1484
|
declare const index_compactProviderReasoningDetails: typeof compactProviderReasoningDetails;
|
|
1424
1485
|
declare const index_compactReasoningDetailsInValue: typeof compactReasoningDetailsInValue;
|
|
1486
|
+
declare const index_computeCost: typeof computeCost;
|
|
1425
1487
|
declare const index_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
1426
1488
|
declare const index_consoleAudit: typeof consoleAudit;
|
|
1427
1489
|
declare const index_contextBudgetWarningTemplate: typeof contextBudgetWarningTemplate;
|
|
@@ -1430,13 +1492,16 @@ declare const index_countToolCallsInCurrentRequest: typeof countToolCallsInCurre
|
|
|
1430
1492
|
declare const index_createCompositeAudit: typeof createCompositeAudit;
|
|
1431
1493
|
declare const index_createConsoleAudit: typeof createConsoleAudit;
|
|
1432
1494
|
declare const index_createContextCheckpointTool: typeof createContextCheckpointTool;
|
|
1495
|
+
declare const index_createContextComponentLedgerEntry: typeof createContextComponentLedgerEntry;
|
|
1433
1496
|
declare const index_createDefaultGraphExecutor: typeof createDefaultGraphExecutor;
|
|
1434
1497
|
declare const index_createDefaultSystemReminderRegistry: typeof createDefaultSystemReminderRegistry;
|
|
1435
1498
|
declare const index_createDefaultTokenizerPort: typeof createDefaultTokenizerPort;
|
|
1436
1499
|
declare const index_createEventStoreAudit: typeof createEventStoreAudit;
|
|
1437
1500
|
declare const index_createFileAudit: typeof createFileAudit;
|
|
1438
1501
|
declare const index_createGraphLoopHarness: typeof createGraphLoopHarness;
|
|
1502
|
+
declare const index_createLlmUsageLedgerEntry: typeof createLlmUsageLedgerEntry;
|
|
1439
1503
|
declare const index_createMonotonicEventIdFactory: typeof createMonotonicEventIdFactory;
|
|
1504
|
+
declare const index_createRunTokenUsageAggregate: typeof createRunTokenUsageAggregate;
|
|
1440
1505
|
declare const index_createSystemReminderRules: typeof createSystemReminderRules;
|
|
1441
1506
|
declare const index_defaultPolicyEngine: typeof defaultPolicyEngine;
|
|
1442
1507
|
declare const index_defaultSystemReminderRegistry: typeof defaultSystemReminderRegistry;
|
|
@@ -1467,7 +1532,7 @@ declare const index_toDisplayStep: typeof toDisplayStep;
|
|
|
1467
1532
|
declare const index_toolCallStreakTemplate: typeof toolCallStreakTemplate;
|
|
1468
1533
|
declare const index_toolCallStreakTrigger: typeof toolCallStreakTrigger;
|
|
1469
1534
|
declare namespace index {
|
|
1470
|
-
export { index_AgentTool as AgentTool, index_AnswerNode as AnswerNode, index_AuditEnvelopePersistenceError as AuditEnvelopePersistenceError, index_BUILTIN_SYSTEM_REMINDER_TEMPLATES as BUILTIN_SYSTEM_REMINDER_TEMPLATES, index_BUILTIN_SYSTEM_REMINDER_TRIGGERS as BUILTIN_SYSTEM_REMINDER_TRIGGERS, index_BaseTool as BaseTool, index_CheckpointListFilter as CheckpointListFilter, index_CheckpointMeta as CheckpointMeta, index_CheckpointSummary as CheckpointSummary, index_Checkpointer as Checkpointer, index_CommonParameterTypes as CommonParameterTypes, type index_CompositeAuditOptions as CompositeAuditOptions, index_CompositeAuditPort as CompositeAuditPort, type index_ConsoleAuditOptions as ConsoleAuditOptions, type index_ContextCheckpointPayload as ContextCheckpointPayload, type index_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index_ContextCheckpointTool as ContextCheckpointTool, type index_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index_ConversationArtifactContext as ConversationArtifactContext, index_DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME, index_DefaultGraphExecutorOptions as DefaultGraphExecutorOptions, index_DefaultTokenizerPort as DefaultTokenizerPort, type index_DefaultTokenizerPortConfig as DefaultTokenizerPortConfig, index_ENGINE_ERROR_CODES as ENGINE_ERROR_CODES, index_ENGINE_STATE_SCHEMA_VERSION as ENGINE_STATE_SCHEMA_VERSION, type index_EmitAuditEnvelopeParams as EmitAuditEnvelopeParams, index_EngineState as EngineState, type index_EnrichmentContext as EnrichmentContext, type index_EnrichmentResult as EnrichmentResult, type index_ErrorClassification as ErrorClassification, index_EventBusSubRunTracePublisher as EventBusSubRunTracePublisher, index_EventRangeOptions as EventRangeOptions, index_EventStore as EventStore, type index_EventStoreAuditOptions as EventStoreAuditOptions, index_EventStoreAuditPort as EventStoreAuditPort, index_ExecutorLocalState as ExecutorLocalState, type index_FileAuditOptions as FileAuditOptions, index_FileAuditPort as FileAuditPort, index_GraphAgentExecutor as GraphAgentExecutor, type index_GraphAgentExecutorDependencies as GraphAgentExecutorDependencies, index_GraphExecutor as GraphExecutor, type index_GraphExecutorContextBuildInput as GraphExecutorContextBuildInput, type index_GraphExecutorContextBuildOutput as GraphExecutorContextBuildOutput, type index_GraphExecutorContextBuilder as GraphExecutorContextBuilder, index_GraphLoopHarness as GraphLoopHarness, index_GraphLoopHarnessOptions as GraphLoopHarnessOptions, index_GraphLoopHarnessRunResult as GraphLoopHarnessRunResult, index_GraphLoopLlmNodeFactoryParams as GraphLoopLlmNodeFactoryParams, index_GraphNode as GraphNode, index_JsonObjectSchema as JsonObjectSchema, index_LLMPolicy as LLMPolicy, index_LLMPolicyEngine as LLMPolicyEngine, index_LLMPolicyErrorDecision as LLMPolicyErrorDecision, index_LLMPolicyMatchContext as LLMPolicyMatchContext, index_LLMPolicyRequestContext as LLMPolicyRequestContext, index_LLMPolicyResponseContext as LLMPolicyResponseContext, index_LlmCallOptions as LlmCallOptions, index_LlmCaller as LlmCaller, index_LlmNode as LlmNode, index_LlmRequestMessage as LlmRequestMessage, index_LlmResponseContent as LlmResponseContent, index_LlmRetryConfig as LlmRetryConfig, index_MemoryCheckpointer as MemoryCheckpointer, index_MemoryEventStore as MemoryEventStore, index_ModelCatalogEntry as ModelCatalogEntry, index_ModelCatalogLike as ModelCatalogLike, index_ModelResolver as ModelResolver, index_ObservationPreviewContext as ObservationPreviewContext, index_ObservationPreviewMeta as ObservationPreviewMeta, index_ObservationPreviewPort as ObservationPreviewPort, index_ObservationPreviewResult as ObservationPreviewResult, index_OpenAIToolSchema as OpenAIToolSchema, type index_PendingContextRuntimeEvent as PendingContextRuntimeEvent, index_PersistedEvent as PersistedEvent, index_ProviderReasoningDetails as ProviderReasoningDetails, type index_RegistryEnrichmentResult as RegistryEnrichmentResult, type index_RequestEnricher as RequestEnricher, index_SYSTEM_REMINDER_RULES as SYSTEM_REMINDER_RULES, index_StructuredToolResult as StructuredToolResult, index_SubRunTracePublisher as SubRunTracePublisher, type index_SystemReminderContentTemplate as SystemReminderContentTemplate, type index_SystemReminderContext as SystemReminderContext, index_SystemReminderRegistry as SystemReminderRegistry, type index_SystemReminderRule as SystemReminderRule, type index_SystemReminderRuleDefinition as SystemReminderRuleDefinition, type index_SystemReminderTriggerEvaluator as SystemReminderTriggerEvaluator, index_ToolArgs as ToolArgs, index_ToolCall as ToolCall, index_ToolCallChunk as ToolCallChunk, index_ToolCallExtraContent as ToolCallExtraContent, index_ToolCallResult as ToolCallResult, index_ToolCatalogPort as ToolCatalogPort, index_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index_ToolContextConversationView as ToolContextConversationView, index_ToolContextPatch as ToolContextPatch, index_ToolControlInfo as ToolControlInfo, index_ToolDisplayOptions as ToolDisplayOptions, index_ToolExecutionContext as ToolExecutionContext, index_ToolExecutionPort as ToolExecutionPort, index_ToolExecutionResult as ToolExecutionResult, index_ToolLayoutOptions as ToolLayoutOptions, index_ToolNode as ToolNode, index_ToolParameterProperty as ToolParameterProperty, index_ToolParameterSchema as ToolParameterSchema, index_ToolPresentationPort as ToolPresentationPort, index_ToolRegistryEntry as ToolRegistryEntry, index_ToolResult as ToolResult, index_ToolRuntimeDefinition as ToolRuntimeDefinition, index_ToolRuntimePort as ToolRuntimePort, index_ToolSchemaContext as ToolSchemaContext, index_UnifiedToolResult as UnifiedToolResult, index_UserNode as UserNode, index_WaitUserNode as WaitUserNode, index_agentHasToolTrigger as agentHasToolTrigger, index_appendStreamingProviderReasoningDetails as appendStreamingProviderReasoningDetails, index_applySystemReminders as applySystemReminders, index$
|
|
1535
|
+
export { index_AgentTool as AgentTool, index_AnswerNode as AnswerNode, index_AuditEnvelopePersistenceError as AuditEnvelopePersistenceError, index_BUILTIN_SYSTEM_REMINDER_TEMPLATES as BUILTIN_SYSTEM_REMINDER_TEMPLATES, index_BUILTIN_SYSTEM_REMINDER_TRIGGERS as BUILTIN_SYSTEM_REMINDER_TRIGGERS, index_BaseTool as BaseTool, index_CheckpointListFilter as CheckpointListFilter, index_CheckpointMeta as CheckpointMeta, index_CheckpointSummary as CheckpointSummary, index_Checkpointer as Checkpointer, index_CommonParameterTypes as CommonParameterTypes, type index_CompositeAuditOptions as CompositeAuditOptions, index_CompositeAuditPort as CompositeAuditPort, type index_ConsoleAuditOptions as ConsoleAuditOptions, type index_ContextCheckpointPayload as ContextCheckpointPayload, type index_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index_ContextCheckpointTool as ContextCheckpointTool, type index_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index_ConversationArtifactContext as ConversationArtifactContext, type index_CreateContextComponentLedgerEntryInput as CreateContextComponentLedgerEntryInput, type index_CreateLlmUsageLedgerEntryInput as CreateLlmUsageLedgerEntryInput, index_DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME, index_DefaultGraphExecutorOptions as DefaultGraphExecutorOptions, index_DefaultTokenizerPort as DefaultTokenizerPort, type index_DefaultTokenizerPortConfig as DefaultTokenizerPortConfig, index_ENGINE_ERROR_CODES as ENGINE_ERROR_CODES, index_ENGINE_STATE_SCHEMA_VERSION as ENGINE_STATE_SCHEMA_VERSION, type index_EmitAuditEnvelopeParams as EmitAuditEnvelopeParams, index_EngineState as EngineState, type index_EnrichmentContext as EnrichmentContext, type index_EnrichmentResult as EnrichmentResult, type index_ErrorClassification as ErrorClassification, index_EventBusSubRunTracePublisher as EventBusSubRunTracePublisher, index_EventRangeOptions as EventRangeOptions, index_EventStore as EventStore, type index_EventStoreAuditOptions as EventStoreAuditOptions, index_EventStoreAuditPort as EventStoreAuditPort, index_ExecutorLocalState as ExecutorLocalState, type index_FileAuditOptions as FileAuditOptions, index_FileAuditPort as FileAuditPort, index_GraphAgentExecutor as GraphAgentExecutor, type index_GraphAgentExecutorDependencies as GraphAgentExecutorDependencies, index_GraphExecutor as GraphExecutor, type index_GraphExecutorContextBuildInput as GraphExecutorContextBuildInput, type index_GraphExecutorContextBuildOutput as GraphExecutorContextBuildOutput, type index_GraphExecutorContextBuilder as GraphExecutorContextBuilder, index_GraphLoopHarness as GraphLoopHarness, index_GraphLoopHarnessOptions as GraphLoopHarnessOptions, index_GraphLoopHarnessRunResult as GraphLoopHarnessRunResult, index_GraphLoopLlmNodeFactoryParams as GraphLoopLlmNodeFactoryParams, index_GraphNode as GraphNode, index_JsonObjectSchema as JsonObjectSchema, index_LLMPolicy as LLMPolicy, index_LLMPolicyEngine as LLMPolicyEngine, index_LLMPolicyErrorDecision as LLMPolicyErrorDecision, index_LLMPolicyMatchContext as LLMPolicyMatchContext, index_LLMPolicyRequestContext as LLMPolicyRequestContext, index_LLMPolicyResponseContext as LLMPolicyResponseContext, index_LlmCallOptions as LlmCallOptions, index_LlmCaller as LlmCaller, index_LlmNode as LlmNode, index_LlmRequestMessage as LlmRequestMessage, index_LlmResponseContent as LlmResponseContent, index_LlmRetryConfig as LlmRetryConfig, index_MemoryCheckpointer as MemoryCheckpointer, index_MemoryEventStore as MemoryEventStore, index_ModelCatalogEntry as ModelCatalogEntry, index_ModelCatalogLike as ModelCatalogLike, index_ModelResolver as ModelResolver, index_ObservationPreviewContext as ObservationPreviewContext, index_ObservationPreviewMeta as ObservationPreviewMeta, index_ObservationPreviewPort as ObservationPreviewPort, index_ObservationPreviewResult as ObservationPreviewResult, index_OpenAIToolSchema as OpenAIToolSchema, type index_PendingContextRuntimeEvent as PendingContextRuntimeEvent, index_PersistedEvent as PersistedEvent, index_ProviderReasoningDetails as ProviderReasoningDetails, type index_RegistryEnrichmentResult as RegistryEnrichmentResult, type index_RequestEnricher as RequestEnricher, index_SYSTEM_REMINDER_RULES as SYSTEM_REMINDER_RULES, index_StructuredToolResult as StructuredToolResult, index_SubRunTracePublisher as SubRunTracePublisher, type index_SystemReminderContentTemplate as SystemReminderContentTemplate, type index_SystemReminderContext as SystemReminderContext, index_SystemReminderRegistry as SystemReminderRegistry, type index_SystemReminderRule as SystemReminderRule, type index_SystemReminderRuleDefinition as SystemReminderRuleDefinition, type index_SystemReminderTriggerEvaluator as SystemReminderTriggerEvaluator, index_ToolArgs as ToolArgs, index_ToolCall as ToolCall, index_ToolCallChunk as ToolCallChunk, index_ToolCallExtraContent as ToolCallExtraContent, index_ToolCallResult as ToolCallResult, index_ToolCatalogPort as ToolCatalogPort, index_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index_ToolContextConversationView as ToolContextConversationView, index_ToolContextPatch as ToolContextPatch, index_ToolControlInfo as ToolControlInfo, index_ToolDisplayOptions as ToolDisplayOptions, index_ToolExecutionContext as ToolExecutionContext, index_ToolExecutionPort as ToolExecutionPort, index_ToolExecutionResult as ToolExecutionResult, index_ToolLayoutOptions as ToolLayoutOptions, index_ToolNode as ToolNode, index_ToolParameterProperty as ToolParameterProperty, index_ToolParameterSchema as ToolParameterSchema, index_ToolPresentationPort as ToolPresentationPort, index_ToolRegistryEntry as ToolRegistryEntry, index_ToolResult as ToolResult, index_ToolRuntimeDefinition as ToolRuntimeDefinition, index_ToolRuntimePort as ToolRuntimePort, index_ToolSchemaContext as ToolSchemaContext, index_UnifiedToolResult as UnifiedToolResult, index_UserNode as UserNode, index_WaitUserNode as WaitUserNode, index_addLedgerAggregate as addLedgerAggregate, index_addUsageTotals as addUsageTotals, index_agentHasToolTrigger as agentHasToolTrigger, index_aggregateCanonicalUsage as aggregateCanonicalUsage, index_aggregateTokenLedgerEntries as aggregateTokenLedgerEntries, index_appendStreamingProviderReasoningDetails as appendStreamingProviderReasoningDetails, index_applySystemReminders as applySystemReminders, index$3 as audit, index_budgetWarningTrigger as budgetWarningTrigger, index$7 as childRunTrace, index$8 as childRuns, index_compactProviderReasoningDetails as compactProviderReasoningDetails, index_compactReasoningDetailsInValue as compactReasoningDetailsInValue, index_computeCost as computeCost, index_computeToolIdempotencyKey as computeToolIdempotencyKey, index_consoleAudit as consoleAudit, index_contextBudgetWarningTemplate as contextBudgetWarningTemplate, index_copyToolContextRuntimeCapability as copyToolContextRuntimeCapability, index_countToolCallsInCurrentRequest as countToolCallsInCurrentRequest, index_createCompositeAudit as createCompositeAudit, index_createConsoleAudit as createConsoleAudit, index_createContextCheckpointTool as createContextCheckpointTool, index_createContextComponentLedgerEntry as createContextComponentLedgerEntry, index_createDefaultGraphExecutor as createDefaultGraphExecutor, index_createDefaultSystemReminderRegistry as createDefaultSystemReminderRegistry, index_createDefaultTokenizerPort as createDefaultTokenizerPort, index_createEventStoreAudit as createEventStoreAudit, index_createFileAudit as createFileAudit, index_createGraphLoopHarness as createGraphLoopHarness, index_createLlmUsageLedgerEntry as createLlmUsageLedgerEntry, index_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index_createRunTokenUsageAggregate as createRunTokenUsageAggregate, index_createSystemReminderRules as createSystemReminderRules, index_defaultPolicyEngine as defaultPolicyEngine, index_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index_emitAuditEnvelope as emitAuditEnvelope, index_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$6 as enrichment, index_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$e as events, index$a as execution, index_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$c as graph, index_lastStepsHintTemplate as lastStepsHintTemplate, index$d as llm, index_maxStepsForceFinalAnswerTemplate as maxStepsForceFinalAnswerTemplate, index_noopAudit as noopAudit, index_normalizeToolArgs as normalizeToolArgs, index_periodicTaskstateReflectionTemplate as periodicTaskstateReflectionTemplate, index_phaseEqualsTrigger as phaseEqualsTrigger, index_readContextCheckpointToolName as readContextCheckpointToolName, index_readNonEmptyStrings as readNonEmptyStrings, index_readToolContextModelId as readToolContextModelId, index_readToolContextPersistedHistory as readToolContextPersistedHistory, index_readToolContextRunContext as readToolContextRunContext, index_readToolContextUserQuery as readToolContextUserQuery, index_readToolContextWorkingHistory as readToolContextWorkingHistory, index_remainingStepsLeqTrigger as remainingStepsLeqTrigger, index_requestEnricherRegistry as requestEnricherRegistry, index$9 as runContext, index$5 as runSupervisor, index_stepCountModuloTrigger as stepCountModuloTrigger, index_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch, index_summarizeCheckpoint as summarizeCheckpoint, index$2 as systemReminder, index$4 as telemetry, index_toDisplayStep as toDisplayStep, index$1 as tokenAccounting, index_toolCallStreakTemplate as toolCallStreakTemplate, index_toolCallStreakTrigger as toolCallStreakTrigger, index$b as tools };
|
|
1471
1536
|
}
|
|
1472
1537
|
|
|
1473
|
-
export {
|
|
1538
|
+
export { aggregateTokenLedgerEntries as $, AnswerNode as A, BUILTIN_SYSTEM_REMINDER_TEMPLATES as B, type CompositeAuditOptions as C, DefaultTokenizerPort as D, ENGINE_ERROR_CODES as E, type FileAuditOptions as F, GraphAgentExecutor as G, LlmNode as H, type RequestEnricher as I, type SystemReminderContentTemplate as J, type SystemReminderContext as K, LLMPolicyEngine as L, MemoryCheckpointer as M, SystemReminderRegistry as N, type SystemReminderRule as O, type PendingContextRuntimeEvent as P, type SystemReminderRuleDefinition as Q, type RegistryEnrichmentResult as R, SYSTEM_REMINDER_RULES as S, type SystemReminderTriggerEvaluator as T, ToolNode as U, UserNode as V, WaitUserNode as W, addLedgerAggregate as X, addUsageTotals as Y, agentHasToolTrigger as Z, aggregateCanonicalUsage as _, AuditEnvelopePersistenceError as a, appendStreamingProviderReasoningDetails as a0, applySystemReminders as a1, index$3 as a2, budgetWarningTrigger as a3, index$7 as a4, index$8 as a5, compactProviderReasoningDetails as a6, compactReasoningDetailsInValue as a7, computeCost as a8, consoleAudit as a9, noopAudit as aA, normalizeToolArgs as aB, periodicTaskstateReflectionTemplate as aC, phaseEqualsTrigger as aD, readContextCheckpointToolName as aE, readNonEmptyStrings as aF, readToolContextPersistedHistory as aG, readToolContextWorkingHistory as aH, remainingStepsLeqTrigger as aI, requestEnricherRegistry as aJ, index$9 as aK, index$5 as aL, stepCountModuloTrigger as aM, stripRuntimeReservedToolContextPatch as aN, index$2 as aO, index$4 as aP, toDisplayStep as aQ, index$1 as aR, toolCallStreakTemplate as aS, toolCallStreakTrigger as aT, index$b as aU, contextBudgetWarningTemplate as aa, copyToolContextRuntimeCapability as ab, countToolCallsInCurrentRequest as ac, createCompositeAudit as ad, createConsoleAudit as ae, createContextCheckpointTool as af, createContextComponentLedgerEntry as ag, createDefaultSystemReminderRegistry as ah, createDefaultTokenizerPort as ai, createEventStoreAudit as aj, createFileAudit as ak, createLlmUsageLedgerEntry as al, createRunTokenUsageAggregate as am, createSystemReminderRules as an, defaultPolicyEngine as ao, defaultSystemReminderRegistry as ap, emitAuditEnvelope as aq, emitSandboxDecisionAudit as ar, index$6 as as, ensureToolContextRuntimeCapability as at, index$a as au, getToolContextRuntimeBinding as av, index$c as aw, lastStepsHintTemplate as ax, index$d as ay, maxStepsForceFinalAnswerTemplate as az, BUILTIN_SYSTEM_REMINDER_TRIGGERS as b, CompositeAuditPort as c, type ConsoleAuditOptions as d, type ContextCheckpointPayload as e, type ContextCheckpointPayloadExtension as f, ContextCheckpointTool as g, type ContextCheckpointToolArgs as h, index as i, type ContextCheckpointToolHookParams as j, type ContextCheckpointToolOptions as k, type CreateContextComponentLedgerEntryInput as l, type CreateLlmUsageLedgerEntryInput as m, type DefaultTokenizerPortConfig as n, type EmitAuditEnvelopeParams as o, type EnrichmentContext as p, type EnrichmentResult as q, type ErrorClassification as r, EventBusSubRunTracePublisher as s, type EventStoreAuditOptions as t, EventStoreAuditPort as u, FileAuditPort as v, type GraphAgentExecutorDependencies as w, type GraphExecutorContextBuildInput as x, type GraphExecutorContextBuildOutput as y, type GraphExecutorContextBuilder as z };
|