@hearsay-tools/squawk 0.18.0-pr4267.8233 → 0.18.0-pr4268.8245.2
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/README.md +2 -2
- package/dist/automations/tools.d.ts +8 -8
- package/dist/ci-wait/controller.d.ts +9 -7
- package/dist/ci-wait/controller.js +6 -2
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/core/agent-env.js +1 -0
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/native-mock.d.ts +6 -0
- package/dist/core/native-mock.js +26 -0
- package/dist/core/native-mock.js.map +1 -0
- package/dist/core/runner-definition.d.ts +6 -1
- package/dist/core/runner-definition.js.map +1 -1
- package/dist/core/skill-probe.js +2 -2
- package/dist/core/skill-probe.js.map +1 -1
- package/dist/delegation/routes.d.ts +75 -75
- package/dist/delegation/transport.d.ts +79 -79
- package/dist/pack-check.d.ts +3 -1
- package/dist/pack-check.js +7 -1
- package/dist/pack-check.js.map +1 -1
- package/dist/plugin/runner-kit.d.ts +1 -0
- package/dist/plugin/runner-kit.js +1 -0
- package/dist/plugin/runner-kit.js.map +1 -1
- package/dist/plugin/runtime.d.ts +1 -0
- package/dist/plugin/runtime.js +1 -0
- package/dist/plugin/runtime.js.map +1 -1
- package/dist/runs/run-decode.d.ts +72 -72
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1454 -1454
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/package.json +5 -5
- package/scripts/check-pack.mjs +7 -4
- package/scripts/copy-runner-assets.d.mts +2 -0
- package/scripts/copy-runner-assets.mjs +69 -0
- package/web/dist/assets/accounts-section-DsnFNCVP.js +1 -0
- package/web/dist/assets/activity-motion-CpU6YFPU.js +2 -0
- package/web/dist/assets/{activity-route-D84XrmQO.js → activity-route-BtxcuDc0.js} +1 -1
- package/web/dist/assets/{agent-config-section-Btyd_I6J.js → agent-config-section-BFwA04cy.js} +2 -2
- package/web/dist/assets/agent-defaults-section-D6IPIUea.js +1 -0
- package/web/dist/assets/appearance-CozDBhRc.js +1 -0
- package/web/dist/assets/{archive-on-merge-field-BMxl0_RG.js → archive-on-merge-field-Dx8afb0D.js} +1 -1
- package/web/dist/assets/attention-VcsXbAZz.js +1 -0
- package/web/dist/assets/automations-route-Ry60a8sC.js +1 -0
- package/web/dist/assets/commit-diff-panel-pgCLyrNX.js +1 -0
- package/web/dist/assets/{diff-K_Xswloe.js → diff-CnAlvkju.js} +2 -2
- package/web/dist/assets/{diff-view-DQOZSURG.js → diff-view-IQvUTtRr.js} +1 -1
- package/web/dist/assets/file-preview-CZjDTemy.js +2 -0
- package/web/dist/assets/folder-browser-DJd_sQFq.js +1 -0
- package/web/dist/assets/{git-toolbar-DfFwDI49.js → git-toolbar-BQ66aD9z.js} +1 -1
- package/web/dist/assets/github-7UFDrLUe.js +1 -0
- package/web/dist/assets/global-activity-route-Dr3AS_BP.js +1 -0
- package/web/dist/assets/index-C5aVDcjv.js +21 -0
- package/web/dist/assets/label-HRVFTN4V.js +1 -0
- package/web/dist/assets/live-reads-Djkq38NT.js +1 -0
- package/web/dist/assets/{markdown-POxkTBG0.js → markdown-DTnUu-dT.js} +1 -1
- package/web/dist/assets/{notifications-section-B-lcEfAs.js → notifications-section-BVUoGPFj.js} +1 -1
- package/web/dist/assets/{open-in-menu-szYIrLlc.js → open-in-menu-BeAj_aq3.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DeAYL6ND.js → preview-pane-connected-B4Zu-lJi.js} +1 -1
- package/web/dist/assets/project-location-DJEH4PmN.js +1 -0
- package/web/dist/assets/{project-router-BYHPCHz0.js → project-router-C6zhlnwO.js} +1 -1
- package/web/dist/assets/{project-scope-context-C0FJXpqD.js → project-scope-context-d3J3hWPR.js} +1 -1
- package/web/dist/assets/projects-section-CIDk8n0P.js +1 -0
- package/web/dist/assets/prompt-templates-section-BE0EMMl2.js +1 -0
- package/web/dist/assets/queries-dnpdX9VT.js +1 -0
- package/web/dist/assets/{reference-chip-jyOBNGWj.js → reference-chip-DHWnJcWz.js} +1 -1
- package/web/dist/assets/remote-settings-notice-BCWXxM6g.js +1 -0
- package/web/dist/assets/repo-git-DwrG03Ww.js +1 -0
- package/web/dist/assets/report-reader-Mew6trDs.js +1 -0
- package/web/dist/assets/reports-XoTtaTdw.js +1 -0
- package/web/dist/assets/{resources-section-Dzqw_Eh_.js → resources-section-CKfUOEMU.js} +1 -1
- package/web/dist/assets/run-header-Brb5L23m.js +2 -0
- package/web/dist/assets/settings-agent-picker-kO11YmnR.js +1 -0
- package/web/dist/assets/settings-shell-C8CoTe7B.js +1 -0
- package/web/dist/assets/sidebar-section-CrCVthxb.js +1 -0
- package/web/dist/assets/{skills-Df3f4tt8.js → skills-BBouXQ5m.js} +1 -1
- package/web/dist/assets/{tab-link-Crlr5m1D.js → tab-link-Cq8g7cFx.js} +1 -1
- package/web/dist/assets/task-changes-CKHQh1Rt.js +1 -0
- package/web/dist/assets/task-commits-CyY7us4B.js +1 -0
- package/web/dist/assets/{task-files-YaD4DU-8.js → task-files-UQO8pCfL.js} +1 -1
- package/web/dist/assets/task-github-item-F6d6OnYG.js +1 -0
- package/web/dist/assets/{task-groups-CZPi6W0m.js → task-groups-BF7_ZZTh.js} +1 -1
- package/web/dist/assets/task-thread-BOLKtrKe.js +9 -0
- package/web/dist/assets/{tasks-table-Cim2-KSS.js → tasks-table-CzLkD-kr.js} +1 -1
- package/web/dist/assets/{thread-state-C3QKqNMn.js → thread-state-DZGF-q3x.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-DSzi-s1y.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-waSOS4EO.js → useInfiniteQuery-qJcgwcf9.js} +1 -1
- package/web/dist/assets/useQuery-CkUPLiaa.js +1 -0
- package/web/dist/assets/workflows-DQllQH0_.js +7 -0
- package/web/dist/assets/workspace-tools-CpbyIxhx.js +1 -0
- package/web/dist/assets/{worktrees-section-Dhlt22RI.js → worktrees-section-Dce9owPY.js} +4 -4
- package/web/dist/index.html +14 -14
- package/web/dist/assets/accounts-section-DpX5vTr7.js +0 -1
- package/web/dist/assets/activity-motion-B7vHpK-u.js +0 -2
- package/web/dist/assets/agent-defaults-section-D42khLKT.js +0 -1
- package/web/dist/assets/appearance-BdWvRErI.js +0 -1
- package/web/dist/assets/attention-BiqSbE32.js +0 -1
- package/web/dist/assets/automations-route-CVK-f13I.js +0 -1
- package/web/dist/assets/commit-diff-panel-DEgRHEFl.js +0 -1
- package/web/dist/assets/file-preview-PwiOYFhV.js +0 -2
- package/web/dist/assets/folder-browser-vE5IBaDD.js +0 -1
- package/web/dist/assets/github-DHOg6-co.js +0 -1
- package/web/dist/assets/global-activity-route-Bx6y-b0h.js +0 -1
- package/web/dist/assets/index-Br3WCnOm.js +0 -21
- package/web/dist/assets/label-uUv3KkFX.js +0 -1
- package/web/dist/assets/project-location-D5yAc-_A.js +0 -1
- package/web/dist/assets/projects-section-B1MB9FoT.js +0 -1
- package/web/dist/assets/prompt-templates-section-C6NTpSpA.js +0 -1
- package/web/dist/assets/queries-CK9ZDDfL.js +0 -1
- package/web/dist/assets/remote-settings-notice-CrHduqnC.js +0 -1
- package/web/dist/assets/repo-git-KGxu_ZKb.js +0 -1
- package/web/dist/assets/report-reader-CnXmsiMI.js +0 -1
- package/web/dist/assets/reports-CzsCz6ZC.js +0 -1
- package/web/dist/assets/run-header-BcuJbBox.js +0 -2
- package/web/dist/assets/settings-agent-picker-D9OiVDV3.js +0 -1
- package/web/dist/assets/settings-shell-D9LDT4iY.js +0 -1
- package/web/dist/assets/sidebar-section-BFcDThEN.js +0 -1
- package/web/dist/assets/task-changes-B45GjG50.js +0 -1
- package/web/dist/assets/task-commits-C6_f5ewJ.js +0 -1
- package/web/dist/assets/task-github-item-D1QAOVjQ.js +0 -1
- package/web/dist/assets/task-thread-BoOE1dvx.js +0 -9
- package/web/dist/assets/use-hand-to-agent-state-DGAvwfdj.js +0 -1
- package/web/dist/assets/useQuery-9BEU-yko.js +0 -1
- package/web/dist/assets/workflows-B2pwgXHF.js +0 -7
- package/web/dist/assets/workspace-tools-DfCerd4L.js +0 -1
- package/web/dist/assets/ws-DQjRhoew.js +0 -1
|
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
+
output: {
|
|
6
|
+
error: string;
|
|
7
|
+
code?: "invalid_input" | undefined;
|
|
8
|
+
};
|
|
9
|
+
outputFormat: "json";
|
|
10
|
+
status: 400;
|
|
11
|
+
input: {
|
|
12
|
+
query: {
|
|
13
|
+
offset?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
5
17
|
output: {
|
|
6
18
|
workers: {
|
|
7
19
|
workerId: string;
|
|
@@ -54,24 +66,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
54
66
|
offset?: string | undefined;
|
|
55
67
|
};
|
|
56
68
|
};
|
|
57
|
-
} | {
|
|
58
|
-
output: {
|
|
59
|
-
error: string;
|
|
60
|
-
code?: "invalid_input" | undefined;
|
|
61
|
-
};
|
|
62
|
-
outputFormat: "json";
|
|
63
|
-
status: 400;
|
|
64
|
-
input: {
|
|
65
|
-
query: {
|
|
66
|
-
offset?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & {
|
|
72
72
|
"/discover": {
|
|
73
73
|
$post: {
|
|
74
74
|
output: {
|
|
75
|
+
scope: "host-default-account";
|
|
76
|
+
runners: {
|
|
77
|
+
requiresAccountHome?: boolean | undefined;
|
|
78
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
79
|
+
enabled?: boolean | undefined;
|
|
80
|
+
hint?: string | undefined;
|
|
81
|
+
authFailureId?: string | undefined;
|
|
82
|
+
runner: string;
|
|
83
|
+
}[];
|
|
84
|
+
} | {
|
|
75
85
|
runner: string;
|
|
76
86
|
models: {
|
|
77
87
|
id: string;
|
|
@@ -82,16 +92,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
82
92
|
source: "cache" | "live" | "unavailable";
|
|
83
93
|
stale: boolean;
|
|
84
94
|
reason?: string | undefined;
|
|
85
|
-
} | {
|
|
86
|
-
scope: "host-default-account";
|
|
87
|
-
runners: {
|
|
88
|
-
requiresAccountHome?: boolean | undefined;
|
|
89
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
90
|
-
enabled?: boolean | undefined;
|
|
91
|
-
hint?: string | undefined;
|
|
92
|
-
authFailureId?: string | undefined;
|
|
93
|
-
runner: string;
|
|
94
|
-
}[];
|
|
95
95
|
} | {
|
|
96
96
|
tasks: {
|
|
97
97
|
id: string;
|
|
@@ -222,13 +222,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
222
222
|
status: 200;
|
|
223
223
|
input: {
|
|
224
224
|
json: {
|
|
225
|
-
workerIds: string[];
|
|
226
|
-
timeoutSeconds?: number | undefined;
|
|
227
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
228
|
-
} | {
|
|
229
225
|
requestIds: string[];
|
|
230
226
|
mode?: "all" | "any" | "one" | undefined;
|
|
231
227
|
timeoutSeconds?: number | undefined;
|
|
228
|
+
} | {
|
|
229
|
+
workerIds: string[];
|
|
230
|
+
timeoutSeconds?: number | undefined;
|
|
231
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
232
232
|
} | {
|
|
233
233
|
peerIds: string[];
|
|
234
234
|
timeoutSeconds?: number | undefined;
|
|
@@ -652,6 +652,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
652
652
|
} & {
|
|
653
653
|
"/:workerId": {
|
|
654
654
|
$get: {
|
|
655
|
+
output: {
|
|
656
|
+
error: string;
|
|
657
|
+
code?: "invalid_input" | undefined;
|
|
658
|
+
};
|
|
659
|
+
outputFormat: "json";
|
|
660
|
+
status: 400;
|
|
661
|
+
input: {
|
|
662
|
+
param: {
|
|
663
|
+
workerId: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
655
667
|
output: {
|
|
656
668
|
workerId: string;
|
|
657
669
|
settled: boolean;
|
|
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
776
788
|
workerId: string;
|
|
777
789
|
};
|
|
778
790
|
};
|
|
779
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
780
796
|
output: {
|
|
781
797
|
error: string;
|
|
782
798
|
code?: "invalid_input" | undefined;
|
|
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
787
803
|
param: {
|
|
788
804
|
workerId: string;
|
|
789
805
|
};
|
|
806
|
+
} & {
|
|
807
|
+
json: Record<string, never>;
|
|
790
808
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
809
|
+
} | {
|
|
796
810
|
output: {
|
|
797
811
|
workerId: string;
|
|
798
812
|
parentRunId: string;
|
|
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
915
929
|
} & {
|
|
916
930
|
json: Record<string, never>;
|
|
917
931
|
};
|
|
918
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
919
937
|
output: {
|
|
920
938
|
error: string;
|
|
921
939
|
code?: "invalid_input" | undefined;
|
|
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
927
945
|
workerId: string;
|
|
928
946
|
};
|
|
929
947
|
} & {
|
|
930
|
-
json:
|
|
948
|
+
json: {
|
|
949
|
+
text: string;
|
|
950
|
+
};
|
|
931
951
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
952
|
+
} | {
|
|
937
953
|
output: {
|
|
938
954
|
workerId: string;
|
|
939
955
|
state: "delivered" | "queued";
|
|
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
949
965
|
text: string;
|
|
950
966
|
};
|
|
951
967
|
};
|
|
952
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
953
973
|
output: {
|
|
954
974
|
error: string;
|
|
955
975
|
code?: "invalid_input" | undefined;
|
|
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
961
981
|
workerId: string;
|
|
962
982
|
};
|
|
963
983
|
} & {
|
|
964
|
-
json:
|
|
965
|
-
text: string;
|
|
966
|
-
};
|
|
984
|
+
json: Record<string, never>;
|
|
967
985
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
986
|
+
} | {
|
|
973
987
|
output: {
|
|
974
988
|
workerId: string;
|
|
975
989
|
state: "stopping" | "terminated";
|
|
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
997
|
} & {
|
|
984
998
|
json: Record<string, never>;
|
|
985
999
|
};
|
|
986
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
987
1005
|
output: {
|
|
988
1006
|
error: string;
|
|
989
1007
|
code?: "invalid_input" | undefined;
|
|
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
995
1013
|
workerId: string;
|
|
996
1014
|
};
|
|
997
1015
|
} & {
|
|
998
|
-
json:
|
|
1016
|
+
json: {
|
|
1017
|
+
discardWork?: true | undefined;
|
|
1018
|
+
};
|
|
999
1019
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
1020
|
+
} | {
|
|
1005
1021
|
output: {
|
|
1006
1022
|
workerId: string;
|
|
1007
1023
|
state: "complete" | "incomplete";
|
|
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1030
1046
|
discardWork?: true | undefined;
|
|
1031
1047
|
};
|
|
1032
1048
|
};
|
|
1033
|
-
} | {
|
|
1034
|
-
output: {
|
|
1035
|
-
error: string;
|
|
1036
|
-
code?: "invalid_input" | undefined;
|
|
1037
|
-
};
|
|
1038
|
-
outputFormat: "json";
|
|
1039
|
-
status: 400;
|
|
1040
|
-
input: {
|
|
1041
|
-
param: {
|
|
1042
|
-
workerId: string;
|
|
1043
|
-
};
|
|
1044
|
-
} & {
|
|
1045
|
-
json: {
|
|
1046
|
-
discardWork?: true | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
1049
|
} | {
|
|
1050
1050
|
output: {
|
|
1051
1051
|
workerId: string;
|
|
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
diff: string;
|
|
1087
|
-
truncated: boolean;
|
|
1084
|
+
error: string;
|
|
1085
|
+
code?: "invalid_input" | undefined;
|
|
1088
1086
|
};
|
|
1089
1087
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1088
|
+
status: 400;
|
|
1091
1089
|
input: {
|
|
1092
1090
|
param: {
|
|
1093
1091
|
workerId: string;
|
|
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1095
1093
|
};
|
|
1096
1094
|
} | {
|
|
1097
1095
|
output: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
workerId: string;
|
|
1097
|
+
baselineSha: string;
|
|
1098
|
+
diff: string;
|
|
1099
|
+
truncated: boolean;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 200;
|
|
1103
1103
|
input: {
|
|
1104
1104
|
param: {
|
|
1105
1105
|
workerId: string;
|
package/dist/pack-check.d.ts
CHANGED
|
@@ -20,5 +20,7 @@ export declare const PLUGIN_ENTRY_FILES: readonly string[];
|
|
|
20
20
|
* - every file of `PLUGIN_ENTRY_FILES`;
|
|
21
21
|
* - `dist/runners/<id>/index.js` for each id of `bundledRunnerIds`: boot loads each bundled
|
|
22
22
|
* runner from that entry, so a runner without one is missing from the cockpit.
|
|
23
|
+
* And (spec 2026-11-25-self-contained-runner-folders, Decision 3):
|
|
24
|
+
* - every copied runner `.mjs` asset in `runnerAssetFiles` (`dist/runners/<id>/...`).
|
|
23
25
|
*/
|
|
24
|
-
export declare function findPackGaps(packedFiles: readonly string[], bundledRunnerIds: readonly string[]): string[];
|
|
26
|
+
export declare function findPackGaps(packedFiles: readonly string[], bundledRunnerIds: readonly string[], runnerAssetFiles?: readonly string[]): string[];
|
package/dist/pack-check.js
CHANGED
|
@@ -26,8 +26,10 @@ export const PLUGIN_ENTRY_FILES = [
|
|
|
26
26
|
* - every file of `PLUGIN_ENTRY_FILES`;
|
|
27
27
|
* - `dist/runners/<id>/index.js` for each id of `bundledRunnerIds`: boot loads each bundled
|
|
28
28
|
* runner from that entry, so a runner without one is missing from the cockpit.
|
|
29
|
+
* And (spec 2026-11-25-self-contained-runner-folders, Decision 3):
|
|
30
|
+
* - every copied runner `.mjs` asset in `runnerAssetFiles` (`dist/runners/<id>/...`).
|
|
29
31
|
*/
|
|
30
|
-
export function findPackGaps(packedFiles, bundledRunnerIds) {
|
|
32
|
+
export function findPackGaps(packedFiles, bundledRunnerIds, runnerAssetFiles = []) {
|
|
31
33
|
const gaps = [];
|
|
32
34
|
if (!packedFiles.includes('web/dist/index.html')) {
|
|
33
35
|
gaps.push('web/dist/index.html is missing — the tarball would ship no UI shell (run `npm run build:web`)');
|
|
@@ -46,6 +48,10 @@ export function findPackGaps(packedFiles, bundledRunnerIds) {
|
|
|
46
48
|
if (!packedFiles.includes(entry))
|
|
47
49
|
gaps.push(`${entry} is missing — boot would not load the ${id} runner (run \`npm run build\`)`);
|
|
48
50
|
}
|
|
51
|
+
for (const asset of runnerAssetFiles) {
|
|
52
|
+
if (!packedFiles.includes(asset))
|
|
53
|
+
gaps.push(`${asset} is missing — runner asset was not copied into dist/ (run \`npm run build\`)`);
|
|
54
|
+
}
|
|
49
55
|
return gaps;
|
|
50
56
|
}
|
|
51
57
|
//# sourceMappingURL=pack-check.js.map
|
package/dist/pack-check.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-check.js","sourceRoot":"","sources":["../src/pack-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;8FAC8F;AAC9F,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,sBAAsB;IACtB,wBAAwB;IACxB,+BAA+B;IAC/B,4BAA4B;IAC5B,uBAAuB;CACxB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"pack-check.js","sourceRoot":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AAC;IACD,KAAK,MAAM,KAAK,IAAI,gBAAgB,EAAE,CAAC;QACrC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,8EAA8E,CAAC,CAAC;IACtI,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* storage, or Pi RPC code.
|
|
8
8
|
* Unstable: it may change in any release until Squawk installs plugins from npm or git.
|
|
9
9
|
*/
|
|
10
|
+
export { z } from 'zod';
|
|
10
11
|
export { defineRunner } from '../core/runner-definition.ts';
|
|
11
12
|
export type { RunnerAccountsData, RunnerBrowserSignIn, RunnerCli, RunnerConfigFiles, RunnerDetection, RunnerDisplay, RunnerEnv, RunnerLoginData, RunnerLoginStatus, RunnerMock, RunnerModelData, } from '../core/runner-definition.ts';
|
|
12
13
|
export type { RunnerFacts } from '../core/runner-facts.ts';
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Unstable: it may change in any release until Squawk installs plugins from npm or git.
|
|
9
9
|
*/
|
|
10
10
|
// Runner definition and adapter contract.
|
|
11
|
+
export { z } from 'zod';
|
|
11
12
|
export { defineRunner } from '../core/runner-definition.js';
|
|
12
13
|
export { SQUAWK_SIDE_SPEC_SUPPORT } from '../core/agent-runner-values.js';
|
|
13
14
|
// Environment and paths needed by definitions and metadata.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner-kit.js","sourceRoot":"","sources":["../../src/plugin/runner-kit.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,0CAA0C;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAU5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,4DAA4D;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoB1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAKxE,+CAA+C;AAC/C,OAAO,EACL,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,6BAA6B,EAC1G,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"runner-kit.js","sourceRoot":"","sources":["../../src/plugin/runner-kit.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,0CAA0C;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAU5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,4DAA4D;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoB1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAKxE,+CAA+C;AAC/C,OAAO,EACL,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,6BAA6B,EAC1G,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
|
package/dist/plugin/runtime.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { costWeightedTokens } from '../core/usage.ts';
|
|
|
27
27
|
export { squawkToolEnvNames, squawkToolNames } from '../ci-wait/tool-names.ts';
|
|
28
28
|
export { claudeSkillContent, openingContent, openingInput, skillOf, slashSkillPrompt, validSkillMessage } from '../core/skill-trigger.ts';
|
|
29
29
|
export { skillLines, skillOutput, skillProbe } from '../core/skill-probe.ts';
|
|
30
|
+
export { nativeMockPath } from '../core/native-mock.ts';
|
|
30
31
|
export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.ts';
|
|
31
32
|
export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.ts';
|
|
32
33
|
export { spawnModelProbe } from '../core/model-probe-spawn.ts';
|
package/dist/plugin/runtime.js
CHANGED
|
@@ -27,6 +27,7 @@ export { costWeightedTokens } from '../core/usage.js';
|
|
|
27
27
|
export { squawkToolEnvNames, squawkToolNames } from '../ci-wait/tool-names.js';
|
|
28
28
|
export { claudeSkillContent, openingContent, openingInput, skillOf, slashSkillPrompt, validSkillMessage } from '../core/skill-trigger.js';
|
|
29
29
|
export { skillLines, skillOutput, skillProbe } from '../core/skill-probe.js';
|
|
30
|
+
export { nativeMockPath } from '../core/native-mock.js';
|
|
30
31
|
export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.js';
|
|
31
32
|
export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.js';
|
|
32
33
|
export { spawnModelProbe } from '../core/model-probe-spawn.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/plugin/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iCAAiC,EAAE,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAC7F,cAAc,EAAE,gBAAgB,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,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M,qCAAqC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC"}
|
|
@@ -2227,6 +2227,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2227
2227
|
deadline: string;
|
|
2228
2228
|
seconds: number;
|
|
2229
2229
|
note?: string | undefined;
|
|
2230
|
+
} | {
|
|
2231
|
+
id: string;
|
|
2232
|
+
source: "agent" | "cezar";
|
|
2233
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2234
|
+
registeredAt: string;
|
|
2235
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2236
|
+
resolvedAt?: string | undefined;
|
|
2237
|
+
deliveredAt?: string | undefined;
|
|
2238
|
+
cancelledAt?: string | undefined;
|
|
2239
|
+
turnId: string;
|
|
2240
|
+
kind: "process";
|
|
2241
|
+
deadline: string;
|
|
2242
|
+
timeoutSeconds: number;
|
|
2243
|
+
pid: number;
|
|
2244
|
+
startToken?: string | undefined;
|
|
2245
|
+
exitFile?: string | undefined;
|
|
2246
|
+
note?: string | undefined;
|
|
2247
|
+
result?: {
|
|
2248
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2249
|
+
observedAt: string;
|
|
2250
|
+
exitCode?: number | undefined;
|
|
2251
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2252
|
+
diagnostic?: string | undefined;
|
|
2253
|
+
} | undefined;
|
|
2230
2254
|
} | {
|
|
2231
2255
|
id: string;
|
|
2232
2256
|
source: "agent" | "cezar";
|
|
@@ -2288,30 +2312,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2288
2312
|
reason: "outcome" | "timeout";
|
|
2289
2313
|
} | undefined;
|
|
2290
2314
|
wakeInputId?: string | undefined;
|
|
2291
|
-
} | {
|
|
2292
|
-
id: string;
|
|
2293
|
-
source: "agent" | "cezar";
|
|
2294
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2295
|
-
registeredAt: string;
|
|
2296
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2297
|
-
resolvedAt?: string | undefined;
|
|
2298
|
-
deliveredAt?: string | undefined;
|
|
2299
|
-
cancelledAt?: string | undefined;
|
|
2300
|
-
turnId: string;
|
|
2301
|
-
kind: "process";
|
|
2302
|
-
deadline: string;
|
|
2303
|
-
timeoutSeconds: number;
|
|
2304
|
-
pid: number;
|
|
2305
|
-
startToken?: string | undefined;
|
|
2306
|
-
exitFile?: string | undefined;
|
|
2307
|
-
note?: string | undefined;
|
|
2308
|
-
result?: {
|
|
2309
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2310
|
-
observedAt: string;
|
|
2311
|
-
exitCode?: number | undefined;
|
|
2312
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2313
|
-
diagnostic?: string | undefined;
|
|
2314
|
-
} | undefined;
|
|
2315
2315
|
} | {
|
|
2316
2316
|
id: string;
|
|
2317
2317
|
source: "agent" | "cezar";
|
|
@@ -2439,6 +2439,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2439
2439
|
deadline: string;
|
|
2440
2440
|
seconds: number;
|
|
2441
2441
|
note?: string | undefined;
|
|
2442
|
+
} | {
|
|
2443
|
+
id: string;
|
|
2444
|
+
source: "agent" | "cezar";
|
|
2445
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2446
|
+
registeredAt: string;
|
|
2447
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2448
|
+
resolvedAt?: string | undefined;
|
|
2449
|
+
deliveredAt?: string | undefined;
|
|
2450
|
+
cancelledAt?: string | undefined;
|
|
2451
|
+
turnId: string;
|
|
2452
|
+
kind: "process";
|
|
2453
|
+
deadline: string;
|
|
2454
|
+
timeoutSeconds: number;
|
|
2455
|
+
pid: number;
|
|
2456
|
+
startToken?: string | undefined;
|
|
2457
|
+
exitFile?: string | undefined;
|
|
2458
|
+
note?: string | undefined;
|
|
2459
|
+
result?: {
|
|
2460
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2461
|
+
observedAt: string;
|
|
2462
|
+
exitCode?: number | undefined;
|
|
2463
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2464
|
+
diagnostic?: string | undefined;
|
|
2465
|
+
} | undefined;
|
|
2442
2466
|
} | {
|
|
2443
2467
|
id: string;
|
|
2444
2468
|
source: "agent" | "cezar";
|
|
@@ -2500,30 +2524,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2500
2524
|
reason: "outcome" | "timeout";
|
|
2501
2525
|
} | undefined;
|
|
2502
2526
|
wakeInputId?: string | undefined;
|
|
2503
|
-
} | {
|
|
2504
|
-
id: string;
|
|
2505
|
-
source: "agent" | "cezar";
|
|
2506
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2507
|
-
registeredAt: string;
|
|
2508
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2509
|
-
resolvedAt?: string | undefined;
|
|
2510
|
-
deliveredAt?: string | undefined;
|
|
2511
|
-
cancelledAt?: string | undefined;
|
|
2512
|
-
turnId: string;
|
|
2513
|
-
kind: "process";
|
|
2514
|
-
deadline: string;
|
|
2515
|
-
timeoutSeconds: number;
|
|
2516
|
-
pid: number;
|
|
2517
|
-
startToken?: string | undefined;
|
|
2518
|
-
exitFile?: string | undefined;
|
|
2519
|
-
note?: string | undefined;
|
|
2520
|
-
result?: {
|
|
2521
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2522
|
-
observedAt: string;
|
|
2523
|
-
exitCode?: number | undefined;
|
|
2524
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2525
|
-
diagnostic?: string | undefined;
|
|
2526
|
-
} | undefined;
|
|
2527
2527
|
} | {
|
|
2528
2528
|
id: string;
|
|
2529
2529
|
source: "agent" | "cezar";
|
|
@@ -2650,6 +2650,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2650
2650
|
deadline: string;
|
|
2651
2651
|
seconds: number;
|
|
2652
2652
|
note?: string | undefined;
|
|
2653
|
+
} | {
|
|
2654
|
+
id: string;
|
|
2655
|
+
source: "agent" | "cezar";
|
|
2656
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2657
|
+
registeredAt: string;
|
|
2658
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2659
|
+
resolvedAt?: string | undefined;
|
|
2660
|
+
deliveredAt?: string | undefined;
|
|
2661
|
+
cancelledAt?: string | undefined;
|
|
2662
|
+
turnId: string;
|
|
2663
|
+
kind: "process";
|
|
2664
|
+
deadline: string;
|
|
2665
|
+
timeoutSeconds: number;
|
|
2666
|
+
pid: number;
|
|
2667
|
+
startToken?: string | undefined;
|
|
2668
|
+
exitFile?: string | undefined;
|
|
2669
|
+
note?: string | undefined;
|
|
2670
|
+
result?: {
|
|
2671
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2672
|
+
observedAt: string;
|
|
2673
|
+
exitCode?: number | undefined;
|
|
2674
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2675
|
+
diagnostic?: string | undefined;
|
|
2676
|
+
} | undefined;
|
|
2653
2677
|
} | {
|
|
2654
2678
|
id: string;
|
|
2655
2679
|
source: "agent" | "cezar";
|
|
@@ -2711,30 +2735,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2711
2735
|
reason: "outcome" | "timeout";
|
|
2712
2736
|
} | undefined;
|
|
2713
2737
|
wakeInputId?: string | undefined;
|
|
2714
|
-
} | {
|
|
2715
|
-
id: string;
|
|
2716
|
-
source: "agent" | "cezar";
|
|
2717
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2718
|
-
registeredAt: string;
|
|
2719
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2720
|
-
resolvedAt?: string | undefined;
|
|
2721
|
-
deliveredAt?: string | undefined;
|
|
2722
|
-
cancelledAt?: string | undefined;
|
|
2723
|
-
turnId: string;
|
|
2724
|
-
kind: "process";
|
|
2725
|
-
deadline: string;
|
|
2726
|
-
timeoutSeconds: number;
|
|
2727
|
-
pid: number;
|
|
2728
|
-
startToken?: string | undefined;
|
|
2729
|
-
exitFile?: string | undefined;
|
|
2730
|
-
note?: string | undefined;
|
|
2731
|
-
result?: {
|
|
2732
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2733
|
-
observedAt: string;
|
|
2734
|
-
exitCode?: number | undefined;
|
|
2735
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2736
|
-
diagnostic?: string | undefined;
|
|
2737
|
-
} | undefined;
|
|
2738
2738
|
} | {
|
|
2739
2739
|
id: string;
|
|
2740
2740
|
source: "agent" | "cezar";
|
|
@@ -58,6 +58,29 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
+
output: {
|
|
62
|
+
error: string;
|
|
63
|
+
code?: "invalid_input" | undefined;
|
|
64
|
+
};
|
|
65
|
+
outputFormat: "json";
|
|
66
|
+
status: 400;
|
|
67
|
+
input: {
|
|
68
|
+
query: {
|
|
69
|
+
project?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
} | {
|
|
73
|
+
output: {
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
outputFormat: "json";
|
|
77
|
+
status: 404 | 409 | 503;
|
|
78
|
+
input: {
|
|
79
|
+
query: {
|
|
80
|
+
project?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | {
|
|
61
84
|
output: {
|
|
62
85
|
generatedAt: string;
|
|
63
86
|
projects: {
|
|
@@ -304,29 +327,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
304
327
|
project?: string | undefined;
|
|
305
328
|
};
|
|
306
329
|
};
|
|
307
|
-
} | {
|
|
308
|
-
output: {
|
|
309
|
-
error: string;
|
|
310
|
-
code?: "invalid_input" | undefined;
|
|
311
|
-
};
|
|
312
|
-
outputFormat: "json";
|
|
313
|
-
status: 400;
|
|
314
|
-
input: {
|
|
315
|
-
query: {
|
|
316
|
-
project?: string | undefined;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
} | {
|
|
320
|
-
output: {
|
|
321
|
-
error: string;
|
|
322
|
-
};
|
|
323
|
-
outputFormat: "json";
|
|
324
|
-
status: 404 | 409 | 503;
|
|
325
|
-
input: {
|
|
326
|
-
query: {
|
|
327
|
-
project?: string | undefined;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
}, "/", "/workspace/activity">;
|
|
@@ -30,10 +30,19 @@ export declare function createModelsRoutes(options: {
|
|
|
30
30
|
};
|
|
31
31
|
} | {
|
|
32
32
|
output: {
|
|
33
|
-
|
|
33
|
+
runner: string;
|
|
34
|
+
models: {
|
|
35
|
+
id: string;
|
|
36
|
+
label: string;
|
|
37
|
+
description: string;
|
|
38
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
39
|
+
}[];
|
|
40
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
41
|
+
stale: boolean;
|
|
42
|
+
reason?: string;
|
|
34
43
|
};
|
|
35
44
|
outputFormat: "json";
|
|
36
|
-
status:
|
|
45
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
37
46
|
input: {
|
|
38
47
|
query: {
|
|
39
48
|
runner: string | string[];
|
|
@@ -54,19 +63,10 @@ export declare function createModelsRoutes(options: {
|
|
|
54
63
|
};
|
|
55
64
|
} | {
|
|
56
65
|
output: {
|
|
57
|
-
|
|
58
|
-
models: {
|
|
59
|
-
id: string;
|
|
60
|
-
label: string;
|
|
61
|
-
description: string;
|
|
62
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
63
|
-
}[];
|
|
64
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
65
|
-
stale: boolean;
|
|
66
|
-
reason?: string;
|
|
66
|
+
error: string;
|
|
67
67
|
};
|
|
68
68
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
69
|
+
status: 400;
|
|
70
70
|
input: {
|
|
71
71
|
query: {
|
|
72
72
|
runner: string | string[];
|