@songtonyli/dsh-cli 0.1.53 → 0.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +28 -0
- package/node_modules/@anthropic-ai/sdk/client.js +2 -1
- package/node_modules/@anthropic-ai/sdk/client.mjs +2 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.js +4 -2
- package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +4 -2
- package/node_modules/@anthropic-ai/sdk/package.json +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +5 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +5 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js +40 -16
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs +40 -16
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +22 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +22 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +25 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +25 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +4 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +4 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.js +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +25 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +15 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +22 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +22 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs +20 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +35 -14
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +35 -14
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +30 -12
- package/node_modules/@anthropic-ai/sdk/resources/completions.js +5 -2
- package/node_modules/@anthropic-ai/sdk/resources/completions.mjs +5 -2
- package/node_modules/@anthropic-ai/sdk/resources/files.js +79 -10
- package/node_modules/@anthropic-ai/sdk/resources/files.mjs +79 -10
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +52 -13
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +52 -13
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +10 -4
- package/node_modules/@anthropic-ai/sdk/resources/models.js +23 -4
- package/node_modules/@anthropic-ai/sdk/resources/models.mjs +23 -4
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js +64 -8
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs +64 -8
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js +67 -7
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs +67 -7
- package/node_modules/@anthropic-ai/sdk/src/client.ts +12 -1
- package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +4 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +75 -10
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +15 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployment-runs.ts +30 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployments.ts +120 -16
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/dreams.ts +75 -10
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +90 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +60 -8
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +75 -11
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +75 -10
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +90 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +49 -10
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +85 -11
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +24 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +30 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/compliance-settings.ts +12 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/index.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/organization.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +45 -6
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +75 -10
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +90 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +30 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +45 -6
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +60 -8
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +72 -9
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/certificates.ts +60 -8
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/tunnels.ts +90 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +105 -14
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +90 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +15 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/files.ts +161 -18
- package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +5 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +137 -13
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +38 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/models.ts +43 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/index.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/skills.ts +127 -13
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/versions.ts +115 -11
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/fs-util.ts +16 -4
- package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +14 -4
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +14 -4
- package/node_modules/@anthropic-ai/sdk/version.js +1 -1
- package/node_modules/@anthropic-ai/sdk/version.mjs +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/README.md +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +2419 -185
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commandBuilder.js +14 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeGuardrailChecksCommand.js +4 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -27
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +51 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +244 -31
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +43 -45
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +34 -32
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +12 -8
- package/node_modules/@deepseek-ai/dsh/lib/{plugin-DkYIj96-.js → plugin-BGnVfe_D.js} +26 -8
- package/node_modules/@deepseek-ai/dsh/package.json +111 -111
- package/node_modules/@deepseek-ai/dsh-acp/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-agent/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +9 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +260 -20
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +41 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +160 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +120 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +69 -69
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +13 -7
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/shells.js +14 -8
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-base/package.json +93 -93
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +12 -7
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +69 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +49 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +8 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +7 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +289 -325
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +7 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +7 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +126 -65
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +167 -154
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +74 -74
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +80 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +39 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +23 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +37 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +240 -87
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +45 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +19 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +26 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +219 -238
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +10 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +10 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +14 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +349 -226
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +182 -182
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +139 -143
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +56 -56
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +87 -87
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +41 -41
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/lib/client.js +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +24 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +27 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +43 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +53 -58
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +25 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +70 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +27 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +209 -182
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +37 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +33 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +9 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +12 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +12 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +393 -143
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +197 -197
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +26 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +37 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +37 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1303 -264
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +23 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +26 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +95 -94
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +59 -4
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +58 -20
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +18 -18
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/inspect-registry.js +62 -17
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +17 -16
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +32 -32
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +24 -24
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -0
- package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
- 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 +13 -13
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +10 -6
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md +39 -22
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/scripts/diagnose-windows-sandbox-acl.ps1 +308 -231
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +6 -4
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +6 -4
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -34
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.md +27 -11
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.zh.md +27 -11
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +211 -3
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +12 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +19 -22
- package/node_modules/@deepseek-ai/dsh-user-questions/README.md +13 -10
- package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +13 -10
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +659 -46
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +770 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.remote-client.js +125 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +289 -58
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +35 -11
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +136 -136
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-5SrrfWpU.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BPHePDI_.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +34 -34
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +11 -11
- package/node_modules/@earendil-works/pi-ai/README.md +52 -8
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +131 -87
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +17 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +13 -12
- package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +21 -73
- package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +55 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +25 -65
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +19 -12
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +26 -23
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +44 -59
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +56 -56
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +14 -19
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +21 -7
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +190 -0
- package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat.js +9 -6
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +49 -4
- package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.js +5 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/ant-ling.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cerebras.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/cloudflare-workers-ai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/deepseek.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/google-vertex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/groq.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/kimi-coding.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.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/radius.json +1 -0
- 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/xai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/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 +12 -11
- package/node_modules/@earendil-works/pi-ai/dist/providers/meta.js +24 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +5 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +19 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +8 -29
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -7
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +11 -5
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +9 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +26 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +204 -0
- package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/LICENSE +22 -0
- package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/README.md +70 -0
- package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/index.js +234 -0
- package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/parse-proxy-response.js +94 -0
- package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/package.json +51 -0
- package/node_modules/@earendil-works/pi-ai/package.json +9 -9
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@google/genai/README.md +19 -4
- package/node_modules/@google/genai/dist/index.cjs +7737 -2768
- package/node_modules/@google/genai/dist/index.mjs +7730 -2769
- package/node_modules/@google/genai/dist/node/index.cjs +7741 -2763
- package/node_modules/@google/genai/dist/node/index.mjs +7734 -2764
- package/node_modules/@google/genai/dist/tokenizer/node.cjs +424 -117
- package/node_modules/@google/genai/dist/tokenizer/node.mjs +424 -117
- package/node_modules/@google/genai/dist/vertex_internal/index.cjs +560 -181
- package/node_modules/@google/genai/dist/vertex_internal/index.js +561 -182
- package/node_modules/@google/genai/dist/web/index.mjs +7717 -2757
- package/node_modules/@google/genai/package.json +3 -3
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -70
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +19 -8
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +10 -2
- package/node_modules/@smithy/node-http-handler/package.json +23 -30
- package/node_modules/agent-base/dist/helpers.js +5 -34
- package/node_modules/agent-base/dist/index.js +8 -40
- package/node_modules/agent-base/package.json +11 -11
- package/node_modules/http-proxy-agent/dist/index.js +26 -42
- package/node_modules/http-proxy-agent/package.json +14 -13
- package/node_modules/https-proxy-agent/node_modules/agent-base/LICENSE +22 -0
- package/node_modules/https-proxy-agent/node_modules/agent-base/README.md +69 -0
- package/node_modules/https-proxy-agent/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/https-proxy-agent/node_modules/agent-base/dist/index.js +178 -0
- package/node_modules/https-proxy-agent/node_modules/agent-base/package.json +46 -0
- package/node_modules/proxy-agent-negotiate/dist/index.js +35 -0
- package/node_modules/proxy-agent-negotiate/package.json +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/date.mjs +1 -1
- package/node_modules/typebox/build/format/date_time.mjs +3 -3
- package/node_modules/typebox/build/format/email.mjs +2 -2
- package/node_modules/typebox/build/format/hostname.mjs +2 -10
- package/node_modules/typebox/build/format/idn_email.mjs +3 -3
- package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
- package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
- package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +43 -0
- package/node_modules/typebox/build/format/idna/index.mjs +2 -0
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
- package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
- package/node_modules/typebox/build/format/ipv4.mjs +2 -32
- package/node_modules/typebox/build/format/ipv6.mjs +2 -61
- package/node_modules/typebox/build/format/iri.mjs +30 -8
- package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
- package/node_modules/typebox/build/format/json_pointer.mjs +2 -2
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +2 -2
- package/node_modules/typebox/build/format/regex.mjs +2 -6
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +2 -2
- package/node_modules/typebox/build/format/time.mjs +19 -14
- package/node_modules/typebox/build/format/uri.mjs +3 -130
- package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
- package/node_modules/typebox/build/format/uri_template.mjs +4 -5
- package/node_modules/typebox/build/format/url.mjs +4 -5
- package/node_modules/typebox/build/guard/emit.mjs +13 -8
- package/node_modules/typebox/build/guard/guard.mjs +22 -13
- package/node_modules/typebox/build/guard/string.mjs +23 -31
- package/node_modules/typebox/build/schema/compile.mjs +8 -8
- package/node_modules/typebox/build/schema/engine/_context.mjs +12 -17
- package/node_modules/typebox/build/schema/engine/_functions.mjs +2 -3
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +138 -36
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +20 -7
- package/node_modules/typebox/build/schema/engine/allOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/if.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +9 -8
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +1 -3
- package/node_modules/typebox/build/schema/engine/ref.mjs +3 -9
- package/node_modules/typebox/build/schema/engine/schema.mjs +19 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
- package/node_modules/typebox/build/schema/errors.mjs +7 -13
- package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
- package/node_modules/typebox/build/schema/intern/intern.mjs +259 -0
- package/node_modules/typebox/build/schema/parse.mjs +10 -5
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +327 -1
- package/node_modules/typebox/build/schema/schema.mjs +1 -0
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
- package/node_modules/typebox/build/schema/types/index.mjs +0 -2
- package/node_modules/typebox/build/system/memory/assign.mjs +2 -1
- package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
- package/node_modules/typebox/build/system/memory/create.mjs +3 -4
- package/node_modules/typebox/build/system/memory/discard.mjs +8 -7
- package/node_modules/typebox/build/system/memory/freeze.mjs +6 -0
- package/node_modules/typebox/build/system/memory/update.mjs +3 -2
- package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
- package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
- package/node_modules/typebox/build/type/script/parser.mjs +27 -23
- package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
- package/node_modules/typebox/package.json +29 -29
- package/node_modules/typebox/readme.md +84 -83
- package/package.json +294 -308
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
- package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
- package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
- package/node_modules/@aws-crypto/sha256-browser/package.json +0 -28
- package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
- package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
- package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
- package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
- package/node_modules/@aws-crypto/sha256-js/package.json +0 -27
- package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
- package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
- package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
- package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
- package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
- package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
- package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -23
- package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
- package/node_modules/@aws-crypto/util/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/README.md +0 -16
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
- package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
- package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
- package/node_modules/@aws-crypto/util/package.json +0 -27
- package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
- package/node_modules/@aws-crypto/util/src/index.ts +0 -7
- package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
- package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
- package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
- package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +0 -63
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +0 -49
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +0 -12
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/errors.js +0 -169
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +0 -41
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +0 -78
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +0 -19
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +0 -48
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +0 -1500
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
- package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
- package/node_modules/@aws-sdk/util-locate-window/package.json +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-DxezulnA.js +0 -1324
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Cq6ljTv2.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dy0OhsZ5.js +0 -127
- package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js +0 -36
- package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
- package/node_modules/@smithy/is-array-buffer/README.md +0 -10
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
- package/node_modules/@smithy/is-array-buffer/package.json +0 -48
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
- package/node_modules/@smithy/util-buffer-from/README.md +0 -10
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
- package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
- package/node_modules/@smithy/util-buffer-from/package.json +0 -49
- package/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
- package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
- package/node_modules/@smithy/util-utf8/package.json +0 -54
- package/node_modules/typebox/build/format/_idna.mjs +0 -246
- package/node_modules/typebox/build/format/_puny.mjs +0 -77
- package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
- /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-http2.js +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-https.js +0 -0
|
@@ -349,18 +349,6 @@ function uploadToFileSearchStoreResponseFromMldev(fromObject) {
|
|
|
349
349
|
* Copyright 2025 Google LLC
|
|
350
350
|
* SPDX-License-Identifier: Apache-2.0
|
|
351
351
|
*/
|
|
352
|
-
/** Programming language of the `code`. */
|
|
353
|
-
var Language;
|
|
354
|
-
(function (Language) {
|
|
355
|
-
/**
|
|
356
|
-
* Unspecified language. This value should not be used.
|
|
357
|
-
*/
|
|
358
|
-
Language["LANGUAGE_UNSPECIFIED"] = "LANGUAGE_UNSPECIFIED";
|
|
359
|
-
/**
|
|
360
|
-
* Python >= 3.10, with numpy and simpy available.
|
|
361
|
-
*/
|
|
362
|
-
Language["PYTHON"] = "PYTHON";
|
|
363
|
-
})(Language || (Language = {}));
|
|
364
352
|
/** Outcome of the code execution. */
|
|
365
353
|
var Outcome;
|
|
366
354
|
(function (Outcome) {
|
|
@@ -369,19 +357,31 @@ var Outcome;
|
|
|
369
357
|
*/
|
|
370
358
|
Outcome["OUTCOME_UNSPECIFIED"] = "OUTCOME_UNSPECIFIED";
|
|
371
359
|
/**
|
|
372
|
-
* Code execution completed successfully.
|
|
360
|
+
* Code execution completed successfully. `output` contains the stdout, if any.
|
|
373
361
|
*/
|
|
374
362
|
Outcome["OUTCOME_OK"] = "OUTCOME_OK";
|
|
375
363
|
/**
|
|
376
|
-
* Code execution
|
|
364
|
+
* Code execution failed. `output` contains the stderr and stdout, if any.
|
|
377
365
|
*/
|
|
378
366
|
Outcome["OUTCOME_FAILED"] = "OUTCOME_FAILED";
|
|
379
367
|
/**
|
|
380
|
-
* Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
|
|
368
|
+
* Code execution ran for too long, and was cancelled. There may or may not be a partial `output` present.
|
|
381
369
|
*/
|
|
382
370
|
Outcome["OUTCOME_DEADLINE_EXCEEDED"] = "OUTCOME_DEADLINE_EXCEEDED";
|
|
383
371
|
})(Outcome || (Outcome = {}));
|
|
384
|
-
/**
|
|
372
|
+
/** Programming language of the `code`. */
|
|
373
|
+
var Language;
|
|
374
|
+
(function (Language) {
|
|
375
|
+
/**
|
|
376
|
+
* Unspecified language. This value should not be used.
|
|
377
|
+
*/
|
|
378
|
+
Language["LANGUAGE_UNSPECIFIED"] = "LANGUAGE_UNSPECIFIED";
|
|
379
|
+
/**
|
|
380
|
+
* Python >= 3.10, with numpy and simpy available.
|
|
381
|
+
*/
|
|
382
|
+
Language["PYTHON"] = "PYTHON";
|
|
383
|
+
})(Language || (Language = {}));
|
|
384
|
+
/** Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE. */
|
|
385
385
|
var FunctionResponseScheduling;
|
|
386
386
|
(function (FunctionResponseScheduling) {
|
|
387
387
|
/**
|
|
@@ -437,18 +437,6 @@ var Type;
|
|
|
437
437
|
*/
|
|
438
438
|
Type["NULL"] = "NULL";
|
|
439
439
|
})(Type || (Type = {}));
|
|
440
|
-
/** The environment being operated. */
|
|
441
|
-
var Environment;
|
|
442
|
-
(function (Environment) {
|
|
443
|
-
/**
|
|
444
|
-
* Defaults to browser.
|
|
445
|
-
*/
|
|
446
|
-
Environment["ENVIRONMENT_UNSPECIFIED"] = "ENVIRONMENT_UNSPECIFIED";
|
|
447
|
-
/**
|
|
448
|
-
* Operates in a web browser.
|
|
449
|
-
*/
|
|
450
|
-
Environment["ENVIRONMENT_BROWSER"] = "ENVIRONMENT_BROWSER";
|
|
451
|
-
})(Environment || (Environment = {}));
|
|
452
440
|
/** Type of auth scheme. This enum is not supported in Gemini API. */
|
|
453
441
|
var AuthType;
|
|
454
442
|
(function (AuthType) {
|
|
@@ -519,6 +507,62 @@ var ApiSpec;
|
|
|
519
507
|
*/
|
|
520
508
|
ApiSpec["ELASTIC_SEARCH"] = "ELASTIC_SEARCH";
|
|
521
509
|
})(ApiSpec || (ApiSpec = {}));
|
|
510
|
+
/** The environment being operated. */
|
|
511
|
+
var Environment;
|
|
512
|
+
(function (Environment) {
|
|
513
|
+
/**
|
|
514
|
+
* Defaults to browser.
|
|
515
|
+
*/
|
|
516
|
+
Environment["ENVIRONMENT_UNSPECIFIED"] = "ENVIRONMENT_UNSPECIFIED";
|
|
517
|
+
/**
|
|
518
|
+
* Operates in a web browser.
|
|
519
|
+
*/
|
|
520
|
+
Environment["ENVIRONMENT_BROWSER"] = "ENVIRONMENT_BROWSER";
|
|
521
|
+
/**
|
|
522
|
+
* Operates in a mobile environment.
|
|
523
|
+
*/
|
|
524
|
+
Environment["ENVIRONMENT_MOBILE"] = "ENVIRONMENT_MOBILE";
|
|
525
|
+
/**
|
|
526
|
+
* Operates in a desktop environment.
|
|
527
|
+
*/
|
|
528
|
+
Environment["ENVIRONMENT_DESKTOP"] = "ENVIRONMENT_DESKTOP";
|
|
529
|
+
})(Environment || (Environment = {}));
|
|
530
|
+
/** SafetyPolicy */
|
|
531
|
+
var SafetyPolicy;
|
|
532
|
+
(function (SafetyPolicy) {
|
|
533
|
+
/**
|
|
534
|
+
* Unspecified safety policy.
|
|
535
|
+
*/
|
|
536
|
+
SafetyPolicy["SAFETY_POLICY_UNSPECIFIED"] = "SAFETY_POLICY_UNSPECIFIED";
|
|
537
|
+
/**
|
|
538
|
+
* Safety policy for financial transactions.
|
|
539
|
+
*/
|
|
540
|
+
SafetyPolicy["FINANCIAL_TRANSACTIONS"] = "FINANCIAL_TRANSACTIONS";
|
|
541
|
+
/**
|
|
542
|
+
* Safety policy for sensitive data modification.
|
|
543
|
+
*/
|
|
544
|
+
SafetyPolicy["SENSITIVE_DATA_MODIFICATION"] = "SENSITIVE_DATA_MODIFICATION";
|
|
545
|
+
/**
|
|
546
|
+
* Safety policy for communication tools (e.g. Gmail, Chat, Meet).
|
|
547
|
+
*/
|
|
548
|
+
SafetyPolicy["COMMUNICATION_TOOL"] = "COMMUNICATION_TOOL";
|
|
549
|
+
/**
|
|
550
|
+
* Safety policy for account creation.
|
|
551
|
+
*/
|
|
552
|
+
SafetyPolicy["ACCOUNT_CREATION"] = "ACCOUNT_CREATION";
|
|
553
|
+
/**
|
|
554
|
+
* Safety policy for data modification.
|
|
555
|
+
*/
|
|
556
|
+
SafetyPolicy["DATA_MODIFICATION"] = "DATA_MODIFICATION";
|
|
557
|
+
/**
|
|
558
|
+
* Safety policy for user consent management.
|
|
559
|
+
*/
|
|
560
|
+
SafetyPolicy["USER_CONSENT_MANAGEMENT"] = "USER_CONSENT_MANAGEMENT";
|
|
561
|
+
/**
|
|
562
|
+
* Safety policy for legal terms and agreements.
|
|
563
|
+
*/
|
|
564
|
+
SafetyPolicy["LEGAL_TERMS_AND_AGREEMENTS"] = "LEGAL_TERMS_AND_AGREEMENTS";
|
|
565
|
+
})(SafetyPolicy || (SafetyPolicy = {}));
|
|
522
566
|
/** Sites with confidence level chosen & above this value will be blocked from the search results. This enum is not supported in Gemini API. */
|
|
523
567
|
var PhishBlockThreshold;
|
|
524
568
|
(function (PhishBlockThreshold) {
|
|
@@ -551,11 +595,11 @@ var PhishBlockThreshold;
|
|
|
551
595
|
*/
|
|
552
596
|
PhishBlockThreshold["BLOCK_ONLY_EXTREMELY_HIGH"] = "BLOCK_ONLY_EXTREMELY_HIGH";
|
|
553
597
|
})(PhishBlockThreshold || (PhishBlockThreshold = {}));
|
|
554
|
-
/** Specifies the function Behavior.
|
|
598
|
+
/** Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. */
|
|
555
599
|
var Behavior;
|
|
556
600
|
(function (Behavior) {
|
|
557
601
|
/**
|
|
558
|
-
* This value is
|
|
602
|
+
* This value is unspecified.
|
|
559
603
|
*/
|
|
560
604
|
Behavior["UNSPECIFIED"] = "UNSPECIFIED";
|
|
561
605
|
/**
|
|
@@ -579,30 +623,6 @@ var DynamicRetrievalConfigMode;
|
|
|
579
623
|
*/
|
|
580
624
|
DynamicRetrievalConfigMode["MODE_DYNAMIC"] = "MODE_DYNAMIC";
|
|
581
625
|
})(DynamicRetrievalConfigMode || (DynamicRetrievalConfigMode = {}));
|
|
582
|
-
/** Function calling mode. */
|
|
583
|
-
var FunctionCallingConfigMode;
|
|
584
|
-
(function (FunctionCallingConfigMode) {
|
|
585
|
-
/**
|
|
586
|
-
* Unspecified function calling mode. This value should not be used.
|
|
587
|
-
*/
|
|
588
|
-
FunctionCallingConfigMode["MODE_UNSPECIFIED"] = "MODE_UNSPECIFIED";
|
|
589
|
-
/**
|
|
590
|
-
* Default model behavior, model decides to predict either function calls or natural language response.
|
|
591
|
-
*/
|
|
592
|
-
FunctionCallingConfigMode["AUTO"] = "AUTO";
|
|
593
|
-
/**
|
|
594
|
-
* Model is constrained to always predicting function calls only. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".
|
|
595
|
-
*/
|
|
596
|
-
FunctionCallingConfigMode["ANY"] = "ANY";
|
|
597
|
-
/**
|
|
598
|
-
* Model will not predict any function calls. Model behavior is same as when not passing any function declarations.
|
|
599
|
-
*/
|
|
600
|
-
FunctionCallingConfigMode["NONE"] = "NONE";
|
|
601
|
-
/**
|
|
602
|
-
* Model is constrained to predict either function calls or natural language response. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".
|
|
603
|
-
*/
|
|
604
|
-
FunctionCallingConfigMode["VALIDATED"] = "VALIDATED";
|
|
605
|
-
})(FunctionCallingConfigMode || (FunctionCallingConfigMode = {}));
|
|
606
626
|
/** The number of thoughts tokens that the model should generate. */
|
|
607
627
|
var ThinkingLevel;
|
|
608
628
|
(function (ThinkingLevel) {
|
|
@@ -686,6 +706,10 @@ var HarmCategory;
|
|
|
686
706
|
* Deprecated: Election filter is not longer supported. The harm category is civic integrity.
|
|
687
707
|
*/
|
|
688
708
|
HarmCategory["HARM_CATEGORY_CIVIC_INTEGRITY"] = "HARM_CATEGORY_CIVIC_INTEGRITY";
|
|
709
|
+
/**
|
|
710
|
+
* Prompts designed to bypass safety filters.
|
|
711
|
+
*/
|
|
712
|
+
HarmCategory["HARM_CATEGORY_JAILBREAK"] = "HARM_CATEGORY_JAILBREAK";
|
|
689
713
|
/**
|
|
690
714
|
* Images that contain hate speech. This enum value is not supported in Gemini API.
|
|
691
715
|
*/
|
|
@@ -702,10 +726,6 @@ var HarmCategory;
|
|
|
702
726
|
* Images that contain sexually explicit content. This enum value is not supported in Gemini API.
|
|
703
727
|
*/
|
|
704
728
|
HarmCategory["HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT"] = "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT";
|
|
705
|
-
/**
|
|
706
|
-
* Prompts designed to bypass safety filters. This enum value is not supported in Gemini API.
|
|
707
|
-
*/
|
|
708
|
-
HarmCategory["HARM_CATEGORY_JAILBREAK"] = "HARM_CATEGORY_JAILBREAK";
|
|
709
729
|
})(HarmCategory || (HarmCategory = {}));
|
|
710
730
|
/** The method for blocking content. If not specified, the default behavior is to use the probability score. This enum is not supported in Gemini API. */
|
|
711
731
|
var HarmBlockMethod;
|
|
@@ -751,6 +771,30 @@ var HarmBlockThreshold;
|
|
|
751
771
|
*/
|
|
752
772
|
HarmBlockThreshold["OFF"] = "OFF";
|
|
753
773
|
})(HarmBlockThreshold || (HarmBlockThreshold = {}));
|
|
774
|
+
/** Function calling mode. */
|
|
775
|
+
var FunctionCallingConfigMode;
|
|
776
|
+
(function (FunctionCallingConfigMode) {
|
|
777
|
+
/**
|
|
778
|
+
* Unspecified function calling mode. This value should not be used.
|
|
779
|
+
*/
|
|
780
|
+
FunctionCallingConfigMode["MODE_UNSPECIFIED"] = "MODE_UNSPECIFIED";
|
|
781
|
+
/**
|
|
782
|
+
* Default model behavior, model decides to predict either function calls or natural language response.
|
|
783
|
+
*/
|
|
784
|
+
FunctionCallingConfigMode["AUTO"] = "AUTO";
|
|
785
|
+
/**
|
|
786
|
+
* Model is constrained to always predicting function calls only. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".
|
|
787
|
+
*/
|
|
788
|
+
FunctionCallingConfigMode["ANY"] = "ANY";
|
|
789
|
+
/**
|
|
790
|
+
* Model will not predict any function calls. Model behavior is same as when not passing any function declarations.
|
|
791
|
+
*/
|
|
792
|
+
FunctionCallingConfigMode["NONE"] = "NONE";
|
|
793
|
+
/**
|
|
794
|
+
* Model is constrained to predict either function calls or natural language response. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".
|
|
795
|
+
*/
|
|
796
|
+
FunctionCallingConfigMode["VALIDATED"] = "VALIDATED";
|
|
797
|
+
})(FunctionCallingConfigMode || (FunctionCallingConfigMode = {}));
|
|
754
798
|
/** Output only. The reason why the model stopped generating tokens.
|
|
755
799
|
|
|
756
800
|
If empty, the model has not stopped generating the tokens. */
|
|
@@ -808,6 +852,10 @@ var FinishReason;
|
|
|
808
852
|
* The tool call generated by the model is invalid.
|
|
809
853
|
*/
|
|
810
854
|
FinishReason["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
|
|
855
|
+
/**
|
|
856
|
+
* Model called too many tools consecutively, thus the system exited execution.
|
|
857
|
+
*/
|
|
858
|
+
FinishReason["TOO_MANY_TOOL_CALLS"] = "TOO_MANY_TOOL_CALLS";
|
|
811
859
|
/**
|
|
812
860
|
* Image generation stopped because the generated images have prohibited content.
|
|
813
861
|
*/
|
|
@@ -957,30 +1005,34 @@ var TrafficType;
|
|
|
957
1005
|
*/
|
|
958
1006
|
TrafficType["PROVISIONED_THROUGHPUT"] = "PROVISIONED_THROUGHPUT";
|
|
959
1007
|
})(TrafficType || (TrafficType = {}));
|
|
960
|
-
/**
|
|
961
|
-
var
|
|
962
|
-
(function (
|
|
1008
|
+
/** The modality that this token count applies to. */
|
|
1009
|
+
var MediaModality;
|
|
1010
|
+
(function (MediaModality) {
|
|
963
1011
|
/**
|
|
964
|
-
*
|
|
1012
|
+
* When a modality is not specified, it is treated as `TEXT`.
|
|
965
1013
|
*/
|
|
966
|
-
|
|
1014
|
+
MediaModality["MODALITY_UNSPECIFIED"] = "MODALITY_UNSPECIFIED";
|
|
967
1015
|
/**
|
|
968
|
-
*
|
|
1016
|
+
* The `Part` contains plain text.
|
|
969
1017
|
*/
|
|
970
|
-
|
|
1018
|
+
MediaModality["TEXT"] = "TEXT";
|
|
971
1019
|
/**
|
|
972
|
-
*
|
|
1020
|
+
* The `Part` contains an image.
|
|
973
1021
|
*/
|
|
974
|
-
|
|
1022
|
+
MediaModality["IMAGE"] = "IMAGE";
|
|
975
1023
|
/**
|
|
976
|
-
*
|
|
1024
|
+
* The `Part` contains a video.
|
|
977
1025
|
*/
|
|
978
|
-
|
|
1026
|
+
MediaModality["VIDEO"] = "VIDEO";
|
|
979
1027
|
/**
|
|
980
|
-
*
|
|
1028
|
+
* The `Part` contains audio.
|
|
981
1029
|
*/
|
|
982
|
-
|
|
983
|
-
|
|
1030
|
+
MediaModality["AUDIO"] = "AUDIO";
|
|
1031
|
+
/**
|
|
1032
|
+
* The `Part` contains a document, such as a PDF.
|
|
1033
|
+
*/
|
|
1034
|
+
MediaModality["DOCUMENT"] = "DOCUMENT";
|
|
1035
|
+
})(MediaModality || (MediaModality = {}));
|
|
984
1036
|
/** The stage of the underlying model. This enum is not supported in Vertex AI. */
|
|
985
1037
|
var ModelStage;
|
|
986
1038
|
(function (ModelStage) {
|
|
@@ -1037,6 +1089,134 @@ var MediaResolution;
|
|
|
1037
1089
|
*/
|
|
1038
1090
|
MediaResolution["MEDIA_RESOLUTION_HIGH"] = "MEDIA_RESOLUTION_HIGH";
|
|
1039
1091
|
})(MediaResolution || (MediaResolution = {}));
|
|
1092
|
+
/** Server content modalities. */
|
|
1093
|
+
var Modality;
|
|
1094
|
+
(function (Modality) {
|
|
1095
|
+
/**
|
|
1096
|
+
* The modality is unspecified.
|
|
1097
|
+
*/
|
|
1098
|
+
Modality["MODALITY_UNSPECIFIED"] = "MODALITY_UNSPECIFIED";
|
|
1099
|
+
/**
|
|
1100
|
+
* Indicates the model should return text
|
|
1101
|
+
*/
|
|
1102
|
+
Modality["TEXT"] = "TEXT";
|
|
1103
|
+
/**
|
|
1104
|
+
* Indicates the model should return images.
|
|
1105
|
+
*/
|
|
1106
|
+
Modality["IMAGE"] = "IMAGE";
|
|
1107
|
+
/**
|
|
1108
|
+
* Indicates the model should return audio.
|
|
1109
|
+
*/
|
|
1110
|
+
Modality["AUDIO"] = "AUDIO";
|
|
1111
|
+
/**
|
|
1112
|
+
* Indicates the model should return video.
|
|
1113
|
+
*/
|
|
1114
|
+
Modality["VIDEO"] = "VIDEO";
|
|
1115
|
+
})(Modality || (Modality = {}));
|
|
1116
|
+
/** Delivery mode for the generated content. */
|
|
1117
|
+
var Delivery;
|
|
1118
|
+
(function (Delivery) {
|
|
1119
|
+
/**
|
|
1120
|
+
* Default value. This value is unused.
|
|
1121
|
+
*/
|
|
1122
|
+
Delivery["DELIVERY_UNSPECIFIED"] = "DELIVERY_UNSPECIFIED";
|
|
1123
|
+
/**
|
|
1124
|
+
* Generated bytes are returned inline in the response.
|
|
1125
|
+
*/
|
|
1126
|
+
Delivery["INLINE"] = "INLINE";
|
|
1127
|
+
/**
|
|
1128
|
+
* Generated content is stored and a URI is returned.
|
|
1129
|
+
*/
|
|
1130
|
+
Delivery["URI"] = "URI";
|
|
1131
|
+
})(Delivery || (Delivery = {}));
|
|
1132
|
+
/** The aspect ratio for the image output. */
|
|
1133
|
+
var AspectRatio;
|
|
1134
|
+
(function (AspectRatio) {
|
|
1135
|
+
/**
|
|
1136
|
+
* Default value. This value is unused.
|
|
1137
|
+
*/
|
|
1138
|
+
AspectRatio["ASPECT_RATIO_UNSPECIFIED"] = "ASPECT_RATIO_UNSPECIFIED";
|
|
1139
|
+
/**
|
|
1140
|
+
* 1:1 aspect ratio.
|
|
1141
|
+
*/
|
|
1142
|
+
AspectRatio["ASPECT_RATIO_ONE_BY_ONE"] = "ASPECT_RATIO_ONE_BY_ONE";
|
|
1143
|
+
/**
|
|
1144
|
+
* 2:3 aspect ratio.
|
|
1145
|
+
*/
|
|
1146
|
+
AspectRatio["ASPECT_RATIO_TWO_BY_THREE"] = "ASPECT_RATIO_TWO_BY_THREE";
|
|
1147
|
+
/**
|
|
1148
|
+
* 3:2 aspect ratio.
|
|
1149
|
+
*/
|
|
1150
|
+
AspectRatio["ASPECT_RATIO_THREE_BY_TWO"] = "ASPECT_RATIO_THREE_BY_TWO";
|
|
1151
|
+
/**
|
|
1152
|
+
* 3:4 aspect ratio.
|
|
1153
|
+
*/
|
|
1154
|
+
AspectRatio["ASPECT_RATIO_THREE_BY_FOUR"] = "ASPECT_RATIO_THREE_BY_FOUR";
|
|
1155
|
+
/**
|
|
1156
|
+
* 4:3 aspect ratio.
|
|
1157
|
+
*/
|
|
1158
|
+
AspectRatio["ASPECT_RATIO_FOUR_BY_THREE"] = "ASPECT_RATIO_FOUR_BY_THREE";
|
|
1159
|
+
/**
|
|
1160
|
+
* 4:5 aspect ratio.
|
|
1161
|
+
*/
|
|
1162
|
+
AspectRatio["ASPECT_RATIO_FOUR_BY_FIVE"] = "ASPECT_RATIO_FOUR_BY_FIVE";
|
|
1163
|
+
/**
|
|
1164
|
+
* 5:4 aspect ratio.
|
|
1165
|
+
*/
|
|
1166
|
+
AspectRatio["ASPECT_RATIO_FIVE_BY_FOUR"] = "ASPECT_RATIO_FIVE_BY_FOUR";
|
|
1167
|
+
/**
|
|
1168
|
+
* 9:16 aspect ratio.
|
|
1169
|
+
*/
|
|
1170
|
+
AspectRatio["ASPECT_RATIO_NINE_BY_SIXTEEN"] = "ASPECT_RATIO_NINE_BY_SIXTEEN";
|
|
1171
|
+
/**
|
|
1172
|
+
* 16:9 aspect ratio.
|
|
1173
|
+
*/
|
|
1174
|
+
AspectRatio["ASPECT_RATIO_SIXTEEN_BY_NINE"] = "ASPECT_RATIO_SIXTEEN_BY_NINE";
|
|
1175
|
+
/**
|
|
1176
|
+
* 21:9 aspect ratio.
|
|
1177
|
+
*/
|
|
1178
|
+
AspectRatio["ASPECT_RATIO_TWENTY_ONE_BY_NINE"] = "ASPECT_RATIO_TWENTY_ONE_BY_NINE";
|
|
1179
|
+
/**
|
|
1180
|
+
* 1:8 aspect ratio.
|
|
1181
|
+
*/
|
|
1182
|
+
AspectRatio["ASPECT_RATIO_ONE_BY_EIGHT"] = "ASPECT_RATIO_ONE_BY_EIGHT";
|
|
1183
|
+
/**
|
|
1184
|
+
* 8:1 aspect ratio.
|
|
1185
|
+
*/
|
|
1186
|
+
AspectRatio["ASPECT_RATIO_EIGHT_BY_ONE"] = "ASPECT_RATIO_EIGHT_BY_ONE";
|
|
1187
|
+
/**
|
|
1188
|
+
* 1:4 aspect ratio.
|
|
1189
|
+
*/
|
|
1190
|
+
AspectRatio["ASPECT_RATIO_ONE_BY_FOUR"] = "ASPECT_RATIO_ONE_BY_FOUR";
|
|
1191
|
+
/**
|
|
1192
|
+
* 4:1 aspect ratio.
|
|
1193
|
+
*/
|
|
1194
|
+
AspectRatio["ASPECT_RATIO_FOUR_BY_ONE"] = "ASPECT_RATIO_FOUR_BY_ONE";
|
|
1195
|
+
})(AspectRatio || (AspectRatio = {}));
|
|
1196
|
+
/** The size of the image output. */
|
|
1197
|
+
var ImageSize;
|
|
1198
|
+
(function (ImageSize) {
|
|
1199
|
+
/**
|
|
1200
|
+
* Default value. This value is unused.
|
|
1201
|
+
*/
|
|
1202
|
+
ImageSize["IMAGE_SIZE_UNSPECIFIED"] = "IMAGE_SIZE_UNSPECIFIED";
|
|
1203
|
+
/**
|
|
1204
|
+
* 512px image size.
|
|
1205
|
+
*/
|
|
1206
|
+
ImageSize["IMAGE_SIZE_FIVE_TWELVE"] = "IMAGE_SIZE_FIVE_TWELVE";
|
|
1207
|
+
/**
|
|
1208
|
+
* 1K image size.
|
|
1209
|
+
*/
|
|
1210
|
+
ImageSize["IMAGE_SIZE_ONE_K"] = "IMAGE_SIZE_ONE_K";
|
|
1211
|
+
/**
|
|
1212
|
+
* 2K image size.
|
|
1213
|
+
*/
|
|
1214
|
+
ImageSize["IMAGE_SIZE_TWO_K"] = "IMAGE_SIZE_TWO_K";
|
|
1215
|
+
/**
|
|
1216
|
+
* 4K image size.
|
|
1217
|
+
*/
|
|
1218
|
+
ImageSize["IMAGE_SIZE_FOUR_K"] = "IMAGE_SIZE_FOUR_K";
|
|
1219
|
+
})(ImageSize || (ImageSize = {}));
|
|
1040
1220
|
/** Tuning mode. This enum is not supported in Gemini API. */
|
|
1041
1221
|
var TuningMode;
|
|
1042
1222
|
(function (TuningMode) {
|
|
@@ -1085,6 +1265,58 @@ var AdapterSize;
|
|
|
1085
1265
|
*/
|
|
1086
1266
|
AdapterSize["ADAPTER_SIZE_THIRTY_TWO"] = "ADAPTER_SIZE_THIRTY_TWO";
|
|
1087
1267
|
})(AdapterSize || (AdapterSize = {}));
|
|
1268
|
+
/** Defines the type for parsing sample response. This enum is not supported in Gemini API. */
|
|
1269
|
+
var ResponseParseType;
|
|
1270
|
+
(function (ResponseParseType) {
|
|
1271
|
+
/**
|
|
1272
|
+
* Default value. Fallback to IDENTITY
|
|
1273
|
+
*/
|
|
1274
|
+
ResponseParseType["RESPONSE_PARSE_TYPE_UNSPECIFIED"] = "RESPONSE_PARSE_TYPE_UNSPECIFIED";
|
|
1275
|
+
/**
|
|
1276
|
+
* Returns the sample response as is.
|
|
1277
|
+
*/
|
|
1278
|
+
ResponseParseType["IDENTITY"] = "IDENTITY";
|
|
1279
|
+
/**
|
|
1280
|
+
* Uses regex to extract the important part of sample response. Similar to [GoogleSQL](https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_extract) `REGEX_EXTRACT(response, regex_extract_expression)`, but different in that if there are multiple matches, the last match will be returned.
|
|
1281
|
+
*/
|
|
1282
|
+
ResponseParseType["REGEX_EXTRACT"] = "REGEX_EXTRACT";
|
|
1283
|
+
})(ResponseParseType || (ResponseParseType = {}));
|
|
1284
|
+
/** Match operation to use for evaluating rewards. This enum is not supported in Gemini API. */
|
|
1285
|
+
var MatchOperation;
|
|
1286
|
+
(function (MatchOperation) {
|
|
1287
|
+
/**
|
|
1288
|
+
* Default value. A user error will be returned if not set.
|
|
1289
|
+
*/
|
|
1290
|
+
MatchOperation["MATCH_OPERATION_UNSPECIFIED"] = "MATCH_OPERATION_UNSPECIFIED";
|
|
1291
|
+
/**
|
|
1292
|
+
* Equivalent to [GoogleSQL](https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_contains) `REGEX_CONTAINS(target, expression)`.
|
|
1293
|
+
*/
|
|
1294
|
+
MatchOperation["REGEX_CONTAINS"] = "REGEX_CONTAINS";
|
|
1295
|
+
/**
|
|
1296
|
+
* The match operation returns `true` if expression is a substring of the target.
|
|
1297
|
+
*/
|
|
1298
|
+
MatchOperation["PARTIAL_MATCH"] = "PARTIAL_MATCH";
|
|
1299
|
+
/**
|
|
1300
|
+
* The match operation returns `true` expression is an exact match of the target.
|
|
1301
|
+
*/
|
|
1302
|
+
MatchOperation["EXACT_MATCH"] = "EXACT_MATCH";
|
|
1303
|
+
})(MatchOperation || (MatchOperation = {}));
|
|
1304
|
+
/** Represents how much to think for the tuning job. */
|
|
1305
|
+
var ReinforcementTuningThinkingLevel;
|
|
1306
|
+
(function (ReinforcementTuningThinkingLevel) {
|
|
1307
|
+
/**
|
|
1308
|
+
* Unspecified thinking level.
|
|
1309
|
+
*/
|
|
1310
|
+
ReinforcementTuningThinkingLevel["REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED"] = "REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED";
|
|
1311
|
+
/**
|
|
1312
|
+
* Little to no thinking.
|
|
1313
|
+
*/
|
|
1314
|
+
ReinforcementTuningThinkingLevel["MINIMAL"] = "MINIMAL";
|
|
1315
|
+
/**
|
|
1316
|
+
* High thinking level.
|
|
1317
|
+
*/
|
|
1318
|
+
ReinforcementTuningThinkingLevel["HIGH"] = "HIGH";
|
|
1319
|
+
})(ReinforcementTuningThinkingLevel || (ReinforcementTuningThinkingLevel = {}));
|
|
1088
1320
|
/** Job state. */
|
|
1089
1321
|
var JobState;
|
|
1090
1322
|
(function (JobState) {
|
|
@@ -1233,7 +1465,39 @@ var PairwiseChoice;
|
|
|
1233
1465
|
*/
|
|
1234
1466
|
PairwiseChoice["TIE"] = "TIE";
|
|
1235
1467
|
})(PairwiseChoice || (PairwiseChoice = {}));
|
|
1236
|
-
/** The
|
|
1468
|
+
/** The orientation of the video. Defaults to LANDSCAPE. This enum is not supported in Gemini API. */
|
|
1469
|
+
var VideoOrientation;
|
|
1470
|
+
(function (VideoOrientation) {
|
|
1471
|
+
/**
|
|
1472
|
+
* Unspecified video orientation. Defaults to landscape.
|
|
1473
|
+
*/
|
|
1474
|
+
VideoOrientation["VIDEO_ORIENTATION_UNSPECIFIED"] = "VIDEO_ORIENTATION_UNSPECIFIED";
|
|
1475
|
+
/**
|
|
1476
|
+
* Landscape orientation (e.g. 16:9, 1280x720).
|
|
1477
|
+
*/
|
|
1478
|
+
VideoOrientation["LANDSCAPE"] = "LANDSCAPE";
|
|
1479
|
+
/**
|
|
1480
|
+
* Portrait orientation (e.g. 9:16, 720x1280).
|
|
1481
|
+
*/
|
|
1482
|
+
VideoOrientation["PORTRAIT"] = "PORTRAIT";
|
|
1483
|
+
})(VideoOrientation || (VideoOrientation = {}));
|
|
1484
|
+
/** The speed of the tuning job. Only supported for Veo 3.0 models. This enum is not supported in Gemini API. */
|
|
1485
|
+
var TuningSpeed;
|
|
1486
|
+
(function (TuningSpeed) {
|
|
1487
|
+
/**
|
|
1488
|
+
* The default / unset value. For Veo 3.0 models, this defaults to FAST.
|
|
1489
|
+
*/
|
|
1490
|
+
TuningSpeed["TUNING_SPEED_UNSPECIFIED"] = "TUNING_SPEED_UNSPECIFIED";
|
|
1491
|
+
/**
|
|
1492
|
+
* Regular tuning speed.
|
|
1493
|
+
*/
|
|
1494
|
+
TuningSpeed["REGULAR"] = "REGULAR";
|
|
1495
|
+
/**
|
|
1496
|
+
* Fast tuning speed.
|
|
1497
|
+
*/
|
|
1498
|
+
TuningSpeed["FAST"] = "FAST";
|
|
1499
|
+
})(TuningSpeed || (TuningSpeed = {}));
|
|
1500
|
+
/** The tuning task for Veo. This enum is not supported in Gemini API. */
|
|
1237
1501
|
var TuningTask;
|
|
1238
1502
|
(function (TuningTask) {
|
|
1239
1503
|
/**
|
|
@@ -1273,6 +1537,42 @@ var DocumentState;
|
|
|
1273
1537
|
*/
|
|
1274
1538
|
DocumentState["STATE_FAILED"] = "STATE_FAILED";
|
|
1275
1539
|
})(DocumentState || (DocumentState = {}));
|
|
1540
|
+
/** Pricing and performance service tier. */
|
|
1541
|
+
var ServiceTier;
|
|
1542
|
+
(function (ServiceTier) {
|
|
1543
|
+
/**
|
|
1544
|
+
* Default service tier, which is standard.
|
|
1545
|
+
*/
|
|
1546
|
+
ServiceTier["UNSPECIFIED"] = "unspecified";
|
|
1547
|
+
/**
|
|
1548
|
+
* Flex service tier.
|
|
1549
|
+
*/
|
|
1550
|
+
ServiceTier["FLEX"] = "flex";
|
|
1551
|
+
/**
|
|
1552
|
+
* Standard service tier.
|
|
1553
|
+
*/
|
|
1554
|
+
ServiceTier["STANDARD"] = "standard";
|
|
1555
|
+
/**
|
|
1556
|
+
* Priority service tier.
|
|
1557
|
+
*/
|
|
1558
|
+
ServiceTier["PRIORITY"] = "priority";
|
|
1559
|
+
})(ServiceTier || (ServiceTier = {}));
|
|
1560
|
+
/** How the model processes input media for understanding. */
|
|
1561
|
+
var MediaProcessing;
|
|
1562
|
+
(function (MediaProcessing) {
|
|
1563
|
+
/**
|
|
1564
|
+
* Default. Uses model-specific processing
|
|
1565
|
+
*/
|
|
1566
|
+
MediaProcessing["MEDIA_PROCESSING_UNSPECIFIED"] = "MEDIA_PROCESSING_UNSPECIFIED";
|
|
1567
|
+
/**
|
|
1568
|
+
* Fixed-rate frame extraction. All frames placed in context.
|
|
1569
|
+
*/
|
|
1570
|
+
MediaProcessing["STATIC"] = "STATIC";
|
|
1571
|
+
/**
|
|
1572
|
+
* Model-driven dynamic navigation. Recommended for most use cases.
|
|
1573
|
+
*/
|
|
1574
|
+
MediaProcessing["AGENTIC"] = "AGENTIC";
|
|
1575
|
+
})(MediaProcessing || (MediaProcessing = {}));
|
|
1276
1576
|
/** The tokenization quality used for given media. */
|
|
1277
1577
|
var PartMediaResolutionLevel;
|
|
1278
1578
|
(function (PartMediaResolutionLevel) {
|
|
@@ -1324,6 +1624,10 @@ var ToolType;
|
|
|
1324
1624
|
* File search tool, maps to Tool.file_search.
|
|
1325
1625
|
*/
|
|
1326
1626
|
ToolType["FILE_SEARCH"] = "FILE_SEARCH";
|
|
1627
|
+
/**
|
|
1628
|
+
* Media processing tool.
|
|
1629
|
+
*/
|
|
1630
|
+
ToolType["MEDIA_PROCESSING"] = "MEDIA_PROCESSING";
|
|
1327
1631
|
})(ToolType || (ToolType = {}));
|
|
1328
1632
|
/** Resource scope. */
|
|
1329
1633
|
var ResourceScope;
|
|
@@ -1337,26 +1641,6 @@ var ResourceScope;
|
|
|
1337
1641
|
*/
|
|
1338
1642
|
ResourceScope["COLLECTION"] = "COLLECTION";
|
|
1339
1643
|
})(ResourceScope || (ResourceScope = {}));
|
|
1340
|
-
/** Pricing and performance service tier. */
|
|
1341
|
-
var ServiceTier;
|
|
1342
|
-
(function (ServiceTier) {
|
|
1343
|
-
/**
|
|
1344
|
-
* Default service tier, which is standard.
|
|
1345
|
-
*/
|
|
1346
|
-
ServiceTier["UNSPECIFIED"] = "unspecified";
|
|
1347
|
-
/**
|
|
1348
|
-
* Flex service tier.
|
|
1349
|
-
*/
|
|
1350
|
-
ServiceTier["FLEX"] = "flex";
|
|
1351
|
-
/**
|
|
1352
|
-
* Standard service tier.
|
|
1353
|
-
*/
|
|
1354
|
-
ServiceTier["STANDARD"] = "standard";
|
|
1355
|
-
/**
|
|
1356
|
-
* Priority service tier.
|
|
1357
|
-
*/
|
|
1358
|
-
ServiceTier["PRIORITY"] = "priority";
|
|
1359
|
-
})(ServiceTier || (ServiceTier = {}));
|
|
1360
1644
|
/** Options for feature selection preference. */
|
|
1361
1645
|
var FeatureSelectionPreference;
|
|
1362
1646
|
(function (FeatureSelectionPreference) {
|
|
@@ -1552,6 +1836,10 @@ var TuningMethod;
|
|
|
1552
1836
|
* Distillation tuning.
|
|
1553
1837
|
*/
|
|
1554
1838
|
TuningMethod["DISTILLATION"] = "DISTILLATION";
|
|
1839
|
+
/**
|
|
1840
|
+
* Reinforcement tuning.
|
|
1841
|
+
*/
|
|
1842
|
+
TuningMethod["REINFORCEMENT_TUNING"] = "REINFORCEMENT_TUNING";
|
|
1555
1843
|
})(TuningMethod || (TuningMethod = {}));
|
|
1556
1844
|
/** State for the lifecycle of a File. */
|
|
1557
1845
|
var FileState;
|
|
@@ -1685,34 +1973,26 @@ var TurnCompleteReason;
|
|
|
1685
1973
|
*/
|
|
1686
1974
|
TurnCompleteReason["MAX_REGENERATION_REACHED"] = "MAX_REGENERATION_REACHED";
|
|
1687
1975
|
})(TurnCompleteReason || (TurnCompleteReason = {}));
|
|
1688
|
-
/**
|
|
1689
|
-
var
|
|
1690
|
-
(function (
|
|
1691
|
-
/**
|
|
1692
|
-
* The modality is unspecified.
|
|
1693
|
-
*/
|
|
1694
|
-
MediaModality["MODALITY_UNSPECIFIED"] = "MODALITY_UNSPECIFIED";
|
|
1976
|
+
/** The different activity states of the live session. */
|
|
1977
|
+
var InteractionStatus;
|
|
1978
|
+
(function (InteractionStatus) {
|
|
1695
1979
|
/**
|
|
1696
|
-
*
|
|
1980
|
+
* Unspecified interaction status.
|
|
1697
1981
|
*/
|
|
1698
|
-
|
|
1982
|
+
InteractionStatus["INTERACTION_STATUS_UNSPECIFIED"] = "INTERACTION_STATUS_UNSPECIFIED";
|
|
1699
1983
|
/**
|
|
1700
|
-
*
|
|
1984
|
+
* The server is still actively processing user input or running background reasoning. More model output may follow.
|
|
1701
1985
|
*/
|
|
1702
|
-
|
|
1986
|
+
InteractionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
1703
1987
|
/**
|
|
1704
|
-
*
|
|
1988
|
+
* Deprecated: Use IDLE instead.
|
|
1705
1989
|
*/
|
|
1706
|
-
|
|
1990
|
+
InteractionStatus["REQUIRES_ACTION"] = "REQUIRES_ACTION";
|
|
1707
1991
|
/**
|
|
1708
|
-
*
|
|
1992
|
+
* The server has completed all processing and background reasoning.
|
|
1709
1993
|
*/
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
* Document, e.g. PDF.
|
|
1713
|
-
*/
|
|
1714
|
-
MediaModality["DOCUMENT"] = "DOCUMENT";
|
|
1715
|
-
})(MediaModality || (MediaModality = {}));
|
|
1994
|
+
InteractionStatus["IDLE"] = "IDLE";
|
|
1995
|
+
})(InteractionStatus || (InteractionStatus = {}));
|
|
1716
1996
|
/** The type of the VAD signal. */
|
|
1717
1997
|
var VadSignalType;
|
|
1718
1998
|
(function (VadSignalType) {
|
|
@@ -1749,7 +2029,7 @@ var VoiceActivityType;
|
|
|
1749
2029
|
var StartSensitivity;
|
|
1750
2030
|
(function (StartSensitivity) {
|
|
1751
2031
|
/**
|
|
1752
|
-
* The default is START_SENSITIVITY_LOW.
|
|
2032
|
+
* The default is START_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and START_SENSITIVITY_HIGH for Gemini Live.
|
|
1753
2033
|
*/
|
|
1754
2034
|
StartSensitivity["START_SENSITIVITY_UNSPECIFIED"] = "START_SENSITIVITY_UNSPECIFIED";
|
|
1755
2035
|
/**
|
|
@@ -1765,7 +2045,7 @@ var StartSensitivity;
|
|
|
1765
2045
|
var EndSensitivity;
|
|
1766
2046
|
(function (EndSensitivity) {
|
|
1767
2047
|
/**
|
|
1768
|
-
* The default is END_SENSITIVITY_LOW.
|
|
2048
|
+
* The default is END_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and END_SENSITIVITY_HIGH for Gemini Live.
|
|
1769
2049
|
*/
|
|
1770
2050
|
EndSensitivity["END_SENSITIVITY_UNSPECIFIED"] = "END_SENSITIVITY_UNSPECIFIED";
|
|
1771
2051
|
/**
|
|
@@ -1813,6 +2093,22 @@ var TurnCoverage;
|
|
|
1813
2093
|
*/
|
|
1814
2094
|
TurnCoverage["TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO"] = "TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO";
|
|
1815
2095
|
})(TurnCoverage || (TurnCoverage = {}));
|
|
2096
|
+
/** Transcription mode. */
|
|
2097
|
+
var AudioTranscriptionConfigMode;
|
|
2098
|
+
(function (AudioTranscriptionConfigMode) {
|
|
2099
|
+
/**
|
|
2100
|
+
* Unspecified transcription mode.
|
|
2101
|
+
*/
|
|
2102
|
+
AudioTranscriptionConfigMode["MODE_UNSPECIFIED"] = "MODE_UNSPECIFIED";
|
|
2103
|
+
/**
|
|
2104
|
+
* Verbatim transcription mode.
|
|
2105
|
+
*/
|
|
2106
|
+
AudioTranscriptionConfigMode["VERBATIM"] = "VERBATIM";
|
|
2107
|
+
/**
|
|
2108
|
+
* Smart transcription mode.
|
|
2109
|
+
*/
|
|
2110
|
+
AudioTranscriptionConfigMode["SMART"] = "SMART";
|
|
2111
|
+
})(AudioTranscriptionConfigMode || (AudioTranscriptionConfigMode = {}));
|
|
1816
2112
|
/** Scale of the generated music. */
|
|
1817
2113
|
var Scale;
|
|
1818
2114
|
(function (Scale) {
|
|
@@ -2071,15 +2367,84 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
2071
2367
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
2072
2368
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
2073
2369
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
2074
|
-
const SDK_VERSION = '
|
|
2370
|
+
const SDK_VERSION = '2.21.0'; // x-release-please-version
|
|
2075
2371
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
2076
2372
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
2077
2373
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
2078
2374
|
const MULTI_REGIONAL_LOCATIONS = new Set(['us', 'eu']);
|
|
2375
|
+
/**
|
|
2376
|
+
* Raises Undici's internal header/body timeouts to at least `timeout` ms.
|
|
2377
|
+
*
|
|
2378
|
+
* In Node > 18 the built-in fetch is backed by Undici, which sets a global
|
|
2379
|
+
* dispatcher tracking its own headersTimeout and bodyTimeout via Symbol
|
|
2380
|
+
* properties. Those would otherwise fire before a longer caller-supplied
|
|
2381
|
+
* timeout.
|
|
2382
|
+
*/
|
|
2383
|
+
function raiseUndiciTimeouts(timeout) {
|
|
2384
|
+
const dispatcherSymbol = Symbol.for('undici.globalDispatcher.1');
|
|
2385
|
+
const globalDispatcher = globalThis[dispatcherSymbol];
|
|
2386
|
+
if (!globalDispatcher) {
|
|
2387
|
+
return;
|
|
2388
|
+
}
|
|
2389
|
+
for (const sym of Object.getOwnPropertySymbols(globalDispatcher)) {
|
|
2390
|
+
const desc = sym.description;
|
|
2391
|
+
if ((desc === null || desc === void 0 ? void 0 : desc.includes('headers timeout')) || (desc === null || desc === void 0 ? void 0 : desc.includes('body timeout'))) {
|
|
2392
|
+
const currentTimeout = globalDispatcher[sym];
|
|
2393
|
+
if (typeof currentTimeout === 'number') {
|
|
2394
|
+
globalDispatcher[sym] = Math.max(currentTimeout, timeout);
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* Creates the abort plumbing for one attempt.
|
|
2401
|
+
*
|
|
2402
|
+
* A fresh signal per attempt is what makes `HttpOptions.timeout` a per-attempt
|
|
2403
|
+
* deadline rather than a budget shared across every retry and backoff.
|
|
2404
|
+
*/
|
|
2405
|
+
function createAttemptSignal(timeout, callerSignal) {
|
|
2406
|
+
const noop = () => { };
|
|
2407
|
+
if (!(timeout && timeout > 0) && !callerSignal) {
|
|
2408
|
+
return { signal: undefined, dispose: noop };
|
|
2409
|
+
}
|
|
2410
|
+
const controller = new AbortController();
|
|
2411
|
+
let timeoutHandle;
|
|
2412
|
+
if (timeout && timeout > 0) {
|
|
2413
|
+
timeoutHandle = setTimeout(() => controller.abort(), timeout);
|
|
2414
|
+
if (timeoutHandle &&
|
|
2415
|
+
typeof timeoutHandle.unref === 'function') {
|
|
2416
|
+
// call unref to prevent nodejs process from hanging, see
|
|
2417
|
+
// https://nodejs.org/api/timers.html#timeoutunref
|
|
2418
|
+
timeoutHandle.unref();
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
const onCallerAbort = () => controller.abort();
|
|
2422
|
+
if (callerSignal) {
|
|
2423
|
+
if (callerSignal.aborted) {
|
|
2424
|
+
controller.abort();
|
|
2425
|
+
}
|
|
2426
|
+
else {
|
|
2427
|
+
callerSignal.addEventListener('abort', onCallerAbort);
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
return {
|
|
2431
|
+
signal: controller.signal,
|
|
2432
|
+
dispose: () => {
|
|
2433
|
+
if (timeoutHandle !== undefined) {
|
|
2434
|
+
clearTimeout(timeoutHandle);
|
|
2435
|
+
}
|
|
2436
|
+
callerSignal === null || callerSignal === void 0 ? void 0 : callerSignal.removeEventListener('abort', onCallerAbort);
|
|
2437
|
+
},
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2079
2440
|
// Default retry options.
|
|
2080
2441
|
// The config is based on https://cloud.google.com/storage/docs/retry-strategy.
|
|
2081
|
-
const DEFAULT_RETRY_ATTEMPTS = 5; // Including the initial call
|
|
2082
2442
|
// LINT.IfChange
|
|
2443
|
+
const DEFAULT_RETRY_ATTEMPTS = 5; // Including the initial call
|
|
2444
|
+
const DEFAULT_RETRY_INITIAL_DELAY = 1.0; // seconds
|
|
2445
|
+
const DEFAULT_RETRY_MAX_DELAY = 60.0; // seconds
|
|
2446
|
+
const DEFAULT_RETRY_EXP_BASE = 2;
|
|
2447
|
+
const DEFAULT_RETRY_JITTER = 1;
|
|
2083
2448
|
const DEFAULT_RETRY_HTTP_STATUS_CODES = [
|
|
2084
2449
|
408, // Request timeout
|
|
2085
2450
|
429, // Too many requests
|
|
@@ -2100,15 +2465,6 @@ class ApiClient {
|
|
|
2100
2465
|
var _a, _b, _c;
|
|
2101
2466
|
this.clientOptions = Object.assign({}, opts);
|
|
2102
2467
|
this.customBaseUrl = (_a = opts.httpOptions) === null || _a === void 0 ? void 0 : _a.baseUrl;
|
|
2103
|
-
if (this.clientOptions.vertexai) {
|
|
2104
|
-
if (this.clientOptions.project && this.clientOptions.location) {
|
|
2105
|
-
this.clientOptions.apiKey = undefined;
|
|
2106
|
-
}
|
|
2107
|
-
else if (this.clientOptions.apiKey) {
|
|
2108
|
-
this.clientOptions.project = undefined;
|
|
2109
|
-
this.clientOptions.location = undefined;
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
2468
|
const initHttpOptions = {};
|
|
2113
2469
|
if (this.clientOptions.vertexai) {
|
|
2114
2470
|
if (!this.clientOptions.location &&
|
|
@@ -2127,7 +2483,7 @@ class ApiClient {
|
|
|
2127
2483
|
this.clientOptions.project = undefined;
|
|
2128
2484
|
this.clientOptions.location = undefined;
|
|
2129
2485
|
}
|
|
2130
|
-
else if (this.clientOptions.apiKey ||
|
|
2486
|
+
else if ((this.clientOptions.apiKey && !this.clientOptions.project) ||
|
|
2131
2487
|
this.clientOptions.location === 'global') {
|
|
2132
2488
|
// Vertex Express or global endpoint case.
|
|
2133
2489
|
initHttpOptions.baseUrl = 'https://aiplatform.googleapis.com/';
|
|
@@ -2253,10 +2609,10 @@ class ApiClient {
|
|
|
2253
2609
|
httpOptions.baseUrlResourceScope === ResourceScope.COLLECTION) {
|
|
2254
2610
|
return false;
|
|
2255
2611
|
}
|
|
2256
|
-
if (this.clientOptions.
|
|
2612
|
+
if (!this.clientOptions.vertexai) {
|
|
2257
2613
|
return false;
|
|
2258
2614
|
}
|
|
2259
|
-
if (!this.clientOptions.
|
|
2615
|
+
if (!this.clientOptions.project || !this.clientOptions.location) {
|
|
2260
2616
|
return false;
|
|
2261
2617
|
}
|
|
2262
2618
|
if (request.path.startsWith('projects/')) {
|
|
@@ -2294,8 +2650,8 @@ class ApiClient {
|
|
|
2294
2650
|
else {
|
|
2295
2651
|
requestInit.body = request.body;
|
|
2296
2652
|
}
|
|
2297
|
-
requestInit = await this.includeExtraHttpOptionsToRequestInit(requestInit, patchedHttpOptions, url.toString()
|
|
2298
|
-
return this.unaryApiCall(url, requestInit, request.httpMethod);
|
|
2653
|
+
requestInit = await this.includeExtraHttpOptionsToRequestInit(requestInit, patchedHttpOptions, url.toString());
|
|
2654
|
+
return this.unaryApiCall(url, requestInit, request.httpMethod, patchedHttpOptions.retryOptions, patchedHttpOptions.timeout, request.abortSignal);
|
|
2299
2655
|
}
|
|
2300
2656
|
patchHttpOptions(baseHttpOptions, requestHttpOptions) {
|
|
2301
2657
|
const patchedHttpOptions = JSON.parse(JSON.stringify(baseHttpOptions));
|
|
@@ -2328,29 +2684,12 @@ class ApiClient {
|
|
|
2328
2684
|
}
|
|
2329
2685
|
let requestInit = {};
|
|
2330
2686
|
requestInit.body = request.body;
|
|
2331
|
-
requestInit = await this.includeExtraHttpOptionsToRequestInit(requestInit, patchedHttpOptions, url.toString()
|
|
2332
|
-
return this.streamApiCall(url, requestInit, request.httpMethod);
|
|
2333
|
-
}
|
|
2334
|
-
async includeExtraHttpOptionsToRequestInit(requestInit, httpOptions, url
|
|
2335
|
-
if ((httpOptions
|
|
2336
|
-
|
|
2337
|
-
const signal = abortController.signal;
|
|
2338
|
-
if (httpOptions.timeout && (httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.timeout) > 0) {
|
|
2339
|
-
const timeoutHandle = setTimeout(() => abortController.abort(), httpOptions.timeout);
|
|
2340
|
-
if (timeoutHandle &&
|
|
2341
|
-
typeof timeoutHandle.unref ===
|
|
2342
|
-
'function') {
|
|
2343
|
-
// call unref to prevent nodejs process from hanging, see
|
|
2344
|
-
// https://nodejs.org/api/timers.html#timeoutunref
|
|
2345
|
-
timeoutHandle.unref();
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
if (abortSignal) {
|
|
2349
|
-
abortSignal.addEventListener('abort', () => {
|
|
2350
|
-
abortController.abort();
|
|
2351
|
-
});
|
|
2352
|
-
}
|
|
2353
|
-
requestInit.signal = signal;
|
|
2687
|
+
requestInit = await this.includeExtraHttpOptionsToRequestInit(requestInit, patchedHttpOptions, url.toString());
|
|
2688
|
+
return this.streamApiCall(url, requestInit, request.httpMethod, patchedHttpOptions.retryOptions, patchedHttpOptions.timeout, request.abortSignal);
|
|
2689
|
+
}
|
|
2690
|
+
async includeExtraHttpOptionsToRequestInit(requestInit, httpOptions, url) {
|
|
2691
|
+
if ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.timeout) && httpOptions.timeout > 0) {
|
|
2692
|
+
raiseUndiciTimeouts(httpOptions.timeout);
|
|
2354
2693
|
}
|
|
2355
2694
|
if (httpOptions && httpOptions.extraBody !== null) {
|
|
2356
2695
|
includeExtraBodyToRequestInit(requestInit, httpOptions.extraBody);
|
|
@@ -2358,8 +2697,8 @@ class ApiClient {
|
|
|
2358
2697
|
requestInit.headers = await this.getHeadersInternal(httpOptions, url);
|
|
2359
2698
|
return requestInit;
|
|
2360
2699
|
}
|
|
2361
|
-
async unaryApiCall(url, requestInit, httpMethod) {
|
|
2362
|
-
return this.apiCall(url.toString(), Object.assign(Object.assign({}, requestInit), { method: httpMethod }))
|
|
2700
|
+
async unaryApiCall(url, requestInit, httpMethod, retryOptions, timeout, abortSignal) {
|
|
2701
|
+
return this.apiCall(url.toString(), Object.assign(Object.assign({}, requestInit), { method: httpMethod }), retryOptions, timeout, abortSignal)
|
|
2363
2702
|
.then(async (response) => {
|
|
2364
2703
|
await throwErrorIfNotOK(response);
|
|
2365
2704
|
return new HttpResponse(response);
|
|
@@ -2369,12 +2708,12 @@ class ApiClient {
|
|
|
2369
2708
|
throw e;
|
|
2370
2709
|
}
|
|
2371
2710
|
else {
|
|
2372
|
-
throw new Error(
|
|
2711
|
+
throw new Error(`exception ${e} sending request`, { cause: e });
|
|
2373
2712
|
}
|
|
2374
2713
|
});
|
|
2375
2714
|
}
|
|
2376
|
-
async streamApiCall(url, requestInit, httpMethod) {
|
|
2377
|
-
return this.apiCall(url.toString(), Object.assign(Object.assign({}, requestInit), { method: httpMethod }))
|
|
2715
|
+
async streamApiCall(url, requestInit, httpMethod, retryOptions, timeout, abortSignal) {
|
|
2716
|
+
return this.apiCall(url.toString(), Object.assign(Object.assign({}, requestInit), { method: httpMethod }), retryOptions, timeout, abortSignal)
|
|
2378
2717
|
.then(async (response) => {
|
|
2379
2718
|
await throwErrorIfNotOK(response);
|
|
2380
2719
|
return this.processStreamResponse(response);
|
|
@@ -2384,7 +2723,7 @@ class ApiClient {
|
|
|
2384
2723
|
throw e;
|
|
2385
2724
|
}
|
|
2386
2725
|
else {
|
|
2387
|
-
throw new Error(
|
|
2726
|
+
throw new Error(`exception ${e} sending request`, { cause: e });
|
|
2388
2727
|
}
|
|
2389
2728
|
});
|
|
2390
2729
|
}
|
|
@@ -2476,26 +2815,63 @@ class ApiClient {
|
|
|
2476
2815
|
}
|
|
2477
2816
|
});
|
|
2478
2817
|
}
|
|
2479
|
-
async apiCall(url, requestInit) {
|
|
2480
|
-
var _a;
|
|
2481
|
-
|
|
2482
|
-
!this.clientOptions.httpOptions.retryOptions) {
|
|
2483
|
-
return fetch(url, requestInit);
|
|
2484
|
-
}
|
|
2485
|
-
const retryOptions = this.clientOptions.httpOptions.retryOptions;
|
|
2818
|
+
async apiCall(url, requestInit, retryOptions, timeout, abortSignal) {
|
|
2819
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2820
|
+
const retryableStatusCodes = (_a = retryOptions === null || retryOptions === void 0 ? void 0 : retryOptions.httpStatusCodes) !== null && _a !== void 0 ? _a : DEFAULT_RETRY_HTTP_STATUS_CODES;
|
|
2486
2821
|
const runFetch = async () => {
|
|
2487
|
-
|
|
2488
|
-
|
|
2822
|
+
// A fresh signal per attempt, so that `timeout` bounds this attempt
|
|
2823
|
+
// rather than the whole retry sequence.
|
|
2824
|
+
const attempt = createAttemptSignal(timeout, abortSignal);
|
|
2825
|
+
let response;
|
|
2826
|
+
try {
|
|
2827
|
+
response = await fetch(url, Object.assign(Object.assign({}, requestInit), { signal: attempt.signal }));
|
|
2828
|
+
}
|
|
2829
|
+
catch (e) {
|
|
2830
|
+
attempt.dispose();
|
|
2831
|
+
throw e;
|
|
2832
|
+
}
|
|
2833
|
+
if (!retryOptions ||
|
|
2834
|
+
response.ok ||
|
|
2835
|
+
!retryableStatusCodes.includes(response.status)) {
|
|
2836
|
+
// Either a success, or a failure that must not be retried.
|
|
2837
|
+
//
|
|
2838
|
+
// The attempt is deliberately not disposed: ownership of the response
|
|
2839
|
+
// passes to the caller, and the timeout must stay armed while the body
|
|
2840
|
+
// is consumed.
|
|
2489
2841
|
return response;
|
|
2490
2842
|
}
|
|
2491
|
-
|
|
2492
|
-
|
|
2843
|
+
// Retryable failure, and this response is about to be discarded, so the
|
|
2844
|
+
// attempt's timeout is no longer needed.
|
|
2845
|
+
try {
|
|
2846
|
+
// Throw the typed `ApiError` so that callers can still rely on
|
|
2847
|
+
// `error.status` once the retries are exhausted.
|
|
2848
|
+
await throwErrorIfNotOK(response);
|
|
2849
|
+
}
|
|
2850
|
+
finally {
|
|
2851
|
+
attempt.dispose();
|
|
2493
2852
|
}
|
|
2494
|
-
|
|
2853
|
+
// Unreachable: throwErrorIfNotOK always throws for a non-ok response.
|
|
2854
|
+
return response;
|
|
2495
2855
|
};
|
|
2856
|
+
if (!retryOptions) {
|
|
2857
|
+
return runFetch();
|
|
2858
|
+
}
|
|
2859
|
+
// `attempts` counts the initial call, so p-retry gets one less.
|
|
2860
|
+
const attempts = Math.max(1, (_b = retryOptions.attempts) !== null && _b !== void 0 ? _b : DEFAULT_RETRY_ATTEMPTS);
|
|
2861
|
+
const minTimeout = Math.round(((_c = retryOptions.initialDelay) !== null && _c !== void 0 ? _c : DEFAULT_RETRY_INITIAL_DELAY) * 1000);
|
|
2862
|
+
const maxTimeout = Math.max(minTimeout, Math.round(((_d = retryOptions.maxDelay) !== null && _d !== void 0 ? _d : DEFAULT_RETRY_MAX_DELAY) * 1000));
|
|
2496
2863
|
return pRetry(runFetch, {
|
|
2497
|
-
|
|
2498
|
-
|
|
2864
|
+
retries: attempts - 1,
|
|
2865
|
+
factor: (_e = retryOptions.expBase) !== null && _e !== void 0 ? _e : DEFAULT_RETRY_EXP_BASE,
|
|
2866
|
+
minTimeout,
|
|
2867
|
+
maxTimeout,
|
|
2868
|
+
randomize: ((_f = retryOptions.jitter) !== null && _f !== void 0 ? _f : DEFAULT_RETRY_JITTER) > 0,
|
|
2869
|
+
onFailedAttempt: (info) => {
|
|
2870
|
+
var _a;
|
|
2871
|
+
if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) {
|
|
2872
|
+
throw (_a = info.error) !== null && _a !== void 0 ? _a : info;
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2499
2875
|
});
|
|
2500
2876
|
}
|
|
2501
2877
|
getDefaultHeaders() {
|
|
@@ -2512,11 +2888,14 @@ class ApiClient {
|
|
|
2512
2888
|
for (const [key, value] of Object.entries(httpOptions.headers)) {
|
|
2513
2889
|
headers.append(key, value);
|
|
2514
2890
|
}
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2891
|
+
}
|
|
2892
|
+
// Append a timeout header if it is set, note that the timeout option is
|
|
2893
|
+
// in milliseconds but the header is in seconds.
|
|
2894
|
+
// NOTE: This is intentionally outside the httpOptions.headers guard above
|
|
2895
|
+
// so that the X-Server-Timeout header is always sent whenever a timeout
|
|
2896
|
+
// is configured, even if the caller did not supply any custom headers.
|
|
2897
|
+
if ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.timeout) && httpOptions.timeout > 0) {
|
|
2898
|
+
headers.append(SERVER_TIMEOUT_HEADER, String(Math.ceil(httpOptions.timeout / 1000)));
|
|
2520
2899
|
}
|
|
2521
2900
|
await this.clientOptions.auth.addAuthHeaders(headers, url);
|
|
2522
2901
|
return headers;
|
|
@@ -2937,7 +3316,7 @@ async function uploadBlobInternal(file, uploadUrl, apiClient, httpOptions) {
|
|
|
2937
3316
|
let retryCount = 0;
|
|
2938
3317
|
let currentDelayMs = INITIAL_RETRY_DELAY_MS;
|
|
2939
3318
|
while (retryCount < MAX_RETRY_COUNT) {
|
|
2940
|
-
const mergedHeaders = Object.assign(Object.assign({}, ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.headers) || {})), { 'X-Goog-Upload-Command': uploadCommand, 'X-Goog-Upload-Offset': String(offset)
|
|
3319
|
+
const mergedHeaders = Object.assign(Object.assign({}, ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.headers) || {})), { 'X-Goog-Upload-Command': uploadCommand, 'X-Goog-Upload-Offset': String(offset) });
|
|
2941
3320
|
response = await apiClient.request({
|
|
2942
3321
|
path: '',
|
|
2943
3322
|
body: chunk,
|
|
@@ -3156,7 +3535,7 @@ class NodeUploader {
|
|
|
3156
3535
|
let retryCount = 0;
|
|
3157
3536
|
let currentDelayMs = INITIAL_RETRY_DELAY_MS;
|
|
3158
3537
|
while (retryCount < MAX_RETRY_COUNT) {
|
|
3159
|
-
const mergedHeaders = Object.assign(Object.assign({}, ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.headers) || {})), { 'X-Goog-Upload-Command': uploadCommand, 'X-Goog-Upload-Offset': String(offset), '
|
|
3538
|
+
const mergedHeaders = Object.assign(Object.assign({}, ((httpOptions === null || httpOptions === void 0 ? void 0 : httpOptions.headers) || {})), { 'X-Goog-Upload-Command': uploadCommand, 'X-Goog-Upload-Offset': String(offset), 'X-Goog-Upload-File-Name': fileName });
|
|
3160
3539
|
response = await apiClient.request({
|
|
3161
3540
|
path: '',
|
|
3162
3541
|
body: chunk,
|