@hearsay-tools/squawk 0.19.0-dev.8998 → 0.19.0-dev.9005
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/delegation/transport.d.ts +65 -65
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runs-routes.d.ts +34 -34
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-C0MLZW_M.js → accounts-section-C_QnLX6N.js} +1 -1
- package/web/dist/assets/{activity-motion-DGWsLSV_.js → activity-motion-rKFPFRvk.js} +1 -1
- package/web/dist/assets/{activity-route-DbRrSGTZ.js → activity-route-K2ZAKyOc.js} +1 -1
- package/web/dist/assets/{agent-config-section-S-NNHyTj.js → agent-config-section-CSJ8ASHu.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-D47ydO6M.js → agent-defaults-section-CMCpZ7hZ.js} +1 -1
- package/web/dist/assets/{appearance-BVzMVCDZ.js → appearance-Be2bW15h.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-C7bZaOku.js → archive-on-merge-field-BKHI2T3s.js} +1 -1
- package/web/dist/assets/{automations-route-DGTAb8A_.js → automations-route-ukupzTDL.js} +1 -1
- package/web/dist/assets/{commit-list-Bt4Z1k-3.js → commit-list-Cf0x1qOz.js} +1 -1
- package/web/dist/assets/{diff-Chs69ao_.js → diff-DYxPunyH.js} +2 -2
- package/web/dist/assets/{diff-controls-M-rIqFWN.js → diff-controls-BdfWJmNM.js} +1 -1
- package/web/dist/assets/{diff-view-bLKcANO6.js → diff-view-DBTDxo57.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-CZ-BAjRM.js → discard-changes-dialog-CcVp1Cu8.js} +1 -1
- package/web/dist/assets/{file-preview-QXwZnRnZ.js → file-preview-SOIk_PH0.js} +1 -1
- package/web/dist/assets/{git-toolbar-xBysCptA.js → git-toolbar-CqWXQnFd.js} +1 -1
- package/web/dist/assets/{github-Dq8Qn_Dk.js → github-pASZ8oMj.js} +1 -1
- package/web/dist/assets/{global-activity-route-D7OxyX_e.js → global-activity-route-BGvoNYDr.js} +1 -1
- package/web/dist/assets/{index-DDtQlxLH.js → index-DdN1zBQ0.js} +4 -4
- package/web/dist/assets/{markdown-B4GFEGdE.js → markdown-CiWKjopy.js} +1 -1
- package/web/dist/assets/{option-select-BOeViuCv.js → option-select-CdY1rB1x.js} +1 -1
- package/web/dist/assets/{preferences-section-DqsNZiXr.js → preferences-section-D8jL-9hG.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-lQ_w4jh_.js → preview-pane-connected-BEOa9WCZ.js} +1 -1
- package/web/dist/assets/{project-location-DeNUqsgL.js → project-location-DKOqYVyP.js} +1 -1
- package/web/dist/assets/{projects-section-Bne5q9Zl.js → projects-section-C1W7Hasz.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-wEXQFITb.js → prompt-templates-section-DFXqV8TR.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-ZPTZta4J.js → remote-settings-notice-DfgdcIfD.js} +1 -1
- package/web/dist/assets/{repo-git-orRzt9hM.js → repo-git-C0-1xrBN.js} +1 -1
- package/web/dist/assets/{report-reader-7LXPgypR.js → report-reader-B-uJpS4a.js} +1 -1
- package/web/dist/assets/{reports-BLzMjV0A.js → reports-COPIytLU.js} +1 -1
- package/web/dist/assets/{resources-section-Bg0CLNs0.js → resources-section-D8qMya0U.js} +1 -1
- package/web/dist/assets/{review-panel-Bmxlc-qL.js → review-panel-D-bDi48m.js} +1 -1
- package/web/dist/assets/{run-header-GC4sCqc9.js → run-header-CgD5yNgy.js} +1 -1
- package/web/dist/assets/{select-DJ96FKkN.js → select-B27amFsE.js} +1 -1
- package/web/dist/assets/{session-context-section-J5dOI7wy.js → session-context-section-Ws_K5zmI.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-AIys0-g4.js → settings-agent-picker-D8SLzhIg.js} +1 -1
- package/web/dist/assets/{settings-save-bar-hxduqYzV.js → settings-save-bar-CwMFlv_U.js} +1 -1
- package/web/dist/assets/{settings-shell-BKrwxtH3.js → settings-shell-CDEgqoql.js} +1 -1
- package/web/dist/assets/{sidebar-section-BOLBt6ht.js → sidebar-section-sgVglrtK.js} +1 -1
- package/web/dist/assets/{skills-cirmZTle.js → skills-BdUNA_WG.js} +1 -1
- package/web/dist/assets/{task-changes-n6YG81dZ.js → task-changes-B7xspQ98.js} +1 -1
- package/web/dist/assets/{task-commits-B2kRm9wv.js → task-commits-BCi7CKoE.js} +1 -1
- package/web/dist/assets/{task-file-scope-VqZwLAhF.js → task-file-scope-CvLuxpi4.js} +1 -1
- package/web/dist/assets/{task-files-DQnLpO6C.js → task-files-BwQVO9Jc.js} +1 -1
- package/web/dist/assets/{task-github-item-BCa7NBSF.js → task-github-item-Bpys4CTO.js} +1 -1
- package/web/dist/assets/{task-thread-BVuc26YV.js → task-thread-BERX6vrL.js} +1 -1
- package/web/dist/assets/{thread-state-Cu3lYPx3.js → thread-state-B6JqvI7V.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DC_mgEa8.js → use-hand-to-agent-state-CvkdAvTh.js} +1 -1
- package/web/dist/assets/use-path-bases-CGAbJheM.js +1 -0
- package/web/dist/assets/{workflows-DcsG1apu.js → workflows-BJHvZ7G4.js} +1 -1
- package/web/dist/assets/{workspace-tools-BlsGt8_D.js → workspace-tools-DtdDi369.js} +1 -1
- package/web/dist/assets/{worktrees-section-CGN4CXhC.js → worktrees-section-jmJugevp.js} +1 -1
- package/web/dist/index.html +1 -1
- package/web/dist/assets/use-path-bases-BNiDz4sw.js +0 -1
|
@@ -121,12 +121,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
125
|
-
code: string;
|
|
126
|
-
message: string;
|
|
127
|
-
};
|
|
124
|
+
output: never;
|
|
128
125
|
outputFormat: "json";
|
|
129
|
-
status:
|
|
126
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
130
127
|
input: {
|
|
131
128
|
json: unknown;
|
|
132
129
|
} & {
|
|
@@ -149,9 +146,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
149
146
|
};
|
|
150
147
|
};
|
|
151
148
|
} | {
|
|
152
|
-
output:
|
|
149
|
+
output: {
|
|
150
|
+
code: string;
|
|
151
|
+
message: string;
|
|
152
|
+
};
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: 401;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -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,18 +66,6 @@ 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
|
} & {
|
|
@@ -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;
|
|
@@ -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: {
|
|
@@ -308,29 +331,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
308
331
|
project?: string | undefined;
|
|
309
332
|
};
|
|
310
333
|
};
|
|
311
|
-
} | {
|
|
312
|
-
output: {
|
|
313
|
-
error: string;
|
|
314
|
-
code?: "invalid_input" | undefined;
|
|
315
|
-
};
|
|
316
|
-
outputFormat: "json";
|
|
317
|
-
status: 400;
|
|
318
|
-
input: {
|
|
319
|
-
query: {
|
|
320
|
-
project?: string | undefined;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
} | {
|
|
324
|
-
output: {
|
|
325
|
-
error: string;
|
|
326
|
-
};
|
|
327
|
-
outputFormat: "json";
|
|
328
|
-
status: 404 | 409 | 503;
|
|
329
|
-
input: {
|
|
330
|
-
query: {
|
|
331
|
-
project?: string | undefined;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
}, "/", "/workspace/activity">;
|
|
@@ -22,18 +22,6 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
} | {
|
|
26
|
-
output: {
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
outputFormat: "json";
|
|
30
|
-
status: 400;
|
|
31
|
-
input: {
|
|
32
|
-
query: {
|
|
33
|
-
runner: string | string[];
|
|
34
|
-
profileId?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
25
|
} | {
|
|
38
26
|
output: {
|
|
39
27
|
runner: string;
|
|
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
|
|
|
55
43
|
profileId?: string | undefined;
|
|
56
44
|
};
|
|
57
45
|
};
|
|
46
|
+
} | {
|
|
47
|
+
output: {
|
|
48
|
+
error: string;
|
|
49
|
+
};
|
|
50
|
+
outputFormat: "json";
|
|
51
|
+
status: 400;
|
|
52
|
+
input: {
|
|
53
|
+
query: {
|
|
54
|
+
runner: string | string[];
|
|
55
|
+
profileId?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,21 +144,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
137
|
-
};
|
|
138
|
-
outputFormat: "json";
|
|
139
|
-
status: 409;
|
|
140
|
-
input: {
|
|
141
|
-
json: {
|
|
142
|
-
root: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
} | {
|
|
146
|
-
output: {
|
|
147
|
-
error: string;
|
|
147
|
+
error?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
150
|
+
status: 200;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 404;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 400;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,6 +342,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
+
output: {
|
|
346
|
+
error: string;
|
|
347
|
+
};
|
|
348
|
+
outputFormat: "json";
|
|
349
|
+
status: 400 | 404 | 409 | 500;
|
|
350
|
+
input: {
|
|
351
|
+
json: {
|
|
352
|
+
name: string;
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
url: string;
|
|
355
|
+
token?: string | undefined;
|
|
356
|
+
tasks?: boolean | undefined;
|
|
357
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
+
agent?: boolean | undefined;
|
|
359
|
+
};
|
|
360
|
+
} & {
|
|
361
|
+
param: {
|
|
362
|
+
projectId: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
} | {
|
|
345
366
|
output: {
|
|
346
367
|
project: {
|
|
347
368
|
id: string;
|
|
@@ -400,27 +421,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
400
421
|
projectId: string;
|
|
401
422
|
};
|
|
402
423
|
};
|
|
403
|
-
} | {
|
|
404
|
-
output: {
|
|
405
|
-
error: string;
|
|
406
|
-
};
|
|
407
|
-
outputFormat: "json";
|
|
408
|
-
status: 400 | 404 | 409 | 500;
|
|
409
|
-
input: {
|
|
410
|
-
json: {
|
|
411
|
-
name: string;
|
|
412
|
-
description?: string | undefined;
|
|
413
|
-
url: string;
|
|
414
|
-
token?: string | undefined;
|
|
415
|
-
tasks?: boolean | undefined;
|
|
416
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
-
agent?: boolean | undefined;
|
|
418
|
-
};
|
|
419
|
-
} & {
|
|
420
|
-
param: {
|
|
421
|
-
projectId: string;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,10 +618,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: boolean;
|
|
622
|
+
status?: number | undefined;
|
|
623
|
+
error?: string | undefined;
|
|
624
|
+
dryRun?: boolean | undefined;
|
|
622
625
|
};
|
|
623
626
|
outputFormat: "json";
|
|
624
|
-
status:
|
|
627
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
625
628
|
input: {
|
|
626
629
|
param: {
|
|
627
630
|
projectId: string;
|
|
@@ -630,13 +633,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
630
633
|
};
|
|
631
634
|
} | {
|
|
632
635
|
output: {
|
|
633
|
-
|
|
634
|
-
status?: number | undefined;
|
|
635
|
-
error?: string | undefined;
|
|
636
|
-
dryRun?: boolean | undefined;
|
|
636
|
+
error: string;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: 404;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 409;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|