@songtonyli/dsh-cli 0.1.75 → 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/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +347 -136
- 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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-workflow-ptc",
|
|
3
3
|
"description": "Workflow orchestration in the shared sandboxed Node PTC runtime",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,46 +30,46 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
33
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
34
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
35
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
36
|
-
"@deepseek-ai/dsh-subagent": "0.2.1-alpha.
|
|
37
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
38
|
-
"@deepseek-ai/dsh-workflow": "0.2.1-alpha.
|
|
39
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.
|
|
40
|
-
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.
|
|
41
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.
|
|
42
|
-
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.
|
|
33
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
34
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
|
|
35
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
36
|
+
"@deepseek-ai/dsh-subagent": "0.2.1-alpha.5",
|
|
37
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
|
|
38
|
+
"@deepseek-ai/dsh-workflow": "0.2.1-alpha.5",
|
|
39
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.5",
|
|
40
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.5",
|
|
41
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.5",
|
|
42
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-brand": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.
|
|
45
|
+
"@deepseek-ai/dsh-brand": "0.2.1-alpha.5",
|
|
46
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.5",
|
|
47
47
|
"@deepseek-ai/schemastery": "3.18.5-alpha.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.1-alpha.
|
|
50
|
+
"@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.1-alpha.5",
|
|
51
51
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
52
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-subagent": "0.2.1-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-workflow": "0.2.1-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-http-proxy": "0.2.1-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.
|
|
64
|
-
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-ptc-runtime-node": "0.2.1-alpha.
|
|
67
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.
|
|
69
|
-
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.
|
|
70
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.
|
|
71
|
-
"@deepseek-ai/dsh-sandbox-local": "0.2.1-alpha.
|
|
72
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.
|
|
73
|
-
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.
|
|
52
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
|
|
55
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
56
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.5",
|
|
57
|
+
"@deepseek-ai/dsh-subagent": "0.2.1-alpha.5",
|
|
58
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-alpha.5",
|
|
59
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.5",
|
|
60
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
|
|
61
|
+
"@deepseek-ai/dsh-workflow": "0.2.1-alpha.5",
|
|
62
|
+
"@deepseek-ai/dsh-http-proxy": "0.2.1-alpha.5",
|
|
63
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.5",
|
|
64
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.5",
|
|
65
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.5",
|
|
66
|
+
"@deepseek-ai/dsh-ptc-runtime-node": "0.2.1-alpha.5",
|
|
67
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.5",
|
|
68
|
+
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.5",
|
|
69
|
+
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.5",
|
|
70
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.5",
|
|
71
|
+
"@deepseek-ai/dsh-sandbox-local": "0.2.1-alpha.5",
|
|
72
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.5",
|
|
73
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.5"
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-working-directory",
|
|
3
3
|
"description": "Session working directories with durable changes and model context",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
31
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
32
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.
|
|
33
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
34
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
35
|
-
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.
|
|
36
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
31
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
32
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.5",
|
|
33
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
|
|
34
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
35
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.5",
|
|
36
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.
|
|
40
|
-
"@deepseek-ai/dsh-user-approval": "0.2.1-alpha.
|
|
39
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.5",
|
|
40
|
+
"@deepseek-ai/dsh-user-approval": "0.2.1-alpha.5",
|
|
41
41
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
42
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
43
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
45
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
48
|
-
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-tool-working-directory": "0.2.1-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
42
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
43
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.5",
|
|
44
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
|
|
45
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
46
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.5",
|
|
47
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.5",
|
|
48
|
+
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.5",
|
|
49
|
+
"@deepseek-ai/dsh-tool-working-directory": "0.2.1-alpha.5",
|
|
50
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@deepseek-ai/schemastery": "3.18.5-alpha.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-workspace",
|
|
3
3
|
"description": "Workspace entity registry (ctx.workspaceRegistry): durable workspace records with validated session attachment over the domain data form for the DeepSeek Harness",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
38
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
39
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.
|
|
40
|
-
"@deepseek-ai/dsh-storage": "0.2.1-alpha.
|
|
41
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.1-alpha.
|
|
42
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.
|
|
38
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
39
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.5",
|
|
40
|
+
"@deepseek-ai/dsh-storage": "0.2.1-alpha.5",
|
|
41
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.1-alpha.5",
|
|
42
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-brand": "0.2.1-alpha.
|
|
45
|
+
"@deepseek-ai/dsh-brand": "0.2.1-alpha.5",
|
|
46
46
|
"zod": "4.4.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
50
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-storage": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.
|
|
50
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
51
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.5",
|
|
52
|
+
"@deepseek-ai/dsh-storage": "0.2.1-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.1-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.5"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-workspace-changes",
|
|
3
3
|
"description": "Per-turn workspace file changes recorded from git working-tree snapshots and whole-file captures, with per-file comparisons, for the DeepSeek Harness",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
42
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
43
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.
|
|
45
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.
|
|
42
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
43
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
44
|
+
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.5",
|
|
45
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
|
|
46
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.5"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@deepseek-ai/cordis": "4.0.5-alpha.2",
|
|
50
50
|
"@deepseek-ai/cordis-plugin-include": "1.0.10-alpha.2",
|
|
51
51
|
"@deepseek-ai/cordis-plugin-loader": "1.0.6-alpha.2",
|
|
52
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-fs": "0.2.1-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-tool-fs": "0.2.1-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-tool-str-replace-editor": "0.2.1-alpha.
|
|
52
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-subprocess": "0.2.1-alpha.5",
|
|
55
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.5",
|
|
56
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
|
|
57
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
|
|
58
|
+
"@deepseek-ai/dsh-fs": "0.2.1-alpha.5",
|
|
59
|
+
"@deepseek-ai/dsh-fs-local": "0.2.1-alpha.5",
|
|
60
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.5",
|
|
61
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-alpha.5",
|
|
62
|
+
"@deepseek-ai/dsh-tool-fs": "0.2.1-alpha.5",
|
|
63
|
+
"@deepseek-ai/dsh-tool-str-replace-editor": "0.2.1-alpha.5"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -26,7 +26,6 @@ Unified LLM API with provider collections, automatic auth resolution, token and
|
|
|
26
26
|
- [Streaming Tool Calls with Partial JSON](#streaming-tool-calls-with-partial-json)
|
|
27
27
|
- [Validating Tool Arguments](#validating-tool-arguments)
|
|
28
28
|
- [Complete Event Reference](#complete-event-reference)
|
|
29
|
-
- [Compact Assistant Message Frames](#compact-assistant-message-frames)
|
|
30
29
|
- [Image Input](#image-input)
|
|
31
30
|
- [Image Generation](#image-generation)
|
|
32
31
|
- [Classification](#classification)
|
|
@@ -723,34 +722,6 @@ All streaming events emitted during assistant message generation:
|
|
|
723
722
|
|
|
724
723
|
Streaming events for different content blocks are not guaranteed to be contiguous. Providers may emit deltas for text, thinking, and tool calls in the same upstream chunk, and pi may surface corresponding events interleaved, for example `text_start`, `text_delta`, `toolcall_start`, `text_delta`, `toolcall_delta`. Consumers must use `contentIndex` to associate each delta/end event with its block and must not assume that a block's `*_start`/`*_delta`/`*_end` sequence is uninterrupted by events for other blocks.
|
|
725
724
|
|
|
726
|
-
### Compact Assistant Message Frames
|
|
727
|
-
|
|
728
|
-
`AssistantMessageFrameEncoder` converts one stream into compact, persistable `AssistantMessageFrame` values. Create one encoder per stream and feed it every event in order. The encoder understands that `partial` is live: a block-start event consumed after the provider has already queued later deltas snapshots the current block once, and covered queued text/thinking deltas produce no duplicate frame. It retains only per-open-block counters plus, temporarily, the raw prefix needed to synchronize an already-advanced tool call. It never clones the growing full partial per token.
|
|
729
|
-
|
|
730
|
-
The start frame contains message metadata with empty content. Text and thinking frames store each generated character at most once before the authoritative end frame. Tool calls that were already advanced when their start event was consumed use one compact JSON checkpoint before ordinary deltas resume. Terminal `done` and `error` events produce no frame because final message settlement is separate. A pre-generation `error` therefore produces no frames.
|
|
731
|
-
|
|
732
|
-
`reduceAssistantMessageFrames()` is the canonical pure reducer. It reconstructs text, thinking, and tool-call arguments, including interleaved blocks identified by `contentIndex`, and rejects malformed sequences. It performs a single pass over the iterable and returns `undefined` when there is no start frame. End frames replace blocks with the provider's authoritative completed content and metadata. The reducer does not validate tool arguments against a TypeBox schema; call `validateToolCall` before execution.
|
|
733
|
-
|
|
734
|
-
```typescript
|
|
735
|
-
import {
|
|
736
|
-
AssistantMessageFrameEncoder,
|
|
737
|
-
reduceAssistantMessageFrames,
|
|
738
|
-
type AssistantMessageFrame,
|
|
739
|
-
} from '@earendil-works/pi-ai';
|
|
740
|
-
|
|
741
|
-
const encoder = new AssistantMessageFrameEncoder();
|
|
742
|
-
const frames: AssistantMessageFrame[] = [];
|
|
743
|
-
for await (const event of s) {
|
|
744
|
-
const frame = encoder.encode(event);
|
|
745
|
-
if (frame) frames.push(frame);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
const reconstructedPartial = reduceAssistantMessageFrames(frames);
|
|
749
|
-
const finalMessage = await s.result(); // Persist terminal settlement separately.
|
|
750
|
-
```
|
|
751
|
-
|
|
752
|
-
An encoder rejects duplicate starts, updates before start, `done` before start, events after a terminal event, duplicate block starts, and block-kind mismatches. An `error` before start is valid and returns no frame.
|
|
753
|
-
|
|
754
725
|
## Image Input
|
|
755
726
|
|
|
756
727
|
Models with vision capabilities can process images. You can check if a model supports images via the `input` property. If you pass images to a non-vision model, they are silently ignored.
|
|
@@ -1527,13 +1498,13 @@ Notes:
|
|
|
1527
1498
|
|
|
1528
1499
|
## Cross-Provider Handoffs
|
|
1529
1500
|
|
|
1530
|
-
The library supports seamless handoffs between different LLM providers within the same conversation. This allows you to switch models mid-conversation while preserving context, including
|
|
1501
|
+
The library supports seamless handoffs between different LLM providers within the same conversation. This allows you to switch models mid-conversation while preserving context, including text, tool calls, and tool results.
|
|
1531
1502
|
|
|
1532
1503
|
When messages from one provider are sent to a different provider, the library automatically transforms them for compatibility:
|
|
1533
1504
|
|
|
1534
1505
|
- **User and tool result messages** are passed through unchanged
|
|
1535
|
-
- **Assistant messages from the same provider
|
|
1536
|
-
- **Assistant messages from different
|
|
1506
|
+
- **Assistant messages from the same provider, API, and model** are preserved as-is, including thinking blocks
|
|
1507
|
+
- **Assistant messages from a different model** have their thinking blocks dropped. Signatures and encrypted reasoning only work with the model that produced them, and readable thinking sent as plain text makes the new model treat it as part of the reply
|
|
1537
1508
|
- **Tool calls and regular text** are preserved unchanged
|
|
1538
1509
|
|
|
1539
1510
|
```typescript
|
|
@@ -1554,7 +1525,7 @@ const claude = models.getModel('anthropic', 'claude-sonnet-4-5')!;
|
|
|
1554
1525
|
context.messages.push({ role: 'user', content: 'What is 25 * 18?', timestamp: Date.now() });
|
|
1555
1526
|
context.messages.push(await models.completeSimple(claude, context, { reasoning: 'medium' }));
|
|
1556
1527
|
|
|
1557
|
-
// Switch to GPT-5 - it
|
|
1528
|
+
// Switch to GPT-5 - it sees Claude's answer, but not Claude's thinking
|
|
1558
1529
|
const gpt5 = models.getModel('openai', 'gpt-5-mini')!;
|
|
1559
1530
|
context.messages.push({ role: 'user', content: 'Is that calculation correct?', timestamp: Date.now() });
|
|
1560
1531
|
context.messages.push(await models.complete(gpt5, context));
|
|
@@ -1565,7 +1536,7 @@ context.messages.push({ role: 'user', content: 'What was the original question?'
|
|
|
1565
1536
|
const geminiResponse = await models.complete(gemini, context);
|
|
1566
1537
|
```
|
|
1567
1538
|
|
|
1568
|
-
All providers can handle messages from other providers — text, tool calls and results (including images), thinking blocks (
|
|
1539
|
+
All providers can handle messages from other providers — text, tool calls and results (including images), thinking blocks (dropped when the model changes), and aborted messages with partial content. This enables flexible workflows: start with a fast model, switch to a more capable one for complex reasoning, or maintain continuity across provider outages.
|
|
1569
1540
|
|
|
1570
1541
|
## System Messages
|
|
1571
1542
|
|
|
@@ -4,7 +4,7 @@ import { calculateCost } from "../models.js";
|
|
|
4
4
|
import { appendAssistantMessageDiagnostic } from "../utils/diagnostics.js";
|
|
5
5
|
import { AssistantMessageEventStream } from "../utils/event-stream.js";
|
|
6
6
|
import { headersToRecord } from "../utils/headers.js";
|
|
7
|
-
import { parseJsonWithRepair, parseStreamingJson } from "../utils/json-parse.js";
|
|
7
|
+
import { parseJsonWithRepair, parseStreamingJson, parseToolCallArguments } from "../utils/json-parse.js";
|
|
8
8
|
import { getPiUserAgent } from "../utils/pi-user-agent.js";
|
|
9
9
|
import { getProviderEnvValue } from "../utils/provider-env.js";
|
|
10
10
|
import { retryProviderRequest } from "../utils/provider-retry.js";
|
|
@@ -14,7 +14,7 @@ import { getCurrentTools, getInitialSystemMessage, resolveTranscript, } from "..
|
|
|
14
14
|
import { getJsonSchemaToolParameters, resolveJsonSchemaStrictSampling, } from "./constrained-sampling.js";
|
|
15
15
|
import { buildCopilotDynamicHeaders, hasCopilotVisionInput } from "./github-copilot-headers.js";
|
|
16
16
|
import { adjustMaxTokensForThinking, buildBaseOptions, clampMaxTokensToContext } from "./simple-options.js";
|
|
17
|
-
import { transformMessages } from "./transform-messages.js";
|
|
17
|
+
import { splitErrorToolResultImages, transformMessages } from "./transform-messages.js";
|
|
18
18
|
/**
|
|
19
19
|
* Resolve cache retention preference.
|
|
20
20
|
* Defaults to "short" and uses PI_CACHE_RETENTION for backward compatibility.
|
|
@@ -75,6 +75,16 @@ const fromClaudeCodeName = (name, tools) => {
|
|
|
75
75
|
}
|
|
76
76
|
return name;
|
|
77
77
|
};
|
|
78
|
+
function convertImageBlock(image) {
|
|
79
|
+
return {
|
|
80
|
+
type: "image",
|
|
81
|
+
source: {
|
|
82
|
+
type: "base64",
|
|
83
|
+
media_type: image.mimeType,
|
|
84
|
+
data: image.data,
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
}
|
|
78
88
|
/**
|
|
79
89
|
* Convert content blocks to Anthropic API format
|
|
80
90
|
*/
|
|
@@ -92,14 +102,7 @@ function convertContentBlocks(content) {
|
|
|
92
102
|
text: sanitizeSurrogates(block.text),
|
|
93
103
|
};
|
|
94
104
|
}
|
|
95
|
-
return
|
|
96
|
-
type: "image",
|
|
97
|
-
source: {
|
|
98
|
-
type: "base64",
|
|
99
|
-
media_type: block.mimeType,
|
|
100
|
-
data: block.data,
|
|
101
|
-
},
|
|
102
|
-
};
|
|
105
|
+
return convertImageBlock(block);
|
|
103
106
|
});
|
|
104
107
|
// If only images (no text), add placeholder text block
|
|
105
108
|
const hasText = blocks.some((b) => b.type === "text");
|
|
@@ -378,14 +381,12 @@ export const stream = (model, context, options) => {
|
|
|
378
381
|
const normalizedContext = resolveTranscript(context, getAnthropicCompat(model).supportsMidConvoSystemMessages);
|
|
379
382
|
const currentTools = getCurrentTools(normalizedContext.messages);
|
|
380
383
|
(async () => {
|
|
381
|
-
const providerThinkingLevel = model.compat?.supportsMidConvoEffort ? (options?.effort ?? "high") : undefined;
|
|
382
384
|
const output = {
|
|
383
385
|
role: "assistant",
|
|
384
386
|
content: [],
|
|
385
387
|
api: model.api,
|
|
386
388
|
provider: model.provider,
|
|
387
389
|
model: model.id,
|
|
388
|
-
...(providerThinkingLevel === undefined ? {} : { providerThinkingLevel }),
|
|
389
390
|
usage: {
|
|
390
391
|
input: 0,
|
|
391
392
|
output: 0,
|
|
@@ -435,6 +436,8 @@ export const stream = (model, context, options) => {
|
|
|
435
436
|
for (;;) {
|
|
436
437
|
options?.signal?.throwIfAborted();
|
|
437
438
|
const built = buildParams(model, normalizedContext, isOAuth, options, disablePreferredStrictTools);
|
|
439
|
+
if (built.providerThinkingLevel)
|
|
440
|
+
output.providerThinkingLevel = built.providerThinkingLevel;
|
|
438
441
|
let params = built.params;
|
|
439
442
|
const nextParams = await options?.onPayload?.(params, model);
|
|
440
443
|
if (nextParams !== undefined) {
|
|
@@ -625,7 +628,7 @@ export const stream = (model, context, options) => {
|
|
|
625
628
|
});
|
|
626
629
|
}
|
|
627
630
|
else if (block.type === "toolCall") {
|
|
628
|
-
block
|
|
631
|
+
Object.assign(block, parseToolCallArguments(block.partialJson));
|
|
629
632
|
// Finalize in-place and strip the scratch buffer so replay only
|
|
630
633
|
// carries parsed arguments.
|
|
631
634
|
delete block.partialJson;
|
|
@@ -911,14 +914,15 @@ function buildParams(model, context, isOAuthToken, options, disablePreferredStri
|
|
|
911
914
|
};
|
|
912
915
|
const initialTools = initialSystemMessage?.toolsAdded ?? [];
|
|
913
916
|
const nativeToolChanges = compat.supportsMidConvoSystemMessages && compat.supportsMidConvoToolChanges && initialTools.length > 0;
|
|
914
|
-
const
|
|
917
|
+
const thinkingDisabled = model.reasoning && options?.thinkingEnabled === false && model.thinkingLevelMap?.off !== null;
|
|
918
|
+
// Effort cannot change between messages while thinking is disabled, so "off" sends no effort markers.
|
|
919
|
+
const effortMessages = model.compat?.supportsMidConvoEffort === true && !thinkingDisabled;
|
|
920
|
+
const converted = convertMessages(conversationMessages, isOAuthToken, cacheControl, compat.allowEmptySignature, effortMessages ? model.provider : undefined, nativeToolChanges ? convertToolDefinitions : undefined);
|
|
915
921
|
const activeEffort = options?.effort ?? "high";
|
|
916
922
|
const betaFeatures = getBetaFeatures(model, context, isOAuthToken, nativeToolChanges, options);
|
|
917
923
|
const params = {
|
|
918
924
|
model: model.id,
|
|
919
|
-
messages:
|
|
920
|
-
? insertThinkingLevelMessages(converted, activeEffort)
|
|
921
|
-
: converted.messages,
|
|
925
|
+
messages: effortMessages ? insertThinkingLevelMessages(converted, activeEffort) : converted.messages,
|
|
922
926
|
max_tokens: options?.maxTokens ?? model.maxTokens,
|
|
923
927
|
stream: true,
|
|
924
928
|
...(betaFeatures.length > 0 ? { betas: betaFeatures } : {}),
|
|
@@ -971,9 +975,14 @@ function buildParams(model, context, isOAuthToken, options, disablePreferredStri
|
|
|
971
975
|
params.tools = convertToolDefinitions(tools, toolCacheControl);
|
|
972
976
|
}
|
|
973
977
|
}
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
978
|
+
if (thinkingDisabled) {
|
|
979
|
+
// No effort is sent, so the model default applies. Anthropic rejects `block_binding`
|
|
980
|
+
// with disabled thinking.
|
|
981
|
+
params.thinking = { type: "disabled" };
|
|
982
|
+
}
|
|
983
|
+
else if (effortMessages) {
|
|
984
|
+
// Managed effort models use adaptive thinking so prefix mismatches can
|
|
985
|
+
// be dropped instead of surfacing as persistent 400 responses.
|
|
977
986
|
params.thinking = {
|
|
978
987
|
type: "adaptive",
|
|
979
988
|
display: options?.thinkingDisplay ?? "summarized",
|
|
@@ -981,29 +990,24 @@ function buildParams(model, context, isOAuthToken, options, disablePreferredStri
|
|
|
981
990
|
};
|
|
982
991
|
params.output_config = { effort: "high" };
|
|
983
992
|
}
|
|
984
|
-
else if (model.reasoning) {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
params.output_config = { effort: options.effort };
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
else {
|
|
997
|
-
// Budget-based thinking for older models
|
|
998
|
-
params.thinking = {
|
|
999
|
-
type: "enabled",
|
|
1000
|
-
budget_tokens: options.thinkingBudgetTokens || 1024,
|
|
1001
|
-
display,
|
|
1002
|
-
};
|
|
993
|
+
else if (model.reasoning && options?.thinkingEnabled) {
|
|
994
|
+
// Default to "summarized" so Opus 4.7 and Mythos Preview behave like
|
|
995
|
+
// older Claude 4 models (whose API default is also "summarized").
|
|
996
|
+
const display = options.thinkingDisplay ?? "summarized";
|
|
997
|
+
if (model.compat?.forceAdaptiveThinking === true) {
|
|
998
|
+
// Adaptive thinking: Claude decides when and how much to think.
|
|
999
|
+
params.thinking = { type: "adaptive", display };
|
|
1000
|
+
if (options.effort) {
|
|
1001
|
+
params.output_config = { effort: options.effort };
|
|
1003
1002
|
}
|
|
1004
1003
|
}
|
|
1005
|
-
else
|
|
1006
|
-
|
|
1004
|
+
else {
|
|
1005
|
+
// Budget-based thinking for older models
|
|
1006
|
+
params.thinking = {
|
|
1007
|
+
type: "enabled",
|
|
1008
|
+
budget_tokens: options.thinkingBudgetTokens || 1024,
|
|
1009
|
+
display,
|
|
1010
|
+
};
|
|
1007
1011
|
}
|
|
1008
1012
|
}
|
|
1009
1013
|
if (options?.metadata) {
|
|
@@ -1024,17 +1028,17 @@ function buildParams(model, context, isOAuthToken, options, disablePreferredStri
|
|
|
1024
1028
|
if (allowedFallbackModels && allowedFallbackModels.length > 0) {
|
|
1025
1029
|
params.fallbacks = allowedFallbackModels.map((fallback) => ({ model: fallback.model }));
|
|
1026
1030
|
}
|
|
1027
|
-
return { params, hasPreferredStrictTools };
|
|
1031
|
+
return { params, hasPreferredStrictTools, providerThinkingLevel: effortMessages ? activeEffort : undefined };
|
|
1028
1032
|
}
|
|
1029
1033
|
// Normalize tool call IDs to match Anthropic's required pattern and length
|
|
1030
1034
|
function normalizeToolCallId(id) {
|
|
1031
1035
|
return id.replace(/[^a-zA-Z0-9_-]/g, "_").slice(0, 64);
|
|
1032
1036
|
}
|
|
1033
|
-
function convertToolResult(msg) {
|
|
1037
|
+
function convertToolResult(msg, content = msg.content) {
|
|
1034
1038
|
return {
|
|
1035
1039
|
type: "tool_result",
|
|
1036
1040
|
tool_use_id: msg.toolCallId,
|
|
1037
|
-
content: convertContentBlocks(
|
|
1041
|
+
content: convertContentBlocks(content),
|
|
1038
1042
|
is_error: msg.isError,
|
|
1039
1043
|
};
|
|
1040
1044
|
}
|
|
@@ -1099,14 +1103,7 @@ convertToolDefinitions) {
|
|
|
1099
1103
|
};
|
|
1100
1104
|
}
|
|
1101
1105
|
else {
|
|
1102
|
-
return
|
|
1103
|
-
type: "image",
|
|
1104
|
-
source: {
|
|
1105
|
-
type: "base64",
|
|
1106
|
-
media_type: item.mimeType,
|
|
1107
|
-
data: item.data,
|
|
1108
|
-
},
|
|
1109
|
-
};
|
|
1106
|
+
return convertImageBlock(item);
|
|
1110
1107
|
}
|
|
1111
1108
|
});
|
|
1112
1109
|
const filteredBlocks = blocks.filter((b) => {
|
|
@@ -1197,16 +1194,24 @@ convertToolDefinitions) {
|
|
|
1197
1194
|
else if (msg.role === "toolResult") {
|
|
1198
1195
|
// Collect all consecutive toolResult messages, needed for z.ai Anthropic endpoint.
|
|
1199
1196
|
const toolResults = [];
|
|
1197
|
+
// Anthropic rejects error tool results that contain anything but text, so their images follow
|
|
1198
|
+
// all tool results of the turn, which must come first in the user message (#10794).
|
|
1199
|
+
const errorImages = [];
|
|
1200
1200
|
let j = i;
|
|
1201
1201
|
while (j < transformedMessages.length && transformedMessages[j].role === "toolResult") {
|
|
1202
|
-
|
|
1202
|
+
const toolMsg = transformedMessages[j];
|
|
1203
|
+
const split = splitErrorToolResultImages(toolMsg);
|
|
1204
|
+
toolResults.push(convertToolResult(toolMsg, split?.content));
|
|
1205
|
+
if (split) {
|
|
1206
|
+
errorImages.push({ type: "text", text: split.caption }, ...split.images.map(convertImageBlock));
|
|
1207
|
+
}
|
|
1203
1208
|
j++;
|
|
1204
1209
|
}
|
|
1205
1210
|
// Skip the messages we've already processed.
|
|
1206
1211
|
i = j - 1;
|
|
1207
1212
|
params.push({
|
|
1208
1213
|
role: "user",
|
|
1209
|
-
content: toolResults,
|
|
1214
|
+
content: [...toolResults, ...errorImages],
|
|
1210
1215
|
});
|
|
1211
1216
|
}
|
|
1212
1217
|
}
|
|
@@ -7,7 +7,7 @@ import { appendAssistantMessageDiagnostic } from "../utils/diagnostics.js";
|
|
|
7
7
|
import { normalizeProviderError } from "../utils/error-body.js";
|
|
8
8
|
import { AssistantMessageEventStream } from "../utils/event-stream.js";
|
|
9
9
|
import { providerHeadersToRecord } from "../utils/headers.js";
|
|
10
|
-
import { parseStreamingJson } from "../utils/json-parse.js";
|
|
10
|
+
import { parseStreamingJson, parseToolCallArguments } from "../utils/json-parse.js";
|
|
11
11
|
import { resolveHttpProxyUrlForTarget } from "../utils/node-http-proxy.js";
|
|
12
12
|
import { getProviderEnvValue } from "../utils/provider-env.js";
|
|
13
13
|
import { sanitizeSurrogates } from "../utils/sanitize-unicode.js";
|
|
@@ -15,7 +15,7 @@ import { getSystemMessageText } from "../utils/text.js";
|
|
|
15
15
|
import { collapseSystemMessages, getCurrentTools, getInitialSystemMessage, withoutInitialSystemMessage, } from "../utils/transcript.js";
|
|
16
16
|
import { getJsonSchemaToolParameters, resolveJsonSchemaStrictSampling } from "./constrained-sampling.js";
|
|
17
17
|
import { adjustMaxTokensForThinking, buildBaseOptions, clampMaxTokensToContext, clampReasoning, } from "./simple-options.js";
|
|
18
|
-
import { transformMessages } from "./transform-messages.js";
|
|
18
|
+
import { splitErrorToolResultImages, transformMessages } from "./transform-messages.js";
|
|
19
19
|
const EMPTY_TEXT_PLACEHOLDER = "<empty>";
|
|
20
20
|
const THINKING_BINDING_CONTROLS_BETA = "thinking-binding-controls-2026-08-01";
|
|
21
21
|
/** Matches the placeholder the Anthropic API path uses for redacted thinking. */
|
|
@@ -558,7 +558,7 @@ function handleContentBlockStop(event, blocks, output, stream) {
|
|
|
558
558
|
stream.push({ type: "thinking_end", contentIndex: index, content: block.thinking, partial: output });
|
|
559
559
|
break;
|
|
560
560
|
case "toolCall":
|
|
561
|
-
block
|
|
561
|
+
Object.assign(block, parseToolCallArguments(block.partialJson));
|
|
562
562
|
// Finalize in-place and strip the scratch buffer so replay only
|
|
563
563
|
// carries parsed arguments.
|
|
564
564
|
delete block.partialJson;
|
|
@@ -870,30 +870,28 @@ function convertMessages(context, model, cacheRetention, env) {
|
|
|
870
870
|
// Collect all consecutive toolResult messages into a single user message
|
|
871
871
|
// Bedrock requires all tool results to be in one message
|
|
872
872
|
const toolResults = [];
|
|
873
|
-
//
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
content: convertToolResultContent(m.content),
|
|
878
|
-
status: m.isError ? ToolResultStatus.ERROR : ToolResultStatus.SUCCESS,
|
|
879
|
-
},
|
|
880
|
-
});
|
|
881
|
-
// Look ahead for consecutive toolResult messages
|
|
882
|
-
let j = i + 1;
|
|
873
|
+
// Claude rejects error tool results that contain anything but text, so for Claude their
|
|
874
|
+
// images follow all tool results of the turn (#10794). Other models keep them in place.
|
|
875
|
+
const errorImages = [];
|
|
876
|
+
let j = i;
|
|
883
877
|
while (j < transformedMessages.length && transformedMessages[j].role === "toolResult") {
|
|
884
|
-
const
|
|
878
|
+
const toolMsg = transformedMessages[j];
|
|
879
|
+
const split = isAnthropicClaudeModel(model) ? splitErrorToolResultImages(toolMsg) : undefined;
|
|
885
880
|
toolResults.push({
|
|
886
881
|
toolResult: {
|
|
887
|
-
toolUseId:
|
|
888
|
-
content: convertToolResultContent(
|
|
889
|
-
status:
|
|
882
|
+
toolUseId: toolMsg.toolCallId,
|
|
883
|
+
content: convertToolResultContent(split?.content ?? toolMsg.content),
|
|
884
|
+
status: toolMsg.isError ? ToolResultStatus.ERROR : ToolResultStatus.SUCCESS,
|
|
890
885
|
},
|
|
891
886
|
});
|
|
887
|
+
if (split) {
|
|
888
|
+
errorImages.push({ text: split.caption }, ...split.images.map((image) => ({ image: createImageBlock(image.mimeType, image.data) })));
|
|
889
|
+
}
|
|
892
890
|
j++;
|
|
893
891
|
}
|
|
894
892
|
// Skip the messages we've already processed
|
|
895
893
|
i = j - 1;
|
|
896
|
-
result.push({ role: ConversationRole.USER, content: toolResults });
|
|
894
|
+
result.push({ role: ConversationRole.USER, content: [...toolResults, ...errorImages] });
|
|
897
895
|
break;
|
|
898
896
|
}
|
|
899
897
|
default:
|
|
@@ -40,6 +40,8 @@ export function usesGoogleThinkingLevel(model) {
|
|
|
40
40
|
// Match Gemini 3 Pro/Flash IDs with or without a minor version, such as
|
|
41
41
|
// gemini-3-flash-preview, gemini-3.1-pro-preview, and gemini-3.8-flash.
|
|
42
42
|
/gemini-3(?:\.\d+)?-(?:pro|flash)/.test(id) ||
|
|
43
|
+
// Match Gemini 4 and later, such as gemini-4-argon (#10890).
|
|
44
|
+
/gemini-(?:[4-9]|[1-9]\d)/.test(id) ||
|
|
43
45
|
id === "gemini-flash-latest" ||
|
|
44
46
|
id === "gemini-flash-lite-latest" ||
|
|
45
47
|
// Match both hosted Gemma 4 naming forms: gemma-4-* and gemma4-*.
|