@open-mercato/cezar 0.16.2-pr1677.3672 → 0.16.2-pr1677.3675

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.
@@ -15,19 +15,6 @@ export declare function worktreeLifecycleRoutes(opts?: {
15
15
  }): import("hono/hono-base").HonoBase<ProjectApiEnv, {
16
16
  "/worktree-lifecycle": {
17
17
  $get: {
18
- output: {
19
- error: string;
20
- };
21
- outputFormat: "json";
22
- status: 400 | 404 | 409;
23
- input: {
24
- query: {
25
- attentionOnly?: "false" | "true" | undefined;
26
- cursor?: string | undefined;
27
- limit?: unknown;
28
- };
29
- };
30
- } | {
31
18
  output: {
32
19
  worktrees: {
33
20
  worktreeId: string;
@@ -103,23 +90,24 @@ export declare function worktreeLifecycleRoutes(opts?: {
103
90
  limit?: unknown;
104
91
  };
105
92
  };
106
- };
107
- };
108
- } & {
109
- "/worktree-lifecycle/preview": {
110
- $post: {
93
+ } | {
111
94
  output: {
112
95
  error: string;
113
96
  };
114
97
  outputFormat: "json";
115
98
  status: 400 | 404 | 409;
116
99
  input: {
117
- json: {
118
- command: string;
119
- worktreeId?: string | undefined;
100
+ query: {
101
+ attentionOnly?: "false" | "true" | undefined;
102
+ cursor?: string | undefined;
103
+ limit?: unknown;
120
104
  };
121
105
  };
122
- } | {
106
+ };
107
+ };
108
+ } & {
109
+ "/worktree-lifecycle/preview": {
110
+ $post: {
123
111
  output: {
124
112
  renderedCommand: string;
125
113
  variables: {
@@ -139,11 +127,7 @@ export declare function worktreeLifecycleRoutes(opts?: {
139
127
  worktreeId?: string | undefined;
140
128
  };
141
129
  };
142
- };
143
- };
144
- } & {
145
- "/worktree-lifecycle/operations": {
146
- $post: {
130
+ } | {
147
131
  output: {
148
132
  error: string;
149
133
  };
@@ -151,16 +135,15 @@ export declare function worktreeLifecycleRoutes(opts?: {
151
135
  status: 400 | 404 | 409;
152
136
  input: {
153
137
  json: {
154
- requestId: string;
155
- runId: string;
156
- intent: "delete-task" | "reclaim" | "remove-worktree";
157
- } | {
158
- requestId: string;
159
- worktreeId: string;
160
- intent: "orphan";
138
+ command: string;
139
+ worktreeId?: string | undefined;
161
140
  };
162
141
  };
163
- } | {
142
+ };
143
+ };
144
+ } & {
145
+ "/worktree-lifecycle/operations": {
146
+ $post: {
164
147
  output: {
165
148
  operation: {
166
149
  id: string;
@@ -224,22 +207,28 @@ export declare function worktreeLifecycleRoutes(opts?: {
224
207
  intent: "orphan";
225
208
  };
226
209
  };
227
- };
228
- };
229
- } & {
230
- "/worktree-lifecycle/operations/:operationId": {
231
- $get: {
210
+ } | {
232
211
  output: {
233
212
  error: string;
234
213
  };
235
214
  outputFormat: "json";
236
215
  status: 400 | 404 | 409;
237
216
  input: {
238
- param: {
239
- operationId: string;
217
+ json: {
218
+ requestId: string;
219
+ runId: string;
220
+ intent: "delete-task" | "reclaim" | "remove-worktree";
221
+ } | {
222
+ requestId: string;
223
+ worktreeId: string;
224
+ intent: "orphan";
240
225
  };
241
226
  };
242
- } | {
227
+ };
228
+ };
229
+ } & {
230
+ "/worktree-lifecycle/operations/:operationId": {
231
+ $get: {
243
232
  output: {
244
233
  error: string;
245
234
  };
@@ -308,45 +297,22 @@ export declare function worktreeLifecycleRoutes(opts?: {
308
297
  operationId: string;
309
298
  };
310
299
  };
311
- };
312
- };
313
- } & {
314
- "/worktree-lifecycle/operations/:operationId/actions": {
315
- $post: {
316
- output: {
317
- error: string;
318
- };
319
- outputFormat: "json";
320
- status: 400 | 404 | 409;
321
- input: {
322
- param: {
323
- operationId: string;
324
- };
325
- } & {
326
- json: {
327
- requestId: string;
328
- expectedRevision: number;
329
- action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
330
- };
331
- };
332
300
  } | {
333
301
  output: {
334
302
  error: string;
335
303
  };
336
304
  outputFormat: "json";
337
- status: 400;
305
+ status: 400 | 404 | 409;
338
306
  input: {
339
307
  param: {
340
308
  operationId: string;
341
309
  };
342
- } & {
343
- json: {
344
- requestId: string;
345
- expectedRevision: number;
346
- action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
347
- };
348
310
  };
349
- } | {
311
+ };
312
+ };
313
+ } & {
314
+ "/worktree-lifecycle/operations/:operationId/actions": {
315
+ $post: {
350
316
  output: {
351
317
  operation: {
352
318
  id: string;
@@ -410,27 +376,45 @@ export declare function worktreeLifecycleRoutes(opts?: {
410
376
  action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
411
377
  };
412
378
  };
413
- };
414
- };
415
- } & {
416
- "/worktree-lifecycle/operations/:operationId/output": {
417
- $get: {
379
+ } | {
418
380
  output: {
419
381
  error: string;
420
382
  };
421
383
  outputFormat: "json";
422
- status: 400 | 404 | 409;
384
+ status: 400;
423
385
  input: {
424
386
  param: {
425
387
  operationId: string;
426
388
  };
427
389
  } & {
428
- query: {
429
- afterSeq?: unknown;
430
- limit?: unknown;
390
+ json: {
391
+ requestId: string;
392
+ expectedRevision: number;
393
+ action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
431
394
  };
432
395
  };
433
396
  } | {
397
+ output: {
398
+ error: string;
399
+ };
400
+ outputFormat: "json";
401
+ status: 400 | 404 | 409;
402
+ input: {
403
+ param: {
404
+ operationId: string;
405
+ };
406
+ } & {
407
+ json: {
408
+ requestId: string;
409
+ expectedRevision: number;
410
+ action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
411
+ };
412
+ };
413
+ };
414
+ };
415
+ } & {
416
+ "/worktree-lifecycle/operations/:operationId/output": {
417
+ $get: {
434
418
  output: {
435
419
  error: string;
436
420
  };
@@ -470,11 +454,7 @@ export declare function worktreeLifecycleRoutes(opts?: {
470
454
  limit?: unknown;
471
455
  };
472
456
  };
473
- };
474
- };
475
- } & {
476
- "/worktree-lifecycle/:worktreeId": {
477
- $get: {
457
+ } | {
478
458
  output: {
479
459
  error: string;
480
460
  };
@@ -482,10 +462,19 @@ export declare function worktreeLifecycleRoutes(opts?: {
482
462
  status: 400 | 404 | 409;
483
463
  input: {
484
464
  param: {
485
- worktreeId: string;
465
+ operationId: string;
466
+ };
467
+ } & {
468
+ query: {
469
+ afterSeq?: unknown;
470
+ limit?: unknown;
486
471
  };
487
472
  };
488
- } | {
473
+ };
474
+ };
475
+ } & {
476
+ "/worktree-lifecycle/:worktreeId": {
477
+ $get: {
489
478
  output: {
490
479
  error: string;
491
480
  };
@@ -617,6 +606,17 @@ export declare function worktreeLifecycleRoutes(opts?: {
617
606
  worktreeId: string;
618
607
  };
619
608
  };
609
+ } | {
610
+ output: {
611
+ error: string;
612
+ };
613
+ outputFormat: "json";
614
+ status: 400 | 404 | 409;
615
+ input: {
616
+ param: {
617
+ worktreeId: string;
618
+ };
619
+ };
620
620
  };
621
621
  };
622
622
  }, "/", "/worktree-lifecycle/:worktreeId">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/cezar",
3
- "version": "0.16.2-pr1677.3672",
3
+ "version": "0.16.2-pr1677.3675",
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.16.2-pr1677.3672",
58
- "@open-mercato/cezar-contract": "0.16.2-pr1677.3672",
57
+ "@open-mercato/cezar-api-client": "0.16.2-pr1677.3675",
58
+ "@open-mercato/cezar-contract": "0.16.2-pr1677.3675",
59
59
  "@types/node": "^20.14.0",
60
60
  "@types/proper-lockfile": "4.1.4",
61
61
  "@types/ws": "^8.18.1",