@songtonyli/dsh-cli 0.1.53 → 0.1.55
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 +2 -2
- 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/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 +9 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
- 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 +90 -126
- 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 +111 -50
- 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 +14 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
- 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 +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
- 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/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- 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 +216 -63
- 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 +37 -23
- 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/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 +4 -4
- 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 +82 -101
- 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/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 +11 -15
- 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 +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
- 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/package.json +12 -12
- 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/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/package.json +7 -7
- 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 +1 -1
- 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 +10 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +11 -11
- 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 +9 -4
- 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 +183 -156
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
- 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 +1 -1
- 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/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 +6 -6
- 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 +304 -54
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
- 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 +1257 -218
- 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 +1 -1
- 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 +3 -2
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +11 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +39 -35
- 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/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/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-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
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aws-crypto/sha256-browser",
|
|
3
|
-
"version": "5.2.0",
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git",
|
|
6
|
-
"url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git"
|
|
7
|
-
},
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "AWS Crypto Tools Team",
|
|
10
|
-
"email": "aws-cryptools@amazon.com",
|
|
11
|
-
"url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"
|
|
12
|
-
},
|
|
13
|
-
"homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha256-browser",
|
|
14
|
-
"license": "Apache-2.0",
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@aws-crypto/sha256-js": "^5.2.0",
|
|
17
|
-
"@aws-crypto/supports-web-crypto": "^5.2.0",
|
|
18
|
-
"@aws-crypto/util": "^5.2.0",
|
|
19
|
-
"@aws-sdk/types": "^3.222.0",
|
|
20
|
-
"@aws-sdk/util-locate-window": "^3.0.0",
|
|
21
|
-
"@smithy/util-utf8": "^2.0.0",
|
|
22
|
-
"tslib": "^2.6.2"
|
|
23
|
-
},
|
|
24
|
-
"main": "./build/main/index.js",
|
|
25
|
-
"module": "./build/module/index.js",
|
|
26
|
-
"types": "./build/main/index.d.ts",
|
|
27
|
-
"gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748"
|
|
28
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export const SHA_256_HASH: { name: "SHA-256" } = { name: "SHA-256" };
|
|
2
|
-
|
|
3
|
-
export const SHA_256_HMAC_ALGO: { name: "HMAC"; hash: { name: "SHA-256" } } = {
|
|
4
|
-
name: "HMAC",
|
|
5
|
-
hash: SHA_256_HASH
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const EMPTY_DATA_SHA_256 = new Uint8Array([
|
|
9
|
-
227,
|
|
10
|
-
176,
|
|
11
|
-
196,
|
|
12
|
-
66,
|
|
13
|
-
152,
|
|
14
|
-
252,
|
|
15
|
-
28,
|
|
16
|
-
20,
|
|
17
|
-
154,
|
|
18
|
-
251,
|
|
19
|
-
244,
|
|
20
|
-
200,
|
|
21
|
-
153,
|
|
22
|
-
111,
|
|
23
|
-
185,
|
|
24
|
-
36,
|
|
25
|
-
39,
|
|
26
|
-
174,
|
|
27
|
-
65,
|
|
28
|
-
228,
|
|
29
|
-
100,
|
|
30
|
-
155,
|
|
31
|
-
147,
|
|
32
|
-
76,
|
|
33
|
-
164,
|
|
34
|
-
149,
|
|
35
|
-
153,
|
|
36
|
-
27,
|
|
37
|
-
120,
|
|
38
|
-
82,
|
|
39
|
-
184,
|
|
40
|
-
85
|
|
41
|
-
]);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Sha256 as WebCryptoSha256 } from "./webCryptoSha256";
|
|
2
|
-
import { Sha256 as JsSha256 } from "@aws-crypto/sha256-js";
|
|
3
|
-
import { Checksum, SourceData } from "@aws-sdk/types";
|
|
4
|
-
import { supportsWebCrypto } from "@aws-crypto/supports-web-crypto";
|
|
5
|
-
import { locateWindow } from "@aws-sdk/util-locate-window";
|
|
6
|
-
import { convertToBuffer } from "@aws-crypto/util";
|
|
7
|
-
|
|
8
|
-
export class Sha256 implements Checksum {
|
|
9
|
-
private hash: Checksum;
|
|
10
|
-
|
|
11
|
-
constructor(secret?: SourceData) {
|
|
12
|
-
if (supportsWebCrypto(locateWindow())) {
|
|
13
|
-
this.hash = new WebCryptoSha256(secret);
|
|
14
|
-
} else {
|
|
15
|
-
this.hash = new JsSha256(secret);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void {
|
|
20
|
-
this.hash.update(convertToBuffer(data));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
digest(): Promise<Uint8Array> {
|
|
24
|
-
return this.hash.digest();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
reset(): void {
|
|
28
|
-
this.hash.reset();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Checksum, SourceData } from "@aws-sdk/types";
|
|
2
|
-
import { isEmptyData, convertToBuffer } from "@aws-crypto/util";
|
|
3
|
-
import {
|
|
4
|
-
EMPTY_DATA_SHA_256,
|
|
5
|
-
SHA_256_HASH,
|
|
6
|
-
SHA_256_HMAC_ALGO,
|
|
7
|
-
} from "./constants";
|
|
8
|
-
import { locateWindow } from "@aws-sdk/util-locate-window";
|
|
9
|
-
|
|
10
|
-
export class Sha256 implements Checksum {
|
|
11
|
-
private readonly secret?: SourceData;
|
|
12
|
-
private key: Promise<CryptoKey> | undefined;
|
|
13
|
-
private toHash: Uint8Array = new Uint8Array(0);
|
|
14
|
-
|
|
15
|
-
constructor(secret?: SourceData) {
|
|
16
|
-
this.secret = secret;
|
|
17
|
-
this.reset();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
update(data: SourceData): void {
|
|
21
|
-
if (isEmptyData(data)) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const update = convertToBuffer(data);
|
|
26
|
-
const typedArray = new Uint8Array(
|
|
27
|
-
this.toHash.byteLength + update.byteLength
|
|
28
|
-
);
|
|
29
|
-
typedArray.set(this.toHash, 0);
|
|
30
|
-
typedArray.set(update, this.toHash.byteLength);
|
|
31
|
-
this.toHash = typedArray;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
digest(): Promise<Uint8Array> {
|
|
35
|
-
if (this.key) {
|
|
36
|
-
return this.key.then((key) =>
|
|
37
|
-
locateWindow()
|
|
38
|
-
.crypto.subtle.sign(SHA_256_HMAC_ALGO, key, this.toHash)
|
|
39
|
-
.then((data) => new Uint8Array(data))
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (isEmptyData(this.toHash)) {
|
|
44
|
-
return Promise.resolve(EMPTY_DATA_SHA_256);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return Promise.resolve()
|
|
48
|
-
.then(() =>
|
|
49
|
-
locateWindow().crypto.subtle.digest(SHA_256_HASH, this.toHash)
|
|
50
|
-
)
|
|
51
|
-
.then((data) => Promise.resolve(new Uint8Array(data)));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
reset(): void {
|
|
55
|
-
this.toHash = new Uint8Array(0);
|
|
56
|
-
if (this.secret && this.secret !== void 0) {
|
|
57
|
-
this.key = new Promise((resolve, reject) => {
|
|
58
|
-
locateWindow()
|
|
59
|
-
.crypto.subtle.importKey(
|
|
60
|
-
"raw",
|
|
61
|
-
convertToBuffer(this.secret as SourceData),
|
|
62
|
-
SHA_256_HMAC_ALGO,
|
|
63
|
-
false,
|
|
64
|
-
["sign"]
|
|
65
|
-
)
|
|
66
|
-
.then(resolve, reject);
|
|
67
|
-
});
|
|
68
|
-
this.key.catch(() => {});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16)
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b))
|
|
11
|
-
|
|
12
|
-
# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22)
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c))
|
|
17
|
-
|
|
18
|
-
# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13)
|
|
19
|
-
|
|
20
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
21
|
-
|
|
22
|
-
# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
25
|
-
|
|
26
|
-
# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12)
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
- **docs:** sha256 packages, clarify hmac support ([#455](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/455)) ([1be5043](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/1be5043325991f3f5ccb52a8dd928f004b4d442e))
|
|
31
|
-
|
|
32
|
-
- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492)
|
|
33
|
-
|
|
34
|
-
### BREAKING CHANGES
|
|
35
|
-
|
|
36
|
-
- All classes that implemented `Hash` now implement `Checksum`.
|
|
37
|
-
|
|
38
|
-
## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
|
|
39
|
-
|
|
40
|
-
### Bug Fixes
|
|
41
|
-
|
|
42
|
-
- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
|
|
43
|
-
|
|
44
|
-
## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
|
|
45
|
-
|
|
46
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
47
|
-
|
|
48
|
-
# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
|
|
49
|
-
|
|
50
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
51
|
-
|
|
52
|
-
## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
|
|
53
|
-
|
|
54
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
55
|
-
|
|
56
|
-
## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
|
|
57
|
-
|
|
58
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
59
|
-
|
|
60
|
-
# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
|
|
61
|
-
|
|
62
|
-
### Features
|
|
63
|
-
|
|
64
|
-
- add @aws-crypto/util ([8f489cb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/8f489cbe4c0e134f826bac66f1bf5172597048b9))
|
|
65
|
-
|
|
66
|
-
# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0...@aws-crypto/sha256-js@1.1.0) (2021-01-13)
|
|
67
|
-
|
|
68
|
-
### Bug Fixes
|
|
69
|
-
|
|
70
|
-
- remove package lock ([6002a5a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6002a5ab9218dc8798c19dc205d3eebd3bec5b43))
|
|
71
|
-
- **aws-crypto:** export explicit dependencies on [@aws-types](https://github.com/aws-types) ([6a1873a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6a1873a4dcc2aaa4a1338595703cfa7099f17b8c))
|
|
72
|
-
- **deps-dev:** move @aws-sdk/types to devDependencies ([#188](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/188)) ([08efdf4](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/08efdf46dcc612d88c441e29945d787f253ee77d))
|
|
73
|
-
|
|
74
|
-
# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0-alpha.0...@aws-crypto/sha256-js@1.0.0) (2020-10-22)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
77
|
-
|
|
78
|
-
# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.4...@aws-crypto/sha256-js@1.0.0-alpha.0) (2020-02-07)
|
|
79
|
-
|
|
80
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
81
|
-
|
|
82
|
-
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.4) (2020-01-16)
|
|
83
|
-
|
|
84
|
-
### Bug Fixes
|
|
85
|
-
|
|
86
|
-
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
87
|
-
- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8))
|
|
88
|
-
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
89
|
-
|
|
90
|
-
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.3) (2019-11-15)
|
|
91
|
-
|
|
92
|
-
### Bug Fixes
|
|
93
|
-
|
|
94
|
-
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
95
|
-
- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8))
|
|
96
|
-
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
97
|
-
|
|
98
|
-
# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.1...@aws-crypto/sha256-js@0.1.0-preview.2) (2019-10-30)
|
|
99
|
-
|
|
100
|
-
### Bug Fixes
|
|
101
|
-
|
|
102
|
-
- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056))
|
|
103
|
-
|
|
104
|
-
### Features
|
|
105
|
-
|
|
106
|
-
- **sha256-js:** expose synchronous digest ([#7](https://github.com/aws/aws-javascript-crypto-helpers/issues/7)) ([9edaef7](https://github.com/aws/aws-javascript-crypto-helpers/commit/9edaef7)), closes [#6](https://github.com/aws/aws-javascript-crypto-helpers/issues/6)
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright {yyyy} {name of copyright owner}
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# crypto-sha256-js
|
|
2
|
-
|
|
3
|
-
A pure JS implementation SHA256.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
- To hash "some data"
|
|
8
|
-
```
|
|
9
|
-
import {Sha256} from '@aws-crypto/sha256-js';
|
|
10
|
-
|
|
11
|
-
const hash = new Sha256();
|
|
12
|
-
hash.update('some data');
|
|
13
|
-
const result = await hash.digest();
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
- To hmac "some data" with "a key"
|
|
18
|
-
```
|
|
19
|
-
import {Sha256} from '@aws-crypto/sha256-js';
|
|
20
|
-
|
|
21
|
-
const hash = new Sha256('a key');
|
|
22
|
-
hash.update('some data');
|
|
23
|
-
const result = await hash.digest();
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Test
|
|
28
|
-
|
|
29
|
-
`npm test`
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RawSha256 = void 0;
|
|
4
|
-
var constants_1 = require("./constants");
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
var RawSha256 = /** @class */ (function () {
|
|
9
|
-
function RawSha256() {
|
|
10
|
-
this.state = Int32Array.from(constants_1.INIT);
|
|
11
|
-
this.temp = new Int32Array(64);
|
|
12
|
-
this.buffer = new Uint8Array(64);
|
|
13
|
-
this.bufferLength = 0;
|
|
14
|
-
this.bytesHashed = 0;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
this.finished = false;
|
|
19
|
-
}
|
|
20
|
-
RawSha256.prototype.update = function (data) {
|
|
21
|
-
if (this.finished) {
|
|
22
|
-
throw new Error("Attempted to update an already finished hash.");
|
|
23
|
-
}
|
|
24
|
-
var position = 0;
|
|
25
|
-
var byteLength = data.byteLength;
|
|
26
|
-
this.bytesHashed += byteLength;
|
|
27
|
-
if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {
|
|
28
|
-
throw new Error("Cannot hash more than 2^53 - 1 bits");
|
|
29
|
-
}
|
|
30
|
-
while (byteLength > 0) {
|
|
31
|
-
this.buffer[this.bufferLength++] = data[position++];
|
|
32
|
-
byteLength--;
|
|
33
|
-
if (this.bufferLength === constants_1.BLOCK_SIZE) {
|
|
34
|
-
this.hashBuffer();
|
|
35
|
-
this.bufferLength = 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
RawSha256.prototype.digest = function () {
|
|
40
|
-
if (!this.finished) {
|
|
41
|
-
var bitsHashed = this.bytesHashed * 8;
|
|
42
|
-
var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);
|
|
43
|
-
var undecoratedLength = this.bufferLength;
|
|
44
|
-
bufferView.setUint8(this.bufferLength++, 0x80);
|
|
45
|
-
// Ensure the final block has enough room for the hashed length
|
|
46
|
-
if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {
|
|
47
|
-
for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {
|
|
48
|
-
bufferView.setUint8(i, 0);
|
|
49
|
-
}
|
|
50
|
-
this.hashBuffer();
|
|
51
|
-
this.bufferLength = 0;
|
|
52
|
-
}
|
|
53
|
-
for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {
|
|
54
|
-
bufferView.setUint8(i, 0);
|
|
55
|
-
}
|
|
56
|
-
bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);
|
|
57
|
-
bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);
|
|
58
|
-
this.hashBuffer();
|
|
59
|
-
this.finished = true;
|
|
60
|
-
}
|
|
61
|
-
// The value in state is little-endian rather than big-endian, so flip
|
|
62
|
-
// each word into a new Uint8Array
|
|
63
|
-
var out = new Uint8Array(constants_1.DIGEST_LENGTH);
|
|
64
|
-
for (var i = 0; i < 8; i++) {
|
|
65
|
-
out[i * 4] = (this.state[i] >>> 24) & 0xff;
|
|
66
|
-
out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;
|
|
67
|
-
out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;
|
|
68
|
-
out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;
|
|
69
|
-
}
|
|
70
|
-
return out;
|
|
71
|
-
};
|
|
72
|
-
RawSha256.prototype.hashBuffer = function () {
|
|
73
|
-
var _a = this, buffer = _a.buffer, state = _a.state;
|
|
74
|
-
var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];
|
|
75
|
-
for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {
|
|
76
|
-
if (i < 16) {
|
|
77
|
-
this.temp[i] =
|
|
78
|
-
((buffer[i * 4] & 0xff) << 24) |
|
|
79
|
-
((buffer[i * 4 + 1] & 0xff) << 16) |
|
|
80
|
-
((buffer[i * 4 + 2] & 0xff) << 8) |
|
|
81
|
-
(buffer[i * 4 + 3] & 0xff);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
var u = this.temp[i - 2];
|
|
85
|
-
var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);
|
|
86
|
-
u = this.temp[i - 15];
|
|
87
|
-
var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);
|
|
88
|
-
this.temp[i] =
|
|
89
|
-
((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);
|
|
90
|
-
}
|
|
91
|
-
var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^
|
|
92
|
-
((state4 >>> 11) | (state4 << 21)) ^
|
|
93
|
-
((state4 >>> 25) | (state4 << 7))) +
|
|
94
|
-
((state4 & state5) ^ (~state4 & state6))) |
|
|
95
|
-
0) +
|
|
96
|
-
((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |
|
|
97
|
-
0;
|
|
98
|
-
var t2 = ((((state0 >>> 2) | (state0 << 30)) ^
|
|
99
|
-
((state0 >>> 13) | (state0 << 19)) ^
|
|
100
|
-
((state0 >>> 22) | (state0 << 10))) +
|
|
101
|
-
((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |
|
|
102
|
-
0;
|
|
103
|
-
state7 = state6;
|
|
104
|
-
state6 = state5;
|
|
105
|
-
state5 = state4;
|
|
106
|
-
state4 = (state3 + t1) | 0;
|
|
107
|
-
state3 = state2;
|
|
108
|
-
state2 = state1;
|
|
109
|
-
state1 = state0;
|
|
110
|
-
state0 = (t1 + t2) | 0;
|
|
111
|
-
}
|
|
112
|
-
state[0] += state0;
|
|
113
|
-
state[1] += state1;
|
|
114
|
-
state[2] += state2;
|
|
115
|
-
state[3] += state3;
|
|
116
|
-
state[4] += state4;
|
|
117
|
-
state[5] += state5;
|
|
118
|
-
state[6] += state6;
|
|
119
|
-
state[7] += state7;
|
|
120
|
-
};
|
|
121
|
-
return RawSha256;
|
|
122
|
-
}());
|
|
123
|
-
exports.RawSha256 = RawSha256;
|
|
124
|
-
//# sourceMappingURL=RawSha256.js.map
|