@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
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runtime mirror and labels for Cordis's `FiberState` const enum. A const enum has no runtime
|
|
3
|
-
* object to import, so these values mirror the pinned vendored definition while retaining its
|
|
4
|
-
* type.
|
|
5
|
-
* @module @deepseek-ai/dsh-tool-cordis/fiber-state
|
|
6
|
-
*/
|
|
7
|
-
import type { FiberState as FiberStateEnum } from '@deepseek-ai/cordis';
|
|
8
|
-
/** Value mirror of the cordis `FiberState` const enum (see the module doc for why a mirror exists). */
|
|
9
|
-
export declare const FiberState: {
|
|
10
|
-
readonly PENDING: FiberStateEnum.PENDING;
|
|
11
|
-
readonly LOADING: FiberStateEnum.LOADING;
|
|
12
|
-
readonly ACTIVE: FiberStateEnum.ACTIVE;
|
|
13
|
-
readonly FAILED: FiberStateEnum.FAILED;
|
|
14
|
-
readonly DISPOSED: FiberStateEnum.DISPOSED;
|
|
15
|
-
readonly UNLOADING: FiberStateEnum.UNLOADING;
|
|
16
|
-
};
|
|
17
|
-
/** The cordis `FiberState` enum type, re-exported so mirror consumers need one import. */
|
|
18
|
-
export type FiberState = FiberStateEnum;
|
|
19
|
-
/** Human-readable label for each {@link FiberState}, keyed by member (inlining-safe — no reverse mapping). */
|
|
20
|
-
export declare const STATE_LABELS: {
|
|
21
|
-
readonly 0: "pending";
|
|
22
|
-
readonly 1: "loading";
|
|
23
|
-
readonly 2: "active";
|
|
24
|
-
readonly 3: "failed";
|
|
25
|
-
readonly 4: "disposed";
|
|
26
|
-
readonly 5: "unloading";
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=fiber-state.d.ts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runtime mirror and labels for Cordis's `FiberState` const enum. A const enum has no runtime
|
|
3
|
-
* object to import, so these values mirror the pinned vendored definition while retaining its
|
|
4
|
-
* type.
|
|
5
|
-
* @module @deepseek-ai/dsh-tool-cordis/fiber-state
|
|
6
|
-
*/
|
|
7
|
-
/** Value mirror of the cordis `FiberState` const enum (see the module doc for why a mirror exists). */
|
|
8
|
-
export const FiberState = {
|
|
9
|
-
PENDING: 0,
|
|
10
|
-
LOADING: 1,
|
|
11
|
-
ACTIVE: 2,
|
|
12
|
-
FAILED: 3,
|
|
13
|
-
DISPOSED: 4,
|
|
14
|
-
UNLOADING: 5,
|
|
15
|
-
};
|
|
16
|
-
/** Human-readable label for each {@link FiberState}, keyed by member (inlining-safe — no reverse mapping). */
|
|
17
|
-
export const STATE_LABELS = {
|
|
18
|
-
[FiberState.PENDING]: 'pending',
|
|
19
|
-
[FiberState.LOADING]: 'loading',
|
|
20
|
-
[FiberState.ACTIVE]: 'active',
|
|
21
|
-
[FiberState.FAILED]: 'failed',
|
|
22
|
-
[FiberState.DISPOSED]: 'disposed',
|
|
23
|
-
[FiberState.UNLOADING]: 'unloading',
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=fiber-state.js.map
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text renderers for `cordis_runtime_inspect`. Live facts come from the service store and
|
|
3
|
-
* the plugin registry; what each service CAN DO comes from the generated
|
|
4
|
-
* `api-catalog.ts`. This module owns the join of the two plus presentation: which
|
|
5
|
-
* lines a section prints, how compact the default report stays, and what an exact
|
|
6
|
-
* `name` adds.
|
|
7
|
-
* @module @deepseek-ai/dsh-tool-cordis/inspect
|
|
8
|
-
*/
|
|
9
|
-
import type { Context, Fiber } from '@deepseek-ai/cordis';
|
|
10
|
-
import type { ScopeKey } from '@deepseek-ai/dsh-scope';
|
|
11
|
-
import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
12
|
-
import type { EventApiEntry, InheritedApiEntry, ServiceApiEntry, TypeApiEntry } from './api-catalog.ts';
|
|
13
|
-
/**
|
|
14
|
-
* Whether a fiber is `root` itself or mounted anywhere inside `root`'s subtree.
|
|
15
|
-
* @param fiber - the fiber to locate.
|
|
16
|
-
* @param root - the subtree root to test against.
|
|
17
|
-
* @returns true when `fiber` belongs to that subtree.
|
|
18
|
-
*/
|
|
19
|
-
export declare function withinFiber(fiber: Fiber, root: Fiber): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Service names provided by one mount's fiber subtree.
|
|
22
|
-
* @param ctx - the runtime whose service registrations are inspected.
|
|
23
|
-
* @param fiber - the root of the mounted fiber subtree.
|
|
24
|
-
* @returns the provided service names in lexical order.
|
|
25
|
-
*/
|
|
26
|
-
export declare function providedServices(ctx: Context, fiber: Fiber): string[];
|
|
27
|
-
/**
|
|
28
|
-
* Services a fiber declared in `inject` that do not exist yet — a settled fiber
|
|
29
|
-
* that is not active is waiting on exactly these (legal cordis semantics: it
|
|
30
|
-
* activates when the service appears).
|
|
31
|
-
* @param ctx - the context to resolve service existence against.
|
|
32
|
-
* @param fiber - the fiber whose `inject` declarations are checked.
|
|
33
|
-
* @returns the missing service names, in declaration order.
|
|
34
|
-
*/
|
|
35
|
-
export declare function missingServices(ctx: Context, fiber: Fiber): string[];
|
|
36
|
-
/**
|
|
37
|
-
* The `services` section: every live ctx service with its owning fiber and, when
|
|
38
|
-
* the generated catalog covers it, a one-line summary. The `api` section is the
|
|
39
|
-
* one that carries signatures; this one answers what exists and who provides it.
|
|
40
|
-
* @param ctx - the runtime to enumerate.
|
|
41
|
-
* @param api - the generated service entries whose summaries annotate the live ones.
|
|
42
|
-
* @returns one line per service, or a single placeholder line when none are provided.
|
|
43
|
-
*/
|
|
44
|
-
export declare function describeServices(ctx: Context, api?: readonly ServiceApiEntry[]): string[];
|
|
45
|
-
/**
|
|
46
|
-
* The `plugins` section: a flat list of every fiber the registry knows, one line
|
|
47
|
-
* per fiber with its lifecycle state, sorted by plugin name (a plugin mounted
|
|
48
|
-
* more than once repeats — one line per instance). Temporary plugins are listed
|
|
49
|
-
* like any other plugin; their ids live in the `temporary` section.
|
|
50
|
-
* @param ctx - the runtime whose registry is enumerated.
|
|
51
|
-
* @returns one line per loaded plugin fiber.
|
|
52
|
-
*/
|
|
53
|
-
export declare function describePlugins(ctx: Context): string[];
|
|
54
|
-
/**
|
|
55
|
-
* The `tools` section: the model-facing tool names the CALLING agent can see
|
|
56
|
-
* (its scoped layer shadowing/joining the restricted global tool set) — the
|
|
57
|
-
* honest answer to the tool description's "what you can call".
|
|
58
|
-
* @param ctx - the runtime whose tool registry is read.
|
|
59
|
-
* @param scope - the calling agent (the viewing scope); omitted = global view.
|
|
60
|
-
* @returns one line per visible tool.
|
|
61
|
-
*/
|
|
62
|
-
export declare function describeTools(ctx: Context, scope?: ScopeKey): string[];
|
|
63
|
-
/**
|
|
64
|
-
* The `temporary` section: one line per dynamic package this session defined,
|
|
65
|
-
* with its metadata, which halves exist, the host half's lifecycle state and
|
|
66
|
-
* provides/waits, the invoke methods it registered, and the last browser-half
|
|
67
|
-
* load report. Session-scoped like every runner verb.
|
|
68
|
-
* @param ctx - the runtime the packages live in.
|
|
69
|
-
* @param agent - the calling agent; without one there is no definition space to report.
|
|
70
|
-
* @returns one line per package, or a single placeholder line when none exist.
|
|
71
|
-
*/
|
|
72
|
-
export declare function describeDynamic(ctx: Context, agent?: Agent): string[];
|
|
73
|
-
/**
|
|
74
|
-
* Render the generated catalog against the live runtime: live catalogued services with methods,
|
|
75
|
-
* uncatalogued live services with owners, absent loadable services, referenced type shapes, and
|
|
76
|
-
* inherited Context APIs.
|
|
77
|
-
* @param ctx - the runtime to intersect the catalog with.
|
|
78
|
-
* @param api - generated service entries, replaceable in tests.
|
|
79
|
-
* @param name - exact live service key whose methods should include structured contracts; omitted for the compact catalog.
|
|
80
|
-
* @param inherited - inherited `ctx` entries, replaceable in tests.
|
|
81
|
-
* @param types - public type shapes, replaceable in tests.
|
|
82
|
-
* @returns the section lines.
|
|
83
|
-
*/
|
|
84
|
-
export declare function describeApi(ctx: Context, api?: readonly ServiceApiEntry[], name?: string, inherited?: readonly InheritedApiEntry[], types?: readonly TypeApiEntry[]): string[];
|
|
85
|
-
/**
|
|
86
|
-
* The `events` section: every harness event with its dispatch mode, one-line
|
|
87
|
-
* summary, and exact signature, closed by the waterfall caution.
|
|
88
|
-
* @param events - the event catalog (the generated one by default; injectable for tests).
|
|
89
|
-
* @param name - exact event name whose signature should include its structured contract; omitted for the compact catalog.
|
|
90
|
-
* @returns the section lines.
|
|
91
|
-
*/
|
|
92
|
-
export declare function describeEvents(events?: readonly EventApiEntry[], name?: string): string[];
|
|
93
|
-
//# sourceMappingURL=inspect.d.ts.map
|
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text renderers for `cordis_runtime_inspect`. Live facts come from the service store and
|
|
3
|
-
* the plugin registry; what each service CAN DO comes from the generated
|
|
4
|
-
* `api-catalog.ts`. This module owns the join of the two plus presentation: which
|
|
5
|
-
* lines a section prints, how compact the default report stays, and what an exact
|
|
6
|
-
* `name` adds.
|
|
7
|
-
* @module @deepseek-ai/dsh-tool-cordis/inspect
|
|
8
|
-
*/
|
|
9
|
-
import { EVENT_API, INHERITED_CTX_API, SERVICE_API, TYPE_API } from "./api-catalog.js";
|
|
10
|
-
import { FiberState, STATE_LABELS } from "./fiber-state.js";
|
|
11
|
-
/** The live service registrations, read from the reflect store. */
|
|
12
|
-
function liveImpls(ctx) {
|
|
13
|
-
const store = ctx.reflect.store;
|
|
14
|
-
return Object.getOwnPropertySymbols(store)
|
|
15
|
-
.map(key => store[key])
|
|
16
|
-
.filter((impl) => impl !== undefined);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* A summary as prose. JSDoc may name a symbol with an inline `{@link Foo.bar}`
|
|
20
|
-
* tag, which the generated catalog retains verbatim; a report is read, not
|
|
21
|
-
* compiled, so the link syntax is spent context and the bare symbol says the same
|
|
22
|
-
* thing.
|
|
23
|
-
*/
|
|
24
|
-
function plainSummary(summary) {
|
|
25
|
-
return summary.replace(/\{@link\s+([^}]+)\}/g, '$1');
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Every service this process provides, joined with the generated catalog: what is
|
|
29
|
-
* RUNNING comes from the store, what each service CAN DO comes from the catalog,
|
|
30
|
-
* and a live service the catalog does not cover stays in the list as reachable
|
|
31
|
-
* with no signatures rather than being dropped.
|
|
32
|
-
*/
|
|
33
|
-
function liveServices(ctx, api) {
|
|
34
|
-
const catalogued = new Map(api.map(entry => [entry.key, entry]));
|
|
35
|
-
return liveImpls(ctx)
|
|
36
|
-
.map((impl) => {
|
|
37
|
-
const entry = catalogued.get(impl.name);
|
|
38
|
-
return {
|
|
39
|
-
name: impl.name,
|
|
40
|
-
owner: impl.fiber.name,
|
|
41
|
-
state: STATE_LABELS[impl.fiber.state],
|
|
42
|
-
summary: entry === undefined ? '' : plainSummary(entry.summary),
|
|
43
|
-
catalogued: entry !== undefined,
|
|
44
|
-
methods: entry === undefined ? [] : entry.methods.map(method => method.signature),
|
|
45
|
-
};
|
|
46
|
-
})
|
|
47
|
-
.sort((left, right) => left.name.localeCompare(right.name));
|
|
48
|
-
}
|
|
49
|
-
/** Catalogued services with no live provider: loadable in principle, absent here. */
|
|
50
|
-
function absentServices(ctx, api) {
|
|
51
|
-
const live = new Set(liveImpls(ctx).map(impl => impl.name));
|
|
52
|
-
return api.filter(entry => !live.has(entry.key)).map(entry => entry.key).sort();
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Whether a fiber is `root` itself or mounted anywhere inside `root`'s subtree.
|
|
56
|
-
* @param fiber - the fiber to locate.
|
|
57
|
-
* @param root - the subtree root to test against.
|
|
58
|
-
* @returns true when `fiber` belongs to that subtree.
|
|
59
|
-
*/
|
|
60
|
-
export function withinFiber(fiber, root) {
|
|
61
|
-
let current = fiber;
|
|
62
|
-
while (true) {
|
|
63
|
-
if (current === root)
|
|
64
|
-
return true;
|
|
65
|
-
const parent = current.parent.fiber;
|
|
66
|
-
if (parent === current)
|
|
67
|
-
return false;
|
|
68
|
-
current = parent;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Service names provided by one mount's fiber subtree.
|
|
73
|
-
* @param ctx - the runtime whose service registrations are inspected.
|
|
74
|
-
* @param fiber - the root of the mounted fiber subtree.
|
|
75
|
-
* @returns the provided service names in lexical order.
|
|
76
|
-
*/
|
|
77
|
-
export function providedServices(ctx, fiber) {
|
|
78
|
-
return liveImpls(ctx)
|
|
79
|
-
.filter(impl => withinFiber(impl.fiber, fiber))
|
|
80
|
-
.map(impl => impl.name)
|
|
81
|
-
.sort();
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Services a fiber declared in `inject` that do not exist yet — a settled fiber
|
|
85
|
-
* that is not active is waiting on exactly these (legal cordis semantics: it
|
|
86
|
-
* activates when the service appears).
|
|
87
|
-
* @param ctx - the context to resolve service existence against.
|
|
88
|
-
* @param fiber - the fiber whose `inject` declarations are checked.
|
|
89
|
-
* @returns the missing service names, in declaration order.
|
|
90
|
-
*/
|
|
91
|
-
export function missingServices(ctx, fiber) {
|
|
92
|
-
return Object.keys(fiber.inject).filter(service => ctx.get(service) === undefined);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The `services` section: every live ctx service with its owning fiber and, when
|
|
96
|
-
* the generated catalog covers it, a one-line summary. The `api` section is the
|
|
97
|
-
* one that carries signatures; this one answers what exists and who provides it.
|
|
98
|
-
* @param ctx - the runtime to enumerate.
|
|
99
|
-
* @param api - the generated service entries whose summaries annotate the live ones.
|
|
100
|
-
* @returns one line per service, or a single placeholder line when none are provided.
|
|
101
|
-
*/
|
|
102
|
-
export function describeServices(ctx, api = SERVICE_API) {
|
|
103
|
-
const live = liveServices(ctx, api);
|
|
104
|
-
if (live.length === 0)
|
|
105
|
-
return ['(no services provided)'];
|
|
106
|
-
return live.map((service) => {
|
|
107
|
-
const state = service.state === STATE_LABELS[FiberState.ACTIVE] ? '' : `, ${service.state}`;
|
|
108
|
-
const summary = service.summary === '' ? '' : ` — ${service.summary}`;
|
|
109
|
-
return `- ${service.name} (provided by ${service.owner}${state})${summary}`;
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* The `plugins` section: a flat list of every fiber the registry knows, one line
|
|
114
|
-
* per fiber with its lifecycle state, sorted by plugin name (a plugin mounted
|
|
115
|
-
* more than once repeats — one line per instance). Temporary plugins are listed
|
|
116
|
-
* like any other plugin; their ids live in the `temporary` section.
|
|
117
|
-
* @param ctx - the runtime whose registry is enumerated.
|
|
118
|
-
* @returns one line per loaded plugin fiber.
|
|
119
|
-
*/
|
|
120
|
-
export function describePlugins(ctx) {
|
|
121
|
-
const fibers = [];
|
|
122
|
-
for (const runtime of ctx.registry.values()) {
|
|
123
|
-
for (const fiber of runtime.fibers)
|
|
124
|
-
fibers.push(fiber);
|
|
125
|
-
}
|
|
126
|
-
return fibers
|
|
127
|
-
.sort((left, right) => left.name.localeCompare(right.name))
|
|
128
|
-
.map(fiber => `- ${fiber.name} [${STATE_LABELS[fiber.state]}]`);
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* The `tools` section: the model-facing tool names the CALLING agent can see
|
|
132
|
-
* (its scoped layer shadowing/joining the restricted global tool set) — the
|
|
133
|
-
* honest answer to the tool description's "what you can call".
|
|
134
|
-
* @param ctx - the runtime whose tool registry is read.
|
|
135
|
-
* @param scope - the calling agent (the viewing scope); omitted = global view.
|
|
136
|
-
* @returns one line per visible tool.
|
|
137
|
-
*/
|
|
138
|
-
export function describeTools(ctx, scope) {
|
|
139
|
-
return ctx.tools.schemas(scope).map(schema => `- ${schema.name}`);
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* The `temporary` section: one line per dynamic package this session defined,
|
|
143
|
-
* with its metadata, which halves exist, the host half's lifecycle state and
|
|
144
|
-
* provides/waits, the invoke methods it registered, and the last browser-half
|
|
145
|
-
* load report. Session-scoped like every runner verb.
|
|
146
|
-
* @param ctx - the runtime the packages live in.
|
|
147
|
-
* @param agent - the calling agent; without one there is no definition space to report.
|
|
148
|
-
* @returns one line per package, or a single placeholder line when none exist.
|
|
149
|
-
*/
|
|
150
|
-
export function describeDynamic(ctx, agent) {
|
|
151
|
-
const rows = agent === undefined ? [] : ctx.dynamicCordisRunner.snapshot(agent);
|
|
152
|
-
if (rows.length === 0) {
|
|
153
|
-
return ['No dynamic Plugins are defined in this session. Definitions live only in this process\'s memory, so a ChatCode CLI restart clears them.'];
|
|
154
|
-
}
|
|
155
|
-
return rows.flatMap((row) => {
|
|
156
|
-
const head = `- Plugin ${row.pluginId}; current: ${row.currentPackageId ?? 'none'}; next: ${row.nextPackageId ?? 'none'}`
|
|
157
|
-
+ (row.activeRun === undefined
|
|
158
|
-
? '; stopped'
|
|
159
|
-
: `; active: ${row.activeRun.packageId} as ${row.activeRun.pluginRunId}`);
|
|
160
|
-
const packages = row.packages.map((pkg) => {
|
|
161
|
-
const halves = [...pkg.hasHostHalf ? ['host'] : [], ...pkg.hasClientHalf ? ['client'] : []].join('+');
|
|
162
|
-
const active = row.activeRun?.packageId === pkg.packageId ? row.activeRun : undefined;
|
|
163
|
-
if (active === undefined)
|
|
164
|
-
return ` - ${pkg.packageId}: ${pkg.name} (${halves}) — ${pkg.purpose}`;
|
|
165
|
-
const fiber = active.fiber;
|
|
166
|
-
const state = fiber === undefined ? 'running' : fiber.state === FiberState.ACTIVE ? 'running' : STATE_LABELS[fiber.state];
|
|
167
|
-
const provides = fiber === undefined ? [] : providedServices(ctx, fiber);
|
|
168
|
-
const waiting = fiber === undefined ? [] : missingServices(ctx, fiber);
|
|
169
|
-
const failure = active.renderFailure;
|
|
170
|
-
const rendered = failure === undefined
|
|
171
|
-
? ''
|
|
172
|
-
: `; CLIENT RENDER FAILED at ${failure.slot}: ${failure.message}${failure.abdicated ? ' (entry removed)' : ''}`;
|
|
173
|
-
return ` - ${pkg.packageId}: ${pkg.name} [${state}, ${active.pluginRunId}] (${halves}) — ${pkg.purpose}`
|
|
174
|
-
+ `; provides: ${provides.join(', ') || 'none'}; waiting for: ${waiting.join(', ') || 'none'}`
|
|
175
|
-
+ (active.handlers.length === 0 ? '' : `; host methods: ${active.handlers.join(', ')}`)
|
|
176
|
-
+ rendered;
|
|
177
|
-
});
|
|
178
|
-
return [head, ...packages];
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* The transitive closure of catalogued type shapes referenced (word-bounded)
|
|
183
|
-
* by the seed texts — the runtime scoping that keeps the `api` section to the
|
|
184
|
-
* shapes the LIVE signatures actually mention.
|
|
185
|
-
*/
|
|
186
|
-
function typeClosure(seeds, types) {
|
|
187
|
-
const included = new Map();
|
|
188
|
-
let frontier = seeds;
|
|
189
|
-
while (frontier.length > 0) {
|
|
190
|
-
const next = [];
|
|
191
|
-
for (const entry of types) {
|
|
192
|
-
if (included.has(entry.name))
|
|
193
|
-
continue;
|
|
194
|
-
const pattern = new RegExp(`\\b${entry.name}\\b`);
|
|
195
|
-
if (frontier.some(text => pattern.test(text))) {
|
|
196
|
-
included.set(entry.name, entry);
|
|
197
|
-
next.push(entry.declaration);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
frontier = next;
|
|
201
|
-
}
|
|
202
|
-
return [...included.values()].sort((left, right) => left.name.localeCompare(right.name));
|
|
203
|
-
}
|
|
204
|
-
/** Render one live catalogued service; `documented` is non-empty only for an exact-name report. */
|
|
205
|
-
function serviceLines(service, documented) {
|
|
206
|
-
const lines = [`- ${service.name} — ${service.summary}`];
|
|
207
|
-
for (const signature of service.methods) {
|
|
208
|
-
const contract = documented.find(entry => entry.signature === signature);
|
|
209
|
-
if (contract !== undefined) {
|
|
210
|
-
lines.push(` ${contract.description}`);
|
|
211
|
-
for (const parameter of contract.parameters)
|
|
212
|
-
lines.push(` @param ${parameter.name} — ${parameter.description}`);
|
|
213
|
-
if (contract.returns !== undefined)
|
|
214
|
-
lines.push(` @returns ${contract.returns}`);
|
|
215
|
-
for (const failure of contract.throws ?? [])
|
|
216
|
-
lines.push(` @throws ${failure}`);
|
|
217
|
-
}
|
|
218
|
-
lines.push(` ${signature}`);
|
|
219
|
-
}
|
|
220
|
-
return lines;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Render the generated catalog against the live runtime: live catalogued services with methods,
|
|
224
|
-
* uncatalogued live services with owners, absent loadable services, referenced type shapes, and
|
|
225
|
-
* inherited Context APIs.
|
|
226
|
-
* @param ctx - the runtime to intersect the catalog with.
|
|
227
|
-
* @param api - generated service entries, replaceable in tests.
|
|
228
|
-
* @param name - exact live service key whose methods should include structured contracts; omitted for the compact catalog.
|
|
229
|
-
* @param inherited - inherited `ctx` entries, replaceable in tests.
|
|
230
|
-
* @param types - public type shapes, replaceable in tests.
|
|
231
|
-
* @returns the section lines.
|
|
232
|
-
*/
|
|
233
|
-
export function describeApi(ctx, api = SERVICE_API, name, inherited = INHERITED_CTX_API, types = TYPE_API) {
|
|
234
|
-
const live = liveServices(ctx, api);
|
|
235
|
-
const byKey = new Map(api.map(entry => [entry.key, entry]));
|
|
236
|
-
const lines = [];
|
|
237
|
-
let selected = live.filter(service => service.catalogued);
|
|
238
|
-
let documented = [];
|
|
239
|
-
if (name !== undefined) {
|
|
240
|
-
const entry = byKey.get(name);
|
|
241
|
-
if (entry === undefined)
|
|
242
|
-
throw new Error(`no catalogued service named "${name}"`);
|
|
243
|
-
const service = live.find(candidate => candidate.name === name);
|
|
244
|
-
if (service === undefined)
|
|
245
|
-
throw new Error(`catalogued service "${name}" is not running`);
|
|
246
|
-
selected = [service];
|
|
247
|
-
documented = entry.methods;
|
|
248
|
-
}
|
|
249
|
-
for (const service of selected)
|
|
250
|
-
lines.push(...serviceLines(service, documented));
|
|
251
|
-
if (name === undefined) {
|
|
252
|
-
for (const service of live.filter(candidate => !candidate.catalogued)) {
|
|
253
|
-
lines.push(`- ${service.name} (provided by ${service.owner}) — running, but this catalog has no signature for it;`
|
|
254
|
-
+ ` inject: ['${service.name}'] still reaches it`);
|
|
255
|
-
}
|
|
256
|
-
const notRunning = absentServices(ctx, api);
|
|
257
|
-
if (notRunning.length > 0)
|
|
258
|
-
lines.push(`not running (loadable services with no live provider): ${notRunning.join(', ')}`);
|
|
259
|
-
}
|
|
260
|
-
const shapes = typeClosure(selected.flatMap(service => [...service.methods]), types);
|
|
261
|
-
if (shapes.length > 0) {
|
|
262
|
-
lines.push('type shapes (referenced by the signatures above — read these before assuming a field is a string):');
|
|
263
|
-
for (const shape of shapes) {
|
|
264
|
-
for (const declLine of shape.declaration.split('\n'))
|
|
265
|
-
lines.push(` ${declLine}`);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
if (name === undefined) {
|
|
269
|
-
lines.push('inherited ctx API:');
|
|
270
|
-
for (const entry of inherited)
|
|
271
|
-
lines.push(`- ${entry.name} — ${entry.summary}`);
|
|
272
|
-
}
|
|
273
|
-
return lines;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* The `events` section: every harness event with its dispatch mode, one-line
|
|
277
|
-
* summary, and exact signature, closed by the waterfall caution.
|
|
278
|
-
* @param events - the event catalog (the generated one by default; injectable for tests).
|
|
279
|
-
* @param name - exact event name whose signature should include its structured contract; omitted for the compact catalog.
|
|
280
|
-
* @returns the section lines.
|
|
281
|
-
*/
|
|
282
|
-
export function describeEvents(events = EVENT_API, name) {
|
|
283
|
-
let selected = events;
|
|
284
|
-
if (name !== undefined) {
|
|
285
|
-
const event = events.find(candidate => candidate.name === name);
|
|
286
|
-
if (!event)
|
|
287
|
-
throw new Error(`no catalogued event named "${name}"`);
|
|
288
|
-
selected = [event];
|
|
289
|
-
}
|
|
290
|
-
const lines = selected.flatMap((event) => {
|
|
291
|
-
const entry = [`- ${event.name} [${event.mode}] — ${event.summary}`];
|
|
292
|
-
if (name !== undefined) {
|
|
293
|
-
entry.push(` ${event.description}`);
|
|
294
|
-
for (const parameter of event.parameters)
|
|
295
|
-
entry.push(` @param ${parameter.name} — ${parameter.description}`);
|
|
296
|
-
}
|
|
297
|
-
entry.push(` ${event.signature}`);
|
|
298
|
-
return entry;
|
|
299
|
-
});
|
|
300
|
-
lines.push('waterfall listeners receive a trailing next() and MUST call it to delegate — returning without next() short-circuits the chain.');
|
|
301
|
-
return lines;
|
|
302
|
-
}
|
|
303
|
-
//# sourceMappingURL=inspect.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/** Model guidance for read-only runtime API discovery. */
|
|
2
|
-
export declare const CORDIS_SYSTEM_PROMPT = "# Harness runtime inspection\n\nUse cordis_inspect_list to discover Host and Client providers, then cordis_inspect_query to read exact Service, Event, Tool, Theme or Slot APIs. These tools are read-only; queries do not invoke business methods.";
|
|
3
|
-
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Model guidance for read-only runtime API discovery. */
|
|
2
|
-
export const CORDIS_SYSTEM_PROMPT = `# Harness runtime inspection
|
|
3
|
-
|
|
4
|
-
Use cordis_inspect_list to discover Host and Client providers, then cordis_inspect_query to read exact Service, Event, Tool, Theme or Slot APIs. These tools are read-only; queries do not invoke business methods.`;
|
|
5
|
-
//# sourceMappingURL=prompt.js.map
|
|
@@ -19,6 +19,7 @@ import os, { homedir, tmpdir } from "node:os";
|
|
|
19
19
|
import { basename, delimiter, dirname, extname, isAbsolute, join, resolve, sep, win32 } from "node:path";
|
|
20
20
|
import { chmod, mkdir, mkdtemp, open, readFile, rename, rm, stat, unlink, writeFile } from "node:fs/promises";
|
|
21
21
|
import Schema from "@deepseek-ai/schemastery";
|
|
22
|
+
import { createInterface } from "node:readline/promises";
|
|
22
23
|
import { createServer } from "node:net";
|
|
23
24
|
import { writeFileAtomic } from "@deepseek-ai/dsh-atomic-write";
|
|
24
25
|
import { assembleContextFor, installModelSelection } from "@deepseek-ai/dsh-agent";
|
|
@@ -40,7 +41,6 @@ import { appendFileSync as appendFileSync$1, closeSync as closeSync$1, constants
|
|
|
40
41
|
import { format } from "util";
|
|
41
42
|
import process$1 from "node:process";
|
|
42
43
|
import tty from "node:tty";
|
|
43
|
-
import { createInterface } from "node:readline/promises";
|
|
44
44
|
//#region ../../node_modules/.pnpm/react@19.3.1/node_modules/react/cjs/react.production.js
|
|
45
45
|
/**
|
|
46
46
|
* @license React
|