@dipoleml/dcode-cli 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +1081 -12
- package/dist/dcode.cjs +59253 -45604
- package/dist/packages/browser-use-plugin/README.md +12 -12
- package/dist/packages/browser-use-plugin/docs/api.json +1 -1
- package/dist/packages/browser-use-plugin/docs/overview.md +5 -4
- package/dist/packages/browser-use-plugin/docs/workflow.md +1 -1
- package/dist/packages/browser-use-plugin/scripts/build.mjs +1 -0
- package/dist/packages/browser-use-plugin/skills/control-browser/SKILL.md +10 -7
- package/dist/packages/bundled-skills/skills/dynamic-workflows/SKILL.md +760 -687
- package/dist/packages/bundled-skills/skills/dynamic-workflows/examples.md +310 -1
- package/dist/packages/bundled-skills/skills/dynamic-workflows/patterns.md +336 -4
- package/dist/packages/node-repl-host/.dcode-plugin/plugin.json +1 -1
- package/dist/packages/node-repl-host/dist/mcp/server.js +9 -14
- package/dist/packages/node-repl-host/scripts/build.mjs +1 -0
- package/dist/provider/dcode-builtin.json +6612 -202
- package/node_modules/@dcode/contracts/dist/compact/index.d.ts +7 -7
- package/node_modules/@dcode/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@dcode/contracts/dist/events/event-reducer.js +1 -0
- package/node_modules/@dcode/contracts/dist/events/in-memory-session-event-store.js +3 -2
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.d.ts +8 -0
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.js +18 -0
- package/node_modules/@dcode/contracts/dist/events/session.events.d.ts +94 -16
- package/node_modules/@dcode/contracts/dist/events/session.events.js +10 -0
- package/node_modules/@dcode/contracts/dist/hooks/index.d.ts +134 -134
- package/node_modules/@dcode/contracts/dist/hooks/workspace-hook-trust.d.ts +14 -14
- package/node_modules/@dcode/contracts/dist/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/index.js +2 -0
- package/node_modules/@dcode/contracts/dist/interfaces/browser-control.port.d.ts +22 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.d.ts +92 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.js +9 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.js +7 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-workspace.port.js +8 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.d.ts +119 -18
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.js +13 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.d.ts +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.d.ts +161 -1
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.js +17 -0
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.d.ts +15 -15
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.js +1 -1
- package/node_modules/@dcode/contracts/dist/interfaces/permission.port.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.d.ts +19 -0
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.d.ts +4 -2
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.js +5 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.d.ts +92 -3
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.js +4 -1
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.d.ts +25 -0
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/model/index.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/model/index.js +5 -0
- package/node_modules/@dcode/contracts/dist/model/invocation-context.d.ts +6 -1
- package/node_modules/@dcode/contracts/dist/plugins/index.d.ts +23 -0
- package/node_modules/@dcode/contracts/dist/plugins/index.js +2 -1
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.js +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/index.d.ts +5 -1
- package/node_modules/@dcode/contracts/dist/telemetry/index.js +12 -0
- package/node_modules/@dcode/contracts/dist/tools/agent.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.d.ts +39 -15
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.js +12 -6
- package/node_modules/@dcode/contracts/dist/tools/automation.d.ts +32 -32
- package/node_modules/@dcode/contracts/dist/tools/automation.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/bash.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/bash.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.d.ts +365 -66
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.js +92 -11
- package/node_modules/@dcode/contracts/dist/tools/edit.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.js +5 -1
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.d.ts +729 -0
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.js +102 -0
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.d.ts +136 -28
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.js +36 -0
- package/node_modules/@dcode/contracts/dist/tools/grep.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/grep.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/tools/index.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/list-saved-workflows.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/list-workflow-runs.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/node-repl.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/off-peak.d.ts +3 -3
- package/node_modules/@dcode/contracts/dist/tools/off-peak.js +2 -2
- package/node_modules/@dcode/contracts/dist/tools/performance.d.ts +22 -22
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.js +6 -4
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.d.ts +86 -13
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.js +37 -6
- package/node_modules/@dcode/contracts/dist/tools/read.d.ts +38 -38
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.d.ts +21 -10
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.js +22 -2
- package/node_modules/@dcode/contracts/dist/tools/saved-workflow.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/send-message.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/skill.js +1 -0
- package/node_modules/@dcode/contracts/dist/tools/task-output.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.d.ts +1228 -259
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.js +41 -0
- package/node_modules/@dcode/contracts/dist/tools/webfetch.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/workflow-observation-display.d.ts +20 -20
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.d.ts +55 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.js +86 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/write.d.ts +18 -18
- package/node_modules/@dcode/contracts/dist/workflow/index.d.ts +98 -98
- package/node_modules/@dcode/contracts/dist/workflow/script.d.ts +12 -12
- package/node_modules/@dcode/i18n/dist/index.js +2 -2
- package/node_modules/@dcode/i18n/dist/locale.d.ts +1 -1
- package/node_modules/@dcode/i18n/dist/locale.js +4 -4
- package/node_modules/@dcode/i18n/dist/locales/en-US.js +5 -5
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.d.ts +3 -0
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.js +354 -0
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.js +6 -0
- package/node_modules/@dcode/shared/dist/attachment-source.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/attachment-source.js +4 -0
- package/node_modules/@dcode/shared/dist/background-bash-output.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/bots.d.ts +763 -15
- package/node_modules/@dcode/shared/dist/bots.js +236 -2
- package/node_modules/@dcode/shared/dist/browser-use/command-metadata.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/browser-use/commands.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/browser-use/commands.js +3 -1
- package/node_modules/@dcode/shared/dist/browser-use/nodeReplBroker.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/browser-use/result.d.ts +6 -6
- package/node_modules/@dcode/shared/dist/channel-mention.d.ts +173 -0
- package/node_modules/@dcode/shared/dist/channel-mention.js +120 -0
- package/node_modules/@dcode/shared/dist/channels.d.ts +128 -1
- package/node_modules/@dcode/shared/dist/channels.js +66 -0
- package/node_modules/@dcode/shared/dist/clientConfig.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/clientConfig.js +18 -2
- package/node_modules/@dcode/shared/dist/cloudContent.d.ts +160 -0
- package/node_modules/@dcode/shared/dist/cloudContent.js +116 -0
- package/node_modules/@dcode/shared/dist/coding-plan-subscription.d.ts +59 -0
- package/node_modules/@dcode/shared/dist/conversation-message-projection-policy.js +2 -0
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +351 -47
- package/node_modules/@dcode/shared/dist/conversation-share.js +8 -6
- package/node_modules/@dcode/shared/dist/conversationSelection.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/conversationSelection.js +30 -0
- package/node_modules/@dcode/shared/dist/database-startup.d.ts +5 -5
- package/node_modules/@dcode/shared/dist/dcode-agent-model-state.js +14 -6
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.d.ts +16 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.js +17 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-runtime.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +1733 -318
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.js +555 -24
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.js +10 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.d.ts +30 -20
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/apply.js +12 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.d.ts +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +359 -28
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.js +67 -45
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +170 -65
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.d.ts +20 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.js +15 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.d.ts +34 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.js +45 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.d.ts +1453 -278
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.js +45 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.js +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.d.ts +173 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.js +29 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.d.ts +731 -125
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.js +23 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.d.ts +30 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.js +35 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index.d.ts +40 -25
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.d.ts +1444 -216
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/telemetry.d.ts +62 -58
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.d.ts +185 -50
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.js +31 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +7145 -1002
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.js +18 -5
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-assembler.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-fault.js +4 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-reassembly.js +5 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.d.ts +29 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.js +64 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.js +23 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-observation-display.d.ts +14 -14
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.d.ts +52 -8
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.js +22 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.js +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.d.ts +21 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.js +44 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.js +3 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-caps.js +5 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.d.ts +26 -19
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.js +40 -32
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.js +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.js +44 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.js +17 -10
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.d.ts +33 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.js +202 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-phases.js +10 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.js +29 -22
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-started.js +5 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-tables.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-unlisted.js +6 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.d.ts +125 -40
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.js +101 -26
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-workspace.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workspace-hook-review.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.js +49 -0
- package/node_modules/@dcode/shared/dist/dcode-slash-command-help.js +4 -4
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.js +13 -1
- package/node_modules/@dcode/shared/dist/dcode-task-types-core.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-task-types.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +20 -1
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +98 -17
- package/node_modules/@dcode/shared/dist/desktopMenu.js +48 -48
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.d.ts +35 -6
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.js +45 -6
- package/node_modules/@dcode/shared/dist/env.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/env.js +9 -9
- package/node_modules/@dcode/shared/dist/errors.d.ts +24 -0
- package/node_modules/@dcode/shared/dist/errors.js +54 -0
- package/node_modules/@dcode/shared/dist/execution-state.d.ts +4 -2
- package/node_modules/@dcode/shared/dist/execution-state.js +1 -1
- package/node_modules/@dcode/shared/dist/feedback.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/gen-ui/contract.d.ts +140 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.js +36 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.js +196 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.js +75 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.js +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.js +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.d.ts +202 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.js +126 -0
- package/node_modules/@dcode/shared/dist/helpAppConfig.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/helpAppConfig.js +2 -2
- package/node_modules/@dcode/shared/dist/highspeed.d.ts +181 -0
- package/node_modules/@dcode/shared/dist/highspeed.js +112 -0
- package/node_modules/@dcode/shared/dist/index.d.ts +27 -5
- package/node_modules/@dcode/shared/dist/index.js +24 -2
- package/node_modules/@dcode/shared/dist/localTtft.d.ts +27 -27
- package/node_modules/@dcode/shared/dist/marketingTouch.d.ts +930 -0
- package/node_modules/@dcode/shared/dist/marketingTouch.js +170 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.d.ts +83 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.js +124 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.d.ts +241 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.js +42 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.js +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.js +64 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.d.ts +47 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.js +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.js +11 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.d.ts +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.js +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.js +73 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.d.ts +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.js +107 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.js +55 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.d.ts +78 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.js +65 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.d.ts +39 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.js +199 -0
- package/node_modules/@dcode/shared/dist/mcp.d.ts +6 -2
- package/node_modules/@dcode/shared/dist/memory.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/memory.js +2 -0
- package/node_modules/@dcode/shared/dist/model-execution.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/model-execution.js +38 -0
- package/node_modules/@dcode/shared/dist/networkCapture.d.ts +49 -0
- package/node_modules/@dcode/shared/dist/networkCapture.js +41 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.d.ts +6 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.js +16 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.js +30 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.js +96 -0
- package/node_modules/@dcode/shared/dist/node/officialPluginCache.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node/subagentMarkdownMigration.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node.js +2 -0
- package/node_modules/@dcode/shared/dist/output-style.d.ts +17 -0
- package/node_modules/@dcode/shared/dist/output-style.js +2 -0
- package/node_modules/@dcode/shared/dist/platform.d.ts +149 -1
- package/node_modules/@dcode/shared/dist/platform.js +2 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.d.ts +61 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.js +2 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.js +20 -14
- package/node_modules/@dcode/shared/dist/project-access-token-client.d.ts +42 -0
- package/node_modules/@dcode/shared/dist/project-access-token-client.js +260 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.js +9 -0
- package/node_modules/@dcode/shared/dist/project-access-token.d.ts +45 -0
- package/node_modules/@dcode/shared/dist/project-access-token.js +164 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +41 -4
- package/node_modules/@dcode/shared/dist/protocol.js +1 -1
- package/node_modules/@dcode/shared/dist/provider-provisioning.d.ts +26 -2
- package/node_modules/@dcode/shared/dist/provider-provisioning.js +19 -3
- package/node_modules/@dcode/shared/dist/providers.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/providers.js +1 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.js +35 -1
- package/node_modules/@dcode/shared/dist/remoteAppConfig.js +1 -1
- package/node_modules/@dcode/shared/dist/remoteEnvironmentKey.js +19 -0
- package/node_modules/@dcode/shared/dist/remoteTarget.d.ts +14 -1
- package/node_modules/@dcode/shared/dist/remoteTarget.js +4 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.d.ts +27 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.js +43 -0
- package/node_modules/@dcode/shared/dist/rendererActionTrace.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/request-security-edition/index.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/index.js +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.js +5 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.d.ts +19 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.js +29 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.js +80 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.d.ts +37 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.js +50 -0
- package/node_modules/@dcode/shared/dist/sessionCreateTelemetry.d.ts +3 -3
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.js +212 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.js +200 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.d.ts +82 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.js +28 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.d.ts +135 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.js +39 -0
- package/node_modules/@dcode/shared/dist/subagents-types.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/task-realtime-core.d.ts +57 -24
- package/node_modules/@dcode/shared/dist/task-realtime-core.js +8 -2
- package/node_modules/@dcode/shared/dist/test-ids-workflow.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/test-ids-workflow.js +5 -0
- package/node_modules/@dcode/shared/dist/test-ids.d.ts +25 -0
- package/node_modules/@dcode/shared/dist/test-ids.js +25 -0
- package/node_modules/@dcode/shared/dist/tool-identity.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/tool-identity.js +4 -0
- package/node_modules/@dcode/shared/dist/tool-plan-adapter.js +14 -1
- package/node_modules/@dcode/shared/dist/usage-stats.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +1461 -85
- package/node_modules/@dcode/shared/dist/validation.js +423 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +71 -15
- package/node_modules/@dcode/shared/dist/validationAppSettings.js +74 -12
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.js +40 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.d.ts +183 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.js +562 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.d.ts +645 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.js +174 -0
- package/node_modules/@dcode/shared/package.json +5 -2
- package/node_modules/@dcode/tui/dist/app-approval-panel.js +3 -2
- package/node_modules/@dcode/tui/dist/app-approval.d.ts +3 -1
- package/node_modules/@dcode/tui/dist/app-approval.js +9 -5
- package/node_modules/@dcode/tui/dist/app-compact-timeline.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-compact-timeline.js +5 -2
- package/node_modules/@dcode/tui/dist/app-empty-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-empty-transcript.js +1 -1
- package/node_modules/@dcode/tui/dist/app-file-mentions.d.ts +2 -0
- package/node_modules/@dcode/tui/dist/app-file-mentions.js +2 -2
- package/node_modules/@dcode/tui/dist/app-input-pane.d.ts +38 -0
- package/node_modules/@dcode/tui/dist/app-input-pane.js +19 -19
- package/node_modules/@dcode/tui/dist/app-input-status.d.ts +17 -0
- package/node_modules/@dcode/tui/dist/app-input-status.js +4 -4
- package/node_modules/@dcode/tui/dist/app-input.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-input.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.d.ts +2 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-markdown.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode-command.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-mode-command.js +4 -4
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.d.ts +5 -0
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.d.ts +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.js +1 -1
- package/node_modules/@dcode/tui/dist/app-model-ref.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-model-ref.js +1 -1
- package/node_modules/@dcode/tui/dist/app-motion.d.ts +13 -0
- package/node_modules/@dcode/tui/dist/app-motion.js +17 -7
- package/node_modules/@dcode/tui/dist/app-session-event-handler.d.ts +33 -0
- package/node_modules/@dcode/tui/dist/app-session-event-handler.js +4 -4
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.js +3 -3
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.js +7 -2
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.d.ts +10 -0
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.js +4 -4
- package/node_modules/@dcode/tui/dist/app-submit.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-submit.js +1 -1
- package/node_modules/@dcode/tui/dist/app-thought-components.d.ts +7 -0
- package/node_modules/@dcode/tui/dist/app-thought-components.js +2 -2
- package/node_modules/@dcode/tui/dist/app-tool-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-tool-transcript.js +3 -0
- package/node_modules/@dcode/tui/dist/app-view.d.ts +27 -0
- package/node_modules/@dcode/tui/dist/app-view.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-card.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.js +4 -4
- package/node_modules/@dcode/tui/dist/index.js +5118 -2579
- package/node_modules/@dcode/tui/dist/tui.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/tui.js +1 -1
- package/node_modules/@dcode/tui/dist/types.d.ts +1 -1
- package/node_modules/oniguruma-parser/LICENSE +1 -1
- package/node_modules/oniguruma-parser/README.md +15 -61
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +4 -4
- package/node_modules/oniguruma-parser/dist/parser/parse.js +1 -1
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +1 -1
- package/node_modules/oniguruma-parser/package.json +5 -5
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +121 -120
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1 -3
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/index.min.js +6 -6
- package/node_modules/oniguruma-to-es/package.json +5 -5
- package/package.json +5 -5
|
@@ -35,14 +35,18 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
35
35
|
sourceCommandId: z.ZodOptional<z.ZodString>;
|
|
36
36
|
historyRoundCount: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
state: z.ZodEnum<{
|
|
38
|
-
running: "running";
|
|
39
38
|
failed: "failed";
|
|
39
|
+
running: "running";
|
|
40
40
|
completedSuccess: "completedSuccess";
|
|
41
41
|
completedInterrupted: "completedInterrupted";
|
|
42
42
|
}>;
|
|
43
43
|
startedAt: z.ZodNumber;
|
|
44
44
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
45
45
|
activeMs: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
46
50
|
workSegments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
51
|
segmentId: z.ZodString;
|
|
48
52
|
triggerEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -62,21 +66,21 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
62
66
|
kind: z.ZodLiteral<"terminal">;
|
|
63
67
|
status: z.ZodEnum<{
|
|
64
68
|
completed: "completed";
|
|
65
|
-
stopped: "stopped";
|
|
66
69
|
errored: "errored";
|
|
70
|
+
stopped: "stopped";
|
|
67
71
|
}>;
|
|
68
72
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
interrupted: "interrupted";
|
|
70
73
|
user: "user";
|
|
71
74
|
model: "model";
|
|
72
75
|
provider: "provider";
|
|
76
|
+
interrupted: "interrupted";
|
|
73
77
|
superseded: "superseded";
|
|
74
78
|
}>>;
|
|
75
79
|
summary: z.ZodString;
|
|
76
80
|
result: z.ZodOptional<z.ZodString>;
|
|
77
81
|
resultForm: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
prose: "prose";
|
|
79
82
|
json: "json";
|
|
83
|
+
prose: "prose";
|
|
80
84
|
}>>;
|
|
81
85
|
resultTruncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
82
86
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -110,6 +114,18 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
110
114
|
question: z.ZodString;
|
|
111
115
|
context: z.ZodOptional<z.ZodString>;
|
|
112
116
|
askedAt: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"hole">;
|
|
119
|
+
siteId: z.ZodString;
|
|
120
|
+
ordinal: z.ZodNumber;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
type: z.ZodString;
|
|
123
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
124
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
125
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
before: z.ZodOptional<z.ZodString>;
|
|
127
|
+
after: z.ZodOptional<z.ZodString>;
|
|
128
|
+
reachedAt: z.ZodOptional<z.ZodNumber>;
|
|
113
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
114
130
|
kind: z.ZodLiteral<"stall">;
|
|
115
131
|
sinceMs: z.ZodNumber;
|
|
@@ -144,6 +160,7 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
144
160
|
kind: z.ZodEnum<{
|
|
145
161
|
ask: "ask";
|
|
146
162
|
"world-read": "world-read";
|
|
163
|
+
hole: "hole";
|
|
147
164
|
}>;
|
|
148
165
|
label: z.ZodString;
|
|
149
166
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -160,6 +177,7 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
160
177
|
stack: "stack";
|
|
161
178
|
serial: "serial";
|
|
162
179
|
}>>;
|
|
180
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
163
181
|
}, z.core.$strict>>;
|
|
164
182
|
lanes: z.ZodArray<z.ZodObject<{
|
|
165
183
|
id: z.ZodString;
|
|
@@ -194,17 +212,35 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
194
212
|
line: z.ZodOptional<z.ZodNumber>;
|
|
195
213
|
column: z.ZodOptional<z.ZodNumber>;
|
|
196
214
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
197
216
|
}, z.core.$strict>>>;
|
|
198
217
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
199
218
|
from: z.ZodString;
|
|
200
219
|
to: z.ZodString;
|
|
201
220
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
202
221
|
}, z.core.$strict>>>;
|
|
222
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
|
+
from: z.ZodString;
|
|
224
|
+
to: z.ZodString;
|
|
225
|
+
}, z.core.$strict>>>;
|
|
226
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
+
siteId: z.ZodString;
|
|
228
|
+
name: z.ZodString;
|
|
229
|
+
type: z.ZodString;
|
|
230
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
231
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
}, z.core.$strict>>>;
|
|
203
233
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
234
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
235
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
206
236
|
}, z.core.$strict>>;
|
|
207
237
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
siteId: z.ZodString;
|
|
240
|
+
name: z.ZodString;
|
|
241
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
242
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
}, z.core.$strict>>;
|
|
208
244
|
}, z.core.$strict>>>;
|
|
209
245
|
script: z.ZodOptional<z.ZodString>;
|
|
210
246
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -250,6 +286,126 @@ export declare const turnHeaderRowSchema: z.ZodObject<{
|
|
|
250
286
|
export type TurnHeaderRow = z.infer<typeof turnHeaderRowSchema>;
|
|
251
287
|
export declare const userInputRowSchema: z.ZodObject<{
|
|
252
288
|
kind: z.ZodLiteral<"userInput">;
|
|
289
|
+
inputOrigin: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
desktop: "desktop";
|
|
291
|
+
mobile: "mobile";
|
|
292
|
+
}>>;
|
|
293
|
+
botGroupSource: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
botIdentity: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
name: z.ZodString;
|
|
296
|
+
openId: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>>;
|
|
298
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
299
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
300
|
+
type: z.ZodLiteral<"text">;
|
|
301
|
+
text: z.ZodString;
|
|
302
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
303
|
+
type: z.ZodLiteral<"channelMention">;
|
|
304
|
+
refId: z.ZodString;
|
|
305
|
+
name: z.ZodString;
|
|
306
|
+
channel: z.ZodEnum<{
|
|
307
|
+
feishu: "feishu";
|
|
308
|
+
lark: "lark";
|
|
309
|
+
}>;
|
|
310
|
+
targetId: z.ZodString;
|
|
311
|
+
idType: z.ZodLiteral<"open_id">;
|
|
312
|
+
entityType: z.ZodEnum<{
|
|
313
|
+
unknown: "unknown";
|
|
314
|
+
user: "user";
|
|
315
|
+
bot: "bot";
|
|
316
|
+
}>;
|
|
317
|
+
}, z.core.$strict>]>>>;
|
|
318
|
+
authorizationId: z.ZodOptional<z.ZodString>;
|
|
319
|
+
botId: z.ZodString;
|
|
320
|
+
provider: z.ZodEnum<{
|
|
321
|
+
feishu: "feishu";
|
|
322
|
+
lark: "lark";
|
|
323
|
+
}>;
|
|
324
|
+
chatId: z.ZodString;
|
|
325
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
326
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
327
|
+
senderId: z.ZodString;
|
|
328
|
+
senderName: z.ZodString;
|
|
329
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
messageId: z.ZodString;
|
|
331
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
332
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
333
|
+
type: z.ZodLiteral<"text">;
|
|
334
|
+
text: z.ZodString;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
type: z.ZodLiteral<"channelMention">;
|
|
337
|
+
refId: z.ZodString;
|
|
338
|
+
name: z.ZodString;
|
|
339
|
+
channel: z.ZodEnum<{
|
|
340
|
+
feishu: "feishu";
|
|
341
|
+
lark: "lark";
|
|
342
|
+
}>;
|
|
343
|
+
targetId: z.ZodString;
|
|
344
|
+
idType: z.ZodLiteral<"open_id">;
|
|
345
|
+
entityType: z.ZodEnum<{
|
|
346
|
+
unknown: "unknown";
|
|
347
|
+
user: "user";
|
|
348
|
+
bot: "bot";
|
|
349
|
+
}>;
|
|
350
|
+
}, z.core.$strict>]>>>;
|
|
351
|
+
messageId: z.ZodString;
|
|
352
|
+
senderId: z.ZodString;
|
|
353
|
+
senderName: z.ZodString;
|
|
354
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
+
text: z.ZodString;
|
|
356
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
357
|
+
text: z.ZodString;
|
|
358
|
+
path: z.ZodOptional<z.ZodString>;
|
|
359
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
360
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
361
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>>>;
|
|
364
|
+
attachmentIndexes: z.ZodArray<z.ZodNumber>;
|
|
365
|
+
}, z.core.$strict>>>;
|
|
366
|
+
topicContext: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
368
|
+
id: z.ZodString;
|
|
369
|
+
chatId: z.ZodString;
|
|
370
|
+
threadId: z.ZodString;
|
|
371
|
+
senderId: z.ZodString;
|
|
372
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
373
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
375
|
+
name: z.ZodString;
|
|
376
|
+
kind: z.ZodString;
|
|
377
|
+
}, z.core.$strict>>>;
|
|
378
|
+
senderType: z.ZodEnum<{
|
|
379
|
+
user: "user";
|
|
380
|
+
app: "app";
|
|
381
|
+
}>;
|
|
382
|
+
text: z.ZodString;
|
|
383
|
+
createdAt: z.ZodNumber;
|
|
384
|
+
kind: z.ZodString;
|
|
385
|
+
controlCard: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
}, z.core.$strict>>;
|
|
388
|
+
checkpoint: z.ZodString;
|
|
389
|
+
hasGap: z.ZodBoolean;
|
|
390
|
+
}, z.core.$strict>>;
|
|
391
|
+
topicHistory: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
checkpoint: z.ZodString;
|
|
393
|
+
hasGap: z.ZodBoolean;
|
|
394
|
+
messageCount: z.ZodNumber;
|
|
395
|
+
resourceMessages: z.ZodArray<z.ZodObject<{
|
|
396
|
+
messageId: z.ZodString;
|
|
397
|
+
count: z.ZodNumber;
|
|
398
|
+
}, z.core.$strict>>;
|
|
399
|
+
}, z.core.$strict>>;
|
|
400
|
+
}, z.core.$strict>>;
|
|
401
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
402
|
+
text: z.ZodString;
|
|
403
|
+
path: z.ZodOptional<z.ZodString>;
|
|
404
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
405
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
406
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
407
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
408
|
+
}, z.core.$strip>>>;
|
|
253
409
|
text: z.ZodString;
|
|
254
410
|
epilogueStart: z.ZodOptional<z.ZodNumber>;
|
|
255
411
|
origin: z.ZodEnum<{
|
|
@@ -297,6 +453,7 @@ export declare const userInputRowSchema: z.ZodObject<{
|
|
|
297
453
|
kind: z.ZodEnum<{
|
|
298
454
|
ask: "ask";
|
|
299
455
|
"world-read": "world-read";
|
|
456
|
+
hole: "hole";
|
|
300
457
|
}>;
|
|
301
458
|
label: z.ZodString;
|
|
302
459
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -313,6 +470,7 @@ export declare const userInputRowSchema: z.ZodObject<{
|
|
|
313
470
|
stack: "stack";
|
|
314
471
|
serial: "serial";
|
|
315
472
|
}>>;
|
|
473
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
316
474
|
}, z.core.$strict>>;
|
|
317
475
|
lanes: z.ZodArray<z.ZodObject<{
|
|
318
476
|
id: z.ZodString;
|
|
@@ -347,17 +505,35 @@ export declare const userInputRowSchema: z.ZodObject<{
|
|
|
347
505
|
line: z.ZodOptional<z.ZodNumber>;
|
|
348
506
|
column: z.ZodOptional<z.ZodNumber>;
|
|
349
507
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
508
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
350
509
|
}, z.core.$strict>>>;
|
|
351
510
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
352
511
|
from: z.ZodString;
|
|
353
512
|
to: z.ZodString;
|
|
354
513
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
355
514
|
}, z.core.$strict>>>;
|
|
515
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
516
|
+
from: z.ZodString;
|
|
517
|
+
to: z.ZodString;
|
|
518
|
+
}, z.core.$strict>>>;
|
|
519
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
520
|
+
siteId: z.ZodString;
|
|
521
|
+
name: z.ZodString;
|
|
522
|
+
type: z.ZodString;
|
|
523
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
524
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
}, z.core.$strict>>>;
|
|
356
526
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
357
527
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
358
528
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
359
529
|
}, z.core.$strict>>;
|
|
360
530
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
531
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
532
|
+
siteId: z.ZodString;
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
535
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
361
537
|
}, z.core.$strict>>>;
|
|
362
538
|
script: z.ZodOptional<z.ZodString>;
|
|
363
539
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -377,13 +553,49 @@ export declare const userInputRowSchema: z.ZodObject<{
|
|
|
377
553
|
sourceCommandId: z.ZodOptional<z.ZodString>;
|
|
378
554
|
rootSourceCommandId: z.ZodOptional<z.ZodString>;
|
|
379
555
|
clientId: z.ZodOptional<z.ZodString>;
|
|
556
|
+
highspeed: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
558
|
+
cardId: z.ZodString;
|
|
559
|
+
taskId: z.ZodString;
|
|
560
|
+
provider: z.ZodString;
|
|
561
|
+
model: z.ZodString;
|
|
562
|
+
issuedAt: z.ZodNumber;
|
|
563
|
+
expiresAt: z.ZodNumber;
|
|
564
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
566
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
567
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
569
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
570
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
571
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
572
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
574
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
575
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
576
|
+
}>>;
|
|
577
|
+
}, z.core.$strict>>;
|
|
380
578
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
381
579
|
ref: z.ZodString;
|
|
382
580
|
fileName: z.ZodString;
|
|
383
581
|
mime: z.ZodString;
|
|
384
582
|
bytes: z.ZodNumber;
|
|
583
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
584
|
+
"clipboard-text": "clipboard-text";
|
|
585
|
+
"topic-history": "topic-history";
|
|
586
|
+
}>>;
|
|
587
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
385
588
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
386
|
-
}, z.core.$
|
|
589
|
+
}, z.core.$strict>>>;
|
|
590
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
591
|
+
kind: z.ZodLiteral<"pluginUi">;
|
|
592
|
+
pluginId: z.ZodString;
|
|
593
|
+
toolCallId: z.ZodString;
|
|
594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
595
|
+
kind: z.ZodLiteral<"genUi">;
|
|
596
|
+
path: z.ZodString;
|
|
597
|
+
title: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strict>], "kind">>;
|
|
387
599
|
rowId: z.ZodNumber;
|
|
388
600
|
turnId: z.ZodString;
|
|
389
601
|
entityId: z.ZodOptional<z.ZodString>;
|
|
@@ -408,10 +620,10 @@ export declare const assistantTextRowSchema: z.ZodObject<{
|
|
|
408
620
|
assistantResponseId: z.ZodOptional<z.ZodString>;
|
|
409
621
|
text: z.ZodString;
|
|
410
622
|
state: z.ZodEnum<{
|
|
411
|
-
streaming: "streaming";
|
|
412
|
-
interrupted: "interrupted";
|
|
413
623
|
failed: "failed";
|
|
414
624
|
complete: "complete";
|
|
625
|
+
interrupted: "interrupted";
|
|
626
|
+
streaming: "streaming";
|
|
415
627
|
}>;
|
|
416
628
|
model: z.ZodOptional<z.ZodString>;
|
|
417
629
|
feedback: z.ZodOptional<z.ZodEnum<{
|
|
@@ -442,9 +654,9 @@ export declare const reasoningRowSchema: z.ZodObject<{
|
|
|
442
654
|
assistantResponseId: z.ZodOptional<z.ZodString>;
|
|
443
655
|
text: z.ZodString;
|
|
444
656
|
state: z.ZodEnum<{
|
|
445
|
-
streaming: "streaming";
|
|
446
|
-
interrupted: "interrupted";
|
|
447
657
|
complete: "complete";
|
|
658
|
+
interrupted: "interrupted";
|
|
659
|
+
streaming: "streaming";
|
|
448
660
|
}>;
|
|
449
661
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
450
662
|
rowId: z.ZodNumber;
|
|
@@ -478,10 +690,10 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
478
690
|
toolCallId: z.ZodString;
|
|
479
691
|
toolName: z.ZodString;
|
|
480
692
|
status: z.ZodEnum<{
|
|
481
|
-
running: "running";
|
|
482
|
-
success: "success";
|
|
483
693
|
error: "error";
|
|
484
694
|
cancelled: "cancelled";
|
|
695
|
+
success: "success";
|
|
696
|
+
running: "running";
|
|
485
697
|
inputStreaming: "inputStreaming";
|
|
486
698
|
pendingApproval: "pendingApproval";
|
|
487
699
|
}>;
|
|
@@ -515,8 +727,8 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
515
727
|
}, z.core.$strip>, z.ZodObject<{
|
|
516
728
|
kind: z.ZodLiteral<"local_agent_message">;
|
|
517
729
|
status: z.ZodEnum<{
|
|
518
|
-
failed: "failed";
|
|
519
730
|
success: "success";
|
|
731
|
+
failed: "failed";
|
|
520
732
|
}>;
|
|
521
733
|
error: z.ZodOptional<z.ZodString>;
|
|
522
734
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -540,16 +752,16 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
540
752
|
}, z.core.$strip>, z.ZodObject<{
|
|
541
753
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
542
754
|
status: z.ZodEnum<{
|
|
543
|
-
failed: "failed";
|
|
544
755
|
success: "success";
|
|
756
|
+
failed: "failed";
|
|
545
757
|
}>;
|
|
546
758
|
}, z.core.$strip>, z.ZodObject<{
|
|
547
759
|
kind: z.ZodLiteral<"cua">;
|
|
548
760
|
schemaVersion: z.ZodLiteral<1>;
|
|
549
761
|
toolName: z.ZodString;
|
|
550
762
|
status: z.ZodEnum<{
|
|
551
|
-
failed: "failed";
|
|
552
763
|
success: "success";
|
|
764
|
+
failed: "failed";
|
|
553
765
|
}>;
|
|
554
766
|
input: z.ZodOptional<z.ZodString>;
|
|
555
767
|
structuredContent: z.ZodOptional<z.ZodString>;
|
|
@@ -561,14 +773,14 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
561
773
|
platform: z.ZodLiteral<"darwin">;
|
|
562
774
|
grantOwner: z.ZodString;
|
|
563
775
|
accessibility: z.ZodEnum<{
|
|
776
|
+
denied: "denied";
|
|
564
777
|
granted: "granted";
|
|
565
778
|
stale: "stale";
|
|
566
|
-
denied: "denied";
|
|
567
779
|
}>;
|
|
568
780
|
screenRecording: z.ZodEnum<{
|
|
569
781
|
unknown: "unknown";
|
|
570
|
-
granted: "granted";
|
|
571
782
|
denied: "denied";
|
|
783
|
+
granted: "granted";
|
|
572
784
|
}>;
|
|
573
785
|
}, z.core.$strict>>;
|
|
574
786
|
targetApp: z.ZodOptional<z.ZodObject<{
|
|
@@ -598,10 +810,34 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
598
810
|
description: z.ZodOptional<z.ZodString>;
|
|
599
811
|
unavailable: z.ZodOptional<z.ZodObject<{
|
|
600
812
|
code: z.ZodEnum<{
|
|
601
|
-
quota_exceeded: "quota_exceeded";
|
|
602
813
|
coding_plan_required: "coding_plan_required";
|
|
814
|
+
quota_exceeded: "quota_exceeded";
|
|
603
815
|
}>;
|
|
604
816
|
}, z.core.$strict>>;
|
|
817
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
pluginId: z.ZodString;
|
|
819
|
+
resourceUri: z.ZodString;
|
|
820
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
inline: "inline";
|
|
822
|
+
fullscreen: "fullscreen";
|
|
823
|
+
pip: "pip";
|
|
824
|
+
}>>;
|
|
825
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
826
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
827
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
828
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
829
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
830
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
831
|
+
}, z.core.$strict>>;
|
|
832
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
833
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
834
|
+
content: z.ZodOptional<z.ZodString>;
|
|
835
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
836
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
838
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
839
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
840
|
+
}, z.core.$strict>>;
|
|
605
841
|
}, z.core.$strip>, z.ZodObject<{
|
|
606
842
|
kind: z.ZodLiteral<"create_workflow">;
|
|
607
843
|
ok: z.ZodBoolean;
|
|
@@ -618,6 +854,7 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
618
854
|
kind: z.ZodEnum<{
|
|
619
855
|
ask: "ask";
|
|
620
856
|
"world-read": "world-read";
|
|
857
|
+
hole: "hole";
|
|
621
858
|
}>;
|
|
622
859
|
label: z.ZodString;
|
|
623
860
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -634,6 +871,7 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
634
871
|
stack: "stack";
|
|
635
872
|
serial: "serial";
|
|
636
873
|
}>>;
|
|
874
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
637
875
|
}, z.core.$strict>>;
|
|
638
876
|
lanes: z.ZodArray<z.ZodObject<{
|
|
639
877
|
id: z.ZodString;
|
|
@@ -668,33 +906,51 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
668
906
|
line: z.ZodOptional<z.ZodNumber>;
|
|
669
907
|
column: z.ZodOptional<z.ZodNumber>;
|
|
670
908
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
909
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
671
910
|
}, z.core.$strict>>>;
|
|
672
911
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
673
912
|
from: z.ZodString;
|
|
674
913
|
to: z.ZodString;
|
|
675
914
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
676
915
|
}, z.core.$strict>>>;
|
|
916
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
917
|
+
from: z.ZodString;
|
|
918
|
+
to: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>>;
|
|
920
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
921
|
+
siteId: z.ZodString;
|
|
922
|
+
name: z.ZodString;
|
|
923
|
+
type: z.ZodString;
|
|
924
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
925
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
926
|
+
}, z.core.$strict>>>;
|
|
677
927
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
678
928
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
679
929
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
680
930
|
}, z.core.$strict>>;
|
|
681
931
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
932
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
933
|
+
siteId: z.ZodString;
|
|
934
|
+
name: z.ZodString;
|
|
935
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
936
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
937
|
+
}, z.core.$strict>>;
|
|
682
938
|
}, z.core.$strict>, z.ZodObject<{
|
|
683
939
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
684
940
|
runId: z.ZodString;
|
|
685
941
|
label: z.ZodString;
|
|
686
942
|
status: z.ZodEnum<{
|
|
943
|
+
completed: "completed";
|
|
687
944
|
pending: "pending";
|
|
688
945
|
running: "running";
|
|
689
|
-
completed: "completed";
|
|
690
|
-
stopped: "stopped";
|
|
691
946
|
errored: "errored";
|
|
947
|
+
stopped: "stopped";
|
|
692
948
|
}>;
|
|
693
949
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
694
|
-
interrupted: "interrupted";
|
|
695
950
|
user: "user";
|
|
696
951
|
model: "model";
|
|
697
952
|
provider: "provider";
|
|
953
|
+
interrupted: "interrupted";
|
|
698
954
|
superseded: "superseded";
|
|
699
955
|
}>>;
|
|
700
956
|
possiblyInterrupted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -710,8 +966,8 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
710
966
|
phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
711
967
|
name: z.ZodString;
|
|
712
968
|
state: z.ZodEnum<{
|
|
713
|
-
done: "done";
|
|
714
969
|
current: "current";
|
|
970
|
+
done: "done";
|
|
715
971
|
ahead: "ahead";
|
|
716
972
|
unfinished: "unfinished";
|
|
717
973
|
}>;
|
|
@@ -727,11 +983,11 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
727
983
|
name: z.ZodOptional<z.ZodString>;
|
|
728
984
|
state: z.ZodEnum<{
|
|
729
985
|
failed: "failed";
|
|
986
|
+
idle: "idle";
|
|
987
|
+
waiting: "waiting";
|
|
730
988
|
done: "done";
|
|
731
989
|
unfinished: "unfinished";
|
|
732
|
-
idle: "idle";
|
|
733
990
|
executing: "executing";
|
|
734
|
-
waiting: "waiting";
|
|
735
991
|
parked: "parked";
|
|
736
992
|
}>;
|
|
737
993
|
phaseName: z.ZodOptional<z.ZodString>;
|
|
@@ -792,21 +1048,21 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
792
1048
|
runId: z.ZodString;
|
|
793
1049
|
label: z.ZodString;
|
|
794
1050
|
labelSource: z.ZodEnum<{
|
|
795
|
-
script: "script";
|
|
796
1051
|
name: "name";
|
|
1052
|
+
script: "script";
|
|
797
1053
|
}>;
|
|
798
1054
|
status: z.ZodEnum<{
|
|
1055
|
+
completed: "completed";
|
|
799
1056
|
pending: "pending";
|
|
800
1057
|
running: "running";
|
|
801
|
-
completed: "completed";
|
|
802
|
-
stopped: "stopped";
|
|
803
1058
|
errored: "errored";
|
|
1059
|
+
stopped: "stopped";
|
|
804
1060
|
}>;
|
|
805
1061
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
806
|
-
interrupted: "interrupted";
|
|
807
1062
|
user: "user";
|
|
808
1063
|
model: "model";
|
|
809
1064
|
provider: "provider";
|
|
1065
|
+
interrupted: "interrupted";
|
|
810
1066
|
superseded: "superseded";
|
|
811
1067
|
}>>;
|
|
812
1068
|
ownedByThisSession: z.ZodBoolean;
|
|
@@ -892,8 +1148,8 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
892
1148
|
}, z.core.$strict>, z.ZodObject<{
|
|
893
1149
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
894
1150
|
status: z.ZodEnum<{
|
|
895
|
-
failed: "failed";
|
|
896
1151
|
success: "success";
|
|
1152
|
+
failed: "failed";
|
|
897
1153
|
}>;
|
|
898
1154
|
}, z.core.$strict>, z.ZodObject<{
|
|
899
1155
|
kind: z.ZodLiteral<"mcp_tool">;
|
|
@@ -902,10 +1158,34 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
902
1158
|
description: z.ZodOptional<z.ZodString>;
|
|
903
1159
|
unavailable: z.ZodOptional<z.ZodObject<{
|
|
904
1160
|
code: z.ZodEnum<{
|
|
905
|
-
quota_exceeded: "quota_exceeded";
|
|
906
1161
|
coding_plan_required: "coding_plan_required";
|
|
1162
|
+
quota_exceeded: "quota_exceeded";
|
|
907
1163
|
}>;
|
|
908
1164
|
}, z.core.$strict>>;
|
|
1165
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
1166
|
+
pluginId: z.ZodString;
|
|
1167
|
+
resourceUri: z.ZodString;
|
|
1168
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
1169
|
+
inline: "inline";
|
|
1170
|
+
fullscreen: "fullscreen";
|
|
1171
|
+
pip: "pip";
|
|
1172
|
+
}>>;
|
|
1173
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
1174
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
1175
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1176
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1177
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1178
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1179
|
+
}, z.core.$strict>>;
|
|
1180
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1184
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1185
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1186
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1187
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
}, z.core.$strict>>;
|
|
909
1189
|
}, z.core.$strict>, z.ZodObject<{
|
|
910
1190
|
kind: z.ZodLiteral<"create_workflow">;
|
|
911
1191
|
ok: z.ZodBoolean;
|
|
@@ -922,6 +1202,7 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
922
1202
|
kind: z.ZodEnum<{
|
|
923
1203
|
ask: "ask";
|
|
924
1204
|
"world-read": "world-read";
|
|
1205
|
+
hole: "hole";
|
|
925
1206
|
}>;
|
|
926
1207
|
label: z.ZodString;
|
|
927
1208
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -938,6 +1219,7 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
938
1219
|
stack: "stack";
|
|
939
1220
|
serial: "serial";
|
|
940
1221
|
}>>;
|
|
1222
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
941
1223
|
}, z.core.$strict>>;
|
|
942
1224
|
lanes: z.ZodArray<z.ZodObject<{
|
|
943
1225
|
id: z.ZodString;
|
|
@@ -972,33 +1254,51 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
972
1254
|
line: z.ZodOptional<z.ZodNumber>;
|
|
973
1255
|
column: z.ZodOptional<z.ZodNumber>;
|
|
974
1256
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1257
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
975
1258
|
}, z.core.$strict>>>;
|
|
976
1259
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
977
1260
|
from: z.ZodString;
|
|
978
1261
|
to: z.ZodString;
|
|
979
1262
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
980
1263
|
}, z.core.$strict>>>;
|
|
1264
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1265
|
+
from: z.ZodString;
|
|
1266
|
+
to: z.ZodString;
|
|
1267
|
+
}, z.core.$strict>>>;
|
|
1268
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1269
|
+
siteId: z.ZodString;
|
|
1270
|
+
name: z.ZodString;
|
|
1271
|
+
type: z.ZodString;
|
|
1272
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1273
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
1274
|
+
}, z.core.$strict>>>;
|
|
981
1275
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
982
1276
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
983
1277
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
984
1278
|
}, z.core.$strict>>;
|
|
985
1279
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1280
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
1281
|
+
siteId: z.ZodString;
|
|
1282
|
+
name: z.ZodString;
|
|
1283
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
}, z.core.$strict>>;
|
|
986
1286
|
}, z.core.$strict>, z.ZodObject<{
|
|
987
1287
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
988
1288
|
runId: z.ZodString;
|
|
989
1289
|
label: z.ZodString;
|
|
990
1290
|
status: z.ZodEnum<{
|
|
1291
|
+
completed: "completed";
|
|
991
1292
|
pending: "pending";
|
|
992
1293
|
running: "running";
|
|
993
|
-
completed: "completed";
|
|
994
|
-
stopped: "stopped";
|
|
995
1294
|
errored: "errored";
|
|
1295
|
+
stopped: "stopped";
|
|
996
1296
|
}>;
|
|
997
1297
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
998
|
-
interrupted: "interrupted";
|
|
999
1298
|
user: "user";
|
|
1000
1299
|
model: "model";
|
|
1001
1300
|
provider: "provider";
|
|
1301
|
+
interrupted: "interrupted";
|
|
1002
1302
|
superseded: "superseded";
|
|
1003
1303
|
}>>;
|
|
1004
1304
|
possiblyInterrupted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1014,8 +1314,8 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
1014
1314
|
phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
1315
|
name: z.ZodString;
|
|
1016
1316
|
state: z.ZodEnum<{
|
|
1017
|
-
done: "done";
|
|
1018
1317
|
current: "current";
|
|
1318
|
+
done: "done";
|
|
1019
1319
|
ahead: "ahead";
|
|
1020
1320
|
unfinished: "unfinished";
|
|
1021
1321
|
}>;
|
|
@@ -1031,11 +1331,11 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
1031
1331
|
name: z.ZodOptional<z.ZodString>;
|
|
1032
1332
|
state: z.ZodEnum<{
|
|
1033
1333
|
failed: "failed";
|
|
1334
|
+
idle: "idle";
|
|
1335
|
+
waiting: "waiting";
|
|
1034
1336
|
done: "done";
|
|
1035
1337
|
unfinished: "unfinished";
|
|
1036
|
-
idle: "idle";
|
|
1037
1338
|
executing: "executing";
|
|
1038
|
-
waiting: "waiting";
|
|
1039
1339
|
parked: "parked";
|
|
1040
1340
|
}>;
|
|
1041
1341
|
phaseName: z.ZodOptional<z.ZodString>;
|
|
@@ -1096,21 +1396,21 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
1096
1396
|
runId: z.ZodString;
|
|
1097
1397
|
label: z.ZodString;
|
|
1098
1398
|
labelSource: z.ZodEnum<{
|
|
1099
|
-
script: "script";
|
|
1100
1399
|
name: "name";
|
|
1400
|
+
script: "script";
|
|
1101
1401
|
}>;
|
|
1102
1402
|
status: z.ZodEnum<{
|
|
1403
|
+
completed: "completed";
|
|
1103
1404
|
pending: "pending";
|
|
1104
1405
|
running: "running";
|
|
1105
|
-
completed: "completed";
|
|
1106
|
-
stopped: "stopped";
|
|
1107
1406
|
errored: "errored";
|
|
1407
|
+
stopped: "stopped";
|
|
1108
1408
|
}>;
|
|
1109
1409
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1110
|
-
interrupted: "interrupted";
|
|
1111
1410
|
user: "user";
|
|
1112
1411
|
model: "model";
|
|
1113
1412
|
provider: "provider";
|
|
1413
|
+
interrupted: "interrupted";
|
|
1114
1414
|
superseded: "superseded";
|
|
1115
1415
|
}>>;
|
|
1116
1416
|
ownedByThisSession: z.ZodBoolean;
|
|
@@ -1171,8 +1471,11 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
1171
1471
|
message: z.ZodString;
|
|
1172
1472
|
}, z.core.$strip>>;
|
|
1173
1473
|
progress: z.ZodOptional<z.ZodObject<{
|
|
1174
|
-
bytes: z.ZodNumber
|
|
1474
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
1175
1475
|
previewLine: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1477
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1478
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1176
1479
|
updatedAt: z.ZodNumber;
|
|
1177
1480
|
}, z.core.$strip>>;
|
|
1178
1481
|
outputPreview: z.ZodOptional<z.ZodObject<{
|
|
@@ -1208,11 +1511,11 @@ export declare const toolCallRowSchema: z.ZodObject<{
|
|
|
1208
1511
|
export type ToolCallRow = z.infer<typeof toolCallRowSchema>;
|
|
1209
1512
|
export declare const conversationArtifactTypeSchema: z.ZodEnum<{
|
|
1210
1513
|
text: "text";
|
|
1514
|
+
image: "image";
|
|
1211
1515
|
pdf: "pdf";
|
|
1212
1516
|
pptx: "pptx";
|
|
1213
1517
|
docx: "docx";
|
|
1214
1518
|
xlsx: "xlsx";
|
|
1215
|
-
image: "image";
|
|
1216
1519
|
html: "html";
|
|
1217
1520
|
md: "md";
|
|
1218
1521
|
}>;
|
|
@@ -1224,11 +1527,11 @@ export declare const artifactRowSchema: z.ZodObject<{
|
|
|
1224
1527
|
displayName: z.ZodString;
|
|
1225
1528
|
artifactType: z.ZodEnum<{
|
|
1226
1529
|
text: "text";
|
|
1530
|
+
image: "image";
|
|
1227
1531
|
pdf: "pdf";
|
|
1228
1532
|
pptx: "pptx";
|
|
1229
1533
|
docx: "docx";
|
|
1230
1534
|
xlsx: "xlsx";
|
|
1231
|
-
image: "image";
|
|
1232
1535
|
html: "html";
|
|
1233
1536
|
md: "md";
|
|
1234
1537
|
}>;
|
|
@@ -1261,10 +1564,10 @@ export declare const subagentRowSchema: z.ZodObject<{
|
|
|
1261
1564
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1262
1565
|
subagentType: z.ZodString;
|
|
1263
1566
|
status: z.ZodEnum<{
|
|
1264
|
-
running: "running";
|
|
1265
|
-
failed: "failed";
|
|
1266
|
-
success: "success";
|
|
1267
1567
|
cancelled: "cancelled";
|
|
1568
|
+
success: "success";
|
|
1569
|
+
failed: "failed";
|
|
1570
|
+
running: "running";
|
|
1268
1571
|
}>;
|
|
1269
1572
|
summaryText: z.ZodString;
|
|
1270
1573
|
childSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1294,9 +1597,9 @@ export type SubagentRow = z.infer<typeof subagentRowSchema>;
|
|
|
1294
1597
|
export declare const hookExecutionDescriptorSchema: z.ZodObject<{
|
|
1295
1598
|
clientVisible: z.ZodLiteral<true>;
|
|
1296
1599
|
sourceKind: z.ZodEnum<{
|
|
1600
|
+
plugin: "plugin";
|
|
1297
1601
|
user: "user";
|
|
1298
1602
|
project: "project";
|
|
1299
|
-
plugin: "plugin";
|
|
1300
1603
|
internal: "internal";
|
|
1301
1604
|
}>;
|
|
1302
1605
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -1308,8 +1611,8 @@ export declare const hookExecutionDescriptorSchema: z.ZodObject<{
|
|
|
1308
1611
|
process: "process";
|
|
1309
1612
|
}>;
|
|
1310
1613
|
executionMode: z.ZodEnum<{
|
|
1311
|
-
foreground: "foreground";
|
|
1312
1614
|
background: "background";
|
|
1615
|
+
foreground: "foreground";
|
|
1313
1616
|
}>;
|
|
1314
1617
|
commandDisplay: z.ZodString;
|
|
1315
1618
|
timeoutMs: z.ZodNumber;
|
|
@@ -1320,16 +1623,16 @@ export declare const hookExecutionProjectionSchema: z.ZodObject<{
|
|
|
1320
1623
|
hookIndex: z.ZodNumber;
|
|
1321
1624
|
didExecute: z.ZodBoolean;
|
|
1322
1625
|
state: z.ZodEnum<{
|
|
1323
|
-
running: "running";
|
|
1324
|
-
completed: "completed";
|
|
1325
1626
|
failed: "failed";
|
|
1627
|
+
completed: "completed";
|
|
1628
|
+
running: "running";
|
|
1326
1629
|
}>;
|
|
1327
1630
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1328
|
-
failed: "failed";
|
|
1329
|
-
success: "success";
|
|
1330
1631
|
cancelled: "cancelled";
|
|
1331
|
-
|
|
1632
|
+
success: "success";
|
|
1633
|
+
failed: "failed";
|
|
1332
1634
|
blocked: "blocked";
|
|
1635
|
+
timed_out: "timed_out";
|
|
1333
1636
|
}>>;
|
|
1334
1637
|
blockReason: z.ZodOptional<z.ZodString>;
|
|
1335
1638
|
startedAt: z.ZodNumber;
|
|
@@ -1337,9 +1640,9 @@ export declare const hookExecutionProjectionSchema: z.ZodObject<{
|
|
|
1337
1640
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1338
1641
|
displayName: z.ZodString;
|
|
1339
1642
|
sourceKind: z.ZodEnum<{
|
|
1643
|
+
plugin: "plugin";
|
|
1340
1644
|
user: "user";
|
|
1341
1645
|
project: "project";
|
|
1342
|
-
plugin: "plugin";
|
|
1343
1646
|
}>;
|
|
1344
1647
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
1345
1648
|
toolName: z.ZodOptional<z.ZodString>;
|
|
@@ -1359,9 +1662,9 @@ export declare const hookInvocationRowSchema: z.ZodObject<{
|
|
|
1359
1662
|
}>;
|
|
1360
1663
|
hookCount: z.ZodNumber;
|
|
1361
1664
|
state: z.ZodEnum<{
|
|
1362
|
-
running: "running";
|
|
1363
|
-
completed: "completed";
|
|
1364
1665
|
failed: "failed";
|
|
1666
|
+
completed: "completed";
|
|
1667
|
+
running: "running";
|
|
1365
1668
|
}>;
|
|
1366
1669
|
startedAt: z.ZodNumber;
|
|
1367
1670
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1377,16 +1680,16 @@ export declare const hookInvocationRowSchema: z.ZodObject<{
|
|
|
1377
1680
|
hookIndex: z.ZodNumber;
|
|
1378
1681
|
didExecute: z.ZodBoolean;
|
|
1379
1682
|
state: z.ZodEnum<{
|
|
1380
|
-
running: "running";
|
|
1381
|
-
completed: "completed";
|
|
1382
1683
|
failed: "failed";
|
|
1684
|
+
completed: "completed";
|
|
1685
|
+
running: "running";
|
|
1383
1686
|
}>;
|
|
1384
1687
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1385
|
-
failed: "failed";
|
|
1386
|
-
success: "success";
|
|
1387
1688
|
cancelled: "cancelled";
|
|
1388
|
-
|
|
1689
|
+
success: "success";
|
|
1690
|
+
failed: "failed";
|
|
1389
1691
|
blocked: "blocked";
|
|
1692
|
+
timed_out: "timed_out";
|
|
1390
1693
|
}>>;
|
|
1391
1694
|
blockReason: z.ZodOptional<z.ZodString>;
|
|
1392
1695
|
startedAt: z.ZodNumber;
|
|
@@ -1394,9 +1697,9 @@ export declare const hookInvocationRowSchema: z.ZodObject<{
|
|
|
1394
1697
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1395
1698
|
displayName: z.ZodString;
|
|
1396
1699
|
sourceKind: z.ZodEnum<{
|
|
1700
|
+
plugin: "plugin";
|
|
1397
1701
|
user: "user";
|
|
1398
1702
|
project: "project";
|
|
1399
|
-
plugin: "plugin";
|
|
1400
1703
|
}>;
|
|
1401
1704
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
1402
1705
|
toolName: z.ZodOptional<z.ZodString>;
|
|
@@ -1427,10 +1730,10 @@ export declare const timelineMarkerPayloadSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
1427
1730
|
manual: "manual";
|
|
1428
1731
|
}>;
|
|
1429
1732
|
status: z.ZodEnum<{
|
|
1430
|
-
running: "running";
|
|
1431
|
-
failed: "failed";
|
|
1432
|
-
success: "success";
|
|
1433
1733
|
cancelled: "cancelled";
|
|
1734
|
+
success: "success";
|
|
1735
|
+
failed: "failed";
|
|
1736
|
+
running: "running";
|
|
1434
1737
|
noop: "noop";
|
|
1435
1738
|
}>;
|
|
1436
1739
|
tokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1466,8 +1769,8 @@ export declare const timelineMarkerPayloadSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
1466
1769
|
type: z.ZodLiteral<"goalVerify">;
|
|
1467
1770
|
iteration: z.ZodNumber;
|
|
1468
1771
|
outcome: z.ZodEnum<{
|
|
1469
|
-
running: "running";
|
|
1470
1772
|
failed: "failed";
|
|
1773
|
+
running: "running";
|
|
1471
1774
|
pass: "pass";
|
|
1472
1775
|
notSatisfied: "notSatisfied";
|
|
1473
1776
|
}>;
|
|
@@ -1510,10 +1813,10 @@ export declare const timelineMarkerRowSchema: z.ZodObject<{
|
|
|
1510
1813
|
manual: "manual";
|
|
1511
1814
|
}>;
|
|
1512
1815
|
status: z.ZodEnum<{
|
|
1513
|
-
running: "running";
|
|
1514
|
-
failed: "failed";
|
|
1515
|
-
success: "success";
|
|
1516
1816
|
cancelled: "cancelled";
|
|
1817
|
+
success: "success";
|
|
1818
|
+
failed: "failed";
|
|
1819
|
+
running: "running";
|
|
1517
1820
|
noop: "noop";
|
|
1518
1821
|
}>;
|
|
1519
1822
|
tokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1549,8 +1852,8 @@ export declare const timelineMarkerRowSchema: z.ZodObject<{
|
|
|
1549
1852
|
type: z.ZodLiteral<"goalVerify">;
|
|
1550
1853
|
iteration: z.ZodNumber;
|
|
1551
1854
|
outcome: z.ZodEnum<{
|
|
1552
|
-
running: "running";
|
|
1553
1855
|
failed: "failed";
|
|
1856
|
+
running: "running";
|
|
1554
1857
|
pass: "pass";
|
|
1555
1858
|
notSatisfied: "notSatisfied";
|
|
1556
1859
|
}>;
|
|
@@ -1598,14 +1901,18 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1598
1901
|
sourceCommandId: z.ZodOptional<z.ZodString>;
|
|
1599
1902
|
historyRoundCount: z.ZodOptional<z.ZodNumber>;
|
|
1600
1903
|
state: z.ZodEnum<{
|
|
1601
|
-
running: "running";
|
|
1602
1904
|
failed: "failed";
|
|
1905
|
+
running: "running";
|
|
1603
1906
|
completedSuccess: "completedSuccess";
|
|
1604
1907
|
completedInterrupted: "completedInterrupted";
|
|
1605
1908
|
}>;
|
|
1606
1909
|
startedAt: z.ZodNumber;
|
|
1607
1910
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
1608
1911
|
activeMs: z.ZodOptional<z.ZodNumber>;
|
|
1912
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1913
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1914
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1915
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1609
1916
|
workSegments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1610
1917
|
segmentId: z.ZodString;
|
|
1611
1918
|
triggerEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1625,21 +1932,21 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1625
1932
|
kind: z.ZodLiteral<"terminal">;
|
|
1626
1933
|
status: z.ZodEnum<{
|
|
1627
1934
|
completed: "completed";
|
|
1628
|
-
stopped: "stopped";
|
|
1629
1935
|
errored: "errored";
|
|
1936
|
+
stopped: "stopped";
|
|
1630
1937
|
}>;
|
|
1631
1938
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1632
|
-
interrupted: "interrupted";
|
|
1633
1939
|
user: "user";
|
|
1634
1940
|
model: "model";
|
|
1635
1941
|
provider: "provider";
|
|
1942
|
+
interrupted: "interrupted";
|
|
1636
1943
|
superseded: "superseded";
|
|
1637
1944
|
}>>;
|
|
1638
1945
|
summary: z.ZodString;
|
|
1639
1946
|
result: z.ZodOptional<z.ZodString>;
|
|
1640
1947
|
resultForm: z.ZodOptional<z.ZodEnum<{
|
|
1641
|
-
prose: "prose";
|
|
1642
1948
|
json: "json";
|
|
1949
|
+
prose: "prose";
|
|
1643
1950
|
}>>;
|
|
1644
1951
|
resultTruncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1645
1952
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -1673,6 +1980,18 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1673
1980
|
question: z.ZodString;
|
|
1674
1981
|
context: z.ZodOptional<z.ZodString>;
|
|
1675
1982
|
askedAt: z.ZodOptional<z.ZodNumber>;
|
|
1983
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1984
|
+
kind: z.ZodLiteral<"hole">;
|
|
1985
|
+
siteId: z.ZodString;
|
|
1986
|
+
ordinal: z.ZodNumber;
|
|
1987
|
+
name: z.ZodString;
|
|
1988
|
+
type: z.ZodString;
|
|
1989
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1992
|
+
before: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
after: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
reachedAt: z.ZodOptional<z.ZodNumber>;
|
|
1676
1995
|
}, z.core.$strip>, z.ZodObject<{
|
|
1677
1996
|
kind: z.ZodLiteral<"stall">;
|
|
1678
1997
|
sinceMs: z.ZodNumber;
|
|
@@ -1707,6 +2026,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1707
2026
|
kind: z.ZodEnum<{
|
|
1708
2027
|
ask: "ask";
|
|
1709
2028
|
"world-read": "world-read";
|
|
2029
|
+
hole: "hole";
|
|
1710
2030
|
}>;
|
|
1711
2031
|
label: z.ZodString;
|
|
1712
2032
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -1723,6 +2043,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1723
2043
|
stack: "stack";
|
|
1724
2044
|
serial: "serial";
|
|
1725
2045
|
}>>;
|
|
2046
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1726
2047
|
}, z.core.$strict>>;
|
|
1727
2048
|
lanes: z.ZodArray<z.ZodObject<{
|
|
1728
2049
|
id: z.ZodString;
|
|
@@ -1757,17 +2078,35 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1757
2078
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1758
2079
|
column: z.ZodOptional<z.ZodNumber>;
|
|
1759
2080
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2081
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1760
2082
|
}, z.core.$strict>>>;
|
|
1761
2083
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1762
2084
|
from: z.ZodString;
|
|
1763
2085
|
to: z.ZodString;
|
|
1764
2086
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1765
2087
|
}, z.core.$strict>>>;
|
|
2088
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2089
|
+
from: z.ZodString;
|
|
2090
|
+
to: z.ZodString;
|
|
2091
|
+
}, z.core.$strict>>>;
|
|
2092
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2093
|
+
siteId: z.ZodString;
|
|
2094
|
+
name: z.ZodString;
|
|
2095
|
+
type: z.ZodString;
|
|
2096
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
2098
|
+
}, z.core.$strict>>>;
|
|
1766
2099
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1767
2100
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1768
2101
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1769
2102
|
}, z.core.$strict>>;
|
|
1770
2103
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2104
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
2105
|
+
siteId: z.ZodString;
|
|
2106
|
+
name: z.ZodString;
|
|
2107
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
}, z.core.$strict>>;
|
|
1771
2110
|
}, z.core.$strict>>>;
|
|
1772
2111
|
script: z.ZodOptional<z.ZodString>;
|
|
1773
2112
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -1811,6 +2150,126 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1811
2150
|
}, z.core.$strip>>;
|
|
1812
2151
|
}, z.core.$strip>, z.ZodObject<{
|
|
1813
2152
|
kind: z.ZodLiteral<"userInput">;
|
|
2153
|
+
inputOrigin: z.ZodOptional<z.ZodEnum<{
|
|
2154
|
+
desktop: "desktop";
|
|
2155
|
+
mobile: "mobile";
|
|
2156
|
+
}>>;
|
|
2157
|
+
botGroupSource: z.ZodOptional<z.ZodObject<{
|
|
2158
|
+
botIdentity: z.ZodOptional<z.ZodObject<{
|
|
2159
|
+
name: z.ZodString;
|
|
2160
|
+
openId: z.ZodOptional<z.ZodString>;
|
|
2161
|
+
}, z.core.$strict>>;
|
|
2162
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2164
|
+
type: z.ZodLiteral<"text">;
|
|
2165
|
+
text: z.ZodString;
|
|
2166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2167
|
+
type: z.ZodLiteral<"channelMention">;
|
|
2168
|
+
refId: z.ZodString;
|
|
2169
|
+
name: z.ZodString;
|
|
2170
|
+
channel: z.ZodEnum<{
|
|
2171
|
+
feishu: "feishu";
|
|
2172
|
+
lark: "lark";
|
|
2173
|
+
}>;
|
|
2174
|
+
targetId: z.ZodString;
|
|
2175
|
+
idType: z.ZodLiteral<"open_id">;
|
|
2176
|
+
entityType: z.ZodEnum<{
|
|
2177
|
+
unknown: "unknown";
|
|
2178
|
+
user: "user";
|
|
2179
|
+
bot: "bot";
|
|
2180
|
+
}>;
|
|
2181
|
+
}, z.core.$strict>]>>>;
|
|
2182
|
+
authorizationId: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
botId: z.ZodString;
|
|
2184
|
+
provider: z.ZodEnum<{
|
|
2185
|
+
feishu: "feishu";
|
|
2186
|
+
lark: "lark";
|
|
2187
|
+
}>;
|
|
2188
|
+
chatId: z.ZodString;
|
|
2189
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
senderId: z.ZodString;
|
|
2192
|
+
senderName: z.ZodString;
|
|
2193
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
2194
|
+
messageId: z.ZodString;
|
|
2195
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2196
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2197
|
+
type: z.ZodLiteral<"text">;
|
|
2198
|
+
text: z.ZodString;
|
|
2199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2200
|
+
type: z.ZodLiteral<"channelMention">;
|
|
2201
|
+
refId: z.ZodString;
|
|
2202
|
+
name: z.ZodString;
|
|
2203
|
+
channel: z.ZodEnum<{
|
|
2204
|
+
feishu: "feishu";
|
|
2205
|
+
lark: "lark";
|
|
2206
|
+
}>;
|
|
2207
|
+
targetId: z.ZodString;
|
|
2208
|
+
idType: z.ZodLiteral<"open_id">;
|
|
2209
|
+
entityType: z.ZodEnum<{
|
|
2210
|
+
unknown: "unknown";
|
|
2211
|
+
user: "user";
|
|
2212
|
+
bot: "bot";
|
|
2213
|
+
}>;
|
|
2214
|
+
}, z.core.$strict>]>>>;
|
|
2215
|
+
messageId: z.ZodString;
|
|
2216
|
+
senderId: z.ZodString;
|
|
2217
|
+
senderName: z.ZodString;
|
|
2218
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
2219
|
+
text: z.ZodString;
|
|
2220
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2221
|
+
text: z.ZodString;
|
|
2222
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2223
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
2226
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
}, z.core.$strip>>>;
|
|
2228
|
+
attachmentIndexes: z.ZodArray<z.ZodNumber>;
|
|
2229
|
+
}, z.core.$strict>>>;
|
|
2230
|
+
topicContext: z.ZodOptional<z.ZodObject<{
|
|
2231
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
2232
|
+
id: z.ZodString;
|
|
2233
|
+
chatId: z.ZodString;
|
|
2234
|
+
threadId: z.ZodString;
|
|
2235
|
+
senderId: z.ZodString;
|
|
2236
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
2237
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
2238
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2239
|
+
name: z.ZodString;
|
|
2240
|
+
kind: z.ZodString;
|
|
2241
|
+
}, z.core.$strict>>>;
|
|
2242
|
+
senderType: z.ZodEnum<{
|
|
2243
|
+
user: "user";
|
|
2244
|
+
app: "app";
|
|
2245
|
+
}>;
|
|
2246
|
+
text: z.ZodString;
|
|
2247
|
+
createdAt: z.ZodNumber;
|
|
2248
|
+
kind: z.ZodString;
|
|
2249
|
+
controlCard: z.ZodOptional<z.ZodBoolean>;
|
|
2250
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
2251
|
+
}, z.core.$strict>>;
|
|
2252
|
+
checkpoint: z.ZodString;
|
|
2253
|
+
hasGap: z.ZodBoolean;
|
|
2254
|
+
}, z.core.$strict>>;
|
|
2255
|
+
topicHistory: z.ZodOptional<z.ZodObject<{
|
|
2256
|
+
checkpoint: z.ZodString;
|
|
2257
|
+
hasGap: z.ZodBoolean;
|
|
2258
|
+
messageCount: z.ZodNumber;
|
|
2259
|
+
resourceMessages: z.ZodArray<z.ZodObject<{
|
|
2260
|
+
messageId: z.ZodString;
|
|
2261
|
+
count: z.ZodNumber;
|
|
2262
|
+
}, z.core.$strict>>;
|
|
2263
|
+
}, z.core.$strict>>;
|
|
2264
|
+
}, z.core.$strict>>;
|
|
2265
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2266
|
+
text: z.ZodString;
|
|
2267
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2268
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
2269
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
2270
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
2272
|
+
}, z.core.$strip>>>;
|
|
1814
2273
|
text: z.ZodString;
|
|
1815
2274
|
epilogueStart: z.ZodOptional<z.ZodNumber>;
|
|
1816
2275
|
origin: z.ZodEnum<{
|
|
@@ -1858,6 +2317,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1858
2317
|
kind: z.ZodEnum<{
|
|
1859
2318
|
ask: "ask";
|
|
1860
2319
|
"world-read": "world-read";
|
|
2320
|
+
hole: "hole";
|
|
1861
2321
|
}>;
|
|
1862
2322
|
label: z.ZodString;
|
|
1863
2323
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -1874,6 +2334,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1874
2334
|
stack: "stack";
|
|
1875
2335
|
serial: "serial";
|
|
1876
2336
|
}>>;
|
|
2337
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1877
2338
|
}, z.core.$strict>>;
|
|
1878
2339
|
lanes: z.ZodArray<z.ZodObject<{
|
|
1879
2340
|
id: z.ZodString;
|
|
@@ -1908,17 +2369,35 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1908
2369
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1909
2370
|
column: z.ZodOptional<z.ZodNumber>;
|
|
1910
2371
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2372
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1911
2373
|
}, z.core.$strict>>>;
|
|
1912
2374
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1913
2375
|
from: z.ZodString;
|
|
1914
2376
|
to: z.ZodString;
|
|
1915
2377
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1916
2378
|
}, z.core.$strict>>>;
|
|
2379
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2380
|
+
from: z.ZodString;
|
|
2381
|
+
to: z.ZodString;
|
|
2382
|
+
}, z.core.$strict>>>;
|
|
2383
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2384
|
+
siteId: z.ZodString;
|
|
2385
|
+
name: z.ZodString;
|
|
2386
|
+
type: z.ZodString;
|
|
2387
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
2389
|
+
}, z.core.$strict>>>;
|
|
1917
2390
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1918
2391
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1919
2392
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1920
2393
|
}, z.core.$strict>>;
|
|
1921
2394
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2395
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
2396
|
+
siteId: z.ZodString;
|
|
2397
|
+
name: z.ZodString;
|
|
2398
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
2399
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2400
|
+
}, z.core.$strict>>;
|
|
1922
2401
|
}, z.core.$strict>>>;
|
|
1923
2402
|
script: z.ZodOptional<z.ZodString>;
|
|
1924
2403
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -1938,13 +2417,49 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1938
2417
|
sourceCommandId: z.ZodOptional<z.ZodString>;
|
|
1939
2418
|
rootSourceCommandId: z.ZodOptional<z.ZodString>;
|
|
1940
2419
|
clientId: z.ZodOptional<z.ZodString>;
|
|
2420
|
+
highspeed: z.ZodOptional<z.ZodObject<{
|
|
2421
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
2422
|
+
cardId: z.ZodString;
|
|
2423
|
+
taskId: z.ZodString;
|
|
2424
|
+
provider: z.ZodString;
|
|
2425
|
+
model: z.ZodString;
|
|
2426
|
+
issuedAt: z.ZodNumber;
|
|
2427
|
+
expiresAt: z.ZodNumber;
|
|
2428
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
2429
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2430
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2431
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
2432
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2433
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2434
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2435
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2436
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
2437
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
2438
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
2439
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
2440
|
+
}>>;
|
|
2441
|
+
}, z.core.$strict>>;
|
|
1941
2442
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1942
2443
|
ref: z.ZodString;
|
|
1943
2444
|
fileName: z.ZodString;
|
|
1944
2445
|
mime: z.ZodString;
|
|
1945
2446
|
bytes: z.ZodNumber;
|
|
2447
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
2448
|
+
"clipboard-text": "clipboard-text";
|
|
2449
|
+
"topic-history": "topic-history";
|
|
2450
|
+
}>>;
|
|
2451
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
1946
2452
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
1947
|
-
}, z.core.$
|
|
2453
|
+
}, z.core.$strict>>>;
|
|
2454
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2455
|
+
kind: z.ZodLiteral<"pluginUi">;
|
|
2456
|
+
pluginId: z.ZodString;
|
|
2457
|
+
toolCallId: z.ZodString;
|
|
2458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2459
|
+
kind: z.ZodLiteral<"genUi">;
|
|
2460
|
+
path: z.ZodString;
|
|
2461
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
}, z.core.$strict>], "kind">>;
|
|
1948
2463
|
rowId: z.ZodNumber;
|
|
1949
2464
|
turnId: z.ZodString;
|
|
1950
2465
|
entityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1967,10 +2482,10 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1967
2482
|
assistantResponseId: z.ZodOptional<z.ZodString>;
|
|
1968
2483
|
text: z.ZodString;
|
|
1969
2484
|
state: z.ZodEnum<{
|
|
1970
|
-
streaming: "streaming";
|
|
1971
|
-
interrupted: "interrupted";
|
|
1972
2485
|
failed: "failed";
|
|
1973
2486
|
complete: "complete";
|
|
2487
|
+
interrupted: "interrupted";
|
|
2488
|
+
streaming: "streaming";
|
|
1974
2489
|
}>;
|
|
1975
2490
|
model: z.ZodOptional<z.ZodString>;
|
|
1976
2491
|
feedback: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1999,9 +2514,9 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1999
2514
|
assistantResponseId: z.ZodOptional<z.ZodString>;
|
|
2000
2515
|
text: z.ZodString;
|
|
2001
2516
|
state: z.ZodEnum<{
|
|
2002
|
-
streaming: "streaming";
|
|
2003
|
-
interrupted: "interrupted";
|
|
2004
2517
|
complete: "complete";
|
|
2518
|
+
interrupted: "interrupted";
|
|
2519
|
+
streaming: "streaming";
|
|
2005
2520
|
}>;
|
|
2006
2521
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2007
2522
|
rowId: z.ZodNumber;
|
|
@@ -2027,10 +2542,10 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2027
2542
|
toolCallId: z.ZodString;
|
|
2028
2543
|
toolName: z.ZodString;
|
|
2029
2544
|
status: z.ZodEnum<{
|
|
2030
|
-
running: "running";
|
|
2031
|
-
success: "success";
|
|
2032
2545
|
error: "error";
|
|
2033
2546
|
cancelled: "cancelled";
|
|
2547
|
+
success: "success";
|
|
2548
|
+
running: "running";
|
|
2034
2549
|
inputStreaming: "inputStreaming";
|
|
2035
2550
|
pendingApproval: "pendingApproval";
|
|
2036
2551
|
}>;
|
|
@@ -2064,8 +2579,8 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2064
2579
|
}, z.core.$strip>, z.ZodObject<{
|
|
2065
2580
|
kind: z.ZodLiteral<"local_agent_message">;
|
|
2066
2581
|
status: z.ZodEnum<{
|
|
2067
|
-
failed: "failed";
|
|
2068
2582
|
success: "success";
|
|
2583
|
+
failed: "failed";
|
|
2069
2584
|
}>;
|
|
2070
2585
|
error: z.ZodOptional<z.ZodString>;
|
|
2071
2586
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2089,16 +2604,16 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2089
2604
|
}, z.core.$strip>, z.ZodObject<{
|
|
2090
2605
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
2091
2606
|
status: z.ZodEnum<{
|
|
2092
|
-
failed: "failed";
|
|
2093
2607
|
success: "success";
|
|
2608
|
+
failed: "failed";
|
|
2094
2609
|
}>;
|
|
2095
2610
|
}, z.core.$strip>, z.ZodObject<{
|
|
2096
2611
|
kind: z.ZodLiteral<"cua">;
|
|
2097
2612
|
schemaVersion: z.ZodLiteral<1>;
|
|
2098
2613
|
toolName: z.ZodString;
|
|
2099
2614
|
status: z.ZodEnum<{
|
|
2100
|
-
failed: "failed";
|
|
2101
2615
|
success: "success";
|
|
2616
|
+
failed: "failed";
|
|
2102
2617
|
}>;
|
|
2103
2618
|
input: z.ZodOptional<z.ZodString>;
|
|
2104
2619
|
structuredContent: z.ZodOptional<z.ZodString>;
|
|
@@ -2110,14 +2625,14 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2110
2625
|
platform: z.ZodLiteral<"darwin">;
|
|
2111
2626
|
grantOwner: z.ZodString;
|
|
2112
2627
|
accessibility: z.ZodEnum<{
|
|
2628
|
+
denied: "denied";
|
|
2113
2629
|
granted: "granted";
|
|
2114
2630
|
stale: "stale";
|
|
2115
|
-
denied: "denied";
|
|
2116
2631
|
}>;
|
|
2117
2632
|
screenRecording: z.ZodEnum<{
|
|
2118
2633
|
unknown: "unknown";
|
|
2119
|
-
granted: "granted";
|
|
2120
2634
|
denied: "denied";
|
|
2635
|
+
granted: "granted";
|
|
2121
2636
|
}>;
|
|
2122
2637
|
}, z.core.$strict>>;
|
|
2123
2638
|
targetApp: z.ZodOptional<z.ZodObject<{
|
|
@@ -2147,10 +2662,34 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2147
2662
|
description: z.ZodOptional<z.ZodString>;
|
|
2148
2663
|
unavailable: z.ZodOptional<z.ZodObject<{
|
|
2149
2664
|
code: z.ZodEnum<{
|
|
2150
|
-
quota_exceeded: "quota_exceeded";
|
|
2151
2665
|
coding_plan_required: "coding_plan_required";
|
|
2666
|
+
quota_exceeded: "quota_exceeded";
|
|
2152
2667
|
}>;
|
|
2153
2668
|
}, z.core.$strict>>;
|
|
2669
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
2670
|
+
pluginId: z.ZodString;
|
|
2671
|
+
resourceUri: z.ZodString;
|
|
2672
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
2673
|
+
inline: "inline";
|
|
2674
|
+
fullscreen: "fullscreen";
|
|
2675
|
+
pip: "pip";
|
|
2676
|
+
}>>;
|
|
2677
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
2678
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
2679
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2680
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2681
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2682
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2683
|
+
}, z.core.$strict>>;
|
|
2684
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
2685
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2687
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2688
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2689
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2690
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2691
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
}, z.core.$strict>>;
|
|
2154
2693
|
}, z.core.$strip>, z.ZodObject<{
|
|
2155
2694
|
kind: z.ZodLiteral<"create_workflow">;
|
|
2156
2695
|
ok: z.ZodBoolean;
|
|
@@ -2167,6 +2706,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2167
2706
|
kind: z.ZodEnum<{
|
|
2168
2707
|
ask: "ask";
|
|
2169
2708
|
"world-read": "world-read";
|
|
2709
|
+
hole: "hole";
|
|
2170
2710
|
}>;
|
|
2171
2711
|
label: z.ZodString;
|
|
2172
2712
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -2183,6 +2723,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2183
2723
|
stack: "stack";
|
|
2184
2724
|
serial: "serial";
|
|
2185
2725
|
}>>;
|
|
2726
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
2186
2727
|
}, z.core.$strict>>;
|
|
2187
2728
|
lanes: z.ZodArray<z.ZodObject<{
|
|
2188
2729
|
id: z.ZodString;
|
|
@@ -2217,33 +2758,51 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2217
2758
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2218
2759
|
column: z.ZodOptional<z.ZodNumber>;
|
|
2219
2760
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2761
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
2220
2762
|
}, z.core.$strict>>>;
|
|
2221
2763
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2222
2764
|
from: z.ZodString;
|
|
2223
2765
|
to: z.ZodString;
|
|
2224
2766
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2225
2767
|
}, z.core.$strict>>>;
|
|
2768
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2769
|
+
from: z.ZodString;
|
|
2770
|
+
to: z.ZodString;
|
|
2771
|
+
}, z.core.$strict>>>;
|
|
2772
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2773
|
+
siteId: z.ZodString;
|
|
2774
|
+
name: z.ZodString;
|
|
2775
|
+
type: z.ZodString;
|
|
2776
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
2778
|
+
}, z.core.$strict>>>;
|
|
2226
2779
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2227
2780
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2228
2781
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2229
2782
|
}, z.core.$strict>>;
|
|
2230
2783
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2784
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
2785
|
+
siteId: z.ZodString;
|
|
2786
|
+
name: z.ZodString;
|
|
2787
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2789
|
+
}, z.core.$strict>>;
|
|
2231
2790
|
}, z.core.$strict>, z.ZodObject<{
|
|
2232
2791
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
2233
2792
|
runId: z.ZodString;
|
|
2234
2793
|
label: z.ZodString;
|
|
2235
2794
|
status: z.ZodEnum<{
|
|
2795
|
+
completed: "completed";
|
|
2236
2796
|
pending: "pending";
|
|
2237
2797
|
running: "running";
|
|
2238
|
-
completed: "completed";
|
|
2239
|
-
stopped: "stopped";
|
|
2240
2798
|
errored: "errored";
|
|
2799
|
+
stopped: "stopped";
|
|
2241
2800
|
}>;
|
|
2242
2801
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
2243
|
-
interrupted: "interrupted";
|
|
2244
2802
|
user: "user";
|
|
2245
2803
|
model: "model";
|
|
2246
2804
|
provider: "provider";
|
|
2805
|
+
interrupted: "interrupted";
|
|
2247
2806
|
superseded: "superseded";
|
|
2248
2807
|
}>>;
|
|
2249
2808
|
possiblyInterrupted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2259,8 +2818,8 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2259
2818
|
phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2260
2819
|
name: z.ZodString;
|
|
2261
2820
|
state: z.ZodEnum<{
|
|
2262
|
-
done: "done";
|
|
2263
2821
|
current: "current";
|
|
2822
|
+
done: "done";
|
|
2264
2823
|
ahead: "ahead";
|
|
2265
2824
|
unfinished: "unfinished";
|
|
2266
2825
|
}>;
|
|
@@ -2276,11 +2835,11 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2276
2835
|
name: z.ZodOptional<z.ZodString>;
|
|
2277
2836
|
state: z.ZodEnum<{
|
|
2278
2837
|
failed: "failed";
|
|
2838
|
+
idle: "idle";
|
|
2839
|
+
waiting: "waiting";
|
|
2279
2840
|
done: "done";
|
|
2280
2841
|
unfinished: "unfinished";
|
|
2281
|
-
idle: "idle";
|
|
2282
2842
|
executing: "executing";
|
|
2283
|
-
waiting: "waiting";
|
|
2284
2843
|
parked: "parked";
|
|
2285
2844
|
}>;
|
|
2286
2845
|
phaseName: z.ZodOptional<z.ZodString>;
|
|
@@ -2341,21 +2900,21 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2341
2900
|
runId: z.ZodString;
|
|
2342
2901
|
label: z.ZodString;
|
|
2343
2902
|
labelSource: z.ZodEnum<{
|
|
2344
|
-
script: "script";
|
|
2345
2903
|
name: "name";
|
|
2904
|
+
script: "script";
|
|
2346
2905
|
}>;
|
|
2347
2906
|
status: z.ZodEnum<{
|
|
2907
|
+
completed: "completed";
|
|
2348
2908
|
pending: "pending";
|
|
2349
2909
|
running: "running";
|
|
2350
|
-
completed: "completed";
|
|
2351
|
-
stopped: "stopped";
|
|
2352
2910
|
errored: "errored";
|
|
2911
|
+
stopped: "stopped";
|
|
2353
2912
|
}>;
|
|
2354
2913
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
2355
|
-
interrupted: "interrupted";
|
|
2356
2914
|
user: "user";
|
|
2357
2915
|
model: "model";
|
|
2358
2916
|
provider: "provider";
|
|
2917
|
+
interrupted: "interrupted";
|
|
2359
2918
|
superseded: "superseded";
|
|
2360
2919
|
}>>;
|
|
2361
2920
|
ownedByThisSession: z.ZodBoolean;
|
|
@@ -2441,8 +3000,8 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2441
3000
|
}, z.core.$strict>, z.ZodObject<{
|
|
2442
3001
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
2443
3002
|
status: z.ZodEnum<{
|
|
2444
|
-
failed: "failed";
|
|
2445
3003
|
success: "success";
|
|
3004
|
+
failed: "failed";
|
|
2446
3005
|
}>;
|
|
2447
3006
|
}, z.core.$strict>, z.ZodObject<{
|
|
2448
3007
|
kind: z.ZodLiteral<"mcp_tool">;
|
|
@@ -2451,10 +3010,34 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2451
3010
|
description: z.ZodOptional<z.ZodString>;
|
|
2452
3011
|
unavailable: z.ZodOptional<z.ZodObject<{
|
|
2453
3012
|
code: z.ZodEnum<{
|
|
2454
|
-
quota_exceeded: "quota_exceeded";
|
|
2455
3013
|
coding_plan_required: "coding_plan_required";
|
|
3014
|
+
quota_exceeded: "quota_exceeded";
|
|
2456
3015
|
}>;
|
|
2457
3016
|
}, z.core.$strict>>;
|
|
3017
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
3018
|
+
pluginId: z.ZodString;
|
|
3019
|
+
resourceUri: z.ZodString;
|
|
3020
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
3021
|
+
inline: "inline";
|
|
3022
|
+
fullscreen: "fullscreen";
|
|
3023
|
+
pip: "pip";
|
|
3024
|
+
}>>;
|
|
3025
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
3026
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
3027
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3028
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3029
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3030
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3031
|
+
}, z.core.$strict>>;
|
|
3032
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
3033
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
3034
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3036
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
3037
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3038
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3039
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
3040
|
+
}, z.core.$strict>>;
|
|
2458
3041
|
}, z.core.$strict>, z.ZodObject<{
|
|
2459
3042
|
kind: z.ZodLiteral<"create_workflow">;
|
|
2460
3043
|
ok: z.ZodBoolean;
|
|
@@ -2471,6 +3054,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2471
3054
|
kind: z.ZodEnum<{
|
|
2472
3055
|
ask: "ask";
|
|
2473
3056
|
"world-read": "world-read";
|
|
3057
|
+
hole: "hole";
|
|
2474
3058
|
}>;
|
|
2475
3059
|
label: z.ZodString;
|
|
2476
3060
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -2487,6 +3071,7 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2487
3071
|
stack: "stack";
|
|
2488
3072
|
serial: "serial";
|
|
2489
3073
|
}>>;
|
|
3074
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
2490
3075
|
}, z.core.$strict>>;
|
|
2491
3076
|
lanes: z.ZodArray<z.ZodObject<{
|
|
2492
3077
|
id: z.ZodString;
|
|
@@ -2521,33 +3106,51 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2521
3106
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2522
3107
|
column: z.ZodOptional<z.ZodNumber>;
|
|
2523
3108
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3109
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
2524
3110
|
}, z.core.$strict>>>;
|
|
2525
3111
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2526
3112
|
from: z.ZodString;
|
|
2527
3113
|
to: z.ZodString;
|
|
2528
3114
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2529
3115
|
}, z.core.$strict>>>;
|
|
3116
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3117
|
+
from: z.ZodString;
|
|
3118
|
+
to: z.ZodString;
|
|
3119
|
+
}, z.core.$strict>>>;
|
|
3120
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3121
|
+
siteId: z.ZodString;
|
|
3122
|
+
name: z.ZodString;
|
|
3123
|
+
type: z.ZodString;
|
|
3124
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
3125
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
3126
|
+
}, z.core.$strict>>>;
|
|
2530
3127
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2531
3128
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2532
3129
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2533
3130
|
}, z.core.$strict>>;
|
|
2534
3131
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3132
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
3133
|
+
siteId: z.ZodString;
|
|
3134
|
+
name: z.ZodString;
|
|
3135
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
3136
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3137
|
+
}, z.core.$strict>>;
|
|
2535
3138
|
}, z.core.$strict>, z.ZodObject<{
|
|
2536
3139
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
2537
3140
|
runId: z.ZodString;
|
|
2538
3141
|
label: z.ZodString;
|
|
2539
3142
|
status: z.ZodEnum<{
|
|
3143
|
+
completed: "completed";
|
|
2540
3144
|
pending: "pending";
|
|
2541
3145
|
running: "running";
|
|
2542
|
-
completed: "completed";
|
|
2543
|
-
stopped: "stopped";
|
|
2544
3146
|
errored: "errored";
|
|
3147
|
+
stopped: "stopped";
|
|
2545
3148
|
}>;
|
|
2546
3149
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
2547
|
-
interrupted: "interrupted";
|
|
2548
3150
|
user: "user";
|
|
2549
3151
|
model: "model";
|
|
2550
3152
|
provider: "provider";
|
|
3153
|
+
interrupted: "interrupted";
|
|
2551
3154
|
superseded: "superseded";
|
|
2552
3155
|
}>>;
|
|
2553
3156
|
possiblyInterrupted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2563,8 +3166,8 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2563
3166
|
phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2564
3167
|
name: z.ZodString;
|
|
2565
3168
|
state: z.ZodEnum<{
|
|
2566
|
-
done: "done";
|
|
2567
3169
|
current: "current";
|
|
3170
|
+
done: "done";
|
|
2568
3171
|
ahead: "ahead";
|
|
2569
3172
|
unfinished: "unfinished";
|
|
2570
3173
|
}>;
|
|
@@ -2580,11 +3183,11 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2580
3183
|
name: z.ZodOptional<z.ZodString>;
|
|
2581
3184
|
state: z.ZodEnum<{
|
|
2582
3185
|
failed: "failed";
|
|
3186
|
+
idle: "idle";
|
|
3187
|
+
waiting: "waiting";
|
|
2583
3188
|
done: "done";
|
|
2584
3189
|
unfinished: "unfinished";
|
|
2585
|
-
idle: "idle";
|
|
2586
3190
|
executing: "executing";
|
|
2587
|
-
waiting: "waiting";
|
|
2588
3191
|
parked: "parked";
|
|
2589
3192
|
}>;
|
|
2590
3193
|
phaseName: z.ZodOptional<z.ZodString>;
|
|
@@ -2645,21 +3248,21 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2645
3248
|
runId: z.ZodString;
|
|
2646
3249
|
label: z.ZodString;
|
|
2647
3250
|
labelSource: z.ZodEnum<{
|
|
2648
|
-
script: "script";
|
|
2649
3251
|
name: "name";
|
|
3252
|
+
script: "script";
|
|
2650
3253
|
}>;
|
|
2651
3254
|
status: z.ZodEnum<{
|
|
3255
|
+
completed: "completed";
|
|
2652
3256
|
pending: "pending";
|
|
2653
3257
|
running: "running";
|
|
2654
|
-
completed: "completed";
|
|
2655
|
-
stopped: "stopped";
|
|
2656
3258
|
errored: "errored";
|
|
3259
|
+
stopped: "stopped";
|
|
2657
3260
|
}>;
|
|
2658
3261
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
2659
|
-
interrupted: "interrupted";
|
|
2660
3262
|
user: "user";
|
|
2661
3263
|
model: "model";
|
|
2662
3264
|
provider: "provider";
|
|
3265
|
+
interrupted: "interrupted";
|
|
2663
3266
|
superseded: "superseded";
|
|
2664
3267
|
}>>;
|
|
2665
3268
|
ownedByThisSession: z.ZodBoolean;
|
|
@@ -2720,8 +3323,11 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2720
3323
|
message: z.ZodString;
|
|
2721
3324
|
}, z.core.$strip>>;
|
|
2722
3325
|
progress: z.ZodOptional<z.ZodObject<{
|
|
2723
|
-
bytes: z.ZodNumber
|
|
3326
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
2724
3327
|
previewLine: z.ZodOptional<z.ZodString>;
|
|
3328
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
3329
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
3330
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2725
3331
|
updatedAt: z.ZodNumber;
|
|
2726
3332
|
}, z.core.$strip>>;
|
|
2727
3333
|
outputPreview: z.ZodOptional<z.ZodObject<{
|
|
@@ -2760,11 +3366,11 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2760
3366
|
displayName: z.ZodString;
|
|
2761
3367
|
artifactType: z.ZodEnum<{
|
|
2762
3368
|
text: "text";
|
|
3369
|
+
image: "image";
|
|
2763
3370
|
pdf: "pdf";
|
|
2764
3371
|
pptx: "pptx";
|
|
2765
3372
|
docx: "docx";
|
|
2766
3373
|
xlsx: "xlsx";
|
|
2767
|
-
image: "image";
|
|
2768
3374
|
html: "html";
|
|
2769
3375
|
md: "md";
|
|
2770
3376
|
}>;
|
|
@@ -2795,10 +3401,10 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2795
3401
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
2796
3402
|
subagentType: z.ZodString;
|
|
2797
3403
|
status: z.ZodEnum<{
|
|
2798
|
-
running: "running";
|
|
2799
|
-
failed: "failed";
|
|
2800
|
-
success: "success";
|
|
2801
3404
|
cancelled: "cancelled";
|
|
3405
|
+
success: "success";
|
|
3406
|
+
failed: "failed";
|
|
3407
|
+
running: "running";
|
|
2802
3408
|
}>;
|
|
2803
3409
|
summaryText: z.ZodString;
|
|
2804
3410
|
childSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -2837,9 +3443,9 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2837
3443
|
}>;
|
|
2838
3444
|
hookCount: z.ZodNumber;
|
|
2839
3445
|
state: z.ZodEnum<{
|
|
2840
|
-
running: "running";
|
|
2841
|
-
completed: "completed";
|
|
2842
3446
|
failed: "failed";
|
|
3447
|
+
completed: "completed";
|
|
3448
|
+
running: "running";
|
|
2843
3449
|
}>;
|
|
2844
3450
|
startedAt: z.ZodNumber;
|
|
2845
3451
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2855,16 +3461,16 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2855
3461
|
hookIndex: z.ZodNumber;
|
|
2856
3462
|
didExecute: z.ZodBoolean;
|
|
2857
3463
|
state: z.ZodEnum<{
|
|
2858
|
-
running: "running";
|
|
2859
|
-
completed: "completed";
|
|
2860
3464
|
failed: "failed";
|
|
3465
|
+
completed: "completed";
|
|
3466
|
+
running: "running";
|
|
2861
3467
|
}>;
|
|
2862
3468
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
2863
|
-
failed: "failed";
|
|
2864
|
-
success: "success";
|
|
2865
3469
|
cancelled: "cancelled";
|
|
2866
|
-
|
|
3470
|
+
success: "success";
|
|
3471
|
+
failed: "failed";
|
|
2867
3472
|
blocked: "blocked";
|
|
3473
|
+
timed_out: "timed_out";
|
|
2868
3474
|
}>>;
|
|
2869
3475
|
blockReason: z.ZodOptional<z.ZodString>;
|
|
2870
3476
|
startedAt: z.ZodNumber;
|
|
@@ -2872,9 +3478,9 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2872
3478
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2873
3479
|
displayName: z.ZodString;
|
|
2874
3480
|
sourceKind: z.ZodEnum<{
|
|
3481
|
+
plugin: "plugin";
|
|
2875
3482
|
user: "user";
|
|
2876
3483
|
project: "project";
|
|
2877
|
-
plugin: "plugin";
|
|
2878
3484
|
}>;
|
|
2879
3485
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
2880
3486
|
toolName: z.ZodOptional<z.ZodString>;
|
|
@@ -2911,10 +3517,10 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2911
3517
|
manual: "manual";
|
|
2912
3518
|
}>;
|
|
2913
3519
|
status: z.ZodEnum<{
|
|
2914
|
-
running: "running";
|
|
2915
|
-
failed: "failed";
|
|
2916
|
-
success: "success";
|
|
2917
3520
|
cancelled: "cancelled";
|
|
3521
|
+
success: "success";
|
|
3522
|
+
failed: "failed";
|
|
3523
|
+
running: "running";
|
|
2918
3524
|
noop: "noop";
|
|
2919
3525
|
}>;
|
|
2920
3526
|
tokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2950,8 +3556,8 @@ export declare const conversationRowSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2950
3556
|
type: z.ZodLiteral<"goalVerify">;
|
|
2951
3557
|
iteration: z.ZodNumber;
|
|
2952
3558
|
outcome: z.ZodEnum<{
|
|
2953
|
-
running: "running";
|
|
2954
3559
|
failed: "failed";
|
|
3560
|
+
running: "running";
|
|
2955
3561
|
pass: "pass";
|
|
2956
3562
|
notSatisfied: "notSatisfied";
|
|
2957
3563
|
}>;
|