Skip to content

Commit bdaae15

Browse files
committed
Merge remote-tracking branch 'upstream/feature/agentic-chat' into feature/agentic-chat
2 parents c17a7fd + c0d0721 commit bdaae15

File tree

18 files changed

+74
-40
lines changed

18 files changed

+74
-40
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date": "2025-04-11",
3+
"version": "1.59.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Code fix line number or file is sometimes not accurate"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Fix Q agents will fail for /transform /dev /test features if IdC kms key is configured with 400 error"
12+
}
13+
]
14+
}

packages/amazonq/.changes/next-release/Bug Fix-42b2c2f0-e40e-4f97-842b-cb7ead1a010b.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.59.0 2025-04-11
2+
3+
- **Bug Fix** Code fix line number or file is sometimes not accurate
4+
- **Bug Fix** Fix Q agents will fail for /transform /dev /test features if IdC kms key is configured with 400 error
5+
16
## 1.58.0 2025-04-11
27

38
- **Bug Fix** inline chat activates properly when using 'aws.experiments.amazonqChatLSP' feature flag

packages/amazonq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
5-
"version": "1.59.0-SNAPSHOT",
5+
"version": "1.60.0-SNAPSHOT",
66
"extensionKind": [
77
"workspace"
88
],

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
"@aws-sdk/s3-request-presigner": "<3.731.0",
526526
"@aws-sdk/smithy-client": "<3.731.0",
527527
"@aws-sdk/util-arn-parser": "<3.731.0",
528-
"@aws/mynah-ui": "^4.30.1",
528+
"@aws/mynah-ui": "^4.31.0-beta.1",
529529
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
530530
"@iarna/toml": "^2.2.5",
531531
"@smithy/fetch-http-handler": "^5.0.1",

packages/core/src/amazonq/webview/ui/tabs/generator.ts

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,11 @@ export class TabDataGenerator {
9191
tabType === 'cwc'
9292
? [
9393
{
94-
type: 'toggle',
95-
id: 'prompt-type',
96-
value: 'pair-programming-on',
97-
tooltip: 'Pair programmer on',
98-
options: [
99-
{
100-
value: 'pair-programming-on',
101-
icon: 'code-block', // TODO: correct icons
102-
},
103-
{
104-
value: 'pair-programming-off',
105-
icon: 'chat', // TODO: correct icons
106-
},
107-
],
94+
type: 'switch',
95+
id: 'pair-programmer-mode',
96+
tooltip: 'Enable or disable pair programmer mode',
97+
value: 'true',
98+
icon: 'code-block',
10899
},
109100
]
110101
: [],

packages/core/src/amazonqDoc/session/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ export class Session {
313313
clientId: getClientId(globals.globalState),
314314
ideVersion: extensionVersion,
315315
},
316+
profileArn: AuthUtil.instance.regionProfileManager.activeRegionProfile?.arn,
316317
}
317318

318319
const response = await client.sendTelemetryEvent(params).promise()

packages/core/src/amazonqFeatureDev/client/featureDev.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,13 @@ export class FeatureDevClient implements FeatureClient {
244244
}
245245

246246
public async exportResultArchive(conversationId: string) {
247+
const profile = AuthUtil.instance.regionProfileManager.activeRegionProfile
247248
try {
248249
const streamingClient = await createCodeWhispererChatStreamingClient()
249250
const params = {
250251
exportId: conversationId,
251252
exportIntent: 'TASK_ASSIST',
253+
profileArn: profile?.arn,
252254
} satisfies ExportResultArchiveCommandInput
253255
getLogger().debug(`Executing exportResultArchive with %O`, params)
254256
const archiveResponse = await streamingClient.exportResultArchive(params)

packages/core/src/codewhisperer/client/codewhisperer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ export class DefaultCodeWhispererClient {
252252
clientId: getClientId(globals.globalState),
253253
ideVersion: extensionVersion,
254254
},
255+
profileArn: AuthUtil.instance.regionProfileManager.activeRegionProfile?.arn,
255256
}
256257
if (!AuthUtil.instance.isValidEnterpriseSsoInUse() && !globals.telemetry.telemetryEnabled) {
257258
return

0 commit comments

Comments
 (0)