@linnlabs/linnkit 0.31.1 → 0.32.1
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 +22 -0
- package/dist/cli.cjs +14 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +14 -1
- package/dist/cli.js.map +1 -1
- package/dist/context-manager/features/context-compaction/definitions/contextCheckpointFormat.d.cts +3 -0
- package/dist/context-manager/features/context-compaction/definitions/contextCheckpointFormat.d.ts +3 -0
- package/dist/context-manager/features/context-compaction/definitions/historySummaryDraft.d.cts +22 -0
- package/dist/context-manager/features/context-compaction/definitions/historySummaryDraft.d.ts +22 -0
- package/dist/context-manager/profiles/agent/config.d.cts +33 -0
- package/dist/context-manager/profiles/agent/config.d.ts +33 -0
- package/dist/context-manager/profiles/agent/context/AgentContextManager.d.cts +132 -0
- package/dist/context-manager/profiles/agent/context/AgentContextManager.d.ts +132 -0
- package/dist/context-manager/profiles/agent/context/ConversationSession.d.cts +131 -0
- package/dist/context-manager/profiles/agent/context/ConversationSession.d.ts +131 -0
- package/dist/context-manager/profiles/agent/context/config.d.cts +191 -0
- package/dist/context-manager/profiles/agent/context/config.d.ts +191 -0
- package/dist/context-manager/profiles/agent/context/index.d.cts +8 -0
- package/dist/context-manager/profiles/agent/context/index.d.ts +8 -0
- package/dist/context-manager/profiles/agent/context/providers/AgentCoreContextProvider.d.cts +52 -0
- package/dist/context-manager/profiles/agent/context/providers/AgentCoreContextProvider.d.ts +52 -0
- package/dist/context-manager/profiles/agent/context/providers/AgentWorkingMemoryProvider.d.cts +50 -0
- package/dist/context-manager/profiles/agent/context/providers/AgentWorkingMemoryProvider.d.ts +50 -0
- package/dist/context-manager/profiles/agent/context/providers/base.d.cts +11 -0
- package/dist/context-manager/profiles/agent/context/providers/base.d.ts +11 -0
- package/dist/context-manager/profiles/agent/context/providers/index.d.cts +12 -0
- package/dist/context-manager/profiles/agent/context/providers/index.d.ts +12 -0
- package/dist/context-manager/profiles/agent/contracts.d.cts +27 -0
- package/dist/context-manager/profiles/agent/contracts.d.ts +27 -0
- package/dist/context-manager/profiles/agent/orchestration/AgentMessageOrchestrator.d.cts +140 -0
- package/dist/context-manager/profiles/agent/orchestration/AgentMessageOrchestrator.d.ts +140 -0
- package/dist/context-manager/profiles/agent/orchestration/index.d.cts +1 -0
- package/dist/context-manager/profiles/agent/orchestration/index.d.ts +1 -0
- package/dist/context-manager/profiles/agent/preprocessors/base.d.cts +17 -0
- package/dist/context-manager/profiles/agent/preprocessors/base.d.ts +17 -0
- package/dist/context-manager/profiles/agent/preprocessors/index.d.cts +117 -0
- package/dist/context-manager/profiles/agent/preprocessors/index.d.ts +117 -0
- package/dist/context-manager/profiles/agent/preprocessors/toolHistoryCompressor.d.cts +47 -0
- package/dist/context-manager/profiles/agent/preprocessors/toolHistoryCompressor.d.ts +47 -0
- package/dist/context-manager/profiles/agent/preprocessors/toolReplayProtocolGuard.d.cts +27 -0
- package/dist/context-manager/profiles/agent/preprocessors/toolReplayProtocolGuard.d.ts +27 -0
- package/dist/context-manager/profiles/agent/tasks/BaseAgentTask.d.cts +43 -0
- package/dist/context-manager/profiles/agent/tasks/BaseAgentTask.d.ts +43 -0
- package/dist/context-manager/profiles/agent/tasks/base.d.cts +18 -0
- package/dist/context-manager/profiles/agent/tasks/base.d.ts +18 -0
- package/dist/context-manager/profiles/agent/tasks/index.d.cts +2 -0
- package/dist/context-manager/profiles/agent/tasks/index.d.ts +2 -0
- package/dist/context-manager/profiles/agent/tools/ToolManager.d.cts +27 -0
- package/dist/context-manager/profiles/agent/tools/ToolManager.d.ts +27 -0
- package/dist/context-manager/profiles/agent/tools/index.d.cts +1 -0
- package/dist/context-manager/profiles/agent/tools/index.d.ts +1 -0
- package/dist/context-manager/profiles/agent/utils/eventConverter.d.cts +15 -0
- package/dist/context-manager/profiles/agent/utils/eventConverter.d.ts +15 -0
- package/dist/context-manager/profiles/agent/utils/index.d.cts +2 -0
- package/dist/context-manager/profiles/agent/utils/index.d.ts +2 -0
- package/dist/context-manager/profiles/agent/utils/toolOutputSummarizer.d.cts +26 -0
- package/dist/context-manager/profiles/agent/utils/toolOutputSummarizer.d.ts +26 -0
- package/dist/context-manager/shared/MessageFormatter.d.cts +55 -0
- package/dist/context-manager/shared/MessageFormatter.d.ts +55 -0
- package/dist/context-manager/shared/agentSpecAdapter.d.cts +63 -0
- package/dist/context-manager/shared/agentSpecAdapter.d.ts +63 -0
- package/dist/context-manager/shared/context-manager-base.d.cts +102 -0
- package/dist/context-manager/shared/context-manager-base.d.ts +102 -0
- package/dist/context-manager/shared/context-pipeline.d.cts +42 -0
- package/dist/context-manager/shared/context-pipeline.d.ts +42 -0
- package/dist/context-manager/shared/context-trace.d.cts +102 -0
- package/dist/context-manager/shared/context-trace.d.ts +102 -0
- package/dist/context-manager/shared/contextPolicyMerge.d.cts +19 -0
- package/dist/context-manager/shared/contextPolicyMerge.d.ts +19 -0
- package/dist/context-manager/shared/contracts/chatLineMessage.d.cts +15 -0
- package/dist/context-manager/shared/contracts/chatLineMessage.d.ts +15 -0
- package/dist/context-manager/shared/fences/FenceRegistry.d.cts +24 -0
- package/dist/context-manager/shared/fences/FenceRegistry.d.ts +24 -0
- package/dist/context-manager/shared/image-input-estimation.d.cts +16 -0
- package/dist/context-manager/shared/image-input-estimation.d.ts +16 -0
- package/dist/context-manager/shared/policies/MustKeepPolicy.d.cts +19 -0
- package/dist/context-manager/shared/policies/MustKeepPolicy.d.ts +19 -0
- package/dist/context-manager/shared/preprocessors/base.d.cts +43 -0
- package/dist/context-manager/shared/preprocessors/base.d.ts +43 -0
- package/dist/context-manager/shared/preprocessors/currentTurnMessageAssembler.d.cts +26 -0
- package/dist/context-manager/shared/preprocessors/currentTurnMessageAssembler.d.ts +26 -0
- package/dist/context-manager/shared/preprocessors/fenceLifetimeManager.d.cts +18 -0
- package/dist/context-manager/shared/preprocessors/fenceLifetimeManager.d.ts +18 -0
- package/dist/context-manager/shared/preprocessors/historyPurification.d.cts +19 -0
- package/dist/context-manager/shared/preprocessors/historyPurification.d.ts +19 -0
- package/dist/context-manager/shared/preprocessors/priority.d.cts +17 -0
- package/dist/context-manager/shared/preprocessors/priority.d.ts +17 -0
- package/dist/context-manager/shared/providers/base.d.cts +106 -0
- package/dist/context-manager/shared/providers/base.d.ts +106 -0
- package/dist/context-manager/shared/providers/registry.d.cts +11 -0
- package/dist/context-manager/shared/providers/registry.d.ts +11 -0
- package/dist/context-manager/shared/token-calibration.d.cts +25 -0
- package/dist/context-manager/shared/token-calibration.d.ts +25 -0
- package/dist/context-manager.d.cts +34 -1559
- package/dist/context-manager.d.ts +34 -1559
- package/dist/contracts/agentSpec.d.cts +869 -0
- package/dist/contracts/agentSpec.d.ts +869 -0
- package/dist/{audit-XsNMTt0-.d.cts → contracts/audit.d.cts} +33 -33
- package/dist/{audit-XsNMTt0-.d.ts → contracts/audit.d.ts} +33 -33
- package/dist/contracts/constants.d.cts +3 -0
- package/dist/contracts/constants.d.ts +3 -0
- package/dist/contracts/contextCompaction.d.cts +43 -0
- package/dist/contracts/contextCompaction.d.ts +43 -0
- package/dist/contracts/contextPolicy.d.cts +1121 -0
- package/dist/contracts/contextPolicy.d.ts +1121 -0
- package/dist/{final-answer-oOQ_7nPt.d.ts → contracts/events.d.cts} +1219 -1222
- package/dist/{final-answer-B0_kx5_U.d.cts → contracts/events.d.ts} +1219 -1222
- package/dist/{execution-B7e01ZjW.d.cts → contracts/execution.d.cts} +21 -21
- package/dist/{execution-B7e01ZjW.d.ts → contracts/execution.d.ts} +21 -21
- package/dist/contracts/final-answer.d.cts +7 -0
- package/dist/contracts/final-answer.d.ts +7 -0
- package/dist/contracts/identity/definitions.d.cts +70 -0
- package/dist/contracts/identity/definitions.d.ts +70 -0
- package/dist/contracts/identity/generators.d.cts +33 -0
- package/dist/contracts/identity/generators.d.ts +33 -0
- package/dist/contracts/identity/invariants.d.cts +24 -0
- package/dist/contracts/identity/invariants.d.ts +24 -0
- package/dist/contracts/json.d.cts +12 -0
- package/dist/contracts/json.d.ts +12 -0
- package/dist/{provider-continuation-CTZdCB--.d.cts → contracts/messages.d.cts} +210 -957
- package/dist/{provider-continuation-CTZdCB--.d.ts → contracts/messages.d.ts} +210 -957
- package/dist/contracts/provider-continuation.d.cts +609 -0
- package/dist/contracts/provider-continuation.d.ts +609 -0
- package/dist/contracts/reasoning.d.cts +77 -0
- package/dist/contracts/reasoning.d.ts +77 -0
- package/dist/contracts/resource-ref.d.cts +73 -0
- package/dist/contracts/resource-ref.d.ts +73 -0
- package/dist/contracts/runtime-status.d.cts +8 -0
- package/dist/contracts/runtime-status.d.ts +8 -0
- package/dist/contracts/sse-framing.d.cts +28 -0
- package/dist/contracts/sse-framing.d.ts +28 -0
- package/dist/{index-Cp1_oUj0.d.ts → contracts/sse.d.cts} +1218 -1574
- package/dist/{index-JYf6n2Ik.d.cts → contracts/sse.d.ts} +1218 -1574
- package/dist/contracts/sub-run-trace-payload.d.cts +187 -0
- package/dist/contracts/sub-run-trace-payload.d.ts +187 -0
- package/dist/{summarization-CMMLhaCe.d.ts → contracts/summarization.d.cts} +2 -2
- package/dist/{summarization-kLeweZ5-.d.cts → contracts/summarization.d.ts} +2 -2
- package/dist/contracts/token-accounting.d.cts +1177 -0
- package/dist/contracts/token-accounting.d.ts +1177 -0
- package/dist/{token-calibration-GtFyMJtM.d.cts → contracts/token-calibration.d.cts} +1 -42
- package/dist/{token-calibration-GtFyMJtM.d.ts → contracts/token-calibration.d.ts} +1 -42
- package/dist/{reasoning-bffu9R2B.d.cts → contracts/token-usage.d.cts} +9 -84
- package/dist/{reasoning-bffu9R2B.d.ts → contracts/token-usage.d.ts} +9 -84
- package/dist/contracts.d.cts +24 -10
- package/dist/contracts.d.ts +24 -10
- package/dist/index.cjs +14 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -77
- package/dist/index.d.ts +14 -77
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/ports/agent-invocation.d.cts +42 -0
- package/dist/ports/agent-invocation.d.ts +42 -0
- package/dist/{audit-DnuOSwWE.d.ts → ports/audit.d.cts} +2 -2
- package/dist/{audit-C9LPbPib.d.cts → ports/audit.d.ts} +2 -2
- package/dist/ports/canonical-inference.d.cts +135 -0
- package/dist/ports/canonical-inference.d.ts +135 -0
- package/dist/ports/llm-call.d.cts +109 -0
- package/dist/ports/llm-call.d.ts +109 -0
- package/dist/ports/llm-input-materialization.d.cts +69 -0
- package/dist/ports/llm-input-materialization.d.ts +69 -0
- package/dist/{token-counter-BjiHQEJ-.d.ts → ports/token-counter.d.cts} +3 -3
- package/dist/{token-counter-DiGIoaq2.d.cts → ports/token-counter.d.ts} +3 -3
- package/dist/{tokenizer-yIFTTc-W.d.ts → ports/tokenizer.d.cts} +2 -2
- package/dist/{tokenizer-Dz5Y3KT0.d.cts → ports/tokenizer.d.ts} +2 -2
- package/dist/ports/tool-schema.d.cts +30 -0
- package/dist/ports/tool-schema.d.ts +30 -0
- package/dist/ports/usage-normalizer.d.cts +16 -0
- package/dist/ports/usage-normalizer.d.ts +16 -0
- package/dist/ports.d.cts +10 -9
- package/dist/ports.d.ts +10 -9
- package/dist/quickstart/defineAgent.d.cts +12 -0
- package/dist/quickstart/defineAgent.d.ts +12 -0
- package/dist/quickstart/defineConfig.d.cts +7 -0
- package/dist/quickstart/defineConfig.d.ts +7 -0
- package/dist/quickstart/runAgent.d.cts +12 -0
- package/dist/quickstart/runAgent.d.ts +12 -0
- package/dist/quickstart/toolRuntime.d.cts +14 -0
- package/dist/quickstart/toolRuntime.d.ts +14 -0
- package/dist/{runAgent-jxZ0uNto.d.ts → quickstart/types.d.cts} +10 -28
- package/dist/{runAgent-QiBiFXHR.d.cts → quickstart/types.d.ts} +10 -28
- package/dist/quickstart.cjs +14 -1
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.d.cts +5 -23
- package/dist/quickstart.d.ts +5 -23
- package/dist/quickstart.js +14 -1
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/audit/compositeAudit.d.cts +23 -0
- package/dist/runtime-kernel/audit/compositeAudit.d.ts +23 -0
- package/dist/runtime-kernel/audit/consoleAudit.d.cts +10 -0
- package/dist/runtime-kernel/audit/consoleAudit.d.ts +10 -0
- package/dist/runtime-kernel/audit/emitAudit.d.cts +31 -0
- package/dist/runtime-kernel/audit/emitAudit.d.ts +31 -0
- package/dist/runtime-kernel/audit/eventStoreAudit.d.cts +27 -0
- package/dist/runtime-kernel/audit/eventStoreAudit.d.ts +27 -0
- package/dist/runtime-kernel/audit/fileAudit.d.cts +22 -0
- package/dist/runtime-kernel/audit/fileAudit.d.ts +22 -0
- package/dist/runtime-kernel/audit/index.d.cts +6 -0
- package/dist/runtime-kernel/audit/index.d.ts +6 -0
- package/dist/runtime-kernel/audit/noopAudit.d.cts +5 -0
- package/dist/runtime-kernel/audit/noopAudit.d.ts +5 -0
- package/dist/runtime-kernel/child-run-trace/childRunParentTraceProjection.d.cts +26 -0
- package/dist/runtime-kernel/child-run-trace/childRunParentTraceProjection.d.ts +26 -0
- package/dist/runtime-kernel/child-run-trace/index.d.cts +4 -0
- package/dist/runtime-kernel/child-run-trace/index.d.ts +4 -0
- package/dist/runtime-kernel/child-run-trace/projectChildRuntimeEventToSubRunTrace.d.cts +10 -0
- package/dist/runtime-kernel/child-run-trace/projectChildRuntimeEventToSubRunTrace.d.ts +10 -0
- package/dist/runtime-kernel/child-run-trace/runtimeEventSubRunTracePublisher.d.cts +47 -0
- package/dist/runtime-kernel/child-run-trace/runtimeEventSubRunTracePublisher.d.ts +47 -0
- package/dist/runtime-kernel/child-run-trace/subrunTrace.types.d.cts +81 -0
- package/dist/runtime-kernel/child-run-trace/subrunTrace.types.d.ts +81 -0
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.cts +101 -0
- package/dist/runtime-kernel/child-runs/childRunInvoker.d.ts +101 -0
- package/dist/runtime-kernel/child-runs/historyPolicy.d.cts +9 -0
- package/dist/runtime-kernel/child-runs/historyPolicy.d.ts +9 -0
- package/dist/runtime-kernel/child-runs/index.d.cts +3 -0
- package/dist/runtime-kernel/child-runs/index.d.ts +3 -0
- package/dist/runtime-kernel/child-runs/types.d.cts +82 -0
- package/dist/runtime-kernel/child-runs/types.d.ts +82 -0
- package/dist/runtime-kernel/enrichment/index.d.cts +2 -0
- package/dist/runtime-kernel/enrichment/index.d.ts +2 -0
- package/dist/runtime-kernel/enrichment/registry.d.cts +25 -0
- package/dist/runtime-kernel/enrichment/registry.d.ts +25 -0
- package/dist/runtime-kernel/enrichment/types.d.cts +83 -0
- package/dist/runtime-kernel/enrichment/types.d.ts +83 -0
- package/dist/runtime-kernel/events/agent-to-runtime.d.cts +6 -0
- package/dist/runtime-kernel/events/agent-to-runtime.d.ts +6 -0
- package/dist/{agentEvents-yvamy9xt.d.cts → runtime-kernel/events/agentEvents.d.cts} +127 -126
- package/dist/{agentEvents-DhXdKeXD.d.ts → runtime-kernel/events/agentEvents.d.ts} +127 -126
- package/dist/runtime-kernel/events/eventGovernance.d.cts +47 -0
- package/dist/runtime-kernel/events/eventGovernance.d.ts +47 -0
- package/dist/runtime-kernel/events/eventMappers.d.cts +41 -0
- package/dist/runtime-kernel/events/eventMappers.d.ts +41 -0
- package/dist/runtime-kernel/events/finalAnswerAssembler.d.cts +27 -0
- package/dist/runtime-kernel/events/finalAnswerAssembler.d.ts +27 -0
- package/dist/runtime-kernel/events/finalAnswerCompletion.d.cts +6 -0
- package/dist/runtime-kernel/events/finalAnswerCompletion.d.ts +6 -0
- package/dist/runtime-kernel/events/provider-sidecar.d.cts +33 -0
- package/dist/runtime-kernel/events/provider-sidecar.d.ts +33 -0
- package/dist/runtime-kernel/events/runtime-to-ai-message.d.cts +14 -0
- package/dist/runtime-kernel/events/runtime-to-ai-message.d.ts +14 -0
- package/dist/runtime-kernel/events.d.cts +7 -5
- package/dist/runtime-kernel/events.d.ts +7 -5
- package/dist/runtime-kernel/execution/event-bus.d.cts +52 -0
- package/dist/runtime-kernel/execution/event-bus.d.ts +52 -0
- package/dist/runtime-kernel/execution/eventBusEventPersistence.d.cts +40 -0
- package/dist/runtime-kernel/execution/eventBusEventPersistence.d.ts +40 -0
- package/dist/runtime-kernel/execution/index.d.cts +5 -0
- package/dist/runtime-kernel/execution/index.d.ts +5 -0
- package/dist/runtime-kernel/execution/runtimeErrorEventFactory.d.cts +46 -0
- package/dist/runtime-kernel/execution/runtimeErrorEventFactory.d.ts +46 -0
- package/dist/runtime-kernel/execution/runtimeEventPublisher.d.cts +34 -0
- package/dist/runtime-kernel/execution/runtimeEventPublisher.d.ts +34 -0
- package/dist/runtime-kernel/execution/sequencer.d.cts +69 -0
- package/dist/runtime-kernel/execution/sequencer.d.ts +69 -0
- package/dist/runtime-kernel/graph-engine/checkpointer/base.d.cts +59 -0
- package/dist/runtime-kernel/graph-engine/checkpointer/base.d.ts +59 -0
- package/dist/runtime-kernel/graph-engine/checkpointer/memoryCheckpointer.d.cts +14 -0
- package/dist/runtime-kernel/graph-engine/checkpointer/memoryCheckpointer.d.ts +14 -0
- package/dist/runtime-kernel/graph-engine/definitions/primaryPromptCapacityError.d.cts +22 -0
- package/dist/runtime-kernel/graph-engine/definitions/primaryPromptCapacityError.d.ts +22 -0
- package/dist/runtime-kernel/graph-engine/engine.d.cts +64 -0
- package/dist/runtime-kernel/graph-engine/engine.d.ts +64 -0
- package/dist/runtime-kernel/graph-engine/event-store/base.d.cts +26 -0
- package/dist/runtime-kernel/graph-engine/event-store/base.d.ts +26 -0
- package/dist/runtime-kernel/graph-engine/event-store/memoryEventStore.d.cts +14 -0
- package/dist/runtime-kernel/graph-engine/event-store/memoryEventStore.d.ts +14 -0
- package/dist/runtime-kernel/graph-engine/executor.d.cts +59 -0
- package/dist/runtime-kernel/graph-engine/executor.d.ts +59 -0
- package/dist/runtime-kernel/graph-engine/executorContextBuilder.d.cts +104 -0
- package/dist/runtime-kernel/graph-engine/executorContextBuilder.d.ts +104 -0
- package/dist/runtime-kernel/graph-engine/functions/createHostToolCallBootstrap.d.cts +41 -0
- package/dist/runtime-kernel/graph-engine/functions/createHostToolCallBootstrap.d.ts +41 -0
- package/dist/runtime-kernel/graph-engine/functions/engineStateSnapshot.d.cts +23 -0
- package/dist/runtime-kernel/graph-engine/functions/engineStateSnapshot.d.ts +23 -0
- package/dist/runtime-kernel/graph-engine/functions/evaluatePrimaryPromptCapacity.d.cts +15 -0
- package/dist/runtime-kernel/graph-engine/functions/evaluatePrimaryPromptCapacity.d.ts +15 -0
- package/dist/runtime-kernel/graph-engine/functions/runtimeFailureFact.d.cts +7 -0
- package/dist/runtime-kernel/graph-engine/functions/runtimeFailureFact.d.ts +7 -0
- package/dist/runtime-kernel/graph-engine/index.d.cts +18 -0
- package/dist/runtime-kernel/graph-engine/index.d.ts +18 -0
- package/dist/runtime-kernel/graph-engine/nodes/llmNode.d.cts +26 -0
- package/dist/runtime-kernel/graph-engine/nodes/llmNode.d.ts +26 -0
- package/dist/runtime-kernel/graph-engine/nodes/llmNode.eventBridge.d.cts +6 -0
- package/dist/runtime-kernel/graph-engine/nodes/llmNode.eventBridge.d.ts +6 -0
- package/dist/runtime-kernel/graph-engine/nodes/toolNode.d.cts +44 -0
- package/dist/runtime-kernel/graph-engine/nodes/toolNode.d.ts +44 -0
- package/dist/runtime-kernel/graph-engine/nodes/userNode.d.cts +8 -0
- package/dist/runtime-kernel/graph-engine/nodes/userNode.d.ts +8 -0
- package/dist/runtime-kernel/graph-engine/nodes/waitUserNode.d.cts +15 -0
- package/dist/runtime-kernel/graph-engine/nodes/waitUserNode.d.ts +15 -0
- package/dist/runtime-kernel/graph-engine/tick-pipeline/types.d.cts +57 -0
- package/dist/runtime-kernel/graph-engine/tick-pipeline/types.d.ts +57 -0
- package/dist/runtime-kernel/graph-engine/types.d.cts +143 -0
- package/dist/runtime-kernel/graph-engine/types.d.ts +143 -0
- package/dist/runtime-kernel/llm/caller.d.cts +50 -0
- package/dist/runtime-kernel/llm/caller.d.ts +50 -0
- package/dist/runtime-kernel/llm/canonical-inference/definitions/canonicalInferenceStreamState.d.cts +28 -0
- package/dist/runtime-kernel/llm/canonical-inference/definitions/canonicalInferenceStreamState.d.ts +28 -0
- package/dist/runtime-kernel/llm/canonical-inference/functions/advanceCanonicalInferenceStreamState.d.cts +6 -0
- package/dist/runtime-kernel/llm/canonical-inference/functions/advanceCanonicalInferenceStreamState.d.ts +6 -0
- package/dist/runtime-kernel/llm/canonical-inference/orchestration/consumeCanonicalInferenceStream.d.cts +6 -0
- package/dist/runtime-kernel/llm/canonical-inference/orchestration/consumeCanonicalInferenceStream.d.ts +6 -0
- package/dist/runtime-kernel/llm/definitions/llmCallInvocationContext.d.cts +29 -0
- package/dist/runtime-kernel/llm/definitions/llmCallInvocationContext.d.ts +29 -0
- package/dist/runtime-kernel/llm/definitions/llmFallbackObserver.d.cts +26 -0
- package/dist/runtime-kernel/llm/definitions/llmFallbackObserver.d.ts +26 -0
- package/dist/runtime-kernel/llm/functions/evaluateFallbackPromptCapacity.d.cts +9 -0
- package/dist/runtime-kernel/llm/functions/evaluateFallbackPromptCapacity.d.ts +9 -0
- package/dist/runtime-kernel/llm/index.d.cts +22 -0
- package/dist/runtime-kernel/llm/index.d.ts +22 -0
- package/dist/runtime-kernel/llm/input-capabilities/definitions/modelInputCapability.d.cts +24 -0
- package/dist/runtime-kernel/llm/input-capabilities/definitions/modelInputCapability.d.ts +24 -0
- package/dist/runtime-kernel/llm/input-capabilities/definitions/modelInputCapabilityError.d.cts +31 -0
- package/dist/runtime-kernel/llm/input-capabilities/definitions/modelInputCapabilityError.d.ts +31 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/createModelInputCompatibilityError.d.cts +13 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/createModelInputCompatibilityError.d.ts +13 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/deriveModelInputRequirement.d.cts +6 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/deriveModelInputRequirement.d.ts +6 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/evaluateModelInputCompatibility.d.cts +7 -0
- package/dist/runtime-kernel/llm/input-capabilities/functions/evaluateModelInputCompatibility.d.ts +7 -0
- package/dist/runtime-kernel/llm/input-capabilities/orchestration/assertModelInputCompatibility.d.cts +10 -0
- package/dist/runtime-kernel/llm/input-capabilities/orchestration/assertModelInputCompatibility.d.ts +10 -0
- package/dist/runtime-kernel/llm/modelCatalog.d.cts +62 -0
- package/dist/runtime-kernel/llm/modelCatalog.d.ts +62 -0
- package/dist/runtime-kernel/llm/modelResolver.d.cts +40 -0
- package/dist/runtime-kernel/llm/modelResolver.d.ts +40 -0
- package/dist/runtime-kernel/llm/policies/defaultPolicyEngine.d.cts +15 -0
- package/dist/runtime-kernel/llm/policies/defaultPolicyEngine.d.ts +15 -0
- package/dist/runtime-kernel/llm/policies/policyEngine.d.cts +18 -0
- package/dist/runtime-kernel/llm/policies/policyEngine.d.ts +18 -0
- package/dist/runtime-kernel/llm/policies/types.d.cts +27 -0
- package/dist/runtime-kernel/llm/policies/types.d.ts +27 -0
- package/dist/runtime-kernel/llm/request-builder.d.cts +22 -0
- package/dist/runtime-kernel/llm/request-builder.d.ts +22 -0
- package/dist/runtime-kernel/llm/usage-telemetry.d.cts +17 -0
- package/dist/runtime-kernel/llm/usage-telemetry.d.ts +17 -0
- package/dist/runtime-kernel/run-context/index.d.cts +1 -0
- package/dist/runtime-kernel/run-context/index.d.ts +1 -0
- package/dist/runtime-kernel/run-context/types.d.cts +44 -0
- package/dist/runtime-kernel/run-context/types.d.ts +44 -0
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.cts +131 -0
- package/dist/runtime-kernel/run-supervisor/definitions/runSupervisorContracts.d.ts +131 -0
- package/dist/runtime-kernel/run-supervisor/index.d.cts +6 -0
- package/dist/runtime-kernel/run-supervisor/index.d.ts +6 -0
- package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.cts +15 -0
- package/dist/runtime-kernel/run-supervisor/memoryRunRegistryStore.d.ts +15 -0
- package/dist/runtime-kernel/run-supervisor/runErrors.d.cts +24 -0
- package/dist/runtime-kernel/run-supervisor/runErrors.d.ts +24 -0
- package/dist/runtime-kernel/run-supervisor/runHandle.d.cts +155 -0
- package/dist/runtime-kernel/run-supervisor/runHandle.d.ts +155 -0
- package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.cts +47 -0
- package/dist/runtime-kernel/run-supervisor/runRegistryStorePort.d.ts +47 -0
- package/dist/runtime-kernel/run-supervisor/runSupervisor.d.cts +57 -0
- package/dist/runtime-kernel/run-supervisor/runSupervisor.d.ts +57 -0
- package/dist/runtime-kernel/system-reminder/apply.d.cts +38 -0
- package/dist/runtime-kernel/system-reminder/apply.d.ts +38 -0
- package/dist/runtime-kernel/system-reminder/helpers.d.cts +11 -0
- package/dist/runtime-kernel/system-reminder/helpers.d.ts +11 -0
- package/dist/runtime-kernel/system-reminder/index.d.cts +7 -0
- package/dist/runtime-kernel/system-reminder/index.d.ts +7 -0
- package/dist/runtime-kernel/system-reminder/registry.d.cts +17 -0
- package/dist/runtime-kernel/system-reminder/registry.d.ts +17 -0
- package/dist/runtime-kernel/system-reminder/rules.d.cts +20 -0
- package/dist/runtime-kernel/system-reminder/rules.d.ts +20 -0
- package/dist/runtime-kernel/system-reminder/templates.d.cts +10 -0
- package/dist/runtime-kernel/system-reminder/templates.d.ts +10 -0
- package/dist/runtime-kernel/system-reminder/triggers.d.cts +10 -0
- package/dist/runtime-kernel/system-reminder/triggers.d.ts +10 -0
- package/dist/runtime-kernel/system-reminder/types.d.cts +46 -0
- package/dist/runtime-kernel/system-reminder/types.d.ts +46 -0
- package/dist/runtime-kernel/telemetry/index.d.cts +3 -0
- package/dist/runtime-kernel/telemetry/index.d.ts +3 -0
- package/dist/runtime-kernel/telemetry/noopTelemetry.d.cts +5 -0
- package/dist/runtime-kernel/telemetry/noopTelemetry.d.ts +5 -0
- package/dist/runtime-kernel/telemetry/telemetryEvents.d.cts +5 -0
- package/dist/runtime-kernel/telemetry/telemetryEvents.d.ts +5 -0
- package/dist/runtime-kernel/telemetry/telemetryPort.d.cts +95 -0
- package/dist/runtime-kernel/telemetry/telemetryPort.d.ts +95 -0
- package/dist/runtime-kernel/testkit/defaultGraphExecutor.d.cts +23 -0
- package/dist/runtime-kernel/testkit/defaultGraphExecutor.d.ts +23 -0
- package/dist/runtime-kernel/testkit/graphLoopHarness.d.cts +49 -0
- package/dist/runtime-kernel/testkit/graphLoopHarness.d.ts +49 -0
- package/dist/runtime-kernel/token-accounting/functions.d.cts +27 -0
- package/dist/runtime-kernel/token-accounting/functions.d.ts +27 -0
- package/dist/runtime-kernel/token-accounting/index.d.cts +1 -0
- package/dist/runtime-kernel/token-accounting/index.d.ts +1 -0
- package/dist/runtime-kernel/tools/argNormalizer.d.cts +10 -0
- package/dist/runtime-kernel/tools/argNormalizer.d.ts +10 -0
- package/dist/runtime-kernel/tools/conversationView.d.cts +22 -0
- package/dist/runtime-kernel/tools/conversationView.d.ts +22 -0
- package/dist/runtime-kernel/tools/idempotency/toolIdempotency.d.cts +25 -0
- package/dist/runtime-kernel/tools/idempotency/toolIdempotency.d.ts +25 -0
- package/dist/runtime-kernel/tools/index.d.cts +15 -0
- package/dist/runtime-kernel/tools/index.d.ts +15 -0
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInput.d.cts +51 -0
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInput.d.ts +51 -0
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInputPolicy.d.cts +17 -0
- package/dist/runtime-kernel/tools/model-input/definitions/toolModelInputPolicy.d.ts +17 -0
- package/dist/runtime-kernel/tools/model-input/functions/parseToolModelInputDeclaration.d.cts +17 -0
- package/dist/runtime-kernel/tools/model-input/functions/parseToolModelInputDeclaration.d.ts +17 -0
- package/dist/runtime-kernel/tools/model-input/orchestration/resolveToolModelInput.d.cts +16 -0
- package/dist/runtime-kernel/tools/model-input/orchestration/resolveToolModelInput.d.ts +16 -0
- package/dist/runtime-kernel/tools/ports.d.cts +119 -0
- package/dist/runtime-kernel/tools/ports.d.ts +119 -0
- package/dist/runtime-kernel/tools/schema/functions/assertToolParameterSchema.d.cts +15 -0
- package/dist/runtime-kernel/tools/schema/functions/assertToolParameterSchema.d.ts +15 -0
- package/dist/runtime-kernel/tools/toolContextPatch.d.cts +14 -0
- package/dist/runtime-kernel/tools/toolContextPatch.d.ts +14 -0
- package/dist/runtime-kernel/tools/toolContextRuntime.d.cts +37 -0
- package/dist/runtime-kernel/tools/toolContextRuntime.d.ts +37 -0
- package/dist/runtime-kernel/tools/toolContracts.d.cts +109 -0
- package/dist/runtime-kernel/tools/toolContracts.d.ts +109 -0
- package/dist/runtime-kernel/tools/toolExecutionContext.d.cts +104 -0
- package/dist/runtime-kernel/tools/toolExecutionContext.d.ts +104 -0
- package/dist/runtime-kernel/tools/ui-types.d.cts +72 -0
- package/dist/runtime-kernel/tools/ui-types.d.ts +72 -0
- package/dist/runtime-kernel.cjs +14 -1
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +106 -20
- package/dist/runtime-kernel.d.ts +106 -20
- package/dist/runtime-kernel.js +14 -1
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/shared/defaultTokenizerPort.d.cts +29 -0
- package/dist/shared/defaultTokenizerPort.d.ts +29 -0
- package/dist/shared/errorClassifier.d.cts +42 -0
- package/dist/shared/errorClassifier.d.ts +42 -0
- package/dist/shared/llmAuditProjection.d.cts +11 -0
- package/dist/shared/llmAuditProjection.d.ts +11 -0
- package/dist/shared/llmAuditRecorder.d.cts +44 -0
- package/dist/shared/llmAuditRecorder.d.ts +44 -0
- package/dist/shared/llmImageInputError.d.cts +34 -0
- package/dist/shared/llmImageInputError.d.ts +34 -0
- package/dist/shared/llmTelemetryContext.d.cts +52 -0
- package/dist/shared/llmTelemetryContext.d.ts +52 -0
- package/dist/shared/logger.d.cts +12 -0
- package/dist/shared/logger.d.ts +12 -0
- package/dist/{prompt-budget-yciFkC9U.d.cts → shared/prompt-budget.d.cts} +2 -1
- package/dist/{prompt-budget-yciFkC9U.d.ts → shared/prompt-budget.d.ts} +2 -1
- package/dist/testkit/agent-harness/assertions.d.cts +10 -0
- package/dist/testkit/agent-harness/assertions.d.ts +10 -0
- package/dist/testkit/agent-harness/scriptedInferenceHarness.d.cts +52 -0
- package/dist/testkit/agent-harness/scriptedInferenceHarness.d.ts +52 -0
- package/dist/testkit/context-harness/invariants/index.d.cts +7 -0
- package/dist/testkit/context-harness/invariants/index.d.ts +7 -0
- package/dist/testkit/context-harness/invariants/types.d.cts +32 -0
- package/dist/testkit/context-harness/invariants/types.d.ts +32 -0
- package/dist/testkit/context-harness/replayHarness.d.cts +18 -0
- package/dist/testkit/context-harness/replayHarness.d.ts +18 -0
- package/dist/testkit/mocks/tokenizerPort.d.cts +17 -0
- package/dist/testkit/mocks/tokenizerPort.d.ts +17 -0
- package/dist/testkit/run-harness/collectingAuditPort.d.cts +21 -0
- package/dist/testkit/run-harness/collectingAuditPort.d.ts +21 -0
- package/dist/testkit/run-harness/invariants/index.d.cts +7 -0
- package/dist/testkit/run-harness/invariants/index.d.ts +7 -0
- package/dist/testkit/run-harness/invariants/types.d.cts +48 -0
- package/dist/testkit/run-harness/invariants/types.d.ts +48 -0
- package/dist/testkit/run-harness/mockTelemetryPort.d.cts +35 -0
- package/dist/testkit/run-harness/mockTelemetryPort.d.ts +35 -0
- package/dist/testkit/run-harness/runSupervisorHarness.d.cts +60 -0
- package/dist/testkit/run-harness/runSupervisorHarness.d.ts +60 -0
- package/dist/testkit/tool-fixtures/toolContext.d.cts +19 -0
- package/dist/testkit/tool-fixtures/toolContext.d.ts +19 -0
- package/dist/testkit.cjs +14 -1
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.d.cts +17 -277
- package/dist/testkit.d.ts +17 -277
- package/dist/testkit.js +14 -1
- package/dist/testkit.js.map +1 -1
- package/docs/integration/host-originated-tools.md +9 -0
- package/package.json +6 -4
- package/dist/base-DRRrRhxS.d.cts +0 -216
- package/dist/base-DVyQIl_d.d.ts +0 -216
- package/dist/defaultGraphExecutor-B2kGX0iA.d.ts +0 -905
- package/dist/defaultGraphExecutor-CO3ztZdG.d.cts +0 -905
- package/dist/index-1pE6gSpV.d.cts +0 -172
- package/dist/index-CMUnmxhM.d.ts +0 -1966
- package/dist/index-CZtZq3T1.d.cts +0 -1966
- package/dist/index-D_csW7Zl.d.ts +0 -172
- package/dist/index-DpSWZ1L6.d.ts +0 -67
- package/dist/index-oCM3XEu2.d.cts +0 -67
- package/dist/llm-input-materialization-Vce5Swvc.d.ts +0 -366
- package/dist/llm-input-materialization-r-V3n9U-.d.cts +0 -366
- package/dist/runHandle--l0kE205.d.cts +0 -490
- package/dist/runHandle-ouLd6Tgp.d.ts +0 -490
- package/dist/token-accounting-19cXG7hM.d.cts +0 -3342
- package/dist/token-accounting-CVW37Uri.d.ts +0 -3342
- package/dist/toolContracts--KrHHNCY.d.cts +0 -424
- package/dist/toolContracts-BQ4kIso_.d.ts +0 -424
package/dist/index-D_csW7Zl.d.ts
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { R as RuntimeEvent, f as RoutedRuntimeEvent, F as FinalAnswerChunkEvent, b as FinalAnswerCompletionReason, c as FinalAnswerEvent } from './final-answer-oOQ_7nPt.js';
|
|
2
|
-
import { R as RuntimeResourceRef, A as AiMessage, M as SerializableJsonRecord, P as ProviderContinuation, a as AssistantReplayPart } from './provider-continuation-CTZdCB--.js';
|
|
3
|
-
import { A as AnyAgentEvent } from './agentEvents-DhXdKeXD.js';
|
|
4
|
-
|
|
5
|
-
interface EventMappingContext {
|
|
6
|
-
conversationId: string;
|
|
7
|
-
turnId: string;
|
|
8
|
-
/**
|
|
9
|
-
* 事件级扩展元数据(透传到 SSE/RuntimeEvent.metadata)。
|
|
10
|
-
*
|
|
11
|
-
* 中文备注:这里只放跨事件归类信息,不放 ui.hidden 这类单事件展示语义。
|
|
12
|
-
*/
|
|
13
|
-
metadata?: SerializableJsonRecord;
|
|
14
|
-
}
|
|
15
|
-
interface RuntimeMappingOptions {
|
|
16
|
-
collectRuntime?: boolean;
|
|
17
|
-
skipIncomplete?: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* RuntimeEvent 回放所需的最小会话内存端口。
|
|
21
|
-
*
|
|
22
|
-
* 中文备注:
|
|
23
|
-
* - core 只依赖“写入消息”的最小能力;
|
|
24
|
-
* - 具体产品实现只要结构兼容即可接入。
|
|
25
|
-
*/
|
|
26
|
-
interface ConversationMemoryPort {
|
|
27
|
-
addUserMessage(content: string, id?: string, attachments?: RuntimeResourceRef[]): void;
|
|
28
|
-
addAssistantMessage(content: string | null, type: AiMessage['type'] & ('thought' | 'final_answer' | 'tool_calls'), metadata?: AiMessage['metadata'], id?: string): void;
|
|
29
|
-
addToolResponse(toolCallId: string, content: string, toolName: string, id?: string, attachments?: RuntimeResourceRef[], metadata?: AiMessage['metadata']): void;
|
|
30
|
-
appendMessage(message: AiMessage): void;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare function agentEventToRuntime(agentEvent: unknown, context: EventMappingContext, options?: RuntimeMappingOptions): RuntimeEvent | null;
|
|
34
|
-
|
|
35
|
-
declare function applyRuntimeEventToMemory(event: RuntimeEvent, memory: ConversationMemoryPort): void;
|
|
36
|
-
/**
|
|
37
|
-
* RuntimeEvent → AiMessage 的唯一纯投影入口。
|
|
38
|
-
*
|
|
39
|
-
* Context Manager 与内存重建必须共享同一套规则,尤其是 tool-call 封口合并和 ordered replay;
|
|
40
|
-
* 分别维护 switch 会让 durable history 与 live memory 再次产生语义漂移。
|
|
41
|
-
*/
|
|
42
|
-
declare function projectRuntimeEventToAiMessage(event: RuntimeEvent): AiMessage | null;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @file src/agent/runtime-kernel/events/eventMappers.ts
|
|
46
|
-
* @brief 统一事件映射器兼容出口
|
|
47
|
-
*
|
|
48
|
-
* @description
|
|
49
|
-
* 具体职责已拆分:
|
|
50
|
-
* - agent-to-runtime.ts:AnyAgentEvent → RuntimeEvent
|
|
51
|
-
* - runtime-to-ai-message.ts:RuntimeEvent → ConversationMemoryPort
|
|
52
|
-
* - provider-sidecar.ts:sidecar/tool_call 相关共享工具与类型
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* 统一的事件映射器。
|
|
57
|
-
*
|
|
58
|
-
* 中文备注:
|
|
59
|
-
* - 保留仍在使用的 AgentEvent → RuntimeEvent 旧桥;
|
|
60
|
-
* - SSE wire 投影统一走 contracts/runtimeEventToSSEEvent,禁止再从 AgentEvent 直接投 SSE;
|
|
61
|
-
* - 新逻辑不要继续写回本文件,按职责放到拆分后的模块。
|
|
62
|
-
*/
|
|
63
|
-
declare const eventMapper: {
|
|
64
|
-
/**
|
|
65
|
-
* 将 AgentEvent 转换为 RuntimeEvent。
|
|
66
|
-
*/
|
|
67
|
-
agentToRuntime: typeof agentEventToRuntime;
|
|
68
|
-
/**
|
|
69
|
-
* 将 RuntimeEvent 应用到 ConversationMemoryPort。
|
|
70
|
-
*/
|
|
71
|
-
applyToMemory: typeof applyRuntimeEventToMemory;
|
|
72
|
-
/**
|
|
73
|
-
* 批量重建内存。
|
|
74
|
-
*/
|
|
75
|
-
rebuildMemory: (events: RuntimeEvent[], memory: ConversationMemoryPort) => void;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
type RuntimeEventUiProjectionKind = 'hidden' | 'user_input' | 'thought' | 'final_answer' | 'final_answer_chunk' | 'final_answer_reset' | 'tool_call_decision' | 'tool_process' | 'tool_output' | 'requires_user_interaction' | 'audit_envelope' | 'subrun_trace' | 'error' | 'context_usage_snapshot' | 'run_execution_metrics' | 'history_summary' | 'unsupported';
|
|
79
|
-
type RuntimeEventRealtimeChannel = 'event_bus_sse' | 'none';
|
|
80
|
-
interface RuntimeEventLifecycleDecision {
|
|
81
|
-
uiProjectionKind: RuntimeEventUiProjectionKind;
|
|
82
|
-
persist: boolean;
|
|
83
|
-
replayToUi: boolean;
|
|
84
|
-
enterAgentContext: boolean;
|
|
85
|
-
realtimeChannel: RuntimeEventRealtimeChannel;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* 类型级永不回放到 UI 的 RuntimeEvent。
|
|
89
|
-
*
|
|
90
|
-
* 中文备注:
|
|
91
|
-
* - 这里只能放“仅凭 type 就能确定永不进入 UI 历史回放”的事件;
|
|
92
|
-
* - `hidden user_input` 这类需要看 payload / metadata 的逐事件规则不能放进来;
|
|
93
|
-
* - UI 历史分页会把这份清单下推到 SQL 层,避免巨型隐藏事件被 JSON.parse / 序列化。
|
|
94
|
-
*/
|
|
95
|
-
declare const RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI: readonly ["audit_envelope", "final_answer_chunk", "final_answer_reset", "subrun_trace", "context_usage_snapshot"];
|
|
96
|
-
declare function isToolCallDecisionEvent<T extends {
|
|
97
|
-
type: string;
|
|
98
|
-
}>(event: T): event is T & {
|
|
99
|
-
type: 'tool_call_decision';
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Conversation 主时间线只接纳 foreground run 明确声明为 conversation 可见的事实。
|
|
103
|
-
*
|
|
104
|
-
* child / auxiliary facts 仍可持久化并进入各自的消费链,但不能因为共用
|
|
105
|
-
* conversation_id 就被 durable UI read model 当作正文恢复。
|
|
106
|
-
*/
|
|
107
|
-
declare function isConversationUiRuntimeEvent(event: RuntimeEvent): boolean;
|
|
108
|
-
declare function shouldPersistRuntimeEvent(event: RuntimeEvent): boolean;
|
|
109
|
-
/**
|
|
110
|
-
* EventStore 是 durable fact 边界。调用方若把实时进度直接写入存储,必须立即失败,
|
|
111
|
-
* 不能静默忽略,否则真实发布链的旁路会被掩盖。
|
|
112
|
-
*/
|
|
113
|
-
declare function requirePersistableRuntimeEvent<T extends RuntimeEvent>(event: T): T;
|
|
114
|
-
declare function requirePersistableRoutedRuntimeEvent(event: RuntimeEvent): RoutedRuntimeEvent;
|
|
115
|
-
declare function shouldReplayRuntimeEventToUi(event: RuntimeEvent): boolean;
|
|
116
|
-
declare function shouldEnterAgentContext(event: RuntimeEvent): boolean;
|
|
117
|
-
declare function getRuntimeEventUiProjectionKind(event: RuntimeEvent): RuntimeEventUiProjectionKind;
|
|
118
|
-
declare function describeRuntimeEventLifecycle(event: RuntimeEvent): RuntimeEventLifecycleDecision;
|
|
119
|
-
declare function shouldEmitRuntimeEventToSse(event: RuntimeEvent): boolean;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* 非流式答案也必须进入统一 live chunk 链,完整 final_answer 只承担 durable 封口。
|
|
123
|
-
*/
|
|
124
|
-
declare function createStandaloneFinalAnswerChunk(event: FinalAnswerEvent): FinalAnswerChunkEvent;
|
|
125
|
-
/**
|
|
126
|
-
* 把一个 answer segment 的 chunk 聚合成完整事实。
|
|
127
|
-
*
|
|
128
|
-
* 它只负责确定性的文本聚合,不发布、不持久化,也不生成新的 answer identity。
|
|
129
|
-
*/
|
|
130
|
-
declare class FinalAnswerAssembler {
|
|
131
|
-
private firstChunk;
|
|
132
|
-
private readonly chunks;
|
|
133
|
-
push(chunk: FinalAnswerChunkEvent): void;
|
|
134
|
-
finalize(options: {
|
|
135
|
-
completionReason: FinalAnswerCompletionReason;
|
|
136
|
-
providerContinuations?: ProviderContinuation[];
|
|
137
|
-
assistantReplayParts?: AssistantReplayPart[];
|
|
138
|
-
}): FinalAnswerEvent | null;
|
|
139
|
-
hasContent(): boolean;
|
|
140
|
-
reset(): void;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
declare function findTerminalFinalAnswer(events: ReadonlyArray<RuntimeEvent>): FinalAnswerEvent | undefined;
|
|
144
|
-
declare function findLatestProgressAnswer(events: ReadonlyArray<RuntimeEvent>): FinalAnswerEvent | undefined;
|
|
145
|
-
|
|
146
|
-
declare const index_AnyAgentEvent: typeof AnyAgentEvent;
|
|
147
|
-
type index_ConversationMemoryPort = ConversationMemoryPort;
|
|
148
|
-
type index_EventMappingContext = EventMappingContext;
|
|
149
|
-
type index_FinalAnswerAssembler = FinalAnswerAssembler;
|
|
150
|
-
declare const index_FinalAnswerAssembler: typeof FinalAnswerAssembler;
|
|
151
|
-
declare const index_RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI: typeof RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI;
|
|
152
|
-
type index_RuntimeEventLifecycleDecision = RuntimeEventLifecycleDecision;
|
|
153
|
-
declare const index_createStandaloneFinalAnswerChunk: typeof createStandaloneFinalAnswerChunk;
|
|
154
|
-
declare const index_describeRuntimeEventLifecycle: typeof describeRuntimeEventLifecycle;
|
|
155
|
-
declare const index_eventMapper: typeof eventMapper;
|
|
156
|
-
declare const index_findLatestProgressAnswer: typeof findLatestProgressAnswer;
|
|
157
|
-
declare const index_findTerminalFinalAnswer: typeof findTerminalFinalAnswer;
|
|
158
|
-
declare const index_getRuntimeEventUiProjectionKind: typeof getRuntimeEventUiProjectionKind;
|
|
159
|
-
declare const index_isConversationUiRuntimeEvent: typeof isConversationUiRuntimeEvent;
|
|
160
|
-
declare const index_isToolCallDecisionEvent: typeof isToolCallDecisionEvent;
|
|
161
|
-
declare const index_projectRuntimeEventToAiMessage: typeof projectRuntimeEventToAiMessage;
|
|
162
|
-
declare const index_requirePersistableRoutedRuntimeEvent: typeof requirePersistableRoutedRuntimeEvent;
|
|
163
|
-
declare const index_requirePersistableRuntimeEvent: typeof requirePersistableRuntimeEvent;
|
|
164
|
-
declare const index_shouldEmitRuntimeEventToSse: typeof shouldEmitRuntimeEventToSse;
|
|
165
|
-
declare const index_shouldEnterAgentContext: typeof shouldEnterAgentContext;
|
|
166
|
-
declare const index_shouldPersistRuntimeEvent: typeof shouldPersistRuntimeEvent;
|
|
167
|
-
declare const index_shouldReplayRuntimeEventToUi: typeof shouldReplayRuntimeEventToUi;
|
|
168
|
-
declare namespace index {
|
|
169
|
-
export { index_AnyAgentEvent as AnyAgentEvent, type index_ConversationMemoryPort as ConversationMemoryPort, type index_EventMappingContext as EventMappingContext, index_FinalAnswerAssembler as FinalAnswerAssembler, index_RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI as RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI, type index_RuntimeEventLifecycleDecision as RuntimeEventLifecycleDecision, index_createStandaloneFinalAnswerChunk as createStandaloneFinalAnswerChunk, index_describeRuntimeEventLifecycle as describeRuntimeEventLifecycle, index_eventMapper as eventMapper, index_findLatestProgressAnswer as findLatestProgressAnswer, index_findTerminalFinalAnswer as findTerminalFinalAnswer, index_getRuntimeEventUiProjectionKind as getRuntimeEventUiProjectionKind, index_isConversationUiRuntimeEvent as isConversationUiRuntimeEvent, index_isToolCallDecisionEvent as isToolCallDecisionEvent, index_projectRuntimeEventToAiMessage as projectRuntimeEventToAiMessage, index_requirePersistableRoutedRuntimeEvent as requirePersistableRoutedRuntimeEvent, index_requirePersistableRuntimeEvent as requirePersistableRuntimeEvent, index_shouldEmitRuntimeEventToSse as shouldEmitRuntimeEventToSse, index_shouldEnterAgentContext as shouldEnterAgentContext, index_shouldPersistRuntimeEvent as shouldPersistRuntimeEvent, index_shouldReplayRuntimeEventToUi as shouldReplayRuntimeEventToUi };
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export { type ConversationMemoryPort as C, type EventMappingContext as E, FinalAnswerAssembler as F, RUNTIME_EVENT_TYPES_NEVER_REPLAYED_TO_UI as R, type RuntimeEventLifecycleDecision as a, findTerminalFinalAnswer as b, createStandaloneFinalAnswerChunk as c, describeRuntimeEventLifecycle as d, eventMapper as e, findLatestProgressAnswer as f, getRuntimeEventUiProjectionKind as g, isConversationUiRuntimeEvent as h, index as i, isToolCallDecisionEvent as j, requirePersistableRuntimeEvent as k, shouldEnterAgentContext as l, shouldPersistRuntimeEvent as m, shouldReplayRuntimeEventToUi as n, projectRuntimeEventToAiMessage as p, requirePersistableRoutedRuntimeEvent as r, shouldEmitRuntimeEventToSse as s };
|
package/dist/index-DpSWZ1L6.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { A as AgentContextInjection, b as AgentInvocationRequest, C as CanonicalAssistantReplayPart, c as CanonicalCompletedToolCall, d as CanonicalInferenceCacheAnchor, e as CanonicalInferenceCachePolicy, f as CanonicalInferenceContentBlock, g as CanonicalInferenceEvent, h as CanonicalInferenceFailureKind, i as CanonicalInferenceFinishReason, j as CanonicalInferenceImageBlock, k as CanonicalInferenceMessage, l as CanonicalInferencePort, m as CanonicalInferenceRequest, n as CanonicalInferenceTextBlock, o as CanonicalInferenceTool, p as CanonicalToolChoice, q as ImageInputAdmissionAttachmentEvidence, I as ImageInputAdmissionEvidence, J as JsonSchemaValue, r as LlmCallOptions, s as LlmImageInputDescriptor, t as LlmImageInputEstimate, a as LlmImageInputEstimatorPort, L as LlmImageInputPlacement, u as LlmInputMaterializationAttempt, v as LlmInputMaterializerPort, w as LlmRequestMessage, x as LlmRetryConfig, R as ResolvedLlmImageAttachment, y as ResolvedLlmInputMessage, T as ToolCall, z as ToolParameterProperty, B as ToolParameterSchema, D as ToolParameterType } from './llm-input-materialization-Vce5Swvc.js';
|
|
2
|
-
import { P as ProviderContinuation, y as ProviderContinuationProducer } from './provider-continuation-CTZdCB--.js';
|
|
3
|
-
import { A as AuditPort } from './audit-DnuOSwWE.js';
|
|
4
|
-
import { a as TokenCountResult, T as TokenCounterPort } from './token-counter-BjiHQEJ-.js';
|
|
5
|
-
import { T as TokenizerPort } from './tokenizer-yIFTTc-W.js';
|
|
6
|
-
import { T as TokenRoute, C as CanonicalLlmUsage } from './reasoning-bffu9R2B.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 可选 usage 归一化端口。
|
|
10
|
-
*
|
|
11
|
-
* host 若不想在 adapter response 里直接回传 canonicalUsage,可集中注入该端口;
|
|
12
|
-
* linnkit 只定义协议,不在这里放 provider family 规则。
|
|
13
|
-
*/
|
|
14
|
-
interface UsageNormalizer {
|
|
15
|
-
normalize(input: {
|
|
16
|
-
route: TokenRoute;
|
|
17
|
-
rawUsage: unknown;
|
|
18
|
-
}): CanonicalLlmUsage | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const index_AgentContextInjection: typeof AgentContextInjection;
|
|
22
|
-
declare const index_AgentInvocationRequest: typeof AgentInvocationRequest;
|
|
23
|
-
declare const index_AuditPort: typeof AuditPort;
|
|
24
|
-
declare const index_CanonicalAssistantReplayPart: typeof CanonicalAssistantReplayPart;
|
|
25
|
-
declare const index_CanonicalCompletedToolCall: typeof CanonicalCompletedToolCall;
|
|
26
|
-
declare const index_CanonicalInferenceCacheAnchor: typeof CanonicalInferenceCacheAnchor;
|
|
27
|
-
declare const index_CanonicalInferenceCachePolicy: typeof CanonicalInferenceCachePolicy;
|
|
28
|
-
declare const index_CanonicalInferenceContentBlock: typeof CanonicalInferenceContentBlock;
|
|
29
|
-
declare const index_CanonicalInferenceEvent: typeof CanonicalInferenceEvent;
|
|
30
|
-
declare const index_CanonicalInferenceFailureKind: typeof CanonicalInferenceFailureKind;
|
|
31
|
-
declare const index_CanonicalInferenceFinishReason: typeof CanonicalInferenceFinishReason;
|
|
32
|
-
declare const index_CanonicalInferenceImageBlock: typeof CanonicalInferenceImageBlock;
|
|
33
|
-
declare const index_CanonicalInferenceMessage: typeof CanonicalInferenceMessage;
|
|
34
|
-
declare const index_CanonicalInferencePort: typeof CanonicalInferencePort;
|
|
35
|
-
declare const index_CanonicalInferenceRequest: typeof CanonicalInferenceRequest;
|
|
36
|
-
declare const index_CanonicalInferenceTextBlock: typeof CanonicalInferenceTextBlock;
|
|
37
|
-
declare const index_CanonicalInferenceTool: typeof CanonicalInferenceTool;
|
|
38
|
-
declare const index_CanonicalToolChoice: typeof CanonicalToolChoice;
|
|
39
|
-
declare const index_ImageInputAdmissionAttachmentEvidence: typeof ImageInputAdmissionAttachmentEvidence;
|
|
40
|
-
declare const index_ImageInputAdmissionEvidence: typeof ImageInputAdmissionEvidence;
|
|
41
|
-
declare const index_JsonSchemaValue: typeof JsonSchemaValue;
|
|
42
|
-
declare const index_LlmCallOptions: typeof LlmCallOptions;
|
|
43
|
-
declare const index_LlmImageInputDescriptor: typeof LlmImageInputDescriptor;
|
|
44
|
-
declare const index_LlmImageInputEstimate: typeof LlmImageInputEstimate;
|
|
45
|
-
declare const index_LlmImageInputEstimatorPort: typeof LlmImageInputEstimatorPort;
|
|
46
|
-
declare const index_LlmImageInputPlacement: typeof LlmImageInputPlacement;
|
|
47
|
-
declare const index_LlmInputMaterializationAttempt: typeof LlmInputMaterializationAttempt;
|
|
48
|
-
declare const index_LlmInputMaterializerPort: typeof LlmInputMaterializerPort;
|
|
49
|
-
declare const index_LlmRequestMessage: typeof LlmRequestMessage;
|
|
50
|
-
declare const index_LlmRetryConfig: typeof LlmRetryConfig;
|
|
51
|
-
declare const index_ProviderContinuation: typeof ProviderContinuation;
|
|
52
|
-
declare const index_ProviderContinuationProducer: typeof ProviderContinuationProducer;
|
|
53
|
-
declare const index_ResolvedLlmImageAttachment: typeof ResolvedLlmImageAttachment;
|
|
54
|
-
declare const index_ResolvedLlmInputMessage: typeof ResolvedLlmInputMessage;
|
|
55
|
-
declare const index_TokenCountResult: typeof TokenCountResult;
|
|
56
|
-
declare const index_TokenCounterPort: typeof TokenCounterPort;
|
|
57
|
-
declare const index_TokenizerPort: typeof TokenizerPort;
|
|
58
|
-
declare const index_ToolCall: typeof ToolCall;
|
|
59
|
-
declare const index_ToolParameterProperty: typeof ToolParameterProperty;
|
|
60
|
-
declare const index_ToolParameterSchema: typeof ToolParameterSchema;
|
|
61
|
-
declare const index_ToolParameterType: typeof ToolParameterType;
|
|
62
|
-
type index_UsageNormalizer = UsageNormalizer;
|
|
63
|
-
declare namespace index {
|
|
64
|
-
export { index_AgentContextInjection as AgentContextInjection, index_AgentInvocationRequest as AgentInvocationRequest, index_AuditPort as AuditPort, index_CanonicalAssistantReplayPart as CanonicalAssistantReplayPart, index_CanonicalCompletedToolCall as CanonicalCompletedToolCall, index_CanonicalInferenceCacheAnchor as CanonicalInferenceCacheAnchor, index_CanonicalInferenceCachePolicy as CanonicalInferenceCachePolicy, index_CanonicalInferenceContentBlock as CanonicalInferenceContentBlock, index_CanonicalInferenceEvent as CanonicalInferenceEvent, index_CanonicalInferenceFailureKind as CanonicalInferenceFailureKind, index_CanonicalInferenceFinishReason as CanonicalInferenceFinishReason, index_CanonicalInferenceImageBlock as CanonicalInferenceImageBlock, index_CanonicalInferenceMessage as CanonicalInferenceMessage, index_CanonicalInferencePort as CanonicalInferencePort, index_CanonicalInferenceRequest as CanonicalInferenceRequest, index_CanonicalInferenceTextBlock as CanonicalInferenceTextBlock, index_CanonicalInferenceTool as CanonicalInferenceTool, index_CanonicalToolChoice as CanonicalToolChoice, index_ImageInputAdmissionAttachmentEvidence as ImageInputAdmissionAttachmentEvidence, index_ImageInputAdmissionEvidence as ImageInputAdmissionEvidence, index_JsonSchemaValue as JsonSchemaValue, index_LlmCallOptions as LlmCallOptions, index_LlmImageInputDescriptor as LlmImageInputDescriptor, index_LlmImageInputEstimate as LlmImageInputEstimate, index_LlmImageInputEstimatorPort as LlmImageInputEstimatorPort, index_LlmImageInputPlacement as LlmImageInputPlacement, index_LlmInputMaterializationAttempt as LlmInputMaterializationAttempt, index_LlmInputMaterializerPort as LlmInputMaterializerPort, index_LlmRequestMessage as LlmRequestMessage, index_LlmRetryConfig as LlmRetryConfig, index_ProviderContinuation as ProviderContinuation, index_ProviderContinuationProducer as ProviderContinuationProducer, index_ResolvedLlmImageAttachment as ResolvedLlmImageAttachment, index_ResolvedLlmInputMessage as ResolvedLlmInputMessage, index_TokenCountResult as TokenCountResult, index_TokenCounterPort as TokenCounterPort, index_TokenizerPort as TokenizerPort, index_ToolCall as ToolCall, index_ToolParameterProperty as ToolParameterProperty, index_ToolParameterSchema as ToolParameterSchema, index_ToolParameterType as ToolParameterType, type index_UsageNormalizer as UsageNormalizer };
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { type UsageNormalizer as U, index as i };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { A as AgentContextInjection, b as AgentInvocationRequest, C as CanonicalAssistantReplayPart, c as CanonicalCompletedToolCall, d as CanonicalInferenceCacheAnchor, e as CanonicalInferenceCachePolicy, f as CanonicalInferenceContentBlock, g as CanonicalInferenceEvent, h as CanonicalInferenceFailureKind, i as CanonicalInferenceFinishReason, j as CanonicalInferenceImageBlock, k as CanonicalInferenceMessage, l as CanonicalInferencePort, m as CanonicalInferenceRequest, n as CanonicalInferenceTextBlock, o as CanonicalInferenceTool, p as CanonicalToolChoice, q as ImageInputAdmissionAttachmentEvidence, I as ImageInputAdmissionEvidence, J as JsonSchemaValue, r as LlmCallOptions, s as LlmImageInputDescriptor, t as LlmImageInputEstimate, a as LlmImageInputEstimatorPort, L as LlmImageInputPlacement, u as LlmInputMaterializationAttempt, v as LlmInputMaterializerPort, w as LlmRequestMessage, x as LlmRetryConfig, R as ResolvedLlmImageAttachment, y as ResolvedLlmInputMessage, T as ToolCall, z as ToolParameterProperty, B as ToolParameterSchema, D as ToolParameterType } from './llm-input-materialization-r-V3n9U-.cjs';
|
|
2
|
-
import { P as ProviderContinuation, y as ProviderContinuationProducer } from './provider-continuation-CTZdCB--.cjs';
|
|
3
|
-
import { A as AuditPort } from './audit-C9LPbPib.cjs';
|
|
4
|
-
import { a as TokenCountResult, T as TokenCounterPort } from './token-counter-DiGIoaq2.cjs';
|
|
5
|
-
import { T as TokenizerPort } from './tokenizer-Dz5Y3KT0.cjs';
|
|
6
|
-
import { T as TokenRoute, C as CanonicalLlmUsage } from './reasoning-bffu9R2B.cjs';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 可选 usage 归一化端口。
|
|
10
|
-
*
|
|
11
|
-
* host 若不想在 adapter response 里直接回传 canonicalUsage,可集中注入该端口;
|
|
12
|
-
* linnkit 只定义协议,不在这里放 provider family 规则。
|
|
13
|
-
*/
|
|
14
|
-
interface UsageNormalizer {
|
|
15
|
-
normalize(input: {
|
|
16
|
-
route: TokenRoute;
|
|
17
|
-
rawUsage: unknown;
|
|
18
|
-
}): CanonicalLlmUsage | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const index_AgentContextInjection: typeof AgentContextInjection;
|
|
22
|
-
declare const index_AgentInvocationRequest: typeof AgentInvocationRequest;
|
|
23
|
-
declare const index_AuditPort: typeof AuditPort;
|
|
24
|
-
declare const index_CanonicalAssistantReplayPart: typeof CanonicalAssistantReplayPart;
|
|
25
|
-
declare const index_CanonicalCompletedToolCall: typeof CanonicalCompletedToolCall;
|
|
26
|
-
declare const index_CanonicalInferenceCacheAnchor: typeof CanonicalInferenceCacheAnchor;
|
|
27
|
-
declare const index_CanonicalInferenceCachePolicy: typeof CanonicalInferenceCachePolicy;
|
|
28
|
-
declare const index_CanonicalInferenceContentBlock: typeof CanonicalInferenceContentBlock;
|
|
29
|
-
declare const index_CanonicalInferenceEvent: typeof CanonicalInferenceEvent;
|
|
30
|
-
declare const index_CanonicalInferenceFailureKind: typeof CanonicalInferenceFailureKind;
|
|
31
|
-
declare const index_CanonicalInferenceFinishReason: typeof CanonicalInferenceFinishReason;
|
|
32
|
-
declare const index_CanonicalInferenceImageBlock: typeof CanonicalInferenceImageBlock;
|
|
33
|
-
declare const index_CanonicalInferenceMessage: typeof CanonicalInferenceMessage;
|
|
34
|
-
declare const index_CanonicalInferencePort: typeof CanonicalInferencePort;
|
|
35
|
-
declare const index_CanonicalInferenceRequest: typeof CanonicalInferenceRequest;
|
|
36
|
-
declare const index_CanonicalInferenceTextBlock: typeof CanonicalInferenceTextBlock;
|
|
37
|
-
declare const index_CanonicalInferenceTool: typeof CanonicalInferenceTool;
|
|
38
|
-
declare const index_CanonicalToolChoice: typeof CanonicalToolChoice;
|
|
39
|
-
declare const index_ImageInputAdmissionAttachmentEvidence: typeof ImageInputAdmissionAttachmentEvidence;
|
|
40
|
-
declare const index_ImageInputAdmissionEvidence: typeof ImageInputAdmissionEvidence;
|
|
41
|
-
declare const index_JsonSchemaValue: typeof JsonSchemaValue;
|
|
42
|
-
declare const index_LlmCallOptions: typeof LlmCallOptions;
|
|
43
|
-
declare const index_LlmImageInputDescriptor: typeof LlmImageInputDescriptor;
|
|
44
|
-
declare const index_LlmImageInputEstimate: typeof LlmImageInputEstimate;
|
|
45
|
-
declare const index_LlmImageInputEstimatorPort: typeof LlmImageInputEstimatorPort;
|
|
46
|
-
declare const index_LlmImageInputPlacement: typeof LlmImageInputPlacement;
|
|
47
|
-
declare const index_LlmInputMaterializationAttempt: typeof LlmInputMaterializationAttempt;
|
|
48
|
-
declare const index_LlmInputMaterializerPort: typeof LlmInputMaterializerPort;
|
|
49
|
-
declare const index_LlmRequestMessage: typeof LlmRequestMessage;
|
|
50
|
-
declare const index_LlmRetryConfig: typeof LlmRetryConfig;
|
|
51
|
-
declare const index_ProviderContinuation: typeof ProviderContinuation;
|
|
52
|
-
declare const index_ProviderContinuationProducer: typeof ProviderContinuationProducer;
|
|
53
|
-
declare const index_ResolvedLlmImageAttachment: typeof ResolvedLlmImageAttachment;
|
|
54
|
-
declare const index_ResolvedLlmInputMessage: typeof ResolvedLlmInputMessage;
|
|
55
|
-
declare const index_TokenCountResult: typeof TokenCountResult;
|
|
56
|
-
declare const index_TokenCounterPort: typeof TokenCounterPort;
|
|
57
|
-
declare const index_TokenizerPort: typeof TokenizerPort;
|
|
58
|
-
declare const index_ToolCall: typeof ToolCall;
|
|
59
|
-
declare const index_ToolParameterProperty: typeof ToolParameterProperty;
|
|
60
|
-
declare const index_ToolParameterSchema: typeof ToolParameterSchema;
|
|
61
|
-
declare const index_ToolParameterType: typeof ToolParameterType;
|
|
62
|
-
type index_UsageNormalizer = UsageNormalizer;
|
|
63
|
-
declare namespace index {
|
|
64
|
-
export { index_AgentContextInjection as AgentContextInjection, index_AgentInvocationRequest as AgentInvocationRequest, index_AuditPort as AuditPort, index_CanonicalAssistantReplayPart as CanonicalAssistantReplayPart, index_CanonicalCompletedToolCall as CanonicalCompletedToolCall, index_CanonicalInferenceCacheAnchor as CanonicalInferenceCacheAnchor, index_CanonicalInferenceCachePolicy as CanonicalInferenceCachePolicy, index_CanonicalInferenceContentBlock as CanonicalInferenceContentBlock, index_CanonicalInferenceEvent as CanonicalInferenceEvent, index_CanonicalInferenceFailureKind as CanonicalInferenceFailureKind, index_CanonicalInferenceFinishReason as CanonicalInferenceFinishReason, index_CanonicalInferenceImageBlock as CanonicalInferenceImageBlock, index_CanonicalInferenceMessage as CanonicalInferenceMessage, index_CanonicalInferencePort as CanonicalInferencePort, index_CanonicalInferenceRequest as CanonicalInferenceRequest, index_CanonicalInferenceTextBlock as CanonicalInferenceTextBlock, index_CanonicalInferenceTool as CanonicalInferenceTool, index_CanonicalToolChoice as CanonicalToolChoice, index_ImageInputAdmissionAttachmentEvidence as ImageInputAdmissionAttachmentEvidence, index_ImageInputAdmissionEvidence as ImageInputAdmissionEvidence, index_JsonSchemaValue as JsonSchemaValue, index_LlmCallOptions as LlmCallOptions, index_LlmImageInputDescriptor as LlmImageInputDescriptor, index_LlmImageInputEstimate as LlmImageInputEstimate, index_LlmImageInputEstimatorPort as LlmImageInputEstimatorPort, index_LlmImageInputPlacement as LlmImageInputPlacement, index_LlmInputMaterializationAttempt as LlmInputMaterializationAttempt, index_LlmInputMaterializerPort as LlmInputMaterializerPort, index_LlmRequestMessage as LlmRequestMessage, index_LlmRetryConfig as LlmRetryConfig, index_ProviderContinuation as ProviderContinuation, index_ProviderContinuationProducer as ProviderContinuationProducer, index_ResolvedLlmImageAttachment as ResolvedLlmImageAttachment, index_ResolvedLlmInputMessage as ResolvedLlmInputMessage, index_TokenCountResult as TokenCountResult, index_TokenCounterPort as TokenCounterPort, index_TokenizerPort as TokenizerPort, index_ToolCall as ToolCall, index_ToolParameterProperty as ToolParameterProperty, index_ToolParameterSchema as ToolParameterSchema, index_ToolParameterType as ToolParameterType, type index_UsageNormalizer as UsageNormalizer };
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { type UsageNormalizer as U, index as i };
|