@open-mercato/cezar 0.18.0-pr1990.4537 → 0.18.0-pr1990.4541

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;
@@ -206,6 +206,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
206
206
  } & {
207
207
  "/workspace/dashboard/overview": {
208
208
  $get: {
209
+ output: {
210
+ error: 'Dashboard changed; refresh the list';
211
+ code: 'snapshot-expired';
212
+ };
213
+ outputFormat: "json";
214
+ status: 409;
215
+ input: {
216
+ query: {
217
+ period?: "30d" | "7d" | undefined;
218
+ tzOffsetMinutes?: unknown;
219
+ snapshotId?: string | undefined;
220
+ projectId?: string | undefined;
221
+ group?: "completed" | "failed" | "needs-you" | "running" | undefined;
222
+ offset?: unknown;
223
+ limit?: unknown;
224
+ };
225
+ };
226
+ } | {
209
227
  output: {
210
228
  snapshotId: string;
211
229
  asOf: string;
@@ -265,7 +283,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
265
283
  limit?: unknown;
266
284
  };
267
285
  };
268
- } | {
286
+ };
287
+ };
288
+ } & {
289
+ "/workspace/dashboard/tasks": {
290
+ $get: {
269
291
  output: {
270
292
  error: 'Dashboard changed; refresh the list';
271
293
  code: 'snapshot-expired';
@@ -274,20 +296,13 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
274
296
  status: 409;
275
297
  input: {
276
298
  query: {
277
- period?: "30d" | "7d" | undefined;
278
- tzOffsetMinutes?: unknown;
279
- snapshotId?: string | undefined;
280
- projectId?: string | undefined;
281
- group?: "completed" | "failed" | "needs-you" | "running" | undefined;
299
+ snapshotId: string;
300
+ group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
282
301
  offset?: unknown;
283
302
  limit?: unknown;
284
303
  };
285
304
  };
286
- };
287
- };
288
- } & {
289
- "/workspace/dashboard/tasks": {
290
- $get: {
305
+ } | {
291
306
  output: {
292
307
  snapshotId: string;
293
308
  asOf: string;
@@ -367,7 +382,11 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
367
382
  limit?: unknown;
368
383
  };
369
384
  };
370
- } | {
385
+ };
386
+ };
387
+ } & {
388
+ "/workspace/dashboard/costs": {
389
+ $get: {
371
390
  output: {
372
391
  error: 'Dashboard changed; refresh the list';
373
392
  code: 'snapshot-expired';
@@ -376,17 +395,16 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
376
395
  status: 409;
377
396
  input: {
378
397
  query: {
379
- snapshotId: string;
380
- group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
398
+ period?: "30d" | "7d" | "all" | undefined;
399
+ sort?: "cost" | "input" | "output" | undefined;
400
+ projectId?: string | undefined;
401
+ snapshotId?: string | undefined;
402
+ tzOffsetMinutes?: unknown;
381
403
  offset?: unknown;
382
404
  limit?: unknown;
383
405
  };
384
406
  };
385
- };
386
- };
387
- } & {
388
- "/workspace/dashboard/costs": {
389
- $get: {
407
+ } | {
390
408
  output: {
391
409
  snapshotId: string;
392
410
  asOf: string;
@@ -493,24 +511,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
493
511
  limit?: unknown;
494
512
  };
495
513
  };
496
- } | {
497
- output: {
498
- error: 'Dashboard changed; refresh the list';
499
- code: 'snapshot-expired';
500
- };
501
- outputFormat: "json";
502
- status: 409;
503
- input: {
504
- query: {
505
- period?: "30d" | "7d" | "all" | undefined;
506
- sort?: "cost" | "input" | "output" | undefined;
507
- projectId?: string | undefined;
508
- snapshotId?: string | undefined;
509
- tzOffsetMinutes?: unknown;
510
- offset?: unknown;
511
- limit?: unknown;
512
- };
513
- };
514
514
  };
515
515
  };
516
516
  } & {
@@ -9848,19 +9848,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9848
9848
  } & {
9849
9849
  "/repo/commit/:sha": {
9850
9850
  $get: {
9851
- output: string;
9852
- outputFormat: "text";
9853
- status: import("hono/utils/http-status").ContentfulStatusCode;
9854
- input: {
9855
- query: {
9856
- structured?: string | string[] | undefined;
9857
- };
9858
- } & {
9859
- param: {
9860
- sha: string;
9861
- };
9862
- };
9863
- } | {
9864
9851
  output: {
9865
9852
  sha: string;
9866
9853
  subject: string;
@@ -9908,6 +9895,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9908
9895
  sha: string;
9909
9896
  };
9910
9897
  };
9898
+ } | {
9899
+ output: string;
9900
+ outputFormat: "text";
9901
+ status: import("hono/utils/http-status").ContentfulStatusCode;
9902
+ input: {
9903
+ query: {
9904
+ structured?: string | string[] | undefined;
9905
+ };
9906
+ } & {
9907
+ param: {
9908
+ sha: string;
9909
+ };
9910
+ };
9911
9911
  };
9912
9912
  };
