@qqbrowser/qbot-dsh 0.0.11 → 0.0.13
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/lib/bin.js +1 -1
- package/lib/{dump-config-BD79jvHi.js → dump-config-xQTUTTDD.js} +1 -1
- package/lib/{plugin-B3Ecl7VN.js → plugin-DNAeLZbb.js} +1 -1
- package/lib/profile-boot-BkordgJK.js +1 -0
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +12 -12
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -3
- package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-runtime/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-schema-form/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web-react/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web-react/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/lib/worker.cjs +4 -2
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-content-review/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/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 +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/worker.cjs +9 -7
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-output-retention/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-qb-auth/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-D2_FQYSK.js +1 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-policy/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ralph/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/lib/index.js +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +26 -26
- package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-Dqw48FrP.js → index-BQQQ5Qt-.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DddhVWhK.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-D-uCvoST.js → php-9bx0az3O.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-DEItuUFs.js → ruby-HDLHRjSL.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-C2oV4EkX.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-Cjbwl5VI.js → vendor-CeMKrCZm.js} +24 -24
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/lib/worker.cjs +3 -4
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
- package/package.json +1 -1
- package/lib/profile-boot-_PCyp_wB.js +0 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-BjBvdldw.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DIPi6g--.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-D82vCrfD.js +0 -1
- /package/lib/{profile-boot-B71dQloK.js → profile-boot-DDo03lXi.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var te=Object.defineProperty;var a=(e,t)=>te(e,"name",{value:t,configurable:!0});import{createRequire as re}from"node:module";import{fileURLToPath as ne,pathToFileURL as $}from"node:url";import{existsSync as v,mkdirSync as oe,readFileSync as S,writeFileSync as A}from"node:fs";import{parseEnv as ie}from"node:util";import{basename as P,dirname as F,extname as se,isAbsolute as ae,join as p,resolve as O}from"node:path";import*as w from"js-yaml";import{Context as ce,Service as le}from"@deepseek-ai/cordis";import de,{EntryGroup as he,EntryTree as fe,isJsExpr as pe}from"@deepseek-ai/cordis-plugin-loader";import{access as ue,constants as ye,readFile as Ee,rename as we,writeFile as ge}from"node:fs/promises";import{setTimeout as me}from"node:timers/promises";import ve from"@deepseek-ai/cordis-plugin-group";import{dshHomePath as Se,resolveDshHome as I}from"@deepseek-ai/dsh-home-paths";import{createLaunchEnvironmentSnapshot as _e}from"@deepseek-ai/dsh-launch-environment";const Te=new w.Type("tag:yaml.org,2002:js",{kind:"scalar",resolve:a(e=>typeof e=="string","resolve"),construct:a(e=>({__jsExpr:e}),"construct"),predicate:pe,represent:a(e=>e.__jsExpr,"represent")}),L=w.JSON_SCHEMA.extend(Te),N=L,D={".json":"application/json",".yaml":"application/yaml",".yml":"application/yaml"},Oe=new Set(Object.keys(D)),$e=10,Ae=50;function Pe(e){const t=e?.code;return t==="EACCES"||t==="EBUSY"||t==="EPERM"}a(Pe,"retryableWriteError");function b(e,t,r){if(e=structuredClone(e),!t?.length)return e;const n=new Map,s=a(o=>{for(const i of o)i.id&&n.set(i.id,i),i.group&&Array.isArray(i.config)&&s(i.config)},"buildMap");s(e);for(const o of t){const{id:i,insert:c,name:l,...d}=o;if(c){if(i){const h=n.get(i);if(!h){r("patch insert: entry %C not found",i);continue}if(!h.group){r("patch insert: entry %C is not a group",i);continue}Array.isArray(h.config)||(h.config=[]),h.config.push(...c)}else e.push(...c);s(c);continue}if(!i){r("patch: id is required for non-insert patches");continue}const f=n.get(i);if(!f){r("patch: entry %C not found",i);continue}if(l&&l!==f.name){r("patch: name mismatch for %C (expected %C, got %C), skipping",i,f.name,l);continue}for(const[h,y]of Object.entries(d))h!=="id"&&(f[h]=y)}return e}a(b,"applyEntryPatches");var R=class extends Error{static{a(this,"ConfigFileError")}stage;constructor(e,t,r){super(`failed to ${e} config file ${t}`,{cause:r}),this.stage=e,this.name="ConfigFileError"}},H=class extends fe{static{a(this,"Include")}config;static inject=["loader"];static[he.key]=!0;filename;type;readonly;content;data;writeTask;pendingWrite;writeQueue=Promise.resolve();applyQueue=Promise.resolve();constructor(e,t){super(e),this.config=t,this.enableLogs=t.enableLogs??e.fiber.entry?.parent.tree.enableLogs??!1,this.filename=ne(new URL(this.config.path,this.ctx.baseUrl));const r=se(this.filename);if(!Oe.has(r))throw new Error(`extension "${r}" not supported`);this.type=D[r],this.readonly=!this.type,this.ctx.baseUrl=new URL(".",$(this.filename)).href,e.on("internal/update",async(n,s,o)=>{if(n.path!==this.config.path)return o();await this.enqueue(async()=>{const i=this.applyPatches(this.data,n.patches);await this.root.update(i),this.config=n})})}enqueue(e){const t=this.applyQueue.then(e,e);return this.applyQueue=t.then(()=>{},()=>{}),t}async checkAccess(){if(this.type)try{await ue(this.filename,ye.W_OK)}catch{this.readonly=!0}}async read(e=!1){let t;try{t=await Ee(this.filename,"utf8")}catch(n){throw new R("read",this.filename,n)}if(!e&&this.content===t)return;let r;try{if(this.type==="application/yaml")r=w.load(t,{schema:N});else if(this.type==="application/json")r=JSON.parse(t);else{const n=await import(this.filename);r=n.default||n}}catch(n){throw new R("parse",this.filename,n)}if(!Array.isArray(r))throw new R("validate",this.filename,new TypeError("config file must be a top-level array"));return{content:t,data:r}}applyPatches(e,t){return b(e,t,(r,...n)=>{this.ctx.root.logger?.("loader").warn(r,...n)})}async*[le.init](){let e;try{e=await this.read(!0)}catch(t){if(!(t instanceof R)||t.stage!=="read"||t.cause?.code!=="ENOENT")throw t;if(this.config.initial)await this._writeFile(this.config.initial),e=await this.read(!0);else throw new Error(`config file not found: ${this.filename}`)}yield()=>this.stop(),await this.apply(e)}async stop(){await this.root.stop(),await this.flushWrite()}async refresh(){await this.enqueue(async()=>{const e=await this.read();e&&await this._apply(e)})}apply(e){return this.enqueue(()=>this._apply(e))}async _apply(e){const t=this.applyPatches(e.data,this.config.patches);await this.root.update(t),this.content=e.content,this.data=e.data,await this.checkAccess()}async _writeFile(e){if(this.readonly)throw new Error("cannot overwrite readonly config");this.type==="application/yaml"?this.content=w.dump(e,{schema:N}):this.type==="application/json"&&(this.content=JSON.stringify(e,null,2)),await ge(this.filename+".tmp",this.content);for(let t=0;;t++)try{await we(this.filename+".tmp",this.filename);return}catch(r){if(!Pe(r)||t>=$e)throw r;await me((t+1)*Ae)}}writeFile(e){clearTimeout(this.writeTask),this.pendingWrite=e,this.writeTask=setTimeout(()=>{this.flushWrite()},0)}flushWrite(){clearTimeout(this.writeTask),this.writeTask=void 0;const e=this.pendingWrite;if(this.pendingWrite=void 0,e===void 0)return this.writeQueue;const t=this.writeQueue.then(()=>this._writeFile(e),()=>this._writeFile(e));return this.writeQueue=t,t.catch(r=>{this.ctx.root.logger?.("loader").warn("failed to write config file %C",this.filename),this.ctx.root.logger?.("loader").warn(r)}),t}write(){return this.context.emit("loader/config-update"),this.writeFile(this.root.data)}};const U="profiles",k="cordis.patch.yml";function x(e,t=I()){if(e===""||e.includes("/")||e.includes("\\")||e==="."||e===".."||e==="node_modules")throw new Error(`qbot-dsh: invalid profile name ${JSON.stringify(e)}`);return p(t,U,e)}a(x,"resolveProfileDir");const C={web:["@deepseek-ai/dsh-base","@deepseek-ai/dsh-web-app"],headless:["@deepseek-ai/dsh-base","@deepseek-ai/dsh-headless"]},Le={headless:["@deepseek-ai/dsh-base","@deepseek-ai/dsh-web-app","@deepseek-ai/dsh-headless"]},Re=["@deepseek-ai/dsh-base"],Ie=`# Your patch layer for this qbot-dsh profile, applied after every bundle layer:
|
|
2
2
|
# a top-level YAML array of loader patch entries (id-targeted config
|
|
3
3
|
# overrides, disables, and insert lists; \`!!js\` expressions allowed).
|
|
4
4
|
[]
|
|
5
|
-
`,
|
|
5
|
+
`,be=`packages:
|
|
6
6
|
- .
|
|
7
7
|
|
|
8
8
|
nodeLinker: hoisted
|
|
9
9
|
autoInstallPeers: false
|
|
10
|
-
`;function B(e,t){
|
|
11
|
-
`)}const n=p(e,k);v(n)||A(n,
|
|
12
|
-
`)}a(J,"writeProfileManifest");function
|
|
13
|
-
`)}}a(
|
|
14
|
-
`);return}const o=
|
|
15
|
-
`)}){let s;try{s=S(t,"utf8")}catch(E){throw new Error(`${e}: failed to read config ${t}: ${String(E)}`)}let o;try{o=
|
|
10
|
+
`;function B(e,t){oe(e,{recursive:!0});const r=p(e,"package.json");if(!v(r)){const o={name:`qbot-dsh-profile-${P(e)}`,private:!0,dependencies:{},dsh:{profile:{bundles:[...t]}}};A(r,JSON.stringify(o,void 0,2)+`
|
|
11
|
+
`)}const n=p(e,k);v(n)||A(n,Ie);const s=p(e,"pnpm-workspace.yaml");v(s)||A(s,be)}a(B,"initProfile");function M(e,t){const r=p(t,"package.json");let n;try{n=S(r,"utf8")}catch(o){throw new Error(`${e}: failed to read profile manifest ${r}: ${String(o)}`)}const s=JSON.parse(n);if(s===null||typeof s!="object"||Array.isArray(s))throw new Error(`${e}: profile manifest ${r} must hold a JSON object`);return s}a(M,"readProfileManifest");function J(e,t){A(p(e,"package.json"),JSON.stringify(t,void 0,2)+`
|
|
12
|
+
`)}a(J,"writeProfileManifest");function ke(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])}a(ke,"sameBundles");function Ce(e,t,r){const n=Le[e],s=C[e],o=r.dsh?.profile?.bundles;if(n===void 0||s===void 0||o===void 0||!ke(o,n))return r;const i={...r,dsh:{...r.dsh,profile:{...r.dsh?.profile,bundles:[...s]}}};return J(t,i),i}a(Ce,"normalizeShippedProfile");function je(e,t){for(const r of re(e).resolve.paths(t)??[]){const n=p(r,t);if(v(p(n,"package.json")))return n}}a(je,"packageDirFromAnchor");function Y(e,t,r,n){for(const s of[r,p(n,"package.json")]){const o=je(s,t);if(o!==void 0)return o}throw new Error(`${e}: cannot resolve profile bundle ${JSON.stringify(t)} from the dsh installation or ${n}; run 'qbot-dsh plugin --profile ${P(n)} install' if its dependency is not installed`)}a(Y,"resolveBundleDir");function Fe(e,t,r,n=I(),s={}){const o=x(t,n);if(!v(p(o,"package.json"))){const l=C[t];if(l===void 0)throw new Error(`${e}: profile ${JSON.stringify(t)} does not exist; create it with 'qbot-dsh plugin --profile ${t} add <package>'`);B(o,l)}const i=(Ce(t,o,M(e,o)).dsh?.profile?.bundles??[]).map(l=>{const d=Y(e,l,r,o),f=JSON.parse(S(p(d,"package.json"),"utf8")).dsh?.bundle?.patch;if(f===void 0)throw new Error(`${e}: profile bundle ${JSON.stringify(l)} declares no dsh.bundle in its package.json`);const h=p(d,f);return{packageName:l,packageDir:d,patchPath:h,patches:j(e,h)}}),c=p(o,k);return{name:t,dir:o,layers:i,patchPath:c,patches:s.userLayer!==!1&&v(c)?j(e,c):[]}}a(Fe,"loadProfile");function Ne(e,t=()=>{}){return b([],structuredClone(e.flat()),(r,...n)=>{let s=0;t(r.replace(/%C/g,()=>JSON.stringify(n[s++])))})}a(Ne,"composeEntries");function De(e,t,r=process.cwd()){const n=O(r,e);if(t!=="replay")return n;const s=F(n),o=P(n).replace(/cordis\.ya?ml$/,"cordis.snapshot.yml");return O(s,o)}a(De,"resolveConfigPath");function He(e,t=process.cwd(),r=n=>{process.stderr.write(n)}){try{process.loadEnvFile(O(t,".env"))}catch(n){n?.code!=="ENOENT"&&r(`${e}: failed to load .env: ${String(n)}
|
|
13
|
+
`)}}a(He,"loadEnv");const Ue=new Set(["PATH","HOME","USERPROFILE","SHELL","NODE_OPTIONS","NODE_PATH","NODE_EXTRA_CA_CERTS","LD_PRELOAD","LD_LIBRARY_PATH","LD_AUDIT","BASH_ENV","ENV","SHELLOPTS","BASHOPTS","PERL5OPT","PERL5LIB","PYTHONSTARTUP","PYTHONPATH","RUBYOPT","RUBYLIB","JAVA_TOOL_OPTIONS","_JAVA_OPTIONS","JDK_JAVA_OPTIONS","PYTHONHOME","GIT_SSH","GIT_SSH_COMMAND","GIT_EXTERNAL_DIFF","GIT_PAGER","GIT_EDITOR","GIT_ASKPASS","SSH_ASKPASS","GIT_CONFIG_GLOBAL","GIT_CONFIG_SYSTEM","GIT_CONFIG_COUNT","EDITOR","VISUAL","PAGER","DEEPSEEK_BASE_URL","DEEPSEEK_SEARCH_BASE_URL","SSL_CERT_FILE","SSL_CERT_DIR","HTTP_PROXY","HTTPS_PROXY","ALL_PROXY","NO_PROXY","REQUESTS_CA_BUNDLE","CURL_CA_BUNDLE","NODE_TLS_REJECT_UNAUTHORIZED"]),xe=["DSH_","XDG_","DYLD_","BASH_FUNC_"];function Be(e){const t=e.toUpperCase();return Ue.has(t)||xe.some(r=>t.startsWith(r))}a(Be,"isBootstrapOnly");function G(e,t,r){const n=O(t,".env");let s;try{s=S(n,"utf8")}catch(i){i?.code!=="ENOENT"&&r(`${e}: failed to load .env: ${String(i)}
|
|
14
|
+
`);return}const o=ie(s);for(const i of Object.keys(o))if(Be(i))throw new Error(`${e}: ${n} sets "${i}", which only the launching environment may set (it decides how this process starts, where its code and instructions load from, or how it reaches the network); export ${i} instead of putting it in a .env file`);return{path:n,values:o}}a(G,"readEnvLayer");function Me(e,t=process.cwd(),r=n=>{process.stderr.write(n)}){const n=I(),s={...process.env},o=G(e,t,r),i=n===O(t)?void 0:G(e,n,r);for(const c of[o,i])if(c!==void 0)for(const[l,d]of Object.entries(c.values))process.env[l]===void 0&&(process.env[l]=d);return _e([{source:"process",values:s},...o===void 0?[]:[{source:"project-env",path:o.path,values:o.values}],...i===void 0?[]:[{source:"user-env",path:i.path,values:i.values}]])}a(Me,"loadLayeredEnv");const W=new WeakMap,Je=L;async function Ye(e,t){const{binName:r,filename:n,compose:s=a(l=>l,"compose")}=t,o=e.get("hmr");if(o===void 0)throw new Error(`${r}: user patch-layer watching requires the Cordis HMR service`);const i=W.get(e);if(i===void 0)throw new Error(`${r}: user patch-layer watching requires the root Include entry`);const c=o.registerConfig(n,async()=>{const{patches:l,...d}=i.options.config,f=q(r,n)??[],h=s(f);await i.update({config:{...d,patches:h}})});try{return await c}catch(l){if(l?.code==="INACTIVE_EFFECT")return async()=>{};throw l}}a(Ye,"watchUserPatches");function q(e,t){let r;try{r=S(t,"utf8")}catch(n){if(n?.code==="ENOENT")return;throw new Error(`${e}: failed to read patches ${t}: ${String(n)}`)}return Q(e,t,r,"patches")}a(q,"loadOptionalPatches");function j(e,t){let r;try{r=S(t,"utf8")}catch(n){throw new Error(`${e}: failed to read overlay ${t}: ${String(n)}`)}return Q(e,t,r,"overlay")}a(j,"loadOverlayPatches");function Q(e,t,r,n){let s;try{s=w.load(r,{schema:Je})}catch(o){throw new Error(`${e}: failed to parse ${n} ${t}: ${String(o)}`)}if(!Array.isArray(s))throw new Error(`${e}: ${n} ${t} must be a top-level YAML array of loader patch entries`);return s.forEach((o,i)=>{if(typeof o!="object"||o===null||Array.isArray(o))throw new Error(`${e}: ${n} entry ${i+1} in ${t} must be a mapping (a loader patch entry)`)}),s}a(Q,"parsePatchList");function Ge(e,t,r,n=s=>{process.stderr.write(`${s}
|
|
15
|
+
`)}){let s;try{s=S(t,"utf8")}catch(E){throw new Error(`${e}: failed to read config ${t}: ${String(E)}`)}let o;try{o=w.load(s,{schema:L})}catch(E){throw new Error(`${e}: failed to parse config ${t}: ${String(E)}`)}if(!Array.isArray(o))throw new Error(`${e}: config ${t} must be a top-level YAML array of entries`);const i=P(t),c=o,l=a((E,g)=>{const T=structuredClone(r.slice(0,E).flatMap(m=>m.patches));return b(c,T,(m,...u)=>{let ee=0;g.push(m.replace(/%C/g,()=>JSON.stringify(u[ee++])))})},"snapshot");let d=c,f=[];const h=c.map(()=>({origin:i,patchedBy:[]}));let y=c;for(let E=1;E<=r.length;E+=1){const g=r[E-1];if(g===void 0)continue;const T=[];y=l(E,T);for(const u of T.slice(f.length))n(`${e}: [${g.label}] ${u}`);const m=d.map(u=>JSON.stringify(u));for(let u=0;u<y.length;u+=1)u>=m.length?h.push({origin:g.label,patchedBy:[]}):JSON.stringify(y[u])!==m[u]&&h[u]?.patchedBy.push(g.label);d=y,f=T}return We(y,h)}a(Ge,"renderConfigDump");function We(e,t){const r=[];let n,s=[];const o=a(()=>{n===void 0||s.length===0||(r.push(`# == ${n}`),r.push(w.dump(s,{schema:L,noRefs:!0}).trimEnd()),s=[])},"flush");for(let i=0;i<e.length;i+=1){const c=t[i];if(c===void 0)continue;const l=c.patchedBy.length===0?c.origin:`${c.origin}, patched by ${c.patchedBy.join(", ")}`;l!==n&&(o(),n=l),s.push(e[i])}return o(),r.join(`
|
|
16
16
|
`)+`
|
|
17
|
-
`}a(
|
|
18
|
-
`),r===void 0){t.exit(1);return}(async()=>{let c;try{await Promise.race([(async()=>r())(),new Promise(l=>{c=setTimeout(l,X)})])}catch{}clearTimeout(c),t.exit(1)})()}},"handler"),o=a(()=>{t.off("unhandledRejection",s)},"uninstall");return t.on("unhandledRejection",s),o}a(
|
|
17
|
+
`}a(We,"groupedDump");async function V(e,t,r=[],n){e.loader.builtins.include=n===void 0?H:class extends H{static{a(this,"HostResolvedRootInclude")}import(d,f){const h=ae(d)?$(d).href:d;if(d.startsWith(".")||d.startsWith("cordis:"))return super.import(h,f);const y=this.ctx.loader.internal;return y===void 0?super.import(h,f):y.import(h,n,{})}},e.loader.builtins.group=ve;const s={id:"include",name:"cordis:include",config:{path:$(t).href,...r.length>0?{patches:[...r]}:{}}},o=await e.loader.create(s),i=e.get("loader");if(i===void 0)return;const c=i.resolve(o);return W.set(e,c),c}a(V,"mountRootInclude");const _=new Map;function qe(e){_.set(e,(_.get(e)??0)+1)}a(qe,"retainAssembledRejection");function Qe(e){const t=_.get(e);t===void 0||t===1?_.delete(e):_.set(e,t-1)}a(Qe,"releaseAssembledRejection");async function Ve(e){for(const t of e)qe(t);try{await new Promise(t=>setImmediate(t))}finally{for(const t of e)Qe(t)}}a(Ve,"observeLoaderRejectionCheckpoint");const X=2e3;function Xe(e,t=process,r){let n=!1;const s=a(i=>{if(!_.has(i)&&!n){if(n=!0,t.stderr.write(`${e}: fatal load failure: ${i instanceof Error?i.stack??i.message:String(i)}
|
|
18
|
+
`),r===void 0){t.exit(1);return}(async()=>{let c;try{await Promise.race([(async()=>r())(),new Promise(l=>{c=setTimeout(l,X)})])}catch{}clearTimeout(c),t.exit(1)})()}},"handler"),o=a(()=>{t.off("unhandledRejection",s)},"uninstall");return t.on("unhandledRejection",s),o}a(Xe,"installFailLoud");function K(e,t){const r=[...e.loader.entries()].filter(n=>n.fiber===void 0&&!n.disabled);if(r.length>0){const n=r.map(s=>s.options.name).join(", ");throw new Error(`${t}: plugin(s) failed to load: ${n}; Cordis startup failed because these plugin(s) could not be resolved (see the error(s) logged above)`)}}a(K,"assertEntriesLoaded");const Ke=0,ze=2,Ze=3;function et(e){return e instanceof Error?e.stack??e.message:String(e)}a(et,"formatActivationError");async function z(e,t){K(e,t);const r=[],n=[];for(const s of e.loader.entries()){const o=s.fiber;if(o===void 0||s.disabled)continue;const i=o.state;if(i!==ze){if(i===Ze){try{await o.await()}catch(c){n.push(c),r.push(`${s.options.name}: ${et(c)}`)}continue}if(i===Ke){const c=Object.keys(o.inject).filter(d=>o.ctx.get(d)===void 0),l=c.length===1?"service":"services";r.push(`${s.options.name}: pending (waiting for ${l}: ${c.join(", ")||"unknown"})`)}else r.push(`${s.options.name}: fiber state ${String(i)}`)}}if(r.length>0){n.length>0&&await Ve(n);const s=r.length===1?"entry":"entries";throw new Error(`${t}: ${String(r.length)} ${s} did not activate
|
|
19
19
|
${r.join(`
|
|
20
|
-
`)}`)}}a(z,"assertEntriesActivated");async function
|
|
21
|
-
${d.stack??d.message}`:"";throw new Error(`${e}: ${i}: ${l}${f}`,{cause:c})}}a(
|
|
20
|
+
`)}`)}}a(z,"assertEntriesActivated");async function tt(e,t,r,n,s){const o=new ce;let i="host preparation failed";try{return o.baseUrl=$(F(t)).href+"/",o.provide("dshHomePath",Se),await o.plugin(de),await n?.(o),i="plugin tree failed to load",await V(o,t,r,s),await o.get("loader")?.await(),o.get("loader")===void 0||await z(o,e),o}catch(c){await o.fiber.dispose();const l=c instanceof Error?c.message:String(c);let d=c;for(;d instanceof Error&&d.cause!==void 0;)d=d.cause;const f=d instanceof Error&&d!==c?`
|
|
21
|
+
${d.stack??d.message}`:"";throw new Error(`${e}: ${i}: ${l}${f}`,{cause:c})}}a(tt,"boot");const Z="harness:source";function rt(e,t){const r=e.get("systemPrompt");if(r!==void 0)return r.section({name:Z,order:-99,text:`The DeepSeek Harness implementation checkout is at ${t}. The checkout location and current working directory are separate values and may differ; never infer the working directory from this path. Use pwd to determine the current working directory. Use this checkout only to inspect or extend DSH itself.`})}a(rt,"addHarnessSourceSection");export{Re as DEFAULT_PROFILE_BUNDLES,X as FAIL_LOUD_RELEASE_TIMEOUT_MS,Z as HARNESS_SOURCE_SECTION,U as PROFILES_DIR,k as PROFILE_PATCH_FILENAME,C as PROFILE_TEMPLATES,rt as addHarnessSourceSection,z as assertEntriesActivated,K as assertEntriesLoaded,tt as boot,Ne as composeEntries,B as initProfile,Xe as installFailLoud,He as loadEnv,Me as loadLayeredEnv,q as loadOptionalPatches,j as loadOverlayPatches,Fe as loadProfile,V as mountRootInclude,M as readProfileManifest,Ge as renderConfigDump,Y as resolveBundleDir,De as resolveConfigPath,x as resolveProfileDir,Ye as watchUserPatches,J as writeProfileManifest};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-app-boot","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-app-boot","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"js-yaml":"^4.2.0"},"peerDependencies":{"@deepseek-ai/cordis-plugin-group":"^1.0.1","@deepseek-ai/cordis-plugin-hmr":"^1.0.16","@deepseek-ai/dsh-launch-environment":"^0.0.13","@deepseek-ai/dsh-home-paths":"^0.0.13","@deepseek-ai/cordis-plugin-loader":"^1.0.2","@deepseek-ai/dsh-system-prompt":"^0.0.13","@deepseek-ai/cordis-plugin-include":"^1.0.6","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.0.13"},"peerDependenciesMeta":{"@deepseek-ai/cordis-plugin-hmr":{"optional":true}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-atomic-write","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-atomic-write","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-attachment","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-attachment","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-brand":"^0.0.13"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var j=Object.defineProperty;var r=(t,e)=>j(t,"name",{value:e,configurable:!0});import{createRequire as B}from"node:module";import{dirname as y,join as h,parse as X,resolve as f}from"node:path";import w from"@deepseek-ai/schemastery";import{AttachmentError as i,AttachmentId as Y,AttachmentStore as V}from"@deepseek-ai/dsh-attachment";import{resolveDshHome as k}from"@deepseek-ai/dsh-home-paths";import{createHash as z,randomUUID as W}from"node:crypto";import{constants as A}from"node:fs";import{chmod as $,link as q,mkdir as J,open as M,readFile as b,unlink as x}from"node:fs/promises";const L=B(import.meta.url)("sharp"),K={png:"image/png",jpeg:"image/jpeg",webp:"image/webp",gif:"image/gif"};async function O(t){const e=await t.metadata(),a=K[e.format];if(a===void 0)throw new i("Unsupported or malformed image data.","INVALID_IMAGE");return{mediaType:a,width:e.width,height:e.height}}r(O,"imageMetadata");async function Q(t){try{return await O(L(t,{failOn:"error",limitInputPixels:!1}))}catch(e){throw e instanceof i?e:new i("Unsupported or malformed image data.","INVALID_IMAGE",{cause:e})}}r(Q,"probeImage");async function D(t,e){try{const a=L(t,{failOn:"error",limitInputPixels:!1}),o=await O(a);if(e!==void 0&&o.width*o.height>e)throw new i("Image exceeds the configured decoded-pixel limit.","IMAGE_TOO_MANY_PIXELS");return await a.raw().toBuffer(),o}catch(a){throw a instanceof i?a:new i("Unsupported or malformed image data.","INVALID_IMAGE",{cause:a})}}r(D,"detectImage");const Z=/^sha256:([a-f0-9]{64})$/,N=new Set;function l(t){return z("sha256").update(t).digest("hex")}r(l,"digest");function ee(t){if(t===void 0)return;const e=t.slice(Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1).replace(/[\u0000-\u001f\u007f]/g,"").trim().slice(0,255);return e===""?void 0:e}r(ee,"displayName");function v(t,e){return h(t,"objects",e.slice(0,2),e)}r(v,"objectPath");function te(t){const e=Z.exec(String(t.attachmentId));if(e?.[1]===void 0)throw new i("Attachment reference is invalid.","INVALID_ATTACHMENT_REF");return e[1]}r(te,"ensureReference");async function P(t,e,a){if(t.byteLength===0)throw new i("Image is empty.","INVALID_IMAGE");const o=await D(t,a);if(o.mediaType!==e)throw new i("Declared image type does not match its bytes.","IMAGE_TYPE_MISMATCH");return{...o,bytes:t.byteLength}}r(P,"inspectMetadata");async function S(t,e){if(t.data.byteLength>e.maxImageBytes)throw new i("Image exceeds the configured byte limit.","IMAGE_TOO_LARGE");await P(t.data,t.mediaType,e.maxImagePixels)}r(S,"validateImageFile");async function u(t){if(process.platform==="win32")return;const e=await M(t,A.O_RDONLY);try{await e.sync()}finally{await e.close()}}r(u,"syncDirectory");async function E(t,e){const a=f(t),o=f(e);await J(a,{recursive:!0,mode:448}),await $(a,448);let n=a;for(;n!==o;){const s=y(n);if(await u(s),s===n)return;n=s}}r(E,"ensureDurableDirectory");async function ae(t){const e=f(t);return N.has(e)||(await E(e,X(e).root),N.add(e)),e}r(ae,"ensureDurableHome");async function R(t,e,a){if(e.data.byteLength>a.maxImageBytes)throw new i("Image exceeds the configured byte limit.","IMAGE_TOO_LARGE");const o=await P(e.data,e.mediaType,a.maxImagePixels),n=l(e.data),s=h(t,"objects",n.slice(0,2)),c=h(t,"tmp"),T=await ae(y(y(f(t))));await E(s,T),await E(c,T);const g=h(c,W()),p=v(t,n);let d;try{d=await M(g,A.O_CREAT|A.O_EXCL|A.O_WRONLY,384),await d.writeFile(e.data),await d.sync(),await d.close(),d=void 0;try{await q(g,p)}catch(m){if(!(m instanceof Error&&"code"in m&&m.code==="EEXIST"))throw m;if(l(new Uint8Array(await b(p)))!==n)throw new i("Stored attachment failed integrity verification.","ATTACHMENT_CORRUPT")}await u(s),await u(h(t,"objects")),await x(g)}catch(m){throw d!==void 0&&await d.close().catch(()=>{}),await x(g).catch(I=>{if(!(I instanceof Error&&"code"in I&&I.code==="ENOENT"))throw I}),m instanceof i?m:new i("Unable to persist image attachment.","ATTACHMENT_WRITE_FAILED",{cause:m})}const _=ee(e.name);return{attachmentId:Y(`sha256:${n}`),...o,..._!==void 0?{name:_}:{}}}r(R,"saveImageFile");async function U(t,e,a){a?.throwIfAborted();const o=te(e);let n;try{n=new Uint8Array(await b(v(t,o),{signal:a}))}catch(c){throw a?.throwIfAborted(),c instanceof Error&&"code"in c&&c.code==="ENOENT"?new i("Attachment object is missing.","ATTACHMENT_NOT_FOUND"):new i("Unable to read image attachment.","ATTACHMENT_READ_FAILED",{cause:c})}if(a?.throwIfAborted(),l(n)!==o)throw new i("Stored attachment failed integrity verification.","ATTACHMENT_CORRUPT");const s=await Q(n);if(a?.throwIfAborted(),s.mediaType!==e.mediaType||n.byteLength!==e.bytes||s.width!==e.width||s.height!==e.height)throw new i("Stored attachment metadata does not match its reference.","ATTACHMENT_CORRUPT");return{ref:e,data:n}}r(U,"readImageFile");const G=
|
|
1
|
+
var j=Object.defineProperty;var r=(t,e)=>j(t,"name",{value:e,configurable:!0});import{createRequire as B}from"node:module";import{dirname as y,join as h,parse as X,resolve as f}from"node:path";import w from"@deepseek-ai/schemastery";import{AttachmentError as i,AttachmentId as Y,AttachmentStore as V}from"@deepseek-ai/dsh-attachment";import{resolveDshHome as k}from"@deepseek-ai/dsh-home-paths";import{createHash as z,randomUUID as W}from"node:crypto";import{constants as A}from"node:fs";import{chmod as $,link as q,mkdir as J,open as M,readFile as b,unlink as x}from"node:fs/promises";const L=B(import.meta.url)("sharp"),K={png:"image/png",jpeg:"image/jpeg",webp:"image/webp",gif:"image/gif"};async function O(t){const e=await t.metadata(),a=K[e.format];if(a===void 0)throw new i("Unsupported or malformed image data.","INVALID_IMAGE");return{mediaType:a,width:e.width,height:e.height}}r(O,"imageMetadata");async function Q(t){try{return await O(L(t,{failOn:"error",limitInputPixels:!1}))}catch(e){throw e instanceof i?e:new i("Unsupported or malformed image data.","INVALID_IMAGE",{cause:e})}}r(Q,"probeImage");async function D(t,e){try{const a=L(t,{failOn:"error",limitInputPixels:!1}),o=await O(a);if(e!==void 0&&o.width*o.height>e)throw new i("Image exceeds the configured decoded-pixel limit.","IMAGE_TOO_MANY_PIXELS");return await a.raw().toBuffer(),o}catch(a){throw a instanceof i?a:new i("Unsupported or malformed image data.","INVALID_IMAGE",{cause:a})}}r(D,"detectImage");const Z=/^sha256:([a-f0-9]{64})$/,N=new Set;function l(t){return z("sha256").update(t).digest("hex")}r(l,"digest");function ee(t){if(t===void 0)return;const e=t.slice(Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1).replace(/[\u0000-\u001f\u007f]/g,"").trim().slice(0,255);return e===""?void 0:e}r(ee,"displayName");function v(t,e){return h(t,"objects",e.slice(0,2),e)}r(v,"objectPath");function te(t){const e=Z.exec(String(t.attachmentId));if(e?.[1]===void 0)throw new i("Attachment reference is invalid.","INVALID_ATTACHMENT_REF");return e[1]}r(te,"ensureReference");async function P(t,e,a){if(t.byteLength===0)throw new i("Image is empty.","INVALID_IMAGE");const o=await D(t,a);if(o.mediaType!==e)throw new i("Declared image type does not match its bytes.","IMAGE_TYPE_MISMATCH");return{...o,bytes:t.byteLength}}r(P,"inspectMetadata");async function S(t,e){if(t.data.byteLength>e.maxImageBytes)throw new i("Image exceeds the configured byte limit.","IMAGE_TOO_LARGE");await P(t.data,t.mediaType,e.maxImagePixels)}r(S,"validateImageFile");async function u(t){if(process.platform==="win32")return;const e=await M(t,A.O_RDONLY);try{await e.sync()}finally{await e.close()}}r(u,"syncDirectory");async function E(t,e){const a=f(t),o=f(e);await J(a,{recursive:!0,mode:448}),await $(a,448);let n=a;for(;n!==o;){const s=y(n);if(await u(s),s===n)return;n=s}}r(E,"ensureDurableDirectory");async function ae(t){const e=f(t);return N.has(e)||(await E(e,X(e).root),N.add(e)),e}r(ae,"ensureDurableHome");async function R(t,e,a){if(e.data.byteLength>a.maxImageBytes)throw new i("Image exceeds the configured byte limit.","IMAGE_TOO_LARGE");const o=await P(e.data,e.mediaType,a.maxImagePixels),n=l(e.data),s=h(t,"objects",n.slice(0,2)),c=h(t,"tmp"),T=await ae(y(y(f(t))));await E(s,T),await E(c,T);const g=h(c,W()),p=v(t,n);let d;try{d=await M(g,A.O_CREAT|A.O_EXCL|A.O_WRONLY,384),await d.writeFile(e.data),await d.sync(),await d.close(),d=void 0;try{await q(g,p)}catch(m){if(!(m instanceof Error&&"code"in m&&m.code==="EEXIST"))throw m;if(l(new Uint8Array(await b(p)))!==n)throw new i("Stored attachment failed integrity verification.","ATTACHMENT_CORRUPT")}await u(s),await u(h(t,"objects")),await x(g)}catch(m){throw d!==void 0&&await d.close().catch(()=>{}),await x(g).catch(I=>{if(!(I instanceof Error&&"code"in I&&I.code==="ENOENT"))throw I}),m instanceof i?m:new i("Unable to persist image attachment.","ATTACHMENT_WRITE_FAILED",{cause:m})}const _=ee(e.name);return{attachmentId:Y(`sha256:${n}`),...o,..._!==void 0?{name:_}:{}}}r(R,"saveImageFile");async function U(t,e,a){a?.throwIfAborted();const o=te(e);let n;try{n=new Uint8Array(await b(v(t,o),{signal:a}))}catch(c){throw a?.throwIfAborted(),c instanceof Error&&"code"in c&&c.code==="ENOENT"?new i("Attachment object is missing.","ATTACHMENT_NOT_FOUND"):new i("Unable to read image attachment.","ATTACHMENT_READ_FAILED",{cause:c})}if(a?.throwIfAborted(),l(n)!==o)throw new i("Stored attachment failed integrity verification.","ATTACHMENT_CORRUPT");const s=await Q(n);if(a?.throwIfAborted(),s.mediaType!==e.mediaType||n.byteLength!==e.bytes||s.width!==e.width||s.height!==e.height)throw new i("Stored attachment metadata does not match its reference.","ATTACHMENT_CORRUPT");return{ref:e,data:n}}r(U,"readImageFile");const G=5242880,ie=20,C=104857600,H=4e7;var F=class extends V{static{r(this,"LocalAttachmentStore")}static Config=w.object({dshHome:w.string(),maxImageBytes:w.number().step(1).min(1).default(G),maxImagesPerMessage:w.number().step(1).min(1).default(20),maxMessageImageBytes:w.number().step(1).min(1).default(C),maxImagePixels:w.number().step(1).min(1).default(H)});root;imageLimits;constructor(t,e){super(t),this.root=f(h(k(e.dshHome),"attachments","v1")),this.imageLimits=Object.freeze({maxImageBytes:e.maxImageBytes??5242880,maxImagesPerMessage:e.maxImagesPerMessage??20,maxMessageImageBytes:e.maxMessageImageBytes??104857600,maxImagePixels:e.maxImagePixels??4e7,mediaTypes:Object.freeze(["image/png","image/jpeg","image/webp","image/gif"])})}async validateImage(t){await S(t,this.imageLimits)}async saveImage(t){return R(this.root,t,this.imageLimits)}async readImage(t,e){return U(this.root,t,e)}};export{ie as DEFAULT_MAX_IMAGES_PER_MESSAGE,G as DEFAULT_MAX_IMAGE_BYTES,H as DEFAULT_MAX_IMAGE_PIXELS,C as DEFAULT_MAX_MESSAGE_IMAGE_BYTES,F as LocalAttachmentStore,F as default,D as detectImage,U as readImageFile,R as saveImageFile,S as validateImageFile};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-attachment-local","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-attachment-local","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-attachment":"^0.0.13","@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-home-paths":"^0.0.13"},"dependencies":{"sharp":"^0.35.3","@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
root: ['.']
|
|
8
8
|
- id: home-quarantine-macos
|
|
9
9
|
name: '@deepseek-ai/dsh-home-quarantine-macos'
|
|
10
|
-
disabled:
|
|
10
|
+
disabled: true
|
|
11
11
|
- id: llm
|
|
12
12
|
name: '@deepseek-ai/dsh-llm'
|
|
13
13
|
- id: session
|
|
@@ -271,10 +271,10 @@
|
|
|
271
271
|
argumentsPreviewChars: 500
|
|
272
272
|
- id: web
|
|
273
273
|
name: '@deepseek-ai/dsh-web'
|
|
274
|
-
config:
|
|
275
|
-
searchProvider: dsh
|
|
276
274
|
- id: web-search-dsh
|
|
277
275
|
name: '@deepseek-ai/dsh-web-search-dsh'
|
|
276
|
+
- id: web-search-deepseek
|
|
277
|
+
name: '@deepseek-ai/dsh-web-search-deepseek'
|
|
278
278
|
- id: tool-web
|
|
279
279
|
name: '@deepseek-ai/dsh-tool-web'
|
|
280
280
|
config:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-base","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-base","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./cordis.patch.yml":"./cordis.patch.yml","./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dependencies":{"@deepseek-ai/cordis-plugin-timer":"^1.1.3","@deepseek-ai/dsh-agent":"^0.0.13","@deepseek-ai/dsh-attachment-local":"^0.0.13","@deepseek-ai/dsh-agent-loop":"^0.0.13","@deepseek-ai/dsh-agent-default-model":"^0.0.13","@deepseek-ai/cordis-plugin-hmr":"^1.0.16","@deepseek-ai/dsh-shell-env":"^0.0.13","@deepseek-ai/dsh-bash-sandbox":"^0.0.13","@deepseek-ai/dsh-command-compact":"^0.0.13","@deepseek-ai/dsh-command-feedback":"^0.0.13","@deepseek-ai/dsh-command-goal":"^0.0.13","@deepseek-ai/dsh-compaction-basic":"^0.0.13","@deepseek-ai/dsh-commands":"^0.0.13","@deepseek-ai/dsh-content-review":"^0.0.13","@deepseek-ai/dsh-credentials-local":"^0.0.13","@deepseek-ai/dsh-fs-local":"^0.0.13","@deepseek-ai/dsh-compaction-tool-result-pruner":"^0.0.13","@deepseek-ai/dsh-fs-observation-policy":"^0.0.13","@deepseek-ai/dsh-goal":"^0.0.13","@deepseek-ai/dsh-fs-sandbox":"^0.0.13","@deepseek-ai/dsh-home-quarantine-macos":"^0.0.13","@deepseek-ai/dsh-llm":"^0.0.13","@deepseek-ai/dsh-api-gateway":"^0.0.13","@deepseek-ai/dsh-goal-round-driver":"^0.0.13","@deepseek-ai/dsh-llm-deepseek":"^0.0.13","@deepseek-ai/dsh-llm-gateway-openai":"^0.0.13","@deepseek-ai/dsh-permission-presets":"^0.0.13","@deepseek-ai/dsh-plan-mode":"^0.0.13","@deepseek-ai/dsh-llm-retry":"^0.0.13","@deepseek-ai/dsh-llm-pi-ai":"^0.0.13","@deepseek-ai/dsh-pwsh-sandbox":"^0.0.13","@deepseek-ai/dsh-repeat-tool-reminder":"^0.0.13","@deepseek-ai/dsh-sandbox-local":"^0.0.13","@deepseek-ai/dsh-sandbox-policy":"^0.0.13","@deepseek-ai/dsh-session":"^0.0.13","@deepseek-ai/dsh-qb-auth":"^0.0.13","@deepseek-ai/dsh-session-checkpoint-policy":"^0.0.13","@deepseek-ai/dsh-session-projection":"^0.0.13","@deepseek-ai/dsh-session-persistence-jsonl":"^0.0.13","@deepseek-ai/dsh-session-query-sqlite":"^0.0.13","@deepseek-ai/dsh-session-telemetry-otel":"^0.0.13","@deepseek-ai/dsh-session-title":"^0.0.13","@deepseek-ai/dsh-settings-file":"^0.0.13","@deepseek-ai/dsh-skill":"^0.0.13","@deepseek-ai/dsh-skill-badge":"^0.0.13","@deepseek-ai/dsh-session-title-first-prompt-llm":"^0.0.13","@deepseek-ai/dsh-spill-local":"^0.0.13","@deepseek-ai/dsh-skill-filesystem":"^0.0.13","@deepseek-ai/dsh-spill-policy":"^0.0.13","@deepseek-ai/dsh-subagent":"^0.0.13","@deepseek-ai/dsh-subagent-fork-in-process":"^0.0.13","@deepseek-ai/dsh-subprocess-local":"^0.0.13","@deepseek-ai/dsh-system-prompt":"^0.0.13","@deepseek-ai/dsh-subagent-spawn-in-process":"^0.0.13","@deepseek-ai/dsh-tool-call-timeout-policy":"^0.0.13","@deepseek-ai/dsh-token-meter":"^0.0.13","@deepseek-ai/dsh-jobs-local":"^0.0.13","@deepseek-ai/dsh-tool-bash":"^0.0.13","@deepseek-ai/dsh-tool-fs-search":"^0.0.13","@deepseek-ai/dsh-tool-fs":"^0.0.13","@deepseek-ai/dsh-tool-pwsh":"^0.0.13","@deepseek-ai/dsh-tool-ralph":"^0.0.13","@deepseek-ai/dsh-tool-goal":"^0.0.13","@deepseek-ai/dsh-tool-skill":"^0.0.13","@deepseek-ai/dsh-tool-subagent":"^0.0.13","@deepseek-ai/dsh-tool-str-replace-editor":"^0.0.13","@deepseek-ai/dsh-tool-subagent-control":"^0.0.13","@deepseek-ai/dsh-tool-subagent-report":"^0.0.13","@deepseek-ai/dsh-tool-web":"^0.0.13","@deepseek-ai/dsh-tool-todo":"^0.0.13","@deepseek-ai/dsh-tool-workflow":"^0.0.13","@deepseek-ai/dsh-tool-jobs":"^0.0.13","@deepseek-ai/dsh-typert-registry":"^0.0.13","@deepseek-ai/dsh-typert-loader":"^0.0.13","@deepseek-ai/dsh-tools":"^0.0.13","@deepseek-ai/dsh-user-questions":"^0.0.13","@deepseek-ai/dsh-web":"^0.0.13","@deepseek-ai/dsh-user-approval":"^0.0.13","@deepseek-ai/dsh-web-search-deepseek":"^0.0.13","@deepseek-ai/dsh-web-search-dsh":"^0.0.13","@deepseek-ai/dsh-workflow-worker-thread":"^0.0.13","@deepseek-ai/dsh-agent-instructions":"^0.0.13"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var M=Object.defineProperty;var i=(a,t)=>M(a,"name",{value:t,configurable:!0});import d from"@deepseek-ai/schemastery";import{SHELL_SETTINGS_NAMESPACE as v,ShellExecutor as P}from"@deepseek-ai/dsh-shell";import{installSettingsSection as O}from"@deepseek-ai/dsh-settings";import{MAX_TIMER_DELAY_MS as x,clampTimeout as T,deadline as _,timeoutOf as B}from"@deepseek-ai/dsh-timeout";var A=i(function(a,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var s,e;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=t[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=t[Symbol.dispose],r&&(e=s)}if(typeof s!="function")throw new TypeError("Object not disposable.");e&&(s=i(function(){try{e.call(this)}catch(o){return Promise.reject(o)}},"dispose")),a.stack.push({value:t,dispose:s,async:r})}else r&&a.stack.push({async:!0});return t},"__addDisposableResource"),k=(function(a){return function(t){function r(l){t.error=t.hasError?new a(l,t.error,"An error was suppressed during disposal."):l,t.hasError=!0}i(r,"fail");var s,e=0;function o(){for(;s=t.stack.pop();)try{if(!s.async&&e===1)return e=0,t.stack.push(s),Promise.resolve().then(o);if(s.dispose){var l=s.dispose.call(s.value);if(s.async)return e|=2,Promise.resolve(l).then(o,function(u){return r(u),o()})}else e|=1}catch(u){r(u)}if(e===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i(o,"next"),o()}})(typeof SuppressedError=="function"?SuppressedError:function(a,t,r){var s=new Error(r);return s.name="SuppressedError",s.error=a,s.suppressed=t,s});const E={NO_COLOR:"1",TERM:"dumb",PAGER:"cat",GIT_PAGER:"cat"},D=3e3,F=
|
|
1
|
+
var M=Object.defineProperty;var i=(a,t)=>M(a,"name",{value:t,configurable:!0});import d from"@deepseek-ai/schemastery";import{SHELL_SETTINGS_NAMESPACE as v,ShellExecutor as P}from"@deepseek-ai/dsh-shell";import{installSettingsSection as O}from"@deepseek-ai/dsh-settings";import{MAX_TIMER_DELAY_MS as x,clampTimeout as T,deadline as _,timeoutOf as B}from"@deepseek-ai/dsh-timeout";var A=i(function(a,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var s,e;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=t[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=t[Symbol.dispose],r&&(e=s)}if(typeof s!="function")throw new TypeError("Object not disposable.");e&&(s=i(function(){try{e.call(this)}catch(o){return Promise.reject(o)}},"dispose")),a.stack.push({value:t,dispose:s,async:r})}else r&&a.stack.push({async:!0});return t},"__addDisposableResource"),k=(function(a){return function(t){function r(l){t.error=t.hasError?new a(l,t.error,"An error was suppressed during disposal."):l,t.hasError=!0}i(r,"fail");var s,e=0;function o(){for(;s=t.stack.pop();)try{if(!s.async&&e===1)return e=0,t.stack.push(s),Promise.resolve().then(o);if(s.dispose){var l=s.dispose.call(s.value);if(s.async)return e|=2,Promise.resolve(l).then(o,function(u){return r(u),o()})}else e|=1}catch(u){r(u)}if(e===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i(o,"next"),o()}})(typeof SuppressedError=="function"?SuppressedError:function(a,t,r){var s=new Error(r);return s.name="SuppressedError",s.error=a,s.suppressed=t,s});const E={NO_COLOR:"1",TERM:"dumb",PAGER:"cat",GIT_PAGER:"cat"},D=3e3,F=67108864;function b(a){const t=a.readFrom(0);return{text:t.text,truncated:t.lossy,...t.spillPath!==void 0?{spillPath:t.spillPath}:{}}}i(b,"finalOutput");function m(a,t){if(!Number.isFinite(t)||t<=0)throw new Error(`bash-local: ${a} must be a positive finite number`)}i(m,"assertPositiveFinite");function g(a){const t=a;if(m("timeoutMs",t.timeoutMs),m("maxTimeoutMs",t.maxTimeoutMs),m("maxOutputBytes",t.maxOutputBytes),m("maxSpillBytes",t.maxSpillBytes),m("graceMs",t.graceMs),t.graceMs>x)throw new Error(`bash-local: graceMs must be no greater than ${x}`)}i(g,"assertServiceableBashConfig");var w=class p extends P{static{i(this,"LocalBashExecutor")}static inject=["subprocess"];static Config=d.object({cwd:d.string(),timeoutMs:d.number().default(12e4),maxTimeoutMs:d.number().default(6e5),maxOutputBytes:d.number().default(64e3),maxSpillBytes:d.number().default(F),graceMs:d.number().default(D)});source;get config(){return this.source()}constructor(t,r){super(t);const s=r;g(s),this.source=()=>s,O(t,v,p.Config,s,{validate:g,setSource:i(e=>{this.source=e},"setSource"),onChange:i(()=>{},"onChange")})}resolve(t){const r=T(t.timeoutMs,this.config.timeoutMs,this.config.maxTimeoutMs,"bash-local: request.timeoutMs"),s=t.stdoutMaxBytes??this.config.maxOutputBytes;return m("request.stdoutMaxBytes",s),{command:t.command,workdir:t.workdir??this.config.cwd??process.cwd(),timeoutMs:r,stdoutMaxBytes:s,...t.signal?{signal:t.signal}:{},...t.stdin!==void 0?{stdin:t.stdin}:{},...t.env!==void 0?{env:t.env}:{},...t.dshEnv!==void 0?{dshEnv:t.dshEnv}:{},sandboxPolicy:t.sandboxPolicy}}spawnSpec(t,r,s,e){const o=i(l=>({maxBytes:l,spill:{maxBytes:this.config.maxSpillBytes}}),"collect");return{argv:r,cwd:t.workdir,stdio:{stdin:t.stdin!==void 0?{data:t.stdin}:"ignore",stdout:o(s),stderr:o(this.config.maxOutputBytes)},graceMs:this.config.graceMs,signal:e,env:{...E,...t.env,...t.dshEnv}}}static collected(t){const{stdout:r,stderr:s}=t.collected;if(r===void 0||s===void 0)throw new Error("bash-local: subprocess implementation dropped a requested collect stream");return{stdout:r,stderr:s}}async run(t){return this.runArgv(t,["bash","-c",t.command])}async runArgv(t,r){const s={stack:[],error:void 0,hasError:!1};try{const e=A(s,_(t.signal,t.timeoutMs,"BASH_TIMEOUT"),!1),o=this.ctx.subprocess.spawn(this.spawnSpec(t,r,t.stdoutMaxBytes,e.signal)),l=await o.done,u=p.collected(o),h=B(e.signal,"BASH_TIMEOUT")!==void 0,c=e.signal.aborted&&!h;return{...l,timedOut:h,aborted:c,timeoutMs:t.timeoutMs,stdout:b(u.stdout),stderr:b(u.stderr)}}catch(e){s.error=e,s.hasError=!0}finally{k(s)}}start(t){return this.startArgv(t,["bash","-c",t.command])}startArgv(t,r){const s=this.ctx.subprocess.spawn(this.spawnSpec(t,r,this.config.maxOutputBytes,t.signal)),e=p.collected(s);let o;const l=i(()=>{const n=o??"";return o=void 0,n},"consumeSpawnFailure");let u=0,h=0;const c={status:"running",exitCode:null,signal:null,done:s.done.then(n=>{c.status==="running"&&(c.status=t.signal?.aborted===!0||n.signal!==null?"killed":"completed"),c.exitCode=n.exitCode,c.signal=n.signal,this.onProcessDone(c,e.stderr.readFrom(0).text,!1)},n=>{c.status="killed",o=`spawn failed: ${String(n)}`,this.onProcessDone(c,o,!0,n)}),readOutput:i(()=>{const n=e.stdout.readFrom(u),f=e.stderr.readFrom(h);u=n.nextOffset,h=f.nextOffset;const y=f.text.length>0?f.text:l(),S=n.text.length>0&&!n.text.endsWith(`
|
|
2
2
|
`)?`
|
|
3
3
|
`:"";return{delta:n.text+(y.length>0?`${S}[stderr]
|
|
4
4
|
${y}`:""),lossy:n.lossy||f.lossy,...n.spillPath!==void 0?{stdoutSpillPath:n.spillPath}:{},...f.spillPath!==void 0?{stderrSpillPath:f.spillPath}:{}}},"readOutput"),kill:i(()=>c.status!=="running"?!1:(c.status="killed",s.terminate(),!0),"kill")};return c}onProcessDone(t,r,s,e){}};export{E as ENV_OVERRIDES,w as LocalBashExecutor,w as default,g as assertServiceableBashConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-bash-local","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-bash-local","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/dsh-subprocess":"^0.0.13","@deepseek-ai/dsh-timeout":"^0.0.13","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-settings":"^0.0.13","@deepseek-ai/dsh-shell":"^0.0.13"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-bash-sandbox","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-bash-sandbox","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-bash-local":"^0.0.13","@deepseek-ai/dsh-shell":"^0.0.13","@deepseek-ai/dsh-sandbox":"^0.0.13","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-sandbox-policy":"^0.0.13","@deepseek-ai/dsh-invariants":"^0.0.13"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-brand","version":"0.0.
|
|
1
|
+
{"name":"@deepseek-ai/dsh-brand","version":"0.0.13","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.0.13","@deepseek-ai/cordis":"^4.0.1"}}
|