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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-input.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/input/human-input.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,eAAe,EACf,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,uBAAu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ag-ui-contract.js";
|
|
4
4
|
import { RunResumeSessionManager } from "../runtime/index.js";
|
|
5
5
|
const TOOL_CALL_ID_SCHEMA = (v) => v.string().min(1).max(128);
|
|
6
|
+
/** Zod schema for get human input option. */
|
|
6
7
|
export const getHumanInputOptionSchema = defineSchema((v) => v.object({
|
|
7
8
|
value: v.string(),
|
|
8
9
|
label: v.string(),
|
|
@@ -20,6 +21,7 @@ const baseHumanInputFieldFields = (v) => ({
|
|
|
20
21
|
required: v.boolean().optional().default(false),
|
|
21
22
|
secret: v.boolean().optional().default(false),
|
|
22
23
|
});
|
|
24
|
+
/** Zod schema for get human input field. */
|
|
23
25
|
export const getHumanInputFieldSchema = defineSchema((v) => v.discriminatedUnion("type", [
|
|
24
26
|
v.object({
|
|
25
27
|
...baseHumanInputFieldFields(v),
|
|
@@ -75,11 +77,13 @@ export const humanInputRequestBaseFields = (v) => ({
|
|
|
75
77
|
fields: v.array(getHumanInputFieldSchema()).min(1),
|
|
76
78
|
submitLabel: v.string().max(64).optional().default("Submit"),
|
|
77
79
|
});
|
|
80
|
+
/** Zod schema for get human input request. */
|
|
78
81
|
export const getHumanInputRequestSchema = defineSchema((v) => v.object({
|
|
79
82
|
...humanInputRequestBaseFields(v),
|
|
80
83
|
metadata: v.record(v.string(), v.unknown()).optional(),
|
|
81
84
|
}));
|
|
82
85
|
export const getHumanInputResponseValuesSchema = defineSchema((v) => v.record(v.string(), v.union([v.string(), v.boolean(), v.number(), v.null()])));
|
|
86
|
+
/** Zod schema for get human input result. */
|
|
83
87
|
export const getHumanInputResultSchema = defineSchema((v) => v.discriminatedUnion("submitted", [
|
|
84
88
|
v.object({
|
|
85
89
|
submitted: v.literal(true),
|
|
@@ -90,11 +94,13 @@ export const getHumanInputResultSchema = defineSchema((v) => v.discriminatedUnio
|
|
|
90
94
|
values: getHumanInputResponseValuesSchema().default({}),
|
|
91
95
|
}),
|
|
92
96
|
]));
|
|
97
|
+
/** Zod schema for get human input pending request. */
|
|
93
98
|
export const getHumanInputPendingRequestSchema = defineSchema((v) => v.object({
|
|
94
99
|
runId: getAgUiRuntimeRunIdSchema(),
|
|
95
100
|
toolCallId: TOOL_CALL_ID_SCHEMA(v),
|
|
96
101
|
request: getHumanInputRequestSchema(),
|
|
97
102
|
}));
|
|
103
|
+
/** Error shape for human input resume. */
|
|
98
104
|
export class HumanInputResumeError extends Error {
|
|
99
105
|
detail;
|
|
100
106
|
constructor(detail) {
|
|
@@ -103,6 +109,7 @@ export class HumanInputResumeError extends Error {
|
|
|
103
109
|
this.name = "HumanInputResumeError";
|
|
104
110
|
}
|
|
105
111
|
}
|
|
112
|
+
/** Error shape for invalid human input result. */
|
|
106
113
|
export class InvalidHumanInputResultError extends Error {
|
|
107
114
|
detail;
|
|
108
115
|
constructor(detail) {
|
|
@@ -111,6 +118,7 @@ export class InvalidHumanInputResultError extends Error {
|
|
|
111
118
|
this.name = "InvalidHumanInputResultError";
|
|
112
119
|
}
|
|
113
120
|
}
|
|
121
|
+
/** Execute durable human input flow. */
|
|
114
122
|
export async function executeDurableHumanInputFlow(options) {
|
|
115
123
|
const sessionManager = options.sessionManager ??
|
|
116
124
|
new RunResumeSessionManager();
|
|
@@ -159,6 +167,7 @@ export async function executeDurableHumanInputFlow(options) {
|
|
|
159
167
|
throw error;
|
|
160
168
|
}
|
|
161
169
|
}
|
|
170
|
+
/** Input payload for wait for human. */
|
|
162
171
|
export async function waitForHumanInput(options) {
|
|
163
172
|
options.sessionManager.prepareForSignal(options.runId, options.toolCallId);
|
|
164
173
|
const pendingRequest = getHumanInputPendingRequestSchema().parse({
|
|
@@ -177,6 +186,7 @@ export async function waitForHumanInput(options) {
|
|
|
177
186
|
}
|
|
178
187
|
return parsed.data;
|
|
179
188
|
}
|
|
189
|
+
/** Wait for durable human input resolution helper. */
|
|
180
190
|
export async function waitForDurableHumanInputResolution(options) {
|
|
181
191
|
while (Date.now() < options.deadline) {
|
|
182
192
|
const snapshot = await options.getSnapshot();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InferSchema } from "../../extensions/schema/index.js";
|
|
2
2
|
import type { ToolExecutionDataEvent } from "../../tool/types.js";
|
|
3
|
+
/** Zod schema for get form input tool input. */
|
|
3
4
|
export declare const getFormInputToolInputSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
4
5
|
title: import("../../internal-agents/schema.js").Schema<string>;
|
|
5
6
|
description: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -78,7 +79,9 @@ export declare const getFormInputToolInputSchema: () => import("../../internal-a
|
|
|
78
79
|
}>)[]>;
|
|
79
80
|
submitLabel: import("../../internal-agents/schema.js").Schema<string>;
|
|
80
81
|
}>>;
|
|
82
|
+
/** Zod schema for get input response values. */
|
|
81
83
|
export declare const getInputResponseValuesSchema: () => import("../../internal-agents/schema.js").Schema<Record<string, string | number | boolean | null>>;
|
|
84
|
+
/** Zod schema for get create input request request. */
|
|
82
85
|
export declare const getCreateInputRequestRequestSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
83
86
|
run_id: import("../../internal-agents/schema.js").Schema<string>;
|
|
84
87
|
tool_call_id: import("../../internal-agents/schema.js").Schema<string>;
|
|
@@ -172,6 +175,7 @@ export interface InputResponseRestOutput {
|
|
|
172
175
|
values: Record<string, string | number | boolean | null>;
|
|
173
176
|
createdAt: string;
|
|
174
177
|
}
|
|
178
|
+
/** Zod schema for get input response rest. */
|
|
175
179
|
export declare const getInputResponseRestSchema: () => import("../../internal-agents/schema.js").Schema<InputResponseRestOutput>;
|
|
176
180
|
export interface InputRequestRestOutput {
|
|
177
181
|
id: string;
|
|
@@ -193,9 +197,13 @@ export interface InputRequestRestOutput {
|
|
|
193
197
|
expiredAt: string | null;
|
|
194
198
|
latestResponse: InputResponseRestOutput | null;
|
|
195
199
|
}
|
|
200
|
+
/** Zod schema for get input request rest. */
|
|
196
201
|
export declare const getInputRequestRestSchema: () => import("../../internal-agents/schema.js").Schema<InputRequestRestOutput>;
|
|
202
|
+
/** Zod schema for get create input request response. */
|
|
197
203
|
export declare const getCreateInputRequestResponseSchema: () => import("../../internal-agents/schema.js").Schema<InputRequestRestOutput>;
|
|
204
|
+
/** Zod schema for get get input request response. */
|
|
198
205
|
export declare const getGetInputRequestResponseSchema: () => import("../../internal-agents/schema.js").Schema<InputRequestRestOutput>;
|
|
206
|
+
/** Zod schema for get input request output. */
|
|
199
207
|
export declare const getInputRequestOutputSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
200
208
|
id: import("../../internal-agents/schema.js").Schema<string>;
|
|
201
209
|
conversationId: import("../../internal-agents/schema.js").Schema<string>;
|
|
@@ -288,6 +296,7 @@ export declare const getInputRequestOutputSchema: () => import("../../internal-a
|
|
|
288
296
|
expiredAt: import("../../internal-agents/schema.js").Schema<string | null>;
|
|
289
297
|
latestResponse: import("../../internal-agents/schema.js").Schema<InputResponseRestOutput | null>;
|
|
290
298
|
}>>;
|
|
299
|
+
/** Zod schema for get input request lifecycle data event. */
|
|
291
300
|
export declare const getInputRequestLifecycleDataEventSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
292
301
|
type: import("../../internal-agents/schema.js").Schema<"veryfront.input_request.lifecycle">;
|
|
293
302
|
data: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
@@ -482,8 +491,11 @@ export declare const getInputRequestLifecycleDataEventSchema: () => import("../.
|
|
|
482
491
|
}>>;
|
|
483
492
|
}>>;
|
|
484
493
|
}>>;
|
|
494
|
+
/** Input payload for form input tool. */
|
|
485
495
|
export type FormInputToolInput = InferSchema<ReturnType<typeof getFormInputToolInputSchema>>;
|
|
496
|
+
/** Output from input request. */
|
|
486
497
|
export type InputRequestOutput = InputRequestRestOutput;
|
|
498
|
+
/** Request payload for create input. */
|
|
487
499
|
export declare function createInputRequest(input: {
|
|
488
500
|
authToken: string;
|
|
489
501
|
apiUrl: string;
|
|
@@ -493,12 +505,14 @@ export declare function createInputRequest(input: {
|
|
|
493
505
|
form: FormInputToolInput;
|
|
494
506
|
expiresAt: string;
|
|
495
507
|
}): Promise<InputRequestOutput>;
|
|
508
|
+
/** Request payload for get input. */
|
|
496
509
|
export declare function getInputRequest(input: {
|
|
497
510
|
authToken: string;
|
|
498
511
|
apiUrl: string;
|
|
499
512
|
conversationId: string;
|
|
500
513
|
inputRequestId: string;
|
|
501
514
|
}): Promise<InputRequestOutput>;
|
|
515
|
+
/** Event emitted for build input request lifecycle data. */
|
|
502
516
|
export declare function buildInputRequestLifecycleDataEvent(input: {
|
|
503
517
|
action: "created" | "updated";
|
|
504
518
|
inputRequest: InputRequestOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-protocol.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/input/request-protocol.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAMlE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvC,CAAC;AAEF,eAAO,MAAM,4BAA4B,0GAKxC,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAe9C,CAAC;AAMF,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IA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AAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA+B9B;AAED,qCAAqC;AACrC,wBAAsB,eAAe,CAAC,KAAK,EAAE;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAkB9B;AAED,4DAA4D;AAC5D,wBAAgB,mCAAmC,CAAC,KAAK,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,kBAAkB,CAAC;CAClC,GAAG,sBAAsB,CAazB"}
|
|
@@ -3,8 +3,11 @@ import { getHumanInputFieldSchema, humanInputRequestBaseFields } from "./human-i
|
|
|
3
3
|
// `formInputToolInputSchema` is `HumanInputRequestSchema` minus its `metadata`
|
|
4
4
|
// field. The contract DSL doesn't expose `.omit(...)`, so we share the base
|
|
5
5
|
// shape via `humanInputRequestBaseFields(v)` and construct two object schemas.
|
|
6
|
+
/** Zod schema for get form input tool input. */
|
|
6
7
|
export const getFormInputToolInputSchema = defineSchema((v) => v.object(humanInputRequestBaseFields(v)));
|
|
8
|
+
/** Zod schema for get input response values. */
|
|
7
9
|
export const getInputResponseValuesSchema = defineSchema((v) => v.record(v.string(), v.union([v.string(), v.boolean(), v.number(), v.null()])));
|
|
10
|
+
/** Zod schema for get create input request request. */
|
|
8
11
|
export const getCreateInputRequestRequestSchema = defineSchema((v) => v.object({
|
|
9
12
|
run_id: v.string().min(1),
|
|
10
13
|
tool_call_id: v.string().min(1),
|
|
@@ -19,6 +22,7 @@ export const getCreateInputRequestRequestSchema = defineSchema((v) => v.object({
|
|
|
19
22
|
expires_at: v.string().datetime(),
|
|
20
23
|
metadata: v.record(v.string(), v.unknown()).optional(),
|
|
21
24
|
}));
|
|
25
|
+
/** Zod schema for get input response rest. */
|
|
22
26
|
export const getInputResponseRestSchema = defineSchema((v) => v
|
|
23
27
|
.object({
|
|
24
28
|
id: v.string().uuid(),
|
|
@@ -44,6 +48,7 @@ export const getInputResponseRestSchema = defineSchema((v) => v
|
|
|
44
48
|
createdAt: v2.created_at,
|
|
45
49
|
};
|
|
46
50
|
}));
|
|
51
|
+
/** Zod schema for get input request rest. */
|
|
47
52
|
export const getInputRequestRestSchema = defineSchema((v) => v
|
|
48
53
|
.object({
|
|
49
54
|
id: v.string().uuid(),
|
|
@@ -90,8 +95,11 @@ export const getInputRequestRestSchema = defineSchema((v) => v
|
|
|
90
95
|
latestResponse: v2.latest_response ?? null,
|
|
91
96
|
};
|
|
92
97
|
}));
|
|
98
|
+
/** Zod schema for get create input request response. */
|
|
93
99
|
export const getCreateInputRequestResponseSchema = getInputRequestRestSchema;
|
|
100
|
+
/** Zod schema for get get input request response. */
|
|
94
101
|
export const getGetInputRequestResponseSchema = getInputRequestRestSchema;
|
|
102
|
+
/** Zod schema for get input request output. */
|
|
95
103
|
export const getInputRequestOutputSchema = defineSchema((v) => v.object({
|
|
96
104
|
id: v.string().uuid(),
|
|
97
105
|
conversationId: v.string().uuid(),
|
|
@@ -112,6 +120,7 @@ export const getInputRequestOutputSchema = defineSchema((v) => v.object({
|
|
|
112
120
|
expiredAt: v.string().nullable(),
|
|
113
121
|
latestResponse: getInputResponseRestSchema().nullable(),
|
|
114
122
|
}));
|
|
123
|
+
/** Zod schema for get input request lifecycle data event. */
|
|
115
124
|
export const getInputRequestLifecycleDataEventSchema = defineSchema((v) => v.object({
|
|
116
125
|
type: v.literal("veryfront.input_request.lifecycle"),
|
|
117
126
|
data: v.object({
|
|
@@ -124,6 +133,7 @@ export const getInputRequestLifecycleDataEventSchema = defineSchema((v) => v.obj
|
|
|
124
133
|
inputRequest: getInputRequestOutputSchema(),
|
|
125
134
|
}),
|
|
126
135
|
}));
|
|
136
|
+
/** Request payload for create input. */
|
|
127
137
|
export async function createInputRequest(input) {
|
|
128
138
|
const requestBody = getCreateInputRequestRequestSchema().parse({
|
|
129
139
|
run_id: input.runId,
|
|
@@ -151,6 +161,7 @@ export async function createInputRequest(input) {
|
|
|
151
161
|
}
|
|
152
162
|
return getCreateInputRequestResponseSchema().parse(await response.json());
|
|
153
163
|
}
|
|
164
|
+
/** Request payload for get input. */
|
|
154
165
|
export async function getInputRequest(input) {
|
|
155
166
|
const response = await fetch(`${input.apiUrl}/conversations/${input.conversationId}/input-requests/${input.inputRequestId}`, {
|
|
156
167
|
method: "GET",
|
|
@@ -165,6 +176,7 @@ export async function getInputRequest(input) {
|
|
|
165
176
|
}
|
|
166
177
|
return getGetInputRequestResponseSchema().parse(await response.json());
|
|
167
178
|
}
|
|
179
|
+
/** Event emitted for build input request lifecycle data. */
|
|
168
180
|
export function buildInputRequestLifecycleDataEvent(input) {
|
|
169
181
|
return getInputRequestLifecycleDataEventSchema().parse({
|
|
170
182
|
type: "veryfront.input_request.lifecycle",
|
|
@@ -13,6 +13,7 @@ export interface MemoryConfigBase {
|
|
|
13
13
|
maxTokens?: number;
|
|
14
14
|
maxMessages?: number;
|
|
15
15
|
}
|
|
16
|
+
/** Public API contract for memory stats. */
|
|
16
17
|
export interface MemoryStats {
|
|
17
18
|
totalMessages: number;
|
|
18
19
|
estimatedTokens: number;
|
|
@@ -27,12 +28,14 @@ export interface MinimalMessage {
|
|
|
27
28
|
timestamp?: number;
|
|
28
29
|
metadata?: Record<string, unknown>;
|
|
29
30
|
}
|
|
31
|
+
/** Public API contract for memory. */
|
|
30
32
|
export interface Memory<M extends MinimalMessage = MinimalMessage> {
|
|
31
33
|
add(message: M): Promise<void>;
|
|
32
34
|
getMessages(): Promise<M[]>;
|
|
33
35
|
clear(): Promise<void>;
|
|
34
36
|
getStats(): Promise<MemoryStats>;
|
|
35
37
|
}
|
|
38
|
+
/** Public API contract for memory persistence. */
|
|
36
39
|
export interface MemoryPersistence<M extends MinimalMessage = MinimalMessage> {
|
|
37
40
|
save(agentId: string, messages: M[]): Promise<void>;
|
|
38
41
|
load(agentId: string): Promise<M[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-interface.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/memory/memory-interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;4BAS4B;AAE5B,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc;IAC/D,GAAG,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,WAAW,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,QAAQ,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,cAAc,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AAC,CAAC,SAAS,cAAc,GAAG,cAAc;IAC/D,GAAG,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,WAAW,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,QAAQ,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;CAClC;AAED,kDAAkD;AAClD,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc;IAC1E,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IACpC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAC5C,MAAM,CAOR;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,MAAM,CASjE"}
|
|
@@ -9,6 +9,7 @@ declare abstract class BasicMemoryStore<M extends MinimalMessage> implements Mem
|
|
|
9
9
|
clear(): Promise<void>;
|
|
10
10
|
getStats(): Promise<MemoryStats>;
|
|
11
11
|
}
|
|
12
|
+
/** Implement conversation memory. */
|
|
12
13
|
export declare class ConversationMemory<M extends MinimalMessage = MinimalMessage> extends BasicMemoryStore<M> {
|
|
13
14
|
private config;
|
|
14
15
|
protected readonly memoryType: "conversation";
|
|
@@ -17,6 +18,7 @@ export declare class ConversationMemory<M extends MinimalMessage = MinimalMessag
|
|
|
17
18
|
add(message: M): Promise<void>;
|
|
18
19
|
private trimToTokenLimit;
|
|
19
20
|
}
|
|
21
|
+
/** Implement buffer memory. */
|
|
20
22
|
export declare class BufferMemory<M extends MinimalMessage = MinimalMessage> extends BasicMemoryStore<M> {
|
|
21
23
|
protected readonly memoryType: "buffer";
|
|
22
24
|
protected readonly spanPrefix = "agent.memory.buffer";
|
|
@@ -24,6 +26,7 @@ export declare class BufferMemory<M extends MinimalMessage = MinimalMessage> ext
|
|
|
24
26
|
constructor(config: MemoryConfigBase);
|
|
25
27
|
add(message: M): Promise<void>;
|
|
26
28
|
}
|
|
29
|
+
/** Implement summary memory. */
|
|
27
30
|
export declare class SummaryMemory<M extends MinimalMessage = MinimalMessage> implements Memory<M> {
|
|
28
31
|
private config;
|
|
29
32
|
private messages;
|
|
@@ -36,6 +39,7 @@ export declare class SummaryMemory<M extends MinimalMessage = MinimalMessage> im
|
|
|
36
39
|
getStats(): Promise<MemoryStats>;
|
|
37
40
|
private summarizeOldMessages;
|
|
38
41
|
}
|
|
42
|
+
/** Create memory. */
|
|
39
43
|
export declare function createMemory<M extends MinimalMessage = MinimalMessage>(config: MemoryConfigBase): Memory<M>;
|
|
40
44
|
export {};
|
|
41
45
|
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/memory/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAG/B,KAAK,eAAe,GAAG,cAAc,GAAG,QAAQ,CAAC;AAgDjD,uBAAe,gBAAgB,CAAC,CAAC,SAAS,cAAc,CAAE,YAAW,MAAM,CAAC,CAAC,CAAC;IAC5E,SAAS,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAM;IAC7B,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;IACxD,SAAS,CAAC,QAAQ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25
|
return getBasicStatsWithTrace(this.messages, `${this.spanPrefix}.getStats`, this.memoryType);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
/** Implement conversation memory. */
|
|
28
29
|
export class ConversationMemory extends BasicMemoryStore {
|
|
29
30
|
config;
|
|
30
31
|
memoryType = "conversation";
|
|
@@ -57,6 +58,7 @@ export class ConversationMemory extends BasicMemoryStore {
|
|
|
57
58
|
return Promise.resolve();
|
|
58
59
|
}
|
|
59
60
|
}
|
|
61
|
+
/** Implement buffer memory. */
|
|
60
62
|
export class BufferMemory extends BasicMemoryStore {
|
|
61
63
|
memoryType = "buffer";
|
|
62
64
|
spanPrefix = "agent.memory.buffer";
|
|
@@ -74,6 +76,7 @@ export class BufferMemory extends BasicMemoryStore {
|
|
|
74
76
|
}, { "memory.type": "buffer", "memory.buffer_size": this.bufferSize }));
|
|
75
77
|
}
|
|
76
78
|
}
|
|
79
|
+
/** Implement summary memory. */
|
|
77
80
|
export class SummaryMemory {
|
|
78
81
|
config;
|
|
79
82
|
messages = [];
|
|
@@ -141,6 +144,7 @@ export class SummaryMemory {
|
|
|
141
144
|
return Promise.resolve();
|
|
142
145
|
}
|
|
143
146
|
}
|
|
147
|
+
/** Create memory. */
|
|
144
148
|
export function createMemory(config) {
|
|
145
149
|
switch (config.type) {
|
|
146
150
|
case "buffer":
|
|
@@ -30,6 +30,7 @@ export interface RedisMemoryConfig extends MemoryConfigBase {
|
|
|
30
30
|
/** TTL in seconds (default: 24 hours) */
|
|
31
31
|
ttl?: number;
|
|
32
32
|
}
|
|
33
|
+
/** Implement redis memory. */
|
|
33
34
|
export declare class RedisMemory<M extends MinimalMessage = MinimalMessage> implements Memory<M> {
|
|
34
35
|
private client;
|
|
35
36
|
private agentId;
|
|
@@ -47,5 +48,6 @@ export declare class RedisMemory<M extends MinimalMessage = MinimalMessage> impl
|
|
|
47
48
|
touch(): Promise<void>;
|
|
48
49
|
private trimToTokenLimit;
|
|
49
50
|
}
|
|
51
|
+
/** Create redis memory. */
|
|
50
52
|
export declare function createRedisMemory<M extends MinimalMessage = MinimalMessage>(agentId: string, config: RedisMemoryConfig): RedisMemory<M>;
|
|
51
53
|
//# sourceMappingURL=redis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/memory/redis.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAG/B;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACzC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7E,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACvD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,IAAI,EAAE,OAAO,CAAC;IACd,4BAA4B;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAKD,qBAAa,WAAW,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,YAAW,MAAM,CAAC,CAAC,CAAC;IACtF,OAAO,CAAC,MAAM,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C,CAAC,CAAC,CAEhB"}
|
|
@@ -8,6 +8,7 @@ import { estimateTokens, } from "./memory-interface.js";
|
|
|
8
8
|
import { withSpan } from "../../observability/tracing/otlp-setup.js";
|
|
9
9
|
const DEFAULT_TTL = 86_400; // 24 hours
|
|
10
10
|
const DEFAULT_KEY_PREFIX = "veryfront:agent:memory:";
|
|
11
|
+
/** Implement redis memory. */
|
|
11
12
|
export class RedisMemory {
|
|
12
13
|
client;
|
|
13
14
|
agentId;
|
|
@@ -92,6 +93,7 @@ export class RedisMemory {
|
|
|
92
93
|
return messages;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
96
|
+
/** Create redis memory. */
|
|
95
97
|
export function createRedisMemory(agentId, config) {
|
|
96
98
|
return new RedisMemory(agentId, config);
|
|
97
99
|
}
|
|
@@ -2,22 +2,32 @@ import type { DiscoveryResult } from "../../discovery/types.js";
|
|
|
2
2
|
import type { RuntimeAdapter } from "../../platform/adapters/base.js";
|
|
3
3
|
import type { RuntimeAgentMarkdownDefinition } from "../runtime/agent-definition.js";
|
|
4
4
|
import type { Agent } from "../types.js";
|
|
5
|
+
/** Public API contract for project agent runtime agent source. */
|
|
5
6
|
export type ProjectAgentRuntimeAgentSource = "auto" | "code" | "markdown";
|
|
7
|
+
/** Public API contract for project agent runtime agent ID candidates. */
|
|
6
8
|
export type ProjectAgentRuntimeAgentIdCandidates = {
|
|
7
9
|
codeAgentIds: string[];
|
|
8
10
|
markdownAgentIds: string[];
|
|
9
11
|
};
|
|
12
|
+
/** Input payload for discover project agent runtime. */
|
|
10
13
|
export type DiscoverProjectAgentRuntimeInput = {
|
|
11
14
|
projectDir: string;
|
|
12
15
|
adapter: RuntimeAdapter;
|
|
13
16
|
verbose?: boolean;
|
|
14
17
|
};
|
|
18
|
+
/** Clear project agent runtime registries. */
|
|
15
19
|
export declare function clearProjectAgentRuntimeRegistries(): void;
|
|
20
|
+
/** Discover project agent runtime helper. */
|
|
16
21
|
export declare function discoverProjectAgentRuntime(input: DiscoverProjectAgentRuntimeInput): Promise<DiscoveryResult>;
|
|
22
|
+
/** Does project agent runtime agent match source helper. */
|
|
17
23
|
export declare function doesProjectAgentRuntimeAgentMatchSource(runtimeAgent: Agent, source: ProjectAgentRuntimeAgentSource): boolean;
|
|
24
|
+
/** Create runtime agent definition from agent. */
|
|
18
25
|
export declare function createRuntimeAgentDefinitionFromAgent(runtimeAgent: Agent): Promise<RuntimeAgentMarkdownDefinition>;
|
|
26
|
+
/** Return project agent runtime agent ID candidates. */
|
|
19
27
|
export declare function getProjectAgentRuntimeAgentIdCandidates(discoveryResult: Pick<DiscoveryResult, "agents"> | null | undefined): ProjectAgentRuntimeAgentIdCandidates;
|
|
28
|
+
/** Describe project agent runtime agent ID candidates helper. */
|
|
20
29
|
export declare function describeProjectAgentRuntimeAgentIdCandidates(input: ProjectAgentRuntimeAgentIdCandidates): string;
|
|
30
|
+
/** Resolves single project agent runtime agent ID. */
|
|
21
31
|
export declare function resolveSingleProjectAgentRuntimeAgentId(input: {
|
|
22
32
|
candidates: ProjectAgentRuntimeAgentIdCandidates;
|
|
23
33
|
source: ProjectAgentRuntimeAgentSource;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runtime.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/project/agent-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAQhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAItE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAKrF,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,aAAa,CAAC;AAEtD,MAAM,MAAM,8BAA8B,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAE1E,MAAM,MAAM,oCAAoC,GAAG;IACjD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC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AAM,oCAAoC,GAAG;IACjD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,wDAAwD;AACxD,MAAM,MAAM,gCAAgC,GAAG;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAMF,8CAA8C;AAC9C,wBAAgB,kCAAkC,IAAI,IAAI,CAMzD;AAED,6CAA6C;AAC7C,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,gCAAgC,GACtC,OAAO,CAAC,eAAe,CAAC,CAW1B;AAED,4DAA4D;AAC5D,wBAAgB,uCAAuC,CACrD,YAAY,EAAE,KAAK,EACnB,MAAM,EAAE,8BAA8B,GACrC,OAAO,CAOT;AAED,kDAAkD;AAClD,wBAAsB,qCAAqC,CACzD,YAAY,EAAE,KAAK,GAClB,OAAO,CAAC,8BAA8B,CAAC,CAczC;AAED,wDAAwD;AACxD,wBAAgB,uCAAuC,CACrD,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS,GAClE,oCAAoC,CAgBtC;AAED,iEAAiE;AACjE,wBAAgB,4CAA4C,CAC1D,KAAK,EAAE,oCAAoC,GAC1C,MAAM,CAKR;AAED,sDAAsD;AACtD,wBAAgB,uCAAuC,CAAC,KAAK,EAAE;IAC7D,UAAU,EAAE,oCAAoC,CAAC;IACjD,MAAM,EAAE,8BAA8B,CAAC;CACxC,GAAG,MAAM,GAAG,IAAI,CAiBhB"}
|
|
@@ -7,6 +7,7 @@ import { getRuntimeAgentMarkdownDefinition, isRuntimeAgentMarkdownAgent, } from
|
|
|
7
7
|
function resolveAgentSystem(system) {
|
|
8
8
|
return typeof system === "function" ? system() : system;
|
|
9
9
|
}
|
|
10
|
+
/** Clear project agent runtime registries. */
|
|
10
11
|
export function clearProjectAgentRuntimeRegistries() {
|
|
11
12
|
clearTrackedAgents();
|
|
12
13
|
clearTranspileCache();
|
|
@@ -14,6 +15,7 @@ export function clearProjectAgentRuntimeRegistries() {
|
|
|
14
15
|
clearMCPRegistry();
|
|
15
16
|
workflowRegistry.clear();
|
|
16
17
|
}
|
|
18
|
+
/** Discover project agent runtime helper. */
|
|
17
19
|
export async function discoverProjectAgentRuntime(input) {
|
|
18
20
|
clearProjectAgentRuntimeRegistries();
|
|
19
21
|
const config = await getConfig(input.projectDir, input.adapter);
|
|
@@ -24,6 +26,7 @@ export async function discoverProjectAgentRuntime(input) {
|
|
|
24
26
|
});
|
|
25
27
|
return await discoverAll(discoveryOptions);
|
|
26
28
|
}
|
|
29
|
+
/** Does project agent runtime agent match source helper. */
|
|
27
30
|
export function doesProjectAgentRuntimeAgentMatchSource(runtimeAgent, source) {
|
|
28
31
|
if (source === "auto") {
|
|
29
32
|
return true;
|
|
@@ -31,6 +34,7 @@ export function doesProjectAgentRuntimeAgentMatchSource(runtimeAgent, source) {
|
|
|
31
34
|
const markdownAgent = isRuntimeAgentMarkdownAgent(runtimeAgent);
|
|
32
35
|
return source === "markdown" ? markdownAgent : !markdownAgent;
|
|
33
36
|
}
|
|
37
|
+
/** Create runtime agent definition from agent. */
|
|
34
38
|
export async function createRuntimeAgentDefinitionFromAgent(runtimeAgent) {
|
|
35
39
|
const markdownDefinition = getRuntimeAgentMarkdownDefinition(runtimeAgent);
|
|
36
40
|
if (markdownDefinition) {
|
|
@@ -45,6 +49,7 @@ export async function createRuntimeAgentDefinitionFromAgent(runtimeAgent) {
|
|
|
45
49
|
maxSteps: runtimeAgent.config.maxSteps,
|
|
46
50
|
};
|
|
47
51
|
}
|
|
52
|
+
/** Return project agent runtime agent ID candidates. */
|
|
48
53
|
export function getProjectAgentRuntimeAgentIdCandidates(discoveryResult) {
|
|
49
54
|
const codeAgentIds = [];
|
|
50
55
|
const markdownAgentIds = [];
|
|
@@ -61,11 +66,13 @@ export function getProjectAgentRuntimeAgentIdCandidates(discoveryResult) {
|
|
|
61
66
|
markdownAgentIds: markdownAgentIds.sort((left, right) => left.localeCompare(right)),
|
|
62
67
|
};
|
|
63
68
|
}
|
|
69
|
+
/** Describe project agent runtime agent ID candidates helper. */
|
|
64
70
|
export function describeProjectAgentRuntimeAgentIdCandidates(input) {
|
|
65
71
|
const ids = [...new Set([...input.codeAgentIds, ...input.markdownAgentIds])]
|
|
66
72
|
.sort((left, right) => left.localeCompare(right));
|
|
67
73
|
return ids.length > 0 ? ids.join(", ") : "none";
|
|
68
74
|
}
|
|
75
|
+
/** Resolves single project agent runtime agent ID. */
|
|
69
76
|
export function resolveSingleProjectAgentRuntimeAgentId(input) {
|
|
70
77
|
if (input.source === "code") {
|
|
71
78
|
return input.candidates.codeAgentIds.length === 1
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
/** Context for mutable agent project. */
|
|
1
2
|
export interface MutableAgentProjectContext {
|
|
2
3
|
projectId: string;
|
|
3
4
|
branchId?: string | null;
|
|
4
5
|
availableSkillIds?: string[];
|
|
5
6
|
}
|
|
7
|
+
/** Apply agent project context change helper. */
|
|
6
8
|
export declare function applyAgentProjectContextChange(context: MutableAgentProjectContext, projectId: string): boolean;
|
|
9
|
+
/** Return confirmed project context switch ID. */
|
|
7
10
|
export declare function getConfirmedProjectContextSwitchId(result: unknown, requestedProjectId: string): string | null;
|
|
8
11
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/project/context.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,0BAA0B,EACnC,SAAS,EAAE,MAAM,GAChB,OAAO,CAST;AA6BD,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,OAAO,EACf,kBAAkB,EAAE,MAAM,GACzB,MAAM,GAAG,IAAI,CAYf"}
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/project/context.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,iDAAiD;AACjD,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,0BAA0B,EACnC,SAAS,EAAE,MAAM,GAChB,OAAO,CAST;AA6BD,kDAAkD;AAClD,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,OAAO,EACf,kBAAkB,EAAE,MAAM,GACzB,MAAM,GAAG,IAAI,CAYf"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** Apply agent project context change helper. */
|
|
1
2
|
export function applyAgentProjectContextChange(context, projectId) {
|
|
2
3
|
if (projectId === context.projectId) {
|
|
3
4
|
return false;
|
|
@@ -27,6 +28,7 @@ function getProjectContextSwitchContent(result) {
|
|
|
27
28
|
}
|
|
28
29
|
return null;
|
|
29
30
|
}
|
|
31
|
+
/** Return confirmed project context switch ID. */
|
|
30
32
|
export function getConfirmedProjectContextSwitchId(result, requestedProjectId) {
|
|
31
33
|
const content = getProjectContextSwitchContent(result);
|
|
32
34
|
if (!content || Reflect.get(content, "success") !== true) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type HostToolSet, loadRemoteToolsFromSource, type RemoteMCPToolSourceConfig, type RemoteToolSource } from "../../tool/index.js";
|
|
2
2
|
import { type RuntimeClientProfile } from "../runtime/client-profile.js";
|
|
3
|
+
/** Options accepted by live studio MCP tools. */
|
|
3
4
|
export type LiveStudioMcpToolsOptions = {
|
|
4
5
|
authToken: string;
|
|
5
6
|
clientProfile?: RuntimeClientProfile | null;
|
|
@@ -10,7 +11,9 @@ export type LiveStudioMcpToolsOptions = {
|
|
|
10
11
|
createRemoteToolSource?: (config: RemoteMCPToolSourceConfig) => RemoteToolSource;
|
|
11
12
|
loadRemoteTools?: typeof loadRemoteToolsFromSource;
|
|
12
13
|
};
|
|
14
|
+
/** Builds studio MCP headers. */
|
|
13
15
|
export declare function buildStudioMcpHeaders(authToken: string, projectId: string | null, conversationId?: string): Record<string, string>;
|
|
16
|
+
/** Create live studio MCP tools. */
|
|
14
17
|
export declare function createLiveStudioMcpTools(input: LiveStudioMcpToolsOptions): Promise<{
|
|
15
18
|
tools: HostToolSet;
|
|
16
19
|
close: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-studio-mcp-tools.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/project/live-studio-mcp-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAChB,yBAAyB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAyB,KAAK,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEhG,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC5C,YAAY,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,gBAAgB,CAAC;IACjF,eAAe,CAAC,EAAE,OAAO,yBAAyB,CAAC;CACpD,CAAC;AAOF,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAA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AwB,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC;IACxF,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B,CAAC,CAmFD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createRemoteMCPToolSource, loadRemoteToolsFromSource, } from "../../tool/index.js";
|
|
2
2
|
import { clientAllowsStudioMcp } from "../runtime/client-profile.js";
|
|
3
|
+
/** Builds studio MCP headers. */
|
|
3
4
|
export function buildStudioMcpHeaders(authToken, projectId, conversationId) {
|
|
4
5
|
const headers = {
|
|
5
6
|
Authorization: `Bearer ${authToken}`,
|
|
@@ -25,6 +26,7 @@ async function loadStudioMcpState(input) {
|
|
|
25
26
|
}),
|
|
26
27
|
};
|
|
27
28
|
}
|
|
29
|
+
/** Create live studio MCP tools. */
|
|
28
30
|
export async function createLiveStudioMcpTools(input) {
|
|
29
31
|
const studioMcpUrl = input.studioMcpUrl;
|
|
30
32
|
if (!studioMcpUrl || !clientAllowsStudioMcp(input.clientProfile)) {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
/** Default value for project steering paths. */
|
|
1
2
|
export declare const DEFAULT_PROJECT_STEERING_PATHS: {
|
|
2
3
|
readonly instructions: readonly ["AGENTS.md"];
|
|
3
4
|
readonly skills: readonly [".veryfront/skills"];
|
|
4
5
|
};
|
|
6
|
+
/** Shared project steering file mutation tool names value. */
|
|
5
7
|
export declare const PROJECT_STEERING_FILE_MUTATION_TOOL_NAMES: readonly ["create_file", "update_file", "delete_file", "move_file"];
|
|
8
|
+
/** Public API contract for project steering paths. */
|
|
6
9
|
export type ProjectSteeringPaths = {
|
|
7
10
|
instructions: readonly string[];
|
|
8
11
|
skills: readonly string[];
|
|
9
12
|
};
|
|
13
|
+
/** Input payload for project steering mutation. */
|
|
10
14
|
export type ProjectSteeringMutationInput = {
|
|
11
15
|
toolName: string;
|
|
12
16
|
toolInput: Record<string, unknown>;
|
|
@@ -14,10 +18,13 @@ export type ProjectSteeringMutationInput = {
|
|
|
14
18
|
activeBranchId?: string | null;
|
|
15
19
|
steeringPaths?: ProjectSteeringPaths;
|
|
16
20
|
};
|
|
21
|
+
/** Result returned from project steering mutation. */
|
|
17
22
|
export type ProjectSteeringMutationResult = {
|
|
18
23
|
instructionsChanged: boolean;
|
|
19
24
|
skillsChanged: boolean;
|
|
20
25
|
};
|
|
26
|
+
/** Return project steering mutation. */
|
|
21
27
|
export declare function getProjectSteeringMutation(input: ProjectSteeringMutationInput): ProjectSteeringMutationResult;
|
|
28
|
+
/** Result returned from is successful project steering mutation. */
|
|
22
29
|
export declare function isSuccessfulProjectSteeringMutationResult(result: unknown): boolean;
|
|
23
30
|
//# sourceMappingURL=steering-mutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steering-mutation.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/project/steering-mutation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AAEX,eAAO,MAAM,yCAAyC,qEAK5C,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAgDF,wBAAgB,0BAA0B,CACxC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