@hearsay-tools/squawk 0.18.0-dev.8043 → 0.18.0-dev.8050
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/built-in-cli-commands.d.ts +3 -0
- package/dist/built-in-cli-commands.js +152 -0
- package/dist/built-in-cli-commands.js.map +1 -0
- package/dist/built-in-tool-definitions.d.ts +4 -0
- package/dist/built-in-tool-definitions.js +61 -0
- package/dist/built-in-tool-definitions.js.map +1 -0
- package/dist/built-in-tools.d.ts +3 -0
- package/dist/built-in-tools.js +9 -0
- package/dist/built-in-tools.js.map +1 -0
- package/dist/ci-wait/client.d.ts +75 -0
- package/dist/ci-wait/client.js +44 -13
- package/dist/ci-wait/client.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +57 -1153
- package/dist/ci-wait/controller.js +56 -175
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/ci-wait/mcp.d.ts +1 -1
- package/dist/ci-wait/mcp.js +7 -5
- package/dist/ci-wait/mcp.js.map +1 -1
- package/dist/ci-wait/tool-catalog.d.ts +6 -528
- package/dist/ci-wait/tool-catalog.js +3 -7
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/ci-wait/tool-names.d.ts +1 -8
- package/dist/ci-wait/tool-names.js +8 -16
- package/dist/ci-wait/tool-names.js.map +1 -1
- package/dist/ci-wait/tool-registry.d.ts +64 -0
- package/dist/ci-wait/tool-registry.js +32 -0
- package/dist/ci-wait/tool-registry.js.map +1 -0
- package/dist/ci-wait/tools.d.ts +452 -8
- package/dist/ci-wait/tools.js +40 -28
- package/dist/ci-wait/tools.js.map +1 -1
- package/dist/cli-dispatch.js +13 -73
- package/dist/cli-dispatch.js.map +1 -1
- package/dist/contract/agent-tools.d.ts +51 -0
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +21 -0
- package/dist/core/cli-registry.d.ts +50 -0
- package/dist/core/cli-registry.js +13 -0
- package/dist/core/cli-registry.js.map +1 -0
- package/dist/home/backup-args.d.ts +18 -0
- package/dist/home/backup-args.js +35 -0
- package/dist/home/backup-args.js.map +1 -0
- package/dist/home/entry.js +9 -6
- package/dist/home/entry.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/runs/run-exits.d.ts +336 -336
- package/dist/server/server.d.ts +234 -234
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/subcommands.d.ts +2 -10
- package/dist/subcommands.js +14 -62
- package/dist/subcommands.js.map +1 -1
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workspace/backups.d.ts +1 -18
- package/dist/workspace/backups.js +2 -34
- package/dist/workspace/backups.js.map +1 -1
- package/package.json +4 -4
- package/scripts/benchmark-runtime.ts +3 -0
- package/scripts/measure-transcript-facts-health.mjs +3 -0
- package/scripts/mock-ci-tool.mjs +1 -1
- package/scripts/mock-wire-tools.mjs +4 -1
- package/scripts/omp-ci-wait.mjs +4 -14
- package/scripts/pi-ci-wait.mjs +3 -13
package/dist/server/server.d.ts
CHANGED
|
@@ -3441,94 +3441,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3441
3441
|
};
|
|
3442
3442
|
};
|
|
3443
3443
|
};
|
|
3444
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3445
|
-
"/reports/state": {
|
|
3446
|
-
$get: {
|
|
3447
|
-
output: {
|
|
3448
|
-
error: string;
|
|
3449
|
-
};
|
|
3450
|
-
outputFormat: "json";
|
|
3451
|
-
status: 409;
|
|
3452
|
-
input: {};
|
|
3453
|
-
} | {
|
|
3454
|
-
output: {
|
|
3455
|
-
epoch: string;
|
|
3456
|
-
generation: number;
|
|
3457
|
-
metadataGeneration: number;
|
|
3458
|
-
};
|
|
3459
|
-
outputFormat: "json";
|
|
3460
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3461
|
-
input: {};
|
|
3462
|
-
};
|
|
3463
|
-
};
|
|
3464
|
-
} & {
|
|
3465
|
-
"/reports": {
|
|
3466
|
-
$get: {
|
|
3467
|
-
output: {
|
|
3468
|
-
error: string;
|
|
3469
|
-
code?: "invalid_input" | undefined;
|
|
3470
|
-
};
|
|
3471
|
-
outputFormat: "json";
|
|
3472
|
-
status: 400;
|
|
3473
|
-
input: {
|
|
3474
|
-
query: {
|
|
3475
|
-
q?: string | undefined;
|
|
3476
|
-
before?: string | undefined;
|
|
3477
|
-
limit?: number | undefined;
|
|
3478
|
-
};
|
|
3479
|
-
};
|
|
3480
|
-
} | {
|
|
3481
|
-
output: {
|
|
3482
|
-
error: string;
|
|
3483
|
-
};
|
|
3484
|
-
outputFormat: "json";
|
|
3485
|
-
status: 409;
|
|
3486
|
-
input: {
|
|
3487
|
-
query: {
|
|
3488
|
-
q?: string | undefined;
|
|
3489
|
-
before?: string | undefined;
|
|
3490
|
-
limit?: number | undefined;
|
|
3491
|
-
};
|
|
3492
|
-
};
|
|
3493
|
-
} | {
|
|
3494
|
-
output: {
|
|
3495
|
-
error: string;
|
|
3496
|
-
};
|
|
3497
|
-
outputFormat: "json";
|
|
3498
|
-
status: 400;
|
|
3499
|
-
input: {
|
|
3500
|
-
query: {
|
|
3501
|
-
q?: string | undefined;
|
|
3502
|
-
before?: string | undefined;
|
|
3503
|
-
limit?: number | undefined;
|
|
3504
|
-
};
|
|
3505
|
-
};
|
|
3506
|
-
} | {
|
|
3507
|
-
output: {
|
|
3508
|
-
reports: {
|
|
3509
|
-
id: string;
|
|
3510
|
-
runId: string;
|
|
3511
|
-
name: string;
|
|
3512
|
-
title: string;
|
|
3513
|
-
createdAt: string;
|
|
3514
|
-
size: number;
|
|
3515
|
-
taskTitle: string;
|
|
3516
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3517
|
-
}[];
|
|
3518
|
-
nextCursor: string | null;
|
|
3519
|
-
total: number;
|
|
3520
|
-
};
|
|
3521
|
-
outputFormat: "json";
|
|
3522
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3523
|
-
input: {
|
|
3524
|
-
query: {
|
|
3525
|
-
q?: string | undefined;
|
|
3526
|
-
before?: string | undefined;
|
|
3527
|
-
limit?: number | undefined;
|
|
3528
|
-
};
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
};
|
|
3532
3444
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3533
3445
|
"/ui-state": {
|
|
3534
3446
|
$get: {
|
|
@@ -4017,6 +3929,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4017
3929
|
};
|
|
4018
3930
|
};
|
|
4019
3931
|
};
|
|
3932
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3933
|
+
"/reports/state": {
|
|
3934
|
+
$get: {
|
|
3935
|
+
output: {
|
|
3936
|
+
error: string;
|
|
3937
|
+
};
|
|
3938
|
+
outputFormat: "json";
|
|
3939
|
+
status: 409;
|
|
3940
|
+
input: {};
|
|
3941
|
+
} | {
|
|
3942
|
+
output: {
|
|
3943
|
+
epoch: string;
|
|
3944
|
+
generation: number;
|
|
3945
|
+
metadataGeneration: number;
|
|
3946
|
+
};
|
|
3947
|
+
outputFormat: "json";
|
|
3948
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3949
|
+
input: {};
|
|
3950
|
+
};
|
|
3951
|
+
};
|
|
3952
|
+
} & {
|
|
3953
|
+
"/reports": {
|
|
3954
|
+
$get: {
|
|
3955
|
+
output: {
|
|
3956
|
+
error: string;
|
|
3957
|
+
code?: "invalid_input" | undefined;
|
|
3958
|
+
};
|
|
3959
|
+
outputFormat: "json";
|
|
3960
|
+
status: 400;
|
|
3961
|
+
input: {
|
|
3962
|
+
query: {
|
|
3963
|
+
q?: string | undefined;
|
|
3964
|
+
before?: string | undefined;
|
|
3965
|
+
limit?: number | undefined;
|
|
3966
|
+
};
|
|
3967
|
+
};
|
|
3968
|
+
} | {
|
|
3969
|
+
output: {
|
|
3970
|
+
error: string;
|
|
3971
|
+
};
|
|
3972
|
+
outputFormat: "json";
|
|
3973
|
+
status: 409;
|
|
3974
|
+
input: {
|
|
3975
|
+
query: {
|
|
3976
|
+
q?: string | undefined;
|
|
3977
|
+
before?: string | undefined;
|
|
3978
|
+
limit?: number | undefined;
|
|
3979
|
+
};
|
|
3980
|
+
};
|
|
3981
|
+
} | {
|
|
3982
|
+
output: {
|
|
3983
|
+
error: string;
|
|
3984
|
+
};
|
|
3985
|
+
outputFormat: "json";
|
|
3986
|
+
status: 400;
|
|
3987
|
+
input: {
|
|
3988
|
+
query: {
|
|
3989
|
+
q?: string | undefined;
|
|
3990
|
+
before?: string | undefined;
|
|
3991
|
+
limit?: number | undefined;
|
|
3992
|
+
};
|
|
3993
|
+
};
|
|
3994
|
+
} | {
|
|
3995
|
+
output: {
|
|
3996
|
+
reports: {
|
|
3997
|
+
id: string;
|
|
3998
|
+
runId: string;
|
|
3999
|
+
name: string;
|
|
4000
|
+
title: string;
|
|
4001
|
+
createdAt: string;
|
|
4002
|
+
size: number;
|
|
4003
|
+
taskTitle: string;
|
|
4004
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
4005
|
+
}[];
|
|
4006
|
+
nextCursor: string | null;
|
|
4007
|
+
total: number;
|
|
4008
|
+
};
|
|
4009
|
+
outputFormat: "json";
|
|
4010
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4011
|
+
input: {
|
|
4012
|
+
query: {
|
|
4013
|
+
q?: string | undefined;
|
|
4014
|
+
before?: string | undefined;
|
|
4015
|
+
limit?: number | undefined;
|
|
4016
|
+
};
|
|
4017
|
+
};
|
|
4018
|
+
};
|
|
4019
|
+
};
|
|
4020
4020
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4021
4021
|
"/worktrees": {
|
|
4022
4022
|
$get: {
|
|
@@ -4665,19 +4665,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4665
4665
|
} & {
|
|
4666
4666
|
"/repo/commit/:sha": {
|
|
4667
4667
|
$get: {
|
|
4668
|
-
output: string;
|
|
4669
|
-
outputFormat: "text";
|
|
4670
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4671
|
-
input: {
|
|
4672
|
-
query: {
|
|
4673
|
-
structured?: string | undefined;
|
|
4674
|
-
};
|
|
4675
|
-
} & {
|
|
4676
|
-
param: {
|
|
4677
|
-
sha: string;
|
|
4678
|
-
};
|
|
4679
|
-
};
|
|
4680
|
-
} | {
|
|
4681
4668
|
output: {
|
|
4682
4669
|
error: string;
|
|
4683
4670
|
code?: "invalid_input" | undefined;
|
|
@@ -4741,6 +4728,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4741
4728
|
sha: string;
|
|
4742
4729
|
};
|
|
4743
4730
|
};
|
|
4731
|
+
} | {
|
|
4732
|
+
output: string;
|
|
4733
|
+
outputFormat: "text";
|
|
4734
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4735
|
+
input: {
|
|
4736
|
+
query: {
|
|
4737
|
+
structured?: string | undefined;
|
|
4738
|
+
};
|
|
4739
|
+
} & {
|
|
4740
|
+
param: {
|
|
4741
|
+
sha: string;
|
|
4742
|
+
};
|
|
4743
|
+
};
|
|
4744
4744
|
};
|
|
4745
4745
|
};
|
|
4746
4746
|
} & {
|
|
@@ -19201,20 +19201,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19201
19201
|
} & {
|
|
19202
19202
|
"/runs/:id/handoff": {
|
|
19203
19203
|
$get: {
|
|
19204
|
-
output:
|
|
19205
|
-
|
|
19206
|
-
|
|
19204
|
+
output: {
|
|
19205
|
+
error: string;
|
|
19206
|
+
};
|
|
19207
|
+
outputFormat: "json";
|
|
19208
|
+
status: 404;
|
|
19207
19209
|
input: {
|
|
19208
19210
|
param: {
|
|
19209
19211
|
id: string;
|
|
19210
19212
|
};
|
|
19211
19213
|
};
|
|
19212
19214
|
} | {
|
|
19213
|
-
output:
|
|
19214
|
-
|
|
19215
|
-
|
|
19216
|
-
outputFormat: "json";
|
|
19217
|
-
status: 404;
|
|
19215
|
+
output: string;
|
|
19216
|
+
outputFormat: "text";
|
|
19217
|
+
status: 200;
|
|
19218
19218
|
input: {
|
|
19219
19219
|
param: {
|
|
19220
19220
|
id: string;
|
|
@@ -19252,20 +19252,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19252
19252
|
} & {
|
|
19253
19253
|
"/runs/:id/diff": {
|
|
19254
19254
|
$get: {
|
|
19255
|
-
output:
|
|
19256
|
-
|
|
19257
|
-
|
|
19255
|
+
output: {
|
|
19256
|
+
error: string;
|
|
19257
|
+
};
|
|
19258
|
+
outputFormat: "json";
|
|
19259
|
+
status: 404 | 409;
|
|
19258
19260
|
input: {
|
|
19259
19261
|
param: {
|
|
19260
19262
|
id: string;
|
|
19261
19263
|
};
|
|
19262
19264
|
};
|
|
19263
19265
|
} | {
|
|
19264
|
-
output:
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
outputFormat: "json";
|
|
19268
|
-
status: 404 | 409;
|
|
19266
|
+
output: string;
|
|
19267
|
+
outputFormat: "text";
|
|
19268
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19269
19269
|
input: {
|
|
19270
19270
|
param: {
|
|
19271
19271
|
id: string;
|
|
@@ -20088,94 +20088,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20088
20088
|
};
|
|
20089
20089
|
};
|
|
20090
20090
|
};
|
|
20091
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20092
|
-
"/reports/state": {
|
|
20093
|
-
$get: {
|
|
20094
|
-
output: {
|
|
20095
|
-
error: string;
|
|
20096
|
-
};
|
|
20097
|
-
outputFormat: "json";
|
|
20098
|
-
status: 409;
|
|
20099
|
-
input: {};
|
|
20100
|
-
} | {
|
|
20101
|
-
output: {
|
|
20102
|
-
epoch: string;
|
|
20103
|
-
generation: number;
|
|
20104
|
-
metadataGeneration: number;
|
|
20105
|
-
};
|
|
20106
|
-
outputFormat: "json";
|
|
20107
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20108
|
-
input: {};
|
|
20109
|
-
};
|
|
20110
|
-
};
|
|
20111
|
-
} & {
|
|
20112
|
-
"/reports": {
|
|
20113
|
-
$get: {
|
|
20114
|
-
output: {
|
|
20115
|
-
error: string;
|
|
20116
|
-
code?: "invalid_input" | undefined;
|
|
20117
|
-
};
|
|
20118
|
-
outputFormat: "json";
|
|
20119
|
-
status: 400;
|
|
20120
|
-
input: {
|
|
20121
|
-
query: {
|
|
20122
|
-
q?: string | undefined;
|
|
20123
|
-
before?: string | undefined;
|
|
20124
|
-
limit?: number | undefined;
|
|
20125
|
-
};
|
|
20126
|
-
};
|
|
20127
|
-
} | {
|
|
20128
|
-
output: {
|
|
20129
|
-
error: string;
|
|
20130
|
-
};
|
|
20131
|
-
outputFormat: "json";
|
|
20132
|
-
status: 409;
|
|
20133
|
-
input: {
|
|
20134
|
-
query: {
|
|
20135
|
-
q?: string | undefined;
|
|
20136
|
-
before?: string | undefined;
|
|
20137
|
-
limit?: number | undefined;
|
|
20138
|
-
};
|
|
20139
|
-
};
|
|
20140
|
-
} | {
|
|
20141
|
-
output: {
|
|
20142
|
-
error: string;
|
|
20143
|
-
};
|
|
20144
|
-
outputFormat: "json";
|
|
20145
|
-
status: 400;
|
|
20146
|
-
input: {
|
|
20147
|
-
query: {
|
|
20148
|
-
q?: string | undefined;
|
|
20149
|
-
before?: string | undefined;
|
|
20150
|
-
limit?: number | undefined;
|
|
20151
|
-
};
|
|
20152
|
-
};
|
|
20153
|
-
} | {
|
|
20154
|
-
output: {
|
|
20155
|
-
reports: {
|
|
20156
|
-
id: string;
|
|
20157
|
-
runId: string;
|
|
20158
|
-
name: string;
|
|
20159
|
-
title: string;
|
|
20160
|
-
createdAt: string;
|
|
20161
|
-
size: number;
|
|
20162
|
-
taskTitle: string;
|
|
20163
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
20164
|
-
}[];
|
|
20165
|
-
nextCursor: string | null;
|
|
20166
|
-
total: number;
|
|
20167
|
-
};
|
|
20168
|
-
outputFormat: "json";
|
|
20169
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20170
|
-
input: {
|
|
20171
|
-
query: {
|
|
20172
|
-
q?: string | undefined;
|
|
20173
|
-
before?: string | undefined;
|
|
20174
|
-
limit?: number | undefined;
|
|
20175
|
-
};
|
|
20176
|
-
};
|
|
20177
|
-
};
|
|
20178
|
-
};
|
|
20179
20091
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20180
20092
|
"/ui-state": {
|
|
20181
20093
|
$get: {
|
|
@@ -20664,6 +20576,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20664
20576
|
};
|
|
20665
20577
|
};
|
|
20666
20578
|
};
|
|
20579
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20580
|
+
"/reports/state": {
|
|
20581
|
+
$get: {
|
|
20582
|
+
output: {
|
|
20583
|
+
error: string;
|
|
20584
|
+
};
|
|
20585
|
+
outputFormat: "json";
|
|
20586
|
+
status: 409;
|
|
20587
|
+
input: {};
|
|
20588
|
+
} | {
|
|
20589
|
+
output: {
|
|
20590
|
+
epoch: string;
|
|
20591
|
+
generation: number;
|
|
20592
|
+
metadataGeneration: number;
|
|
20593
|
+
};
|
|
20594
|
+
outputFormat: "json";
|
|
20595
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20596
|
+
input: {};
|
|
20597
|
+
};
|
|
20598
|
+
};
|
|
20599
|
+
} & {
|
|
20600
|
+
"/reports": {
|
|
20601
|
+
$get: {
|
|
20602
|
+
output: {
|
|
20603
|
+
error: string;
|
|
20604
|
+
code?: "invalid_input" | undefined;
|
|
20605
|
+
};
|
|
20606
|
+
outputFormat: "json";
|
|
20607
|
+
status: 400;
|
|
20608
|
+
input: {
|
|
20609
|
+
query: {
|
|
20610
|
+
q?: string | undefined;
|
|
20611
|
+
before?: string | undefined;
|
|
20612
|
+
limit?: number | undefined;
|
|
20613
|
+
};
|
|
20614
|
+
};
|
|
20615
|
+
} | {
|
|
20616
|
+
output: {
|
|
20617
|
+
error: string;
|
|
20618
|
+
};
|
|
20619
|
+
outputFormat: "json";
|
|
20620
|
+
status: 409;
|
|
20621
|
+
input: {
|
|
20622
|
+
query: {
|
|
20623
|
+
q?: string | undefined;
|
|
20624
|
+
before?: string | undefined;
|
|
20625
|
+
limit?: number | undefined;
|
|
20626
|
+
};
|
|
20627
|
+
};
|
|
20628
|
+
} | {
|
|
20629
|
+
output: {
|
|
20630
|
+
error: string;
|
|
20631
|
+
};
|
|
20632
|
+
outputFormat: "json";
|
|
20633
|
+
status: 400;
|
|
20634
|
+
input: {
|
|
20635
|
+
query: {
|
|
20636
|
+
q?: string | undefined;
|
|
20637
|
+
before?: string | undefined;
|
|
20638
|
+
limit?: number | undefined;
|
|
20639
|
+
};
|
|
20640
|
+
};
|
|
20641
|
+
} | {
|
|
20642
|
+
output: {
|
|
20643
|
+
reports: {
|
|
20644
|
+
id: string;
|
|
20645
|
+
runId: string;
|
|
20646
|
+
name: string;
|
|
20647
|
+
title: string;
|
|
20648
|
+
createdAt: string;
|
|
20649
|
+
size: number;
|
|
20650
|
+
taskTitle: string;
|
|
20651
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
20652
|
+
}[];
|
|
20653
|
+
nextCursor: string | null;
|
|
20654
|
+
total: number;
|
|
20655
|
+
};
|
|
20656
|
+
outputFormat: "json";
|
|
20657
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20658
|
+
input: {
|
|
20659
|
+
query: {
|
|
20660
|
+
q?: string | undefined;
|
|
20661
|
+
before?: string | undefined;
|
|
20662
|
+
limit?: number | undefined;
|
|
20663
|
+
};
|
|
20664
|
+
};
|
|
20665
|
+
};
|
|
20666
|
+
};
|
|
20667
20667
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20668
20668
|
"/worktrees": {
|
|
20669
20669
|
$get: {
|
|
@@ -21312,19 +21312,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21312
21312
|
} & {
|
|
21313
21313
|
"/repo/commit/:sha": {
|
|
21314
21314
|
$get: {
|
|
21315
|
-
output: string;
|
|
21316
|
-
outputFormat: "text";
|
|
21317
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21318
|
-
input: {
|
|
21319
|
-
query: {
|
|
21320
|
-
structured?: string | undefined;
|
|
21321
|
-
};
|
|
21322
|
-
} & {
|
|
21323
|
-
param: {
|
|
21324
|
-
sha: string;
|
|
21325
|
-
};
|
|
21326
|
-
};
|
|
21327
|
-
} | {
|
|
21328
21315
|
output: {
|
|
21329
21316
|
error: string;
|
|
21330
21317
|
code?: "invalid_input" | undefined;
|
|
@@ -21388,6 +21375,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21388
21375
|
sha: string;
|
|
21389
21376
|
};
|
|
21390
21377
|
};
|
|
21378
|
+
} | {
|
|
21379
|
+
output: string;
|
|
21380
|
+
outputFormat: "text";
|
|
21381
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21382
|
+
input: {
|
|
21383
|
+
query: {
|
|
21384
|
+
structured?: string | undefined;
|
|
21385
|
+
};
|
|
21386
|
+
} & {
|
|
21387
|
+
param: {
|
|
21388
|
+
sha: string;
|
|
21389
|
+
};
|
|
21390
|
+
};
|
|
21391
21391
|
};
|
|
21392
21392
|
};
|
|
21393
21393
|
} & {
|
|
@@ -35848,20 +35848,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35848
35848
|
} & {
|
|
35849
35849
|
"/runs/:id/handoff": {
|
|
35850
35850
|
$get: {
|
|
35851
|
-
output:
|
|
35852
|
-
|
|
35853
|
-
|
|
35851
|
+
output: {
|
|
35852
|
+
error: string;
|
|
35853
|
+
};
|
|
35854
|
+
outputFormat: "json";
|
|
35855
|
+
status: 404;
|
|
35854
35856
|
input: {
|
|
35855
35857
|
param: {
|
|
35856
35858
|
id: string;
|
|
35857
35859
|
};
|
|
35858
35860
|
};
|
|
35859
35861
|
} | {
|
|
35860
|
-
output:
|
|
35861
|
-
|
|
35862
|
-
|
|
35863
|
-
outputFormat: "json";
|
|
35864
|
-
status: 404;
|
|
35862
|
+
output: string;
|
|
35863
|
+
outputFormat: "text";
|
|
35864
|
+
status: 200;
|
|
35865
35865
|
input: {
|
|
35866
35866
|
param: {
|
|
35867
35867
|
id: string;
|
|
@@ -35899,20 +35899,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35899
35899
|
} & {
|
|
35900
35900
|
"/runs/:id/diff": {
|
|
35901
35901
|
$get: {
|
|
35902
|
-
output:
|
|
35903
|
-
|
|
35904
|
-
|
|
35902
|
+
output: {
|
|
35903
|
+
error: string;
|
|
35904
|
+
};
|
|
35905
|
+
outputFormat: "json";
|
|
35906
|
+
status: 404 | 409;
|
|
35905
35907
|
input: {
|
|
35906
35908
|
param: {
|
|
35907
35909
|
id: string;
|
|
35908
35910
|
};
|
|
35909
35911
|
};
|
|
35910
35912
|
} | {
|
|
35911
|
-
output:
|
|
35912
|
-
|
|
35913
|
-
|
|
35914
|
-
outputFormat: "json";
|
|
35915
|
-
status: 404 | 409;
|
|
35913
|
+
output: string;
|
|
35914
|
+
outputFormat: "text";
|
|
35915
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35916
35916
|
input: {
|
|
35917
35917
|
param: {
|
|
35918
35918
|
id: string;
|
|
@@ -7,6 +7,12 @@ 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
|
+
} | {
|
|
10
16
|
projectId: string;
|
|
11
17
|
runId: string;
|
|
12
18
|
type: "batch";
|
|
@@ -20,12 +26,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
20
26
|
cursor: string;
|
|
21
27
|
afterSeq: number;
|
|
22
28
|
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/dist/subcommands.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The CLI subcommands that take flags of their own, so `index.ts` runs them before its global
|
|
3
|
-
* parseArgs: their flags are not cockpit flags (#504, #774, #1576). Each module loads only when
|
|
4
|
-
* its command runs.
|
|
5
|
-
*/
|
|
6
1
|
import type { Home } from './home/home.ts';
|
|
7
|
-
export type SubcommandRunner
|
|
8
|
-
export declare
|
|
9
|
-
/** The runner for `name`, or nothing when `name` is not a subcommand. */
|
|
10
|
-
export declare function loadSubcommand(name: string | undefined, home?: (env: NodeJS.ProcessEnv) => Home): Promise<SubcommandRunner | undefined>;
|
|
11
|
-
/** Run `argv[0]` when it names a subcommand and answer its exit code; anything else is not ours. */
|
|
2
|
+
export type { SubcommandRunner } from './core/cli-registry.ts';
|
|
3
|
+
export declare function loadSubcommand(name: string | undefined, home?: (env: NodeJS.ProcessEnv) => Home): Promise<import("./core/cli-registry.ts").SubcommandRunner | undefined>;
|
|
12
4
|
export declare function runSubcommand(argv: string[], env: NodeJS.ProcessEnv, home?: () => Home): Promise<number | undefined>;
|
|
13
5
|
/** Install process services before loading commands that read runner or removal registries. */
|
|
14
6
|
export declare function prepareCommandRuntime(command: string, argv?: readonly string[]): Promise<void>;
|