@open-mercato/cezar 0.19.0-pr1881.4635 → 0.19.0-pr1881.4667
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.
|
@@ -65,6 +65,20 @@ export declare function agentSetupRoutes(deps: AgentSetupDeps): import("hono/hon
|
|
|
65
65
|
} & {
|
|
66
66
|
"/providers/setup/sessions": {
|
|
67
67
|
$post: {
|
|
68
|
+
output: {
|
|
69
|
+
error: string;
|
|
70
|
+
};
|
|
71
|
+
outputFormat: "json";
|
|
72
|
+
status: 409;
|
|
73
|
+
input: {
|
|
74
|
+
json: {
|
|
75
|
+
provider: "claude" | "codex" | "copilot" | "cursor" | "opencode";
|
|
76
|
+
action: "install" | "login";
|
|
77
|
+
cols?: number | undefined;
|
|
78
|
+
rows?: number | undefined;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
} | {
|
|
68
82
|
output: {
|
|
69
83
|
id: string;
|
|
70
84
|
runId: string;
|
|
@@ -118,20 +132,6 @@ export declare function agentSetupRoutes(deps: AgentSetupDeps): import("hono/hon
|
|
|
118
132
|
rows?: number | undefined;
|
|
119
133
|
};
|
|
120
134
|
};
|
|
121
|
-
} | {
|
|
122
|
-
output: {
|
|
123
|
-
error: string;
|
|
124
|
-
};
|
|
125
|
-
outputFormat: "json";
|
|
126
|
-
status: 409;
|
|
127
|
-
input: {
|
|
128
|
-
json: {
|
|
129
|
-
provider: "claude" | "codex" | "copilot" | "cursor" | "opencode";
|
|
130
|
-
action: "install" | "login";
|
|
131
|
-
cols?: number | undefined;
|
|
132
|
-
rows?: number | undefined;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
135
|
} | {
|
|
136
136
|
output: {
|
|
137
137
|
error: string;
|
|
@@ -8,7 +8,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
8
8
|
error: string;
|
|
9
9
|
};
|
|
10
10
|
outputFormat: "json";
|
|
11
|
-
status:
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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:
|
|
55
|
+
status: 503;
|
|
56
56
|
input: {
|
|
57
57
|
query: {
|
|
58
58
|
projectId: string;
|
|
@@ -222,24 +222,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
222
222
|
} & {
|
|
223
223
|
"/workspace/dashboard/overview": {
|
|
224
224
|
$get: {
|
|
225
|
-
output: {
|
|
226
|
-
error: 'Dashboard changed; refresh the list';
|
|
227
|
-
code: 'snapshot-expired';
|
|
228
|
-
};
|
|
229
|
-
outputFormat: "json";
|
|
230
|
-
status: 409;
|
|
231
|
-
input: {
|
|
232
|
-
query: {
|
|
233
|
-
period?: "30d" | "7d" | undefined;
|
|
234
|
-
tzOffsetMinutes?: unknown;
|
|
235
|
-
snapshotId?: string | undefined;
|
|
236
|
-
projectId?: string | undefined;
|
|
237
|
-
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
238
|
-
offset?: unknown;
|
|
239
|
-
limit?: unknown;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
} | {
|
|
243
225
|
output: {
|
|
244
226
|
snapshotId: string;
|
|
245
227
|
asOf: string;
|
|
@@ -299,11 +281,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
299
281
|
limit?: unknown;
|
|
300
282
|
};
|
|
301
283
|
};
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
} & {
|
|
305
|
-
"/workspace/dashboard/tasks": {
|
|
306
|
-
$get: {
|
|
284
|
+
} | {
|
|
307
285
|
output: {
|
|
308
286
|
error: 'Dashboard changed; refresh the list';
|
|
309
287
|
code: 'snapshot-expired';
|
|
@@ -312,13 +290,20 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
312
290
|
status: 409;
|
|
313
291
|
input: {
|
|
314
292
|
query: {
|
|
315
|
-
|
|
316
|
-
|
|
293
|
+
period?: "30d" | "7d" | undefined;
|
|
294
|
+
tzOffsetMinutes?: unknown;
|
|
295
|
+
snapshotId?: string | undefined;
|
|
296
|
+
projectId?: string | undefined;
|
|
297
|
+
group?: "completed" | "failed" | "needs-you" | "running" | undefined;
|
|
317
298
|
offset?: unknown;
|
|
318
299
|
limit?: unknown;
|
|
319
300
|
};
|
|
320
301
|
};
|
|
321
|
-
}
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
} & {
|
|
305
|
+
"/workspace/dashboard/tasks": {
|
|
306
|
+
$get: {
|
|
322
307
|
output: {
|
|
323
308
|
snapshotId: string;
|
|
324
309
|
asOf: string;
|
|
@@ -406,11 +391,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
406
391
|
limit?: unknown;
|
|
407
392
|
};
|
|
408
393
|
};
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
} & {
|
|
412
|
-
"/workspace/dashboard/costs": {
|
|
413
|
-
$get: {
|
|
394
|
+
} | {
|
|
414
395
|
output: {
|
|
415
396
|
error: 'Dashboard changed; refresh the list';
|
|
416
397
|
code: 'snapshot-expired';
|
|
@@ -419,16 +400,17 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
419
400
|
status: 409;
|
|
420
401
|
input: {
|
|
421
402
|
query: {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
projectId?: string | undefined;
|
|
425
|
-
snapshotId?: string | undefined;
|
|
426
|
-
tzOffsetMinutes?: unknown;
|
|
403
|
+
snapshotId: string;
|
|
404
|
+
group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
|
|
427
405
|
offset?: unknown;
|
|
428
406
|
limit?: unknown;
|
|
429
407
|
};
|
|
430
408
|
};
|
|
431
|
-
}
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
} & {
|
|
412
|
+
"/workspace/dashboard/costs": {
|
|
413
|
+
$get: {
|
|
432
414
|
output: {
|
|
433
415
|
snapshotId: string;
|
|
434
416
|
asOf: string;
|
|
@@ -536,6 +518,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
|
|
|
536
518
|
limit?: unknown;
|
|
537
519
|
};
|
|
538
520
|
};
|
|
521
|
+
} | {
|
|
522
|
+
output: {
|
|
523
|
+
error: 'Dashboard changed; refresh the list';
|
|
524
|
+
code: 'snapshot-expired';
|
|
525
|
+
};
|
|
526
|
+
outputFormat: "json";
|
|
527
|
+
status: 409;
|
|
528
|
+
input: {
|
|
529
|
+
query: {
|
|
530
|
+
period?: "30d" | "7d" | "all" | undefined;
|
|
531
|
+
sort?: "cost" | "input" | "output" | undefined;
|
|
532
|
+
projectId?: string | undefined;
|
|
533
|
+
snapshotId?: string | undefined;
|
|
534
|
+
tzOffsetMinutes?: unknown;
|
|
535
|
+
offset?: unknown;
|
|
536
|
+
limit?: unknown;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
539
|
};
|
|
540
540
|
};
|
|
541
541
|
} & {
|
package/dist/server/server.d.ts
CHANGED
|
@@ -12691,19 +12691,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12691
12691
|
} & {
|
|
12692
12692
|
"/repo/commit/:sha": {
|
|
12693
12693
|
$get: {
|
|
12694
|
-
output: string;
|
|
12695
|
-
outputFormat: "text";
|
|
12696
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12697
|
-
input: {
|
|
12698
|
-
query: {
|
|
12699
|
-
structured?: string | string[] | undefined;
|
|
12700
|
-
};
|
|
12701
|
-
} & {
|
|
12702
|
-
param: {
|
|
12703
|
-
sha: string;
|
|
12704
|
-
};
|
|
12705
|
-
};
|
|
12706
|
-
} | {
|
|
12707
12694
|
output: {
|
|
12708
12695
|
sha: string;
|
|
12709
12696
|
subject: string;
|
|
@@ -12751,6 +12738,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12751
12738
|
sha: string;
|
|
12752
12739
|
};
|
|
12753
12740
|
};
|
|
12741
|
+
} | {
|
|
12742
|
+
output: string;
|
|
12743
|
+
outputFormat: "text";
|
|
12744
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12745
|
+
input: {
|
|
12746
|
+
query: {
|
|
12747
|
+
structured?: string | string[] | undefined;
|
|
12748
|
+
};
|
|
12749
|
+
} & {
|
|
12750
|
+
param: {
|
|
12751
|
+
sha: string;
|
|
12752
|
+
};
|
|
12753
|
+
};
|
|
12754
12754
|
};
|
|
12755
12755
|
};
|
|
12756
12756
|
} & {
|
|
@@ -24075,20 +24075,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24075
24075
|
} & {
|
|
24076
24076
|
"/runs/:id/handoff": {
|
|
24077
24077
|
$get: {
|
|
24078
|
-
output:
|
|
24079
|
-
|
|
24080
|
-
|
|
24078
|
+
output: {
|
|
24079
|
+
error: string;
|
|
24080
|
+
};
|
|
24081
|
+
outputFormat: "json";
|
|
24082
|
+
status: 404;
|
|
24081
24083
|
input: {
|
|
24082
24084
|
param: {
|
|
24083
24085
|
id: string;
|
|
24084
24086
|
};
|
|
24085
24087
|
};
|
|
24086
24088
|
} | {
|
|
24087
|
-
output:
|
|
24088
|
-
|
|
24089
|
-
|
|
24090
|
-
outputFormat: "json";
|
|
24091
|
-
status: 404;
|
|
24089
|
+
output: string;
|
|
24090
|
+
outputFormat: "text";
|
|
24091
|
+
status: 200;
|
|
24092
24092
|
input: {
|
|
24093
24093
|
param: {
|
|
24094
24094
|
id: string;
|
|
@@ -24114,20 +24114,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24114
24114
|
} & {
|
|
24115
24115
|
"/runs/:id/diff": {
|
|
24116
24116
|
$get: {
|
|
24117
|
-
output:
|
|
24118
|
-
|
|
24119
|
-
|
|
24117
|
+
output: {
|
|
24118
|
+
error: string;
|
|
24119
|
+
};
|
|
24120
|
+
outputFormat: "json";
|
|
24121
|
+
status: 404;
|
|
24120
24122
|
input: {
|
|
24121
24123
|
param: {
|
|
24122
24124
|
id: string;
|
|
24123
24125
|
};
|
|
24124
24126
|
};
|
|
24125
24127
|
} | {
|
|
24126
|
-
output:
|
|
24127
|
-
|
|
24128
|
-
|
|
24129
|
-
outputFormat: "json";
|
|
24130
|
-
status: 404;
|
|
24128
|
+
output: string;
|
|
24129
|
+
outputFormat: "text";
|
|
24130
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
24131
24131
|
input: {
|
|
24132
24132
|
param: {
|
|
24133
24133
|
id: string;
|
|
@@ -30834,19 +30834,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
30834
30834
|
} & {
|
|
30835
30835
|
"/repo/commit/:sha": {
|
|
30836
30836
|
$get: {
|
|
30837
|
-
output: string;
|
|
30838
|
-
outputFormat: "text";
|
|
30839
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
30840
|
-
input: {
|
|
30841
|
-
query: {
|
|
30842
|
-
structured?: string | string[] | undefined;
|
|
30843
|
-
};
|
|
30844
|
-
} & {
|
|
30845
|
-
param: {
|
|
30846
|
-
sha: string;
|
|
30847
|
-
};
|
|
30848
|
-
};
|
|
30849
|
-
} | {
|
|
30850
30837
|
output: {
|
|
30851
30838
|
sha: string;
|
|
30852
30839
|
subject: string;
|
|
@@ -30894,6 +30881,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
30894
30881
|
sha: string;
|
|
30895
30882
|
};
|
|
30896
30883
|
};
|
|
30884
|
+
} | {
|
|
30885
|
+
output: string;
|
|
30886
|
+
outputFormat: "text";
|
|
30887
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
30888
|
+
input: {
|
|
30889
|
+
query: {
|
|
30890
|
+
structured?: string | string[] | undefined;
|
|
30891
|
+
};
|
|
30892
|
+
} & {
|
|
30893
|
+
param: {
|
|
30894
|
+
sha: string;
|
|
30895
|
+
};
|
|
30896
|
+
};
|
|
30897
30897
|
};
|
|
30898
30898
|
};
|
|
30899
30899
|
} & {
|
|
@@ -42218,20 +42218,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
42218
42218
|
} & {
|
|
42219
42219
|
"/runs/:id/handoff": {
|
|
42220
42220
|
$get: {
|
|
42221
|
-
output:
|
|
42222
|
-
|
|
42223
|
-
|
|
42221
|
+
output: {
|
|
42222
|
+
error: string;
|
|
42223
|
+
};
|
|
42224
|
+
outputFormat: "json";
|
|
42225
|
+
status: 404;
|
|
42224
42226
|
input: {
|
|
42225
42227
|
param: {
|
|
42226
42228
|
id: string;
|
|
42227
42229
|
};
|
|
42228
42230
|
};
|
|
42229
42231
|
} | {
|
|
42230
|
-
output:
|
|
42231
|
-
|
|
42232
|
-
|
|
42233
|
-
outputFormat: "json";
|
|
42234
|
-
status: 404;
|
|
42232
|
+
output: string;
|
|
42233
|
+
outputFormat: "text";
|
|
42234
|
+
status: 200;
|
|
42235
42235
|
input: {
|
|
42236
42236
|
param: {
|
|
42237
42237
|
id: string;
|
|
@@ -42257,20 +42257,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
42257
42257
|
} & {
|
|
42258
42258
|
"/runs/:id/diff": {
|
|
42259
42259
|
$get: {
|
|
42260
|
-
output:
|
|
42261
|
-
|
|
42262
|
-
|
|
42260
|
+
output: {
|
|
42261
|
+
error: string;
|
|
42262
|
+
};
|
|
42263
|
+
outputFormat: "json";
|
|
42264
|
+
status: 404;
|
|
42263
42265
|
input: {
|
|
42264
42266
|
param: {
|
|
42265
42267
|
id: string;
|
|
42266
42268
|
};
|
|
42267
42269
|
};
|
|
42268
42270
|
} | {
|
|
42269
|
-
output:
|
|
42270
|
-
|
|
42271
|
-
|
|
42272
|
-
outputFormat: "json";
|
|
42273
|
-
status: 404;
|
|
42271
|
+
output: string;
|
|
42272
|
+
outputFormat: "text";
|
|
42273
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
42274
42274
|
input: {
|
|
42275
42275
|
param: {
|
|
42276
42276
|
id: string;
|
|
@@ -15,6 +15,19 @@ 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
|
+
} | {
|
|
18
31
|
output: {
|
|
19
32
|
worktrees: {
|
|
20
33
|
worktreeId: string;
|
|
@@ -90,24 +103,23 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
90
103
|
limit?: unknown;
|
|
91
104
|
};
|
|
92
105
|
};
|
|
93
|
-
}
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
} & {
|
|
109
|
+
"/worktree-lifecycle/preview": {
|
|
110
|
+
$post: {
|
|
94
111
|
output: {
|
|
95
112
|
error: string;
|
|
96
113
|
};
|
|
97
114
|
outputFormat: "json";
|
|
98
115
|
status: 400 | 404 | 409;
|
|
99
116
|
input: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
limit?: unknown;
|
|
117
|
+
json: {
|
|
118
|
+
command: string;
|
|
119
|
+
worktreeId?: string | undefined;
|
|
104
120
|
};
|
|
105
121
|
};
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
} & {
|
|
109
|
-
"/worktree-lifecycle/preview": {
|
|
110
|
-
$post: {
|
|
122
|
+
} | {
|
|
111
123
|
output: {
|
|
112
124
|
renderedCommand: string;
|
|
113
125
|
variables: {
|
|
@@ -127,7 +139,11 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
127
139
|
worktreeId?: string | undefined;
|
|
128
140
|
};
|
|
129
141
|
};
|
|
130
|
-
}
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
} & {
|
|
145
|
+
"/worktree-lifecycle/operations": {
|
|
146
|
+
$post: {
|
|
131
147
|
output: {
|
|
132
148
|
error: string;
|
|
133
149
|
};
|
|
@@ -135,15 +151,16 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
135
151
|
status: 400 | 404 | 409;
|
|
136
152
|
input: {
|
|
137
153
|
json: {
|
|
138
|
-
|
|
139
|
-
|
|
154
|
+
requestId: string;
|
|
155
|
+
runId: string;
|
|
156
|
+
intent: "delete-task" | "reclaim" | "remove-worktree";
|
|
157
|
+
} | {
|
|
158
|
+
requestId: string;
|
|
159
|
+
worktreeId: string;
|
|
160
|
+
intent: "orphan";
|
|
140
161
|
};
|
|
141
162
|
};
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
} & {
|
|
145
|
-
"/worktree-lifecycle/operations": {
|
|
146
|
-
$post: {
|
|
163
|
+
} | {
|
|
147
164
|
output: {
|
|
148
165
|
operation: {
|
|
149
166
|
id: string;
|
|
@@ -207,33 +224,27 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
207
224
|
intent: "orphan";
|
|
208
225
|
};
|
|
209
226
|
};
|
|
210
|
-
}
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
} & {
|
|
230
|
+
"/worktree-lifecycle/operations/:operationId": {
|
|
231
|
+
$get: {
|
|
211
232
|
output: {
|
|
212
233
|
error: string;
|
|
213
234
|
};
|
|
214
235
|
outputFormat: "json";
|
|
215
|
-
status: 400
|
|
236
|
+
status: 400;
|
|
216
237
|
input: {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
runId: string;
|
|
220
|
-
intent: "delete-task" | "reclaim" | "remove-worktree";
|
|
221
|
-
} | {
|
|
222
|
-
requestId: string;
|
|
223
|
-
worktreeId: string;
|
|
224
|
-
intent: "orphan";
|
|
238
|
+
param: {
|
|
239
|
+
operationId: string;
|
|
225
240
|
};
|
|
226
241
|
};
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
} & {
|
|
230
|
-
"/worktree-lifecycle/operations/:operationId": {
|
|
231
|
-
$get: {
|
|
242
|
+
} | {
|
|
232
243
|
output: {
|
|
233
244
|
error: string;
|
|
234
245
|
};
|
|
235
246
|
outputFormat: "json";
|
|
236
|
-
status: 400;
|
|
247
|
+
status: 400 | 404 | 409;
|
|
237
248
|
input: {
|
|
238
249
|
param: {
|
|
239
250
|
operationId: string;
|
|
@@ -297,6 +308,27 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
297
308
|
operationId: string;
|
|
298
309
|
};
|
|
299
310
|
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
} & {
|
|
314
|
+
"/worktree-lifecycle/operations/:operationId/actions": {
|
|
315
|
+
$post: {
|
|
316
|
+
output: {
|
|
317
|
+
error: string;
|
|
318
|
+
};
|
|
319
|
+
outputFormat: "json";
|
|
320
|
+
status: 400;
|
|
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
|
+
};
|
|
300
332
|
} | {
|
|
301
333
|
output: {
|
|
302
334
|
error: string;
|
|
@@ -307,12 +339,14 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
307
339
|
param: {
|
|
308
340
|
operationId: string;
|
|
309
341
|
};
|
|
342
|
+
} & {
|
|
343
|
+
json: {
|
|
344
|
+
requestId: string;
|
|
345
|
+
expectedRevision: number;
|
|
346
|
+
action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
|
|
347
|
+
};
|
|
310
348
|
};
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
} & {
|
|
314
|
-
"/worktree-lifecycle/operations/:operationId/actions": {
|
|
315
|
-
$post: {
|
|
349
|
+
} | {
|
|
316
350
|
output: {
|
|
317
351
|
operation: {
|
|
318
352
|
id: string;
|
|
@@ -376,7 +410,11 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
376
410
|
action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
|
|
377
411
|
};
|
|
378
412
|
};
|
|
379
|
-
}
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
} & {
|
|
416
|
+
"/worktree-lifecycle/operations/:operationId/output": {
|
|
417
|
+
$get: {
|
|
380
418
|
output: {
|
|
381
419
|
error: string;
|
|
382
420
|
};
|
|
@@ -387,10 +425,9 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
387
425
|
operationId: string;
|
|
388
426
|
};
|
|
389
427
|
} & {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
action: "cancel-task" | "force-delete" | "keep-worktree" | "retry" | "start-anyway" | "stop";
|
|
428
|
+
query: {
|
|
429
|
+
afterSeq?: unknown;
|
|
430
|
+
limit?: unknown;
|
|
394
431
|
};
|
|
395
432
|
};
|
|
396
433
|
} | {
|
|
@@ -399,27 +436,6 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
399
436
|
};
|
|
400
437
|
outputFormat: "json";
|
|
401
438
|
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: {
|
|
418
|
-
output: {
|
|
419
|
-
error: string;
|
|
420
|
-
};
|
|
421
|
-
outputFormat: "json";
|
|
422
|
-
status: 400;
|
|
423
439
|
input: {
|
|
424
440
|
param: {
|
|
425
441
|
operationId: string;
|
|
@@ -454,32 +470,27 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
454
470
|
limit?: unknown;
|
|
455
471
|
};
|
|
456
472
|
};
|
|
457
|
-
}
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
} & {
|
|
476
|
+
"/worktree-lifecycle/:worktreeId": {
|
|
477
|
+
$get: {
|
|
458
478
|
output: {
|
|
459
479
|
error: string;
|
|
460
480
|
};
|
|
461
481
|
outputFormat: "json";
|
|
462
|
-
status: 400
|
|
482
|
+
status: 400;
|
|
463
483
|
input: {
|
|
464
484
|
param: {
|
|
465
|
-
|
|
466
|
-
};
|
|
467
|
-
} & {
|
|
468
|
-
query: {
|
|
469
|
-
afterSeq?: unknown;
|
|
470
|
-
limit?: unknown;
|
|
485
|
+
worktreeId: string;
|
|
471
486
|
};
|
|
472
487
|
};
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
} & {
|
|
476
|
-
"/worktree-lifecycle/:worktreeId": {
|
|
477
|
-
$get: {
|
|
488
|
+
} | {
|
|
478
489
|
output: {
|
|
479
490
|
error: string;
|
|
480
491
|
};
|
|
481
492
|
outputFormat: "json";
|
|
482
|
-
status: 400;
|
|
493
|
+
status: 400 | 404 | 409;
|
|
483
494
|
input: {
|
|
484
495
|
param: {
|
|
485
496
|
worktreeId: string;
|
|
@@ -606,17 +617,6 @@ export declare function worktreeLifecycleRoutes(opts?: {
|
|
|
606
617
|
worktreeId: string;
|
|
607
618
|
};
|
|
608
619
|
};
|
|
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.19.0-pr1881.
|
|
3
|
+
"version": "0.19.0-pr1881.4667",
|
|
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",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"zod": "^4.4.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@open-mercato/cezar-api-client": "0.19.0-pr1881.
|
|
60
|
-
"@open-mercato/cezar-contract": "0.19.0-pr1881.
|
|
59
|
+
"@open-mercato/cezar-api-client": "0.19.0-pr1881.4667",
|
|
60
|
+
"@open-mercato/cezar-contract": "0.19.0-pr1881.4667",
|
|
61
61
|
"@types/node": "^20.14.0",
|
|
62
62
|
"@types/proper-lockfile": "4.1.4",
|
|
63
63
|
"@types/ws": "^8.18.1",
|