@open-mercato/cezar 0.9.1-pr709.854 → 0.9.1-pr709.870
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 +25 -7
- 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-M7YduMOg.js +1 -0
- package/web/dist/assets/collapsible-CoUP96dN.js +1 -0
- package/web/dist/assets/compare-variants-CFi5n4F-.js +1 -0
- package/web/dist/assets/diff-BnlnNenI2.js +3 -0
- package/web/dist/assets/{diff-view-Bp3wVnEU.js → diff-view-CBATI3EL.js} +4 -4
- package/web/dist/assets/dropdown-menu-BHpYQjZJ.js +1 -0
- package/web/dist/assets/git-toolbar-CQdWxijd.js +1 -0
- package/web/dist/assets/github-CndEWbqQ.js +1 -0
- package/web/dist/assets/index-C3yDW-E5.css +2 -0
- package/web/dist/assets/index-CDY4TzOW.js +22 -0
- package/web/dist/assets/new-task-form-umhQeDuQ.js +1 -0
- package/web/dist/assets/{repo-git-Cc9uAVzh.js → repo-git-B2-mxr_N.js} +1 -1
- package/web/dist/assets/run-diff-DqK4NA6O.js +3 -0
- package/web/dist/assets/run-header-C-BKHnR_.js +1 -0
- package/web/dist/assets/skills-B2mskS4N.js +1 -0
- package/web/dist/assets/{task-changes-1Dlu76oI.js → task-changes-Dk8OUuwd.js} +1 -1
- package/web/dist/assets/task-commits-DYISAhWp.js +1 -0
- package/web/dist/assets/task-files-9qB7i9S1.js +2 -0
- package/web/dist/assets/task-thread-91A5gaXt.js +9 -0
- package/web/dist/assets/{use-desktop-DGeHtQ89.js → use-desktop-QtN8f6R3.js} +1 -1
- package/web/dist/assets/workflows-DSZXc9ln.js +11 -0
- package/web/dist/index.html +7 -3
- package/web/dist/assets/compare-variants-CbiCg_gM.js +0 -1
- package/web/dist/assets/diff-CANo6FGh.js +0 -3
- package/web/dist/assets/dist-BGP2OpHS.js +0 -1
- package/web/dist/assets/git-toolbar-CntWCsG_.js +0 -1
- package/web/dist/assets/github-72b-Q1Br.js +0 -1
- package/web/dist/assets/index-CrdG_TLt.css +0 -2
- package/web/dist/assets/index-Dngu3-hi.js +0 -22
- package/web/dist/assets/run-diff-B4U4s0Xi.js +0 -3
- package/web/dist/assets/run-header-BVnuXZE2.js +0 -1
- package/web/dist/assets/skills-BDD1dfEE.js +0 -1
- package/web/dist/assets/task-commits-BbdH8rWJ.js +0 -1
- package/web/dist/assets/task-files-DZ3YIg_X.js +0 -2
- package/web/dist/assets/task-thread-7gsMtehO.js +0 -9
- package/web/dist/assets/workflows-DDKekv0c.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({
|
|
@@ -2146,9 +2157,16 @@ export function createApp(deps) {
|
|
|
2146
2157
|
if (!parsed.success) {
|
|
2147
2158
|
return c.json({ error: parsed.error.issues.map((i) => i.message).join('; ') }, 400);
|
|
2148
2159
|
}
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2160
|
+
// Stacking onto a queued prompt mutates an existing task and invokes no provider.
|
|
2161
|
+
// Provider availability still gates live delivery after the record leaves `queued`, but
|
|
2162
|
+
// must not strand prompt authoring just because an unrelated fallback provider is
|
|
2163
|
+
// disconnected (provider-auth spec: disabling never blocks existing-task mutations).
|
|
2164
|
+
// In the dequeue race, the ladder below safely turns this into a starting-state buffer.
|
|
2165
|
+
if (run.status !== 'queued') {
|
|
2166
|
+
const blocked = await providerActionError([providerForActiveRun(run)]);
|
|
2167
|
+
if (blocked)
|
|
2168
|
+
return c.json({ error: blocked }, 409);
|
|
2169
|
+
}
|
|
2152
2170
|
const content = [
|
|
2153
2171
|
...parsed.data.images.map((img) => ({
|
|
2154
2172
|
type: 'image',
|