@chatcode/chatcode-cli 3.0.5 → 3.0.6-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +6 -6
- package/README.md +7 -0
- package/README.zh.md +7 -0
- package/lib/bin.js +19 -5
- package/lib/{command-errors-CnbcOM1a.js → command-errors-vCFKCJFq.js} +12 -12
- package/lib/{command-trees-CU7BxVJo.js → command-trees-N2_LR4f-.js} +2 -2
- package/lib/{component-identity-kZK1_hFy.js → component-identity-CaV_MmmE.js} +3 -3
- package/lib/desktop-history-B0iUekXf.js +72 -0
- package/lib/desktop-history-DvgkONgj.js +2 -0
- package/lib/{dump-config-D8kXfdTs.js → dump-config-CgIYHBp2.js} +1 -1
- package/lib/dump-config-D6TruNva.js +2 -0
- package/lib/{dump-config-schema-CtZbroi6.js → dump-config-schema-GiAtkJwx.js} +2 -2
- package/lib/{extension-events-hLxwPvpg.js → extension-events-B5qKP0-X.js} +20 -20
- package/lib/{host-access-kT-u85k_.js → host-access-BRXW3V8i.js} +1 -1
- package/lib/{keymap-DS1M8sDo.js → keymap-BYjklwli.js} +2 -2
- package/lib/{plugin-CYw-MBRn.js → plugin-BACkrsVG.js} +1 -1
- package/lib/{plugin-d65VulBk.js → plugin-VYAv2o0K.js} +498 -348
- package/lib/{profile-boot-CffsubnV.js → profile-boot-c5YKtUIb.js} +17 -4
- package/lib/profile-boot.js +1 -1
- package/lib/{scenes-DG6T8t-A.js → scenes-B-iDMpgW.js} +3 -3
- package/lib/{settings-sections-2SuE0biI.js → settings-sections-CYCrZKUk.js} +3 -3
- package/lib/{statusBarSettings-B2MEAwnI.js → statusBarSettings-Cu-b_o4Q.js} +3 -3
- package/lib/{themes-DUO7kGW-.js → themes-DC9GpV6q.js} +12 -12
- package/lib/tui-compat-command-trees.js +1 -1
- package/lib/tui-compat-extensions.js +3 -3
- package/lib/tui-compat-plugin-host.js +5 -5
- package/lib/tui-compat-scenes.js +1 -1
- package/lib/tui-compat-settings-sections.js +1 -1
- package/lib/tui-compat-working-activity.js +1 -1
- package/lib/tui-compat-workspaces.js +1 -1
- package/lib/tui-compat.js +6 -6
- package/lib/types/args.d.ts +8 -1
- package/lib/types/desktop-history.d.ts +31 -0
- package/lib/types/installed-bin.d.ts +9 -0
- package/lib/{workspaces-CLOkL_yE.js → workspaces-BchdRzlw.js} +2 -2
- package/package.json +26 -26
- package/runtime/manifest.json +3 -2
- package/runtime/node_modules/@chatcode/runtime-client/README.md +225 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-history-guard.mjs +65 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-history.mjs +278 -0
- package/runtime/node_modules/@chatcode/runtime-client/desktop-permission-gate.mjs +28 -0
- package/runtime/node_modules/@chatcode/runtime-client/execution.mjs +593 -0
- package/runtime/node_modules/@chatcode/runtime-client/index.d.ts +449 -0
- package/runtime/node_modules/@chatcode/runtime-client/model-preferences.mjs +57 -0
- package/runtime/node_modules/@chatcode/runtime-client/package.json +53 -0
- package/runtime/node_modules/@chatcode/runtime-client/runtime-connector.mjs +736 -0
- package/runtime/node_modules/@chatcode/runtime-client/session-activity.mjs +121 -0
- package/runtime/node_modules/@chatcode/runtime-client/session-browser.mjs +122 -0
- package/runtime/node_modules/@chatcode/runtime-client/stdio-bridge.mjs +103 -0
- package/runtime/node_modules/@chatcode/runtime-client/user-questions.mjs +108 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts +69 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts +68 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts.map +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/index.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/runtime-types.d.ts +12 -3
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +69 -17
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/invariant.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/agent.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/inbox.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +164 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +460 -79
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +636 -44
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +483 -55
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.d.ts +19 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +377 -40
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +24 -4
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +97 -15
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.d.ts +11 -2
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +172 -18
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.d.ts +104 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.d.ts +105 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +4 -4
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.d.ts +88 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +230 -6
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.d.ts +64 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.js +79 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.d.ts +45 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +93 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/bundle-platform.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/startup-diagnostics.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/client/socket.d.ts +50 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/connect-protocol.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/peer.d.ts +36 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/de.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/es.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/fr.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ja.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/pt.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ru.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/assets.d.ts +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/notify.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/release-change.d.ts +44 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/CreatePluginMenuItem.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/analytics.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalCard.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalWarning.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/PixelWhale.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/artwork.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/code-fill.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/renderer.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ChatFlow.d.ts +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ReasoningContent.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningStatus.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningWhaleTail.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/UserContent.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/flow-motion.d.ts +110 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-interaction.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-selection.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/contract/group-tree.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/conversation-nodes/group-tree-segments.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/file-path.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/reasoning-text.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/types/client/option-groups.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/text-interaction.d.ts +31 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/user-text.d.ts +60 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/interaction-registry.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-document.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-registry.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/draft.d.ts +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/CommandChip.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/QuoteNode.d.ts +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-node.d.ts +87 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-selection.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/prompt.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/submission-analytics.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/UserText.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/session-reference-rule.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/whitespace-rules.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/view-pins.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/GoalCommandReference.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/user-text-rules.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/provider-order.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/context-menus.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/open-toast.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/outcome.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/session-open-with.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/BundleDetailSection.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/PluginRefreshToast.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/detail-store.d.ts +76 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/header-scroll.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/sanitize-install-input.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/tab-ledger.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/versions.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/AnimatedRows.module.css +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DetailDocument.module.css +67 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/QuotePreview.module.css +101 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RowDragPreview.module.css +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/UserMessageBubble.module.css +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ZoomControls.module.css +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/AnimatedRows.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DetailDocument.d.ts +78 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DraggableImage.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuRow.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/QuotePreview.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SubmenuPanel.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/UserMessageBubble.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ZoomControls.d.ts +27 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/document-zoom.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-drag-actions.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/artwork.d.ts +426 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/image-drag.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/copy-tex.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/quote-text.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/windows-path-destinations.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/menu-submenu-position.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/tooltip-placement.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-clipboard-copy.d.ts +14 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useMenuSubmenu.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useRowDragPreview.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/FileReference.d.ts +29 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/user-text-rules.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/NewSessionLimit.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/RuleSelectRow.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/ScheduleEmptyIllustration.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskEditorFields.d.ts +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskRuleControls.d.ts +50 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/clear-ended.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-store.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-timing.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/task-record.d.ts +30 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/account-avatar.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/browser-login.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/notice-transition.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/onboarding-settings.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/DesktopChannelRow.d.ts +31 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/HostReleasePrompt.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-channel-source.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ApiKeyInput.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ModelReasoningEfforts.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/useModelRows.d.ts +41 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/PanelIcon.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/panel-pins.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/scroll-handoff.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.frontmatter-fields.js +5768 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/PreviewFrame.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/image/pan.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter-fields.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileNavigator.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileTree.d.ts +114 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/NavigatorToggle.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/navigator-layout.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/workspace-tree.d.ts +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/TabMenuContent.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/flash.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/GuideMoreIcon.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/guide-pins.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/SkillReference.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/user-text-rules.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/slots.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontFamilyRow.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontSettingsGroup.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/icon-sprite.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/ExitCodeBadge.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/QuestionToolRow.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/file-menu.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/models/recorded-path.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/client/watch-tool-result.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/types.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/QuestionReplyView.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/question-reply.d.ts +74 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/contract/toast.d.ts +67 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/path-suffix.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/WorkspaceDialogs.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/SessionMenu.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/context-menus.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/Toast.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/register.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.d.ts +46 -0
- package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
- package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +11 -8
- package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/index.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +10 -10
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/types/locales.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/MicrophonePicker.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/failure-text.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/microphone-device.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-Dc3g2Bl1.js} +11 -7
- package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/module-files.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/package-manifest.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/index.js +241 -64
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +26 -11
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.js +5 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.d.ts +30 -6
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +109 -8
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/message.d.ts +5 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.d.ts +5 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.js +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/types.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +19 -7
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/credential.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listed-catalog.d.ts +56 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-cache.d.ts +71 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-config.d.ts +48 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing.d.ts +91 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol-adapter.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +149 -28
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/adapter.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/prompt-options.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.generated.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/types.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.d.ts +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.d.ts +87 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.d.ts +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +4 -4
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.js +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.d.ts +27 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.js +65 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.d.ts +40 -0
- package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.js +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/config.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/configuration.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/async-function.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/index.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/repl.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/types.d.ts +68 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script-await.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/execution.d.ts +66 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/evaluation-ended.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/module-hooks.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/vm-modules.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process-entry.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/policy-processes.d.ts +30 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/rpc.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/worker.d.ts +66 -0
- package/runtime/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +215 -9
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox/lib/types/locales.d.ts +41 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types/acl-skill.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-Ci-q7_aQ.js → types-DwkEVVWZ.js} +357 -81
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-activity.d.ts +43 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-content.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-input.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/user-questions.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/request-header.js +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/types.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/CopyToast.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/copy-controller.d.ts +76 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/markdown.d.ts +22 -0
- package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +197 -9
- package/runtime/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +5 -5
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.d.ts +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.d.ts +232 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1250 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.d.ts +56 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/types/linux-scope-selector.d.ts +60 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +215 -9
- package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.d.ts +74 -0
- package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.js +94 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/types/timed.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-output.d.ts +140 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-presentation.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/mutation-result.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/execute.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/index.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/plan.d.ts +52 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/preflight.d.ts +18 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/types.d.ts +106 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent/lib/types/preset-selection.d.ts +36 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.js +104 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.d.ts +26 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.js +246 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.d.ts +376 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.js +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.d.ts +58 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.js +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.d.ts +90 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.js +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.d.ts +154 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.js +701 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.js +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.d.ts +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.js +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.d.ts +21 -0
- package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.js +143 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.d.ts +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/cron.d.ts +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/duration.d.ts +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/instant.d.ts +145 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/recurrence.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/rrule.d.ts +34 -0
- package/runtime/node_modules/@deepseek-ai/dsh-util-values/lib/types/partial-json.d.ts +152 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-app/lib/types/public-url.d.ts +16 -0
- package/lib/dump-config-DuCc-QB7.js +0 -2
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.d.ts +0 -26
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/watch-config.d.ts +0 -13
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/types/ImageLightbox.d.ts +0 -27
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/queue.d.ts +0 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/queue-store.d.ts +0 -20
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/ProducedFiles.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/icons.d.ts +0 -8
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -29
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-contract.d.ts +0 -86
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-scope.d.ts +0 -141
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-update-bridge.d.ts +0 -23
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/AgentLoopCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/BashCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/ConfigurablePluginsTab.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginCard.d.ts +0 -42
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginConfigForm.d.ts +0 -34
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentLimitsFields.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionCard.d.ts +0 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionFields.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/WebSearchCard.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/agent-loop-card-controller.d.ts +0 -43
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/bash-card-controller.d.ts +0 -45
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/card-form.d.ts +0 -171
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/fields.d.ts +0 -69
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/slot-contract.d.ts +0 -31
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-card-controller.d.ts +0 -32
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-limits-card-controller.d.ts +0 -33
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-model-selection-card-controller.d.ts +0 -129
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/tab-store.d.ts +0 -65
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/web-search-card-controller.d.ts +0 -93
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/code/languages.d.ts +0 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/icons.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/pdf/PdfBody.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/types/client/TerminalBody.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/subagent-lineage.d.ts +0 -21
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/subagent-lineage.d.ts +0 -21
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/defaults.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-id.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-store.d.ts +0 -86
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/files-api.d.ts +0 -111
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/image-tokens.d.ts +0 -34
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/messages-api.d.ts +0 -10
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/model-info.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/models.d.ts +0 -4
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-extensions.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-files.d.ts +0 -49
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-pricing.d.ts +0 -60
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/types.d.ts +0 -119
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/upload-index.d.ts +0 -68
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/adapter.d.ts +0 -45
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/serialize.d.ts +0 -78
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/sse.d.ts +0 -24
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/translate.d.ts +0 -37
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/types.d.ts +0 -178
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/adapter.d.ts +0 -47
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/images.d.ts +0 -35
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/replay.d.ts +0 -27
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/serialize.d.ts +0 -18
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/sse.d.ts +0 -8
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/translate.d.ts +0 -14
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/transport.d.ts +0 -15
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/types.d.ts +0 -62
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.d.ts +0 -19
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.d.ts +0 -35
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.d.ts +0 -10
- package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.d.ts +0 -16
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.d.ts +0 -28
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.js +0 -25
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.d.ts +0 -93
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.js +0 -303
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.d.ts +0 -3
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.js +0 -5
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The web-search card's staged form over the `web-search-deepseek` settings
|
|
3
|
-
* namespace.
|
|
4
|
-
*
|
|
5
|
-
* The key is the one control that does not live in the section: its literal
|
|
6
|
-
* never rides a response, so the card learns only whether one is configured
|
|
7
|
-
* and writes it through the credentials domain, addressed by the reference the
|
|
8
|
-
* section names. It is still staged with the rest of the form, so one save
|
|
9
|
-
* covers everything the card shows.
|
|
10
|
-
*/
|
|
11
|
-
import type { Context as ClientContext } from '@deepseek-ai/cordis';
|
|
12
|
-
import type { SnapshotStore } from '@deepseek-ai/dsh-client-store';
|
|
13
|
-
import type { SettingsScope } from '@deepseek-ai/dsh-client-ui-settings/client';
|
|
14
|
-
import { type CardActions, type CardFieldState, type CardShell } from './card-form.ts';
|
|
15
|
-
/**
|
|
16
|
-
* Namespace of the DeepSeek search provider. Spelled here rather than
|
|
17
|
-
* imported: a client package must not depend on a Host package.
|
|
18
|
-
*/
|
|
19
|
-
export declare const WEB_SEARCH_NS = "web-search-deepseek";
|
|
20
|
-
/** The search-provider fields this card edits. */
|
|
21
|
-
export interface WebSearchSettings {
|
|
22
|
-
/** Credential reference naming the environment key. */
|
|
23
|
-
apiKeyEnv?: string;
|
|
24
|
-
/** Provider endpoint; blank inherits the provider default. */
|
|
25
|
-
baseURL?: string;
|
|
26
|
-
/** Maximum searches served within one request. */
|
|
27
|
-
maxUses?: number;
|
|
28
|
-
}
|
|
29
|
-
/** What the web-search card renders. */
|
|
30
|
-
export interface WebSearchCardState extends CardShell {
|
|
31
|
-
/** Provider endpoint. */
|
|
32
|
-
baseURL: CardFieldState;
|
|
33
|
-
/** Searches allowed per request. */
|
|
34
|
-
maxUses: CardFieldState;
|
|
35
|
-
/** The staged credential, which starts blank on every load. */
|
|
36
|
-
apiKey: CardFieldState;
|
|
37
|
-
/** Whether the Host reports a credential configured for the referenced key. */
|
|
38
|
-
apiKeyConfigured: boolean;
|
|
39
|
-
/** Whether the credentials domain accepts a write for it; false disables the control. */
|
|
40
|
-
apiKeyWritable: boolean;
|
|
41
|
-
}
|
|
42
|
-
/** The registration-side face the web-search card's slot entry injects. */
|
|
43
|
-
export interface WebSearchCardFace extends CardActions {
|
|
44
|
-
hooks: {
|
|
45
|
-
/** Card snapshot bound by the renderer as useWebSearchCard. */
|
|
46
|
-
webSearchCard: SnapshotStore<WebSearchCardState>;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
/** Bridges the `web-search-deepseek` scope and the credentials domain onto the card. */
|
|
50
|
-
export declare class WebSearchCardController {
|
|
51
|
-
private readonly scope;
|
|
52
|
-
private readonly ctx;
|
|
53
|
-
private readonly form;
|
|
54
|
-
private readonly store;
|
|
55
|
-
private credential;
|
|
56
|
-
/**
|
|
57
|
-
* @param scope - the bound settings scope for the `web-search-deepseek` namespace.
|
|
58
|
-
* @param ctx - the card plugin's context, whose `remote.credentials` namespace
|
|
59
|
-
* answers for the credential the section references.
|
|
60
|
-
*/
|
|
61
|
-
constructor(scope: SettingsScope<WebSearchSettings>, ctx: ClientContext);
|
|
62
|
-
private projection;
|
|
63
|
-
/**
|
|
64
|
-
* Ask the credentials domain about the reference the section currently names.
|
|
65
|
-
*
|
|
66
|
-
* The answer is stored with the reference it describes: `apiKeyEnv` can
|
|
67
|
-
* change between the request and its response, and two reads can settle out
|
|
68
|
-
* of order, so a response is published only while it still answers for the
|
|
69
|
-
* reference in force.
|
|
70
|
-
*/
|
|
71
|
-
private readCredential;
|
|
72
|
-
/**
|
|
73
|
-
* Re-read after the Host reports a change to the reference this card watches.
|
|
74
|
-
*
|
|
75
|
-
* A key can be written from somewhere else — the Models page addresses the
|
|
76
|
-
* same reference — and the settings section does not change when it is, so
|
|
77
|
-
* without this the badge keeps reporting a state the Host already replaced.
|
|
78
|
-
* @param ref - the reference the Host reports as changed.
|
|
79
|
-
*/
|
|
80
|
-
refreshCredential(ref: string): void;
|
|
81
|
-
/**
|
|
82
|
-
* Build the face the card's slot registration injects.
|
|
83
|
-
* @returns the card's snapshot and its form actions.
|
|
84
|
-
*/
|
|
85
|
-
inject(): WebSearchCardFace;
|
|
86
|
-
/**
|
|
87
|
-
* Write the staged key, then re-read whether the Host now holds one.
|
|
88
|
-
* @param value - the staged credential literal.
|
|
89
|
-
* @returns whether the Host reports a configured credential afterwards.
|
|
90
|
-
*/
|
|
91
|
-
private writeKey;
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=web-search-card-controller.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** Recognized suffixes shared by renderer selection and language hints. */
|
|
2
|
-
export declare const CODE_EXTENSIONS: readonly string[];
|
|
3
|
-
/**
|
|
4
|
-
* Select the shared highlighter's grammar for a filename.
|
|
5
|
-
* @param path - decoded source filename or path.
|
|
6
|
-
* @returns a supported grammar hint, or undefined for other suffixes.
|
|
7
|
-
*/
|
|
8
|
-
export declare function languageForPath(path: string): string | undefined;
|
|
9
|
-
//# sourceMappingURL=languages.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Glyphs this package draws that the shared icon set does not carry yet.
|
|
3
|
-
* Same props contract as `@deepseek-ai/dsh-client-ui-primitives` icons, so a
|
|
4
|
-
* shared replacement is a one-line import change.
|
|
5
|
-
*
|
|
6
|
-
* The wrap control swaps between the two glyphs below to preview the mode a
|
|
7
|
-
* click switches to, so neither needs a pressed style.
|
|
8
|
-
*/
|
|
9
|
-
import type { IconProps } from '@deepseek-ai/dsh-client-ui-primitives';
|
|
10
|
-
/** Two margin bars, a straight arrow running to the right one: lines run past the edge. */
|
|
11
|
-
export declare const IconNowrapFill16: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
12
|
-
/** Two margin bars, an arrow sweeping around and back left: lines turn under themselves. */
|
|
13
|
-
export declare const IconWrapFill16: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** PDF page presentation; binary content and tab information come from the document owner. */
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
-
import type { PropsLocale, PropsStore } from '@deepseek-ai/dsh-client-ui-slots';
|
|
4
|
-
import type { TabId } from '@deepseek-ai/dsh-client-ui-dockkit';
|
|
5
|
-
import type { DocumentPreviewProps } from '../document/contract.ts';
|
|
6
|
-
import { type PdfStore } from './store.ts';
|
|
7
|
-
/** A record's viewing preferences survive body unmounts and leave with the tab. */
|
|
8
|
-
export interface PdfBodyInjected {
|
|
9
|
-
/**
|
|
10
|
-
* Retain viewing preferences until the tab record ends.
|
|
11
|
-
* @param tabId - owning tab.
|
|
12
|
-
* @param signal - tab-record lifetime, not body visibility.
|
|
13
|
-
*/
|
|
14
|
-
readonly retainTab: (tabId: TabId, signal: AbortSignal) => void;
|
|
15
|
-
}
|
|
16
|
-
/** Standard document props plus the PDF entry's locale, viewing store, and lifetime callback. */
|
|
17
|
-
export type PdfBodyProps = DocumentPreviewProps & PropsLocale<'sidebarPdf'> & PropsStore<PdfStore> & PdfBodyInjected;
|
|
18
|
-
/**
|
|
19
|
-
* Present a PDF with tab-local viewing preferences and component-owned rendering resources.
|
|
20
|
-
* @param props - complete bytes and framework-owned tab/store/locale seats.
|
|
21
|
-
* @returns the PDF reader.
|
|
22
|
-
*/
|
|
23
|
-
export declare function PdfBody(props: PdfBodyProps): ReactNode;
|
|
24
|
-
//# sourceMappingURL=PdfBody.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** Sidebar terminal screen and connection recovery. */
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
-
import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
|
|
4
|
-
import type { TerminalBodyInjected } from './face.ts';
|
|
5
|
-
import '@xterm/xterm/css/xterm.css';
|
|
6
|
-
/** Standard sidebar owner share plus terminal model and localized copy. */
|
|
7
|
-
export type TerminalBodyProps = PropsRuntime<'sidebar.right.pane.tab'> & PropsLocale<'sidebarTerminal'> & InjectFace<TerminalBodyInjected>;
|
|
8
|
-
/**
|
|
9
|
-
* Render the retained terminal with the application theme.
|
|
10
|
-
* @param props - sidebar occurrence, model lookup and translated copy.
|
|
11
|
-
* @returns the terminal screen and any pending or exceptional state.
|
|
12
|
-
*/
|
|
13
|
-
export declare function TerminalBody({ useTabInfo, useTerminal, useTheme, view, t }: TerminalBodyProps): ReactNode;
|
|
14
|
-
//# sourceMappingURL=TerminalBody.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** UI Subagent-owned projection of descendant counts from Session summaries. */
|
|
2
|
-
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
3
|
-
interface LineageEntry {
|
|
4
|
-
readonly id: SessionId;
|
|
5
|
-
readonly parentId?: SessionId;
|
|
6
|
-
readonly origin?: 'subagent';
|
|
7
|
-
readonly running: boolean;
|
|
8
|
-
}
|
|
9
|
-
/** Descendant counts for one possible parent Session. */
|
|
10
|
-
export interface SubagentDescendantSummary {
|
|
11
|
-
readonly count: number;
|
|
12
|
-
readonly runningCount: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Index uninterrupted subagent descendants under each ancestor.
|
|
16
|
-
* @param summaries - Session summaries keyed by id.
|
|
17
|
-
* @returns descendant totals keyed by possible parent id.
|
|
18
|
-
*/
|
|
19
|
-
export declare function indexSubagentDescendants(summaries: Readonly<Record<SessionId, LineageEntry>>): ReadonlyMap<SessionId, SubagentDescendantSummary>;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=subagent-lineage.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** UI Workspace-owned projection of descendant counts from Session summaries. */
|
|
2
|
-
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
3
|
-
interface LineageEntry {
|
|
4
|
-
readonly id: SessionId;
|
|
5
|
-
readonly parentId?: SessionId;
|
|
6
|
-
readonly origin?: 'subagent';
|
|
7
|
-
readonly running: boolean;
|
|
8
|
-
}
|
|
9
|
-
/** Descendant counts for one possible parent Session. */
|
|
10
|
-
export interface SubagentDescendantSummary {
|
|
11
|
-
readonly count: number;
|
|
12
|
-
readonly runningCount: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Index uninterrupted subagent descendants under each ancestor.
|
|
16
|
-
* @param summaries - Session summaries keyed by id.
|
|
17
|
-
* @returns descendant totals keyed by possible parent id.
|
|
18
|
-
*/
|
|
19
|
-
export declare function indexSubagentDescendants(summaries: Readonly<Record<SessionId, LineageEntry>>): ReadonlyMap<SessionId, SubagentDescendantSummary>;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=subagent-lineage.d.ts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** Shared provider limits and Chat Files API defaults. */
|
|
2
|
-
/** Default maximum idle interval while an adapter stream read is outstanding. */
|
|
3
|
-
export declare const DEFAULT_STREAM_IDLE_TIMEOUT_MS = 300000;
|
|
4
|
-
/** Default combined request/response context capacity. */
|
|
5
|
-
export declare const DEFAULT_CONTEXT_WINDOW = 1000000;
|
|
6
|
-
/** Default per-request output-token cap. */
|
|
7
|
-
export declare const DEFAULT_MAX_TOKENS = 256000;
|
|
8
|
-
/** Default bound on accumulated base64 image payload after Files API fallback. */
|
|
9
|
-
export declare const DEFAULT_MAX_INLINE_REQUEST_IMAGE_BYTES: number;
|
|
10
|
-
/** Deterministic raw-byte removal step. */
|
|
11
|
-
export declare const DEFAULT_IMAGE_OFFLOAD_BYTE_QUANTUM: number;
|
|
12
|
-
/** Deterministic base64-byte removal step after Files API fallback. */
|
|
13
|
-
export declare const DEFAULT_INLINE_IMAGE_OFFLOAD_BYTE_QUANTUM: number;
|
|
14
|
-
/** Deterministic image-count removal step. */
|
|
15
|
-
export declare const DEFAULT_IMAGE_OFFLOAD_COUNT_QUANTUM = 20;
|
|
16
|
-
/** Default explicit lifetime for uploaded images. */
|
|
17
|
-
export declare const DEFAULT_FILE_EXPIRY_SECONDS: number;
|
|
18
|
-
/** Default proactive refresh window for indexed file ids. */
|
|
19
|
-
export declare const DEFAULT_FILE_REFRESH_MARGIN_SECONDS: number;
|
|
20
|
-
/** Default number of oldest harness-owned files removed on quota recovery. */
|
|
21
|
-
export declare const DEFAULT_FILE_QUOTA_CLEANUP_BATCH = 100;
|
|
22
|
-
/** Default deadline for resolving one request image through the Files API. */
|
|
23
|
-
export declare const DEFAULT_FILES_API_TIMEOUT_MS = 60000;
|
|
24
|
-
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** DeepSeek Files API identifiers. @module dsh-llm-deepseek/file-id */
|
|
2
|
-
import type { Branded } from '@deepseek-ai/dsh-brand';
|
|
3
|
-
/** Opaque identifier returned by the DeepSeek Files API. */
|
|
4
|
-
export type DeepSeekFileId = Branded<'DeepSeekFileId'>;
|
|
5
|
-
/**
|
|
6
|
-
* Brand a provider-returned file identifier after wire validation.
|
|
7
|
-
* @param id - non-empty Files API identifier.
|
|
8
|
-
* @returns the same string with its provider identity attached at type level.
|
|
9
|
-
*/
|
|
10
|
-
export declare function DeepSeekFileId(id: string): DeepSeekFileId;
|
|
11
|
-
/** Non-secret digest identifying one endpoint and API-key file namespace. */
|
|
12
|
-
export type DeepSeekFileScope = Branded<'DeepSeekFileScope'>;
|
|
13
|
-
/**
|
|
14
|
-
* Brand a locally derived namespace digest.
|
|
15
|
-
* @param scope - SHA-256 digest of endpoint and API key.
|
|
16
|
-
* @returns the same string with namespace identity attached at type level.
|
|
17
|
-
*/
|
|
18
|
-
export declare function DeepSeekFileScope(scope: string): DeepSeekFileScope;
|
|
19
|
-
//# sourceMappingURL=file-id.d.ts.map
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/** DeepSeek Files API upload reuse, invalidation, and quota recovery. @module dsh-llm-deepseek/file-store */
|
|
2
|
-
import type { RequestImageAttachment } from '@deepseek-ai/dsh-attachment';
|
|
3
|
-
import type { DeepSeekFileId } from './file-id.ts';
|
|
4
|
-
import { DeepSeekUploadIndex } from './upload-index.ts';
|
|
5
|
-
import type { DeepSeekUploadRecord } from './upload-index.ts';
|
|
6
|
-
import type { DeepSeekProtocol } from './types.ts';
|
|
7
|
-
/** Shared Files-store limit for each request image, including file-id references. */
|
|
8
|
-
export declare const MAX_IMAGE_BYTES: number;
|
|
9
|
-
/** Resolved file-store policy from the plugin configuration. */
|
|
10
|
-
export interface DeepSeekFilePolicy {
|
|
11
|
-
expiresAfterSeconds: number;
|
|
12
|
-
refreshMarginSeconds: number;
|
|
13
|
-
quotaCleanupBatch: number;
|
|
14
|
-
}
|
|
15
|
-
/** Connection facts needed by file operations. */
|
|
16
|
-
export interface DeepSeekFileConnection {
|
|
17
|
-
baseURL: string;
|
|
18
|
-
apiKey: string;
|
|
19
|
-
/** Files wire protocol selected by the resolved connection. */
|
|
20
|
-
protocol: DeepSeekProtocol;
|
|
21
|
-
}
|
|
22
|
-
/** Result of one file-id resolution. */
|
|
23
|
-
export interface DeepSeekFileReference {
|
|
24
|
-
record: DeepSeekUploadRecord;
|
|
25
|
-
uploaded: boolean;
|
|
26
|
-
}
|
|
27
|
-
interface FileStoreOptions {
|
|
28
|
-
index?: DeepSeekUploadIndex;
|
|
29
|
-
now?: () => number;
|
|
30
|
-
fetch?: typeof fetch;
|
|
31
|
-
}
|
|
32
|
-
/** User-scoped durable file-id reuse for the DeepSeek route. */
|
|
33
|
-
export declare class DeepSeekFileStore {
|
|
34
|
-
private readonly index;
|
|
35
|
-
private readonly now;
|
|
36
|
-
private readonly fetchImpl;
|
|
37
|
-
private readonly inflight;
|
|
38
|
-
/**
|
|
39
|
-
* @param options - testable index, clock, and transport boundaries.
|
|
40
|
-
*/
|
|
41
|
-
constructor(options?: FileStoreOptions);
|
|
42
|
-
private client;
|
|
43
|
-
/**
|
|
44
|
-
* Resolve or upload one deterministic request image. Concurrent calls share one upload while retaining independent waits.
|
|
45
|
-
* @param version - deterministic model-request bytes and complete transformation identity.
|
|
46
|
-
* @param connection - endpoint and API-key snapshot.
|
|
47
|
-
* @param policy - expiry and quota-recovery policy.
|
|
48
|
-
* @param signal - cancellation of this wait; shared transport stops when no waiter remains.
|
|
49
|
-
* @returns a reusable file id and whether this call published a new upload.
|
|
50
|
-
*/
|
|
51
|
-
ensureUploaded(version: RequestImageAttachment, connection: DeepSeekFileConnection, policy: DeepSeekFilePolicy, signal?: AbortSignal): Promise<DeepSeekFileReference>;
|
|
52
|
-
private ensureUploadedOnce;
|
|
53
|
-
/**
|
|
54
|
-
* Invalidate one exact local mapping after a model request rejects its remote id.
|
|
55
|
-
* @param version - request-image version whose remote generation failed.
|
|
56
|
-
* @param fileId - exact rejected file id.
|
|
57
|
-
* @param connection - endpoint and API-key snapshot.
|
|
58
|
-
*/
|
|
59
|
-
invalidate(version: RequestImageAttachment, fileId: DeepSeekFileId, connection: DeepSeekFileConnection): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* Delete the indexed remote file for one attachment and remove its local mapping.
|
|
62
|
-
* @param version - exact request-image version to release.
|
|
63
|
-
* @param connection - endpoint and API-key snapshot.
|
|
64
|
-
* @param policy - expiry policy used to locate a reusable mapping.
|
|
65
|
-
* @param signal - request cancellation.
|
|
66
|
-
* @returns whether an indexed file existed and was deleted.
|
|
67
|
-
*/
|
|
68
|
-
release(version: RequestImageAttachment, connection: DeepSeekFileConnection, policy: DeepSeekFilePolicy, signal?: AbortSignal): Promise<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Delete the oldest provider files whose names identify harness ownership.
|
|
71
|
-
* @param connection - endpoint and API-key snapshot.
|
|
72
|
-
* @param count - positive maximum number of files to delete.
|
|
73
|
-
* @param signal - request cancellation.
|
|
74
|
-
* @returns number of successfully deleted files.
|
|
75
|
-
*/
|
|
76
|
-
reclaimOldestOwned(connection: DeepSeekFileConnection, count: number, signal?: AbortSignal): Promise<number>;
|
|
77
|
-
/**
|
|
78
|
-
* Delete every remote harness-owned file in the active API-key namespace and clear its index.
|
|
79
|
-
* @param connection - endpoint and API-key snapshot.
|
|
80
|
-
* @param signal - request cancellation.
|
|
81
|
-
* @returns number of deleted files.
|
|
82
|
-
*/
|
|
83
|
-
releaseAll(connection: DeepSeekFileConnection, signal?: AbortSignal): Promise<number>;
|
|
84
|
-
}
|
|
85
|
-
export {};
|
|
86
|
-
//# sourceMappingURL=file-store.d.ts.map
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/** DeepSeek Files API transport for Chat Completions and Messages endpoints. @module dsh-llm-deepseek/files-api */
|
|
2
|
-
import { LlmError } from '@deepseek-ai/dsh-llm';
|
|
3
|
-
import type { ImageMediaType } from '@deepseek-ai/dsh-attachment';
|
|
4
|
-
import type { DeepSeekFileId as DeepSeekFileIdType } from './file-id.ts';
|
|
5
|
-
import type { DeepSeekProtocol } from './types.ts';
|
|
6
|
-
/** Minimum provider-supported file lifetime. */
|
|
7
|
-
export declare const MIN_FILE_EXPIRY_SECONDS = 3600;
|
|
8
|
-
/** Maximum provider-supported file lifetime. */
|
|
9
|
-
export declare const MAX_FILE_EXPIRY_SECONDS = 2592000;
|
|
10
|
-
/** Maximum Files API upload size. */
|
|
11
|
-
export declare const MAX_FILE_UPLOAD_BYTES: number;
|
|
12
|
-
/** Current per-key file-count quota. */
|
|
13
|
-
export declare const MAX_STORED_FILE_COUNT = 10000;
|
|
14
|
-
/** Current per-key storage quota. */
|
|
15
|
-
export declare const MAX_STORED_FILE_BYTES: number;
|
|
16
|
-
/** Validated file metadata normalized from either DeepSeek Files protocol. */
|
|
17
|
-
export interface DeepSeekFileObject {
|
|
18
|
-
id: DeepSeekFileIdType;
|
|
19
|
-
bytes: number;
|
|
20
|
-
createdAt: number;
|
|
21
|
-
filename: string;
|
|
22
|
-
/** Chat Completions purpose; synthesized as `user_data` for Messages. */
|
|
23
|
-
purpose: 'user_data';
|
|
24
|
-
/** Remote Chat Completions expiry or the upload-time Messages reuse deadline; Messages list/retrieve omit this field. */
|
|
25
|
-
expiresAt?: number;
|
|
26
|
-
}
|
|
27
|
-
/** One page returned by `GET /files`. */
|
|
28
|
-
export interface DeepSeekFilePage {
|
|
29
|
-
data: DeepSeekFileObject[];
|
|
30
|
-
firstId?: DeepSeekFileIdType;
|
|
31
|
-
lastId?: DeepSeekFileIdType;
|
|
32
|
-
hasMore: boolean;
|
|
33
|
-
}
|
|
34
|
-
/** Files API operation failure with its HTTP status retained for recovery policy. */
|
|
35
|
-
export declare class DeepSeekFilesError extends LlmError {
|
|
36
|
-
/** Parsed provider detail used only for error classification. */
|
|
37
|
-
readonly detail: string;
|
|
38
|
-
/**
|
|
39
|
-
* @param message - user-readable provider failure.
|
|
40
|
-
* @param status - HTTP status returned by the Files API.
|
|
41
|
-
* @param detail - provider error fields joined for classification.
|
|
42
|
-
*/
|
|
43
|
-
constructor(message: string, status: number, detail: string);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Whether an upload failure reports a provider storage or file-count quota.
|
|
47
|
-
* @param error - Files API operation failure.
|
|
48
|
-
* @returns whether one bounded remote cleanup and upload retry may recover.
|
|
49
|
-
*/
|
|
50
|
-
export declare function isFilesQuotaError(error: unknown): error is DeepSeekFilesError;
|
|
51
|
-
interface FilesApiOptions {
|
|
52
|
-
baseURL: string;
|
|
53
|
-
apiKey: string;
|
|
54
|
-
protocol: DeepSeekProtocol;
|
|
55
|
-
fetch?: typeof fetch;
|
|
56
|
-
}
|
|
57
|
-
/** Direct Files client retaining the configured URL root and refusing redirects before credentials can leave its origin. */
|
|
58
|
-
export declare class DeepSeekFilesClient {
|
|
59
|
-
private readonly baseURL;
|
|
60
|
-
private readonly apiKey;
|
|
61
|
-
private readonly fetchImpl;
|
|
62
|
-
private readonly protocol;
|
|
63
|
-
private readonly path;
|
|
64
|
-
/**
|
|
65
|
-
* @param options - endpoint, API-key snapshot, and optional test transport.
|
|
66
|
-
*/
|
|
67
|
-
constructor(options: FilesApiOptions);
|
|
68
|
-
private parseFile;
|
|
69
|
-
private request;
|
|
70
|
-
/**
|
|
71
|
-
* Upload one image with an explicit expiry.
|
|
72
|
-
* @param input - deterministic request-version bytes, media type, filename, lifetime, and cancellation.
|
|
73
|
-
* @returns the validated file and reuse deadline. Messages omits expiry metadata;
|
|
74
|
-
* its deadline uses upload creation plus the requested lifetime.
|
|
75
|
-
*/
|
|
76
|
-
upload(input: {
|
|
77
|
-
data: Uint8Array;
|
|
78
|
-
mediaType: ImageMediaType;
|
|
79
|
-
filename: string;
|
|
80
|
-
expiresAfterSeconds: number;
|
|
81
|
-
signal?: AbortSignal;
|
|
82
|
-
}): Promise<DeepSeekFileObject & {
|
|
83
|
-
expiresAt: number;
|
|
84
|
-
}>;
|
|
85
|
-
/**
|
|
86
|
-
* List one page of files. Ordering applies only to Chat Completions; Messages owns its page order.
|
|
87
|
-
* @param options - pagination, ordering, and cancellation.
|
|
88
|
-
* @returns the validated page with null Messages cursors omitted.
|
|
89
|
-
*/
|
|
90
|
-
list(options?: {
|
|
91
|
-
after?: DeepSeekFileIdType;
|
|
92
|
-
limit?: number;
|
|
93
|
-
order?: 'asc' | 'desc';
|
|
94
|
-
signal?: AbortSignal;
|
|
95
|
-
}): Promise<DeepSeekFilePage>;
|
|
96
|
-
/**
|
|
97
|
-
* Retrieve one file object.
|
|
98
|
-
* @param fileId - provider file identifier.
|
|
99
|
-
* @param signal - request cancellation.
|
|
100
|
-
* @returns the validated file object.
|
|
101
|
-
*/
|
|
102
|
-
retrieve(fileId: DeepSeekFileIdType, signal?: AbortSignal): Promise<DeepSeekFileObject>;
|
|
103
|
-
/**
|
|
104
|
-
* Delete one provider file.
|
|
105
|
-
* @param fileId - provider file identifier.
|
|
106
|
-
* @param signal - request cancellation.
|
|
107
|
-
*/
|
|
108
|
-
delete(fileId: DeepSeekFileIdType, signal?: AbortSignal): Promise<void>;
|
|
109
|
-
}
|
|
110
|
-
export {};
|
|
111
|
-
//# sourceMappingURL=files-api.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/image-tokens.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DeepSeek vision-token accounting: the provider's published image-token
|
|
3
|
-
* calculator (api-docs.deepseek.com, Token & Token Usage) ported verbatim in
|
|
4
|
-
* its current `v41` configuration. The provider scales an image below
|
|
5
|
-
* 544×544 total pixels up, aligns it to a 14px-patch grid, downsamples 3:1
|
|
6
|
-
* per axis into token cells, and caps one image at 1024 tokens by solving the
|
|
7
|
-
* largest aspect-preserving grid inside that budget. The count is exact: this
|
|
8
|
-
* configuration has no alignment pad and no aspect-ratio clamp. Actual usage
|
|
9
|
-
* remains authoritative.
|
|
10
|
-
*
|
|
11
|
-
* @module dsh-llm-deepseek/image-tokens
|
|
12
|
-
*/
|
|
13
|
-
import type { ProjectedDimensions } from '@deepseek-ai/dsh-attachment';
|
|
14
|
-
/**
|
|
15
|
-
* Dimensions the harness sends so the provider keeps the whole image: the
|
|
16
|
-
* source itself when its patch-padded grid fits the token cap, otherwise the
|
|
17
|
-
* source aspect ratio at the solved grid's long edge. The provider pads the
|
|
18
|
-
* short edge to whole patches on its side. Rounding the aspect-preserving
|
|
19
|
-
* short edge can change the token count from the source's solved grid;
|
|
20
|
-
* request pricing uses the sent dimensions. Small images are never enlarged.
|
|
21
|
-
* @param width - positive integer source width in pixels.
|
|
22
|
-
* @param height - positive integer source height in pixels.
|
|
23
|
-
* @returns the request dimensions to encode.
|
|
24
|
-
*/
|
|
25
|
-
export declare function deepSeekRequestImageDimensions(width: number, height: number): ProjectedDimensions;
|
|
26
|
-
/**
|
|
27
|
-
* Vision tokens DeepSeek charges for one request image of the given
|
|
28
|
-
* dimensions.
|
|
29
|
-
* @param width - positive integer request-image width in pixels.
|
|
30
|
-
* @param height - positive integer request-image height in pixels.
|
|
31
|
-
* @returns the provider vision-token price, at most 1024.
|
|
32
|
-
*/
|
|
33
|
-
export declare function deepSeekImageTokens(width: number, height: number): number;
|
|
34
|
-
//# sourceMappingURL=image-tokens.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/messages-api.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** Shared DeepSeek Messages API endpoint and header policy. @module dsh-llm-deepseek/messages-api */
|
|
2
|
-
/** Required opt-in for Messages file operations and file-referenced image requests. */
|
|
3
|
-
export declare const MESSAGES_FILES_BETA = "files-api-2025-04-14";
|
|
4
|
-
/**
|
|
5
|
-
* Resolve the API root without duplicating an explicit provider version path.
|
|
6
|
-
* @param baseURL - validated configured endpoint root.
|
|
7
|
-
* @returns the root beneath which Messages resources are exposed.
|
|
8
|
-
*/
|
|
9
|
-
export declare function messagesApiRoot(baseURL: string): string;
|
|
10
|
-
//# sourceMappingURL=messages-api.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { LlmModelInfo, LlmResolvedModelInfo } from '@deepseek-ai/dsh-llm';
|
|
2
|
-
import type { DeepSeekCatalogModel, DeepSeekConnectionOptions } from './types.ts';
|
|
3
|
-
/** Advertise one catalog entry.
|
|
4
|
-
* @param provider - registered provider id.
|
|
5
|
-
* @param model - advisory catalog entry.
|
|
6
|
-
* @returns selector metadata.
|
|
7
|
-
*/
|
|
8
|
-
export declare function catalogModelInfo(provider: string, model: DeepSeekCatalogModel): LlmModelInfo;
|
|
9
|
-
/** Resolve model capabilities against one configuration generation.
|
|
10
|
-
* @param connection - validated connection facts.
|
|
11
|
-
* @param provider - registered provider id.
|
|
12
|
-
* @param model - requested wire model id.
|
|
13
|
-
* @returns effective model metadata for this operation.
|
|
14
|
-
*/
|
|
15
|
-
export declare function modelInfo(connection: DeepSeekConnectionOptions, provider: string, model: string): LlmResolvedModelInfo;
|
|
16
|
-
//# sourceMappingURL=model-info.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-extensions.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Prepare plugin-contributed request fields and commit their delivery after HTTP acceptance. */
|
|
2
|
-
import type { DeepSeekLlmApiExtensionRequest } from '@deepseek-ai/dsh-deepseek-llm-api-extensions';
|
|
3
|
-
import type { DeepSeekAdapterOptions } from './types.ts';
|
|
4
|
-
/**
|
|
5
|
-
* Merge contributions without replacing protocol-owned fields. Preparation and
|
|
6
|
-
* acceptance failures retain the same error category across DeepSeek protocols.
|
|
7
|
-
* @param body - serialized protocol request before extension fields.
|
|
8
|
-
* @param options - request identity, purpose, and cancellation.
|
|
9
|
-
* @param prepare - contributor registry captured for this adapter.
|
|
10
|
-
* @returns HTTP payload and a commit to invoke only after a successful HTTP response.
|
|
11
|
-
*/
|
|
12
|
-
export declare function prepareRequestExtensions(body: DeepSeekLlmApiExtensionRequest['body'], options: Omit<DeepSeekLlmApiExtensionRequest, 'body'>, prepare: DeepSeekAdapterOptions['prepareExtensions']): Promise<{
|
|
13
|
-
payload: string;
|
|
14
|
-
accept(): Promise<void>;
|
|
15
|
-
}>;
|
|
16
|
-
//# sourceMappingURL=request-extensions.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-files.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/** Shared Files resolution, bounded stale-id recovery, and normalized-image diagnostics. */
|
|
2
|
-
import type { RequestImageAttachment } from '@deepseek-ai/dsh-attachment';
|
|
3
|
-
import type { DeepSeekFileStore, DeepSeekFileConnection, DeepSeekFilePolicy } from './file-store.ts';
|
|
4
|
-
import type { DeepSeekFileId } from './file-id.ts';
|
|
5
|
-
/** Position of an image occurrence in the request's conversation messages. */
|
|
6
|
-
export interface ImageWireLocation {
|
|
7
|
-
message: number;
|
|
8
|
-
image: number;
|
|
9
|
-
}
|
|
10
|
-
/** A file upload failure eligible for request-wide inline fallback. */
|
|
11
|
-
export declare class FileResolutionFailure extends Error {
|
|
12
|
-
constructor(cause: unknown);
|
|
13
|
-
}
|
|
14
|
-
/** Files state owned by one model request, including at most one stale-id retry. */
|
|
15
|
-
export declare class RequestFiles {
|
|
16
|
-
private readonly files;
|
|
17
|
-
private readonly connection;
|
|
18
|
-
private readonly policy;
|
|
19
|
-
private readonly timeoutMs;
|
|
20
|
-
private readonly signal;
|
|
21
|
-
private readonly activity;
|
|
22
|
-
private used;
|
|
23
|
-
private retried;
|
|
24
|
-
constructor(files: DeepSeekFileStore, connection: DeepSeekFileConnection, policy: DeepSeekFilePolicy, timeoutMs: number, signal: AbortSignal, activity: () => void);
|
|
25
|
-
/** Reset occurrence tracking before serializing the next HTTP attempt. */
|
|
26
|
-
beginAttempt(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Resolve a retained image under its own upload deadline.
|
|
29
|
-
* @param version - prepared request image.
|
|
30
|
-
* @param location - occurrence used by provider-rejection diagnostics.
|
|
31
|
-
* @returns the reusable provider id.
|
|
32
|
-
*/
|
|
33
|
-
resolve(version: RequestImageAttachment, location: ImageWireLocation): Promise<DeepSeekFileId>;
|
|
34
|
-
/**
|
|
35
|
-
* Invalidate rejected mappings; only the first stale-id response permits another request.
|
|
36
|
-
* @param detail - provider error fields used for stale-id classification.
|
|
37
|
-
* @returns whether the caller should serialize and dispatch again.
|
|
38
|
-
*/
|
|
39
|
-
retry(detail: string): Promise<boolean>;
|
|
40
|
-
/**
|
|
41
|
-
* Attribute a normalized-image rejection to the actual uploaded image occurrences.
|
|
42
|
-
* @param status - rejected request's HTTP status.
|
|
43
|
-
* @param message - provider's error message.
|
|
44
|
-
* @param detail - provider error classification fields.
|
|
45
|
-
* @returns the image diagnostic or the original provider message.
|
|
46
|
-
*/
|
|
47
|
-
errorMessage(status: number, message: string, detail: string): string;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=request-files.d.ts.map
|
package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-pricing.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provider-side request-image pricing for DeepSeek routes: prices every
|
|
3
|
-
* retained surface occurrence at its per-model request target with
|
|
4
|
-
* the published vision-token accounting, and every occurrence the surface
|
|
5
|
-
* marks offloaded as its placeholder text. Consumed synchronously by the
|
|
6
|
-
* token meter through `LlmAdapter.imageRequestPricing`; provider usage
|
|
7
|
-
* remains the authoritative anchor for completed requests.
|
|
8
|
-
*
|
|
9
|
-
* @module dsh-llm-deepseek/request-pricing
|
|
10
|
-
*/
|
|
11
|
-
import type { ImageAttachmentAccessResolver, LlmImageRequestPricing } from '@deepseek-ai/dsh-llm';
|
|
12
|
-
import type { ImageAttachmentRef, ImageRequestTarget } from '@deepseek-ai/dsh-attachment';
|
|
13
|
-
import type { DeepSeekCatalogModel, DeepSeekConnectionOptions } from './types.ts';
|
|
14
|
-
/** Default bound on accumulated file-referenced image bytes per request. */
|
|
15
|
-
export declare const DEFAULT_MAX_REQUEST_FILES_BYTES: number;
|
|
16
|
-
/** Provider request image-count limit. */
|
|
17
|
-
export declare const DEFAULT_MAX_IMAGES_PER_REQUEST = 600;
|
|
18
|
-
/** Total-pixel budget matching provider low-detail image input. */
|
|
19
|
-
export declare const DEFAULT_LOW_DETAIL_IMAGE_PIXEL_BUDGET: number;
|
|
20
|
-
/** Encoded-byte target for one deterministic model-request image; the smallest quality-ladder output is used when no quality fits. */
|
|
21
|
-
export declare const DEFAULT_REQUEST_IMAGE_MAX_BYTES: number;
|
|
22
|
-
/**
|
|
23
|
-
* Provider per-side limit for a request carrying 15 or more images, applied
|
|
24
|
-
* to every request image so the image count never changes a projection.
|
|
25
|
-
*/
|
|
26
|
-
export declare const REQUEST_IMAGE_MAX_DIMENSION = 4096;
|
|
27
|
-
/**
|
|
28
|
-
* Resolve the encoded-byte target one DeepSeek model route applies to every request image.
|
|
29
|
-
* @param model - Advertised model route and its optional image overrides.
|
|
30
|
-
* @returns the route's encoded-byte target.
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
export declare function resolveRequestImageMaxBytes(model: DeepSeekCatalogModel): number;
|
|
34
|
-
/**
|
|
35
|
-
* Resolve the deterministic request target one DeepSeek model route chooses
|
|
36
|
-
* for one source image: the published token grid unless the model overrides
|
|
37
|
-
* it with a pixel budget, then the provider per-side limit, then the route's
|
|
38
|
-
* encoded-byte target. Small images are never enlarged.
|
|
39
|
-
* @param model - Advertised model route and its optional image overrides.
|
|
40
|
-
* @param source - intrinsic dimensions of the normalized attachment.
|
|
41
|
-
* @returns Complete request dimensions and encoded-byte target.
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
export declare function resolveRequestImageTarget(model: DeepSeekCatalogModel, source: Pick<ImageAttachmentRef, 'width' | 'height'>): ImageRequestTarget;
|
|
45
|
-
/**
|
|
46
|
-
* Build the request-image pricing for one DeepSeek route from a validated
|
|
47
|
-
* connection snapshot. Uncatalogued and text-only models price every
|
|
48
|
-
* occurrence as its deterministic text substitution; image-capable models
|
|
49
|
-
* price an offloaded occurrence as its placeholder text and a retained one by
|
|
50
|
-
* its projected request dimensions, with each occurrence's handle or
|
|
51
|
-
* placeholder text built through the same access resolution the serializer
|
|
52
|
-
* uses. Access paths resolve at pricing time, so a path that changes before
|
|
53
|
-
* the request only shifts the text price by its own length.
|
|
54
|
-
* @param connection - validated connection facts of the pricing resolution.
|
|
55
|
-
* @param model - exact model id named by the request header.
|
|
56
|
-
* @param resolveAccess - current execution-world access resolution shared with request serialization.
|
|
57
|
-
* @returns synchronous per-occurrence pricing for the route.
|
|
58
|
-
*/
|
|
59
|
-
export declare function deepSeekImageRequestPricing(connection: DeepSeekConnectionOptions, model: string, resolveAccess?: ImageAttachmentAccessResolver): LlmImageRequestPricing;
|
|
60
|
-
//# sourceMappingURL=request-pricing.d.ts.map
|