@qqbrowser/qbot-dsh 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cordis.patch.yml +50 -0
- package/lib/args-w1okyL78.js +9 -0
- package/lib/bin.js +1 -2
- package/lib/client.js +1 -0
- package/lib/content-review-CqDoh3wY.js +1 -0
- package/lib/content-review.js +1 -0
- package/lib/dump-config-CIL0Goqj.js +1 -0
- package/lib/gateway-port-CSFbDyoZ.js +1 -0
- package/lib/index.js +1 -0
- package/lib/llm-gateway-openai.js +17 -0
- package/lib/native-protocol-DdrIh89-.js +2 -0
- package/lib/{plugin-DNAeLZbb.js → plugin-viWCLnSr.js} +1 -1
- package/lib/profile-boot-CxJUSdnu.js +1 -0
- package/lib/profile-boot-DCgBQ4qO.js +8 -0
- package/lib/qb-auth-C2ofR1zn.js +4 -0
- package/lib/qb-auth.js +1 -0
- package/lib/web-search-dsh.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/package.json +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/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 +6 -37
- package/node_modules/@deepseek-ai/dsh-base/package.json +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/package.json +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/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 +8 -8
- 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 +3 -3
- 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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +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 +3 -3
- 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 +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +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 +4 -4
- 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 +14 -14
- 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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cmdline/lib/index.js +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/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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
- 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/lib/index.js +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/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/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +3 -3
- 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-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/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/lib/index.js +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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/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/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/package.json +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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/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/package.json +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/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/package.json +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/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/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/package.json +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/lib/index.js +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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
- 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/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +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/lib/index.js +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/package.json +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/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/lib/index.js +5 -29
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +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/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/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/package.json +1 -1
- 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/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js +4 -5
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/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/worker.cjs +9 -8
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +5 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +5 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +6 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openrouter.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.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/huggingface.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/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/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.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/zai-coding-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +5 -5
- package/node_modules/@earendil-works/pi-ai/package.json +1 -1
- package/node_modules/@koromix/koffi-darwin-arm64/darwin_arm64/koffi.node +0 -0
- package/node_modules/@koromix/koffi-darwin-arm64/package.json +1 -1
- package/node_modules/@koromix/koffi-darwin-x64/darwin_x64/koffi.node +0 -0
- package/node_modules/@koromix/koffi-darwin-x64/package.json +1 -1
- package/node_modules/@koromix/koffi-win32-x64/package.json +1 -1
- package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.node +0 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +126 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +19 -7
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +1 -1
- package/node_modules/koffi/package.json +1 -1
- package/node_modules/koffi/src/koffi/index.cjs +1 -1
- package/node_modules/koffi/src/koffi/index.js +1 -1
- package/node_modules/koffi/src/koffi/indirect.cjs +1 -1
- package/node_modules/koffi/src/koffi/indirect.js +1 -1
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +10 -34
- package/node_modules/negotiator/lib/encoding.js +9 -30
- package/node_modules/negotiator/lib/language.js +15 -36
- package/node_modules/negotiator/lib/mediaType.js +16 -134
- package/node_modules/negotiator/node_modules/content-type/LICENSE +22 -0
- package/node_modules/negotiator/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/negotiator/node_modules/content-type/package.json +1 -0
- package/node_modules/negotiator/package.json +1 -1
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/_idna.mjs +1 -1
- package/node_modules/typebox/build/format/_puny.mjs +1 -1
- package/node_modules/typebox/build/format/uuid.mjs +1 -1
- package/node_modules/typebox/build/guard/emit.mjs +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +1 -1
- package/node_modules/typebox/build/guard/string.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_guard.mjs +1 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/index.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/schema.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/types/_guard.mjs +1 -0
- package/node_modules/typebox/build/schema/types/index.mjs +1 -1
- package/node_modules/typebox/build/schema/types/schema.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ar_001.mjs +1 -1
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +1 -1
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +1 -1
- package/node_modules/typebox/build/system/locale/de_DE.mjs +1 -1
- package/node_modules/typebox/build/system/locale/el_GR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/en_US.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_419.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_AR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_ES.mjs +1 -1
- package/node_modules/typebox/build/system/locale/es_MX.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +1 -1
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +1 -1
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +1 -1
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +1 -1
- package/node_modules/typebox/build/system/locale/id_ID.mjs +1 -1
- package/node_modules/typebox/build/system/locale/it_IT.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +1 -1
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +1 -1
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +1 -1
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +1 -1
- package/node_modules/typebox/build/system/locale/th_TH.mjs +1 -1
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +1 -1
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +1 -1
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +1 -1
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +1 -1
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +1 -1
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +1 -1
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +1 -1
- package/node_modules/typebox/build/system/memory/clone.mjs +1 -1
- package/node_modules/typebox/build/system/settings/settings.mjs +1 -1
- package/node_modules/typebox/build/type/action/_optional.mjs +1 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +1 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +1 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +1 -1
- package/node_modules/typebox/build/type/action/index.mjs +1 -1
- package/node_modules/typebox/build/type/action/mapped.mjs +1 -1
- package/node_modules/typebox/build/type/action/module.mjs +1 -1
- package/node_modules/typebox/build/type/action/options.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +1 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +1 -1
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +1 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +1 -1
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +1 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/index.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +1 -1
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +1 -1
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +1 -1
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +1 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +1 -1
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +1 -1
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +1 -1
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +1 -1
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +1 -1
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +1 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +1 -1
- package/node_modules/typebox/build/type/extends/extends_left.mjs +1 -1
- package/node_modules/typebox/build/type/extends/extends_right.mjs +1 -1
- package/node_modules/typebox/build/type/extends/inference.mjs +1 -1
- package/node_modules/typebox/build/type/extends/iterator.mjs +1 -0
- package/node_modules/typebox/build/type/extends/object.mjs +1 -1
- package/node_modules/typebox/build/type/extends/parameters.mjs +1 -1
- package/node_modules/typebox/build/type/extends/promise.mjs +1 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +1 -1
- package/node_modules/typebox/build/type/extends/tuple.mjs +1 -1
- package/node_modules/typebox/build/type/extends/union.mjs +1 -1
- package/node_modules/typebox/build/type/script/mapping.mjs +1 -1
- package/node_modules/typebox/build/type/script/parser.mjs +6 -6
- package/node_modules/typebox/build/type/script/script.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +1 -1
- package/node_modules/typebox/build/type/script/token/until.mjs +1 -1
- package/node_modules/typebox/build/type/types/_immutable.mjs +1 -1
- package/node_modules/typebox/build/type/types/_optional.mjs +1 -1
- package/node_modules/typebox/build/type/types/_readonly.mjs +1 -1
- package/node_modules/typebox/build/type/types/_refine.mjs +1 -1
- package/node_modules/typebox/build/type/types/async_iterator.mjs +1 -0
- package/node_modules/typebox/build/type/types/base.mjs +1 -0
- package/node_modules/typebox/build/type/types/call.mjs +1 -1
- package/node_modules/typebox/build/type/types/deferred.mjs +1 -1
- package/node_modules/typebox/build/type/types/enum.mjs +1 -1
- package/node_modules/typebox/build/type/types/index.mjs +1 -1
- package/node_modules/typebox/build/type/types/iterator.mjs +1 -0
- package/node_modules/typebox/build/type/types/number.mjs +1 -1
- package/node_modules/typebox/build/type/types/promise.mjs +1 -0
- package/node_modules/typebox/build/type/types/record.mjs +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/build/value/clean/clean.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/clean/from_union.mjs +1 -1
- package/node_modules/typebox/build/value/clone/clone.mjs +1 -1
- package/node_modules/typebox/build/value/codec/decode.mjs +1 -1
- package/node_modules/typebox/build/value/codec/encode.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_array.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_object.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_record.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +1 -1
- package/node_modules/typebox/build/value/codec/from_union.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +1 -1
- package/node_modules/typebox/build/value/convert/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/create/from_iterator.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +1 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/default/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +1 -1
- package/node_modules/typebox/build/value/default/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/index.mjs +1 -1
- package/node_modules/typebox/build/value/mutate/error.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +1 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +1 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +1 -1
- package/node_modules/typebox/build/value/repair/from_type.mjs +1 -1
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +1 -1
- package/node_modules/typebox/build/value/value.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/package.json +1 -1
- package/lib/args-DcHS9iff.js +0 -9
- package/lib/dump-config-xQTUTTDD.js +0 -1
- package/lib/profile-boot-BkordgJK.js +0 -1
- package/lib/profile-boot-DDo03lXi.js +0 -8
- package/node_modules/@deepseek-ai/dsh-content-review/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-content-review/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-content-review/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-content-review/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/index.js +0 -17
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/index.js +0 -4
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/package.json +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/package.json +0 -1
- package/node_modules/@napi-rs/xattr/LICENSE +0 -21
- package/node_modules/@napi-rs/xattr/index.js +0 -567
- package/node_modules/@napi-rs/xattr/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-arm64/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-arm64/xattr.darwin-arm64.node +0 -0
- package/node_modules/@napi-rs/xattr-darwin-x64/package.json +0 -1
- package/node_modules/@napi-rs/xattr-darwin-x64/xattr.darwin-x64.node +0 -0
- package/node_modules/@parcel/watcher/LICENSE +0 -21
- package/node_modules/@parcel/watcher/index.js +0 -44
- package/node_modules/@parcel/watcher/index.js.flow +0 -45
- package/node_modules/@parcel/watcher/package.json +0 -1
- package/node_modules/@parcel/watcher/scripts/build-from-source.js +0 -16
- package/node_modules/@parcel/watcher/wrapper.js +0 -88
- package/node_modules/@parcel/watcher-darwin-arm64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-darwin-arm64/package.json +0 -1
- package/node_modules/@parcel/watcher-darwin-arm64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-darwin-x64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-darwin-x64/package.json +0 -1
- package/node_modules/@parcel/watcher-darwin-x64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-win32-x64/LICENSE +0 -21
- package/node_modules/@parcel/watcher-win32-x64/package.json +0 -1
- package/node_modules/@parcel/watcher-win32-x64/watcher.node +0 -0
- package/node_modules/is-extglob/LICENSE +0 -21
- package/node_modules/is-extglob/index.js +0 -20
- package/node_modules/is-extglob/package.json +0 -1
- package/node_modules/is-glob/LICENSE +0 -21
- package/node_modules/is-glob/index.js +0 -150
- package/node_modules/is-glob/package.json +0 -1
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -1
- package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -1
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -1
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -1
- package/node_modules/typebox/build/type/action/with.mjs +0 -1
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -1
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -1
- package/node_modules/typebox/build/type/extends/dependent.mjs +0 -1
- package/node_modules/typebox/build/type/extends/record.mjs +0 -1
- package/node_modules/typebox/build/type/types/dependent.mjs +0 -1
- /package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-D2_FQYSK.js → types-DE3U0cmQ.js} +0 -0
- /package/node_modules/typebox/build/type/engine/{with → awaited}/index.mjs +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var I=Object.defineProperty;var f=(m,r)=>I(m,"name",{value:r,configurable:!0});import*as i from"../../type/index.mjs";import{FromArray as s}from"./from_array.mjs";import{
|
|
1
|
+
var I=Object.defineProperty;var f=(m,r)=>I(m,"name",{value:r,configurable:!0});import*as i from"../../type/index.mjs";import{FromArray as s}from"./from_array.mjs";import{FromBase as F}from"./from_base.mjs";import{FromBigInt as d}from"./from_bigint.mjs";import{FromBoolean as g}from"./from_boolean.mjs";import{FromCyclic as B}from"./from_cyclic.mjs";import{FromEnum as T}from"./from_enum.mjs";import{FromInteger as b}from"./from_integer.mjs";import{FromIntersect as n}from"./from_intersect.mjs";import{FromLiteral as L}from"./from_literal.mjs";import{FromNull as N}from"./from_null.mjs";import{FromNumber as R}from"./from_number.mjs";import{FromObject as U}from"./from_object.mjs";import{FromRecord as j}from"./from_record.mjs";import{FromRef as A}from"./from_ref.mjs";import{FromString as C}from"./from_string.mjs";import{FromTemplateLiteral as E}from"./from_template_literal.mjs";import{FromTuple as O}from"./from_tuple.mjs";import{FromUndefined as S}from"./from_undefined.mjs";import{FromUnion as V}from"./from_union.mjs";import{FromVoid as h}from"./from_void.mjs";export function FromType(m,r,o){return i.IsArray(r)?s(m,r,o):i.IsBase(r)?F(m,r,o):i.IsBigInt(r)?d(m,r,o):i.IsBoolean(r)?g(m,r,o):i.IsCyclic(r)?B(m,r,o):i.IsEnum(r)?T(m,r,o):i.IsInteger(r)?b(m,r,o):i.IsIntersect(r)?n(m,r,o):i.IsLiteral(r)?L(m,r,o):i.IsNull(r)?N(m,r,o):i.IsNumber(r)?R(m,r,o):i.IsObject(r)?U(m,r,o):i.IsRecord(r)?j(m,r,o):i.IsRef(r)?A(m,r,o):i.IsString(r)?C(m,r,o):i.IsTemplateLiteral(r)?E(m,r,o):i.IsTuple(r)?O(m,r,o):i.IsUndefined(r)?S(m,r,o):i.IsUnion(r)?V(m,r,o):i.IsVoid(r)?h(m,r,o):o}f(FromType,"FromType");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty;var t=(n,r)=>e(n,"name",{value:r,configurable:!0});async function*o(){}t(o,"CreateAsyncIterator");export function FromAsyncIterator(n,r){return o()}t(FromAsyncIterator,"FromAsyncIterator");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=Object.defineProperty;var r=(t,e)=>n(t,"name",{value:e,configurable:!0});export function FromBase(t,e){return e.Create()}r(FromBase,"FromBase");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var n=Object.defineProperty;var m=(o,r)=>n(o,"name",{value:r,configurable:!0});import{EnumToUnion as t}from"../../type/engine/enum/index.mjs";import{FromType as i}from"./from_type.mjs";export function FromEnum(o,r){return i(o,t(r))}m(FromEnum,"FromEnum");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Object.defineProperty;var t=(r,e)=>o(r,"name",{value:e,configurable:!0});function*n(){}t(n,"CreateIterator");export function FromIterator(r,e){return n()}t(FromIterator,"FromIterator");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var m=Object.defineProperty;var e=(r,o)=>m(r,"name",{value:o,configurable:!0});import{FromType as i}from"./from_type.mjs";export function FromPromise(r,o){return Promise.resolve(i(r,o.item))}e(FromPromise,"FromPromise");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var s=Object.defineProperty;var i=(m,r)=>s(m,"name",{value:r,configurable:!0});import*as o from"../../type/index.mjs";import*as f from"../../schema/types/index.mjs";import{FromDefault as I}from"./from_default.mjs";import{FromArray as F}from"./from_array.mjs";import{FromAsyncIterator as a}from"./from_async_iterator.mjs";import{FromBase as l}from"./from_base.mjs";import{FromBigInt as u}from"./from_bigint.mjs";import{FromBoolean as d}from"./from_boolean.mjs";import{FromConstructor as b}from"./from_constructor.mjs";import{FromCyclic as g}from"./from_cyclic.mjs";import{FromEnum as n}from"./from_enum.mjs";import{FromFunction as B}from"./from_function.mjs";import{FromInteger as N}from"./from_integer.mjs";import{FromIntersect as T}from"./from_intersect.mjs";import{FromIterator as S}from"./from_iterator.mjs";import{FromLiteral as A}from"./from_literal.mjs";import{FromNever as C}from"./from_never.mjs";import{FromNull as L}from"./from_null.mjs";import{FromNumber as R}from"./from_number.mjs";import{FromObject as U}from"./from_object.mjs";import{FromPromise as j}from"./from_promise.mjs";import{FromRecord as v}from"./from_record.mjs";import{FromRef as D}from"./from_ref.mjs";import{FromString as E}from"./from_string.mjs";import{FromSymbol as O}from"./from_symbol.mjs";import{FromTemplateLiteral as P}from"./from_template_literal.mjs";import{FromTuple as V}from"./from_tuple.mjs";import{FromUndefined as h}from"./from_undefined.mjs";import{FromUnion as k}from"./from_union.mjs";import{FromVoid as q}from"./from_void.mjs";export function FromType(m,r){return f.IsDefault(r)?I(m,r):o.IsArray(r)?F(m,r):o.IsAsyncIterator(r)?a(m,r):o.IsBase(r)?l(m,r):o.IsBigInt(r)?u(m,r):o.IsBoolean(r)?d(m,r):o.IsConstructor(r)?b(m,r):o.IsCyclic(r)?g(m,r):o.IsEnum(r)?n(m,r):o.IsFunction(r)?B(m,r):o.IsInteger(r)?N(m,r):o.IsIntersect(r)?T(m,r):o.IsIterator(r)?S(m,r):o.IsLiteral(r)?A(m,r):o.IsNever(r)?C(m,r):o.IsNull(r)?L(m,r):o.IsNumber(r)?R(m,r):o.IsObject(r)?U(m,r):o.IsPromise(r)?j(m,r):o.IsRecord(r)?v(m,r):o.IsRef(r)?D(m,r):o.IsString(r)?E(m,r):o.IsSymbol(r)?O(m,r):o.IsTemplateLiteral(r)?P(m,r):o.IsTuple(r)?V(m,r):o.IsUndefined(r)?h(m,r):o.IsUnion(r)?k(m,r):o.IsVoid(r)?q(m,r):void 0}i(FromType,"FromType");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=Object.defineProperty;var n=(e,t)=>r(e,"name",{value:t,configurable:!0});export function FromBase(e,t,o){return t.Default(o)}n(FromBase,"FromBase");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=Object.defineProperty;var f=(
|
|
1
|
+
var d=Object.defineProperty;var f=(s,o)=>d(s,"name",{value:o,configurable:!0});import{IsOptional as m}from"../../type/index.mjs";import{Guard as n}from"../../guard/index.mjs";import{FromType as e}from"./from_type.mjs";import{IsAdditionalProperties as c}from"../../schema/types/index.mjs";export function FromObject(s,o,i){if(!n.IsObject(i))return i;const t=n.Keys(o.properties);for(const r of t){const p=e(s,o.properties[r],i[r]);n.IsUndefined(p)&&(m(o.properties[r])||!n.HasPropertyKey(o.properties[r],"default"))||(i[r]=e(s,o.properties[r],i[r]))}if(!c(o)||n.IsBoolean(o.additionalProperties))return i;for(const r of n.Keys(i))t.includes(r)||(i[r]=e(s,o.additionalProperties,i[r]));return i}f(FromObject,"FromObject");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var I=Object.defineProperty;var s=(m,r)=>I(m,"name",{value:r,configurable:!0});import{IsDefault as F}from"../../schema/index.mjs";import*as f from"../../type/index.mjs";import{FromArray as
|
|
1
|
+
var I=Object.defineProperty;var s=(m,r)=>I(m,"name",{value:r,configurable:!0});import{IsDefault as F}from"../../schema/index.mjs";import*as f from"../../type/index.mjs";import{FromArray as a}from"./from_array.mjs";import{FromBase as l}from"./from_base.mjs";import{FromCyclic as u}from"./from_cyclic.mjs";import{FromDefault as c}from"./from_default.mjs";import{FromIntersect as d}from"./from_intersect.mjs";import{FromObject as R}from"./from_object.mjs";import{FromRecord as T}from"./from_record.mjs";import{FromRef as b}from"./from_ref.mjs";import{FromTuple as j}from"./from_tuple.mjs";import{FromUnion as n}from"./from_union.mjs";export function FromType(m,r,i){const o=F(r)?c(r,i):i;return f.IsArray(r)?a(m,r,o):f.IsBase(r)?l(m,r,o):f.IsCyclic(r)?u(m,r,o):f.IsIntersect(r)?d(m,r,o):f.IsObject(r)?R(m,r,o):f.IsRecord(r)?T(m,r,o):f.IsRef(r)?b(m,r,o):f.IsTuple(r)?j(m,r,o):f.IsUnion(r)?n(m,r,o):o}s(FromType,"FromType");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"./assert/index.mjs";export*from"./check/index.mjs";export*from"./clean/index.mjs";export*from"./clone/index.mjs";export*from"./codec/index.mjs";export*from"./convert/index.mjs";export*from"./create/index.mjs";export*from"./errors/index.mjs";export*from"./default/index.mjs";export*from"./equal/index.mjs";export*from"./hash/index.mjs";export*from"./parse/index.mjs";export*from"./delta/index.mjs";export*from"./pipeline/index.mjs";export*from"./pointer/index.mjs";export*from"./repair/index.mjs";export*from"./shared/index.mjs";import*as o from"./value.mjs";export*as Value from"./value.mjs";export default o;
|
|
1
|
+
export*from"./assert/index.mjs";export*from"./check/index.mjs";export*from"./clean/index.mjs";export*from"./clone/index.mjs";export*from"./codec/index.mjs";export*from"./convert/index.mjs";export*from"./create/index.mjs";export*from"./errors/index.mjs";export*from"./default/index.mjs";export*from"./equal/index.mjs";export*from"./hash/index.mjs";export*from"./mutate/index.mjs";export*from"./parse/index.mjs";export*from"./delta/index.mjs";export*from"./pipeline/index.mjs";export*from"./pointer/index.mjs";export*from"./repair/index.mjs";export*from"./shared/index.mjs";import*as o from"./value.mjs";export*as Value from"./value.mjs";export default o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Object.defineProperty;var e=(t,r)=>o(t,"name",{value:r,configurable:!0});export class MutateError extends Error{static{e(this,"MutateError")}constructor(r){super(r)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var l=Object.defineProperty;var f=(r,m)=>l(r,"name",{value:m,configurable:!0});import{Guard as p}from"../../guard/index.mjs";import{Clone as t}from"../clone/index.mjs";import{Pointer as a}from"../pointer/index.mjs";import{FromValue as s}from"./from_value.mjs";export function FromArray(r,m,e,i){if(!p.IsArray(e))a.Set(r,m,t(i));else{for(let o=0;o<i.length;o++)s(r,`${m}/${o}`,e[o],i[o]);e.splice(i.length)}}f(FromArray,"FromArray");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var c=Object.defineProperty;var n=(o,r)=>c(o,"name",{value:r,configurable:!0});import{Guard as s}from"../../guard/index.mjs";import{Pointer as K}from"../pointer/index.mjs";import{Clone as p}from"../clone/index.mjs";import{FromValue as l}from"./from_value.mjs";function y(o){if(s.IsUnsafePropertyKey(o))throw Error("Attempted to Mutate with unsafe property key")}n(y,"AssertKey");export function FromObject(o,r,t,f){if(!s.IsObjectNotArray(t))K.Set(o,r,p(f));else{const m=s.Keys(t),i=s.Keys(f);for(const e of m)y(e),i.includes(e)||delete t[e];for(const e of i)y(e),m.includes(e)||(t[e]=f[e]);for(const e of i)y(e),l(o,`${r}/${e}`,t[e],f[e])}}n(FromObject,"FromObject");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty;var t=(o,r)=>e(o,"name",{value:r,configurable:!0});import{Pointer as f}from"../pointer/index.mjs";export function FromUnknown(o,r,i,n){i!==n&&f.Set(o,r,n)}t(FromUnknown,"FromUnknown");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var F=Object.defineProperty;var i=(r,m)=>F(r,"name",{value:m,configurable:!0});import{Guard as u}from"../../guard/index.mjs";import{FromArray as p}from"./from_array.mjs";import{FromObject as a}from"./from_object.mjs";import{FromUnknown as b}from"./from_unknown.mjs";export function FromValue(r,m,f,o){return u.IsArray(o)?p(r,m,f,o):u.IsObject(o)?a(r,m,f,o):b(r,m,f,o)}i(FromValue,"FromValue");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./mutate.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I=Object.defineProperty;var a=(r,t)=>I(r,"name",{value:t,configurable:!0});import{Guard as o,GlobalsGuard as s}from"../../guard/index.mjs";import{MutateError as e}from"./error.mjs";import{FromValue as m}from"./from_value.mjs";function n(r){return s.IsTypeArray(r)||s.IsDate(r)||s.IsMap(r)||s.IsSet(r)||o.IsNumber(r)||o.IsString(r)||o.IsBoolean(r)||o.IsSymbol(r)}a(n,"IsNonMutableValue");function i(r,t){return o.IsObjectNotArray(r)&&o.IsArray(t)||o.IsArray(r)&&o.IsObjectNotArray(t)}a(i,"IsMismatchedValue");export function Mutate(r,t){if(n(r)||n(t))throw new e("Only object and array types can be mutated at the root level");if(i(r,t))throw new e("Cannot assign due type mismatch of assignable values");m(r,"",r,t)}a(Mutate,"Mutate");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=Object.defineProperty;var n=(o,r)=>t(o,"name",{value:r,configurable:!0});import{FromUnknown as e}from"./from_unknown.mjs";export function FromBase(o,r,m){return e(o,r,m)}n(FromBase,"FromBase");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var i=Object.defineProperty;var r=(o,n)=>i(o,"name",{value:n,configurable:!0});import{EnumToUnion as u}from"../../type/engine/enum/index.mjs";import{FromType as p}from"./from_type.mjs";export function FromEnum(o,n,m){const t=u(n);return p(o,t,m)}r(FromEnum,"FromEnum");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var R=Object.defineProperty;var i=(m,r)=>R(m,"name",{value:r,configurable:!0});import{Guard as f,GlobalsGuard as n}from"../../guard/index.mjs";import*as s from"../../type/index.mjs";import{Check as T}from"../check/index.mjs";import{Create as d}from"../create/index.mjs";import{FromArray as p}from"./from_array.mjs";import{FromBase as b}from"./from_base.mjs";import{FromEnum as A}from"./from_enum.mjs";import{FromIntersect as c}from"./from_intersect.mjs";import{FromObject as w}from"./from_object.mjs";import{FromRecord as C}from"./from_record.mjs";import{FromRef as h}from"./from_ref.mjs";import{FromTemplateLiteral as E}from"./from_template_literal.mjs";import{FromTuple as G}from"./from_tuple.mjs";import{FromUnion as U}from"./from_union.mjs";import{FromUnknown as j}from"./from_unknown.mjs";import{RepairError as F}from"./error.mjs";function k(m,r,o){if(n.IsDate(o)||n.IsMap(o)||n.IsSet(o)||n.IsTypeArray(o)||f.IsConstructor(o)||f.IsFunction(o))throw new F(m,r,o,"Value is not repairable")}i(k,"AssertRepairableValue");function B(m,r,o){if(s.IsAsyncIterator(r)||s.IsIterator(r)||s.IsConstructor(r)||s.IsFunction(r)||s.IsNever(r)||s.IsPromise(r))throw new F(m,r,o,"Type is not repairable")}i(B,"AssertRepairableType");function a(m,r,o){return s.IsRefine(r)?T(m,r,o)?o:d(m,r):o}i(a,"FinalizeRepair");export function FromType(m,r,o){if(s.IsBase(r)){const u=b(m,r,o);return a(m,r,u)}k(m,r,o),B(m,r,o);const I=s.IsArray(r)?p(m,r,o):s.IsEnum(r)?A(m,r,o):s.IsIntersect(r)?c(m,r,o):s.IsObject(r)?w(m,r,o):s.IsRecord(r)?C(m,r,o):s.IsRef(r)?h(m,r,o):s.IsTemplateLiteral(r)?E(m,r,o):s.IsTuple(r)?G(m,r,o):s.IsUnion(r)?U(m,r,o):j(m,r,o);return a(m,r,I)}i(FromType,"FromType");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a=Object.defineProperty;var e=(r,i)=>a(r,"name",{value:i,configurable:!0});import{Guard as s}from"../../guard/index.mjs";import{Compare as m}from"../../type/index.mjs";function u(r,i){return JSON.stringify(r).localeCompare(JSON.stringify(i))}e(u,"DeterministicCompare");export function UnionPrioritySort(r,i=1){return r.sort((o,n)=>{const t=m(o,n);return(s.IsEqual(t,"disjoint")?u(o,n):s.IsEqual(t,"right-inside")?1:s.IsEqual(t,"left-inside")?-1:u(o,n))*i})}e(UnionPrioritySort,"UnionPrioritySort");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Assert}from"./assert/index.mjs";export{Check}from"./check/index.mjs";export{Clean}from"./clean/index.mjs";export{Clone}from"./clone/index.mjs";export{Decode,Encode,HasCodec}from"./codec/index.mjs";export{Convert}from"./convert/index.mjs";export{Create}from"./create/index.mjs";export{Default}from"./default/index.mjs";export{Equal}from"./equal/index.mjs";export{Errors}from"./errors/index.mjs";export{Hash}from"./hash/index.mjs";export{Parse}from"./parse/index.mjs";export{Diff,Patch}from"./delta/index.mjs";export{Pointer}from"./pointer/index.mjs";export{Repair}from"./repair/index.mjs";
|
|
1
|
+
export{Assert}from"./assert/index.mjs";export{Check}from"./check/index.mjs";export{Clean}from"./clean/index.mjs";export{Clone}from"./clone/index.mjs";export{Decode,Encode,HasCodec}from"./codec/index.mjs";export{Convert}from"./convert/index.mjs";export{Create}from"./create/index.mjs";export{Default}from"./default/index.mjs";export{Equal}from"./equal/index.mjs";export{Errors}from"./errors/index.mjs";export{Hash}from"./hash/index.mjs";export{Mutate}from"./mutate/index.mjs";export{Parse}from"./parse/index.mjs";export{Diff,Patch}from"./delta/index.mjs";export{Pointer}from"./pointer/index.mjs";export{Repair}from"./repair/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"typebox","version":"1.
|
|
1
|
+
{"name":"typebox","version":"1.1.38","license":"MIT","type":"module","module":"./build/index.mjs","exports":{"./guard":{"import":"./build/guard/index.mjs","default":"./build/guard/index.mjs"},"./error":{"import":"./build/error/index.mjs","default":"./build/error/index.mjs"},"./compile":{"import":"./build/compile/index.mjs","default":"./build/compile/index.mjs"},"./system":{"import":"./build/system/index.mjs","default":"./build/system/index.mjs"},"./format":{"import":"./build/format/index.mjs","default":"./build/format/index.mjs"},"./type":{"import":"./build/type/index.mjs","default":"./build/type/index.mjs"},"./schema":{"import":"./build/schema/index.mjs","default":"./build/schema/index.mjs"},"./value":{"import":"./build/value/index.mjs","default":"./build/value/index.mjs"},".":{"import":"./build/index.mjs","default":"./build/index.mjs"}}}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@qqbrowser/qbot-dsh","version":"0.1.0","publishConfig":{"access":"public"},"type":"module","bin":{"qbot-dsh":"lib/bin.js"},"license":"MIT","engines":{"node":"^22.19.0 || >=24.0.0"},"os":["darwin","win32"],"cpu":["arm64","x64"],"dshRelease":{"targets":["darwin-arm64","darwin-x64","win32-x64"]},"dependencies":{"@anthropic-ai/sdk":"0.91.1","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-crypto/supports-web-crypto":"5.2.0","@aws-crypto/util":"5.2.0","@aws-sdk/client-bedrock-runtime":"3.1048.0","@aws-sdk/core":"3.977.8","@aws-sdk/credential-provider-env":"3.972.69","@aws-sdk/credential-provider-http":"3.972.71","@aws-sdk/credential-provider-ini":"3.973.14","@aws-sdk/credential-provider-login":"3.972.76","@aws-sdk/credential-provider-node":"3.972.80","@aws-sdk/credential-provider-process":"3.972.69","@aws-sdk/credential-provider-sso":"3.973.13","@aws-sdk/credential-provider-web-identity":"3.972.75","@aws-sdk/eventstream-handler-node":"3.972.33","@aws-sdk/middleware-eventstream":"3.972.28","@aws-sdk/middleware-websocket":"3.972.51","@aws-sdk/nested-clients":"3.997.43","@aws-sdk/signature-v4-multi-region":"3.996.45","@aws-sdk/token-providers":"3.1048.0","@aws-sdk/types":"3.974.4","@aws-sdk/util-locate-window":"3.965.10","@aws-sdk/xml-builder":"3.972.39","@aws/lambda-invoke-store":"0.3.0","@babel/code-frame":"7.29.7","@babel/helper-validator-identifier":"7.29.7","@babel/runtime":"7.29.7","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/cordis-plugin-group":"1.0.1","@deepseek-ai/cordis-plugin-hmr":"1.0.16","@deepseek-ai/cordis-plugin-include":"1.0.6","@deepseek-ai/cordis-plugin-loader":"1.0.2","@deepseek-ai/cordis-plugin-timer":"1.1.3","@deepseek-ai/cosmokit":"1.8.2","@deepseek-ai/dsh-agent":"0.1.0","@deepseek-ai/dsh-agent-default-model":"0.1.0","@deepseek-ai/dsh-agent-instructions":"0.1.0","@deepseek-ai/dsh-agent-loop":"0.1.0","@deepseek-ai/dsh-agent-presets":"0.1.0","@deepseek-ai/dsh-agent-tool-presentation":"0.1.0","@deepseek-ai/dsh-anonymous-user-id":"0.1.0","@deepseek-ai/dsh-api-gateway":"0.1.0","@deepseek-ai/dsh-api-remotes":"0.1.0","@deepseek-ai/dsh-app-boot":"0.1.0","@deepseek-ai/dsh-atomic-write":"0.1.0","@deepseek-ai/dsh-attachment":"0.1.0","@deepseek-ai/dsh-attachment-local":"0.1.0","@deepseek-ai/dsh-base":"0.1.0","@deepseek-ai/dsh-bash-local":"0.1.0","@deepseek-ai/dsh-bash-sandbox":"0.1.0","@deepseek-ai/dsh-brand":"0.1.0","@deepseek-ai/dsh-client-connection":"0.1.0","@deepseek-ai/dsh-client-hmr":"0.1.0","@deepseek-ai/dsh-client-locale":"0.1.0","@deepseek-ai/dsh-client-modules":"0.1.0","@deepseek-ai/dsh-client-runtime":"0.1.0","@deepseek-ai/dsh-client-schema-form":"0.1.0","@deepseek-ai/dsh-client-ui-agent-preset":"0.1.0","@deepseek-ai/dsh-client-ui-attachment":"0.1.0","@deepseek-ai/dsh-client-ui-commands":"0.1.0","@deepseek-ai/dsh-client-ui-conversation":"0.1.0","@deepseek-ai/dsh-client-ui-cordis":"0.1.0","@deepseek-ai/dsh-client-ui-deliverables":"0.1.0","@deepseek-ai/dsh-client-ui-directory-picker-browse":"0.1.0","@deepseek-ai/dsh-client-ui-directory-picker-native":"0.1.0","@deepseek-ai/dsh-client-ui-goal":"0.1.0","@deepseek-ai/dsh-client-ui-input-trigger":"0.1.0","@deepseek-ai/dsh-client-ui-jobs":"0.1.0","@deepseek-ai/dsh-client-ui-layout":"0.1.0","@deepseek-ai/dsh-client-ui-message-feedback":"0.1.0","@deepseek-ai/dsh-client-ui-model-selection":"0.1.0","@deepseek-ai/dsh-client-ui-permission-presets":"0.1.0","@deepseek-ai/dsh-client-ui-plan":"0.1.0","@deepseek-ai/dsh-client-ui-primitives":"0.1.0","@deepseek-ai/dsh-client-ui-settings":"0.1.0","@deepseek-ai/dsh-client-ui-settings-general":"0.1.0","@deepseek-ai/dsh-client-ui-settings-models":"0.1.0","@deepseek-ai/dsh-client-ui-settings-plugin-inventory":"0.1.0","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.0","@deepseek-ai/dsh-client-ui-sidebar":"0.1.0","@deepseek-ai/dsh-client-ui-skill":"0.1.0","@deepseek-ai/dsh-client-ui-slots":"0.1.0","@deepseek-ai/dsh-client-ui-subagent":"0.1.0","@deepseek-ai/dsh-client-ui-theme":"0.1.0","@deepseek-ai/dsh-client-ui-tool":"0.1.0","@deepseek-ai/dsh-client-ui-trajectory":"0.1.0","@deepseek-ai/dsh-client-ui-user-questions":"0.1.0","@deepseek-ai/dsh-client-ui-workflow-run":"0.1.0","@deepseek-ai/dsh-client-ui-workspace":"0.1.0","@deepseek-ai/dsh-client-web":"0.1.0","@deepseek-ai/dsh-client-web-react":"0.1.0","@deepseek-ai/dsh-cmdline":"0.1.0","@deepseek-ai/dsh-code-runtime":"0.1.0","@deepseek-ai/dsh-code-runtime-worker-thread":"0.1.0","@deepseek-ai/dsh-command-compact":"0.1.0","@deepseek-ai/dsh-command-feedback":"0.1.0","@deepseek-ai/dsh-command-goal":"0.1.0","@deepseek-ai/dsh-commands":"0.1.0","@deepseek-ai/dsh-compaction":"0.1.0","@deepseek-ai/dsh-compaction-basic":"0.1.0","@deepseek-ai/dsh-compaction-tool-result-pruner":"0.1.0","@deepseek-ai/dsh-content-review":"0.1.0","@deepseek-ai/dsh-cordis-client-runner":"0.1.0","@deepseek-ai/dsh-cordis-host-runner":"0.1.0","@deepseek-ai/dsh-credentials":"0.1.0","@deepseek-ai/dsh-credentials-local":"0.1.0","@deepseek-ai/dsh-fs":"0.1.0","@deepseek-ai/dsh-fs-local":"0.1.0","@deepseek-ai/dsh-fs-observation-policy":"0.1.0","@deepseek-ai/dsh-fs-sandbox":"0.1.0","@deepseek-ai/dsh-goal":"0.1.0","@deepseek-ai/dsh-goal-round-driver":"0.1.0","@deepseek-ai/dsh-headless":"0.1.0","@deepseek-ai/dsh-home-paths":"0.1.0","@deepseek-ai/dsh-home-quarantine-macos":"0.1.0","@deepseek-ai/dsh-host-apiproxy":"0.1.0","@deepseek-ai/dsh-host-directory-picker":"0.1.0","@deepseek-ai/dsh-host-directory-picker-auto":"0.1.0","@deepseek-ai/dsh-host-directory-picker-browse":"0.1.0","@deepseek-ai/dsh-host-directory-picker-native":"0.1.0","@deepseek-ai/dsh-host-frontend-static":"0.1.0","@deepseek-ai/dsh-host-plugin-inventory":"0.1.0","@deepseek-ai/dsh-host-webserver":"0.1.0","@deepseek-ai/dsh-invariants":"0.1.0","@deepseek-ai/dsh-jobs":"0.1.0","@deepseek-ai/dsh-jobs-local":"0.1.0","@deepseek-ai/dsh-launch-environment":"0.1.0","@deepseek-ai/dsh-llm":"0.1.0","@deepseek-ai/dsh-llm-deepseek":"0.1.0","@deepseek-ai/dsh-llm-gateway-openai":"0.1.0","@deepseek-ai/dsh-llm-pi-ai":"0.1.0","@deepseek-ai/dsh-llm-retry":"0.1.0","@deepseek-ai/dsh-mcp-client":"0.1.0","@deepseek-ai/dsh-message-feedback":"0.1.0","@deepseek-ai/dsh-native-command":"0.1.0","@deepseek-ai/dsh-output-retention":"0.1.0","@deepseek-ai/dsh-permission-presets":"0.1.0","@deepseek-ai/dsh-persona":"0.1.0","@deepseek-ai/dsh-plan-mode":"0.1.0","@deepseek-ai/dsh-pwsh-local":"0.1.0","@deepseek-ai/dsh-pwsh-sandbox":"0.1.0","@deepseek-ai/dsh-qb-auth":"0.1.0","@deepseek-ai/dsh-repeat-tool-reminder":"0.1.0","@deepseek-ai/dsh-sandbox":"0.1.0","@deepseek-ai/dsh-sandbox-local":"0.1.0","@deepseek-ai/dsh-sandbox-policy":"0.1.0","@deepseek-ai/dsh-sandbox-windows-acl":"0.1.0","@deepseek-ai/dsh-schedule":"0.1.0","@deepseek-ai/dsh-scope":"0.1.0","@deepseek-ai/dsh-session":"0.1.0","@deepseek-ai/dsh-session-checkpoint-policy":"0.1.0","@deepseek-ai/dsh-session-log-export":"0.1.0","@deepseek-ai/dsh-session-persistence":"0.1.0","@deepseek-ai/dsh-session-persistence-jsonl":"0.1.0","@deepseek-ai/dsh-session-projection":"0.1.0","@deepseek-ai/dsh-session-projection-cache":"0.1.0","@deepseek-ai/dsh-session-query":"0.1.0","@deepseek-ai/dsh-session-query-sqlite":"0.1.0","@deepseek-ai/dsh-session-reference":"0.1.0","@deepseek-ai/dsh-session-stats":"0.1.0","@deepseek-ai/dsh-session-telemetry":"0.1.0","@deepseek-ai/dsh-session-telemetry-otel":"0.1.0","@deepseek-ai/dsh-session-title":"0.1.0","@deepseek-ai/dsh-session-title-first-prompt-llm":"0.1.0","@deepseek-ai/dsh-session-title-llm":"0.1.0","@deepseek-ai/dsh-settings":"0.1.0","@deepseek-ai/dsh-settings-file":"0.1.0","@deepseek-ai/dsh-shell":"0.1.0","@deepseek-ai/dsh-shell-env":"0.1.0","@deepseek-ai/dsh-skill":"0.1.0","@deepseek-ai/dsh-skill-badge":"0.1.0","@deepseek-ai/dsh-skill-filesystem":"0.1.0","@deepseek-ai/dsh-spill":"0.1.0","@deepseek-ai/dsh-spill-local":"0.1.0","@deepseek-ai/dsh-spill-policy":"0.1.0","@deepseek-ai/dsh-storage":"0.1.0","@deepseek-ai/dsh-storage-domain":"0.1.0","@deepseek-ai/dsh-storage-json":"0.1.0","@deepseek-ai/dsh-subagent":"0.1.0","@deepseek-ai/dsh-subagent-fork-in-process":"0.1.0","@deepseek-ai/dsh-subagent-in-process-driver":"0.1.0","@deepseek-ai/dsh-subagent-spawn-in-process":"0.1.0","@deepseek-ai/dsh-subprocess":"0.1.0","@deepseek-ai/dsh-subprocess-local":"0.1.0","@deepseek-ai/dsh-system-prompt":"0.1.0","@deepseek-ai/dsh-terminal":"0.1.0","@deepseek-ai/dsh-terminal-bash":"0.1.0","@deepseek-ai/dsh-time-context":"0.1.0","@deepseek-ai/dsh-timeout":"0.1.0","@deepseek-ai/dsh-tmux-context":"0.1.0","@deepseek-ai/dsh-token-meter":"0.1.0","@deepseek-ai/dsh-tool-ask-user":"0.1.0","@deepseek-ai/dsh-tool-bash":"0.1.0","@deepseek-ai/dsh-tool-bash-persistent":"0.1.0","@deepseek-ai/dsh-tool-call-timeout-policy":"0.1.0","@deepseek-ai/dsh-tool-cordis":"0.1.0","@deepseek-ai/dsh-tool-fs":"0.1.0","@deepseek-ai/dsh-tool-fs-search":"0.1.0","@deepseek-ai/dsh-tool-goal":"0.1.0","@deepseek-ai/dsh-tool-jobs":"0.1.0","@deepseek-ai/dsh-tool-pwsh":"0.1.0","@deepseek-ai/dsh-tool-ralph":"0.1.0","@deepseek-ai/dsh-tool-skill":"0.1.0","@deepseek-ai/dsh-tool-str-replace-editor":"0.1.0","@deepseek-ai/dsh-tool-subagent":"0.1.0","@deepseek-ai/dsh-tool-subagent-control":"0.1.0","@deepseek-ai/dsh-tool-subagent-report":"0.1.0","@deepseek-ai/dsh-tool-todo":"0.1.0","@deepseek-ai/dsh-tool-web":"0.1.0","@deepseek-ai/dsh-tool-workflow":"0.1.0","@deepseek-ai/dsh-tools":"0.1.0","@deepseek-ai/dsh-typert-loader":"0.1.0","@deepseek-ai/dsh-typert-protocol":"0.1.0","@deepseek-ai/dsh-typert-registry":"0.1.0","@deepseek-ai/dsh-user-approval":"0.1.0","@deepseek-ai/dsh-user-questions":"0.1.0","@deepseek-ai/dsh-web":"0.1.0","@deepseek-ai/dsh-web-app":"0.1.0","@deepseek-ai/dsh-web-frontend":"0.1.0","@deepseek-ai/dsh-web-search-deepseek":"0.1.0","@deepseek-ai/dsh-web-search-dsh":"0.1.0","@deepseek-ai/dsh-workflow":"0.1.0","@deepseek-ai/dsh-workflow-worker-thread":"0.1.0","@deepseek-ai/dsh-workspace":"0.1.0","@deepseek-ai/node-addon-landlock-run":"0.1.1","@deepseek-ai/schemastery":"3.18.1","@earendil-works/pi-ai":"0.83.0","@google/genai":"1.52.0","@hono/node-server":"2.1.1","@img/colour":"1.1.0","@joplin/turndown-plugin-gfm":"1.0.67","@mistralai/mistralai":"2.2.6","@mixmark-io/domino":"2.2.0","@modelcontextprotocol/sdk":"1.30.0","@napi-rs/xattr":"1.0.3","@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","@opentelemetry/core":"2.9.0","@opentelemetry/exporter-logs-otlp-http":"0.220.0","@opentelemetry/otlp-exporter-base":"0.220.0","@opentelemetry/otlp-transformer":"0.220.0","@opentelemetry/resources":"2.9.0","@opentelemetry/sdk-logs":"0.220.0","@opentelemetry/sdk-metrics":"2.9.0","@opentelemetry/sdk-trace":"2.9.0","@opentelemetry/semantic-conventions":"1.43.0","@parcel/watcher":"2.6.0","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.5","@protobufjs/eventemitter":"1.1.1","@protobufjs/fetch":"1.1.1","@protobufjs/float":"1.0.2","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.2","@shikijs/core":"4.4.3","@shikijs/engine-javascript":"4.4.3","@shikijs/engine-oniguruma":"4.4.3","@shikijs/langs":"4.4.3","@shikijs/primitive":"4.4.3","@shikijs/themes":"4.4.3","@shikijs/types":"4.4.3","@shikijs/vscode-textmate":"10.0.2","@smithy/core":"3.33.2","@smithy/credential-provider-imds":"4.5.2","@smithy/fetch-http-handler":"5.7.2","@smithy/is-array-buffer":"2.2.0","@smithy/node-http-handler":"4.7.3","@smithy/signature-v4":"5.7.2","@smithy/types":"4.17.2","@smithy/util-buffer-from":"2.2.0","@smithy/util-utf8":"2.3.0","@standard-schema/spec":"1.1.0","@tanstack/react-virtual":"3.14.10","@tanstack/virtual-core":"3.17.8","@tencent/qb-auth-send-h5":"2.7.0","@types/debug":"4.1.13","@types/hast":"3.0.5","@types/katex":"0.16.8","@types/mdast":"4.0.4","@types/ms":"2.1.0","@types/node":"26.2.0","@types/retry":"0.12.0","@types/unist":"3.0.3","@ungap/structured-clone":"1.3.3","@vscode/ripgrep":"1.18.0","accepts":"2.0.0","agent-base":"7.1.4","ajv":"8.20.0","ajv-formats":"3.0.1","anser":"2.3.5","argparse":"2.0.1","base64-js":"1.5.1","bignumber.js":"9.3.1","body-parser":"2.3.0","bowser":"2.14.1","buffer-equal-constant-time":"1.0.1","bytes":"3.1.2","call-bind-apply-helpers":"1.0.2","call-bound":"1.0.4","ccount":"2.0.1","character-entities":"2.0.2","character-entities-html4":"2.1.0","character-entities-legacy":"3.0.0","chokidar":"4.0.3","clsx":"2.1.1","comma-separated-tokens":"2.0.3","commander":"15.0.0","content-disposition":"1.1.0","content-type":"1.0.5","cookie":"0.7.2","cookie-signature":"1.2.2","cors":"2.8.6","cross-spawn":"7.0.6","data-uri-to-buffer":"4.0.1","debug":"4.4.3","decode-named-character-reference":"1.3.0","depd":"2.0.0","dequal":"2.0.3","detect-libc":"2.1.2","devlop":"1.1.0","diff":"9.0.0","dunder-proto":"1.0.1","ecdsa-sig-formatter":"1.0.11","ee-first":"1.1.1","encodeurl":"2.0.0","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.2","escape-html":"1.0.3","escape-string-regexp":"5.0.0","etag":"1.8.1","eventsource":"3.0.7","eventsource-parser":"3.1.1","express":"5.2.1","express-rate-limit":"8.6.2","extend":"3.0.2","fast-deep-equal":"3.1.3","fast-uri":"3.1.5","fetch-blob":"3.2.0","fflate":"0.8.3","finalhandler":"2.1.1","formdata-polyfill":"4.0.10","forwarded":"0.2.0","fresh":"2.0.0","function-bind":"1.1.2","gaxios":"7.3.1","gcp-metadata":"8.1.2","get-intrinsic":"1.3.0","get-proto":"1.0.1","google-auth-library":"10.9.1","google-logging-utils":"1.1.3","gopd":"1.2.0","has-symbols":"1.1.0","hasown":"2.0.4","hast-util-to-html":"9.0.5","hast-util-whitespace":"3.0.0","hono":"4.13.3","html-void-elements":"3.0.0","http-errors":"2.0.1","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6","iconv-lite":"0.7.3","immer":"10.2.0","inherits":"2.0.4","ip-address":"10.5.0","ipaddr.js":"1.9.1","is-extglob":"2.1.1","is-glob":"4.0.3","is-promise":"4.0.0","isexe":"2.0.0","jose":"6.2.9","js-tokens":"4.0.0","js-yaml":"4.3.1","json-bigint":"1.0.0","json-schema-to-ts":"3.1.1","json-schema-traverse":"1.0.0","json-schema-typed":"8.0.2","jwa":"2.0.1","jws":"4.0.1","katex":"0.16.47","koffi":"3.1.5","long":"5.3.2","longest-streak":"3.1.0","loose-envify":"1.4.0","markdown-table":"3.0.4","math-intrinsics":"1.1.0","mdast-util-find-and-replace":"3.0.2","mdast-util-from-markdown":"2.0.3","mdast-util-gfm":"3.1.0","mdast-util-gfm-autolink-literal":"2.0.1","mdast-util-gfm-footnote":"2.1.0","mdast-util-gfm-strikethrough":"2.0.0","mdast-util-gfm-table":"2.0.0","mdast-util-gfm-task-list-item":"2.0.0","mdast-util-math":"3.0.0","mdast-util-phrasing":"4.1.0","mdast-util-to-hast":"13.2.1","mdast-util-to-markdown":"2.1.2","mdast-util-to-string":"4.0.0","media-typer":"1.1.1","merge-descriptors":"2.0.0","micromark":"4.0.2","micromark-core-commonmark":"2.0.3","micromark-extension-gfm":"3.0.0","micromark-extension-gfm-autolink-literal":"2.1.0","micromark-extension-gfm-footnote":"2.1.0","micromark-extension-gfm-strikethrough":"2.1.0","micromark-extension-gfm-table":"2.1.1","micromark-extension-gfm-tagfilter":"2.0.0","micromark-extension-gfm-task-list-item":"2.1.0","micromark-extension-math":"3.1.0","micromark-factory-destination":"2.0.1","micromark-factory-label":"2.0.1","micromark-factory-space":"2.0.1","micromark-factory-title":"2.0.1","micromark-factory-whitespace":"2.0.1","micromark-util-character":"2.1.1","micromark-util-chunked":"2.0.1","micromark-util-classify-character":"2.0.1","micromark-util-combine-extensions":"2.0.1","micromark-util-decode-numeric-character-reference":"2.0.2","micromark-util-decode-string":"2.0.1","micromark-util-encode":"2.0.1","micromark-util-html-tag-name":"2.0.1","micromark-util-normalize-identifier":"2.0.1","micromark-util-resolve-all":"2.0.1","micromark-util-sanitize-uri":"2.0.1","micromark-util-subtokenize":"2.1.0","micromark-util-symbol":"2.0.1","micromark-util-types":"2.0.2","mime-db":"1.54.0","mime-types":"3.0.2","ms":"2.1.3","negotiator":"1.0.0","node-addon-api":"7.1.1","node-addon-native-custom-loader":"0.1.5","node-addon-require-builtin":"0.1.5","node-domexception":"1.0.0","node-fetch":"3.3.2","node-pty":"1.2.0-beta.15","object-assign":"4.1.1","object-inspect":"1.13.4","on-finished":"2.4.1","once":"1.4.0","oniguruma-parser":"0.12.2","oniguruma-to-es":"4.3.6","openai":"6.26.0","p-retry":"4.6.2","parseurl":"1.3.3","partial-json":"0.1.7","path-key":"3.1.1","path-to-regexp":"8.4.2","picocolors":"1.1.1","picomatch":"4.0.5","pkce-challenge":"5.0.1","property-information":"7.2.0","protobufjs":"7.6.5","proxy-addr":"2.0.7","qs":"6.15.3","range-parser":"1.3.0","raw-body":"3.0.2","react":"18.3.1","react-dom":"18.3.1","readdirp":"4.1.2","regex":"6.1.0","regex-recursion":"6.0.2","regex-utilities":"2.3.0","require-from-string":"2.0.2","retry":"0.13.1","router":"2.2.0","safe-buffer":"5.2.1","safer-buffer":"2.1.2","scheduler":"0.23.2","semver":"7.8.5","send":"1.2.1","serve-static":"2.2.1","setprototypeof":"1.2.0","sharp":"0.35.3","shebang-command":"2.0.0","shebang-regex":"3.0.0","shiki":"4.4.3","side-channel":"1.1.1","side-channel-list":"1.0.1","side-channel-map":"1.0.1","side-channel-weakmap":"1.0.2","space-separated-tokens":"2.0.2","statuses":"2.0.2","stringify-entities":"4.0.4","toidentifier":"1.0.1","trim-lines":"3.0.1","ts-algebra":"2.0.0","tslib":"2.8.1","turndown":"7.2.4","type-is":"2.1.0","typebox":"1.3.7","undici-types":"8.3.0","unist-util-is":"6.0.1","unist-util-position":"5.0.0","unist-util-remove-position":"5.0.0","unist-util-stringify-position":"4.0.0","unist-util-visit":"5.1.0","unist-util-visit-parents":"6.0.2","unpipe":"1.0.0","use-sync-external-store":"1.2.0","vary":"1.1.2","vfile":"6.0.3","vfile-message":"4.0.3","web-streams-polyfill":"3.3.3","which":"2.0.2","wrappy":"1.0.2","ws":"8.21.3","yaml":"2.9.0","zod":"4.4.3","zod-to-json-schema":"3.25.2","zustand":"4.4.7","zwitch":"2.0.4"},"optionalDependencies":{"@img/sharp-darwin-arm64":"0.35.3","@img/sharp-darwin-x64":"0.35.3","@img/sharp-libvips-darwin-arm64":"1.3.2","@img/sharp-libvips-darwin-x64":"1.3.2","@img/sharp-win32-x64":"0.35.3","@koromix/koffi-darwin-arm64":"3.1.5","@koromix/koffi-darwin-x64":"3.1.5","@koromix/koffi-win32-x64":"3.1.5","@napi-rs/xattr-darwin-arm64":"1.0.3","@napi-rs/xattr-darwin-x64":"1.0.3","@parcel/watcher-darwin-arm64":"2.6.0","@parcel/watcher-darwin-x64":"2.6.0","@parcel/watcher-win32-x64":"2.6.0","@vscode/ripgrep-darwin-arm64":"1.18.0","@vscode/ripgrep-darwin-x64":"1.18.0","@vscode/ripgrep-win32-x64":"1.18.0","node-addon-require-builtin-darwin-arm64":"0.1.5","node-addon-require-builtin-darwin-x64":"0.1.5","node-addon-require-builtin-win32-x64-msvc":"0.1.5"},"bundleDependencies":true}
|
|
1
|
+
{"name":"@qqbrowser/qbot-dsh","version":"0.1.2","publishConfig":{"access":"public"},"type":"module","bin":{"qbot-dsh":"lib/bin.js"},"exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./qb-auth":{"types":"./lib/types/qb/qb-auth/index.d.ts","default":"./lib/qb-auth.js"},"./content-review":{"types":"./lib/types/qb/content-review/index.d.ts","default":"./lib/content-review.js"},"./llm-gateway-openai":{"types":"./lib/types/qb/llm-gateway-openai/index.d.ts","default":"./lib/llm-gateway-openai.js"},"./web-search-dsh":{"types":"./lib/types/qb/web-search-dsh/index.d.ts","default":"./lib/web-search-dsh.js"},"./cordis.patch.yml":"./cordis.patch.yml","./package.json":"./package.json"},"license":"MIT","engines":{"node":"^22.19.0 || >=24.0.0"},"os":["darwin","win32"],"cpu":["arm64","x64"],"dsh":{"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-locale"],"platform":"web"},"bundle":{"patch":"./cordis.patch.yml"}},"dshRelease":{"targets":["darwin-arm64","darwin-x64","win32-x64"]},"dependencies":{"@anthropic-ai/sdk":"0.91.1","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-crypto/supports-web-crypto":"5.2.0","@aws-crypto/util":"5.2.0","@aws-sdk/client-bedrock-runtime":"3.1048.0","@aws-sdk/core":"3.977.8","@aws-sdk/credential-provider-env":"3.972.69","@aws-sdk/credential-provider-http":"3.972.71","@aws-sdk/credential-provider-ini":"3.973.14","@aws-sdk/credential-provider-login":"3.972.76","@aws-sdk/credential-provider-node":"3.972.80","@aws-sdk/credential-provider-process":"3.972.69","@aws-sdk/credential-provider-sso":"3.973.13","@aws-sdk/credential-provider-web-identity":"3.972.75","@aws-sdk/eventstream-handler-node":"3.972.33","@aws-sdk/middleware-eventstream":"3.972.28","@aws-sdk/middleware-websocket":"3.972.51","@aws-sdk/nested-clients":"3.997.43","@aws-sdk/signature-v4-multi-region":"3.996.45","@aws-sdk/token-providers":"3.1048.0","@aws-sdk/types":"3.974.4","@aws-sdk/util-locate-window":"3.965.10","@aws-sdk/xml-builder":"3.972.39","@aws/lambda-invoke-store":"0.3.0","@babel/code-frame":"7.29.7","@babel/helper-validator-identifier":"7.29.7","@babel/runtime":"7.29.7","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/cordis-plugin-group":"1.0.1","@deepseek-ai/cordis-plugin-hmr":"1.0.16","@deepseek-ai/cordis-plugin-include":"1.0.6","@deepseek-ai/cordis-plugin-loader":"1.0.2","@deepseek-ai/cordis-plugin-timer":"1.1.3","@deepseek-ai/cosmokit":"1.8.2","@deepseek-ai/dsh-agent":"0.1.0-rc.7","@deepseek-ai/dsh-agent-default-model":"0.1.0-rc.7","@deepseek-ai/dsh-agent-instructions":"0.1.0-rc.7","@deepseek-ai/dsh-agent-loop":"0.1.0-rc.7","@deepseek-ai/dsh-agent-presets":"0.1.0-rc.7","@deepseek-ai/dsh-agent-tool-presentation":"0.1.0-rc.7","@deepseek-ai/dsh-anonymous-user-id":"0.1.0-rc.7","@deepseek-ai/dsh-api-gateway":"0.1.0-rc.7","@deepseek-ai/dsh-api-remotes":"0.1.0-rc.7","@deepseek-ai/dsh-app-boot":"0.1.0-rc.7","@deepseek-ai/dsh-atomic-write":"0.1.0-rc.7","@deepseek-ai/dsh-attachment":"0.1.0-rc.7","@deepseek-ai/dsh-attachment-local":"0.1.0-rc.7","@deepseek-ai/dsh-base":"0.1.0-rc.7","@deepseek-ai/dsh-bash-local":"0.1.0-rc.7","@deepseek-ai/dsh-bash-sandbox":"0.1.0-rc.7","@deepseek-ai/dsh-brand":"0.1.0-rc.7","@deepseek-ai/dsh-client-connection":"0.1.0-rc.7","@deepseek-ai/dsh-client-hmr":"0.1.0-rc.7","@deepseek-ai/dsh-client-locale":"0.1.0-rc.7","@deepseek-ai/dsh-client-modules":"0.1.0-rc.7","@deepseek-ai/dsh-client-runtime":"0.1.0-rc.7","@deepseek-ai/dsh-client-schema-form":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-agent-preset":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-attachment":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-commands":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-conversation":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-cordis":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-deliverables":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-directory-picker-browse":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-directory-picker-native":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-goal":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-input-trigger":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-jobs":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-layout":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-message-feedback":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-model-selection":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-permission-presets":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-plan":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-primitives":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-settings":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-settings-general":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-settings-models":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-settings-plugin-inventory":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-sidebar":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-skill":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-slots":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-subagent":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-theme":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-tool":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-trajectory":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-user-questions":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-workflow-run":"0.1.0-rc.7","@deepseek-ai/dsh-client-ui-workspace":"0.1.0-rc.7","@deepseek-ai/dsh-client-web":"0.1.0-rc.7","@deepseek-ai/dsh-client-web-react":"0.1.0-rc.7","@deepseek-ai/dsh-cmdline":"0.1.0-rc.7","@deepseek-ai/dsh-code-runtime":"0.1.0-rc.7","@deepseek-ai/dsh-code-runtime-worker-thread":"0.1.0-rc.7","@deepseek-ai/dsh-command-compact":"0.1.0-rc.7","@deepseek-ai/dsh-command-feedback":"0.1.0-rc.7","@deepseek-ai/dsh-command-goal":"0.1.0-rc.7","@deepseek-ai/dsh-commands":"0.1.0-rc.7","@deepseek-ai/dsh-compaction":"0.1.0-rc.7","@deepseek-ai/dsh-compaction-basic":"0.1.0-rc.7","@deepseek-ai/dsh-compaction-tool-result-pruner":"0.1.0-rc.7","@deepseek-ai/dsh-cordis-client-runner":"0.1.0-rc.7","@deepseek-ai/dsh-cordis-host-runner":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@deepseek-ai/dsh-credentials-local":"0.1.0-rc.7","@deepseek-ai/dsh-fs":"0.1.0-rc.7","@deepseek-ai/dsh-fs-local":"0.1.0-rc.7","@deepseek-ai/dsh-fs-observation-policy":"0.1.0-rc.7","@deepseek-ai/dsh-fs-sandbox":"0.1.0-rc.7","@deepseek-ai/dsh-goal":"0.1.0-rc.7","@deepseek-ai/dsh-goal-round-driver":"0.1.0-rc.7","@deepseek-ai/dsh-headless":"0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"0.1.0-rc.7","@deepseek-ai/dsh-host-apiproxy":"0.1.0-rc.7","@deepseek-ai/dsh-host-directory-picker":"0.1.0-rc.7","@deepseek-ai/dsh-host-directory-picker-auto":"0.1.0-rc.7","@deepseek-ai/dsh-host-directory-picker-browse":"0.1.0-rc.7","@deepseek-ai/dsh-host-directory-picker-native":"0.1.0-rc.7","@deepseek-ai/dsh-host-frontend-static":"0.1.0-rc.7","@deepseek-ai/dsh-host-plugin-inventory":"0.1.0-rc.7","@deepseek-ai/dsh-host-webserver":"0.1.0-rc.7","@deepseek-ai/dsh-invariants":"0.1.0-rc.7","@deepseek-ai/dsh-jobs":"0.1.0-rc.7","@deepseek-ai/dsh-jobs-local":"0.1.0-rc.7","@deepseek-ai/dsh-launch-environment":"0.1.0-rc.7","@deepseek-ai/dsh-llm":"0.1.0-rc.7","@deepseek-ai/dsh-llm-deepseek":"0.1.0-rc.7","@deepseek-ai/dsh-llm-pi-ai":"0.1.0-rc.7","@deepseek-ai/dsh-llm-retry":"0.1.0-rc.7","@deepseek-ai/dsh-mcp-client":"0.1.0-rc.7","@deepseek-ai/dsh-message-feedback":"0.1.0-rc.7","@deepseek-ai/dsh-native-command":"0.1.0-rc.7","@deepseek-ai/dsh-output-retention":"0.1.0-rc.7","@deepseek-ai/dsh-permission-presets":"0.1.0-rc.7","@deepseek-ai/dsh-persona":"0.1.0-rc.7","@deepseek-ai/dsh-plan-mode":"0.1.0-rc.7","@deepseek-ai/dsh-pwsh-local":"0.1.0-rc.7","@deepseek-ai/dsh-pwsh-sandbox":"0.1.0-rc.7","@deepseek-ai/dsh-repeat-tool-reminder":"0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"0.1.0-rc.7","@deepseek-ai/dsh-sandbox-local":"0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"0.1.0-rc.7","@deepseek-ai/dsh-sandbox-windows-acl":"0.1.0-rc.7","@deepseek-ai/dsh-schedule":"0.1.0-rc.7","@deepseek-ai/dsh-scope":"0.1.0-rc.7","@deepseek-ai/dsh-session":"0.1.0-rc.7","@deepseek-ai/dsh-session-checkpoint-policy":"0.1.0-rc.7","@deepseek-ai/dsh-session-log-export":"0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"0.1.0-rc.7","@deepseek-ai/dsh-session-persistence-jsonl":"0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"0.1.0-rc.7","@deepseek-ai/dsh-session-projection-cache":"0.1.0-rc.7","@deepseek-ai/dsh-session-query":"0.1.0-rc.7","@deepseek-ai/dsh-session-query-sqlite":"0.1.0-rc.7","@deepseek-ai/dsh-session-reference":"0.1.0-rc.7","@deepseek-ai/dsh-session-stats":"0.1.0-rc.7","@deepseek-ai/dsh-session-telemetry":"0.1.0-rc.7","@deepseek-ai/dsh-session-telemetry-otel":"0.1.0-rc.7","@deepseek-ai/dsh-session-title":"0.1.0-rc.7","@deepseek-ai/dsh-session-title-first-prompt-llm":"0.1.0-rc.7","@deepseek-ai/dsh-session-title-llm":"0.1.0-rc.7","@deepseek-ai/dsh-settings":"0.1.0-rc.7","@deepseek-ai/dsh-settings-file":"0.1.0-rc.7","@deepseek-ai/dsh-shell":"0.1.0-rc.7","@deepseek-ai/dsh-shell-env":"0.1.0-rc.7","@deepseek-ai/dsh-skill":"0.1.0-rc.7","@deepseek-ai/dsh-skill-badge":"0.1.0-rc.7","@deepseek-ai/dsh-skill-filesystem":"0.1.0-rc.7","@deepseek-ai/dsh-spill":"0.1.0-rc.7","@deepseek-ai/dsh-spill-local":"0.1.0-rc.7","@deepseek-ai/dsh-spill-policy":"0.1.0-rc.7","@deepseek-ai/dsh-storage":"0.1.0-rc.7","@deepseek-ai/dsh-storage-domain":"0.1.0-rc.7","@deepseek-ai/dsh-storage-json":"0.1.0-rc.7","@deepseek-ai/dsh-subagent":"0.1.0-rc.7","@deepseek-ai/dsh-subagent-fork-in-process":"0.1.0-rc.7","@deepseek-ai/dsh-subagent-in-process-driver":"0.1.0-rc.7","@deepseek-ai/dsh-subagent-spawn-in-process":"0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"0.1.0-rc.7","@deepseek-ai/dsh-subprocess-local":"0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"0.1.0-rc.7","@deepseek-ai/dsh-terminal":"0.1.0-rc.7","@deepseek-ai/dsh-terminal-bash":"0.1.0-rc.7","@deepseek-ai/dsh-time-context":"0.1.0-rc.7","@deepseek-ai/dsh-timeout":"0.1.0-rc.7","@deepseek-ai/dsh-tmux-context":"0.1.0-rc.7","@deepseek-ai/dsh-token-meter":"0.1.0-rc.7","@deepseek-ai/dsh-tool-ask-user":"0.1.0-rc.7","@deepseek-ai/dsh-tool-bash":"0.1.0-rc.7","@deepseek-ai/dsh-tool-bash-persistent":"0.1.0-rc.7","@deepseek-ai/dsh-tool-call-timeout-policy":"0.1.0-rc.7","@deepseek-ai/dsh-tool-cordis":"0.1.0-rc.7","@deepseek-ai/dsh-tool-fs":"0.1.0-rc.7","@deepseek-ai/dsh-tool-fs-search":"0.1.0-rc.7","@deepseek-ai/dsh-tool-goal":"0.1.0-rc.7","@deepseek-ai/dsh-tool-jobs":"0.1.0-rc.7","@deepseek-ai/dsh-tool-pwsh":"0.1.0-rc.7","@deepseek-ai/dsh-tool-ralph":"0.1.0-rc.7","@deepseek-ai/dsh-tool-skill":"0.1.0-rc.7","@deepseek-ai/dsh-tool-str-replace-editor":"0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent":"0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent-control":"0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent-report":"0.1.0-rc.7","@deepseek-ai/dsh-tool-todo":"0.1.0-rc.7","@deepseek-ai/dsh-tool-web":"0.1.0-rc.7","@deepseek-ai/dsh-tool-workflow":"0.1.0-rc.7","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-typert-loader":"0.1.0-rc.7","@deepseek-ai/dsh-typert-protocol":"0.1.0-rc.7","@deepseek-ai/dsh-typert-registry":"0.1.0-rc.7","@deepseek-ai/dsh-user-approval":"0.1.0-rc.7","@deepseek-ai/dsh-user-questions":"0.1.0-rc.7","@deepseek-ai/dsh-web":"0.1.0-rc.7","@deepseek-ai/dsh-web-app":"0.1.0-rc.7","@deepseek-ai/dsh-web-frontend":"0.1.0-rc.7","@deepseek-ai/dsh-web-search-deepseek":"0.1.0-rc.7","@deepseek-ai/dsh-workflow":"0.1.0-rc.7","@deepseek-ai/dsh-workflow-worker-thread":"0.1.0-rc.7","@deepseek-ai/dsh-workspace":"0.1.0-rc.7","@deepseek-ai/node-addon-landlock-run":"0.1.1","@deepseek-ai/schemastery":"3.18.1","@earendil-works/pi-ai":"0.82.1","@google/genai":"1.52.0","@hono/node-server":"2.1.1","@img/colour":"1.1.0","@joplin/turndown-plugin-gfm":"1.0.67","@mistralai/mistralai":"2.2.6","@mixmark-io/domino":"2.2.0","@modelcontextprotocol/sdk":"1.30.0","@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","@opentelemetry/core":"2.9.0","@opentelemetry/exporter-logs-otlp-http":"0.220.0","@opentelemetry/otlp-exporter-base":"0.220.0","@opentelemetry/otlp-transformer":"0.220.0","@opentelemetry/resources":"2.9.0","@opentelemetry/sdk-logs":"0.220.0","@opentelemetry/sdk-metrics":"2.9.0","@opentelemetry/sdk-trace":"2.9.0","@opentelemetry/semantic-conventions":"1.43.0","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.5","@protobufjs/eventemitter":"1.1.1","@protobufjs/fetch":"1.1.1","@protobufjs/float":"1.0.2","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.2","@shikijs/core":"4.4.3","@shikijs/engine-javascript":"4.4.3","@shikijs/engine-oniguruma":"4.4.3","@shikijs/langs":"4.4.3","@shikijs/primitive":"4.4.3","@shikijs/themes":"4.4.3","@shikijs/types":"4.4.3","@shikijs/vscode-textmate":"10.0.2","@smithy/core":"3.33.3","@smithy/credential-provider-imds":"4.5.2","@smithy/fetch-http-handler":"5.7.2","@smithy/is-array-buffer":"2.2.0","@smithy/node-http-handler":"4.7.3","@smithy/signature-v4":"5.7.3","@smithy/types":"4.17.2","@smithy/util-buffer-from":"2.2.0","@smithy/util-utf8":"2.3.0","@standard-schema/spec":"1.1.0","@tanstack/react-virtual":"3.14.10","@tanstack/virtual-core":"3.17.8","@tencent/qb-auth-send-h5":"2.7.0","@types/debug":"4.1.13","@types/hast":"3.0.5","@types/katex":"0.16.8","@types/mdast":"4.0.4","@types/ms":"2.1.0","@types/node":"26.2.0","@types/retry":"0.12.0","@types/unist":"3.0.3","@ungap/structured-clone":"1.3.3","@vscode/ripgrep":"1.18.0","accepts":"2.0.0","agent-base":"7.1.4","ajv":"8.20.0","ajv-formats":"3.0.1","anser":"2.3.5","argparse":"2.0.1","base64-js":"1.5.1","bignumber.js":"9.3.1","body-parser":"2.3.0","bowser":"2.14.1","buffer-equal-constant-time":"1.0.1","bytes":"3.1.2","call-bind-apply-helpers":"1.0.2","call-bound":"1.0.4","ccount":"2.0.1","character-entities":"2.0.2","character-entities-html4":"2.1.0","character-entities-legacy":"3.0.0","chokidar":"4.0.3","clsx":"2.1.1","comma-separated-tokens":"2.0.3","commander":"15.0.0","content-disposition":"1.1.0","content-type":"1.0.5","cookie":"0.7.2","cookie-signature":"1.2.2","cors":"2.8.6","cross-spawn":"7.0.6","data-uri-to-buffer":"4.0.1","debug":"4.4.3","decode-named-character-reference":"1.3.0","depd":"2.0.0","dequal":"2.0.3","detect-libc":"2.1.2","devlop":"1.1.0","diff":"9.0.0","dunder-proto":"1.0.1","ecdsa-sig-formatter":"1.0.11","ee-first":"1.1.1","encodeurl":"2.0.0","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.2","escape-html":"1.0.3","escape-string-regexp":"5.0.0","etag":"1.8.1","eventsource":"3.0.7","eventsource-parser":"3.1.1","express":"5.2.1","express-rate-limit":"8.6.2","extend":"3.0.2","fast-deep-equal":"3.1.3","fast-uri":"3.1.5","fetch-blob":"3.2.0","fflate":"0.8.3","finalhandler":"2.1.1","formdata-polyfill":"4.0.10","forwarded":"0.2.0","fresh":"2.0.0","function-bind":"1.1.2","gaxios":"7.3.1","gcp-metadata":"8.1.2","get-intrinsic":"1.3.0","get-proto":"1.0.1","google-auth-library":"10.9.1","google-logging-utils":"1.1.3","gopd":"1.2.0","has-symbols":"1.1.0","hasown":"2.0.4","hast-util-to-html":"9.0.5","hast-util-whitespace":"3.0.0","hono":"4.13.3","html-void-elements":"3.0.0","http-errors":"2.0.1","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6","iconv-lite":"0.7.3","immer":"10.2.0","inherits":"2.0.4","ip-address":"10.5.0","ipaddr.js":"1.9.1","is-promise":"4.0.0","isexe":"2.0.0","jose":"6.2.9","js-tokens":"4.0.0","js-yaml":"4.3.1","json-bigint":"1.0.0","json-schema-to-ts":"3.1.1","json-schema-traverse":"1.0.0","json-schema-typed":"8.0.2","jwa":"2.0.1","jws":"4.0.1","katex":"0.16.47","koffi":"3.1.6","long":"5.3.2","longest-streak":"3.1.0","loose-envify":"1.4.0","markdown-table":"3.0.4","math-intrinsics":"1.1.0","mdast-util-find-and-replace":"3.0.2","mdast-util-from-markdown":"2.0.3","mdast-util-gfm":"3.1.0","mdast-util-gfm-autolink-literal":"2.0.1","mdast-util-gfm-footnote":"2.1.0","mdast-util-gfm-strikethrough":"2.0.0","mdast-util-gfm-table":"2.0.0","mdast-util-gfm-task-list-item":"2.0.0","mdast-util-math":"3.0.0","mdast-util-phrasing":"4.1.0","mdast-util-to-hast":"13.2.1","mdast-util-to-markdown":"2.1.2","mdast-util-to-string":"4.0.0","media-typer":"1.1.1","merge-descriptors":"2.0.0","micromark":"4.0.2","micromark-core-commonmark":"2.0.3","micromark-extension-gfm":"3.0.0","micromark-extension-gfm-autolink-literal":"2.1.0","micromark-extension-gfm-footnote":"2.1.0","micromark-extension-gfm-strikethrough":"2.1.0","micromark-extension-gfm-table":"2.1.1","micromark-extension-gfm-tagfilter":"2.0.0","micromark-extension-gfm-task-list-item":"2.1.0","micromark-extension-math":"3.1.0","micromark-factory-destination":"2.0.1","micromark-factory-label":"2.0.1","micromark-factory-space":"2.0.1","micromark-factory-title":"2.0.1","micromark-factory-whitespace":"2.0.1","micromark-util-character":"2.1.1","micromark-util-chunked":"2.0.1","micromark-util-classify-character":"2.0.1","micromark-util-combine-extensions":"2.0.1","micromark-util-decode-numeric-character-reference":"2.0.2","micromark-util-decode-string":"2.0.1","micromark-util-encode":"2.0.1","micromark-util-html-tag-name":"2.0.1","micromark-util-normalize-identifier":"2.0.1","micromark-util-resolve-all":"2.0.1","micromark-util-sanitize-uri":"2.0.1","micromark-util-subtokenize":"2.1.0","micromark-util-symbol":"2.0.1","micromark-util-types":"2.0.2","mime-db":"1.54.0","mime-types":"3.0.2","ms":"2.1.3","negotiator":"1.1.0","node-addon-api":"7.1.1","node-addon-native-custom-loader":"0.1.5","node-addon-require-builtin":"0.1.5","node-domexception":"1.0.0","node-fetch":"3.3.2","node-pty":"1.2.0-beta.15","object-assign":"4.1.1","object-inspect":"1.13.4","on-finished":"2.4.1","once":"1.4.0","oniguruma-parser":"0.12.2","oniguruma-to-es":"4.3.6","openai":"6.26.0","p-retry":"4.6.2","parseurl":"1.3.3","partial-json":"0.1.7","path-key":"3.1.1","path-to-regexp":"8.4.2","picocolors":"1.1.1","picomatch":"4.0.5","pkce-challenge":"5.0.1","property-information":"7.2.0","protobufjs":"7.6.5","proxy-addr":"2.0.7","qs":"6.15.3","range-parser":"1.3.0","raw-body":"3.0.2","react":"18.3.1","react-dom":"18.3.1","readdirp":"4.1.2","regex":"6.1.0","regex-recursion":"6.0.2","regex-utilities":"2.3.0","require-from-string":"2.0.2","retry":"0.13.1","router":"2.2.0","safe-buffer":"5.2.1","safer-buffer":"2.1.2","scheduler":"0.23.2","semver":"7.8.5","send":"1.2.1","serve-static":"2.2.1","setprototypeof":"1.2.0","sharp":"0.35.3","shebang-command":"2.0.0","shebang-regex":"3.0.0","shiki":"4.4.3","side-channel":"1.1.1","side-channel-list":"1.0.1","side-channel-map":"1.0.1","side-channel-weakmap":"1.0.2","space-separated-tokens":"2.0.2","statuses":"2.0.2","stringify-entities":"4.0.4","toidentifier":"1.0.1","trim-lines":"3.0.1","ts-algebra":"2.0.0","tslib":"2.8.1","turndown":"7.2.4","type-is":"2.1.0","typebox":"1.1.38","undici-types":"8.3.0","unist-util-is":"6.0.1","unist-util-position":"5.0.0","unist-util-remove-position":"5.0.0","unist-util-stringify-position":"4.0.0","unist-util-visit":"5.1.0","unist-util-visit-parents":"6.0.2","unpipe":"1.0.0","use-sync-external-store":"1.2.0","vary":"1.1.2","vfile":"6.0.3","vfile-message":"4.0.3","web-streams-polyfill":"3.3.3","which":"2.0.2","wrappy":"1.0.2","ws":"8.21.3","yaml":"2.9.0","zod":"4.4.3","zod-to-json-schema":"3.25.2","zustand":"4.4.7","zwitch":"2.0.4"},"optionalDependencies":{"@img/sharp-darwin-arm64":"0.35.3","@img/sharp-darwin-x64":"0.35.3","@img/sharp-libvips-darwin-arm64":"1.3.2","@img/sharp-libvips-darwin-x64":"1.3.2","@img/sharp-win32-x64":"0.35.3","@koromix/koffi-darwin-arm64":"3.1.6","@koromix/koffi-darwin-x64":"3.1.6","@koromix/koffi-win32-x64":"3.1.6","@vscode/ripgrep-darwin-arm64":"1.18.0","@vscode/ripgrep-darwin-x64":"1.18.0","@vscode/ripgrep-win32-x64":"1.18.0","node-addon-require-builtin-darwin-arm64":"0.1.5","node-addon-require-builtin-darwin-x64":"0.1.5","node-addon-require-builtin-win32-x64-msvc":"0.1.5"},"bundleDependencies":true}
|
package/lib/args-DcHS9iff.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var h=Object.defineProperty;var l=(n,i)=>h(n,"name",{value:i,configurable:!0});import{Command as m,CommanderError as c}from"commander";const d=l((n,i=[])=>[...i,n],"collect"),g=`
|
|
2
|
-
Examples:
|
|
3
|
-
qbot-dsh --profile web boot the web profile (same as: qbot-dsh web)
|
|
4
|
-
qbot-dsh --profile headless "run the tests" answer one task, print the result, and exit
|
|
5
|
-
qbot-dsh --profile tui --patch ./extra.yml boot a custom profile with one extra overlay
|
|
6
|
-
qbot-dsh --profile tui --resume <session> arguments after the launcher flags reach the app
|
|
7
|
-
qbot-dsh --profile web --help the web app's own flags and help
|
|
8
|
-
qbot-dsh plugin --profile tui add <package> install a plugin into the tui profile
|
|
9
|
-
`;function u(n,i,t,e){const a=t.patch??[];if(a.includes("")&&n.error("error: --patch needs a path"),t.dumpConfig!==!0&&t.dumpDefaultConfig!==!0)return{mode:"profile",profile:i,patches:a,args:e};t.dumpConfig===!0&&t.dumpDefaultConfig===!0&&n.error("error: --dump-config and --dump-default-config are mutually exclusive"),e.length>0&&n.error(`error: config dumps take no app arguments, got ${e.map(o=>JSON.stringify(o)).join(" ")}`);const p=t.dumpDefaultConfig===!0;return p&&a.length>0&&n.error("error: --dump-default-config prints the bundle layers and takes no --patch"),{mode:"dump-config",profile:i,defaultOnly:p,patches:a}}l(u,"resolveBoot");function b(n,i){let t;const e=new m;e.name("qbot-dsh").version(i,"-V, --version","output the version number").description("qbot-dsh: boot a DeepSeek Harness profile — an ordered stack of plugin-bundle patch layers under your own overrides.").addHelpText("after",g).exitOverride().helpOption(!1).allowUnknownOption().passThroughOptions().enablePositionalOptions().argument("[args...]","arguments for the booted profile's app (see: qbot-dsh --profile <name> --help)").option("--profile <name>","the profile under $QBOT_DSH_HOME/profiles to boot").option("--patch <path>","extra patch-list overlay applied after the profile layer (repeatable)",d).option("--dump-config","print the composed profile tree and exit").option("--dump-default-config","print the profile tree without its user layer or --patch overlays and exit").action((o,r)=>{r.profile===void 0&&(o.some(f=>f==="-h"||f==="--help")&&e.help(),e.error("error: --profile <name> is required"));const s=r.profile;s===""&&e.error("error: --profile needs a name"),t=u(e,s,r,o)});const a=l(o=>{const r=e.opts();(r.profile!==void 0||r.patch!==void 0||r.dumpConfig!==void 0||r.dumpDefaultConfig!==void 0)&&e.error(`error: ${o} takes none of parent --profile, --patch, --dump-config, or --dump-default-config`)},"rejectParentOptions"),p=e.command("web").description("boot the web profile (alias of --profile web); the web app's own flags follow");p.helpOption(!1).allowUnknownOption().passThroughOptions().enablePositionalOptions().argument("[args...]","arguments for the web app (see: qbot-dsh web --help)").option("--patch <path>","extra patch-list overlay applied after the profile layer (repeatable)",d).option("--dump-config","print the composed web-profile tree (with the user layer and any --patch) and exit").option("--dump-default-config","print the web profile's bundle layers (no user layer) and exit").action((o,r)=>{a("web"),t=u(p,"web",r,o)}),e.command("plugin").description("manage a profile's plugins by forwarding the remaining arguments to pnpm in the profile directory").requiredOption("--profile <name>","the profile whose plugins to manage (initialized on first use)").allowUnknownOption().argument("[args...]","pnpm arguments, forwarded verbatim (add <pkg>, remove <pkg>, why <pkg>, ...)").action((o,r)=>{a("plugin"),r.profile===""&&e.error("error: --profile needs a name"),o.length===0&&e.error("error: plugin needs pnpm arguments to forward (e.g. add <package>)"),t={mode:"plugin",profile:r.profile,args:o}});try{e.parse(n,{from:"user"})}catch(o){return process.exit(o instanceof c?o.exitCode:1)}if(t===void 0)throw new Error("qbot-dsh: no invocation resolved");return t}l(b,"parseDshArgs");export{b as parseDshArgs};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=Object.defineProperty;var r=(s,a)=>n(s,"name",{value:a,configurable:!0});import{i as m,n as f,r as P}from"./profile-boot-DDo03lXi.js";import{existsSync as d}from"node:fs";import{join as u,resolve as b}from"node:path";import{loadOptionalPatches as E,loadOverlayPatches as O,renderConfigDump as g}from"@deepseek-ai/dsh-app-boot";const c="qbot-dsh";function v(s,a,i){const o=m(s,!a),e=o.layers.map(t=>({label:t.packageName,patches:t.patches}));if(!a){d(o.patchPath)&&e.push({label:o.patchPath,patches:o.patches});const t=P(),p=E(c,t);p!==void 0&&e.push({label:t,patches:p});for(const l of i){const h=b(l);e.push({label:h,patches:O(c,h)})}}process.stdout.write(g(c,u(o.dir,f),e))}r(v,"runDumpConfig");export{v as runDumpConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o}from"./profile-boot-DDo03lXi.js";export{o as runProfile};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var N=Object.defineProperty;var o=(e,t)=>N(e,"name",{value:t,configurable:!0});import{writeFileSync as I}from"node:fs";import{fileURLToPath as _}from"node:url";import{join as v,resolve as D}from"node:path";import{PROFILE_PATCH_FILENAME as H,boot as M,composeEntries as F,installFailLoud as k,loadOptionalPatches as P,loadOverlayPatches as A,loadProfile as C,watchUserPatches as b}from"@deepseek-ai/dsh-app-boot";import{resolveDshHome as $}from"@deepseek-ai/dsh-home-paths";import{DSH_LAUNCH_ENVIRONMENT_KEY as U}from"@deepseek-ai/dsh-launch-environment";import{provideCmdline as G}from"@deepseek-ai/dsh-cmdline";import{Socket as q}from"node:net";const x=5e3;function j(e,t=s=>{process.exit(s)},n=s=>{process.exitCode=s},d=x){let s,i,a=!1,l=!1;const c=o(()=>{i!==void 0&&clearTimeout(i)},"clearExitTimeout"),r=o(f=>{l||(l=!0,c(),t(f))},"forceExitOnce"),u=o(f=>{a||l||(a=!0,c(),n(f))},"completeOnce"),h=o((f,L)=>(s!==void 0||(i=setTimeout(()=>{r(f)},d),s=Promise.resolve().then(e).then(()=>{L?r(f):u(f)},()=>{r(f)})),s),"start");return{shutdown(f){return h(f,!1)},interrupt(f){if(s!==void 0){r(f);return}h(f,!0)}}}o(j,"createProcessShutdown");const m="DSH_HOST_LIFELINE_FD",Y=2147483647,V=new Set(["EPIPE","ECONNRESET","ERR_STREAM_PREMATURE_CLOSE"]),S={armed:!1,dispose:o(()=>{},"dispose")};function W(e){if(e===void 0||e==="")return{kind:"absent"};if(!/^\d+$/.test(e))return{kind:"invalid",value:e};const t=Number(e);return t>Y?{kind:"invalid",value:e}:{kind:"descriptor",fd:t}}o(W,"resolveLifelineFd");function B(e){const t=new q({fd:e,readable:!0,writable:!1});return t.unref(),t.resume(),{onEnd:o(n=>{t.on("end",n)},"onEnd"),onError:o(n=>{t.on("error",n)},"onError"),close:o(()=>{t.destroy()},"close")}}o(B,"openDescriptorChannel");function J(e){const t=e.env??process.env,n=e.warn??(c=>{process.stderr.write(c)}),d=e.open??B,s=W(t[m]);if(s.kind==="absent")return S;if(s.kind==="invalid")return n(`qbot-dsh: ${m}=${JSON.stringify(s.value)} is not a file descriptor number; host-lifeline shutdown is off
|
|
2
|
-
`),S;let i;try{i=d(s.fd)}catch(c){return n(`qbot-dsh: cannot observe ${m}=${String(s.fd)} (${O(c)}); host-lifeline shutdown is off
|
|
3
|
-
`),S}let a=!1;const l=o(()=>a?!1:(a=!0,i.close(),!0),"release");return i.onEnd(()=>{l()&&e.onHostGone()}),i.onError(c=>{const r=c.code??"";if(l()){if(V.has(r)){e.onHostGone();return}n(`qbot-dsh: ${m}=${String(s.fd)} failed (${O(c)}); host-lifeline shutdown is off and DSH keeps running
|
|
4
|
-
`)}}),{armed:!0,dispose:o(()=>{l()},"dispose")}}o(J,"installHostLifeline");function O(e){return e?.code??(e instanceof Error?e.message:String(e))}o(O,"describe");const K=_(new URL("../config/agent-presets/",import.meta.url)),p="qbot-dsh";function E(){return v($(),H)}o(E,"homePatchPath");const T=_(new URL("../package.json",import.meta.url)),y="session-telemetry-otel",X=`# qbot-dsh profile root — an empty entry list. The tree is composed as patches:
|
|
5
|
-
# each bundle in package.json's dsh.profile.bundles, then cordis.patch.yml, then any
|
|
6
|
-
# --patch overlays. Edit cordis.patch.yml, not this file.
|
|
7
|
-
[]
|
|
8
|
-
`,g="cordis.yml";function w(e,t){if(!((e??"")===""||!t))return{id:y,disabled:!0}}o(w,"resolveTelemetryPatch");function R(e,t=!0){const n=C(p,e,T,void 0,{userLayer:t});return I(v(n.dir,g),X),n}o(R,"prepareProfile");function z(e){return[...e.bundlePatches,...e.profile.patches,...e.homePatches,...e.overlays]}o(z,"allPatches");function Q(e,t){const n=R(e),d=P(p,E())??[],s=t.flatMap(r=>A(p,D(r))),i=n.layers.flatMap(r=>r.patches),a=new Map;for(const r of F([i,n.patches,d,s]))typeof r.id=="string"&&a.set(r.id,r);const l=[...s];a.has("agent-presets")&&l.push({id:"agent-presets",config:{...a.get("agent-presets")?.config??{},roots:[{path:K,trust:"system"}]}});const c=w(process.env.DSH_TELEMETRY_DISABLED,a.has(y));return c!==void 0&&l.push(c),{profile:n,bundlePatches:i,homePatches:d,overlays:l,rows:a}}o(Q,"composeProfile");function Z(e,t,n){if(!t.aborted&&!(e.fiber.state!==2||e.get("loader")===void 0))throw n}o(Z,"suppressShutdownError");async function ee(e){const t=Q(e.profile,e.patchFiles),n={},d={},s=j(async()=>{d.lifeline?.dispose(),await n.current?.fiber.dispose()}),i=new AbortController,a=o(u=>{i.abort(),s.interrupt(u)},"interrupt");process.on("SIGTERM",()=>{a(0)}),process.on("SIGINT",()=>{a(130)}),d.lifeline=J({onHostGone:o(()=>{a(0)},"onHostGone")}),k(p,process,async()=>{await n.current?.fiber.dispose()});const l=v(t.profile.dir,g),c=o(()=>structuredClone([...t.bundlePatches,...P(p,t.profile.patchPath)??[],...P(p,E())??[],...t.overlays]),"composeLive"),r=await M(p,l,structuredClone(z(t)),u=>{n.current=u,u.provide(U,e.environment),G(u,{args:e.args,exit:o(h=>{s.shutdown(h)},"exit"),...e.nativeProtocol===void 0?{}:{nativeProtocol:e.nativeProtocol}})});if(n.current=r,!i.signal.aborted&&r.fiber.state===2&&r.get("loader")!==void 0)try{r.get("hmr")===void 0&&(r.get("timer")===void 0&&await r.loader.create({name:"@deepseek-ai/cordis-plugin-timer"}),await r.loader.create({name:"@deepseek-ai/cordis-plugin-hmr",config:{root:[]}})),await b(r,{binName:p,filename:t.profile.patchPath,compose:c}),await b(r,{binName:p,filename:E(),compose:c})}catch(u){Z(r,i.signal,u)}return{ctx:r,shutdown:s}}o(ee,"runProfile");export{w as a,R as i,g as n,ee as o,E as r,T as t};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 DeepSeek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var u=Object.defineProperty;var n=(t,s)=>u(t,"name",{value:s,configurable:!0});import{Service as w}from"@deepseek-ai/cordis";const a={UNSPECIFIED:0,INPUT:1,OUTPUT:2,THINKING:3},o={PASS:10001,DELETE:30001,DELETE_AND_END:50001,PASS_AND_END:50002},c=n(t=>t===o.PASS,"isPhaseActionPass"),h=n((t,s)=>{const e=t[s];return typeof e=="number"&&Number.isFinite(e)?e:0},"readNumber"),r=n(t=>{const s=typeof t=="object"&&t!==null?t:{},e=s.session_id,i=s.fallback_msg;return{sessionId:typeof e=="string"?e:"",pass:s.pass===!0,fallbackMsg:typeof i=="string"?i:"",isShow:h(s,"is_show"),phaseAction:h(s,"phase_action")}},"parseReviewReply"),E=n((t,s,e)=>{if(s===a.INPUT&&!t.pass)return{fallbackMsg:`${t.phaseAction}${t.fallbackMsg}`,isShow:t.isShow,phaseAction:t.phaseAction};if(s===a.OUTPUT&&!c(t.phaseAction)){let i=t.fallbackMsg;return t.phaseAction===o.DELETE_AND_END?i=`${o.DELETE_AND_END}${i}`:t.phaseAction===o.PASS_AND_END&&(i=`${o.PASS_AND_END}${e}`),{fallbackMsg:i,isShow:t.isShow,phaseAction:t.phaseAction}}},"evaluateReview");var A=class extends Error{static{n(this,"ContentReviewFailedError")}code="CONTENT_REVIEW_FAILED";fallbackMsg;isShow;phaseAction;constructor(t){super("content review denied the submitted text"),this.name="ContentReviewFailedError",this.fallbackMsg=t.fallbackMsg,this.isShow=t.isShow,this.phaseAction=t.phaseAction}};const _="trpc_mtt_content_review_ContentReview",d="GetReviewResult";var N=class extends w{static{n(this,"ContentReview")}static inject=["qbAuth"];constructor(t){super(t,"contentReview")}async review(t){const s=await this.ctx.qbAuth.identity(),e=r(await this.ctx.qbAuth.rpc({servantName:_,funcName:d,body:{user_base_info:{guid:s.guid,qimei36:s.qimei36,qua2:s.qua2},session_id:t.sessionId??s.qimei36,text:t.text,audit_content_type:t.type}})),i=E(e,t.type,t.text);if(i!==void 0)throw new A(i);return{sessionId:e.sessionId}}};export{a as AuditContentType,_ as CONTENT_REVIEW_SERVANT,N as ContentReview,N as default,A as ContentReviewFailedError,d as GET_REVIEW_RESULT,o as PhaseAction,E as evaluateReview,c as isPhaseActionPass,r as parseReviewReply};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=Object.defineProperty;var n=(e,t)=>i(e,"name",{value:t,configurable:!0});const s="@deepseek-ai/dsh-content-review",a="content-review-invariant",o=["invariants"],r=n(()=>{},"install"),c=n(e=>Promise.resolve(e.invariants.register(s,r)),"apply");export{c as apply,o as inject,a as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-content-review","version":"0.1.0","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-qb-auth":"^0.1.0","@deepseek-ai/dsh-invariants":"^0.1.0","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 DeepSeek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var c=Object.defineProperty;var s=(t,e)=>c(t,"name",{value:e,configurable:!0});import{canonicalizeWatchPath as h,expandHomePath as u,resolveDshHome as l}from"@deepseek-ai/dsh-home-paths";import i from"@deepseek-ai/schemastery";import{mkdir as m}from"node:fs/promises";import{basename as d,dirname as f,isAbsolute as p,join as w,relative as g,resolve as b,sep as E}from"node:path";const n="com.apple.quarantine",x="home-quarantine-macos",P=i.object({root:i.string().pattern(/\S/)});function q(t,e){const r=g(t,e);return r===""||!p(r)&&r!==".."&&!r.startsWith(`..${E}`)}s(q,"isWithin");function v(t){if(t.root!==void 0)return b(u(t.root));const e=l(),r=f(e),a=w(r,"runtime","node");return d(e)==="dsh-home"&&q(a,process.execPath)?r:e}s(v,"resolveRoot");function y(t){const e=t?.code;if(e==="ENOENT"||e==="ENOTDIR"||e==="ENOATTR"||e==="ENODATA")return!0;const r=t instanceof Error?t.message:String(t);return/os error (?:2|61|93)\b/.test(r)}s(y,"isBenignRace");var A=class{static{s(this,"HomeQuarantineRuntime")}ctx;root;watcher;xattr;subscription;clears=new Set;pendingPaths=new Set;closed=!1;constructor(t,e,r,a){this.ctx=t,this.root=e,this.watcher=r,this.xattr=a}async start(){await m(this.root,{recursive:!0,mode:448});const t=await h(this.root);this.subscription=await this.watcher.subscribe(t,this.onEvents,{backend:"fs-events"})}async close(){this.closed=!0;let t;try{await this.subscription?.unsubscribe()}catch(e){t=e instanceof Error?e:new Error("home-quarantine-macos: watcher cleanup failed",{cause:e})}if(await Promise.all(this.clears),t!==void 0)throw t}onEvents=s((t,e)=>{if(!this.closed){if(t!==null){this.ctx.logger.warn("home-quarantine-macos: watcher error under %s: %s",this.root,t.message);return}for(const r of e)r.type==="create"&&this.queueClear(r)}},"onEvents");queueClear(t){if(this.pendingPaths.has(t.path))return;this.pendingPaths.add(t.path);const e=this.clear(t.path);this.clears.add(e),e.then(()=>{this.pendingPaths.delete(t.path),this.clears.delete(e)},()=>{this.pendingPaths.delete(t.path),this.clears.delete(e)})}async clear(t){try{if(!(await this.xattr.listAttributes(t)).includes(n)||this.closed)return;await this.xattr.removeAttribute(t,n)}catch(e){if(y(e)||this.closed)return;this.ctx.logger.warn("home-quarantine-macos: failed to clear quarantine from %s",t),this.ctx.logger.warn(e)}}};async function R(t,e={}){if(process.platform!=="darwin")return;const[r,a]=await Promise.all([import("@parcel/watcher"),import("@napi-rs/xattr")]);await t.effect(async()=>{const o=new A(t,v(e),r,a);return await o.start(),()=>o.close()},"home-quarantine-macos: watch-root watcher")}s(R,"apply");export{P as Config,R as apply,x as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s=Object.defineProperty;var a=(n,e)=>s(n,"name",{value:e,configurable:!0});const t="@deepseek-ai/dsh-home-quarantine-macos",i="home-quarantine-macos-invariant",o=["invariants"],r=a(()=>{},"install"),c=a(n=>Promise.resolve(n.invariants.register(t,r)),"apply");export{c as apply,o as inject,i as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-home-quarantine-macos","version":"0.1.0","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":{"@napi-rs/xattr":"^1.0.3","@parcel/watcher":"^2.6.0","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-home-paths":"^0.1.0","@deepseek-ai/dsh-invariants":"^0.1.0"}}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 DeepSeek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var oe=Object.defineProperty;var o=(e,t)=>oe(e,"name",{value:t,configurable:!0});import{randomBytes as M}from"node:crypto";import{createServer as se,request as ie}from"node:http";import{Service as q}from"@deepseek-ai/cordis";import{AuditContentType as F,ContentReviewFailedError as ce}from"@deepseek-ai/dsh-content-review";import{credentialRef as K}from"@deepseek-ai/dsh-credentials";import c from"@deepseek-ai/schemastery";import{BUS_IDENTIFIER as le,QbAuthExpiredError as ue,QbTokenExhaustedError as de}from"@deepseek-ai/dsh-qb-auth";import{request as he}from"node:https";import{StringDecoder as fe}from"node:string_decoder";const G="DSH_QB_GATEWAY_KEY";var P=class extends Error{static{o(this,"GatewayConfigError")}code="GATEWAY_CONFIG_INVALID";constructor(e,t){super(e,t),this.name="GatewayConfigError"}};const ye=o(e=>{let t;try{t=new URL(e)}catch(n){throw new P(`llm-gateway: upstream.baseURL is not a URL: ${e}`,{cause:n})}if(t.protocol!=="http:"&&t.protocol!=="https:")throw new P(`llm-gateway: upstream.baseURL must be http or https, found ${t.protocol}`);const r=t.protocol==="https:"?443:80;return{protocol:t.protocol,hostname:t.hostname,port:t.port===""?r:Number(t.port),basePath:t.pathname.replace(/\/+$/,""),hostHeader:t.host}},"resolveUpstream"),V=o(e=>{const t=e.auth.kind==="credential"?(()=>{if(e.auth.ref==="")throw new P('llm-gateway: auth.kind "credential" requires auth.ref');return{kind:"credential",ref:e.auth.ref}})():{kind:"qb-encode-token"};if(e.keyRef==="")throw new P("llm-gateway: keyRef must name a credential reference");return{host:e.host,port:e.port,upstream:ye(e.upstream.baseURL),timeoutMs:e.upstream.timeoutMs,auth:t,review:{...e.review},keyRef:e.keyRef,generateKey:e.generateKey,maxRequestBytes:e.maxRequestBytes,modelMap:{...e.modelMap}}},"resolveSpec"),Y=new Set(["host","connection","keep-alive","transfer-encoding","upgrade","te","trailer","proxy-authorization","proxy-authenticate","proxy-connection"]),pe=o(e=>{let t;try{t=decodeURIComponent(e)}catch{return!0}return t.split("/").some(r=>r===".."||r===".")},"hasDotSegment"),me=o((e,t)=>{const r=e.indexOf("?"),n=r===-1?e:e.slice(0,r),a=r===-1?"":e.slice(r);if(!n.startsWith("/"))return{ok:!1,reason:"malformed"};if(pe(n))return{ok:!1,reason:"traversal"};if(!n.startsWith("/v1/"))return{ok:!1,reason:"not-v1"};const s=`${t}${n.slice(3)}`;return s.startsWith(t)?{ok:!0,path:`${s===""?"/":s}${a}`}:{ok:!1,reason:"traversal"}},"mapUpstreamPath"),ge=o((e,t,r)=>{const n={};for(const[a,s]of Object.entries(e))s!==void 0&&(Y.has(a.toLowerCase())||(n[a]=s));n.host=t.hostHeader;for(const[a,s]of Object.entries(r))n[a]=s;return n},"buildForwardHeaders"),we=o(e=>(e.target.protocol==="https:"?he:ie)({protocol:e.target.protocol,hostname:e.target.hostname,port:e.target.port,path:e.path,method:e.method,headers:e.headers,timeout:e.timeoutMs}),"openUpstreamRequest"),p={INVALID_REQUEST:"invalid_request_error",AUTH:"authentication_error",SERVER:"server_error",CONTENT_FILTER:"content_filter",INSUFFICIENT_QUOTA:"insufficient_quota",UPSTREAM:"upstream_error"},d={NOT_FOUND:"not_found",MISSING_API_KEY:"missing_api_key",INVALID_API_KEY:"invalid_api_key",BAD_REQUEST:"bad_request",AUTH_EXPIRED:"auth_expired",TOKEN_FETCH_ERROR:"token_fetch_error",PROXY_ERROR:"proxy_error",GATEWAY_TIMEOUT:"gateway_timeout",CONTENT_REVIEW_FAILED_INPUT:"content_review_failed_input",CONTENT_REVIEW_FAILED_OUTPUT:"content_review_failed_output",CONTENT_REVIEW_FAILED_OUTPUT_PARTIAL:"content_review_failed_output_partial",TOKEN_EXHAUSTED:"token_exhausted",UPSTREAM_UNAVAILABLE:"upstream_unavailable"},Ee="Auto",B="当前使用人数较多,请稍后再试",H="抱歉,暂时无法回答该问题",_e="输入内容包含违规信息,请修改后重试。",j=o(()=>`chatcmpl-${M(12).toString("hex")}`,"completionId"),W=o(()=>Math.floor(Date.now()/1e3),"createdAt"),I=o((e,t,r,n,a,s)=>{const l=JSON.stringify({error:{message:r,type:n,code:a,...s??{}}});e.writeHead(t,{"Content-Type":"application/json","Content-Length":Buffer.byteLength(l)}),e.end(l)},"sendOpenAIError"),ve=o((e,t,r)=>{const n=JSON.stringify({id:j(),object:"chat.completion",created:W(),model:r,choices:[{index:0,message:{role:"assistant",content:t},finish_reason:"stop"}],usage:{prompt_tokens:0,completion_tokens:0,total_tokens:0}});e.writeHead(200,{"Content-Type":"application/json","Content-Length":Buffer.byteLength(n)}),e.end(n)},"sendOpenAIResponse"),Ae=o((e,t,r)=>{if(!e.writable)return;const n=j(),a=W();e.write(`data: ${JSON.stringify({id:n,object:"chat.completion.chunk",created:a,model:r,choices:[{index:0,delta:{role:"assistant",content:t},finish_reason:null}]})}
|
|
2
|
-
|
|
3
|
-
`),e.write(`data: ${JSON.stringify({id:n,object:"chat.completion.chunk",created:a,model:r,choices:[{index:0,delta:{},finish_reason:"stop"}]})}
|
|
4
|
-
|
|
5
|
-
`),e.write(`data: [DONE]
|
|
6
|
-
|
|
7
|
-
`),e.end()},"writeSSEMessageAndEnd"),L=o((e,t,r,n,a)=>{e.writable&&(e.write(`data: ${JSON.stringify({error:{message:t,type:r,code:n,...a??{}}})}
|
|
8
|
-
|
|
9
|
-
`),e.write(`data: [DONE]
|
|
10
|
-
|
|
11
|
-
`),e.end())},"writeSSEErrorAndEnd"),C=o((e,t)=>{if(!t.isStream||!e.headersSent){if(e.headersSent){e.end();return}I(e,t.httpStatus,t.message,t.type,t.code,t.extra);return}L(e,t.message,t.type,t.code,t.extra)},"respondOpenAIError"),S=o((e,t)=>{if(!(typeof e!="object"||e===null))return e[t]},"child$1"),Q=o((e,t)=>{const r=S(e,t);return Array.isArray(r)?r:[]},"childArray"),J=o(e=>{const t=Q(e,"choices")[0],r=S(t,"delta");if(r==null)return{content:"",hasToolCalls:!1};const n=S(r,"content"),a=S(r,"function_call");return{content:typeof n=="string"?n:"",hasToolCalls:Q(r,"tool_calls").length>0||a!=null}},"extractDelta"),z=o(e=>S(e,"type")==="upstream_error"||S(S(e,"error"),"type")==="upstream_error","isUpstreamError"),X=o(e=>{const t=S(e,"reqid");if(typeof t=="string")return t;const r=S(S(e,"error"),"reqid");return typeof r=="string"?r:""},"readUpstreamReqid");var Te=class{static{o(this,"SseLineReader")}decoder=new fe("utf8");buffer="";read(e){this.buffer+=this.decoder.write(e).replace(/\r\n?/g,`
|
|
12
|
-
`);const t=this.buffer.split(`
|
|
13
|
-
`);return this.buffer=t.pop()??"",t}get remainder(){return this.buffer}};const Z=o(e=>{const t=e.trim();return t===""?{kind:"blank"}:t==="data: [DONE]"?{kind:"done"}:t.startsWith("data: ")?{kind:"data",payload:t.slice(6)}:{kind:"other"}},"classifySseLine"),ee=o(e=>{try{return JSON.parse(e)}catch{return}},"parseSsePayload"),Re=o(e=>{const{res:t,upstream:r,logger:n,requestId:a}=e,s=new Te;let l=[],_=0,h="",m="",E=!1,g=!1,A=!1,y=!1,v=!1,k=Promise.resolve();const N=o(()=>!y&&t.writable,"canContinue"),O=o(u=>{t.write(`data: ${u}
|
|
14
|
-
|
|
15
|
-
`)},"writePayload"),b=o(()=>{if(l.length!==0){for(const u of l)O(u);A=!0,l=[],_=0}},"flush"),$=o(()=>{l=[],_=0},"discard"),T=o(u=>{y=!0,$();const i=A?d.CONTENT_REVIEW_FAILED_OUTPUT_PARTIAL:d.CONTENT_REVIEW_FAILED_OUTPUT;n.debug(`llm-gateway[${a}]: output review denied the turn (partial=${String(A)})`),L(t,u.fallbackMsg,p.CONTENT_FILTER,i,u.extra),r.destroy()},"denyOutput"),x=o(async()=>{const u=h;h="";const i=e.reviewOutput;if(i===void 0||u===""){b();return}r.pause();try{const f=await i(u);if(y)return;if(f!==void 0){T(f);return}b()}catch(f){n.warn(`llm-gateway[${a}]: output review unavailable, releasing buffered output (${f instanceof Error?f.name:"unknown error"})`),b()}finally{!y&&!r.destroyed&&r.resume()}},"reviewAccumulated"),R=o(()=>{v=!0,k=x().finally(()=>{v=!1}),k.catch(u=>{n.warn(`llm-gateway[${a}]: stream gate review failed unexpectedly: ${u instanceof Error?u.message:String(u)}`)})},"runReview");r.on("data",u=>{if(N()){for(const i of s.read(u)){const f=Z(i);if(f.kind==="done"){g=!0;continue}if(f.kind!=="data")continue;const U=ee(f.payload);if(z(U)){y=!0,$(),n.warn(`llm-gateway[${a}]: upstream reported a dependency failure (reqid=${X(U)})`),L(t,B,p.UPSTREAM,d.UPSTREAM_UNAVAILABLE),r.destroy();return}if(l.push(f.payload),_+=Buffer.byteLength(f.payload),U!==void 0){const D=J(U);h+=D.content,m+=D.content,D.hasToolCalls&&(E=!0)}}if(_>e.maxPendingBytes){y=!0,$(),n.warn(`llm-gateway[${a}]: buffered output exceeded maxPendingBytes (${String(e.maxPendingBytes)}); ending the turn`),L(t,B,p.UPSTREAM,d.UPSTREAM_UNAVAILABLE),r.destroy();return}if(h.length>=e.thresholdChars&&!v){R();return}e.reviewOutput===void 0&&b()}}),r.on("end",()=>{(async()=>{if(v&&await k,!N())return;const u=s.remainder;if(u.trim()!==""){const i=Z(u);if(i.kind==="data"){const f=ee(i.payload);if(f!==void 0){const U=J(f);h+=U.content,m+=U.content,U.hasToolCalls&&(E=!0)}l.push(i.payload)}else i.kind==="done"&&(g=!0)}if(h!==""&&await x(),!!N()){if(b(),m===""&&!E){n.debug(`llm-gateway[${a}]: upstream produced no output; sending the standard notice`),Ae(t,H,e.model);return}g&&t.write(`data: [DONE]
|
|
16
|
-
|
|
17
|
-
`),t.end()}})()})},"runStreamGate"),w=o((e,t)=>{if(!(typeof e!="object"||e===null))return e[t]},"child"),Se=o(e=>{const t=e.authorization;if(typeof t!="string")return;const r=/^Bearer\s+(.+)$/i.exec(t);return r===null?void 0:r[1]},"extractBearerToken"),ke=o((e,t)=>new Promise((r,n)=>{const a=[];let s=0;e.on("data",l=>{if(s+=l.length,s>t){n(new Error(`request body exceeds ${String(t)} bytes`)),e.destroy();return}a.push(l)}),e.once("end",()=>{r(Buffer.concat(a))}),e.once("error",n)}),"readRequestBody"),Ie=o(e=>{const t=[];for(const r of e){if(w(r,"role")!=="user")continue;const n=w(r,"content");if(typeof n=="string"){n.length>0&&t.push(n);continue}if(Array.isArray(n))for(const a of n){const s=w(a,"text");w(a,"type")==="text"&&typeof s=="string"&&s.length>0&&t.push(s)}}return t},"collectUserTexts"),be=o(e=>{let t=-1;for(let r=e.length-1;r>=0;r-=1)if(w(e[r],"role")==="user"){t=r;break}return t<0?!1:e.slice(t+1).some(r=>w(r,"role")==="tool")},"hasToolMessageAfterLastUser"),xe=o(e=>{const t=w(e,"choices");if(!Array.isArray(t))return{texts:[],hasToolCalls:!1};const r=[];let n=!1;for(const a of t){const s=w(a,"message"),l=w(s,"content");typeof l=="string"&&l.length>0&&r.push(l);const _=w(s,"tool_calls"),h=w(s,"function_call");(Array.isArray(_)&&_.length>0||h!=null)&&(n=!0)}return{texts:r,hasToolCalls:n}},"collectReplyTexts"),te=o(e=>{const t={};for(const[r,n]of Object.entries(e))n!==void 0&&(Y.has(r.toLowerCase())||(t[r]=n));return t},"relayResponseHeaders"),Ue=o(()=>Math.random().toString(36).slice(2,10),"newRequestId"),Ne=o(async(e,t,r)=>{const{spec:n,logger:a}=r,s=Ue(),l=e.url??"/",_=e.method??"GET",h=me(l,n.upstream.basePath);if(!h.ok){a.debug(`llm-gateway[${s}]: refusing ${_} target (${h.reason})`);const i=h.reason==="not-v1"?404:400,f=h.reason==="not-v1"?d.NOT_FOUND:d.BAD_REQUEST;I(t,i,h.reason==="not-v1"?"Not Found":"Bad Request",p.INVALID_REQUEST,f);return}const m=Se(e.headers);if(m===void 0){I(t,401,"You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth.",p.INVALID_REQUEST,d.MISSING_API_KEY);return}const E=await r.expectedKey();if(E===void 0||E===""||m!==E){I(t,401,"Incorrect API key provided. You can check your API key in the proxy configuration.",p.INVALID_REQUEST,d.INVALID_API_KEY);return}let g;try{g=await ke(e,n.maxRequestBytes)}catch(i){a.warn(`llm-gateway[${s}]: cannot read the request body: ${i instanceof Error?i.message:"unknown error"}`),t.headersSent||I(t,400,"Failed to read request body",p.INVALID_REQUEST,d.BAD_REQUEST);return}const A=l.includes("/chat/completions");let y,v=!1;if(A&&g.length>0)try{y=JSON.parse(g.toString("utf-8")),v=w(y,"stream")===!0}catch{}const k=w(y,"model"),N=typeof k=="string"&&k!==""?k:Ee;let O=g;const b=typeof k=="string"?n.modelMap[k]:void 0;b!==void 0&&typeof y=="object"&&y!==null&&(O=Buffer.from(JSON.stringify({...y,model:b}),"utf-8"));const $=w(y,"messages");if(r.reviewInput!==void 0&&A&&Array.isArray($)){const i=await Oe($,r,s);if(i!==void 0){C(t,{isStream:v,httpStatus:400,message:i.fallbackMsg===""?_e:i.fallbackMsg,type:p.CONTENT_FILTER,code:d.CONTENT_REVIEW_FAILED_INPUT,extra:i.extra});return}}let T;try{T=await r.upstreamAuth()}catch(i){C(t,$e(i,v)),a.warn(`llm-gateway[${s}]: cannot obtain upstream credentials: ${i instanceof Error?i.name:"unknown error"}`);return}const x={authorization:T.authorization,bus:le};T.guid!==""&&(x.guid=T.guid),T.qimei36!==""&&(x.qimei36=T.qimei36),T.qua2!==""&&(x.qua2=T.qua2),O!==g&&(x["content-length"]=String(O.length));const R=we({target:n.upstream,method:_,path:h.path,headers:ge(e.headers,n.upstream,x),timeoutMs:n.timeoutMs}),u=r.track(R);R.on("response",i=>{const f=i.statusCode??502;if((i.headers["content-type"]??"").includes("text/event-stream")||v){t.writeHead(f,te(i.headers)),Re({res:t,upstream:i,model:N,thresholdChars:n.review.thresholdChars,maxPendingBytes:n.review.maxPendingBytes,reviewOutput:r.reviewOutput,logger:a,requestId:s});return}Pe({upstream:i,res:t,status:f,deps:r,requestId:s,modelLabel:N,isChatCompletions:A})}),R.on("timeout",()=>{a.warn(`llm-gateway[${s}]: upstream timed out after ${String(n.timeoutMs)}ms`),R.destroy(),C(t,{isStream:v,httpStatus:504,message:"Gateway Timeout",type:p.SERVER,code:d.GATEWAY_TIMEOUT})}),R.on("error",i=>{a.warn(`llm-gateway[${s}]: upstream request failed: ${i.message}`),C(t,{isStream:v,httpStatus:502,message:`Bad Gateway: ${i.message}`,type:p.SERVER,code:d.PROXY_ERROR})}),R.once("close",u),t.once("close",()=>{t.writableEnded||R.destroy()}),R.end(O)},"handleRequest"),Oe=o(async(e,t,r)=>{if(be(e)){t.logger.debug(`llm-gateway[${r}]: tool continuation; input already reviewed this turn`);return}const n=Ie(e).at(-1);if(n===void 0)return;const a=t.reviewInput;if(a!==void 0)try{return await a(n)}catch(s){t.logger.warn(`llm-gateway[${r}]: input review unavailable, forwarding anyway (${s instanceof Error?s.name:"unknown error"})`);return}},"reviewLastUserMessage"),$e=o((e,t)=>e instanceof de?{isStream:t,httpStatus:429,message:e.message,type:p.INSUFFICIENT_QUOTA,code:d.TOKEN_EXHAUSTED}:e instanceof ue?{isStream:t,httpStatus:401,message:`Auth token expired: ${e.message}`,type:p.AUTH,code:d.AUTH_EXPIRED}:{isStream:t,httpStatus:500,message:`${e instanceof Error?e.message:"unknown error"}`,type:p.SERVER,code:d.TOKEN_FETCH_ERROR},"classifyAuthFailure"),Pe=o(e=>{const{upstream:t,res:r,status:n,deps:a,requestId:s,modelLabel:l,isChatCompletions:_}=e,h=[];t.on("data",m=>{h.push(m)}),t.once("error",m=>{if(a.logger.warn(`llm-gateway[${s}]: reading the upstream reply failed: ${m.message}`),!r.headersSent){I(r,502,`Bad Gateway: ${m.message}`,p.SERVER,d.PROXY_ERROR);return}r.end()}),t.once("end",()=>{(async()=>{const m=Buffer.concat(h);let E;if(_)try{E=JSON.parse(m.toString("utf-8"))}catch{}if(z(E)){if(a.logger.warn(`llm-gateway[${s}]: upstream reported a dependency failure (reqid=${X(E)})`),!r.headersSent){I(r,503,B,p.UPSTREAM,d.UPSTREAM_UNAVAILABLE);return}r.end();return}if(E!==void 0){const g=xe(E);if(g.texts.length===0&&!g.hasToolCalls){if(a.logger.debug(`llm-gateway[${s}]: upstream produced no output; sending the standard notice`),!r.headersSent){ve(r,H,l);return}r.end();return}const A=a.reviewOutput;if(A!==void 0&&g.texts.length>0){const y=await Le(A,g.texts.join(""),a,s);if(y!==void 0){if(!r.headersSent){I(r,400,y.fallbackMsg,p.CONTENT_FILTER,d.CONTENT_REVIEW_FAILED_OUTPUT,y.extra);return}r.end();return}}}if(r.headersSent){r.end();return}r.writeHead(n,te(t.headers)),r.end(m)})()})},"relayBufferedResponse"),Le=o(async(e,t,r,n)=>{try{return await e(t)}catch(a){r.logger.warn(`llm-gateway[${n}]: output review unavailable, relaying the reply (${a instanceof Error?a.name:"unknown error"})`);return}},"reviewOutputText");var re=class extends Error{static{o(this,"GatewayListenError")}code="GATEWAY_LISTEN_FAILED";constructor(e){super(`llm-gateway: failed to listen: ${e.message}`,{cause:e}),this.name="GatewayListenError"}},ne=class extends Error{static{o(this,"GatewayKeyError")}code="GATEWAY_KEY_UNWRITABLE";constructor(e,t){super(`llm-gateway: cannot store the gateway key in "${e}": a read-only source${t===void 0?"":` (${t})`} already supplies it. Point keyRef at an unused reference, or set generateKey to false to authenticate against the value that source provides.`),this.name="GatewayKeyError"}};const Ce=o(e=>{if(e instanceof ce)return{fallbackMsg:e.fallbackMsg,extra:{phase_action:e.phaseAction,is_show:e.isShow}}},"toReviewDenial");var ae=class extends q{static{o(this,"LlmGateway")}static inject=["credentials","qbAuth","contentReview"];static Config=c.object({host:c.union([c.const("127.0.0.1"),c.const("0.0.0.0")]).default("127.0.0.1"),port:c.natural().max(65535).default(0),upstream:c.object({baseURL:c.string().required(),timeoutMs:c.natural().min(1e3).max(6e5).default(12e4)}),auth:c.object({kind:c.union([c.const("qb-encode-token"),c.const("credential")]).default("qb-encode-token"),ref:c.string().role("credential-ref").default("")}),review:c.object({input:c.boolean().default(!0),output:c.boolean().default(!0),thresholdChars:c.natural().min(1).default(100),maxPendingBytes:c.natural().min(1024).default(4194304)}),keyRef:c.string().role("credential-ref").default(G),maxRequestBytes:c.natural().min(1024).default(33554432),generateKey:c.boolean().default(!0),modelMap:c.dict(c.string()).default({})});spec;keyRef;inFlight=new Set;server;listenedPort;localKey;keyStored=!1;constructor(e,t){super(e,"llmGateway"),this.spec=V(t),this.keyRef=K(this.spec.keyRef)}get port(){return this.listenedPort}get host(){return this.spec.host}get baseURL(){return`http://${this.spec.host}:${String(this.listenedPort)}/v1`}inspect(){return{inFlight:this.inFlight.size,keyStored:this.keyStored}}async[q.init](){await this.establishKey();const e=this.buildDeps();this.server=se((t,r)=>{Ne(t,r,e).catch(n=>{if(this.ctx.logger.warn(`llm-gateway: request handling failed: ${n instanceof Error?n.message:String(n)}`),r.headersSent){r.destroy();return}I(r,500,"Internal gateway error",p.SERVER,d.PROXY_ERROR)})}),await new Promise((t,r)=>{const n=o(a=>{r(new re(a))},"rejectListen");this.server.once("error",n),this.server.listen(this.spec.port,this.spec.host,()=>{this.server.off("error",n),this.server.on("error",a=>{this.ctx.logger.error(a)}),this.listenedPort=this.server.address().port,t()})}),this.ctx.effect(()=>async()=>{for(const r of this.inFlight)r.destroy();this.inFlight.clear();const t=new Promise(r=>{this.server.close(()=>{r()})});this.server.closeAllConnections(),await t,await this.retractKey()},"llmGateway.listen")}async establishKey(){if(!this.spec.generateKey)return;const e=await this.ctx.credentials.describe(this.keyRef);if(!e.writable)throw new ne(this.spec.keyRef,e.source);const t=M(32).toString("base64url");await this.ctx.credentials.set(this.keyRef,t),this.localKey=t,this.keyStored=!0}async retractKey(){if(this.keyStored){this.keyStored=!1,this.localKey=void 0;try{await this.ctx.credentials.unset(this.keyRef)}catch(e){this.ctx.logger.warn(`llm-gateway: could not remove the gateway key from "${this.spec.keyRef}": ${e instanceof Error?e.message:String(e)}`)}}}buildDeps(){return{spec:this.spec,logger:{debug:o(e=>{this.ctx.logger.debug(e)},"debug"),warn:o(e=>{this.ctx.logger.warn(e)},"warn")},expectedKey:o(async()=>{const e=this.localKey;return e!==void 0?e:(await this.ctx.credentials.resolve(this.keyRef))?.value},"expectedKey"),upstreamAuth:o(async()=>this.resolveUpstreamAuth(),"upstreamAuth"),reviewInput:this.spec.review.input?e=>this.review(e,F.INPUT):void 0,reviewOutput:this.spec.review.output?e=>this.review(e,F.OUTPUT):void 0,track:o(e=>(this.inFlight.add(e),()=>{this.inFlight.delete(e)}),"track")}}async resolveUpstreamAuth(){const e=this.spec.auth;switch(e.kind){case"qb-encode-token":{const t=await this.ctx.qbAuth.llmToken(),r=await this.ctx.qbAuth.identity();return{authorization:`Bearer ${t}`,guid:r.guid,qimei36:r.qimei36,qua2:r.qua2}}case"credential":{const t=await this.ctx.credentials.resolve(K(e.ref));if(t===void 0)throw new Error(`llm-gateway: credential "${e.ref}" is not configured`);return{authorization:`Bearer ${t.value}`,guid:"",qimei36:"",qua2:""}}default:throw new Error(`llm-gateway: unhandled auth strategy ${JSON.stringify(e)}`)}}async review(e,t){try{await this.ctx.contentReview.review({text:e,type:t});return}catch(r){const n=Ce(r);if(n!==void 0)return n;throw r}}};export{G as DEFAULT_KEY_REF,d as ErrorCode,p as ErrorType,P as GatewayConfigError,ne as GatewayKeyError,re as GatewayListenError,ae as LlmGateway,ae as default,V as resolveSpec};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=Object.defineProperty;var a=(e,t)=>i(e,"name",{value:t,configurable:!0});const r="@deepseek-ai/dsh-llm-gateway-openai",s="llm-gateway-openai-invariant",l=["invariants"],o=a((e,t)=>{e.on("internal/plugin",()=>{const n=e.get("llmGateway");n!==void 0&&n.inspect().inFlight<0&&t("llmGateway reported a negative in-flight upstream count — request registration and deregistration diverged")},{global:!0})},"install"),g=a(e=>Promise.resolve(e.invariants.register(r,o)),"apply");export{g as apply,l as inject,s as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-llm-gateway-openai","version":"0.1.0","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/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0","@deepseek-ai/dsh-credentials":"^0.1.0","@deepseek-ai/dsh-qb-auth":"^0.1.0","@deepseek-ai/dsh-content-review":"^0.1.0"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 DeepSeek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|