Skip to content

Commit a346871

Browse files
Merge master into feature/hybridChat-local
2 parents 9470adb + 62fab80 commit a346871

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

packages/amazonq/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,17 +562,17 @@
562562
"commands": [
563563
{
564564
"command": "aws.amazonq.stopCmdExecution",
565-
"title": "Stop Amazon Q Command Execution",
565+
"title": "Stop Amazon Q",
566566
"category": "%AWS.amazonq.title%"
567567
},
568568
{
569569
"command": "aws.amazonq.runCmdExecution",
570-
"title": "Run Amazon Q Command Execution",
570+
"title": "Run Amazon Q Tool",
571571
"category": "%AWS.amazonq.title%"
572572
},
573573
{
574574
"command": "aws.amazonq.rejectCmdExecution",
575-
"title": "Reject Amazon Q Command Execution",
575+
"title": "Reject Amazon Q Tool",
576576
"category": "%AWS.amazonq.title%"
577577
},
578578
{

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,15 @@ export function registerMessageListeners(
447447
)
448448

449449
// Get the log directory path
450-
const logPath = globals.context.logUri?.fsPath
450+
const logFolderPath = globals.context.logUri?.fsPath
451451
const result = { ...message.params, success: false }
452452

453-
if (logPath) {
453+
if (logFolderPath) {
454454
// Open the log directory in the OS file explorer directly
455455
languageClient.info('[VSCode Client] Opening logs directory')
456-
await vscode.commands.executeCommand('revealFileInOS', vscode.Uri.file(logPath))
456+
const path = require('path')
457+
const logFilePath = path.join(logFolderPath, 'Amazon Q Logs.log')
458+
await vscode.commands.executeCommand('revealFileInOS', vscode.Uri.file(logFilePath))
457459
result.success = true
458460
} else {
459461
// Fallback: show error if log path is not available

0 commit comments

Comments
 (0)