Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
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
d030288
fix: add venv in the common gitignore patterns (#2445)
XiaoxuanLu Oct 28, 2025
82e2340
fix: strenghen NEP trigger conditions (#2438)
Will-ShaoHua Oct 28, 2025
6663f87
fix: enforce MAX_TOOL_NAME_LENGTH check in createNamespacedToolName (…
ashishrp-aws Oct 28, 2025
db777f8
chore(release): release packages from branch main (#2446)
github-actions[bot] Oct 28, 2025
550e0ea
chore: bump agentic version: 1.42.0 (#2451)
Will-ShaoHua Oct 29, 2025
11900ca
fix(amazonq): mcp tool panel blocks amazon q chat interface when usin…
laileni-aws Oct 30, 2025
44df68d
build: migrate npm publishing to OIDC trusted publishers (#2458)
chungjac Nov 4, 2025
f4d434f
chore: update indexing bundle to 69c7a79c (#2460)
XiaoxuanLu Nov 4, 2025
e29f1e4
chore(release): release packages from branch main (#2452)
github-actions[bot] Nov 4, 2025
9e08fe1
chore: bump agentic version: 1.43.0 (#2463)
Will-ShaoHua Nov 5, 2025
e72fef6
chore: add a dummy package in the server bundle (#2472)
XiaoxuanLu Nov 10, 2025
4b68eea
feat: differentiate implicit and explicit reject for inline completio…
bywang56 Nov 10, 2025
d28867f
feat: ab test setup for new repomap strategy (#2474)
Will-ShaoHua Nov 11, 2025
940da04
chore: update indexing bundle to 4f4fd25d (#2478)
Will-ShaoHua Nov 11, 2025
417e508
chore: patch d28867f PR #2474 (#2481)
Will-ShaoHua Nov 12, 2025
bfd2780
chore: patch 940da04 PR #2478 (#2482)
Will-ShaoHua Nov 12, 2025
7e2707b
fix: McpManager not initialized error (#2479)
laileni-aws Nov 12, 2025
da7a1d7
chore: fix and update indexing lib assets (#2485)
Will-ShaoHua Nov 12, 2025
376a690
chore(release): release packages from branch main (#2476)
github-actions[bot] Nov 12, 2025
0f9703a
chore: bump agentic version: 1.44.0 (#2487)
Will-ShaoHua Nov 13, 2025
ec6771f
fix: bearer client will not pick up telemetry optout and its always o…
Will-ShaoHua Nov 13, 2025
b2f5cc6
chore(release): release packages from branch main (#2490)
github-actions[bot] Nov 13, 2025
2c0d3da
chore: bump agentic version: 1.45.0 (#2491)
manodnyab Nov 14, 2025
b3efa7c
fix(amazonq): handle large results (#2497)
BlakeLazarine Nov 18, 2025
8ccb067
fix: resolve broken error handling in setPaidTierMode (#2500)
breedloj Nov 18, 2025
ceda1d3
chore(release): release packages from branch main (#2498)
github-actions[bot] Nov 18, 2025
6fb9eed
chore: bump agentic version: 1.46.0
Nov 18, 2025
9fddc8e
fix: incorrect error reference in previous fix
breedloj Nov 18, 2025
5d6590a
fix: resolve process crash when managing BID subscription (#2501)
rli Nov 18, 2025
30e28b7
fix(amazonq): prevent base64 encoding error by passing undefined inst…
laileni-aws Nov 18, 2025
e8d4bf5
feat(amazonq): adding MCP registry for governance for Amazon Q (#2512)
ashishrp-aws Nov 20, 2025
49ca3bb
fix: preserve registry server config when updating permissions (#2515)
ashishrp-aws Nov 21, 2025
0c38085
chore(release): release packages from branch main (#2505)
github-actions[bot] Nov 21, 2025
7db0277
chore: bump agentic version: 1.47.0 (#2516)
chungjac Nov 21, 2025
ef86b5c
fix: fix for permission update for servers (#2517)
ashishrp-aws Nov 21, 2025
d15c421
chore(release): release packages from branch main (#2518)
github-actions[bot] Nov 21, 2025
1eb3910
chore: bump agentic version: 1.47.1 (#2519)
ashishrp-aws Nov 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: 1 addition & 2 deletions .github/workflows/create-agent-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor_id == github.repository_owner_id

steps:
- name: Checkout repository
Expand All @@ -20,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
2 changes: 1 addition & 1 deletion .github/workflows/create-release-candidate-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- 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
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
8 changes: 4 additions & 4 deletions .github/workflows/lsp-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/npm-packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
24 changes: 2 additions & 22 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

permissions:
id-token: write # This is required for requesting the JWT (aws-actions/configure-aws-credentials)
id-token: write # Required for OIDC authentication with npm
contents: write # to create release commit (google-github-actions/release-please-action)
pull-requests: write # to create release PR (google-github-actions/release-please-action)

Expand All @@ -31,34 +31,14 @@ jobs:
persist-credentials: false
if: ${{ fromJson(steps.release.outputs.releases_created) }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::935785792371:role/GithubNpmPublishAction
role-session-name: language-servers-github
aws-region: us-east-1
if: ${{ fromJson(steps.release.outputs.releases_created) }}

- name: Get npm access token
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
npmjs/github_automation
parse-json-secrets: true
if: ${{ fromJson(steps.release.outputs.releases_created) }}

- 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) }}

- name: Set token
run: echo "NODE_AUTH_TOKEN=${{ env.NPMJS_GITHUB_AUTOMATION_TOKEN }}" >> $GITHUB_ENV
if: ${{ fromJson(steps.release.outputs.releases_created) }}

- name: Compile and test packages
run: |
npm clean-install
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.33",
"core/aws-lsp-core": "0.0.14",
"server/aws-lsp-antlr4": "0.1.18",
"server/aws-lsp-codewhisperer": "0.0.75",
"server/aws-lsp-json": "0.1.18",
"server/aws-lsp-partiql": "0.0.17",
"server/aws-lsp-yaml": "0.1.18"
"chat-client": "0.1.42",
"core/aws-lsp-core": "0.0.17",
"server/aws-lsp-antlr4": "0.1.21",
"server/aws-lsp-codewhisperer": "0.0.93",
"server/aws-lsp-json": "0.1.22",
"server/aws-lsp-partiql": "0.0.19",
"server/aws-lsp-yaml": "0.1.22"
}
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.127",
"@aws/language-server-runtimes": "0.3.6",
"@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.127",
"@aws/language-server-runtimes": "0.3.6",
"@aws/lsp-buildspec": "^0.0.1"
}
}
3 changes: 2 additions & 1 deletion app/aws-lsp-buildspec-runtimes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const props: BuildspecServerProps = {
}

async function getFileAsync(url: string): Promise<string> {
return await httpsUtils.requestContent(url)
const response = await httpsUtils.requestContent(url)
return response.content
}

export const server = new BuildspecServer(props)
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.127",
"@aws/language-server-runtimes": "0.3.6",
"@aws/lsp-cloudformation": "^0.0.1"
}
}
3 changes: 2 additions & 1 deletion app/aws-lsp-cloudformation-runtimes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const props: CloudFormationServerProps = {
}

async function getFileAsync(url: string): Promise<string> {
return await httpsUtils.requestContent(url)
const response = await httpsUtils.requestContent(url)
return response.content
}

export const server = new CloudFormationServer(props)
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.127",
"@aws/language-server-runtimes": "0.3.6",
"@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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"//": [
"https://nodejs.org/api/packages.html#determining-module-system",
"This file is included with the Flare distribution to serve as the 'nearest parent package.json file' to force Node.js to treat Flare as CommonJS.",
"Otherwise, startup may fail when Node.js incorrectly decides to use the ES module loader instead of CJS due to user's home directory structure"
],
"type": "commonjs"
}
13 changes: 13 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 Expand Up @@ -105,6 +117,7 @@ done
cd ./build/private/bundle
for config in "${configs[@]}"; do
cd ${config}
cp -r ../../../../scripts/dummy-package.json ./package.json
zip -r ../../../../$ARCHIVES_DIR/${config}/win-x64/servers.zip .
zip -r ../../../../$ARCHIVES_DIR/${config}/linux-x64/servers.zip .
zip -r ../../../../$ARCHIVES_DIR/${config}/mac-x64/servers.zip .
Expand Down
Loading
Loading