@open-mercato/cezar 0.12.0-pr1144.2016 → 0.12.0-pr1144.2017

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: 409;
11
+ status: 404;
12
12
  input: {
13
13
  query: {
14
14
  projectId: string;
@@ -16,21 +16,10 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
16
16
  };
17
17
  } | {
18
18
  output: {
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
- }[];
19
+ error: string;
31
20
  };
32
21
  outputFormat: "json";
33
- status: import("hono/utils/http-status").ContentfulStatusCode;
22
+ status: 409;
34
23
  input: {
35
24
  query: {
36
25
  projectId: string;
@@ -41,7 +30,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
41
30
  error: string;
42
31
  };
43
32
  outputFormat: "json";
44
- status: 404;
33
+ status: 503;
45
34
  input: {
46
35
  query: {
47
36
  projectId: string;
@@ -49,10 +38,21 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
49
38
  };
50
39
  } | {
51
40
  output: {
52
- error: string;
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
+ }[];
53
53
  };
54
54
  outputFormat: "json";
55
- status: 503;
55
+ status: import("hono/utils/http-status").ContentfulStatusCode;
56
56
  input: {
57
57
  query: {
58
58
  projectId: string;
@@ -168,6 +168,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
168
168
  } & {
169
169
  "/workspace/dashboard/overview": {
170
170
  $get: {
171
+ output: {
172
+ error: 'Dashboard changed; refresh the list';
173
+ code: 'snapshot-expired';
174
+ };
175
+ outputFormat: "json";
176
+ status: 409;
177
+ input: {
178
+ query: {
179
+ period?: "30d" | "7d" | undefined;
180
+ tzOffsetMinutes?: unknown;
181
+ snapshotId?: string | undefined;
182
+ projectId?: string | undefined;
183
+ group?: "completed" | "failed" | "needs-you" | "running" | undefined;
184
+ offset?: unknown;
185
+ limit?: unknown;
186
+ };
187
+ };
188
+ } | {
171
189
  output: {
172
190
  snapshotId: string;
173
191
  asOf: string;
@@ -227,7 +245,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
227
245
  limit?: unknown;
228
246
  };
229
247
  };
230
- } | {
248
+ };
249
+ };
250
+ } & {
251
+ "/workspace/dashboard/tasks": {
252
+ $get: {
231
253
  output: {
232
254
  error: 'Dashboard changed; refresh the list';
233
255
  code: 'snapshot-expired';
@@ -236,20 +258,13 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
236
258
  status: 409;
237
259
  input: {
238
260
  query: {
239
- period?: "30d" | "7d" | undefined;
240
- tzOffsetMinutes?: unknown;
241
- snapshotId?: string | undefined;
242
- projectId?: string | undefined;
243
- group?: "completed" | "failed" | "needs-you" | "running" | undefined;
261
+ snapshotId: string;
262
+ group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
244
263
  offset?: unknown;
245
264
  limit?: unknown;
246
265
  };
247
266
  };
248
- };
249
- };
250
- } & {
251
- "/workspace/dashboard/tasks": {
252
- $get: {
267
+ } | {
253
268
  output: {
254
269
  snapshotId: string;
255
270
  asOf: string;
@@ -310,7 +325,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
310
325
  limit?: unknown;
311
326
  };
312
327
  };
313
- } | {
328
+ };
329
+ };
330
+ } & {
331
+ "/workspace/dashboard/costs": {
332
+ $get: {
314
333
  output: {
315
334
  error: 'Dashboard changed; refresh the list';
316
335
  code: 'snapshot-expired';
@@ -319,17 +338,16 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
319
338
  status: 409;
320
339
  input: {
321
340
  query: {
322
- snapshotId: string;
323
- group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
341
+ period?: "30d" | "7d" | "all" | undefined;
342
+ sort?: "cost" | "input" | "output" | undefined;
343
+ projectId?: string | undefined;
344
+ snapshotId?: string | undefined;
345
+ tzOffsetMinutes?: unknown;
324
346
  offset?: unknown;
325
347
  limit?: unknown;
326
348
  };
327
349
  };
328
- };
329
- };
330
- } & {
331
- "/workspace/dashboard/costs": {
332
- $get: {
350
+ } | {
333
351
  output: {
334
352
  snapshotId: string;
335
353
  asOf: string;
@@ -435,24 +453,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
435
453
  limit?: unknown;
436
454
  };
437
455
  };
438
- } | {
439
- output: {
440
- error: 'Dashboard changed; refresh the list';
441
- code: 'snapshot-expired';
442
- };
443
- outputFormat: "json";
444
- status: 409;
445
- input: {
446
- query: {
447
- period?: "30d" | "7d" | "all" | undefined;
448
- sort?: "cost" | "input" | "output" | undefined;
449
- projectId?: string | undefined;
450
- snapshotId?: string | undefined;
451
- tzOffsetMinutes?: unknown;
452
- offset?: unknown;
453
- limit?: unknown;
454
- };
455
- };
456
456
  };
457
457
  };
458
458
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cezar",
3
- "version": "0.12.0-pr1144.2016",
3
+ "version": "0.12.0-pr1144.2017",
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.12.0-pr1144.2016",
58
- "@open-mercato/cezar-contract": "0.12.0-pr1144.2016",
57
+ "@open-mercato/cezar-api-client": "0.12.0-pr1144.2017",
58
+ "@open-mercato/cezar-contract": "0.12.0-pr1144.2017",
59
59
  "@types/node": "^20.14.0",
60
60
  "@types/proper-lockfile": "4.1.4",
61
61
  "@types/ws": "^8.18.1",