@open-mercato/cezar 0.9.1-pr712.861 → 0.9.1-pr718.873
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/server.js +15 -4
- package/dist/server/server.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +15 -0
- package/dist/server-install/platforms/ubuntu-vps.js +83 -1
- package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
- package/package.json +2 -2
- package/web/dist/assets/alert-dialog-CqA7-o5o.js +1 -0
- package/web/dist/assets/collapsible-CbGRlmvJ.js +1 -0
- package/web/dist/assets/compare-variants-C-QxZ7g5.js +1 -0
- package/web/dist/assets/diff-SOW64exZ2.js +3 -0
- package/web/dist/assets/{diff-view-DqnxqJIT.js → diff-view-CZ9-DeN4.js} +4 -4
- package/web/dist/assets/dropdown-menu-BmtETw9T.js +1 -0
- package/web/dist/assets/git-toolbar-CQLW8aTk.js +1 -0
- package/web/dist/assets/github-MAYOzen1.js +1 -0
- package/web/dist/assets/index-C3yDW-E5.css +2 -0
- package/web/dist/assets/index-DSTWuVF3.js +22 -0
- package/web/dist/assets/new-task-form-umhQeDuQ.js +1 -0
- package/web/dist/assets/{repo-git-DNJLk9TE.js → repo-git-Cj6-F8Vx.js} +1 -1
- package/web/dist/assets/run-diff-Lcwe24zx.js +3 -0
- package/web/dist/assets/run-header-h_vX3Vbp.js +1 -0
- package/web/dist/assets/skills-C-ZQkBg_.js +1 -0
- package/web/dist/assets/{task-changes-sKVgN4OY.js → task-changes-BnVoUjWU.js} +1 -1
- package/web/dist/assets/task-commits-Burf2FSe.js +1 -0
- package/web/dist/assets/task-files-D_eNpY-s.js +2 -0
- package/web/dist/assets/task-thread-Cu_lcWqK.js +9 -0
- package/web/dist/assets/{use-desktop-C5Zi0WcT.js → use-desktop-Bs2zwN3k.js} +1 -1
- package/web/dist/assets/workflows-BsCGBm5Y.js +11 -0
- package/web/dist/index.html +7 -3
- package/web/dist/assets/compare-variants-DETaE9S5.js +0 -1
- package/web/dist/assets/diff-CBb2sTIY.js +0 -3
- package/web/dist/assets/dist-BDertzy3.js +0 -1
- package/web/dist/assets/git-toolbar-BfhSwV-5.js +0 -1
- package/web/dist/assets/github-Dh6pJto3.js +0 -1
- package/web/dist/assets/index-CrdG_TLt.css +0 -2
- package/web/dist/assets/index-D-ULex3d.js +0 -22
- package/web/dist/assets/run-diff-CoCtBCh8.js +0 -3
- package/web/dist/assets/run-header-BPfpppiz.js +0 -1
- package/web/dist/assets/skills-DBgcpxMj.js +0 -1
- package/web/dist/assets/task-commits-C3kc0xah.js +0 -1
- package/web/dist/assets/task-files-BdBMxh7F.js +0 -2
- package/web/dist/assets/task-thread-DG9TK8c0.js +0 -9
- package/web/dist/assets/workflows-CONir7vO.js +0 -11
package/dist/server/server.js
CHANGED
|
@@ -238,13 +238,24 @@ const SKILL_USAGE_MAX_ENTRIES = 200;
|
|
|
238
238
|
// generous for GUI prefs; over-limit is a 400, never a silent strip. Shared by
|
|
239
239
|
// BOTH ui-state routes (per-repo and workspace) via `parseUiStateBody`.
|
|
240
240
|
const UI_STATE_MAX_KEYS = 200;
|
|
241
|
-
/** Settings → Appearance (redesign R6): accent + density
|
|
242
|
-
* ui-state files — per-repo (the legacy home, kept so an older
|
|
243
|
-
* same repo still honours it) and workspace
|
|
244
|
-
* post-migration home — multi-project spec,
|
|
241
|
+
/** Settings → Appearance (redesign R6): accent + density + reading width. ONE
|
|
242
|
+
* schema for both ui-state files — per-repo (the legacy home, kept so an older
|
|
243
|
+
* cezar in the same repo still honours it) and workspace
|
|
244
|
+
* (`~/.cezar/ui-state.json`, its post-migration home — multi-project spec,
|
|
245
|
+
* Data Model).
|
|
246
|
+
*
|
|
247
|
+
* Every key is `.optional()` so an older ui-state.json parses unchanged, but
|
|
248
|
+
* each one must be listed HERE: the enclosing `workspaceUiStateSchema` is
|
|
249
|
+
* `.passthrough()` at the top level only, so an unlisted key inside
|
|
250
|
+
* `appearance` is stripped by zod and then wiped from the file by the shallow
|
|
251
|
+
* merge-on-write. The cockpit adopts the PUT response as authoritative, so a
|
|
252
|
+
* stripped key does not merely fail to persist — it visibly reverts the
|
|
253
|
+
* control the user just touched. Adding an appearance preference means adding
|
|
254
|
+
* it here in the same change. */
|
|
245
255
|
const appearanceSchema = z.object({
|
|
246
256
|
accent: z.enum(['lime', 'violet']).optional(),
|
|
247
257
|
density: z.enum(['comfortable', 'compact', 'ultra']).optional(),
|
|
258
|
+
width: z.enum(['narrow', 'wide']).optional(),
|
|
248
259
|
});
|
|
249
260
|
const providerAuthDismissalsSchema = z
|
|
250
261
|
.object({
|