Skip to content

Commit 3be59f8

Browse files
ashishrp-awsleigaolctlai95Will-ShaoHuaBlakeLazarine
authored
merge main into feature branch (#2228)
* fix: Use file context override in the inline completion params for Jupyter Notebook (#2114) * feat(amazonq): read tool ui revamp (#2113) (#2121) * feat(amazonq): read tool ui revamp * feat(amazonq): read tool message revamp (#2049) * feat(amazonq): read tool message revamp * fix tests * feat: file search ui (#2078) * feat: file search ui * fix tests * fix integration tests * remove unnecessary type check * fix: use quotes instead of backticks * fix header update issue * fix integration test * refactor: improve generateCompletion logging format (#2125) * fix(amazonq): handle case where multiple rules are provided with the same name (#2118) * fix(amazonq): handle case where multiple rules are provided with the same name * fix(amazonq): add unit test for duplicate custom guidelines * fix(amazonq): add unit test for processToolUses * fix(amazonq): set context type for AmazonQ.md to rule * fix(amazonq): add README.md back as rule context type --------- Co-authored-by: Blake Lazarine <[email protected]> * perf: remove edit completion retry mechanism on document change (#2124) * ci: remove need for custom PAT for release branch workflow (#2126) The token from GitHub Actions is sufficient * fix: proper path handling for additional context (#2129) * fix: proper pathing for additonal context * fix: update existing tests to also mock path.join() * fix(amazonq): fix regression of mcp config in agent config (#2101) * fix(amazonq): update process-permission-updates to be the same as previous behavior * fix(chat-client): update package.json chat-client to prod * fix(amazonq): retain mcp permissions after disable/enable server * fix: dont call initOneServer on Built-in * fix: deny permission does not persist after restart IDE --------- Co-authored-by: Boyu <[email protected]> * feat: remove project type validation from LSP layer (#2103) * feat: remove project type validation from LSP layer * refactor: remove unused validation functions from LSP layer * fix: fix for button text and remove profilearn caching (#2137) * chore: bump runtimes to 0.2.126 (#2138) * fix: fix to add disk caching for mcp admin state (#2139) * fix: fix to add disk caching for mcp admin state * fix: fix to add logging * fix: fix to initialize mcpManager in any case and discover servers based on mcpState * fix: fix for unit test failure * refactor: cleanup old nep code path which is no longered being used in codewhispererServer.ts (#2141) * fix(amazonq): add server side control for WCS features (#2128) Co-authored-by: Jiatong Li <[email protected]> * chore: update STE userContext version metadata (#2142) * fix: fix to turn on and off MCP servers incase of error based on last state (#2143) Co-authored-by: Laxman Reddy <[email protected]> * fix: empty userTriggerDecision not being sent for NEP code path (#2140) * refactor: clean up old NEP code path which is no longer used * fix: empty userTriggerDecision not being sent for NEP code path * test: disable telemetry test temporarily * fix: patch * revert: a * revert: a * chore(release): release packages from branch main (#2117) * fix(amazonq): don't let flare send discard for the still valid suggestion in JB (#2145) * fix(amazonq): don't let flare send discard for the still valid suggestion in JB if a valid sessionId is returned back to JB, JB will eventually send a decision for it, but when user types a character to reject the current suggestion, on JB side it will 1) send reject for the current one 2) send a new trigger for the latest context. 2) will happen before 1) which will discard the current active session on flare's end. We don't want flare to do that for JB. * fix(amazonq): createSession doesn't need to close the previous session it should be handled together with telemetry reporting * fix(amazonq): fix test * fix(amazonq): test fix attempt * fix(amazonq): test fix attempt * chore(release): release packages from branch main (#2149) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: merge agentic version 1.29.0 (#2151) * chore: bump agentic version: 1.29.0 * chore: empty commit to start Github Action (#2150) --------- Co-authored-by: aws-toolkit-automation <> * feat: add basic OAuth client for remote MCP (#2136) * feat: add basic mcp oauth client * fix: relax condition for triggering oauth flow; add resilience checks for as availability * feat: add unit test for auth client * fix: multiple fixes for remote mcp error and timeout * fix: adding streakTracker to track streakLength across Completions and Edits (#2147) * feat: disable pkce flow during plugin load (#2153) * chore: bump runtimes to 0.2.127 (#2156) * fix: multiple fixes on auth flow edge cases (#2155) * feat: update MCP manager and utilities (#2158) Co-authored-by: Boyu <[email protected]> * fix(amazonq): disable typewriter animation (#2160) * ci: generation of builds action can be triggered manually (#2157) Co-authored-by: Laxman Reddy <[email protected]> * fix(amazonq): fix for mcp servers operations to edit server config only (#2165) * fix(amazonq): fix for mcp servers operations to edit server specific config * fix(amazonq): additional mcp server config fixes * fix: resolve test failures * fix: update MCP manager configuration * fix: allow ci to run on release branches (#2159) Currently release/agentic/* branches used in our release process have rules that require CI to be run. However the corresponding workflows do not actually trigger for release branches. This change ensures no manual overrides are required in the release process and CI mapped with the branch actually runs. * fix: reduce auto trigger frequency for VSC (#2168) * fix: reduce auto trigger frequency for VSC * fix: skip one unit test * fix: skip unit test --------- Co-authored-by: Laxman Reddy <[email protected]> * fix(amazonq): dedupe openTabs supplemental contexts (#2172) * fix: fix pkce windows url path (#2173) * feat: Auto fetch models from listAvailableModels API (#2171) * Updating the model of listAvailableModels (#2064) * fix(amazonq): fix flickering issue for model selection dropdown and agenticCoding toggle (#2065) * fix(amazonq): fix flickering issue for modelId and agenticCoding * fix(amazonq): Fixing flaky tests * feat(amazonq): Fetching models from backend and adding cache implementation. (#2075) * fix: removing and refactoring legacy code before implementing model selection * feat(amazonq): adding cache implementation and fetching models from listAvailableModels api * feat(amazonq): adding selected model in error case * feat(amazonq): adding test cases * fix: addressing comments * fix: fixing test cases and adding modelName to models * fix: minor edits * fix: minor edits * fix: minor modifications in logs * fix: adding default model if api throws any errors * fix: refactoring code * fix: Improve model selection fallback logic when user's preferred model is unavailable (#2089) * fix: if user preferred model does not exist, fall back to default model * fix: minor test changes * fix: to support backward compatibility for vs and eclipse, adding back modelSelection in chat-client (#2095) * fix: check available models from backend before selecting default model from fallback models (#2102) * feat(amazonq): use model display names (#2123) * fix: cached model list should be invalidated on sign out (#2131) * fix: cached model list should be invalidated on sign out * fix test * avoid throwing error * fix: adding default modelId and setting cache ttl to 30 minutes (#2161) * fix: adding defaultmodelId and setting cache ttl to 30 minutes * fix: fixing tests * fix: updating comments * Updating the model of listAvailableModels (#2064) * fix(amazonq): fix flickering issue for model selection dropdown and agenticCoding toggle (#2065) * fix(amazonq): fix flickering issue for modelId and agenticCoding * fix(amazonq): Fixing flaky tests * feat(amazonq): Fetching models from backend and adding cache implementation. (#2075) * fix: removing and refactoring legacy code before implementing model selection * feat(amazonq): adding cache implementation and fetching models from listAvailableModels api * feat(amazonq): adding selected model in error case * feat(amazonq): adding test cases * fix: addressing comments * fix: fixing test cases and adding modelName to models * fix: minor edits * fix: minor edits * fix: minor modifications in logs * fix: adding default model if api throws any errors * fix: refactoring code * fix: Improve model selection fallback logic when user's preferred model is unavailable (#2089) * fix: if user preferred model does not exist, fall back to default model * fix: minor test changes * fix: to support backward compatibility for vs and eclipse, adding back modelSelection in chat-client (#2095) * fix: check available models from backend before selecting default model from fallback models (#2102) * feat(amazonq): use model display names (#2123) * fix: cached model list should be invalidated on sign out (#2131) * fix: cached model list should be invalidated on sign out * fix test * avoid throwing error * fix: adding default modelId and setting cache ttl to 30 minutes (#2161) * fix: adding defaultmodelId and setting cache ttl to 30 minutes * fix: fixing tests * fix: updating comments * fix: lint issue while resolving merge conflicts --------- Co-authored-by: Tai Lai <[email protected]> * fix(amazonq): fix to add mcp server tool error handling and status for card (#2176) Co-authored-by: Laxman Reddy <[email protected]> * revert: reduce auto trigger frequency for VSC (#2168)" (#2177) This reverts commit 00e11ff. * fix(amazonq): status message update for mcp tool permission accpetance (#2178) * deps: update indexing bundle to 042c98e6 (#2174) 042c98e6: optimizing memory usage in Indexing * feat(amazonq): emit metric for each issue (#2179) Need to emit a metric for each issue found by the agentic reviewer to reach parity with old behavior. * chore(release): release packages from branch main (#2152) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: bump agentic version: 1.30.0 * chore: empty commit to trigger workflow * revert: deps: update indexing bundle to 042c98e6 (#2174) (#2183) This reverts commit 28567e3. indexing bundle contains a crypto polyfill that is needed for some reason * fix: emit acceptedLineCount metric and AgenticCodeAccepted interaction type (#2167) * fix: auto trigger should only respect previous decisions in the past 2mins (#2189) * chore: supplemental context log (#2185) * fix: should send classifier score after taking sigmoid (#2188) * perf: only process edit requests 1 at a time (#2187) * feat: passing suggestionTypes and pluginVersion/lspVersion to STE (#2180) * fix: compact UI is not updated correctly when multiple nudges are displayed (#2192) * fix: fix calculation for num-lines contributed by the LLM (#2191) * revert: PR 2172 dedupe openTabs supplemental contexts (#2194) This reverts commit aa87ae2. * fix: emit errorMessage in addMessage (#2197) * emit errorMessage in addMessage * fix: emit errorMessage in addMessage * chore(release): release packages from branch main (#2190) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat: model selection for code review tool (#2196) * feat: enabling model selection for code review tool * feat: added unit test for model selection for code review tool * fix: making modelId required for codeReviewTool in input schema validation * fix: fixing unit tests --------- Co-authored-by: Laxman Reddy <[email protected]> * fix(amazonq): fix to update MCP servers list when last server is removed from agent config (#2206) * chore: merge agentic version 1.31.0 (#2205) * chore: bump agentic version: 1.31.0 * chore: empty commit to trigger release workflow (#2203) --------- Co-authored-by: aws-toolkit-automation <> * fix(amazonq): add IntelliSense autotriggerType (#2199) * fix(amazonq): fix to correct the client for getProfile request (#2211) * fix(amazonq): fix to correct the client for getProfile request * fix(amazonq): removed unneccessary constructor objects * fix: fix to add assigned VARs in unit tests * feat: add support for getSupplementalContext LSP API (#2212) * feat: add supplemental context API * feat: add supplemental context API support * feat: add custom_transformation folder support to artifact.zip (#2201) * feat: add custom_transformation folder support to artifact.zip * feat: add custom transformation folder support with async file operations * fix: improve custom transformation folder access logging message --------- Co-authored-by: huawenm <[email protected]> * feat(amazonq): default to diff-based scans (#2195) * feat(amazonq): default to diff-based scans * feat(amazonq): make /review behavior clearly show it is a diff scan * fix(amazonq): clean up commented lines * fix(amazonq): fix maximum finding count in CodeReview tool description * fix(amazonq): improve messaging for diff vs full scans * feat(amazonq): have codeReview tool ask for clarification if it is not sure what scope to review * feat(amazonq): when there is no diff, fall back to a full review * Update chat-client/src/client/mynahUi.ts Co-authored-by: Tai Lai <[email protected]> * fix(amazonq): fix test * fix(amazonq): fix another test --------- Co-authored-by: Blake Lazarine <[email protected]> Co-authored-by: Tai Lai <[email protected]> * fix: potential xss issue reported in `mynah-ui` (#2209) * fix: potential xss issue * fix: addressing comments * fix: unescaping the history message while opening history tab * fix(amazonq): update to the agent config format to bring parity with Q CLI (#2202) * fix(amazonq): add arbitrary files to clients.zip (#2217) * chore(release): release packages from branch main (#2204) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: chungjac <[email protected]> * feat: feature to add iam inline suggestion support in codeWhispererservice (#2223) * Sync feature smus inline suggestions branch from main commits (#2109) * fix(amazonq): leverage lcs to find the chars added and removed (#2092) * fix: update client name to support Sagemaker AI origin for agentic chat (#2093) Co-authored-by: chungjac <[email protected]> * chore(release): release packages from branch main (#2073) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: format version.json after incrementing (#2068) * chore: merge agentic version 1.27.0 (#2107) * Bump agentic version: 1.27.0 * Revert "feat(amazonq): read tool ui revamp" This reverts commit c65428b. * fix: the style in version json (#2106) --------- Co-authored-by: aws-toolkit-automation <> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: Christopher Christou <[email protected]> * fix(amazonq): persist mcp configs in agent json on start-up (#2112) --------- Co-authored-by: andrewyuq <[email protected]> Co-authored-by: chungjac <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Christopher Christou <[email protected]> Co-authored-by: Sherry Lu <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: Dung Dong <[email protected]> * feat(amazonq): Integrate IAM Auth support for InlineSuggestions in Flare (#2134) * Chore: Sync test smus branch with main branch commits (#2097) * fix(amazonq): skips continuous monitoring when WCS sees workspace as idle (#2066) * fix(amazonq): skips continuous monitoring when WCS sees workspace as idle * fix(amazonq): skips creating remote workspace at the start --------- Co-authored-by: Jiatong Li <[email protected]> * fix: sessionManager misused because there are 2 types of manager now (#2090) * chore: mapping adt plugin to abap to let inline suggestion work (#2085) * chore: support inline suggestion in adt plugin for eclipse * fix: add import URI * chore: add detailed error description for uri is empty for language id * feat(amazonq): read tool ui revamp * feat(amazonq): read tool message revamp (#2049) * feat(amazonq): read tool message revamp * fix tests * feat: file search ui (#2078) * feat: file search ui * fix tests * fix integration tests * remove unnecessary type check * fix: use quotes instead of backticks * fix: creating a new sesion for Edits trigger with next token (#2094) * chore: bump @aws/mynah-ui to 4.36.4 (#2096) --------- Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Will Lo <[email protected]> Co-authored-by: Sherry Lu <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: atontb <[email protected]> * feat(amazonq): add inline suggestion support for iam auth client * fix(amazonq): skips continuous monitoring when WCS sees workspace as idle (#2066) * fix(amazonq): skips continuous monitoring when WCS sees workspace as idle * fix(amazonq): skips creating remote workspace at the start --------- Co-authored-by: Jiatong Li <[email protected]> * fix: sessionManager misused because there are 2 types of manager now (#2090) * chore: mapping adt plugin to abap to let inline suggestion work (#2085) * fix(amazonq): leverage lcs to find the chars added and removed (#2092) * fix: update client name to support Sagemaker AI origin for agentic chat (#2093) Co-authored-by: chungjac <[email protected]> * chore(release): release packages from branch main (#2073) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: fix test failures in merge due to missing init of IdleWorkspaceManager --------- Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Will Lo <[email protected]> Co-authored-by: Sherry Lu <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: atontb <[email protected]> Co-authored-by: andrewyuq <[email protected]> Co-authored-by: chungjac <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: invictus <[email protected]> * fix: add unit tests for IAM flow, remove redundant logs added for testing * fix: file formatting * fix: rebase from main, clean up redundant logs * fix: remove old code refs and debug logs * feat: use cw proxy server based on iam auth logic check * fix: todo comment and unused imports * fix: update codewhisperer server to use proper manager based on iam auth logic check * feat: create new codewhisperer server instance with dynamic service manager logic and add unit tests * fix: address pr comments, fix unit tests as per updated service manager logic --------- Co-authored-by: andrewyuq <[email protected]> Co-authored-by: chungjac <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Christopher Christou <[email protected]> Co-authored-by: Sherry Lu <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: Dung Dong <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Will Lo <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: atontb <[email protected]> Co-authored-by: invictus <[email protected]> Co-authored-by: Laxman Reddy <[email protected]> * feat: upgrading node version from 18 to 24 (#2226) * feat: upgrade node version to 24 * fix: adding node 24 to overrides.json and using curl instead wget * fix: update to package-lock.json --------- Co-authored-by: Lei Gao <[email protected]> Co-authored-by: Tai Lai <[email protected]> Co-authored-by: Will Lo <[email protected]> Co-authored-by: BlakeLazarine <[email protected]> Co-authored-by: Blake Lazarine <[email protected]> Co-authored-by: Richard Li <[email protected]> Co-authored-by: chungjac <[email protected]> Co-authored-by: Dung Dong <[email protected]> Co-authored-by: Boyu <[email protected]> Co-authored-by: Rajanna-Karthik <[email protected]> Co-authored-by: tsmithsz <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Jiatong Li <[email protected]> Co-authored-by: Laxman Reddy <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: andrewyuq <[email protected]> Co-authored-by: manodnyab <[email protected]> Co-authored-by: atontb <[email protected]> Co-authored-by: Shruti Sinha <[email protected]> Co-authored-by: aws-toolkit-automation <> Co-authored-by: Richard Li <[email protected]> Co-authored-by: Jason Guo <[email protected]> Co-authored-by: mkovelam <[email protected]> Co-authored-by: huawenm <[email protected]> Co-authored-by: Jayakrishna P <[email protected]> Co-authored-by: Christopher Christou <[email protected]> Co-authored-by: Sherry Lu <[email protected]> Co-authored-by: Tai Lai <[email protected]>
1 parent 4fe7b20 commit 3be59f8

File tree

135 files changed

+4679
-1846
lines changed

Some content is hidden

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

135 files changed

+4679
-1846
lines changed

.github/workflows/create-agent-standalone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: Create agent-standalone bundles
33
on:
44
push:
55
branches: [main, feature/*, release/agentic/*]
6+
workflow_dispatch:
67

78
jobs:
89
build:
910
runs-on: ubuntu-latest
11+
if: github.event_name == 'push' || github.actor_id == github.repository_owner_id
1012

1113
steps:
1214
- name: Checkout repository

.github/workflows/create-release-candidate-branch.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ jobs:
2828
setupRcBranch:
2929
name: Set up a Release Candidate Branch
3030
runs-on: ubuntu-latest
31+
permissions:
32+
contents: write
3133

3234
steps:
3335
- name: Sync code
3436
uses: actions/checkout@v4
3537
with:
3638
ref: ${{ inputs.commitId }}
37-
# Use RELEASE_CANDIDATE_BRANCH_CREATION_PAT to ensure workflow triggering works
38-
token: ${{ secrets.RELEASE_CANDIDATE_BRANCH_CREATION_PAT }}
39+
token: ${{ secrets.GITHUB_TOKEN }}
3940
persist-credentials: true
4041

4142
- name: Setup Node.js
@@ -109,15 +110,8 @@ jobs:
109110
env:
110111
BRANCH_NAME: ${{ steps.release-branch.outputs.BRANCH_NAME }}
111112
RELEASE_VERSION: ${{ steps.release-version.outputs.RELEASE_VERSION }}
112-
# We use the toolkit-automation account, basically something that
113-
# isn't the default GitHub Token, because you cannot chain actions with that.
114-
# In our case, after pushing a commit (below), we want create-agent-standalone.yml
115-
# to start automatically.
116-
REPO_PAT: ${{ secrets.RELEASE_CANDIDATE_BRANCH_CREATION_PAT }}
117113
run: |
118114
git config --global user.email "<>"
119115
git config --global user.name "aws-toolkit-automation"
120-
# Configure git to use the PAT token for authentication
121-
git remote set-url origin "https://x-access-token:${REPO_PAT}@github.com/${{ github.repository }}.git"
122-
git commit -m "chore: bump agentic version: $RELEASE_VERSION"
116+
git commit --no-verify -m "chore: bump agentic version: $RELEASE_VERSION"
123117
git push --set-upstream origin "$BRANCH_NAME"

.github/workflows/lsp-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Language Server CI
22
on:
33
push:
4-
branches: [main, dev, feature/*]
4+
branches: [main, dev, feature/*, release/agentic/*]
55
pull_request:
6-
branches: [main, dev, feature/*]
6+
branches: [main, dev, feature/*, release/agentic/*]
77

88
jobs:
99
test:

.github/workflows/npm-packaging.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: NPM Packaging
22
on:
33
push:
4-
branches: [main, dev, feature/*]
4+
branches: [main, dev, feature/*, release/agentic/*]
55
pull_request:
6-
branches: [main, dev, feature/*]
6+
branches: [main, dev, feature/*, release/agentic/*]
77

88
jobs:
99
build:

.release-please-manifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"chat-client": "0.1.32",
3-
"core/aws-lsp-core": "0.0.13",
4-
"server/aws-lsp-antlr4": "0.1.17",
5-
"server/aws-lsp-codewhisperer": "0.0.73",
6-
"server/aws-lsp-json": "0.1.17",
7-
"server/aws-lsp-partiql": "0.0.16",
8-
"server/aws-lsp-yaml": "0.1.17"
2+
"chat-client": "0.1.35",
3+
"core/aws-lsp-core": "0.0.15",
4+
"server/aws-lsp-antlr4": "0.1.19",
5+
"server/aws-lsp-codewhisperer": "0.0.78",
6+
"server/aws-lsp-json": "0.1.19",
7+
"server/aws-lsp-partiql": "0.0.18",
8+
"server/aws-lsp-yaml": "0.1.19"
99
}

app/aws-lsp-antlr4-runtimes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"webpack": "webpack"
1313
},
1414
"dependencies": {
15-
"@aws/language-server-runtimes": "^0.2.124",
15+
"@aws/language-server-runtimes": "^0.2.128",
1616
"@aws/lsp-antlr4": "*",
1717
"antlr4-c3": "^3.4.1",
1818
"antlr4ng": "^3.0.4"

app/aws-lsp-buildspec-runtimes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"compile": "tsc --build"
88
},
99
"dependencies": {
10-
"@aws/language-server-runtimes": "^0.2.124",
10+
"@aws/language-server-runtimes": "^0.2.128",
1111
"@aws/lsp-buildspec": "^0.0.1"
1212
}
1313
}

app/aws-lsp-cloudformation-runtimes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"compile": "tsc --build"
88
},
99
"dependencies": {
10-
"@aws/language-server-runtimes": "^0.2.124",
10+
"@aws/language-server-runtimes": "^0.2.128",
1111
"@aws/lsp-cloudformation": "^0.0.1"
1212
}
1313
}

app/aws-lsp-codewhisperer-runtimes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"local-build": "node scripts/local-build.js"
2424
},
2525
"dependencies": {
26-
"@aws/language-server-runtimes": "^0.2.124",
26+
"@aws/language-server-runtimes": "^0.2.128",
2727
"@aws/lsp-codewhisperer": "*",
2828
"copyfiles": "^2.4.1",
2929
"cross-env": "^7.0.3",

app/aws-lsp-codewhisperer-runtimes/scripts/download-node.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
# by src/scripts/copy-node-assets.ts, to produce the final bundle.
66

77
set -e
8-
NODE_VERSION="18"
8+
NODE_VERSION="24"
99
BASE_URL="https://nodejs.org/download/release/latest-v${NODE_VERSION}.x"
1010
SHASUMS_FILE="SHASUMS256.txt"
1111
ASSETS_DIR="build/node-assets"
1212

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

1616
# Extract exact Node.js version from any entry in SHASUMS256.txt
1717
NODE_SEMVER=$(grep -o 'node-v[0-9]*\.[0-9]*\.[0-9]*' SHASUMS256.txt | head -1 | cut -d'v' -f2)
@@ -47,7 +47,7 @@ for actual_file in "${EXPECTED_FILES[@]}"; do
4747

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

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

6363
# Verify the license file was downloaded successfully
6464
if [ ! -s "$LICENSE_FILE" ]; then
@@ -94,4 +94,4 @@ jq --indent 4 \
9494
echo "Successfully updated Node.js version and license in $ATTRIBUTION_FILE"
9595

9696
# Cleanup
97-
rm -f "$SHASUMS_FILE"
97+
rm -f "$SHASUMS_FILE"

0 commit comments

Comments
 (0)