@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
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/** Foreground question lifetime and Client claims; durable question state stays in the projection. */
|
|
2
|
+
/** One live foreground wait, counted by the Host only while no answer UI holds it. */
|
|
3
|
+
export class TimedQuestionWait {
|
|
4
|
+
deadline;
|
|
5
|
+
parent;
|
|
6
|
+
timeout;
|
|
7
|
+
controller = new AbortController();
|
|
8
|
+
completion = Promise.withResolvers();
|
|
9
|
+
claims = new Set();
|
|
10
|
+
timer;
|
|
11
|
+
/**
|
|
12
|
+
* @param deadline - Host-clock deadline used while no Client holds the wait.
|
|
13
|
+
* @param parent - Calling Turn's cancellation signal.
|
|
14
|
+
* @param timeout - Business error used to settle an unattended wait.
|
|
15
|
+
*/
|
|
16
|
+
constructor(deadline, parent, timeout) {
|
|
17
|
+
this.deadline = deadline;
|
|
18
|
+
this.parent = parent;
|
|
19
|
+
this.timeout = timeout;
|
|
20
|
+
parent?.addEventListener('abort', this.parentAborted, { once: true });
|
|
21
|
+
if (parent?.aborted === true)
|
|
22
|
+
this.parentAborted();
|
|
23
|
+
else
|
|
24
|
+
this.schedule();
|
|
25
|
+
}
|
|
26
|
+
/** Cancellation shared with the foreground waterfall, not with the calling Turn. */
|
|
27
|
+
get signal() { return this.controller.signal; }
|
|
28
|
+
/** Settles when the wait is cancelled, expires, or is disposed. */
|
|
29
|
+
get done() { return this.completion.promise; }
|
|
30
|
+
parentAborted = () => { this.close(this.parent?.reason); };
|
|
31
|
+
schedule() {
|
|
32
|
+
clearTimeout(this.timer);
|
|
33
|
+
this.timer = undefined;
|
|
34
|
+
if (this.signal.aborted || this.claims.size > 0)
|
|
35
|
+
return;
|
|
36
|
+
this.timer = setTimeout(() => { this.close(this.timeout); }, Math.max(0, this.deadline - Date.now()));
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Hold the wait for one answer UI until its stream closes or the question settles.
|
|
40
|
+
* @param signal - This business stream's cancellation lifetime.
|
|
41
|
+
* @returns One remaining-duration frame; completion releases the claim.
|
|
42
|
+
*/
|
|
43
|
+
async *attach(signal) {
|
|
44
|
+
if (signal.aborted || this.signal.aborted)
|
|
45
|
+
return;
|
|
46
|
+
if (this.claims.size === 0 && Date.now() >= this.deadline) {
|
|
47
|
+
this.close(this.timeout);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const ended = Promise.withResolvers();
|
|
51
|
+
const release = () => {
|
|
52
|
+
if (!this.claims.delete(release))
|
|
53
|
+
return;
|
|
54
|
+
signal.removeEventListener('abort', release);
|
|
55
|
+
this.signal.removeEventListener('abort', release);
|
|
56
|
+
ended.resolve();
|
|
57
|
+
this.schedule();
|
|
58
|
+
};
|
|
59
|
+
this.claims.add(release);
|
|
60
|
+
signal.addEventListener('abort', release, { once: true });
|
|
61
|
+
this.signal.addEventListener('abort', release, { once: true });
|
|
62
|
+
this.schedule();
|
|
63
|
+
try {
|
|
64
|
+
yield { remainingMs: Math.max(0, this.deadline - Date.now()) };
|
|
65
|
+
await ended.promise;
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
release();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Release timers, parent cancellation, and all Client claims.
|
|
73
|
+
* @param reason - Cancellation delivered to the foreground waterfall.
|
|
74
|
+
*/
|
|
75
|
+
close(reason) {
|
|
76
|
+
if (this.signal.aborted)
|
|
77
|
+
return;
|
|
78
|
+
clearTimeout(this.timer);
|
|
79
|
+
this.timer = undefined;
|
|
80
|
+
this.parent?.removeEventListener('abort', this.parentAborted);
|
|
81
|
+
this.controller.abort(reason);
|
|
82
|
+
this.completion.resolve();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=timed-wait.js.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { RecurrenceOccurrence, RecurrenceResult } from './recurrence.ts';
|
|
2
|
+
/** Gregorian calendar repetition bounds both forward and backward searches. */
|
|
3
|
+
export declare const CRON_SEARCH_HORIZON_YEARS = 400;
|
|
4
|
+
/** Parsed five-field cron rule: canonical text plus every field's matched values. */
|
|
5
|
+
export interface CronFields {
|
|
6
|
+
/** Canonical expression stored in the durable record. */
|
|
7
|
+
readonly expression: string;
|
|
8
|
+
/** Unique ascending matched minutes. */
|
|
9
|
+
readonly minutes: readonly number[];
|
|
10
|
+
/** Unique ascending matched hours. */
|
|
11
|
+
readonly hours: readonly number[];
|
|
12
|
+
/** Unique ascending matched days of the month. */
|
|
13
|
+
readonly daysOfMonth: readonly number[];
|
|
14
|
+
/** Unique ascending matched months. */
|
|
15
|
+
readonly months: readonly number[];
|
|
16
|
+
/** Unique ascending matched cron weekdays, Sunday 0 through Saturday 6. */
|
|
17
|
+
readonly daysOfWeek: readonly number[];
|
|
18
|
+
/** Whether the day-of-month field text starts with `*` (Vixie `DOM_STAR`). */
|
|
19
|
+
readonly dayOfMonthStar: boolean;
|
|
20
|
+
/** Whether the day-of-week field text starts with `*` (Vixie `DOW_STAR`). */
|
|
21
|
+
readonly dayOfWeekStar: boolean;
|
|
22
|
+
}
|
|
23
|
+
/** Parsed Cron value; expression and zone stay authoritative independently of any task. */
|
|
24
|
+
export declare class Cron {
|
|
25
|
+
private readonly parsed;
|
|
26
|
+
readonly timeZone: string;
|
|
27
|
+
private constructor();
|
|
28
|
+
/** Immutable matched fields and canonical text for consumers such as rule descriptions. */
|
|
29
|
+
get fields(): CronFields;
|
|
30
|
+
/** Canonical five-field expression, preserving Vixie star semantics. */
|
|
31
|
+
get expression(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Parse one five-field expression and its explicit IANA zone.
|
|
34
|
+
* @param expression - Five numeric Cron fields with Vixie day matching.
|
|
35
|
+
* @param timeZone - UTC or an IANA Area/Location zone.
|
|
36
|
+
* @returns A parsed value, or a syntax/zone refusal without task policy.
|
|
37
|
+
*/
|
|
38
|
+
static parse(expression: string, timeZone: string): RecurrenceResult<Cron>;
|
|
39
|
+
/**
|
|
40
|
+
* First strictly future occurrence, skipping gaps and choosing the earlier overlap.
|
|
41
|
+
* @param after - Representable epoch milliseconds that the occurrence must exceed.
|
|
42
|
+
* @returns The UTC occurrence, or exhaustion of the bounded search.
|
|
43
|
+
*/
|
|
44
|
+
next(after: number): string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Latest due occurrence and first future occurrence, without replaying a backlog.
|
|
47
|
+
* @param scheduledAt - Canonical four-digit-year UTC occurrence with milliseconds, retained across zone-data changes.
|
|
48
|
+
* @param acceptedAt - Representable decision time at or after that occurrence.
|
|
49
|
+
* @returns The latest due occurrence and optional future successor.
|
|
50
|
+
* @throws RangeError when either instant is invalid or the decision precedes the committed occurrence.
|
|
51
|
+
*/
|
|
52
|
+
resolve(scheduledAt: string, acceptedAt: number): RecurrenceOccurrence;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=cron.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One span of time, held as a count of milliseconds and split into the whole
|
|
3
|
+
* parts a reading is written in.
|
|
4
|
+
*
|
|
5
|
+
* A class rather than a branded number: arithmetic on two branded numbers
|
|
6
|
+
* answers an unbranded `number`, so a brand cannot stop seconds and
|
|
7
|
+
* milliseconds from being added, while an instance can. The published surface
|
|
8
|
+
* is the set the migrated consumers call; a further member lands with the caller
|
|
9
|
+
* that needs it.
|
|
10
|
+
* @module @deepseek-ai/dsh-util-time
|
|
11
|
+
*/
|
|
12
|
+
/** Whole parts of one non-negative span, in the units a reading is written in. */
|
|
13
|
+
export interface DurationParts {
|
|
14
|
+
/** Whole days. */
|
|
15
|
+
readonly days: number;
|
|
16
|
+
/** Whole hours left after the days, from 0 through 23. */
|
|
17
|
+
readonly hours: number;
|
|
18
|
+
/** Whole minutes left after the hours, from 0 through 59. */
|
|
19
|
+
readonly minutes: number;
|
|
20
|
+
/** Whole seconds left after the minutes, from 0 through 59. */
|
|
21
|
+
readonly seconds: number;
|
|
22
|
+
/** Fractional milliseconds left after the seconds, from 0 up to (but excluding) 1000. */
|
|
23
|
+
readonly milliseconds: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One span of time in milliseconds.
|
|
27
|
+
*
|
|
28
|
+
* Instances are frozen, so a span cannot drift after it is built. A span is
|
|
29
|
+
* signed: a negative count builds, because the clock difference that produced it
|
|
30
|
+
* is real, but `decompose()` refuses it because a negative interval has no single
|
|
31
|
+
* whole-part split. A caller that reports parts therefore decides its own policy
|
|
32
|
+
* first, and the elapsed reading clamps a backward clock reading to zero before
|
|
33
|
+
* it builds the span. A span is bounded by the exactly representable millisecond
|
|
34
|
+
* range, which is wider than any interval this harness schedules, and it carries
|
|
35
|
+
* no calendar meaning: a month is not a fixed count of milliseconds.
|
|
36
|
+
*/
|
|
37
|
+
export declare class Duration {
|
|
38
|
+
private readonly span;
|
|
39
|
+
private constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Build one span from a millisecond count.
|
|
42
|
+
* A negative count is accepted, so a caller can hold a backward clock difference;
|
|
43
|
+
* such a span cannot be decomposed, and the caller states its own sign policy.
|
|
44
|
+
* @param milliseconds - Signed count within the exactly representable range (about 285,000 years); fractions are kept.
|
|
45
|
+
* @returns The span.
|
|
46
|
+
* @throws TypeError when the count is not finite, or exceeds the exactly representable millisecond range.
|
|
47
|
+
*/
|
|
48
|
+
static fromMilliseconds(milliseconds: number): Duration;
|
|
49
|
+
/**
|
|
50
|
+
* Split the span into whole days, hours, minutes, seconds, and the remaining
|
|
51
|
+
* fraction of a second. Days, hours, minutes, and seconds are floored; the
|
|
52
|
+
* millisecond part keeps the fraction below one second. Every span this class
|
|
53
|
+
* accepts is inside the exactly representable millisecond range, so the parts
|
|
54
|
+
* add back up to the span.
|
|
55
|
+
* @returns The frozen whole parts.
|
|
56
|
+
* @throws RangeError when the span is negative, because a negative interval
|
|
57
|
+
* has no single whole-part decomposition: the caller owns that policy.
|
|
58
|
+
*/
|
|
59
|
+
decompose(): DurationParts;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=duration.d.ts.map
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Strict instant and local-calendar vocabulary for the boundaries that accept a
|
|
3
|
+
* wall-clock selector.
|
|
4
|
+
*
|
|
5
|
+
* Every entry that reads untrusted text answers a discriminated result instead
|
|
6
|
+
* of throwing: the library carries no failure vocabulary, and each caller maps
|
|
7
|
+
* a reason onto its own domain code and diagnostic. `formatFourDigitYearInstant`
|
|
8
|
+
* and `isFourDigitYearInstant` never throw, while `resolveLocalInstant` raises a
|
|
9
|
+
* `RangeError` when a caller violates its precondition — an unknown zone, or
|
|
10
|
+
* calendar fields naming a value the calendar does not have. Local wall-clock
|
|
11
|
+
* resolution uses the maintained `Temporal` implementation, so no caller owns
|
|
12
|
+
* offset sampling or DST rules.
|
|
13
|
+
* @module @deepseek-ai/dsh-util-time
|
|
14
|
+
*/
|
|
15
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
16
|
+
/** Inclusive lower epoch-millisecond bound of a four-digit-year RFC 3339 UTC instant. */
|
|
17
|
+
export declare const MIN_FOUR_DIGIT_YEAR_MS: number;
|
|
18
|
+
/** Inclusive upper epoch-millisecond bound of a four-digit-year RFC 3339 UTC instant. */
|
|
19
|
+
export declare const MAX_FOUR_DIGIT_YEAR_MS: number;
|
|
20
|
+
/** Exact calendar fields of one local wall-clock value. */
|
|
21
|
+
export interface LocalCalendarTime {
|
|
22
|
+
/**
|
|
23
|
+
* Year of the calendar date. `parseLocalCalendar` rejects year 0 in untrusted
|
|
24
|
+
* text; `resolveLocalInstant` accepts any year a real `Temporal` date carries,
|
|
25
|
+
* so a caller that needs the four-digit bound filters the answered epoch.
|
|
26
|
+
*/
|
|
27
|
+
readonly year: number;
|
|
28
|
+
/** Month from 1 through 12. */
|
|
29
|
+
readonly month: number;
|
|
30
|
+
/** Day of month from 1 through the month's length. */
|
|
31
|
+
readonly day: number;
|
|
32
|
+
/** Hour from 0 through 23. */
|
|
33
|
+
readonly hour: number;
|
|
34
|
+
/** Minute from 0 through 59. */
|
|
35
|
+
readonly minute: number;
|
|
36
|
+
/** Second from 0 through 59; leap seconds are rejected. */
|
|
37
|
+
readonly second: number;
|
|
38
|
+
/** Millisecond from 0 through 999. */
|
|
39
|
+
readonly millisecond: number;
|
|
40
|
+
}
|
|
41
|
+
/** Why an RFC 3339 instant string is unusable. */
|
|
42
|
+
export type InstantRejection = 'not_rfc3339'
|
|
43
|
+
/** A field outside its calendar range: year 0, or an hour, minute, or second above its maximum. */
|
|
44
|
+
| 'out_of_range' | 'not_a_calendar_date' | 'invalid_numeric_offset';
|
|
45
|
+
/** Why a local calendar selector is unusable. */
|
|
46
|
+
export type LocalCalendarRejection = 'malformed' | 'out_of_range' | 'not_a_calendar_date';
|
|
47
|
+
/** Why one IANA zone selector is unusable. */
|
|
48
|
+
export type TimeZoneRejection = 'blank' | 'padded' | 'not_area_location' | 'unsupported' | 'not_canonical_shape';
|
|
49
|
+
/** Discriminated result of parsing one RFC 3339 instant string. */
|
|
50
|
+
export type InstantResult = {
|
|
51
|
+
readonly kind: 'accepted';
|
|
52
|
+
readonly epoch: number;
|
|
53
|
+
} | {
|
|
54
|
+
readonly kind: 'rejected';
|
|
55
|
+
readonly reason: InstantRejection;
|
|
56
|
+
};
|
|
57
|
+
/** Discriminated result of parsing one local calendar selector. */
|
|
58
|
+
export type LocalCalendarResult = {
|
|
59
|
+
readonly kind: 'accepted';
|
|
60
|
+
readonly time: LocalCalendarTime;
|
|
61
|
+
} | {
|
|
62
|
+
readonly kind: 'rejected';
|
|
63
|
+
readonly reason: LocalCalendarRejection;
|
|
64
|
+
};
|
|
65
|
+
/** Discriminated result of resolving one raw IANA zone selector. */
|
|
66
|
+
export type TimeZoneResult = {
|
|
67
|
+
readonly kind: 'accepted';
|
|
68
|
+
readonly timeZone: string;
|
|
69
|
+
} | {
|
|
70
|
+
readonly kind: 'rejected';
|
|
71
|
+
readonly reason: TimeZoneRejection;
|
|
72
|
+
/** Platform error caught while resolving the name; present when the platform refused a well-formed one. */
|
|
73
|
+
readonly cause?: unknown;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Read one local calendar selector strictly, without consulting a process zone.
|
|
77
|
+
*
|
|
78
|
+
* The date and time texts are matched separately, so a malformed spelling, a
|
|
79
|
+
* non-existent calendar date such as February 30, and an out-of-range clock
|
|
80
|
+
* field answer distinct reasons.
|
|
81
|
+
* @param date - Candidate `YYYY-MM-DD` date text.
|
|
82
|
+
* @param time - Candidate `HH:mm:ss` time text with optional 1-3 fractional digits.
|
|
83
|
+
* @returns The parsed calendar fields, or the reason they are unusable.
|
|
84
|
+
*/
|
|
85
|
+
export declare function parseLocalCalendar(date: string, time: string): LocalCalendarResult;
|
|
86
|
+
/**
|
|
87
|
+
* Parse one RFC 3339 instant whose numeric offset is part of the input.
|
|
88
|
+
*
|
|
89
|
+
* A bare `Z` and an explicit numeric offset are both accepted, and the offset is
|
|
90
|
+
* subtracted from the local wall-clock value. A negative zero offset, an offset
|
|
91
|
+
* whose hour or minute is out of range, and a non-existent calendar date are refused.
|
|
92
|
+
* @param value - Candidate instant text.
|
|
93
|
+
* @returns The resolved epoch milliseconds, or the reason the text is unusable.
|
|
94
|
+
*/
|
|
95
|
+
export declare function parseOffsetInstant(value: string): InstantResult;
|
|
96
|
+
/**
|
|
97
|
+
* Validate one canonical four-digit-year RFC 3339 UTC instant.
|
|
98
|
+
*
|
|
99
|
+
* The accepted profile carries exactly three fractional digits and a `Z`, and
|
|
100
|
+
* every year from 0001 through 9999 whose calendar date exists is representable.
|
|
101
|
+
* @param value - Untrusted candidate instant.
|
|
102
|
+
* @returns The epoch milliseconds, or the reason the text is not the canonical profile.
|
|
103
|
+
*/
|
|
104
|
+
export declare function fourDigitYearEpoch(value: string): InstantResult;
|
|
105
|
+
/**
|
|
106
|
+
* Whether an epoch is representable as a canonical four-digit-year RFC 3339 UTC instant.
|
|
107
|
+
*
|
|
108
|
+
* Callers that only need the bound use this instead of re-deriving it from the
|
|
109
|
+
* two constants, so the range has one owner.
|
|
110
|
+
* @param epoch - Candidate epoch milliseconds.
|
|
111
|
+
* @returns Whether the epoch is a safe integer inside the four-digit-year range.
|
|
112
|
+
*/
|
|
113
|
+
export declare function isFourDigitYearInstant(epoch: number): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Format one epoch as the canonical four-digit-year RFC 3339 UTC instant.
|
|
116
|
+
*
|
|
117
|
+
* The bound check runs first, so a caller that also compares the result with a
|
|
118
|
+
* decision time never formats an unrepresentable instant.
|
|
119
|
+
* @param epoch - Candidate epoch milliseconds; a non-integral value is unrepresentable.
|
|
120
|
+
* @returns The canonical instant text, or `undefined` when the epoch is unrepresentable.
|
|
121
|
+
*/
|
|
122
|
+
export declare function formatFourDigitYearInstant(epoch: number): string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* Validate and canonicalize one raw IANA zone selector.
|
|
125
|
+
*
|
|
126
|
+
* A zone identity is stored on durable records and resolved again by another
|
|
127
|
+
* process, so an alias is answered by its platform-canonical name. Abbreviations,
|
|
128
|
+
* numeric offsets, single-segment names, and unknown names are refused.
|
|
129
|
+
* @param value - Candidate `UTC` or IANA Area/Location name.
|
|
130
|
+
* @returns The canonical zone, or the reason the name is unusable.
|
|
131
|
+
*/
|
|
132
|
+
export declare function canonicalizeTimeZone(value: string): TimeZoneResult;
|
|
133
|
+
/**
|
|
134
|
+
* Resolve one local wall-clock value in an explicit zone.
|
|
135
|
+
*
|
|
136
|
+
* A value inside a forward transition's gap does not exist, so it answers
|
|
137
|
+
* `undefined`; a value inside an overlap resolves to the earlier instant, which
|
|
138
|
+
* is the same choice the maintained `Temporal` implementation makes.
|
|
139
|
+
* @param time - Exact calendar fields of a real date, or an already-built plain date-time.
|
|
140
|
+
* @param timeZone - Already-canonical `UTC` or IANA zone.
|
|
141
|
+
* @returns The resolved epoch milliseconds, or `undefined` for a nonexistent wall-clock time.
|
|
142
|
+
* @throws RangeError when `timeZone` is not a known zone or the calendar value does not exist.
|
|
143
|
+
*/
|
|
144
|
+
export declare function resolveLocalInstant(time: LocalCalendarTime | Temporal.PlainDateTime, timeZone: string): number | undefined;
|
|
145
|
+
//# sourceMappingURL=instant.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Latest admitted occurrence and the first future occurrence, if one exists. */
|
|
2
|
+
export interface RecurrenceOccurrence {
|
|
3
|
+
/** Latest due UTC occurrence, never before the committed lower bound. */
|
|
4
|
+
readonly occurrenceAt: string;
|
|
5
|
+
/** First strictly future UTC occurrence, omitted at exhaustion. */
|
|
6
|
+
readonly nextScheduledAt?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Why recurrence content cannot be evaluated by the bounded engine. */
|
|
9
|
+
export type RecurrenceRejection = 'syntax' | 'time_zone' | 'density';
|
|
10
|
+
/** A parsed recurrence or its validation reason; no consumer-specific error codes. */
|
|
11
|
+
export type RecurrenceResult<T> = {
|
|
12
|
+
readonly kind: 'accepted';
|
|
13
|
+
readonly rule: T;
|
|
14
|
+
} | {
|
|
15
|
+
readonly kind: 'rejected';
|
|
16
|
+
readonly reason: RecurrenceRejection;
|
|
17
|
+
readonly detail: string;
|
|
18
|
+
readonly cause?: unknown;
|
|
19
|
+
};
|
|
20
|
+
/** Internal validation failure, contained by the public parsers. */
|
|
21
|
+
export declare class RecurrenceInputError extends Error {
|
|
22
|
+
readonly reason: RecurrenceRejection;
|
|
23
|
+
constructor(reason: RecurrenceRejection, message: string, options?: ErrorOptions);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Contain recurrence validation failures while preserving unexpected implementation errors.
|
|
27
|
+
* @param parse - Synchronous rule constructor whose input failures use RecurrenceInputError.
|
|
28
|
+
* @returns The parsed value or its validation refusal.
|
|
29
|
+
*/
|
|
30
|
+
export declare function parseRecurrence<T>(parse: () => T): RecurrenceResult<T>;
|
|
31
|
+
/**
|
|
32
|
+
* Validate the explicit decision and its committed lower bound before calendar arithmetic.
|
|
33
|
+
* @param scheduledAt - Committed canonical four-digit-year UTC occurrence with milliseconds.
|
|
34
|
+
* @param acceptedAt - Explicit epoch milliseconds of the delivery decision.
|
|
35
|
+
* @returns The committed epoch, or throws RangeError for an invalid decision.
|
|
36
|
+
*/
|
|
37
|
+
export declare function recurrenceDecision(scheduledAt: string, acceptedAt: number): number;
|
|
38
|
+
//# sourceMappingURL=recurrence.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { RecurrenceOccurrence, RecurrenceResult } from './recurrence.ts';
|
|
2
|
+
/** Parsed two-line DTSTART/RRULE value with bounded occurrence arithmetic. */
|
|
3
|
+
export declare class RRule {
|
|
4
|
+
private readonly prepared;
|
|
5
|
+
private constructor();
|
|
6
|
+
/** Trimmed two-line expression; DTSTART owns the zone and recurrence anchor. */
|
|
7
|
+
get expression(): string;
|
|
8
|
+
/** Canonical zone from DTSTART, or UTC for a Z start. */
|
|
9
|
+
get timeZone(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Validate syntax and enumeration cost before any occurrence search.
|
|
12
|
+
* @param expression - Exactly one DTSTART line followed by one RRULE line.
|
|
13
|
+
* @param options - Optional stricter BYSETPOS authoring checks.
|
|
14
|
+
* @returns A bounded parsed value, or a syntax, zone, or density refusal.
|
|
15
|
+
*/
|
|
16
|
+
static parse(expression: string, options?: {
|
|
17
|
+
readonly rejectIneffectiveSetPositions?: boolean;
|
|
18
|
+
}): RecurrenceResult<RRule>;
|
|
19
|
+
/**
|
|
20
|
+
* First occurrence strictly after the explicit lower bound, or exhaustion.
|
|
21
|
+
* @param after - Representable epoch milliseconds that the occurrence must exceed.
|
|
22
|
+
* @returns The UTC occurrence, or exhaustion of the accepted rule.
|
|
23
|
+
*/
|
|
24
|
+
next(after: number): string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Latest due occurrence and first future occurrence, retaining the committed floor.
|
|
27
|
+
* @param scheduledAt - Canonical four-digit-year UTC occurrence with milliseconds, retained across zone-data changes.
|
|
28
|
+
* @param acceptedAt - Representable decision time at or after that occurrence.
|
|
29
|
+
* @returns The latest due occurrence and optional future successor.
|
|
30
|
+
* @throws RangeError when either instant is invalid or the decision precedes the committed occurrence.
|
|
31
|
+
*/
|
|
32
|
+
resolve(scheduledAt: string, acceptedAt: number): RecurrenceOccurrence;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=rrule.d.ts.map
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lazily scanned view of one JSON object's top-level fields, built from text
|
|
3
|
+
* that may still be streaming or from an already parsed object. Nothing is
|
|
4
|
+
* scanned until a reader asks; the view remembers every question it answered
|
|
5
|
+
* and reports changed answers when the owner refreshes for publication.
|
|
6
|
+
* Used for model tool-call arguments: a row reads the fields it
|
|
7
|
+
* cares about at whatever granularity it displays, at every stage of the call.
|
|
8
|
+
* @module @deepseek-ai/dsh-util-values/src/partial-json
|
|
9
|
+
*/
|
|
10
|
+
import { type JsonValue } from './index.ts';
|
|
11
|
+
/** Granularity of a length read; a change is reported only when the rounded-up step moves. */
|
|
12
|
+
export interface LengthReadOptions {
|
|
13
|
+
/** Characters per step; defaults to 1 (every character counts). */
|
|
14
|
+
readonly step?: number;
|
|
15
|
+
/** Completed characters included in the displayed total; affects change detection only. */
|
|
16
|
+
readonly offset?: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The view. A streaming instance grows through {@link PartialArguments.append};
|
|
20
|
+
* {@link PartialArguments.fromText} and {@link PartialArguments.fromObject} build
|
|
21
|
+
* sealed instances over a finished call. Every reader is total: an absent or
|
|
22
|
+
* differently typed field answers `undefined` (or `false`), never throws.
|
|
23
|
+
*/
|
|
24
|
+
export declare class PartialArguments {
|
|
25
|
+
#private;
|
|
26
|
+
/** The view of a call with no arguments available. */
|
|
27
|
+
static readonly EMPTY: PartialArguments;
|
|
28
|
+
/**
|
|
29
|
+
* View finished argument text without scanning it until a reader asks.
|
|
30
|
+
* @param text - the complete argument JSON text.
|
|
31
|
+
* @returns a sealed view.
|
|
32
|
+
*/
|
|
33
|
+
static fromText(text: string): PartialArguments;
|
|
34
|
+
/**
|
|
35
|
+
* View an already parsed argument payload, such as a PTC dispatch object.
|
|
36
|
+
* @param value - the parsed argument value.
|
|
37
|
+
* @returns a sealed view; a non-object payload has no fields.
|
|
38
|
+
*/
|
|
39
|
+
static fromObject(value: unknown): PartialArguments;
|
|
40
|
+
/**
|
|
41
|
+
* The source: text so far or a parsed object, plus whether it can still grow.
|
|
42
|
+
* These are the only enumerable fields, so two views over the same source
|
|
43
|
+
* compare equal structurally however far each has been read.
|
|
44
|
+
*/
|
|
45
|
+
private chunks;
|
|
46
|
+
private object;
|
|
47
|
+
private sealed;
|
|
48
|
+
/** Whether this view rejects further appends; does not scan text or register reads. */
|
|
49
|
+
get isSealed(): boolean;
|
|
50
|
+
/** Whether indexing or a content read found invalid JSON; unread value contents are not validated. */
|
|
51
|
+
get invalid(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Retain streamed argument text without scanning or comparing observed answers.
|
|
54
|
+
* @param fragment - the text following every fragment appended before.
|
|
55
|
+
*/
|
|
56
|
+
append(fragment: string): void;
|
|
57
|
+
/**
|
|
58
|
+
* Reconcile a streamed prefix with authoritative complete text without joining the fragments.
|
|
59
|
+
* @param text - the final argument text, which replaces missing or conflicting deltas.
|
|
60
|
+
* @returns this view sealed with its caches retained when every character matches; otherwise a new sealed view.
|
|
61
|
+
*/
|
|
62
|
+
settle(text: string): PartialArguments;
|
|
63
|
+
/**
|
|
64
|
+
* Compare observed answers and advance their publication baseline. Unread views remain unscanned.
|
|
65
|
+
* @returns whether any observed answer changed since its first read or the preceding refresh.
|
|
66
|
+
*/
|
|
67
|
+
refresh(): boolean;
|
|
68
|
+
private refreshRead;
|
|
69
|
+
/**
|
|
70
|
+
* Check whether no further fields can arrive.
|
|
71
|
+
* @returns whether the outer object closed, indexing failed, or the view is sealed; unread values are not validated.
|
|
72
|
+
*/
|
|
73
|
+
closed(): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* List discovered fields in first-appearance order.
|
|
76
|
+
* @returns top-level keys seen so far, in first-appearance order.
|
|
77
|
+
*/
|
|
78
|
+
keys(): readonly string[];
|
|
79
|
+
/**
|
|
80
|
+
* Check whether a top-level field has appeared.
|
|
81
|
+
* @param key - argument name.
|
|
82
|
+
* @returns whether the field has appeared (a string opened or another value began).
|
|
83
|
+
*/
|
|
84
|
+
has(key: string): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Check whether a field's closing delimiter has arrived, without validating its contents.
|
|
87
|
+
* @param key - argument name.
|
|
88
|
+
* @returns whether its delimiter arrived and no content reader has reported an error for this value.
|
|
89
|
+
*/
|
|
90
|
+
complete(key: string): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Read string length without materializing its text.
|
|
93
|
+
* @param key - argument name.
|
|
94
|
+
* @param options - change granularity for a streaming string.
|
|
95
|
+
* @returns decoded UTF-16 length of the string field so far; undefined when absent or not a string.
|
|
96
|
+
*/
|
|
97
|
+
stringLength(key: string, options?: LengthReadOptions): number | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Check a string against a decoded UTF-16 length limit without materializing it.
|
|
100
|
+
* @param key - argument name.
|
|
101
|
+
* @param maxLength - decoded UTF-16 limit, floored to at least zero.
|
|
102
|
+
* @returns whether the string is longer than the limit; false when absent or not a string.
|
|
103
|
+
*/
|
|
104
|
+
stringExceeds(key: string, maxLength: number): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Read a decoded string, including a streaming prefix.
|
|
107
|
+
* @param key - argument name.
|
|
108
|
+
* @returns the string field's decoded text so far; undefined when absent or not a string.
|
|
109
|
+
*/
|
|
110
|
+
text(key: string): string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Read at most the first decoded UTF-16 units of a string.
|
|
113
|
+
* @param key - argument name.
|
|
114
|
+
* @param maxLength - maximum decoded UTF-16 length, floored to at least one.
|
|
115
|
+
* @returns the bounded string prefix; undefined when absent or not a string.
|
|
116
|
+
*/
|
|
117
|
+
textPrefix(key: string, maxLength: number): string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Read a completed non-string argument.
|
|
120
|
+
* @param key - argument name.
|
|
121
|
+
* @returns the parsed non-string value once it closed; undefined while open, absent, or a string.
|
|
122
|
+
*/
|
|
123
|
+
value(key: string): JsonValue | undefined;
|
|
124
|
+
/** Answer a question and, on a streaming view, remember it for change detection. */
|
|
125
|
+
private remember;
|
|
126
|
+
private closedNow;
|
|
127
|
+
private keysNow;
|
|
128
|
+
private hasNow;
|
|
129
|
+
private completeNow;
|
|
130
|
+
private lengthNow;
|
|
131
|
+
private textNow;
|
|
132
|
+
private textPrefixNow;
|
|
133
|
+
private valueNow;
|
|
134
|
+
private chunkAt;
|
|
135
|
+
/** Materialize only a requested range, never the cumulative source. */
|
|
136
|
+
private slice;
|
|
137
|
+
private readString;
|
|
138
|
+
/** Locate new field ranges without decoding or parsing their contents. */
|
|
139
|
+
private scan;
|
|
140
|
+
/** Only raw quotes and their preceding backslash runs can terminate a string. */
|
|
141
|
+
private stringBoundary;
|
|
142
|
+
private step;
|
|
143
|
+
private fail;
|
|
144
|
+
private beginKey;
|
|
145
|
+
private stepKey;
|
|
146
|
+
private open;
|
|
147
|
+
private beginValue;
|
|
148
|
+
private stepScalar;
|
|
149
|
+
private stepNested;
|
|
150
|
+
private closeValue;
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=partial-json.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical public HTTP(S) root parsing shared by this bundle's `publicUrl`
|
|
3
|
+
* config and its CLI startup provider.
|
|
4
|
+
* @module @deepseek-ai/dsh-web-app/public-url
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Parse the advertised public HTTP(S) root of a prefix-stripping proxy
|
|
8
|
+
* deployment, rejecting the hazards WHATWG URL parsing would accept on its own,
|
|
9
|
+
* then normalize the path to end in `/`.
|
|
10
|
+
* @param value - advertised public HTTP(S) root.
|
|
11
|
+
* @param label - field name or CLI flag included in rejection messages.
|
|
12
|
+
* @returns the parsed URL with a trailing-slash pathname.
|
|
13
|
+
* @throws when the value is not a usable advertised root, naming the reason.
|
|
14
|
+
*/
|
|
15
|
+
export declare function parsePublicUrl(value: string, label?: string): URL;
|
|
16
|
+
//# sourceMappingURL=public-url.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { SessionQueuedItem } from '../../types.ts';
|
|
2
|
-
import type { SessionEvent } from '@deepseek-ai/dsh-session/types';
|
|
3
|
-
import type { QueuedMessage } from '../contract/snapshot.ts';
|
|
4
|
-
type QueueItems = readonly SessionQueuedItem[];
|
|
5
|
-
/** Authoritative transient queue projection and durable steering handoff. */
|
|
6
|
-
export declare class SessionQueueMirror {
|
|
7
|
-
private current;
|
|
8
|
-
/**
|
|
9
|
-
* Return the current immutable queue projection.
|
|
10
|
-
* @returns current queue rows.
|
|
11
|
-
*/
|
|
12
|
-
snapshot(): readonly QueuedMessage[];
|
|
13
|
-
/**
|
|
14
|
-
* Replace from one authoritative stream queue frame.
|
|
15
|
-
* @param items - complete host queue snapshot.
|
|
16
|
-
*/
|
|
17
|
-
replace(items: QueueItems): void;
|
|
18
|
-
/**
|
|
19
|
-
* Retire a transient steering row once its durable message enters the log.
|
|
20
|
-
* @param event - newly contiguous durable Session event.
|
|
21
|
-
* @returns whether the projection changed.
|
|
22
|
-
*/
|
|
23
|
-
acceptDurable(event: SessionEvent): boolean;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=queue-mirror.d.ts.map
|