@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/out/client/token/bearer-token-service.json +15 -0
  3. package/out/language-server/agenticChat/agenticChatController.d.ts +13 -2
  4. package/out/language-server/agenticChat/agenticChatController.js +162 -37
  5. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  6. package/out/language-server/agenticChat/constants/modelSelection.d.ts +10 -2
  7. package/out/language-server/agenticChat/constants/modelSelection.js +11 -8
  8. package/out/language-server/agenticChat/constants/modelSelection.js.map +1 -1
  9. package/out/language-server/agenticChat/errors.d.ts +1 -1
  10. package/out/language-server/agenticChat/errors.js.map +1 -1
  11. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +10 -1
  12. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +44 -0
  13. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -1
  14. package/out/language-server/agenticChat/tools/chatDb/util.d.ts +5 -1
  15. package/out/language-server/agenticChat/tools/chatDb/util.js +7 -0
  16. package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -1
  17. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.d.ts +1 -0
  18. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +50 -30
  19. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
  20. package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +4 -0
  21. package/out/language-server/agenticChat/tools/mcp/mcpManager.js +98 -52
  22. package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
  23. package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.d.ts +53 -0
  24. package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.js +422 -0
  25. package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.js.map +1 -0
  26. package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +4 -0
  27. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +89 -69
  28. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -1
  29. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js +15 -1
  30. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js.map +1 -1
  31. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewSchemas.d.ts +4 -4
  32. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.d.ts +2 -1
  33. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.js +1 -0
  34. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.js.map +1 -1
  35. package/out/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsSchemas.d.ts +16 -16
  36. package/out/language-server/inline-completion/codeWhispererServer.js +5 -5
  37. package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
  38. package/out/language-server/inline-completion/editCompletionHandler.d.ts +1 -0
  39. package/out/language-server/inline-completion/editCompletionHandler.js +6 -3
  40. package/out/language-server/inline-completion/editCompletionHandler.js.map +1 -1
  41. package/out/language-server/inline-completion/session/sessionManager.d.ts +0 -2
  42. package/out/language-server/inline-completion/session/sessionManager.js +0 -13
  43. package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
  44. package/out/language-server/inline-completion/tracker/streakTracker.d.ts +21 -0
  45. package/out/language-server/inline-completion/tracker/streakTracker.js +43 -0
  46. package/out/language-server/inline-completion/tracker/streakTracker.js.map +1 -0
  47. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +3 -0
  48. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  49. package/out/shared/codeWhispererService.d.ts +4 -0
  50. package/out/shared/codeWhispererService.js +6 -0
  51. package/out/shared/codeWhispererService.js.map +1 -1
  52. package/out/shared/constants.d.ts +1 -0
  53. package/out/shared/constants.js +2 -1
  54. package/out/shared/constants.js.map +1 -1
  55. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +10 -1
  56. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  57. package/package.json +2 -2
  58. package/out/language-server/agenticChat/utils/agenticChatControllerHelper.d.ts +0 -8
  59. package/out/language-server/agenticChat/utils/agenticChatControllerHelper.js +0 -15
  60. 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"}