Skip to content

Commit b8f0636

Browse files
committed
bump telemetry version
1 parent 5f882dd commit b8f0636

File tree

4 files changed

+6
-31
lines changed

4 files changed

+6
-31
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"skippedTestReport": "ts-node ./scripts/skippedTestReport.ts ./packages/amazonq/test/e2e/"
4242
},
4343
"devDependencies": {
44-
"@aws-toolkits/telemetry": "^1.0.312",
44+
"@aws-toolkits/telemetry": "^1.0.313",
4545
"@playwright/browser-chromium": "^1.43.1",
4646
"@stylistic/eslint-plugin": "^2.11.0",
4747
"@types/he": "^1.2.3",

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ export class ChatController {
832832
case 'run-shell-command':
833833
case 'generic-tool-execution':
834834
await this.processToolUseMessage(message)
835-
if (message.action.id === 'run-shell-command') {
835+
if (message.action.id === 'run-shell-command' && message.action.text === 'Run') {
836836
this.telemetryHelper.recordInteractionWithAgenticChat(
837837
AgenticChatInteractionType.RunCommand,
838838
message

packages/core/src/shared/telemetry/vscodeTelemetry.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@
228228
"name": "executedCount",
229229
"type": "int",
230230
"description": "The number of executed operations"
231-
},
232-
{
233-
"name": "cwsprAgenticChatInteractionType",
234-
"type": "string",
235-
"allowedValues": ["RejectDiff", "GeneratedDiff", "RunCommand", "GeneratedCommand", "StopChat"],
236-
"description": "Type of interaction with agentic chat messages"
237231
}
238232
],
239233
"metrics": [
@@ -558,25 +552,6 @@
558552
"name": "amazonq_closeChat",
559553
"description": "When chat panel is closed"
560554
},
561-
{
562-
"name": "amazonq_interactWithAgenticChat",
563-
"description": "When a user interacts with a message in the agentic chat",
564-
"metadata": [
565-
{
566-
"type": "cwsprAgenticChatInteractionType"
567-
},
568-
{
569-
"type": "cwsprChatConversationId"
570-
},
571-
{
572-
"type": "cwsprChatConversationType"
573-
},
574-
{
575-
"type": "credentialStartUrl",
576-
"required": false
577-
}
578-
]
579-
},
580555
{
581556
"name": "amazonq_startConversation",
582557
"description": "When user starts a new conversation",

0 commit comments

Comments
 (0)