@chatcode/chatcode-cli 3.0.5 → 3.0.6-rc.2
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/README.i18n.yaml +6 -6
- package/README.md +7 -0
- package/README.zh.md +7 -0
- package/lib/bin.js +19 -5
- package/lib/{command-errors-CnbcOM1a.js → command-errors-vCFKCJFq.js} +12 -12
- package/lib/{command-trees-CU7BxVJo.js → command-trees-N2_LR4f-.js} +2 -2
- package/lib/{component-identity-kZK1_hFy.js → component-identity-CaV_MmmE.js} +3 -3
- package/lib/desktop-history-B0iUekXf.js +72 -0
- package/lib/desktop-history-DvgkONgj.js +2 -0
- package/lib/{dump-config-D8kXfdTs.js → dump-config-CgIYHBp2.js} +1 -1
- package/lib/dump-config-D6TruNva.js +2 -0
- package/lib/{dump-config-schema-CtZbroi6.js → dump-config-schema-GiAtkJwx.js} +2 -2
- package/lib/{extension-events-hLxwPvpg.js → extension-events-B5qKP0-X.js} +20 -20
- package/lib/{host-access-kT-u85k_.js → host-access-BRXW3V8i.js} +1 -1
- package/lib/{keymap-DS1M8sDo.js → keymap-BYjklwli.js} +2 -2
- package/lib/{plugin-CYw-MBRn.js → plugin-BACkrsVG.js} +1 -1
- package/lib/{plugin-d65VulBk.js → plugin-VYAv2o0K.js} +498 -348
- package/lib/{profile-boot-CffsubnV.js → profile-boot-c5YKtUIb.js} +17 -4
- package/lib/profile-boot.js +1 -1
- package/lib/{scenes-DG6T8t-A.js → scenes-B-iDMpgW.js} +3 -3
- package/lib/{settings-sections-2SuE0biI.js → settings-sections-CYCrZKUk.js} +3 -3
- package/lib/{statusBarSettings-B2MEAwnI.js → statusBarSettings-Cu-b_o4Q.js} +3 -3
- package/lib/{themes-DUO7kGW-.js → themes-DC9GpV6q.js} +12 -12
- package/lib/tui-compat-command-trees.js +1 -1
- package/lib/tui-compat-extensions.js +3 -3
- package/lib/tui-compat-plugin-host.js +5 -5
- package/lib/tui-compat-scenes.js +1 -1
- package/lib/tui-compat-settings-sections.js +1 -1
- package/lib/tui-compat-working-activity.js +1 -1
- package/lib/tui-compat-workspaces.js +1 -1
- package/lib/tui-compat.js +6 -6
- package/lib/types/args.d.ts +8 -1
- package/lib/types/desktop-history.d.ts +31 -0
- package/lib/types/installed-bin.d.ts +9 -0
- package/lib/{workspaces-CLOkL_yE.js → workspaces-BchdRzlw.js} +2 -2
- package/package.json +26 -26
- package/runtime/manifest.json +3 -2
- package/runtime/node_modules/@chatcode/runtime-client/README.md +225 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-history-guard.mjs +65 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-history.mjs +278 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-permission-gate.mjs +28 -0
- package/runtime/node_modules/@chatcode/runtime-client/execution.mjs +593 -0
- package/runtime/node_modules/@chatcode/runtime-client/index.d.ts +449 -0
- package/runtime/node_modules/@chatcode/runtime-client/model-preferences.mjs +57 -0
- package/runtime/node_modules/@chatcode/runtime-client/package.json +53 -0
- package/runtime/node_modules/@chatcode/runtime-client/runtime-connector.mjs +736 -0
- package/runtime/node_modules/@chatcode/runtime-client/session-activity.mjs +121 -0
- package/runtime/node_modules/@chatcode/runtime-client/session-browser.mjs +122 -0
- package/runtime/node_modules/@chatcode/runtime-client/stdio-bridge.mjs +103 -0
- package/runtime/node_modules/@chatcode/runtime-client/user-questions.mjs +108 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts +69 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts +68 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/index.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/runtime-types.d.ts +12 -3
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +69 -17
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/invariant.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/agent.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/inbox.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +164 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +460 -79
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +636 -44
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +483 -55
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.d.ts +19 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +377 -40
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +24 -4
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +97 -15
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.d.ts +11 -2
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +172 -18
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.d.ts +104 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.d.ts +105 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +4 -4
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.d.ts +88 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +230 -6
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.d.ts +64 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.js +79 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.d.ts +45 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +93 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/bundle-platform.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/startup-diagnostics.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/client/socket.d.ts +50 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/connect-protocol.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/peer.d.ts +36 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/de.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/es.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/fr.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ja.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/pt.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ru.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/assets.d.ts +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/notify.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/release-change.d.ts +44 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/CreatePluginMenuItem.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/analytics.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalCard.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalWarning.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/PixelWhale.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/artwork.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/code-fill.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/renderer.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ChatFlow.d.ts +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ReasoningContent.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningStatus.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningWhaleTail.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/UserContent.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/flow-motion.d.ts +110 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-interaction.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-selection.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/contract/group-tree.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/conversation-nodes/group-tree-segments.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/file-path.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/reasoning-text.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/types/client/option-groups.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/text-interaction.d.ts +31 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/user-text.d.ts +60 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/interaction-registry.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-document.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-registry.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/draft.d.ts +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/CommandChip.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/QuoteNode.d.ts +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-node.d.ts +87 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-selection.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/prompt.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/submission-analytics.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/UserText.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/session-reference-rule.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/whitespace-rules.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/view-pins.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/GoalCommandReference.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/user-text-rules.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/provider-order.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/context-menus.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/open-toast.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/outcome.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/session-open-with.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/BundleDetailSection.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/PluginRefreshToast.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/detail-store.d.ts +76 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/header-scroll.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/sanitize-install-input.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/tab-ledger.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/versions.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/AnimatedRows.module.css +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DetailDocument.module.css +67 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/QuotePreview.module.css +101 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RowDragPreview.module.css +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/UserMessageBubble.module.css +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ZoomControls.module.css +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/AnimatedRows.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DetailDocument.d.ts +78 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DraggableImage.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuRow.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/QuotePreview.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SubmenuPanel.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/UserMessageBubble.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ZoomControls.d.ts +27 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/document-zoom.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-drag-actions.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/artwork.d.ts +426 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/image-drag.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/copy-tex.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/quote-text.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/windows-path-destinations.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/menu-submenu-position.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/tooltip-placement.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-clipboard-copy.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useMenuSubmenu.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useRowDragPreview.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/FileReference.d.ts +29 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/user-text-rules.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/NewSessionLimit.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/RuleSelectRow.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/ScheduleEmptyIllustration.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskEditorFields.d.ts +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskRuleControls.d.ts +50 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/clear-ended.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-store.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-timing.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/task-record.d.ts +30 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/account-avatar.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/browser-login.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/notice-transition.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/onboarding-settings.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/DesktopChannelRow.d.ts +31 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/HostReleasePrompt.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-channel-source.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ApiKeyInput.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ModelReasoningEfforts.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/useModelRows.d.ts +41 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/PanelIcon.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/panel-pins.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/scroll-handoff.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.frontmatter-fields.js +5768 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/PreviewFrame.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/image/pan.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter-fields.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileNavigator.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileTree.d.ts +114 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/NavigatorToggle.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/navigator-layout.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/workspace-tree.d.ts +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/TabMenuContent.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/flash.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/GuideMoreIcon.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/guide-pins.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/SkillReference.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/user-text-rules.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/slots.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontFamilyRow.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontSettingsGroup.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/icon-sprite.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/ExitCodeBadge.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/QuestionToolRow.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/file-menu.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/models/recorded-path.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/client/watch-tool-result.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/types.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/QuestionReplyView.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/question-reply.d.ts +74 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/contract/toast.d.ts +67 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/path-suffix.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/WorkspaceDialogs.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/SessionMenu.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/context-menus.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/Toast.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/register.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.d.ts +46 -0
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
- package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +11 -8
- package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/index.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +10 -10
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/types/locales.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/MicrophonePicker.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/failure-text.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/microphone-device.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-Dc3g2Bl1.js} +11 -7
- package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/module-files.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/package-manifest.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/index.js +241 -64
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +26 -11
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.js +5 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.d.ts +30 -6
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +109 -8
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/message.d.ts +5 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.d.ts +5 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.js +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/types.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +19 -7
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/credential.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listed-catalog.d.ts +56 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-cache.d.ts +71 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-config.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing.d.ts +91 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol-adapter.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +149 -28
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/adapter.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/prompt-options.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.generated.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/types.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.d.ts +87 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.d.ts +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +4 -4
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.js +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.d.ts +27 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.js +65 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.js +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/config.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/configuration.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/async-function.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/index.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/repl.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/types.d.ts +68 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script-await.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/execution.d.ts +66 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/evaluation-ended.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/module-hooks.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/vm-modules.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process-entry.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/policy-processes.d.ts +30 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/rpc.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/worker.d.ts +66 -0
- package/runtime/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +215 -9
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox/lib/types/locales.d.ts +41 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types/acl-skill.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-Ci-q7_aQ.js → types-DwkEVVWZ.js} +357 -81
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-activity.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-content.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-input.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/user-questions.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/request-header.js +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/types.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/CopyToast.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/copy-controller.d.ts +76 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/markdown.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +197 -9
- package/runtime/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.d.ts +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.d.ts +232 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1250 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.d.ts +56 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/types/linux-scope-selector.d.ts +60 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +215 -9
- package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.d.ts +74 -0
- package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.js +94 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/types/timed.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-output.d.ts +140 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-presentation.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/mutation-result.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/execute.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/index.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/plan.d.ts +52 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/preflight.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/types.d.ts +106 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent/lib/types/preset-selection.d.ts +36 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.js +104 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.js +246 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.d.ts +376 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.js +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.d.ts +58 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.js +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.d.ts +90 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.js +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.d.ts +154 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.js +701 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.js +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.js +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.js +143 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.d.ts +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/cron.d.ts +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/duration.d.ts +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/instant.d.ts +145 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/recurrence.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/rrule.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-values/lib/types/partial-json.d.ts +152 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-app/lib/types/public-url.d.ts +16 -0
- package/lib/dump-config-DuCc-QB7.js +0 -2
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.d.ts +0 -26
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/watch-config.d.ts +0 -13
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/types/ImageLightbox.d.ts +0 -27
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/queue.d.ts +0 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/queue-store.d.ts +0 -20
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/ProducedFiles.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/icons.d.ts +0 -8
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -29
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-contract.d.ts +0 -86
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-scope.d.ts +0 -141
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-update-bridge.d.ts +0 -23
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/AgentLoopCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/BashCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/ConfigurablePluginsTab.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginCard.d.ts +0 -42
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginConfigForm.d.ts +0 -34
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentLimitsFields.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionFields.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/WebSearchCard.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/agent-loop-card-controller.d.ts +0 -43
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/bash-card-controller.d.ts +0 -45
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/card-form.d.ts +0 -171
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/fields.d.ts +0 -69
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/slot-contract.d.ts +0 -31
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-card-controller.d.ts +0 -32
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-limits-card-controller.d.ts +0 -33
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-model-selection-card-controller.d.ts +0 -129
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/tab-store.d.ts +0 -65
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/web-search-card-controller.d.ts +0 -93
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/code/languages.d.ts +0 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/icons.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/pdf/PdfBody.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/types/client/TerminalBody.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/subagent-lineage.d.ts +0 -21
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/subagent-lineage.d.ts +0 -21
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/defaults.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-id.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-store.d.ts +0 -86
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/files-api.d.ts +0 -111
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/image-tokens.d.ts +0 -34
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/messages-api.d.ts +0 -10
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/model-info.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/models.d.ts +0 -4
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-extensions.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-files.d.ts +0 -49
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-pricing.d.ts +0 -60
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/types.d.ts +0 -119
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/upload-index.d.ts +0 -68
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/adapter.d.ts +0 -45
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/serialize.d.ts +0 -78
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/sse.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/translate.d.ts +0 -37
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/types.d.ts +0 -178
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/adapter.d.ts +0 -47
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/images.d.ts +0 -35
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/replay.d.ts +0 -27
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/serialize.d.ts +0 -18
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/sse.d.ts +0 -8
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/translate.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/transport.d.ts +0 -15
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/types.d.ts +0 -62
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.d.ts +0 -35
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.d.ts +0 -10
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.d.ts +0 -28
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.js +0 -25
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.d.ts +0 -93
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.js +0 -303
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.d.ts +0 -3
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.js +0 -5
|
@@ -175,6 +175,25 @@ function assertNever(value, context) {
|
|
|
175
175
|
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
+
* Compare JSON-compatible values structurally.
|
|
179
|
+
* @param a - one JSON-compatible value.
|
|
180
|
+
* @param b - the other JSON-compatible value.
|
|
181
|
+
* @returns whether both values contain the same JSON data.
|
|
182
|
+
*/
|
|
183
|
+
function deepEqualJson(a, b) {
|
|
184
|
+
if (a === b) return true;
|
|
185
|
+
if (typeof a !== "object" || typeof b !== "object" || a === null || b === null) return false;
|
|
186
|
+
if (Array.isArray(a) || Array.isArray(b)) {
|
|
187
|
+
if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
|
|
188
|
+
return a.every((entry, index) => deepEqualJson(entry, b[index]));
|
|
189
|
+
}
|
|
190
|
+
const left = a;
|
|
191
|
+
const right = b;
|
|
192
|
+
const keys = Object.keys(left);
|
|
193
|
+
if (keys.length !== Object.keys(right).length) return false;
|
|
194
|
+
return keys.every((key) => key in right && deepEqualJson(left[key], right[key]));
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
178
197
|
* Deep-freeze an object graph in place while leaving live AbortSignal objects mutable.
|
|
179
198
|
* @param value - value to freeze.
|
|
180
199
|
* @returns the same value after every reachable enumerable child is frozen.
|
|
@@ -422,8 +441,36 @@ function resolveRetryPolicy(config, path) {
|
|
|
422
441
|
}
|
|
423
442
|
}
|
|
424
443
|
//#endregion
|
|
444
|
+
//#region ../../llm/llm/src/brand.ts
|
|
445
|
+
/**
|
|
446
|
+
* dsh-llm's owned branded ids: tool-call correlation and provider request
|
|
447
|
+
* diagnostics.
|
|
448
|
+
*
|
|
449
|
+
* The `Branded<B>` primitive and stateless constructor live in
|
|
450
|
+
* `@deepseek-ai/dsh-brand` so every owner of a cross-boundary id can brand it
|
|
451
|
+
* without depending on dsh-llm; see that package's README for the
|
|
452
|
+
* nominal-typing policy.
|
|
453
|
+
*
|
|
454
|
+
* @module @deepseek-ai/dsh-llm/brand
|
|
455
|
+
*/
|
|
456
|
+
/**
|
|
457
|
+
* Brand an adapter-owned reasoning-effort identifier.
|
|
458
|
+
* @param id - the opaque identifier exposed by one model capability.
|
|
459
|
+
* @returns the same string, branded; no validation is performed.
|
|
460
|
+
*/
|
|
461
|
+
function ReasoningEffortId(id) {
|
|
462
|
+
return brandString(id);
|
|
463
|
+
}
|
|
464
|
+
//#endregion
|
|
425
465
|
//#region ../../llm/llm/src/call-config.ts
|
|
426
466
|
/**
|
|
467
|
+
* Conversation call configuration and freeze utilities. Provider routing,
|
|
468
|
+
* model, reasoning effort, and sampling values are request-header state that
|
|
469
|
+
* can affect cache reuse; request waterfalls replace them and the loop logs
|
|
470
|
+
* changed snapshots instead of allowing silent per-call drift.
|
|
471
|
+
* @module dsh-llm/call-config
|
|
472
|
+
*/
|
|
473
|
+
/**
|
|
427
474
|
* Field-wise equality over {@link LlmCallConfig} — the comparison a caller
|
|
428
475
|
* runs to decide whether a proposed configuration is a real change (worth a
|
|
429
476
|
* logged header snapshot) or the held one restated.
|
|
@@ -432,7 +479,7 @@ function resolveRetryPolicy(config, path) {
|
|
|
432
479
|
* @returns whether every field (including the `stop` list, element-wise) matches.
|
|
433
480
|
*/
|
|
434
481
|
function callConfigEquals(a, b) {
|
|
435
|
-
if (a.provider !== b.provider || a.model !== b.model || a.reasoningEffort !== b.reasoningEffort || a.temperature !== b.temperature || a.maxTokens !== b.maxTokens) return false;
|
|
482
|
+
if (a.provider !== b.provider || a.model !== b.model || a.reasoningEffort !== b.reasoningEffort || a.temperature !== b.temperature || a.maxTokens !== b.maxTokens || a.contextWindow !== b.contextWindow || a.protocol !== b.protocol || !deepEqualJson(a.protocolOptions, b.protocolOptions)) return false;
|
|
436
483
|
if (a.stop === void 0 || b.stop === void 0) return a.stop === b.stop;
|
|
437
484
|
return a.stop.length === b.stop.length && a.stop.every((s, i) => s === b.stop?.[i]);
|
|
438
485
|
}
|
|
@@ -522,6 +569,93 @@ function harnessErrorCode(error) {
|
|
|
522
569
|
return error instanceof HarnessError ? error.code : "UNKNOWN";
|
|
523
570
|
}
|
|
524
571
|
//#endregion
|
|
572
|
+
//#region ../../llm/llm/src/prompt-protocol-options.ts
|
|
573
|
+
const requestFields = new Set([
|
|
574
|
+
"model",
|
|
575
|
+
"provider",
|
|
576
|
+
"messages",
|
|
577
|
+
"contents",
|
|
578
|
+
"input",
|
|
579
|
+
"prompt",
|
|
580
|
+
"system",
|
|
581
|
+
"instructions",
|
|
582
|
+
"systeminstruction",
|
|
583
|
+
"stream",
|
|
584
|
+
"streamoptions",
|
|
585
|
+
"tools",
|
|
586
|
+
"toolchoice",
|
|
587
|
+
"toolconfig",
|
|
588
|
+
"functions",
|
|
589
|
+
"functioncall",
|
|
590
|
+
"paralleltoolcalls",
|
|
591
|
+
"plugins",
|
|
592
|
+
"mcpservers",
|
|
593
|
+
"previousresponseid",
|
|
594
|
+
"conversation",
|
|
595
|
+
"cachedcontent",
|
|
596
|
+
"store",
|
|
597
|
+
"background",
|
|
598
|
+
"n",
|
|
599
|
+
"temperature",
|
|
600
|
+
"maxtokens",
|
|
601
|
+
"maxcompletiontokens",
|
|
602
|
+
"maxoutputtokens",
|
|
603
|
+
"contextwindow",
|
|
604
|
+
"user",
|
|
605
|
+
"safetyidentifier",
|
|
606
|
+
"sessionid",
|
|
607
|
+
"promptcachekey",
|
|
608
|
+
"promptcacheretention"
|
|
609
|
+
]);
|
|
610
|
+
const privateFields = new Set([
|
|
611
|
+
"authorization",
|
|
612
|
+
"apikey",
|
|
613
|
+
"xapikey",
|
|
614
|
+
"xgoogapikey",
|
|
615
|
+
"accesstoken",
|
|
616
|
+
"refreshtoken",
|
|
617
|
+
"credentials",
|
|
618
|
+
"clientsecret",
|
|
619
|
+
"password",
|
|
620
|
+
"secret",
|
|
621
|
+
"token",
|
|
622
|
+
"headers",
|
|
623
|
+
"extraheaders",
|
|
624
|
+
"defaultheaders",
|
|
625
|
+
"httpoptions",
|
|
626
|
+
"extrabody",
|
|
627
|
+
"betas",
|
|
628
|
+
"baseurl",
|
|
629
|
+
"endpoint",
|
|
630
|
+
"url",
|
|
631
|
+
"proxy",
|
|
632
|
+
"signal",
|
|
633
|
+
"abortsignal",
|
|
634
|
+
"constructor",
|
|
635
|
+
"prototype",
|
|
636
|
+
"proto"
|
|
637
|
+
]);
|
|
638
|
+
/** Return the first field that would cross the Runtime's generation boundary. */
|
|
639
|
+
function unsafePromptProtocolField(options) {
|
|
640
|
+
for (const [name, value] of Object.entries(options ?? {})) {
|
|
641
|
+
const field = `protocolOptions.${name}`;
|
|
642
|
+
if (requestFields.has(name.toLowerCase().replace(/[^a-z0-9]/gu, "")) || /^dsh_/iu.test(name)) return field;
|
|
643
|
+
const pending = [{
|
|
644
|
+
name,
|
|
645
|
+
value,
|
|
646
|
+
depth: 0
|
|
647
|
+
}];
|
|
648
|
+
for (let item = pending.pop(); item !== void 0; item = pending.pop()) {
|
|
649
|
+
if (item.depth > 32 || privateFields.has(item.name.toLowerCase().replace(/[^a-z0-9]/gu, ""))) return field;
|
|
650
|
+
if (typeof item.value === "object" && item.value !== null) for (const [key, child] of Object.entries(item.value)) pending.push({
|
|
651
|
+
name: key,
|
|
652
|
+
value: child,
|
|
653
|
+
depth: item.depth + 1
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
//#endregion
|
|
525
659
|
//#region ../../llm/llm/src/content.ts
|
|
526
660
|
function quoted(value) {
|
|
527
661
|
return JSON.stringify(value);
|
|
@@ -791,6 +925,14 @@ var LlmError = class extends HarnessError {
|
|
|
791
925
|
});
|
|
792
926
|
}
|
|
793
927
|
};
|
|
928
|
+
/**
|
|
929
|
+
* Guard Runtime-owned request fields and credentials before persisting protocol options.
|
|
930
|
+
* @param options - Adapter-owned generation parameters supplied for the current turn.
|
|
931
|
+
*/
|
|
932
|
+
function validatePromptProtocolOptions(options) {
|
|
933
|
+
const field = unsafePromptProtocolField(options);
|
|
934
|
+
if (field !== void 0) throw new LlmError(field, "UNSUPPORTED_OPTION");
|
|
935
|
+
}
|
|
794
936
|
(() => {
|
|
795
937
|
let _classSuper = TypertRemoteService;
|
|
796
938
|
let _instanceExtraInitializers = [];
|
|
@@ -1214,6 +1356,47 @@ var LlmError = class extends HarnessError {
|
|
|
1214
1356
|
const info = await this.resolveModelInfoFor(registration, config.model, signal);
|
|
1215
1357
|
return this.resolveCallWithInfo(config, info);
|
|
1216
1358
|
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Resolve prompt controls before queue admission, without contacting the upstream API.
|
|
1361
|
+
* @param request - Validated JSON model configuration from the prompt transport.
|
|
1362
|
+
* @returns Controls safe to persist with the queued user message.
|
|
1363
|
+
*/
|
|
1364
|
+
resolvePromptConfig(request) {
|
|
1365
|
+
const { provider, model, protocol, options, protocolOptions } = request;
|
|
1366
|
+
const adapter = this.registration(provider).adapter;
|
|
1367
|
+
if (request.apiKey !== void 0 && !adapter.supportsPromptApiKey(provider, model)) throw new LlmError("apiKey", "UNSUPPORTED_OPTION");
|
|
1368
|
+
const config = {
|
|
1369
|
+
provider,
|
|
1370
|
+
model,
|
|
1371
|
+
...protocol === void 0 ? {} : { protocol }
|
|
1372
|
+
};
|
|
1373
|
+
const forwarded = new Map(Object.entries(protocolOptions ?? {}));
|
|
1374
|
+
for (const [key, value] of Object.entries(options)) {
|
|
1375
|
+
const invalid = () => new LlmError(`options.${key}`, "UNSUPPORTED_OPTION");
|
|
1376
|
+
if (forwarded.has(key)) throw invalid();
|
|
1377
|
+
switch (key) {
|
|
1378
|
+
case "temperature":
|
|
1379
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value < 0) throw invalid();
|
|
1380
|
+
config.temperature = value;
|
|
1381
|
+
break;
|
|
1382
|
+
case "contextWindow":
|
|
1383
|
+
case "maxTokens":
|
|
1384
|
+
if (typeof value !== "number" || !Number.isSafeInteger(value) || value <= 0) throw invalid();
|
|
1385
|
+
config[key] = value;
|
|
1386
|
+
break;
|
|
1387
|
+
case "reasoningEffort":
|
|
1388
|
+
if (typeof value !== "string" || value.trim() === "") throw invalid();
|
|
1389
|
+
config.reasoningEffort = ReasoningEffortId(value);
|
|
1390
|
+
break;
|
|
1391
|
+
default: forwarded.set(key, value);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
if (forwarded.size > 0) config.protocolOptions = Object.fromEntries(forwarded);
|
|
1395
|
+
if (config.contextWindow !== void 0 && config.maxTokens !== void 0 && config.maxTokens >= config.contextWindow) throw new LlmError("options.maxTokens", "UNSUPPORTED_OPTION");
|
|
1396
|
+
validatePromptProtocolOptions(config.protocolOptions);
|
|
1397
|
+
adapter.validatePromptProtocol(config);
|
|
1398
|
+
return config;
|
|
1399
|
+
}
|
|
1217
1400
|
/** Validate request controls against one already-bound exact model result. */
|
|
1218
1401
|
resolveCallWithInfo(config, info) {
|
|
1219
1402
|
const defaulted = config.maxTokens === void 0 && info.defaultMaxTokens !== void 0 ? {
|
|
@@ -1235,9 +1418,10 @@ var LlmError = class extends HarnessError {
|
|
|
1235
1418
|
};
|
|
1236
1419
|
}
|
|
1237
1420
|
}
|
|
1421
|
+
const context = config.contextWindow === void 0 ? info.context : { contextWindow: config.contextWindow };
|
|
1238
1422
|
return {
|
|
1239
1423
|
config: resolvedConfig,
|
|
1240
|
-
...
|
|
1424
|
+
...context === void 0 ? {} : { context },
|
|
1241
1425
|
modelInfo: info
|
|
1242
1426
|
};
|
|
1243
1427
|
}
|
|
@@ -1247,10 +1431,12 @@ var LlmError = class extends HarnessError {
|
|
|
1247
1431
|
* so HMR cannot combine one adapter's capability result with another adapter.
|
|
1248
1432
|
* @param config - provider/model route and optional request controls.
|
|
1249
1433
|
* @param signal - optional cancellation for adapter-owned capability lookup.
|
|
1434
|
+
* @param promptApiKey - in-memory credential bound to this call and kept out of request events.
|
|
1250
1435
|
* @returns a prepared config and its registration-bound stream entry point.
|
|
1251
1436
|
*/
|
|
1252
|
-
async prepareCall(config, signal) {
|
|
1437
|
+
async prepareCall(config, signal, promptApiKey) {
|
|
1253
1438
|
const registration = this.registration(config.provider);
|
|
1439
|
+
if (promptApiKey !== void 0 && !registration.adapter.supportsPromptApiKey(config.provider, config.model)) throw new LlmError("This model route cannot use a prompt API key", "UNSUPPORTED_OPTION");
|
|
1254
1440
|
const adapterCall = await registration.adapter.prepareCall(config.provider, config.model, signal);
|
|
1255
1441
|
const modelInfo = this.normalizeModelInfo(registration, config.model, adapterCall.model);
|
|
1256
1442
|
const resolved = this.resolveCallWithInfo(config, modelInfo);
|
|
@@ -1277,7 +1463,8 @@ var LlmError = class extends HarnessError {
|
|
|
1277
1463
|
registration,
|
|
1278
1464
|
config: resolvedConfig,
|
|
1279
1465
|
modelInfo,
|
|
1280
|
-
dispatch: (options) => adapterCall.stream(options)
|
|
1466
|
+
dispatch: (options) => adapterCall.stream(options, promptApiKey),
|
|
1467
|
+
...promptApiKey === void 0 ? {} : { promptApiKey }
|
|
1281
1468
|
});
|
|
1282
1469
|
}
|
|
1283
1470
|
});
|
|
@@ -1371,7 +1558,7 @@ var LlmError = class extends HarnessError {
|
|
|
1371
1558
|
}
|
|
1372
1559
|
iterator = dispatch(this.forAdapter(projectedOptions, adapter))[Symbol.asyncIterator]();
|
|
1373
1560
|
} catch (error) {
|
|
1374
|
-
yield adapterFailureChunk(error, options.signal);
|
|
1561
|
+
yield adapterFailureChunk(error, options.signal, prepared?.promptApiKey);
|
|
1375
1562
|
return;
|
|
1376
1563
|
}
|
|
1377
1564
|
let completed = false;
|
|
@@ -1386,14 +1573,23 @@ var LlmError = class extends HarnessError {
|
|
|
1386
1573
|
};
|
|
1387
1574
|
} catch (error) {
|
|
1388
1575
|
completed = true;
|
|
1389
|
-
yield adapterFailureChunk(error, options.signal);
|
|
1576
|
+
yield adapterFailureChunk(error, options.signal, prepared?.promptApiKey);
|
|
1390
1577
|
return;
|
|
1391
1578
|
}
|
|
1392
1579
|
if (item.done) {
|
|
1393
1580
|
completed = true;
|
|
1394
1581
|
return;
|
|
1395
1582
|
}
|
|
1396
|
-
|
|
1583
|
+
const chunk = item.value;
|
|
1584
|
+
const key = prepared?.promptApiKey;
|
|
1585
|
+
if (key !== void 0 && chunk.type === "finish" && (chunk.reason.kind === "error" || chunk.reason.kind === "aborted")) yield {
|
|
1586
|
+
...chunk,
|
|
1587
|
+
reason: {
|
|
1588
|
+
...chunk.reason,
|
|
1589
|
+
failure: redactPromptFailure(chunk.reason.failure, key)
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
else yield chunk;
|
|
1397
1593
|
}
|
|
1398
1594
|
} finally {
|
|
1399
1595
|
if (!completed) {
|
|
@@ -1422,8 +1618,9 @@ var LlmError = class extends HarnessError {
|
|
|
1422
1618
|
};
|
|
1423
1619
|
})();
|
|
1424
1620
|
/** Convert one adapter throw into the stream protocol's terminal outcome. */
|
|
1425
|
-
function adapterFailureChunk(error, signal) {
|
|
1426
|
-
const
|
|
1621
|
+
function adapterFailureChunk(error, signal, promptApiKey) {
|
|
1622
|
+
const normalized = normalizeLlmFailure(error);
|
|
1623
|
+
const failure = promptApiKey === void 0 ? normalized : redactPromptFailure(normalized, promptApiKey);
|
|
1427
1624
|
return {
|
|
1428
1625
|
type: "finish",
|
|
1429
1626
|
reason: signal?.aborted || failure.code === "ABORTED" ? {
|
|
@@ -1435,6 +1632,15 @@ function adapterFailureChunk(error, signal) {
|
|
|
1435
1632
|
}
|
|
1436
1633
|
};
|
|
1437
1634
|
}
|
|
1635
|
+
function redactPromptFailure(failure, apiKey) {
|
|
1636
|
+
const { message, code, requestId, ...rest } = failure;
|
|
1637
|
+
return {
|
|
1638
|
+
...rest,
|
|
1639
|
+
message: message.replaceAll(apiKey, "[redacted]"),
|
|
1640
|
+
code: code.includes(apiKey) ? "PROVIDER_ERROR" : code,
|
|
1641
|
+
...requestId === void 0 || requestId.includes(apiKey) ? {} : { requestId }
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1438
1644
|
//#endregion
|
|
1439
1645
|
//#region lib/types/index.js
|
|
1440
1646
|
/**
|
package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.d.ts
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/** Fixed-size recovery facts; positional attachment prices remain a rebuildable cache. */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { TokenUsage } from '@deepseek-ai/dsh-llm';
|
|
4
|
+
import { SessionSeq } from '@deepseek-ai/dsh-session';
|
|
5
|
+
import type { SessionEvent } from '@deepseek-ai/dsh-session';
|
|
6
|
+
declare const measurementStateSchema: z.ZodObject<{
|
|
7
|
+
headerSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
8
|
+
stepStart: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
turn: z.ZodNumber;
|
|
10
|
+
step: z.ZodNumber;
|
|
11
|
+
}, z.core.$strict>>;
|
|
12
|
+
anchor: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
headerSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
14
|
+
assistantTokens: z.ZodNumber;
|
|
15
|
+
usage: z.ZodNullable<z.ZodCustom<TokenUsage, TokenUsage>>;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
invalidSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
/** One header reference, one open step, and the latest successful call's usage facts. */
|
|
20
|
+
export type MeasurementState = z.infer<typeof measurementStateSchema>;
|
|
21
|
+
/**
|
|
22
|
+
* Advance one measurement prefix without mutating its previous state.
|
|
23
|
+
* @param state - measurement facts before the candidate event.
|
|
24
|
+
* @param event - next committed journal event.
|
|
25
|
+
* @returns updated measurement facts.
|
|
26
|
+
* @throws the original measurement error for invalid boundaries or payloads.
|
|
27
|
+
*/
|
|
28
|
+
export declare function advanceMeasurement(state: MeasurementState, event: SessionEvent): MeasurementState;
|
|
29
|
+
/** Host-only measurement facts, independent of session and surface length. */
|
|
30
|
+
export declare const measurementProjectionDefinition: {
|
|
31
|
+
key: "tokenMeasurement";
|
|
32
|
+
stateVersion: number;
|
|
33
|
+
stateSchema: z.ZodObject<{
|
|
34
|
+
headerSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
35
|
+
stepStart: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
turn: z.ZodNumber;
|
|
37
|
+
step: z.ZodNumber;
|
|
38
|
+
}, z.core.$strict>>;
|
|
39
|
+
anchor: z.ZodNullable<z.ZodObject<{
|
|
40
|
+
headerSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
41
|
+
assistantTokens: z.ZodNumber;
|
|
42
|
+
usage: z.ZodNullable<z.ZodCustom<TokenUsage, TokenUsage>>;
|
|
43
|
+
}, z.core.$strict>>;
|
|
44
|
+
invalidSeq: z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<SessionSeq, number>>>;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
init: () => MeasurementState;
|
|
47
|
+
apply: (state: NoInfer<{
|
|
48
|
+
headerSeq: SessionSeq | null;
|
|
49
|
+
stepStart: {
|
|
50
|
+
turn: number;
|
|
51
|
+
step: number;
|
|
52
|
+
} | null;
|
|
53
|
+
anchor: {
|
|
54
|
+
headerSeq: SessionSeq | null;
|
|
55
|
+
assistantTokens: number;
|
|
56
|
+
usage: TokenUsage | null;
|
|
57
|
+
} | null;
|
|
58
|
+
invalidSeq: SessionSeq | null;
|
|
59
|
+
}>, event: SessionEvent) => {
|
|
60
|
+
headerSeq: SessionSeq | null;
|
|
61
|
+
stepStart: {
|
|
62
|
+
turn: number;
|
|
63
|
+
step: number;
|
|
64
|
+
} | null;
|
|
65
|
+
anchor: {
|
|
66
|
+
headerSeq: SessionSeq | null;
|
|
67
|
+
assistantTokens: number;
|
|
68
|
+
usage: TokenUsage | null;
|
|
69
|
+
} | null;
|
|
70
|
+
invalidSeq: SessionSeq | null;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=measurement-projection.d.ts.map
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/** Fixed-size recovery facts; positional attachment prices remain a rebuildable cache. */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { assembleAssistantStream } from '@deepseek-ai/dsh-llm';
|
|
4
|
+
import { canonicalHeader, deriveEventMessage, SessionSeq } from '@deepseek-ai/dsh-session';
|
|
5
|
+
import { estimateContent, estimateMessage, ROLE_OVERHEAD } from "./estimate.js";
|
|
6
|
+
const seqSchema = z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).transform(SessionSeq);
|
|
7
|
+
const countSchema = z.number();
|
|
8
|
+
const usageFields = z.looseObject({
|
|
9
|
+
inputTokens: countSchema,
|
|
10
|
+
outputTokens: countSchema,
|
|
11
|
+
totalTokens: countSchema.optional(),
|
|
12
|
+
cacheReadTokens: countSchema.optional(),
|
|
13
|
+
cacheWriteTokens: countSchema.optional(),
|
|
14
|
+
reasoningTokens: countSchema.optional(),
|
|
15
|
+
});
|
|
16
|
+
// Keep provider fields and optional-property presence exactly as recorded.
|
|
17
|
+
const usageSchema = z.custom(value => usageFields.safeParse(value).success);
|
|
18
|
+
const measurementStateSchema = z.object({
|
|
19
|
+
headerSeq: seqSchema.nullable(),
|
|
20
|
+
stepStart: z.object({ turn: z.number(), step: z.number() }).strict().nullable(),
|
|
21
|
+
anchor: z.object({
|
|
22
|
+
headerSeq: seqSchema.nullable(),
|
|
23
|
+
assistantTokens: countSchema,
|
|
24
|
+
usage: usageSchema.nullable(),
|
|
25
|
+
}).strict().nullable(),
|
|
26
|
+
invalidSeq: seqSchema.nullable(),
|
|
27
|
+
}).strict();
|
|
28
|
+
/**
|
|
29
|
+
* Advance one measurement prefix without mutating its previous state.
|
|
30
|
+
* @param state - measurement facts before the candidate event.
|
|
31
|
+
* @param event - next committed journal event.
|
|
32
|
+
* @returns updated measurement facts.
|
|
33
|
+
* @throws the original measurement error for invalid boundaries or payloads.
|
|
34
|
+
*/
|
|
35
|
+
export function advanceMeasurement(state, event) {
|
|
36
|
+
switch (event.type) {
|
|
37
|
+
case 'request/header':
|
|
38
|
+
canonicalHeader(event.data.header);
|
|
39
|
+
return { ...state, headerSeq: event.seq };
|
|
40
|
+
case 'step/start':
|
|
41
|
+
if (state.stepStart !== null) {
|
|
42
|
+
throw new Error(`token meter: step/start at seq ${event.seq} arrived before turn ${state.stepStart.turn}/step ${state.stepStart.step} ended`);
|
|
43
|
+
}
|
|
44
|
+
return { ...state, stepStart: { turn: event.data.turn, step: event.data.step } };
|
|
45
|
+
case 'step/end':
|
|
46
|
+
if (state.stepStart === null
|
|
47
|
+
|| state.stepStart.turn !== event.data.turn
|
|
48
|
+
|| state.stepStart.step !== event.data.step) {
|
|
49
|
+
throw new Error(`token meter: step/end at seq ${event.seq} has no matching step/start event`);
|
|
50
|
+
}
|
|
51
|
+
return { ...state, stepStart: null };
|
|
52
|
+
case 'assistant/message': {
|
|
53
|
+
if (state.stepStart === null
|
|
54
|
+
|| state.stepStart.turn !== event.data.turn
|
|
55
|
+
|| state.stepStart.step !== event.data.step) {
|
|
56
|
+
throw new Error(`token meter: assistant/message at seq ${event.seq} has no matching step/start event`);
|
|
57
|
+
}
|
|
58
|
+
let assistantTokens;
|
|
59
|
+
let usage = null;
|
|
60
|
+
if (event.data.usage !== undefined && state.headerSeq !== null) {
|
|
61
|
+
const content = assembleAssistantStream(event.data.stream).blocks();
|
|
62
|
+
assistantTokens = content.length === 0 ? 0 : estimateContent(content) + ROLE_OVERHEAD;
|
|
63
|
+
usage = event.data.usage;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const message = deriveEventMessage(event);
|
|
67
|
+
assistantTokens = message === null ? 0 : estimateMessage(message);
|
|
68
|
+
}
|
|
69
|
+
return { ...state, anchor: { headerSeq: state.headerSeq, assistantTokens, usage } };
|
|
70
|
+
}
|
|
71
|
+
default:
|
|
72
|
+
return state;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/** Host-only measurement facts, independent of session and surface length. */
|
|
76
|
+
export const measurementProjectionDefinition = {
|
|
77
|
+
key: 'tokenMeasurement',
|
|
78
|
+
stateVersion: 2,
|
|
79
|
+
stateSchema: measurementStateSchema,
|
|
80
|
+
init: () => ({ headerSeq: null, stepStart: null, anchor: null, invalidSeq: null }),
|
|
81
|
+
apply: (state, event) => {
|
|
82
|
+
if (state.invalidSeq !== null)
|
|
83
|
+
return state;
|
|
84
|
+
try {
|
|
85
|
+
return advanceMeasurement(state, event);
|
|
86
|
+
}
|
|
87
|
+
catch (_error) {
|
|
88
|
+
// Retain the first failed position. measure() repeats the calculation there
|
|
89
|
+
// to report its original error without blocking unrelated projection units.
|
|
90
|
+
return { ...state, invalidSeq: event.seq };
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=measurement-projection.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opt-in timed `ask_user_question` tool definition.
|
|
3
|
+
*/
|
|
4
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
5
|
+
/** Model-facing meaning of a skipped answer item, shared by the blocking and timed descriptions. */
|
|
6
|
+
export declare const skippedAnswerGuidance: string;
|
|
7
|
+
/**
|
|
8
|
+
* Register the opt-in timed tool definition.
|
|
9
|
+
* @param ctx - Agent-scoped context receiving the tool.
|
|
10
|
+
* @param timeout - Default foreground wait in seconds.
|
|
11
|
+
*/
|
|
12
|
+
export declare function registerTimedAskUser(ctx: Context, timeout?: number): void;
|
|
13
|
+
//# sourceMappingURL=timed.d.ts.map
|
|
@@ -1865,6 +1865,30 @@ export const SERVICE_API = [
|
|
|
1865
1865
|
parameters: [{ name: 'request', description: 'requested identity, location, and Agent preset.' }],
|
|
1866
1866
|
returns: 'the Session identity and resolved preset when configured.',
|
|
1867
1867
|
},
|
|
1868
|
+
{
|
|
1869
|
+
signature: '@Remote(\'workspaceAccess\') async workspaceAccess(request: { sessionId: SessionId }): Promise<{ mode: \'read-only\' | \'workspace-write\' | \'danger-full-access\'; preset: string; approval: \'ask\' | \'never\' }>',
|
|
1870
|
+
description: 'Read the effective Runtime sandbox and approval policy for a Session.',
|
|
1871
|
+
parameters: [{ name: 'request', description: 'existing Session identity; cold Sessions may resume.' }],
|
|
1872
|
+
returns: 'the active sandbox, durable preset name and approval mode.',
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
signature: '@Remote(\'setWorkspaceAccess\') async setWorkspaceAccess(request: { sessionId: SessionId; mode: \'read-only\' | \'workspace-write\' | \'danger-full-access\' }): Promise<{ mode: \'read-only\' | \'workspace-write\' | \'danger-full-access\'; preset: string; approval: \'ask\' | \'never\' }>',
|
|
1876
|
+
description: 'Change the durable permission state used by the Web picker, between tasks only.',
|
|
1877
|
+
parameters: [{ name: 'request', description: 'existing Session identity and requested workspace access.' }],
|
|
1878
|
+
returns: 'the actual policy after persistence; active work or queued inputs are refused.',
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
signature: '@Remote(\'toolCatalog\') async toolCatalog(request: { sessionId: SessionId }): Promise<Array<{ name: string; description: string }>>',
|
|
1882
|
+
description: 'Read the executable Tool names in one resolved Agent scope.',
|
|
1883
|
+
parameters: [{ name: 'request', description: 'existing Session identity; cold Sessions may resume.' }],
|
|
1884
|
+
returns: 'enabled Tool names and descriptions, without execution callbacks.',
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
signature: '@Remote(\'release\') async release(request: SessionCancelRequest): Promise<{ readonly released: true }>',
|
|
1888
|
+
description: 'Release an idle Session\'s writer without stopping other Sessions.',
|
|
1889
|
+
parameters: [{ name: 'request', description: 'ordinary Session identity owned by this controller.' }],
|
|
1890
|
+
returns: 'acknowledgement after persistence has drained and unlocked.',
|
|
1891
|
+
},
|
|
1868
1892
|
{
|
|
1869
1893
|
signature: '@Remote(\'selectModel\') selectModel(request: SessionSelectModelRequest): Promise<SessionSelectModelValue>',
|
|
1870
1894
|
description: 'Select a model after explicitly resuming the Session and awaiting default persistence.',
|
|
@@ -1883,6 +1907,12 @@ export const SERVICE_API = [
|
|
|
1883
1907
|
parameters: [],
|
|
1884
1908
|
returns: 'provider-grouped models, the deployment default, and isolated provider failures.',
|
|
1885
1909
|
},
|
|
1910
|
+
{
|
|
1911
|
+
signature: '@Remote(\'refreshModelCatalog\') async refreshModelCatalog(): Promise<ModelCatalog>',
|
|
1912
|
+
description: 'Refresh account-owned catalogs before returning safe model names and routes.',
|
|
1913
|
+
parameters: [],
|
|
1914
|
+
returns: 'the current registry catalog; refresh failures reject without changing Session selection.',
|
|
1915
|
+
},
|
|
1886
1916
|
{
|
|
1887
1917
|
signature: '@Remote canOpenWorkspacePath(): boolean',
|
|
1888
1918
|
description: 'Report whether this deployment can hand a Session workspace path to a native desktop.',
|
|
@@ -6495,7 +6525,7 @@ export const TYPE_API = [
|
|
|
6495
6525
|
},
|
|
6496
6526
|
{
|
|
6497
6527
|
name: 'SessionCreateRequest',
|
|
6498
|
-
declaration: 'export interface SessionCreateRequest {\n readonly workspaceId?: WorkspaceId;\n readonly cwd?: string;\n readonly sessionId?: SessionId;\n readonly agentPreset?: string;\n}',
|
|
6528
|
+
declaration: 'export interface SessionCreateRequest {\n readonly resumeOnly?: boolean;\n readonly workspaceId?: WorkspaceId;\n readonly cwd?: string;\n readonly sessionId?: SessionId;\n readonly agentPreset?: string;\n}',
|
|
6499
6529
|
},
|
|
6500
6530
|
{
|
|
6501
6531
|
name: 'SessionCreateValue',
|