veryfront 0.1.558 → 0.1.560
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/esm/cli/commands/doctor/version-checks.d.ts.map +1 -1
- package/esm/cli/commands/doctor/version-checks.js +3 -1
- package/esm/deno.d.ts +1 -0
- package/esm/deno.js +5 -4
- package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts +3 -0
- package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/browser-chunk-encoder.js +1 -0
- package/esm/src/agent/ag-ui/browser-encoder.d.ts +8 -0
- package/esm/src/agent/ag-ui/browser-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/browser-encoder.js +4 -0
- package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts +3 -0
- package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/browser-finalize-tracker.js +1 -0
- package/esm/src/agent/ag-ui/browser-response-stream.d.ts +5 -0
- package/esm/src/agent/ag-ui/browser-response-stream.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/browser-response-stream.js +1 -0
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts +9 -0
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.js +6 -0
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts +3 -0
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/chunk-encoder-bridge.js +1 -0
- package/esm/src/agent/ag-ui/detached-start.d.ts +13 -2
- package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/detached-start.js +9 -2
- package/esm/src/agent/ag-ui/forwarded-context.d.ts +8 -0
- package/esm/src/agent/ag-ui/forwarded-context.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/forwarded-context.js +7 -0
- package/esm/src/agent/ag-ui/handler.d.ts +4 -0
- package/esm/src/agent/ag-ui/handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/handler.js +1 -0
- package/esm/src/agent/ag-ui/host-support.d.ts +13 -1
- package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/host-support.js +11 -3
- package/esm/src/agent/ag-ui/run-control.d.ts +8 -1
- package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/run-control.js +5 -1
- package/esm/src/agent/ag-ui/runtime-browser-response.d.ts +2 -0
- package/esm/src/agent/ag-ui/runtime-browser-response.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-browser-response.js +1 -0
- package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts +4 -0
- package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.js +1 -0
- package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts +3 -0
- package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-event-encoder.js +1 -0
- package/esm/src/agent/ag-ui/runtime-handler.d.ts +7 -0
- package/esm/src/agent/ag-ui/runtime-handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-handler.js +1 -0
- package/esm/src/agent/ag-ui/runtime-support.d.ts +1 -0
- package/esm/src/agent/ag-ui/runtime-support.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/runtime-support.js +1 -0
- package/esm/src/agent/ag-ui/tool-shared.d.ts +1 -0
- package/esm/src/agent/ag-ui/tool-shared.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/tracked-browser-response.d.ts +2 -0
- package/esm/src/agent/ag-ui/tracked-browser-response.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/tracked-browser-response.js +1 -0
- package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts +5 -0
- package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts.map +1 -1
- package/esm/src/agent/artifacts/default-research-artifact-policy.js +4 -0
- package/esm/src/agent/artifacts/default-research-artifact-support.d.ts +10 -0
- package/esm/src/agent/artifacts/default-research-artifact-support.d.ts.map +1 -1
- package/esm/src/agent/artifacts/default-research-artifact-support.js +7 -0
- package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts +4 -0
- package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts.map +1 -1
- package/esm/src/agent/artifacts/slash-command-artifact-policy.js +2 -0
- package/esm/src/agent/child-run/execution-cleanup.d.ts +4 -0
- package/esm/src/agent/child-run/execution-cleanup.d.ts.map +1 -1
- package/esm/src/agent/child-run/execution-cleanup.js +2 -0
- package/esm/src/agent/child-run/execution-snapshot.d.ts +13 -0
- package/esm/src/agent/child-run/execution-snapshot.d.ts.map +1 -1
- package/esm/src/agent/child-run/execution-snapshot.js +7 -0
- package/esm/src/agent/child-run/execution-support.d.ts +4 -0
- package/esm/src/agent/child-run/execution-support.d.ts.map +1 -1
- package/esm/src/agent/child-run/execution-support.js +4 -0
- package/esm/src/agent/child-run/final-step-support.d.ts +3 -0
- package/esm/src/agent/child-run/final-step-support.d.ts.map +1 -1
- package/esm/src/agent/child-run/final-step-support.js +3 -0
- package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts +21 -3
- package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts.map +1 -1
- package/esm/src/agent/child-run/invoke-agent-child-runs.js +16 -3
- package/esm/src/agent/child-run/result-summary.d.ts +5 -0
- package/esm/src/agent/child-run/result-summary.d.ts.map +1 -1
- package/esm/src/agent/child-run/result-summary.js +5 -0
- package/esm/src/agent/composition/composition.d.ts +9 -0
- package/esm/src/agent/composition/composition.d.ts.map +1 -1
- package/esm/src/agent/composition/composition.js +6 -0
- package/esm/src/agent/conversation/bootstrap.d.ts +21 -2
- package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
- package/esm/src/agent/conversation/bootstrap.js +16 -2
- package/esm/src/agent/conversation/delegation-policy.d.ts +32 -0
- package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
- package/esm/src/agent/conversation/delegation-policy.js +30 -0
- package/esm/src/agent/conversation/durable.d.ts +59 -6
- package/esm/src/agent/conversation/durable.d.ts.map +1 -1
- package/esm/src/agent/conversation/durable.js +44 -6
- package/esm/src/agent/conversation/hosted-lifecycle.d.ts +6 -0
- package/esm/src/agent/conversation/hosted-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/conversation/hosted-lifecycle.js +3 -0
- package/esm/src/agent/conversation/hosted-terminal.d.ts +15 -0
- package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
- package/esm/src/agent/conversation/hosted-terminal.js +9 -0
- package/esm/src/agent/conversation/root-run-context.d.ts +6 -0
- package/esm/src/agent/conversation/root-run-context.d.ts.map +1 -1
- package/esm/src/agent/conversation/root-run-context.js +4 -0
- package/esm/src/agent/conversation/root-run-lifecycle.d.ts +7 -0
- package/esm/src/agent/conversation/root-run-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/conversation/root-run-lifecycle.js +2 -0
- package/esm/src/agent/conversation/run-chunk-mirror.d.ts +13 -0
- package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-chunk-mirror.js +2 -0
- package/esm/src/agent/conversation/run-context.d.ts +2 -0
- package/esm/src/agent/conversation/run-context.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-context.js +1 -0
- package/esm/src/agent/conversation/run-event-normalization.d.ts +3 -0
- package/esm/src/agent/conversation/run-event-normalization.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-event-normalization.js +3 -0
- package/esm/src/agent/conversation/run-event-preparation.d.ts +4 -0
- package/esm/src/agent/conversation/run-event-preparation.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-event-preparation.js +4 -0
- package/esm/src/agent/conversation/run-events.d.ts +8 -1
- package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-events.js +7 -1
- package/esm/src/agent/conversation/run-mirror.d.ts +5 -0
- package/esm/src/agent/conversation/run-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-mirror.js +1 -0
- package/esm/src/agent/conversation/run-stream-mirror.d.ts +2 -0
- package/esm/src/agent/conversation/run-stream-mirror.d.ts.map +1 -1
- package/esm/src/agent/conversation/run-stream-mirror.js +1 -0
- package/esm/src/agent/factory.d.ts +1 -0
- package/esm/src/agent/factory.d.ts.map +1 -1
- package/esm/src/agent/factory.js +1 -0
- package/esm/src/agent/hosted/ag-ui-chat-request.d.ts +11 -1
- package/esm/src/agent/hosted/ag-ui-chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted/ag-ui-chat-request.js +7 -1
- package/esm/src/agent/hosted/agent-project-steering.d.ts +6 -0
- package/esm/src/agent/hosted/agent-project-steering.d.ts.map +1 -1
- package/esm/src/agent/hosted/agent-project-steering.js +2 -0
- package/esm/src/agent/hosted/agent-run-lifecycle.d.ts +9 -0
- package/esm/src/agent/hosted/agent-run-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/hosted/agent-run-lifecycle.js +2 -0
- package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts +1 -0
- package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-execution-runtime.d.ts +17 -0
- package/esm/src/agent/hosted/chat-execution-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-execution-runtime.js +8 -0
- package/esm/src/agent/hosted/chat-preparation.d.ts +14 -0
- package/esm/src/agent/hosted/chat-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-preparation.js +4 -0
- package/esm/src/agent/hosted/chat-request-parser.d.ts +8 -0
- package/esm/src/agent/hosted/chat-request-parser.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-request-parser.js +3 -0
- package/esm/src/agent/hosted/chat-request.d.ts +14 -3
- package/esm/src/agent/hosted/chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-request.js +12 -3
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts +4 -0
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.js +1 -0
- package/esm/src/agent/hosted/chat-runtime-contract.d.ts +9 -0
- package/esm/src/agent/hosted/chat-runtime-contract.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +6 -0
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +2 -0
- package/esm/src/agent/hosted/child-artifact-support.d.ts +9 -0
- package/esm/src/agent/hosted/child-artifact-support.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-artifact-support.js +5 -0
- package/esm/src/agent/hosted/child-bootstrap.d.ts +5 -0
- package/esm/src/agent/hosted/child-bootstrap.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-bootstrap.js +2 -0
- package/esm/src/agent/hosted/child-execution-logging.d.ts +8 -0
- package/esm/src/agent/hosted/child-execution-logging.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-execution-logging.js +5 -0
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +10 -0
- package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-execution-runner.js +7 -0
- package/esm/src/agent/hosted/child-fork-instructions.d.ts +3 -0
- package/esm/src/agent/hosted/child-fork-instructions.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-instructions.js +2 -0
- package/esm/src/agent/hosted/child-fork-run-context.d.ts +16 -0
- package/esm/src/agent/hosted/child-fork-run-context.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-run-context.js +5 -0
- package/esm/src/agent/hosted/child-fork-runtime-start.d.ts +4 -0
- package/esm/src/agent/hosted/child-fork-runtime-start.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-runtime-start.js +1 -0
- package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +5 -0
- package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-step-message-preparation.js +2 -0
- package/esm/src/agent/hosted/child-fork-stream-execution.d.ts +10 -0
- package/esm/src/agent/hosted/child-fork-stream-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-stream-execution.js +4 -0
- package/esm/src/agent/hosted/child-fork-tool-sources.d.ts +6 -0
- package/esm/src/agent/hosted/child-fork-tool-sources.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-fork-tool-sources.js +2 -0
- package/esm/src/agent/hosted/child-invoke-tool.d.ts +3 -0
- package/esm/src/agent/hosted/child-invoke-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-invoke-tool.js +1 -0
- package/esm/src/agent/hosted/child-lifecycle.d.ts +9 -0
- package/esm/src/agent/hosted/child-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-lifecycle.js +3 -0
- package/esm/src/agent/hosted/child-mirror.d.ts +10 -0
- package/esm/src/agent/hosted/child-mirror.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-mirror.js +6 -0
- package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts +11 -0
- package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-pending-tool-lifecycle.js +2 -0
- package/esm/src/agent/hosted/child-requested-tools.d.ts +18 -0
- package/esm/src/agent/hosted/child-requested-tools.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-requested-tools.js +13 -0
- package/esm/src/agent/hosted/child-status.d.ts +11 -0
- package/esm/src/agent/hosted/child-status.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-status.js +6 -0
- package/esm/src/agent/hosted/child-steering-tools.d.ts +6 -0
- package/esm/src/agent/hosted/child-steering-tools.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-steering-tools.js +2 -0
- package/esm/src/agent/hosted/child-stream-watchdog.d.ts +8 -0
- package/esm/src/agent/hosted/child-stream-watchdog.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-stream-watchdog.js +6 -0
- package/esm/src/agent/hosted/child-tool-input.d.ts +9 -1
- package/esm/src/agent/hosted/child-tool-input.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-tool-input.js +6 -1
- package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts +4 -0
- package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-chat-execution-preparation.js +2 -0
- package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts +2 -0
- package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.js +1 -0
- package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +3 -0
- package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-runtime-system-messages.js +2 -0
- package/esm/src/agent/hosted/default-chat-runtime.d.ts +10 -0
- package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-chat-runtime.js +1 -0
- package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +17 -2
- package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-invoke-agent-tool.js +8 -2
- package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +7 -0
- package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-project-steering-refresh.js +2 -0
- package/esm/src/agent/hosted/durable-chat-run-start.d.ts +9 -0
- package/esm/src/agent/hosted/durable-chat-run-start.d.ts.map +1 -1
- package/esm/src/agent/hosted/durable-chat-run-start.js +2 -0
- package/esm/src/agent/hosted/durable-child-fork-execution.d.ts +22 -0
- package/esm/src/agent/hosted/durable-child-fork-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/durable-child-fork-execution.js +6 -0
- package/esm/src/agent/hosted/finalized-message.d.ts +10 -0
- package/esm/src/agent/hosted/finalized-message.d.ts.map +1 -1
- package/esm/src/agent/hosted/finalized-message.js +4 -0
- package/esm/src/agent/hosted/form-input-tool.d.ts +2 -0
- package/esm/src/agent/hosted/form-input-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted/form-input-tool.js +1 -0
- package/esm/src/agent/hosted/lifecycle.d.ts +6 -0
- package/esm/src/agent/hosted/lifecycle.d.ts.map +1 -1
- package/esm/src/agent/hosted/lifecycle.js +1 -0
- package/esm/src/agent/hosted/prepared-chat-execution.d.ts +6 -0
- package/esm/src/agent/hosted/prepared-chat-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/prepared-chat-execution.js +2 -0
- package/esm/src/agent/hosted/project-remote-tool-source.d.ts +8 -0
- package/esm/src/agent/hosted/project-remote-tool-source.d.ts.map +1 -1
- package/esm/src/agent/hosted/project-remote-tool-source.js +2 -0
- package/esm/src/agent/hosted/project-steering-adapter.d.ts +5 -0
- package/esm/src/agent/hosted/project-steering-adapter.d.ts.map +1 -1
- package/esm/src/agent/hosted/project-steering-adapter.js +1 -0
- package/esm/src/agent/hosted/response-stream.d.ts +4 -0
- package/esm/src/agent/hosted/response-stream.d.ts.map +1 -1
- package/esm/src/agent/hosted/response-stream.js +1 -0
- package/esm/src/agent/hosted/runtime-request-config.d.ts +8 -0
- package/esm/src/agent/hosted/runtime-request-config.d.ts.map +1 -1
- package/esm/src/agent/hosted/runtime-request-config.js +4 -0
- package/esm/src/agent/hosted/runtime-state-resolver.d.ts +7 -0
- package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
- package/esm/src/agent/hosted/runtime-state-resolver.js +1 -0
- package/esm/src/agent/hosted/stream-finalization.d.ts +7 -0
- package/esm/src/agent/hosted/stream-finalization.d.ts.map +1 -1
- package/esm/src/agent/hosted/stream-finalization.js +2 -0
- package/esm/src/agent/hosted/stream-terminal-error.d.ts +4 -0
- package/esm/src/agent/hosted/stream-terminal-error.d.ts.map +1 -1
- package/esm/src/agent/hosted/stream-terminal-error.js +3 -0
- package/esm/src/agent/hosted/trace-attributes.d.ts +9 -0
- package/esm/src/agent/hosted/trace-attributes.d.ts.map +1 -1
- package/esm/src/agent/hosted/trace-attributes.js +6 -0
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts +13 -0
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +4 -0
- package/esm/src/agent/input/human-input.d.ts +22 -0
- package/esm/src/agent/input/human-input.d.ts.map +1 -1
- package/esm/src/agent/input/human-input.js +10 -0
- package/esm/src/agent/input/request-protocol.d.ts +14 -0
- package/esm/src/agent/input/request-protocol.d.ts.map +1 -1
- package/esm/src/agent/input/request-protocol.js +12 -0
- package/esm/src/agent/memory/memory-interface.d.ts +3 -0
- package/esm/src/agent/memory/memory-interface.d.ts.map +1 -1
- package/esm/src/agent/memory/memory.d.ts +4 -0
- package/esm/src/agent/memory/memory.d.ts.map +1 -1
- package/esm/src/agent/memory/memory.js +4 -0
- package/esm/src/agent/memory/redis.d.ts +2 -0
- package/esm/src/agent/memory/redis.d.ts.map +1 -1
- package/esm/src/agent/memory/redis.js +2 -0
- package/esm/src/agent/project/agent-runtime.d.ts +10 -0
- package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
- package/esm/src/agent/project/agent-runtime.js +7 -0
- package/esm/src/agent/project/context.d.ts +3 -0
- package/esm/src/agent/project/context.d.ts.map +1 -1
- package/esm/src/agent/project/context.js +2 -0
- package/esm/src/agent/project/live-studio-mcp-tools.d.ts +3 -0
- package/esm/src/agent/project/live-studio-mcp-tools.d.ts.map +1 -1
- package/esm/src/agent/project/live-studio-mcp-tools.js +2 -0
- package/esm/src/agent/project/steering-mutation.d.ts +7 -0
- package/esm/src/agent/project/steering-mutation.d.ts.map +1 -1
- package/esm/src/agent/project/steering-mutation.js +4 -0
- package/esm/src/agent/react/use-agent.d.ts +3 -0
- package/esm/src/agent/react/use-agent.d.ts.map +1 -1
- package/esm/src/agent/react/use-agent.js +1 -0
- package/esm/src/agent/react/use-chat/types.d.ts +7 -2
- package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
- package/esm/src/agent/react/use-completion.d.ts +2 -0
- package/esm/src/agent/react/use-completion.d.ts.map +1 -1
- package/esm/src/agent/react/use-streaming.d.ts +3 -0
- package/esm/src/agent/react/use-streaming.d.ts.map +1 -1
- package/esm/src/agent/react/use-streaming.js +1 -0
- package/esm/src/agent/react/use-voice-input.d.ts +3 -0
- package/esm/src/agent/react/use-voice-input.d.ts.map +1 -1
- package/esm/src/agent/react/use-voice-input.js +1 -0
- package/esm/src/agent/runtime/ag-ui-contract.d.ts +11 -0
- package/esm/src/agent/runtime/ag-ui-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/ag-ui-contract.js +9 -2
- package/esm/src/agent/runtime/agent-definition-files.d.ts +7 -0
- package/esm/src/agent/runtime/agent-definition-files.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition-files.js +5 -0
- package/esm/src/agent/runtime/agent-definition.d.ts +19 -3
- package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-definition.js +15 -3
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts +52 -13
- package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-invocation-contract.js +45 -15
- package/esm/src/agent/runtime/agent-markdown-adapter.d.ts +3 -0
- package/esm/src/agent/runtime/agent-markdown-adapter.d.ts.map +1 -1
- package/esm/src/agent/runtime/agent-markdown-adapter.js +3 -0
- package/esm/src/agent/runtime/builtin-skill-files.d.ts +10 -0
- package/esm/src/agent/runtime/builtin-skill-files.d.ts.map +1 -1
- package/esm/src/agent/runtime/builtin-skill-files.js +9 -0
- package/esm/src/agent/runtime/client-profile.d.ts +17 -3
- package/esm/src/agent/runtime/client-profile.d.ts.map +1 -1
- package/esm/src/agent/runtime/client-profile.js +14 -3
- package/esm/src/agent/runtime/index.d.ts +1 -0
- package/esm/src/agent/runtime/index.d.ts.map +1 -1
- package/esm/src/agent/runtime/index.js +1 -0
- package/esm/src/agent/runtime/load-skill-tool.d.ts +11 -0
- package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
- package/esm/src/agent/runtime/load-skill-tool.js +3 -0
- package/esm/src/agent/runtime/message-adapter.d.ts +9 -0
- package/esm/src/agent/runtime/message-adapter.d.ts.map +1 -1
- package/esm/src/agent/runtime/message-adapter.js +7 -0
- package/esm/src/agent/runtime/message-file-url-refresh.d.ts +3 -0
- package/esm/src/agent/runtime/message-file-url-refresh.d.ts.map +1 -1
- package/esm/src/agent/runtime/message-file-url-refresh.js +1 -0
- package/esm/src/agent/runtime/message-preparation.d.ts +2 -0
- package/esm/src/agent/runtime/message-preparation.d.ts.map +1 -1
- package/esm/src/agent/runtime/message-preparation.js +1 -0
- package/esm/src/agent/runtime/project-files-client.d.ts +18 -2
- package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
- package/esm/src/agent/runtime/project-files-client.js +10 -2
- package/esm/src/agent/runtime/project-skill-catalog.d.ts +6 -0
- package/esm/src/agent/runtime/project-skill-catalog.d.ts.map +1 -1
- package/esm/src/agent/runtime/project-skill-catalog.js +3 -0
- package/esm/src/agent/runtime/project-skill-loader.d.ts +6 -0
- package/esm/src/agent/runtime/project-skill-loader.d.ts.map +1 -1
- package/esm/src/agent/runtime/project-skill-loader.js +1 -0
- package/esm/src/agent/runtime/prompt-block.d.ts +2 -0
- package/esm/src/agent/runtime/prompt-block.d.ts.map +1 -1
- package/esm/src/agent/runtime/prompt-block.js +1 -0
- package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts +4 -0
- package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts.map +1 -1
- package/esm/src/agent/runtime/provider-native-tool-inventory.js +3 -0
- package/esm/src/agent/runtime/provider-tool-compat.d.ts +7 -0
- package/esm/src/agent/runtime/provider-tool-compat.d.ts.map +1 -1
- package/esm/src/agent/runtime/provider-tool-compat.js +4 -0
- package/esm/src/agent/runtime/resume-session.d.ts +9 -0
- package/esm/src/agent/runtime/resume-session.d.ts.map +1 -1
- package/esm/src/agent/runtime/resume-session.js +7 -0
- package/esm/src/agent/runtime/skill-metadata.d.ts +14 -1
- package/esm/src/agent/runtime/skill-metadata.d.ts.map +1 -1
- package/esm/src/agent/runtime/skill-metadata.js +8 -1
- package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
- package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
- package/esm/src/agent/runtime/skill-prompt.js +3 -0
- package/esm/src/agent/runtime/tool-inventory.d.ts +2 -0
- package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
- package/esm/src/agent/runtime/tool-inventory.js +2 -0
- package/esm/src/agent/runtime/upload-url-client.d.ts +4 -0
- package/esm/src/agent/runtime/upload-url-client.d.ts.map +1 -1
- package/esm/src/agent/runtime/upload-url-client.js +1 -0
- package/esm/src/agent/schemas/agent.schema.d.ts +14 -0
- package/esm/src/agent/schemas/agent.schema.d.ts.map +1 -1
- package/esm/src/agent/service/abort-rejection-guard.d.ts +8 -0
- package/esm/src/agent/service/abort-rejection-guard.d.ts.map +1 -1
- package/esm/src/agent/service/abort-rejection-guard.js +2 -0
- package/esm/src/agent/service/auth.d.ts +16 -0
- package/esm/src/agent/service/auth.d.ts.map +1 -1
- package/esm/src/agent/service/auth.js +4 -0
- package/esm/src/agent/service/before-stream.d.ts +4 -0
- package/esm/src/agent/service/before-stream.d.ts.map +1 -1
- package/esm/src/agent/service/bootstrap.d.ts +7 -0
- package/esm/src/agent/service/bootstrap.d.ts.map +1 -1
- package/esm/src/agent/service/bootstrap.js +2 -0
- package/esm/src/agent/service/config.d.ts +11 -0
- package/esm/src/agent/service/config.d.ts.map +1 -1
- package/esm/src/agent/service/config.js +10 -0
- package/esm/src/agent/service/definition.d.ts +5 -0
- package/esm/src/agent/service/definition.d.ts.map +1 -1
- package/esm/src/agent/service/detached-run-tracker.d.ts +8 -0
- package/esm/src/agent/service/detached-run-tracker.d.ts.map +1 -1
- package/esm/src/agent/service/detached-run-tracker.js +2 -0
- package/esm/src/agent/service/env-files.d.ts +6 -0
- package/esm/src/agent/service/env-files.d.ts.map +1 -1
- package/esm/src/agent/service/env-files.js +2 -0
- package/esm/src/agent/service/external-worker-client.d.ts +16 -0
- package/esm/src/agent/service/external-worker-client.d.ts.map +1 -1
- package/esm/src/agent/service/external-worker-client.js +5 -0
- package/esm/src/agent/service/node-runtime-infrastructure.d.ts +6 -0
- package/esm/src/agent/service/node-runtime-infrastructure.d.ts.map +1 -1
- package/esm/src/agent/service/node-runtime-infrastructure.js +2 -0
- package/esm/src/agent/service/node-telemetry.d.ts +18 -0
- package/esm/src/agent/service/node-telemetry.d.ts.map +1 -1
- package/esm/src/agent/service/node-telemetry.js +4 -0
- package/esm/src/agent/service/registration.d.ts +16 -0
- package/esm/src/agent/service/registration.d.ts.map +1 -1
- package/esm/src/agent/service/registration.js +10 -0
- package/esm/src/agent/service/request-auth-cache.d.ts +4 -0
- package/esm/src/agent/service/request-auth-cache.d.ts.map +1 -1
- package/esm/src/agent/service/request-auth-cache.js +1 -0
- package/esm/src/agent/service/response-like.d.ts +1 -0
- package/esm/src/agent/service/response-like.d.ts.map +1 -1
- package/esm/src/agent/service/response-like.js +1 -0
- package/esm/src/agent/service/routes.d.ts +15 -0
- package/esm/src/agent/service/routes.d.ts.map +1 -1
- package/esm/src/agent/service/routes.js +1 -0
- package/esm/src/agent/service/runtime.d.ts +21 -0
- package/esm/src/agent/service/runtime.d.ts.map +1 -1
- package/esm/src/agent/service/runtime.js +5 -0
- package/esm/src/agent/service/server.d.ts +9 -0
- package/esm/src/agent/service/server.d.ts.map +1 -1
- package/esm/src/agent/service/server.js +3 -0
- package/esm/src/agent/streaming/chat-ui-message-stream.d.ts +4 -0
- package/esm/src/agent/streaming/chat-ui-message-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/chat-ui-message-stream.js +1 -0
- package/esm/src/agent/streaming/data-stream.d.ts +6 -0
- package/esm/src/agent/streaming/data-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/data-stream.js +6 -0
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts +41 -4
- package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
- package/esm/src/agent/streaming/fork-runtime-stream.js +25 -3
- package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts +15 -0
- package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts.map +1 -1
- package/esm/src/agent/streaming/mirrored-tool-chunk-state.js +8 -0
- package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts +3 -0
- package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts.map +1 -1
- package/esm/src/agent/streaming/tool-execution-data-event-bridge.js +1 -0
- package/esm/src/agent/testing/agent-tester.d.ts +8 -0
- package/esm/src/agent/testing/agent-tester.d.ts.map +1 -1
- package/esm/src/agent/testing/agent-tester.js +5 -0
- package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts +3 -0
- package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts.map +1 -1
- package/esm/src/agent/testing/durable-run-canaries/cli-runner.js +1 -0
- package/esm/src/agent/testing/durable-run-canaries/environment.d.ts +3 -0
- package/esm/src/agent/testing/durable-run-canaries/environment.d.ts.map +1 -1
- package/esm/src/agent/testing/durable-run-canaries/environment.js +2 -0
- package/esm/src/agent/testing/durable-run-canaries/runner.d.ts +16 -0
- package/esm/src/agent/testing/durable-run-canaries/runner.d.ts.map +1 -1
- package/esm/src/agent/testing/durable-run-canaries/runner.js +5 -0
- package/esm/src/agent/testing/durable-run-canaries/validation.d.ts +5 -0
- package/esm/src/agent/testing/durable-run-canaries/validation.d.ts.map +1 -1
- package/esm/src/agent/testing/durable-run-canaries/validation.js +5 -0
- package/esm/src/agent/testing/live-evals/api-client.d.ts +24 -0
- package/esm/src/agent/testing/live-evals/api-client.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/api-client.js +11 -0
- package/esm/src/agent/testing/live-evals/cli-runner.d.ts +4 -0
- package/esm/src/agent/testing/live-evals/cli-runner.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/cli-runner.js +1 -0
- package/esm/src/agent/testing/live-evals/environment.d.ts +3 -0
- package/esm/src/agent/testing/live-evals/environment.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/environment.js +2 -0
- package/esm/src/agent/testing/live-evals/formatting.d.ts +4 -0
- package/esm/src/agent/testing/live-evals/formatting.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/formatting.js +4 -0
- package/esm/src/agent/testing/live-evals/metadata.d.ts +8 -0
- package/esm/src/agent/testing/live-evals/metadata.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/metadata.js +4 -0
- package/esm/src/agent/testing/live-evals/performance.d.ts +4 -0
- package/esm/src/agent/testing/live-evals/performance.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/performance.js +1 -0
- package/esm/src/agent/testing/live-evals/preflight.d.ts +3 -0
- package/esm/src/agent/testing/live-evals/preflight.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/preflight.js +2 -0
- package/esm/src/agent/testing/live-evals/report.d.ts +9 -0
- package/esm/src/agent/testing/live-evals/report.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/report.js +6 -0
- package/esm/src/agent/testing/live-evals/request.d.ts +2 -0
- package/esm/src/agent/testing/live-evals/request.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/request.js +2 -0
- package/esm/src/agent/testing/live-evals/result.d.ts +4 -0
- package/esm/src/agent/testing/live-evals/result.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/result.js +3 -0
- package/esm/src/agent/testing/live-evals/runner.d.ts +11 -0
- package/esm/src/agent/testing/live-evals/runner.d.ts.map +1 -1
- package/esm/src/agent/testing/live-evals/runner.js +5 -0
- package/esm/src/agent/types.d.ts +18 -0
- package/esm/src/agent/types.d.ts.map +1 -1
- package/esm/src/agent/types.js +4 -0
- package/esm/src/channels/control-plane.d.ts +32 -0
- package/esm/src/channels/control-plane.d.ts.map +1 -1
- package/esm/src/channels/control-plane.js +22 -0
- package/esm/src/channels/invoke.d.ts +24 -0
- package/esm/src/channels/invoke.d.ts.map +1 -1
- package/esm/src/channels/invoke.js +18 -0
- package/esm/src/chat/ag-ui.d.ts +37 -5
- package/esm/src/chat/ag-ui.d.ts.map +1 -1
- package/esm/src/chat/ag-ui.js +25 -5
- package/esm/src/chat/chat-ui-message-helpers.d.ts +7 -0
- package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
- package/esm/src/chat/chat-ui-message-helpers.js +6 -0
- package/esm/src/chat/conversation.d.ts +52 -5
- package/esm/src/chat/conversation.d.ts.map +1 -1
- package/esm/src/chat/conversation.js +42 -5
- package/esm/src/chat/final-step-fallback.d.ts +20 -0
- package/esm/src/chat/final-step-fallback.d.ts.map +1 -1
- package/esm/src/chat/final-step-fallback.js +14 -0
- package/esm/src/chat/hosted-ui-chunk-mapping.d.ts +3 -0
- package/esm/src/chat/hosted-ui-chunk-mapping.d.ts.map +1 -1
- package/esm/src/chat/hosted-ui-chunk-mapping.js +1 -0
- package/esm/src/chat/message-prep.d.ts +18 -0
- package/esm/src/chat/message-prep.d.ts.map +1 -1
- package/esm/src/chat/message-prep.js +18 -0
- package/esm/src/chat/protocol.d.ts +25 -0
- package/esm/src/chat/protocol.d.ts.map +1 -1
- package/esm/src/chat/provider-errors.d.ts +6 -0
- package/esm/src/chat/provider-errors.d.ts.map +1 -1
- package/esm/src/chat/provider-errors.js +5 -0
- package/esm/src/chat/stream-watchdog.d.ts +11 -0
- package/esm/src/chat/stream-watchdog.d.ts.map +1 -1
- package/esm/src/chat/stream-watchdog.js +8 -0
- package/esm/src/chat/types.d.ts +71 -7
- package/esm/src/chat/types.d.ts.map +1 -1
- package/esm/src/chat/types.js +35 -7
- package/esm/src/config/define-config.d.ts +1 -0
- package/esm/src/config/define-config.d.ts.map +1 -1
- package/esm/src/config/define-config.js +1 -0
- package/esm/src/data/helpers.d.ts +2 -0
- package/esm/src/data/helpers.d.ts.map +1 -1
- package/esm/src/data/helpers.js +2 -0
- package/esm/src/data/schemas/data.schema.d.ts +2 -0
- package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
- package/esm/src/embedding/react/use-uploads.d.ts +3 -1
- package/esm/src/embedding/react/use-uploads.d.ts.map +1 -1
- package/esm/src/embedding/types.d.ts +15 -0
- package/esm/src/embedding/types.d.ts.map +1 -1
- package/esm/src/extensions/contracts.d.ts +5 -0
- package/esm/src/extensions/contracts.d.ts.map +1 -1
- package/esm/src/extensions/contracts.js +5 -0
- package/esm/src/extensions/errors.d.ts +4 -0
- package/esm/src/extensions/errors.d.ts.map +1 -1
- package/esm/src/extensions/errors.js +4 -0
- package/esm/src/extensions/llm/llm-provider-registry.d.ts +1 -0
- package/esm/src/extensions/llm/llm-provider-registry.d.ts.map +1 -1
- package/esm/src/extensions/llm/llm-provider-registry.js +1 -0
- package/esm/src/extensions/loader.d.ts +1 -0
- package/esm/src/extensions/loader.d.ts.map +1 -1
- package/esm/src/extensions/loader.js +1 -0
- package/esm/src/extensions/observability/node-telemetry-provider.d.ts +4 -0
- package/esm/src/extensions/observability/node-telemetry-provider.d.ts.map +1 -1
- package/esm/src/extensions/parser/code-parser.d.ts +2 -1
- package/esm/src/extensions/parser/code-parser.d.ts.map +1 -1
- package/esm/src/extensions/recommendations.d.ts +1 -0
- package/esm/src/extensions/recommendations.d.ts.map +1 -1
- package/esm/src/extensions/recommendations.js +1 -0
- package/esm/src/extensions/sandbox/shell-tools.d.ts +7 -0
- package/esm/src/extensions/sandbox/shell-tools.d.ts.map +1 -1
- package/esm/src/extensions/sandbox/shell-tools.js +1 -0
- package/esm/src/extensions/types.d.ts +8 -0
- package/esm/src/extensions/types.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/prod-scripts.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/prod-scripts.js +1 -0
- package/esm/src/html/hydration-script-builder/templates/renderer.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/templates/renderer.js +26 -14
- package/esm/src/integrations/index.d.ts +4 -0
- package/esm/src/integrations/index.d.ts.map +1 -1
- package/esm/src/integrations/index.js +4 -0
- package/esm/src/integrations/schema.d.ts +14 -0
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +7 -0
- package/esm/src/integrations/types.d.ts +4 -0
- package/esm/src/integrations/types.d.ts.map +1 -1
- package/esm/src/internal-agents/schema.js +2 -2
- package/esm/src/jobs/jobs-client.d.ts +15 -0
- package/esm/src/jobs/jobs-client.d.ts.map +1 -1
- package/esm/src/jobs/jobs-client.js +2 -0
- package/esm/src/jobs/schemas.d.ts +53 -0
- package/esm/src/jobs/schemas.d.ts.map +1 -1
- package/esm/src/jobs/schemas.js +28 -0
- package/esm/src/mcp/elicitation.d.ts +5 -0
- package/esm/src/mcp/elicitation.d.ts.map +1 -1
- package/esm/src/mcp/elicitation.js +2 -0
- package/esm/src/mcp/registry.d.ts +6 -0
- package/esm/src/mcp/registry.d.ts.map +1 -1
- package/esm/src/mcp/registry.js +6 -0
- package/esm/src/mcp/schemas/mcp.schema.d.ts +2 -0
- package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
- package/esm/src/mcp/server.d.ts +3 -0
- package/esm/src/mcp/server.d.ts.map +1 -1
- package/esm/src/mcp/server.js +2 -0
- package/esm/src/mcp/sse.d.ts +2 -0
- package/esm/src/mcp/sse.d.ts.map +1 -1
- package/esm/src/mcp/sse.js +2 -0
- package/esm/src/mcp/task-store.d.ts +1 -0
- package/esm/src/mcp/task-store.d.ts.map +1 -1
- package/esm/src/mcp/task-store.js +2 -0
- package/esm/src/middleware/builtin/logger.d.ts +5 -0
- package/esm/src/middleware/builtin/logger.d.ts.map +1 -1
- package/esm/src/middleware/builtin/logger.js +3 -0
- package/esm/src/middleware/builtin/security/rate-limit.d.ts +3 -0
- package/esm/src/middleware/builtin/security/rate-limit.d.ts.map +1 -1
- package/esm/src/middleware/builtin/security/rate-limit.js +2 -0
- package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts +2 -0
- package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts.map +1 -1
- package/esm/src/middleware/builtin/security/redis-rate-limit.js +1 -0
- package/esm/src/middleware/builtin/security/types.d.ts +1 -0
- package/esm/src/middleware/builtin/security/types.d.ts.map +1 -1
- package/esm/src/middleware/builtin/timeout.d.ts +1 -0
- package/esm/src/middleware/builtin/timeout.d.ts.map +1 -1
- package/esm/src/middleware/builtin/types.d.ts +1 -0
- package/esm/src/middleware/builtin/types.d.ts.map +1 -1
- package/esm/src/middleware/core/context.d.ts +1 -0
- package/esm/src/middleware/core/context.d.ts.map +1 -1
- package/esm/src/middleware/core/context.js +1 -0
- package/esm/src/middleware/core/pipeline/pipeline.d.ts +1 -0
- package/esm/src/middleware/core/pipeline/pipeline.d.ts.map +1 -1
- package/esm/src/middleware/core/pipeline/pipeline.js +1 -0
- package/esm/src/middleware/core/pipeline/types.d.ts +1 -0
- package/esm/src/middleware/core/pipeline/types.d.ts.map +1 -1
- package/esm/src/middleware/core/types.d.ts +5 -0
- package/esm/src/middleware/core/types.d.ts.map +1 -1
- package/esm/src/oauth/handlers/callback-handler.d.ts +3 -1
- package/esm/src/oauth/handlers/callback-handler.d.ts.map +1 -1
- package/esm/src/oauth/handlers/callback-handler.js +1 -0
- package/esm/src/oauth/handlers/init-handler.d.ts +7 -3
- package/esm/src/oauth/handlers/init-handler.d.ts.map +1 -1
- package/esm/src/oauth/handlers/init-handler.js +3 -0
- package/esm/src/oauth/providers/atlassian.d.ts +3 -0
- package/esm/src/oauth/providers/atlassian.d.ts.map +1 -1
- package/esm/src/oauth/providers/atlassian.js +3 -0
- package/esm/src/oauth/providers/base.d.ts +2 -0
- package/esm/src/oauth/providers/base.d.ts.map +1 -1
- package/esm/src/oauth/providers/base.js +2 -0
- package/esm/src/oauth/providers/common.d.ts +26 -0
- package/esm/src/oauth/providers/common.d.ts.map +1 -1
- package/esm/src/oauth/providers/common.js +26 -0
- package/esm/src/oauth/providers/google.d.ts +4 -0
- package/esm/src/oauth/providers/google.d.ts.map +1 -1
- package/esm/src/oauth/providers/google.js +4 -0
- package/esm/src/oauth/providers/microsoft.d.ts +4 -0
- package/esm/src/oauth/providers/microsoft.d.ts.map +1 -1
- package/esm/src/oauth/providers/microsoft.js +4 -0
- package/esm/src/oauth/schemas/oauth.schema.d.ts +7 -0
- package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/http-instrumentation.d.ts +2 -0
- package/esm/src/observability/auto-instrument/http-instrumentation.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/http-instrumentation.js +2 -0
- package/esm/src/observability/auto-instrument/orchestrator.d.ts +2 -0
- package/esm/src/observability/auto-instrument/orchestrator.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/orchestrator.js +2 -0
- package/esm/src/observability/auto-instrument/react-instrumentation.d.ts +2 -0
- package/esm/src/observability/auto-instrument/react-instrumentation.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/react-instrumentation.js +2 -0
- package/esm/src/observability/auto-instrument/types.d.ts +1 -0
- package/esm/src/observability/auto-instrument/types.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/wrappers.d.ts +3 -0
- package/esm/src/observability/auto-instrument/wrappers.d.ts.map +1 -1
- package/esm/src/observability/auto-instrument/wrappers.js +3 -0
- package/esm/src/observability/error-collector.d.ts +8 -0
- package/esm/src/observability/error-collector.d.ts.map +1 -1
- package/esm/src/observability/error-collector.js +4 -0
- package/esm/src/observability/file-log-subscriber.d.ts +4 -0
- package/esm/src/observability/file-log-subscriber.d.ts.map +1 -1
- package/esm/src/observability/file-log-subscriber.js +3 -0
- package/esm/src/observability/log-buffer.d.ts +8 -0
- package/esm/src/observability/log-buffer.d.ts.map +1 -1
- package/esm/src/observability/log-buffer.js +4 -0
- package/esm/src/observability/metrics/index.d.ts +22 -0
- package/esm/src/observability/metrics/index.d.ts.map +1 -1
- package/esm/src/observability/metrics/index.js +22 -0
- package/esm/src/observability/metrics/types.d.ts +1 -0
- package/esm/src/observability/metrics/types.d.ts.map +1 -1
- package/esm/src/observability/tracing/index.d.ts +14 -0
- package/esm/src/observability/tracing/index.d.ts.map +1 -1
- package/esm/src/observability/tracing/index.js +14 -0
- package/esm/src/observability/tracing/otlp-setup.d.ts +15 -0
- package/esm/src/observability/tracing/otlp-setup.d.ts.map +1 -1
- package/esm/src/observability/tracing/otlp-setup.js +14 -0
- package/esm/src/observability/tracing/service-tracer.d.ts +15 -0
- package/esm/src/observability/tracing/service-tracer.d.ts.map +1 -1
- package/esm/src/observability/tracing/service-tracer.js +1 -0
- package/esm/src/observability/tracing/span-names.d.ts +1 -0
- package/esm/src/observability/tracing/span-names.d.ts.map +1 -1
- package/esm/src/observability/tracing/span-names.js +1 -0
- package/esm/src/observability/tracing/types.d.ts +2 -0
- package/esm/src/observability/tracing/types.d.ts.map +1 -1
- package/esm/src/platform/compat/fs.d.ts +15 -0
- package/esm/src/platform/compat/fs.d.ts.map +1 -1
- package/esm/src/platform/compat/fs.js +14 -0
- package/esm/src/platform/compat/http/responses.d.ts +7 -0
- package/esm/src/platform/compat/http/responses.d.ts.map +1 -1
- package/esm/src/platform/compat/http/responses.js +7 -0
- package/esm/src/platform/compat/path/basic-operations.d.ts +4 -0
- package/esm/src/platform/compat/path/basic-operations.d.ts.map +1 -1
- package/esm/src/platform/compat/path/basic-operations.js +4 -0
- package/esm/src/platform/compat/path/resolution.d.ts +1 -0
- package/esm/src/platform/compat/path/resolution.d.ts.map +1 -1
- package/esm/src/platform/compat/path/resolution.js +1 -0
- package/esm/src/platform/compat/process/env.d.ts +4 -0
- package/esm/src/platform/compat/process/env.d.ts.map +1 -1
- package/esm/src/platform/compat/process/env.js +4 -0
- package/esm/src/platform/compat/process/lifecycle.d.ts +1 -0
- package/esm/src/platform/compat/process/lifecycle.d.ts.map +1 -1
- package/esm/src/platform/compat/process/lifecycle.js +1 -0
- package/esm/src/prompt/factory.d.ts +1 -0
- package/esm/src/prompt/factory.d.ts.map +1 -1
- package/esm/src/prompt/factory.js +1 -0
- package/esm/src/prompt/registry.d.ts +1 -0
- package/esm/src/prompt/registry.d.ts.map +1 -1
- package/esm/src/prompt/registry.js +1 -0
- package/esm/src/prompt/schemas/prompt.schema.d.ts +1 -0
- package/esm/src/prompt/schemas/prompt.schema.d.ts.map +1 -1
- package/esm/src/prompt/types.d.ts +1 -0
- package/esm/src/prompt/types.d.ts.map +1 -1
- package/esm/src/provider/model-registry.d.ts +1 -0
- package/esm/src/provider/model-registry.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts +1 -0
- package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-embedding-responses.js +1 -0
- package/esm/src/provider/runtime-loader/provider-endpoints.d.ts +7 -0
- package/esm/src/provider/runtime-loader/provider-endpoints.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-endpoints.js +7 -0
- package/esm/src/provider/runtime-loader/provider-http.d.ts +3 -0
- package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-http.js +3 -0
- package/esm/src/provider/runtime-loader/provider-records.d.ts +1 -0
- package/esm/src/provider/runtime-loader/provider-records.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-records.js +1 -0
- package/esm/src/provider/runtime-loader/provider-request-init.d.ts +3 -0
- package/esm/src/provider/runtime-loader/provider-request-init.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-request-init.js +3 -0
- package/esm/src/provider/runtime-loader/provider-sse.d.ts +1 -0
- package/esm/src/provider/runtime-loader/provider-sse.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-sse.js +1 -0
- package/esm/src/provider/runtime-loader/provider-usage.d.ts +2 -0
- package/esm/src/provider/runtime-loader/provider-usage.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/provider-usage.js +1 -0
- package/esm/src/provider/runtime-loader/tool-input-status.d.ts +1 -0
- package/esm/src/provider/runtime-loader/tool-input-status.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/tool-input-status.js +2 -0
- package/esm/src/provider/runtime-loader.d.ts +10 -0
- package/esm/src/provider/runtime-loader.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader.js +7 -0
- package/esm/src/provider/types.d.ts +1 -0
- package/esm/src/provider/types.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/context.d.ts +3 -0
- package/esm/src/provider/veryfront-cloud/context.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/context.js +2 -0
- package/esm/src/provider/veryfront-cloud/model-catalog.d.ts +16 -0
- package/esm/src/provider/veryfront-cloud/model-catalog.d.ts.map +1 -1
- package/esm/src/provider/veryfront-cloud/model-catalog.js +14 -0
- package/esm/src/provider/veryfront-cloud/shared.d.ts +1 -0
- package/esm/src/provider/veryfront-cloud/shared.d.ts.map +1 -1
- package/esm/src/react/compat/ssr-adapter/string-renderer.d.ts.map +1 -1
- package/esm/src/react/compat/ssr-adapter/string-renderer.js +3 -2
- package/esm/src/react/components/MDXProvider.d.ts +3 -0
- package/esm/src/react/components/MDXProvider.d.ts.map +1 -1
- package/esm/src/react/components/MDXProvider.js +2 -0
- package/esm/src/react/components/chat/agent-card.d.ts +2 -0
- package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-card.js +1 -0
- package/esm/src/react/components/chat/chat/components/animations.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/animations.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/animations.js +3 -0
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.js +1 -0
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/branch-picker.js +1 -0
- package/esm/src/react/components/chat/chat/components/code-block.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/code-block.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/code-block.js +1 -0
- package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/drop-zone.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/drop-zone.js +1 -0
- package/esm/src/react/components/chat/chat/components/empty-state.d.ts +8 -0
- package/esm/src/react/components/chat/chat/components/empty-state.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/empty-state.js +4 -0
- package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/inference-badge.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/inference-badge.js +1 -0
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/inline-citation.js +1 -0
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-actions.js +1 -0
- package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-edit-form.js +1 -0
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-feedback.js +1 -0
- package/esm/src/react/components/chat/chat/components/quick-actions.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/quick-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/quick-actions.js +1 -0
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts +1 -0
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/reasoning.js +1 -0
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sidebar.js +1 -0
- package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/skill-badge.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/skill-badge.js +1 -0
- package/esm/src/react/components/chat/chat/components/sources.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sources.js +1 -0
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/step-indicator.js +1 -0
- package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/tab-switcher.js +1 -0
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +1 -0
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/tool-ui.js +1 -0
- package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts +2 -0
- package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/upgrade-cta.js +1 -0
- package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts +3 -0
- package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/uploads-panel.js +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-composer.js +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-empty.js +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-if.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/chat-if.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-if.js +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-message-list.js +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-root.js +1 -0
- package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/error-banner.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/error-banner.js +1 -0
- package/esm/src/react/components/chat/chat/composition/message.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/message.js +1 -0
- package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +2 -0
- package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/model-avatar.js +1 -0
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +4 -0
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/chat-context.js +3 -0
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +4 -0
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/composer-context.js +3 -0
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +4 -0
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/message-context.js +3 -0
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts +4 -0
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.js +3 -0
- package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts +4 -0
- package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-threads.js +1 -0
- package/esm/src/react/components/chat/chat/index.d.ts +3 -0
- package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/index.js +2 -0
- package/esm/src/react/components/chat/chat-with-sidebar.d.ts +12 -0
- package/esm/src/react/components/chat/chat-with-sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-with-sidebar.js +1 -0
- package/esm/src/react/components/chat/error-boundary.d.ts +3 -0
- package/esm/src/react/components/chat/error-boundary.d.ts.map +1 -1
- package/esm/src/react/components/chat/error-boundary.js +2 -0
- package/esm/src/react/components/chat/markdown.d.ts +3 -0
- package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
- package/esm/src/react/components/chat/markdown.js +1 -0
- package/esm/src/react/components/chat/message.d.ts +4 -0
- package/esm/src/react/components/chat/message.d.ts.map +1 -1
- package/esm/src/react/components/chat/message.js +2 -0
- package/esm/src/react/components/chat/model-selector.d.ts +2 -1
- package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
- package/esm/src/react/components/chat/model-selector.js +1 -0
- package/esm/src/react/components/chat/theme.d.ts +2 -0
- package/esm/src/react/components/chat/theme.d.ts.map +1 -1
- package/esm/src/react/fonts/index.d.ts +3 -0
- package/esm/src/react/fonts/index.d.ts.map +1 -1
- package/esm/src/react/fonts/index.js +1 -0
- package/esm/src/react/runtime/core.d.ts +38 -0
- package/esm/src/react/runtime/core.d.ts.map +1 -1
- package/esm/src/react/runtime/core.js +6 -0
- package/esm/src/rendering/rsc/client-boot.ts +50 -5
- package/esm/src/resource/factory.d.ts +1 -0
- package/esm/src/resource/factory.d.ts.map +1 -1
- package/esm/src/resource/factory.js +1 -0
- package/esm/src/resource/registry.d.ts +1 -0
- package/esm/src/resource/registry.d.ts.map +1 -1
- package/esm/src/resource/registry.js +1 -0
- package/esm/src/resource/types.d.ts +2 -0
- package/esm/src/resource/types.d.ts.map +1 -1
- package/esm/src/routing/api/context-builder.d.ts +1 -0
- package/esm/src/routing/api/context-builder.d.ts.map +1 -1
- package/esm/src/routing/api/handler.d.ts +2 -0
- package/esm/src/routing/api/handler.d.ts.map +1 -1
- package/esm/src/routing/api/module-loader/types.d.ts +1 -0
- package/esm/src/routing/api/module-loader/types.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.d.ts +1 -0
- package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
- package/esm/src/runtime/runtime-bridge.js +1 -0
- package/esm/src/sandbox/agent-service-tools.d.ts +16 -0
- package/esm/src/sandbox/agent-service-tools.d.ts.map +1 -1
- package/esm/src/sandbox/agent-service-tools.js +6 -0
- package/esm/src/sandbox/lazy-sandbox.d.ts +2 -0
- package/esm/src/sandbox/lazy-sandbox.d.ts.map +1 -1
- package/esm/src/sandbox/lazy-sandbox.js +1 -0
- package/esm/src/sandbox/shell-tools.d.ts +3 -0
- package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
- package/esm/src/sandbox/shell-tools.js +3 -0
- package/esm/src/security/http/cors/middleware.d.ts +1 -0
- package/esm/src/security/http/cors/middleware.d.ts.map +1 -1
- package/esm/src/security/http/cors/middleware.js +1 -0
- package/esm/src/security/input-validation/handler.d.ts +2 -0
- package/esm/src/security/input-validation/handler.d.ts.map +1 -1
- package/esm/src/security/input-validation/parsers.d.ts +3 -0
- package/esm/src/security/input-validation/parsers.d.ts.map +1 -1
- package/esm/src/security/input-validation/parsers.js +3 -0
- package/esm/src/server/build-types.d.ts +1 -0
- package/esm/src/server/build-types.d.ts.map +1 -1
- package/esm/src/server/dev-server/index.d.ts +1 -0
- package/esm/src/server/dev-server/index.d.ts.map +1 -1
- package/esm/src/server/dev-server/index.js +1 -0
- package/esm/src/server/dev-server/server.d.ts +2 -1
- package/esm/src/server/dev-server/server.d.ts.map +1 -1
- package/esm/src/server/dev-server/server.js +2 -1
- package/esm/src/server/dev-server/types.d.ts +3 -0
- package/esm/src/server/dev-server/types.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +75 -0
- package/esm/src/server/index.d.ts +3 -0
- package/esm/src/server/index.d.ts.map +1 -1
- package/esm/src/server/index.js +1 -0
- package/esm/src/server/node-handler.d.ts +1 -0
- package/esm/src/server/node-handler.d.ts.map +1 -1
- package/esm/src/server/node-handler.js +1 -0
- package/esm/src/server/production-server.d.ts +3 -0
- package/esm/src/server/production-server.d.ts.map +1 -1
- package/esm/src/server/production-server.js +1 -0
- package/esm/src/server/reload-notifier.d.ts +1 -0
- package/esm/src/server/reload-notifier.d.ts.map +1 -1
- package/esm/src/server/reload-notifier.js +1 -0
- package/esm/src/server/service-server.d.ts +14 -0
- package/esm/src/server/service-server.d.ts.map +1 -1
- package/esm/src/server/service-server.js +3 -0
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +1 -1
- package/esm/src/testing/assert.d.ts +18 -0
- package/esm/src/testing/assert.d.ts.map +1 -1
- package/esm/src/testing/assert.js +17 -0
- package/esm/src/testing/bdd.d.ts +8 -0
- package/esm/src/testing/bdd.d.ts.map +1 -1
- package/esm/src/testing/bdd.js +8 -0
- package/esm/src/testing/deno-compat.d.ts +8 -0
- package/esm/src/testing/deno-compat.d.ts.map +1 -1
- package/esm/src/testing/deno-compat.js +8 -0
- package/esm/src/testing/isolation.d.ts +1 -0
- package/esm/src/testing/isolation.d.ts.map +1 -1
- package/esm/src/testing/isolation.js +1 -0
- package/esm/src/testing/timing.d.ts +3 -0
- package/esm/src/testing/timing.d.ts.map +1 -1
- package/esm/src/testing/timing.js +3 -0
- package/esm/src/testing/utils.d.ts +1 -0
- package/esm/src/testing/utils.d.ts.map +1 -1
- package/esm/src/testing/utils.js +1 -0
- package/esm/src/tool/context7.d.ts +2 -0
- package/esm/src/tool/context7.d.ts.map +1 -1
- package/esm/src/tool/context7.js +1 -0
- package/esm/src/tool/executor.d.ts +1 -0
- package/esm/src/tool/executor.d.ts.map +1 -1
- package/esm/src/tool/executor.js +1 -0
- package/esm/src/tool/factory.d.ts +3 -0
- package/esm/src/tool/factory.d.ts.map +1 -1
- package/esm/src/tool/factory.js +2 -0
- package/esm/src/tool/host-tools.d.ts +5 -0
- package/esm/src/tool/host-tools.d.ts.map +1 -1
- package/esm/src/tool/host-tools.js +1 -0
- package/esm/src/tool/project-scoped-remote-tools.d.ts +15 -0
- package/esm/src/tool/project-scoped-remote-tools.d.ts.map +1 -1
- package/esm/src/tool/project-scoped-remote-tools.js +7 -0
- package/esm/src/tool/registry.d.ts +1 -0
- package/esm/src/tool/registry.d.ts.map +1 -1
- package/esm/src/tool/registry.js +1 -0
- package/esm/src/tool/remote-mcp.d.ts +2 -0
- package/esm/src/tool/remote-mcp.d.ts.map +1 -1
- package/esm/src/tool/remote-mcp.js +1 -0
- package/esm/src/tool/remote-source-tools.d.ts +3 -0
- package/esm/src/tool/remote-source-tools.d.ts.map +1 -1
- package/esm/src/tool/remote-source-tools.js +2 -0
- package/esm/src/tool/result.d.ts +2 -0
- package/esm/src/tool/result.d.ts.map +1 -1
- package/esm/src/tool/result.js +2 -0
- package/esm/src/tool/sleep.d.ts +6 -0
- package/esm/src/tool/sleep.d.ts.map +1 -1
- package/esm/src/tool/sleep.js +2 -0
- package/esm/src/tool/tracing.d.ts +5 -0
- package/esm/src/tool/tracing.d.ts.map +1 -1
- package/esm/src/tool/tracing.js +1 -0
- package/esm/src/tool/types.d.ts +2 -1
- package/esm/src/tool/types.d.ts.map +1 -1
- package/esm/src/types/index.d.ts +2 -0
- package/esm/src/types/index.d.ts.map +1 -1
- package/esm/src/utils/bundle-manifest.d.ts +3 -0
- package/esm/src/utils/bundle-manifest.d.ts.map +1 -1
- package/esm/src/utils/bundle-manifest.js +1 -0
- package/esm/src/utils/constants/build.d.ts +2 -0
- package/esm/src/utils/constants/build.d.ts.map +1 -1
- package/esm/src/utils/constants/build.js +2 -0
- package/esm/src/utils/constants/cache.d.ts +4 -0
- package/esm/src/utils/constants/cache.d.ts.map +1 -1
- package/esm/src/utils/constants/cache.js +4 -0
- package/esm/src/utils/constants/cdn.d.ts +4 -0
- package/esm/src/utils/constants/cdn.d.ts.map +1 -1
- package/esm/src/utils/constants/cdn.js +4 -0
- package/esm/src/utils/constants/hash.d.ts +2 -0
- package/esm/src/utils/constants/hash.d.ts.map +1 -1
- package/esm/src/utils/constants/hash.js +2 -0
- package/esm/src/utils/constants/hmr.d.ts +7 -0
- package/esm/src/utils/constants/hmr.d.ts.map +1 -1
- package/esm/src/utils/constants/hmr.js +7 -0
- package/esm/src/utils/constants/html.d.ts +6 -0
- package/esm/src/utils/constants/html.d.ts.map +1 -1
- package/esm/src/utils/constants/html.js +6 -0
- package/esm/src/utils/constants/http.d.ts +23 -0
- package/esm/src/utils/constants/http.d.ts.map +1 -1
- package/esm/src/utils/constants/http.js +23 -0
- package/esm/src/utils/constants/network.d.ts +3 -0
- package/esm/src/utils/constants/network.d.ts.map +1 -1
- package/esm/src/utils/constants/network.js +3 -0
- package/esm/src/utils/constants/security.d.ts +3 -0
- package/esm/src/utils/constants/security.d.ts.map +1 -1
- package/esm/src/utils/constants/security.js +3 -0
- package/esm/src/utils/constants/server.d.ts +1 -0
- package/esm/src/utils/constants/server.d.ts.map +1 -1
- package/esm/src/utils/constants/server.js +1 -0
- package/esm/src/utils/feature-flags.d.ts +1 -0
- package/esm/src/utils/feature-flags.d.ts.map +1 -1
- package/esm/src/utils/feature-flags.js +1 -0
- package/esm/src/utils/hash-utils.d.ts +5 -0
- package/esm/src/utils/hash-utils.d.ts.map +1 -1
- package/esm/src/utils/hash-utils.js +4 -0
- package/esm/src/utils/import-lockfile.d.ts +3 -0
- package/esm/src/utils/import-lockfile.d.ts.map +1 -1
- package/esm/src/utils/import-lockfile.js +2 -0
- package/esm/src/utils/logger/logger.d.ts +7 -0
- package/esm/src/utils/logger/logger.d.ts.map +1 -1
- package/esm/src/utils/logger/logger.js +6 -0
- package/esm/src/utils/logger/request-context.d.ts +2 -0
- package/esm/src/utils/logger/request-context.d.ts.map +1 -1
- package/esm/src/utils/logger/request-context.js +1 -0
- package/esm/src/utils/memoize.d.ts +3 -0
- package/esm/src/utils/memoize.d.ts.map +1 -1
- package/esm/src/utils/memoize.js +3 -0
- package/esm/src/utils/parallel.d.ts +1 -0
- package/esm/src/utils/parallel.d.ts.map +1 -1
- package/esm/src/utils/parallel.js +1 -0
- package/esm/src/utils/path-utils.d.ts +1 -0
- package/esm/src/utils/path-utils.d.ts.map +1 -1
- package/esm/src/utils/path-utils.js +1 -0
- package/esm/src/utils/perf-timer.d.ts +5 -0
- package/esm/src/utils/perf-timer.d.ts.map +1 -1
- package/esm/src/utils/perf-timer.js +5 -0
- package/esm/src/utils/runtime-guards.d.ts +6 -0
- package/esm/src/utils/runtime-guards.d.ts.map +1 -1
- package/esm/src/utils/runtime-guards.js +3 -0
- package/esm/src/utils/version-constant.d.ts +2 -1
- package/esm/src/utils/version-constant.d.ts.map +1 -1
- package/esm/src/utils/version-constant.js +2 -1
- package/esm/src/workflow/api/workflow-client.d.ts +3 -0
- package/esm/src/workflow/api/workflow-client.d.ts.map +1 -1
- package/esm/src/workflow/api/workflow-client.js +2 -0
- package/esm/src/workflow/backends/memory.d.ts +1 -0
- package/esm/src/workflow/backends/memory.d.ts.map +1 -1
- package/esm/src/workflow/backends/memory.js +1 -0
- package/esm/src/workflow/backends/redis/index.d.ts +1 -0
- package/esm/src/workflow/backends/redis/index.d.ts.map +1 -1
- package/esm/src/workflow/backends/redis/index.js +1 -0
- package/esm/src/workflow/backends/types.d.ts +3 -0
- package/esm/src/workflow/backends/types.d.ts.map +1 -1
- package/esm/src/workflow/backends/types.js +1 -0
- package/esm/src/workflow/claude-code/event-publisher.d.ts +1 -0
- package/esm/src/workflow/claude-code/event-publisher.d.ts.map +1 -1
- package/esm/src/workflow/claude-code/event-publisher.js +1 -0
- package/esm/src/workflow/dsl/branch.d.ts +1 -0
- package/esm/src/workflow/dsl/branch.d.ts.map +1 -1
- package/esm/src/workflow/dsl/loop.d.ts +4 -0
- package/esm/src/workflow/dsl/loop.d.ts.map +1 -1
- package/esm/src/workflow/dsl/loop.js +3 -0
- package/esm/src/workflow/dsl/map.d.ts +2 -0
- package/esm/src/workflow/dsl/map.d.ts.map +1 -1
- package/esm/src/workflow/dsl/map.js +1 -0
- package/esm/src/workflow/dsl/parallel.d.ts +1 -0
- package/esm/src/workflow/dsl/parallel.d.ts.map +1 -1
- package/esm/src/workflow/dsl/step.d.ts +4 -0
- package/esm/src/workflow/dsl/step.d.ts.map +1 -1
- package/esm/src/workflow/dsl/step.js +3 -0
- package/esm/src/workflow/dsl/sub-workflow.d.ts +1 -0
- package/esm/src/workflow/dsl/sub-workflow.d.ts.map +1 -1
- package/esm/src/workflow/dsl/wait.d.ts +2 -0
- package/esm/src/workflow/dsl/wait.d.ts.map +1 -1
- package/esm/src/workflow/dsl/workflow.d.ts +5 -0
- package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
- package/esm/src/workflow/dsl/workflow.js +4 -0
- package/esm/src/workflow/executor/workflow-executor.d.ts +1 -3
- package/esm/src/workflow/executor/workflow-executor.d.ts.map +1 -1
- package/esm/src/workflow/react/use-approval.d.ts +3 -3
- package/esm/src/workflow/react/use-approval.d.ts.map +1 -1
- package/esm/src/workflow/react/use-approval.js +1 -3
- package/esm/src/workflow/react/use-workflow-list.d.ts +2 -0
- package/esm/src/workflow/react/use-workflow-list.d.ts.map +1 -1
- package/esm/src/workflow/react/use-workflow-start.d.ts +3 -0
- package/esm/src/workflow/react/use-workflow-start.d.ts.map +1 -1
- package/esm/src/workflow/react/use-workflow-start.js +1 -0
- package/esm/src/workflow/react/use-workflow.d.ts +3 -0
- package/esm/src/workflow/react/use-workflow.d.ts.map +1 -1
- package/esm/src/workflow/react/use-workflow.js +1 -0
- package/esm/src/workflow/schemas/workflow.schema.d.ts +1 -0
- package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
- package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts +1 -0
- package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts.map +1 -1
- package/esm/src/workflow/worker/dynamic-job-entrypoint.js +1 -0
- package/esm/src/workflow/worker/job-entrypoint.d.ts +1 -0
- package/esm/src/workflow/worker/job-entrypoint.d.ts.map +1 -1
- package/esm/src/workflow/worker/job-entrypoint.js +1 -0
- package/esm/src/workflow/worker/workflow-worker.d.ts +1 -0
- package/esm/src/workflow/worker/workflow-worker.d.ts.map +1 -1
- package/esm/src/workflow/worker/workflow-worker.js +1 -0
- package/package.json +1 -1
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
import "../../../_dnt.polyfills.js";
|
|
2
2
|
import type { InferSchema, Schema } from "../../extensions/schema/index.js";
|
|
3
|
+
/** Zod schema for get conversation run targets. */
|
|
3
4
|
export declare const getConversationRunTargetsSchema: () => Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
4
5
|
sourceTargetKind: Schema<string | null>;
|
|
5
6
|
runtimeTargetKind: Schema<string | null>;
|
|
6
7
|
targetBranchId: Schema<string | null>;
|
|
7
8
|
}>>;
|
|
8
|
-
/**
|
|
9
|
+
/** Schema for conversation run targets.
|
|
10
|
+
* @deprecated Use getConversationRunTargetsSchema()
|
|
11
|
+
*/
|
|
9
12
|
export declare const ConversationRunTargetsSchema: Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
10
13
|
sourceTargetKind: Schema<string | null>;
|
|
11
14
|
runtimeTargetKind: Schema<string | null>;
|
|
12
15
|
targetBranchId: Schema<string | null>;
|
|
13
16
|
}>>;
|
|
17
|
+
/** Public API contract for conversation run targets. */
|
|
14
18
|
export type ConversationRunTargets = InferSchema<ReturnType<typeof getConversationRunTargetsSchema>>;
|
|
19
|
+
/** Resolves conversation run targets. */
|
|
15
20
|
export declare function resolveConversationRunTargets(input: {
|
|
16
21
|
projectId?: string | null;
|
|
17
22
|
branchId?: string | null;
|
|
18
23
|
}): ConversationRunTargets;
|
|
24
|
+
/** Zod schema for get conversation run status. */
|
|
19
25
|
export declare const getConversationRunStatusSchema: () => Schema<string>;
|
|
20
|
-
/**
|
|
26
|
+
/** Schema for conversation run status.
|
|
27
|
+
* @deprecated Use getConversationRunStatusSchema()
|
|
28
|
+
*/
|
|
21
29
|
export declare const ConversationRunStatusSchema: Schema<string>;
|
|
30
|
+
/** Public API contract for conversation run projection. */
|
|
22
31
|
export interface ConversationRunProjection {
|
|
23
32
|
runId: string;
|
|
24
33
|
conversationId: string;
|
|
@@ -29,17 +38,29 @@ export interface ConversationRunProjection {
|
|
|
29
38
|
waitingToolName: string | null;
|
|
30
39
|
status: "pending" | "running" | "waiting_for_tool" | "completed" | "failed" | "cancelled";
|
|
31
40
|
}
|
|
41
|
+
/** Zod schema for get conversation run projection. */
|
|
32
42
|
export declare const getConversationRunProjectionSchema: () => Schema<ConversationRunProjection>;
|
|
33
|
-
/**
|
|
43
|
+
/** Schema for conversation run projection.
|
|
44
|
+
* @deprecated Use getConversationRunProjectionSchema()
|
|
45
|
+
*/
|
|
34
46
|
export declare const ConversationRunProjectionSchema: Schema<ConversationRunProjection>;
|
|
47
|
+
/** Public API contract for a conversation run status is active. */
|
|
35
48
|
export type ActiveConversationRunStatus = Extract<ConversationRunProjection["status"], "pending" | "running" | "waiting_for_tool">;
|
|
49
|
+
/** Public API contract for terminal conversation run status. */
|
|
36
50
|
export type TerminalConversationRunStatus = Extract<ConversationRunProjection["status"], "completed" | "failed" | "cancelled">;
|
|
51
|
+
/** Result returned from conversation run append cursor resync. */
|
|
37
52
|
export type ConversationRunAppendCursorResyncResult = "advanced" | "non_appendable" | "unchanged";
|
|
53
|
+
/** Public API contract for conversation run append recovery outcome. */
|
|
38
54
|
export type ConversationRunAppendRecoveryOutcome = "resumed" | "stopped" | "bubbled";
|
|
55
|
+
/** Public API contract for conversation run append failure outcome. */
|
|
39
56
|
export type ConversationRunAppendFailureOutcome = "resumed" | "stopped" | "retry_scheduled";
|
|
57
|
+
/** Public API contract for conversation run append execution outcome. */
|
|
40
58
|
export type ConversationRunAppendExecutionOutcome = "resumed" | "stopped" | "retry_scheduled";
|
|
59
|
+
/** Public API contract for conversation run batch flush outcome. */
|
|
41
60
|
export type ConversationRunBatchFlushOutcome = "flushed" | "resumed" | "stopped" | "retry_scheduled";
|
|
61
|
+
/** Public API contract for conversation run queue flush outcome. */
|
|
42
62
|
export type ConversationRunQueueFlushOutcome = "flushed" | "stopped" | "retry_scheduled";
|
|
63
|
+
/** Public API contract for conversation run event queue controller. */
|
|
43
64
|
export interface ConversationRunEventQueueController {
|
|
44
65
|
enqueue(events: unknown[]): void;
|
|
45
66
|
flush(): Promise<{
|
|
@@ -74,13 +95,17 @@ export interface ConversationRunEventQueueController {
|
|
|
74
95
|
disabled: boolean;
|
|
75
96
|
};
|
|
76
97
|
}
|
|
98
|
+
/** Zod schema for get create conversation run accepted. */
|
|
77
99
|
export declare const getCreateConversationRunAcceptedSchema: () => Schema<{
|
|
78
100
|
runId: string;
|
|
79
101
|
}>;
|
|
80
|
-
/**
|
|
102
|
+
/** Schema for create conversation run accepted.
|
|
103
|
+
* @deprecated Use getCreateConversationRunAcceptedSchema()
|
|
104
|
+
*/
|
|
81
105
|
export declare const CreateConversationRunAcceptedSchema: Schema<{
|
|
82
106
|
runId: string;
|
|
83
107
|
}>;
|
|
108
|
+
/** Zod schema for get complete conversation run response. */
|
|
84
109
|
export declare const getCompleteConversationRunResponseSchema: () => Schema<{
|
|
85
110
|
completed: boolean;
|
|
86
111
|
run: {
|
|
@@ -90,7 +115,9 @@ export declare const getCompleteConversationRunResponseSchema: () => Schema<{
|
|
|
90
115
|
run_id?: string | undefined;
|
|
91
116
|
} & Record<string, unknown>;
|
|
92
117
|
} & {} & Record<string, unknown>>;
|
|
93
|
-
/**
|
|
118
|
+
/** Schema for complete conversation run response.
|
|
119
|
+
* @deprecated Use getCompleteConversationRunResponseSchema()
|
|
120
|
+
*/
|
|
94
121
|
export declare const CompleteConversationRunResponseSchema: Schema<{
|
|
95
122
|
completed: boolean;
|
|
96
123
|
run: {
|
|
@@ -100,6 +127,7 @@ export declare const CompleteConversationRunResponseSchema: Schema<{
|
|
|
100
127
|
run_id?: string | undefined;
|
|
101
128
|
} & Record<string, unknown>;
|
|
102
129
|
} & {} & Record<string, unknown>>;
|
|
130
|
+
/** Response payload for append conversation run events. */
|
|
103
131
|
export interface AppendConversationRunEventsResponse {
|
|
104
132
|
latestEventId: number;
|
|
105
133
|
latestExternalEventSequence: number;
|
|
@@ -112,6 +140,7 @@ export interface AppendConversationRunEventsResponse {
|
|
|
112
140
|
[key: string]: unknown;
|
|
113
141
|
};
|
|
114
142
|
}
|
|
143
|
+
/** Zod schema for get append conversation run events response. */
|
|
115
144
|
export declare const getAppendConversationRunEventsResponseSchema: () => Schema<AppendConversationRunEventsResponse | import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
116
145
|
latestEventId: Schema<number>;
|
|
117
146
|
latestExternalEventSequence: Schema<number>;
|
|
@@ -123,7 +152,9 @@ export declare const getAppendConversationRunEventsResponseSchema: () => Schema<
|
|
|
123
152
|
latestExternalEventSequence: number;
|
|
124
153
|
} & {} & Record<string, unknown>>;
|
|
125
154
|
}>>;
|
|
126
|
-
/**
|
|
155
|
+
/** Schema for append conversation run events response.
|
|
156
|
+
* @deprecated Use getAppendConversationRunEventsResponseSchema()
|
|
157
|
+
*/
|
|
127
158
|
export declare const AppendConversationRunEventsResponseSchema: Schema<AppendConversationRunEventsResponse | import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
128
159
|
latestEventId: Schema<number>;
|
|
129
160
|
latestExternalEventSequence: Schema<number>;
|
|
@@ -135,11 +166,13 @@ export declare const AppendConversationRunEventsResponseSchema: Schema<AppendCon
|
|
|
135
166
|
latestExternalEventSequence: number;
|
|
136
167
|
} & {} & Record<string, unknown>>;
|
|
137
168
|
}>>;
|
|
169
|
+
/** Public API contract for conversation agent run usage. */
|
|
138
170
|
export interface ConversationAgentRunUsage {
|
|
139
171
|
inputTokens: number;
|
|
140
172
|
outputTokens: number;
|
|
141
173
|
totalTokens: number;
|
|
142
174
|
}
|
|
175
|
+
/** Input payload for create conversation agent run. */
|
|
143
176
|
export interface CreateConversationAgentRunInput {
|
|
144
177
|
authToken: string;
|
|
145
178
|
apiUrl: string;
|
|
@@ -150,6 +183,7 @@ export interface CreateConversationAgentRunInput {
|
|
|
150
183
|
projectId?: string | null;
|
|
151
184
|
branchId?: string | null;
|
|
152
185
|
}
|
|
186
|
+
/** Input payload for finalize conversation agent run. */
|
|
153
187
|
export interface FinalizeConversationAgentRunInput {
|
|
154
188
|
authToken: string;
|
|
155
189
|
apiUrl: string;
|
|
@@ -162,11 +196,13 @@ export interface FinalizeConversationAgentRunInput {
|
|
|
162
196
|
terminalErrorCode?: string | null;
|
|
163
197
|
terminalErrorMessage?: string | null;
|
|
164
198
|
}
|
|
199
|
+
/** Error shape for conversation run terminal state. */
|
|
165
200
|
export declare class ConversationRunTerminalStateError extends Error {
|
|
166
201
|
readonly status: TerminalConversationRunStatus;
|
|
167
202
|
readonly run: ConversationRunProjection;
|
|
168
203
|
constructor(run: ConversationRunProjection, status: TerminalConversationRunStatus);
|
|
169
204
|
}
|
|
205
|
+
/** Error shape for append conversation run events. */
|
|
170
206
|
export declare class AppendConversationRunEventsError extends Error {
|
|
171
207
|
readonly status: number;
|
|
172
208
|
readonly detail: string | null;
|
|
@@ -176,11 +212,17 @@ export declare class AppendConversationRunEventsError extends Error {
|
|
|
176
212
|
statusText?: string;
|
|
177
213
|
});
|
|
178
214
|
}
|
|
215
|
+
/** Parses append conversation run events error body. */
|
|
179
216
|
export declare function parseAppendConversationRunEventsErrorBody(bodyText: string): string | null;
|
|
217
|
+
/** Error shape for is ignorable conversation run append. */
|
|
180
218
|
export declare function isIgnorableConversationRunAppendError(error: unknown): error is AppendConversationRunEventsError;
|
|
219
|
+
/** Error shape for is cursor mismatch conversation run append. */
|
|
181
220
|
export declare function isCursorMismatchConversationRunAppendError(error: unknown): error is AppendConversationRunEventsError;
|
|
221
|
+
/** Check whether a conversation run status is active. */
|
|
182
222
|
export declare function isActiveConversationRunStatus(status: ConversationRunProjection["status"]): status is ActiveConversationRunStatus;
|
|
223
|
+
/** Check whether a conversation run projection can accept more events. */
|
|
183
224
|
export declare function isAppendableConversationRunProjection(run: ConversationRunProjection): boolean;
|
|
225
|
+
/** Resync conversation run append cursor helper. */
|
|
184
226
|
export declare function resyncConversationRunAppendCursor(input: {
|
|
185
227
|
authToken: string;
|
|
186
228
|
apiUrl: string;
|
|
@@ -192,6 +234,7 @@ export declare function resyncConversationRunAppendCursor(input: {
|
|
|
192
234
|
result: ConversationRunAppendCursorResyncResult;
|
|
193
235
|
run: ConversationRunProjection;
|
|
194
236
|
}>;
|
|
237
|
+
/** Recover conversation run cursor mismatch helper. */
|
|
195
238
|
export declare function recoverConversationRunCursorMismatch(input: {
|
|
196
239
|
error: unknown;
|
|
197
240
|
authToken: string;
|
|
@@ -210,6 +253,7 @@ export declare function recoverConversationRunCursorMismatch(input: {
|
|
|
210
253
|
disableReason?: "cursor_resyncs_exhausted" | "non_appendable";
|
|
211
254
|
run?: ConversationRunProjection;
|
|
212
255
|
}>;
|
|
256
|
+
/** Recover conversation run append failure helper. */
|
|
213
257
|
export declare function recoverConversationRunAppendFailure(input: {
|
|
214
258
|
error: unknown;
|
|
215
259
|
authToken: string;
|
|
@@ -229,6 +273,7 @@ export declare function recoverConversationRunAppendFailure(input: {
|
|
|
229
273
|
errorMessage?: string;
|
|
230
274
|
run?: ConversationRunProjection;
|
|
231
275
|
}>;
|
|
276
|
+
/** Recover conversation run append execution helper. */
|
|
232
277
|
export declare function recoverConversationRunAppendExecution(input: {
|
|
233
278
|
error: unknown;
|
|
234
279
|
authToken: string;
|
|
@@ -262,6 +307,7 @@ export declare function recoverConversationRunAppendExecution(input: {
|
|
|
262
307
|
consecutiveFailures: number;
|
|
263
308
|
errorMessage: string;
|
|
264
309
|
}>;
|
|
310
|
+
/** Flush conversation run event batches. */
|
|
265
311
|
export declare function flushConversationRunEventBatches(input: {
|
|
266
312
|
authToken: string;
|
|
267
313
|
apiUrl: string;
|
|
@@ -294,6 +340,7 @@ export declare function flushConversationRunEventBatches(input: {
|
|
|
294
340
|
latestExternalEventSequence: number;
|
|
295
341
|
disableReason?: "cursor_resyncs_exhausted" | "non_appendable" | "ignorable_append_rejection";
|
|
296
342
|
}>;
|
|
343
|
+
/** Flush conversation run event queue. */
|
|
297
344
|
export declare function flushConversationRunEventQueue(input: {
|
|
298
345
|
authToken: string;
|
|
299
346
|
apiUrl: string;
|
|
@@ -324,6 +371,7 @@ export declare function flushConversationRunEventQueue(input: {
|
|
|
324
371
|
consecutiveFailures: number;
|
|
325
372
|
errorMessage: string;
|
|
326
373
|
}>;
|
|
374
|
+
/** Create conversation run event queue controller. */
|
|
327
375
|
export declare function createConversationRunEventQueueController(input: {
|
|
328
376
|
authToken: string;
|
|
329
377
|
apiUrl: string;
|
|
@@ -335,6 +383,7 @@ export declare function createConversationRunEventQueueController(input: {
|
|
|
335
383
|
maxBatchPayloadBytes?: number;
|
|
336
384
|
maxCursorResyncsPerFlush?: number;
|
|
337
385
|
}): ConversationRunEventQueueController;
|
|
386
|
+
/** Return conversation run. */
|
|
338
387
|
export declare function getConversationRun(input: {
|
|
339
388
|
authToken: string;
|
|
340
389
|
apiUrl: string;
|
|
@@ -342,6 +391,7 @@ export declare function getConversationRun(input: {
|
|
|
342
391
|
runId: string;
|
|
343
392
|
abortSignal?: AbortSignal;
|
|
344
393
|
}): Promise<ConversationRunProjection>;
|
|
394
|
+
/** Monitor conversation run status helper. */
|
|
345
395
|
export declare function monitorConversationRunStatus(input: {
|
|
346
396
|
authToken: string;
|
|
347
397
|
apiUrl: string;
|
|
@@ -352,6 +402,7 @@ export declare function monitorConversationRunStatus(input: {
|
|
|
352
402
|
onTerminal: (error: ConversationRunTerminalStateError) => void | Promise<void>;
|
|
353
403
|
onPollError?: (error: unknown) => void | Promise<void>;
|
|
354
404
|
}): Promise<void>;
|
|
405
|
+
/** Append conversation run events. */
|
|
355
406
|
export declare function appendConversationRunEvents(input: {
|
|
356
407
|
authToken: string;
|
|
357
408
|
apiUrl: string;
|
|
@@ -362,6 +413,8 @@ export declare function appendConversationRunEvents(input: {
|
|
|
362
413
|
events: unknown[];
|
|
363
414
|
abortSignal?: AbortSignal;
|
|
364
415
|
}): Promise<AppendConversationRunEventsResponse>;
|
|
416
|
+
/** Create conversation agent run. */
|
|
365
417
|
export declare function createConversationAgentRun(input: CreateConversationAgentRunInput): Promise<ConversationRunProjection>;
|
|
418
|
+
/** Finalize conversation agent run helper. */
|
|
366
419
|
export declare function finalizeConversationAgentRun(input: FinalizeConversationAgentRunInput): Promise<void>;
|
|
367
420
|
//# sourceMappingURL=durable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durable.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/conversation/durable.ts"],"names":[],"mappings":"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
|
};
|
|
29
29
|
}
|
|
30
|
+
/** Zod schema for get conversation run targets. */
|
|
30
31
|
export const getConversationRunTargetsSchema = defineSchema((v) => v.object({
|
|
31
32
|
sourceTargetKind: v.enum(["project", "preview_branch"]).nullable(),
|
|
32
33
|
runtimeTargetKind: v.enum(["main_branch", "preview_branch"]).nullable(),
|
|
33
34
|
targetBranchId: v.string().uuid().nullable(),
|
|
34
35
|
}));
|
|
35
|
-
/**
|
|
36
|
+
/** Schema for conversation run targets.
|
|
37
|
+
* @deprecated Use getConversationRunTargetsSchema()
|
|
38
|
+
*/
|
|
36
39
|
export const ConversationRunTargetsSchema = lazySchema(getConversationRunTargetsSchema);
|
|
40
|
+
/** Resolves conversation run targets. */
|
|
37
41
|
export function resolveConversationRunTargets(input) {
|
|
38
42
|
return getConversationRunTargetsSchema().parse(!input.projectId
|
|
39
43
|
? {
|
|
@@ -53,9 +57,13 @@ export function resolveConversationRunTargets(input) {
|
|
|
53
57
|
targetBranchId: null,
|
|
54
58
|
});
|
|
55
59
|
}
|
|
60
|
+
/** Zod schema for get conversation run status. */
|
|
56
61
|
export const getConversationRunStatusSchema = defineSchema((v) => v.enum(["pending", "running", "waiting_for_tool", "completed", "failed", "cancelled"]));
|
|
57
|
-
/**
|
|
62
|
+
/** Schema for conversation run status.
|
|
63
|
+
* @deprecated Use getConversationRunStatusSchema()
|
|
64
|
+
*/
|
|
58
65
|
export const ConversationRunStatusSchema = lazySchema(getConversationRunStatusSchema);
|
|
66
|
+
/** Zod schema for get conversation run projection. */
|
|
59
67
|
export const getConversationRunProjectionSchema = defineSchema((v) => v.object({
|
|
60
68
|
runId: v.string().min(1).optional(),
|
|
61
69
|
run_id: v.string().min(1).optional(),
|
|
@@ -100,8 +108,11 @@ export const getConversationRunProjectionSchema = defineSchema((v) => v.object({
|
|
|
100
108
|
status: d.status,
|
|
101
109
|
};
|
|
102
110
|
}));
|
|
103
|
-
/**
|
|
111
|
+
/** Schema for conversation run projection.
|
|
112
|
+
* @deprecated Use getConversationRunProjectionSchema()
|
|
113
|
+
*/
|
|
104
114
|
export const ConversationRunProjectionSchema = lazySchema(getConversationRunProjectionSchema);
|
|
115
|
+
/** Zod schema for get create conversation run accepted. */
|
|
105
116
|
export const getCreateConversationRunAcceptedSchema = defineSchema((v) => v.object({
|
|
106
117
|
run: v.object({
|
|
107
118
|
runId: v.string().min(1).optional(),
|
|
@@ -117,8 +128,11 @@ export const getCreateConversationRunAcceptedSchema = defineSchema((v) => v.obje
|
|
|
117
128
|
}
|
|
118
129
|
return { runId };
|
|
119
130
|
}));
|
|
120
|
-
/**
|
|
131
|
+
/** Schema for create conversation run accepted.
|
|
132
|
+
* @deprecated Use getCreateConversationRunAcceptedSchema()
|
|
133
|
+
*/
|
|
121
134
|
export const CreateConversationRunAcceptedSchema = lazySchema(getCreateConversationRunAcceptedSchema);
|
|
135
|
+
/** Zod schema for get complete conversation run response. */
|
|
122
136
|
export const getCompleteConversationRunResponseSchema = defineSchema((v) => v.object({
|
|
123
137
|
completed: v.boolean(),
|
|
124
138
|
run: v.object({
|
|
@@ -127,8 +141,11 @@ export const getCompleteConversationRunResponseSchema = defineSchema((v) => v.ob
|
|
|
127
141
|
status: v.enum(["pending", "running", "waiting", "completed", "failed", "cancelled"]),
|
|
128
142
|
}).passthrough(),
|
|
129
143
|
}).passthrough());
|
|
130
|
-
/**
|
|
144
|
+
/** Schema for complete conversation run response.
|
|
145
|
+
* @deprecated Use getCompleteConversationRunResponseSchema()
|
|
146
|
+
*/
|
|
131
147
|
export const CompleteConversationRunResponseSchema = lazySchema(getCompleteConversationRunResponseSchema);
|
|
148
|
+
/** Zod schema for get append conversation run events response. */
|
|
132
149
|
export const getAppendConversationRunEventsResponseSchema = defineSchema((v) => v.union([
|
|
133
150
|
v.object({
|
|
134
151
|
latestEventId: v.number().int().nonnegative(),
|
|
@@ -168,13 +185,16 @@ export const getAppendConversationRunEventsResponseSchema = defineSchema((v) =>
|
|
|
168
185
|
};
|
|
169
186
|
}),
|
|
170
187
|
]));
|
|
171
|
-
/**
|
|
188
|
+
/** Schema for append conversation run events response.
|
|
189
|
+
* @deprecated Use getAppendConversationRunEventsResponseSchema()
|
|
190
|
+
*/
|
|
172
191
|
export const AppendConversationRunEventsResponseSchema = lazySchema(getAppendConversationRunEventsResponseSchema);
|
|
173
192
|
const DEFAULT_MAX_CONVERSATION_RUN_BATCH_BYTES = 512 * 1024;
|
|
174
193
|
const getConversationRunErrorSchema = defineSchema((v) => v.object({
|
|
175
194
|
detail: v.string().min(1).optional(),
|
|
176
195
|
error: v.string().min(1).optional(),
|
|
177
196
|
}));
|
|
197
|
+
/** Error shape for conversation run terminal state. */
|
|
178
198
|
export class ConversationRunTerminalStateError extends Error {
|
|
179
199
|
status;
|
|
180
200
|
run;
|
|
@@ -185,6 +205,7 @@ export class ConversationRunTerminalStateError extends Error {
|
|
|
185
205
|
this.run = run;
|
|
186
206
|
}
|
|
187
207
|
}
|
|
208
|
+
/** Error shape for append conversation run events. */
|
|
188
209
|
export class AppendConversationRunEventsError extends Error {
|
|
189
210
|
status;
|
|
190
211
|
detail;
|
|
@@ -196,6 +217,7 @@ export class AppendConversationRunEventsError extends Error {
|
|
|
196
217
|
this.detail = input.detail?.trim() || null;
|
|
197
218
|
}
|
|
198
219
|
}
|
|
220
|
+
/** Parses append conversation run events error body. */
|
|
199
221
|
export function parseAppendConversationRunEventsErrorBody(bodyText) {
|
|
200
222
|
if (!bodyText) {
|
|
201
223
|
return null;
|
|
@@ -211,6 +233,7 @@ export function parseAppendConversationRunEventsErrorBody(bodyText) {
|
|
|
211
233
|
}
|
|
212
234
|
return bodyText;
|
|
213
235
|
}
|
|
236
|
+
/** Error shape for is ignorable conversation run append. */
|
|
214
237
|
export function isIgnorableConversationRunAppendError(error) {
|
|
215
238
|
if (!(error instanceof AppendConversationRunEventsError)) {
|
|
216
239
|
return false;
|
|
@@ -224,14 +247,17 @@ export function isIgnorableConversationRunAppendError(error) {
|
|
|
224
247
|
return (error.detail === "Cannot append external events to a terminal run" ||
|
|
225
248
|
error.detail === "Cannot append external events while the run is waiting for a tool result");
|
|
226
249
|
}
|
|
250
|
+
/** Error shape for is cursor mismatch conversation run append. */
|
|
227
251
|
export function isCursorMismatchConversationRunAppendError(error) {
|
|
228
252
|
return (error instanceof AppendConversationRunEventsError &&
|
|
229
253
|
error.status === 400 &&
|
|
230
254
|
error.detail === "External run event cursor mismatch");
|
|
231
255
|
}
|
|
256
|
+
/** Check whether a conversation run status is active. */
|
|
232
257
|
export function isActiveConversationRunStatus(status) {
|
|
233
258
|
return status === "pending" || status === "running" || status === "waiting_for_tool";
|
|
234
259
|
}
|
|
260
|
+
/** Check whether a conversation run projection can accept more events. */
|
|
235
261
|
export function isAppendableConversationRunProjection(run) {
|
|
236
262
|
return (run.status !== "completed" &&
|
|
237
263
|
run.status !== "failed" &&
|
|
@@ -240,6 +266,7 @@ export function isAppendableConversationRunProjection(run) {
|
|
|
240
266
|
run.waitingToolCallId === null &&
|
|
241
267
|
run.waitingToolName === null);
|
|
242
268
|
}
|
|
269
|
+
/** Resync conversation run append cursor helper. */
|
|
243
270
|
export async function resyncConversationRunAppendCursor(input) {
|
|
244
271
|
const run = await getConversationRun({
|
|
245
272
|
authToken: input.authToken,
|
|
@@ -265,6 +292,7 @@ export async function resyncConversationRunAppendCursor(input) {
|
|
|
265
292
|
run,
|
|
266
293
|
};
|
|
267
294
|
}
|
|
295
|
+
/** Recover conversation run cursor mismatch helper. */
|
|
268
296
|
export async function recoverConversationRunCursorMismatch(input) {
|
|
269
297
|
if (!isCursorMismatchConversationRunAppendError(input.error)) {
|
|
270
298
|
return {
|
|
@@ -313,6 +341,7 @@ export async function recoverConversationRunCursorMismatch(input) {
|
|
|
313
341
|
run: resynced.run,
|
|
314
342
|
};
|
|
315
343
|
}
|
|
344
|
+
/** Recover conversation run append failure helper. */
|
|
316
345
|
export async function recoverConversationRunAppendFailure(input) {
|
|
317
346
|
const cursorRecovery = await recoverConversationRunCursorMismatch({
|
|
318
347
|
error: input.error,
|
|
@@ -360,6 +389,7 @@ export async function recoverConversationRunAppendFailure(input) {
|
|
|
360
389
|
...(cursorRecovery.run ? { run: cursorRecovery.run } : {}),
|
|
361
390
|
};
|
|
362
391
|
}
|
|
392
|
+
/** Recover conversation run append execution helper. */
|
|
363
393
|
export async function recoverConversationRunAppendExecution(input) {
|
|
364
394
|
const recovered = await recoverConversationRunAppendFailure({
|
|
365
395
|
error: input.error,
|
|
@@ -425,6 +455,7 @@ function buildConversationRunEventBatches(input) {
|
|
|
425
455
|
}
|
|
426
456
|
return batches;
|
|
427
457
|
}
|
|
458
|
+
/** Flush conversation run event batches. */
|
|
428
459
|
export async function flushConversationRunEventBatches(input) {
|
|
429
460
|
const batches = buildConversationRunEventBatches({
|
|
430
461
|
events: input.events,
|
|
@@ -493,6 +524,7 @@ export async function flushConversationRunEventBatches(input) {
|
|
|
493
524
|
latestExternalEventSequence,
|
|
494
525
|
};
|
|
495
526
|
}
|
|
527
|
+
/** Flush conversation run event queue. */
|
|
496
528
|
export async function flushConversationRunEventQueue(input) {
|
|
497
529
|
let latestEventId = input.latestEventId;
|
|
498
530
|
let latestExternalEventSequence = input.latestExternalEventSequence;
|
|
@@ -553,6 +585,7 @@ export async function flushConversationRunEventQueue(input) {
|
|
|
553
585
|
latestExternalEventSequence,
|
|
554
586
|
};
|
|
555
587
|
}
|
|
588
|
+
/** Create conversation run event queue controller. */
|
|
556
589
|
export function createConversationRunEventQueueController(input) {
|
|
557
590
|
let latestEventId = input.latestEventId;
|
|
558
591
|
let latestExternalEventSequence = input.latestExternalEventSequence;
|
|
@@ -709,6 +742,7 @@ async function controlPlaneJson(input) {
|
|
|
709
742
|
}
|
|
710
743
|
return input.responseSchema.parse(await response.json());
|
|
711
744
|
}
|
|
745
|
+
/** Return conversation run. */
|
|
712
746
|
export async function getConversationRun(input) {
|
|
713
747
|
return controlPlaneJson({
|
|
714
748
|
authToken: input.authToken,
|
|
@@ -718,6 +752,7 @@ export async function getConversationRun(input) {
|
|
|
718
752
|
abortSignal: input.abortSignal,
|
|
719
753
|
});
|
|
720
754
|
}
|
|
755
|
+
/** Monitor conversation run status helper. */
|
|
721
756
|
export async function monitorConversationRunStatus(input) {
|
|
722
757
|
while (!input.abortSignal?.aborted) {
|
|
723
758
|
await waitForConversationRunPoll(input.pollIntervalMs, input.abortSignal);
|
|
@@ -755,6 +790,7 @@ export async function monitorConversationRunStatus(input) {
|
|
|
755
790
|
return;
|
|
756
791
|
}
|
|
757
792
|
}
|
|
793
|
+
/** Append conversation run events. */
|
|
758
794
|
export async function appendConversationRunEvents(input) {
|
|
759
795
|
if (input.abortSignal?.aborted) {
|
|
760
796
|
throw new DOMException("This operation was aborted", "AbortError");
|
|
@@ -803,6 +839,7 @@ export async function appendConversationRunEvents(input) {
|
|
|
803
839
|
}
|
|
804
840
|
return AppendConversationRunEventsResponseSchema.parse(await response.json());
|
|
805
841
|
}
|
|
842
|
+
/** Create conversation agent run. */
|
|
806
843
|
export async function createConversationAgentRun(input) {
|
|
807
844
|
const targets = resolveConversationRunTargets({
|
|
808
845
|
projectId: input.projectId ?? null,
|
|
@@ -860,6 +897,7 @@ export async function createConversationAgentRun(input) {
|
|
|
860
897
|
runId,
|
|
861
898
|
});
|
|
862
899
|
}
|
|
900
|
+
/** Finalize conversation agent run helper. */
|
|
863
901
|
export async function finalizeConversationAgentRun(input) {
|
|
864
902
|
const metadata = input.status === "completed"
|
|
865
903
|
? {
|
|
@@ -3,6 +3,7 @@ import { type InvokeAgentChildRunProgressEvent, type InvokeAgentChildRunProgress
|
|
|
3
3
|
import type { ChatStreamEvent } from "../../chat/protocol.js";
|
|
4
4
|
import type { HostedChildLifecycleAdapter } from "../hosted/child-lifecycle.js";
|
|
5
5
|
import type { HostedLifecycleAdapter, HostedLifecycleTerminalState } from "../hosted/lifecycle.js";
|
|
6
|
+
/** Input payload for conversation hosted lifecycle finalize. */
|
|
6
7
|
export interface ConversationHostedLifecycleFinalizeInput {
|
|
7
8
|
model: string;
|
|
8
9
|
provider: string;
|
|
@@ -10,6 +11,7 @@ export interface ConversationHostedLifecycleFinalizeInput {
|
|
|
10
11
|
terminalErrorCode?: string | null;
|
|
11
12
|
terminalErrorMessage?: string | null;
|
|
12
13
|
}
|
|
14
|
+
/** Options accepted by create conversation hosted lifecycle adapter. */
|
|
13
15
|
export interface CreateConversationHostedLifecycleAdapterOptions<TChunk> {
|
|
14
16
|
authToken: string;
|
|
15
17
|
apiUrl: string;
|
|
@@ -22,8 +24,11 @@ export interface CreateConversationHostedLifecycleAdapterOptions<TChunk> {
|
|
|
22
24
|
terminalState: HostedLifecycleTerminalState;
|
|
23
25
|
}) => Promise<ConversationHostedLifecycleFinalizeInput> | ConversationHostedLifecycleFinalizeInput;
|
|
24
26
|
}
|
|
27
|
+
/** Create conversation hosted lifecycle adapter. */
|
|
25
28
|
export declare function createConversationHostedLifecycleAdapter<TChunk>(options: CreateConversationHostedLifecycleAdapterOptions<TChunk>): HostedLifecycleAdapter<ConversationRunProjection, TChunk>;
|
|
29
|
+
/** Create conversation hosted stream lifecycle adapter. */
|
|
26
30
|
export declare function createConversationHostedStreamLifecycleAdapter(options: Omit<CreateConversationHostedLifecycleAdapterOptions<ChatStreamEvent>, "mapChunkToEvents">): HostedLifecycleAdapter<ConversationRunProjection, ChatStreamEvent>;
|
|
31
|
+
/** Context for conversation child lifecycle. */
|
|
27
32
|
export interface ConversationChildLifecycleContext {
|
|
28
33
|
authToken: string;
|
|
29
34
|
apiUrl: string;
|
|
@@ -35,5 +40,6 @@ export interface ConversationChildLifecycleContext {
|
|
|
35
40
|
model: string;
|
|
36
41
|
provider: string;
|
|
37
42
|
}
|
|
43
|
+
/** Create conversation child lifecycle adapter. */
|
|
38
44
|
export declare function createConversationChildLifecycleAdapter(ctx: ConversationChildLifecycleContext): HostedChildLifecycleAdapter;
|
|
39
45
|
//# sourceMappingURL=hosted-lifecycle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-lifecycle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,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,gCAAgC,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9F,QAAQ,EAAE,IAAI,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAoCD,mDAAmD;AACnD,wBAAgB,uCAAuC,CACrD,GAAG,EAAE,iCAAiC,GACrC,2BAA2B,CAkD7B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { appendConversationRunEvents, finalizeConversationAgentRun, } from "./durable.js";
|
|
2
2
|
import { prepareConversationRunStreamEvents } from "./run-event-preparation.js";
|
|
3
3
|
import { publishInvokeAgentChildRunProgress, } from "../child-run/invoke-agent-child-runs.js";
|
|
4
|
+
/** Create conversation hosted lifecycle adapter. */
|
|
4
5
|
export function createConversationHostedLifecycleAdapter(options) {
|
|
5
6
|
return {
|
|
6
7
|
startRun: options.startRun,
|
|
@@ -55,6 +56,7 @@ export function createConversationHostedLifecycleAdapter(options) {
|
|
|
55
56
|
},
|
|
56
57
|
};
|
|
57
58
|
}
|
|
59
|
+
/** Create conversation hosted stream lifecycle adapter. */
|
|
58
60
|
export function createConversationHostedStreamLifecycleAdapter(options) {
|
|
59
61
|
return createConversationHostedLifecycleAdapter({
|
|
60
62
|
...options,
|
|
@@ -85,6 +87,7 @@ async function publishConversationChildProgress(ctx, status) {
|
|
|
85
87
|
...(ctx.publishParentRunEvents ? { publishParentRunEvents: ctx.publishParentRunEvents } : {}),
|
|
86
88
|
});
|
|
87
89
|
}
|
|
90
|
+
/** Create conversation child lifecycle adapter. */
|
|
88
91
|
export function createConversationChildLifecycleAdapter(ctx) {
|
|
89
92
|
return {
|
|
90
93
|
pending: () => publishConversationChildProgress(ctx, "pending"),
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
import { type ConversationRunProjection } from "./durable.js";
|
|
2
2
|
import type { HostedLifecycleTerminalState } from "../hosted/lifecycle.js";
|
|
3
|
+
/** Input payload for conversation hosted terminal state. */
|
|
3
4
|
export interface ConversationHostedTerminalStateInput {
|
|
4
5
|
status: HostedLifecycleTerminalState["status"];
|
|
5
6
|
metadata?: HostedLifecycleTerminalState["metadata"];
|
|
6
7
|
terminalErrorCode?: string | null;
|
|
7
8
|
terminalErrorMessage?: string | null;
|
|
8
9
|
}
|
|
10
|
+
/** Shared conversation hosted stream error terminal error code value. */
|
|
9
11
|
export declare const CONVERSATION_HOSTED_STREAM_ERROR_TERMINAL_ERROR_CODE = "STREAM_ERROR";
|
|
12
|
+
/** Shared conversation hosted aborted terminal error code value. */
|
|
10
13
|
export declare const CONVERSATION_HOSTED_ABORTED_TERMINAL_ERROR_CODE = "ABORTED";
|
|
14
|
+
/** Shared conversation hosted incomplete tool calls terminal error code value. */
|
|
11
15
|
export declare const CONVERSATION_HOSTED_INCOMPLETE_TOOL_CALLS_TERMINAL_ERROR_CODE = "INCOMPLETE_TOOL_CALLS";
|
|
16
|
+
/** Input payload for resolve conversation hosted terminal state. */
|
|
12
17
|
export interface ResolveConversationHostedTerminalStateInput {
|
|
13
18
|
isAborted: boolean;
|
|
14
19
|
hasIncompleteToolParts: boolean;
|
|
15
20
|
abortedTerminalErrorMessage?: string;
|
|
16
21
|
incompleteToolCallsTerminalErrorMessage?: string;
|
|
17
22
|
}
|
|
23
|
+
/** Public API contract for conversation hosted terminal state resolution. */
|
|
18
24
|
export type ConversationHostedTerminalStateResolution = Pick<ConversationHostedTerminalStateInput, "status" | "terminalErrorCode" | "terminalErrorMessage">;
|
|
25
|
+
/** State for resolve conversation hosted terminal. */
|
|
19
26
|
export declare function resolveConversationHostedTerminalState(input: ResolveConversationHostedTerminalStateInput): ConversationHostedTerminalStateResolution;
|
|
27
|
+
/** State for resolve conversation hosted stream error. */
|
|
20
28
|
export declare function resolveConversationHostedStreamErrorState(error: unknown): ConversationHostedTerminalStateResolution;
|
|
29
|
+
/** Public API contract for conversation hosted terminal runtime adapter. */
|
|
21
30
|
export interface ConversationHostedTerminalRuntimeAdapter {
|
|
22
31
|
terminal: Pick<ConversationHostedTerminalAdapter, "toTerminalState" | "finalizeRun" | "cancelRun" | "onTerminalState">;
|
|
23
32
|
}
|
|
33
|
+
/** State for dispatch conversation hosted terminal. */
|
|
24
34
|
export declare function dispatchConversationHostedTerminalState(adapter: ConversationHostedTerminalRuntimeAdapter, state: ConversationHostedTerminalStateInput): Promise<HostedLifecycleTerminalState>;
|
|
35
|
+
/** State for dispatch conversation hosted stream error. */
|
|
25
36
|
export declare function dispatchConversationHostedStreamErrorState(adapter: ConversationHostedTerminalRuntimeAdapter, error: unknown): Promise<HostedLifecycleTerminalState>;
|
|
37
|
+
/** Options accepted by create conversation hosted terminal adapter. */
|
|
26
38
|
export interface CreateConversationHostedTerminalAdapterOptions {
|
|
27
39
|
authToken: string;
|
|
28
40
|
apiUrl: string;
|
|
@@ -31,6 +43,7 @@ export interface CreateConversationHostedTerminalAdapterOptions {
|
|
|
31
43
|
resolveProvider: (modelId: string) => string;
|
|
32
44
|
onTerminalState?: (terminalState: HostedLifecycleTerminalState) => Promise<void> | void;
|
|
33
45
|
}
|
|
46
|
+
/** Public API contract for conversation hosted terminal adapter. */
|
|
34
47
|
export interface ConversationHostedTerminalAdapter {
|
|
35
48
|
toTerminalState: (state: ConversationHostedTerminalStateInput) => HostedLifecycleTerminalState;
|
|
36
49
|
finalizeRun: (terminalState: HostedLifecycleTerminalState) => Promise<void>;
|
|
@@ -38,9 +51,11 @@ export interface ConversationHostedTerminalAdapter {
|
|
|
38
51
|
onTerminalState: (terminalState: HostedLifecycleTerminalState) => Promise<void>;
|
|
39
52
|
dispatch: (state: ConversationHostedTerminalStateInput) => Promise<HostedLifecycleTerminalState>;
|
|
40
53
|
}
|
|
54
|
+
/** State for to conversation hosted terminal. */
|
|
41
55
|
export declare function toConversationHostedTerminalState(input: {
|
|
42
56
|
fallbackModelId: string;
|
|
43
57
|
state: ConversationHostedTerminalStateInput;
|
|
44
58
|
}): HostedLifecycleTerminalState;
|
|
59
|
+
/** Create conversation hosted terminal adapter. */
|
|
45
60
|
export declare function createConversationHostedTerminalAdapter(options: CreateConversationHostedTerminalAdapterOptions): ConversationHostedTerminalAdapter;
|
|
46
61
|
//# sourceMappingURL=hosted-terminal.d.ts.map
|