@psnext/slingcli 3.5.20261007-2 → 3.5.20261019-1
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/bin/sling-startup-output.js +47 -0
- package/bin/sling.js +29 -2
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +94 -1589
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +11 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +13 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +9 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +2 -0
- package/node_modules/@earendil-works/pi-codemode/dist/runtime/host.js +21 -86
- package/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js +3 -103
- package/node_modules/@earendil-works/pi-codemode/package.json +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-JPNA2XH6.js → chunk-23QDZLZG.js} +22 -16
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-4RGLMKVY.js → chunk-QPFSTNX5.js} +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{virtual-modules-SXTR3NIO.js → virtual-modules-GRXGP6ZA.js} +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/cli-runtime.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/index.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/rpc-entry.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/pi-logo.js +8 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +6 -3
- package/node_modules/@earendil-works/pi-coding-agent/docs/mcp.md +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/CacheStore.md +24 -9
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Client.md +11 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Dispatcher.md +12 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Errors.md +101 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/H2CClient.md +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Interceptors.md +17 -9
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/RedirectHandler.md +13 -10
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/index.md +22 -13
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/type-map.json +66 -66
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/cache/memory-cache-store.js +48 -13
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/cache/sqlite-cache-store.js +83 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/connect.js +10 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/constants.js +12 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/errors.js +38 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/request.js +39 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/util.js +26 -40
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h1.js +127 -84
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h2.js +97 -21
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client.js +10 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher-base.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +20 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/pool-base.js +117 -19
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/pool.js +99 -13
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/proxy-agent.js +34 -11
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/retry-agent.js +10 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/cache-handler.js +153 -15
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/deduplication-handler.js +126 -52
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/redirect-handler.js +31 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/retry-handler.js +116 -24
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/cache.js +15 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/decompress.js +253 -73
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/dns.js +11 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/response-error.js +72 -28
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/milo/LICENSE.md +7 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/milo/no-simd.js +1002 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/milo/simd.js +1002 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-agent.js +11 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/snapshot-recorder.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/snapshot-utils.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/cache.js +11 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/util.js +21 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource-stream.js +69 -15
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource.js +50 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/body.js +69 -53
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/formdata-parser.js +12 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/headers.js +36 -33
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/index.js +54 -29
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/request.js +74 -79
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/util.js +7 -7
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +5 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/webidl/index.js +2 -14
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/connection.js +33 -12
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/receiver.js +27 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/package.json +7 -5
- package/node_modules/@earendil-works/pi-coding-agent/package.json +2 -2
- package/node_modules/@hono/node-server/README.md +2 -0
- package/node_modules/@hono/node-server/dist/index.cjs +1 -1
- package/node_modules/@hono/node-server/dist/index.mjs +1 -1
- package/node_modules/@hono/node-server/dist/serve-static.cjs +2 -1
- package/node_modules/@hono/node-server/dist/serve-static.mjs +2 -1
- package/node_modules/@hono/node-server/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +102 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +13 -2
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +11 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +28 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
- package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +2 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/util.d.ts +6 -3
- package/node_modules/content-disposition/README.md +105 -35
- package/node_modules/content-disposition/dist/index.d.ts +72 -0
- package/node_modules/content-disposition/dist/index.js +388 -0
- package/node_modules/content-disposition/dist/index.js.map +1 -0
- package/node_modules/content-disposition/package.json +31 -19
- package/node_modules/express/Readme.md +15 -9
- package/node_modules/express/lib/application.js +2 -2
- package/node_modules/express/lib/request.js +32 -19
- package/node_modules/express/lib/response.js +27 -30
- package/node_modules/express/node_modules/content-type/LICENSE +22 -0
- package/node_modules/express/node_modules/content-type/README.md +71 -0
- package/node_modules/express/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/express/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/express/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/express/node_modules/content-type/package.json +52 -0
- package/node_modules/express/package.json +10 -10
- package/node_modules/fast-uri/.github/workflows/release.yml +35 -0
- package/node_modules/fast-uri/README.md +8 -0
- package/node_modules/fast-uri/index.js +98 -18
- package/node_modules/fast-uri/lib/utils.js +52 -0
- package/node_modules/fast-uri/package.json +1 -1
- package/node_modules/fast-uri/test/host-delimiter-security.test.js +94 -0
- package/node_modules/fast-uri/test/relative-normalization-security.test.js +156 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +32 -4
- package/node_modules/fast-uri/test/scheme-validation.test.js +53 -14
- package/node_modules/ip-address/README.md +70 -70
- package/node_modules/ip-address/dist/ipv6.js +7 -4
- package/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +3 -0
- package/node_modules/ip-address/dist/v6/constants.js +3 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/ip-address/package.json +2 -1
- package/node_modules/jose/README.md +2 -2
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -4
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +6 -5
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +9 -6
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +7 -5
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +7 -6
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/sign.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -5
- package/node_modules/jose/dist/types/key/export.d.ts +1 -1
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +1 -1
- package/node_modules/jose/dist/types/key/import.d.ts +2 -2
- package/node_modules/jose/dist/types/types.d.ts +165 -107
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +2 -2
- package/node_modules/jose/dist/types/util/errors.d.ts +1 -1
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +8 -8
- package/node_modules/jose/dist/webapi/jwks/local.js +2 -1
- package/node_modules/jose/dist/webapi/jwks/remote.js +4 -4
- package/node_modules/jose/dist/webapi/jws/general/sign.js +3 -3
- package/node_modules/jose/dist/webapi/jws/general/verify.js +3 -3
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/sign.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +3 -3
- package/node_modules/jose/dist/webapi/key/generate_secret.js +4 -4
- package/node_modules/jose/dist/webapi/lib/asn1.js +2 -2
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +4 -4
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +8 -8
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +14 -14
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -2
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +11 -11
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +19 -16
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +44 -43
- package/node_modules/jose/dist/webapi/lib/key.js +4 -4
- package/node_modules/jose/dist/webapi/lib/key_management.js +17 -17
- package/node_modules/jose/dist/webapi/lib/validate.js +10 -10
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +12 -12
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -5
- package/node_modules/jose/package.json +1 -1
- package/node_modules/qs/.github/THREAT_MODEL.md +4 -2
- package/node_modules/qs/CHANGELOG.md +38 -14
- package/node_modules/qs/README.md +31 -3
- package/node_modules/qs/dist/qs.js +20 -20
- package/node_modules/qs/lib/parse.js +94 -4
- package/node_modules/qs/lib/stringify.js +4 -4
- package/node_modules/qs/lib/utils.js +130 -6
- package/node_modules/qs/package.json +4 -4
- package/node_modules/qs/test/parse.js +174 -0
- package/node_modules/qs/test/stringify.js +263 -33
- package/node_modules/qs/test/utils.js +184 -0
- package/node_modules/undici/docs/docs/api/Client.md +2 -0
- package/node_modules/undici/lib/core/connect.js +10 -4
- package/node_modules/undici/lib/core/symbols.js +1 -0
- package/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/undici/lib/dispatcher/client-h1.js +0 -2
- package/node_modules/undici/lib/dispatcher/client-h2.js +0 -4
- package/node_modules/undici/lib/dispatcher/client.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +12 -0
- package/node_modules/undici/lib/handler/cache-handler.js +48 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +57 -13
- package/node_modules/undici/lib/handler/redirect-handler.js +8 -1
- package/node_modules/undici/lib/interceptor/decompress.js +15 -5
- package/node_modules/undici/lib/web/cookies/index.js +3 -1
- package/node_modules/undici/lib/web/cookies/parse.js +138 -137
- package/node_modules/undici/lib/web/cookies/util.js +21 -2
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +90 -9
- package/node_modules/undici/lib/web/eventsource/eventsource.js +4 -1
- package/node_modules/undici/lib/web/fetch/index.js +3 -3
- package/node_modules/undici/lib/web/infra/index.js +14 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +5 -5
- package/node_modules/undici/lib/web/websocket/receiver.js +13 -0
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/client.d.ts +14 -0
- package/node_modules/zod/package.json +1 -1
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
- package/node_modules/zod/src/v4/core/compile.ts +9 -0
- package/node_modules/zod/src/v4/core/schemas.ts +35 -1
- package/node_modules/zod/src/v4/core/util.ts +13 -0
- package/node_modules/zod/src/v4/core/versions.ts +1 -1
- package/node_modules/zod/v4/core/compile.cjs +8 -0
- package/node_modules/zod/v4/core/compile.js +8 -0
- package/node_modules/zod/v4/core/schemas.cjs +30 -0
- package/node_modules/zod/v4/core/schemas.d.cts +3 -1
- package/node_modules/zod/v4/core/schemas.d.ts +3 -1
- package/node_modules/zod/v4/core/schemas.js +30 -0
- package/node_modules/zod/v4/core/util.cjs +15 -0
- package/node_modules/zod/v4/core/util.d.cts +2 -0
- package/node_modules/zod/v4/core/util.d.ts +2 -0
- package/node_modules/zod/v4/core/util.js +14 -0
- package/node_modules/zod/v4/core/versions.cjs +1 -1
- package/node_modules/zod/v4/core/versions.js +1 -1
- package/package.json +5 -4
- package/slingshot/index.js +214 -214
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
- package/node_modules/@esbuild/linux-x64/README.md +0 -3
- package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-x64/package.json +0 -20
- package/node_modules/content-disposition/index.js +0 -536
- package/node_modules/esbuild/LICENSE.md +0 -21
- package/node_modules/esbuild/README.md +0 -3
- package/node_modules/esbuild/bin/esbuild +0 -0
- package/node_modules/esbuild/install.js +0 -300
- package/node_modules/esbuild/lib/main.d.ts +0 -720
- package/node_modules/esbuild/lib/main.js +0 -2536
- package/node_modules/esbuild/package.json +0 -74
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
- /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
3
3
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
4
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "AccessDeniedException";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
error?: string | undefined;
|
|
@@ -10,6 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
11
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
12
|
}
|
|
12
13
|
export declare class AuthorizationPendingException extends __BaseException {
|
|
14
|
+
static readonly shapeId: string;
|
|
13
15
|
readonly name: "AuthorizationPendingException";
|
|
14
16
|
readonly $fault: "client";
|
|
15
17
|
error?: string | undefined;
|
|
@@ -17,6 +19,7 @@ export declare class AuthorizationPendingException extends __BaseException {
|
|
|
17
19
|
constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
|
|
18
20
|
}
|
|
19
21
|
export declare class ExpiredTokenException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
20
23
|
readonly name: "ExpiredTokenException";
|
|
21
24
|
readonly $fault: "client";
|
|
22
25
|
error?: string | undefined;
|
|
@@ -24,6 +27,7 @@ export declare class ExpiredTokenException extends __BaseException {
|
|
|
24
27
|
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
25
28
|
}
|
|
26
29
|
export declare class InternalServerException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
27
31
|
readonly name: "InternalServerException";
|
|
28
32
|
readonly $fault: "server";
|
|
29
33
|
error?: string | undefined;
|
|
@@ -31,6 +35,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
31
35
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
32
36
|
}
|
|
33
37
|
export declare class InvalidClientException extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
34
39
|
readonly name: "InvalidClientException";
|
|
35
40
|
readonly $fault: "client";
|
|
36
41
|
error?: string | undefined;
|
|
@@ -38,6 +43,7 @@ export declare class InvalidClientException extends __BaseException {
|
|
|
38
43
|
constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
|
|
39
44
|
}
|
|
40
45
|
export declare class InvalidGrantException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
41
47
|
readonly name: "InvalidGrantException";
|
|
42
48
|
readonly $fault: "client";
|
|
43
49
|
error?: string | undefined;
|
|
@@ -45,6 +51,7 @@ export declare class InvalidGrantException extends __BaseException {
|
|
|
45
51
|
constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
|
|
46
52
|
}
|
|
47
53
|
export declare class InvalidRequestException extends __BaseException {
|
|
54
|
+
static readonly shapeId: string;
|
|
48
55
|
readonly name: "InvalidRequestException";
|
|
49
56
|
readonly $fault: "client";
|
|
50
57
|
error?: string | undefined;
|
|
@@ -53,6 +60,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
53
60
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
54
61
|
}
|
|
55
62
|
export declare class InvalidScopeException extends __BaseException {
|
|
63
|
+
static readonly shapeId: string;
|
|
56
64
|
readonly name: "InvalidScopeException";
|
|
57
65
|
readonly $fault: "client";
|
|
58
66
|
error?: string | undefined;
|
|
@@ -60,6 +68,7 @@ export declare class InvalidScopeException extends __BaseException {
|
|
|
60
68
|
constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
|
|
61
69
|
}
|
|
62
70
|
export declare class SlowDownException extends __BaseException {
|
|
71
|
+
static readonly shapeId: string;
|
|
63
72
|
readonly name: "SlowDownException";
|
|
64
73
|
readonly $fault: "client";
|
|
65
74
|
error?: string | undefined;
|
|
@@ -67,6 +76,7 @@ export declare class SlowDownException extends __BaseException {
|
|
|
67
76
|
constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
|
|
68
77
|
}
|
|
69
78
|
export declare class UnauthorizedClientException extends __BaseException {
|
|
79
|
+
static readonly shapeId: string;
|
|
70
80
|
readonly name: "UnauthorizedClientException";
|
|
71
81
|
readonly $fault: "client";
|
|
72
82
|
error?: string | undefined;
|
|
@@ -74,6 +84,7 @@ export declare class UnauthorizedClientException extends __BaseException {
|
|
|
74
84
|
constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
|
|
75
85
|
}
|
|
76
86
|
export declare class UnsupportedGrantTypeException extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
77
88
|
readonly name: "UnsupportedGrantTypeException";
|
|
78
89
|
readonly $fault: "client";
|
|
79
90
|
error?: string | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts
CHANGED
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
3
|
export declare class ExpiredTokenException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "ExpiredTokenException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "MalformedPolicyDocumentException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class PackedPolicyTooLargeException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "PackedPolicyTooLargeException";
|
|
15
18
|
readonly $fault: "client";
|
|
16
19
|
constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
|
|
17
20
|
}
|
|
18
21
|
export declare class RegionDisabledException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
19
23
|
readonly name: "RegionDisabledException";
|
|
20
24
|
readonly $fault: "client";
|
|
21
25
|
constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
|
|
22
26
|
}
|
|
23
27
|
export declare class IDPRejectedClaimException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
24
29
|
readonly name: "IDPRejectedClaimException";
|
|
25
30
|
readonly $fault: "client";
|
|
26
31
|
constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
|
|
27
32
|
}
|
|
28
33
|
export declare class InvalidIdentityTokenException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
29
35
|
readonly name: "InvalidIdentityTokenException";
|
|
30
36
|
readonly $fault: "client";
|
|
31
37
|
constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
|
|
32
38
|
}
|
|
33
39
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
34
41
|
readonly name: "IDPCommunicationErrorException";
|
|
35
42
|
readonly $fault: "client";
|
|
36
43
|
$retryable: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.49",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.978.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
103
|
+
"@aws-sdk/core": "^3.978.4",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.48",
|
|
105
105
|
"@aws-sdk/types": "^3.974.6",
|
|
106
|
-
"@smithy/core": "^3.
|
|
106
|
+
"@smithy/core": "^3.36.0",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
108
|
"@smithy/node-http-handler": "^4.12.1",
|
|
109
109
|
"@smithy/types": "^4.19.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.48",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/types": "^3.974.6",
|
|
46
|
-
"@smithy/signature-v4": "^5.7.
|
|
46
|
+
"@smithy/signature-v4": "^5.7.4",
|
|
47
47
|
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { anthropicMessagesApi } from "../api/anthropic-messages.lazy.js";
|
|
2
|
+
import { googleGenerativeAIApi } from "../api/google-generative-ai.lazy.js";
|
|
2
3
|
import { openAICompletionsApi } from "../api/openai-completions.lazy.js";
|
|
3
4
|
import { openAIResponsesApi } from "../api/openai-responses.lazy.js";
|
|
4
5
|
import { envApiKeyAuth } from "../auth/helpers.js";
|
|
@@ -13,6 +14,7 @@ export function opencodeGoProvider() {
|
|
|
13
14
|
models: Object.values(OPENCODE_GO_MODELS),
|
|
14
15
|
api: {
|
|
15
16
|
"anthropic-messages": withOpenCodeSessionHeader(anthropicMessagesApi()),
|
|
17
|
+
"google-generative-ai": withOpenCodeSessionHeader(googleGenerativeAIApi()),
|
|
16
18
|
"openai-completions": withOpenCodeSessionHeader(openAICompletionsApi()),
|
|
17
19
|
"openai-responses": withOpenCodeSessionHeader(openAIResponsesApi()),
|
|
18
20
|
},
|
|
@@ -27,52 +27,16 @@ function serializeStore(store) {
|
|
|
27
27
|
}
|
|
28
28
|
return serialized;
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* The prelude that serializes values for the host runs in the same VM as the script, so a script
|
|
32
|
-
* that patches built-ins (for example `Array.prototype.toJSON`) can make it send malformed data.
|
|
33
|
-
* Payloads that do not decode throw this error, and the execution fails as a sandbox error.
|
|
34
|
-
*/
|
|
35
|
-
class BridgeError extends Error {
|
|
36
|
-
}
|
|
37
|
-
function parseBridgeJson(json, what) {
|
|
38
|
-
try {
|
|
39
|
-
return JSON.parse(json);
|
|
40
|
-
}
|
|
41
|
-
catch {
|
|
42
|
-
throw new BridgeError(`${what} is not valid JSON`);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
30
|
function parseStoreWrites(json) {
|
|
46
|
-
const entries = parseBridgeJson(json, "store writes");
|
|
47
|
-
if (!Array.isArray(entries))
|
|
48
|
-
throw new BridgeError("store writes are not an array");
|
|
49
31
|
const writes = { set: {}, delete: [] };
|
|
50
|
-
for (const
|
|
51
|
-
if (!Array.isArray(entry) ||
|
|
52
|
-
typeof entry[0] !== "string" ||
|
|
53
|
-
(entry.length === 2 ? typeof entry[1] !== "string" : entry.length !== 1)) {
|
|
54
|
-
throw new BridgeError("store writes contain a malformed entry");
|
|
55
|
-
}
|
|
56
|
-
const [key, value] = entry;
|
|
32
|
+
for (const [key, value] of JSON.parse(json)) {
|
|
57
33
|
if (value === undefined)
|
|
58
34
|
writes.delete.push(key);
|
|
59
35
|
else
|
|
60
|
-
writes.set[key] =
|
|
36
|
+
writes.set[key] = JSON.parse(value);
|
|
61
37
|
}
|
|
62
38
|
return writes;
|
|
63
39
|
}
|
|
64
|
-
function parseScriptError(json) {
|
|
65
|
-
const parsed = parseBridgeJson(json, "script error");
|
|
66
|
-
if (typeof parsed !== "object" || parsed === null)
|
|
67
|
-
throw new BridgeError("script error is not an object");
|
|
68
|
-
const { name, message, stack } = parsed;
|
|
69
|
-
if (typeof message !== "string" ||
|
|
70
|
-
(name !== undefined && typeof name !== "string") ||
|
|
71
|
-
(stack !== undefined && typeof stack !== "string")) {
|
|
72
|
-
throw new BridgeError("script error is malformed");
|
|
73
|
-
}
|
|
74
|
-
return { kind: "script", name, message, stack };
|
|
75
|
-
}
|
|
76
40
|
function defaultWorkerUrl() {
|
|
77
41
|
// `.ts` when running from source (tests, tsx), `.js` from the published dist.
|
|
78
42
|
return new URL(import.meta.url.endsWith(".ts") ? "./worker.ts" : "./worker.js", import.meta.url);
|
|
@@ -83,19 +47,16 @@ function defaultWorkerUrl() {
|
|
|
83
47
|
* microtask queue, is killed with `terminate()` and cannot poison a later run.
|
|
84
48
|
*/
|
|
85
49
|
class Execution {
|
|
86
|
-
promise;
|
|
87
|
-
resolveResult;
|
|
88
|
-
worker;
|
|
89
|
-
interrupt = new SharedArrayBuffer(4);
|
|
90
|
-
tools;
|
|
91
|
-
globals;
|
|
92
|
-
signal;
|
|
93
|
-
timer;
|
|
94
|
-
output = [];
|
|
95
|
-
calls = [];
|
|
96
|
-
pending = new Map();
|
|
97
|
-
finished = false;
|
|
98
50
|
constructor(options) {
|
|
51
|
+
this.interrupt = new SharedArrayBuffer(4);
|
|
52
|
+
this.output = [];
|
|
53
|
+
this.calls = [];
|
|
54
|
+
this.pending = new Map();
|
|
55
|
+
this.finished = false;
|
|
56
|
+
this.onAbort = () => {
|
|
57
|
+
const reason = this.signal?.reason;
|
|
58
|
+
this.finish({ kind: "aborted", message: reason instanceof Error ? reason.message : "Execution aborted" });
|
|
59
|
+
};
|
|
99
60
|
this.promise = new Promise((resolve) => {
|
|
100
61
|
this.resolveResult = resolve;
|
|
101
62
|
});
|
|
@@ -151,20 +112,7 @@ class Execution {
|
|
|
151
112
|
return;
|
|
152
113
|
}
|
|
153
114
|
this.worker = worker;
|
|
154
|
-
worker.on("message", (message) =>
|
|
155
|
-
// An exception here would be uncaught in the host process and leave the execution unsettled.
|
|
156
|
-
try {
|
|
157
|
-
this.handleMessage(message);
|
|
158
|
-
}
|
|
159
|
-
catch (error) {
|
|
160
|
-
this.finish({
|
|
161
|
-
kind: "sandbox",
|
|
162
|
-
message: error instanceof BridgeError
|
|
163
|
-
? `Sandbox bridge broken: ${error.message}. The script may have modified built-ins such as a prototype's toJSON.`
|
|
164
|
-
: `Sandbox host failed: ${errorMessage(error)}`,
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
});
|
|
115
|
+
worker.on("message", (message) => this.handleMessage(message));
|
|
168
116
|
worker.on("error", (error) => {
|
|
169
117
|
this.finish({
|
|
170
118
|
kind: "sandbox",
|
|
@@ -176,25 +124,17 @@ class Execution {
|
|
|
176
124
|
this.finish({ kind: "sandbox", message: `Worker exited with code ${code} before the script settled` });
|
|
177
125
|
});
|
|
178
126
|
}
|
|
179
|
-
onAbort = () => {
|
|
180
|
-
const reason = this.signal?.reason;
|
|
181
|
-
this.finish({ kind: "aborted", message: reason instanceof Error ? reason.message : "Execution aborted" });
|
|
182
|
-
};
|
|
183
127
|
post(message) {
|
|
184
128
|
this.worker?.postMessage(message);
|
|
185
129
|
}
|
|
186
130
|
handleMessage(message) {
|
|
187
|
-
if (this.finished)
|
|
131
|
+
if (this.finished || !isWorkerToHostMessage(message))
|
|
188
132
|
return;
|
|
189
|
-
if (!isWorkerToHostMessage(message))
|
|
190
|
-
throw new BridgeError("unknown message from the worker");
|
|
191
133
|
switch (message.type) {
|
|
192
134
|
case "output":
|
|
193
135
|
this.output.push(message.item);
|
|
194
136
|
break;
|
|
195
137
|
case "call":
|
|
196
|
-
if (this.pending.has(message.id))
|
|
197
|
-
throw new BridgeError(`duplicate call id ${message.id}`);
|
|
198
138
|
void this.handleCall(message);
|
|
199
139
|
break;
|
|
200
140
|
case "done":
|
|
@@ -206,13 +146,12 @@ class Execution {
|
|
|
206
146
|
}
|
|
207
147
|
}
|
|
208
148
|
handleDone(message) {
|
|
209
|
-
// Decode everything before finish(), which must not throw once it starts.
|
|
210
149
|
if (!message.ok) {
|
|
211
|
-
|
|
150
|
+
const parsed = JSON.parse(message.error);
|
|
151
|
+
this.finish({ kind: "script", ...parsed });
|
|
212
152
|
return;
|
|
213
153
|
}
|
|
214
|
-
|
|
215
|
-
this.finish(undefined, value, parseStoreWrites(message.writes));
|
|
154
|
+
this.finish(undefined, message.value === undefined ? undefined : JSON.parse(message.value), message.writes);
|
|
216
155
|
}
|
|
217
156
|
async handleCall(message) {
|
|
218
157
|
const { id, name } = message;
|
|
@@ -267,7 +206,7 @@ class Execution {
|
|
|
267
206
|
value,
|
|
268
207
|
output: this.output,
|
|
269
208
|
calls: this.calls,
|
|
270
|
-
storeWrites: writes
|
|
209
|
+
storeWrites: writes === undefined ? { set: {}, delete: [] } : parseStoreWrites(writes),
|
|
271
210
|
};
|
|
272
211
|
if (!this.worker) {
|
|
273
212
|
this.resolveResult(result);
|
|
@@ -290,15 +229,11 @@ class Execution {
|
|
|
290
229
|
* table and defaults. `close()` aborts in-flight executions.
|
|
291
230
|
*/
|
|
292
231
|
export class CodemodeSandbox {
|
|
293
|
-
toolsByName = new Map();
|
|
294
|
-
globalsByName = new Map();
|
|
295
|
-
timeoutMs;
|
|
296
|
-
memoryLimitBytes;
|
|
297
|
-
wasm;
|
|
298
|
-
workerUrl;
|
|
299
|
-
running = new Set();
|
|
300
|
-
closed = false;
|
|
301
232
|
constructor(options = {}) {
|
|
233
|
+
this.toolsByName = new Map();
|
|
234
|
+
this.globalsByName = new Map();
|
|
235
|
+
this.running = new Set();
|
|
236
|
+
this.closed = false;
|
|
302
237
|
this.timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
303
238
|
this.memoryLimitBytes = options.memoryLimitBytes;
|
|
304
239
|
this.wasm = options.wasm;
|
|
@@ -24,10 +24,6 @@
|
|
|
24
24
|
* `globalsJson` lists `{ name, spread }`; `a.b` names are grouped into a frozen `a` object.
|
|
25
25
|
* `bridge(kind, a, b, c)` with kind "call" or "global" (id, name, argsJson),
|
|
26
26
|
* "output" ("text", text) or ("image", data, mimeType), or "done" (ok, valueJsonOrErrorJson, writesJson).
|
|
27
|
-
*
|
|
28
|
-
* Before anything else the prelude freezes the built-ins and makes the built-in globals read-only.
|
|
29
|
-
* The prelude shares them with the script, so a script that patched one (for example
|
|
30
|
-
* `Array.prototype.toJSON`) could otherwise corrupt what the prelude reports to the host.
|
|
31
27
|
*/
|
|
32
28
|
export const MAX_STORE_VALUE_CHARS = 256 * 1024;
|
|
33
29
|
export const MAX_STORE_TOTAL_CHARS = 1024 * 1024;
|
|
@@ -42,96 +38,6 @@ export const MAX_OUTPUT_ITEMS = 100_000;
|
|
|
42
38
|
const IMAGE_HELPER_EXPECTS = "image expects a non-empty image URL string, an object with image_url, or a raw MCP image block";
|
|
43
39
|
export const PRELUDE_SOURCE = `(function (bridge, toolsJson, globalsJson, storeJson) {
|
|
44
40
|
"use strict";
|
|
45
|
-
|
|
46
|
-
// Freeze every object reachable from the built-in globals, plus the intrinsics that are only
|
|
47
|
-
// reachable from instances (iterator and generator prototypes, %TypedArray%).
|
|
48
|
-
//
|
|
49
|
-
// Freezing alone breaks ordinary code through the "override mistake": a data property that is
|
|
50
|
-
// read-only on a prototype cannot be assigned on an instance either, so
|
|
51
|
-
// this.name = "MyError" in an Error subclass would throw. Commonly overridden properties
|
|
52
|
-
// become accessors whose setter defines an own property on the instance instead.
|
|
53
|
-
(function lockdown() {
|
|
54
|
-
const OVERRIDABLE = new Set(["constructor", "name", "message", "toString", "toLocaleString", "valueOf", "toJSON"]);
|
|
55
|
-
const seen = new Set([globalThis]);
|
|
56
|
-
const queue = [];
|
|
57
|
-
const add = (value) => {
|
|
58
|
-
if ((typeof value === "object" && value !== null) || typeof value === "function") {
|
|
59
|
-
if (!seen.has(value)) {
|
|
60
|
-
seen.add(value);
|
|
61
|
-
queue.push(value);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
// Accessors from an object literal have no own prototype object, unlike function expressions,
|
|
67
|
-
// whose prototype.constructor would be converted again without end.
|
|
68
|
-
function allowOverride(object, key, value, enumerable) {
|
|
69
|
-
const { get, set } = Object.getOwnPropertyDescriptor(
|
|
70
|
-
{
|
|
71
|
-
get accessor() {
|
|
72
|
-
return value;
|
|
73
|
-
},
|
|
74
|
-
set accessor(next) {
|
|
75
|
-
if (this === object) {
|
|
76
|
-
throw new TypeError("Cannot assign to read only property '" + String(key) + "' of a built-in");
|
|
77
|
-
}
|
|
78
|
-
if ((typeof this !== "object" || this === null) && typeof this !== "function") return;
|
|
79
|
-
Object.defineProperty(this, key, { value: next, writable: true, enumerable: true, configurable: true });
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
"accessor",
|
|
83
|
-
);
|
|
84
|
-
Object.defineProperty(object, key, { get, set, enumerable, configurable: false });
|
|
85
|
-
add(get);
|
|
86
|
-
add(set);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
for (const key of Reflect.ownKeys(globalThis)) {
|
|
90
|
-
const descriptor = Object.getOwnPropertyDescriptor(globalThis, key);
|
|
91
|
-
add(descriptor.value);
|
|
92
|
-
add(descriptor.get);
|
|
93
|
-
add(descriptor.set);
|
|
94
|
-
if ("value" in descriptor && descriptor.configurable) {
|
|
95
|
-
Object.defineProperty(globalThis, key, { writable: false, configurable: false });
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
add(Object.getPrototypeOf(function* () {}));
|
|
99
|
-
add(Object.getPrototypeOf(async function () {}));
|
|
100
|
-
add(Object.getPrototypeOf(async function* () {}));
|
|
101
|
-
add(Object.getPrototypeOf(Int8Array));
|
|
102
|
-
add(Object.getPrototypeOf([][Symbol.iterator]()));
|
|
103
|
-
add(Object.getPrototypeOf(new Map()[Symbol.iterator]()));
|
|
104
|
-
add(Object.getPrototypeOf(new Set()[Symbol.iterator]()));
|
|
105
|
-
add(Object.getPrototypeOf(""[Symbol.iterator]()));
|
|
106
|
-
add(Object.getPrototypeOf(/a/[Symbol.matchAll]("")));
|
|
107
|
-
if (typeof Iterator === "function") {
|
|
108
|
-
if (typeof Iterator.prototype.map === "function") add(Object.getPrototypeOf([].values().map((x) => x)));
|
|
109
|
-
if (typeof Iterator.from === "function") add(Object.getPrototypeOf(Iterator.from({ next() {} })));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
while (queue.length > 0) {
|
|
113
|
-
const object = queue.pop();
|
|
114
|
-
add(Object.getPrototypeOf(object));
|
|
115
|
-
const descriptors = Object.getOwnPropertyDescriptors(object);
|
|
116
|
-
for (const key of Reflect.ownKeys(descriptors)) {
|
|
117
|
-
const descriptor = descriptors[key];
|
|
118
|
-
if ("value" in descriptor) {
|
|
119
|
-
add(descriptor.value);
|
|
120
|
-
if (
|
|
121
|
-
descriptor.writable &&
|
|
122
|
-
descriptor.configurable &&
|
|
123
|
-
(object === Object.prototype || OVERRIDABLE.has(key))
|
|
124
|
-
) {
|
|
125
|
-
allowOverride(object, key, descriptor.value, descriptor.enumerable);
|
|
126
|
-
}
|
|
127
|
-
} else {
|
|
128
|
-
add(descriptor.get);
|
|
129
|
-
add(descriptor.set);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
Object.freeze(object);
|
|
133
|
-
}
|
|
134
|
-
})();
|
|
135
41
|
const stringify = JSON.stringify;
|
|
136
42
|
const parse = JSON.parse;
|
|
137
43
|
const promiseThen = Promise.prototype.then;
|
|
@@ -176,17 +82,11 @@ export const PRELUDE_SOURCE = `(function (bridge, toolsJson, globalsJson, storeJ
|
|
|
176
82
|
}
|
|
177
83
|
}
|
|
178
84
|
|
|
179
|
-
// The host requires string fields. A script can set an error's name or message to anything, so
|
|
180
|
-
// they are coerced, and a value whose coercion throws gets a placeholder.
|
|
181
85
|
function describeError(error) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
return stringify({ name: String(error.name), message: String(error.message), stack: errorText(error) });
|
|
185
|
-
}
|
|
186
|
-
return stringify({ message: String(format(error)) });
|
|
187
|
-
} catch {
|
|
188
|
-
return stringify({ message: "The script threw a value that cannot be described" });
|
|
86
|
+
if (error instanceof ErrorCtor) {
|
|
87
|
+
return stringify({ name: error.name, message: error.message, stack: errorText(error) });
|
|
189
88
|
}
|
|
89
|
+
return stringify({ message: format(error) });
|
|
190
90
|
}
|
|
191
91
|
|
|
192
92
|
function caller(kind, name, spread) {
|