@open-mercato/cezar 0.15.0-pr1404.2991 → 0.15.0-pr1406.3003

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.
@@ -8,7 +8,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
8
8
  error: string;
9
9
  };
10
10
  outputFormat: "json";
11
- status: 404;
11
+ status: 409;
12
12
  input: {
13
13
  query: {
14
14
  projectId: string;
@@ -16,10 +16,21 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
16
16
  };
17
17
  } | {
18
18
  output: {
19
- error: string;
19
+ timeZone: string;
20
+ automations: {
21
+ id: string;
22
+ name: string;
23
+ enabled: boolean;
24
+ kind: "github" | "schedule" | "tracker";
25
+ nextRunAt?: string | undefined;
26
+ state?: {
27
+ backoffUntil?: string | undefined;
28
+ consecutiveFailures?: number | undefined;
29
+ } | undefined;
30
+ }[];
20
31
  };
21
32
  outputFormat: "json";
22
- status: 409;
33
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23
34
  input: {
24
35
  query: {
25
36
  projectId: string;
@@ -30,7 +41,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
30
41
  error: string;
31
42
  };
32
43
  outputFormat: "json";
33
- status: 503;
44
+ status: 404;
34
45
  input: {
35
46
  query: {
36
47
  projectId: string;
@@ -38,21 +49,10 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
38
49
  };
39
50
  } | {
40
51
  output: {
41
- timeZone: string;
42
- automations: {
43
- id: string;
44
- name: string;
45
- enabled: boolean;
46
- kind: "github" | "schedule" | "tracker";
47
- nextRunAt?: string | undefined;
48
- state?: {
49
- backoffUntil?: string | undefined;
50
- consecutiveFailures?: number | undefined;
51
- } | undefined;
52
- }[];
52
+ error: string;
53
53
  };
54
54
  outputFormat: "json";
55
- status: import("hono/utils/http-status").ContentfulStatusCode;
55
+ status: 503;
56
56
  input: {
57
57
  query: {
58
58
  projectId: string;
@@ -184,24 +184,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
184
184
  } & {
185
185
  "/workspace/dashboard/overview": {
186
186
  $get: {
187
- output: {
188
- error: 'Dashboard changed; refresh the list';
189
- code: 'snapshot-expired';
190
- };
191
- outputFormat: "json";
192
- status: 409;
193
- input: {
194
- query: {
195
- period?: "30d" | "7d" | undefined;
196
- tzOffsetMinutes?: unknown;
197
- snapshotId?: string | undefined;
198
- projectId?: string | undefined;
199
- group?: "completed" | "failed" | "needs-you" | "running" | undefined;
200
- offset?: unknown;
201
- limit?: unknown;
202
- };
203
- };
204
- } | {
205
187
  output: {
206
188
  snapshotId: string;
207
189
  asOf: string;
@@ -261,11 +243,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
261
243
  limit?: unknown;
262
244
  };
263
245
  };
264
- };
265
- };
266
- } & {
267
- "/workspace/dashboard/tasks": {
268
- $get: {
246
+ } | {
269
247
  output: {
270
248
  error: 'Dashboard changed; refresh the list';
271
249
  code: 'snapshot-expired';
@@ -274,13 +252,20 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
274
252
  status: 409;
275
253
  input: {
276
254
  query: {
277
- snapshotId: string;
278
- group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
255
+ period?: "30d" | "7d" | undefined;
256
+ tzOffsetMinutes?: unknown;
257
+ snapshotId?: string | undefined;
258
+ projectId?: string | undefined;
259
+ group?: "completed" | "failed" | "needs-you" | "running" | undefined;
279
260
  offset?: unknown;
280
261
  limit?: unknown;
281
262
  };
282
263
  };
283
- } | {
264
+ };
265
+ };
266
+ } & {
267
+ "/workspace/dashboard/tasks": {
268
+ $get: {
284
269
  output: {
285
270
  snapshotId: string;
286
271
  asOf: string;
@@ -349,11 +334,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
349
334
  limit?: unknown;
350
335
  };
351
336
  };
352
- };
353
- };
354
- } & {
355
- "/workspace/dashboard/costs": {
356
- $get: {
337
+ } | {
357
338
  output: {
358
339
  error: 'Dashboard changed; refresh the list';
359
340
  code: 'snapshot-expired';
@@ -362,16 +343,17 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
362
343
  status: 409;
363
344
  input: {
364
345
  query: {
365
- period?: "30d" | "7d" | "all" | undefined;
366
- sort?: "cost" | "input" | "output" | undefined;
367
- projectId?: string | undefined;
368
- snapshotId?: string | undefined;
369
- tzOffsetMinutes?: unknown;
346
+ snapshotId: string;
347
+ group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
370
348
  offset?: unknown;
371
349
  limit?: unknown;
372
350
  };
373
351
  };
374
- } | {
352
+ };
353
+ };
354
+ } & {
355
+ "/workspace/dashboard/costs": {
356
+ $get: {
375
357
  output: {
376
358
  snapshotId: string;
377
359
  asOf: string;
@@ -478,6 +460,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
478
460
  limit?: unknown;
479
461
  };
480
462
  };
463
+ } | {
464
+ output: {
465
+ error: 'Dashboard changed; refresh the list';
466
+ code: 'snapshot-expired';
467
+ };
468
+ outputFormat: "json";
469
+ status: 409;
470
+ input: {
471
+ query: {
472
+ period?: "30d" | "7d" | "all" | undefined;
473
+ sort?: "cost" | "input" | "output" | undefined;
474
+ projectId?: string | undefined;
475
+ snapshotId?: string | undefined;
476
+ tzOffsetMinutes?: unknown;
477
+ offset?: unknown;
478
+ limit?: unknown;
479
+ };
480
+ };
481
481
  };
482
482
  };
483
483
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cezar",
3
- "version": "0.15.0-pr1404.2991",
3
+ "version": "0.15.0-pr1406.3003",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -54,8 +54,8 @@
54
54
  "zod": "^4.4.3"
55
55
  },
56
56
  "devDependencies": {
57
- "@open-mercato/cezar-api-client": "0.15.0-pr1404.2991",
58
- "@open-mercato/cezar-contract": "0.15.0-pr1404.2991",
57
+ "@open-mercato/cezar-api-client": "0.15.0-pr1406.3003",
58
+ "@open-mercato/cezar-contract": "0.15.0-pr1406.3003",
59
59
  "@types/node": "^20.14.0",
60
60
  "@types/proper-lockfile": "4.1.4",
61
61
  "@types/ws": "^8.18.1",