@aws/lsp-codewhisperer 0.0.39 → 0.0.41
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/CHANGELOG.md +75 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +56 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/README.md +115 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort-handler.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/http.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/index.js +144 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/http.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/index.js +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/profile.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/abort.d.ts +50 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/command.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/config.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +121 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/http.d.ts +112 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/index.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/middleware.d.ts +534 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/shapes.d.ts +82 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/signature.d.ts +155 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transfer.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +50 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +121 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +112 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +534 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +82 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +155 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +81 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/types/package.json +60 -0
- package/node_modules/@amzn/codewhisperer-streaming/package.json +1 -1
- package/out/client/sigv4/service.json +8 -0
- package/out/client/token/bearer-token-service.json +20 -0
- package/out/language-server/agenticChat/agenticChatController.d.ts +9 -3
- package/out/language-server/agenticChat/agenticChatController.js +379 -85
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatResultStream.d.ts +9 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js +41 -1
- package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -1
- package/out/language-server/agenticChat/constants.d.ts +0 -1
- package/out/language-server/agenticChat/constants.js +1 -2
- package/out/language-server/agenticChat/constants.js.map +1 -1
- package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +2 -3
- package/out/language-server/agenticChat/context/addtionalContextProvider.js +3 -5
- package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -1
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +1 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +15 -2
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -1
- package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +1 -1
- package/out/language-server/agenticChat/context/contextCommandsProvider.js +8 -24
- package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -1
- package/out/language-server/agenticChat/errors.d.ts +2 -1
- package/out/language-server/agenticChat/errors.js +11 -1
- package/out/language-server/agenticChat/errors.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.d.ts +10 -1
- package/out/language-server/agenticChat/tabBarController.js +54 -27
- package/out/language-server/agenticChat/tabBarController.js.map +1 -1
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +8 -9
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +58 -124
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
- package/out/language-server/agenticChat/tools/codeSearch.js +1 -1
- package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -1
- package/out/language-server/agenticChat/tools/executeBash.d.ts +10 -2
- package/out/language-server/agenticChat/tools/executeBash.js +80 -21
- package/out/language-server/agenticChat/tools/executeBash.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js +1 -1
- package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
- package/out/language-server/agenticChat/tools/{fileSearch.d.ts → fuzzySearch.d.ts} +17 -11
- package/out/language-server/agenticChat/tools/{fileSearch.js → fuzzySearch.js} +53 -55
- package/out/language-server/agenticChat/tools/fuzzySearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/grepSearch.d.ts +74 -0
- package/out/language-server/agenticChat/tools/grepSearch.js +254 -0
- package/out/language-server/agenticChat/tools/grepSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/listDirectory.js +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolServer.js +14 -5
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolShared.d.ts +1 -1
- package/out/language-server/agenticChat/tools/toolShared.js +2 -2
- package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
- package/out/language-server/chat/chatController.d.ts +1 -1
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +13 -0
- package/out/language-server/chat/chatSessionService.js +28 -4
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContext.js +1 -0
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -4
- package/out/language-server/chat/telemetry/chatTelemetryController.js +29 -5
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/inline-completion/codePercentage.js +1 -0
- package/out/language-server/inline-completion/codePercentage.js.map +1 -1
- package/out/language-server/inline-completion/codeWhispererServer.d.ts +1 -0
- package/out/language-server/inline-completion/codeWhispererServer.js +55 -19
- package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
- package/out/language-server/inline-completion/session/sessionManager.d.ts +5 -1
- package/out/language-server/inline-completion/session/sessionManager.js +4 -0
- package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
- package/out/language-server/localProjectContext/localProjectContextServer.js +8 -8
- package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -1
- package/out/language-server/workspaceContext/artifactManager.d.ts +1 -1
- package/out/language-server/workspaceContext/artifactManager.js +55 -22
- package/out/language-server/workspaceContext/artifactManager.js.map +1 -1
- package/out/language-server/workspaceContext/client.d.ts +1 -2
- package/out/language-server/workspaceContext/client.js +8 -16
- package/out/language-server/workspaceContext/client.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.d.ts +2 -0
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js +11 -1
- package/out/language-server/workspaceContext/dependency/dependencyDiscoverer.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.d.ts +17 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js +75 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/DependencyWatcher.js.map +1 -0
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js +9 -9
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js +9 -9
- package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.d.ts +7 -5
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js +21 -15
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.d.ts +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js +4 -4
- package/out/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.js.map +1 -1
- package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js +38 -29
- package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js.map +1 -1
- package/out/language-server/workspaceContext/javaManager.js +1 -1
- package/out/language-server/workspaceContext/javaManager.js.map +1 -1
- package/out/language-server/workspaceContext/util.d.ts +1 -0
- package/out/language-server/workspaceContext/util.js +12 -6
- package/out/language-server/workspaceContext/util.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceContextServer.js +266 -236
- package/out/language-server/workspaceContext/workspaceContextServer.js.map +1 -1
- package/out/language-server/workspaceContext/workspaceFolderManager.d.ts +21 -50
- package/out/language-server/workspaceContext/workspaceFolderManager.js +254 -496
- package/out/language-server/workspaceContext/workspaceFolderManager.js.map +1 -1
- package/out/shared/languageDetection.d.ts +1 -1
- package/out/shared/languageDetection.js +4 -0
- package/out/shared/languageDetection.js.map +1 -1
- package/out/shared/localProjectContextController.d.ts +5 -3
- package/out/shared/localProjectContextController.js +47 -21
- package/out/shared/localProjectContextController.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +10 -1
- package/out/shared/telemetry/telemetryService.js +36 -7
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +39 -0
- package/out/shared/telemetry/types.js +1 -0
- package/out/shared/telemetry/types.js.map +1 -1
- package/package.json +8 -6
- package/out/language-server/agenticChat/tools/fileSearch.js.map +0 -1
- package/out/shared/initializeUtils.d.ts +0 -3
- package/out/shared/initializeUtils.js +0 -32
- package/out/shared/initializeUtils.js.map +0 -1
package/out/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.JSTSDependencyHandler = void 0;
|
|
|
4
4
|
const LanguageDependencyHandler_1 = require("./LanguageDependencyHandler");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const fs = require("fs");
|
|
7
|
+
const DependencyWatcher_1 = require("./DependencyWatcher");
|
|
7
8
|
/*
|
|
8
9
|
* JSTS Dependency Handler
|
|
9
10
|
*
|
|
@@ -165,14 +166,13 @@ class JSTSDependencyHandler extends LanguageDependencyHandler_1.LanguageDependen
|
|
|
165
166
|
}
|
|
166
167
|
this.logging.log(`Setting up Javascript/Typescript dependency watcher for ${packageJsonPath}`);
|
|
167
168
|
try {
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
});
|
|
169
|
+
const callBackDependencyUpdate = async (events) => {
|
|
170
|
+
this.logging.log(`Change detected in ${packageJsonPath}`);
|
|
171
|
+
const updatedDependencyMap = this.generateDependencyMap(jstsDependencyInfo);
|
|
172
|
+
let zips = await this.compareAndUpdateDependencyMap(jstsDependencyInfo.workspaceFolder, updatedDependencyMap, true);
|
|
173
|
+
this.emitDependencyChange(jstsDependencyInfo.workspaceFolder, zips);
|
|
174
|
+
};
|
|
175
|
+
const watcher = new DependencyWatcher_1.DependencyWatcher(packageJsonPath, callBackDependencyUpdate, this.logging, this.DEPENDENCY_WATCHER_EVENT_BATCH_INTERVAL);
|
|
176
176
|
this.dependencyWatchers.set(packageJsonPath, watcher);
|
|
177
177
|
}
|
|
178
178
|
catch (error) {
|
|
@@ -189,7 +189,7 @@ class JSTSDependencyHandler extends LanguageDependencyHandler_1.LanguageDependen
|
|
|
189
189
|
const packageJsonPath = jstsDependencyInfo.packageJsonPath;
|
|
190
190
|
if (this.dependencyWatchers.has(packageJsonPath)) {
|
|
191
191
|
this.logging.log(`Disposing dependency watcher for ${packageJsonPath}`);
|
|
192
|
-
this.dependencyWatchers.get(packageJsonPath)?.
|
|
192
|
+
this.dependencyWatchers.get(packageJsonPath)?.dispose();
|
|
193
193
|
this.dependencyWatchers.delete(packageJsonPath);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSTSDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AACvG,6BAA4B;AAC5B,yBAAwB;
|
|
1
|
+
{"version":3,"file":"JSTSDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/JSTSDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AACvG,6BAA4B;AAC5B,yBAAwB;AAGxB,2DAAuD;AAOvD;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,qDAA6C;IAC5E,mBAAmB,GAAyB,EAAE,CAAA;IAEtD;;;;;;OAMG;IACH,QAAQ,CAAC,UAAkB,EAAE,eAAgC;QACzD,IAAI,MAAM,GAA8B,IAAI,CAAA;QAC5C,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAA;QAC7D,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAA;QAC7D,IACI,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC;YAC9B,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC;YAC9B,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,EAC5C,CAAC;YACC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0CAA0C,UAAU,EAAE,CAAC,CAAA;YACxE,MAAM,GAAG;gBACL,MAAM,EAAE,UAAU;gBAClB,eAAe,EAAE,eAAe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,eAAe,CAAC,GAAG,EAAE,CAAC;gBACjE,MAAM,eAAe,GAAG,kBAAkB,CAAC,eAAe,CAAA;gBAC1D,IAAI,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC;oBAC/C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,eAAe,EAAE,CAAC,CAAA;oBACvE,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,CAAA;oBACvD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAA;gBACnD,CAAC;YACL,CAAC;QACL,CAAC,CAAC,CAAA;IACN,CAAC;IAED,qBAAqB,CAAC,eAAgC;QAClD,sDAAsD;QACtD,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,MAAM,CACtD,CAAC,kBAAsC,EAAE,EAAE,CAAC,kBAAkB,CAAC,eAAe,CAAC,GAAG,KAAK,eAAe,CAAC,GAAG,CAC7G,CAAA;IACL,CAAC;CACJ;AAzND,sDAyNC"}
|
package/out/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.js
CHANGED
|
@@ -5,6 +5,7 @@ const LanguageDependencyHandler_1 = require("./LanguageDependencyHandler");
|
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const fs = require("fs");
|
|
7
7
|
const xml2js = require("xml2js");
|
|
8
|
+
const DependencyWatcher_1 = require("./DependencyWatcher");
|
|
8
9
|
/*
|
|
9
10
|
* Java Dependency Handler
|
|
10
11
|
*
|
|
@@ -76,14 +77,13 @@ class JavaDependencyHandler extends LanguageDependencyHandler_1.LanguageDependen
|
|
|
76
77
|
}
|
|
77
78
|
this.logging.log(`Setting up Java dependency watcher for ${dotClasspathPath}`);
|
|
78
79
|
try {
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
});
|
|
80
|
+
const callBackDependencyUpdate = async (events) => {
|
|
81
|
+
this.logging.log(`Change detected in ${dotClasspathPath}`);
|
|
82
|
+
const updatedDependencyMap = this.generateDependencyMap(javaDependencyInfo);
|
|
83
|
+
let zips = await this.compareAndUpdateDependencyMap(javaDependencyInfo.workspaceFolder, updatedDependencyMap, true);
|
|
84
|
+
this.emitDependencyChange(javaDependencyInfo.workspaceFolder, zips);
|
|
85
|
+
};
|
|
86
|
+
const watcher = new DependencyWatcher_1.DependencyWatcher(dotClasspathPath, callBackDependencyUpdate, this.logging, this.DEPENDENCY_WATCHER_EVENT_BATCH_INTERVAL);
|
|
87
87
|
this.dependencyWatchers.set(dotClasspathPath, watcher);
|
|
88
88
|
}
|
|
89
89
|
catch (error) {
|
|
@@ -145,7 +145,7 @@ class JavaDependencyHandler extends LanguageDependencyHandler_1.LanguageDependen
|
|
|
145
145
|
const dotClasspathPath = javaDependencyInfo.dotClasspathPath;
|
|
146
146
|
if (this.dependencyWatchers.has(dotClasspathPath)) {
|
|
147
147
|
this.logging.log(`Disposing dependency watcher for ${dotClasspathPath}`);
|
|
148
|
-
this.dependencyWatchers.get(dotClasspathPath)?.
|
|
148
|
+
this.dependencyWatchers.get(dotClasspathPath)?.dispose();
|
|
149
149
|
this.dependencyWatchers.delete(dotClasspathPath);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JavaDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AACvG,6BAA4B;AAC5B,yBAAwB;AACxB,iCAAgC;
|
|
1
|
+
{"version":3,"file":"JavaDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/JavaDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AACvG,6BAA4B;AAC5B,yBAAwB;AACxB,iCA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AAe,CAAC,GAAG,KAAK,kBAAkB,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC;gBACjE,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,gBAAgB,CAAA;gBAC5D,IAAI,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,CAAC;oBAChD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,gBAAgB,EAAE,CAAC,CAAA;oBACxE,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAA;oBACxD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA;gBACpD,CAAC;YACL,CAAC;QACL,CAAC,CAAC,CAAA;IACN,CAAC;IAED,qBAAqB,CAAC,eAAgC;QAClD,sDAAsD;QACtD,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,MAAM,CACtD,CAAC,kBAAsC,EAAE,EAAE,CAAC,kBAAkB,CAAC,eAAe,CAAC,GAAG,KAAK,eAAe,CAAC,GAAG,CAC7G,CAAA;IACL,CAAC;CACJ;AA9KD,sDA8KC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Logging, Workspace, WorkspaceFolder } from '@aws/language-server-runtimes/server-interface';
|
|
2
|
-
import * as fs from 'fs';
|
|
3
2
|
import { ArtifactManager, FileMetadata } from '../../artifactManager';
|
|
4
3
|
import { EventEmitter } from 'events';
|
|
5
4
|
import { CodewhispererLanguage } from '../../../../shared/languageDetection';
|
|
5
|
+
import { DependencyWatcher } from './DependencyWatcher';
|
|
6
6
|
export interface Dependency {
|
|
7
7
|
name: string;
|
|
8
8
|
version: string;
|
|
@@ -20,14 +20,16 @@ export declare abstract class LanguageDependencyHandler<T extends BaseDependency
|
|
|
20
20
|
protected logging: Logging;
|
|
21
21
|
protected workspaceFolders: WorkspaceFolder[];
|
|
22
22
|
protected dependencyMap: Map<WorkspaceFolder, Map<string, Dependency>>;
|
|
23
|
-
protected
|
|
24
|
-
protected
|
|
23
|
+
protected dependencyUploadedSizeMap: Map<WorkspaceFolder, number>;
|
|
24
|
+
protected dependencyUploadedSizeSum: Uint32Array<SharedArrayBuffer>;
|
|
25
|
+
protected dependencyWatchers: Map<string, DependencyWatcher>;
|
|
25
26
|
protected artifactManager: ArtifactManager;
|
|
26
27
|
protected dependenciesFolderName: string;
|
|
27
28
|
protected eventEmitter: EventEmitter;
|
|
28
29
|
protected readonly MAX_SINGLE_DEPENDENCY_SIZE: number;
|
|
29
30
|
protected readonly MAX_WORKSPACE_DEPENDENCY_SIZE: number;
|
|
30
|
-
|
|
31
|
+
protected readonly DEPENDENCY_WATCHER_EVENT_BATCH_INTERVAL: number;
|
|
32
|
+
constructor(language: CodewhispererLanguage, workspace: Workspace, logging: Logging, workspaceFolders: WorkspaceFolder[], artifactManager: ArtifactManager, dependenciesFolderName: string, dependencyUploadedSizeSum: Uint32Array<SharedArrayBuffer>);
|
|
31
33
|
abstract discover(currentDir: string, workspaceFolder: WorkspaceFolder): boolean;
|
|
32
34
|
abstract initiateDependencyMap(folders: WorkspaceFolder[]): void;
|
|
33
35
|
abstract setupWatchers(folders: WorkspaceFolder[]): void;
|
|
@@ -38,7 +40,7 @@ export declare abstract class LanguageDependencyHandler<T extends BaseDependency
|
|
|
38
40
|
* @param dependencyMap
|
|
39
41
|
*/
|
|
40
42
|
protected abstract transformPathToDependency(dependencyName: string, dependencyPath: string, dependencyMap: Map<string, Dependency>): void;
|
|
41
|
-
onDependencyChange(callback: (workspaceFolder: WorkspaceFolder, zips: FileMetadata[]) => void): void;
|
|
43
|
+
onDependencyChange(callback: (workspaceFolder: WorkspaceFolder, zips: FileMetadata[], addWSFolderPathInS3: boolean) => void): void;
|
|
42
44
|
protected emitDependencyChange(workspaceFolder: WorkspaceFolder, zips: FileMetadata[]): void;
|
|
43
45
|
/**
|
|
44
46
|
* Update dependency map based on didChangeDependencyPaths LSP. Javascript and Typescript will not use LSP so no need to implement this method
|
|
@@ -4,6 +4,7 @@ exports.LanguageDependencyHandler = void 0;
|
|
|
4
4
|
const fs = require("fs");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const events_1 = require("events");
|
|
7
|
+
const util_1 = require("../../util");
|
|
7
8
|
// Abstract base class for all language dependency handlers
|
|
8
9
|
class LanguageDependencyHandler {
|
|
9
10
|
language;
|
|
@@ -12,14 +13,16 @@ class LanguageDependencyHandler {
|
|
|
12
13
|
workspaceFolders;
|
|
13
14
|
// key: workspaceFolder, value: {key: dependency name, value: Dependency}
|
|
14
15
|
dependencyMap = new Map();
|
|
15
|
-
|
|
16
|
+
dependencyUploadedSizeMap = new Map();
|
|
17
|
+
dependencyUploadedSizeSum;
|
|
16
18
|
dependencyWatchers = new Map();
|
|
17
19
|
artifactManager;
|
|
18
20
|
dependenciesFolderName;
|
|
19
21
|
eventEmitter;
|
|
20
22
|
MAX_SINGLE_DEPENDENCY_SIZE = 500 * 1024 * 1024; // 500 MB
|
|
21
|
-
MAX_WORKSPACE_DEPENDENCY_SIZE =
|
|
22
|
-
|
|
23
|
+
MAX_WORKSPACE_DEPENDENCY_SIZE = 8 * 1024 * 1024 * 1024; // 8 GB
|
|
24
|
+
DEPENDENCY_WATCHER_EVENT_BATCH_INTERVAL = 1000;
|
|
25
|
+
constructor(language, workspace, logging, workspaceFolders, artifactManager, dependenciesFolderName, dependencyUploadedSizeSum) {
|
|
23
26
|
this.language = language;
|
|
24
27
|
this.workspace = workspace;
|
|
25
28
|
this.logging = logging;
|
|
@@ -30,6 +33,7 @@ class LanguageDependencyHandler {
|
|
|
30
33
|
// regardless of knowing whether the workspaceFolder has the language
|
|
31
34
|
// to resolve the race condition when didChangeDependencyPaths LSP and dependency discover may override the dependency map.
|
|
32
35
|
this.workspaceFolders.forEach(workSpaceFolder => this.dependencyMap.set(workSpaceFolder, new Map()));
|
|
36
|
+
this.dependencyUploadedSizeSum = dependencyUploadedSizeSum;
|
|
33
37
|
this.eventEmitter = new events_1.EventEmitter();
|
|
34
38
|
}
|
|
35
39
|
onDependencyChange(callback) {
|
|
@@ -38,7 +42,9 @@ class LanguageDependencyHandler {
|
|
|
38
42
|
emitDependencyChange(workspaceFolder, zips) {
|
|
39
43
|
if (zips.length > 0) {
|
|
40
44
|
this.logging.log(`Emitting ${this.language} dependency change event for ${workspaceFolder.name}`);
|
|
41
|
-
|
|
45
|
+
// If language is JavaScript or TypeScript, we want to preserve the workspaceFolder path in S3 path
|
|
46
|
+
const addWSFolderPathInS3 = this.language === 'javascript' || this.language === 'typescript';
|
|
47
|
+
this.eventEmitter.emit('dependencyChange', workspaceFolder, zips, addWSFolderPathInS3);
|
|
42
48
|
return;
|
|
43
49
|
}
|
|
44
50
|
}
|
|
@@ -103,7 +109,8 @@ class LanguageDependencyHandler {
|
|
|
103
109
|
}
|
|
104
110
|
currentChunk.push(dependency);
|
|
105
111
|
currentChunkSize += dependency.size;
|
|
106
|
-
this.
|
|
112
|
+
this.dependencyUploadedSizeMap.set(workspaceFolder, (this.dependencyUploadedSizeMap.get(workspaceFolder) || 0) + dependency.size);
|
|
113
|
+
Atomics.add(this.dependencyUploadedSizeSum, 0, dependency.size);
|
|
107
114
|
// Mark this dependency that has been zipped
|
|
108
115
|
dependency.zipped = true;
|
|
109
116
|
this.dependencyMap.get(workspaceFolder)?.set(dependency.name, dependency);
|
|
@@ -194,7 +201,7 @@ class LanguageDependencyHandler {
|
|
|
194
201
|
* However, everytime flare server restarts, this dependency map will be initialized.
|
|
195
202
|
*/
|
|
196
203
|
validateWorkspaceDependencySize(workspaceFolder) {
|
|
197
|
-
let uploadedSize = this.
|
|
204
|
+
let uploadedSize = Atomics.load(this.dependencyUploadedSizeSum, 0);
|
|
198
205
|
if (uploadedSize && this.MAX_WORKSPACE_DEPENDENCY_SIZE < uploadedSize) {
|
|
199
206
|
return false;
|
|
200
207
|
}
|
|
@@ -202,30 +209,29 @@ class LanguageDependencyHandler {
|
|
|
202
209
|
}
|
|
203
210
|
dispose() {
|
|
204
211
|
this.dependencyMap.clear();
|
|
205
|
-
this.
|
|
206
|
-
this.dependencyWatchers.forEach(watcher => watcher.
|
|
212
|
+
this.dependencyUploadedSizeMap.clear();
|
|
213
|
+
this.dependencyWatchers.forEach(watcher => watcher.dispose());
|
|
207
214
|
this.dependencyWatchers.clear();
|
|
208
215
|
}
|
|
209
216
|
disposeWorkspaceFolder(workspaceFolder) {
|
|
210
217
|
this.dependencyMap.delete(workspaceFolder);
|
|
211
|
-
this.
|
|
218
|
+
Atomics.sub(this.dependencyUploadedSizeSum, 0, this.dependencyUploadedSizeMap.get(workspaceFolder) || 0);
|
|
219
|
+
this.dependencyUploadedSizeMap.delete(workspaceFolder);
|
|
212
220
|
this.disposeWatchers(workspaceFolder);
|
|
213
221
|
this.disposeDependencyInfo(workspaceFolder);
|
|
214
222
|
}
|
|
215
223
|
// For synchronous version if needed:
|
|
216
224
|
getDirectorySize(directoryPath) {
|
|
225
|
+
if (!(0, util_1.isDirectory)(directoryPath)) {
|
|
226
|
+
return fs.statSync(directoryPath).size;
|
|
227
|
+
}
|
|
217
228
|
let totalSize = 0;
|
|
218
229
|
try {
|
|
219
230
|
const files = fs.readdirSync(directoryPath);
|
|
220
231
|
for (const file of files) {
|
|
221
232
|
const filePath = path.join(directoryPath, file);
|
|
222
233
|
const stats = fs.statSync(filePath);
|
|
223
|
-
|
|
224
|
-
totalSize += this.getDirectorySize(filePath);
|
|
225
|
-
}
|
|
226
|
-
else {
|
|
227
|
-
totalSize += stats.size;
|
|
228
|
-
}
|
|
234
|
+
totalSize += this.getDirectorySize(filePath);
|
|
229
235
|
}
|
|
230
236
|
return totalSize;
|
|
231
237
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.ts"],"names":[],"mappings":";;;AACA,yBAAwB;AAExB,6BAA6B;AAC7B,mCAAqC;
|
|
1
|
+
{"version":3,"file":"LanguageDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandler.ts"],"names":[],"mappings":";;;AACA,yBAAwB;AAExB,6BAA6B;AAC7B,mCAAqC;AAErC,qCAAwC;AAgBxC,2DAA2D;AAC3D,MAAsB,yBAAyB;IACpC,QAAQ,CAAuB;IAC5B,SAAS,CAAW;IACpB,OAAO,CAAS;IAChB,gBAAgB,CAAmB;IAC7C,yEAAyE;IAC/D,aAAa,GAAG,IAAI,GAAG,EAA4C,CAAA;IACnE,yBAAyB,GAAG,IAAI,GAAG,EAA2B,CAAA;IAC9D,yBAAyB,CAAgC;IACzD,kBAAkB,GAAmC,IAAI,GAAG,EAA6B,CAAA;IACzF,eAAe,CAAiB;IAChC,sBAAsB,CAAQ;IAC9B,YAAY,CAAc;IACjB,0BAA0B,GAAW,GAAG,GAAG,IAAI,GAAG,IAAI,CAAA,CAAC,SAAS;IAChE,6BAA6B,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA,CAAC,OAAO;IACtE,uCAAuC,GAAW,IAAI,CAAA;IAEzE,YACI,QAA+B,EAC/B,SAAoB,EACpB,OAAgB,EAChB,gBAAmC,EACnC,eAAgC,EAChC,sBAA8B,EAC9B,yBAAyD;QAEzD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;QAC1B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,iGAAiG;QACjG,qEAAqE;QACrE,2HAA2H;QAC3H,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAC5C,IAAI,CAAC,aAA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orkspaceFolder } from '@aws/language-server-runtim
|
|
|
3
3
|
import { ArtifactManager } from '../../artifactManager';
|
|
4
4
|
import { CodewhispererLanguage } from '../../../../shared/languageDetection';
|
|
5
5
|
export declare class DependencyHandlerFactory {
|
|
6
|
-
static createHandler(language: CodewhispererLanguage, workspace: Workspace, logging: Logging, workspaceFolders: WorkspaceFolder[], artifactManager: ArtifactManager): LanguageDependencyHandler<BaseDependencyInfo> | null;
|
|
6
|
+
static createHandler(language: CodewhispererLanguage, workspace: Workspace, logging: Logging, workspaceFolders: WorkspaceFolder[], artifactManager: ArtifactManager, dependencyUploadedSizeSum: Uint32Array<SharedArrayBuffer>): LanguageDependencyHandler<BaseDependencyInfo> | null;
|
|
7
7
|
}
|
|
@@ -5,15 +5,15 @@ const JavaDependencyHandler_1 = require("./JavaDependencyHandler");
|
|
|
5
5
|
const PythonDependencyHandler_1 = require("./PythonDependencyHandler");
|
|
6
6
|
const JSTSDependencyHandler_1 = require("./JSTSDependencyHandler");
|
|
7
7
|
class DependencyHandlerFactory {
|
|
8
|
-
static createHandler(language, workspace, logging, workspaceFolders, artifactManager) {
|
|
8
|
+
static createHandler(language, workspace, logging, workspaceFolders, artifactManager, dependencyUploadedSizeSum) {
|
|
9
9
|
switch (language.toLowerCase()) {
|
|
10
10
|
case 'python':
|
|
11
|
-
return new PythonDependencyHandler_1.PythonDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'site-packages');
|
|
11
|
+
return new PythonDependencyHandler_1.PythonDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'site-packages', dependencyUploadedSizeSum);
|
|
12
12
|
case 'javascript':
|
|
13
13
|
case 'typescript':
|
|
14
|
-
return new JSTSDependencyHandler_1.JSTSDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'node_modules');
|
|
14
|
+
return new JSTSDependencyHandler_1.JSTSDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'node_modules', dependencyUploadedSizeSum);
|
|
15
15
|
case 'java':
|
|
16
|
-
return new JavaDependencyHandler_1.JavaDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'dependencies');
|
|
16
|
+
return new JavaDependencyHandler_1.JavaDependencyHandler(language, workspace, logging, workspaceFolders, artifactManager, 'dependencies', dependencyUploadedSizeSum);
|
|
17
17
|
default:
|
|
18
18
|
return null;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageDependencyHandlerFactory.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.ts"],"names":[],"mappings":";;;AAAA,mEAA+D;AAC/D,uEAAmE;AACnE,mEAA+D;AAM/D,MAAa,wBAAwB;IACjC,MAAM,CAAC,aAAa,CAChB,QAA+B,EAC/B,SAAoB,EACpB,OAAgB,EAChB,gBAAmC,EACnC,eAAgC;
|
|
1
|
+
{"version":3,"file":"LanguageDependencyHandlerFactory.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/LanguageDependencyHandlerFactory.ts"],"names":[],"mappings":";;;AAAA,mEAA+D;AAC/D,uEAAmE;AACnE,mEAA+D;AAM/D,MAAa,wBAAwB;IACjC,MAAM,CAAC,aAAa,CAChB,QAA+B,EAC/B,SAAoB,EACpB,OAAgB,EAChB,gBAAmC,EACnC,eAAgC,EAChC,yBAAyD;QAEzD,QAAQ,QAAQ,CAAC,WAAW,EAAE,EAAE,CAAC;YAC7B,KAAK,QAAQ;gBACT,OAAO,IAAI,iDAAuB,CAC9B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,CAC5B,CAAA;YACL,KAAK,YAAY,CAAC;YAClB,KAAK,YAAY;gBACb,OAAO,IAAI,6CAAqB,CAC5B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,yBAAyB,CAC5B,CAAA;YACL,KAAK,MAAM;gBACP,OAAO,IAAI,6CAAqB,CAC5B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,yBAAyB,CAC5B,CAAA;YACL;gBACI,OAAO,IAAI,CAAA;QACnB,CAAC;IACL,CAAC;CACJ;AA7CD,4DA6CC"}
|
package/out/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.js
CHANGED
|
@@ -5,6 +5,7 @@ const LanguageDependencyHandler_1 = require("./LanguageDependencyHandler");
|
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const fs = require("fs");
|
|
7
7
|
const util_1 = require("../../util");
|
|
8
|
+
const DependencyWatcher_1 = require("./DependencyWatcher");
|
|
8
9
|
/*
|
|
9
10
|
* Python Dependency Handler
|
|
10
11
|
*
|
|
@@ -96,24 +97,21 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
96
97
|
}
|
|
97
98
|
this.logging.log(`Setting up Python dependency watcher for ${sitePackagesPath}`);
|
|
98
99
|
try {
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// Handle event types
|
|
103
|
-
if (eventType === 'rename') {
|
|
104
|
-
const updatedDependencyMap = new Map();
|
|
100
|
+
const callBackDependencyUpdate = async (events) => {
|
|
101
|
+
const updatedDependencyMap = new Map();
|
|
102
|
+
for (const fileName of events) {
|
|
105
103
|
if (this.isMetadataDirectory(fileName)) {
|
|
106
104
|
this.handleMetadataChange(sitePackagesPath, fileName, updatedDependencyMap);
|
|
107
105
|
}
|
|
108
106
|
else {
|
|
109
107
|
this.handlePackageChange(sitePackagesPath, fileName, updatedDependencyMap);
|
|
110
108
|
}
|
|
111
|
-
let zips = await this.compareAndUpdateDependencyMap(pythonDependencyInfo.workspaceFolder, updatedDependencyMap, true);
|
|
112
|
-
this.emitDependencyChange(pythonDependencyInfo.workspaceFolder, zips);
|
|
113
109
|
}
|
|
114
|
-
|
|
110
|
+
let zips = await this.compareAndUpdateDependencyMap(pythonDependencyInfo.workspaceFolder, updatedDependencyMap, true);
|
|
111
|
+
this.emitDependencyChange(pythonDependencyInfo.workspaceFolder, zips);
|
|
112
|
+
}; // end of callback function
|
|
113
|
+
const watcher = new DependencyWatcher_1.DependencyWatcher(sitePackagesPath, callBackDependencyUpdate, this.logging, this.DEPENDENCY_WATCHER_EVENT_BATCH_INTERVAL);
|
|
115
114
|
this.dependencyWatchers.set(sitePackagesPath, watcher);
|
|
116
|
-
this.logging.log(`Started watching Python site-packages: ${sitePackagesPath}`);
|
|
117
115
|
}
|
|
118
116
|
catch (error) {
|
|
119
117
|
this.logging.warn(`Error setting up watcher for ${sitePackagesPath}: ${error}`);
|
|
@@ -135,7 +133,12 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
135
133
|
const sitePackagesContent = fs.readdirSync(sitePackagesPath);
|
|
136
134
|
for (const item of sitePackagesContent) {
|
|
137
135
|
const itemPath = path.join(sitePackagesPath, item);
|
|
138
|
-
|
|
136
|
+
try {
|
|
137
|
+
this.transformPathToDependency(item, itemPath, dependencyMap);
|
|
138
|
+
}
|
|
139
|
+
catch (error) {
|
|
140
|
+
this.logging.warn(`Error processing item ${item} in ${sitePackagesPath}: ${error}`);
|
|
141
|
+
}
|
|
139
142
|
}
|
|
140
143
|
}
|
|
141
144
|
return dependencyMap;
|
|
@@ -145,22 +148,28 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
145
148
|
if (this.isMetadataDirectory(dependencyPath)) {
|
|
146
149
|
return;
|
|
147
150
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
try {
|
|
152
|
+
// Add to dependency map if not already present
|
|
153
|
+
if (!dependencyMap.has(dependencyName)) {
|
|
154
|
+
let dependencySize = 0;
|
|
155
|
+
let truePath = (0, util_1.resolveSymlink)(dependencyPath);
|
|
156
|
+
if ((0, util_1.isDirectory)(truePath)) {
|
|
157
|
+
dependencySize = this.getDirectorySize(truePath);
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
dependencySize = fs.statSync(truePath).size;
|
|
161
|
+
}
|
|
162
|
+
dependencyMap.set(dependencyName, {
|
|
163
|
+
name: dependencyName,
|
|
164
|
+
version: 'unknown',
|
|
165
|
+
path: truePath,
|
|
166
|
+
size: dependencySize,
|
|
167
|
+
zipped: false,
|
|
168
|
+
});
|
|
156
169
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
path: dependencyPath,
|
|
161
|
-
size: dependencySize,
|
|
162
|
-
zipped: false,
|
|
163
|
-
});
|
|
170
|
+
}
|
|
171
|
+
catch (error) {
|
|
172
|
+
this.logging.warn(`Error processing dependency ${dependencyName}: ${error}`);
|
|
164
173
|
}
|
|
165
174
|
}
|
|
166
175
|
isMetadataDirectory(filename) {
|
|
@@ -171,7 +180,7 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
171
180
|
// Example: 'requests-2.28.1.dist-info' -> 'requests'
|
|
172
181
|
const dependencyName = metadataDir.split('-')[0];
|
|
173
182
|
// Check if we have this package in our dependency map
|
|
174
|
-
const dependencyPath = path.join(sitePackagesPath, dependencyName);
|
|
183
|
+
const dependencyPath = (0, util_1.resolveSymlink)(path.join(sitePackagesPath, dependencyName));
|
|
175
184
|
if (fs.existsSync(dependencyPath)) {
|
|
176
185
|
// Mark the package as updated
|
|
177
186
|
const updatedDependency = {
|
|
@@ -186,7 +195,7 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
186
195
|
}
|
|
187
196
|
}
|
|
188
197
|
handlePackageChange(sitePackagesPath, fileName, updatedDependencyMap) {
|
|
189
|
-
const dependencyPath = path.join(sitePackagesPath, fileName);
|
|
198
|
+
const dependencyPath = (0, util_1.resolveSymlink)(path.join(sitePackagesPath, fileName));
|
|
190
199
|
if (fs.existsSync(dependencyPath)) {
|
|
191
200
|
const updatedDependency = {
|
|
192
201
|
name: fileName,
|
|
@@ -217,7 +226,7 @@ class PythonDependencyHandler extends LanguageDependencyHandler_1.LanguageDepend
|
|
|
217
226
|
pythonDependencyInfo.sitePackagesPaths.forEach((sitePackagesPath) => {
|
|
218
227
|
if (this.dependencyWatchers.has(sitePackagesPath)) {
|
|
219
228
|
this.logging.log(`Disposing dependency watcher for ${sitePackagesPath}`);
|
|
220
|
-
this.dependencyWatchers.get(sitePackagesPath)?.
|
|
229
|
+
this.dependencyWatchers.get(sitePackagesPath)?.dispose();
|
|
221
230
|
this.dependencyWatchers.delete(sitePackagesPath);
|
|
222
231
|
}
|
|
223
232
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PythonDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AAEvG,6BAA4B;AAC5B,yBAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"PythonDependencyHandler.js","sourceRoot":"","sources":["../../../../../src/language-server/workspaceContext/dependency/dependencyHandler/PythonDependencyHandler.ts"],"names":[],"mappings":";;;AAAA,2EAAuG;AAEvG,6BAA4B;AAC5B,yBAAwB;AAExB,qCAAwD;AACxD,2DAAuD;AAOvD;;;;GAIG;AACH,MAAa,uBAAwB,SAAQ,qDAA+C;IAChF,qBAAqB,GAA2B,EAAE,CAAA;IAE1D;;;;;;OAMG;IACH,QAAQ,CAAC,UAAkB,EAAE,eAAgC;QACzD,IAAI,MAAM,GAAgC,IAAI,CAAA;QAC9C,MAAM,uBAAuB,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,eAAe,CAAC,CAAA;QACjF,IAAI,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,MAA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E,CAAA;IACL,CAAC;CACJ;AAlRD,0DAkRC"}
|
|
@@ -658,7 +658,7 @@ class EclipseConfigGenerator {
|
|
|
658
658
|
for (const fileName of eclipseFiles) {
|
|
659
659
|
const pattern = path.join(this.workspacePath, '**', fileName);
|
|
660
660
|
const files = await glob(pattern, {
|
|
661
|
-
ignore: IGNORE_PATTERNS,
|
|
661
|
+
ignore: IGNORE_PATTERNS.filter(p => p !== '**/.*'),
|
|
662
662
|
onlyFiles: true,
|
|
663
663
|
followSymbolicLinks: false,
|
|
664
664
|
dot: true,
|