@aws/lsp-codewhisperer 0.0.75 → 0.0.76
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 +28 -0
- package/out/client/token/bearer-token-service.json +15 -0
- package/out/language-server/agenticChat/agenticChatController.d.ts +13 -2
- package/out/language-server/agenticChat/agenticChatController.js +162 -37
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/constants/modelSelection.d.ts +10 -2
- package/out/language-server/agenticChat/constants/modelSelection.js +11 -8
- package/out/language-server/agenticChat/constants/modelSelection.js.map +1 -1
- package/out/language-server/agenticChat/errors.d.ts +1 -1
- package/out/language-server/agenticChat/errors.js.map +1 -1
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +10 -1
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +44 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
- package/out/language-server/agenticChat/tools/chatDb/util.d.ts +5 -1
- package/out/language-server/agenticChat/tools/chatDb/util.js +7 -0
- package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.d.ts +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +50 -30
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +4 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +98 -52
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.d.ts +53 -0
- package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.js +422 -0
- package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +4 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +89 -69
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -1
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js +15 -1
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js.map +1 -1
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewSchemas.d.ts +4 -4
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.d.ts +2 -1
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.js +1 -0
- package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.js.map +1 -1
- package/out/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsSchemas.d.ts +16 -16
- package/out/language-server/inline-completion/codeWhispererServer.js +5 -5
- package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
- package/out/language-server/inline-completion/editCompletionHandler.d.ts +1 -0
- package/out/language-server/inline-completion/editCompletionHandler.js +6 -3
- package/out/language-server/inline-completion/editCompletionHandler.js.map +1 -1
- package/out/language-server/inline-completion/session/sessionManager.d.ts +0 -2
- package/out/language-server/inline-completion/session/sessionManager.js +0 -13
- package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
- package/out/language-server/inline-completion/tracker/streakTracker.d.ts +21 -0
- package/out/language-server/inline-completion/tracker/streakTracker.js +43 -0
- package/out/language-server/inline-completion/tracker/streakTracker.js.map +1 -0
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +3 -0
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
- package/out/shared/codeWhispererService.d.ts +4 -0
- package/out/shared/codeWhispererService.js +6 -0
- package/out/shared/codeWhispererService.js.map +1 -1
- package/out/shared/constants.d.ts +1 -0
- package/out/shared/constants.js +2 -1
- package/out/shared/constants.js.map +1 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js +10 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/package.json +2 -2
- package/out/language-server/agenticChat/utils/agenticChatControllerHelper.d.ts +0 -8
- package/out/language-server/agenticChat/utils/agenticChatControllerHelper.js +0 -15
- package/out/language-server/agenticChat/utils/agenticChatControllerHelper.js.map +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLatestAvailableModel = getLatestAvailableModel;
|
|
4
|
-
const modelSelection_1 = require("../constants/modelSelection");
|
|
5
|
-
/**
|
|
6
|
-
* Gets the latest available model for a region, optionally excluding a specific model
|
|
7
|
-
* @param region The AWS region
|
|
8
|
-
* @param exclude Optional model ID to exclude
|
|
9
|
-
* @returns The latest available model
|
|
10
|
-
*/
|
|
11
|
-
function getLatestAvailableModel(region, exclude) {
|
|
12
|
-
const models = region && modelSelection_1.MODEL_OPTIONS_FOR_REGION[region] ? modelSelection_1.MODEL_OPTIONS_FOR_REGION[region] : modelSelection_1.MODEL_OPTIONS;
|
|
13
|
-
return [...models].reverse().find(model => model.id !== exclude) ?? models[models.length - 1];
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=agenticChatControllerHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agenticChatControllerHelper.js","sourceRoot":"","sources":["../../../../src/language-server/agenticChat/utils/agenticChatControllerHelper.ts"],"names":[],"mappings":";;AASA,0DAMC;AAdD,gEAAqF;AAErF;;;;;GAKG;AACH,SAAgB,uBAAuB,CACnC,MAA0B,EAC1B,OAAgB;IAEhB,MAAM,MAAM,GAAG,MAAM,IAAI,yCAAwB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,yCAAwB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,8BAAa,CAAA;IAC5G,OAAO,CAAC,GAAG,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,OAAO,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;AACjG,CAAC"}
|