@chatcode/chatcode-cli 3.0.5 → 3.0.6-rc.1
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/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/{plugin-CYw-MBRn.js → plugin-BACkrsVG.js} +1 -1
- package/lib/{profile-boot-CffsubnV.js → profile-boot-c5YKtUIb.js} +17 -4
- package/lib/profile-boot.js +1 -1
- package/lib/tui-compat.js +1 -1
- 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/package.json +25 -25
- 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/runtime/node_modules/@deepseek-ai/node-addon-system/lib/.tsbuildinfo +1 -1
- 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
- package/lib/{plugin-d65VulBk.js → plugin-BccFcAte.js} +1 -1
package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
/** Passive Session state, coalesced observations and quiescence waits. */
|
|
2
|
+
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
3
|
+
if (value !== null && value !== void 0) {
|
|
4
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
5
|
+
var dispose, inner;
|
|
6
|
+
if (async) {
|
|
7
|
+
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
8
|
+
dispose = value[Symbol.asyncDispose];
|
|
9
|
+
}
|
|
10
|
+
if (dispose === void 0) {
|
|
11
|
+
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
12
|
+
dispose = value[Symbol.dispose];
|
|
13
|
+
if (async) inner = dispose;
|
|
14
|
+
}
|
|
15
|
+
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
|
16
|
+
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
|
17
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
18
|
+
}
|
|
19
|
+
else if (async) {
|
|
20
|
+
env.stack.push({ async: true });
|
|
21
|
+
}
|
|
22
|
+
return value;
|
|
23
|
+
};
|
|
24
|
+
var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {
|
|
25
|
+
return function (env) {
|
|
26
|
+
function fail(e) {
|
|
27
|
+
env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
28
|
+
env.hasError = true;
|
|
29
|
+
}
|
|
30
|
+
var r, s = 0;
|
|
31
|
+
function next() {
|
|
32
|
+
while (r = env.stack.pop()) {
|
|
33
|
+
try {
|
|
34
|
+
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
|
35
|
+
if (r.dispose) {
|
|
36
|
+
var result = r.dispose.call(r.value);
|
|
37
|
+
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
|
38
|
+
}
|
|
39
|
+
else s |= 1;
|
|
40
|
+
}
|
|
41
|
+
catch (e) {
|
|
42
|
+
fail(e);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
|
46
|
+
if (env.hasError) throw env.error;
|
|
47
|
+
}
|
|
48
|
+
return next();
|
|
49
|
+
};
|
|
50
|
+
})(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
51
|
+
var e = new Error(message);
|
|
52
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
53
|
+
});
|
|
54
|
+
import { deadline, MAX_TIMER_DELAY_MS, timeoutOf } from '@deepseek-ai/dsh-timeout';
|
|
55
|
+
import { RemoteError } from '@deepseek-ai/dsh-typert-protocol';
|
|
56
|
+
import { DEFAULT_MAX_MESSAGES, rejectNotFound } from "../history.js";
|
|
57
|
+
import { StateListener } from "./listener.js";
|
|
58
|
+
const DEFAULT_WAIT_TIMEOUT_MS = 30_000;
|
|
59
|
+
/** Reads and waits without activating or cancelling Session execution. */
|
|
60
|
+
export class StateController {
|
|
61
|
+
ctx;
|
|
62
|
+
historyController;
|
|
63
|
+
/**
|
|
64
|
+
* @param ctx - live Session and pending Remote event services.
|
|
65
|
+
* @param historyController - passive read entry used for cold state and its bounded output.
|
|
66
|
+
*/
|
|
67
|
+
constructor(ctx, historyController) {
|
|
68
|
+
this.ctx = ctx;
|
|
69
|
+
this.historyController = historyController;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Read passive execution and pending-input state.
|
|
73
|
+
* @param request - Session identity.
|
|
74
|
+
* @param signal - read cancellation.
|
|
75
|
+
* @returns current passive state.
|
|
76
|
+
*/
|
|
77
|
+
async state(request, signal) {
|
|
78
|
+
return this.readState(request.sessionId, signal);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Observe complete passive state replacements.
|
|
82
|
+
* @param request - Session identity.
|
|
83
|
+
* @param signal - observation cancellation.
|
|
84
|
+
* @returns complete state replacements, starting with the current state.
|
|
85
|
+
*/
|
|
86
|
+
async *observeState(request, signal) {
|
|
87
|
+
const env_1 = { stack: [], error: void 0, hasError: false };
|
|
88
|
+
try {
|
|
89
|
+
const listener = __addDisposableResource(env_1, this.listen(request.sessionId, signal), false);
|
|
90
|
+
for await (const { state } of listener.observeStates())
|
|
91
|
+
yield state;
|
|
92
|
+
}
|
|
93
|
+
catch (e_1) {
|
|
94
|
+
env_1.error = e_1;
|
|
95
|
+
env_1.hasError = true;
|
|
96
|
+
}
|
|
97
|
+
finally {
|
|
98
|
+
__disposeResources(env_1);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Wait for quiescence, pending input, or the deadline without cancelling execution.
|
|
103
|
+
* @param request - Session identity, timeout and assistant output window.
|
|
104
|
+
* @param signal - cancellation of this wait only, never of Agent execution.
|
|
105
|
+
* @returns the stopping reason and last complete state; no state before timeout is an error.
|
|
106
|
+
*/
|
|
107
|
+
async wait(request, signal) {
|
|
108
|
+
const env_2 = { stack: [], error: void 0, hasError: false };
|
|
109
|
+
try {
|
|
110
|
+
const timeoutMs = request.timeoutMs ?? DEFAULT_WAIT_TIMEOUT_MS;
|
|
111
|
+
const afterSeq = request.afterSeq ?? -1;
|
|
112
|
+
const maxMessages = request.maxMessages ?? DEFAULT_MAX_MESSAGES;
|
|
113
|
+
if (!Number.isSafeInteger(afterSeq) || afterSeq < -1 || Object.is(afterSeq, -0)) {
|
|
114
|
+
throw new RemoteError('gateway/bad-request', 'afterSeq must be an integer greater than or equal to -1', {});
|
|
115
|
+
}
|
|
116
|
+
if (!Number.isSafeInteger(maxMessages) || maxMessages <= 0) {
|
|
117
|
+
throw new RemoteError('gateway/bad-request', 'maxMessages must be a positive safe integer', {});
|
|
118
|
+
}
|
|
119
|
+
if (!Number.isSafeInteger(timeoutMs) || timeoutMs <= 0 || timeoutMs > MAX_TIMER_DELAY_MS) {
|
|
120
|
+
throw new RemoteError('gateway/bad-request', 'timeoutMs must be a positive supported timer delay', {});
|
|
121
|
+
}
|
|
122
|
+
const timer = __addDisposableResource(env_2, deadline(signal, timeoutMs, 'session/wait-timeout'), false);
|
|
123
|
+
const listener = __addDisposableResource(env_2, this.listen(request.sessionId, timer.signal), false);
|
|
124
|
+
const sessionId = request.sessionId;
|
|
125
|
+
const statesGenerator = listener.observeStates(1_000);
|
|
126
|
+
let nextStatePromise = statesGenerator.next();
|
|
127
|
+
let currentState;
|
|
128
|
+
let reason = 'timeout';
|
|
129
|
+
try {
|
|
130
|
+
for (;;) {
|
|
131
|
+
const observedState = await nextStatePromise;
|
|
132
|
+
if (observedState.done) {
|
|
133
|
+
timer.signal.throwIfAborted();
|
|
134
|
+
throw new RemoteError('session/observation-ended', 'Session observation ended before a stopping state', {});
|
|
135
|
+
}
|
|
136
|
+
nextStatePromise = statesGenerator.next();
|
|
137
|
+
// Observe rejection on immediate exits without replacing the original demand.
|
|
138
|
+
void nextStatePromise.catch(() => undefined);
|
|
139
|
+
// Only a state the listener still confirms may drive this wait; an invalidated
|
|
140
|
+
// sample never becomes the state a timeout reports.
|
|
141
|
+
if (!listener.isCurrent(observedState.value.revision))
|
|
142
|
+
continue;
|
|
143
|
+
currentState = observedState.value.state;
|
|
144
|
+
const action = computeWaitAction(currentState);
|
|
145
|
+
if (action === 'continue')
|
|
146
|
+
continue;
|
|
147
|
+
if (action === 'input-required' || action === 'idle') {
|
|
148
|
+
reason = action;
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
const agent = this.ctx.agents.get(sessionId);
|
|
152
|
+
if (agent === undefined || this.ctx.sessions.get(sessionId) !== agent.session)
|
|
153
|
+
continue;
|
|
154
|
+
if (await waitForIdleOrStateChange(agent, nextStatePromise) === 'state-changed')
|
|
155
|
+
continue;
|
|
156
|
+
if (!listener.isCurrent(observedState.value.revision) || this.ctx.agents.get(sessionId) !== agent
|
|
157
|
+
|| this.ctx.sessions.get(sessionId) !== agent.session)
|
|
158
|
+
continue;
|
|
159
|
+
reason = 'idle';
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
catch (error) {
|
|
164
|
+
// A caller cancellation is never a wait outcome; the deadline absorbs only the read
|
|
165
|
+
// it cancelled, and any other failure keeps its own error.
|
|
166
|
+
if (signal.aborted)
|
|
167
|
+
throw signal.reason;
|
|
168
|
+
if (!expired(timer.signal, error))
|
|
169
|
+
throw error;
|
|
170
|
+
}
|
|
171
|
+
finally {
|
|
172
|
+
// Wake/cancel a pending read before asking the generator to return.
|
|
173
|
+
listener[Symbol.dispose]();
|
|
174
|
+
await nextStatePromise.catch(() => undefined);
|
|
175
|
+
await statesGenerator.return(undefined);
|
|
176
|
+
}
|
|
177
|
+
signal.throwIfAborted();
|
|
178
|
+
if (currentState === undefined)
|
|
179
|
+
throw new RemoteError('session/wait-timeout', 'No Session state arrived before the wait deadline', {});
|
|
180
|
+
const output = await this.historyController.assistantOutput(sessionId, afterSeq, currentState.cursor, maxMessages, signal);
|
|
181
|
+
return { reason, state: currentState, output };
|
|
182
|
+
}
|
|
183
|
+
catch (e_2) {
|
|
184
|
+
env_2.error = e_2;
|
|
185
|
+
env_2.hasError = true;
|
|
186
|
+
}
|
|
187
|
+
finally {
|
|
188
|
+
__disposeResources(env_2);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
listen(sessionId, signal) {
|
|
192
|
+
return new StateListener(this.ctx, sessionId, signal, readSignal => this.readState(sessionId, readSignal));
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* @param sessionId - Session to sample.
|
|
196
|
+
* @param signal - read cancellation.
|
|
197
|
+
* @param retried - whether a live source already redirected this read once.
|
|
198
|
+
* @returns one passive state sample.
|
|
199
|
+
*/
|
|
200
|
+
async readState(sessionId, signal, retried = false) {
|
|
201
|
+
signal.throwIfAborted();
|
|
202
|
+
const agent = this.ctx.agents.get(sessionId);
|
|
203
|
+
if (agent !== undefined) {
|
|
204
|
+
if (agent.session.header.cwd === undefined)
|
|
205
|
+
rejectNotFound({ kind: 'session', sessionId });
|
|
206
|
+
return {
|
|
207
|
+
cursor: agent.session.seq - 1,
|
|
208
|
+
active: true,
|
|
209
|
+
running: agent.status === 'running',
|
|
210
|
+
queue: queueItems(agent),
|
|
211
|
+
pendingInput: this.pendingInput(agent.session.id),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
const state = await this.historyController.usingObservation({ sessionId, projection: false }, signal, (observation) => {
|
|
215
|
+
// A live source means the Session attached during this read; report its live state
|
|
216
|
+
// rather than a live cursor paired with an inactive sample.
|
|
217
|
+
if (!retried && observation.source === 'live')
|
|
218
|
+
return undefined;
|
|
219
|
+
if (observation.header.cwd === undefined)
|
|
220
|
+
rejectNotFound({ kind: 'session', sessionId });
|
|
221
|
+
return {
|
|
222
|
+
cursor: observation.cursor,
|
|
223
|
+
active: false,
|
|
224
|
+
running: false,
|
|
225
|
+
queue: null,
|
|
226
|
+
pendingInput: this.pendingInput(observation.header.id),
|
|
227
|
+
};
|
|
228
|
+
});
|
|
229
|
+
signal.throwIfAborted();
|
|
230
|
+
return state ?? this.readState(sessionId, signal, true);
|
|
231
|
+
}
|
|
232
|
+
pendingInput(sessionId) {
|
|
233
|
+
const kinds = new Set();
|
|
234
|
+
for (const { event, agentId } of this.ctx.typertGateway.getPendingRemoteEvents()) {
|
|
235
|
+
if (String(agentId) !== sessionId)
|
|
236
|
+
continue;
|
|
237
|
+
kinds.add(event === 'approval/request' ? 'approval' : event === 'user-questions/request' ? 'question' : 'other');
|
|
238
|
+
}
|
|
239
|
+
return [...kinds];
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @param signal - wait deadline signal.
|
|
244
|
+
* @param error - failure raised by the in-flight read.
|
|
245
|
+
* @returns whether the deadline expired and cancelled that read.
|
|
246
|
+
*/
|
|
247
|
+
function expired(signal, error) {
|
|
248
|
+
const reason = timeoutOf(signal, 'session/wait-timeout');
|
|
249
|
+
if (reason === undefined)
|
|
250
|
+
return false;
|
|
251
|
+
// Cancellation carries the deadline reason along its cause chain; any other failure does not.
|
|
252
|
+
let current = error;
|
|
253
|
+
for (let depth = 0; depth < 4 && current instanceof Error; depth++) {
|
|
254
|
+
if (current === reason || current.cause === reason)
|
|
255
|
+
return true;
|
|
256
|
+
current = current.cause;
|
|
257
|
+
}
|
|
258
|
+
return error === reason;
|
|
259
|
+
}
|
|
260
|
+
/** Choose the next wait action; check-idle requires the caller's whenIdle and identity checks. */
|
|
261
|
+
function computeWaitAction(state) {
|
|
262
|
+
if (state.pendingInput.length > 0)
|
|
263
|
+
return 'input-required';
|
|
264
|
+
if (state.running)
|
|
265
|
+
return 'continue';
|
|
266
|
+
if (!state.active)
|
|
267
|
+
return 'idle';
|
|
268
|
+
return 'check-idle';
|
|
269
|
+
}
|
|
270
|
+
/** Wait for either driver quiescence or the already-armed next state; preserve rejections from both. */
|
|
271
|
+
function waitForIdleOrStateChange(agent, nextStatePromise) {
|
|
272
|
+
return Promise.race([
|
|
273
|
+
agent.whenIdle().then(() => 'idle'),
|
|
274
|
+
nextStatePromise.then(() => 'state-changed'),
|
|
275
|
+
]);
|
|
276
|
+
}
|
|
277
|
+
function queueItems(agent) {
|
|
278
|
+
const item = (message, placement) => ({
|
|
279
|
+
id: message.id,
|
|
280
|
+
placement,
|
|
281
|
+
...message.source.kind === 'user' && 'rpcId' in message.source ? { rpcId: message.source.rpcId } : {},
|
|
282
|
+
content: message.content,
|
|
283
|
+
});
|
|
284
|
+
return [
|
|
285
|
+
...agent.inbox.nextTurn.map(message => item(message, 'queued')),
|
|
286
|
+
...agent.inbox.nextStep.map(message => item(message, message.source.kind === 'user' ? 'steering' : 'context')),
|
|
287
|
+
];
|
|
288
|
+
}
|
|
289
|
+
//# sourceMappingURL=controller.js.map
|
package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/** Coalesced Session state observations with Host-local revisions. */
|
|
2
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
+
import type { SessionId } from '@deepseek-ai/dsh-session';
|
|
4
|
+
import type { SessionState } from '../types.ts';
|
|
5
|
+
/** One complete state with its listener-local revision. */
|
|
6
|
+
export interface VersionedSessionState {
|
|
7
|
+
state: SessionState;
|
|
8
|
+
revision: number;
|
|
9
|
+
}
|
|
10
|
+
/** Coalesces Session/Agent invalidations with local revisions; pending events are sampled on reads. */
|
|
11
|
+
export declare class StateListener implements Disposable {
|
|
12
|
+
private readonly readState;
|
|
13
|
+
private readonly disposes;
|
|
14
|
+
private readonly cancellation;
|
|
15
|
+
private readonly signal;
|
|
16
|
+
private revision;
|
|
17
|
+
private resolver;
|
|
18
|
+
private closed;
|
|
19
|
+
/**
|
|
20
|
+
* @param ctx - lifecycle notification owner.
|
|
21
|
+
* @param target - Session to observe.
|
|
22
|
+
* @param signal - caller cancellation.
|
|
23
|
+
* @param readState - passive complete-state reader.
|
|
24
|
+
*/
|
|
25
|
+
constructor(ctx: Context, target: SessionId, signal: AbortSignal, readState: (signal: AbortSignal) => Promise<SessionState>);
|
|
26
|
+
/**
|
|
27
|
+
* Check whether a completed read still represents the latest invalidation.
|
|
28
|
+
* @param revision - revision captured with a completed read.
|
|
29
|
+
* @returns whether no intervening invalidation occurred.
|
|
30
|
+
*/
|
|
31
|
+
isCurrent(revision: number): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Read coalesced state replacements with optional periodic refresh.
|
|
34
|
+
* @param refreshMs - optional idle recheck interval; omitted for event-only observation.
|
|
35
|
+
* @returns complete state replacements with internal consistency revisions.
|
|
36
|
+
*/
|
|
37
|
+
observeStates(refreshMs?: number): AsyncGenerator<VersionedSessionState>;
|
|
38
|
+
[Symbol.dispose](): void;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=listener.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/** Coalesced Session state observations with Host-local revisions. */
|
|
2
|
+
/** Coalesces Session/Agent invalidations with local revisions; pending events are sampled on reads. */
|
|
3
|
+
export class StateListener {
|
|
4
|
+
readState;
|
|
5
|
+
disposes = [];
|
|
6
|
+
cancellation = new AbortController();
|
|
7
|
+
signal;
|
|
8
|
+
revision = 0;
|
|
9
|
+
resolver = createDeferredSignal();
|
|
10
|
+
closed = false;
|
|
11
|
+
/**
|
|
12
|
+
* @param ctx - lifecycle notification owner.
|
|
13
|
+
* @param target - Session to observe.
|
|
14
|
+
* @param signal - caller cancellation.
|
|
15
|
+
* @param readState - passive complete-state reader.
|
|
16
|
+
*/
|
|
17
|
+
constructor(ctx, target, signal, readState) {
|
|
18
|
+
this.readState = readState;
|
|
19
|
+
signal.throwIfAborted();
|
|
20
|
+
this.signal = AbortSignal.any([signal, this.cancellation.signal]);
|
|
21
|
+
const notify = (id) => {
|
|
22
|
+
if (id !== target || this.closed)
|
|
23
|
+
return;
|
|
24
|
+
this.revision++;
|
|
25
|
+
const resolver = this.resolver;
|
|
26
|
+
this.resolver = createDeferredSignal();
|
|
27
|
+
resolver.resolve();
|
|
28
|
+
};
|
|
29
|
+
const close = () => { this[Symbol.dispose](); };
|
|
30
|
+
signal.addEventListener('abort', close, { once: true });
|
|
31
|
+
this.disposes.push(() => { signal.removeEventListener('abort', close); });
|
|
32
|
+
try {
|
|
33
|
+
this.disposes.push(ctx.on('session/event', (session) => { notify(session.id); }, { global: true }));
|
|
34
|
+
this.disposes.push(ctx.on('session/created', (session) => { notify(session.id); }, { global: true }));
|
|
35
|
+
this.disposes.push(ctx.on('session/disposed', (session) => { notify(session.id); }, { global: true }));
|
|
36
|
+
this.disposes.push(ctx.on('agent/status', ({ agent }) => { notify(agent.id); }, { global: true }));
|
|
37
|
+
this.disposes.push(ctx.on('agent/created', ({ agent }) => { notify(agent.id); }, { global: true }));
|
|
38
|
+
this.disposes.push(ctx.on('agent/disposed', ({ agent }) => { notify(agent.id); }, { global: true }));
|
|
39
|
+
const dispose = ctx.effect(() => close, 'session-controller.state-listener');
|
|
40
|
+
this.disposes.push(() => { void dispose(); });
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
this[Symbol.dispose]();
|
|
44
|
+
throw error;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check whether a completed read still represents the latest invalidation.
|
|
49
|
+
* @param revision - revision captured with a completed read.
|
|
50
|
+
* @returns whether no intervening invalidation occurred.
|
|
51
|
+
*/
|
|
52
|
+
isCurrent(revision) { return !this.closed && revision === this.revision; }
|
|
53
|
+
/**
|
|
54
|
+
* Read coalesced state replacements with optional periodic refresh.
|
|
55
|
+
* @param refreshMs - optional idle recheck interval; omitted for event-only observation.
|
|
56
|
+
* @returns complete state replacements with internal consistency revisions.
|
|
57
|
+
*/
|
|
58
|
+
async *observeStates(refreshMs) {
|
|
59
|
+
let lastRevision = -1;
|
|
60
|
+
try {
|
|
61
|
+
while (!this.closed) {
|
|
62
|
+
if (lastRevision === this.revision) {
|
|
63
|
+
if (refreshMs === undefined) {
|
|
64
|
+
await this.resolver.promise;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
let timer;
|
|
68
|
+
try {
|
|
69
|
+
await Promise.race([
|
|
70
|
+
this.resolver.promise,
|
|
71
|
+
new Promise((resolve) => { timer = setTimeout(resolve, refreshMs); }),
|
|
72
|
+
]);
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
clearTimeout(timer);
|
|
76
|
+
}
|
|
77
|
+
if (this.isCurrent(lastRevision)) {
|
|
78
|
+
this.revision++;
|
|
79
|
+
const resolver = this.resolver;
|
|
80
|
+
this.resolver = createDeferredSignal();
|
|
81
|
+
resolver.resolve();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (!this.isCurrent(this.revision))
|
|
86
|
+
return;
|
|
87
|
+
lastRevision = this.revision;
|
|
88
|
+
const state = await this.readState(this.signal);
|
|
89
|
+
if (this.isCurrent(lastRevision))
|
|
90
|
+
yield { state, revision: lastRevision };
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
finally {
|
|
94
|
+
this[Symbol.dispose]();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
[Symbol.dispose]() {
|
|
98
|
+
if (this.closed)
|
|
99
|
+
return;
|
|
100
|
+
this.closed = true;
|
|
101
|
+
this.cancellation.abort();
|
|
102
|
+
this.resolver.resolve();
|
|
103
|
+
for (const dispose of this.disposes.splice(0).reverse())
|
|
104
|
+
dispose();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function createDeferredSignal() {
|
|
108
|
+
let resolve;
|
|
109
|
+
const promise = new Promise((settle) => { resolve = settle; });
|
|
110
|
+
return { promise, resolve };
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=listener.js.map
|
|
@@ -3,7 +3,7 @@ import type { NativeFileApplication } from '@deepseek-ai/dsh-native-command/type
|
|
|
3
3
|
import type { AttachmentIdType, ImageAttachmentLimits, ImageAttachmentRef, ImageMediaType } from '@deepseek-ai/dsh-attachment';
|
|
4
4
|
import type { Branded } from '@deepseek-ai/dsh-brand';
|
|
5
5
|
import type { LlmAttemptId, MessageId } from '@deepseek-ai/dsh-llm/brand';
|
|
6
|
-
import type { TextBlock } from '@deepseek-ai/dsh-llm';
|
|
6
|
+
import type { LlmPromptModelConfig, TextBlock } from '@deepseek-ai/dsh-llm';
|
|
7
7
|
import type { SessionId, SessionSeqCursor } from '@deepseek-ai/dsh-session/types';
|
|
8
8
|
import type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types';
|
|
9
9
|
import type { JsonValue } from '@deepseek-ai/dsh-util-values';
|
|
@@ -193,6 +193,7 @@ export declare const SESSION_SEARCH_RESULT_LIMIT = 20;
|
|
|
193
193
|
export declare const SESSION_SEARCH_SNIPPET_MAX_CODE_POINTS = 240;
|
|
194
194
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
195
195
|
interface RemoteErrorDetailsMap {
|
|
196
|
+
'session/capability-unavailable': Record<string, never>;
|
|
196
197
|
'session/provider-credentials-unavailable': Record<string, never>;
|
|
197
198
|
'session/provider-models-unavailable': {
|
|
198
199
|
readonly provider: string;
|
|
@@ -218,9 +219,33 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
218
219
|
'session/writer-held': {
|
|
219
220
|
readonly sessionId: SessionId;
|
|
220
221
|
};
|
|
222
|
+
'session/writer-released': {
|
|
223
|
+
readonly sessionId: SessionId;
|
|
224
|
+
};
|
|
225
|
+
'session/not-owned': {
|
|
226
|
+
readonly sessionId: SessionId;
|
|
227
|
+
};
|
|
228
|
+
'session/activation-pending': {
|
|
229
|
+
readonly sessionId: SessionId;
|
|
230
|
+
};
|
|
231
|
+
'session/busy-release': {
|
|
232
|
+
readonly sessionId: SessionId;
|
|
233
|
+
};
|
|
234
|
+
'session/busy-release-conflict': {
|
|
235
|
+
readonly sessionId: SessionId;
|
|
236
|
+
};
|
|
237
|
+
'session/subagent-access': {
|
|
238
|
+
readonly sessionId: SessionId;
|
|
239
|
+
};
|
|
221
240
|
'session/agent-busy': {
|
|
222
241
|
readonly reason: string;
|
|
223
242
|
};
|
|
243
|
+
'session/invalid-model-config': {
|
|
244
|
+
readonly field: string;
|
|
245
|
+
};
|
|
246
|
+
'session/request-id-conflict': {
|
|
247
|
+
readonly requestId: SessionRequestId;
|
|
248
|
+
};
|
|
224
249
|
'session/invalid-time-zone': {
|
|
225
250
|
readonly value: string;
|
|
226
251
|
};
|
|
@@ -228,6 +253,20 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
228
253
|
readonly sessionId: SessionId;
|
|
229
254
|
readonly workspaceId: string;
|
|
230
255
|
};
|
|
256
|
+
'session/not-found': {
|
|
257
|
+
readonly sessionId: SessionId;
|
|
258
|
+
};
|
|
259
|
+
'session/deleted': {
|
|
260
|
+
readonly sessionId: SessionId;
|
|
261
|
+
};
|
|
262
|
+
'session/login-token-store-failed': Record<string, never>;
|
|
263
|
+
'session/login-token-delete-failed': Record<string, never>;
|
|
264
|
+
'session/list-failed': Record<string, never>;
|
|
265
|
+
'session/search-failed': Record<string, never>;
|
|
266
|
+
'session/release-failed': {
|
|
267
|
+
readonly sessionId: SessionId;
|
|
268
|
+
};
|
|
269
|
+
'session/model-catalog-failed': Record<string, never>;
|
|
231
270
|
'agent-preset/conflict': {
|
|
232
271
|
readonly sessionId: SessionId;
|
|
233
272
|
readonly requestedPreset: string;
|
|
@@ -248,10 +287,16 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
248
287
|
'session/fork-unavailable': {
|
|
249
288
|
readonly sessionId: SessionId;
|
|
250
289
|
};
|
|
290
|
+
'workspace/not-found': {
|
|
291
|
+
readonly workspaceId: WorkspaceId;
|
|
292
|
+
};
|
|
251
293
|
'subagent/not-found': {
|
|
252
294
|
readonly parentSessionId: SessionId;
|
|
253
295
|
readonly childSessionId: SessionId;
|
|
254
296
|
};
|
|
297
|
+
'subagent/unauthorized': {
|
|
298
|
+
readonly childSessionId: SessionId;
|
|
299
|
+
};
|
|
255
300
|
'subagent/catalog-diagnostic': {
|
|
256
301
|
readonly parentSessionId: SessionId;
|
|
257
302
|
readonly childSessionId: SessionId;
|
|
@@ -299,16 +344,56 @@ export interface SessionSearchValue {
|
|
|
299
344
|
}
|
|
300
345
|
/** Session creation or explicit-id adoption request. */
|
|
301
346
|
export interface SessionCreateRequest {
|
|
347
|
+
/** Refuse a missing explicit identity instead of creating a replacement Session. */
|
|
348
|
+
readonly resumeOnly?: boolean;
|
|
302
349
|
readonly workspaceId?: WorkspaceId;
|
|
303
350
|
readonly cwd?: string;
|
|
304
351
|
readonly sessionId?: SessionId;
|
|
305
352
|
readonly agentPreset?: string;
|
|
353
|
+
/** Optional provider override for the model selection. */
|
|
354
|
+
readonly provider?: string;
|
|
355
|
+
/** Optional model override for the model selection. */
|
|
356
|
+
readonly model?: string;
|
|
306
357
|
}
|
|
307
358
|
/** Session creation response value. */
|
|
308
359
|
export interface SessionCreateValue {
|
|
309
360
|
readonly sessionId: SessionId;
|
|
310
361
|
readonly agentPreset?: string;
|
|
311
362
|
}
|
|
363
|
+
/** Inject a ChatCode OAuth grant into the credentials service. */
|
|
364
|
+
export interface SessionSetLoginTokenRequest {
|
|
365
|
+
readonly accessToken: string;
|
|
366
|
+
readonly refreshToken?: string;
|
|
367
|
+
readonly longToken?: string;
|
|
368
|
+
readonly expiresAtMs?: number;
|
|
369
|
+
readonly userName?: string;
|
|
370
|
+
readonly emailAddress?: string;
|
|
371
|
+
}
|
|
372
|
+
/** Confirm the login token was stored. */
|
|
373
|
+
export interface SessionSetLoginTokenValue {
|
|
374
|
+
readonly ok: true;
|
|
375
|
+
}
|
|
376
|
+
/** Remove the ChatCode OAuth token from the credentials service. */
|
|
377
|
+
export interface SessionClearLoginTokenRequest {
|
|
378
|
+
}
|
|
379
|
+
/** Confirm the login token was removed. */
|
|
380
|
+
export interface SessionClearLoginTokenValue {
|
|
381
|
+
readonly ok: true;
|
|
382
|
+
}
|
|
383
|
+
/** Resume an existing Session, optionally with a provider/model override. */
|
|
384
|
+
export interface SessionResumeRequest {
|
|
385
|
+
readonly sessionId: SessionId;
|
|
386
|
+
/** Optional provider override; required when re-injecting after Runtime restart. */
|
|
387
|
+
readonly provider?: string;
|
|
388
|
+
/** Optional model override; required when re-injecting after Runtime restart. */
|
|
389
|
+
readonly model?: string;
|
|
390
|
+
}
|
|
391
|
+
/** Session resume response value. */
|
|
392
|
+
export interface SessionResumeValue {
|
|
393
|
+
readonly sessionId: SessionId;
|
|
394
|
+
/** The resolved model selection for this Session. */
|
|
395
|
+
readonly selected: ModelSelection;
|
|
396
|
+
}
|
|
312
397
|
/** Session model-selection request. */
|
|
313
398
|
export interface SessionSelectModelRequest extends ModelSelection {
|
|
314
399
|
readonly sessionId: SessionId;
|
|
@@ -346,6 +431,12 @@ export interface SessionPromptRequest {
|
|
|
346
431
|
/** At least one non-whitespace text part or attachment. */
|
|
347
432
|
readonly content: readonly PromptContentPart[];
|
|
348
433
|
readonly clientTimeZone?: string;
|
|
434
|
+
/** Optional provider override for the prompt's model selection. */
|
|
435
|
+
readonly provider?: string;
|
|
436
|
+
/** Optional model override for the prompt's model selection. */
|
|
437
|
+
readonly model?: string;
|
|
438
|
+
/** Request-local model configuration for queued input. */
|
|
439
|
+
readonly modelConfig?: LlmPromptModelConfig;
|
|
349
440
|
}
|
|
350
441
|
/** Receipt after one prompt enters the target Agent inbox. */
|
|
351
442
|
export interface SessionPromptValue {
|
|
@@ -401,6 +492,7 @@ declare module '@deepseek-ai/dsh-llm' {
|
|
|
401
492
|
kind: 'user';
|
|
402
493
|
rpcId: SessionRequestId;
|
|
403
494
|
clientTimeZone?: string;
|
|
495
|
+
promptDigest?: string;
|
|
404
496
|
};
|
|
405
497
|
}
|
|
406
498
|
}
|
package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Web opening aggregation over one observation and a shared transforming buffer. */
|
|
2
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
+
import type { SessionObservation } from '@deepseek-ai/dsh-session-query';
|
|
4
|
+
import type { HistoryController } from '../history/controller.ts';
|
|
5
|
+
import type { SessionFollowFrame, SessionFollowRequest } from '../types.ts';
|
|
6
|
+
/** Combines opening data and consumes transformed listener output from one queue. */
|
|
7
|
+
export declare class WebController {
|
|
8
|
+
private readonly ctx;
|
|
9
|
+
private readonly historyController;
|
|
10
|
+
private readonly promote;
|
|
11
|
+
/**
|
|
12
|
+
* @param ctx - Host context carrying Session queries and identity projections.
|
|
13
|
+
* @param historyController - passive reading and listener construction.
|
|
14
|
+
* @param promote - background activation requested before an opening snapshot is delivered.
|
|
15
|
+
*/
|
|
16
|
+
constructor(ctx: Context, historyController: HistoryController, promote: (observation: SessionObservation) => void);
|
|
17
|
+
/**
|
|
18
|
+
* Open a history snapshot and follow uncovered history and assistant notifications.
|
|
19
|
+
* @param request - Session identity, page budget, assistant output and optional activation (default false).
|
|
20
|
+
* @param signal - cancellation for opening and streaming.
|
|
21
|
+
* @returns an opening snapshot followed by uncovered queued increments.
|
|
22
|
+
*/
|
|
23
|
+
follow(request: SessionFollowRequest, signal: AbortSignal): AsyncIterable<SessionFollowFrame>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=controller.d.ts.map
|