@linnlabs/linnkit 0.9.0 → 0.10.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 +13 -0
- package/bin/linnkit.cjs +7 -0
- package/dist/{agentSpec-EkmviZjy.d.cts → agentSpec-Du4Iye0q.d.cts} +16 -1
- package/dist/{agentSpec-EkmviZjy.d.ts → agentSpec-Du4Iye0q.d.ts} +16 -1
- package/dist/cli.cjs +118 -65
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +118 -65
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +234 -32
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.d.cts +52 -15
- package/dist/context-manager.d.ts +52 -15
- package/dist/context-manager.js +234 -33
- package/dist/context-manager.js.map +1 -1
- package/dist/{context-trace-HE2qY5Q-.d.cts → context-trace-BHKDS-eq.d.cts} +2 -2
- package/dist/{context-trace-DRi5M4lX.d.ts → context-trace-CHbqHmyE.d.ts} +2 -2
- package/dist/contracts.cjs +3 -1
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +3 -3
- package/dist/contracts.d.ts +3 -3
- package/dist/contracts.js +3 -1
- package/dist/contracts.js.map +1 -1
- package/dist/{defaultGraphExecutor-BBswR8wn.d.ts → defaultGraphExecutor-B29_qTHy.d.ts} +16 -15
- package/dist/{defaultGraphExecutor-BIjJj7WF.d.cts → defaultGraphExecutor-C2E59v_R.d.cts} +16 -15
- package/dist/{index-BanRABEt.d.cts → index-BAaUP9yU.d.cts} +26 -14
- package/dist/{index-Z8NXKNwI.d.ts → index-BaVpVNi2.d.ts} +26 -14
- package/dist/{index-DO4dQgf2.d.cts → index-BnYCS8Zg.d.cts} +2 -2
- package/dist/{index-CJeWHopy.d.ts → index-C0DAjsdX.d.ts} +2 -2
- package/dist/{index-Dl5PLgAv.d.cts → index-CKQzzZ5Y.d.cts} +2 -2
- package/dist/{index-CHqwkvGp.d.ts → index-D0mKxTR5.d.ts} +2 -2
- package/dist/index.cjs +186 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +186 -85
- package/dist/index.js.map +1 -1
- package/dist/{ports-DnLuKfpE.d.ts → ports-DpPTFhSd.d.ts} +2 -2
- package/dist/{ports-DaatKJXp.d.cts → ports-s-tSp3sB.d.cts} +2 -2
- package/dist/quickstart.cjs +119 -65
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.d.cts +7 -7
- package/dist/quickstart.d.ts +7 -7
- package/dist/quickstart.js +119 -65
- package/dist/quickstart.js.map +1 -1
- package/dist/{runAgent-CPj_9e58.d.ts → runAgent-C6F-399C.d.ts} +5 -5
- package/dist/{runAgent-HYKlXbVr.d.cts → runAgent-ilEj66Ik.d.cts} +5 -5
- package/dist/{runHandle-D3gPsD7B.d.cts → runHandle-BNOqS-Bl.d.cts} +3 -3
- package/dist/{runHandle-CyXvzgzk.d.ts → runHandle-BdLXOFqF.d.ts} +3 -3
- package/dist/runtime-kernel/events.cjs +1 -0
- package/dist/runtime-kernel/events.cjs.map +1 -1
- package/dist/runtime-kernel/events.d.cts +4 -4
- package/dist/runtime-kernel/events.d.ts +4 -4
- package/dist/runtime-kernel/events.js +1 -0
- package/dist/runtime-kernel/events.js.map +1 -1
- package/dist/runtime-kernel.cjs +181 -82
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +8 -8
- package/dist/runtime-kernel.d.ts +8 -8
- package/dist/runtime-kernel.js +181 -83
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +181 -82
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.d.cts +8 -8
- package/dist/testkit.d.ts +8 -8
- package/dist/testkit.js +181 -82
- package/dist/testkit.js.map +1 -1
- package/dist/{todo-B1PmDlp3.d.cts → todo-Ca8llpRQ.d.cts} +1 -1
- package/dist/{todo-B1PmDlp3.d.ts → todo-Ca8llpRQ.d.ts} +1 -1
- package/dist/{toolContracts-CLkQmhTG.d.cts → toolContracts-Bm3EZ1UM.d.cts} +13 -2
- package/dist/{toolContracts-Blll0241.d.ts → toolContracts-f8lzZBNa.d.ts} +13 -2
- package/docs/integration/README.md +1 -1
- package/docs/integration/agent-registration-guide.md +1 -1
- package/docs/integration/child-runs.md +4 -1
- package/docs/integration/context-engineering.md +30 -15
- package/docs/integration/context-fences.md +32 -3
- package/docs/integration/llm-provider.md +1 -1
- package/docs/integration/persistence.md +1 -0
- package/docs/integration/run-supervisor.md +3 -0
- package/docs/integration/tool-development-guide.md +7 -5
- package/docs/integration/tool-history.md +43 -17
- package/package.json +4 -3
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
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-C2E59v_R.cjs';
|
|
2
2
|
import { b as AuditPort } from './audit-LeOrm2hX.cjs';
|
|
3
|
-
import {
|
|
3
|
+
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-s-tSp3sB.cjs';
|
|
4
4
|
import { A as AgentInvocationRequest } from './agent-invocation-BHcNfrBV.cjs';
|
|
5
5
|
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-BpeU_XQG.cjs';
|
|
6
|
-
import {
|
|
6
|
+
import { R as RuntimeEvent, E as ErrorEvent } from './todo-Ca8llpRQ.cjs';
|
|
7
7
|
import { A as AnyAgentEvent } from './agentEvents-DEB7Fy_J.cjs';
|
|
8
|
-
import {
|
|
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,
|
|
8
|
+
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-BNOqS-Bl.cjs';
|
|
10
10
|
import { C as CHECKPOINT_MARKER_TYPE, D as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME } from './checkpointMarker-DAI3wUQu.cjs';
|
|
11
11
|
import { a as ExecutionTraceContext, E as EventEnvelope } from './execution-CAIypb41.cjs';
|
|
12
|
-
import { i as index$d } from './index-
|
|
12
|
+
import { i as index$d } from './index-BnYCS8Zg.cjs';
|
|
13
13
|
import { T as TokenizerPort } from './tokenizer-DH_JXv-H.cjs';
|
|
14
|
-
import {
|
|
14
|
+
import { g as AgentSpecContextPolicy, e as AgentSpecSystemReminderPolicy, r as AgentSpecSystemReminderTrigger, q as AgentSpecSystemReminderExtraRule } from './agentSpec-Du4Iye0q.cjs';
|
|
15
15
|
import { e as AuditEnvelope, b as AuditActor, d as AuditDecision, f as AuditEvidence, c as AuditCostDelta, g as AuditScope } from './audit-BaRUGaqv.cjs';
|
|
16
16
|
|
|
17
17
|
interface DefaultTokenizerPortConfig {
|
|
@@ -322,10 +322,10 @@ declare class AnswerNode implements GraphNode {
|
|
|
322
322
|
declare class MemoryCheckpointer implements Checkpointer {
|
|
323
323
|
private store;
|
|
324
324
|
private cloneState;
|
|
325
|
-
load(
|
|
326
|
-
save(
|
|
327
|
-
clear(
|
|
328
|
-
peekMeta(
|
|
325
|
+
load(checkpointKey: string): Promise<EngineState | null>;
|
|
326
|
+
save(checkpointKey: string, state: EngineState): Promise<void>;
|
|
327
|
+
clear(checkpointKey: string): Promise<void>;
|
|
328
|
+
peekMeta(checkpointKey: string): Promise<CheckpointMeta | null>;
|
|
329
329
|
list(filter?: CheckpointListFilter): Promise<CheckpointSummary[]>;
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -465,6 +465,7 @@ declare function ensureToolContextRuntimeCapability(params: {
|
|
|
465
465
|
executionMeta?: ToolContextExecutionMeta;
|
|
466
466
|
}): ToolContextRuntimeBinding;
|
|
467
467
|
declare function getToolContextRuntimeBinding(context: ToolExecutionContext): ToolContextRuntimeBinding | undefined;
|
|
468
|
+
declare function copyToolContextRuntimeCapability(source: ToolExecutionContext, target: ToolExecutionContext): ToolContextRuntimeBinding | undefined;
|
|
468
469
|
declare function readToolContextWorkingHistory(context: ToolExecutionContext): ReadonlyArray<RuntimeEvent>;
|
|
469
470
|
declare function readToolContextPersistedHistory(context: ToolExecutionContext): ReadonlyArray<RuntimeEvent>;
|
|
470
471
|
declare function stripRuntimeReservedToolContextPatch(patch: Partial<ToolExecutionContext> | Record<string, unknown> | undefined): Record<string, unknown>;
|
|
@@ -509,6 +510,7 @@ declare const index$a_ToolRuntimePort: typeof ToolRuntimePort;
|
|
|
509
510
|
declare const index$a_ToolSchemaContext: typeof ToolSchemaContext;
|
|
510
511
|
declare const index$a_UnifiedToolResult: typeof UnifiedToolResult;
|
|
511
512
|
declare const index$a_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
513
|
+
declare const index$a_copyToolContextRuntimeCapability: typeof copyToolContextRuntimeCapability;
|
|
512
514
|
declare const index$a_createContextCheckpointTool: typeof createContextCheckpointTool;
|
|
513
515
|
declare const index$a_ensureToolContextRuntimeCapability: typeof ensureToolContextRuntimeCapability;
|
|
514
516
|
declare const index$a_findCachedToolOutputByIdempotencyKey: typeof findCachedToolOutputByIdempotencyKey;
|
|
@@ -521,7 +523,7 @@ declare const index$a_readToolContextUserQuery: typeof readToolContextUserQuery;
|
|
|
521
523
|
declare const index$a_readToolContextWorkingHistory: typeof readToolContextWorkingHistory;
|
|
522
524
|
declare const index$a_stripRuntimeReservedToolContextPatch: typeof stripRuntimeReservedToolContextPatch;
|
|
523
525
|
declare namespace index$a {
|
|
524
|
-
export { index$a_AgentTool as AgentTool, index$a_BaseTool as BaseTool, index$a_CommonParameterTypes as CommonParameterTypes, type index$a_ContextCheckpointPayload as ContextCheckpointPayload, type index$a_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index$a_ContextCheckpointTool as ContextCheckpointTool, type index$a_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index$a_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index$a_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index$a_ConversationArtifactContext as ConversationArtifactContext, index$a_JsonObjectSchema as JsonObjectSchema, index$a_ObservationPreviewContext as ObservationPreviewContext, index$a_ObservationPreviewMeta as ObservationPreviewMeta, index$a_ObservationPreviewPort as ObservationPreviewPort, index$a_ObservationPreviewResult as ObservationPreviewResult, index$a_OpenAIToolSchema as OpenAIToolSchema, index$a_StructuredToolResult as StructuredToolResult, index$a_ToolArgs as ToolArgs, index$a_ToolCallResult as ToolCallResult, index$a_ToolCatalogPort as ToolCatalogPort, index$a_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index$a_ToolContextConversationView as ToolContextConversationView, index$a_ToolContextPatch as ToolContextPatch, index$a_ToolControlInfo as ToolControlInfo, index$a_ToolDisplayOptions as ToolDisplayOptions, index$a_ToolExecutionContext as ToolExecutionContext, index$a_ToolExecutionPort as ToolExecutionPort, index$a_ToolExecutionResult as ToolExecutionResult, index$a_ToolLayoutOptions as ToolLayoutOptions, index$a_ToolParameterProperty as ToolParameterProperty, index$a_ToolParameterSchema as ToolParameterSchema, index$a_ToolPresentationPort as ToolPresentationPort, index$a_ToolRegistryEntry as ToolRegistryEntry, index$a_ToolResult as ToolResult, index$a_ToolRuntimeDefinition as ToolRuntimeDefinition, index$a_ToolRuntimePort as ToolRuntimePort, index$a_ToolSchemaContext as ToolSchemaContext, index$a_UnifiedToolResult as UnifiedToolResult, index$a_computeToolIdempotencyKey as computeToolIdempotencyKey, index$a_createContextCheckpointTool as createContextCheckpointTool, index$a_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$a_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index$a_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$a_normalizeToolArgs as normalizeToolArgs, index$a_readToolContextModelId as readToolContextModelId, index$a_readToolContextPersistedHistory as readToolContextPersistedHistory, index$a_readToolContextRunContext as readToolContextRunContext, index$a_readToolContextUserQuery as readToolContextUserQuery, index$a_readToolContextWorkingHistory as readToolContextWorkingHistory, index$a_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch };
|
|
526
|
+
export { index$a_AgentTool as AgentTool, index$a_BaseTool as BaseTool, index$a_CommonParameterTypes as CommonParameterTypes, type index$a_ContextCheckpointPayload as ContextCheckpointPayload, type index$a_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index$a_ContextCheckpointTool as ContextCheckpointTool, type index$a_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index$a_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index$a_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index$a_ConversationArtifactContext as ConversationArtifactContext, index$a_JsonObjectSchema as JsonObjectSchema, index$a_ObservationPreviewContext as ObservationPreviewContext, index$a_ObservationPreviewMeta as ObservationPreviewMeta, index$a_ObservationPreviewPort as ObservationPreviewPort, index$a_ObservationPreviewResult as ObservationPreviewResult, index$a_OpenAIToolSchema as OpenAIToolSchema, index$a_StructuredToolResult as StructuredToolResult, index$a_ToolArgs as ToolArgs, index$a_ToolCallResult as ToolCallResult, index$a_ToolCatalogPort as ToolCatalogPort, index$a_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index$a_ToolContextConversationView as ToolContextConversationView, index$a_ToolContextPatch as ToolContextPatch, index$a_ToolControlInfo as ToolControlInfo, index$a_ToolDisplayOptions as ToolDisplayOptions, index$a_ToolExecutionContext as ToolExecutionContext, index$a_ToolExecutionPort as ToolExecutionPort, index$a_ToolExecutionResult as ToolExecutionResult, index$a_ToolLayoutOptions as ToolLayoutOptions, index$a_ToolParameterProperty as ToolParameterProperty, index$a_ToolParameterSchema as ToolParameterSchema, index$a_ToolPresentationPort as ToolPresentationPort, index$a_ToolRegistryEntry as ToolRegistryEntry, index$a_ToolResult as ToolResult, index$a_ToolRuntimeDefinition as ToolRuntimeDefinition, index$a_ToolRuntimePort as ToolRuntimePort, index$a_ToolSchemaContext as ToolSchemaContext, index$a_UnifiedToolResult as UnifiedToolResult, index$a_computeToolIdempotencyKey as computeToolIdempotencyKey, index$a_copyToolContextRuntimeCapability as copyToolContextRuntimeCapability, index$a_createContextCheckpointTool as createContextCheckpointTool, index$a_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$a_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index$a_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$a_normalizeToolArgs as normalizeToolArgs, index$a_readToolContextModelId as readToolContextModelId, index$a_readToolContextPersistedHistory as readToolContextPersistedHistory, index$a_readToolContextRunContext as readToolContextRunContext, index$a_readToolContextUserQuery as readToolContextUserQuery, index$a_readToolContextWorkingHistory as readToolContextWorkingHistory, index$a_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch };
|
|
525
527
|
}
|
|
526
528
|
|
|
527
529
|
/**
|
|
@@ -671,6 +673,15 @@ interface ChildRunInvokeConfig {
|
|
|
671
673
|
agentConfig: ChildRunAgentConfig;
|
|
672
674
|
userMessage: string;
|
|
673
675
|
parentToolContext: ChildRunParentContext;
|
|
676
|
+
/**
|
|
677
|
+
* child-run 的宿主会话归属,用于 RuntimeEvent / Audit / Telemetry。
|
|
678
|
+
*
|
|
679
|
+
* 中文备注:
|
|
680
|
+
* - 同步 child-run 需要独立 checkpoint key 隔离图状态,但审计与 run registry
|
|
681
|
+
* 必须落在 host 注册 child run 时使用的 conversationId 下;
|
|
682
|
+
* - 不传时优先继承 parentToolContext.conversationId,最后才退回内部 checkpoint key。
|
|
683
|
+
*/
|
|
684
|
+
conversationId?: string;
|
|
674
685
|
runId?: string;
|
|
675
686
|
parentRunId?: string;
|
|
676
687
|
abortSignal?: AbortSignal;
|
|
@@ -1414,6 +1425,7 @@ declare const index_compactReasoningDetailsInValue: typeof compactReasoningDetai
|
|
|
1414
1425
|
declare const index_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
1415
1426
|
declare const index_consoleAudit: typeof consoleAudit;
|
|
1416
1427
|
declare const index_contextBudgetWarningTemplate: typeof contextBudgetWarningTemplate;
|
|
1428
|
+
declare const index_copyToolContextRuntimeCapability: typeof copyToolContextRuntimeCapability;
|
|
1417
1429
|
declare const index_countToolCallsInCurrentRequest: typeof countToolCallsInCurrentRequest;
|
|
1418
1430
|
declare const index_createCompositeAudit: typeof createCompositeAudit;
|
|
1419
1431
|
declare const index_createConsoleAudit: typeof createConsoleAudit;
|
|
@@ -1455,7 +1467,7 @@ declare const index_toDisplayStep: typeof toDisplayStep;
|
|
|
1455
1467
|
declare const index_toolCallStreakTemplate: typeof toolCallStreakTemplate;
|
|
1456
1468
|
declare const index_toolCallStreakTrigger: typeof toolCallStreakTrigger;
|
|
1457
1469
|
declare namespace index {
|
|
1458
|
-
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$2 as audit, index_budgetWarningTrigger as budgetWarningTrigger, index$6 as childRunTrace, index$7 as childRuns, index_compactProviderReasoningDetails as compactProviderReasoningDetails, index_compactReasoningDetailsInValue as compactReasoningDetailsInValue, index_computeToolIdempotencyKey as computeToolIdempotencyKey, index_consoleAudit as consoleAudit, index_contextBudgetWarningTemplate as contextBudgetWarningTemplate, index_countToolCallsInCurrentRequest as countToolCallsInCurrentRequest, index_createCompositeAudit as createCompositeAudit, index_createConsoleAudit as createConsoleAudit, index_createContextCheckpointTool as createContextCheckpointTool, 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_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index_createSystemReminderRules as createSystemReminderRules, index_defaultPolicyEngine as defaultPolicyEngine, index_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index_emitAuditEnvelope as emitAuditEnvelope, index_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$5 as enrichment, index_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$d as events, index$9 as execution, index_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$b as graph, index_lastStepsHintTemplate as lastStepsHintTemplate, index$c 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$8 as runContext, index$4 as runSupervisor, index_stepCountModuloTrigger as stepCountModuloTrigger, index_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch, index_summarizeCheckpoint as summarizeCheckpoint, index$1 as systemReminder, index$3 as telemetry, index_toDisplayStep as toDisplayStep, index_toolCallStreakTemplate as toolCallStreakTemplate, index_toolCallStreakTrigger as toolCallStreakTrigger, index$a as tools };
|
|
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$2 as audit, index_budgetWarningTrigger as budgetWarningTrigger, index$6 as childRunTrace, index$7 as childRuns, index_compactProviderReasoningDetails as compactProviderReasoningDetails, index_compactReasoningDetailsInValue as compactReasoningDetailsInValue, 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_createDefaultGraphExecutor as createDefaultGraphExecutor, index_createDefaultSystemReminderRegistry as createDefaultSystemReminderRegistry, index_createDefaultTokenizerPort as createDefaultTokenizerPort, index_createEventStoreAudit as createEventStoreAudit, index_createFileAudit as createFileAudit, index_createGraphLoopHarness as createGraphLoopHarness, index_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index_createSystemReminderRules as createSystemReminderRules, index_defaultPolicyEngine as defaultPolicyEngine, index_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index_emitAuditEnvelope as emitAuditEnvelope, index_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$5 as enrichment, index_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$d as events, index$9 as execution, index_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$b as graph, index_lastStepsHintTemplate as lastStepsHintTemplate, index$c 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$8 as runContext, index$4 as runSupervisor, index_stepCountModuloTrigger as stepCountModuloTrigger, index_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch, index_summarizeCheckpoint as summarizeCheckpoint, index$1 as systemReminder, index$3 as telemetry, index_toDisplayStep as toDisplayStep, index_toolCallStreakTemplate as toolCallStreakTemplate, index_toolCallStreakTrigger as toolCallStreakTrigger, index$a as tools };
|
|
1459
1471
|
}
|
|
1460
1472
|
|
|
1461
|
-
export { index$7 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, type SystemReminderContentTemplate as H, type SystemReminderContext as I, SystemReminderRegistry as J, type SystemReminderRule as K, LLMPolicyEngine as L, MemoryCheckpointer as M, type SystemReminderRuleDefinition as N, type SystemReminderTriggerEvaluator as O, type PendingContextRuntimeEvent as P, agentHasToolTrigger as Q, type RegistryEnrichmentResult as R, SYSTEM_REMINDER_RULES as S, ToolNode as T, UserNode as U, appendStreamingProviderReasoningDetails as V, WaitUserNode as W, applySystemReminders as X, index$2 as Y, budgetWarningTrigger as Z, index$6 as _, AuditEnvelopePersistenceError as a, compactProviderReasoningDetails as a0, compactReasoningDetailsInValue as a1, consoleAudit as a2, contextBudgetWarningTemplate as a3,
|
|
1473
|
+
export { index$7 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, type SystemReminderContentTemplate as H, type SystemReminderContext as I, SystemReminderRegistry as J, type SystemReminderRule as K, LLMPolicyEngine as L, MemoryCheckpointer as M, type SystemReminderRuleDefinition as N, type SystemReminderTriggerEvaluator as O, type PendingContextRuntimeEvent as P, agentHasToolTrigger as Q, type RegistryEnrichmentResult as R, SYSTEM_REMINDER_RULES as S, ToolNode as T, UserNode as U, appendStreamingProviderReasoningDetails as V, WaitUserNode as W, applySystemReminders as X, index$2 as Y, budgetWarningTrigger as Z, index$6 as _, AuditEnvelopePersistenceError as a, compactProviderReasoningDetails as a0, compactReasoningDetailsInValue as a1, consoleAudit as a2, contextBudgetWarningTemplate as a3, copyToolContextRuntimeCapability as a4, countToolCallsInCurrentRequest as a5, createCompositeAudit as a6, createConsoleAudit as a7, createContextCheckpointTool as a8, createDefaultSystemReminderRegistry as a9, index$8 as aA, index$4 as aB, stepCountModuloTrigger as aC, stripRuntimeReservedToolContextPatch as aD, index$1 as aE, index$3 as aF, toDisplayStep as aG, toolCallStreakTemplate as aH, toolCallStreakTrigger as aI, index$a as aJ, createDefaultTokenizerPort as aa, createEventStoreAudit as ab, createFileAudit as ac, createSystemReminderRules as ad, defaultPolicyEngine as ae, defaultSystemReminderRegistry as af, emitAuditEnvelope as ag, emitSandboxDecisionAudit as ah, index$5 as ai, ensureToolContextRuntimeCapability as aj, index$9 as ak, getToolContextRuntimeBinding as al, index$b as am, lastStepsHintTemplate as an, index$c as ao, maxStepsForceFinalAnswerTemplate as ap, noopAudit as aq, normalizeToolArgs as ar, periodicTaskstateReflectionTemplate as as, phaseEqualsTrigger as at, readContextCheckpointToolName as au, readNonEmptyStrings as av, readToolContextPersistedHistory as aw, readToolContextWorkingHistory as ax, remainingStepsLeqTrigger as ay, requestEnricherRegistry 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 DefaultTokenizerPortConfig as l, type EmitAuditEnvelopeParams as m, type EnrichmentContext as n, type EnrichmentResult as o, type ErrorClassification as p, EventBusSubRunTracePublisher as q, type EventStoreAuditOptions as r, EventStoreAuditPort as s, FileAuditPort as t, type GraphAgentExecutorDependencies as u, type GraphExecutorContextBuildInput as v, type GraphExecutorContextBuildOutput as w, type GraphExecutorContextBuilder as x, LlmNode as y, type RequestEnricher as z };
|
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
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-B29_qTHy.js';
|
|
2
2
|
import { b as AuditPort } from './audit-CtcfART1.js';
|
|
3
|
-
import {
|
|
3
|
+
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-DpPTFhSd.js';
|
|
4
4
|
import { A as AgentInvocationRequest } from './agent-invocation-BznDaXDs.js';
|
|
5
5
|
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-vZRnQcJa.js';
|
|
6
|
-
import {
|
|
6
|
+
import { R as RuntimeEvent, E as ErrorEvent } from './todo-Ca8llpRQ.js';
|
|
7
7
|
import { A as AnyAgentEvent } from './agentEvents-DEB7Fy_J.js';
|
|
8
|
-
import {
|
|
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,
|
|
8
|
+
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-f8lzZBNa.js';
|
|
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-BdLXOFqF.js';
|
|
10
10
|
import { C as CHECKPOINT_MARKER_TYPE, D as DEFAULT_CONTEXT_CHECKPOINT_TOOL_NAME } from './checkpointMarker-DAI3wUQu.js';
|
|
11
11
|
import { a as ExecutionTraceContext, E as EventEnvelope } from './execution-CAIypb41.js';
|
|
12
|
-
import { i as index$d } from './index-
|
|
12
|
+
import { i as index$d } from './index-C0DAjsdX.js';
|
|
13
13
|
import { T as TokenizerPort } from './tokenizer-DFL4I7-I.js';
|
|
14
|
-
import {
|
|
14
|
+
import { g as AgentSpecContextPolicy, e as AgentSpecSystemReminderPolicy, r as AgentSpecSystemReminderTrigger, q as AgentSpecSystemReminderExtraRule } from './agentSpec-Du4Iye0q.js';
|
|
15
15
|
import { e as AuditEnvelope, b as AuditActor, d as AuditDecision, f as AuditEvidence, c as AuditCostDelta, g as AuditScope } from './audit-BaRUGaqv.js';
|
|
16
16
|
|
|
17
17
|
interface DefaultTokenizerPortConfig {
|
|
@@ -322,10 +322,10 @@ declare class AnswerNode implements GraphNode {
|
|
|
322
322
|
declare class MemoryCheckpointer implements Checkpointer {
|
|
323
323
|
private store;
|
|
324
324
|
private cloneState;
|
|
325
|
-
load(
|
|
326
|
-
save(
|
|
327
|
-
clear(
|
|
328
|
-
peekMeta(
|
|
325
|
+
load(checkpointKey: string): Promise<EngineState | null>;
|
|
326
|
+
save(checkpointKey: string, state: EngineState): Promise<void>;
|
|
327
|
+
clear(checkpointKey: string): Promise<void>;
|
|
328
|
+
peekMeta(checkpointKey: string): Promise<CheckpointMeta | null>;
|
|
329
329
|
list(filter?: CheckpointListFilter): Promise<CheckpointSummary[]>;
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -465,6 +465,7 @@ declare function ensureToolContextRuntimeCapability(params: {
|
|
|
465
465
|
executionMeta?: ToolContextExecutionMeta;
|
|
466
466
|
}): ToolContextRuntimeBinding;
|
|
467
467
|
declare function getToolContextRuntimeBinding(context: ToolExecutionContext): ToolContextRuntimeBinding | undefined;
|
|
468
|
+
declare function copyToolContextRuntimeCapability(source: ToolExecutionContext, target: ToolExecutionContext): ToolContextRuntimeBinding | undefined;
|
|
468
469
|
declare function readToolContextWorkingHistory(context: ToolExecutionContext): ReadonlyArray<RuntimeEvent>;
|
|
469
470
|
declare function readToolContextPersistedHistory(context: ToolExecutionContext): ReadonlyArray<RuntimeEvent>;
|
|
470
471
|
declare function stripRuntimeReservedToolContextPatch(patch: Partial<ToolExecutionContext> | Record<string, unknown> | undefined): Record<string, unknown>;
|
|
@@ -509,6 +510,7 @@ declare const index$a_ToolRuntimePort: typeof ToolRuntimePort;
|
|
|
509
510
|
declare const index$a_ToolSchemaContext: typeof ToolSchemaContext;
|
|
510
511
|
declare const index$a_UnifiedToolResult: typeof UnifiedToolResult;
|
|
511
512
|
declare const index$a_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
513
|
+
declare const index$a_copyToolContextRuntimeCapability: typeof copyToolContextRuntimeCapability;
|
|
512
514
|
declare const index$a_createContextCheckpointTool: typeof createContextCheckpointTool;
|
|
513
515
|
declare const index$a_ensureToolContextRuntimeCapability: typeof ensureToolContextRuntimeCapability;
|
|
514
516
|
declare const index$a_findCachedToolOutputByIdempotencyKey: typeof findCachedToolOutputByIdempotencyKey;
|
|
@@ -521,7 +523,7 @@ declare const index$a_readToolContextUserQuery: typeof readToolContextUserQuery;
|
|
|
521
523
|
declare const index$a_readToolContextWorkingHistory: typeof readToolContextWorkingHistory;
|
|
522
524
|
declare const index$a_stripRuntimeReservedToolContextPatch: typeof stripRuntimeReservedToolContextPatch;
|
|
523
525
|
declare namespace index$a {
|
|
524
|
-
export { index$a_AgentTool as AgentTool, index$a_BaseTool as BaseTool, index$a_CommonParameterTypes as CommonParameterTypes, type index$a_ContextCheckpointPayload as ContextCheckpointPayload, type index$a_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index$a_ContextCheckpointTool as ContextCheckpointTool, type index$a_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index$a_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index$a_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index$a_ConversationArtifactContext as ConversationArtifactContext, index$a_JsonObjectSchema as JsonObjectSchema, index$a_ObservationPreviewContext as ObservationPreviewContext, index$a_ObservationPreviewMeta as ObservationPreviewMeta, index$a_ObservationPreviewPort as ObservationPreviewPort, index$a_ObservationPreviewResult as ObservationPreviewResult, index$a_OpenAIToolSchema as OpenAIToolSchema, index$a_StructuredToolResult as StructuredToolResult, index$a_ToolArgs as ToolArgs, index$a_ToolCallResult as ToolCallResult, index$a_ToolCatalogPort as ToolCatalogPort, index$a_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index$a_ToolContextConversationView as ToolContextConversationView, index$a_ToolContextPatch as ToolContextPatch, index$a_ToolControlInfo as ToolControlInfo, index$a_ToolDisplayOptions as ToolDisplayOptions, index$a_ToolExecutionContext as ToolExecutionContext, index$a_ToolExecutionPort as ToolExecutionPort, index$a_ToolExecutionResult as ToolExecutionResult, index$a_ToolLayoutOptions as ToolLayoutOptions, index$a_ToolParameterProperty as ToolParameterProperty, index$a_ToolParameterSchema as ToolParameterSchema, index$a_ToolPresentationPort as ToolPresentationPort, index$a_ToolRegistryEntry as ToolRegistryEntry, index$a_ToolResult as ToolResult, index$a_ToolRuntimeDefinition as ToolRuntimeDefinition, index$a_ToolRuntimePort as ToolRuntimePort, index$a_ToolSchemaContext as ToolSchemaContext, index$a_UnifiedToolResult as UnifiedToolResult, index$a_computeToolIdempotencyKey as computeToolIdempotencyKey, index$a_createContextCheckpointTool as createContextCheckpointTool, index$a_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$a_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index$a_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$a_normalizeToolArgs as normalizeToolArgs, index$a_readToolContextModelId as readToolContextModelId, index$a_readToolContextPersistedHistory as readToolContextPersistedHistory, index$a_readToolContextRunContext as readToolContextRunContext, index$a_readToolContextUserQuery as readToolContextUserQuery, index$a_readToolContextWorkingHistory as readToolContextWorkingHistory, index$a_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch };
|
|
526
|
+
export { index$a_AgentTool as AgentTool, index$a_BaseTool as BaseTool, index$a_CommonParameterTypes as CommonParameterTypes, type index$a_ContextCheckpointPayload as ContextCheckpointPayload, type index$a_ContextCheckpointPayloadExtension as ContextCheckpointPayloadExtension, index$a_ContextCheckpointTool as ContextCheckpointTool, type index$a_ContextCheckpointToolArgs as ContextCheckpointToolArgs, type index$a_ContextCheckpointToolHookParams as ContextCheckpointToolHookParams, type index$a_ContextCheckpointToolOptions as ContextCheckpointToolOptions, index$a_ConversationArtifactContext as ConversationArtifactContext, index$a_JsonObjectSchema as JsonObjectSchema, index$a_ObservationPreviewContext as ObservationPreviewContext, index$a_ObservationPreviewMeta as ObservationPreviewMeta, index$a_ObservationPreviewPort as ObservationPreviewPort, index$a_ObservationPreviewResult as ObservationPreviewResult, index$a_OpenAIToolSchema as OpenAIToolSchema, index$a_StructuredToolResult as StructuredToolResult, index$a_ToolArgs as ToolArgs, index$a_ToolCallResult as ToolCallResult, index$a_ToolCatalogPort as ToolCatalogPort, index$a_ToolContextCompatibilityFields as ToolContextCompatibilityFields, index$a_ToolContextConversationView as ToolContextConversationView, index$a_ToolContextPatch as ToolContextPatch, index$a_ToolControlInfo as ToolControlInfo, index$a_ToolDisplayOptions as ToolDisplayOptions, index$a_ToolExecutionContext as ToolExecutionContext, index$a_ToolExecutionPort as ToolExecutionPort, index$a_ToolExecutionResult as ToolExecutionResult, index$a_ToolLayoutOptions as ToolLayoutOptions, index$a_ToolParameterProperty as ToolParameterProperty, index$a_ToolParameterSchema as ToolParameterSchema, index$a_ToolPresentationPort as ToolPresentationPort, index$a_ToolRegistryEntry as ToolRegistryEntry, index$a_ToolResult as ToolResult, index$a_ToolRuntimeDefinition as ToolRuntimeDefinition, index$a_ToolRuntimePort as ToolRuntimePort, index$a_ToolSchemaContext as ToolSchemaContext, index$a_UnifiedToolResult as UnifiedToolResult, index$a_computeToolIdempotencyKey as computeToolIdempotencyKey, index$a_copyToolContextRuntimeCapability as copyToolContextRuntimeCapability, index$a_createContextCheckpointTool as createContextCheckpointTool, index$a_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$a_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index$a_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$a_normalizeToolArgs as normalizeToolArgs, index$a_readToolContextModelId as readToolContextModelId, index$a_readToolContextPersistedHistory as readToolContextPersistedHistory, index$a_readToolContextRunContext as readToolContextRunContext, index$a_readToolContextUserQuery as readToolContextUserQuery, index$a_readToolContextWorkingHistory as readToolContextWorkingHistory, index$a_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch };
|
|
525
527
|
}
|
|
526
528
|
|
|
527
529
|
/**
|
|
@@ -671,6 +673,15 @@ interface ChildRunInvokeConfig {
|
|
|
671
673
|
agentConfig: ChildRunAgentConfig;
|
|
672
674
|
userMessage: string;
|
|
673
675
|
parentToolContext: ChildRunParentContext;
|
|
676
|
+
/**
|
|
677
|
+
* child-run 的宿主会话归属,用于 RuntimeEvent / Audit / Telemetry。
|
|
678
|
+
*
|
|
679
|
+
* 中文备注:
|
|
680
|
+
* - 同步 child-run 需要独立 checkpoint key 隔离图状态,但审计与 run registry
|
|
681
|
+
* 必须落在 host 注册 child run 时使用的 conversationId 下;
|
|
682
|
+
* - 不传时优先继承 parentToolContext.conversationId,最后才退回内部 checkpoint key。
|
|
683
|
+
*/
|
|
684
|
+
conversationId?: string;
|
|
674
685
|
runId?: string;
|
|
675
686
|
parentRunId?: string;
|
|
676
687
|
abortSignal?: AbortSignal;
|
|
@@ -1414,6 +1425,7 @@ declare const index_compactReasoningDetailsInValue: typeof compactReasoningDetai
|
|
|
1414
1425
|
declare const index_computeToolIdempotencyKey: typeof computeToolIdempotencyKey;
|
|
1415
1426
|
declare const index_consoleAudit: typeof consoleAudit;
|
|
1416
1427
|
declare const index_contextBudgetWarningTemplate: typeof contextBudgetWarningTemplate;
|
|
1428
|
+
declare const index_copyToolContextRuntimeCapability: typeof copyToolContextRuntimeCapability;
|
|
1417
1429
|
declare const index_countToolCallsInCurrentRequest: typeof countToolCallsInCurrentRequest;
|
|
1418
1430
|
declare const index_createCompositeAudit: typeof createCompositeAudit;
|
|
1419
1431
|
declare const index_createConsoleAudit: typeof createConsoleAudit;
|
|
@@ -1455,7 +1467,7 @@ declare const index_toDisplayStep: typeof toDisplayStep;
|
|
|
1455
1467
|
declare const index_toolCallStreakTemplate: typeof toolCallStreakTemplate;
|
|
1456
1468
|
declare const index_toolCallStreakTrigger: typeof toolCallStreakTrigger;
|
|
1457
1469
|
declare namespace index {
|
|
1458
|
-
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$2 as audit, index_budgetWarningTrigger as budgetWarningTrigger, index$6 as childRunTrace, index$7 as childRuns, index_compactProviderReasoningDetails as compactProviderReasoningDetails, index_compactReasoningDetailsInValue as compactReasoningDetailsInValue, index_computeToolIdempotencyKey as computeToolIdempotencyKey, index_consoleAudit as consoleAudit, index_contextBudgetWarningTemplate as contextBudgetWarningTemplate, index_countToolCallsInCurrentRequest as countToolCallsInCurrentRequest, index_createCompositeAudit as createCompositeAudit, index_createConsoleAudit as createConsoleAudit, index_createContextCheckpointTool as createContextCheckpointTool, 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_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index_createSystemReminderRules as createSystemReminderRules, index_defaultPolicyEngine as defaultPolicyEngine, index_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index_emitAuditEnvelope as emitAuditEnvelope, index_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$5 as enrichment, index_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$d as events, index$9 as execution, index_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$b as graph, index_lastStepsHintTemplate as lastStepsHintTemplate, index$c 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$8 as runContext, index$4 as runSupervisor, index_stepCountModuloTrigger as stepCountModuloTrigger, index_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch, index_summarizeCheckpoint as summarizeCheckpoint, index$1 as systemReminder, index$3 as telemetry, index_toDisplayStep as toDisplayStep, index_toolCallStreakTemplate as toolCallStreakTemplate, index_toolCallStreakTrigger as toolCallStreakTrigger, index$a as tools };
|
|
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$2 as audit, index_budgetWarningTrigger as budgetWarningTrigger, index$6 as childRunTrace, index$7 as childRuns, index_compactProviderReasoningDetails as compactProviderReasoningDetails, index_compactReasoningDetailsInValue as compactReasoningDetailsInValue, 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_createDefaultGraphExecutor as createDefaultGraphExecutor, index_createDefaultSystemReminderRegistry as createDefaultSystemReminderRegistry, index_createDefaultTokenizerPort as createDefaultTokenizerPort, index_createEventStoreAudit as createEventStoreAudit, index_createFileAudit as createFileAudit, index_createGraphLoopHarness as createGraphLoopHarness, index_createMonotonicEventIdFactory as createMonotonicEventIdFactory, index_createSystemReminderRules as createSystemReminderRules, index_defaultPolicyEngine as defaultPolicyEngine, index_defaultSystemReminderRegistry as defaultSystemReminderRegistry, index_emitAuditEnvelope as emitAuditEnvelope, index_emitSandboxDecisionAudit as emitSandboxDecisionAudit, index$5 as enrichment, index_ensureToolContextRuntimeCapability as ensureToolContextRuntimeCapability, index$d as events, index$9 as execution, index_findCachedToolOutputByIdempotencyKey as findCachedToolOutputByIdempotencyKey, index_getToolContextRuntimeBinding as getToolContextRuntimeBinding, index$b as graph, index_lastStepsHintTemplate as lastStepsHintTemplate, index$c 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$8 as runContext, index$4 as runSupervisor, index_stepCountModuloTrigger as stepCountModuloTrigger, index_stripRuntimeReservedToolContextPatch as stripRuntimeReservedToolContextPatch, index_summarizeCheckpoint as summarizeCheckpoint, index$1 as systemReminder, index$3 as telemetry, index_toDisplayStep as toDisplayStep, index_toolCallStreakTemplate as toolCallStreakTemplate, index_toolCallStreakTrigger as toolCallStreakTrigger, index$a as tools };
|
|
1459
1471
|
}
|
|
1460
1472
|
|
|
1461
|
-
export { index$7 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, type SystemReminderContentTemplate as H, type SystemReminderContext as I, SystemReminderRegistry as J, type SystemReminderRule as K, LLMPolicyEngine as L, MemoryCheckpointer as M, type SystemReminderRuleDefinition as N, type SystemReminderTriggerEvaluator as O, type PendingContextRuntimeEvent as P, agentHasToolTrigger as Q, type RegistryEnrichmentResult as R, SYSTEM_REMINDER_RULES as S, ToolNode as T, UserNode as U, appendStreamingProviderReasoningDetails as V, WaitUserNode as W, applySystemReminders as X, index$2 as Y, budgetWarningTrigger as Z, index$6 as _, AuditEnvelopePersistenceError as a, compactProviderReasoningDetails as a0, compactReasoningDetailsInValue as a1, consoleAudit as a2, contextBudgetWarningTemplate as a3,
|
|
1473
|
+
export { index$7 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, type SystemReminderContentTemplate as H, type SystemReminderContext as I, SystemReminderRegistry as J, type SystemReminderRule as K, LLMPolicyEngine as L, MemoryCheckpointer as M, type SystemReminderRuleDefinition as N, type SystemReminderTriggerEvaluator as O, type PendingContextRuntimeEvent as P, agentHasToolTrigger as Q, type RegistryEnrichmentResult as R, SYSTEM_REMINDER_RULES as S, ToolNode as T, UserNode as U, appendStreamingProviderReasoningDetails as V, WaitUserNode as W, applySystemReminders as X, index$2 as Y, budgetWarningTrigger as Z, index$6 as _, AuditEnvelopePersistenceError as a, compactProviderReasoningDetails as a0, compactReasoningDetailsInValue as a1, consoleAudit as a2, contextBudgetWarningTemplate as a3, copyToolContextRuntimeCapability as a4, countToolCallsInCurrentRequest as a5, createCompositeAudit as a6, createConsoleAudit as a7, createContextCheckpointTool as a8, createDefaultSystemReminderRegistry as a9, index$8 as aA, index$4 as aB, stepCountModuloTrigger as aC, stripRuntimeReservedToolContextPatch as aD, index$1 as aE, index$3 as aF, toDisplayStep as aG, toolCallStreakTemplate as aH, toolCallStreakTrigger as aI, index$a as aJ, createDefaultTokenizerPort as aa, createEventStoreAudit as ab, createFileAudit as ac, createSystemReminderRules as ad, defaultPolicyEngine as ae, defaultSystemReminderRegistry as af, emitAuditEnvelope as ag, emitSandboxDecisionAudit as ah, index$5 as ai, ensureToolContextRuntimeCapability as aj, index$9 as ak, getToolContextRuntimeBinding as al, index$b as am, lastStepsHintTemplate as an, index$c as ao, maxStepsForceFinalAnswerTemplate as ap, noopAudit as aq, normalizeToolArgs as ar, periodicTaskstateReflectionTemplate as as, phaseEqualsTrigger as at, readContextCheckpointToolName as au, readNonEmptyStrings as av, readToolContextPersistedHistory as aw, readToolContextWorkingHistory as ax, remainingStepsLeqTrigger as ay, requestEnricherRegistry 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 DefaultTokenizerPortConfig as l, type EmitAuditEnvelopeParams as m, type EnrichmentContext as n, type EnrichmentResult as o, type ErrorClassification as p, EventBusSubRunTracePublisher as q, type EventStoreAuditOptions as r, EventStoreAuditPort as s, FileAuditPort as t, type GraphAgentExecutorDependencies as u, type GraphExecutorContextBuildInput as v, type GraphExecutorContextBuildOutput as w, type GraphExecutorContextBuilder as x, LlmNode as y, type RequestEnricher as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { A as AnyAgentEvent } from './agentEvents-DEB7Fy_J.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { R as RuntimeEvent } from './todo-Ca8llpRQ.cjs';
|
|
4
4
|
import { A as AiMessage } from './messages-XthmnHZ3.cjs';
|
|
5
|
-
import {
|
|
5
|
+
import { c as ToolPresentationPort } from './ports-s-tSp3sB.cjs';
|
|
6
6
|
import { a as SSEEvent } from './sse-vPyrOPa0.cjs';
|
|
7
7
|
|
|
8
8
|
interface EventMappingContext {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { A as AnyAgentEvent } from './agentEvents-DEB7Fy_J.js';
|
|
3
|
-
import {
|
|
3
|
+
import { R as RuntimeEvent } from './todo-Ca8llpRQ.js';
|
|
4
4
|
import { A as AiMessage } from './messages-XthmnHZ3.js';
|
|
5
|
-
import {
|
|
5
|
+
import { c as ToolPresentationPort } from './ports-DpPTFhSd.js';
|
|
6
6
|
import { a as SSEEvent } from './sse-vPyrOPa0.js';
|
|
7
7
|
|
|
8
8
|
interface EventMappingContext {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AiMessage, a as AssistantMessage, H as HistorySummaryMeta, I as ImageInfoMeta, P as PersistentMetadata, b as ProviderReasoningDetails, S as SystemMessage, T as TaskTrackingMeta, c as ToolCallExtraContent, d as ToolCallWire, e as ToolCallsMeta, f as ToolMessage, g as ToolOutputMeta, U as UserMessage, h as createAssistantMessage, i as createHistorySummaryMessage, j as createSystemMessage, k as createToolMessage, l as createUserMessage, m as hasToolCalls, n as isAssistantMessage, o as isHistorySummaryMessage, p as isSystemMessage, q as isToolMessage, r as isUserMessage, v as validateAiMessage, s as validateHistorySummaryMeta } from './messages-XthmnHZ3.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { i as AgentCapability, f as AgentSpec, j as AgentSpecAuditConfig, k as AgentSpecBudgetPolicy, b as AgentSpecCheckpointPolicy, g as AgentSpecContextPolicy, h as AgentSpecContextPolicyInput, d as AgentSpecContextTracePolicy, l as AgentSpecMessageType, m as AgentSpecModelHints, n as AgentSpecMustKeepPolicy, o as AgentSpecMustKeepTruncationRule, a as AgentSpecProviderReplayPolicy, p as AgentSpecReasoningRetentionPolicy, c as AgentSpecSummarizationPolicy, q as AgentSpecSystemReminderExtraRule, e as AgentSpecSystemReminderPolicy, r as AgentSpecSystemReminderTrigger, s as AgentSpecTokenEstimationPolicy, t as AgentSpecToolHistoryPolicy, u as AgentSpecToolObservationGovernancePolicy, A as AgentSpecToolOutputPolicy, v as AgentSpecWorkingMemoryPolicy, S as SYSTEM_REMINDER_BUILTIN_TRIGGER_KINDS, T as ToolBindingSpec, w as defineContextPolicy } from './agentSpec-Du4Iye0q.cjs';
|
|
3
3
|
import { A as AUDIT_ACTIONS, a as AUDIT_DECISION_OUTCOMES, b as AuditActor, c as AuditCostDelta, d as AuditDecision, e as AuditEnvelope, f as AuditEvidence, g as AuditScope } from './audit-BaRUGaqv.cjs';
|
|
4
|
-
import { A as AgentTodoItem, a as AgentTodoSnapshot, b as AgentTodoStatus, c as AuditEnvelopeEvent, B as BaseEvent, C as ControlEvent, E as ErrorEvent, F as FinalAnswerChunkEvent, d as FinalAnswerEvent, H as HistorySummaryEvent, P as ProviderReasoningDetailsPayload,
|
|
4
|
+
import { A as AgentTodoItem, a as AgentTodoSnapshot, b as AgentTodoStatus, c as AuditEnvelopeEvent, B as BaseEvent, C as ControlEvent, E as ErrorEvent, F as FinalAnswerChunkEvent, d as FinalAnswerEvent, H as HistorySummaryEvent, P as ProviderReasoningDetailsPayload, e as RequiresUserInteractionEvent, R as RuntimeEvent, S as Status, f as StreamEndEvent, g as SubRunTraceEvent, T as ThoughtEvent, h as TodoUpdatedEvent, i as ToolCallDecisionEvent, j as ToolCallDecisionPayload, k as ToolCallPhase, l as ToolOutputEvent, m as ToolProcessEvent, U as UserInputEvent, n as createAuditEnvelopeEvent, o as createErrorEvent, p as createFinalAnswerChunkEvent, q as createFinalAnswerEvent, r as createHistorySummaryEvent, s as createStreamEndEvent, t as createSubRunTraceEvent, u as createThoughtEvent, v as createTodoUpdatedEvent, w as createToolCallDecisionEvent, x as createToolOutputEvent, y as createToolProcessEvent, z as createUserInputEvent, D as validateRuntimeEvent, G as validateRuntimeEvents } from './todo-Ca8llpRQ.cjs';
|
|
5
5
|
import { E as EventEnvelope, a as ExecutionTraceContext } from './execution-CAIypb41.cjs';
|
|
6
6
|
import { B as BaseSSEEvent, S as SSEErrorEvent, a as SSEEvent, b as SSEFinalAnswerChunkEvent, c as SSEFinalAnswerEvent, d as SSEHistorySummaryEvent, e as SSEMarkdownChunkEvent, f as SSERequiresUserInteractionEvent, g as SSEStreamEndEvent, h as SSESubRunTraceEvent, i as SSESummarizationEndEvent, j as SSESummarizationErrorEvent, k as SSESummarizationStartEvent, l as SSEThoughtEvent, m as SSETodoUpdatedEvent, n as SSEToolCallDecisionEvent, o as SSEToolOutputEvent, p as SSEToolProcessEvent, q as createSSEErrorEvent, r as createSSEFinalAnswerChunkEvent, s as createSSEFinalAnswerEvent, t as createSSEHistorySummaryEvent, u as createSSEMarkdownChunkEvent, v as createSSERequiresUserInteractionEvent, w as createSSEStreamEndEvent, x as createSSESubRunTraceEvent, y as createSSEThoughtEvent, z as createSSETodoUpdatedEvent, A as createSSEToolCallDecisionEvent, C as createSSEToolOutputEvent, D as createSSEToolProcessEvent, E as validateSSEEvent } from './sse-vPyrOPa0.cjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AiMessage, a as AssistantMessage, H as HistorySummaryMeta, I as ImageInfoMeta, P as PersistentMetadata, b as ProviderReasoningDetails, S as SystemMessage, T as TaskTrackingMeta, c as ToolCallExtraContent, d as ToolCallWire, e as ToolCallsMeta, f as ToolMessage, g as ToolOutputMeta, U as UserMessage, h as createAssistantMessage, i as createHistorySummaryMessage, j as createSystemMessage, k as createToolMessage, l as createUserMessage, m as hasToolCalls, n as isAssistantMessage, o as isHistorySummaryMessage, p as isSystemMessage, q as isToolMessage, r as isUserMessage, v as validateAiMessage, s as validateHistorySummaryMeta } from './messages-XthmnHZ3.js';
|
|
2
|
-
import {
|
|
2
|
+
import { i as AgentCapability, f as AgentSpec, j as AgentSpecAuditConfig, k as AgentSpecBudgetPolicy, b as AgentSpecCheckpointPolicy, g as AgentSpecContextPolicy, h as AgentSpecContextPolicyInput, d as AgentSpecContextTracePolicy, l as AgentSpecMessageType, m as AgentSpecModelHints, n as AgentSpecMustKeepPolicy, o as AgentSpecMustKeepTruncationRule, a as AgentSpecProviderReplayPolicy, p as AgentSpecReasoningRetentionPolicy, c as AgentSpecSummarizationPolicy, q as AgentSpecSystemReminderExtraRule, e as AgentSpecSystemReminderPolicy, r as AgentSpecSystemReminderTrigger, s as AgentSpecTokenEstimationPolicy, t as AgentSpecToolHistoryPolicy, u as AgentSpecToolObservationGovernancePolicy, A as AgentSpecToolOutputPolicy, v as AgentSpecWorkingMemoryPolicy, S as SYSTEM_REMINDER_BUILTIN_TRIGGER_KINDS, T as ToolBindingSpec, w as defineContextPolicy } from './agentSpec-Du4Iye0q.js';
|
|
3
3
|
import { A as AUDIT_ACTIONS, a as AUDIT_DECISION_OUTCOMES, b as AuditActor, c as AuditCostDelta, d as AuditDecision, e as AuditEnvelope, f as AuditEvidence, g as AuditScope } from './audit-BaRUGaqv.js';
|
|
4
|
-
import { A as AgentTodoItem, a as AgentTodoSnapshot, b as AgentTodoStatus, c as AuditEnvelopeEvent, B as BaseEvent, C as ControlEvent, E as ErrorEvent, F as FinalAnswerChunkEvent, d as FinalAnswerEvent, H as HistorySummaryEvent, P as ProviderReasoningDetailsPayload,
|
|
4
|
+
import { A as AgentTodoItem, a as AgentTodoSnapshot, b as AgentTodoStatus, c as AuditEnvelopeEvent, B as BaseEvent, C as ControlEvent, E as ErrorEvent, F as FinalAnswerChunkEvent, d as FinalAnswerEvent, H as HistorySummaryEvent, P as ProviderReasoningDetailsPayload, e as RequiresUserInteractionEvent, R as RuntimeEvent, S as Status, f as StreamEndEvent, g as SubRunTraceEvent, T as ThoughtEvent, h as TodoUpdatedEvent, i as ToolCallDecisionEvent, j as ToolCallDecisionPayload, k as ToolCallPhase, l as ToolOutputEvent, m as ToolProcessEvent, U as UserInputEvent, n as createAuditEnvelopeEvent, o as createErrorEvent, p as createFinalAnswerChunkEvent, q as createFinalAnswerEvent, r as createHistorySummaryEvent, s as createStreamEndEvent, t as createSubRunTraceEvent, u as createThoughtEvent, v as createTodoUpdatedEvent, w as createToolCallDecisionEvent, x as createToolOutputEvent, y as createToolProcessEvent, z as createUserInputEvent, D as validateRuntimeEvent, G as validateRuntimeEvents } from './todo-Ca8llpRQ.js';
|
|
5
5
|
import { E as EventEnvelope, a as ExecutionTraceContext } from './execution-CAIypb41.js';
|
|
6
6
|
import { B as BaseSSEEvent, S as SSEErrorEvent, a as SSEEvent, b as SSEFinalAnswerChunkEvent, c as SSEFinalAnswerEvent, d as SSEHistorySummaryEvent, e as SSEMarkdownChunkEvent, f as SSERequiresUserInteractionEvent, g as SSEStreamEndEvent, h as SSESubRunTraceEvent, i as SSESummarizationEndEvent, j as SSESummarizationErrorEvent, k as SSESummarizationStartEvent, l as SSEThoughtEvent, m as SSETodoUpdatedEvent, n as SSEToolCallDecisionEvent, o as SSEToolOutputEvent, p as SSEToolProcessEvent, q as createSSEErrorEvent, r as createSSEFinalAnswerChunkEvent, s as createSSEFinalAnswerEvent, t as createSSEHistorySummaryEvent, u as createSSEMarkdownChunkEvent, v as createSSERequiresUserInteractionEvent, w as createSSEStreamEndEvent, x as createSSESubRunTraceEvent, y as createSSEThoughtEvent, z as createSSETodoUpdatedEvent, A as createSSEToolCallDecisionEvent, C as createSSEToolOutputEvent, D as createSSEToolProcessEvent, E as validateSSEEvent } from './sse-vPyrOPa0.js';
|
|
7
7
|
|