@hearsay-tools/squawk 0.19.0-pr4588.9103 → 0.19.0-pr4591.9107
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.
- package/dist/delegation/transport.d.ts +78 -78
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/hosts/routes.d.ts +44 -44
- package/dist/features/webhooks/routes.d.ts +51 -51
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runs-routes.d.ts +16 -16
- package/package.json +4 -4
|
@@ -34,20 +34,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
34
34
|
"/hosts": {
|
|
35
35
|
$post: {
|
|
36
36
|
output: {
|
|
37
|
-
|
|
38
|
-
id: string;
|
|
39
|
-
label: string;
|
|
40
|
-
state: "unreachable";
|
|
41
|
-
reason?: string | undefined;
|
|
42
|
-
kind?: "ssh" | undefined;
|
|
43
|
-
sshAlias?: string | undefined;
|
|
44
|
-
installId?: string | undefined;
|
|
45
|
-
port?: number | undefined;
|
|
46
|
-
addedAt?: string | undefined;
|
|
47
|
-
};
|
|
37
|
+
error: string;
|
|
48
38
|
};
|
|
49
39
|
outputFormat: "json";
|
|
50
|
-
status:
|
|
40
|
+
status: 404;
|
|
51
41
|
input: {
|
|
52
42
|
json: {
|
|
53
43
|
sshAlias: string;
|
|
@@ -75,7 +65,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
75
65
|
error: string;
|
|
76
66
|
};
|
|
77
67
|
outputFormat: "json";
|
|
78
|
-
status:
|
|
68
|
+
status: 409;
|
|
79
69
|
input: {
|
|
80
70
|
json: {
|
|
81
71
|
sshAlias: string;
|
|
@@ -89,7 +79,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
89
79
|
error: string;
|
|
90
80
|
};
|
|
91
81
|
outputFormat: "json";
|
|
92
|
-
status:
|
|
82
|
+
status: 500;
|
|
93
83
|
input: {
|
|
94
84
|
json: {
|
|
95
85
|
sshAlias: string;
|
|
@@ -100,10 +90,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
100
90
|
};
|
|
101
91
|
} | {
|
|
102
92
|
output: {
|
|
103
|
-
|
|
93
|
+
host: {
|
|
94
|
+
id: string;
|
|
95
|
+
label: string;
|
|
96
|
+
state: "unreachable";
|
|
97
|
+
reason?: string | undefined;
|
|
98
|
+
kind?: "ssh" | undefined;
|
|
99
|
+
sshAlias?: string | undefined;
|
|
100
|
+
installId?: string | undefined;
|
|
101
|
+
port?: number | undefined;
|
|
102
|
+
addedAt?: string | undefined;
|
|
103
|
+
};
|
|
104
104
|
};
|
|
105
105
|
outputFormat: "json";
|
|
106
|
-
status:
|
|
106
|
+
status: 201;
|
|
107
107
|
input: {
|
|
108
108
|
json: {
|
|
109
109
|
sshAlias: string;
|
|
@@ -117,7 +117,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
117
117
|
error: string;
|
|
118
118
|
};
|
|
119
119
|
outputFormat: "json";
|
|
120
|
-
status:
|
|
120
|
+
status: 409;
|
|
121
121
|
input: {
|
|
122
122
|
json: {
|
|
123
123
|
sshAlias: string;
|
|
@@ -132,20 +132,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
132
132
|
"/hosts/:id": {
|
|
133
133
|
$patch: {
|
|
134
134
|
output: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
label: string;
|
|
138
|
-
state: "unreachable";
|
|
139
|
-
reason?: string | undefined;
|
|
140
|
-
kind?: "ssh" | undefined;
|
|
141
|
-
sshAlias?: string | undefined;
|
|
142
|
-
installId?: string | undefined;
|
|
143
|
-
port?: number | undefined;
|
|
144
|
-
addedAt?: string | undefined;
|
|
145
|
-
};
|
|
135
|
+
error: string;
|
|
136
|
+
code?: "invalid_input" | undefined;
|
|
146
137
|
};
|
|
147
138
|
outputFormat: "json";
|
|
148
|
-
status:
|
|
139
|
+
status: 400;
|
|
149
140
|
input: {
|
|
150
141
|
param: {
|
|
151
142
|
id: string;
|
|
@@ -160,10 +151,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
160
151
|
} | {
|
|
161
152
|
output: {
|
|
162
153
|
error: string;
|
|
163
|
-
code?: "invalid_input" | undefined;
|
|
164
154
|
};
|
|
165
155
|
outputFormat: "json";
|
|
166
|
-
status:
|
|
156
|
+
status: 404;
|
|
167
157
|
input: {
|
|
168
158
|
param: {
|
|
169
159
|
id: string;
|
|
@@ -197,7 +187,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
197
187
|
error: string;
|
|
198
188
|
};
|
|
199
189
|
outputFormat: "json";
|
|
200
|
-
status:
|
|
190
|
+
status: 409;
|
|
201
191
|
input: {
|
|
202
192
|
param: {
|
|
203
193
|
id: string;
|
|
@@ -214,7 +204,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
214
204
|
error: string;
|
|
215
205
|
};
|
|
216
206
|
outputFormat: "json";
|
|
217
|
-
status:
|
|
207
|
+
status: 500;
|
|
218
208
|
input: {
|
|
219
209
|
param: {
|
|
220
210
|
id: string;
|
|
@@ -245,10 +235,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
245
235
|
};
|
|
246
236
|
} | {
|
|
247
237
|
output: {
|
|
248
|
-
|
|
238
|
+
host: {
|
|
239
|
+
id: string;
|
|
240
|
+
label: string;
|
|
241
|
+
state: "unreachable";
|
|
242
|
+
reason?: string | undefined;
|
|
243
|
+
kind?: "ssh" | undefined;
|
|
244
|
+
sshAlias?: string | undefined;
|
|
245
|
+
installId?: string | undefined;
|
|
246
|
+
port?: number | undefined;
|
|
247
|
+
addedAt?: string | undefined;
|
|
248
|
+
};
|
|
249
249
|
};
|
|
250
250
|
outputFormat: "json";
|
|
251
|
-
status:
|
|
251
|
+
status: 200;
|
|
252
252
|
input: {
|
|
253
253
|
param: {
|
|
254
254
|
id: string;
|
|
@@ -266,11 +266,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
266
266
|
"/hosts/:id": {
|
|
267
267
|
$delete: {
|
|
268
268
|
output: {
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
error: string;
|
|
270
|
+
code?: "invalid_input" | undefined;
|
|
271
271
|
};
|
|
272
272
|
outputFormat: "json";
|
|
273
|
-
status:
|
|
273
|
+
status: 400;
|
|
274
274
|
input: {
|
|
275
275
|
param: {
|
|
276
276
|
id: string;
|
|
@@ -279,10 +279,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
279
279
|
} | {
|
|
280
280
|
output: {
|
|
281
281
|
error: string;
|
|
282
|
-
code?: "invalid_input" | undefined;
|
|
283
282
|
};
|
|
284
283
|
outputFormat: "json";
|
|
285
|
-
status:
|
|
284
|
+
status: 404;
|
|
286
285
|
input: {
|
|
287
286
|
param: {
|
|
288
287
|
id: string;
|
|
@@ -304,7 +303,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
304
303
|
error: string;
|
|
305
304
|
};
|
|
306
305
|
outputFormat: "json";
|
|
307
|
-
status:
|
|
306
|
+
status: 409;
|
|
308
307
|
input: {
|
|
309
308
|
param: {
|
|
310
309
|
id: string;
|
|
@@ -315,7 +314,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
315
314
|
error: string;
|
|
316
315
|
};
|
|
317
316
|
outputFormat: "json";
|
|
318
|
-
status:
|
|
317
|
+
status: 500;
|
|
319
318
|
input: {
|
|
320
319
|
param: {
|
|
321
320
|
id: string;
|
|
@@ -334,10 +333,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
334
333
|
};
|
|
335
334
|
} | {
|
|
336
335
|
output: {
|
|
337
|
-
|
|
336
|
+
removed: true;
|
|
337
|
+
id: string;
|
|
338
338
|
};
|
|
339
339
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
340
|
+
status: 200;
|
|
341
341
|
input: {
|
|
342
342
|
param: {
|
|
343
343
|
id: string;
|
|
@@ -100,6 +100,18 @@ export interface ProjectWebhooksRouteDeps {
|
|
|
100
100
|
export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
101
101
|
"/projects/:projectId/webhook/test": {
|
|
102
102
|
$post: {
|
|
103
|
+
output: {
|
|
104
|
+
error: string;
|
|
105
|
+
code?: "no-boot-project" | undefined;
|
|
106
|
+
};
|
|
107
|
+
outputFormat: "json";
|
|
108
|
+
status: 404 | 409;
|
|
109
|
+
input: {
|
|
110
|
+
param: {
|
|
111
|
+
projectId: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
} | {
|
|
103
115
|
output: {
|
|
104
116
|
error: string;
|
|
105
117
|
};
|
|
@@ -124,23 +136,33 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
124
136
|
projectId: string;
|
|
125
137
|
};
|
|
126
138
|
};
|
|
127
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
128
144
|
output: {
|
|
129
145
|
error: string;
|
|
130
146
|
code?: "no-boot-project" | undefined;
|
|
131
147
|
};
|
|
132
148
|
outputFormat: "json";
|
|
133
|
-
status: 404 | 409;
|
|
149
|
+
status: 400 | 404 | 409 | 500;
|
|
134
150
|
input: {
|
|
151
|
+
json: {
|
|
152
|
+
name: string;
|
|
153
|
+
description?: string | undefined;
|
|
154
|
+
url: string;
|
|
155
|
+
token?: string | undefined;
|
|
156
|
+
tasks?: boolean | undefined;
|
|
157
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
158
|
+
agent?: boolean | undefined;
|
|
159
|
+
};
|
|
160
|
+
} & {
|
|
135
161
|
param: {
|
|
136
162
|
projectId: string;
|
|
137
163
|
};
|
|
138
164
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
165
|
+
} | {
|
|
144
166
|
output: {
|
|
145
167
|
project: {
|
|
146
168
|
id: string;
|
|
@@ -199,28 +221,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
199
221
|
projectId: string;
|
|
200
222
|
};
|
|
201
223
|
};
|
|
202
|
-
} | {
|
|
203
|
-
output: {
|
|
204
|
-
error: string;
|
|
205
|
-
code?: "no-boot-project" | undefined;
|
|
206
|
-
};
|
|
207
|
-
outputFormat: "json";
|
|
208
|
-
status: 400 | 404 | 409 | 500;
|
|
209
|
-
input: {
|
|
210
|
-
json: {
|
|
211
|
-
name: string;
|
|
212
|
-
description?: string | undefined;
|
|
213
|
-
url: string;
|
|
214
|
-
token?: string | undefined;
|
|
215
|
-
tasks?: boolean | undefined;
|
|
216
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
217
|
-
agent?: boolean | undefined;
|
|
218
|
-
};
|
|
219
|
-
} & {
|
|
220
|
-
param: {
|
|
221
|
-
projectId: string;
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
} & {
|
|
@@ -348,6 +348,19 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
348
348
|
webhookId: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
+
} | {
|
|
352
|
+
output: {
|
|
353
|
+
error: string;
|
|
354
|
+
code?: "no-boot-project" | undefined;
|
|
355
|
+
};
|
|
356
|
+
outputFormat: "json";
|
|
357
|
+
status: 400 | 404 | 409 | 500;
|
|
358
|
+
input: {
|
|
359
|
+
param: {
|
|
360
|
+
projectId: string;
|
|
361
|
+
webhookId: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
351
364
|
} | {
|
|
352
365
|
output: {
|
|
353
366
|
project: {
|
|
@@ -388,19 +401,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
388
401
|
webhookId: string;
|
|
389
402
|
};
|
|
390
403
|
};
|
|
391
|
-
} | {
|
|
392
|
-
output: {
|
|
393
|
-
error: string;
|
|
394
|
-
code?: "no-boot-project" | undefined;
|
|
395
|
-
};
|
|
396
|
-
outputFormat: "json";
|
|
397
|
-
status: 400 | 404 | 409 | 500;
|
|
398
|
-
input: {
|
|
399
|
-
param: {
|
|
400
|
-
projectId: string;
|
|
401
|
-
webhookId: string;
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
404
|
};
|
|
405
405
|
};
|
|
406
406
|
} & {
|
|
@@ -420,10 +420,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
420
|
};
|
|
421
421
|
} | {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
423
|
+
ok: boolean;
|
|
424
|
+
status?: number | undefined;
|
|
425
|
+
error?: string | undefined;
|
|
426
|
+
dryRun?: boolean | undefined;
|
|
424
427
|
};
|
|
425
428
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
429
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
427
430
|
input: {
|
|
428
431
|
param: {
|
|
429
432
|
projectId: string;
|
|
@@ -432,13 +435,11 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
432
435
|
};
|
|
433
436
|
} | {
|
|
434
437
|
output: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
error?: string | undefined;
|
|
438
|
-
dryRun?: boolean | undefined;
|
|
438
|
+
error: string;
|
|
439
|
+
code?: "no-boot-project" | undefined;
|
|
439
440
|
};
|
|
440
441
|
outputFormat: "json";
|
|
441
|
-
status:
|
|
442
|
+
status: 404 | 409;
|
|
442
443
|
input: {
|
|
443
444
|
param: {
|
|
444
445
|
projectId: string;
|
|
@@ -448,10 +449,9 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
448
449
|
} | {
|
|
449
450
|
output: {
|
|
450
451
|
error: string;
|
|
451
|
-
code?: "no-boot-project" | undefined;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status: 404
|
|
454
|
+
status: 404;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
projectId: string;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 409;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 400;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
142
|
-
worktreeReclaimedAt: string;
|
|
141
|
+
error: string;
|
|
143
142
|
};
|
|
144
143
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
144
|
+
status: 404 | 409;
|
|
146
145
|
input: {
|
|
147
146
|
param: {
|
|
148
147
|
runId: string;
|
|
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
154
153
|
};
|
|
155
154
|
} | {
|
|
156
155
|
output: {
|
|
157
|
-
|
|
156
|
+
runId: string;
|
|
157
|
+
worktreeReclaimedAt: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,18 +296,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
error: string;
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
-
dropped?: {
|
|
305
|
-
sha: string;
|
|
306
|
-
subject: string;
|
|
307
|
-
}[] | undefined;
|
|
308
304
|
};
|
|
309
305
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
306
|
+
status: 409;
|
|
311
307
|
input: {
|
|
312
308
|
json: {
|
|
313
309
|
names: string[];
|
|
@@ -316,14 +312,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
316
312
|
};
|
|
317
313
|
} | {
|
|
318
314
|
output: {
|
|
319
|
-
|
|
315
|
+
deleted: string[];
|
|
320
316
|
refused: {
|
|
321
317
|
name: string;
|
|
322
318
|
reason: string;
|
|
323
319
|
}[];
|
|
320
|
+
dropped?: {
|
|
321
|
+
sha: string;
|
|
322
|
+
subject: string;
|
|
323
|
+
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 200;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,6 +344,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
+
output: string;
|
|
348
|
+
outputFormat: "text";
|
|
349
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
+
input: {
|
|
351
|
+
query: {
|
|
352
|
+
structured?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
} & {
|
|
355
|
+
param: {
|
|
356
|
+
sha: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
410
|
-
} | {
|
|
411
|
-
output: string;
|
|
412
|
-
outputFormat: "text";
|
|
413
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
-
input: {
|
|
415
|
-
query: {
|
|
416
|
-
structured?: string | undefined;
|
|
417
|
-
};
|
|
418
|
-
} & {
|
|
419
|
-
param: {
|
|
420
|
-
sha: string;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -442,10 +442,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
445
|
+
type: 'file';
|
|
446
|
+
path: string;
|
|
447
|
+
size: number;
|
|
448
|
+
binary: boolean;
|
|
449
|
+
tooLarge: boolean;
|
|
450
|
+
content?: string | undefined;
|
|
446
451
|
};
|
|
447
452
|
outputFormat: "json";
|
|
448
|
-
status:
|
|
453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
449
454
|
input: {
|
|
450
455
|
param: {
|
|
451
456
|
sha: string;
|
|
@@ -457,15 +462,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
457
462
|
};
|
|
458
463
|
} | {
|
|
459
464
|
output: {
|
|
460
|
-
|
|
461
|
-
path: string;
|
|
462
|
-
size: number;
|
|
463
|
-
binary: boolean;
|
|
464
|
-
tooLarge: boolean;
|
|
465
|
-
content?: string | undefined;
|
|
465
|
+
error: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 409;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,10 +493,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
496
|
+
type: 'file';
|
|
497
|
+
path: string;
|
|
498
|
+
size: number;
|
|
499
|
+
binary: boolean;
|
|
500
|
+
tooLarge: boolean;
|
|
501
|
+
content?: string | undefined;
|
|
497
502
|
};
|
|
498
503
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
504
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
500
505
|
input: {
|
|
501
506
|
query: {
|
|
502
507
|
path: string | string[];
|
|
@@ -504,15 +509,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
504
509
|
};
|
|
505
510
|
} | {
|
|
506
511
|
output: {
|
|
507
|
-
|
|
508
|
-
path: string;
|
|
509
|
-
size: number;
|
|
510
|
-
binary: boolean;
|
|
511
|
-
tooLarge: boolean;
|
|
512
|
-
content?: string | undefined;
|
|
512
|
+
error: string;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: 409;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,12 +578,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
582
|
-
pulled: true;
|
|
583
|
-
summary: string;
|
|
581
|
+
error: string;
|
|
584
582
|
};
|
|
585
583
|
outputFormat: "json";
|
|
586
|
-
status:
|
|
584
|
+
status: 409;
|
|
587
585
|
input: {
|
|
588
586
|
json: {
|
|
589
587
|
branch?: string | undefined;
|
|
@@ -592,10 +590,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
branch: string;
|
|
594
|
+
pulled: true;
|
|
595
|
+
summary: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 200;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -12303,20 +12303,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12303
12303
|
} & {
|
|
12304
12304
|
"/runs/:id/handoff": {
|
|
12305
12305
|
$get: {
|
|
12306
|
-
output:
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
outputFormat: "json";
|
|
12310
|
-
status: 404;
|
|
12306
|
+
output: string;
|
|
12307
|
+
outputFormat: "text";
|
|
12308
|
+
status: 200;
|
|
12311
12309
|
input: {
|
|
12312
12310
|
param: {
|
|
12313
12311
|
id: string;
|
|
12314
12312
|
};
|
|
12315
12313
|
};
|
|
12316
12314
|
} | {
|
|
12317
|
-
output:
|
|
12318
|
-
|
|
12319
|
-
|
|
12315
|
+
output: {
|
|
12316
|
+
error: string;
|
|
12317
|
+
};
|
|
12318
|
+
outputFormat: "json";
|
|
12319
|
+
status: 404;
|
|
12320
12320
|
input: {
|
|
12321
12321
|
param: {
|
|
12322
12322
|
id: string;
|
|
@@ -12354,20 +12354,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12354
12354
|
} & {
|
|
12355
12355
|
"/runs/:id/diff": {
|
|
12356
12356
|
$get: {
|
|
12357
|
-
output:
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
outputFormat: "json";
|
|
12361
|
-
status: 404 | 409;
|
|
12357
|
+
output: string;
|
|
12358
|
+
outputFormat: "text";
|
|
12359
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12362
12360
|
input: {
|
|
12363
12361
|
param: {
|
|
12364
12362
|
id: string;
|
|
12365
12363
|
};
|
|
12366
12364
|
};
|
|
12367
12365
|
} | {
|
|
12368
|
-
output:
|
|
12369
|
-
|
|
12370
|
-
|
|
12366
|
+
output: {
|
|
12367
|
+
error: string;
|
|
12368
|
+
};
|
|
12369
|
+
outputFormat: "json";
|
|
12370
|
+
status: 404 | 409;
|
|
12371
12371
|
input: {
|
|
12372
12372
|
param: {
|
|
12373
12373
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-
|
|
3
|
+
"version": "0.19.0-pr4591.9107",
|
|
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",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/parser": "^8.0.8",
|
|
71
71
|
"@babel/types": "^8.0.8",
|
|
72
|
-
"@open-mercato/cezar-api-client": "0.19.0-
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-pr4591.9107",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-pr4591.9107",
|
|
74
74
|
"@types/node": "^24.19.1",
|
|
75
75
|
"@types/ws": "^8.18.1",
|
|
76
76
|
"esbuild": "^0.28.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "c7fa08be11f80ba41bd2d8f093ccf31bfcded9da"
|
|
91
91
|
}
|