Skip to content

Commit 585adfe

Browse files
authored
fix(amazonq): upgrade mynah to 4.23.1 (aws#6726)
## Problem Previous mynah-ui upgrade included a regression which removed the `@` from the context command name. ## Solution Fix `@worskspace` regex now that @ is no longer removed. Upgrade mynah to 4.23.1 https://github.com/aws/mynah-ui/releases/tag/v4.23.1 --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent cf00781 commit 585adfe

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -501,29 +501,29 @@
501501
"@aws-sdk/client-cognito-identity": "<3.696.0",
502502
"@aws-sdk/client-docdb": "<3.696.0",
503503
"@aws-sdk/client-docdb-elastic": "<3.696.0",
504+
"@aws-sdk/client-ec2": "<3.696.0",
505+
"@aws-sdk/client-iam": "<3.696.0",
504506
"@aws-sdk/client-lambda": "<3.696.0",
507+
"@aws-sdk/client-ssm": "<3.696.0",
505508
"@aws-sdk/client-sso": "<3.696.0",
506509
"@aws-sdk/client-sso-oidc": "<3.696.0",
507-
"@aws-sdk/client-ssm": "<3.696.0",
508-
"@aws-sdk/client-ec2": "<3.696.0",
509-
"@aws-sdk/client-iam": "<3.696.0",
510510
"@aws-sdk/credential-provider-env": "<3.696.0",
511511
"@aws-sdk/credential-provider-process": "<3.696.0",
512512
"@aws-sdk/credential-provider-sso": "<3.696.0",
513513
"@aws-sdk/property-provider": "<3.696.0",
514-
"@aws-sdk/smithy-client": "<3.696.0",
515514
"@aws-sdk/protocol-http": "<3.696.0",
515+
"@aws-sdk/smithy-client": "<3.696.0",
516516
"@aws-sdk/util-arn-parser": "<3.696.0",
517-
"@aws/mynah-ui": "^4.23.0",
517+
"@aws/mynah-ui": "^4.23.1",
518518
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
519519
"@iarna/toml": "^2.2.5",
520+
"@smithy/fetch-http-handler": "^3.0.0",
520521
"@smithy/middleware-retry": "^3.0.0",
522+
"@smithy/node-http-handler": "^3.0.0",
521523
"@smithy/protocol-http": "^4.0.0",
522524
"@smithy/service-error-classification": "^3.0.0",
523525
"@smithy/shared-ini-file-loader": "^3.0.0",
524526
"@smithy/util-retry": "^3.0.0",
525-
"@smithy/fetch-http-handler": "^3.0.0",
526-
"@smithy/node-http-handler": "^3.0.0",
527527
"@vscode/debugprotocol": "^1.57.0",
528528
"@zip.js/zip.js": "^2.7.41",
529529
"adm-zip": "^0.5.10",
@@ -539,6 +539,7 @@
539539
"glob": "^10.3.10",
540540
"got": "^11.8.5",
541541
"highlight.js": "^11.9.0",
542+
"http2": "^3.3.6",
542543
"i18n-ts": "^1.0.5",
543544
"immutable": "^4.3.0",
544545
"jose": "5.4.1",
@@ -563,8 +564,7 @@
563564
"winston": "^3.11.0",
564565
"winston-transport": "^4.6.0",
565566
"xml2js": "^0.6.1",
566-
"yaml-cfn": "^0.3.2",
567-
"http2": "^3.3.6"
567+
"yaml-cfn": "^0.3.2"
568568
},
569569
"overrides": {
570570
"webfont": {

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ export class ChatController {
10581058
) || false
10591059
triggerPayload.documentReferences = []
10601060
if (triggerPayload.useRelevantDocuments && triggerPayload.message) {
1061-
triggerPayload.message = triggerPayload.message.replace(/workspace/, '')
1061+
triggerPayload.message = triggerPayload.message.replace(/@workspace/, '')
10621062
if (CodeWhispererSettings.instance.isLocalIndexEnabled()) {
10631063
const start = performance.now()
10641064
let remainingContextLength = contextMaxLength

0 commit comments

Comments
 (0)