@songtonyli/dsh-cli 0.1.76 → 0.1.77
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.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +117 -116
- package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +7 -6
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +7 -6
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +9 -10
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +7 -8
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +490 -62
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +3 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -73
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +166 -21
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +36 -9
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +23 -7
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -13
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +40 -26
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +237 -11
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +7 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +10 -7
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +9 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +136 -6
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +25 -6
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +3 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +22 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +22 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/index.js +238 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +12 -11
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +3 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +6 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +14 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +8 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +3 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +34 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +356 -124
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +25 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +5 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +12 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +18 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +34 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +16 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +17 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +314 -85
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +1637 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +62 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +1 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +17 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +4 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +4 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +117 -66
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +176 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +324 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +5 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +4 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +7 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +8 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +15 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +14 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +15 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +75 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +14 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +11 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +23 -26
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +95 -8
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +15 -13
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +10 -4
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +9 -22
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +18 -26
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +14 -32
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +70 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/worker.js +16 -12
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +14 -20
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.md +68 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.zh.md +68 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/cordis.patch.yml +10 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +50 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +10 -13
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +26 -12
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-headless/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +14 -14
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +3 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +43 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +117 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +117 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +661 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.host.js +407 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.remote-client.js +259 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index-url.js +27 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +351 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse-thread.js +61 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse.js +36 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/search.js +135 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/tools.js +128 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/worker.js +8 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/worker.cjs +1759 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +89 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.md +74 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.zh.md +74 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/lib/index.js +320 -0
- package/node_modules/@deepseek-ai/{dsh-client-ui-slots → dsh-plugin-market-index}/package.json +15 -12
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +5 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +34 -34
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +18 -21
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-export-pdf/SKILL.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-render/SKILL.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +46 -46
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +252 -47
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +125 -4
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +45 -26
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +20 -10
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +26 -9
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +78 -78
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +140 -139
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +18 -20
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -18
- package/node_modules/@earendil-works/pi-ai/README.md +5 -34
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -54
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +16 -18
- package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +29 -27
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +15 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +21 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +28 -15
- package/node_modules/@earendil-works/pi-ai/dist/index.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js +26 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +3 -0
- package/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/minisearch/LICENSE.txt +7 -0
- package/node_modules/minisearch/README.md +347 -0
- package/node_modules/minisearch/dist/cjs/SearchableMap.cjs +549 -0
- package/node_modules/minisearch/dist/cjs/index.cjs +2007 -0
- package/node_modules/minisearch/dist/es/SearchableMap.js +547 -0
- package/node_modules/minisearch/dist/es/index.js +2005 -0
- package/node_modules/minisearch/dist/umd/SearchableMap.js +555 -0
- package/node_modules/minisearch/dist/umd/index.js +2013 -0
- package/node_modules/minisearch/package.json +90 -0
- package/node_modules/minisearch/src/MiniSearch.test.js +1997 -0
- package/node_modules/minisearch/src/MiniSearch.ts +2261 -0
- package/node_modules/minisearch/src/SearchableMap/SearchableMap.test.js +314 -0
- package/node_modules/minisearch/src/SearchableMap/SearchableMap.ts +424 -0
- package/node_modules/minisearch/src/SearchableMap/TreeIterator.ts +103 -0
- package/node_modules/minisearch/src/SearchableMap/fuzzySearch.ts +130 -0
- package/node_modules/minisearch/src/SearchableMap/types.ts +18 -0
- package/node_modules/minisearch/src/index.ts +4 -0
- package/node_modules/minisearch/src/testSetup/jest.js +1 -0
- package/package.json +305 -301
- package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +0 -28
- package/node_modules/@deepseek-ai/dsh-client-store/README.md +0 -46
- package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +0 -46
- package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +0 -180
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +0 -121
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +0 -92
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +0 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +0 -221
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +0 -221
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +0 -77
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +0 -83
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +0 -118
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +0 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +0 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +0 -90
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +0 -54
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +0 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +0 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +0 -345
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +0 -285
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +0 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +0 -129
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +0 -73
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +0 -76
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +0 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +0 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +0 -100
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +0 -57
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +0 -205
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +0 -88
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +0 -101
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +0 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +0 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +0 -12583
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +0 -145
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +0 -32
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +0 -467
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +0 -53
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +0 -145
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +0 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +0 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +0 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +0 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +0 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +0 -52
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +0 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +0 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +0 -59
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +0 -34
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +0 -143
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +0 -44
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +0 -51
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +0 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +0 -72
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +0 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +0 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +0 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +0 -32
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +0 -86
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +0 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +0 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +0 -54
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +0 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +0 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +0 -385
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +0 -102
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +0 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +0 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +0 -148
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +0 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +0 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +0 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +0 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +0 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +0 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +0 -214
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +0 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +0 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +0 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +0 -29
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +0 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +0 -577
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +0 -955
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +0 -271
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +0 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +0 -425
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Direct mdast→React markdown renderer. Replaces the react-markdown /
|
|
3
|
-
* remark-rehype pipeline with one switch over parsed nodes so streaming can
|
|
4
|
-
* cache frozen blocks as React elements; the rendered DOM is pinned
|
|
5
|
-
* byte-for-byte by `tests/fixtures/markdown-dom` and must not drift.
|
|
6
|
-
*
|
|
7
|
-
* External link and image destinations pass a protocol allowlist; settled
|
|
8
|
-
* local file links use an explicit owner callback. Images additionally require
|
|
9
|
-
* absolute HTTP(S), raw HTML renders as literal text (no HTML enters the
|
|
10
|
-
* DOM), and KaTeX runs without trusted commands. Fragment-anchor URLs fail
|
|
11
|
-
* the allowlist, so footnote references and back-references render as plain
|
|
12
|
-
* text rather than in-page links.
|
|
13
|
-
*
|
|
14
|
-
* Merge-extensible node unions fall through the documented default (render
|
|
15
|
-
* nothing) rather than ending in assertNever: grammars registered elsewhere
|
|
16
|
-
* may add node types this renderer has no mapping for.
|
|
17
|
-
*/
|
|
18
|
-
import type { ReactNode } from 'react';
|
|
19
|
-
import type * as Md from 'mdast';
|
|
20
|
-
import type { CodeToolbarLabels } from '../CodeToolbar.tsx';
|
|
21
|
-
import type { PositionedBlock } from './incremental.ts';
|
|
22
|
-
/** Copy-button labels forwarded to fence CodeBlocks (this package is cordis-free, so copy arrives via props). */
|
|
23
|
-
export interface MarkdownCodeLabels {
|
|
24
|
-
/** Copy-button idle label. */
|
|
25
|
-
copyLabel: string;
|
|
26
|
-
/** Copy-button label during the post-copy confirmation window. */
|
|
27
|
-
copiedLabel: string;
|
|
28
|
-
/** Shared card controls; omitted for custom toolbar layouts. */
|
|
29
|
-
toolbarLabels?: CodeToolbarLabels | undefined;
|
|
30
|
-
}
|
|
31
|
-
/** Localized chrome for a Markdown document. */
|
|
32
|
-
export interface MarkdownLabels {
|
|
33
|
-
code: MarkdownCodeLabels;
|
|
34
|
-
footnotes: string;
|
|
35
|
-
}
|
|
36
|
-
/** Link/image reference targets collected from a document (first definition per identifier wins, as in CommonMark). */
|
|
37
|
-
export interface ReferenceTargets {
|
|
38
|
-
/** Link/image definitions keyed by upper-cased identifier. */
|
|
39
|
-
definitions: Map<string, Md.Definition>;
|
|
40
|
-
/** Footnote definitions keyed by upper-cased identifier. */
|
|
41
|
-
footnotes: Map<string, Md.FootnoteDefinition>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Create an empty {@link ReferenceTargets}.
|
|
45
|
-
* @returns Fresh empty maps.
|
|
46
|
-
*/
|
|
47
|
-
export declare function createReferenceTargets(): ReferenceTargets;
|
|
48
|
-
/**
|
|
49
|
-
* Record every definition and footnote definition under `nodes` into
|
|
50
|
-
* `targets`, depth-first, keeping the first definition per identifier.
|
|
51
|
-
* @param nodes - Subtrees to walk (top-level blocks or any nested children).
|
|
52
|
-
* @param targets - Accumulator, typically shared across incremental segments.
|
|
53
|
-
*/
|
|
54
|
-
export declare function collectReferenceTargets(nodes: readonly Md.RootContent[], targets: ReferenceTargets): void;
|
|
55
|
-
/**
|
|
56
|
-
* Local-path image vocabulary for image destinations: the owner maps an
|
|
57
|
-
* authored destination that fails the remote-URL allowlist (an absolute local
|
|
58
|
-
* file path, for example) to a displayable URL it can vouch for. Absent
|
|
59
|
-
* wherever no such vocabulary exists, authored local destinations keep their
|
|
60
|
-
* documented fallback (the image's alt text). Rewritten destinations must be
|
|
61
|
-
* absolute; the renderer re-checks their protocol before emitting them.
|
|
62
|
-
*/
|
|
63
|
-
export interface MarkdownPathImages {
|
|
64
|
-
/**
|
|
65
|
-
* Resolve one authored image destination.
|
|
66
|
-
* @param value - The destination exactly as the markdown author wrote it.
|
|
67
|
-
* @returns A displayable absolute URL, or undefined when the destination
|
|
68
|
-
* names no displayable image — it then stays inert alt text.
|
|
69
|
-
*/
|
|
70
|
-
resolve(value: string): string | undefined;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* File-mention affordance for inline code: the owner resolves an authored
|
|
74
|
-
* token to the file it names, using its own vocabulary of real files — the
|
|
75
|
-
* renderer never guesses at what looks like a path.
|
|
76
|
-
*/
|
|
77
|
-
export interface MarkdownFileMentions {
|
|
78
|
-
/**
|
|
79
|
-
* Resolve one inline-code token.
|
|
80
|
-
* @param value - The authored token, exactly as written.
|
|
81
|
-
* @returns The opener with its accessible label and full-path title, or
|
|
82
|
-
* undefined when the token names no known file — it then stays inert code.
|
|
83
|
-
*/
|
|
84
|
-
resolve(value: string): {
|
|
85
|
-
open: () => void;
|
|
86
|
-
label: string;
|
|
87
|
-
title: string;
|
|
88
|
-
} | undefined;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* One render pass's state: immutable options and targets plus the footnote
|
|
92
|
-
* numbering accumulated in document order while references render.
|
|
93
|
-
*/
|
|
94
|
-
export interface MarkdownRenderContext {
|
|
95
|
-
/** Streaming arm: fences highlight incrementally as they grow; TeX (including ```math fences) stays literal until the settled pass. */
|
|
96
|
-
readonly streaming: boolean;
|
|
97
|
-
/** Localized fence copy-button labels. */
|
|
98
|
-
readonly labels: MarkdownLabels;
|
|
99
|
-
/** Inside a blockquote's children: tables there always fill the quote's width. */
|
|
100
|
-
readonly inBlockquote?: boolean;
|
|
101
|
-
/** Inline-code file mentions; absent wherever no opener vocabulary exists. */
|
|
102
|
-
readonly fileMentions: MarkdownFileMentions | undefined;
|
|
103
|
-
/** Local-path image vocabulary; absent wherever no rewriting owner exists. */
|
|
104
|
-
readonly pathImages: MarkdownPathImages | undefined;
|
|
105
|
-
/** Inside an anchor's children: interactive mentions must not nest there. */
|
|
106
|
-
readonly inLink?: boolean;
|
|
107
|
-
/** Reference targets visible to this pass. */
|
|
108
|
-
readonly targets: ReferenceTargets;
|
|
109
|
-
/** Footnote identifiers in first-reference order; a footnote's number is its 1-based index here. */
|
|
110
|
-
readonly footnoteOrder: string[];
|
|
111
|
-
/** References rendered per identifier; drives the section's back-reference count. */
|
|
112
|
-
readonly footnoteCounts: Map<string, number>;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Render top-level blocks. Nodes that render nothing (definitions, unmapped
|
|
116
|
-
* types) are dropped rather than kept as null placeholders, matching the
|
|
117
|
-
* replaced pipeline's child lists so separator newlines land identically.
|
|
118
|
-
* @param blocks - Blocks with their stream-stable render keys.
|
|
119
|
-
* @param context - The pass state; footnote numbering mutates in document order.
|
|
120
|
-
* @returns One React node per rendered block.
|
|
121
|
-
*/
|
|
122
|
-
export declare function renderBlocks(blocks: readonly PositionedBlock[], context: MarkdownRenderContext): ReactNode[];
|
|
123
|
-
/**
|
|
124
|
-
* Interleave the newline text nodes the replaced pipeline emitted between
|
|
125
|
-
* block-level children. They are invisible between elements but coalesce
|
|
126
|
-
* into adjacent literal raw-HTML text, where the DOM parity fixtures pin
|
|
127
|
-
* them.
|
|
128
|
-
* @param elements - Rendered block children with empty renders already dropped.
|
|
129
|
-
* @param edges - Also emit the leading and trailing newline (hast's loose wrap).
|
|
130
|
-
* @returns The interleaved children.
|
|
131
|
-
*/
|
|
132
|
-
export declare function wrapBlockChildren(elements: readonly ReactNode[], edges: boolean): ReactNode[];
|
|
133
|
-
/**
|
|
134
|
-
* Render the trailing footnote section for every footnote referenced during
|
|
135
|
-
* the pass, in first-reference order, with one plain-text back-reference
|
|
136
|
-
* marker per rendered reference.
|
|
137
|
-
* @param context - The pass state after all blocks rendered.
|
|
138
|
-
* @returns The section, or null when no referenced footnote has a definition.
|
|
139
|
-
*/
|
|
140
|
-
export declare function renderFootnoteSection(context: MarkdownRenderContext): ReactNode | null;
|
|
141
|
-
//# sourceMappingURL=render.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Activate one supported code surface when it first intersects the viewport.
|
|
4
|
-
* Activation lasts for the component lifetime; browsers without
|
|
5
|
-
* IntersectionObserver activate immediately.
|
|
6
|
-
* @param target - Code surface whose plain rendering reserves its geometry.
|
|
7
|
-
* @param lang - Optional language hint.
|
|
8
|
-
* @returns Whether this component may build highlighted output.
|
|
9
|
-
*/
|
|
10
|
-
export declare function useViewportHighlighting(target: RefObject<Element>, lang: string | undefined): boolean;
|
|
11
|
-
//# sourceMappingURL=useViewportHighlighting.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** Shared viewport inset for overlays, derived from the desktop frame's reserved top strip. */
|
|
2
|
-
/**
|
|
3
|
-
* Resolve the top margin an overlay keeps from the viewport edge.
|
|
4
|
-
* @param min - the overlay's own viewport margin in px, used as the floor.
|
|
5
|
-
* @returns the larger of `min` and the frame clearance plus 20px; fullscreen keeps only the 20px gap.
|
|
6
|
-
*/
|
|
7
|
-
export declare function overlayTopMargin(min: number): number;
|
|
8
|
-
//# sourceMappingURL=overlay-top-margin.d.ts.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { IconProps } from './icons/props.ts';
|
|
2
|
-
/** Light-blue terminal artwork shared by plugin cards and sidebar guide entries. */
|
|
3
|
-
export declare const PluginArtworkTerminal: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
4
|
-
/** Agent-loop plugin artwork (four leaves circling a center). */
|
|
5
|
-
export declare const PluginArtworkLoop: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
6
|
-
/** Subagent plugin artwork (two stacked rounded squares); also marks every row inside a bundle. */
|
|
7
|
-
export declare const PluginArtworkSubagent: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* Web-search plugin artwork (conic-gradient ring and handle). SVG has no
|
|
10
|
-
* native conic gradient, so the ring clips an HTML div painted with CSS
|
|
11
|
-
* `conic-gradient` — the same emulation Figma exports; it renders inline in
|
|
12
|
-
* the browser UI but would stay empty in an `<img>` or mask context.
|
|
13
|
-
*/
|
|
14
|
-
export declare const PluginArtworkSearch: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
15
|
-
/** Default plugin artwork for plugins without one of their own (connector blocks and a node). */
|
|
16
|
-
export declare const PluginArtworkDefault: ({ size, className }: IconProps) => import("react").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=plugin-artwork.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Grace before a pointer-dismissed popup closes. Covers the anchor->popup gap
|
|
3
|
-
* (8px for HoverCard, 4px for Menu) at a hand's travel speed without leaving a
|
|
4
|
-
* popup lingering once the pointer has genuinely moved on.
|
|
5
|
-
*/
|
|
6
|
-
export declare const POINTER_GRACE_MS = 200;
|
|
7
|
-
/** Cancelable delayed close for a pointer-dismissed popup. */
|
|
8
|
-
export interface PointerGrace {
|
|
9
|
-
/** Schedule the close {@link POINTER_GRACE_MS} from now, replacing any pending one. */
|
|
10
|
-
arm: () => void;
|
|
11
|
-
/** Abort a pending close (the pointer came back). */
|
|
12
|
-
cancel: () => void;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Delay a pointer-dismissed popup's close so the pointer can cross the gap
|
|
16
|
-
* between anchor and popup. A pending close is dropped on unmount.
|
|
17
|
-
* @param close - runs when the grace elapses with no re-entry; read at fire
|
|
18
|
-
* time, so callers may pass a fresh closure each render.
|
|
19
|
-
* @returns the {@link PointerGrace} handle.
|
|
20
|
-
*/
|
|
21
|
-
export declare function usePointerGrace(close: () => void): PointerGrace;
|
|
22
|
-
//# sourceMappingURL=pointer-grace.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared ranking for `/` menu candidates: the query must be a
|
|
3
|
-
* case-insensitive ordered subsequence of the candidate name or, when the
|
|
4
|
-
* candidate carries one, of its display label (a localized title). Prefix
|
|
5
|
-
* hits rank first, then the strongest alignment score over either key, then
|
|
6
|
-
* the source order of the input. Decision record:
|
|
7
|
-
* .agents/notes/archived/feature/2026-08-04-web-slash-command-fuzzy-discovery.md
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Rank named items by a menu query.
|
|
11
|
-
* @param items - candidates in source order (a host catalog, then client
|
|
12
|
-
* contributions); an item's optional `label` is a second search key beside
|
|
13
|
-
* its name.
|
|
14
|
-
* @param rawQuery - the text typed after the trigger, matched case-insensitively.
|
|
15
|
-
* @returns the matching items: prefix hits first, then by alignment score,
|
|
16
|
-
* then in source order. The input list itself for an empty query.
|
|
17
|
-
*/
|
|
18
|
-
export declare function rankByName<T extends {
|
|
19
|
-
readonly name: string;
|
|
20
|
-
readonly label?: string;
|
|
21
|
-
}>(items: readonly T[], rawQuery: string): readonly T[];
|
|
22
|
-
//# sourceMappingURL=rank-by-name.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compact relative-time bucketing shared by every surface that dates a
|
|
3
|
-
* session. Bucketing is here so two surfaces naming the same session agree;
|
|
4
|
-
* the words stay in each plugin's own dictionary, per locale-owned copy.
|
|
5
|
-
*
|
|
6
|
-
* @module @deepseek-ai/dsh-client-ui-primitives/relative-time
|
|
7
|
-
*/
|
|
8
|
-
/** Relative-time bucket of a dated row's trailing label. */
|
|
9
|
-
export type RelativeTimeUnit = 'now' | 'minutes' | 'hours' | 'days' | 'months' | 'years';
|
|
10
|
-
/** Structured relative time: the bucket plus its magnitude (0 for 'now'). */
|
|
11
|
-
export interface RelativeTime {
|
|
12
|
-
unit: RelativeTimeUnit;
|
|
13
|
-
n: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Compact relative time, as a structured bucket the renderer localizes
|
|
17
|
-
* ("now"/"5min"/"3h"/"2d"/"4mo"/"1y" in en).
|
|
18
|
-
* @param at - epoch ms of the dated moment.
|
|
19
|
-
* @param now - current epoch ms (injected for pure rendering).
|
|
20
|
-
* @returns the row's trailing time bucket and magnitude.
|
|
21
|
-
*/
|
|
22
|
-
export declare function relativeTime(at: number, now: number): RelativeTime;
|
|
23
|
-
//# sourceMappingURL=relative-time.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One plugin's settings form as its page on the Plugins page shows it: the
|
|
3
|
-
* read-only notice when the deployment stores settings read-only, the
|
|
4
|
-
* plugin's controls, and the save that writes every staged edit. The page
|
|
5
|
-
* draws the plugin's title and one-liner itself.
|
|
6
|
-
*
|
|
7
|
-
* Only a save writes. Leaving the page drops every staged edit, so the form
|
|
8
|
-
* discards on unmount and offers no discard control. A form whose namespace
|
|
9
|
-
* the Host stopped serving says so in place of its controls rather than
|
|
10
|
-
* showing fields nothing would accept.
|
|
11
|
-
*/
|
|
12
|
-
import { type ReactNode } from 'react';
|
|
13
|
-
import type { SettingsFormShell } from './form-model.ts';
|
|
14
|
-
/** The copy the form frame renders, from the owning plugin's dictionary. */
|
|
15
|
-
export interface SettingsFormLabels {
|
|
16
|
-
/** Shown in place of the controls while the namespace is not served. */
|
|
17
|
-
unavailable: string;
|
|
18
|
-
/** Shown over the controls while the document is read-only. */
|
|
19
|
-
readOnly: string;
|
|
20
|
-
/** Shown beside the save after a save the Host did not accept. */
|
|
21
|
-
saveFailed: string;
|
|
22
|
-
/** The save control. */
|
|
23
|
-
save: string;
|
|
24
|
-
/** The save control while a save is crossing the wire. */
|
|
25
|
-
saving: string;
|
|
26
|
-
}
|
|
27
|
-
/** Form chrome shared by every settings page. */
|
|
28
|
-
export interface SettingsFormProps {
|
|
29
|
-
/** The frame's copy. */
|
|
30
|
-
labels: SettingsFormLabels;
|
|
31
|
-
/** The form state: availability, writability, and what a save would do. */
|
|
32
|
-
state: SettingsFormShell;
|
|
33
|
-
/** Write every staged edit. */
|
|
34
|
-
onSave: () => void;
|
|
35
|
-
/** Drop every staged edit; the form calls it when it leaves the page. */
|
|
36
|
-
onDiscard: () => void;
|
|
37
|
-
/** The plugin's controls. */
|
|
38
|
-
children: ReactNode;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Render one plugin's settings form.
|
|
42
|
-
* @param props - the form's copy and state, its controls, and the save and discard actions.
|
|
43
|
-
* @returns the form, or the unavailable line while the namespace is not served.
|
|
44
|
-
*/
|
|
45
|
-
export declare function SettingsForm(props: SettingsFormProps): import("react").JSX.Element;
|
|
46
|
-
//# sourceMappingURL=SettingsForm.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The controls of a settings form. Each renders one field's label, its staged
|
|
3
|
-
* text, whether saving would leave an override, and — when one stands — the
|
|
4
|
-
* reset that stages a clear back to the composition layer. Nothing here
|
|
5
|
-
* writes: a control reports what the user typed, and the form's save is the
|
|
6
|
-
* single point where a draft becomes a document mutation.
|
|
7
|
-
*/
|
|
8
|
-
import { type ReactNode } from 'react';
|
|
9
|
-
/** What every settings field control needs regardless of its value type. */
|
|
10
|
-
export interface SettingsFieldProps {
|
|
11
|
-
/** Stable id associating the label with its control. */
|
|
12
|
-
id: string;
|
|
13
|
-
/** Visible label. */
|
|
14
|
-
label: string;
|
|
15
|
-
/** One-line explanation rendered under the control. */
|
|
16
|
-
hint: string;
|
|
17
|
-
/** Draft text this control renders. */
|
|
18
|
-
text: string;
|
|
19
|
-
/** True when saving would leave a user-layer entry for this field. */
|
|
20
|
-
overridden: boolean;
|
|
21
|
-
/** True when the draft is not a value this field accepts. */
|
|
22
|
-
invalid: boolean;
|
|
23
|
-
/** Copy for the overridden badge. */
|
|
24
|
-
overriddenLabel: string;
|
|
25
|
-
/** Copy for the reset control. */
|
|
26
|
-
resetLabel: string;
|
|
27
|
-
/** Copy shown in place of the hint while the draft is invalid. */
|
|
28
|
-
invalidLabel: string;
|
|
29
|
-
/** Disables every control (read-only document, or an unavailable namespace). */
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
/** Stage draft text. */
|
|
32
|
-
onEdit: (text: string) => void;
|
|
33
|
-
/** Stage a clear so the field re-inherits the composition layer. */
|
|
34
|
-
onReset: () => void;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* A staged value field. `numeric` only hints the keypad: which drafts a field
|
|
38
|
-
* accepts is decided by its spec, so the control never silently rewrites what
|
|
39
|
-
* the user typed.
|
|
40
|
-
* @param props - the field's copy, its staged text, and the edit actions.
|
|
41
|
-
* @returns the labelled control.
|
|
42
|
-
*/
|
|
43
|
-
export declare function SettingsValueField(props: Omit<SettingsFieldProps, 'hint'> & {
|
|
44
|
-
/** Optional explanation shown below the input. */
|
|
45
|
-
hint?: string;
|
|
46
|
-
/** Rules disclosed by the information button beside the label. */
|
|
47
|
-
help?: {
|
|
48
|
-
label: string;
|
|
49
|
-
content: ReactNode;
|
|
50
|
-
};
|
|
51
|
-
/** Hints a numeric keypad without narrowing what the control accepts. */
|
|
52
|
-
numeric?: boolean;
|
|
53
|
-
/** Placeholder shown while the draft is empty. */
|
|
54
|
-
placeholder?: string;
|
|
55
|
-
}): import("react").JSX.Element;
|
|
56
|
-
/**
|
|
57
|
-
* A write-only credential control. The value never rides a response, so the
|
|
58
|
-
* control reports only whether one is configured and starts blank; a blank
|
|
59
|
-
* draft writes nothing, which keeps the stored key rather than clearing it.
|
|
60
|
-
* The control asks browsers not to autofill saved login passwords.
|
|
61
|
-
* @param props - the field's copy, its staged text, and the configured state.
|
|
62
|
-
* @returns the labelled control.
|
|
63
|
-
*/
|
|
64
|
-
export declare function SettingsSecretField(props: Pick<SettingsFieldProps, 'id' | 'label' | 'hint' | 'text' | 'disabled' | 'onEdit'> & {
|
|
65
|
-
/** Whether the Host reports a configured credential for this reference. */
|
|
66
|
-
configured: boolean;
|
|
67
|
-
/** Copy describing the configured state. */
|
|
68
|
-
stateLabel: string;
|
|
69
|
-
}): import("react").JSX.Element;
|
|
70
|
-
//# sourceMappingURL=fields.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The staged form model behind a plugin's settings page.
|
|
3
|
-
*
|
|
4
|
-
* A card stages what the user types and writes it only when they save. Each
|
|
5
|
-
* settings write is a durable, revision-fenced document mutation, so a control
|
|
6
|
-
* that committed as it settled turned one edit into a write the user never
|
|
7
|
-
* asked for and could not preview; staged text makes what is on screen exactly
|
|
8
|
-
* what a save would store.
|
|
9
|
-
*
|
|
10
|
-
* A field shows its effective value — the user layer over the composition
|
|
11
|
-
* layer over the schema default — and whether the user layer carries it. That
|
|
12
|
-
* presence, not a value comparison, is what marks a field overridden: an
|
|
13
|
-
* override equal to the composition default is still an override.
|
|
14
|
-
*/
|
|
15
|
-
import { type SnapshotStore } from '@deepseek-ai/dsh-client-store';
|
|
16
|
-
/** What the model reads of one Host entry's form. */
|
|
17
|
-
export interface SettingsFormScopeSnapshot<T> {
|
|
18
|
-
/** `ready` while the Host serves the entry to this client; the form renders nothing otherwise. */
|
|
19
|
-
status: 'loading' | 'ready' | 'unavailable';
|
|
20
|
-
/** Last accepted schema-resolved section; undefined before the first acceptance. */
|
|
21
|
-
value: T | undefined;
|
|
22
|
-
/** Composition layer the value resolves over: what a field reverts to once cleared. */
|
|
23
|
-
base: unknown;
|
|
24
|
-
/** Raw user layer as stored; a field's PRESENCE here is what marks it overridden. */
|
|
25
|
-
user: unknown;
|
|
26
|
-
/** Whether the Host document accepts writes. */
|
|
27
|
-
writable: boolean;
|
|
28
|
-
/** Revision the snapshot was read at; a save fences its mutation with the revision its drafts started from. */
|
|
29
|
-
revision: number | undefined;
|
|
30
|
-
}
|
|
31
|
-
/** One path edit a save sends, as the shared configuration form's `mutate` accepts it. */
|
|
32
|
-
export type SettingsFormPathOp = {
|
|
33
|
-
op: 'set';
|
|
34
|
-
path: readonly string[];
|
|
35
|
-
value: unknown;
|
|
36
|
-
} | {
|
|
37
|
-
op: 'unset';
|
|
38
|
-
path: readonly string[];
|
|
39
|
-
};
|
|
40
|
-
/** The entry form the model stages over: the reads and the atomic write of the form `ui-settings` shares per Host entry. */
|
|
41
|
-
export interface SettingsFormScope<T> {
|
|
42
|
-
/** @returns the current sync snapshot. */
|
|
43
|
-
getSnapshot(): SettingsFormScopeSnapshot<T>;
|
|
44
|
-
/**
|
|
45
|
-
* Observe snapshot replacements.
|
|
46
|
-
* @param listener - invoked after each snapshot change.
|
|
47
|
-
* @returns the disposer removing this listener.
|
|
48
|
-
*/
|
|
49
|
-
subscribe(listener: () => void): () => void;
|
|
50
|
-
/**
|
|
51
|
-
* Apply ordered field edits in one revision-fenced write.
|
|
52
|
-
* @param ops - the edits, in staging order.
|
|
53
|
-
* @param expectedRevision - the revision the drafts were staged against, when known.
|
|
54
|
-
* @returns true for Host acceptance, false for refusal, after any recovery read.
|
|
55
|
-
*/
|
|
56
|
-
mutate(ops: readonly SettingsFormPathOp[], expectedRevision?: number): Promise<boolean>;
|
|
57
|
-
}
|
|
58
|
-
/** The write one field's staged text performs when the card is saved. */
|
|
59
|
-
export type SettingsFieldWrite = {
|
|
60
|
-
kind: 'set';
|
|
61
|
-
value: unknown;
|
|
62
|
-
} | {
|
|
63
|
-
kind: 'clear';
|
|
64
|
-
};
|
|
65
|
-
/** How one section field converts between its stored value and its draft text. */
|
|
66
|
-
export interface SettingsFieldSpec {
|
|
67
|
-
/** Field name inside the namespace section. */
|
|
68
|
-
field: string;
|
|
69
|
-
/** Render a stored value as draft text; the empty string when the section carries none. */
|
|
70
|
-
format: (value: unknown) => string;
|
|
71
|
-
/**
|
|
72
|
-
* The write this draft text stages, or undefined when the text is not a
|
|
73
|
-
* value this field accepts — which blocks the save rather than discarding it.
|
|
74
|
-
*/
|
|
75
|
-
parse: (text: string) => SettingsFieldWrite | undefined;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* A control whose value is written outside the settings section. A credential
|
|
79
|
-
* literal never rides a response, so its draft has nothing to seed from: it is
|
|
80
|
-
* blank until typed, and a blank draft writes nothing.
|
|
81
|
-
*/
|
|
82
|
-
export interface SettingsSecretSpec {
|
|
83
|
-
/** Field name addressing this control inside the card's form. */
|
|
84
|
-
field: string;
|
|
85
|
-
/** Write the staged text; resolves to whether the Host accepted it. */
|
|
86
|
-
write: (text: string) => Promise<boolean>;
|
|
87
|
-
}
|
|
88
|
-
/** One field as a card's control renders it. */
|
|
89
|
-
export interface SettingsFieldState {
|
|
90
|
-
/** Draft text the control renders. */
|
|
91
|
-
text: string;
|
|
92
|
-
/**
|
|
93
|
-
* Whether saving would leave a user-layer entry for this field. A staged
|
|
94
|
-
* edit answers for itself, so the badge previews the save rather than
|
|
95
|
-
* reporting a state the pending edit already contradicts.
|
|
96
|
-
*/
|
|
97
|
-
overridden: boolean;
|
|
98
|
-
/** Whether the draft is not a value this field accepts, which blocks saving. */
|
|
99
|
-
invalid: boolean;
|
|
100
|
-
}
|
|
101
|
-
/** Form state every plugin card shares. */
|
|
102
|
-
export interface SettingsFormShell {
|
|
103
|
-
/** False while the namespace is not served to this client; the card renders nothing. */
|
|
104
|
-
available: boolean;
|
|
105
|
-
/** Whether the Host document accepts writes. */
|
|
106
|
-
writable: boolean;
|
|
107
|
-
/** Whether the form holds edits that a save would write. */
|
|
108
|
-
dirty: boolean;
|
|
109
|
-
/** Whether any staged draft is invalid, which blocks the save. */
|
|
110
|
-
invalid: boolean;
|
|
111
|
-
/** Whether a save is crossing the wire. */
|
|
112
|
-
saving: boolean;
|
|
113
|
-
/** Whether the last save did not land as staged; cleared by the next edit or save. */
|
|
114
|
-
failed: boolean;
|
|
115
|
-
}
|
|
116
|
-
/** The write actions every plugin card's slot entry injects. */
|
|
117
|
-
export interface SettingsFormActions {
|
|
118
|
-
/** Stage draft text for one field. */
|
|
119
|
-
edit: (field: string, text: string) => void;
|
|
120
|
-
/** Stage a clear, so saving lets the field re-inherit the composition layer. */
|
|
121
|
-
resetField: (field: string) => void;
|
|
122
|
-
/** Write every staged edit, then re-seed from what the Host accepted. */
|
|
123
|
-
save: () => void;
|
|
124
|
-
/** Drop every staged edit. */
|
|
125
|
-
discard: () => void;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* A whole-number field. An empty draft clears the field; any other draft that
|
|
129
|
-
* is not a finite number blocks the save.
|
|
130
|
-
* @param field - field name inside the namespace section.
|
|
131
|
-
* @returns the field's conversion spec.
|
|
132
|
-
*/
|
|
133
|
-
export declare function settingsNumberField(field: string): SettingsFieldSpec;
|
|
134
|
-
/**
|
|
135
|
-
* A free-text field. An empty draft clears the field, so emptying the control
|
|
136
|
-
* and saving is the same gesture as resetting it.
|
|
137
|
-
* @param field - field name inside the namespace section.
|
|
138
|
-
* @returns the field's conversion spec.
|
|
139
|
-
*/
|
|
140
|
-
export declare function settingsTextField(field: string): SettingsFieldSpec;
|
|
141
|
-
/**
|
|
142
|
-
* Stages one card's edits over one settings namespace and writes them on save.
|
|
143
|
-
*
|
|
144
|
-
* The form publishes through a snapshot store because slot components read
|
|
145
|
-
* through a snapshot selector, while both the scope and the local drafts
|
|
146
|
-
* change underneath; every projection is rebuilt from the two together.
|
|
147
|
-
*/
|
|
148
|
-
export declare class SettingsFormModel<T> {
|
|
149
|
-
private readonly scope;
|
|
150
|
-
private readonly specs;
|
|
151
|
-
private readonly secretSpecs;
|
|
152
|
-
private readonly staged;
|
|
153
|
-
private readonly listeners;
|
|
154
|
-
private baseline;
|
|
155
|
-
private readonly unsubscribe;
|
|
156
|
-
private saving;
|
|
157
|
-
private failed;
|
|
158
|
-
/**
|
|
159
|
-
* @param scope - the shared configuration form for this card's namespace.
|
|
160
|
-
* @param specs - the section fields this card edits.
|
|
161
|
-
* @param secrets - the card's write-only controls, written outside the section.
|
|
162
|
-
*/
|
|
163
|
-
constructor(scope: SettingsFormScope<T>, specs: SettingsFieldSpec[], secrets?: SettingsSecretSpec[]);
|
|
164
|
-
/**
|
|
165
|
-
* Publish a projection of this form, rebuilt whenever the scope or a draft changes.
|
|
166
|
-
* @param project - build the card's state from the form's current reads.
|
|
167
|
-
* @returns the store the card's component reads through its bound selector.
|
|
168
|
-
*/
|
|
169
|
-
bind<S>(project: () => S): SnapshotStore<S>;
|
|
170
|
-
/**
|
|
171
|
-
* Read the card-level state: what the Host serves, and what a save would do.
|
|
172
|
-
* @returns the form state every card shares.
|
|
173
|
-
*/
|
|
174
|
-
shell(): SettingsFormShell;
|
|
175
|
-
/**
|
|
176
|
-
* Read one control's state.
|
|
177
|
-
* @param field - field name of a section field or of a write-only control.
|
|
178
|
-
* @returns the draft text, whether a save would leave an override, and whether it is invalid.
|
|
179
|
-
*/
|
|
180
|
-
field(field: string): SettingsFieldState;
|
|
181
|
-
/**
|
|
182
|
-
* Build the edit, reset, save, and discard actions bound to this form.
|
|
183
|
-
* @returns the actions a card's slot entry injects.
|
|
184
|
-
*/
|
|
185
|
-
actions(): SettingsFormActions;
|
|
186
|
-
/**
|
|
187
|
-
* Write every staged edit, then re-seed from what the Host accepted.
|
|
188
|
-
*
|
|
189
|
-
* The Host is the only authority on whether a value was accepted — its
|
|
190
|
-
* validators own the constraints no schema can express — so the outcome is
|
|
191
|
-
* read back from the section rather than predicted here. A save that did not
|
|
192
|
-
* land keeps its drafts, so the user can correct them instead of retyping.
|
|
193
|
-
* @returns settlement after every write and the read-back.
|
|
194
|
-
*/
|
|
195
|
-
save(): Promise<void>;
|
|
196
|
-
/** Release the form's accepted-value subscription. */
|
|
197
|
-
dispose(): void;
|
|
198
|
-
/**
|
|
199
|
-
* Every staged edit a save would write. An entry whose draft is not a value
|
|
200
|
-
* its field accepts carries no write: the form is still dirty, and the save
|
|
201
|
-
* refuses rather than dropping the edit.
|
|
202
|
-
* @returns the planned writes, in the order the fields were staged.
|
|
203
|
-
*/
|
|
204
|
-
private plan;
|
|
205
|
-
private stage;
|
|
206
|
-
private spec;
|
|
207
|
-
private snapshotOf;
|
|
208
|
-
private sectionValue;
|
|
209
|
-
private baseValue;
|
|
210
|
-
private userLayer;
|
|
211
|
-
private stored;
|
|
212
|
-
private publish;
|
|
213
|
-
}
|
|
214
|
-
//# sourceMappingURL=form-model.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** The copy-feedback hook's return: the transient flag and the copy handler. */
|
|
2
|
-
export interface CopyFeedback {
|
|
3
|
-
/** True for {@link COPIED_FEEDBACK_MS} after a successful write; render the success label off it. */
|
|
4
|
-
copied: boolean;
|
|
5
|
-
/** Copy the hook's text; no-op while `copied` is still true, silent on a refused write. */
|
|
6
|
-
onCopy: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Copy `text` to the clipboard with one-second success feedback.
|
|
10
|
-
* @param text - the text to write on copy.
|
|
11
|
-
* @returns the `copied` flag and the `onCopy` handler.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useCopyFeedback(text: string): CopyFeedback;
|
|
14
|
-
//# sourceMappingURL=use-copy-feedback.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Clamp a bottom-anchored overlay's max-height to the viewport.
|
|
4
|
-
* @param ref - the overlay element; a null current (overlay closed) skips measuring.
|
|
5
|
-
* @param cap - design max-height in px (the clamp never exceeds it).
|
|
6
|
-
* @param signal - re-measure trigger: pass the overlay's render state so anchor
|
|
7
|
-
* moves (composer growth) re-fit; resize/scroll re-fit while mounted.
|
|
8
|
-
* @param margin - viewport top margin floor in px; the frame's overlay
|
|
9
|
-
* inset widens it. Callers under fixed chrome (the conversation header)
|
|
10
|
-
* raise it past their chrome's height.
|
|
11
|
-
* @returns the max-height to apply inline, in px.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useAnchoredMaxHeight(ref: RefObject<HTMLElement>, cap: number, signal: unknown, margin?: number): number;
|
|
14
|
-
//# sourceMappingURL=useAnchoredMaxHeight.d.ts.map
|
package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Keep a fixed-position floating element anchored to a trigger.
|
|
3
|
-
*
|
|
4
|
-
* A portaled panel is positioned from its anchor's viewport rect, which stops
|
|
5
|
-
* being true the moment anything scrolls or the window resizes. This owns that
|
|
6
|
-
* one concern: measure the anchor, offset the panel below or above it, clamp
|
|
7
|
-
* the result inside the viewport, and re-run on scroll (capture phase, so
|
|
8
|
-
* scrollers nested inside the page are caught too), on resize, and on the
|
|
9
|
-
* panel's own size changes while the element is open.
|
|
10
|
-
* @module @deepseek-ai/dsh-client-ui-primitives/useAnchoredPosition
|
|
11
|
-
*/
|
|
12
|
-
import { type CSSProperties, type RefObject } from 'react';
|
|
13
|
-
/** Inputs for {@link useAnchoredPosition}. */
|
|
14
|
-
export interface AnchoredPositionOptions {
|
|
15
|
-
/** Whether the floating element is mounted and should track its anchor. */
|
|
16
|
-
open: boolean;
|
|
17
|
-
/** The element the panel is placed from. */
|
|
18
|
-
anchorRef: RefObject<HTMLElement | null>;
|
|
19
|
-
/** The floating element, measured so the clamp uses real dimensions. */
|
|
20
|
-
panelRef: RefObject<HTMLElement | null>;
|
|
21
|
-
/** Which anchor edge the panel hangs from: below it (`bottom`, the default) or above it (`top`). */
|
|
22
|
-
side?: 'top' | 'bottom';
|
|
23
|
-
/** Which anchor edge the panel lines up with: its left edge (`start`, the default) or its right edge (`end`). */
|
|
24
|
-
align?: 'start' | 'end';
|
|
25
|
-
/** Distance kept between the anchor edge named by `side` and the panel. */
|
|
26
|
-
gap: number;
|
|
27
|
-
/** Distance kept between the panel and each viewport edge; the frame's overlay inset widens the top margin. */
|
|
28
|
-
margin: number;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Track an anchor and return the panel's fixed coordinates.
|
|
32
|
-
* @param options - the open state, the two refs, the placement side and alignment, and the gap/margin distances.
|
|
33
|
-
* @returns `left`/`top` for the panel, or `null` before the first measurement.
|
|
34
|
-
*/
|
|
35
|
-
export declare function useAnchoredPosition(options: AnchoredPositionOptions): CSSProperties | null;
|
|
36
|
-
//# sourceMappingURL=useAnchoredPosition.d.ts.map
|