Skip to content

chore: Merge from main to feature branch#2319

Closed
parameja1 wants to merge 147 commits into
feature/smus-iam-inlinesuggestionfrom
main
Closed

chore: Merge from main to feature branch#2319
parameja1 wants to merge 147 commits into
feature/smus-iam-inlinesuggestionfrom
main

Conversation

@parameja1

Copy link
Copy Markdown
Contributor

Problem

Solution

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

andrewyuq and others added 30 commits August 11, 2025 10:32
…at (#2093)

Co-authored-by: chungjac <chungjac@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* 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 <tlaiamz@amazon.com>
Co-authored-by: Christopher Christou <39839589+awschristou@users.noreply.github.com>
…2000)

* feat(amazonq): added mcp admin level configuration with GetProfile

* feat(amazonq): added UX message for mcp admin control

* test: add unit tests for ProfileStatusMonitor static functionality

* test: add comprehensive unit tests for MCP admin control features

* fix: fix to wait for serviceManager is initialzied to initialize mcp managers

* fix: fix for unit test failures

* fix: fix for UI changes

* fix(amazonq): fix to to rename mcp enabled function and max time limit of 10 seconds

* fix: fix to add async initialization for mcp manager

* fix: fix to move action buttons to mcpEventHandler for listMcpServers

* fix: added try and catch block for mcp initialization

* fix: fix for merge conflicts

* fix: fix for test failure

* fix: remove the unnecessary feature flag

* fix: fix for mynah test failure

* fix: fix to retry function to common util

* fix: fix to add retryUtils
* 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
…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 <blakelaz@amazon.com>
The token from GitHub Actions is sufficient
* fix: proper pathing for additonal context

* fix: update existing tests to also mock path.join()
* 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 <bywang@amazon.com>
* feat: remove project type validation from LSP layer

* refactor: remove unused validation functions from LSP layer
* 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
Co-authored-by: Jiatong Li <jiatonli@amazon.com>
… state (#2143)

Co-authored-by: Laxman Reddy <141967714+laileni-aws@users.noreply.github.com>
* 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
…tion 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
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore: bump agentic version: 1.29.0

* chore: empty commit to start Github Action (#2150)

---------

Co-authored-by: aws-toolkit-automation <>
* 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
cslong and others added 29 commits September 30, 2025 09:50
* fix: mapping of private packages to reference list
* fix: relative path comparison to the lowercase on in artifact reference
* fix: packages being filtered in the artifact generation
* fix(amazonq): escaping user input to mitigate xss issue

* fix: adding conditional check for applying sanitizeinput
* fix: update the node version to 24

* Fix mock-fs Windows compatibility by using relative cache paths

* style: fix code formatting for mock-fs test files

* fix: use fake timers in chat-client tests for Node.js 24 compatibility

Node.js 24 has stricter timer handling that caused setTimeout calls
in production code to hang tests. Using fake timers ensures proper
test isolation and prevents timeouts.

* style: fix prettier formatting for chat-client test

* fix: stub handleChatPrompt in mynahUi test to prevent timeout

* fix: update test assertion to match stubbed behavior

* fix: use proper module reference for handleChatPrompt stub

* fix: make test async and wait for setTimeout calls to complete

* fix: stub setTimeout to execute immediately and increase test timeout

* fix: add setTimeout stubs to all sendGenericCommand tests

---------

Co-authored-by: laileni <laileni@amazon.com>
* chore: bump agentic version: 1.36.0

* fix(amazonq): fix to add opt-out header to streaming client (#2365) (#2369)

---------

Co-authored-by: aws-toolkit-automation <>
Co-authored-by: invictus <149003065+ashishrp-aws@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
)

Allow multiple loadChats() calls in JupyterLab environment.

Co-authored-by: ruotingx <ruotingx@amazon.com>
* feat: add model description to dropdown

* fix: bump up mynah version to enable hover
…refresh support (#2395)

use SAGEMAKER_APP_TYPE_LOWERCASE env var

Co-authored-by: ruotingx <ruotingx@amazon.com>
* fix: patch #2133 and handle more variants of FIM suggestions

* fix: only consider FIM if the first edit line matches trigger position

* fix: test

---------

Co-authored-by: atontb <104926752+atonaamz@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
* feat: migrate codewhisperer token service to aws-sdk-v3 (#2235)

* feat: migrate codewhisperer token service to aws-sdk-v3

* fix captureHeaders middleware

* feat: migrate codewhisperer iam service to aws-sdk-v3 (#2284)

* refactor: remove aws-sdk v2 imports (#2290)

* fix: compile errors from merge conflicts (#2331)

* chore: bump runtimes to 0.3.0 (#2340)

* chore: bump runtimes to 0.3.0

* fix antlr4ng version conflict

* fix missing url polyfill

* chore: remove old ignore entries (#2350)

* chore: update versions

* chore: fix more dependencies

* fix: fallback to empty string in aws sdk v3 (#2414)

* chore: update indexing bundle(#2417)

This reverts commit baf20b7.

---------

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
Co-authored-by: Tai Lai <ctlai95@gmail.com>
Co-authored-by: Tai Lai <tlaiamz@amazon.com>
…age servers (#2391)

Problem
Currently, both the JSON and YAML generic language servers respond with resolveProvider: true in their initialization response. This signals to clients that these language servers support completion item resolve requests, which these servers don't actually support, resulting in errors when clients send resolve requests.

Solution
This updates resolveProvider to false to accurately describe the capabilities of these language servers.
Co-authored-by: Alice Koreman <alicekor@amazon.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.