9913
9913
  } & {
@@ -19378,20 +19378,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19378
19378
  } & {
19379
19379
  "/runs/:id/handoff": {
19380
19380
  $get: {
19381
- output: string;
19382
- outputFormat: "text";
19383
- status: 200;
19381
+ output: {
19382
+ error: string;
19383
+ };
19384
+ outputFormat: "json";
19385
+ status: 404;
19384
19386
  input: {
19385
19387
  param: {
19386
19388
  id: string;
19387
19389
  };
19388
19390
  };
19389
19391
  } | {
19390
- output: {
19391
- error: string;
19392
- };
19393
- outputFormat: "json";
19394
- status: 404;
19392
+ output: string;
19393
+ outputFormat: "text";
19394
+ status: 200;
19395
19395
  input: {
19396
19396
  param: {
19397
19397
  id: string;
@@ -19417,20 +19417,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19417
19417
  } & {
19418
19418
  "/runs/:id/diff": {
19419
19419
  $get: {
19420
- output: string;
19421
- outputFormat: "text";
19422
- status: import("hono/utils/http-status").ContentfulStatusCode;
19420
+ output: {
19421
+ error: string;
19422
+ };
19423
+ outputFormat: "json";
19424
+ status: 404;
19423
19425
  input: {
19424
19426
  param: {
19425
19427
  id: string;
19426
19428
  };
19427
19429
  };
19428
19430
  } | {
19429
- output: {
19430
- error: string;
19431
- };
19432
- outputFormat: "json";
19433
- status: 404;
19431
+ output: string;
19432
+ outputFormat: "text";
19433
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19434
19434
  input: {
19435
19435
  param: {
19436
19436
  id: string;
@@ -25615,19 +25615,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25615
25615
  } & {
25616
25616
  "/repo/commit/:sha": {
25617
25617
  $get: {
25618
- output: string;
25619
- outputFormat: "text";
25620
- status: import("hono/utils/http-status").ContentfulStatusCode;
25621
- input: {
25622
- query: {
25623
- structured?: string | string[] | undefined;
25624
- };
25625
- } & {
25626
- param: {
25627
- sha: string;
25628
- };
25629
- };
25630
- } | {
25631
25618
  output: {
25632
25619
  sha: string;
25633
25620
  subject: string;
@@ -25675,6 +25662,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25675
25662
  sha: string;
25676
25663
  };
25677
25664
  };
25665
+ } | {
25666
+ output: string;
25667
+ outputFormat: "text";
25668
+ status: import("hono/utils/http-status").ContentfulStatusCode;
25669
+ input: {
25670
+ query: {
25671
+ structured?: string | string[] | undefined;
25672
+ };
25673
+ } & {
25674
+ param: {
25675
+ sha: string;
25676
+ };
25677
+ };
25678
25678
  };
25679
25679
  };
25680
25680
  } & {
@@ -35145,20 +35145,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35145
35145
  } & {
35146
35146
  "/runs/:id/handoff": {
35147
35147
  $get: {
35148
- output: string;
35149
- outputFormat: "text";
35150
- status: 200;
35148
+ output: {
35149
+ error: string;
35150
+ };
35151
+ outputFormat: "json";
35152
+ status: 404;
35151
35153
  input: {
35152
35154
  param: {
35153
35155
  id: string;
35154
35156
  };
35155
35157
  };
35156
35158
  } | {
35157
- output: {
35158
- error: string;
35159
- };
35160
- outputFormat: "json";
35161
- status: 404;
35159
+ output: string;
35160
+ outputFormat: "text";
35161
+ status: 200;
35162
35162
  input: {
35163
35163
  param: {
35164
35164
  id: string;
@@ -35184,20 +35184,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35184
35184
  } & {
35185
35185
  "/runs/:id/diff": {
35186
35186
  $get: {
35187
- output: string;
35188
- outputFormat: "text";
35189
- status: import("hono/utils/http-status").ContentfulStatusCode;
35187
+ output: {
35188
+ error: string;
35189
+ };
35190
+ outputFormat: "json";
35191
+ status: 404;
35190
35192
  input: {
35191
35193
  param: {
35192
35194
  id: string;
35193
35195
  };
35194
35196
  };
35195
35197
  } | {
35196
- output: {
35197
- error: string;
35198
- };
35199
- outputFormat: "json";
35200
- status: 404;
35198
+ output: string;
35199
+ outputFormat: "text";
35200
+ status: import("hono/utils/http-status").ContentfulStatusCode;
35201
35201
  input: {
35202
35202
  param: {
35203
35203
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cezar",
3
- "version": "0.18.0-pr1990.4537",
3
+ "version": "0.18.0-pr1990.4541",
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",
@@ -55,8 +55,8 @@
55
55
  "zod": "^4.4.3"
56
56
  },
57
57
  "devDependencies": {
58
- "@open-mercato/cezar-api-client": "0.18.0-pr1990.4537",
59
- "@open-mercato/cezar-contract": "0.18.0-pr1990.4537",
58
+ "@open-mercato/cezar-api-client": "0.18.0-pr1990.4541",
59
+ "@open-mercato/cezar-contract": "0.18.0-pr1990.4541",
60
60
  "@types/node": "^20.14.0",
61
61
  "@types/proper-lockfile": "4.1.4",
62
62
  "@types/ws": "^8.18.1",