Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/create-agent-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: Create agent-standalone bundles
on:
push:
branches: [main, feature/*, release/agentic/*]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.actor_id == github.repository_owner_id

steps:
- name: Checkout repository
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/create-release-candidate-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ 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
Expand All @@ -44,6 +45,10 @@ jobs:
node-version: '20'
cache: 'npm'

# Needed to format the json file being checked in
- name: Install dependencies
run: npm ci

- name: Calculate Release Version
id: release-version
env:
Expand Down Expand Up @@ -87,6 +92,9 @@ jobs:

git add "$VERSION_FILE"

# Ensure the file does not cause issues when merged to main
npm run format-staged

- name: Create Release Candidate Branch
id: release-branch
env:
Expand All @@ -102,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 "Bump agentic version: $RELEASE_VERSION"
git commit --no-verify -m "chore: bump agentic version: $RELEASE_VERSION"
git push --set-upstream origin "$BRANCH_NAME"
4 changes: 2 additions & 2 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 Down
4 changes: 2 additions & 2 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 Down
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.30",
"core/aws-lsp-core": "0.0.13",
"server/aws-lsp-antlr4": "0.1.17",
"server/aws-lsp-codewhisperer": "0.0.71",
"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.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"
}
2 changes: 1 addition & 1 deletion app/aws-lsp-antlr4-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"webpack": "webpack"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-antlr4": "*",
"antlr4-c3": "^3.4.1",
"antlr4ng": "^3.0.4"
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.121",
"@aws/language-server-runtimes": "^0.2.127",
"@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.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-cloudformation": "^0.0.1"
}
}
11 changes: 11 additions & 0 deletions app/aws-lsp-codewhisperer-runtimes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ The server is managed via scripts/dev-server.js, which ensures:

**NOTE**: Tests are currently disabled for Windows as we currently face issues with automatically shutting down devserver and cleaning resources after tests are executed.

## Binary Dependencies

### registry.node
The file `_bundle-assets/registry-js/win32-x64/registry.node` is a precompiled binary downloaded from the [registry-js](https://github.com/desktop/registry-js) project.

- **Current version**: v1.16.1 (released May 21, 2024)
- **Source**: https://github.com/desktop/registry-js/releases
- **Purpose**: Provides Windows registry access functionality

**To update**: Download the latest `registry.node` binary for win32-x64 from the registry-js releases page and replace the existing file.

#### Tests configuration
- Test settings are defined in `wdio.conf.ts`
- The actual test implementation is in the `test/e2e` folder
Expand Down
Binary file not shown.
5 changes: 3 additions & 2 deletions app/aws-lsp-codewhisperer-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
"package:prod": "npm run compile && cross-env NODE_OPTIONS=--max_old_space_size=8172 npm run webpack:prod",
"webpack": "webpack",
"webpack:prod": "webpack --config webpack.config.prod.js",
"copy:native-deps:agent-standalone": "copyfiles -f _bundle-assets/registry-js/win32-x64/registry.node build/private/bundle/agent-standalone",
"copy:resources:agent-standalone": "copyfiles -f --error ../../node_modules/@aws/lsp-identity/src/sso/authorizationCodePkce/resources/**/* build/private/bundle/agent-standalone/resources",
"generate:node-assets": "./scripts/download-node.sh && ts-node src/scripts/copy-node-assets.ts",
"generate:build-archive": "./scripts/package.sh",
"ci:generate:agent-standalone": "npm run package:prod && npm run copy:resources:agent-standalone && npm run generate:node-assets && npm run generate:build-archive",
"ci:generate:agent-standalone": "npm run package:prod && npm run copy:native-deps:agent-standalone && npm run copy:resources:agent-standalone && npm run generate:node-assets && npm run generate:build-archive",
"ci:generate:manifest": "ts-node scripts/create-repo-manifest.ts",
"start": "cross-env NODE_OPTIONS=--max_old_space_size=8172 node scripts/dev-server.js start",
"stop-dev-server": "node scripts/dev-server.js stop",
Expand All @@ -22,7 +23,7 @@
"local-build": "node scripts/local-build.js"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-codewhisperer": "*",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion app/aws-lsp-codewhisperer-runtimes/src/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"agenticChat": "1.25.0"
"agenticChat": "1.29.0"
}
2 changes: 1 addition & 1 deletion app/aws-lsp-identity-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.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-identity": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion app/aws-lsp-json-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"webpack": "webpack"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-json": "*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion app/aws-lsp-notification-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.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-notification": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion app/aws-lsp-partiql-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"package": "npm run compile && npm run compile:webpack"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.120",
"@aws/language-server-runtimes": "^0.2.125",
"@aws/lsp-partiql": "^0.0.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion app/aws-lsp-s3-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"compile": "tsc --build"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-s3": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion app/aws-lsp-yaml-json-webworker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"serve:webpack": "NODE_ENV=development webpack serve"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-json": "*",
"@aws/lsp-yaml": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion app/aws-lsp-yaml-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"webpack": "webpack"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/lsp-yaml": "*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion app/hello-world-lsp-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@aws/hello-world-lsp": "^0.0.1",
"@aws/language-server-runtimes": "^0.2.121"
"@aws/language-server-runtimes": "^0.2.127"
},
"devDependencies": {
"@types/chai": "^4.3.5",
Expand Down
34 changes: 34 additions & 0 deletions chat-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## [0.1.33](https://github.com/aws/language-servers/compare/chat-client/v0.1.32...chat-client/v0.1.33) (2025-08-19)


### Features

* **amazonq:** added mcp admin level configuration with GetProfile ([#2000](https://github.com/aws/language-servers/issues/2000)) ([fd6e9a8](https://github.com/aws/language-servers/commit/fd6e9a829c6229c276de5340dffce52b426a864d))
* **amazonq:** read tool ui revamp ([#2113](https://github.com/aws/language-servers/issues/2113)) ([#2121](https://github.com/aws/language-servers/issues/2121)) ([93cf229](https://github.com/aws/language-servers/commit/93cf229149ba60491f9f5763793db4a9f570b611))


### Bug Fixes

* fix for button text and remove profilearn caching ([#2137](https://github.com/aws/language-servers/issues/2137)) ([2a4171a](https://github.com/aws/language-servers/commit/2a4171a74c15c23c23c481060496162bcc9e6284))
* Use file context override in the inline completion params for Jupyter Notebook ([#2114](https://github.com/aws/language-servers/issues/2114)) ([91c8398](https://github.com/aws/language-servers/commit/91c839857f8aa4d79098189f9fb620b361c51289))

## [0.1.32](https://github.com/aws/language-servers/compare/chat-client/v0.1.31...chat-client/v0.1.32) (2025-08-11)


### Features

* **amazonq:** read tool ui revamp ([c65428b](https://github.com/aws/language-servers/commit/c65428bab2cf5e47badf1e3a9453babcf881e60c))

## [0.1.31](https://github.com/aws/language-servers/compare/chat-client/v0.1.30...chat-client/v0.1.31) (2025-08-06)


### Features

* **amazonq:** add two more tips for the did you know section ([#2063](https://github.com/aws/language-servers/issues/2063)) ([9949c6d](https://github.com/aws/language-servers/commit/9949c6dd81c56b5ea82563310da2eaee4d00a059))
* **amazonq:** enable sonnet 4 for fra region ([#2069](https://github.com/aws/language-servers/issues/2069)) ([3a4b8df](https://github.com/aws/language-servers/commit/3a4b8df981b2c3b0532360a11472169fffec7924))


### Bug Fixes

* **amazonq:** fix to add disable/enable feature back to mcp servers ([#2052](https://github.com/aws/language-servers/issues/2052)) ([c03e017](https://github.com/aws/language-servers/commit/c03e017b9ccbbbb9c80a3c3afd5da38a50bd6cff))

## [0.1.30](https://github.com/aws/language-servers/compare/chat-client/v0.1.29...chat-client/v0.1.30) (2025-08-04)


Expand Down
6 changes: 3 additions & 3 deletions chat-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws/chat-client",
"version": "0.1.30",
"version": "0.1.33",
"description": "AWS Chat Client",
"main": "out/index.js",
"repository": {
Expand All @@ -25,9 +25,9 @@
},
"dependencies": {
"@aws/chat-client-ui-types": "^0.1.56",
"@aws/language-server-runtimes": "^0.2.121",
"@aws/language-server-runtimes": "^0.2.127",
"@aws/language-server-runtimes-types": "^0.1.50",
"@aws/mynah-ui": "^4.36.2"
"@aws/mynah-ui": "^4.36.5"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
Expand Down
15 changes: 0 additions & 15 deletions chat-client/src/client/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ import { InboundChatApi, createMynahUi } from './mynahUi'
import { TabFactory } from './tabs/tabFactory'
import { ChatClientAdapter } from '../contracts/chatClientAdapter'
import { toMynahContextCommand, toMynahIcon } from './utils'
import { modelSelectionForRegion } from './texts/modelSelection'

const getDefaultTabConfig = (agenticMode?: boolean) => {
return {
Expand Down Expand Up @@ -264,20 +263,6 @@ export const createChat = (
return option
}),
})
} else if (message.params.region) {
// TODO: This can be removed after all clients support aws/chat/listAvailableModels
// get all tabs and update region
const allExistingTabs: MynahUITabStoreModel = mynahUi.getAllTabs()
for (const tabId in allExistingTabs) {
const options = mynahUi.getTabData(tabId).getStore()?.promptInputOptions
mynahUi.updateStore(tabId, {
promptInputOptions: options?.map(option =>
option.id === 'model-selection'
? modelSelectionForRegion[message.params.region]
: option
),
})
}
} else {
tabFactory.setInfoMessages((message.params as ChatOptionsUpdateParams).chatNotifications)
}
Expand Down
11 changes: 5 additions & 6 deletions chat-client/src/client/mcpMynahUi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ describe('McpMynahUi', () => {
assert.strictEqual(callArgs.detailedList.header.description, 'Test Description')
assert.deepStrictEqual(callArgs.detailedList.header.status, { status: 'success' })

// Verify the actions in the header
assert.strictEqual(callArgs.detailedList.header.actions.length, 2)
assert.strictEqual(callArgs.detailedList.header.actions[0].id, 'add-new-mcp')
assert.strictEqual(callArgs.detailedList.header.actions[1].id, 'refresh-mcp-list')
// Verify the actions in the header (no default actions are added when header is provided)
assert.strictEqual(callArgs.detailedList.header.actions.length, 0)

// Verify the list structure
assert.strictEqual(callArgs.detailedList.list.length, 1)
Expand Down Expand Up @@ -577,8 +575,9 @@ describe('McpMynahUi', () => {
assert.strictEqual(detailedList.header.actions[0].id, 'mcp-details-menu')

// Verify the mcp-details-menu items
assert.strictEqual(detailedList.header.actions[0].items.length, 1)
assert.strictEqual(detailedList.header.actions[0].items[0].id, 'mcp-delete-server')
assert.strictEqual(detailedList.header.actions[0].items.length, 2)
assert.strictEqual(detailedList.header.actions[0].items[0].id, 'mcp-disable-server')
assert.strictEqual(detailedList.header.actions[0].items[1].id, 'mcp-delete-server')

assert.strictEqual(detailedList.filterOptions.length, 1)
assert.strictEqual(detailedList.filterOptions[0].id, 'permission')
Expand Down
Loading
Loading