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,7 +1,9 @@
|
|
|
1
1
|
import * as React from "../../../../../../react/react.js";
|
|
2
2
|
import type { InferenceMode } from "../../../../../agent/react/index.js";
|
|
3
|
+
/** Props accepted by the upgrade CTA. */
|
|
3
4
|
export interface UpgradeCTAProps {
|
|
4
5
|
inferenceMode: InferenceMode;
|
|
5
6
|
}
|
|
7
|
+
/** Render upgrade CTA. */
|
|
6
8
|
export declare function UpgradeCTA({ inferenceMode }: UpgradeCTAProps): React.ReactElement | null;
|
|
7
9
|
//# sourceMappingURL=upgrade-cta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-cta.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/upgrade-cta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIzE,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA8CxF"}
|
|
1
|
+
{"version":3,"file":"upgrade-cta.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/upgrade-cta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIzE,yCAAyC;AACzC,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,0BAA0B;AAC1B,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA8CxF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from "../../../../../../react/react.js";
|
|
2
|
+
/** Public API contract for uploaded file. */
|
|
2
3
|
export interface UploadedFile {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
@@ -6,6 +7,7 @@ export interface UploadedFile {
|
|
|
6
7
|
type?: string;
|
|
7
8
|
url?: string;
|
|
8
9
|
}
|
|
10
|
+
/** Props accepted by uploads panel. */
|
|
9
11
|
export interface UploadsPanelProps {
|
|
10
12
|
uploads?: UploadedFile[];
|
|
11
13
|
onRemoveUpload?: (id: string) => void;
|
|
@@ -13,5 +15,6 @@ export interface UploadsPanelProps {
|
|
|
13
15
|
attachAccept?: string;
|
|
14
16
|
className?: string;
|
|
15
17
|
}
|
|
18
|
+
/** Render uploads panel. */
|
|
16
19
|
export declare function UploadsPanel({ uploads, onRemoveUpload, onAttach, attachAccept, className, }: UploadsPanelProps): React.ReactElement;
|
|
17
20
|
//# sourceMappingURL=uploads-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads-panel.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/uploads-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD,wBAAgB,YAAY,CAAC,EAC3B,OAAY,EACZ,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA8GxC"}
|
|
1
|
+
{"version":3,"file":"uploads-panel.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/uploads-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD,4BAA4B;AAC5B,wBAAgB,YAAY,CAAC,EAC3B,OAAY,EACZ,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA8GxC"}
|
|
@@ -8,6 +8,7 @@ function formatFileSize(bytes) {
|
|
|
8
8
|
return `${(bytes / 1024).toFixed(1)} KB`;
|
|
9
9
|
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
10
10
|
}
|
|
11
|
+
/** Render uploads panel. */
|
|
11
12
|
export function UploadsPanel({ uploads = [], onRemoveUpload, onAttach, attachAccept, className, }) {
|
|
12
13
|
const fileInputRef = React.useRef(null);
|
|
13
14
|
return (React.createElement("div", { className: cn("flex flex-col h-full", className) },
|
|
@@ -8,6 +8,7 @@ import { type ModelOption } from "../../model-selector.js";
|
|
|
8
8
|
import type { ChatTheme } from "../../theme.js";
|
|
9
9
|
import type { AttachmentInfo } from "../components/attachment-pill.js";
|
|
10
10
|
import type { ChatMessage } from "../../../../../agent/react/index.js";
|
|
11
|
+
/** Props accepted by chat composer. */
|
|
11
12
|
export interface ChatComposerProps {
|
|
12
13
|
input: string;
|
|
13
14
|
onChange: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
@@ -31,5 +32,6 @@ export interface ChatComposerProps {
|
|
|
31
32
|
className?: string;
|
|
32
33
|
children?: React.ReactNode;
|
|
33
34
|
}
|
|
35
|
+
/** Render chat composer. */
|
|
34
36
|
export declare const ChatComposer: React.ForwardRefExoticComponent<ChatComposerProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
37
|
//# sourceMappingURL=chat-composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-composer.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-composer.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,yBAAyB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACjF,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,0FAyJxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-composer.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-composer.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,yBAAyB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAEvE,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACjF,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,4BAA4B;AAC5B,eAAO,MAAM,YAAY,0FAyJxB,CAAC"}
|
|
@@ -10,6 +10,7 @@ import { PaperclipIcon } from "../../icons/index.js";
|
|
|
10
10
|
import { ModelSelector } from "../../model-selector.js";
|
|
11
11
|
import { AttachmentPill } from "../components/attachment-pill.js";
|
|
12
12
|
import { downloadMarkdown } from "../utils/export.js";
|
|
13
|
+
/** Render chat composer. */
|
|
13
14
|
export const ChatComposer = React.forwardRef(function ChatComposer({ input, onChange, onSubmit, isLoading, placeholder = "Type a message...", theme, stop, onVoice, isListening = false, transcript, models, model, onModelChange, onAttach, attachAccept, attachments, onRemoveAttachment, showExport = false, messages, className, children, }, ref) {
|
|
14
15
|
const fileInputRef = React.useRef(null);
|
|
15
16
|
return (React.createElement("div", { ref: ref, className: cn("flex-shrink-0 pb-6 pt-2", className) },
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import * as React from "../../../../../../react/react.js";
|
|
7
7
|
import { type QuickAction } from "../components/quick-actions.js";
|
|
8
|
+
/** Props accepted by chat empty. */
|
|
8
9
|
export interface ChatEmptyProps {
|
|
9
10
|
icon?: React.ReactNode;
|
|
10
11
|
title?: string;
|
|
@@ -16,5 +17,6 @@ export interface ChatEmptyProps {
|
|
|
16
17
|
className?: string;
|
|
17
18
|
children?: React.ReactNode;
|
|
18
19
|
}
|
|
20
|
+
/** Render chat empty. */
|
|
19
21
|
export declare const ChatEmpty: React.ForwardRefExoticComponent<ChatEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
22
|
//# sourceMappingURL=chat-empty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-empty.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-empty.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAG1D,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,gCAAgC,CAAC;AAEhF,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,uFAoDrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-empty.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-empty.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAG1D,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,gCAAgC,CAAC;AAEhF,oCAAoC;AACpC,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,yBAAyB;AACzB,eAAO,MAAM,SAAS,uFAoDrB,CAAC"}
|
|
@@ -7,6 +7,7 @@ import * as React from "../../../../../../react/react.js";
|
|
|
7
7
|
import { cn } from "../../theme.js";
|
|
8
8
|
import { ConversationEmptyState, Suggestion, Suggestions } from "../components/empty-state.js";
|
|
9
9
|
import { QuickActions } from "../components/quick-actions.js";
|
|
10
|
+
/** Render chat empty. */
|
|
10
11
|
export const ChatEmpty = React.forwardRef(function ChatEmpty({ icon, title = "What can I help with?", description, suggestions, onSuggestionClick, quickActions, onQuickAction, className, children, }, ref) {
|
|
11
12
|
const showSuggestions = (suggestions?.length ?? 0) > 0;
|
|
12
13
|
const showQuickActions = (quickActions?.length ?? 0) > 0;
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type * as React from "../../../../../../react/react.js";
|
|
7
7
|
import type { ChatContextValue } from "../contexts/chat-context.js";
|
|
8
|
+
/** Props accepted by chat if. */
|
|
8
9
|
export interface ChatIfProps {
|
|
9
10
|
children: React.ReactNode;
|
|
10
11
|
condition: boolean | ((ctx: ChatContextValue) => boolean);
|
|
11
12
|
fallback?: React.ReactNode;
|
|
12
13
|
}
|
|
14
|
+
/** Render chat if. */
|
|
13
15
|
export declare function ChatIf({ children, condition, fallback }: ChatIfProps): React.ReactNode;
|
|
14
16
|
//# sourceMappingURL=chat-if.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-if.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-if.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,OAAO,GAAG,CAAC,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,MAAM,CACpB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAe,EAAE,EAAE,WAAW,GACpD,KAAK,CAAC,SAAS,CAMjB"}
|
|
1
|
+
{"version":3,"file":"chat-if.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-if.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,iCAAiC;AACjC,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,OAAO,GAAG,CAAC,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,sBAAsB;AACtB,wBAAgB,MAAM,CACpB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAe,EAAE,EAAE,WAAW,GACpD,KAAK,CAAC,SAAS,CAMjB"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @module react/components/chat/composition/chat-if
|
|
5
5
|
*/
|
|
6
6
|
import { useChatContextOptional } from "../contexts/chat-context.js";
|
|
7
|
+
/** Render chat if. */
|
|
7
8
|
export function ChatIf({ children, condition, fallback = null }) {
|
|
8
9
|
const ctx = useChatContextOptional();
|
|
9
10
|
const shouldRender = typeof condition === "function" ? (ctx ? condition(ctx) : false) : condition;
|
|
@@ -11,6 +11,7 @@ import type { BranchInfo, BrowserInferenceStatus, ChatDynamicToolPart, ChatMessa
|
|
|
11
11
|
import type { ChatTheme } from "../../theme.js";
|
|
12
12
|
import type { Source } from "../components/sources.js";
|
|
13
13
|
import type { FeedbackValue } from "../components/message-feedback.js";
|
|
14
|
+
/** Props accepted by chat message list. */
|
|
14
15
|
export interface ChatMessageListProps {
|
|
15
16
|
messages: ChatMessage[];
|
|
16
17
|
isLoading?: boolean;
|
|
@@ -32,5 +33,6 @@ export interface ChatMessageListProps {
|
|
|
32
33
|
className?: string;
|
|
33
34
|
children?: React.ReactNode;
|
|
34
35
|
}
|
|
36
|
+
/** Render chat message list. */
|
|
35
37
|
export declare const ChatMessageList: React.ForwardRefExoticComponent<ChatMessageListProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
38
|
//# sourceMappingURL=chat-message-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-message-list.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-message-list.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EACV,UAAU,EACV,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,aAAa,EACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAgBhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAIvE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAGlB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,GAAG,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAG9C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAElE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,6FAwH3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-message-list.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-message-list.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EACV,UAAU,EACV,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,aAAa,EACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAgBhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAIvE,2CAA2C;AAC3C,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAGlB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,GAAG,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAG9C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAElE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,gCAAgC;AAChC,eAAO,MAAM,eAAe,6FAwH3B,CAAC"}
|
|
@@ -22,6 +22,7 @@ import { BranchPicker } from "../components/branch-picker.js";
|
|
|
22
22
|
import { MessageFeedback } from "../components/message-feedback.js";
|
|
23
23
|
import { StepIndicator } from "../components/step-indicator.js";
|
|
24
24
|
import { ModelAvatar } from "./model-avatar.js";
|
|
25
|
+
/** Render chat message list. */
|
|
25
26
|
export const ChatMessageList = React.forwardRef(function ChatMessageList({ messages, isLoading, theme, renderMessage, renderTool, model, showMessageActions = true, showSources = false, showSteps = false, showScrollButton = false, onSourceClick, inferenceMode: _inferenceMode, browserStatus, editMessage, getBranches, switchBranch, onFeedback, className, children, }, ref) {
|
|
26
27
|
const messagesEndRef = React.useRef(null);
|
|
27
28
|
const [editingMessageId, setEditingMessageId] = React.useState(null);
|
|
@@ -14,6 +14,7 @@ import type { AttachmentInfo } from "../components/attachment-pill.js";
|
|
|
14
14
|
import type { FeedbackValue } from "../components/message-feedback.js";
|
|
15
15
|
import type { Source } from "../components/sources.js";
|
|
16
16
|
import type { BranchInfo } from "../../../../../agent/react/index.js";
|
|
17
|
+
/** Props accepted by chat root. */
|
|
17
18
|
export interface ChatRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
18
19
|
children: React.ReactNode;
|
|
19
20
|
messages: ChatMessage[];
|
|
@@ -39,5 +40,6 @@ export interface ChatRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
39
40
|
theme?: Partial<ChatTheme>;
|
|
40
41
|
maxHeight?: string;
|
|
41
42
|
}
|
|
43
|
+
/** Render chat root. */
|
|
42
44
|
export declare const ChatRoot: React.ForwardRefExoticComponent<ChatRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
45
|
//# sourceMappingURL=chat-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-root.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-root.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAItE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC3F,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAG1B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAGrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGnC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAGlE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxD,KAAK,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,sFAkHpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-root.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-root.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAItE,mCAAmC;AACnC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC3F,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAG1B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAGrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGnC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAGlE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxD,KAAK,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,sFAkHpB,CAAC"}
|
|
@@ -11,6 +11,7 @@ import { ChatContainer } from "../../../../primitives/index.js";
|
|
|
11
11
|
import { getDocumentNonce } from "../../csp-nonce.js";
|
|
12
12
|
import { cn, defaultChatTheme, generateTokenCSS, mergeThemes } from "../../theme.js";
|
|
13
13
|
import { ChatContextProvider } from "../contexts/chat-context.js";
|
|
14
|
+
/** Render chat root. */
|
|
14
15
|
export const ChatRoot = React.forwardRef(function ChatRoot({ children, messages, isLoading = false, error = null, input, setInput, onSubmit, onStop, onReload, model, models = [], onModelChange, attachments = [], onAttach, onRemoveAttachment, editMessage, getBranches, switchBranch, onFeedback, showSources = false, onSourceClick, theme: userTheme, maxHeight = "100%", className, style, ...containerProps }, ref) {
|
|
15
16
|
const theme = React.useMemo(() => mergeThemes(defaultChatTheme, userTheme), [userTheme]);
|
|
16
17
|
const nonce = getDocumentNonce();
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* @module react/components/chat/composition/error-banner
|
|
5
5
|
*/
|
|
6
6
|
import * as React from "../../../../../../react/react.js";
|
|
7
|
+
/** Props accepted by error banner. */
|
|
7
8
|
export interface ErrorBannerProps {
|
|
8
9
|
error: Error;
|
|
9
10
|
onRetry?: () => void;
|
|
10
11
|
className?: string;
|
|
11
12
|
}
|
|
13
|
+
/** Render error banner. */
|
|
12
14
|
export declare const ErrorBanner: React.ForwardRefExoticComponent<ErrorBannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
15
|
//# sourceMappingURL=error-banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-banner.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/error-banner.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,yFAoBvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"error-banner.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/error-banner.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,sCAAsC;AACtC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2BAA2B;AAC3B,eAAO,MAAM,WAAW,yFAoBvB,CAAC"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import * as React from "../../../../../../react/react.js";
|
|
7
7
|
import { cn } from "../../theme.js";
|
|
8
8
|
import { RefreshCwIcon } from "../../icons/index.js";
|
|
9
|
+
/** Render error banner. */
|
|
9
10
|
export const ErrorBanner = React.forwardRef(function ErrorBanner({ error, onRetry, className }, ref) {
|
|
10
11
|
return (React.createElement("div", { ref: ref, className: cn("max-w-2xl mx-auto px-4 pb-2", className) },
|
|
11
12
|
React.createElement("div", { className: "px-4 py-3 bg-red-50 rounded-2xl text-red-600 text-sm flex items-center justify-between gap-3 border border-red-100" },
|
|
@@ -22,6 +22,7 @@ import type { BranchInfo, ChatDynamicToolPart, ChatMessage, ChatToolPart } from
|
|
|
22
22
|
import type { MessageContextValue } from "../contexts/message-context.js";
|
|
23
23
|
import type { FeedbackValue } from "../components/message-feedback.js";
|
|
24
24
|
import type { Source } from "../components/sources.js";
|
|
25
|
+
/** Props accepted by message root. */
|
|
25
26
|
export interface MessageRootProps {
|
|
26
27
|
message: ChatMessage;
|
|
27
28
|
isStreaming?: boolean;
|
|
@@ -70,6 +71,7 @@ declare namespace MessageBranchPicker {
|
|
|
70
71
|
var displayName: string;
|
|
71
72
|
}
|
|
72
73
|
export type { MessageContentProps as MessageCompoundContentProps, MessageContextValue };
|
|
74
|
+
/** Message shape for message. */
|
|
73
75
|
export declare const Message: React.ForwardRefExoticComponent<MessageRootProps & React.RefAttributes<HTMLDivElement>> & {
|
|
74
76
|
Root: React.ForwardRefExoticComponent<MessageRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
75
77
|
Avatar: typeof MessageAvatar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/message.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,WAAW,EACX,YAAY,EACb,MAAM,qCAAqC,CAAC;AAK7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AASvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAavD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAuGD,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CASnF;kBATQ,aAAa;;;AAgBtB,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,GAAG,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,cAAc,CAAC,EACtB,UAAU,EACV,SAAiB,EACjB,WAAmB,EACnB,aAAa,EACb,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CA+D1C;kBArEQ,cAAc;;;AA4EvB,UAAU,0BAA0B;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,qBAAqB,CAC5B,EAAE,SAAS,EAAE,EAAE,0BAA0B,GACxC,KAAK,CAAC,YAAY,GAAG,IAAI,CAI3B;kBANQ,qBAAqB;;;AAa9B,UAAU,2BAA2B;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,sBAAsB,CAC7B,EAAE,SAAS,EAAE,EAAE,2BAA2B,GACzC,KAAK,CAAC,YAAY,GAAG,IAAI,CAW3B;kBAbQ,sBAAsB;;;AAoB/B,iBAAS,mBAAmB,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,CAWxD;kBAXQ,mBAAmB;;;AAkB5B,YAAY,EAAE,mBAAmB,IAAI,2BAA2B,EAAE,mBAAmB,EAAE,CAAC;AAExF,eAAO,MAAM,OAAO;;;;;;;CAOlB,CAAC"}
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/message.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,WAAW,EACX,YAAY,EACb,MAAM,qCAAqC,CAAC;AAK7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AASvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAavD,sCAAsC;AACtC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAuGD,UAAU,kBAAkB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CASnF;kBATQ,aAAa;;;AAgBtB,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,GAAG,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,cAAc,CAAC,EACtB,UAAU,EACV,SAAiB,EACjB,WAAmB,EACnB,aAAa,EACb,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CA+D1C;kBArEQ,cAAc;;;AA4EvB,UAAU,0BAA0B;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,qBAAqB,CAC5B,EAAE,SAAS,EAAE,EAAE,0BAA0B,GACxC,KAAK,CAAC,YAAY,GAAG,IAAI,CAI3B;kBANQ,qBAAqB;;;AAa9B,UAAU,2BAA2B;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,sBAAsB,CAC7B,EAAE,SAAS,EAAE,EAAE,2BAA2B,GACzC,KAAK,CAAC,YAAY,GAAG,IAAI,CAW3B;kBAbQ,sBAAsB;;;AAoB/B,iBAAS,mBAAmB,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,CAWxD;kBAXQ,mBAAmB;;;AAkB5B,YAAY,EAAE,mBAAmB,IAAI,2BAA2B,EAAE,mBAAmB,EAAE,CAAC;AAExF,iCAAiC;AACjC,eAAO,MAAM,OAAO;;;;;;;CAOlB,CAAC"}
|
|
@@ -166,6 +166,7 @@ function MessageBranchPicker() {
|
|
|
166
166
|
return (React.createElement(BranchPickerImpl, { current: branch.current, total: branch.total, onPrev: onBranchPrev ?? (() => { }), onNext: onBranchNext ?? (() => { }) }));
|
|
167
167
|
}
|
|
168
168
|
MessageBranchPicker.displayName = "Message.BranchPicker";
|
|
169
|
+
/** Message shape for message. */
|
|
169
170
|
export const Message = Object.assign(MessageRoot, {
|
|
170
171
|
Root: MessageRoot,
|
|
171
172
|
Avatar: MessageAvatar,
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
* @module react/components/chat/composition/model-avatar
|
|
7
7
|
*/
|
|
8
8
|
import * as React from "../../../../../../react/react.js";
|
|
9
|
+
/** Props accepted by model avatar. */
|
|
9
10
|
export interface ModelAvatarProps {
|
|
10
11
|
model?: string;
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
14
|
+
/** Render model avatar. */
|
|
13
15
|
export declare function ModelAvatar({ model, className }: ModelAvatarProps): React.ReactElement;
|
|
14
16
|
//# sourceMappingURL=model-avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/model-avatar.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+CD,wBAAgB,WAAW,CACzB,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,GACrC,KAAK,CAAC,YAAY,CAsCpB"}
|
|
1
|
+
{"version":3,"file":"model-avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/model-avatar.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAI1D,sCAAsC;AACtC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+CD,2BAA2B;AAC3B,wBAAgB,WAAW,CACzB,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,GACrC,KAAK,CAAC,YAAY,CAsCpB"}
|
|
@@ -40,6 +40,7 @@ const PROVIDER_STYLES = {
|
|
|
40
40
|
google: "bg-[var(--foreground)]",
|
|
41
41
|
unknown: "bg-[var(--muted-foreground)]",
|
|
42
42
|
};
|
|
43
|
+
/** Render model avatar. */
|
|
43
44
|
export function ModelAvatar({ model, className }) {
|
|
44
45
|
const provider = resolveProvider(model ?? "");
|
|
45
46
|
const base = cn("mt-1 shrink-0 size-8 rounded-full flex items-center justify-center", PROVIDER_STYLES[provider], className);
|
|
@@ -13,6 +13,7 @@ import type { AttachmentInfo } from "../components/attachment-pill.js";
|
|
|
13
13
|
import type { FeedbackValue } from "../components/message-feedback.js";
|
|
14
14
|
import type { Source } from "../components/sources.js";
|
|
15
15
|
import type { BranchInfo } from "../../../../../agent/react/index.js";
|
|
16
|
+
/** Public API contract for chat context value. */
|
|
16
17
|
export interface ChatContextValue {
|
|
17
18
|
messages: ChatMessage[];
|
|
18
19
|
isLoading: boolean;
|
|
@@ -39,7 +40,10 @@ export interface ChatContextValue {
|
|
|
39
40
|
scrollToBottom: () => void;
|
|
40
41
|
theme: ChatTheme;
|
|
41
42
|
}
|
|
43
|
+
/** Context for use chat. */
|
|
42
44
|
export declare function useChatContext(): ChatContextValue;
|
|
45
|
+
/** React hook for chat context optional. */
|
|
43
46
|
export declare function useChatContextOptional(): ChatContextValue | null;
|
|
47
|
+
/** Render chat context provider. */
|
|
44
48
|
export declare const ChatContextProvider: React.Provider<ChatContextValue | null>;
|
|
45
49
|
//# sourceMappingURL=chat-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/chat-context.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAE/B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGlC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAGlE,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxD,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,IAAI,CAAC;IAG3B,KAAK,EAAE,SAAS,CAAC;CAClB;AAID,wBAAgB,cAAc,IAAI,gBAAgB,CAQjD;AAED,wBAAgB,sBAAsB,IAAI,gBAAgB,GAAG,IAAI,CAEhE;AAED,eAAO,MAAM,mBAAmB,yCAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/chat-context.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,kDAAkD;AAClD,MAAM,WAAW,gBAAgB;IAE/B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGlC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,CAAC;IAChD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAGhE,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAGlE,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxD,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,IAAI,CAAC;IAG3B,KAAK,EAAE,SAAS,CAAC;CAClB;AAID,4BAA4B;AAC5B,wBAAgB,cAAc,IAAI,gBAAgB,CAQjD;AAED,4CAA4C;AAC5C,wBAAgB,sBAAsB,IAAI,gBAAgB,GAAG,IAAI,CAEhE;AAED,oCAAoC;AACpC,eAAO,MAAM,mBAAmB,yCAAuB,CAAC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import * as React from "../../../../../../react/react.js";
|
|
9
9
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
10
10
|
const ChatContext = React.createContext(null);
|
|
11
|
+
/** Context for use chat. */
|
|
11
12
|
export function useChatContext() {
|
|
12
13
|
const context = React.useContext(ChatContext);
|
|
13
14
|
if (!context) {
|
|
@@ -17,7 +18,9 @@ export function useChatContext() {
|
|
|
17
18
|
}
|
|
18
19
|
return context;
|
|
19
20
|
}
|
|
21
|
+
/** React hook for chat context optional. */
|
|
20
22
|
export function useChatContextOptional() {
|
|
21
23
|
return React.useContext(ChatContext);
|
|
22
24
|
}
|
|
25
|
+
/** Render chat context provider. */
|
|
23
26
|
export const ChatContextProvider = ChatContext.Provider;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import * as React from "../../../../../../react/react.js";
|
|
10
10
|
import type { AttachmentInfo } from "../components/attachment-pill.js";
|
|
11
11
|
import type { ModelOption } from "../../model-selector.js";
|
|
12
|
+
/** Public API contract for composer context value. */
|
|
12
13
|
export interface ComposerContextValue {
|
|
13
14
|
input: string;
|
|
14
15
|
setInput: (value: string) => void;
|
|
@@ -28,7 +29,10 @@ export interface ComposerContextValue {
|
|
|
28
29
|
models: ModelOption[];
|
|
29
30
|
onModelChange?: (modelId: string) => void;
|
|
30
31
|
}
|
|
32
|
+
/** Context for use composer. */
|
|
31
33
|
export declare function useComposerContext(): ComposerContextValue;
|
|
34
|
+
/** React hook for composer context optional. */
|
|
32
35
|
export declare function useComposerContextOptional(): ComposerContextValue | null;
|
|
36
|
+
/** Render composer context provider. */
|
|
33
37
|
export declare const ComposerContextProvider: React.Provider<ComposerContextValue | null>;
|
|
34
38
|
//# sourceMappingURL=composer-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/composer-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,WAAW,oBAAoB;IAEnC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAGjF,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IAGnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAGpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAID,wBAAgB,kBAAkB,IAAI,oBAAoB,CAQzD;AAED,wBAAgB,0BAA0B,IAAI,oBAAoB,GAAG,IAAI,CAExE;AAED,eAAO,MAAM,uBAAuB,6CAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"composer-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/composer-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IAEnC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAGjF,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IAGnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAGpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAID,gCAAgC;AAChC,wBAAgB,kBAAkB,IAAI,oBAAoB,CAQzD;AAED,gDAAgD;AAChD,wBAAgB,0BAA0B,IAAI,oBAAoB,GAAG,IAAI,CAExE;AAED,wCAAwC;AACxC,eAAO,MAAM,uBAAuB,6CAA2B,CAAC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import * as React from "../../../../../../react/react.js";
|
|
10
10
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
11
11
|
const ComposerContext = React.createContext(null);
|
|
12
|
+
/** Context for use composer. */
|
|
12
13
|
export function useComposerContext() {
|
|
13
14
|
const context = React.useContext(ComposerContext);
|
|
14
15
|
if (!context) {
|
|
@@ -18,7 +19,9 @@ export function useComposerContext() {
|
|
|
18
19
|
}
|
|
19
20
|
return context;
|
|
20
21
|
}
|
|
22
|
+
/** React hook for composer context optional. */
|
|
21
23
|
export function useComposerContextOptional() {
|
|
22
24
|
return React.useContext(ComposerContext);
|
|
23
25
|
}
|
|
26
|
+
/** Render composer context provider. */
|
|
24
27
|
export const ComposerContextProvider = ComposerContext.Provider;
|
|
@@ -10,6 +10,7 @@ import * as React from "../../../../../../react/react.js";
|
|
|
10
10
|
import type { BranchInfo, ChatMessage } from "../../../../../agent/react/index.js";
|
|
11
11
|
import type { FeedbackValue } from "../components/message-feedback.js";
|
|
12
12
|
import type { PartGroup } from "../utils/message-parts.js";
|
|
13
|
+
/** Public API contract for message context value. */
|
|
13
14
|
export interface MessageContextValue {
|
|
14
15
|
message: ChatMessage;
|
|
15
16
|
role: "user" | "assistant" | "system" | "tool";
|
|
@@ -25,7 +26,10 @@ export interface MessageContextValue {
|
|
|
25
26
|
onFeedback?: (value: FeedbackValue) => void;
|
|
26
27
|
feedback?: FeedbackValue | null;
|
|
27
28
|
}
|
|
29
|
+
/** Context for use message. */
|
|
28
30
|
export declare function useMessageContext(): MessageContextValue;
|
|
31
|
+
/** React hook for message context optional. */
|
|
29
32
|
export declare function useMessageContextOptional(): MessageContextValue | null;
|
|
33
|
+
/** Render message context provider. */
|
|
30
34
|
export declare const MessageContextProvider: React.Provider<MessageContextValue | null>;
|
|
31
35
|
//# sourceMappingURL=message-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/message-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAG1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAID,wBAAgB,iBAAiB,IAAI,mBAAmB,CAQvD;AAED,wBAAgB,yBAAyB,IAAI,mBAAmB,GAAG,IAAI,CAEtE;AAED,eAAO,MAAM,sBAAsB,4CAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"message-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/message-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAG1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAID,+BAA+B;AAC/B,wBAAgB,iBAAiB,IAAI,mBAAmB,CAQvD;AAED,+CAA+C;AAC/C,wBAAgB,yBAAyB,IAAI,mBAAmB,GAAG,IAAI,CAEtE;AAED,uCAAuC;AACvC,eAAO,MAAM,sBAAsB,4CAA0B,CAAC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import * as React from "../../../../../../react/react.js";
|
|
10
10
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
11
11
|
const MessageContext = React.createContext(null);
|
|
12
|
+
/** Context for use message. */
|
|
12
13
|
export function useMessageContext() {
|
|
13
14
|
const context = React.useContext(MessageContext);
|
|
14
15
|
if (!context) {
|
|
@@ -18,7 +19,9 @@ export function useMessageContext() {
|
|
|
18
19
|
}
|
|
19
20
|
return context;
|
|
20
21
|
}
|
|
22
|
+
/** React hook for message context optional. */
|
|
21
23
|
export function useMessageContextOptional() {
|
|
22
24
|
return React.useContext(MessageContext);
|
|
23
25
|
}
|
|
26
|
+
/** Render message context provider. */
|
|
24
27
|
export const MessageContextProvider = MessageContext.Provider;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import * as React from "../../../../../../react/react.js";
|
|
10
10
|
import type { Thread } from "../hooks/use-threads.js";
|
|
11
|
+
/** Public API contract for thread list context value. */
|
|
11
12
|
export interface ThreadListContextValue {
|
|
12
13
|
threads: Thread[];
|
|
13
14
|
activeThreadId: string | null;
|
|
@@ -18,7 +19,10 @@ export interface ThreadListContextValue {
|
|
|
18
19
|
renameThread: (id: string, title: string) => void;
|
|
19
20
|
updateThread: (id: string, updates: Partial<Pick<Thread, "title" | "messages">>) => void;
|
|
20
21
|
}
|
|
22
|
+
/** Context for use thread list. */
|
|
21
23
|
export declare function useThreadListContext(): ThreadListContextValue;
|
|
24
|
+
/** React hook for thread list context optional. */
|
|
22
25
|
export declare function useThreadListContextOptional(): ThreadListContextValue | null;
|
|
26
|
+
/** Render thread list context provider. */
|
|
23
27
|
export declare const ThreadListContextProvider: React.Provider<ThreadListContextValue | null>;
|
|
24
28
|
//# sourceMappingURL=thread-list-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/thread-list-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAC;CAC1F;AAID,wBAAgB,oBAAoB,IAAI,sBAAsB,CAQ7D;AAED,wBAAgB,4BAA4B,IAAI,sBAAsB,GAAG,IAAI,CAE5E;AAED,eAAO,MAAM,yBAAyB,+CAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"thread-list-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/thread-list-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAC;CAC1F;AAID,mCAAmC;AACnC,wBAAgB,oBAAoB,IAAI,sBAAsB,CAQ7D;AAED,mDAAmD;AACnD,wBAAgB,4BAA4B,IAAI,sBAAsB,GAAG,IAAI,CAE5E;AAED,2CAA2C;AAC3C,eAAO,MAAM,yBAAyB,+CAA6B,CAAC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import * as React from "../../../../../../react/react.js";
|
|
10
10
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
11
11
|
const ThreadListContext = React.createContext(null);
|
|
12
|
+
/** Context for use thread list. */
|
|
12
13
|
export function useThreadListContext() {
|
|
13
14
|
const context = React.useContext(ThreadListContext);
|
|
14
15
|
if (!context) {
|
|
@@ -18,7 +19,9 @@ export function useThreadListContext() {
|
|
|
18
19
|
}
|
|
19
20
|
return context;
|
|
20
21
|
}
|
|
22
|
+
/** React hook for thread list context optional. */
|
|
21
23
|
export function useThreadListContextOptional() {
|
|
22
24
|
return React.useContext(ThreadListContext);
|
|
23
25
|
}
|
|
26
|
+
/** Render thread list context provider. */
|
|
24
27
|
export const ThreadListContextProvider = ThreadListContext.Provider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ChatMessage } from "../../../../../agent/react/index.js";
|
|
2
|
+
/** Public API contract for thread. */
|
|
2
3
|
export interface Thread {
|
|
3
4
|
id: string;
|
|
4
5
|
title: string;
|
|
@@ -6,10 +7,12 @@ export interface Thread {
|
|
|
6
7
|
createdAt: number;
|
|
7
8
|
updatedAt: number;
|
|
8
9
|
}
|
|
10
|
+
/** Options accepted by use threads. */
|
|
9
11
|
export interface UseThreadsOptions {
|
|
10
12
|
/** localStorage key prefix. Default: "vf-threads" */
|
|
11
13
|
storageKey?: string;
|
|
12
14
|
}
|
|
15
|
+
/** Result returned from use threads. */
|
|
13
16
|
export interface UseThreadsResult {
|
|
14
17
|
threads: Thread[];
|
|
15
18
|
activeThreadId: string | null;
|
|
@@ -20,5 +23,6 @@ export interface UseThreadsResult {
|
|
|
20
23
|
updateThread: (id: string, updates: Partial<Pick<Thread, "title" | "messages">>) => void;
|
|
21
24
|
renameThread: (id: string, title: string) => void;
|
|
22
25
|
}
|
|
26
|
+
/** React hook for threads. */
|
|
23
27
|
export declare function useThreads(options?: UseThreadsOptions): UseThreadsResult;
|
|
24
28
|
//# sourceMappingURL=use-threads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-threads.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/hooks/use-threads.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAGvE,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD,MAAM,WAAW,iBAAiB;IAChC,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAC;IACzF,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAiDD,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,gBAAgB,CA+HxE"}
|
|
1
|
+
{"version":3,"file":"use-threads.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/hooks/use-threads.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAGvE,sCAAsC;AACtC,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAC;IACzF,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAiDD,8BAA8B;AAC9B,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,gBAAgB,CA+HxE"}
|
|
@@ -49,6 +49,7 @@ function removeThread(key, id) {
|
|
|
49
49
|
return;
|
|
50
50
|
localStorage.removeItem(`${key}-${id}`);
|
|
51
51
|
}
|
|
52
|
+
/** React hook for threads. */
|
|
52
53
|
export function useThreads(options) {
|
|
53
54
|
const storageKey = options?.storageKey ?? "vf-threads";
|
|
54
55
|
const [threads, setThreads] = React.useState(() => {
|
|
@@ -86,6 +86,7 @@ export { extractSourcesFromParts, getTextContent, groupPartsInOrder, isReasoning
|
|
|
86
86
|
export { downloadMarkdown, exportAsMarkdown } from "./utils/export.js";
|
|
87
87
|
export { ChatComposer, type ChatComposerProps, ChatEmpty, type ChatEmptyProps, ChatIf, type ChatIfProps, ChatMessageList, type ChatMessageListProps, ChatRoot, type ChatRootProps, ErrorBanner, type ErrorBannerProps, Message, type MessageRootProps, ModelAvatar, type ModelAvatarProps, } from "./composition/api.js";
|
|
88
88
|
export { ChatContextProvider, type ChatContextValue, ComposerContextProvider, type ComposerContextValue, MessageContextProvider, type MessageContextValue, ThreadListContextProvider, type ThreadListContextValue, useChatContext, useChatContextOptional, useComposerContext, useComposerContextOptional, useMessageContext, useMessageContextOptional, useThreadListContext, useThreadListContextOptional, } from "./contexts/index.js";
|
|
89
|
+
/** Props accepted by chat. */
|
|
89
90
|
export interface ChatProps {
|
|
90
91
|
messages: ChatMessage[];
|
|
91
92
|
input: string;
|
|
@@ -144,6 +145,7 @@ export interface ChatProps {
|
|
|
144
145
|
hideTabSwitcher?: boolean;
|
|
145
146
|
children?: React.ReactNode;
|
|
146
147
|
}
|
|
148
|
+
/** Render chat. */
|
|
147
149
|
export declare const Chat: React.ForwardRefExoticComponent<ChatProps & React.RefAttributes<HTMLDivElement>>;
|
|
148
150
|
export type ChatComponentsType = typeof Chat & {
|
|
149
151
|
Root: typeof ChatRoot;
|
|
@@ -154,5 +156,6 @@ export type ChatComponentsType = typeof Chat & {
|
|
|
154
156
|
Message: typeof Message;
|
|
155
157
|
ErrorBanner: typeof ErrorBanner;
|
|
156
158
|
};
|
|
159
|
+
/** Render chat components. */
|
|
157
160
|
export declare const ChatComponents: ChatComponentsType;
|
|
158
161
|
//# sourceMappingURL=index.d.ts.map
|