Skip to content
Open
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
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.24",
"core/aws-lsp-core": "0.0.11",
"server/aws-lsp-antlr4": "0.1.15",
"server/aws-lsp-codewhisperer": "0.0.65",
"server/aws-lsp-json": "0.1.15",
"server/aws-lsp-partiql": "0.0.14",
"server/aws-lsp-yaml": "0.1.15"
"chat-client": "0.1.28",
"core/aws-lsp-core": "0.0.12",
"server/aws-lsp-antlr4": "0.1.16",
"server/aws-lsp-codewhisperer": "0.0.69",
"server/aws-lsp-json": "0.1.16",
"server/aws-lsp-partiql": "0.0.15",
"server/aws-lsp-yaml": "0.1.16"
}
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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@aws/lsp-cloudformation": "^0.0.1"
}
}
2 changes: 1 addition & 1 deletion app/aws-lsp-codewhisperer-runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"local-build": "node scripts/local-build.js"
},
"dependencies": {
"@aws/language-server-runtimes": "^0.2.109",
"@aws/language-server-runtimes": "^0.2.116",
"@aws/lsp-codewhisperer": "*",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
Expand Down
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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@aws/lsp-notification": "^0.0.1"
}
}
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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109",
"@aws/language-server-runtimes": "^0.2.112",
"@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.109"
"@aws/language-server-runtimes": "^0.2.112"
},
"devDependencies": {
"@types/chai": "^4.3.5",
Expand Down
44 changes: 44 additions & 0 deletions chat-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Changelog

## [0.1.28](https://github.com/aws/language-servers/compare/chat-client/v0.1.27...chat-client/v0.1.28) (2025-07-23)


### Bug Fixes

* **amazonq:** revert commit f17b631d9e06371a11ef8e9cb1413762fb51a143 ([#1965](https://github.com/aws/language-servers/issues/1965)) ([8c2cab6](https://github.com/aws/language-servers/commit/8c2cab6995922c96030b5bbdf3cbbdef7eadd7c2))

## [0.1.27](https://github.com/aws/language-servers/compare/chat-client/v0.1.26...chat-client/v0.1.27) (2025-07-22)


### Features

* **amazonq:** enable show logs feature ([#1947](https://github.com/aws/language-servers/issues/1947)) ([86ea83d](https://github.com/aws/language-servers/commit/86ea83dd53b447f6decccf16559b76f4989ea712))

## [0.1.26](https://github.com/aws/language-servers/compare/chat-client/v0.1.25...chat-client/v0.1.26) (2025-07-22)


### Features

* **chat-client:** add auto-approve (trust mode) for built-in tools ([#1949](https://github.com/aws/language-servers/issues/1949)) ([f17b631](https://github.com/aws/language-servers/commit/f17b631d9e06371a11ef8e9cb1413762fb51a143))
* **chat-client:** add shortcut for stop/reject/run commands ([#1932](https://github.com/aws/language-servers/issues/1932)) ([087f338](https://github.com/aws/language-servers/commit/087f3387ba736e92d014274e195f7ef76e377f1e))


### Bug Fixes

* **amazonq:** fix for mcp server unnecessary refresh from file watchers ([#1933](https://github.com/aws/language-servers/issues/1933)) ([208909b](https://github.com/aws/language-servers/commit/208909b55ecda40ff8d412b2b3be890eccee70bc))
* **amazonq:** update mcp and persona config to agent config ([#1897](https://github.com/aws/language-servers/issues/1897)) ([530977f](https://github.com/aws/language-servers/commit/530977f8c73c7946a0205f02014248d71b4b1fe0))
* replace cancel with stop ([#1935](https://github.com/aws/language-servers/issues/1935)) ([2f51923](https://github.com/aws/language-servers/commit/2f51923f9d3497469c70162235482b569e2d796e))

## [0.1.25](https://github.com/aws/language-servers/compare/chat-client/v0.1.24...chat-client/v0.1.25) (2025-07-17)


### Features

* add conversation compaction ([#1895](https://github.com/aws/language-servers/issues/1895)) ([8bb7144](https://github.com/aws/language-servers/commit/8bb7144e45cfce6cc9337fd49de7edbee61105b8))


### Bug Fixes

* **amazonq:** change to use promptStickyCard to show image verification notification ([#1904](https://github.com/aws/language-servers/issues/1904)) ([caaefef](https://github.com/aws/language-servers/commit/caaefef2c9b2af66840ec2f7ccabe9bf937c2983))
* remove disclaimer message ([#1884](https://github.com/aws/language-servers/issues/1884)) ([0845eed](https://github.com/aws/language-servers/commit/0845eeda8d73ed1df3b8801e79dad1ddd7016781))
* replace thinking with working and replace stop with cancel ([#1922](https://github.com/aws/language-servers/issues/1922)) ([371e731](https://github.com/aws/language-servers/commit/371e731545f7572d3356d061cd8b94db35e4c333))
* use document change events for auto trigger classifier input ([#1912](https://github.com/aws/language-servers/issues/1912)) ([2204da6](https://github.com/aws/language-servers/commit/2204da6193f2030ee546f61c969b1a664d8025e3))

## [0.1.24](https://github.com/aws/language-servers/compare/chat-client/v0.1.23...chat-client/v0.1.24) (2025-07-15)


Expand Down
10 changes: 5 additions & 5 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.24",
"version": "0.1.28",
"description": "AWS Chat Client",
"main": "out/index.js",
"repository": {
Expand All @@ -24,10 +24,10 @@
"package": "webpack"
},
"dependencies": {
"@aws/chat-client-ui-types": "^0.1.51",
"@aws/language-server-runtimes": "^0.2.109",
"@aws/language-server-runtimes-types": "^0.1.45",
"@aws/mynah-ui": "^4.35.9"
"@aws/chat-client-ui-types": "^0.1.56",
"@aws/language-server-runtimes": "^0.2.114",
"@aws/language-server-runtimes-types": "^0.1.50",
"@aws/mynah-ui": "^4.36.2"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
Expand Down
23 changes: 22 additions & 1 deletion chat-client/src/client/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ import {
OpenFileDialogParams,
OPEN_FILE_DIALOG_METHOD,
OpenFileDialogResult,
EXECUTE_SHELL_COMMAND_SHORTCUT_METHOD,
SUBSCRIPTION_DETAILS_NOTIFICATION_METHOD,
SubscriptionDetailsParams,
} from '@aws/language-server-runtimes-types'

import { ConfigTexts, MynahUIDataModel, MynahUITabStoreModel } from '@aws/mynah-ui'
import { ServerMessage, TELEMETRY, TelemetryParams } from '../contracts/serverContracts'
import { Messager, OutboundChatApi } from './messager'
Expand All @@ -130,6 +134,7 @@ type ChatClientConfig = Pick<MynahUIDataModel, 'quickActionCommands'> & {
agenticMode?: boolean
modelSelectionEnabled?: boolean
stringOverrides?: Partial<ConfigTexts>
os?: string
}

export const createChat = (
Expand Down Expand Up @@ -183,6 +188,9 @@ export const createChat = (
}

switch (message?.command) {
case EXECUTE_SHELL_COMMAND_SHORTCUT_METHOD:
mynahApi.executeShellCommandShortCut(message.params)
break
case CHAT_REQUEST_METHOD:
mynahApi.addChatResponse(message.params, message.tabId, message.isPartialResult)
break
Expand Down Expand Up @@ -289,6 +297,10 @@ export const createChat = (
tabFactory.enableReroute()
}

if ((params as any)?.codeReviewInChat) {
tabFactory.enableCodeReviewInChat()
}

if (params?.quickActions?.quickActionsCommandGroups) {
const quickActionCommandGroups = params.quickActions.quickActionsCommandGroups.map(group => ({
...group,
Expand All @@ -312,6 +324,10 @@ export const createChat = (
tabFactory.enableExport()
}

if (params?.showLogs) {
tabFactory.enableShowLogs()
}

const allExistingTabs: MynahUITabStoreModel = mynahUi.getAllTabs()
const highlightCommand = featureConfig.get('highlightCommand')

Expand Down Expand Up @@ -347,6 +363,10 @@ export const createChat = (
}
break
}
case SUBSCRIPTION_DETAILS_NOTIFICATION_METHOD: {
mynahApi.showSubscriptionDetails(message.params as SubscriptionDetailsParams)
break
}
default:
// TODO: Report error?
break
Expand Down Expand Up @@ -537,7 +557,8 @@ export const createChat = (
chatClientAdapter,
featureConfig,
!!config?.agenticMode,
config?.stringOverrides
config?.stringOverrides,
config?.os
)

mynahApi = api
Expand Down
5 changes: 2 additions & 3 deletions chat-client/src/client/mcpMynahUi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,8 @@ 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, 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.header.actions[0].items.length, 1)
assert.strictEqual(detailedList.header.actions[0].items[0].id, 'mcp-delete-server')

assert.strictEqual(detailedList.filterOptions.length, 1)
assert.strictEqual(detailedList.filterOptions[0].id, 'permission')
Expand Down
19 changes: 10 additions & 9 deletions chat-client/src/client/mcpMynahUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ export class McpMynahUi {
id: MCP_IDS.DETAILS_MENU,
icon: toMynahIcon('ellipsis'),
items: [
{
id: MCP_IDS.DISABLE_SERVER,
text: `Disable MCP server`,
data: { serverName },
},
// {
// id: MCP_IDS.DISABLE_SERVER,
// text: `Disable MCP server`,
// data: { serverName },
// },
{
id: MCP_IDS.DELETE_SERVER,
confirmation: {
Expand Down Expand Up @@ -219,10 +219,10 @@ export class McpMynahUi {
...(action.id === MCP_IDS.DETAILS_MENU
? {
items: [
{
id: MCP_IDS.DISABLE_SERVER,
text: `Disable MCP server`,
},
// {
// id: MCP_IDS.DISABLE_SERVER,
// text: `Disable MCP server`,
// },
{
id: MCP_IDS.DELETE_SERVER,
confirmation: {
Expand Down Expand Up @@ -508,6 +508,7 @@ export class McpMynahUi {
},
onClose: () => {
this.messager.onMcpServerClick(MCP_IDS.SAVE_PERMISSION_CHANGE)
this.isMcpServersListActive = false
},
onBackClick: () => {
this.messager.onMcpServerClick(MCP_IDS.SAVE_PERMISSION_CHANGE)
Expand Down
Loading
Loading