Skip to content

Commit 0c2dfa1

Browse files
authored
feat(amazonq): enable compaction flag (#5922)
1 parent c6ac2dc commit 0c2dfa1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

plugins/amazonq/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tasks.check {
6060
}
6161

6262
val downloadFlareManifest by tasks.registering(Download::class) {
63-
src("https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json")
63+
src("https://d3akiidp1wvqyg.cloudfront.net/qAgenticChatServer/0/manifest.json")
6464
dest(layout.buildDirectory.file("flare/manifest.json"))
6565
onlyIfModified(true)
6666
useETag(true)

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/artifacts/ManifestFetcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ManifestFetcher {
2828

2929
private fun getManifestEndpoint(): String {
3030
val endpoint = Registry.get("amazon.q.flare.endpoint").asString()
31-
return endpoint.ifBlank { "https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json" }
31+
return endpoint.ifBlank { "https://d3akiidp1wvqyg.cloudfront.net/qAgenticChatServer/0/manifest.json" }
3232
}
3333

3434
private val DEFAULT_MANIFEST_PATH: Path = getToolkitsCommonCacheRoot()

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/ExtendedClientMetadata.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ data class DeveloperProfiles(
2626
val mcp: Boolean,
2727
val pinnedContextEnabled: Boolean,
2828
val imageContextEnabled: Boolean,
29+
val compaction: Boolean,
2930
val reroute: Boolean,
3031
val workspaceFilePath: String?,
3132
)
@@ -69,6 +70,7 @@ fun createExtendedClientMetadata(project: Project): ExtendedClientMetadata {
6970
mcp = true,
7071
pinnedContextEnabled = true,
7172
imageContextEnabled = true,
73+
compaction = true,
7274
reroute = true,
7375
workspaceFilePath = project.workspaceFile?.path,
7476
),

0 commit comments

Comments
 (0)