@senpiper/sp-agent 0.1.6 → 0.1.9
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/INSTALL.md +175 -0
- package/README.md +88 -8
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -0
- package/dist/cli.js.map +1 -1
- package/dist/distribution.d.ts +4 -3
- package/dist/distribution.d.ts.map +1 -1
- package/dist/distribution.js +18 -4
- package/dist/distribution.js.map +1 -1
- package/dist/extension-identity.generated.d.ts +3 -3
- package/dist/extension-identity.generated.d.ts.map +1 -1
- package/dist/extension-identity.generated.js +3 -3
- package/dist/extension-identity.generated.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/runtime-cli.d.ts.map +1 -1
- package/dist/runtime-cli.js +1 -0
- package/dist/runtime-cli.js.map +1 -1
- package/dist/sdk.d.ts +9 -1
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +48 -3
- package/dist/sdk.js.map +1 -1
- package/dist/session-manager.d.ts +59 -0
- package/dist/session-manager.d.ts.map +1 -0
- package/dist/session-manager.js +451 -0
- package/dist/session-manager.js.map +1 -0
- package/dist/session-writer-provider.d.ts +3 -0
- package/dist/session-writer-provider.d.ts.map +1 -0
- package/dist/session-writer-provider.js +7 -0
- package/dist/session-writer-provider.js.map +1 -0
- package/dist/sp-web.d.ts +3 -0
- package/dist/sp-web.d.ts.map +1 -0
- package/dist/sp-web.js +30 -0
- package/dist/sp-web.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/writer-leases.d.ts +23 -0
- package/dist/writer-leases.d.ts.map +1 -0
- package/dist/writer-leases.js +152 -0
- package/dist/writer-leases.js.map +1 -0
- package/node_modules/@aws/lambda-invoke-store/README.md +1 -25
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +0 -12
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +0 -12
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +0 -6
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +100 -0
- package/node_modules/@aws-crypto/crc32/LICENSE +201 -0
- package/node_modules/@aws-crypto/crc32/README.md +16 -0
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +7 -0
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +1 -0
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +7 -0
- package/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +7 -0
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +28 -0
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +1 -0
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +7 -0
- package/node_modules/@aws-crypto/crc32/build/module/index.js +103 -0
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/crc32/package.json +32 -0
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +24 -0
- package/node_modules/@aws-crypto/crc32/src/index.ts +92 -0
- package/node_modules/@aws-crypto/crc32/tsconfig.json +9 -0
- package/node_modules/@aws-crypto/crc32/tsconfig.module.json +7 -0
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +3 -1
- package/node_modules/@aws-sdk/core/client.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +2268 -19
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +4 -2
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +595 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +175 -364
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +588 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +42 -84
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +494 -1527
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js +19 -48
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +1 -276
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/defaultUserAgent.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js +15 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js +75 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -30
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +2 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +6 -12
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +20 -22
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +151 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +180 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +135 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +5 -108
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +22 -42
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/configuration.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/shared.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +6 -22
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +6 -22
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +20 -25
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +9 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +4 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +4 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +12 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +16 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +12 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +4 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +9 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +6 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +8 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +9 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +1 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +9 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +9 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +9 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +6 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +21 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +2 -32
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +19 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +20 -30
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +5 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +5 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +22 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +14 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +12 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +1 -1
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +3 -1
- package/node_modules/@aws-sdk/core/package.json +73 -74
- package/node_modules/@aws-sdk/core/protocols.d.ts +3 -1
- package/node_modules/@aws-sdk/core/util.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -4
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts +1 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +37 -37
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +31 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +3 -175
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +16 -28
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +43 -43
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +41 -47
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +10 -14
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +45 -45
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +61 -66
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +32 -39
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +0 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-login/package.json +40 -40
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +19 -30
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +1 -14
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +11 -4
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +1 -7
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +44 -44
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +13 -11
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +37 -37
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +25 -26
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts +16 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts +4 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +8 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +40 -42
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +33 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +29 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +24 -55
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts +8 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +7 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +7 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +46 -45
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +10 -7
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +2 -1
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/ts3.4/EventSigningTransformStream.d.ts +5 -1
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-types/ts3.4/EventStreamPayloadHandler.d.ts +4 -2
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +34 -34
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/index.d.ts +4 -5
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/ts3.4/eventStreamConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/ts3.4/eventStreamHandlingMiddleware.d.ts +5 -2
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/ts3.4/getEventStreamPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/ts3.4/index.d.ts +4 -11
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +36 -36
- package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +18 -16
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/index.d.ts +4 -6
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/WebSocketFetchHandler.d.ts +12 -5
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/WebsocketSignatureV4.d.ts +19 -5
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/getWebSocketPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/index.d.ts +4 -6
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/middlewares/websocketEndpointMiddleware.d.ts +6 -2
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/middlewares/websocketInjectSessionIdMiddleware.d.ts +4 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/resolveWebSocketConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/ws-eventstream/EventSigningTransformStream.d.ts +5 -2
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/ws-eventstream/EventStreamPayloadHandler.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-websocket/package.json +35 -35
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +210 -191
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +229 -251
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +176 -141
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +194 -159
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +297 -200
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +13 -16
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +57 -21
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +6 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +41 -73
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +9 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -83
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +0 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +6 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +59 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +9 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +45 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +6 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +9 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +45 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +6 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +14 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +96 -34
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +8 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +80 -63
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +39 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +0 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +3 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +41 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +41 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +39 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +40 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +39 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +42 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +34 -36
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +41 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +15 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +22 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +15 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +22 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +18 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +28 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +82 -71
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +77 -71
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +86 -75
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +15 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +5 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +3 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +27 -25
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +15 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +22 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +12 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +0 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +84 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +77 -71
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +88 -77
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +12 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +20 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +13 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +18 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +12 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +79 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +74 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +83 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +12 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +5 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +7 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +29 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +13 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +34 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +79 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +74 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +83 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +12 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +10 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +30 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +16 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +21 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +22 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +7 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +24 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +89 -75
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +90 -79
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +93 -79
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +13 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +5 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +52 -54
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +3 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +6 -4
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +13 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +8 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +37 -37
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +8 -7
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -1
- package/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -1
- package/node_modules/@aws-sdk/types/dist-es/index.js +34 -4
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -1
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -2
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -2
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -5
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +34 -42
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -2
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -2
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +6 -3
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -13
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +34 -193
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +9 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +32 -32
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/util-locate-window/package.json +31 -31
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +5 -246
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +336 -0
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +47 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +332 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +43 -243
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +11 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +12 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +66 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +65 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +1 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +37 -36
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@earendil-works/pi-client/CHANGELOG.md +2 -0
- package/node_modules/@mariozechner/clipboard/.yarnrc.yml +1 -0
- package/node_modules/@mariozechner/clipboard/Cargo.toml +45 -0
- package/node_modules/@mariozechner/clipboard/README.md +60 -0
- package/node_modules/@mariozechner/clipboard/build.rs +5 -0
- package/node_modules/@mariozechner/clipboard/exp.ts +12 -0
- package/node_modules/@mariozechner/clipboard/index.d.ts +37 -0
- package/node_modules/@mariozechner/clipboard/index.js +606 -0
- package/node_modules/@mariozechner/clipboard/package.json +56 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +307 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +93 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +313 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +471 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +252 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +431 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +712 -0
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +916 -0
- package/node_modules/@mariozechner/clipboard/src/lib.rs +194 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/clipboard.darwin-arm64.node +0 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/package.json +22 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/clipboard.darwin-universal.node +0 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/package.json +19 -0
- package/node_modules/@mariozechner/clipboard-darwin-x64/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-darwin-x64/clipboard.darwin-x64.node +0 -0
- package/node_modules/@mariozechner/clipboard-darwin-x64/package.json +22 -0
- package/node_modules/@mariozechner/clipboard-linux-arm64-gnu/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-linux-arm64-gnu/clipboard.linux-arm64-gnu.node +0 -0
- package/node_modules/@mariozechner/clipboard-linux-arm64-gnu/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-linux-arm64-musl/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-linux-riscv64-gnu/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-linux-riscv64-gnu/clipboard.linux-riscv64-gnu.node +0 -0
- package/node_modules/@mariozechner/clipboard-linux-riscv64-gnu/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-musl/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-musl/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-win32-arm64-msvc/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-win32-arm64-msvc/clipboard.win32-arm64-msvc.node +0 -0
- package/node_modules/@mariozechner/clipboard-win32-arm64-msvc/package.json +22 -0
- package/node_modules/@mariozechner/clipboard-win32-x64-msvc/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-win32-x64-msvc/clipboard.win32-x64-msvc.node +0 -0
- package/node_modules/@mariozechner/clipboard-win32-x64-msvc/package.json +22 -0
- package/node_modules/@nodable/entities/README.md +41 -0
- package/node_modules/@nodable/entities/package.json +54 -0
- package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
- package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
- package/node_modules/@nodable/entities/src/entities.js +1177 -0
- package/node_modules/@nodable/entities/src/entityTries.js +49 -0
- package/node_modules/@nodable/entities/src/index.d.ts +264 -0
- package/node_modules/@nodable/entities/src/index.js +29 -0
- package/node_modules/@protobufjs/utf8/index.js +18 -29
- package/node_modules/@protobufjs/utf8/package.json +2 -2
- package/node_modules/@protobufjs/utf8/tests/index.js +0 -5
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/chunks/chunk-IK73Y232.js +1545 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/chunks/github-copilot.js +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/cli.js +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/index.js +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/rpc-entry.js +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session-runtime.d.ts +9 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session-runtime.js +85 -26
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session-runtime.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session.d.ts +6 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session.js +52 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/agent-session.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-export.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-export.js +8 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-export.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-manager.d.ts +24 -2
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-manager.js +167 -29
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-manager.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-writer-lease.d.ts +15 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-writer-lease.d.ts.map +1 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-writer-lease.js +14 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/core/session-writer-lease.js.map +1 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/index.d.ts +1 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/index.js +1 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/index.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/main.d.ts +8 -0
- package/node_modules/@senpiper/pi-coding-agent/dist/main.d.ts.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/dist/main.js +8 -2
- package/node_modules/@senpiper/pi-coding-agent/dist/main.js.map +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/cerebras.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@senpiper/pi-coding-agent/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/CONCURRENT_SESSIONS.md +68 -0
- package/node_modules/@senpiper/sp-agent-extensions/TERMINAL_WEB_BRIDGE.md +128 -11
- package/node_modules/@senpiper/sp-agent-extensions/dist/ask-user.d.ts +2 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/ask-user.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/ask-user.js +45 -30
- package/node_modules/@senpiper/sp-agent-extensions/dist/ask-user.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/extension.d.ts +2 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/extension.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/extension.js +4 -2
- package/node_modules/@senpiper/sp-agent-extensions/dist/extension.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/index.d.ts +2 -2
- package/node_modules/@senpiper/sp-agent-extensions/dist/index.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/index.js +1 -2
- package/node_modules/@senpiper/sp-agent-extensions/dist/index.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/interactions.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/interactions.js +0 -2
- package/node_modules/@senpiper/sp-agent-extensions/dist/interactions.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/question-interaction.d.ts +62 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/question-interaction.d.ts.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/question-interaction.js +157 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/question-interaction.js.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/sp-web-launcher.d.ts +29 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/sp-web-launcher.d.ts.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/sp-web-launcher.js +192 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/sp-web-launcher.js.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/startup-header.d.ts +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/startup-header.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/startup-header.js +13 -2
- package/node_modules/@senpiper/sp-agent-extensions/dist/startup-header.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/terminal-web-bridge.d.ts +56 -6
- package/node_modules/@senpiper/sp-agent-extensions/dist/terminal-web-bridge.d.ts.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/terminal-web-bridge.js +367 -58
- package/node_modules/@senpiper/sp-agent-extensions/dist/terminal-web-bridge.js.map +1 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/web-command.d.ts +5 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/web-command.d.ts.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/web-command.js +95 -0
- package/node_modules/@senpiper/sp-agent-extensions/dist/web-command.js.map +1 -0
- package/node_modules/@senpiper/sp-agent-extensions/package.json +2 -1
- package/node_modules/@smithy/core/cbor.d.ts +3 -1
- package/node_modules/@smithy/core/cbor.js +1 -0
- package/node_modules/@smithy/core/checksum.d.ts +2 -2
- package/node_modules/@smithy/core/checksum.js +1 -1
- package/node_modules/@smithy/core/client.d.ts +3 -1
- package/node_modules/@smithy/core/client.js +1 -0
- package/node_modules/@smithy/core/config.d.ts +2 -2
- package/node_modules/@smithy/core/config.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +16 -15
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +587 -2042
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +147 -358
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +149 -467
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +148 -359
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +34 -54
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +13 -12
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +104 -148
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +12 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +49 -19
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +59 -45
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -66
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +35 -68
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +199 -98
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +51 -71
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +53 -73
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +25 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +48 -43
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +167 -126
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +48 -43
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +18 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
- package/node_modules/@smithy/core/dist-es/index.js +8 -8
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +42 -0
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js +3 -0
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +23 -0
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +205 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +4 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +269 -342
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +108 -205
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +2 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -7
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -6
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +168 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -3
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +1 -6
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +1 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +1 -6
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +56 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +1 -8
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +9 -11
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/getEndpointUrlConfig.js +21 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +12 -12
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +15 -45
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +3 -5
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -5
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +146 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +6 -7
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -10
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +5 -7
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +18 -18
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +5 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/isValidHostname.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/url-parser/parseUrl.js +18 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +6 -19
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +1 -4
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +5 -4
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +6 -10
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +14 -14
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +6 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +27 -45
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +38 -12
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +33 -18
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +14 -0
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js +3 -0
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js +3 -0
- package/node_modules/@smithy/core/dist-types/index.d.ts +8 -14
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +27 -5
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +4 -8
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -7
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -3
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +6 -5
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +8 -8
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +8 -8
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -13
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +4 -24
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +18 -18
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +2 -7
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpRequest.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +1 -4
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +14 -14
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +15 -37
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +2 -8
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +1 -4
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts +3 -0
- package/node_modules/@smithy/core/endpoints.d.ts +3 -1
- package/node_modules/@smithy/core/endpoints.js +1 -0
- package/node_modules/@smithy/core/event-streams.d.ts +3 -1
- package/node_modules/@smithy/core/event-streams.js +1 -0
- package/node_modules/@smithy/core/package.json +92 -97
- package/node_modules/@smithy/core/protocols.d.ts +3 -1
- package/node_modules/@smithy/core/protocols.js +1 -0
- package/node_modules/@smithy/core/retry.d.ts +2 -2
- package/node_modules/@smithy/core/retry.js +1 -1
- package/node_modules/@smithy/core/schema.d.ts +3 -1
- package/node_modules/@smithy/core/schema.js +1 -0
- package/node_modules/@smithy/core/serde.d.ts +3 -1
- package/node_modules/@smithy/core/serde.js +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +36 -36
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +13 -14
- package/node_modules/@smithy/credential-provider-imds/dist-es/index.js +4 -3
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -5
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +44 -34
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +61 -6
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +53 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +42 -32
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +36 -46
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +2 -5
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -4
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +1 -4
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +3 -10
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -4
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +1 -4
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +1 -4
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +399 -0
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -5
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +14 -0
- package/node_modules/@smithy/signature-v4/package.json +40 -29
- package/node_modules/@smithy/types/dist-cjs/index.js +18 -23
- package/node_modules/@smithy/types/dist-es/auth/index.js +6 -2
- package/node_modules/@smithy/types/dist-es/connection/index.js +3 -1
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -1
- package/node_modules/@smithy/types/dist-es/extensions/index.js +2 -1
- package/node_modules/@smithy/types/dist-es/identity/index.js +4 -1
- package/node_modules/@smithy/types/dist-es/index.js +43 -7
- package/node_modules/@smithy/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -7
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -6
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +43 -52
- package/node_modules/@smithy/types/dist-types/retry.d.ts +0 -25
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +39 -29
- package/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/node/assert/strict.d.ts +56 -13
- package/node_modules/@types/node/assert.d.ts +190 -189
- package/node_modules/@types/node/async_hooks.d.ts +43 -151
- package/node_modules/@types/node/buffer.buffer.d.ts +13 -12
- package/node_modules/@types/node/buffer.d.ts +237 -102
- package/node_modules/@types/node/child_process.d.ts +154 -39
- package/node_modules/@types/node/cluster.d.ts +384 -238
- package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/node_modules/@types/node/console.d.ts +404 -45
- package/node_modules/@types/node/constants.d.ts +10 -3
- package/node_modules/@types/node/crypto.d.ts +1600 -1007
- package/node_modules/@types/node/dgram.d.ts +81 -133
- package/node_modules/@types/node/diagnostics_channel.d.ts +61 -277
- package/node_modules/@types/node/dns/promises.d.ts +15 -9
- package/node_modules/@types/node/dns.d.ts +183 -136
- package/node_modules/@types/node/domain.d.ts +32 -12
- package/node_modules/@types/node/events.d.ts +696 -728
- package/node_modules/@types/node/fs/promises.d.ts +90 -272
- package/node_modules/@types/node/fs.d.ts +522 -864
- package/node_modules/@types/node/globals.d.ts +34 -12
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -63
- package/node_modules/@types/node/http.d.ts +306 -435
- package/node_modules/@types/node/http2.d.ts +787 -563
- package/node_modules/@types/node/https.d.ts +243 -64
- package/node_modules/@types/node/index.d.ts +7 -26
- package/node_modules/@types/node/inspector.d.ts +58 -70
- package/node_modules/@types/node/inspector.generated.d.ts +411 -765
- package/node_modules/@types/node/module.d.ts +219 -54
- package/node_modules/@types/node/net.d.ts +222 -208
- package/node_modules/@types/node/os.d.ts +49 -41
- package/node_modules/@types/node/package.json +4 -14
- package/node_modules/@types/node/path.d.ts +141 -119
- package/node_modules/@types/node/perf_hooks.d.ts +673 -310
- package/node_modules/@types/node/process.d.ts +205 -389
- package/node_modules/@types/node/punycode.d.ts +31 -3
- package/node_modules/@types/node/querystring.d.ts +16 -3
- package/node_modules/@types/node/readline/promises.d.ts +6 -3
- package/node_modules/@types/node/readline.d.ts +152 -66
- package/node_modules/@types/node/repl.d.ts +109 -101
- package/node_modules/@types/node/sea.d.ts +115 -9
- package/node_modules/@types/node/sqlite.d.ts +71 -490
- package/node_modules/@types/node/stream/consumers.d.ts +15 -91
- package/node_modules/@types/node/stream/promises.d.ts +15 -136
- package/node_modules/@types/node/stream/web.d.ts +501 -179
- package/node_modules/@types/node/stream.d.ts +490 -609
- package/node_modules/@types/node/string_decoder.d.ts +43 -3
- package/node_modules/@types/node/test.d.ts +286 -609
- package/node_modules/@types/node/timers/promises.d.ts +18 -3
- package/node_modules/@types/node/timers.d.ts +141 -3
- package/node_modules/@types/node/tls.d.ts +241 -139
- package/node_modules/@types/node/trace_events.d.ts +97 -3
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +8 -7
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -2
- package/node_modules/@types/node/ts5.6/index.d.ts +6 -27
- package/node_modules/@types/node/tty.d.ts +43 -61
- package/node_modules/@types/node/url.d.ts +584 -156
- package/node_modules/@types/node/util.d.ts +1110 -181
- package/node_modules/@types/node/v8.d.ts +36 -175
- package/node_modules/@types/node/vm.d.ts +198 -334
- package/node_modules/@types/node/wasi.d.ts +74 -24
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +2 -27
- package/node_modules/@types/node/web-globals/domexception.d.ts +0 -15
- package/node_modules/@types/node/web-globals/events.d.ts +0 -9
- package/node_modules/@types/node/web-globals/fetch.d.ts +0 -14
- package/node_modules/@types/node/web-globals/navigator.d.ts +0 -3
- package/node_modules/@types/node/worker_threads.d.ts +395 -280
- package/node_modules/@types/node/zlib.d.ts +165 -7
- package/node_modules/fast-xml-builder/CHANGELOG.md +40 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +74 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +270 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +81 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +270 -0
- package/node_modules/fast-xml-builder/src/fxb.js +599 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +359 -0
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-builder/src/util.js +16 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +827 -0
- package/node_modules/fast-xml-parser/LICENSE +21 -0
- package/node_modules/fast-xml-parser/README.md +202 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +770 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +93 -0
- package/node_modules/fast-xml-parser/src/cli/cli.js +97 -0
- package/node_modules/fast-xml-parser/src/cli/man.js +17 -0
- package/node_modules/fast-xml-parser/src/cli/read.js +43 -0
- package/node_modules/fast-xml-parser/src/fxp.d.ts +739 -0
- package/node_modules/fast-xml-parser/src/fxp.js +14 -0
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +61 -0
- package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
- package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
- package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
- package/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
- package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
- package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
- package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
- package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
- package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
- package/node_modules/fast-xml-parser/src/validator.js +425 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +407 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +163 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +840 -0
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +177 -0
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
- package/node_modules/gaxios/build/cjs/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/cjs/test/test.getch.js +0 -66
- package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/esm/test/test.getch.js +0 -66
- package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +13 -11
- package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +4 -5
- package/node_modules/google-auth-library/build/src/auth/googleauth.js +20 -42
- package/node_modules/google-auth-library/build/src/index.d.ts +0 -1
- package/node_modules/google-auth-library/build/src/index.js +1 -4
- package/node_modules/google-auth-library/package.json +7 -5
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +11 -28
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.js +11 -28
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.js +11 -28
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.js +11 -28
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/index.js +11 -28
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/node/index.d.ts +2 -18
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.js +11 -28
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +3 -3
- package/node_modules/lru-cache/package.json +1 -1
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +872 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +634 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +570 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +523 -0
- package/node_modules/path-expression-matcher/src/index.js +29 -0
- package/node_modules/protobufjs/dist/light/protobuf.js +6 -59
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -22
- package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.js +6 -59
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/decoder.js +3 -32
- package/node_modules/protobufjs/src/reader.js +0 -20
- package/node_modules/protobufjs/src/wrappers.js +1 -5
- package/node_modules/strnum/CHANGELOG.md +43 -0
- package/node_modules/strnum/LICENSE +21 -0
- package/node_modules/strnum/README.md +104 -0
- package/node_modules/strnum/package.json +32 -0
- package/node_modules/strnum/strnum.js +163 -0
- package/node_modules/undici-types/agent.d.ts +13 -12
- package/node_modules/undici-types/api.d.ts +26 -26
- package/node_modules/undici-types/balanced-pool.d.ts +12 -13
- package/node_modules/undici-types/client.d.ts +34 -55
- package/node_modules/undici-types/connector.d.ts +2 -4
- package/node_modules/undici-types/cookies.d.ts +0 -2
- package/node_modules/undici-types/diagnostics-channel.d.ts +10 -18
- package/node_modules/undici-types/dispatcher.d.ts +137 -134
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +3 -4
- package/node_modules/undici-types/errors.d.ts +54 -82
- package/node_modules/undici-types/eventsource.d.ts +4 -9
- package/node_modules/undici-types/fetch.d.ts +24 -46
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/undici-types/handlers.d.ts +9 -8
- package/node_modules/undici-types/header.d.ts +1 -162
- package/node_modules/undici-types/index.d.ts +47 -69
- package/node_modules/undici-types/interceptors.d.ts +9 -72
- package/node_modules/undici-types/mock-agent.d.ts +18 -36
- package/node_modules/undici-types/mock-client.d.ts +4 -6
- package/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/undici-types/mock-interceptor.d.ts +20 -21
- package/node_modules/undici-types/mock-pool.d.ts +4 -6
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +4 -0
- package/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/undici-types/pool.d.ts +14 -14
- package/node_modules/undici-types/proxy-agent.d.ts +6 -7
- package/node_modules/undici-types/readable.d.ts +16 -19
- package/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/undici-types/retry-handler.d.ts +10 -19
- package/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/undici-types/webidl.d.ts +30 -148
- package/node_modules/undici-types/websocket.d.ts +10 -48
- package/node_modules/ws/lib/permessage-deflate.js +1 -3
- package/node_modules/ws/lib/receiver.js +32 -15
- package/node_modules/ws/lib/websocket-server.js +4 -4
- package/node_modules/ws/lib/websocket.js +4 -4
- package/node_modules/ws/package.json +1 -5
- package/node_modules/xml-naming/README.md +189 -0
- package/node_modules/xml-naming/package.json +54 -0
- package/node_modules/xml-naming/src/index.d.ts +74 -0
- package/node_modules/xml-naming/src/index.js +270 -0
- package/package.json +10 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +0 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +0 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +0 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +0 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -20
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +0 -160
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +0 -193
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -103
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -20
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +0 -200
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +0 -519
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -18
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +0 -41
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +0 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +0 -11
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -15
- 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/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -14
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -29
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -51
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -30
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -60
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -11
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +0 -32
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -11
- 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/JsonCodec2.d.ts +0 -9
- 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/detectBufferParsing.d.ts +0 -1
- 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/writeKey.d.ts +0 -1
- 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 -858
- 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 -50
- 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/node-http2.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
- 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/dist-types/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +0 -3
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +0 -62
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -158
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -84
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +0 -18
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +0 -18
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +0 -9
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +0 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +0 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -69
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +0 -11
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commandBuilder.d.ts +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +0 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +0 -114
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +0 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +0 -37
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +0 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +0 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +0 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +0 -36
- 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 -858
- 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 -50
- 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/dist-types/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +0 -46
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -47
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -46
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -36
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -76
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -9
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -12
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
- package/node_modules/@protobufjs/utf8/CHANGELOG.md +0 -8
- package/node_modules/@senpiper/pi-coding-agent/dist/bundle/chunks/chunk-4EJGPI3L.js +0 -1545
- package/node_modules/@senpiper/sp-agent-extensions/dist/btw.d.ts +0 -38
- package/node_modules/@senpiper/sp-agent-extensions/dist/btw.d.ts.map +0 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/btw.js +0 -259
- package/node_modules/@senpiper/sp-agent-extensions/dist/btw.js.map +0 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/pi-web-launcher.d.ts +0 -21
- package/node_modules/@senpiper/sp-agent-extensions/dist/pi-web-launcher.d.ts.map +0 -1
- package/node_modules/@senpiper/sp-agent-extensions/dist/pi-web-launcher.js +0 -161
- package/node_modules/@senpiper/sp-agent-extensions/dist/pi-web-launcher.js.map +0 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +0 -189
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -42
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +0 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +0 -23
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/index.js +0 -2
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -17
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +0 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/index.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +0 -122
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +0 -110
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +0 -650
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +0 -620
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +0 -30
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +0 -24
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +0 -92
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +0 -29
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +0 -179
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +0 -59
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +0 -71
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +0 -17
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +0 -92
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js +0 -8
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +0 -15
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +0 -10
- package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +0 -4
- package/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js +0 -18
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +0 -20
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +0 -19
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/submodules/transport/httpRequest.d.ts +0 -55
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/pagination/createPaginator.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/index.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -25
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Js.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Node.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-blob-browser/blobHasher.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/HashCalculator.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.browser.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.native.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Js.d.ts +0 -19
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Node.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Js.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Node.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256WebCrypto.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +0 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidFunction.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidProvider.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/MiddlewareStack.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/types.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/NoOpLogger.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client-command-builder.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +0 -84
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/command.d.ts +0 -118
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/constants.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/create-aggregated-client.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/default-error-handler.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/defaults-mode.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +0 -42
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/checksum.d.ts +0 -25
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +0 -32
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-array-if-single-item.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-value-from-text-node.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/is-serializable-header-value.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/object-mapping.d.ts +0 -179
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/schemaLogFilter.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/ser-utils.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/serde-json.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/circularReplacer.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/createWaiter.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/poller.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/sleep.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/validate.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/waiter.d.ts +0 -49
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/config.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getRealRegion.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/isFipsRegion.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/resolveRegionConfig.d.ts +0 -34
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariant.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariantTag.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/PartitionHash.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/RegionHash.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getRegionInfo.d.ts +0 -19
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedHostname.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedPartition.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/constants.d.ts +0 -36
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/defaultsModeConfig.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.browser.d.ts +0 -55
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.d.ts +0 -36
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.native.d.ts +0 -55
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/configLoader.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromEnv.d.ts +0 -20
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromStatic.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/getSelectorName.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/CredentialsProviderError.d.ts +0 -29
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/ProviderError.d.ts +0 -38
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/TokenProviderError.d.ts +0 -29
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/chain.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/fromValue.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/memoize.d.ts +0 -40
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/constants.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +0 -53
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseIni.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/readFile.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/types.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/booleanSelector.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/numberSelector.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/types.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.browser.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +0 -20
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +0 -122
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.d.ts +0 -32
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/s3.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.d.ts +0 -41
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +0 -34
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/debugId.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/toDebugString.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/booleanEquals.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/coalesce.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttr.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttrPathList.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/index.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isIpAddress.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isSet.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/ite.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/not.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/split.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/stringEquals.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/substring.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/uriEncode.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointError.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointFunctions.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointRuleObject.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/ErrorRuleObject.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/RuleSetObject.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/TreeRuleObject.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/index.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/shared.d.ts +0 -25
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/callFunction.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/endpointFunctions.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTemplate.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTreeRule.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperty.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -80
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +0 -30
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/HeaderMarshaller.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Int64.d.ts +0 -20
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Message.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageEncoderStream.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageEncoderStream.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/splitMessage.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +0 -46
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/utils.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-config-resolver/EventStreamSerdeConfig.d.ts +0 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +0 -22
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getChunkedStream.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.browser.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -95
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Field.d.ts +0 -49
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Fields.d.ts +0 -44
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +0 -38
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/httpHandler.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/types.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/querystring-builder/buildQueryString.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -52
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri-path.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.browser.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.d.ts +0 -20
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/configurations.d.ts +0 -71
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/longPollMiddleware.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/parseRetryAfterHeader.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/types.d.ts +0 -65
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retryMiddleware.d.ts +0 -19
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/util.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +0 -30
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +0 -38
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRateLimiter.d.ts +0 -119
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryBackoffStrategy.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryToken.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/StandardRetryStrategy.d.ts +0 -56
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/config.d.ts +0 -20
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/constants.d.ts +0 -60
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/types.d.ts +0 -19
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/concatBytes.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -61
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/hash-node/hash-node.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +0 -42
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -40
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +0 -40
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/is-array-buffer/is-array-buffer.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -43
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/deserializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serdePlugin.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -250
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -38
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/constants-for-browser.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.browser.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.browser.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-buffer-from/buffer-from.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-hex-encoding/hex-encoding.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/ByteArrayCollector.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.browser.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +0 -82
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +0 -55
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.browser.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.browser.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.browser.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.browser.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-type-check.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.browser.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.browser.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/uuid/v4.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpRequest.d.ts +0 -52
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpResponse.d.ts +0 -29
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostLabel.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostname.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseQueryString.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseUrl.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/core/transport.d.ts +0 -5
- package/node_modules/@smithy/core/transport.js +0 -5
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -26
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -5
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/node-http.d.ts +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -15
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -7
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -38
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -25
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -20
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -23
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
- package/node_modules/@smithy/types/dist-es/endpoints/EndpointParameterInstructions.js +0 -1
- package/node_modules/@smithy/types/dist-es/metrics.js +0 -1
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +0 -93
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -45
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -59
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -37
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -61
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -58
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -110
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -52
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +0 -93
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -541
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -162
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -79
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -172
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -54
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -42
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -77
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
- package/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/node/quic.d.ts +0 -2151
- package/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -118
- package/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/node/vfs.d.ts +0 -210
- package/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/google-auth-library/build/src/auth/gdchclient.d.ts +0 -47
- package/node_modules/google-auth-library/build/src/auth/gdchclient.js +0 -307
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
- package/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -39
- package/node_modules/undici-types/snapshot-agent.d.ts +0 -113
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/undici-types/utility.d.ts +0 -7
- /package/node_modules/@smithy/core/dist-es/{submodules/transport/getSmithyContext.js → getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/middleware-http-signing → middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/pagination → pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{transport → client/util-middleware}/normalizeProvider.js +0 -0
- /package/node_modules/{@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js → @smithy/core/dist-es/submodules/endpoints/middleware-endpoint/types.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{transport → endpoints/util-endpoints/lib}/isValidHostLabel.js +0 -0
- /package/node_modules/{@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js → @smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{transport → protocols/protocol-http}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{transport → protocols/protocol-http}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{transport → protocols/querystring-parser}/parseQueryString.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{submodules/transport/getSmithyContext.d.ts → getSmithyContext.d.ts} +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-auth-scheme → middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-signing → middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/middleware-http-signing → middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/pagination → pagination}/createPaginator.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → client/util-middleware}/normalizeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{types/dist-types/endpoints/EndpointParameterInstructions.d.ts → core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts} +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → endpoints}/toEndpointV1.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → endpoints/util-endpoints/lib}/isValidHostLabel.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → protocols/protocol-http}/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → protocols/protocol-http}/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → protocols/querystring-parser}/parseQueryString.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{transport → protocols/url-parser}/parseUrl.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{legacy-root-exports/util-identity-and-auth → util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
- /package/node_modules/{@types → p-retry/node_modules/@types}/retry/LICENSE +0 -0
- /package/node_modules/{@types → p-retry/node_modules/@types}/retry/README.md +0 -0
- /package/node_modules/{@types → p-retry/node_modules/@types}/retry/index.d.ts +0 -0
- /package/node_modules/{@types → p-retry/node_modules/@types}/retry/package.json +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-user.js","sourceRoot":"","sources":["../src/ask-user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,wCAAwC,CAAC;AAC9D,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC;AAC/B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC;AAC7B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC;AAC7B,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;AACpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAEnC,MAAM,aAAa,GAAG,iBAAiB,CAAC;AACxC,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;AAClE,MAAM,eAAe,GAAG,mCAAmC,CAAC;AAC5D,MAAM,eAAe,GAAG,mCAAmC,CAAC;AAC5D,MAAM,eAAe,GAAG,uDAAuD,CAAC;AAChF,MAAM,QAAQ,GAAG,YAAY,CAAC;AAE9B,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;IACjE,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC1C,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,CAAC,MAAM,CAAC;IAChD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,EAAE,CAAC,YAAY,CAAC,mCAAmC,EAAE,CAAC,CAAC;AAAA,CACvD","sourcesContent":["import type { ExtensionAPI, ExtensionContext, ToolDefinition } from \"@senpiper/pi-coding-agent\";\nimport { Text } from \"@senpiper/pi-coding-agent/runtime-deps\";\nimport { type Static, Type } from \"typebox\";\n\nexport const MAX_QUESTIONS = 4;\nexport const MIN_OPTIONS = 2;\nexport const MAX_OPTIONS = 4;\nexport const MAX_HEADER_LENGTH = 16;\nexport const MAX_LABEL_LENGTH = 60;\n\nconst CUSTOM_ANSWER = \"Type something.\";\nconst RESERVED_LABELS = new Set([\"Other\", CUSTOM_ANSWER, \"Next\"]);\nconst DECLINE_MESSAGE = \"User declined to answer questions\";\nconst ENVELOPE_PREFIX = \"User has answered your questions:\";\nconst ENVELOPE_SUFFIX = \"You can now continue with the user's answers in mind.\";\nconst NO_INPUT = \"(no input)\";\n\nexport const AskUserOptionSchema = Type.Object({\n\tlabel: Type.String({ minLength: 1, maxLength: MAX_LABEL_LENGTH }),\n\tdescription: Type.String({ minLength: 1 }),\n\tpreview: Type.Optional(Type.String()),\n});\n\nexport const AskUserQuestionSchema = Type.Object({\n\tquestion: Type.String({ minLength: 1 }),\n\theader: Type.Optional(Type.String({ minLength: 1, maxLength: MAX_HEADER_LENGTH })),\n\toptions: Type.Array(AskUserOptionSchema, { minItems: MIN_OPTIONS, maxItems: MAX_OPTIONS }),\n\tmultiSelect: Type.Optional(Type.Boolean()),\n});\n\nexport const AskUserSchema = Type.Object({\n\tquestions: Type.Array(AskUserQuestionSchema, { minItems: 1, maxItems: MAX_QUESTIONS }),\n});\n\nexport type AskUserQuestionToolInput = Static<typeof AskUserSchema>;\nexport type AskUserQuestionError =\n\t| \"no_ui\"\n\t| \"aborted\"\n\t| \"no_questions\"\n\t| \"too_many_questions\"\n\t| \"invalid_question\"\n\t| \"invalid_option\"\n\t| \"duplicate_question\"\n\t| \"duplicate_option_label\"\n\t| \"reserved_label\"\n\t| \"invalid_selection\";\n\nexport interface AskUserQuestionAnswer {\n\tquestionIndex: number;\n\tquestion: string;\n\tkind: \"option\" | \"custom\" | \"multi\";\n\tanswer: string | null;\n\tselected?: string[];\n\tnotes?: string;\n\tpreview?: string;\n}\n\nexport interface AskUserQuestionToolDetails {\n\tanswers: AskUserQuestionAnswer[];\n\tcancelled: boolean;\n\terror?: AskUserQuestionError;\n\tcancelledAt?: { questionIndex: number; question: string };\n}\n\ntype ValidationResult =\n\t| { ok: true; value: AskUserQuestionToolInput }\n\t| { ok: false; error: AskUserQuestionError; message: string };\n\ntype JsonRecord = Record<string, unknown>;\n\nfunction isRecord(value: unknown): value is JsonRecord {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nexport function validateAskUserQuestionEnvelope(value: unknown): ValidationResult {\n\tif (!isRecord(value) || !Array.isArray(value.questions) || value.questions.length === 0) {\n\t\treturn { ok: false, error: \"no_questions\", message: \"Error: At least one question is required\" };\n\t}\n\tif (value.questions.length > MAX_QUESTIONS) {\n\t\treturn {\n\t\t\tok: false,\n\t\t\terror: \"too_many_questions\",\n\t\t\tmessage: `Error: At most ${MAX_QUESTIONS} questions are allowed`,\n\t\t};\n\t}\n\n\tconst questions: AskUserQuestionToolInput[\"questions\"] = [];\n\tconst questionTexts = new Set<string>();\n\tfor (const rawQuestion of value.questions) {\n\t\tif (!isRecord(rawQuestion) || typeof rawQuestion.question !== \"string\" || !rawQuestion.question.trim()) {\n\t\t\treturn { ok: false, error: \"invalid_question\", message: \"Error: Every question requires non-empty text\" };\n\t\t}\n\t\tconst question = rawQuestion.question.trim();\n\t\tif (questionTexts.has(question)) {\n\t\t\treturn { ok: false, error: \"duplicate_question\", message: \"Error: Question text must be unique\" };\n\t\t}\n\t\tquestionTexts.add(question);\n\t\tconst header = rawQuestion.header;\n\t\tif (\n\t\t\theader !== undefined &&\n\t\t\t(typeof header !== \"string\" || !header.trim() || header.trim().length > MAX_HEADER_LENGTH)\n\t\t) {\n\t\t\treturn {\n\t\t\t\tok: false,\n\t\t\t\terror: \"invalid_question\",\n\t\t\t\tmessage: `Error: Question headers must be 1-${MAX_HEADER_LENGTH} characters`,\n\t\t\t};\n\t\t}\n\t\tif (\n\t\t\t!Array.isArray(rawQuestion.options) ||\n\t\t\trawQuestion.options.length < MIN_OPTIONS ||\n\t\t\trawQuestion.options.length > MAX_OPTIONS\n\t\t) {\n\t\t\treturn {\n\t\t\t\tok: false,\n\t\t\t\terror: \"invalid_option\",\n\t\t\t\tmessage: `Error: Each question requires ${MIN_OPTIONS}-${MAX_OPTIONS} options`,\n\t\t\t};\n\t\t}\n\t\tif (rawQuestion.multiSelect !== undefined && typeof rawQuestion.multiSelect !== \"boolean\") {\n\t\t\treturn { ok: false, error: \"invalid_question\", message: \"Error: multiSelect must be a boolean\" };\n\t\t}\n\n\t\tconst labels = new Set<string>();\n\t\tconst options: AskUserQuestionToolInput[\"questions\"][number][\"options\"] = [];\n\t\tfor (const rawOption of rawQuestion.options) {\n\t\t\tif (\n\t\t\t\t!isRecord(rawOption) ||\n\t\t\t\ttypeof rawOption.label !== \"string\" ||\n\t\t\t\t!rawOption.label.trim() ||\n\t\t\t\trawOption.label.trim().length > MAX_LABEL_LENGTH ||\n\t\t\t\ttypeof rawOption.description !== \"string\" ||\n\t\t\t\t!rawOption.description.trim() ||\n\t\t\t\t(rawOption.preview !== undefined && typeof rawOption.preview !== \"string\")\n\t\t\t) {\n\t\t\t\treturn {\n\t\t\t\t\tok: false,\n\t\t\t\t\terror: \"invalid_option\",\n\t\t\t\t\tmessage: \"Error: Every option requires a valid label and description\",\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst label = rawOption.label.trim();\n\t\t\tif (RESERVED_LABELS.has(label)) {\n\t\t\t\treturn { ok: false, error: \"reserved_label\", message: `Error: Option label is reserved (${label})` };\n\t\t\t}\n\t\t\tif (labels.has(label)) {\n\t\t\t\treturn { ok: false, error: \"duplicate_option_label\", message: \"Error: Option labels must be unique\" };\n\t\t\t}\n\t\t\tlabels.add(label);\n\t\t\toptions.push({\n\t\t\t\tlabel,\n\t\t\t\tdescription: rawOption.description.trim(),\n\t\t\t\tpreview: rawOption.preview,\n\t\t\t});\n\t\t}\n\t\tquestions.push({\n\t\t\tquestion,\n\t\t\theader: typeof header === \"string\" ? header.trim() : undefined,\n\t\t\toptions,\n\t\t\tmultiSelect: rawQuestion.multiSelect,\n\t\t});\n\t}\n\treturn { ok: true, value: { questions } };\n}\n\nfunction toolResult(text: string, details: AskUserQuestionToolDetails) {\n\treturn { content: [{ type: \"text\" as const, text }], details };\n}\n\nfunction questionTitle(question: AskUserQuestionToolInput[\"questions\"][number]) {\n\tconst title = `${question.header ? `[${question.header}] ` : \"\"}${question.question}`;\n\tconst previews = question.options.flatMap((option, index) =>\n\t\toption.preview?.trim() ? [`--- ${index + 1}. ${option.label} preview ---\\n${option.preview.slice(0, 600)}`] : [],\n\t);\n\treturn previews.length > 0 ? `${title}\\n\\n${previews.join(\"\\n\\n\")}` : title;\n}\n\nfunction displayOptions(question: AskUserQuestionToolInput[\"questions\"][number]) {\n\treturn new Map(\n\t\tquestion.options.map((option, index) => [`${index + 1}. ${option.label} — ${option.description}`, option]),\n\t);\n}\n\nasync function askQuestion(\n\tctx: ExtensionContext,\n\tquestion: AskUserQuestionToolInput[\"questions\"][number],\n\tquestionIndex: number,\n): Promise<AskUserQuestionAnswer | undefined> {\n\tconst byDisplay = displayOptions(question);\n\tif (!question.multiSelect) {\n\t\tconst choice = await ctx.ui.select(questionTitle(question), [...byDisplay.keys(), CUSTOM_ANSWER]);\n\t\tif (choice === undefined) return undefined;\n\t\tif (choice === CUSTOM_ANSWER) {\n\t\t\tconst answer = await ctx.ui.input(question.question, \"Type your answer\");\n\t\t\tif (answer === undefined) return undefined;\n\t\t\treturn { questionIndex, question: question.question, kind: \"custom\", answer: answer.trim() || null };\n\t\t}\n\t\tconst option = byDisplay.get(choice);\n\t\tif (!option) return undefined;\n\t\treturn {\n\t\t\tquestionIndex,\n\t\t\tquestion: question.question,\n\t\t\tkind: \"option\",\n\t\t\tanswer: option.label,\n\t\t\tpreview: option.preview?.trim() || undefined,\n\t\t};\n\t}\n\n\tconst choices = await ctx.ui.multiSelect(questionTitle(question), [...byDisplay.keys(), CUSTOM_ANSWER]);\n\tif (choices === undefined) return undefined;\n\tconst customSelected = choices.includes(CUSTOM_ANSWER);\n\tconst selected: string[] = [];\n\tfor (const choice of choices) {\n\t\tif (choice === CUSTOM_ANSWER) continue;\n\t\tconst option = byDisplay.get(choice);\n\t\tif (!option) return undefined;\n\t\tif (!selected.includes(option.label)) selected.push(option.label);\n\t}\n\tlet notes: string | undefined;\n\tif (customSelected) {\n\t\tconst custom = await ctx.ui.input(question.question, \"Type another answer or note\");\n\t\tif (custom === undefined) return undefined;\n\t\tnotes = custom.trim() || undefined;\n\t}\n\tif (selected.length === 0 && customSelected) {\n\t\treturn { questionIndex, question: question.question, kind: \"custom\", answer: notes ?? null };\n\t}\n\treturn { questionIndex, question: question.question, kind: \"multi\", answer: null, selected, notes };\n}\n\nfunction answerScalar(answer: AskUserQuestionAnswer) {\n\tif (answer.kind === \"multi\") return answer.selected?.length ? answer.selected.join(\", \") : NO_INPUT;\n\treturn answer.answer || NO_INPUT;\n}\n\nexport function buildAskUserQuestionResponse(details: AskUserQuestionToolDetails) {\n\tif (details.cancelled || details.answers.length === 0) return toolResult(DECLINE_MESSAGE, details);\n\tconst segments = details.answers.map((answer) => {\n\t\tconst suffixes = [\n\t\t\tanswer.preview ? `selected preview: ${answer.preview}` : undefined,\n\t\t\tanswer.notes ? `user notes: ${answer.notes}` : undefined,\n\t\t].filter((entry): entry is string => entry !== undefined);\n\t\treturn `\"${answer.question}\"=\"${answerScalar(answer)}\".${suffixes.length ? ` ${suffixes.join(\". \")}.` : \"\"}`;\n\t});\n\treturn toolResult(`${ENVELOPE_PREFIX} ${segments.join(\" \")} ${ENVELOPE_SUFFIX}`, details);\n}\n\nexport function createAskUserQuestionToolDefinition(): ToolDefinition<\n\ttypeof AskUserSchema,\n\tAskUserQuestionToolDetails\n> {\n\treturn {\n\t\tname: \"ask_user_question\",\n\t\tlabel: \"Ask User Question\",\n\t\tdescription:\n\t\t\t\"Ask the user up to four structured questions with single-select, multi-select, custom answers, and optional markdown previews.\",\n\t\tpromptSnippet: `Ask up to ${MAX_QUESTIONS} structured questions when requirements are ambiguous`,\n\t\tpromptGuidelines: [\n\t\t\t\"Use ask_user_question when concrete user decisions are required before implementation.\",\n\t\t\t`Group related questions into one ask_user_question call and provide ${MIN_OPTIONS}-${MAX_OPTIONS} concise options for each.`,\n\t\t\t\"Use multiSelect when choices are not mutually exclusive, and use option previews for code, configuration, or layout comparisons.\",\n\t\t],\n\t\tparameters: AskUserSchema,\n\t\texecutionMode: \"sequential\",\n\t\tasync execute(_toolCallId, params, signal, _onUpdate, ctx) {\n\t\t\tif (!ctx.hasUI) {\n\t\t\t\treturn toolResult(\"UI is unavailable; ask the questions in plain chat text.\", {\n\t\t\t\t\tanswers: [],\n\t\t\t\t\tcancelled: true,\n\t\t\t\t\terror: \"no_ui\",\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst validation = validateAskUserQuestionEnvelope(params);\n\t\t\tif (!validation.ok) {\n\t\t\t\treturn toolResult(validation.message, {\n\t\t\t\t\tanswers: [],\n\t\t\t\t\tcancelled: true,\n\t\t\t\t\terror: validation.error,\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst answers: AskUserQuestionAnswer[] = [];\n\t\t\tfor (const [questionIndex, question] of validation.value.questions.entries()) {\n\t\t\t\tif (signal?.aborted) {\n\t\t\t\t\treturn toolResult(\"The questionnaire was aborted.\", {\n\t\t\t\t\t\tanswers,\n\t\t\t\t\t\tcancelled: true,\n\t\t\t\t\t\terror: \"aborted\",\n\t\t\t\t\t\tcancelledAt: { questionIndex, question: question.question },\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst answer = await askQuestion(ctx, question, questionIndex);\n\t\t\t\tif (!answer) {\n\t\t\t\t\treturn buildAskUserQuestionResponse({\n\t\t\t\t\t\tanswers,\n\t\t\t\t\t\tcancelled: true,\n\t\t\t\t\t\tcancelledAt: { questionIndex, question: question.question },\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tanswers.push(answer);\n\t\t\t}\n\t\t\treturn buildAskUserQuestionResponse({ answers, cancelled: false });\n\t\t},\n\t\trenderCall(args, theme) {\n\t\t\tconst count = Array.isArray(args.questions) ? args.questions.length : 0;\n\t\t\treturn new Text(\n\t\t\t\t`${theme.fg(\"toolTitle\", theme.bold(\"ask_user_question \"))}${theme.fg(\"muted\", `${count} question${count === 1 ? \"\" : \"s\"}`)}`,\n\t\t\t\t0,\n\t\t\t\t0,\n\t\t\t);\n\t\t},\n\t\trenderResult(result, _options, theme) {\n\t\t\tif (result.details.cancelled) {\n\t\t\t\tconst at = result.details.cancelledAt ? ` at question ${result.details.cancelledAt.questionIndex + 1}` : \"\";\n\t\t\t\treturn new Text(theme.fg(\"warning\", `Questionnaire cancelled${at}`), 0, 0);\n\t\t\t}\n\t\t\treturn new Text(\n\t\t\t\tresult.details.answers\n\t\t\t\t\t.map((answer) => `${theme.fg(\"success\", \"✓\")} ${answer.question}: ${answerScalar(answer)}`)\n\t\t\t\t\t.join(\"\\n\"),\n\t\t\t\t0,\n\t\t\t\t0,\n\t\t\t);\n\t\t},\n\t};\n}\n\nexport function registerAskUserQuestion(pi: ExtensionAPI) {\n\tpi.registerTool(createAskUserQuestionToolDefinition());\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ask-user.js","sourceRoot":"","sources":["../src/ask-user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,wCAAwC,CAAC;AAC9D,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAExF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC;AAC/B,MAAM,CAAC,MAAM,WAAW,GAAG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CAAC,gBAAgB,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC5G,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,0BAA0B,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;YAC5E,CAAC;YACD,OAAO,IAAI,IAAI,CACd,MAAM,CAAC,OAAO,CAAC,OAAO;iBACpB,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,KAAG,CAAC,IAAI,MAAM,CAAC,QAAQ,KAAK,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;iBAC1F,IAAI,CAAC,IAAI,CAAC,EACZ,CAAC,EACD,CAAC,CACD,CAAC;QAAA,CACF;KACD,CAAC;AAAA,CACF;AAED,MAAM,UAAU,uBAAuB,CAAC,EAAgB,EAAE;IACzD,MAAM,WAAW,GAAG,sBAAsB,CAAC,EAAE,CAAC,CAAC;IAC/C,EAAE,CAAC,YAAY,CAAC,mCAAmC,CAAC,WAAW,CAAC,CAAC,CAAC;IAClE,EAAE,CAAC,EAAE,CAAC,kBAAkB,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IACtD,EAAE,CAAC,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;AAAA,CACnD","sourcesContent":["import type { ExtensionAPI, ExtensionContext, ToolDefinition } from \"@senpiper/pi-coding-agent\";\nimport { Text } from \"@senpiper/pi-coding-agent/runtime-deps\";\nimport { type Static, Type } from \"typebox\";\nimport { getQuestionInteraction, QuestionInteraction } from \"./question-interaction.ts\";\n\nexport const MAX_QUESTIONS = 4;\nexport const MIN_OPTIONS = 2;\nexport const MAX_OPTIONS = 4;\nexport const MAX_HEADER_LENGTH = 16;\nexport const MAX_LABEL_LENGTH = 60;\n\nconst CUSTOM_ANSWER = \"Type something.\";\nconst RESERVED_LABELS = new Set([\"Other\", CUSTOM_ANSWER, \"Next\"]);\nconst DECLINE_MESSAGE = \"User declined to answer questions\";\nconst ENVELOPE_PREFIX = \"User has answered your questions:\";\nconst ENVELOPE_SUFFIX = \"You can now continue with the user's answers in mind.\";\nconst NO_INPUT = \"(no input)\";\n\nexport const AskUserOptionSchema = Type.Object({\n\tlabel: Type.String({ minLength: 1, maxLength: MAX_LABEL_LENGTH }),\n\tdescription: Type.String({ minLength: 1 }),\n\tpreview: Type.Optional(Type.String()),\n});\n\nexport const AskUserQuestionSchema = Type.Object({\n\tquestion: Type.String({ minLength: 1 }),\n\theader: Type.Optional(Type.String({ minLength: 1, maxLength: MAX_HEADER_LENGTH })),\n\toptions: Type.Array(AskUserOptionSchema, { minItems: MIN_OPTIONS, maxItems: MAX_OPTIONS }),\n\tmultiSelect: Type.Optional(Type.Boolean()),\n});\n\nexport const AskUserSchema = Type.Object({\n\tquestions: Type.Array(AskUserQuestionSchema, { minItems: 1, maxItems: MAX_QUESTIONS }),\n});\n\nexport type AskUserQuestionToolInput = Static<typeof AskUserSchema>;\nexport type AskUserQuestionError =\n\t| \"no_ui\"\n\t| \"aborted\"\n\t| \"no_questions\"\n\t| \"too_many_questions\"\n\t| \"invalid_question\"\n\t| \"invalid_option\"\n\t| \"duplicate_question\"\n\t| \"duplicate_option_label\"\n\t| \"reserved_label\"\n\t| \"invalid_selection\";\n\nexport interface AskUserQuestionAnswer {\n\tquestionIndex: number;\n\tquestion: string;\n\tkind: \"option\" | \"custom\" | \"multi\";\n\tanswer: string | null;\n\tselected?: string[];\n\tnotes?: string;\n\tpreview?: string;\n}\n\nexport interface AskUserQuestionToolDetails {\n\tanswers: AskUserQuestionAnswer[];\n\tcancelled: boolean;\n\terror?: AskUserQuestionError;\n\tcancelledAt?: { questionIndex: number; question: string };\n}\n\ntype ValidationResult =\n\t| { ok: true; value: AskUserQuestionToolInput }\n\t| { ok: false; error: AskUserQuestionError; message: string };\n\ntype JsonRecord = Record<string, unknown>;\n\nfunction isRecord(value: unknown): value is JsonRecord {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nexport function validateAskUserQuestionEnvelope(value: unknown): ValidationResult {\n\tif (!isRecord(value) || !Array.isArray(value.questions) || value.questions.length === 0) {\n\t\treturn { ok: false, error: \"no_questions\", message: \"Error: At least one question is required\" };\n\t}\n\tif (value.questions.length > MAX_QUESTIONS) {\n\t\treturn {\n\t\t\tok: false,\n\t\t\terror: \"too_many_questions\",\n\t\t\tmessage: `Error: At most ${MAX_QUESTIONS} questions are allowed`,\n\t\t};\n\t}\n\n\tconst questions: AskUserQuestionToolInput[\"questions\"] = [];\n\tconst questionTexts = new Set<string>();\n\tfor (const rawQuestion of value.questions) {\n\t\tif (!isRecord(rawQuestion) || typeof rawQuestion.question !== \"string\" || !rawQuestion.question.trim()) {\n\t\t\treturn { ok: false, error: \"invalid_question\", message: \"Error: Every question requires non-empty text\" };\n\t\t}\n\t\tconst question = rawQuestion.question.trim();\n\t\tif (questionTexts.has(question)) {\n\t\t\treturn { ok: false, error: \"duplicate_question\", message: \"Error: Question text must be unique\" };\n\t\t}\n\t\tquestionTexts.add(question);\n\t\tconst header = rawQuestion.header;\n\t\tif (\n\t\t\theader !== undefined &&\n\t\t\t(typeof header !== \"string\" || !header.trim() || header.trim().length > MAX_HEADER_LENGTH)\n\t\t) {\n\t\t\treturn {\n\t\t\t\tok: false,\n\t\t\t\terror: \"invalid_question\",\n\t\t\t\tmessage: `Error: Question headers must be 1-${MAX_HEADER_LENGTH} characters`,\n\t\t\t};\n\t\t}\n\t\tif (\n\t\t\t!Array.isArray(rawQuestion.options) ||\n\t\t\trawQuestion.options.length < MIN_OPTIONS ||\n\t\t\trawQuestion.options.length > MAX_OPTIONS\n\t\t) {\n\t\t\treturn {\n\t\t\t\tok: false,\n\t\t\t\terror: \"invalid_option\",\n\t\t\t\tmessage: `Error: Each question requires ${MIN_OPTIONS}-${MAX_OPTIONS} options`,\n\t\t\t};\n\t\t}\n\t\tif (rawQuestion.multiSelect !== undefined && typeof rawQuestion.multiSelect !== \"boolean\") {\n\t\t\treturn { ok: false, error: \"invalid_question\", message: \"Error: multiSelect must be a boolean\" };\n\t\t}\n\n\t\tconst labels = new Set<string>();\n\t\tconst options: AskUserQuestionToolInput[\"questions\"][number][\"options\"] = [];\n\t\tfor (const rawOption of rawQuestion.options) {\n\t\t\tif (\n\t\t\t\t!isRecord(rawOption) ||\n\t\t\t\ttypeof rawOption.label !== \"string\" ||\n\t\t\t\t!rawOption.label.trim() ||\n\t\t\t\trawOption.label.trim().length > MAX_LABEL_LENGTH ||\n\t\t\t\ttypeof rawOption.description !== \"string\" ||\n\t\t\t\t!rawOption.description.trim() ||\n\t\t\t\t(rawOption.preview !== undefined && typeof rawOption.preview !== \"string\")\n\t\t\t) {\n\t\t\t\treturn {\n\t\t\t\t\tok: false,\n\t\t\t\t\terror: \"invalid_option\",\n\t\t\t\t\tmessage: \"Error: Every option requires a valid label and description\",\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst label = rawOption.label.trim();\n\t\t\tif (RESERVED_LABELS.has(label)) {\n\t\t\t\treturn { ok: false, error: \"reserved_label\", message: `Error: Option label is reserved (${label})` };\n\t\t\t}\n\t\t\tif (labels.has(label)) {\n\t\t\t\treturn { ok: false, error: \"duplicate_option_label\", message: \"Error: Option labels must be unique\" };\n\t\t\t}\n\t\t\tlabels.add(label);\n\t\t\toptions.push({\n\t\t\t\tlabel,\n\t\t\t\tdescription: rawOption.description.trim(),\n\t\t\t\tpreview: rawOption.preview,\n\t\t\t});\n\t\t}\n\t\tquestions.push({\n\t\t\tquestion,\n\t\t\theader: typeof header === \"string\" ? header.trim() : undefined,\n\t\t\toptions,\n\t\t\tmultiSelect: rawQuestion.multiSelect,\n\t\t});\n\t}\n\treturn { ok: true, value: { questions } };\n}\n\nfunction toolResult(text: string, details: AskUserQuestionToolDetails) {\n\treturn { content: [{ type: \"text\" as const, text }], details };\n}\n\nfunction questionTitle(question: AskUserQuestionToolInput[\"questions\"][number]) {\n\tconst title = `${question.header ? `[${question.header}] ` : \"\"}${question.question}`;\n\tconst previews = question.options.flatMap((option, index) =>\n\t\toption.preview?.trim() ? [`--- ${index + 1}. ${option.label} preview ---\\n${option.preview.slice(0, 600)}`] : [],\n\t);\n\treturn previews.length > 0 ? `${title}\\n\\n${previews.join(\"\\n\\n\")}` : title;\n}\n\nfunction displayOptions(question: AskUserQuestionToolInput[\"questions\"][number]) {\n\treturn new Map(\n\t\tquestion.options.map((option, index) => [`${index + 1}. ${option.label} — ${option.description}`, option]),\n\t);\n}\n\nasync function askQuestion(\n\tctx: ExtensionContext,\n\tquestion: AskUserQuestionToolInput[\"questions\"][number],\n\tquestionIndex: number,\n\tsignal: AbortSignal,\n): Promise<AskUserQuestionAnswer | undefined> {\n\tif (signal.aborted) return undefined;\n\tconst byDisplay = displayOptions(question);\n\tif (!question.multiSelect) {\n\t\tconst choice = await ctx.ui.select(questionTitle(question), [...byDisplay.keys(), CUSTOM_ANSWER], { signal });\n\t\tif (signal.aborted || choice === undefined) return undefined;\n\t\tif (choice === CUSTOM_ANSWER) {\n\t\t\tconst answer = await ctx.ui.input(question.question, \"Type your answer\", { signal });\n\t\t\tif (signal.aborted || answer === undefined) return undefined;\n\t\t\treturn { questionIndex, question: question.question, kind: \"custom\", answer: answer.trim() || null };\n\t\t}\n\t\tconst option = byDisplay.get(choice);\n\t\tif (!option) return undefined;\n\t\treturn {\n\t\t\tquestionIndex,\n\t\t\tquestion: question.question,\n\t\t\tkind: \"option\",\n\t\t\tanswer: option.label,\n\t\t\tpreview: option.preview?.trim() || undefined,\n\t\t};\n\t}\n\n\tconst choices = await ctx.ui.multiSelect(questionTitle(question), [...byDisplay.keys(), CUSTOM_ANSWER], { signal });\n\tif (signal.aborted || choices === undefined) return undefined;\n\tconst customSelected = choices.includes(CUSTOM_ANSWER);\n\tconst selected: string[] = [];\n\tfor (const choice of choices) {\n\t\tif (choice === CUSTOM_ANSWER) continue;\n\t\tconst option = byDisplay.get(choice);\n\t\tif (!option) return undefined;\n\t\tif (!selected.includes(option.label)) selected.push(option.label);\n\t}\n\tlet notes: string | undefined;\n\tif (customSelected) {\n\t\tconst custom = await ctx.ui.input(question.question, \"Type another answer or note\", { signal });\n\t\tif (signal.aborted || custom === undefined) return undefined;\n\t\tnotes = custom.trim() || undefined;\n\t}\n\tif (selected.length === 0 && customSelected) {\n\t\treturn { questionIndex, question: question.question, kind: \"custom\", answer: notes ?? null };\n\t}\n\treturn { questionIndex, question: question.question, kind: \"multi\", answer: null, selected, notes };\n}\n\nfunction answerScalar(answer: AskUserQuestionAnswer) {\n\tif (answer.kind === \"multi\") return answer.selected?.length ? answer.selected.join(\", \") : NO_INPUT;\n\treturn answer.answer || NO_INPUT;\n}\n\nexport function buildAskUserQuestionResponse(details: AskUserQuestionToolDetails) {\n\tif (details.cancelled || details.answers.length === 0) return toolResult(DECLINE_MESSAGE, details);\n\tconst segments = details.answers.map((answer) => {\n\t\tconst suffixes = [\n\t\t\tanswer.preview ? `selected preview: ${answer.preview}` : undefined,\n\t\t\tanswer.notes ? `user notes: ${answer.notes}` : undefined,\n\t\t].filter((entry): entry is string => entry !== undefined);\n\t\treturn `\"${answer.question}\"=\"${answerScalar(answer)}\".${suffixes.length ? ` ${suffixes.join(\". \")}.` : \"\"}`;\n\t});\n\treturn toolResult(`${ENVELOPE_PREFIX} ${segments.join(\" \")} ${ENVELOPE_SUFFIX}`, details);\n}\n\nexport function createAskUserQuestionToolDefinition(\n\tinteraction = new QuestionInteraction(),\n): ToolDefinition<typeof AskUserSchema, AskUserQuestionToolDetails> {\n\treturn {\n\t\tname: \"ask_user_question\",\n\t\tlabel: \"Ask User Question\",\n\t\tdescription:\n\t\t\t\"Ask the user up to four structured questions with single-select, multi-select, custom answers, and optional markdown previews.\",\n\t\tpromptSnippet: `Ask up to ${MAX_QUESTIONS} structured questions when requirements are ambiguous`,\n\t\tpromptGuidelines: [\n\t\t\t\"Use ask_user_question when concrete user decisions are required before implementation.\",\n\t\t\t`Group related questions into one ask_user_question call and provide ${MIN_OPTIONS}-${MAX_OPTIONS} concise options for each.`,\n\t\t\t\"Use multiSelect when choices are not mutually exclusive, and use option previews for code, configuration, or layout comparisons.\",\n\t\t],\n\t\tparameters: AskUserSchema,\n\t\texecutionMode: \"sequential\",\n\t\tasync execute(toolCallId, params, signal, _onUpdate, ctx) {\n\t\t\tif (!ctx.hasUI) {\n\t\t\t\treturn toolResult(\"UI is unavailable; ask the questions in plain chat text.\", {\n\t\t\t\t\tanswers: [],\n\t\t\t\t\tcancelled: true,\n\t\t\t\t\terror: \"no_ui\",\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst validation = validateAskUserQuestionEnvelope(params);\n\t\t\tif (!validation.ok) {\n\t\t\t\treturn toolResult(validation.message, {\n\t\t\t\t\tanswers: [],\n\t\t\t\t\tcancelled: true,\n\t\t\t\t\terror: validation.error,\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst answers: AskUserQuestionAnswer[] = [];\n\t\t\tconst controller = interaction.begin();\n\t\t\tconst combinedSignal = signal ? AbortSignal.any([signal, controller.signal]) : controller.signal;\n\t\t\ttry {\n\t\t\t\tfor (const [questionIndex, question] of validation.value.questions.entries()) {\n\t\t\t\t\tif (combinedSignal.aborted) {\n\t\t\t\t\t\treturn toolResult(\"The questionnaire was aborted.\", {\n\t\t\t\t\t\t\tanswers,\n\t\t\t\t\t\t\tcancelled: true,\n\t\t\t\t\t\t\terror: \"aborted\",\n\t\t\t\t\t\t\tcancelledAt: { questionIndex, question: question.question },\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tconst outcome = await interaction.ask(\n\t\t\t\t\t\t{ toolCallId, questionIndex, questionCount: validation.value.questions.length, question },\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\tcombinedSignal,\n\t\t\t\t\t\t(dialogSignal) => askQuestion(ctx, question, questionIndex, dialogSignal),\n\t\t\t\t\t);\n\t\t\t\t\tconst answer = outcome.answer;\n\t\t\t\t\tif (!answer) {\n\t\t\t\t\t\treturn buildAskUserQuestionResponse({\n\t\t\t\t\t\t\tanswers,\n\t\t\t\t\t\t\tcancelled: true,\n\t\t\t\t\t\t\t...(outcome.aborted ? { error: \"aborted\" as const } : {}),\n\t\t\t\t\t\t\tcancelledAt: { questionIndex, question: question.question },\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tanswers.push(answer);\n\t\t\t\t}\n\t\t\t\treturn buildAskUserQuestionResponse({ answers, cancelled: false });\n\t\t\t} finally {\n\t\t\t\tinteraction.end(controller);\n\t\t\t}\n\t\t},\n\t\trenderCall(args, theme) {\n\t\t\tconst count = Array.isArray(args.questions) ? args.questions.length : 0;\n\t\t\treturn new Text(\n\t\t\t\t`${theme.fg(\"toolTitle\", theme.bold(\"ask_user_question \"))}${theme.fg(\"muted\", `${count} question${count === 1 ? \"\" : \"s\"}`)}`,\n\t\t\t\t0,\n\t\t\t\t0,\n\t\t\t);\n\t\t},\n\t\trenderResult(result, _options, theme) {\n\t\t\tif (result.details.cancelled) {\n\t\t\t\tconst at = result.details.cancelledAt ? ` at question ${result.details.cancelledAt.questionIndex + 1}` : \"\";\n\t\t\t\treturn new Text(theme.fg(\"warning\", `Questionnaire cancelled${at}`), 0, 0);\n\t\t\t}\n\t\t\treturn new Text(\n\t\t\t\tresult.details.answers\n\t\t\t\t\t.map((answer) => `${theme.fg(\"success\", \"✓\")} ${answer.question}: ${answerScalar(answer)}`)\n\t\t\t\t\t.join(\"\\n\"),\n\t\t\t\t0,\n\t\t\t\t0,\n\t\t\t);\n\t\t},\n\t};\n}\n\nexport function registerAskUserQuestion(pi: ExtensionAPI) {\n\tconst interaction = getQuestionInteraction(pi);\n\tpi.registerTool(createAskUserQuestionToolDefinition(interaction));\n\tpi.on(\"session_shutdown\", () => interaction.cancel());\n\tpi.on(\"session_start\", () => interaction.cancel());\n}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExtensionFactory } from "@senpiper/pi-coding-agent";
|
|
2
|
-
|
|
2
|
+
import { type TerminalWebBridgeOptions } from "./terminal-web-bridge.ts";
|
|
3
|
+
export declare function createSpAgentExtension(bridgeOptions?: TerminalWebBridgeOptions): ExtensionFactory;
|
|
3
4
|
declare const _default: ExtensionFactory;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=extension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAKhF,OAAO,EAA6B,KAAK,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAGpG,wBAAgB,sBAAsB,CAAC,aAAa,GAAE,wBAA6B,GAAG,gBAAgB,CAUrG;;AAED,wBAAwC","sourcesContent":["import type { ExtensionAPI, ExtensionFactory } from \"@senpiper/pi-coding-agent\";\nimport { registerSpCommands } from \"./commands.ts\";\nimport { createSpGatewayExtension } from \"./gateway.ts\";\nimport { registerInteractionExtensions } from \"./interactions.ts\";\nimport { registerSpStartupHeader } from \"./startup-header.ts\";\nimport { registerTerminalWebBridge, type TerminalWebBridgeOptions } from \"./terminal-web-bridge.ts\";\nimport { registerWebCommand } from \"./web-command.ts\";\n\nexport function createSpAgentExtension(bridgeOptions: TerminalWebBridgeOptions = {}): ExtensionFactory {\n\tconst registerGateway = createSpGatewayExtension();\n\treturn (pi: ExtensionAPI) => {\n\t\tregisterGateway(pi);\n\t\tregisterInteractionExtensions(pi);\n\t\tregisterSpCommands(pi);\n\t\tregisterWebCommand(pi, bridgeOptions);\n\t\tregisterSpStartupHeader(pi);\n\t\tregisterTerminalWebBridge(pi, bridgeOptions);\n\t};\n}\n\nexport default createSpAgentExtension();\n"]}
|
|
@@ -3,14 +3,16 @@ import { createSpGatewayExtension } from "./gateway.js";
|
|
|
3
3
|
import { registerInteractionExtensions } from "./interactions.js";
|
|
4
4
|
import { registerSpStartupHeader } from "./startup-header.js";
|
|
5
5
|
import { registerTerminalWebBridge } from "./terminal-web-bridge.js";
|
|
6
|
-
|
|
6
|
+
import { registerWebCommand } from "./web-command.js";
|
|
7
|
+
export function createSpAgentExtension(bridgeOptions = {}) {
|
|
7
8
|
const registerGateway = createSpGatewayExtension();
|
|
8
9
|
return (pi) => {
|
|
9
10
|
registerGateway(pi);
|
|
10
11
|
registerInteractionExtensions(pi);
|
|
11
12
|
registerSpCommands(pi);
|
|
13
|
+
registerWebCommand(pi, bridgeOptions);
|
|
12
14
|
registerSpStartupHeader(pi);
|
|
13
|
-
registerTerminalWebBridge(pi);
|
|
15
|
+
registerTerminalWebBridge(pi, bridgeOptions);
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
export default createSpAgentExtension();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAiC,MAAM,0BAA0B,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,UAAU,sBAAsB,CAAC,aAAa,GAA6B,EAAE,EAAoB;IACtG,MAAM,eAAe,GAAG,wBAAwB,EAAE,CAAC;IACnD,OAAO,CAAC,EAAgB,EAAE,EAAE,CAAC;QAC5B,eAAe,CAAC,EAAE,CAAC,CAAC;QACpB,6BAA6B,CAAC,EAAE,CAAC,CAAC;QAClC,kBAAkB,CAAC,EAAE,CAAC,CAAC;QACvB,kBAAkB,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;QACtC,uBAAuB,CAAC,EAAE,CAAC,CAAC;QAC5B,yBAAyB,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IAAA,CAC7C,CAAC;AAAA,CACF;AAED,eAAe,sBAAsB,EAAE,CAAC","sourcesContent":["import type { ExtensionAPI, ExtensionFactory } from \"@senpiper/pi-coding-agent\";\nimport { registerSpCommands } from \"./commands.ts\";\nimport { createSpGatewayExtension } from \"./gateway.ts\";\nimport { registerInteractionExtensions } from \"./interactions.ts\";\nimport { registerSpStartupHeader } from \"./startup-header.ts\";\nimport { registerTerminalWebBridge, type TerminalWebBridgeOptions } from \"./terminal-web-bridge.ts\";\nimport { registerWebCommand } from \"./web-command.ts\";\n\nexport function createSpAgentExtension(bridgeOptions: TerminalWebBridgeOptions = {}): ExtensionFactory {\n\tconst registerGateway = createSpGatewayExtension();\n\treturn (pi: ExtensionAPI) => {\n\t\tregisterGateway(pi);\n\t\tregisterInteractionExtensions(pi);\n\t\tregisterSpCommands(pi);\n\t\tregisterWebCommand(pi, bridgeOptions);\n\t\tregisterSpStartupHeader(pi);\n\t\tregisterTerminalWebBridge(pi, bridgeOptions);\n\t};\n}\n\nexport default createSpAgentExtension();\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { AskUserSchema, buildAskUserQuestionResponse, createAskUserQuestionToolDefinition, registerAskUserQuestion, validateAskUserQuestionEnvelope, } from "./ask-user.ts";
|
|
2
|
-
export { BTW_COMMAND_NAME, BTW_ENTRY_TYPE, executeBtw, registerBtw } from "./btw.ts";
|
|
3
2
|
export { handleSpCommand } from "./commands.ts";
|
|
4
3
|
export { createSpAgentExtension, default } from "./extension.ts";
|
|
5
4
|
export { clearSpGatewayWarning, createSpGatewayExtension, createSpGatewayProviderConfig, fetchSpGatewayModels, getLegacyModelsPath, getSpAgentDir, getSpAuthPath, getSpGatewayStatePath, getSpGatewayWarning, normalizeSpGatewayBaseUrl, readSpGatewayApiKey, readSpGatewayState, removeSpGatewayLogin, SP_CLIENT_NAME, SP_GATEWAY_PROVIDER_ID, SP_GATEWAY_PROVIDER_NAME, SP_USER_AGENT, writeSpGatewayLogin, writeSpGatewayState, } from "./gateway.ts";
|
|
6
5
|
export { registerInteractionExtensions } from "./interactions.ts";
|
|
7
6
|
export { clearOnboardingState, fetchSkillCatalog, getOnboardingStatePath, hasCompletedOnboarding, installCatalogSkills, parseSkillCatalog, selectCatalogSkills, writeOnboardingState, } from "./onboarding.ts";
|
|
8
7
|
export { installOnboardingSelection, type OnboardingInstallationResult } from "./onboarding-installation.ts";
|
|
9
|
-
export
|
|
8
|
+
export type { PendingQuestion, QuestionResponse } from "./question-interaction.ts";
|
|
9
|
+
export { ensureSpWebSidecar, getSpWebSidecarStatePath, resolveSpWebLaunch, type SpWebLauncherOptions, type SpWebLaunchResult, type SpWebSidecarState, } from "./sp-web-launcher.ts";
|
|
10
10
|
export { filterSpStartupMessage, registerSpStartupHeader, renderSpStartupHeader } from "./startup-header.ts";
|
|
11
11
|
export { DEFAULT_TERMINAL_BRIDGE_MAX_BUFFERED_BYTES, DEFAULT_TERMINAL_BRIDGE_MAX_CLIENTS, DEFAULT_TERMINAL_BRIDGE_MAX_FRAME_BYTES, readTerminalBridgeDescriptor, registerTerminalWebBridge, TERMINAL_BRIDGE_PROTOCOL, TERMINAL_BRIDGE_VERSION, type TerminalBridgeDescriptor, TerminalWebBridge, type TerminalWebBridgeOptions, terminalBridgeDescriptorExists, } from "./terminal-web-bridge.ts";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,4BAA4B,EAC5B,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,GAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,4BAA4B,EAC5B,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,GAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EACN,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EACN,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAE,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC7G,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EACN,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC7G,OAAO,EACN,0CAA0C,EAC1C,mCAAmC,EACnC,uCAAuC,EACvC,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,KAAK,wBAAwB,EAC7B,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,8BAA8B,GAC9B,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n\tAskUserSchema,\n\tbuildAskUserQuestionResponse,\n\tcreateAskUserQuestionToolDefinition,\n\tregisterAskUserQuestion,\n\tvalidateAskUserQuestionEnvelope,\n} from \"./ask-user.ts\";\nexport { handleSpCommand } from \"./commands.ts\";\nexport { createSpAgentExtension, default } from \"./extension.ts\";\nexport {\n\tclearSpGatewayWarning,\n\tcreateSpGatewayExtension,\n\tcreateSpGatewayProviderConfig,\n\tfetchSpGatewayModels,\n\tgetLegacyModelsPath,\n\tgetSpAgentDir,\n\tgetSpAuthPath,\n\tgetSpGatewayStatePath,\n\tgetSpGatewayWarning,\n\tnormalizeSpGatewayBaseUrl,\n\treadSpGatewayApiKey,\n\treadSpGatewayState,\n\tremoveSpGatewayLogin,\n\tSP_CLIENT_NAME,\n\tSP_GATEWAY_PROVIDER_ID,\n\tSP_GATEWAY_PROVIDER_NAME,\n\tSP_USER_AGENT,\n\twriteSpGatewayLogin,\n\twriteSpGatewayState,\n} from \"./gateway.ts\";\nexport { registerInteractionExtensions } from \"./interactions.ts\";\nexport {\n\tclearOnboardingState,\n\tfetchSkillCatalog,\n\tgetOnboardingStatePath,\n\thasCompletedOnboarding,\n\tinstallCatalogSkills,\n\tparseSkillCatalog,\n\tselectCatalogSkills,\n\twriteOnboardingState,\n} from \"./onboarding.ts\";\nexport { installOnboardingSelection, type OnboardingInstallationResult } from \"./onboarding-installation.ts\";\nexport type { PendingQuestion, QuestionResponse } from \"./question-interaction.ts\";\nexport {\n\tensureSpWebSidecar,\n\tgetSpWebSidecarStatePath,\n\tresolveSpWebLaunch,\n\ttype SpWebLauncherOptions,\n\ttype SpWebLaunchResult,\n\ttype SpWebSidecarState,\n} from \"./sp-web-launcher.ts\";\nexport { filterSpStartupMessage, registerSpStartupHeader, renderSpStartupHeader } from \"./startup-header.ts\";\nexport {\n\tDEFAULT_TERMINAL_BRIDGE_MAX_BUFFERED_BYTES,\n\tDEFAULT_TERMINAL_BRIDGE_MAX_CLIENTS,\n\tDEFAULT_TERMINAL_BRIDGE_MAX_FRAME_BYTES,\n\treadTerminalBridgeDescriptor,\n\tregisterTerminalWebBridge,\n\tTERMINAL_BRIDGE_PROTOCOL,\n\tTERMINAL_BRIDGE_VERSION,\n\ttype TerminalBridgeDescriptor,\n\tTerminalWebBridge,\n\ttype TerminalWebBridgeOptions,\n\tterminalBridgeDescriptorExists,\n} from \"./terminal-web-bridge.ts\";\n"]}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export { AskUserSchema, buildAskUserQuestionResponse, createAskUserQuestionToolDefinition, registerAskUserQuestion, validateAskUserQuestionEnvelope, } from "./ask-user.js";
|
|
2
|
-
export { BTW_COMMAND_NAME, BTW_ENTRY_TYPE, executeBtw, registerBtw } from "./btw.js";
|
|
3
2
|
export { handleSpCommand } from "./commands.js";
|
|
4
3
|
export { createSpAgentExtension, default } from "./extension.js";
|
|
5
4
|
export { clearSpGatewayWarning, createSpGatewayExtension, createSpGatewayProviderConfig, fetchSpGatewayModels, getLegacyModelsPath, getSpAgentDir, getSpAuthPath, getSpGatewayStatePath, getSpGatewayWarning, normalizeSpGatewayBaseUrl, readSpGatewayApiKey, readSpGatewayState, removeSpGatewayLogin, SP_CLIENT_NAME, SP_GATEWAY_PROVIDER_ID, SP_GATEWAY_PROVIDER_NAME, SP_USER_AGENT, writeSpGatewayLogin, writeSpGatewayState, } from "./gateway.js";
|
|
6
5
|
export { registerInteractionExtensions } from "./interactions.js";
|
|
7
6
|
export { clearOnboardingState, fetchSkillCatalog, getOnboardingStatePath, hasCompletedOnboarding, installCatalogSkills, parseSkillCatalog, selectCatalogSkills, writeOnboardingState, } from "./onboarding.js";
|
|
8
7
|
export { installOnboardingSelection } from "./onboarding-installation.js";
|
|
9
|
-
export {
|
|
8
|
+
export { ensureSpWebSidecar, getSpWebSidecarStatePath, resolveSpWebLaunch, } from "./sp-web-launcher.js";
|
|
10
9
|
export { filterSpStartupMessage, registerSpStartupHeader, renderSpStartupHeader } from "./startup-header.js";
|
|
11
10
|
export { DEFAULT_TERMINAL_BRIDGE_MAX_BUFFERED_BYTES, DEFAULT_TERMINAL_BRIDGE_MAX_CLIENTS, DEFAULT_TERMINAL_BRIDGE_MAX_FRAME_BYTES, readTerminalBridgeDescriptor, registerTerminalWebBridge, TERMINAL_BRIDGE_PROTOCOL, TERMINAL_BRIDGE_VERSION, TerminalWebBridge, terminalBridgeDescriptorExists, } from "./terminal-web-bridge.js";
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,4BAA4B,EAC5B,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,GAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,4BAA4B,EAC5B,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,GAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EACN,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EACN,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAqC,MAAM,8BAA8B,CAAC;AAE7G,OAAO,EACN,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,GAIlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC7G,OAAO,EACN,0CAA0C,EAC1C,mCAAmC,EACnC,uCAAuC,EACvC,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EAEvB,iBAAiB,EAEjB,8BAA8B,GAC9B,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n\tAskUserSchema,\n\tbuildAskUserQuestionResponse,\n\tcreateAskUserQuestionToolDefinition,\n\tregisterAskUserQuestion,\n\tvalidateAskUserQuestionEnvelope,\n} from \"./ask-user.ts\";\nexport { handleSpCommand } from \"./commands.ts\";\nexport { createSpAgentExtension, default } from \"./extension.ts\";\nexport {\n\tclearSpGatewayWarning,\n\tcreateSpGatewayExtension,\n\tcreateSpGatewayProviderConfig,\n\tfetchSpGatewayModels,\n\tgetLegacyModelsPath,\n\tgetSpAgentDir,\n\tgetSpAuthPath,\n\tgetSpGatewayStatePath,\n\tgetSpGatewayWarning,\n\tnormalizeSpGatewayBaseUrl,\n\treadSpGatewayApiKey,\n\treadSpGatewayState,\n\tremoveSpGatewayLogin,\n\tSP_CLIENT_NAME,\n\tSP_GATEWAY_PROVIDER_ID,\n\tSP_GATEWAY_PROVIDER_NAME,\n\tSP_USER_AGENT,\n\twriteSpGatewayLogin,\n\twriteSpGatewayState,\n} from \"./gateway.ts\";\nexport { registerInteractionExtensions } from \"./interactions.ts\";\nexport {\n\tclearOnboardingState,\n\tfetchSkillCatalog,\n\tgetOnboardingStatePath,\n\thasCompletedOnboarding,\n\tinstallCatalogSkills,\n\tparseSkillCatalog,\n\tselectCatalogSkills,\n\twriteOnboardingState,\n} from \"./onboarding.ts\";\nexport { installOnboardingSelection, type OnboardingInstallationResult } from \"./onboarding-installation.ts\";\nexport type { PendingQuestion, QuestionResponse } from \"./question-interaction.ts\";\nexport {\n\tensureSpWebSidecar,\n\tgetSpWebSidecarStatePath,\n\tresolveSpWebLaunch,\n\ttype SpWebLauncherOptions,\n\ttype SpWebLaunchResult,\n\ttype SpWebSidecarState,\n} from \"./sp-web-launcher.ts\";\nexport { filterSpStartupMessage, registerSpStartupHeader, renderSpStartupHeader } from \"./startup-header.ts\";\nexport {\n\tDEFAULT_TERMINAL_BRIDGE_MAX_BUFFERED_BYTES,\n\tDEFAULT_TERMINAL_BRIDGE_MAX_CLIENTS,\n\tDEFAULT_TERMINAL_BRIDGE_MAX_FRAME_BYTES,\n\treadTerminalBridgeDescriptor,\n\tregisterTerminalWebBridge,\n\tTERMINAL_BRIDGE_PROTOCOL,\n\tTERMINAL_BRIDGE_VERSION,\n\ttype TerminalBridgeDescriptor,\n\tTerminalWebBridge,\n\ttype TerminalWebBridgeOptions,\n\tterminalBridgeDescriptorExists,\n} from \"./terminal-web-bridge.ts\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../src/interactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../src/interactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,EAA6B,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAE9F,MAAM,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;AACzD,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC,wBAAgB,6BAA6B,CAAC,EAAE,EAAE,YAAY,QAG7D","sourcesContent":["import type { ExtensionAPI, ExtensionCommandContext } from \"@senpiper/pi-coding-agent\";\nimport { registerAskUserQuestion } from \"./ask-user.ts\";\nimport { registerOnboardingCommand, runInteractiveOnboarding } from \"./onboarding-command.ts\";\n\nexport type InteractionContext = ExtensionCommandContext;\nexport type InteractionExtensionApi = ExtensionAPI;\nexport { runInteractiveOnboarding };\n\nexport function registerInteractionExtensions(pi: ExtensionAPI) {\n\tregisterAskUserQuestion(pi);\n\tregisterOnboardingCommand(pi);\n}\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { registerAskUserQuestion } from "./ask-user.js";
|
|
2
|
-
import { registerBtw } from "./btw.js";
|
|
3
2
|
import { registerOnboardingCommand, runInteractiveOnboarding } from "./onboarding-command.js";
|
|
4
3
|
export { runInteractiveOnboarding };
|
|
5
4
|
export function registerInteractionExtensions(pi) {
|
|
6
5
|
registerAskUserQuestion(pi);
|
|
7
6
|
registerOnboardingCommand(pi);
|
|
8
|
-
registerBtw(pi);
|
|
9
7
|
}
|
|
10
8
|
//# sourceMappingURL=interactions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactions.js","sourceRoot":"","sources":["../src/interactions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"interactions.js","sourceRoot":"","sources":["../src/interactions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAI9F,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC,MAAM,UAAU,6BAA6B,CAAC,EAAgB,EAAE;IAC/D,uBAAuB,CAAC,EAAE,CAAC,CAAC;IAC5B,yBAAyB,CAAC,EAAE,CAAC,CAAC;AAAA,CAC9B","sourcesContent":["import type { ExtensionAPI, ExtensionCommandContext } from \"@senpiper/pi-coding-agent\";\nimport { registerAskUserQuestion } from \"./ask-user.ts\";\nimport { registerOnboardingCommand, runInteractiveOnboarding } from \"./onboarding-command.ts\";\n\nexport type InteractionContext = ExtensionCommandContext;\nexport type InteractionExtensionApi = ExtensionAPI;\nexport { runInteractiveOnboarding };\n\nexport function registerInteractionExtensions(pi: ExtensionAPI) {\n\tregisterAskUserQuestion(pi);\n\tregisterOnboardingCommand(pi);\n}\n"]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ExtensionAPI, ExtensionContext } from "@senpiper/pi-coding-agent";
|
|
2
|
+
import type { AskUserQuestionAnswer, AskUserQuestionToolInput } from "./ask-user.ts";
|
|
3
|
+
export interface PendingQuestion {
|
|
4
|
+
interactionId: string;
|
|
5
|
+
toolCallId: string;
|
|
6
|
+
questionIndex: number;
|
|
7
|
+
questionCount: number;
|
|
8
|
+
question: AskUserQuestionToolInput["questions"][number];
|
|
9
|
+
}
|
|
10
|
+
export type QuestionResponse = {
|
|
11
|
+
kind: "option";
|
|
12
|
+
option: string;
|
|
13
|
+
} | {
|
|
14
|
+
kind: "custom";
|
|
15
|
+
text: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "multi";
|
|
18
|
+
selected: string[];
|
|
19
|
+
notes?: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: "cancel";
|
|
22
|
+
};
|
|
23
|
+
type QuestionOutcome = {
|
|
24
|
+
answer?: AskUserQuestionAnswer;
|
|
25
|
+
aborted?: boolean;
|
|
26
|
+
};
|
|
27
|
+
type QuestionEvent = {
|
|
28
|
+
type: "question_pending";
|
|
29
|
+
pendingQuestion: PendingQuestion;
|
|
30
|
+
} | {
|
|
31
|
+
type: "question_resolved";
|
|
32
|
+
interactionId: string;
|
|
33
|
+
toolCallId: string;
|
|
34
|
+
questionIndex: number;
|
|
35
|
+
source: "terminal" | "web" | "abort" | "error";
|
|
36
|
+
cancelled: boolean;
|
|
37
|
+
answer?: AskUserQuestionAnswer;
|
|
38
|
+
};
|
|
39
|
+
type Listener = (event: QuestionEvent, context: ExtensionContext) => void;
|
|
40
|
+
export declare class QuestionResponseError extends Error {
|
|
41
|
+
readonly code: "invalid_params" | "stale_interaction";
|
|
42
|
+
constructor(code: QuestionResponseError["code"], message: string);
|
|
43
|
+
}
|
|
44
|
+
/** One owner per extension API instance, never per socket or session filename. */
|
|
45
|
+
export declare class QuestionInteraction {
|
|
46
|
+
/** Managed web sessions wait for bridge answers without opening a terminal dialog. */
|
|
47
|
+
webOnly: boolean;
|
|
48
|
+
private active;
|
|
49
|
+
private pending;
|
|
50
|
+
private readonly listeners;
|
|
51
|
+
begin(): AbortController;
|
|
52
|
+
end(controller: AbortController): void;
|
|
53
|
+
cancel(): void;
|
|
54
|
+
getPending(): PendingQuestion | null;
|
|
55
|
+
subscribe(listener: Listener): () => void;
|
|
56
|
+
respond(interactionId: string, response: unknown): void;
|
|
57
|
+
ask(question: Omit<PendingQuestion, "interactionId">, context: ExtensionContext, signal: AbortSignal, terminal: (signal: AbortSignal) => Promise<AskUserQuestionAnswer | undefined>): Promise<QuestionOutcome>;
|
|
58
|
+
private emit;
|
|
59
|
+
}
|
|
60
|
+
export declare function getQuestionInteraction(pi: ExtensionAPI): QuestionInteraction;
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=question-interaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-interaction.d.ts","sourceRoot":"","sources":["../src/question-interaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAErF,MAAM,WAAW,eAAe;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;CACxD;AAED,MAAM,MAAM,gBAAgB,GACzB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GACrD;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEtB,KAAK,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAC7E,KAAK,aAAa,GACf;IAAE,IAAI,EAAE,kBAAkB,CAAC;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e,CAAC,CAqC1B;IAED,OAAO,CAAC,IAAI;CASZ;AAID,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,YAAY,uBAOtD","sourcesContent":["import { randomUUID } from \"node:crypto\";\nimport type { ExtensionAPI, ExtensionContext } from \"@senpiper/pi-coding-agent\";\nimport type { AskUserQuestionAnswer, AskUserQuestionToolInput } from \"./ask-user.ts\";\n\nexport interface PendingQuestion {\n\tinteractionId: string;\n\ttoolCallId: string;\n\tquestionIndex: number;\n\tquestionCount: number;\n\tquestion: AskUserQuestionToolInput[\"questions\"][number];\n}\n\nexport type QuestionResponse =\n\t| { kind: \"option\"; option: string }\n\t| { kind: \"custom\"; text: string }\n\t| { kind: \"multi\"; selected: string[]; notes?: string }\n\t| { kind: \"cancel\" };\n\ntype QuestionOutcome = { answer?: AskUserQuestionAnswer; aborted?: boolean };\ntype QuestionEvent =\n\t| { type: \"question_pending\"; pendingQuestion: PendingQuestion }\n\t| {\n\t\t\ttype: \"question_resolved\";\n\t\t\tinteractionId: string;\n\t\t\ttoolCallId: string;\n\t\t\tquestionIndex: number;\n\t\t\tsource: \"terminal\" | \"web\" | \"abort\" | \"error\";\n\t\t\tcancelled: boolean;\n\t\t\tanswer?: AskUserQuestionAnswer;\n\t };\ntype Listener = (event: QuestionEvent, context: ExtensionContext) => void;\n\nexport class QuestionResponseError extends Error {\n\treadonly code: \"invalid_params\" | \"stale_interaction\";\n\n\tconstructor(code: QuestionResponseError[\"code\"], message: string) {\n\t\tsuper(message);\n\t\tthis.code = code;\n\t}\n}\n\nfunction validateResponse(pending: PendingQuestion, value: unknown): AskUserQuestionAnswer | undefined {\n\tconst invalid = () => new QuestionResponseError(\"invalid_params\", \"Invalid response for the pending question.\");\n\tif (typeof value !== \"object\" || value === null || Array.isArray(value)) throw invalid();\n\tconst response = value as Record<string, unknown>;\n\tconst allowedKeys: Record<string, string[]> = {\n\t\toption: [\"kind\", \"option\"],\n\t\tcustom: [\"kind\", \"text\"],\n\t\tmulti: [\"kind\", \"selected\", \"notes\"],\n\t\tcancel: [\"kind\"],\n\t};\n\tconst keys =\n\t\ttypeof response.kind === \"string\" && Object.hasOwn(allowedKeys, response.kind)\n\t\t\t? allowedKeys[response.kind]\n\t\t\t: undefined;\n\tif (!keys || Object.keys(response).some((key) => !keys.includes(key))) throw invalid();\n\tconst base = { questionIndex: pending.questionIndex, question: pending.question.question };\n\tswitch (response.kind) {\n\t\tcase \"cancel\":\n\t\t\treturn undefined;\n\t\tcase \"option\": {\n\t\t\tconst option = pending.question.options.find((option) => option.label === response.option);\n\t\t\tif (pending.question.multiSelect || !option) throw invalid();\n\t\t\treturn { ...base, kind: \"option\", answer: option.label, preview: option.preview?.trim() || undefined };\n\t\t}\n\t\tcase \"custom\":\n\t\t\tif (typeof response.text !== \"string\" || response.text.length > 100_000) throw invalid();\n\t\t\treturn { ...base, kind: \"custom\", answer: response.text.trim() || null };\n\t\tcase \"multi\": {\n\t\t\tconst selected = response.selected;\n\t\t\tif (\n\t\t\t\t!pending.question.multiSelect ||\n\t\t\t\t!Array.isArray(selected) ||\n\t\t\t\tselected.length > pending.question.options.length ||\n\t\t\t\tselected.some(\n\t\t\t\t\t(label) =>\n\t\t\t\t\t\ttypeof label !== \"string\" || !pending.question.options.some((option) => option.label === label),\n\t\t\t\t) ||\n\t\t\t\tnew Set(selected).size !== selected.length ||\n\t\t\t\t(response.notes !== undefined && (typeof response.notes !== \"string\" || response.notes.length > 100_000))\n\t\t\t)\n\t\t\t\tthrow invalid();\n\t\t\treturn {\n\t\t\t\t...base,\n\t\t\t\tkind: \"multi\",\n\t\t\t\tanswer: null,\n\t\t\t\tselected: [...selected] as string[],\n\t\t\t\tnotes: typeof response.notes === \"string\" ? response.notes.trim() || undefined : undefined,\n\t\t\t};\n\t\t}\n\t\tdefault:\n\t\t\tthrow invalid();\n\t}\n}\n\n/** One owner per extension API instance, never per socket or session filename. */\nexport class QuestionInteraction {\n\t/** Managed web sessions wait for bridge answers without opening a terminal dialog. */\n\twebOnly = false;\n\tprivate active: AbortController | undefined;\n\tprivate pending:\n\t\t| {\n\t\t\t\tquestion: PendingQuestion;\n\t\t\t\tfinish: (outcome: QuestionOutcome, source: \"terminal\" | \"web\" | \"abort\" | \"error\", error?: unknown) => void;\n\t\t }\n\t\t| undefined;\n\tprivate readonly listeners = new Set<Listener>();\n\n\tbegin() {\n\t\tif (this.active) throw new Error(\"An ask_user_question interaction is already pending.\");\n\t\tconst controller = new AbortController();\n\t\tthis.active = controller;\n\t\treturn controller;\n\t}\n\n\tend(controller: AbortController) {\n\t\tif (this.active === controller) this.active = undefined;\n\t}\n\n\tcancel() {\n\t\tthis.active?.abort();\n\t\tthis.active = undefined;\n\t}\n\n\tgetPending(): PendingQuestion | null {\n\t\treturn this.pending ? structuredClone(this.pending.question) : null;\n\t}\n\n\tsubscribe(listener: Listener) {\n\t\tthis.listeners.add(listener);\n\t\treturn () => {\n\t\t\tthis.listeners.delete(listener);\n\t\t};\n\t}\n\n\trespond(interactionId: string, response: unknown) {\n\t\tconst pending = this.pending;\n\t\tif (!pending || pending.question.interactionId !== interactionId) {\n\t\t\tthrow new QuestionResponseError(\"stale_interaction\", \"This question is no longer pending.\");\n\t\t}\n\t\tconst answer = validateResponse(pending.question, response);\n\t\t// Consume synchronously before aborting the losing dialog or advancing the tool.\n\t\tpending.finish({ answer }, \"web\");\n\t}\n\n\task(\n\t\tquestion: Omit<PendingQuestion, \"interactionId\">,\n\t\tcontext: ExtensionContext,\n\t\tsignal: AbortSignal,\n\t\tterminal: (signal: AbortSignal) => Promise<AskUserQuestionAnswer | undefined>,\n\t): Promise<QuestionOutcome> {\n\t\tif (signal.aborted) return Promise.resolve({ aborted: true });\n\t\tif (this.pending) throw new Error(\"A question is already pending.\");\n\t\tconst pendingQuestion = { ...question, interactionId: randomUUID() };\n\t\tconst dialog = new AbortController();\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tconst finish = (outcome: QuestionOutcome, source: \"terminal\" | \"web\" | \"abort\" | \"error\", error?: unknown) => {\n\t\t\t\tif (this.pending?.question.interactionId !== pendingQuestion.interactionId) return;\n\t\t\t\tthis.pending = undefined;\n\t\t\t\tsignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\tdialog.abort();\n\t\t\t\tthis.emit(\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"question_resolved\",\n\t\t\t\t\t\tinteractionId: pendingQuestion.interactionId,\n\t\t\t\t\t\ttoolCallId: pendingQuestion.toolCallId,\n\t\t\t\t\t\tquestionIndex: pendingQuestion.questionIndex,\n\t\t\t\t\t\tsource,\n\t\t\t\t\t\tcancelled: !outcome.answer,\n\t\t\t\t\t\tanswer: outcome.answer,\n\t\t\t\t\t},\n\t\t\t\t\tcontext,\n\t\t\t\t);\n\t\t\t\tif (source === \"error\") reject(error);\n\t\t\t\telse resolve(outcome);\n\t\t\t};\n\t\t\tconst onAbort = () => finish({ aborted: true }, \"abort\");\n\t\t\tthis.pending = { question: pendingQuestion, finish };\n\t\t\tsignal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\tthis.emit({ type: \"question_pending\", pendingQuestion }, context);\n\t\t\tif (!this.webOnly) {\n\t\t\t\tvoid terminal(dialog.signal).then(\n\t\t\t\t\t(answer) => finish({ answer }, \"terminal\"),\n\t\t\t\t\t(error: unknown) => finish({}, \"error\", error),\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t}\n\n\tprivate emit(event: QuestionEvent, context: ExtensionContext) {\n\t\tfor (const listener of this.listeners) {\n\t\t\ttry {\n\t\t\t\tlistener(structuredClone(event), context);\n\t\t\t} catch {\n\t\t\t\t// A disconnected observer must not prevent terminal interaction.\n\t\t\t}\n\t\t}\n\t}\n}\n\nconst interactions = new WeakMap<ExtensionAPI, QuestionInteraction>();\n\nexport function getQuestionInteraction(pi: ExtensionAPI) {\n\tlet interaction = interactions.get(pi);\n\tif (!interaction) {\n\t\tinteraction = new QuestionInteraction();\n\t\tinteractions.set(pi, interaction);\n\t}\n\treturn interaction;\n}\n"]}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { randomUUID } from "node:crypto";
|
|
2
|
+
export class QuestionResponseError extends Error {
|
|
3
|
+
code;
|
|
4
|
+
constructor(code, message) {
|
|
5
|
+
super(message);
|
|
6
|
+
this.code = code;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
function validateResponse(pending, value) {
|
|
10
|
+
const invalid = () => new QuestionResponseError("invalid_params", "Invalid response for the pending question.");
|
|
11
|
+
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
12
|
+
throw invalid();
|
|
13
|
+
const response = value;
|
|
14
|
+
const allowedKeys = {
|
|
15
|
+
option: ["kind", "option"],
|
|
16
|
+
custom: ["kind", "text"],
|
|
17
|
+
multi: ["kind", "selected", "notes"],
|
|
18
|
+
cancel: ["kind"],
|
|
19
|
+
};
|
|
20
|
+
const keys = typeof response.kind === "string" && Object.hasOwn(allowedKeys, response.kind)
|
|
21
|
+
? allowedKeys[response.kind]
|
|
22
|
+
: undefined;
|
|
23
|
+
if (!keys || Object.keys(response).some((key) => !keys.includes(key)))
|
|
24
|
+
throw invalid();
|
|
25
|
+
const base = { questionIndex: pending.questionIndex, question: pending.question.question };
|
|
26
|
+
switch (response.kind) {
|
|
27
|
+
case "cancel":
|
|
28
|
+
return undefined;
|
|
29
|
+
case "option": {
|
|
30
|
+
const option = pending.question.options.find((option) => option.label === response.option);
|
|
31
|
+
if (pending.question.multiSelect || !option)
|
|
32
|
+
throw invalid();
|
|
33
|
+
return { ...base, kind: "option", answer: option.label, preview: option.preview?.trim() || undefined };
|
|
34
|
+
}
|
|
35
|
+
case "custom":
|
|
36
|
+
if (typeof response.text !== "string" || response.text.length > 100_000)
|
|
37
|
+
throw invalid();
|
|
38
|
+
return { ...base, kind: "custom", answer: response.text.trim() || null };
|
|
39
|
+
case "multi": {
|
|
40
|
+
const selected = response.selected;
|
|
41
|
+
if (!pending.question.multiSelect ||
|
|
42
|
+
!Array.isArray(selected) ||
|
|
43
|
+
selected.length > pending.question.options.length ||
|
|
44
|
+
selected.some((label) => typeof label !== "string" || !pending.question.options.some((option) => option.label === label)) ||
|
|
45
|
+
new Set(selected).size !== selected.length ||
|
|
46
|
+
(response.notes !== undefined && (typeof response.notes !== "string" || response.notes.length > 100_000)))
|
|
47
|
+
throw invalid();
|
|
48
|
+
return {
|
|
49
|
+
...base,
|
|
50
|
+
kind: "multi",
|
|
51
|
+
answer: null,
|
|
52
|
+
selected: [...selected],
|
|
53
|
+
notes: typeof response.notes === "string" ? response.notes.trim() || undefined : undefined,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
default:
|
|
57
|
+
throw invalid();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/** One owner per extension API instance, never per socket or session filename. */
|
|
61
|
+
export class QuestionInteraction {
|
|
62
|
+
/** Managed web sessions wait for bridge answers without opening a terminal dialog. */
|
|
63
|
+
webOnly = false;
|
|
64
|
+
active;
|
|
65
|
+
pending;
|
|
66
|
+
listeners = new Set();
|
|
67
|
+
begin() {
|
|
68
|
+
if (this.active)
|
|
69
|
+
throw new Error("An ask_user_question interaction is already pending.");
|
|
70
|
+
const controller = new AbortController();
|
|
71
|
+
this.active = controller;
|
|
72
|
+
return controller;
|
|
73
|
+
}
|
|
74
|
+
end(controller) {
|
|
75
|
+
if (this.active === controller)
|
|
76
|
+
this.active = undefined;
|
|
77
|
+
}
|
|
78
|
+
cancel() {
|
|
79
|
+
this.active?.abort();
|
|
80
|
+
this.active = undefined;
|
|
81
|
+
}
|
|
82
|
+
getPending() {
|
|
83
|
+
return this.pending ? structuredClone(this.pending.question) : null;
|
|
84
|
+
}
|
|
85
|
+
subscribe(listener) {
|
|
86
|
+
this.listeners.add(listener);
|
|
87
|
+
return () => {
|
|
88
|
+
this.listeners.delete(listener);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
respond(interactionId, response) {
|
|
92
|
+
const pending = this.pending;
|
|
93
|
+
if (!pending || pending.question.interactionId !== interactionId) {
|
|
94
|
+
throw new QuestionResponseError("stale_interaction", "This question is no longer pending.");
|
|
95
|
+
}
|
|
96
|
+
const answer = validateResponse(pending.question, response);
|
|
97
|
+
// Consume synchronously before aborting the losing dialog or advancing the tool.
|
|
98
|
+
pending.finish({ answer }, "web");
|
|
99
|
+
}
|
|
100
|
+
ask(question, context, signal, terminal) {
|
|
101
|
+
if (signal.aborted)
|
|
102
|
+
return Promise.resolve({ aborted: true });
|
|
103
|
+
if (this.pending)
|
|
104
|
+
throw new Error("A question is already pending.");
|
|
105
|
+
const pendingQuestion = { ...question, interactionId: randomUUID() };
|
|
106
|
+
const dialog = new AbortController();
|
|
107
|
+
return new Promise((resolve, reject) => {
|
|
108
|
+
const finish = (outcome, source, error) => {
|
|
109
|
+
if (this.pending?.question.interactionId !== pendingQuestion.interactionId)
|
|
110
|
+
return;
|
|
111
|
+
this.pending = undefined;
|
|
112
|
+
signal.removeEventListener("abort", onAbort);
|
|
113
|
+
dialog.abort();
|
|
114
|
+
this.emit({
|
|
115
|
+
type: "question_resolved",
|
|
116
|
+
interactionId: pendingQuestion.interactionId,
|
|
117
|
+
toolCallId: pendingQuestion.toolCallId,
|
|
118
|
+
questionIndex: pendingQuestion.questionIndex,
|
|
119
|
+
source,
|
|
120
|
+
cancelled: !outcome.answer,
|
|
121
|
+
answer: outcome.answer,
|
|
122
|
+
}, context);
|
|
123
|
+
if (source === "error")
|
|
124
|
+
reject(error);
|
|
125
|
+
else
|
|
126
|
+
resolve(outcome);
|
|
127
|
+
};
|
|
128
|
+
const onAbort = () => finish({ aborted: true }, "abort");
|
|
129
|
+
this.pending = { question: pendingQuestion, finish };
|
|
130
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
131
|
+
this.emit({ type: "question_pending", pendingQuestion }, context);
|
|
132
|
+
if (!this.webOnly) {
|
|
133
|
+
void terminal(dialog.signal).then((answer) => finish({ answer }, "terminal"), (error) => finish({}, "error", error));
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
emit(event, context) {
|
|
138
|
+
for (const listener of this.listeners) {
|
|
139
|
+
try {
|
|
140
|
+
listener(structuredClone(event), context);
|
|
141
|
+
}
|
|
142
|
+
catch {
|
|
143
|
+
// A disconnected observer must not prevent terminal interaction.
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
const interactions = new WeakMap();
|
|
149
|
+
export function getQuestionInteraction(pi) {
|
|
150
|
+
let interaction = interactions.get(pi);
|
|
151
|
+
if (!interaction) {
|
|
152
|
+
interaction = new QuestionInteraction();
|
|
153
|
+
interactions.set(pi, interaction);
|
|
154
|
+
}
|
|
155
|
+
return interaction;
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=question-interaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-interaction.js","sourceRoot":"","sources":["../src/question-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAgCzC,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IACtC,IAAI,CAAyC;IAEtD,YAAY,IAAmC,EAAE,OAAe,EAAE;QACjE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAAA,CACjB;CACD;AAED,SAAS,gBAAgB,CAAC,OAAwB,EAAE,KAAc,EAAqC;IACtG,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,IAAI,qBAAqB,CAAC,gBAAgB,EAAE,4CAA4C,CAAC,CAAC;IAChH,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,MAAM,OAAO,EAAE,CAAC;IACzF,MAAM,QAAQ,GAAG,KAAgC,CAAC;IAClD,MAAM,WAAW,GAA6B;QAC7C,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;QAC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,EAAE,OAAO,CAAC,CAAC;YAC3C,CAAC;YAAC,MAAM,CAAC;gBACR,iEAAiE;YAClE,CAAC;QACF,CAAC;IAAA,CACD;CACD;AAED,MAAM,YAAY,GAAG,IAAI,OAAO,EAAqC,CAAC;AAEtE,MAAM,UAAU,sBAAsB,CAAC,EAAgB,EAAE;IACxD,IAAI,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACvC,IAAI,CAAC,WAAW,EAAE,CAAC;QAClB,WAAW,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACxC,YAAY,CAAC,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,WAAW,CAAC;AAAA,CACnB","sourcesContent":["import { randomUUID } from \"node:crypto\";\nimport type { ExtensionAPI, ExtensionContext } from \"@senpiper/pi-coding-agent\";\nimport type { AskUserQuestionAnswer, AskUserQuestionToolInput } from \"./ask-user.ts\";\n\nexport interface PendingQuestion {\n\tinteractionId: string;\n\ttoolCallId: string;\n\tquestionIndex: number;\n\tquestionCount: number;\n\tquestion: AskUserQuestionToolInput[\"questions\"][number];\n}\n\nexport type QuestionResponse =\n\t| { kind: \"option\"; option: string }\n\t| { kind: \"custom\"; text: string }\n\t| { kind: \"multi\"; selected: string[]; notes?: string }\n\t| { kind: \"cancel\" };\n\ntype QuestionOutcome = { answer?: AskUserQuestionAnswer; aborted?: boolean };\ntype QuestionEvent =\n\t| { type: \"question_pending\"; pendingQuestion: PendingQuestion }\n\t| {\n\t\t\ttype: \"question_resolved\";\n\t\t\tinteractionId: string;\n\t\t\ttoolCallId: string;\n\t\t\tquestionIndex: number;\n\t\t\tsource: \"terminal\" | \"web\" | \"abort\" | \"error\";\n\t\t\tcancelled: boolean;\n\t\t\tanswer?: AskUserQuestionAnswer;\n\t };\ntype Listener = (event: QuestionEvent, context: ExtensionContext) => void;\n\nexport class QuestionResponseError extends Error {\n\treadonly code: \"invalid_params\" | \"stale_interaction\";\n\n\tconstructor(code: QuestionResponseError[\"code\"], message: string) {\n\t\tsuper(message);\n\t\tthis.code = code;\n\t}\n}\n\nfunction validateResponse(pending: PendingQuestion, value: unknown): AskUserQuestionAnswer | undefined {\n\tconst invalid = () => new QuestionResponseError(\"invalid_params\", \"Invalid response for the pending question.\");\n\tif (typeof value !== \"object\" || value === null || Array.isArray(value)) throw invalid();\n\tconst response = value as Record<string, unknown>;\n\tconst allowedKeys: Record<string, string[]> = {\n\t\toption: [\"kind\", \"option\"],\n\t\tcustom: [\"kind\", \"text\"],\n\t\tmulti: [\"kind\", \"selected\", \"notes\"],\n\t\tcancel: [\"kind\"],\n\t};\n\tconst keys =\n\t\ttypeof response.kind === \"string\" && Object.hasOwn(allowedKeys, response.kind)\n\t\t\t? allowedKeys[response.kind]\n\t\t\t: undefined;\n\tif (!keys || Object.keys(response).some((key) => !keys.includes(key))) throw invalid();\n\tconst base = { questionIndex: pending.questionIndex, question: pending.question.question };\n\tswitch (response.kind) {\n\t\tcase \"cancel\":\n\t\t\treturn undefined;\n\t\tcase \"option\": {\n\t\t\tconst option = pending.question.options.find((option) => option.label === response.option);\n\t\t\tif (pending.question.multiSelect || !option) throw invalid();\n\t\t\treturn { ...base, kind: \"option\", answer: option.label, preview: option.preview?.trim() || undefined };\n\t\t}\n\t\tcase \"custom\":\n\t\t\tif (typeof response.text !== \"string\" || response.text.length > 100_000) throw invalid();\n\t\t\treturn { ...base, kind: \"custom\", answer: response.text.trim() || null };\n\t\tcase \"multi\": {\n\t\t\tconst selected = response.selected;\n\t\t\tif (\n\t\t\t\t!pending.question.multiSelect ||\n\t\t\t\t!Array.isArray(selected) ||\n\t\t\t\tselected.length > pending.question.options.length ||\n\t\t\t\tselected.some(\n\t\t\t\t\t(label) =>\n\t\t\t\t\t\ttypeof label !== \"string\" || !pending.question.options.some((option) => option.label === label),\n\t\t\t\t) ||\n\t\t\t\tnew Set(selected).size !== selected.length ||\n\t\t\t\t(response.notes !== undefined && (typeof response.notes !== \"string\" || response.notes.length > 100_000))\n\t\t\t)\n\t\t\t\tthrow invalid();\n\t\t\treturn {\n\t\t\t\t...base,\n\t\t\t\tkind: \"multi\",\n\t\t\t\tanswer: null,\n\t\t\t\tselected: [...selected] as string[],\n\t\t\t\tnotes: typeof response.notes === \"string\" ? response.notes.trim() || undefined : undefined,\n\t\t\t};\n\t\t}\n\t\tdefault:\n\t\t\tthrow invalid();\n\t}\n}\n\n/** One owner per extension API instance, never per socket or session filename. */\nexport class QuestionInteraction {\n\t/** Managed web sessions wait for bridge answers without opening a terminal dialog. */\n\twebOnly = false;\n\tprivate active: AbortController | undefined;\n\tprivate pending:\n\t\t| {\n\t\t\t\tquestion: PendingQuestion;\n\t\t\t\tfinish: (outcome: QuestionOutcome, source: \"terminal\" | \"web\" | \"abort\" | \"error\", error?: unknown) => void;\n\t\t }\n\t\t| undefined;\n\tprivate readonly listeners = new Set<Listener>();\n\n\tbegin() {\n\t\tif (this.active) throw new Error(\"An ask_user_question interaction is already pending.\");\n\t\tconst controller = new AbortController();\n\t\tthis.active = controller;\n\t\treturn controller;\n\t}\n\n\tend(controller: AbortController) {\n\t\tif (this.active === controller) this.active = undefined;\n\t}\n\n\tcancel() {\n\t\tthis.active?.abort();\n\t\tthis.active = undefined;\n\t}\n\n\tgetPending(): PendingQuestion | null {\n\t\treturn this.pending ? structuredClone(this.pending.question) : null;\n\t}\n\n\tsubscribe(listener: Listener) {\n\t\tthis.listeners.add(listener);\n\t\treturn () => {\n\t\t\tthis.listeners.delete(listener);\n\t\t};\n\t}\n\n\trespond(interactionId: string, response: unknown) {\n\t\tconst pending = this.pending;\n\t\tif (!pending || pending.question.interactionId !== interactionId) {\n\t\t\tthrow new QuestionResponseError(\"stale_interaction\", \"This question is no longer pending.\");\n\t\t}\n\t\tconst answer = validateResponse(pending.question, response);\n\t\t// Consume synchronously before aborting the losing dialog or advancing the tool.\n\t\tpending.finish({ answer }, \"web\");\n\t}\n\n\task(\n\t\tquestion: Omit<PendingQuestion, \"interactionId\">,\n\t\tcontext: ExtensionContext,\n\t\tsignal: AbortSignal,\n\t\tterminal: (signal: AbortSignal) => Promise<AskUserQuestionAnswer | undefined>,\n\t): Promise<QuestionOutcome> {\n\t\tif (signal.aborted) return Promise.resolve({ aborted: true });\n\t\tif (this.pending) throw new Error(\"A question is already pending.\");\n\t\tconst pendingQuestion = { ...question, interactionId: randomUUID() };\n\t\tconst dialog = new AbortController();\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tconst finish = (outcome: QuestionOutcome, source: \"terminal\" | \"web\" | \"abort\" | \"error\", error?: unknown) => {\n\t\t\t\tif (this.pending?.question.interactionId !== pendingQuestion.interactionId) return;\n\t\t\t\tthis.pending = undefined;\n\t\t\t\tsignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\tdialog.abort();\n\t\t\t\tthis.emit(\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"question_resolved\",\n\t\t\t\t\t\tinteractionId: pendingQuestion.interactionId,\n\t\t\t\t\t\ttoolCallId: pendingQuestion.toolCallId,\n\t\t\t\t\t\tquestionIndex: pendingQuestion.questionIndex,\n\t\t\t\t\t\tsource,\n\t\t\t\t\t\tcancelled: !outcome.answer,\n\t\t\t\t\t\tanswer: outcome.answer,\n\t\t\t\t\t},\n\t\t\t\t\tcontext,\n\t\t\t\t);\n\t\t\t\tif (source === \"error\") reject(error);\n\t\t\t\telse resolve(outcome);\n\t\t\t};\n\t\t\tconst onAbort = () => finish({ aborted: true }, \"abort\");\n\t\t\tthis.pending = { question: pendingQuestion, finish };\n\t\t\tsignal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\tthis.emit({ type: \"question_pending\", pendingQuestion }, context);\n\t\t\tif (!this.webOnly) {\n\t\t\t\tvoid terminal(dialog.signal).then(\n\t\t\t\t\t(answer) => finish({ answer }, \"terminal\"),\n\t\t\t\t\t(error: unknown) => finish({}, \"error\", error),\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t}\n\n\tprivate emit(event: QuestionEvent, context: ExtensionContext) {\n\t\tfor (const listener of this.listeners) {\n\t\t\ttry {\n\t\t\t\tlistener(structuredClone(event), context);\n\t\t\t} catch {\n\t\t\t\t// A disconnected observer must not prevent terminal interaction.\n\t\t\t}\n\t\t}\n\t}\n}\n\nconst interactions = new WeakMap<ExtensionAPI, QuestionInteraction>();\n\nexport function getQuestionInteraction(pi: ExtensionAPI) {\n\tlet interaction = interactions.get(pi);\n\tif (!interaction) {\n\t\tinteraction = new QuestionInteraction();\n\t\tinteractions.set(pi, interaction);\n\t}\n\treturn interaction;\n}\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ChildProcess, type SpawnOptions } from "node:child_process";
|
|
2
|
+
export interface SpWebSidecarState {
|
|
3
|
+
version: 1;
|
|
4
|
+
pid: number;
|
|
5
|
+
executable: string;
|
|
6
|
+
args: string[];
|
|
7
|
+
startedAt: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SpWebLaunchResult {
|
|
10
|
+
status: "disabled" | "reused" | "launched" | "pending" | "failed";
|
|
11
|
+
pid?: number;
|
|
12
|
+
error?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface SpWebLauncherOptions {
|
|
15
|
+
env?: NodeJS.ProcessEnv;
|
|
16
|
+
spawnProcess?: (executable: string, args: readonly string[], options: SpawnOptions) => ChildProcess;
|
|
17
|
+
isProcessRunning?: (pid: number) => boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function resolveSpWebLaunch(env: NodeJS.ProcessEnv, runtime?: {
|
|
20
|
+
moduleUrl: string;
|
|
21
|
+
execPath: string;
|
|
22
|
+
bun: boolean;
|
|
23
|
+
}): {
|
|
24
|
+
executable: string;
|
|
25
|
+
args: string[];
|
|
26
|
+
};
|
|
27
|
+
export declare function ensureSpWebSidecar(discoveryDir: string, options?: SpWebLauncherOptions): SpWebLaunchResult;
|
|
28
|
+
export declare function getSpWebSidecarStatePath(discoveryDir: string): string;
|
|
29
|
+
//# sourceMappingURL=sp-web-launcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sp-web-launcher.d.ts","sourceRoot":"","sources":["../src/sp-web-launcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAS,MAAM,oBAAoB,CAAC;AAqBjF,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,CAAC,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IACjC,MAAM,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;IAClE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,YAAY,KAAK,YAAY,CAAC;IACpG,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC5C;AAyED,wBAAgB,kBAAkB,CACjC,GAAG,EAAE,MAAM,CAAC,UAAU,EACtB,OAAO;;;;CAA0F,GAC/F;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAkBxC;AAUD,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,GAAE,oBAAyB,GAAG,iBAAiB,CAyE9G;AAED,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,UAE5D","sourcesContent":["import { type ChildProcess, type SpawnOptions, spawn } from \"node:child_process\";\nimport {\n\tchmodSync,\n\tcloseSync,\n\tconstants,\n\topenSync,\n\treadFileSync,\n\ttype Stats,\n\tstatSync,\n\tunlinkSync,\n\twriteFileSync,\n} from \"node:fs\";\nimport { createRequire } from \"node:module\";\nimport { join } from \"node:path\";\n\nconst SIDECAR_VERSION = 1;\nconst SIDECAR_STATE_FILE = \"sp-web-sidecar.json\";\nconst LEGACY_STATE_FILE = \"pi-web-sidecar.json\";\n// Keep one lock namespace while older SP launchers are still running.\nconst SIDECAR_LOCK_FILE = \"pi-web-sidecar.lock\";\n\nexport interface SpWebSidecarState {\n\tversion: 1;\n\tpid: number;\n\texecutable: string;\n\targs: string[];\n\tstartedAt: string;\n}\n\nexport interface SpWebLaunchResult {\n\tstatus: \"disabled\" | \"reused\" | \"launched\" | \"pending\" | \"failed\";\n\tpid?: number;\n\terror?: string;\n}\n\nexport interface SpWebLauncherOptions {\n\tenv?: NodeJS.ProcessEnv;\n\tspawnProcess?: (executable: string, args: readonly string[], options: SpawnOptions) => ChildProcess;\n\tisProcessRunning?: (pid: number) => boolean;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nfunction readState(path: string): SpWebSidecarState | undefined {\n\ttry {\n\t\tconst value = JSON.parse(readFileSync(path, \"utf8\")) as unknown;\n\t\tif (\n\t\t\t!isRecord(value) ||\n\t\t\tvalue.version !== SIDECAR_VERSION ||\n\t\t\ttypeof value.pid !== \"number\" ||\n\t\t\t!Number.isSafeInteger(value.pid) ||\n\t\t\tvalue.pid <= 0 ||\n\t\t\ttypeof value.executable !== \"string\" ||\n\t\t\t!Array.isArray(value.args) ||\n\t\t\t!value.args.every((entry) => typeof entry === \"string\") ||\n\t\t\ttypeof value.startedAt !== \"string\"\n\t\t) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn {\n\t\t\tversion: SIDECAR_VERSION,\n\t\t\tpid: value.pid,\n\t\t\texecutable: value.executable,\n\t\t\targs: value.args,\n\t\t\tstartedAt: value.startedAt,\n\t\t};\n\t} catch {\n\t\treturn undefined;\n\t}\n}\n\nfunction processIsRunning(pid: number) {\n\ttry {\n\t\tprocess.kill(pid, 0);\n\t\treturn true;\n\t} catch (error) {\n\t\treturn isRecord(error) && error.code === \"EPERM\";\n\t}\n}\n\nfunction removeFile(path: string) {\n\ttry {\n\t\tunlinkSync(path);\n\t} catch (error) {\n\t\tif (!isRecord(error) || error.code !== \"ENOENT\") throw error;\n\t}\n}\n\nfunction writePrivateState(path: string, state: SpWebSidecarState) {\n\twriteFileSync(path, `${JSON.stringify(state, null, \"\\t\")}\\n`, {\n\t\tencoding: \"utf8\",\n\t\tmode: 0o600,\n\t});\n\tif (process.platform !== \"win32\") chmodSync(path, 0o600);\n}\n\nfunction parseArgs(env: NodeJS.ProcessEnv): string[] {\n\tconst raw = env.SP_WEB_ARGS_JSON ?? env.SP_PI_WEB_ARGS_JSON;\n\tif (!raw) return [];\n\tconst value = JSON.parse(raw) as unknown;\n\tif (!Array.isArray(value) || !value.every((entry) => typeof entry === \"string\")) {\n\t\tthrow new Error(\"SP_WEB_ARGS_JSON must be a JSON array of strings.\");\n\t}\n\treturn value;\n}\n\nfunction disabled(env: NodeJS.ProcessEnv) {\n\treturn /^(?:1|true|yes)$/iu.test(env.SP_WEB_DISABLE ?? env.SP_PI_WEB_DISABLE ?? \"\");\n}\n\nexport function resolveSpWebLaunch(\n\tenv: NodeJS.ProcessEnv,\n\truntime = { moduleUrl: import.meta.url, execPath: process.execPath, bun: !!process.versions.bun },\n): { executable: string; args: string[] } {\n\tconst args = parseArgs(env);\n\tif (!args.includes(\"--no-open\")) args.push(\"--no-open\");\n\tconst explicit = (env.SP_WEB_EXECUTABLE ?? env.SP_PI_WEB_EXECUTABLE)?.trim();\n\tif (explicit) return { executable: explicit, args };\n\n\t// The module anchor handles Node installs. The executable anchor also handles\n\t// compiled Bun binaries inside the npm package, whose module URL is virtual.\n\tfor (const anchor of [runtime.moduleUrl, runtime.execPath]) {\n\t\ttry {\n\t\t\tconst entry = createRequire(anchor).resolve(\"@senpiper/sp-web/bin/sp-web.js\");\n\t\t\treturn { executable: runtime.bun ? \"node\" : runtime.execPath, args: [entry, ...args] };\n\t\t} catch (error) {\n\t\t\tif (!isRecord(error) || error.code !== \"MODULE_NOT_FOUND\") throw error;\n\t\t}\n\t}\n\t// Standalone archives do not necessarily contain an npm dependency tree.\n\treturn { executable: \"sp-web\", args };\n}\n\nfunction lockIsStale(path: string, stat: (path: string) => Stats = statSync) {\n\ttry {\n\t\treturn Date.now() - stat(path).mtimeMs > 30_000;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function ensureSpWebSidecar(discoveryDir: string, options: SpWebLauncherOptions = {}): SpWebLaunchResult {\n\tconst env = options.env ?? process.env;\n\tif (disabled(env)) return { status: \"disabled\" };\n\n\tconst statePath = join(discoveryDir, SIDECAR_STATE_FILE);\n\tconst legacyPath = join(discoveryDir, LEGACY_STATE_FILE);\n\tconst lockPath = join(discoveryDir, SIDECAR_LOCK_FILE);\n\tconst isRunning = options.isProcessRunning ?? processIsRunning;\n\tconst liveState = () => [readState(statePath), readState(legacyPath)].find((state) => state && isRunning(state.pid));\n\tconst current = liveState();\n\tif (current) return { status: \"reused\", pid: current.pid };\n\n\tlet lockFd: number | undefined;\n\tlet ownsLock = false;\n\ttry {\n\t\ttry {\n\t\t\tlockFd = openSync(lockPath, constants.O_CREAT | constants.O_EXCL | constants.O_WRONLY, 0o600);\n\t\t\townsLock = true;\n\t\t\twriteFileSync(lockFd, `${process.pid}\\n`, \"utf8\");\n\t\t} catch (error) {\n\t\t\tif (!isRecord(error) || error.code !== \"EEXIST\") throw error;\n\t\t\tconst racedState = liveState();\n\t\t\tif (racedState) return { status: \"reused\", pid: racedState.pid };\n\t\t\tif (!lockIsStale(lockPath)) return { status: \"pending\" };\n\t\t\tremoveFile(lockPath);\n\t\t\tlockFd = openSync(lockPath, constants.O_CREAT | constants.O_EXCL | constants.O_WRONLY, 0o600);\n\t\t\townsLock = true;\n\t\t\twriteFileSync(lockFd, `${process.pid}\\n`, \"utf8\");\n\t\t}\n\n\t\tconst racedState = liveState();\n\t\tif (racedState) return { status: \"reused\", pid: racedState.pid };\n\t\tconst { executable, args } = resolveSpWebLaunch(env);\n\t\tconst childEnv: NodeJS.ProcessEnv = {\n\t\t\t...env,\n\t\t\tSP_WEB_NO_OPEN: \"1\",\n\t\t\tSP_TERMINAL_BRIDGE_ONLY: \"1\",\n\t\t\tSP_TERMINAL_BRIDGE_DISCOVERY_DIR: discoveryDir,\n\t\t\tSP_TERMINAL_BRIDGE_PROTOCOL: \"sp-terminal-bridge-v1\",\n\t\t};\n\t\tconst spawnProcess =\n\t\t\toptions.spawnProcess ?? ((command, commandArgs, spawnOptions) => spawn(command, commandArgs, spawnOptions));\n\t\tconst child = spawnProcess(executable, args, {\n\t\t\tdetached: true,\n\t\t\tstdio: \"ignore\",\n\t\t\tshell: false,\n\t\t\tenv: childEnv,\n\t\t});\n\t\tchild.once(\"error\", () => {});\n\t\tif (child.pid === undefined) {\n\t\t\treturn {\n\t\t\t\tstatus: \"failed\",\n\t\t\t\terror: `Could not start SP Web with ${executable}. Install Node and the bundled @senpiper/sp-web package, or set SP_WEB_EXECUTABLE to an installed sp-web executable.`,\n\t\t\t};\n\t\t}\n\t\tconst state: SpWebSidecarState = {\n\t\t\tversion: SIDECAR_VERSION,\n\t\t\tpid: child.pid,\n\t\t\texecutable,\n\t\t\targs,\n\t\t\tstartedAt: new Date().toISOString(),\n\t\t};\n\t\twritePrivateState(statePath, state);\n\t\t// Older cooperating launchers must see the new process too.\n\t\twritePrivateState(legacyPath, state);\n\t\tchild.unref();\n\t\treturn { status: \"launched\", pid: child.pid };\n\t} catch (error) {\n\t\treturn { status: \"failed\", error: error instanceof Error ? error.message : String(error) };\n\t} finally {\n\t\tif (lockFd !== undefined) closeSync(lockFd);\n\t\tif (ownsLock) removeFile(lockPath);\n\t}\n}\n\nexport function getSpWebSidecarStatePath(discoveryDir: string) {\n\treturn join(discoveryDir, SIDECAR_STATE_FILE);\n}\n"]}
|