mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-27 01:22:10 +03:00
* 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:
committed by
GitHub
parent
a54c1f73af
commit
54bba33e2f
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user