Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
817cfe2
fix(amazonq): persist mcp configs in agent json on start-up (#2112)
dungdong-aws Aug 13, 2025
fd6e9a8
feat(amazonq): added mcp admin level configuration with GetProfile (#…
ashishrp-aws Aug 13, 2025
91c8398
fix: Use file context override in the inline completion params for Ju…
leigaol Aug 13, 2025
93cf229
feat(amazonq): read tool ui revamp (#2113) (#2121)
ctlai95 Aug 13, 2025
8975f10
refactor: improve generateCompletion logging format (#2125)
Will-ShaoHua Aug 14, 2025
0e23e2d
fix(amazonq): handle case where multiple rules are provided with the …
BlakeLazarine Aug 14, 2025
963b6e9
perf: remove edit completion retry mechanism on document change (#2124)
Will-ShaoHua Aug 14, 2025
0bf825e
ci: remove need for custom PAT for release branch workflow (#2126)
rli Aug 14, 2025
971eaa5
fix: proper path handling for additional context (#2129)
chungjac Aug 15, 2025
e4e8bbb
fix(amazonq): fix regression of mcp config in agent config (#2101)
dungdong-aws Aug 18, 2025
d397161
feat: remove project type validation from LSP layer (#2103)
Rajanna-Karthik Aug 18, 2025
2a4171a
fix: fix for button text and remove profilearn caching (#2137)
ashishrp-aws Aug 18, 2025
b3938c1
chore: bump runtimes to 0.2.126 (#2138)
tsmithsz Aug 18, 2025
f947e1a
fix: fix to add disk caching for mcp admin state (#2139)
ashishrp-aws Aug 19, 2025
43bc9b1
refactor: cleanup old nep code path which is no longered being used i…
Will-ShaoHua Aug 19, 2025
5e4435d
fix(amazonq): add server side control for WCS features (#2128)
LiGaCu Aug 19, 2025
b76cd85
chore: update STE userContext version metadata (#2142)
Will-ShaoHua Aug 19, 2025
04588df
fix: fix to turn on and off MCP servers incase of error based on last…
ashishrp-aws Aug 19, 2025
b8e5268
fix: empty userTriggerDecision not being sent for NEP code path (#2140)
Will-ShaoHua Aug 19, 2025
c5468cb
chore(release): release packages from branch main (#2117)
github-actions[bot] Aug 20, 2025
0767e07
fix(amazonq): don't let flare send discard for the still valid sugges…
andrewyuq Aug 21, 2025
d3cd455
chore(release): release packages from branch main (#2149)
github-actions[bot] Aug 21, 2025
28d46a7
chore: merge agentic version 1.29.0 (#2151)
manodnyab Aug 22, 2025
2fb896e
feat: add basic OAuth client for remote MCP (#2136)
bywang56 Aug 22, 2025
a6c64f2
fix: adding streakTracker to track streakLength across Completions an…
atonaamz Aug 22, 2025
71b3595
feat: disable pkce flow during plugin load (#2153)
bywang56 Aug 22, 2025
7296f93
chore: bump runtimes to 0.2.127 (#2156)
chungjac Aug 25, 2025
472220a
fix: multiple fixes on auth flow edge cases (#2155)
bywang56 Aug 25, 2025
b99df82
feat: update MCP manager and utilities (#2158)
ashishrp-aws Aug 25, 2025
db45d01
fix(amazonq): disable typewriter animation (#2160)
ctlai95 Aug 26, 2025
558bc1a
ci: generation of builds action can be triggered manually (#2157)
manodnyab Aug 26, 2025
d28df09
fix(amazonq): fix for mcp servers operations to edit server config on…
ashishrp-aws Aug 26, 2025
bb5f4c6
fix: allow ci to run on release branches (#2159)
shruti0085 Aug 26, 2025
00e11ff
fix: reduce auto trigger frequency for VSC (#2168)
leigaol Aug 26, 2025
aa87ae2
fix(amazonq): dedupe openTabs supplemental contexts (#2172)
andrewyuq Aug 26, 2025
d7b184c
fix: fix pkce windows url path (#2173)
bywang56 Aug 27, 2025
8600c52
feat: Auto fetch models from listAvailableModels API (#2171)
laileni-aws Aug 27, 2025
23f5ec3
fix(amazonq): fix to add mcp server tool error handling and status fo…
ashishrp-aws Aug 27, 2025
08720c6
revert: reduce auto trigger frequency for VSC (#2168)" (#2177)
leigaol Aug 27, 2025
4893344
fix(amazonq): status message update for mcp tool permission accpetanc…
ashishrp-aws Aug 27, 2025
28567e3
deps: update indexing bundle to 042c98e6 (#2174)
rli Aug 27, 2025
5a3f481
feat(amazonq): emit metric for each issue (#2179)
BlakeLazarine Aug 27, 2025
b5f5373
chore(release): release packages from branch main (#2152)
github-actions[bot] Aug 27, 2025
8d5b839
chore: bump agentic version: 1.30.0
Aug 28, 2025
ecb86a0
chore: empty commit to trigger workflow
rli Aug 28, 2025
baf20b7
revert: deps: update indexing bundle to 042c98e6 (#2174) (#2183)
rli Aug 28, 2025
1c9e8a1
chore: merge agentic version 1.30.0
rli Aug 28, 2025
c53f672
fix: emit acceptedLineCount metric and AgenticCodeAccepted interactio…
tsmithsz Aug 29, 2025
852b21b
fix: auto trigger should only respect previous decisions in the past …
Will-ShaoHua Aug 29, 2025
4fd0def
chore: supplemental context log (#2185)
Will-ShaoHua Aug 29, 2025
f4e2e6e
fix: should send classifier score after taking sigmoid (#2188)
Will-ShaoHua Aug 29, 2025
b497540
perf: only process edit requests 1 at a time (#2187)
Will-ShaoHua Aug 29, 2025
66742ad
feat: passing suggestionTypes and pluginVersion/lspVersion to STE (#2…
atonaamz Aug 29, 2025
ef7d793
fix: compact UI is not updated correctly when multiple nudges are dis…
jguoamz Aug 29, 2025
fd71e6c
fix: fix calculation for num-lines contributed by the LLM (#2191)
tsmithsz Sep 2, 2025
94723d4
revert: PR 2172 dedupe openTabs supplemental contexts (#2194)
Will-ShaoHua Sep 2, 2025
58f2064
fix: emit errorMessage in addMessage (#2197)
chungjac Sep 2, 2025
cb2b9a8
chore(release): release packages from branch main (#2190)
github-actions[bot] Sep 3, 2025
34bc9bd
feat: model selection for code review tool (#2196)
mkovelam Sep 3, 2025
512502a
fix(amazonq): fix to update MCP servers list when last server is remo…
ashishrp-aws Sep 3, 2025
ab211c4
chore: merge agentic version 1.31.0 (#2205)
Will-ShaoHua Sep 3, 2025
013aa59
fix(amazonq): add IntelliSense autotriggerType (#2199)
andrewyuq Sep 4, 2025
8bde8c9
fix(amazonq): fix to correct the client for getProfile request (#2211)
ashishrp-aws Sep 5, 2025
2ddcae7
feat: add support for getSupplementalContext LSP API (#2212)
leigaol Sep 5, 2025
1222905
feat: add custom_transformation folder support to artifact.zip (#2201)
Rajanna-Karthik Sep 8, 2025
da4c3db
feat(amazonq): default to diff-based scans (#2195)
BlakeLazarine Sep 8, 2025
cf585cd
fix: potential xss issue reported in `mynah-ui` (#2209)
laileni-aws Sep 8, 2025
698d06c
fix(amazonq): update to the agent config format to bring parity with …
ashishrp-aws Sep 9, 2025
7b37cc2
fix(amazonq): add arbitrary files to clients.zip (#2217)
tsmithsz Sep 9, 2025
470492c
chore(release): release packages from branch main (#2204)
github-actions[bot] Sep 9, 2025
8e19f19
feat: feature to add iam inline suggestion support in codeWhispererse…
parameja1 Sep 9, 2025
62d48e5
feat: upgrading node version from 18 to 24 (#2226)
laileni-aws Sep 10, 2025
49a4c75
chore(release): release packages from branch main (#2225)
github-actions[bot] Sep 10, 2025
2c50e6b
build: remove node attribution from attribution/overrides.json (#2236)
rli Sep 11, 2025
5ce5189
build: fix download-node.sh (#2237)
rli Sep 11, 2025
e0941d1
chore: bump agentic version: 1.32.0 (#2246)
chungjac Sep 11, 2025
b140060
chore: bump @aws/mynah-ui to 4.36.6 (#2252)
ctlai95 Sep 15, 2025
debeb41
fix: migration from /agents ux (#2248)
laileni-aws Sep 15, 2025
4d3b938
feat: support sending requests with the 'external_idp' type (#2247)
rli Sep 15, 2025
2f6e86b
feat(amazonq): support for wildcard permissions from agent config (#2…
ashishrp-aws Sep 15, 2025
8eb3c34
feat(amazonq): semantic search tool integration (#2283)
liumofei-amazon Sep 15, 2025
a3e66f2
fix: filetype filtering and consolidation of other filtering logic du…
finncas Sep 16, 2025
6488e65
chore: bump runtimes to 0.2.129 (#2286)
tsmithsz Sep 16, 2025
264ff67
chore(release): release packages from branch main (#2282)
github-actions[bot] Sep 16, 2025
3b147b4
ci: remove condition preventing manual trigger of build actions (#2289)
tsmithsz Sep 16, 2025
905de69
chore: bump agentic version: 1.33.0 (#2293)
tsmithsz Sep 17, 2025
36f3eed
fix: quick fix for repeated logging from squashed commit (#2291)
finncas Sep 17, 2025
41c99af
fix(amazonq): support mcp config files for backwards compatbility (#2…
ashishrp-aws Sep 17, 2025
fcee77c
fix(amazonq): fix to add filewatcher for mcp config files (#2295)
ashishrp-aws Sep 17, 2025
c7a9a8e
fix(amazonq): fix for mcp permissions read/write inconsistencies (#2296)
ashishrp-aws Sep 17, 2025
d207b6e
fix: inline UTD telemetry empty cases dont differentiate Edit and Com…
Will-ShaoHua Sep 17, 2025
eb081e6
revert: inline UTD telemetry empty cases dont differentiate Edit and …
Will-ShaoHua Sep 17, 2025
8641860
fix(amazonq): fix for delete mcp for mcp config, disable and create c…
ashishrp-aws Sep 18, 2025
50dafe1
chore: profile change log is recording stale profile instead of new u…
Will-ShaoHua Sep 18, 2025
c8aa7bd
fix(amazonq): fix for legacy mcp permission consistentcy and config u…
ashishrp-aws Sep 18, 2025
60bc68d
fix(amazonq): improve messaging for code review (#2303)
BlakeLazarine Sep 19, 2025
84e2c8c
fix: inline UTD empty cases dont differentiate Edit and Completion (#…
Will-ShaoHua Sep 19, 2025
fab073c
fix(amazonq): fix to normlize workspace paths in windows (#2306)
ashishrp-aws Sep 19, 2025
f53bbdc
chore(release): release packages from branch main (#2294)
github-actions[bot] Sep 22, 2025
fe128b6
chore: bump agentic version: 1.34.0 (#2315)
ashishrp-aws Sep 23, 2025
0e215fc
feat: memory bank support (#2314)
bywang56 Sep 23, 2025
6d321ac
fix(amazonq): removing a bracket from full review message (#2317)
BlakeLazarine Sep 23, 2025
8f30ac0
fix: userTriggerDecision STE suggestionType validation error (#2313)
Will-ShaoHua Sep 23, 2025
aa1a482
fix(amazonq): fix to emit event for same region profile switch (#2320)
ashishrp-aws Sep 23, 2025
a949ac0
fix: emit error code on failed user messages (#2322)
chungjac Sep 23, 2025
b31cf67
fix(amazonq): reduce number of findings to 30 as a quick fix (#2318)
BlakeLazarine Sep 23, 2025
68c6d14
fix: inline latency telemetry should account for preprocess time (#2323)
Will-ShaoHua Sep 24, 2025
140a9c3
chore(release): release packages from branch main (#2316)
github-actions[bot] Sep 24, 2025
f0364c3
chore: bump agentic version: 1.35.0 (#2332)
ctlai95 Sep 24, 2025
5eb3768
fix(amazonq): handle IAM credentials expiration field to be aws sdk v…
parameja1 Sep 25, 2025
e7aa2a6
fix: improve history management (#2312) (#2357)
jguoamz Sep 29, 2025
961e6ca
fix(amazonq): send full finding details to plugin, partial to agent (…
BlakeLazarine Sep 29, 2025
d8733a7
fix: trim new line when emitting error message (#2359)
chungjac Sep 30, 2025
d56bfa1
fix: private package mapping during artifact generation (#2348)
cslong Sep 30, 2025
45b86be
fix(amazonq): escaping user input to mitigate xss issue (#2360)
laileni-aws Sep 30, 2025
1d9afd4
fix(amazonq): Fix mock fs clean; Node version upgrade (#2324)
aseemxs Sep 30, 2025
692e77b
fix(amazonq): fix to add opt-out header to streaming client (#2365)
ashishrp-aws Sep 30, 2025
b29478f
revert: fix to add opt-out header to streaming client (#2365) (#2370)
ashishrp-aws Oct 1, 2025
bde961f
refactor: removing some redundant code (#2364)
laileni-aws Oct 1, 2025
9f2f306
chore: merge agentic version 1.36.0 (#2371)
XiaoxuanLu Oct 1, 2025
1f6b7f7
chore(amazonq): refactor inline completion codes (#2367)
atonaamz Oct 1, 2025
3057d56
fix: optimize memory bank token usage and add new tab support (#2366)
tsmithsz Oct 1, 2025
31cd87b
chore(release): release packages from branch main (#2351)
github-actions[bot] Oct 1, 2025
8a2aa34
chore: bump agentic version: 1.37.0 (#2379)
XiaoxuanLu Oct 2, 2025
9f745a3
chore(amazonq): refactor codeWhispereServer.ts (#2373)
atonaamz Oct 2, 2025
0980351
feat(amazonq): support JupyterLab conversation history on refresh (#2…
ruotingx Oct 3, 2025
46643ba
chore(amazonq): move getTextDocument to textDocumentUtils and add tes…
atonaamz Oct 3, 2025
35f0795
fix: add in-loop compaction (#2387)
tsmithsz Oct 3, 2025
e4a1717
test(amazonq): add tests for inline utils files (#2385)
atonaamz Oct 6, 2025
ed8c6dd
feat: add model description to dropdown (#2374)
chungjac Oct 6, 2025
4f5a9da
fix: addonly EDITS should be handled as COMPLETIONS (#2133)
Will-ShaoHua Oct 7, 2025
4ce9d8f
chore(amazonq): adding test for editCompletionHandler (#2396)
atonaamz Oct 7, 2025
a908195
feat(amazonq): env var change for JupyterLab conversation history on …
ruotingx Oct 7, 2025
15d1b1f
feat(amazonq): adding classification based retry strategy for chat (#…
ashishrp-aws Oct 8, 2025
f3086d7
fix: patch #2133 and handle more variants of FIM suggestions (#2407)
Will-ShaoHua Oct 9, 2025
06fbeb2
chore(release): release packages from branch main (#2384)
github-actions[bot] Oct 9, 2025
12e089b
build: temporarily lock node.js version to 24.9.0 (#2413)
chungjac Oct 9, 2025
0e8e36d
chore: bump agentic version: 1.38.0 (#2416)
chungjac Oct 10, 2025
178deec
refactor: migrate aws-sdk v2 to v3 (#2418)
chungjac Oct 10, 2025
c96106d
fix: inline, nep telemetry not sent and throw sessionId not found (#2…
Will-ShaoHua Oct 14, 2025
e11c544
fix: set resolveProvider to false in init handler json and yaml langu…
akoreman Oct 14, 2025
ac4f2a4
chore(release): release packages from branch main (#2421)
github-actions[bot] Oct 14, 2025
088f0ba
chore: bump agentic version: 1.39.0 (#2422)
shruti0085 Oct 15, 2025
3f48b12
revert: revert for mid-loop compaction
ashishrp-aws Oct 15, 2025
6e9c384
chore(release): release packages from branch main (#2426)
github-actions[bot] Oct 15, 2025
bf9f997
chore: bump agentic version: 1.40.0 (#2427)
shruti0085 Oct 15, 2025
30b33a1
chore: bump runtimes to 0.3.1 (#2428)
XiaoxuanLu Oct 17, 2025
bee5cad
feat: send pinned context button immediately with pending state (#2353)
XiaoxuanLu Oct 17, 2025
2c33b38
feat(amazonq): add user requirement to zipfile for code review tool (…
yueny2020 Oct 20, 2025
2292bd7
feat: nep auto trigger (#2424)
Will-ShaoHua Oct 21, 2025
7420d59
fix: classifier last token sometimes fail to capture the right values…
Will-ShaoHua Oct 21, 2025
7cf19e6
chore(release): release packages from branch main (#2429)
github-actions[bot] Oct 21, 2025
a53d14e
chore: bump agentic version: 1.41.0 (#2435)
laileni-aws Oct 22, 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
4 changes: 1 addition & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
**/node_modules/**
**/out/**
server/aws-lsp-codewhisperer/src/client/sigv4/codewhisperersigv4client.d.ts
server/aws-lsp-codewhisperer/src/client/token/codewhispererbearertokenclient.d.ts
**/out/**
3 changes: 2 additions & 1 deletion .github/workflows/create-agent-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Create agent-standalone bundles
on:
push:
branches: [main, feature/*, release/agentic/*]
workflow_dispatch:

jobs:
build:
Expand All @@ -18,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-agentic-github-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'npm'

# To run a ts script to create the manifest
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/create-release-candidate-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,21 @@ jobs:
setupRcBranch:
name: Set up a Release Candidate Branch
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Sync code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commitId }}
# Use RELEASE_CANDIDATE_BRANCH_CREATION_PAT to ensure workflow triggering works
token: ${{ secrets.RELEASE_CANDIDATE_BRANCH_CREATION_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'npm'

# Needed to format the json file being checked in
Expand Down Expand Up @@ -109,15 +110,8 @@ jobs:
env:
BRANCH_NAME: ${{ steps.release-branch.outputs.BRANCH_NAME }}
RELEASE_VERSION: ${{ steps.release-version.outputs.RELEASE_VERSION }}
# We use the toolkit-automation account, basically something that
# isn't the default GitHub Token, because you cannot chain actions with that.
# In our case, after pushing a commit (below), we want create-agent-standalone.yml
# to start automatically.
REPO_PAT: ${{ secrets.RELEASE_CANDIDATE_BRANCH_CREATION_PAT }}
run: |
git config --global user.email "<>"
git config --global user.name "aws-toolkit-automation"
# Configure git to use the PAT token for authentication
git remote set-url origin "https://x-access-token:${REPO_PAT}@github.com/${{ github.repository }}.git"
git commit -m "chore: bump agentic version: $RELEASE_VERSION"
git commit --no-verify -m "chore: bump agentic version: $RELEASE_VERSION"
git push --set-upstream origin "$BRANCH_NAME"
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 24
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lsp-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Language Server CI
on:
push:
branches: [main, dev, feature/*]
branches: [main, dev, feature/*, release/agentic/*]
pull_request:
branches: [main, dev, feature/*]
branches: [main, dev, feature/*, release/agentic/*]

jobs:
test:
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
- name: Build
run: |
npm ci
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
- name: Build
run: |
npm ci
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
- name: Build
run: |
npm ci
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
- name: Build
run: |
npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-packaging.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: NPM Packaging
on:
push:
branches: [main, dev, feature/*]
branches: [main, dev, feature/*, release/agentic/*]
pull_request:
branches: [main, dev, feature/*]
branches: [main, dev, feature/*, release/agentic/*]

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
- name: Install dependencies
run: npm ci
- name: Build all monorepo packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
scope: '@aws'
if: ${{ fromJson(steps.release.outputs.releases_created) }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build
**/*.tgz
!core/codewhisperer-streaming/amzn-codewhisperer-streaming-*.tgz
!core/q-developer-streaming-client/amzn-amazon-q-developer-streaming-client-*.tgz
!core/codewhisperer-runtime/amzn-codewhisperer-runtime-*.tgz
!core/codewhisperer/amzn-codewhisperer-*.tgz
!server/aws-lsp-codewhisperer/types/types-local-indexing-*.tgz

.testresults/**
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ node_modules/
out/
**/bin/
**/obj/
server/aws-lsp-codewhisperer/src/client/sigv4/codewhisperersigv4client.d.ts
server/aws-lsp-codewhisperer/src/client/token/codewhispererbearertokenclient.d.ts
**/*.md
**/antlr-generated/
14 changes: 7 additions & 7 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"chat-client": "0.1.32",
"core/aws-lsp-core": "0.0.13",
"server/aws-lsp-antlr4": "0.1.17",
"server/aws-lsp-codewhisperer": "0.0.73",
"server/aws-lsp-json": "0.1.17",
"server/aws-lsp-partiql": "0.0.16",
"server/aws-lsp-yaml": "0.1.17"
"chat-client": "0.1.40",
"core/aws-lsp-core": "0.0.16",
"server/aws-lsp-antlr4": "0.1.20",
"server/aws-lsp-codewhisperer": "0.0.87",
"server/aws-lsp-json": "0.1.21",
"server/aws-lsp-partiql": "0.0.18",
"server/aws-lsp-yaml": "0.1.21"
}
8 changes: 4 additions & 4 deletions app/aws-lsp-antlr4-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"webpack": "webpack"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.123",
"@aws/language-server-runtimes": "^0.3.1",
"@aws/lsp-antlr4": "*",
"antlr4-c3": "^3.4.1",
"antlr4ng": "^3.0.4"
"antlr4-c3": "^3.4.2",
"antlr4ng": "^3.0.14"
},
"devDependencies": {
"@types/chai": "^4.3.5",
Expand All @@ -26,7 +26,7 @@
"chai-as-promised": "^7.1.1",
"mocha": "^11.0.1",
"ts-loader": "^9.4.4",
"ts-lsp-client": "^1.0.3",
"ts-lsp-client": "1.0.3",
"webpack": "^5.94.0",
"webpack-cli": "^6.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion app/aws-lsp-buildspec-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"compile": "tsc --build"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.123",
"@aws/language-server-runtimes": "^0.3.1",
"@aws/lsp-buildspec": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion app/aws-lsp-cloudformation-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"compile": "tsc --build"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.123",
"@aws/language-server-runtimes": "^0.3.1",
"@aws/lsp-cloudformation": "^0.0.1"
}
}
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
3 changes: 2 additions & 1 deletion app/aws-lsp-codewhisperer-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"local-build": "node scripts/local-build.js"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.123",
"@aws/language-server-runtimes": "^0.3.1",
"@aws/lsp-codewhisperer": "*",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
Expand All @@ -35,6 +35,7 @@
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"url": "^0.11.4",
"vscode-languageserver": "^9.0.1",
"wdio": "^6.0.1",
"webpack-dev-server": "^5.2.0"
Expand Down
28 changes: 15 additions & 13 deletions app/aws-lsp-codewhisperer-runtimes/scripts/download-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@
# build/node-assets, which is picked up
# by src/scripts/copy-node-assets.ts, to produce the final bundle.

set -e
NODE_VERSION="18"
BASE_URL="https://nodejs.org/download/release/latest-v${NODE_VERSION}.x"
set -eo pipefail
NODE_VERSION="24"
BASE_URL="https://nodejs.org/download/release/v24.9.0"
SHASUMS_FILE="SHASUMS256.txt"
ASSETS_DIR="build/node-assets"

# Download SHASUMS256.txt
wget -q "$BASE_URL/$SHASUMS_FILE" -O "$SHASUMS_FILE"
curl -s "$BASE_URL/$SHASUMS_FILE" -o "$SHASUMS_FILE"

# Extract exact Node.js version from any entry in SHASUMS256.txt
NODE_SEMVER=$(grep -o 'node-v[0-9]*\.[0-9]*\.[0-9]*' SHASUMS256.txt | head -1 | cut -d'v' -f2)
# NODE_SEMVER=$(grep -o 'node-v[0-9]*\.[0-9]*\.[0-9]*' SHASUMS256.txt | head -1 | cut -d'v' -f2)

# temporarily lock node.js version to 24.9.0 due to https://github.com/nodejs/node/issues/60176
NODE_SEMVER="24.9.0"

if [ -z "$NODE_SEMVER" ]; then
echo "Failed to extract Node.js version from SHASUMS256.txt"
Expand Down Expand Up @@ -47,7 +50,7 @@ for actual_file in "${EXPECTED_FILES[@]}"; do

echo "Updating $actual_file"
mkdir -p "$(dirname "$filepath")"
wget -q "$BASE_URL/$actual_file" -O $filepath
curl -s "$BASE_URL/$actual_file" -o "$filepath"
else
echo "Warning: $actual_file not found in SHASUMS256.txt"
fi
Expand All @@ -58,7 +61,7 @@ LICENSE_URL="https://raw.githubusercontent.com/nodejs/node/v${NODE_SEMVER}/LICEN
LICENSE_FILE="$ASSETS_DIR/LICENSE"

echo "Fetching Node.js license from $LICENSE_URL"
wget -q "$LICENSE_URL" -O "$LICENSE_FILE"
curl -s "$LICENSE_URL" -o "$LICENSE_FILE"

# Verify the license file was downloaded successfully
if [ ! -s "$LICENSE_FILE" ]; then
Expand All @@ -69,9 +72,6 @@ fi

echo "License file has been updated in $LICENSE_FILE"

# Read the escaped license text
LICENSE_TEXT=$(cat "$LICENSE_FILE")

# Update the attribution overrides file
ATTRIBUTION_FILE="../../attribution/overrides.json"

Expand All @@ -86,12 +86,14 @@ fi
jq --indent 4 \
--arg name "Node.js" \
--arg version "$NODE_SEMVER" \
--arg licenseText "$LICENSE_TEXT" \
--rawfile licenseText "$LICENSE_FILE" \
--arg url "https://github.com/nodejs/node" \
--arg license "MIT" \
'.node.name = $name | .node.version = $version | .node.url = $url | .node.license = $license | .node.licenseText = $licenseText' \
"$ATTRIBUTION_FILE" > "$ATTRIBUTION_FILE.tmp" && mv "$ATTRIBUTION_FILE.tmp" "$ATTRIBUTION_FILE"
"$ATTRIBUTION_FILE" > "$ATTRIBUTION_FILE.tmp"

mv "$ATTRIBUTION_FILE.tmp" "$ATTRIBUTION_FILE"
echo "Successfully updated Node.js version and license in $ATTRIBUTION_FILE"

# Cleanup
rm -f "$SHASUMS_FILE"
rm -f "$SHASUMS_FILE"
12 changes: 12 additions & 0 deletions app/aws-lsp-codewhisperer-runtimes/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ TARGET_BUILD_DIR=./build/private/bundle/client
mkdir -p $TARGET_BUILD_DIR
cp -r $CHAT_CLIENT_BUNDLE_DIR/* $TARGET_BUILD_DIR

# Add benign files to avoid single-file archive flagging
echo "Amazon Q Developer UI Bundle - $(date)" > $TARGET_BUILD_DIR/README.txt
echo "This archive contains UI assets for Amazon Q Developer." >> $TARGET_BUILD_DIR/README.txt
cat > $TARGET_BUILD_DIR/client-metadata.json << EOF
{
"name": "amazonq-ui-bundle",
"description": "UI assets for Amazon Q Developer",
"main": "amazonq-ui.js",
"dateCreated": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
}
EOF

# ZIP client files
ARCHIVES_DIR=./build/archives
mkdir -p $ARCHIVES_DIR/shared
Expand Down
4 changes: 2 additions & 2 deletions app/aws-lsp-codewhisperer-runtimes/src/agent-standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
AmazonQServiceServerIAM,
AmazonQServiceServerToken,
CodeWhispererSecurityScanServerTokenProxy,
CodeWhispererServerTokenProxy,
CodeWhispererServer,
QAgenticChatServerProxy,
QConfigurationServerTokenProxy,
QLocalProjectContextServerProxy,
Expand All @@ -25,7 +25,7 @@ const version = versionJson.agenticChat
const props = {
version: version,
servers: [
CodeWhispererServerTokenProxy,
CodeWhispererServer,
CodeWhispererSecurityScanServerTokenProxy,
QConfigurationServerTokenProxy,
QNetTransformServerTokenProxy,
Expand Down
Loading
Loading