diff --git a/.changes/next-release/bugfix-16ca3d82-920e-4b67-9cba-a43e4fcc35a6.json b/.changes/next-release/bugfix-16ca3d82-920e-4b67-9cba-a43e4fcc35a6.json new file mode 100644 index 00000000000..7be0c3f29af --- /dev/null +++ b/.changes/next-release/bugfix-16ca3d82-920e-4b67-9cba-a43e4fcc35a6.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "Amazon Q: Fix context menu displaying when typing `@`, even though input is disallowed" +} \ No newline at end of file diff --git a/.changes/next-release/bugfix-4eafd62e-c6c7-4d59-b7cd-d96ee217eaff.json b/.changes/next-release/bugfix-4eafd62e-c6c7-4d59-b7cd-d96ee217eaff.json new file mode 100644 index 00000000000..d925f523f03 --- /dev/null +++ b/.changes/next-release/bugfix-4eafd62e-c6c7-4d59-b7cd-d96ee217eaff.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "Amazon Q: Fix up/down history navigation only triggering on first/last line of prompt input" +} \ No newline at end of file diff --git a/.changes/next-release/bugfix-a017d3fa-ff27-418d-b835-169a8c72c021.json b/.changes/next-release/bugfix-a017d3fa-ff27-418d-b835-169a8c72c021.json new file mode 100644 index 00000000000..184694f4b98 --- /dev/null +++ b/.changes/next-release/bugfix-a017d3fa-ff27-418d-b835-169a8c72c021.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "Amazon Q: cursor no longer jumps after navigating prompt history" +} \ No newline at end of file diff --git a/.changes/next-release/bugfix-f612e704-cb5b-4eb5-b67d-bd0f5d28bae6.json b/.changes/next-release/bugfix-f612e704-cb5b-4eb5-b67d-bd0f5d28bae6.json new file mode 100644 index 00000000000..5d1a7464817 --- /dev/null +++ b/.changes/next-release/bugfix-f612e704-cb5b-4eb5-b67d-bd0f5d28bae6.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "Amazon Q: word duplication when pressing tab on context selector fixed" +} \ No newline at end of file diff --git a/.changes/next-release/feature-982d469e-e6b7-456b-9f63-211c4193e8a9.json b/.changes/next-release/feature-982d469e-e6b7-456b-9f63-211c4193e8a9.json new file mode 100644 index 00000000000..e8a9b82ca55 --- /dev/null +++ b/.changes/next-release/feature-982d469e-e6b7-456b-9f63-211c4193e8a9.json @@ -0,0 +1,4 @@ +{ + "type" : "feature", + "description" : "Amazon Q: Updated `/help` command to include re:invent 2024 features" +} \ No newline at end of file diff --git a/.changes/next-release/feature-d9e8c826-dd22-4be8-a065-11593b375a7c.json b/.changes/next-release/feature-d9e8c826-dd22-4be8-a065-11593b375a7c.json new file mode 100644 index 00000000000..ca82a7548bb --- /dev/null +++ b/.changes/next-release/feature-d9e8c826-dd22-4be8-a065-11593b375a7c.json @@ -0,0 +1,4 @@ +{ + "type" : "feature", + "description" : "Amazon Q: UI improvements through more accurate code syntax highlighting" +} \ No newline at end of file diff --git a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/StaticTextResponse.kt b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/StaticTextResponse.kt index 05db5251eb5..1e0c6ee0c42 100644 --- a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/StaticTextResponse.kt +++ b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/StaticTextResponse.kt @@ -28,10 +28,13 @@ enum class StaticTextResponse( - Explain the <selected code> and ask clarifying questions about it. - What is the syntax of declaring a variable in TypeScript? ### Special Commands - - /clear - Clear the conversation. - /dev - Get code suggestions across files in your current project. Provide a brief prompt, such as "Implement a GET API." + - /doc - Create and update documentation for your repository. + - /review - Discover and address security and code quality issues. + - /test - Generate unit tests for a file. - /transform - Transform your code. Use to upgrade Java code versions. - /help - View chat topics and commands. + - /clear - Clear the conversation. ### Things to note: - I may not always provide completely accurate or current information. - Provide feedback by choosing the like or dislike buttons that appear below answers. diff --git a/plugins/amazonq/mynah-ui/package-lock.json b/plugins/amazonq/mynah-ui/package-lock.json index 650fc7194c5..5afb892b2ca 100644 --- a/plugins/amazonq/mynah-ui/package-lock.json +++ b/plugins/amazonq/mynah-ui/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.2", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.5", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1", @@ -57,24 +57,24 @@ }, "node_modules/@aws/mynah-ui-chat": { "name": "@aws/mynah-ui", - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.21.2.tgz", - "integrity": "sha512-zC/ck/m5nYXRwTs3EoiGNYR0jTfbrnovRloqlD07fmvTt9OpbWLhagg14Jr/+mqoYX3YWpqbLs9U56mqCLwHHQ==", + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/@aws/mynah-ui/-/mynah-ui-4.21.5.tgz", + "integrity": "sha512-Ge7/XADBx/Phm9k2pVgjtYRoB5UOsNcTwZ0VOsWOc2JBGblEIasiT4pNNfHGKgMkLf79AKYUKRSH5IAuQRKpaQ==", "hasInstallScript": true, "license": "Apache License 2.0", "dependencies": { "escape-html": "^1.0.3", + "highlight.js": "^11.11.0", "just-clone": "^6.2.0", "marked": "^14.1.0", - "prismjs": "1.29.0", "sanitize-html": "^2.12.1", "unescape-html": "^1.1.0" }, "peerDependencies": { "escape-html": "^1.0.3", + "highlight.js": "^11.11.0", "just-clone": "^6.2.0", - "marked": "^12.0.2", - "prismjs": "1.29.0", + "marked": "^14.1.0", "sanitize-html": "^2.12.1", "unescape-html": "^1.1.0" } @@ -1919,6 +1919,15 @@ "node": ">= 0.4" } }, + "node_modules/highlight.js": { + "version": "11.11.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", + "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/htmlparser2": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", @@ -2736,14 +2745,6 @@ "node": ">= 0.8.0" } }, - "node_modules/prismjs": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", - "engines": { - "node": ">=6" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/plugins/amazonq/mynah-ui/package.json b/plugins/amazonq/mynah-ui/package.json index f2e32a78a14..de0cdff328b 100644 --- a/plugins/amazonq/mynah-ui/package.json +++ b/plugins/amazonq/mynah-ui/package.json @@ -12,7 +12,7 @@ "lintfix": "eslint -c .eslintrc.js --fix --ext .ts ." }, "dependencies": { - "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.2", + "@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.5", "@types/node": "^14.18.5", "fs-extra": "^10.0.1", "sanitize-html": "^2.12.1",