Skip to content

Commit 9be6dfa

Browse files
committed
fix: update the params to match with the params type in language-server
1 parent 372906f commit 9be6dfa

File tree

5 files changed

+86
-67
lines changed

5 files changed

+86
-67
lines changed

aws-toolkit-vscode.code-workspace

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
{
1313
"path": "packages/amazonq",
1414
},
15+
{
16+
"path": "../language-servers",
17+
},
18+
{
19+
"path": "../language-server-runtimes",
20+
},
1521
],
1622
"settings": {
1723
"typescript.tsdk": "node_modules/typescript/lib",

package-lock.json

Lines changed: 75 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/amazonq/.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1414
"env": {
1515
"SSMDOCUMENT_LANGUAGESERVER_PORT": "6010",
16-
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080"
16+
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080",
1717
// Below allows for overrides used during development
18-
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
19-
// "__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
18+
"__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
19+
"__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
2020
},
2121
"envFile": "${workspaceFolder}/.local.env",
2222
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],

packages/amazonq/src/lsp/chat/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function registerShellCommandShortCut(commandName: string, buttonId: string, pro
132132
void focusAmazonQPanel().then(() => {
133133
void provider.webview?.postMessage({
134134
command: 'executeShellCommandShortCut',
135-
params: { buttonId },
135+
params: { id: buttonId },
136136
})
137137
})
138138
})

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@
559559
"@aws-sdk/s3-request-presigner": "<3.731.0",
560560
"@aws-sdk/smithy-client": "<3.731.0",
561561
"@aws-sdk/util-arn-parser": "<3.731.0",
562-
"@aws/mynah-ui": "^4.35.4",
562+
"@aws/mynah-ui": "../../../mynah-ui",
563563
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
564564
"@iarna/toml": "^2.2.5",
565565
"@smithy/fetch-http-handler": "^5.0.1",

0 commit comments

Comments
 (0)