maint: follow-up cherry-pick fix-in-place #9629 (conflict-resolved fallback) (#9885)

* fix(compression): add Lite tool truncation toggle

* fix(antigravity): add missing antigravityProjectPersistence.ts module

The quota-strategy engine (quotaStrategies.ts) imports from
antigravityProjectPersistence.ts, but only antigravityProjectPersist.ts
existed in the tree.  Add the missing module with the expected
preferAntigravityConnectionsWithStoredProject() helper and re-export
the existing persistDiscoveredAntigravityProjectId().

Co-authored-by: diegosouzapw <diegosouza.pw@outlook.com>

* fix(file-size): rebaseline strategySelector.ts for Lite truncation toggle

The PR adds one line to threading options?.config?.lite into
applyLiteCompression. Update the frozen size from 1060 to 1061.

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>

Refs #9629

---------

Co-authored-by: Xiangzhe <xiangzhedev@gmail.com>
Co-authored-by: xz-dev <xz-dev@users.noreply.github.com>
Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-08-09 10:07:30 -03:00
committed by GitHub
parent a54c1f73af
commit 54bba33e2f
58 changed files with 471 additions and 8 deletions

View File

@@ -309,6 +309,12 @@ export const STACKED_PIPELINE_ENGINE_INTENSITIES: Record<string, readonly string
ultra: ["ultra"],
};
export const liteConfigSchema = z
.object({
compressToolResults: z.boolean().optional(),
})
.strict();
export const engineToggleSchema = z.object({
enabled: z.boolean(),
level: z.string().optional(),
@@ -361,6 +367,7 @@ export const compressionSettingsUpdateSchema = z
languageConfig: languageConfigSchema.optional(),
aggressive: aggressiveConfigSchema.optional(),
ultra: ultraConfigSchema.optional(),
lite: liteConfigSchema.optional(),
headroom: headroomConfigSchema.optional(),
sessionDedup: sessionDedupConfigSchema.optional(),
ccr: ccrConfigSchema.optional(),