@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,6 +1,6 @@
|
|
|
1
|
-
var $=Object.defineProperty;var s=(t,e)=>$(t,"name",{value:e,configurable:!0});import{createProvider as W}from"../models.js";import{createAssistantMessageEventStream as N}from"../utils/event-stream.js";const A="faux",I="faux",C="faux-1",z="Faux Model",j="http://localhost:0",O=3,S=5,
|
|
2
|
-
`)}s(
|
|
3
|
-
`)}s(
|
|
4
|
-
`)}s(K,"toolResultToText");function B(t){return t.role==="user"?
|
|
1
|
+
var $=Object.defineProperty;var s=(t,e)=>$(t,"name",{value:e,configurable:!0});import{createProvider as W}from"../models.js";import{createAssistantMessageEventStream as N}from"../utils/event-stream.js";const A="faux",I="faux",C="faux-1",z="Faux Model",j="http://localhost:0",O=3,S=5,w={input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}};export function fauxText(t){return{type:"text",text:t}}s(fauxText,"fauxText");export function fauxThinking(t){return{type:"thinking",thinking:t}}s(fauxThinking,"fauxThinking");export function fauxToolCall(t,e,o={}){return{type:"toolCall",id:o.id??b("tool"),name:t,arguments:e}}s(fauxToolCall,"fauxToolCall");function J(t){return typeof t=="string"?[fauxText(t)]:Array.isArray(t)?t:[t]}s(J,"normalizeFauxAssistantContent");export function fauxAssistantMessage(t,e={}){return{role:"assistant",content:J(t),api:A,provider:I,model:C,usage:w,stopReason:e.stopReason??"stop",errorMessage:e.errorMessage,responseId:e.responseId,timestamp:e.timestamp??Date.now()}}s(fauxAssistantMessage,"fauxAssistantMessage");function y(t){return Math.ceil(t.length/4)}s(y,"estimateTokens");function b(t){return`${t}:${Date.now()}:${Math.random().toString(36).slice(2)}`}s(b,"randomId");function v(t){return typeof t=="string"?t:t.map(e=>e.type==="text"?e.text:`[image:${e.mimeType}:${e.data.length}]`).join(`
|
|
2
|
+
`)}s(v,"contentToText");function F(t){return t.map(e=>e.type==="text"?e.text:e.type==="thinking"?e.thinking:`${e.name}:${JSON.stringify(e.arguments)}`).join(`
|
|
3
|
+
`)}s(F,"assistantContentToText");function K(t){return[t.toolName,...t.content.map(e=>v([e]))].join(`
|
|
4
|
+
`)}s(K,"toolResultToText");function B(t){return t.role==="user"?v(t.content):t.role==="assistant"?F(t.content):K(t)}s(B,"messageToText");function Z(t){const e=[];t.systemPrompt&&e.push(`system:${t.systemPrompt}`);for(const o of t.messages)e.push(`${o.role}:${B(o)}`);return t.tools?.length&&e.push(`tools:${JSON.stringify(t.tools)}`),e.join(`
|
|
5
5
|
|
|
6
|
-
`)}s(Z,"serializeContext");function G(t,e){const o=Math.min(t.length,e.length);let r=0;for(;r<o&&t[r]===e[r];)r++;return r}s(G,"commonPrefixLength");function L(t,e,o,r){const u=Z(e),
|
|
6
|
+
`)}s(Z,"serializeContext");function G(t,e){const o=Math.min(t.length,e.length);let r=0;for(;r<o&&t[r]===e[r];)r++;return r}s(G,"commonPrefixLength");function L(t,e,o,r){const u=Z(e),l=y(u),n=y(F(t.content));let a=l,c=0,p=0;const d=o?.sessionId;if(d&&o?.cacheRetention!=="none"){const g=r.get(d);if(g){const T=G(g,u);c=y(g.slice(0,T)),p=y(u.slice(T)),a=Math.max(0,l-c)}else p=l;r.set(d,u)}return{...t,usage:{input:a,output:n,cacheRead:c,cacheWrite:p,totalTokens:a+n+c+p,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}}}}s(L,"withUsageEstimate");function k(t,e,o){const r=[];let u=0;for(;u<t.length;){const l=e+Math.floor(Math.random()*(o-e+1)),n=Math.max(1,l*4);r.push(t.slice(u,u+n)),u+=n}return r.length>0?r:[""]}s(k,"splitStringByTokenSize");function V(t,e,o,r){const u=structuredClone(t);return{...u,api:e,provider:o,model:r,timestamp:u.timestamp??Date.now(),usage:u.usage??w}}s(V,"cloneMessage");function U(t,e,o,r){return{role:"assistant",content:[],api:e,provider:o,model:r,usage:w,stopReason:"error",errorMessage:t instanceof Error?t.message:String(t),timestamp:Date.now()}}s(U,"createErrorMessage");function R(t){return{...t,stopReason:"aborted",errorMessage:"Request was aborted",timestamp:Date.now()}}s(R,"createAbortedMessage");function D(t,e){if(!e||e<=0)return new Promise(r=>queueMicrotask(r));const o=y(t)/e*1e3;return new Promise(r=>setTimeout(r,o))}s(D,"scheduleChunk");async function X(t,e,o,r,u,l){const n={...e,content:[]};if(l?.aborted){const a=R(n);t.push({type:"error",reason:"aborted",error:a}),t.end(a);return}t.push({type:"start",partial:{...n}});for(let a=0;a<e.content.length;a++){if(l?.aborted){const p=R(n);t.push({type:"error",reason:"aborted",error:p}),t.end(p);return}const c=e.content[a];if(c.type==="thinking"){n.content=[...n.content,{type:"thinking",thinking:""}],t.push({type:"thinking_start",contentIndex:a,partial:{...n}});for(const p of k(c.thinking,o,r)){if(await D(p,u),l?.aborted){const d=R(n);t.push({type:"error",reason:"aborted",error:d}),t.end(d);return}n.content[a].thinking+=p,t.push({type:"thinking_delta",contentIndex:a,delta:p,partial:{...n}})}t.push({type:"thinking_end",contentIndex:a,content:c.thinking,partial:{...n}});continue}if(c.type==="text"){n.content=[...n.content,{type:"text",text:""}],t.push({type:"text_start",contentIndex:a,partial:{...n}});for(const p of k(c.text,o,r)){if(await D(p,u),l?.aborted){const d=R(n);t.push({type:"error",reason:"aborted",error:d}),t.end(d);return}n.content[a].text+=p,t.push({type:"text_delta",contentIndex:a,delta:p,partial:{...n}})}t.push({type:"text_end",contentIndex:a,content:c.text,partial:{...n}});continue}n.content=[...n.content,{type:"toolCall",id:c.id,name:c.name,arguments:{}}],t.push({type:"toolcall_start",contentIndex:a,partial:{...n}});for(const p of k(JSON.stringify(c.arguments),o,r)){if(await D(p,u),l?.aborted){const d=R(n);t.push({type:"error",reason:"aborted",error:d}),t.end(d);return}t.push({type:"toolcall_delta",contentIndex:a,delta:p,partial:{...n}})}n.content[a].arguments=c.arguments,t.push({type:"toolcall_end",contentIndex:a,toolCall:c,partial:{...n}})}if(e.stopReason==="error"||e.stopReason==="aborted"){t.push({type:"error",reason:e.stopReason,error:e}),t.end(e);return}t.push({type:"done",reason:e.stopReason,message:e}),t.end(e)}s(X,"streamWithDeltas");export function createFauxCore(t){const e=t.api??b(A),o=t.provider??I,r=Math.max(1,Math.min(t.tokenSize?.min??O,t.tokenSize?.max??S)),u=Math.max(r,t.tokenSize?.max??S);let l=[];const n=t.tokensPerSecond,a={callCount:0},c=new Map,d=(t.models?.length?t.models:[{id:C,name:z,reasoning:!1,input:["text","image"],cost:{input:0,output:0,cacheRead:0,cacheWrite:0},contextWindow:128e3,maxTokens:16384}]).map(i=>({id:i.id,name:i.name??i.id,api:e,provider:o,baseUrl:j,reasoning:i.reasoning??!1,input:i.input??["text","image"],cost:i.cost??{input:0,output:0,cacheRead:0,cacheWrite:0},contextWindow:i.contextWindow??128e3,maxTokens:i.maxTokens??16384})),g=s((i,h,f)=>{const x=N(),M=l.shift();return a.callCount++,queueMicrotask(async()=>{try{if(await f?.onResponse?.({status:200,headers:{}},i),!M){let _=U(new Error("No more faux responses queued"),e,o,i.id);_=L(_,h,f,c),x.push({type:"error",reason:"error",error:_}),x.end(_);return}const E=typeof M=="function"?await M(h,f,a,i):M;let m=V(E,e,o,i.id);m=L(m,h,f,c),await X(x,m,r,u,n,f?.signal)}catch(E){const m=U(E,e,o,i.id);x.push({type:"error",reason:"error",error:m}),x.end(m)}}),x},"stream"),T=s((i,h,f)=>g(i,h,f),"streamSimple");function P(i){return i?d.find(h=>h.id===i):d[0]}return s(P,"getModel"),{api:e,provider:o,models:d,stream:g,streamSimple:T,getModel:P,state:a,setResponses(i){l=[...i]},appendResponses(i){l.push(...i)},getPendingResponseCount(){return l.length}}}s(createFauxCore,"createFauxCore");export function fauxProvider(t={}){const e=createFauxCore(t);return{provider:W({id:e.provider,auth:{apiKey:{name:"Faux",resolve:s(async()=>({auth:{}}),"resolve")}},models:e.models,api:{stream:e.stream,streamSimple:e.streamSimple}}),api:e.api,models:e.models,getModel:e.getModel,state:e.state,setResponses:e.setResponses,appendResponses:e.appendResponses,getPendingResponseCount:e.getPendingResponseCount}}s(fauxProvider,"fauxProvider");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@earendil-works/pi-ai","version":"0.
|
|
1
|
+
{"name":"@earendil-works/pi-ai","version":"0.82.1","type":"module","main":"./dist/index.js","sideEffects":["./dist/compat.js","./dist/images.js","./dist/providers/images/register-builtins.js"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./compat":{"types":"./dist/compat.d.ts","import":"./dist/compat.js"},"./providers/*":{"types":"./dist/providers/*.d.ts","import":"./dist/providers/*.js"},"./api/*":{"types":"./dist/api/*.d.ts","import":"./dist/api/*.js"},"./oauth":{"types":"./dist/oauth.d.ts","import":"./dist/oauth.js"},"./bedrock-provider":{"types":"./dist/bedrock-provider.d.ts","import":"./dist/bedrock-provider.js"},"./bun-oauth":{"types":"./dist/bun-oauth.d.ts","import":"./dist/bun-oauth.js"}},"bin":{"pi-ai":"dist/cli.js"},"dependencies":{"@anthropic-ai/sdk":"0.91.1","@aws-sdk/client-bedrock-runtime":"3.1048.0","@google/genai":"1.52.0","@mistralai/mistralai":"2.2.6","@opentelemetry/api":"1.9.0","@smithy/node-http-handler":"4.7.3","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6","openai":"6.26.0","partial-json":"0.1.7","typebox":"1.1.38"},"license":"MIT","engines":{"node":">=22.19.0"}}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@koromix/koffi-darwin-arm64","version":"3.1.
|
|
1
|
+
{"name":"@koromix/koffi-darwin-arm64","version":"3.1.6","license":"MIT","main":"./index.js","os":["darwin"],"cpu":["arm64"]}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@koromix/koffi-darwin-x64","version":"3.1.
|
|
1
|
+
{"name":"@koromix/koffi-darwin-x64","version":"3.1.6","license":"MIT","main":"./index.js","os":["darwin"],"cpu":["x64"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@koromix/koffi-win32-x64","version":"3.1.
|
|
1
|
+
{"name":"@koromix/koffi-win32-x64","version":"3.1.6","license":"MIT","main":"./index.js","os":["win32"],"cpu":["x64"]}
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { getSmithyContext } = require("@smithy/core/transport");
|
|
1
|
+
const { getSmithyContext, hasOwn } = require("@smithy/core/transport");
|
|
2
2
|
exports.getSmithyContext = getSmithyContext;
|
|
3
3
|
const { HttpRequest } = require("@smithy/core/protocols");
|
|
4
4
|
const { requestBuilder } = require("@smithy/core/protocols");
|
|
@@ -203,6 +203,8 @@ class DefaultIdentityProviderConfig {
|
|
|
203
203
|
authSchemes = new Map();
|
|
204
204
|
constructor(config) {
|
|
205
205
|
for (const key in config) {
|
|
206
|
+
if (!hasOwn(config, key))
|
|
207
|
+
continue;
|
|
206
208
|
const value = config[key];
|
|
207
209
|
if (value !== undefined) {
|
|
208
210
|
this.authSchemes.set(key, value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require("@smithy/core/serde");
|
|
2
|
+
const { hasOwn, getSmithyContext } = require("@smithy/core/transport");
|
|
2
3
|
const { HttpRequest, collectBody, SerdeContext, RpcProtocol } = require("@smithy/core/protocols");
|
|
3
4
|
const { NormalizedSchema, deref, TypeRegistry } = require("@smithy/core/schema");
|
|
4
|
-
const { getSmithyContext } = require("@smithy/core/transport");
|
|
5
5
|
|
|
6
6
|
const majorUint64 = 0;
|
|
7
7
|
const majorNegativeInt64 = 1;
|
|
@@ -299,23 +299,39 @@ function decodeTagValue(at, to, minor, unsignedInt, offset) {
|
|
|
299
299
|
}
|
|
300
300
|
else if (minor === 4) {
|
|
301
301
|
const decimalFraction = decode(at + offset, to);
|
|
302
|
-
const [
|
|
302
|
+
const [rawExponent, mantissa] = decimalFraction;
|
|
303
303
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
304
|
-
const
|
|
305
|
-
|
|
304
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
305
|
+
const mantissaDigits = String(absMantissa);
|
|
306
306
|
const sign = mantissa < 0 ? "-" : "";
|
|
307
|
-
numericString
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
numericString =
|
|
317
|
-
|
|
318
|
-
|
|
307
|
+
let numericString;
|
|
308
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
309
|
+
if (isSmallExponent) {
|
|
310
|
+
const exponent = rawExponent;
|
|
311
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
312
|
+
numericString =
|
|
313
|
+
exponent === 0
|
|
314
|
+
? mantissaStr
|
|
315
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
316
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
317
|
+
if (numericString === "") {
|
|
318
|
+
numericString = "0";
|
|
319
|
+
}
|
|
320
|
+
if (numericString[0] === ".") {
|
|
321
|
+
numericString = "0" + numericString;
|
|
322
|
+
}
|
|
323
|
+
numericString = sign + numericString;
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
const bigExponent = BigInt(rawExponent);
|
|
327
|
+
if (mantissaDigits.length === 1) {
|
|
328
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
332
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
319
335
|
_offset = offset + _offset;
|
|
320
336
|
return nv(numericString);
|
|
321
337
|
}
|
|
@@ -664,13 +680,21 @@ function encode(_input) {
|
|
|
664
680
|
}
|
|
665
681
|
else if (typeof input === "object") {
|
|
666
682
|
if (input instanceof NumericValue) {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
const
|
|
683
|
+
let str = input.string;
|
|
684
|
+
let expOffset = BigInt(0);
|
|
685
|
+
const eIndex = str.search(/[eE]/);
|
|
686
|
+
if (eIndex !== -1) {
|
|
687
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
688
|
+
str = str.slice(0, eIndex);
|
|
689
|
+
}
|
|
690
|
+
const decimalIndex = str.indexOf(".");
|
|
691
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
692
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
693
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
670
694
|
data[cursor$1++] = 0b110_00100;
|
|
671
695
|
encodeInteger(majorList, 2);
|
|
672
696
|
encodeStack.push(mantissa);
|
|
673
|
-
encodeStack.push(exponent);
|
|
697
|
+
encodeStack.push(exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn ? Number(exponent) : exponent);
|
|
674
698
|
continue;
|
|
675
699
|
}
|
|
676
700
|
if (input[tagSymbol]) {
|
|
@@ -888,6 +912,8 @@ const loadSmithyRpcV2CborErrorCode = (output, data) => {
|
|
|
888
912
|
}
|
|
889
913
|
let codeKey;
|
|
890
914
|
for (const key in data) {
|
|
915
|
+
if (!hasOwn(data, key))
|
|
916
|
+
continue;
|
|
891
917
|
if (key.toLowerCase() === "code") {
|
|
892
918
|
codeKey = key;
|
|
893
919
|
break;
|
|
@@ -920,6 +946,8 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
920
946
|
}
|
|
921
947
|
if (endpoint.headers) {
|
|
922
948
|
for (const name in endpoint.headers) {
|
|
949
|
+
if (!hasOwn(endpoint.headers, name))
|
|
950
|
+
continue;
|
|
923
951
|
contents.headers[name] = endpoint.headers[name];
|
|
924
952
|
}
|
|
925
953
|
}
|
|
@@ -1180,6 +1208,8 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
1180
1208
|
}
|
|
1181
1209
|
if (typeof value.__type === "string") {
|
|
1182
1210
|
for (const k in value) {
|
|
1211
|
+
if (!hasOwn(value, k))
|
|
1212
|
+
continue;
|
|
1183
1213
|
if (!memberNames.includes(k)) {
|
|
1184
1214
|
writeString(k);
|
|
1185
1215
|
writeUntypedValue(value[k]);
|
|
@@ -1245,6 +1275,8 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
1245
1275
|
const valueSchema = ns.getValueSchema();
|
|
1246
1276
|
const keys = [];
|
|
1247
1277
|
for (const k in value) {
|
|
1278
|
+
if (!hasOwn(value, k))
|
|
1279
|
+
continue;
|
|
1248
1280
|
const v = value[k];
|
|
1249
1281
|
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
1250
1282
|
keys.push(k);
|
|
@@ -1506,14 +1538,27 @@ function writeTag(tagValue, innerValue) {
|
|
|
1506
1538
|
writeUntypedValue(innerValue);
|
|
1507
1539
|
}
|
|
1508
1540
|
function writeNumericValue(nv) {
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
const
|
|
1541
|
+
let str = nv.string;
|
|
1542
|
+
let expOffset = BigInt(0);
|
|
1543
|
+
const eIndex = str.search(/[eE]/);
|
|
1544
|
+
if (eIndex !== -1) {
|
|
1545
|
+
expOffset = BigInt(str.slice(eIndex + 1));
|
|
1546
|
+
str = str.slice(0, eIndex);
|
|
1547
|
+
}
|
|
1548
|
+
const decimalIndex = str.indexOf(".");
|
|
1549
|
+
const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
|
|
1550
|
+
const exponent = expOffset - BigInt(fractionDigits);
|
|
1551
|
+
const mantissa = BigInt(str.replace(".", ""));
|
|
1512
1552
|
ensure(9);
|
|
1513
1553
|
buf[cursor++] = 0b110_00100;
|
|
1514
1554
|
encodeHeader(majorList, 2);
|
|
1515
1555
|
ensure(9);
|
|
1516
|
-
|
|
1556
|
+
if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {
|
|
1557
|
+
writeInteger(Number(exponent));
|
|
1558
|
+
}
|
|
1559
|
+
else {
|
|
1560
|
+
writeBigInt(exponent);
|
|
1561
|
+
}
|
|
1517
1562
|
writeBigInt(mantissa);
|
|
1518
1563
|
}
|
|
1519
1564
|
function writeTimestamp(date) {
|
|
@@ -1645,6 +1690,8 @@ function readStruct(ns, count, startPos) {
|
|
|
1645
1690
|
if (isUnion) {
|
|
1646
1691
|
let resultEmpty = true;
|
|
1647
1692
|
for (const _ in result) {
|
|
1693
|
+
if (!hasOwn(result, _))
|
|
1694
|
+
continue;
|
|
1648
1695
|
resultEmpty = false;
|
|
1649
1696
|
break;
|
|
1650
1697
|
}
|
|
@@ -1684,23 +1731,39 @@ function readTag(ns) {
|
|
|
1684
1731
|
if (tagNumber === 4) {
|
|
1685
1732
|
const docSchema = NormalizedSchema.of(15);
|
|
1686
1733
|
const pair = readValue(docSchema);
|
|
1687
|
-
const [
|
|
1734
|
+
const [rawExponent, mantissa] = pair;
|
|
1688
1735
|
const normalizer = mantissa < 0 ? -1 : 1;
|
|
1689
|
-
const
|
|
1690
|
-
|
|
1736
|
+
const absMantissa = BigInt(normalizer) * BigInt(mantissa);
|
|
1737
|
+
const mantissaDigits = String(absMantissa);
|
|
1691
1738
|
const sign = mantissa < 0 ? "-" : "";
|
|
1692
|
-
numericString
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
numericString =
|
|
1702
|
-
|
|
1703
|
-
|
|
1739
|
+
let numericString;
|
|
1740
|
+
const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
|
|
1741
|
+
if (isSmallExponent) {
|
|
1742
|
+
const exponent = rawExponent;
|
|
1743
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
|
|
1744
|
+
numericString =
|
|
1745
|
+
exponent === 0
|
|
1746
|
+
? mantissaStr
|
|
1747
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
1748
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
1749
|
+
if (numericString === "") {
|
|
1750
|
+
numericString = "0";
|
|
1751
|
+
}
|
|
1752
|
+
if (numericString[0] === ".") {
|
|
1753
|
+
numericString = "0" + numericString;
|
|
1754
|
+
}
|
|
1755
|
+
numericString = sign + numericString;
|
|
1756
|
+
}
|
|
1757
|
+
else {
|
|
1758
|
+
const bigExponent = BigInt(rawExponent);
|
|
1759
|
+
if (mantissaDigits.length === 1) {
|
|
1760
|
+
numericString = sign + mantissaDigits + "e" + String(bigExponent);
|
|
1761
|
+
}
|
|
1762
|
+
else {
|
|
1763
|
+
const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
|
|
1764
|
+
numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1704
1767
|
return nv(numericString);
|
|
1705
1768
|
}
|
|
1706
1769
|
const docSchema = NormalizedSchema.of(15);
|
|
@@ -1797,6 +1860,8 @@ function readMapIndefinite(ns) {
|
|
|
1797
1860
|
if (isUnion) {
|
|
1798
1861
|
let resultEmpty = true;
|
|
1799
1862
|
for (const _ in result) {
|
|
1863
|
+
if (!hasOwn(result, _))
|
|
1864
|
+
continue;
|
|
1800
1865
|
resultEmpty = false;
|
|
1801
1866
|
break;
|
|
1802
1867
|
}
|
|
@@ -2101,6 +2166,8 @@ function transformObject(ns, value) {
|
|
|
2101
2166
|
if (ns.isMapSchema()) {
|
|
2102
2167
|
const targetSchema = ns.getValueSchema();
|
|
2103
2168
|
for (const key in value) {
|
|
2169
|
+
if (!hasOwn(value, key))
|
|
2170
|
+
continue;
|
|
2104
2171
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
2105
2172
|
}
|
|
2106
2173
|
}
|
|
@@ -2110,6 +2177,8 @@ function transformObject(ns, value) {
|
|
|
2110
2177
|
if (isUnion) {
|
|
2111
2178
|
keys = new Set();
|
|
2112
2179
|
for (const k in value) {
|
|
2180
|
+
if (!hasOwn(value, k))
|
|
2181
|
+
continue;
|
|
2113
2182
|
if (k !== "__type") {
|
|
2114
2183
|
keys.add(k);
|
|
2115
2184
|
}
|
|
@@ -2126,6 +2195,8 @@ function transformObject(ns, value) {
|
|
|
2126
2195
|
if (isUnion && keys?.size === 1) {
|
|
2127
2196
|
let newObjectEmpty = true;
|
|
2128
2197
|
for (const _ in newObject) {
|
|
2198
|
+
if (!hasOwn(newObject, _))
|
|
2199
|
+
continue;
|
|
2129
2200
|
newObjectEmpty = false;
|
|
2130
2201
|
break;
|
|
2131
2202
|
}
|
|
@@ -2136,6 +2207,8 @@ function transformObject(ns, value) {
|
|
|
2136
2207
|
}
|
|
2137
2208
|
else if (typeof value.__type === "string") {
|
|
2138
2209
|
for (const k in value) {
|
|
2210
|
+
if (!hasOwn(value, k))
|
|
2211
|
+
continue;
|
|
2139
2212
|
if (!(k in newObject)) {
|
|
2140
2213
|
newObject[k] = value[k];
|
|
2141
2214
|
}
|
|
@@ -2298,6 +2371,8 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2298
2371
|
if (ns.isMapSchema()) {
|
|
2299
2372
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
2300
2373
|
for (const key in sourceObject) {
|
|
2374
|
+
if (!hasOwn(sourceObject, key))
|
|
2375
|
+
continue;
|
|
2301
2376
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2302
2377
|
if (value != null || sparse) {
|
|
2303
2378
|
newObject[key] = value;
|
|
@@ -2318,6 +2393,8 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2318
2393
|
}
|
|
2319
2394
|
else if (typeof sourceObject.__type === "string") {
|
|
2320
2395
|
for (const k in sourceObject) {
|
|
2396
|
+
if (!hasOwn(sourceObject, k))
|
|
2397
|
+
continue;
|
|
2321
2398
|
if (!(k in newObject)) {
|
|
2322
2399
|
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
2323
2400
|
}
|
|
@@ -2334,6 +2411,8 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2334
2411
|
return newArray;
|
|
2335
2412
|
}
|
|
2336
2413
|
for (const key in sourceObject) {
|
|
2414
|
+
if (!hasOwn(sourceObject, key))
|
|
2415
|
+
continue;
|
|
2337
2416
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2338
2417
|
}
|
|
2339
2418
|
}
|
|
@@ -2408,6 +2487,8 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2408
2487
|
if (ns.isMapSchema()) {
|
|
2409
2488
|
const targetSchema = ns.getValueSchema();
|
|
2410
2489
|
for (const key in value) {
|
|
2490
|
+
if (!hasOwn(value, key))
|
|
2491
|
+
continue;
|
|
2411
2492
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
2412
2493
|
newObject[key] = itemValue;
|
|
2413
2494
|
}
|
|
@@ -2418,6 +2499,8 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2418
2499
|
if (isUnion) {
|
|
2419
2500
|
keys = new Set();
|
|
2420
2501
|
for (const k in value) {
|
|
2502
|
+
if (!hasOwn(value, k))
|
|
2503
|
+
continue;
|
|
2421
2504
|
if (k !== "__type") {
|
|
2422
2505
|
keys.add(k);
|
|
2423
2506
|
}
|
|
@@ -2434,6 +2517,8 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2434
2517
|
if (isUnion && keys?.size === 1) {
|
|
2435
2518
|
let newObjectEmpty = true;
|
|
2436
2519
|
for (const _ in newObject) {
|
|
2520
|
+
if (!hasOwn(newObject, _))
|
|
2521
|
+
continue;
|
|
2437
2522
|
newObjectEmpty = false;
|
|
2438
2523
|
break;
|
|
2439
2524
|
}
|
|
@@ -2444,6 +2529,8 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2444
2529
|
}
|
|
2445
2530
|
else if (typeof value.__type === "string") {
|
|
2446
2531
|
for (const k in value) {
|
|
2532
|
+
if (!hasOwn(value, k))
|
|
2533
|
+
continue;
|
|
2447
2534
|
if (!(k in newObject)) {
|
|
2448
2535
|
newObject[k] = value[k];
|
|
2449
2536
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
1
2
|
const { getSmithyContext, normalizeProvider } = require("@smithy/core/transport");
|
|
2
3
|
exports.getSmithyContext = getSmithyContext;
|
|
3
4
|
exports.normalizeProvider = normalizeProvider;
|
|
@@ -867,6 +868,8 @@ const knownAlgorithms = Object.values(AlgorithmId);
|
|
|
867
868
|
const getChecksumConfiguration = (runtimeConfig) => {
|
|
868
869
|
const checksumAlgorithms = [];
|
|
869
870
|
for (const id in AlgorithmId) {
|
|
871
|
+
if (!hasOwn(AlgorithmId, id))
|
|
872
|
+
continue;
|
|
870
873
|
const algorithmId = AlgorithmId[id];
|
|
871
874
|
if (runtimeConfig[algorithmId] === undefined) {
|
|
872
875
|
continue;
|
|
@@ -940,7 +943,9 @@ const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeAr
|
|
|
940
943
|
const getValueFromTextNode = (obj) => {
|
|
941
944
|
const textNodeName = "#text";
|
|
942
945
|
for (const key in obj) {
|
|
943
|
-
if (
|
|
946
|
+
if (!hasOwn(obj, key))
|
|
947
|
+
continue;
|
|
948
|
+
if (obj[key][textNodeName] !== undefined) {
|
|
944
949
|
obj[key] = obj[key][textNodeName];
|
|
945
950
|
}
|
|
946
951
|
else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
@@ -981,7 +986,9 @@ function map(arg0, arg1, arg2) {
|
|
|
981
986
|
instructions = arg1;
|
|
982
987
|
}
|
|
983
988
|
}
|
|
984
|
-
for (const key
|
|
989
|
+
for (const key in instructions) {
|
|
990
|
+
if (!hasOwn(instructions, key))
|
|
991
|
+
continue;
|
|
985
992
|
if (!Array.isArray(instructions[key])) {
|
|
986
993
|
target[key] = instructions[key];
|
|
987
994
|
continue;
|
|
@@ -1000,6 +1007,8 @@ const convertMap = (target) => {
|
|
|
1000
1007
|
const take = (source, instructions) => {
|
|
1001
1008
|
const out = {};
|
|
1002
1009
|
for (const key in instructions) {
|
|
1010
|
+
if (!hasOwn(instructions, key))
|
|
1011
|
+
continue;
|
|
1003
1012
|
applyInstruction(out, source, instructions, key);
|
|
1004
1013
|
}
|
|
1005
1014
|
return out;
|
|
@@ -1079,7 +1088,9 @@ const _json = (obj) => {
|
|
|
1079
1088
|
}
|
|
1080
1089
|
if (typeof obj === "object") {
|
|
1081
1090
|
const target = {};
|
|
1082
|
-
for (const key
|
|
1091
|
+
for (const key in obj) {
|
|
1092
|
+
if (!hasOwn(obj, key))
|
|
1093
|
+
continue;
|
|
1083
1094
|
if (obj[key] == null) {
|
|
1084
1095
|
continue;
|
|
1085
1096
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require("@smithy/core/transport");
|
|
1
|
+
const { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel, hasOwn } = require("@smithy/core/transport");
|
|
2
2
|
exports.isValidHostLabel = isValidHostLabel;
|
|
3
3
|
exports.middlewareEndpointToEndpointV1 = toEndpointV1;
|
|
4
4
|
exports.toEndpointV1 = toEndpointV1;
|
|
@@ -782,6 +782,8 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
782
782
|
const { parameters, rules } = ruleSetObject;
|
|
783
783
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
784
784
|
for (const paramKey in parameters) {
|
|
785
|
+
if (!hasOwn(parameters, paramKey))
|
|
786
|
+
continue;
|
|
785
787
|
const parameter = parameters[paramKey];
|
|
786
788
|
const endpointParam = endpointParams[paramKey];
|
|
787
789
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require("@smithy/core/config");
|
|
2
|
-
const { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require("@smithy/core/transport");
|
|
2
|
+
const { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel, hasOwn } = require("@smithy/core/transport");
|
|
3
3
|
exports.isValidHostLabel = isValidHostLabel;
|
|
4
4
|
exports.middlewareEndpointToEndpointV1 = toEndpointV1;
|
|
5
5
|
exports.toEndpointV1 = toEndpointV1;
|
|
@@ -830,6 +830,8 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
830
830
|
const { parameters, rules } = ruleSetObject;
|
|
831
831
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
832
832
|
for (const paramKey in parameters) {
|
|
833
|
+
if (!hasOwn(parameters, paramKey))
|
|
834
|
+
continue;
|
|
833
835
|
const parameter = parameters[paramKey];
|
|
834
836
|
const endpointParam = endpointParams[paramKey];
|
|
835
837
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
2
3
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
4
|
const { TypeRegistry } = require("@smithy/core/schema");
|
|
4
5
|
|
|
@@ -55,7 +56,9 @@ class HeaderMarshaller {
|
|
|
55
56
|
}
|
|
56
57
|
format(headers) {
|
|
57
58
|
const chunks = [];
|
|
58
|
-
for (const headerName
|
|
59
|
+
for (const headerName in headers) {
|
|
60
|
+
if (!hasOwn(headers, headerName))
|
|
61
|
+
continue;
|
|
59
62
|
const bytes = this.fromUtf8(headerName);
|
|
60
63
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
61
64
|
}
|
|
@@ -638,6 +641,8 @@ class EventStreamSerde {
|
|
|
638
641
|
}
|
|
639
642
|
let unionMember = "";
|
|
640
643
|
for (const key in event) {
|
|
644
|
+
if (!hasOwn(event, key))
|
|
645
|
+
continue;
|
|
641
646
|
if (key !== "__type") {
|
|
642
647
|
unionMember = key;
|
|
643
648
|
break;
|
|
@@ -665,6 +670,8 @@ class EventStreamSerde {
|
|
|
665
670
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
666
671
|
let unionMember = "";
|
|
667
672
|
for (const key in event) {
|
|
673
|
+
if (!hasOwn(event, key))
|
|
674
|
+
continue;
|
|
668
675
|
if (key !== "__type") {
|
|
669
676
|
unionMember = key;
|
|
670
677
|
break;
|
|
@@ -739,6 +746,8 @@ class EventStreamSerde {
|
|
|
739
746
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
740
747
|
}
|
|
741
748
|
for (const key in firstEvent.value) {
|
|
749
|
+
if (!hasOwn(firstEvent.value, key))
|
|
750
|
+
continue;
|
|
742
751
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
743
752
|
}
|
|
744
753
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const { Crc32 } = require("@smithy/core/checksum");
|
|
2
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
2
3
|
const { toHex, fromHex, toUtf8, fromUtf8 } = require("@smithy/core/serde");
|
|
3
4
|
const { Readable } = require("node:stream");
|
|
4
5
|
const { TypeRegistry } = require("@smithy/core/schema");
|
|
@@ -56,7 +57,9 @@ class HeaderMarshaller {
|
|
|
56
57
|
}
|
|
57
58
|
format(headers) {
|
|
58
59
|
const chunks = [];
|
|
59
|
-
for (const headerName
|
|
60
|
+
for (const headerName in headers) {
|
|
61
|
+
if (!hasOwn(headers, headerName))
|
|
62
|
+
continue;
|
|
60
63
|
const bytes = this.fromUtf8(headerName);
|
|
61
64
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
62
65
|
}
|
|
@@ -663,6 +666,8 @@ class EventStreamSerde {
|
|
|
663
666
|
}
|
|
664
667
|
let unionMember = "";
|
|
665
668
|
for (const key in event) {
|
|
669
|
+
if (!hasOwn(event, key))
|
|
670
|
+
continue;
|
|
666
671
|
if (key !== "__type") {
|
|
667
672
|
unionMember = key;
|
|
668
673
|
break;
|
|
@@ -690,6 +695,8 @@ class EventStreamSerde {
|
|
|
690
695
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
691
696
|
let unionMember = "";
|
|
692
697
|
for (const key in event) {
|
|
698
|
+
if (!hasOwn(event, key))
|
|
699
|
+
continue;
|
|
693
700
|
if (key !== "__type") {
|
|
694
701
|
unionMember = key;
|
|
695
702
|
break;
|
|
@@ -764,6 +771,8 @@ class EventStreamSerde {
|
|
|
764
771
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
765
772
|
}
|
|
766
773
|
for (const key in firstEvent.value) {
|
|
774
|
+
if (!hasOwn(firstEvent.value, key))
|
|
775
|
+
continue;
|
|
767
776
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
768
777
|
}
|
|
769
778
|
}
|