@hearsay-tools/squawk 0.18.0-dev.8215 → 0.18.0-dev.8218
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/ci-wait/controller.d.ts +7 -7
- package/dist/contract/index.js +2 -0
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1520 -1520
- package/dist/server/server.js +8 -9
- package/dist/server/server.js.map +1 -1
- package/package.json +4 -4
- package/scripts/profile-lint-compare.ts +101 -0
- package/scripts/profile-lint.ts +116 -14
- package/web/dist/assets/{accounts-section-3TFV3bKA.js → accounts-section-DpX5vTr7.js} +1 -1
- package/web/dist/assets/{activity-motion-DIEqBTn_.js → activity-motion-B7vHpK-u.js} +1 -1
- package/web/dist/assets/{activity-route-1e-zJAwF.js → activity-route-D84XrmQO.js} +1 -1
- package/web/dist/assets/{agent-config-section-BEhRUFXI.js → agent-config-section-Btyd_I6J.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CPFpExY0.js → agent-defaults-section-D42khLKT.js} +1 -1
- package/web/dist/assets/{appearance-DmZqmV_h.js → appearance-BdWvRErI.js} +1 -1
- package/web/dist/assets/{automations-route-BQTvY9OZ.js → automations-route-CVK-f13I.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-CrCQrLkj.js → commit-diff-panel-DEgRHEFl.js} +1 -1
- package/web/dist/assets/{diff-CSURjwWN.js → diff-K_Xswloe.js} +2 -2
- package/web/dist/assets/{diff-view-C0EkYWIb.js → diff-view-DQOZSURG.js} +1 -1
- package/web/dist/assets/{file-preview-Dwpny4J1.js → file-preview-PwiOYFhV.js} +1 -1
- package/web/dist/assets/{git-toolbar-Cxylz9oM.js → git-toolbar-DfFwDI49.js} +1 -1
- package/web/dist/assets/{github-QMdDPo6m.js → github-DHOg6-co.js} +1 -1
- package/web/dist/assets/{global-activity-route-CbOpfU7Q.js → global-activity-route-Bx6y-b0h.js} +1 -1
- package/web/dist/assets/{index-Bra3Zx6_.js → index-Br3WCnOm.js} +6 -6
- package/web/dist/assets/{markdown-CVLWRUFa.js → markdown-POxkTBG0.js} +1 -1
- package/web/dist/assets/{notifications-section-y0N1nPKx.js → notifications-section-B-lcEfAs.js} +1 -1
- package/web/dist/assets/preview-pane-connected-DeAYL6ND.js +3 -0
- package/web/dist/assets/{projects-section-DwrBHp8U.js → projects-section-B1MB9FoT.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-B63ytixw.js → prompt-templates-section-C6NTpSpA.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BaEqkFLb.js → remote-settings-notice-CrHduqnC.js} +1 -1
- package/web/dist/assets/repo-git-KGxu_ZKb.js +1 -0
- package/web/dist/assets/{report-reader-4K1U0nwt.js → report-reader-CnXmsiMI.js} +1 -1
- package/web/dist/assets/{reports-DzfdonA_.js → reports-CzsCz6ZC.js} +1 -1
- package/web/dist/assets/{run-header-BwxE9ges.js → run-header-BcuJbBox.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-BsfSkgY9.js → settings-agent-picker-D9OiVDV3.js} +1 -1
- package/web/dist/assets/{settings-shell-DDTVjo7C.js → settings-shell-D9LDT4iY.js} +1 -1
- package/web/dist/assets/{skills-Cw_PL5-A.js → skills-Df3f4tt8.js} +1 -1
- package/web/dist/assets/{task-changes-DLzIXSTR.js → task-changes-B45GjG50.js} +1 -1
- package/web/dist/assets/{task-commits-amn0LePZ.js → task-commits-C6_f5ewJ.js} +1 -1
- package/web/dist/assets/{task-files-9b6zqJWa.js → task-files-YaD4DU-8.js} +1 -1
- package/web/dist/assets/{task-github-item-DJvWvk2q.js → task-github-item-D1QAOVjQ.js} +1 -1
- package/web/dist/assets/{task-thread-DA-IdbEA.js → task-thread-BoOE1dvx.js} +6 -6
- package/web/dist/assets/{thread-state-PGrlMiQA.js → thread-state-C3QKqNMn.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CMiYRssU.js → use-hand-to-agent-state-DGAvwfdj.js} +1 -1
- package/web/dist/assets/{workflows-DowJdAnR.js → workflows-B2pwgXHF.js} +3 -3
- package/web/dist/assets/{workspace-tools-BPmJcyzi.js → workspace-tools-DfCerd4L.js} +1 -1
- package/web/dist/assets/{worktrees-section-Bn-NIqrK.js → worktrees-section-Dhlt22RI.js} +1 -1
- package/web/dist/index.html +1 -1
- package/web/dist/assets/preview-pane-connected-DzLCKXRK.js +0 -3
- package/web/dist/assets/repo-git-CY6YcBMo.js +0 -1
|
@@ -119,9 +119,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
119
119
|
} & {
|
|
120
120
|
"/api/v1/tools/:name": {
|
|
121
121
|
$post: {
|
|
122
|
-
output:
|
|
122
|
+
output: {
|
|
123
|
+
code: string;
|
|
124
|
+
message: string;
|
|
125
|
+
};
|
|
123
126
|
outputFormat: "json";
|
|
124
|
-
status:
|
|
127
|
+
status: 401;
|
|
125
128
|
input: {
|
|
126
129
|
json: unknown;
|
|
127
130
|
} & {
|
|
@@ -144,12 +147,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
144
147
|
};
|
|
145
148
|
};
|
|
146
149
|
} | {
|
|
147
|
-
output:
|
|
148
|
-
code: string;
|
|
149
|
-
message: string;
|
|
150
|
-
};
|
|
150
|
+
output: never;
|
|
151
151
|
outputFormat: "json";
|
|
152
|
-
status:
|
|
152
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
153
153
|
input: {
|
|
154
154
|
json: unknown;
|
|
155
155
|
} & {
|
package/dist/contract/index.js
CHANGED
|
@@ -961,7 +961,9 @@ var pluginsHealthSchema = z12.object({
|
|
|
961
961
|
var healthResponseSchema = z12.object({
|
|
962
962
|
version: z12.string(),
|
|
963
963
|
latestVersion: z12.string().optional(),
|
|
964
|
+
/** Boot root path in local mode; trimmed to a basename when `capabilities.localHandoff` is false. */
|
|
964
965
|
repoRoot: z12.string(),
|
|
966
|
+
/** Boot repository facts; `repo.root` is trimmed to a basename when `capabilities.localHandoff` is false. */
|
|
965
967
|
repo: repoInfoSchema.nullable(),
|
|
966
968
|
checks: z12.array(backendCheckSchema),
|
|
967
969
|
defaultRunner: runnerSchema,
|
|
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code?: "invalid_input" | undefined;
|
|
33
|
-
};
|
|
34
|
-
outputFormat: "json";
|
|
35
|
-
status: 400;
|
|
36
|
-
input: {
|
|
37
|
-
query: {
|
|
38
|
-
offset?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
79
|
offset?: string | undefined;
|
|
92
80
|
};
|
|
93
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
output: {
|
|
84
|
+
error: string;
|
|
85
|
+
code?: "invalid_input" | undefined;
|
|
86
|
+
};
|
|
87
|
+
outputFormat: "json";
|
|
88
|
+
status: 400;
|
|
89
|
+
input: {
|
|
90
|
+
query: {
|
|
91
|
+
offset?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
-
output: {
|
|
681
|
-
error: string;
|
|
682
|
-
code?: "invalid_input" | undefined;
|
|
683
|
-
};
|
|
684
|
-
outputFormat: "json";
|
|
685
|
-
status: 400;
|
|
686
|
-
input: {
|
|
687
|
-
param: {
|
|
688
|
-
workerId: string;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
} | {
|
|
692
680
|
output: {
|
|
693
681
|
workerId: string;
|
|
694
682
|
settled: boolean;
|
|
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
813
801
|
workerId: string;
|
|
814
802
|
};
|
|
815
803
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
804
|
+
} | {
|
|
821
805
|
output: {
|
|
822
806
|
error: string;
|
|
823
807
|
code?: "invalid_input" | undefined;
|
|
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
828
812
|
param: {
|
|
829
813
|
workerId: string;
|
|
830
814
|
};
|
|
831
|
-
} & {
|
|
832
|
-
json: Record<string, never>;
|
|
833
815
|
};
|
|
834
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
835
821
|
output: {
|
|
836
822
|
workerId: string;
|
|
837
823
|
parentRunId: string;
|
|
@@ -954,11 +940,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
954
940
|
} & {
|
|
955
941
|
json: Record<string, never>;
|
|
956
942
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
943
|
+
} | {
|
|
962
944
|
output: {
|
|
963
945
|
error: string;
|
|
964
946
|
code?: "invalid_input" | undefined;
|
|
@@ -970,11 +952,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
970
952
|
workerId: string;
|
|
971
953
|
};
|
|
972
954
|
} & {
|
|
973
|
-
json:
|
|
974
|
-
text: string;
|
|
975
|
-
};
|
|
955
|
+
json: Record<string, never>;
|
|
976
956
|
};
|
|
977
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
978
962
|
output: {
|
|
979
963
|
workerId: string;
|
|
980
964
|
state: "delivered" | "queued";
|
|
@@ -990,11 +974,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
990
974
|
text: string;
|
|
991
975
|
};
|
|
992
976
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
977
|
+
} | {
|
|
998
978
|
output: {
|
|
999
979
|
error: string;
|
|
1000
980
|
code?: "invalid_input" | undefined;
|
|
@@ -1006,9 +986,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1006
986
|
workerId: string;
|
|
1007
987
|
};
|
|
1008
988
|
} & {
|
|
1009
|
-
json:
|
|
989
|
+
json: {
|
|
990
|
+
text: string;
|
|
991
|
+
};
|
|
1010
992
|
};
|
|
1011
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
1012
998
|
output: {
|
|
1013
999
|
workerId: string;
|
|
1014
1000
|
state: "stopping" | "terminated";
|
|
@@ -1022,11 +1008,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1022
1008
|
} & {
|
|
1023
1009
|
json: Record<string, never>;
|
|
1024
1010
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1011
|
+
} | {
|
|
1030
1012
|
output: {
|
|
1031
1013
|
error: string;
|
|
1032
1014
|
code?: "invalid_input" | undefined;
|
|
@@ -1038,11 +1020,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1038
1020
|
workerId: string;
|
|
1039
1021
|
};
|
|
1040
1022
|
} & {
|
|
1041
|
-
json:
|
|
1042
|
-
discardWork?: true | undefined;
|
|
1043
|
-
};
|
|
1023
|
+
json: Record<string, never>;
|
|
1044
1024
|
};
|
|
1045
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1046
1030
|
output: {
|
|
1047
1031
|
workerId: string;
|
|
1048
1032
|
state: "complete" | "incomplete";
|
|
@@ -1071,6 +1055,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1071
1055
|
discardWork?: true | undefined;
|
|
1072
1056
|
};
|
|
1073
1057
|
};
|
|
1058
|
+
} | {
|
|
1059
|
+
output: {
|
|
1060
|
+
error: string;
|
|
1061
|
+
code?: "invalid_input" | undefined;
|
|
1062
|
+
};
|
|
1063
|
+
outputFormat: "json";
|
|
1064
|
+
status: 400;
|
|
1065
|
+
input: {
|
|
1066
|
+
param: {
|
|
1067
|
+
workerId: string;
|
|
1068
|
+
};
|
|
1069
|
+
} & {
|
|
1070
|
+
json: {
|
|
1071
|
+
discardWork?: true | undefined;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,11 +1106,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1109
|
+
workerId: string;
|
|
1110
|
+
baselineSha: string;
|
|
1111
|
+
diff: string;
|
|
1112
|
+
truncated: boolean;
|
|
1111
1113
|
};
|
|
1112
1114
|
outputFormat: "json";
|
|
1113
|
-
status:
|
|
1115
|
+
status: 200;
|
|
1114
1116
|
input: {
|
|
1115
1117
|
param: {
|
|
1116
1118
|
workerId: string;
|
|
@@ -1118,13 +1120,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1118
1120
|
};
|
|
1119
1121
|
} | {
|
|
1120
1122
|
output: {
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
diff: string;
|
|
1124
|
-
truncated: boolean;
|
|
1123
|
+
error: string;
|
|
1124
|
+
code?: "invalid_input" | undefined;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 400;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|
|
@@ -58,29 +58,6 @@ 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
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
327
304
|
project?: string | undefined;
|
|
328
305
|
};
|
|
329
306
|
};
|
|
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,19 +30,10 @@ export declare function createModelsRoutes(options: {
|
|
|
30
30
|
};
|
|
31
31
|
} | {
|
|
32
32
|
output: {
|
|
33
|
-
|
|
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;
|
|
33
|
+
error: string;
|
|
43
34
|
};
|
|
44
35
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
36
|
+
status: 400;
|
|
46
37
|
input: {
|
|
47
38
|
query: {
|
|
48
39
|
runner: string | string[];
|
|
@@ -63,10 +54,19 @@ export declare function createModelsRoutes(options: {
|
|
|
63
54
|
};
|
|
64
55
|
} | {
|
|
65
56
|
output: {
|
|
66
|
-
|
|
57
|
+
runner: string;
|
|
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;
|
|
67
67
|
};
|
|
68
68
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
69
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
70
70
|
input: {
|
|
71
71
|
query: {
|
|
72
72
|
runner: string | string[];
|
|
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
|
|
|
58
58
|
"/runner-install/:runner": {
|
|
59
59
|
$post: {
|
|
60
60
|
output: {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
supported: boolean;
|
|
62
|
+
installedVersion: string | null;
|
|
63
|
+
latestVersion: string | null;
|
|
64
|
+
updateAvailable: boolean;
|
|
65
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
66
|
+
error: string | null;
|
|
63
67
|
};
|
|
64
68
|
outputFormat: "json";
|
|
65
|
-
status:
|
|
69
|
+
status: 202;
|
|
66
70
|
input: {
|
|
67
71
|
param: {
|
|
68
72
|
runner: string;
|
|
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
|
|
|
74
78
|
};
|
|
75
79
|
} | {
|
|
76
80
|
output: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
latestVersion: string | null;
|
|
80
|
-
updateAvailable: boolean;
|
|
81
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
82
|
-
error: string | null;
|
|
81
|
+
error: string;
|
|
82
|
+
code?: "invalid_input" | undefined;
|
|
83
83
|
};
|
|
84
84
|
outputFormat: "json";
|
|
85
|
-
status:
|
|
85
|
+
status: 400;
|
|
86
86
|
input: {
|
|
87
87
|
param: {
|
|
88
88
|
runner: string;
|