Skip to content

Commit 0363ba4

Browse files
opieter-awsaws-toolkit-automationjpinkney-awsjustinmk3leigaol
authored
fix(amazonq): Merge master into feature/amazonqLSP-auth (#7227)
## Problem The code changes that originated from the feature/hybridChat branch are not merged in into feature/amazonqLSP-auth yet ## Solution Merge master into feature/amazonqLSP-auth **Note: This is the first PR of the merge, which just fixes most conflicts. A follow-up PR will address bugs and logic changes** --- - 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. --------- Signed-off-by: nkomonen-amazon <[email protected]> Co-authored-by: aws-toolkit-automation <[email protected]> Co-authored-by: Josh Pinkney <[email protected]> Co-authored-by: Josh Pinkney <[email protected]> Co-authored-by: Justin M. Keyes <[email protected]> Co-authored-by: Lei Gao <[email protected]> Co-authored-by: aws-toolkit-automation <> Co-authored-by: zuoyaofu <[email protected]> Co-authored-by: aditya169 <[email protected]> Co-authored-by: Zoe Lin <[email protected]> Co-authored-by: Hweinstock <[email protected]> Co-authored-by: Nikolas Komonen <[email protected]> Co-authored-by: Will Lo <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: chungjac <[email protected]> Co-authored-by: Dogus Atasoy <[email protected]> Co-authored-by: Avi Alpert <[email protected]> Co-authored-by: nkomonen-amazon <[email protected]> Co-authored-by: Frederic Mbea <[email protected]> Co-authored-by: Tom Zu <[email protected]> Co-authored-by: David <[email protected]>
1 parent 8364ae2 commit 0363ba4

File tree

104 files changed

+3521
-1871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+3521
-1871
lines changed

docs/lsp.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ sequenceDiagram
2626

2727
## Language Server Debugging
2828

29-
1. Clone https://github.com/aws/language-servers.git and set it up in the same workspace as this project
30-
31-
e.g.
29+
1. Clone https://github.com/aws/language-servers.git and set it up in the same workspace as this project by cmd+shift+p and "add folder to workspace" and selecting the language-servers folder that you just cloned. Your VS code folder structure should look like below.
3230

3331
```
3432
/aws-toolkit-vscode
@@ -52,9 +50,9 @@ sequenceDiagram
5250
"amazonqLSPChat": true // optional: enables chat from flare
5351
}
5452
```
55-
4. Uncomment the `__AMAZONQLSP_PATH` variable in `amazonq/.vscode/launch.json` Extension configuration
56-
1. Uncomment the `__AMAZONQLSP_UI` variable in `amazonq/.vscode/launch.json` Extension configuration if you want to debug the flare chat-client as well
53+
4. Uncomment the `__AMAZONQLSP_PATH` and `__AMAZONQLSP_UI` variables in the `amazonq/.vscode/launch.json` extension configuration
5754
5. Use the `Launch LSP with Debugging` configuration and set breakpoints in VSCode or the language server
55+
6. (Optional): Enable `"amazonq.trace.server": "on"` or `"amazonq.trace.server": "verbose"` in your VSCode settings to view detailed log messages sent to/from the language server. These log messages will show up in the "Amazon Q Language Server" output channel
5856
5957
## Amazon Q Inline Activation
6058

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"skippedTestReport": "ts-node ./scripts/skippedTestReport.ts ./packages/amazonq/test/e2e/"
4242
},
4343
"devDependencies": {
44-
"@aws-toolkits/telemetry": "^1.0.312",
44+
"@aws-toolkits/telemetry": "^1.0.317",
4545
"@playwright/browser-chromium": "^1.43.1",
4646
"@stylistic/eslint-plugin": "^2.11.0",
4747
"@types/he": "^1.2.3",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date": "2025-04-22",
3+
"version": "1.61.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Some users not signaled they needed to select a Region Profile to get features working"
8+
},
9+
{
10+
"type": "bugfix",
11+
"description": "/review: disable auto-review by default"
12+
}
13+
]
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date": "2025-04-25",
3+
"version": "1.62.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Toast message to warn users if Developer Profile is not selected"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service"
12+
}
13+
]
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date": "2025-05-01",
3+
"version": "1.63.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Q profile selection hangs when a region is blocked"
8+
},
9+
{
10+
"type": "Feature",
11+
"description": "Agentic coding experience: Amazon Q can now write code and run shell commands on your behalf"
12+
}
13+
]
14+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"date": "2025-05-02",
3+
"version": "1.64.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Enable Amazon Q LSP in AL2 instances"
8+
}
9+
]
10+
}

packages/amazonq/.vscode/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"env": {
1515
"SSMDOCUMENT_LANGUAGESERVER_PORT": "6010",
1616
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080"
17-
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/token-standalone.js",
17+
// Below allows for overrides used during development
18+
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
1819
// "__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
1920
},
2021
"envFile": "${workspaceFolder}/.local.env",

packages/amazonq/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 1.64.0 2025-05-02
2+
3+
- **Bug Fix** Enable Amazon Q LSP in AL2 instances
4+
5+
## 1.63.0 2025-05-01
6+
7+
- **Bug Fix** Q profile selection hangs when a region is blocked
8+
- **Feature** Agentic coding experience: Amazon Q can now write code and run shell commands on your behalf
9+
10+
## 1.62.0 2025-04-25
11+
12+
- **Bug Fix** Toast message to warn users if Developer Profile is not selected
13+
- **Bug Fix** Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service
14+
15+
## 1.61.0 2025-04-22
16+
17+
- **Bug Fix** Some users not signaled they needed to select a Region Profile to get features working
18+
- **bugfix** /review: disable auto-review by default
19+
120
## 1.60.0 2025-04-18
221

322
- **Bug Fix** Users might be bound to a customization which they dont have access with the selected profile and it causes service throwing 403 when using inline suggestion and chat features

packages/amazonq/package.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
5-
"version": "1.61.0-SNAPSHOT",
5+
"version": "1.65.0-SNAPSHOT",
66
"extensionKind": [
77
"workspace"
88
],
@@ -131,6 +131,14 @@
131131
"amazonQChatDisclaimer": {
132132
"type": "boolean",
133133
"default": false
134+
},
135+
"amazonQChatPairProgramming": {
136+
"type": "boolean",
137+
"default": false
138+
},
139+
"amazonQSelectDeveloperProfile": {
140+
"type": "boolean",
141+
"default": false
134142
}
135143
},
136144
"additionalProperties": false
@@ -177,7 +185,25 @@
177185
"amazonQ.workspaceIndexMaxSize": {
178186
"type": "number",
179187
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexMaxSize%",
180-
"default": 250,
188+
"default": 2048,
189+
"scope": "application"
190+
},
191+
"amazonQ.workspaceIndexMaxFileSize": {
192+
"type": "number",
193+
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexMaxFileSize%",
194+
"default": 10,
195+
"scope": "application"
196+
},
197+
"amazonQ.workspaceIndexCacheDirPath": {
198+
"type": "string",
199+
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexCacheDirPath%",
200+
"default": null,
201+
"scope": "application"
202+
},
203+
"amazonQ.workspaceIndexIgnoreFilePatterns": {
204+
"type": "array",
205+
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexIgnoreFilePatterns%",
206+
"default": [],
181207
"scope": "application"
182208
},
183209
"amazonQ.ignoredSecurityIssues": {

0 commit comments

Comments
 (0)