@hearsay-tools/squawk 0.19.0-pr4456.8755 → 0.19.0-pr4457.8764
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/boot.js +2 -0
- package/dist/boot.js.map +1 -1
- package/dist/built-in-http-routes.d.ts +10 -0
- package/dist/built-in-http-routes.js +41 -0
- package/dist/built-in-http-routes.js.map +1 -0
- package/dist/contract/automation-requests.d.ts +4 -0
- package/dist/core/http-route-registry.d.ts +28 -5
- package/dist/core/http-route-registry.js +37 -9
- package/dist/core/http-route-registry.js.map +1 -1
- package/dist/plugin/api.js +3 -1
- package/dist/plugin/api.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/plugin-http-routes.d.ts +29 -4
- package/dist/server/plugin-http-routes.js +100 -13
- package/dist/server/plugin-http-routes.js.map +1 -1
- package/dist/server/providers-routes.d.ts +7 -7
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runs-routes.d.ts +16 -16
- package/dist/server/server.d.ts +2783 -5583
- package/dist/server/server.js +39 -59
- package/dist/server/server.js.map +1 -1
- package/dist/server/ws.d.ts +6 -0
- package/dist/server/ws.js +41 -0
- package/dist/server/ws.js.map +1 -1
- package/package.json +4 -4
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -293,7 +293,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
293
293
|
error: string;
|
|
294
294
|
};
|
|
295
295
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
296
|
+
status: 400;
|
|
297
297
|
input: {
|
|
298
298
|
json: {
|
|
299
299
|
provider: string;
|
|
@@ -306,7 +306,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 409;
|
|
310
310
|
input: {
|
|
311
311
|
json: {
|
|
312
312
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 400;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 404;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 409;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -341,6 +341,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
341
341
|
} & {
|
|
342
342
|
"/repo/commit/:sha": {
|
|
343
343
|
$get: {
|
|
344
|
+
output: string;
|
|
345
|
+
outputFormat: "text";
|
|
346
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
347
|
+
input: {
|
|
348
|
+
query: {
|
|
349
|
+
structured?: string | undefined;
|
|
350
|
+
};
|
|
351
|
+
} & {
|
|
352
|
+
param: {
|
|
353
|
+
sha: string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
} | {
|
|
344
357
|
output: {
|
|
345
358
|
error: string;
|
|
346
359
|
code?: "invalid_input" | undefined;
|
|
@@ -404,19 +417,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
404
417
|
sha: string;
|
|
405
418
|
};
|
|
406
419
|
};
|
|
407
|
-
} | {
|
|
408
|
-
output: string;
|
|
409
|
-
outputFormat: "text";
|
|
410
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
411
|
-
input: {
|
|
412
|
-
query: {
|
|
413
|
-
structured?: string | undefined;
|
|
414
|
-
};
|
|
415
|
-
} & {
|
|
416
|
-
param: {
|
|
417
|
-
sha: string;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
420
|
};
|
|
421
421
|
};
|
|
422
422
|
} & {
|
|
@@ -12308,20 +12308,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12308
12308
|
} & {
|
|
12309
12309
|
"/runs/:id/handoff": {
|
|
12310
12310
|
$get: {
|
|
12311
|
-
output:
|
|
12312
|
-
|
|
12313
|
-
|
|
12311
|
+
output: {
|
|
12312
|
+
error: string;
|
|
12313
|
+
};
|
|
12314
|
+
outputFormat: "json";
|
|
12315
|
+
status: 404;
|
|
12314
12316
|
input: {
|
|
12315
12317
|
param: {
|
|
12316
12318
|
id: string;
|
|
12317
12319
|
};
|
|
12318
12320
|
};
|
|
12319
12321
|
} | {
|
|
12320
|
-
output:
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
outputFormat: "json";
|
|
12324
|
-
status: 404;
|
|
12322
|
+
output: string;
|
|
12323
|
+
outputFormat: "text";
|
|
12324
|
+
status: 200;
|
|
12325
12325
|
input: {
|
|
12326
12326
|
param: {
|
|
12327
12327
|
id: string;
|
|
@@ -12359,20 +12359,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12359
12359
|
} & {
|
|
12360
12360
|
"/runs/:id/diff": {
|
|
12361
12361
|
$get: {
|
|
12362
|
-
output:
|
|
12363
|
-
|
|
12364
|
-
|
|
12362
|
+
output: {
|
|
12363
|
+
error: string;
|
|
12364
|
+
};
|
|
12365
|
+
outputFormat: "json";
|
|
12366
|
+
status: 404 | 409;
|
|
12365
12367
|
input: {
|
|
12366
12368
|
param: {
|
|
12367
12369
|
id: string;
|
|
12368
12370
|
};
|
|
12369
12371
|
};
|
|
12370
12372
|
} | {
|
|
12371
|
-
output:
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
outputFormat: "json";
|
|
12375
|
-
status: 404 | 409;
|
|
12373
|
+
output: string;
|
|
12374
|
+
outputFormat: "text";
|
|
12375
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12376
12376
|
input: {
|
|
12377
12377
|
param: {
|
|
12378
12378
|
id: string;
|