@hearsay-tools/squawk 0.18.0-pr3448.6045 → 0.18.0-pr3452.6067
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/artifacts/reports-index.d.ts +1 -1
- package/dist/artifacts/reports-index.js +3 -2
- package/dist/artifacts/reports-index.js.map +1 -1
- package/dist/automations/enabled.d.ts +2 -0
- package/dist/automations/enabled.js +6 -0
- package/dist/automations/enabled.js.map +1 -0
- package/dist/ci-wait/tool-catalog.js +2 -1
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +4 -4
- package/dist/delegation/routes.d.ts +62 -62
- package/dist/delegation/transport.d.ts +13 -13
- package/dist/home/recovery.d.ts +0 -1
- package/dist/home/recovery.js +0 -1
- package/dist/home/recovery.js.map +1 -1
- package/dist/project-migration/live.js +1 -1
- package/dist/project-migration/live.js.map +1 -1
- package/dist/runs/store.d.ts +6 -2
- package/dist/runs/store.js +2 -2
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/webhook.d.ts +1 -3
- package/dist/runs/webhook.js +2 -10
- package/dist/runs/webhook.js.map +1 -1
- package/dist/server/capabilities.js +2 -1
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/home-recovery-routes.js +2 -1
- package/dist/server/home-recovery-routes.js.map +1 -1
- package/dist/server/project-context.d.ts +9 -2
- package/dist/server/project-context.js +34 -2
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/reports-api.js +4 -3
- package/dist/server/reports-api.js.map +1 -1
- package/dist/server/reports-topic.d.ts +1 -1
- package/dist/server/reports-topic.js +2 -1
- package/dist/server/reports-topic.js.map +1 -1
- package/dist/server/server.d.ts +240 -240
- package/dist/server/server.js +2 -1
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run/input-delivery.d.ts +1 -1
- package/dist/workflows/run/input-delivery.js +3 -4
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/launch-context.js +3 -3
- package/dist/workflows/run/launch-context.js.map +1 -1
- package/dist/workspace/registry-entry.d.ts +4 -0
- package/dist/workspace/registry-entry.js +11 -0
- package/dist/workspace/registry-entry.js.map +1 -0
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-Dld5ms7x.js → activity-motion-uhQPLbuu.js} +1 -1
- package/web/dist/assets/activity-route-Dkulydc2.js +1 -0
- package/web/dist/assets/agent-accounts-BNlpWTOY.js +18 -0
- package/web/dist/assets/commit-diff-panel-C9GL2tao.js +1 -0
- package/web/dist/assets/diff-BbT6HX3u.js +3 -0
- package/web/dist/assets/{diff-view-DcvEkA3I.js → diff-view-oyOw4umg.js} +4 -4
- package/web/dist/assets/file-preview-BQ0R19La.js +2 -0
- package/web/dist/assets/git-toolbar-PeaVnT03.js +1 -0
- package/web/dist/assets/github-5L2qkK1k.js +1 -0
- package/web/dist/assets/global-activity-route-DLfuJ7Lw.js +1 -0
- package/web/dist/assets/index-CFbFtL5O.js +17 -0
- package/web/dist/assets/index-DI_O8V74.css +1 -0
- package/web/dist/assets/preview-pane-connected-ClnZeK7_.js +3 -0
- package/web/dist/assets/prompt-template-menu-D4-inlE4.js +1 -0
- package/web/dist/assets/reference-chip-Drpbf-MP.js +1 -0
- package/web/dist/assets/repo-git-C5kdJUtx.js +1 -0
- package/web/dist/assets/report-reader-C9f7Zevx.js +1 -0
- package/web/dist/assets/reports-DLozsIav.js +1 -0
- package/web/dist/assets/{run-header-BDtR-uVy.js → run-header-gKKxDTom.js} +2 -2
- package/web/dist/assets/skills-nbFjA9HV.js +1 -0
- package/web/dist/assets/{task-changes-NqJ_-tod.js → task-changes-DcgY25bB.js} +1 -1
- package/web/dist/assets/task-commits-amSX-bTC.js +1 -0
- package/web/dist/assets/task-files-BW4uOVGM.js +1 -0
- package/web/dist/assets/task-github-item-CG8dVePG.js +1 -0
- package/web/dist/assets/{task-thread-DkF28KyV.js → task-thread-BJRqzTFi.js} +7 -7
- package/web/dist/assets/{thread-state-C8XI1WNf.js → thread-state-CtFtvKUi.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-DWLpzA5t.js +1 -0
- package/web/dist/assets/workflows-DDM-LFxD.js +7 -0
- package/web/dist/index.html +6 -6
- package/dist/runs/live-tasks.d.ts +0 -10
- package/dist/runs/live-tasks.js +0 -33
- package/dist/runs/live-tasks.js.map +0 -1
- package/web/dist/assets/activity-route-CNZPeNfz.js +0 -1
- package/web/dist/assets/agent-accounts-B-Gpf8IN.js +0 -18
- package/web/dist/assets/commit-diff-panel-NClCG68F.js +0 -1
- package/web/dist/assets/control-locations-B88tMDqg.js +0 -1
- package/web/dist/assets/diff-nIehE-T6.js +0 -3
- package/web/dist/assets/file-preview-D5OEhi_p.js +0 -2
- package/web/dist/assets/git-toolbar-6nOTPb_C.js +0 -1
- package/web/dist/assets/github-kqE3kY6l.js +0 -1
- package/web/dist/assets/github-sidebar-model-DkUAF09l.js +0 -1
- package/web/dist/assets/global-activity-route-BExanylS.js +0 -1
- package/web/dist/assets/index-9YmaiQ1k.css +0 -1
- package/web/dist/assets/index-DBNT3CYH.js +0 -17
- package/web/dist/assets/preview-pane-connected-BN0BWrKD.js +0 -3
- package/web/dist/assets/repo-git-CPEbNCTy.js +0 -1
- package/web/dist/assets/report-reader-Ltc8JdIV.js +0 -1
- package/web/dist/assets/reports-DHuR8gwU.js +0 -1
- package/web/dist/assets/skills-DTowIB5z.js +0 -1
- package/web/dist/assets/task-commits-BbhrfhCT.js +0 -1
- package/web/dist/assets/task-files-n29-eIMD.js +0 -1
- package/web/dist/assets/task-github-item-BwS8ltjs.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-CY43kvaa.js +0 -1
- package/web/dist/assets/workflows-CWFMDlCn.js +0 -7
package/dist/server/server.d.ts
CHANGED
|
@@ -3036,12 +3036,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3036
3036
|
output: {
|
|
3037
3037
|
generation: string;
|
|
3038
3038
|
results: ({
|
|
3039
|
-
projectId: string;
|
|
3040
|
-
runId: string;
|
|
3041
|
-
type: "error" | "reset";
|
|
3042
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3043
|
-
error: string;
|
|
3044
|
-
} | {
|
|
3045
3039
|
projectId: string;
|
|
3046
3040
|
runId: string;
|
|
3047
3041
|
type: "batch";
|
|
@@ -3055,6 +3049,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3055
3049
|
cursor: string;
|
|
3056
3050
|
afterSeq: number;
|
|
3057
3051
|
hasMore: boolean;
|
|
3052
|
+
} | {
|
|
3053
|
+
projectId: string;
|
|
3054
|
+
runId: string;
|
|
3055
|
+
type: "error" | "reset";
|
|
3056
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3057
|
+
error: string;
|
|
3058
3058
|
})[];
|
|
3059
3059
|
};
|
|
3060
3060
|
outputFormat: "json";
|
|
@@ -3305,6 +3305,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3305
3305
|
};
|
|
3306
3306
|
};
|
|
3307
3307
|
};
|
|
3308
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3309
|
+
"/reports/state": {
|
|
3310
|
+
$get: {
|
|
3311
|
+
output: {
|
|
3312
|
+
error: string;
|
|
3313
|
+
};
|
|
3314
|
+
outputFormat: "json";
|
|
3315
|
+
status: 409;
|
|
3316
|
+
input: {};
|
|
3317
|
+
} | {
|
|
3318
|
+
output: {
|
|
3319
|
+
epoch: string;
|
|
3320
|
+
generation: number;
|
|
3321
|
+
metadataGeneration: number;
|
|
3322
|
+
};
|
|
3323
|
+
outputFormat: "json";
|
|
3324
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3325
|
+
input: {};
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
} & {
|
|
3329
|
+
"/reports": {
|
|
3330
|
+
$get: {
|
|
3331
|
+
output: {
|
|
3332
|
+
error: string;
|
|
3333
|
+
code?: "invalid_input" | undefined;
|
|
3334
|
+
};
|
|
3335
|
+
outputFormat: "json";
|
|
3336
|
+
status: 400;
|
|
3337
|
+
input: {
|
|
3338
|
+
query: {
|
|
3339
|
+
q?: string | undefined;
|
|
3340
|
+
before?: string | undefined;
|
|
3341
|
+
limit?: number | undefined;
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
} | {
|
|
3345
|
+
output: {
|
|
3346
|
+
error: string;
|
|
3347
|
+
};
|
|
3348
|
+
outputFormat: "json";
|
|
3349
|
+
status: 409;
|
|
3350
|
+
input: {
|
|
3351
|
+
query: {
|
|
3352
|
+
q?: string | undefined;
|
|
3353
|
+
before?: string | undefined;
|
|
3354
|
+
limit?: number | undefined;
|
|
3355
|
+
};
|
|
3356
|
+
};
|
|
3357
|
+
} | {
|
|
3358
|
+
output: {
|
|
3359
|
+
error: string;
|
|
3360
|
+
};
|
|
3361
|
+
outputFormat: "json";
|
|
3362
|
+
status: 400;
|
|
3363
|
+
input: {
|
|
3364
|
+
query: {
|
|
3365
|
+
q?: string | undefined;
|
|
3366
|
+
before?: string | undefined;
|
|
3367
|
+
limit?: number | undefined;
|
|
3368
|
+
};
|
|
3369
|
+
};
|
|
3370
|
+
} | {
|
|
3371
|
+
output: {
|
|
3372
|
+
reports: {
|
|
3373
|
+
id: string;
|
|
3374
|
+
runId: string;
|
|
3375
|
+
name: string;
|
|
3376
|
+
title: string;
|
|
3377
|
+
createdAt: string;
|
|
3378
|
+
size: number;
|
|
3379
|
+
taskTitle: string;
|
|
3380
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3381
|
+
}[];
|
|
3382
|
+
nextCursor: string | null;
|
|
3383
|
+
total: number;
|
|
3384
|
+
};
|
|
3385
|
+
outputFormat: "json";
|
|
3386
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3387
|
+
input: {
|
|
3388
|
+
query: {
|
|
3389
|
+
q?: string | undefined;
|
|
3390
|
+
before?: string | undefined;
|
|
3391
|
+
limit?: number | undefined;
|
|
3392
|
+
};
|
|
3393
|
+
};
|
|
3394
|
+
};
|
|
3395
|
+
};
|
|
3308
3396
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3309
3397
|
"/voice/decide": {
|
|
3310
3398
|
$post: {
|
|
@@ -3915,94 +4003,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3915
4003
|
};
|
|
3916
4004
|
};
|
|
3917
4005
|
};
|
|
3918
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3919
|
-
"/reports/state": {
|
|
3920
|
-
$get: {
|
|
3921
|
-
output: {
|
|
3922
|
-
error: string;
|
|
3923
|
-
};
|
|
3924
|
-
outputFormat: "json";
|
|
3925
|
-
status: 409;
|
|
3926
|
-
input: {};
|
|
3927
|
-
} | {
|
|
3928
|
-
output: {
|
|
3929
|
-
epoch: string;
|
|
3930
|
-
generation: number;
|
|
3931
|
-
metadataGeneration: number;
|
|
3932
|
-
};
|
|
3933
|
-
outputFormat: "json";
|
|
3934
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3935
|
-
input: {};
|
|
3936
|
-
};
|
|
3937
|
-
};
|
|
3938
|
-
} & {
|
|
3939
|
-
"/reports": {
|
|
3940
|
-
$get: {
|
|
3941
|
-
output: {
|
|
3942
|
-
error: string;
|
|
3943
|
-
code?: "invalid_input" | undefined;
|
|
3944
|
-
};
|
|
3945
|
-
outputFormat: "json";
|
|
3946
|
-
status: 400;
|
|
3947
|
-
input: {
|
|
3948
|
-
query: {
|
|
3949
|
-
q?: string | undefined;
|
|
3950
|
-
before?: string | undefined;
|
|
3951
|
-
limit?: number | undefined;
|
|
3952
|
-
};
|
|
3953
|
-
};
|
|
3954
|
-
} | {
|
|
3955
|
-
output: {
|
|
3956
|
-
error: string;
|
|
3957
|
-
};
|
|
3958
|
-
outputFormat: "json";
|
|
3959
|
-
status: 409;
|
|
3960
|
-
input: {
|
|
3961
|
-
query: {
|
|
3962
|
-
q?: string | undefined;
|
|
3963
|
-
before?: string | undefined;
|
|
3964
|
-
limit?: number | undefined;
|
|
3965
|
-
};
|
|
3966
|
-
};
|
|
3967
|
-
} | {
|
|
3968
|
-
output: {
|
|
3969
|
-
error: string;
|
|
3970
|
-
};
|
|
3971
|
-
outputFormat: "json";
|
|
3972
|
-
status: 400;
|
|
3973
|
-
input: {
|
|
3974
|
-
query: {
|
|
3975
|
-
q?: string | undefined;
|
|
3976
|
-
before?: string | undefined;
|
|
3977
|
-
limit?: number | undefined;
|
|
3978
|
-
};
|
|
3979
|
-
};
|
|
3980
|
-
} | {
|
|
3981
|
-
output: {
|
|
3982
|
-
reports: {
|
|
3983
|
-
id: string;
|
|
3984
|
-
runId: string;
|
|
3985
|
-
name: string;
|
|
3986
|
-
title: string;
|
|
3987
|
-
createdAt: string;
|
|
3988
|
-
size: number;
|
|
3989
|
-
taskTitle: string;
|
|
3990
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3991
|
-
}[];
|
|
3992
|
-
nextCursor: string | null;
|
|
3993
|
-
total: number;
|
|
3994
|
-
};
|
|
3995
|
-
outputFormat: "json";
|
|
3996
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3997
|
-
input: {
|
|
3998
|
-
query: {
|
|
3999
|
-
q?: string | undefined;
|
|
4000
|
-
before?: string | undefined;
|
|
4001
|
-
limit?: number | undefined;
|
|
4002
|
-
};
|
|
4003
|
-
};
|
|
4004
|
-
};
|
|
4005
|
-
};
|
|
4006
4006
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4007
4007
|
"/skills": {
|
|
4008
4008
|
$get: {
|
|
@@ -8734,35 +8734,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8734
8734
|
} & {
|
|
8735
8735
|
"/runs/:id/worker-destroy": {
|
|
8736
8736
|
$post: {
|
|
8737
|
-
output: {
|
|
8738
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8739
|
-
readonly error: string;
|
|
8740
|
-
readonly modelChoices?: {
|
|
8741
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8742
|
-
requestedModel: string;
|
|
8743
|
-
availableModels: {
|
|
8744
|
-
id: string;
|
|
8745
|
-
label: string;
|
|
8746
|
-
description: string;
|
|
8747
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8748
|
-
}[];
|
|
8749
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8750
|
-
} | undefined;
|
|
8751
|
-
};
|
|
8752
|
-
outputFormat: "json";
|
|
8753
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8754
|
-
input: {
|
|
8755
|
-
query: {
|
|
8756
|
-
[x: string]: string | string[];
|
|
8757
|
-
};
|
|
8758
|
-
} & {
|
|
8759
|
-
param: {
|
|
8760
|
-
id: string;
|
|
8761
|
-
};
|
|
8762
|
-
} & {
|
|
8763
|
-
json: Record<string, never>;
|
|
8764
|
-
};
|
|
8765
|
-
} | {
|
|
8766
8737
|
output: {
|
|
8767
8738
|
error: string;
|
|
8768
8739
|
code?: "invalid_input" | undefined;
|
|
@@ -8834,6 +8805,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8834
8805
|
} & {
|
|
8835
8806
|
json: Record<string, never>;
|
|
8836
8807
|
};
|
|
8808
|
+
} | {
|
|
8809
|
+
output: {
|
|
8810
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8811
|
+
readonly error: string;
|
|
8812
|
+
readonly modelChoices?: {
|
|
8813
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8814
|
+
requestedModel: string;
|
|
8815
|
+
availableModels: {
|
|
8816
|
+
id: string;
|
|
8817
|
+
label: string;
|
|
8818
|
+
description: string;
|
|
8819
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8820
|
+
}[];
|
|
8821
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8822
|
+
} | undefined;
|
|
8823
|
+
};
|
|
8824
|
+
outputFormat: "json";
|
|
8825
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8826
|
+
input: {
|
|
8827
|
+
query: {
|
|
8828
|
+
[x: string]: string | string[];
|
|
8829
|
+
};
|
|
8830
|
+
} & {
|
|
8831
|
+
param: {
|
|
8832
|
+
id: string;
|
|
8833
|
+
};
|
|
8834
|
+
} & {
|
|
8835
|
+
json: Record<string, never>;
|
|
8836
|
+
};
|
|
8837
8837
|
};
|
|
8838
8838
|
};
|
|
8839
8839
|
} & {
|
|
@@ -19182,6 +19182,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19182
19182
|
};
|
|
19183
19183
|
};
|
|
19184
19184
|
};
|
|
19185
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19186
|
+
"/reports/state": {
|
|
19187
|
+
$get: {
|
|
19188
|
+
output: {
|
|
19189
|
+
error: string;
|
|
19190
|
+
};
|
|
19191
|
+
outputFormat: "json";
|
|
19192
|
+
status: 409;
|
|
19193
|
+
input: {};
|
|
19194
|
+
} | {
|
|
19195
|
+
output: {
|
|
19196
|
+
epoch: string;
|
|
19197
|
+
generation: number;
|
|
19198
|
+
metadataGeneration: number;
|
|
19199
|
+
};
|
|
19200
|
+
outputFormat: "json";
|
|
19201
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19202
|
+
input: {};
|
|
19203
|
+
};
|
|
19204
|
+
};
|
|
19205
|
+
} & {
|
|
19206
|
+
"/reports": {
|
|
19207
|
+
$get: {
|
|
19208
|
+
output: {
|
|
19209
|
+
error: string;
|
|
19210
|
+
code?: "invalid_input" | undefined;
|
|
19211
|
+
};
|
|
19212
|
+
outputFormat: "json";
|
|
19213
|
+
status: 400;
|
|
19214
|
+
input: {
|
|
19215
|
+
query: {
|
|
19216
|
+
q?: string | undefined;
|
|
19217
|
+
before?: string | undefined;
|
|
19218
|
+
limit?: number | undefined;
|
|
19219
|
+
};
|
|
19220
|
+
};
|
|
19221
|
+
} | {
|
|
19222
|
+
output: {
|
|
19223
|
+
error: string;
|
|
19224
|
+
};
|
|
19225
|
+
outputFormat: "json";
|
|
19226
|
+
status: 409;
|
|
19227
|
+
input: {
|
|
19228
|
+
query: {
|
|
19229
|
+
q?: string | undefined;
|
|
19230
|
+
before?: string | undefined;
|
|
19231
|
+
limit?: number | undefined;
|
|
19232
|
+
};
|
|
19233
|
+
};
|
|
19234
|
+
} | {
|
|
19235
|
+
output: {
|
|
19236
|
+
error: string;
|
|
19237
|
+
};
|
|
19238
|
+
outputFormat: "json";
|
|
19239
|
+
status: 400;
|
|
19240
|
+
input: {
|
|
19241
|
+
query: {
|
|
19242
|
+
q?: string | undefined;
|
|
19243
|
+
before?: string | undefined;
|
|
19244
|
+
limit?: number | undefined;
|
|
19245
|
+
};
|
|
19246
|
+
};
|
|
19247
|
+
} | {
|
|
19248
|
+
output: {
|
|
19249
|
+
reports: {
|
|
19250
|
+
id: string;
|
|
19251
|
+
runId: string;
|
|
19252
|
+
name: string;
|
|
19253
|
+
title: string;
|
|
19254
|
+
createdAt: string;
|
|
19255
|
+
size: number;
|
|
19256
|
+
taskTitle: string;
|
|
19257
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19258
|
+
}[];
|
|
19259
|
+
nextCursor: string | null;
|
|
19260
|
+
total: number;
|
|
19261
|
+
};
|
|
19262
|
+
outputFormat: "json";
|
|
19263
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19264
|
+
input: {
|
|
19265
|
+
query: {
|
|
19266
|
+
q?: string | undefined;
|
|
19267
|
+
before?: string | undefined;
|
|
19268
|
+
limit?: number | undefined;
|
|
19269
|
+
};
|
|
19270
|
+
};
|
|
19271
|
+
};
|
|
19272
|
+
};
|
|
19185
19273
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19186
19274
|
"/voice/decide": {
|
|
19187
19275
|
$post: {
|
|
@@ -19792,94 +19880,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19792
19880
|
};
|
|
19793
19881
|
};
|
|
19794
19882
|
};
|
|
19795
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19796
|
-
"/reports/state": {
|
|
19797
|
-
$get: {
|
|
19798
|
-
output: {
|
|
19799
|
-
error: string;
|
|
19800
|
-
};
|
|
19801
|
-
outputFormat: "json";
|
|
19802
|
-
status: 409;
|
|
19803
|
-
input: {};
|
|
19804
|
-
} | {
|
|
19805
|
-
output: {
|
|
19806
|
-
epoch: string;
|
|
19807
|
-
generation: number;
|
|
19808
|
-
metadataGeneration: number;
|
|
19809
|
-
};
|
|
19810
|
-
outputFormat: "json";
|
|
19811
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19812
|
-
input: {};
|
|
19813
|
-
};
|
|
19814
|
-
};
|
|
19815
|
-
} & {
|
|
19816
|
-
"/reports": {
|
|
19817
|
-
$get: {
|
|
19818
|
-
output: {
|
|
19819
|
-
error: string;
|
|
19820
|
-
code?: "invalid_input" | undefined;
|
|
19821
|
-
};
|
|
19822
|
-
outputFormat: "json";
|
|
19823
|
-
status: 400;
|
|
19824
|
-
input: {
|
|
19825
|
-
query: {
|
|
19826
|
-
q?: string | undefined;
|
|
19827
|
-
before?: string | undefined;
|
|
19828
|
-
limit?: number | undefined;
|
|
19829
|
-
};
|
|
19830
|
-
};
|
|
19831
|
-
} | {
|
|
19832
|
-
output: {
|
|
19833
|
-
error: string;
|
|
19834
|
-
};
|
|
19835
|
-
outputFormat: "json";
|
|
19836
|
-
status: 409;
|
|
19837
|
-
input: {
|
|
19838
|
-
query: {
|
|
19839
|
-
q?: string | undefined;
|
|
19840
|
-
before?: string | undefined;
|
|
19841
|
-
limit?: number | undefined;
|
|
19842
|
-
};
|
|
19843
|
-
};
|
|
19844
|
-
} | {
|
|
19845
|
-
output: {
|
|
19846
|
-
error: string;
|
|
19847
|
-
};
|
|
19848
|
-
outputFormat: "json";
|
|
19849
|
-
status: 400;
|
|
19850
|
-
input: {
|
|
19851
|
-
query: {
|
|
19852
|
-
q?: string | undefined;
|
|
19853
|
-
before?: string | undefined;
|
|
19854
|
-
limit?: number | undefined;
|
|
19855
|
-
};
|
|
19856
|
-
};
|
|
19857
|
-
} | {
|
|
19858
|
-
output: {
|
|
19859
|
-
reports: {
|
|
19860
|
-
id: string;
|
|
19861
|
-
runId: string;
|
|
19862
|
-
name: string;
|
|
19863
|
-
title: string;
|
|
19864
|
-
createdAt: string;
|
|
19865
|
-
size: number;
|
|
19866
|
-
taskTitle: string;
|
|
19867
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19868
|
-
}[];
|
|
19869
|
-
nextCursor: string | null;
|
|
19870
|
-
total: number;
|
|
19871
|
-
};
|
|
19872
|
-
outputFormat: "json";
|
|
19873
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19874
|
-
input: {
|
|
19875
|
-
query: {
|
|
19876
|
-
q?: string | undefined;
|
|
19877
|
-
before?: string | undefined;
|
|
19878
|
-
limit?: number | undefined;
|
|
19879
|
-
};
|
|
19880
|
-
};
|
|
19881
|
-
};
|
|
19882
|
-
};
|
|
19883
19883
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19884
19884
|
"/skills": {
|
|
19885
19885
|
$get: {
|
|
@@ -24611,35 +24611,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24611
24611
|
} & {
|
|
24612
24612
|
"/runs/:id/worker-destroy": {
|
|
24613
24613
|
$post: {
|
|
24614
|
-
output: {
|
|
24615
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24616
|
-
readonly error: string;
|
|
24617
|
-
readonly modelChoices?: {
|
|
24618
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24619
|
-
requestedModel: string;
|
|
24620
|
-
availableModels: {
|
|
24621
|
-
id: string;
|
|
24622
|
-
label: string;
|
|
24623
|
-
description: string;
|
|
24624
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24625
|
-
}[];
|
|
24626
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24627
|
-
} | undefined;
|
|
24628
|
-
};
|
|
24629
|
-
outputFormat: "json";
|
|
24630
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
24631
|
-
input: {
|
|
24632
|
-
query: {
|
|
24633
|
-
[x: string]: string | string[];
|
|
24634
|
-
};
|
|
24635
|
-
} & {
|
|
24636
|
-
param: {
|
|
24637
|
-
id: string;
|
|
24638
|
-
};
|
|
24639
|
-
} & {
|
|
24640
|
-
json: Record<string, never>;
|
|
24641
|
-
};
|
|
24642
|
-
} | {
|
|
24643
24614
|
output: {
|
|
24644
24615
|
error: string;
|
|
24645
24616
|
code?: "invalid_input" | undefined;
|
|
@@ -24711,6 +24682,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24711
24682
|
} & {
|
|
24712
24683
|
json: Record<string, never>;
|
|
24713
24684
|
};
|
|
24685
|
+
} | {
|
|
24686
|
+
output: {
|
|
24687
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24688
|
+
readonly error: string;
|
|
24689
|
+
readonly modelChoices?: {
|
|
24690
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24691
|
+
requestedModel: string;
|
|
24692
|
+
availableModels: {
|
|
24693
|
+
id: string;
|
|
24694
|
+
label: string;
|
|
24695
|
+
description: string;
|
|
24696
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24697
|
+
}[];
|
|
24698
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24699
|
+
} | undefined;
|
|
24700
|
+
};
|
|
24701
|
+
outputFormat: "json";
|
|
24702
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24703
|
+
input: {
|
|
24704
|
+
query: {
|
|
24705
|
+
[x: string]: string | string[];
|
|
24706
|
+
};
|
|
24707
|
+
} & {
|
|
24708
|
+
param: {
|
|
24709
|
+
id: string;
|
|
24710
|
+
};
|
|
24711
|
+
} & {
|
|
24712
|
+
json: Record<string, never>;
|
|
24713
|
+
};
|
|
24714
24714
|
};
|
|
24715
24715
|
};
|
|
24716
24716
|
} & {
|
package/dist/server/server.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { reportsIndex } from '../artifacts/reports-index.js';
|
|
1
2
|
import { runCheckout, preparePublishCheckout, reclaimCheckoutError } from './run-checkout.js';
|
|
2
3
|
import { adoptFallbackControl, protectFallbackRun, runArtifactDirectory } from './project-run-files.js';
|
|
3
4
|
import { deleteSavedWorkflow } from './workflow-files.js';
|
|
@@ -4746,7 +4747,7 @@ export function startServer(deps, port, listener) {
|
|
|
4746
4747
|
const lifecycle = closingSignal(server);
|
|
4747
4748
|
const startBackgroundServices = () => {
|
|
4748
4749
|
if (!deps.store.unavailable)
|
|
4749
|
-
deps.store.
|
|
4750
|
+
reportsIndex(deps.store).start();
|
|
4750
4751
|
void visibleProjects().then(async (projects) => {
|
|
4751
4752
|
const all = projects.some((project) => project.root === deps.repoRoot)
|
|
4752
4753
|
? projects : [{ id: deps.bootProjectId ?? 'default', root: deps.repoRoot, status: 'ok' }, ...projects];
|