@open-mercato/cezar 0.9.1-pr712.862 → 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.
Files changed (42) hide show
  1. package/dist/server/server.js +15 -4
  2. package/dist/server/server.js.map +1 -1
  3. package/dist/server-install/platforms/ubuntu-vps.d.ts +15 -0
  4. package/dist/server-install/platforms/ubuntu-vps.js +83 -1
  5. package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
  6. package/package.json +2 -2
  7. package/web/dist/assets/alert-dialog-CqA7-o5o.js +1 -0
  8. package/web/dist/assets/collapsible-CbGRlmvJ.js +1 -0
  9. package/web/dist/assets/compare-variants-C-QxZ7g5.js +1 -0
  10. package/web/dist/assets/diff-SOW64exZ2.js +3 -0
  11. package/web/dist/assets/{diff-view-DqnxqJIT.js → diff-view-CZ9-DeN4.js} +4 -4
  12. package/web/dist/assets/dropdown-menu-BmtETw9T.js +1 -0
  13. package/web/dist/assets/git-toolbar-CQLW8aTk.js +1 -0
  14. package/web/dist/assets/github-MAYOzen1.js +1 -0
  15. package/web/dist/assets/index-C3yDW-E5.css +2 -0
  16. package/web/dist/assets/index-DSTWuVF3.js +22 -0
  17. package/web/dist/assets/new-task-form-umhQeDuQ.js +1 -0
  18. package/web/dist/assets/{repo-git-DNJLk9TE.js → repo-git-Cj6-F8Vx.js} +1 -1
  19. package/web/dist/assets/run-diff-Lcwe24zx.js +3 -0
  20. package/web/dist/assets/run-header-h_vX3Vbp.js +1 -0
  21. package/web/dist/assets/skills-C-ZQkBg_.js +1 -0
  22. package/web/dist/assets/{task-changes-sKVgN4OY.js → task-changes-BnVoUjWU.js} +1 -1
  23. package/web/dist/assets/task-commits-Burf2FSe.js +1 -0
  24. package/web/dist/assets/task-files-D_eNpY-s.js +2 -0
  25. package/web/dist/assets/task-thread-Cu_lcWqK.js +9 -0
  26. package/web/dist/assets/{use-desktop-C5Zi0WcT.js → use-desktop-Bs2zwN3k.js} +1 -1
  27. package/web/dist/assets/workflows-BsCGBm5Y.js +11 -0
  28. package/web/dist/index.html +7 -3
  29. package/web/dist/assets/compare-variants-DETaE9S5.js +0 -1
  30. package/web/dist/assets/diff-CBb2sTIY.js +0 -3
  31. package/web/dist/assets/dist-BDertzy3.js +0 -1
  32. package/web/dist/assets/git-toolbar-BfhSwV-5.js +0 -1
  33. package/web/dist/assets/github-Dh6pJto3.js +0 -1
  34. package/web/dist/assets/index-CrdG_TLt.css +0 -2
  35. package/web/dist/assets/index-D-ULex3d.js +0 -22
  36. package/web/dist/assets/run-diff-CoCtBCh8.js +0 -3
  37. package/web/dist/assets/run-header-BPfpppiz.js +0 -1
  38. package/web/dist/assets/skills-DBgcpxMj.js +0 -1
  39. package/web/dist/assets/task-commits-C3kc0xah.js +0 -1
  40. package/web/dist/assets/task-files-BdBMxh7F.js +0 -2
  41. package/web/dist/assets/task-thread-DG9TK8c0.js +0 -9
  42. package/web/dist/assets/workflows-CONir7vO.js +0 -11
@@ -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. ONE schema for both
242
- * ui-state files — per-repo (the legacy home, kept so an older cezar in the
243
- * same repo still honours it) and workspace (`~/.cezar/ui-state.json`, its
244
- * post-migration home — multi-project spec, Data Model). */
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({