@hearsay-tools/squawk 0.18.0-dev.8176 → 0.18.0-dev.8180
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.d.ts +4 -2
- package/dist/boot.js +9 -5
- package/dist/boot.js.map +1 -1
- package/dist/built-in-run-slots.d.ts +1 -1
- package/dist/built-in-run-slots.js +1 -1
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/agent-runner.js +1 -1
- package/dist/core/runner-registry.js +1 -1
- package/dist/core/runner-registry.js.map +1 -1
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/pack-check.d.ts +8 -1
- package/dist/pack-check.js +25 -1
- package/dist/pack-check.js.map +1 -1
- package/dist/plugin/bundled-runners.d.ts +28 -0
- package/dist/plugin/bundled-runners.js +56 -0
- package/dist/plugin/bundled-runners.js.map +1 -0
- package/dist/plugin/cli.js +5 -4
- package/dist/plugin/cli.js.map +1 -1
- package/dist/plugin/loader.d.ts +10 -1
- package/dist/plugin/loader.js +31 -0
- package/dist/plugin/loader.js.map +1 -1
- package/dist/runners/antigravity/index.d.ts +6 -0
- package/dist/runners/antigravity/index.js +9 -0
- package/dist/runners/antigravity/index.js.map +1 -0
- package/dist/runners/claude/index.d.ts +6 -0
- package/dist/runners/claude/index.js +9 -0
- package/dist/runners/claude/index.js.map +1 -0
- package/dist/runners/codex/index.d.ts +6 -0
- package/dist/runners/codex/index.js +9 -0
- package/dist/runners/codex/index.js.map +1 -0
- package/dist/runners/omp/index.d.ts +6 -0
- package/dist/runners/omp/index.js +9 -0
- package/dist/runners/omp/index.js.map +1 -0
- package/dist/runners/opencode/index.d.ts +6 -0
- package/dist/runners/opencode/index.js +9 -0
- package/dist/runners/opencode/index.js.map +1 -0
- package/dist/runners/pi/index.d.ts +6 -0
- package/dist/runners/pi/index.js +9 -0
- package/dist/runners/pi/index.js.map +1 -0
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +154 -154
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/benchmark-runtime.ts +5 -3
- package/scripts/check-pack.mjs +5 -2
- package/scripts/measure-transcript-facts-health.mjs +4 -3
- package/scripts/parity-rows.ts +1 -1
- package/dist/runners/built-in.d.ts +0 -10
- package/dist/runners/built-in.js +0 -20
- package/dist/runners/built-in.js.map +0 -1
- package/dist/runners/ids.d.ts +0 -8
- package/dist/runners/ids.js +0 -9
- package/dist/runners/ids.js.map +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -182,68 +182,6 @@ export declare class WorkspaceEventBus {
|
|
|
182
182
|
on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
|
|
183
183
|
}
|
|
184
184
|
export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
185
|
-
"/models": {
|
|
186
|
-
$get: {
|
|
187
|
-
output: {
|
|
188
|
-
error: string;
|
|
189
|
-
code?: "invalid_input" | undefined;
|
|
190
|
-
};
|
|
191
|
-
outputFormat: "json";
|
|
192
|
-
status: 400;
|
|
193
|
-
input: {
|
|
194
|
-
query: {
|
|
195
|
-
runner: string | string[];
|
|
196
|
-
profileId?: string | undefined;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
} | {
|
|
200
|
-
output: {
|
|
201
|
-
runner: string;
|
|
202
|
-
models: {
|
|
203
|
-
id: string;
|
|
204
|
-
label: string;
|
|
205
|
-
description: string;
|
|
206
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
207
|
-
}[];
|
|
208
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
209
|
-
stale: boolean;
|
|
210
|
-
reason?: string;
|
|
211
|
-
};
|
|
212
|
-
outputFormat: "json";
|
|
213
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
214
|
-
input: {
|
|
215
|
-
query: {
|
|
216
|
-
runner: string | string[];
|
|
217
|
-
profileId?: string | undefined;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
} | {
|
|
221
|
-
output: {
|
|
222
|
-
error: string;
|
|
223
|
-
};
|
|
224
|
-
outputFormat: "json";
|
|
225
|
-
status: 409;
|
|
226
|
-
input: {
|
|
227
|
-
query: {
|
|
228
|
-
runner: string | string[];
|
|
229
|
-
profileId?: string | undefined;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
} | {
|
|
233
|
-
output: {
|
|
234
|
-
error: string;
|
|
235
|
-
};
|
|
236
|
-
outputFormat: "json";
|
|
237
|
-
status: 400;
|
|
238
|
-
input: {
|
|
239
|
-
query: {
|
|
240
|
-
runner: string | string[];
|
|
241
|
-
profileId?: string | undefined;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
247
185
|
"/health": {
|
|
248
186
|
$get: {
|
|
249
187
|
output: {
|
|
@@ -408,6 +346,68 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
408
346
|
};
|
|
409
347
|
};
|
|
410
348
|
};
|
|
349
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
350
|
+
"/models": {
|
|
351
|
+
$get: {
|
|
352
|
+
output: {
|
|
353
|
+
error: string;
|
|
354
|
+
code?: "invalid_input" | undefined;
|
|
355
|
+
};
|
|
356
|
+
outputFormat: "json";
|
|
357
|
+
status: 400;
|
|
358
|
+
input: {
|
|
359
|
+
query: {
|
|
360
|
+
runner: string | string[];
|
|
361
|
+
profileId?: string | undefined;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
} | {
|
|
365
|
+
output: {
|
|
366
|
+
runner: string;
|
|
367
|
+
models: {
|
|
368
|
+
id: string;
|
|
369
|
+
label: string;
|
|
370
|
+
description: string;
|
|
371
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
372
|
+
}[];
|
|
373
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
374
|
+
stale: boolean;
|
|
375
|
+
reason?: string;
|
|
376
|
+
};
|
|
377
|
+
outputFormat: "json";
|
|
378
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
379
|
+
input: {
|
|
380
|
+
query: {
|
|
381
|
+
runner: string | string[];
|
|
382
|
+
profileId?: string | undefined;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
} | {
|
|
386
|
+
output: {
|
|
387
|
+
error: string;
|
|
388
|
+
};
|
|
389
|
+
outputFormat: "json";
|
|
390
|
+
status: 409;
|
|
391
|
+
input: {
|
|
392
|
+
query: {
|
|
393
|
+
runner: string | string[];
|
|
394
|
+
profileId?: string | undefined;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
} | {
|
|
398
|
+
output: {
|
|
399
|
+
error: string;
|
|
400
|
+
};
|
|
401
|
+
outputFormat: "json";
|
|
402
|
+
status: 400;
|
|
403
|
+
input: {
|
|
404
|
+
query: {
|
|
405
|
+
runner: string | string[];
|
|
406
|
+
profileId?: string | undefined;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
411
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
412
412
|
"/workspace/activity": {
|
|
413
413
|
$get: {
|
|
@@ -4678,19 +4678,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4678
4678
|
} & {
|
|
4679
4679
|
"/repo/commit/:sha": {
|
|
4680
4680
|
$get: {
|
|
4681
|
-
output: string;
|
|
4682
|
-
outputFormat: "text";
|
|
4683
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4684
|
-
input: {
|
|
4685
|
-
query: {
|
|
4686
|
-
structured?: string | undefined;
|
|
4687
|
-
};
|
|
4688
|
-
} & {
|
|
4689
|
-
param: {
|
|
4690
|
-
sha: string;
|
|
4691
|
-
};
|
|
4692
|
-
};
|
|
4693
|
-
} | {
|
|
4694
4681
|
output: {
|
|
4695
4682
|
error: string;
|
|
4696
4683
|
code?: "invalid_input" | undefined;
|
|
@@ -4754,6 +4741,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4754
4741
|
sha: string;
|
|
4755
4742
|
};
|
|
4756
4743
|
};
|
|
4744
|
+
} | {
|
|
4745
|
+
output: string;
|
|
4746
|
+
outputFormat: "text";
|
|
4747
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4748
|
+
input: {
|
|
4749
|
+
query: {
|
|
4750
|
+
structured?: string | undefined;
|
|
4751
|
+
};
|
|
4752
|
+
} & {
|
|
4753
|
+
param: {
|
|
4754
|
+
sha: string;
|
|
4755
|
+
};
|
|
4756
|
+
};
|
|
4757
4757
|
};
|
|
4758
4758
|
};
|
|
4759
4759
|
} & {
|
|
@@ -8659,11 +8659,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8659
8659
|
"/runs/:id/worker-destroy": {
|
|
8660
8660
|
$post: {
|
|
8661
8661
|
output: {
|
|
8662
|
-
|
|
8663
|
-
|
|
8662
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8663
|
+
readonly error: string;
|
|
8664
|
+
readonly modelChoices?: {
|
|
8665
|
+
runner: string;
|
|
8666
|
+
requestedModel: string;
|
|
8667
|
+
availableModels: {
|
|
8668
|
+
id: string;
|
|
8669
|
+
label: string;
|
|
8670
|
+
description: string;
|
|
8671
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8672
|
+
}[];
|
|
8673
|
+
otherRunners: string[];
|
|
8674
|
+
} | undefined;
|
|
8664
8675
|
};
|
|
8665
8676
|
outputFormat: "json";
|
|
8666
|
-
status: 400;
|
|
8677
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8667
8678
|
input: {
|
|
8668
8679
|
query: {
|
|
8669
8680
|
[x: string]: string | string[];
|
|
@@ -8679,22 +8690,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8679
8690
|
};
|
|
8680
8691
|
} | {
|
|
8681
8692
|
output: {
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
readonly modelChoices?: {
|
|
8685
|
-
runner: string;
|
|
8686
|
-
requestedModel: string;
|
|
8687
|
-
availableModels: {
|
|
8688
|
-
id: string;
|
|
8689
|
-
label: string;
|
|
8690
|
-
description: string;
|
|
8691
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8692
|
-
}[];
|
|
8693
|
-
otherRunners: string[];
|
|
8694
|
-
} | undefined;
|
|
8693
|
+
error: string;
|
|
8694
|
+
code?: "invalid_input" | undefined;
|
|
8695
8695
|
};
|
|
8696
8696
|
outputFormat: "json";
|
|
8697
|
-
status: 400
|
|
8697
|
+
status: 400;
|
|
8698
8698
|
input: {
|
|
8699
8699
|
query: {
|
|
8700
8700
|
[x: string]: string | string[];
|
|
@@ -19221,20 +19221,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19221
19221
|
} & {
|
|
19222
19222
|
"/runs/:id/handoff": {
|
|
19223
19223
|
$get: {
|
|
19224
|
-
output:
|
|
19225
|
-
|
|
19226
|
-
|
|
19224
|
+
output: {
|
|
19225
|
+
error: string;
|
|
19226
|
+
};
|
|
19227
|
+
outputFormat: "json";
|
|
19228
|
+
status: 404;
|
|
19227
19229
|
input: {
|
|
19228
19230
|
param: {
|
|
19229
19231
|
id: string;
|
|
19230
19232
|
};
|
|
19231
19233
|
};
|
|
19232
19234
|
} | {
|
|
19233
|
-
output:
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
outputFormat: "json";
|
|
19237
|
-
status: 404;
|
|
19235
|
+
output: string;
|
|
19236
|
+
outputFormat: "text";
|
|
19237
|
+
status: 200;
|
|
19238
19238
|
input: {
|
|
19239
19239
|
param: {
|
|
19240
19240
|
id: string;
|
|
@@ -19272,20 +19272,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19272
19272
|
} & {
|
|
19273
19273
|
"/runs/:id/diff": {
|
|
19274
19274
|
$get: {
|
|
19275
|
-
output:
|
|
19276
|
-
|
|
19277
|
-
|
|
19275
|
+
output: {
|
|
19276
|
+
error: string;
|
|
19277
|
+
};
|
|
19278
|
+
outputFormat: "json";
|
|
19279
|
+
status: 404 | 409;
|
|
19278
19280
|
input: {
|
|
19279
19281
|
param: {
|
|
19280
19282
|
id: string;
|
|
19281
19283
|
};
|
|
19282
19284
|
};
|
|
19283
19285
|
} | {
|
|
19284
|
-
output:
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
outputFormat: "json";
|
|
19288
|
-
status: 404 | 409;
|
|
19286
|
+
output: string;
|
|
19287
|
+
outputFormat: "text";
|
|
19288
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19289
19289
|
input: {
|
|
19290
19290
|
param: {
|
|
19291
19291
|
id: string;
|
|
@@ -21332,19 +21332,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21332
21332
|
} & {
|
|
21333
21333
|
"/repo/commit/:sha": {
|
|
21334
21334
|
$get: {
|
|
21335
|
-
output: string;
|
|
21336
|
-
outputFormat: "text";
|
|
21337
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21338
|
-
input: {
|
|
21339
|
-
query: {
|
|
21340
|
-
structured?: string | undefined;
|
|
21341
|
-
};
|
|
21342
|
-
} & {
|
|
21343
|
-
param: {
|
|
21344
|
-
sha: string;
|
|
21345
|
-
};
|
|
21346
|
-
};
|
|
21347
|
-
} | {
|
|
21348
21335
|
output: {
|
|
21349
21336
|
error: string;
|
|
21350
21337
|
code?: "invalid_input" | undefined;
|
|
@@ -21408,6 +21395,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21408
21395
|
sha: string;
|
|
21409
21396
|
};
|
|
21410
21397
|
};
|
|
21398
|
+
} | {
|
|
21399
|
+
output: string;
|
|
21400
|
+
outputFormat: "text";
|
|
21401
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21402
|
+
input: {
|
|
21403
|
+
query: {
|
|
21404
|
+
structured?: string | undefined;
|
|
21405
|
+
};
|
|
21406
|
+
} & {
|
|
21407
|
+
param: {
|
|
21408
|
+
sha: string;
|
|
21409
|
+
};
|
|
21410
|
+
};
|
|
21411
21411
|
};
|
|
21412
21412
|
};
|
|
21413
21413
|
} & {
|
|
@@ -25313,11 +25313,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25313
25313
|
"/runs/:id/worker-destroy": {
|
|
25314
25314
|
$post: {
|
|
25315
25315
|
output: {
|
|
25316
|
-
|
|
25317
|
-
|
|
25316
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
25317
|
+
readonly error: string;
|
|
25318
|
+
readonly modelChoices?: {
|
|
25319
|
+
runner: string;
|
|
25320
|
+
requestedModel: string;
|
|
25321
|
+
availableModels: {
|
|
25322
|
+
id: string;
|
|
25323
|
+
label: string;
|
|
25324
|
+
description: string;
|
|
25325
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25326
|
+
}[];
|
|
25327
|
+
otherRunners: string[];
|
|
25328
|
+
} | undefined;
|
|
25318
25329
|
};
|
|
25319
25330
|
outputFormat: "json";
|
|
25320
|
-
status: 400;
|
|
25331
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
25321
25332
|
input: {
|
|
25322
25333
|
query: {
|
|
25323
25334
|
[x: string]: string | string[];
|
|
@@ -25333,22 +25344,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25333
25344
|
};
|
|
25334
25345
|
} | {
|
|
25335
25346
|
output: {
|
|
25336
|
-
|
|
25337
|
-
|
|
25338
|
-
readonly modelChoices?: {
|
|
25339
|
-
runner: string;
|
|
25340
|
-
requestedModel: string;
|
|
25341
|
-
availableModels: {
|
|
25342
|
-
id: string;
|
|
25343
|
-
label: string;
|
|
25344
|
-
description: string;
|
|
25345
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25346
|
-
}[];
|
|
25347
|
-
otherRunners: string[];
|
|
25348
|
-
} | undefined;
|
|
25347
|
+
error: string;
|
|
25348
|
+
code?: "invalid_input" | undefined;
|
|
25349
25349
|
};
|
|
25350
25350
|
outputFormat: "json";
|
|
25351
|
-
status: 400
|
|
25351
|
+
status: 400;
|
|
25352
25352
|
input: {
|
|
25353
25353
|
query: {
|
|
25354
25354
|
[x: string]: string | string[];
|
|
@@ -35875,20 +35875,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35875
35875
|
} & {
|
|
35876
35876
|
"/runs/:id/handoff": {
|
|
35877
35877
|
$get: {
|
|
35878
|
-
output:
|
|
35879
|
-
|
|
35880
|
-
|
|
35878
|
+
output: {
|
|
35879
|
+
error: string;
|
|
35880
|
+
};
|
|
35881
|
+
outputFormat: "json";
|
|
35882
|
+
status: 404;
|
|
35881
35883
|
input: {
|
|
35882
35884
|
param: {
|
|
35883
35885
|
id: string;
|
|
35884
35886
|
};
|
|
35885
35887
|
};
|
|
35886
35888
|
} | {
|
|
35887
|
-
output:
|
|
35888
|
-
|
|
35889
|
-
|
|
35890
|
-
outputFormat: "json";
|
|
35891
|
-
status: 404;
|
|
35889
|
+
output: string;
|
|
35890
|
+
outputFormat: "text";
|
|
35891
|
+
status: 200;
|
|
35892
35892
|
input: {
|
|
35893
35893
|
param: {
|
|
35894
35894
|
id: string;
|
|
@@ -35926,20 +35926,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35926
35926
|
} & {
|
|
35927
35927
|
"/runs/:id/diff": {
|
|
35928
35928
|
$get: {
|
|
35929
|
-
output:
|
|
35930
|
-
|
|
35931
|
-
|
|
35929
|
+
output: {
|
|
35930
|
+
error: string;
|
|
35931
|
+
};
|
|
35932
|
+
outputFormat: "json";
|
|
35933
|
+
status: 404 | 409;
|
|
35932
35934
|
input: {
|
|
35933
35935
|
param: {
|
|
35934
35936
|
id: string;
|
|
35935
35937
|
};
|
|
35936
35938
|
};
|
|
35937
35939
|
} | {
|
|
35938
|
-
output:
|
|
35939
|
-
|
|
35940
|
-
|
|
35941
|
-
outputFormat: "json";
|
|
35942
|
-
status: 404 | 409;
|
|
35940
|
+
output: string;
|
|
35941
|
+
outputFormat: "text";
|
|
35942
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35943
35943
|
input: {
|
|
35944
35944
|
param: {
|
|
35945
35945
|
id: string;
|
|
@@ -7,12 +7,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
output: {
|
|
8
8
|
generation: string;
|
|
9
9
|
results: ({
|
|
10
|
-
projectId: string;
|
|
11
|
-
runId: string;
|
|
12
|
-
type: "error" | "reset";
|
|
13
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
14
|
-
error: string;
|
|
15
|
-
} | {
|
|
16
10
|
projectId: string;
|
|
17
11
|
runId: string;
|
|
18
12
|
type: "batch";
|
|
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
26
20
|
cursor: string;
|
|
27
21
|
afterSeq: number;
|
|
28
22
|
hasMore: boolean;
|
|
23
|
+
} | {
|
|
24
|
+
projectId: string;
|
|
25
|
+
runId: string;
|
|
26
|
+
type: "error" | "reset";
|
|
27
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
28
|
+
error: string;
|
|
29
29
|
})[];
|
|
30
30
|
};
|
|
31
31
|
outputFormat: "json";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.8180",
|
|
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",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/parser": "^8.0.8",
|
|
70
70
|
"@babel/types": "^8.0.8",
|
|
71
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.8180",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.8180",
|
|
73
73
|
"@types/node": "^24.19.1",
|
|
74
74
|
"@types/ws": "^8.18.1",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "5e2881e3227c590359d50602e3fd3785d139e213"
|
|
90
90
|
}
|
|
@@ -6,14 +6,16 @@ import { installPluginResolveHook } from '../src/plugin/resolve-hook.ts';
|
|
|
6
6
|
import { registerBuiltInRunSlots, sealBuiltInRunSlots } from '../src/built-in-run-slots.ts';
|
|
7
7
|
|
|
8
8
|
installPluginResolveHook();
|
|
9
|
-
const {
|
|
9
|
+
const { loadBundledRunners } = await import('../src/plugin/loader.ts');
|
|
10
|
+
const { sealRunners } = await import('../src/core/runner-registry.ts');
|
|
11
|
+
// The bundled runners load at import, so prepareBenchmarkRuntime stays synchronous.
|
|
12
|
+
await loadBundledRunners();
|
|
10
13
|
|
|
11
14
|
/** Boot the process services used by benchmarks that open a run store. */
|
|
12
15
|
export function prepareBenchmarkRuntime(): void {
|
|
13
16
|
// Workspace receipts and markers use the host's identity store (ADR 0032).
|
|
14
17
|
installWindowsIdentityStore();
|
|
15
|
-
|
|
16
|
-
sealBuiltInRunners();
|
|
18
|
+
sealRunners();
|
|
17
19
|
registerBuiltInRunSlots();
|
|
18
20
|
sealBuiltInRunSlots();
|
|
19
21
|
registerBuiltInStepKinds();
|
package/scripts/check-pack.mjs
CHANGED
|
@@ -15,6 +15,7 @@ import { execFileSync } from 'node:child_process';
|
|
|
15
15
|
import path from 'node:path';
|
|
16
16
|
import { fileURLToPath } from 'node:url';
|
|
17
17
|
import { findPackGaps } from '../dist/pack-check.js';
|
|
18
|
+
import { bundledRunnerIds } from '../dist/plugin/bundled-runners.js';
|
|
18
19
|
|
|
19
20
|
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
20
21
|
|
|
@@ -37,7 +38,9 @@ if (files.length === 0) {
|
|
|
37
38
|
process.exit(1);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
// The bundled runners the source declares: each must ship its built plugin entry.
|
|
42
|
+
const runnerIds = bundledRunnerIds(path.join(repoRoot, 'src/runners'));
|
|
43
|
+
const gaps = findPackGaps(files, runnerIds);
|
|
41
44
|
if (gaps.length > 0) {
|
|
42
45
|
console.error('check:pack: the npm tarball would ship a broken cockpit:');
|
|
43
46
|
for (const gap of gaps) console.error(` - ${gap}`);
|
|
@@ -45,4 +48,4 @@ if (gaps.length > 0) {
|
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
const uiFiles = files.filter((f) => f.startsWith('web/dist/')).length;
|
|
48
|
-
console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present)`);
|
|
51
|
+
console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present), bundled runners ${runnerIds.join(', ')}`);
|
|
@@ -32,11 +32,12 @@ try {
|
|
|
32
32
|
const { startServer } = await import(new URL('server/start-server.js', runtime.url));
|
|
33
33
|
const { installPluginResolveHook } = await import(new URL('plugin/resolve-hook.js', runtime.url));
|
|
34
34
|
installPluginResolveHook();
|
|
35
|
-
const {
|
|
35
|
+
const { loadBundledRunners } = await import(new URL('plugin/loader.js', runtime.url));
|
|
36
|
+
const { sealRunners } = await import(new URL('core/runner-registry.js', runtime.url));
|
|
36
37
|
// This measurement is a process entry like index.ts: the server reads every registered runner,
|
|
37
38
|
// and a reclaim or a deletion asks the removal slots.
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
await loadBundledRunners();
|
|
40
|
+
sealRunners();
|
|
40
41
|
const { registerBuiltInRunSlots, sealBuiltInRunSlots } = await import(new URL('built-in-run-slots.js', runtime.url));
|
|
41
42
|
registerBuiltInRunSlots();
|
|
42
43
|
sealBuiltInRunSlots();
|
package/scripts/parity-rows.ts
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RunnerDefinition } from '../core/runner-definition.ts';
|
|
2
|
-
/** The runners that ship with Squawk, in display order. A new built-in runner adds one line. */
|
|
3
|
-
export declare const BUILT_IN_RUNNERS: readonly RunnerDefinition[];
|
|
4
|
-
/**
|
|
5
|
-
* Register every built-in runner. Each process entry calls it before it reads config or runs a
|
|
6
|
-
* task. A second call registers the same objects again, which the registry ignores.
|
|
7
|
-
*/
|
|
8
|
-
export declare function registerBuiltInRunners(): void;
|
|
9
|
-
/** Seal after all built-in and additional runner registrations. */
|
|
10
|
-
export { sealRunners as sealBuiltInRunners } from '../core/runner-registry.ts';
|
package/dist/runners/built-in.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { registerRunner } from '../core/runner-registry.js';
|
|
2
|
-
import { claudeRunner } from './claude/definition.js';
|
|
3
|
-
import { codexRunner } from './codex/definition.js';
|
|
4
|
-
import { opencodeRunner } from './opencode/definition.js';
|
|
5
|
-
import { piRunner } from './pi/definition.js';
|
|
6
|
-
import { ompRunner } from './omp/definition.js';
|
|
7
|
-
import { antigravityRunner } from './antigravity/definition.js';
|
|
8
|
-
/** The runners that ship with Squawk, in display order. A new built-in runner adds one line. */
|
|
9
|
-
export const BUILT_IN_RUNNERS = [claudeRunner, codexRunner, opencodeRunner, piRunner, ompRunner, antigravityRunner];
|
|
10
|
-
/**
|
|
11
|
-
* Register every built-in runner. Each process entry calls it before it reads config or runs a
|
|
12
|
-
* task. A second call registers the same objects again, which the registry ignores.
|
|
13
|
-
*/
|
|
14
|
-
export function registerBuiltInRunners() {
|
|
15
|
-
for (const definition of BUILT_IN_RUNNERS)
|
|
16
|
-
registerRunner(definition);
|
|
17
|
-
}
|
|
18
|
-
/** Seal after all built-in and additional runner registrations. */
|
|
19
|
-
export { sealRunners as sealBuiltInRunners } from '../core/runner-registry.js';
|
|
20
|
-
//# sourceMappingURL=built-in.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"built-in.js","sourceRoot":"","sources":["../../src/runners/built-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,gGAAgG;AAChG,MAAM,CAAC,MAAM,gBAAgB,GAAgC,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAGjJ;;;GAGG;AACH,MAAM,UAAU,sBAAsB;IACpC,KAAK,MAAM,UAAU,IAAI,gBAAgB;QAAE,cAAc,CAAC,UAAU,CAAC,CAAC;AACxE,CAAC;AAED,mEAAmE;AACnE,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/runners/ids.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The ids of the runners Squawk ships, in display order: plain data, the one roster of runner
|
|
3
|
-
* ids (spec 2026-11-18-runner-definitions, decision 5). `runners/built-in.ts` holds the
|
|
4
|
-
* definitions these ids name and checks the two lists match; importing this module loads no
|
|
5
|
-
* definition and no adapter, which is why the global test setup reads it (`vitest.setup.ts`)
|
|
6
|
-
* and why the closure guard (`core/runner-closure.test.ts`) keeps it free of runner code.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BUILT_IN_RUNNER_IDS: readonly string[];
|
package/dist/runners/ids.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The ids of the runners Squawk ships, in display order: plain data, the one roster of runner
|
|
3
|
-
* ids (spec 2026-11-18-runner-definitions, decision 5). `runners/built-in.ts` holds the
|
|
4
|
-
* definitions these ids name and checks the two lists match; importing this module loads no
|
|
5
|
-
* definition and no adapter, which is why the global test setup reads it (`vitest.setup.ts`)
|
|
6
|
-
* and why the closure guard (`core/runner-closure.test.ts`) keeps it free of runner code.
|
|
7
|
-
*/
|
|
8
|
-
export const BUILT_IN_RUNNER_IDS = ['claude', 'codex', 'opencode', 'pi', 'omp', 'antigravity'];
|
|
9
|
-
//# sourceMappingURL=ids.js.map
|
package/dist/runners/ids.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/runners/ids.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC"}
|