Skip to content

Merge master into feature/amazonqLSP-auth #7225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 171 commits into
base: feature/amazonqLSP-auth
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
df3f0a6
Merge master into feature/hybridChat
aws-toolkit-automation Apr 14, 2025
cee5b62
Merge master into feature/hybridChat
aws-toolkit-automation Apr 15, 2025
f79d193
Merge master into feature/hybridChat
aws-toolkit-automation Apr 15, 2025
e827c74
Merge master into feature/hybridChat
aws-toolkit-automation Apr 15, 2025
af581ba
Merge master into feature/hybridChat
aws-toolkit-automation Apr 16, 2025
726ccd8
feat(amazonq): Add hybrid chat (#7032)
jpinkney-aws Apr 16, 2025
b127942
fix(amazonq): quick action handler should add to tab storage (#7070)
jpinkney-aws Apr 16, 2025
05cf555
fix(amazonq): use alpha manifest
jpinkney-aws Apr 16, 2025
772b35f
fix(amazonq): improve lsp cleanup logic (#7075)
jpinkney-aws Apr 16, 2025
938bb37
feat(amazonq): enable amazon q lsp + chat experiment by default
jpinkney-aws Apr 16, 2025
756c286
feat(amazonq): use qAgenticChatServer alpha manifest
jpinkney-aws Apr 16, 2025
d206d3b
fix(amazonq): set amazonq lsp experiment as true by default
jpinkney-aws Apr 17, 2025
721522a
fix(amazonq): duplicate quick actions
jpinkney-aws Apr 17, 2025
e0dbbac
fix(amazonq): acknowledgement is not adding to suppressPrompts when p…
jpinkney-aws Apr 17, 2025
49aa5c7
Merge 'public/master' into feature/hybridChat
justinmk3 Apr 17, 2025
91cd6e3
Merge master into feature/hybridChat
justinmk3 Apr 17, 2025
ebe7b8c
feat(amazonq): sync developer profiles to flare chat panel (#7072)
jpinkney-aws Apr 17, 2025
76b61df
Merge master into feature/hybridChat
aws-toolkit-automation Apr 17, 2025
b4de24f
feat(amazonq): remote workspace context (#6894)
leigaol Apr 17, 2025
96dd2db
lint
jpinkney-aws Apr 17, 2025
86c2f2a
fix(amazonq): no starting LSP in AL2 (#7096)
leigaol Apr 18, 2025
bb699d7
Release 3.55.0
Apr 18, 2025
4319646
Release 1.60.0
Apr 18, 2025
44b6933
docs(amazonq): update instructions for enabling the chat client frin …
jpinkney-aws Apr 18, 2025
2358ce1
fix(amazonq): duplicate messages in flare chat (#7097)
jpinkney-aws Apr 18, 2025
a246017
Update version to snapshot version: 1.61.0-SNAPSHOT
Apr 18, 2025
9d54efa
Update version to snapshot version: 3.56.0-SNAPSHOT
Apr 18, 2025
674973e
Merge release into master
Apr 18, 2025
6b15e9e
docs(amazonq): Add trace server instructions
jpinkney-aws Apr 18, 2025
1f5f215
config(amazonq): disable auto-review by default (#7058)
zuoyaofu Apr 19, 2025
1b20a6c
Merge remote-tracking branch 'origin/master' into HEAD
jpinkney-aws Apr 19, 2025
f1ced5a
fix(amazonq): de-dup developerProfiles conflict
jpinkney-aws Apr 19, 2025
0bbefa4
Merge pull request #7092 from aws/autoMerge/feature/hybridChat
jpinkney-aws Apr 19, 2025
168806e
fix(amazonq): enable local workspace server through flare (#7089)
jpinkney-aws Apr 20, 2025
50c0363
Update lsp.md (#7111)
aditya169 Apr 20, 2025
672e95f
fix(amazonq): catch error for show document (#7112)
zixlin7 Apr 20, 2025
2e8d4c7
Merge master into feature/hybridChat
aws-toolkit-automation Apr 20, 2025
3954302
fix(amazonq): send proper cursor position to lsp (#7113)
Hweinstock Apr 20, 2025
c89997e
fix(amazonq): Sync client settings to language server (#7114)
nkomonen-amazon Apr 20, 2025
a7aa25c
feat(amazonq): add pair programming card (#7115)
jpinkney-aws Apr 21, 2025
7afbc71
telemetry(amazonq): correct auth_userState telemetry (#7108)
Will-ShaoHua Apr 21, 2025
e1242e8
Merge master into feature/hybridChat
aws-toolkit-automation Apr 21, 2025
70ba83f
feat(amazonq): show all customizations across different profiles (#7060)
Will-ShaoHua Apr 21, 2025
893175e
Merge master into feature/hybridChat
aws-toolkit-automation Apr 21, 2025
e544eb0
fix(amazonq): temporarily disable q developer profiles (#7118)
jpinkney-aws Apr 21, 2025
1e48e36
feat(amazonq): handle link clicks in /help (#7120)
jpinkney-aws Apr 21, 2025
7bb66e1
feat(amazonq): Port in chat message error handling (#7121)
nkomonen-amazon Apr 21, 2025
ccbdf48
feat(lsp): add handler for openFileDiff notification (#7119)
ctlai95 Apr 22, 2025
3b619b0
feat(amazonq): handle stop response (#7122)
jpinkney-aws Apr 22, 2025
2055bbf
feat(amazonq): option to show diff in reverse order (#7126)
ctlai95 Apr 22, 2025
52cc07f
fix(amazonq): increase polling frequency for bearer token. (#7123)
Hweinstock Apr 22, 2025
1b107ab
feat(amazonq): add handling for button clicks (#7125)
Hweinstock Apr 22, 2025
61805b7
feat(amazonq): emit flare telemetry events (#7124)
jpinkney-aws Apr 22, 2025
6782509
fix(amazonq): diff not appearing for new files (#7127)
ctlai95 Apr 22, 2025
009258c
fix(amazonq): show empty response when token was cancelled (#7128)
jpinkney-aws Apr 22, 2025
69f6d01
fix(amazonq): add highlight feature config to context commands (#7131)
jpinkney-aws Apr 22, 2025
9d7f445
fix(amazonq): revert 7060 show customization across profiles (#7129)
Will-ShaoHua Apr 22, 2025
905d80c
Merge master into feature/hybridChat
aws-toolkit-automation Apr 22, 2025
8da7910
fix(amazonq): forward chat update notification (#7136)
ctlai95 Apr 22, 2025
96e28f4
fix(amazonq): indicate profile needs to be selected from status bar m…
nkomonen-amazon Apr 22, 2025
826f84d
Release 1.61.0
Apr 22, 2025
8b1cca5
Merge master into feature/hybridChat
aws-toolkit-automation Apr 22, 2025
c22efa0
Update version to snapshot version: 1.62.0-SNAPSHOT
Apr 22, 2025
57940ed
Merge master into feature/hybridChat
aws-toolkit-automation Apr 22, 2025
cda61ec
fix(amazonq): simulate refresh of chat (#7142)
jpinkney-aws Apr 23, 2025
7291993
Revert "fix(amazonq): temporarily disable q developer profiles" (#7138)
jpinkney-aws Apr 23, 2025
7cf7897
fix(amazonq): deny restoreTabMessage/contextCommandData messages from…
jpinkney-aws Apr 23, 2025
1b7a86c
fix(amazonq): Add clarifying comment to telemetry pass through mechan…
opieter-aws Apr 23, 2025
4ba5251
fix(amazonq): developer profile api requests are still throttling
jpinkney-aws Apr 23, 2025
0bd3e12
fix(lsp): LSP download timeout message disappears too early (#7145)
nkomonen-amazon Apr 23, 2025
e39a32b
telemetry(amazonq): bump aws-toolkit-common version to 1.0.316 (#7147)
chungjac Apr 23, 2025
c9eb334
fix(amazonq): send sso startUrl on token update (#7148)
jpinkney-aws Apr 23, 2025
dc849e7
feat(amazonq): update mynah version with no style loading option (#7154)
dogusata Apr 24, 2025
d2f6b9a
fix(chat): Resend auth token on server restart (#7156)
nkomonen-amazon Apr 24, 2025
42636aa
telemetry(amazonq): bump aws-toolkit-common #7157
chungjac Apr 24, 2025
d856334
feat(amazonq): Add project context to LSP client
opieter-aws Apr 24, 2025
eb6c9c9
fix(amazonq): accept empty body partial result. (#7158)
Hweinstock Apr 24, 2025
879584e
Revert "feat(amazonq): Add project context to LSP client"
opieter-aws Apr 24, 2025
dd9ad62
feat(amazonq): Pass project configuration to LSP client (#7162)
opieter-aws Apr 25, 2025
1e45112
fix(amazonq): handle response errors from lsp (#7161)
Hweinstock Apr 25, 2025
8ece808
fix(amazonq): Warn user Developer Profile not selected (#7160)
nkomonen-amazon Apr 25, 2025
638778b
feat(core): add value length cap to partialClone (#7150)
Hweinstock Apr 25, 2025
6db5eda
fix(amazonq): 401 errors on windows (#7168)
avi-alpert Apr 25, 2025
be976e1
Merge master into feature/hybridChat (#7166)
aws-toolkit-automation Apr 25, 2025
3549e33
fix(amazonq): fix enterprise users not able to sign in correctly if t…
Will-ShaoHua Apr 25, 2025
4ceed6e
fix(amazonq): handle explain, refactor, fix, optimize, sendToPrompt (…
jpinkney-aws Apr 25, 2025
07a70bc
Merge branch 'feature/hybridChat' into autoMerge/feature/hybridChat
justinmk3 Apr 25, 2025
b23cfdd
Merge master into feature/hybridChat
justinmk3 Apr 25, 2025
f2eabbd
fix(resourceCache): cache not used by 2nd vscode instance
Will-ShaoHua Apr 25, 2025
3171de5
fix(resourcecache): improve logging #7175
justinmk3 Apr 25, 2025
59fc729
Merge master into feature/hybridChat
aws-toolkit-automation Apr 25, 2025
3072e02
Release 1.62.0
Apr 25, 2025
b234197
Release 3.56.0
Apr 25, 2025
3beb8b2
fix(amazonq): enable local context for falcon (#7176)
zixlin7 Apr 26, 2025
947c471
feat(amazonq): support multiple uri in a single diff scheme (#7167)
ctlai95 Apr 26, 2025
969e078
Update version to snapshot version: 1.63.0-SNAPSHOT
Apr 28, 2025
2a29d12
Update version to snapshot version: 3.57.0-SNAPSHOT
Apr 28, 2025
a7732b9
Merge release into master
Apr 28, 2025
dfd9406
Merge master into feature/hybridChat
aws-toolkit-automation Apr 28, 2025
2f103ff
fix(amazonq): Remove the 'Cancel' button on LSP download (#7184)
nkomonen-amazon Apr 28, 2025
c6afcb6
refactor(amazonq): Change Q LSP downloading message text (#7185)
nkomonen-amazon Apr 28, 2025
db673c9
feat(amazonq): sync lsp logging with local configuration. (#7186)
Hweinstock Apr 28, 2025
6dbb21e
fix(amazonq): fix extension name in lsp initialization (#7189)
zixlin7 Apr 29, 2025
8f3fb44
fix(amazonq): type error for workspaceIndexCacheDirPath (#7191)
zixlin7 Apr 29, 2025
b60036b
fix(amazonq): retry LSP token refresh on recoverable errors only. (#…
Hweinstock Apr 29, 2025
f1ede42
fix(amazonq): open review tab for generate tests (#7195)
jpinkney-aws Apr 29, 2025
907c784
fix(amazonq): explain issue fails (#7194)
jpinkney-aws Apr 29, 2025
35e1686
feat(amazonq): Log attribution notice when downloading language serve…
nkomonen-amazon Apr 29, 2025
7fd3bf2
fix(amazonq): stop workspace indexing in extension (#7197)
zixlin7 Apr 29, 2025
bf63747
fix(amazonq): add event publisher for generateUnitTests (#7198)
jpinkney-aws Apr 29, 2025
574990e
fix(amazonq): re-enable developer profile fetching in flare (#7190)
nkomonen-amazon Apr 29, 2025
f07432b
fix(amazonq): tie enableLocalIndex back to user setting (#7200)
zixlin7 Apr 29, 2025
00974f3
feat(amazonq): add reference log for chat messages (#7206)
jpinkney-aws Apr 30, 2025
4f1f8b4
feat(lambda): user can invoke locally without debugging #7149
mbfreder Apr 30, 2025
c71c619
Merge master into feature/hybridChat
aws-toolkit-automation Apr 30, 2025
d3db47a
fix(amazonq): enable agentic mode (#7199)
jpinkney-aws Apr 30, 2025
e08a3bd
fix(amazonq): full project scan command not working (#7207)
jpinkney-aws Apr 30, 2025
c2f1210
fix(amazonq): dev profile selection breaks if certain regions aren't …
tomcat323 Apr 30, 2025
0157f7e
Merge master into feature/hybridChat
aws-toolkit-automation Apr 30, 2025
db976c9
fix(amazonq): duplicate code reference in reference log (#7208)
jpinkney-aws Apr 30, 2025
0651afd
feat(amazonq): client-side build support #6771
dhasani23 Apr 30, 2025
8b7106b
Merge master into feature/hybridChat
aws-toolkit-automation Apr 30, 2025
1dff099
feat(agentic chat): Add changelog (#7211)
opieter-aws May 1, 2025
457efa4
Merge pull request #7210 from aws/feature/hybridChat
jpinkney-aws May 1, 2025
a7aff92
feat(amazonq): point to flare production manifest (#7214)
Hweinstock May 1, 2025
12c0f1c
Release 3.57.0
May 1, 2025
119806f
Release 1.63.0
May 1, 2025
427d00a
Update version to snapshot version: 1.64.0-SNAPSHOT
May 1, 2025
b1d9dc1
Update version to snapshot version: 3.58.0-SNAPSHOT
May 1, 2025
81fa3b1
Merge release into master
May 1, 2025
91f584f
fix(amazonq): enable agentic chat in AL2 (#7212)
leigaol May 1, 2025
68a443f
feat(amazonq): allow child processes to define custom thresholds (#7205)
Hweinstock May 2, 2025
23b164d
Release 3.58.0
May 2, 2025
0d7e549
Release 1.64.0
May 2, 2025
28d5b91
Update version to snapshot version: 3.59.0-SNAPSHOT
May 5, 2025
0221d07
Update version to snapshot version: 1.65.0-SNAPSHOT
May 5, 2025
c58c9e1
Merge release into master
May 5, 2025
1fb7013
feat(auth): autofill last sso login info #7223
Will-ShaoHua May 5, 2025
f30f770
feat(amazonq): show all customizations across different profiles #7181
Will-ShaoHua May 5, 2025
f1f5a36
feat(nep): Data Instrumentation (#7109)
tomcat323 May 5, 2025
10ff228
Release 3.59.0
May 5, 2025
f898e93
Release 1.65.0
May 5, 2025
25643ee
Update version to snapshot version: 3.60.0-SNAPSHOT
May 6, 2025
9f44fa6
Release 3.60.0
May 6, 2025
1836fee
Update version to snapshot version: 1.66.0-SNAPSHOT
May 6, 2025
e39eff7
Merge release into master
May 6, 2025
fdaaae1
telemetry(amazonq): Add changed IDE diagnostics after user acceptance…
leigaol May 6, 2025
fc4f4ed
build(core): remove flare as codeowners (#7238)
Hweinstock May 6, 2025
0189564
test(amazonq): full E2E test for /review (#7047)
zuoyaofu May 6, 2025
0acb7ae
fix(logging): misleading "settings failed" message #7240
justinmk3 May 6, 2025
e9ea808
test(featureDev): use env var to enable very slow test #7201
chengoramazon May 6, 2025
98b0d5d
refactor(amazonq): reduce extra call of listAvailableCustomization (#…
Will-ShaoHua May 7, 2025
bb11bd9
feat(telemetry): metrics with missing fields are warned in the logs. …
Hweinstock May 7, 2025
1d9064f
fix(amazonq): Minor string change in quickActionCommands for /test (#…
laileni-aws May 7, 2025
710f25c
fix(amazonq): add a more descriptive issue for firewall problems (#7251)
jpinkney-aws May 8, 2025
0b169a8
telemetry(amazonq): add an error code for when node validation fails.…
Hweinstock May 8, 2025
9b873dc
test(amazonq): reduce flakiness by avoiding unnecessary fs operations…
Hweinstock May 8, 2025
faeeb98
feat(amazonq): pass workspaceIdentifier when initializing AmazonQ lsp…
LiGaCu May 8, 2025
734bd98
fix(nep): truncate editor state (#7256)
tomcat323 May 8, 2025
529f833
fix(amazonq): Revert refactor(amazonq): reduce extra call of listAvai…
Will-ShaoHua May 8, 2025
8a02d60
fix(amazonq): agent tabs open with prompt options (#7265)
ctlai95 May 8, 2025
4369fb5
fix(amazonq): flare clientId changes on every instance (#7273)
jpinkney-aws May 9, 2025
0d97988
Release 1.66.0
May 9, 2025
dcaeb53
Update version to snapshot version: 3.61.0-SNAPSHOT
May 9, 2025
3290630
Merge release into master
May 9, 2025
91e5039
Update version to snapshot version: 1.67.0-SNAPSHOT
May 9, 2025
a7fd043
Merge release into master
May 9, 2025
1085a8d
telemetry(amazonq): Emit metric on server crash (#7278)
nkomonen-amazon May 9, 2025
a14b9a2
telemetry(amazonq): expose FileCreationFailed exceptions #7260
akhamis-amzn May 9, 2025
05cde57
fix(lsp): send extension version to Q LSP #7279
yueny2020 May 9, 2025
4b09167
fix(amazonq): adding logs for the agentic chat telemetry events (#7276)
laileni-aws May 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
* @aws/aws-ides-team
packages/core/src/codewhisperer/ @aws/codewhisperer-team
packages/core/src/amazonqFeatureDev/ @aws/earlybird
packages/core/src/codewhispererChat/ @aws/flare
packages/core/src/amazonq/ @aws/flare
packages/core/src/awsService/accessanalyzer/ @aws/access-analyzer
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ Unlike the user setting overrides, not all of these environment variables have t
- `AWS_TOOLKIT_TEST_NO_COLOR`: If the tests should include colour in their output
- `DEVELOPMENT_PATH`: The path to the aws toolkit vscode project
- `TEST_DIR` - The directory where the test runner should find the tests
- `AMAZONQ_FEATUREDEV_ITERATION_TEST` - Controls whether to enable multiple iteration testing for Amazon Q feature development

### SAM/CFN ("goformation") JSON schema

Expand Down
36 changes: 18 additions & 18 deletions aws-toolkit-vscode.code-workspace
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"folders": [
{
"path": "."
},
{
"path": "packages/toolkit"
},
{
"path": "packages/core"
},
{
"path": "packages/amazonq"
}
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib"
}
}
"folders": [
{
"path": ".",
},
{
"path": "packages/toolkit",
},
{
"path": "packages/core",
},
{
"path": "packages/amazonq",
},
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
},
}
8 changes: 4 additions & 4 deletions docs/lsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ sequenceDiagram

## Language Server Debugging

1. Clone https://github.com/aws/language-servers.git and set it up in the same workspace as this project
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.

e.g.


```
/aws-toolkit-vscode
Expand All @@ -53,9 +53,9 @@ sequenceDiagram
"amazonqLSPChat": true // optional: enables chat from flare
}
```
4. Uncomment the `__AMAZONQLSP_PATH` variable in `amazonq/.vscode/launch.json` Extension configuration
1. Uncomment the `__AMAZONQLSP_UI` variable in `amazonq/.vscode/launch.json` Extension configuration if you want to debug the flare chat-client as well
4. Uncomment the `__AMAZONQLSP_PATH` and `__AMAZONQLSP_UI` variables in the `amazonq/.vscode/launch.json` extension configuration
5. Use the `Launch LSP with Debugging` configuration and set breakpoints in VSCode or the language server
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

## Amazon Q Inline Activation

Expand Down
1,521 changes: 511 additions & 1,010 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"skippedTestReport": "ts-node ./scripts/skippedTestReport.ts ./packages/amazonq/test/e2e/"
},
"devDependencies": {
"@aws-toolkits/telemetry": "^1.0.312",
"@aws-toolkits/telemetry": "^1.0.317",
"@playwright/browser-chromium": "^1.43.1",
"@stylistic/eslint-plugin": "^2.11.0",
"@types/he": "^1.2.3",
Expand Down
10 changes: 10 additions & 0 deletions packages/amazonq/.changes/1.60.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"date": "2025-04-18",
"version": "1.60.0",
"entries": [
{
"type": "Bug Fix",
"description": "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"
}
]
}
14 changes: 14 additions & 0 deletions packages/amazonq/.changes/1.61.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date": "2025-04-22",
"version": "1.61.0",
"entries": [
{
"type": "Bug Fix",
"description": "Some users not signaled they needed to select a Region Profile to get features working"
},
{
"type": "bugfix",
"description": "/review: disable auto-review by default"
}
]
}
14 changes: 14 additions & 0 deletions packages/amazonq/.changes/1.62.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date": "2025-04-25",
"version": "1.62.0",
"entries": [
{
"type": "Bug Fix",
"description": "Toast message to warn users if Developer Profile is not selected"
},
{
"type": "Bug Fix",
"description": "Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service"
}
]
}
14 changes: 14 additions & 0 deletions packages/amazonq/.changes/1.63.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date": "2025-05-01",
"version": "1.63.0",
"entries": [
{
"type": "Bug Fix",
"description": "Q profile selection hangs when a region is blocked"
},
{
"type": "Feature",
"description": "Agentic coding experience: Amazon Q can now write code and run shell commands on your behalf"
}
]
}
10 changes: 10 additions & 0 deletions packages/amazonq/.changes/1.64.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"date": "2025-05-02",
"version": "1.64.0",
"entries": [
{
"type": "Bug Fix",
"description": "Enable Amazon Q LSP in AL2 instances"
}
]
}
14 changes: 14 additions & 0 deletions packages/amazonq/.changes/1.65.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date": "2025-05-05",
"version": "1.65.0",
"entries": [
{
"type": "Feature",
"description": "Support selecting customizations across all Q profiles with automatic profile switching for enterprise users"
},
{
"type": "Feature",
"description": "Memorize and autofill users' last Sso login profile"
}
]
}
14 changes: 14 additions & 0 deletions packages/amazonq/.changes/1.66.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date": "2025-05-09",
"version": "1.66.0",
"entries": [
{
"type": "Bug Fix",
"description": "Avoid inline completion 'Improperly formed request' errors when file is too large"
},
{
"type": "Bug Fix",
"description": "Named agent tabs sometimes open with unnecessary input options"
}
]
}

This file was deleted.

3 changes: 2 additions & 1 deletion packages/amazonq/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"env": {
"SSMDOCUMENT_LANGUAGESERVER_PORT": "6010",
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080"
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/token-standalone.js",
// Below allows for overrides used during development
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
// "__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
},
"envFile": "${workspaceFolder}/.local.env",
Expand Down
33 changes: 33 additions & 0 deletions packages/amazonq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
## 1.66.0 2025-05-09

- **Bug Fix** Avoid inline completion 'Improperly formed request' errors when file is too large
- **Bug Fix** Named agent tabs sometimes open with unnecessary input options

## 1.65.0 2025-05-05

- **Feature** Support selecting customizations across all Q profiles with automatic profile switching for enterprise users
- **Feature** Memorize and autofill users' last Sso login profile

## 1.64.0 2025-05-02

- **Bug Fix** Enable Amazon Q LSP in AL2 instances

## 1.63.0 2025-05-01

- **Bug Fix** Q profile selection hangs when a region is blocked
- **Feature** Agentic coding experience: Amazon Q can now write code and run shell commands on your behalf

## 1.62.0 2025-04-25

- **Bug Fix** Toast message to warn users if Developer Profile is not selected
- **Bug Fix** Fix users can not log in successfully with 2+ IDE instnaces open due to throttle error throw by the service

## 1.61.0 2025-04-22

- **Bug Fix** Some users not signaled they needed to select a Region Profile to get features working
- **bugfix** /review: disable auto-review by default

## 1.60.0 2025-04-18

- **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

## 1.59.0 2025-04-11

- **Bug Fix** Code fix line number or file is sometimes not accurate
Expand Down
30 changes: 28 additions & 2 deletions packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "amazon-q-vscode",
"displayName": "Amazon Q",
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
"version": "1.60.0-SNAPSHOT",
"version": "1.67.0-SNAPSHOT",
"extensionKind": [
"workspace"
],
Expand Down Expand Up @@ -131,6 +131,14 @@
"amazonQChatDisclaimer": {
"type": "boolean",
"default": false
},
"amazonQChatPairProgramming": {
"type": "boolean",
"default": false
},
"amazonQSelectDeveloperProfile": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -177,7 +185,25 @@
"amazonQ.workspaceIndexMaxSize": {
"type": "number",
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexMaxSize%",
"default": 250,
"default": 2048,
"scope": "application"
},
"amazonQ.workspaceIndexMaxFileSize": {
"type": "number",
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexMaxFileSize%",
"default": 10,
"scope": "application"
},
"amazonQ.workspaceIndexCacheDirPath": {
"type": "string",
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexCacheDirPath%",
"default": null,
"scope": "application"
},
"amazonQ.workspaceIndexIgnoreFilePatterns": {
"type": "array",
"markdownDescription": "%AWS.configuration.description.amazonq.workspaceIndexIgnoreFilePatterns%",
"default": [],
"scope": "application"
},
"amazonQ.ignoredSecurityIssues": {
Expand Down
38 changes: 3 additions & 35 deletions packages/amazonq/src/app/chat/activation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,33 @@
*/

import * as vscode from 'vscode'
import { ExtensionContext, window } from 'vscode'
import { ExtensionContext } from 'vscode'
import { telemetry } from 'aws-core-vscode/telemetry'
import { AuthUtil, CodeWhispererSettings } from 'aws-core-vscode/codewhisperer'
import { Commands, placeholder, funcUtil } from 'aws-core-vscode/shared'
import * as amazonq from 'aws-core-vscode/amazonq'
import { scanChatAppInit } from '../amazonqScan'

export async function activate(context: ExtensionContext) {
const appInitContext = amazonq.DefaultAmazonQAppInitContext.instance

registerApps(appInitContext, context)

const provider = new amazonq.AmazonQChatViewProvider(
context,
appInitContext.getWebViewToAppsMessagePublishers(),
appInitContext.getAppsToWebViewMessageListener(),
appInitContext.onDidChangeAmazonQVisibility
)

await amazonq.TryChatCodeLensProvider.register(appInitContext.onDidChangeAmazonQVisibility.event)

const setupLsp = funcUtil.debounce(async () => {
void amazonq.LspController.instance.trySetupLsp(context, {
startUrl: AuthUtil.instance.startUrl,
maxIndexSize: CodeWhispererSettings.instance.getMaxIndexSize(),
isVectorIndexEnabled: CodeWhispererSettings.instance.isLocalIndexEnabled(),
isVectorIndexEnabled: false,
})
}, 5000)

context.subscriptions.push(
window.registerWebviewViewProvider(amazonq.AmazonQChatViewProvider.viewType, provider, {
webviewOptions: {
retainContextWhenHidden: true,
},
}),
amazonq.focusAmazonQChatWalkthrough.register(),
amazonq.walkthroughInlineSuggestionsExample.register(),
amazonq.walkthroughSecurityScanExample.register(),
amazonq.openAmazonQWalkthrough.register(),
amazonq.listCodeWhispererCommandsWalkthrough.register(),
amazonq.focusAmazonQPanel.register(),
amazonq.focusAmazonQPanelKeybinding.register(),
amazonq.tryChatCodeLensCommand.register(),
vscode.workspace.onDidChangeConfiguration(async (configurationChangeEvent) => {
if (configurationChangeEvent.affectsConfiguration('amazonQ.workspaceIndex')) {
if (CodeWhispererSettings.instance.isLocalIndexEnabled()) {
void setupLsp()
}
}
})
amazonq.tryChatCodeLensCommand.register()
)

Commands.register('aws.amazonq.learnMore', () => {
Expand All @@ -64,15 +41,6 @@ export async function activate(context: ExtensionContext) {
void setupAuthNotification()
}

function registerApps(appInitContext: amazonq.AmazonQAppInitContext, context: ExtensionContext) {
amazonq.cwChatAppInit(appInitContext)
amazonq.featureDevChatAppInit(appInitContext)
amazonq.gumbyChatAppInit(appInitContext)
amazonq.testChatAppInit(appInitContext)
scanChatAppInit(appInitContext)
amazonq.docChatAppInit(appInitContext)
}

/**
* Display a notification to user for Log In.
*
Expand Down
19 changes: 19 additions & 0 deletions packages/amazonq/src/app/chat/node/activateAgents.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*!
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/

import * as amazonqNode from 'aws-core-vscode/amazonq/node'
import { scanChatAppInit } from '../../amazonqScan'
import { DefaultAmazonQAppInitContext } from 'aws-core-vscode/amazonq'

export function activateAgents() {
const appInitContext = DefaultAmazonQAppInitContext.instance

amazonqNode.cwChatAppInit(appInitContext)
amazonqNode.featureDevChatAppInit(appInitContext)
amazonqNode.gumbyChatAppInit(appInitContext)
amazonqNode.testChatAppInit(appInitContext)
amazonqNode.docChatAppInit(appInitContext)
scanChatAppInit(appInitContext)
}
Loading