@hearsay-tools/squawk 0.19.0-pr4654.9252 → 0.19.0-pr4656.9257
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/delegation/transport.d.ts +78 -78
- package/dist/features/reports/routes.d.ts +2 -2
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/runs-routes.d.ts +332 -332
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BROiR4ew.js → accounts-section-o9T66nOF.js} +1 -1
- package/web/dist/assets/{activity-motion-BWSUUfiT.js → activity-motion-fpQ4UQHr.js} +1 -1
- package/web/dist/assets/{activity-route-B2N8ZaZ_.js → activity-route-BkQ6EXbr.js} +1 -1
- package/web/dist/assets/{agent-config-section-Ck4CXMFm.js → agent-config-section-DFE3B0Uj.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CSonqNrH.js → agent-defaults-section-Io1khRQD.js} +1 -1
- package/web/dist/assets/{appearance-CtRi80xH.js → appearance-DdQYihuH.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DWIBlp84.js → archive-on-merge-field-Dw7qLFF3.js} +1 -1
- package/web/dist/assets/{ask-card-Cr2AS4K4.js → ask-card-COjaImVE.js} +1 -1
- package/web/dist/assets/{automations-route-iHpqtQ2V.js → automations-route-BUJ9FERF.js} +1 -1
- package/web/dist/assets/{commit-list-BjI9yFlp.js → commit-list-CXf_wGM5.js} +1 -1
- package/web/dist/assets/{diff-BKikntA1.js → diff-CgtUq6M8.js} +2 -2
- package/web/dist/assets/{diff-controls-DXLI7YrY.js → diff-controls-DoL55hyn.js} +1 -1
- package/web/dist/assets/{diff-view-NHfT1G3r.js → diff-view-Dya_JBro.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-COQOWWB4.js → discard-changes-dialog-TZElcNie.js} +1 -1
- package/web/dist/assets/{file-preview-CuynH2GY.js → file-preview-C_4_qZBH.js} +1 -1
- package/web/dist/assets/{git-toolbar-C27plnSQ.js → git-toolbar-CIgbt3UD.js} +1 -1
- package/web/dist/assets/{github-BVFqmL19.js → github-BAVcffQT.js} +1 -1
- package/web/dist/assets/{global-activity-route-DUa3ZKH5.js → global-activity-route-CpVoplqQ.js} +1 -1
- package/web/dist/assets/{index-DZXi-K2N.css → index-B5vWsR62.css} +1 -1
- package/web/dist/assets/{index-BMO-SCLT.js → index-BCk3A4NB.js} +4 -4
- package/web/dist/assets/{markdown-RyIndDEG.js → markdown-CmlC8aHw.js} +1 -1
- package/web/dist/assets/{option-select-DRpdIulm.js → option-select-BzfLBKer.js} +1 -1
- package/web/dist/assets/{preferences-section-PTJo2Ohl.js → preferences-section-GKA7OADr.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-B9GKjFwm.js → preview-pane-connected-DXnpvC9A.js} +1 -1
- package/web/dist/assets/{project-location-BE1vP9ox.js → project-location-DiB7PhFc.js} +1 -1
- package/web/dist/assets/{projects-section-B3-nydjA.js → projects-section-B_fKMZO2.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-JgrQfgx0.js → prompt-templates-section-DPztZJcf.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BihAOLqD.js → remote-settings-notice-D75bhZ6B.js} +1 -1
- package/web/dist/assets/{repo-git-B1q5EsnP.js → repo-git-Cs8y0Cz9.js} +1 -1
- package/web/dist/assets/{report-reader-DjeG4XbX.js → report-reader-CWF1W0v_.js} +1 -1
- package/web/dist/assets/{reports-DWiYYakL.js → reports-DbqXO5Pb.js} +1 -1
- package/web/dist/assets/{resources-section-DWjxu1Aj.js → resources-section-BX-ll3Jf.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-iAtTr6a6.js → review-notes-drafts-BilMwJdG.js} +1 -1
- package/web/dist/assets/{review-panel-DPRxBYq7.js → review-panel-eK1-Dzq7.js} +1 -1
- package/web/dist/assets/{review-strip-S4KkkMIo.js → review-strip-DjckasP9.js} +1 -1
- package/web/dist/assets/{run-header-BNh2z4aw.js → run-header-gd19R2DU.js} +1 -1
- package/web/dist/assets/{select-DlJM2_n-.js → select-CtSljE8G.js} +1 -1
- package/web/dist/assets/{session-context-section-vdKhbdZx.js → session-context-section-Cb1FlF8c.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-tNi4Xm3k.js → settings-agent-picker-B1d-8GZc.js} +1 -1
- package/web/dist/assets/{settings-save-bar-fQqyWU1c.js → settings-save-bar-4xCB9mzb.js} +1 -1
- package/web/dist/assets/{settings-shell-B-pmSB5-.js → settings-shell-QCBRhKyd.js} +1 -1
- package/web/dist/assets/{sidebar-section-DBgf2u5s.js → sidebar-section-CDbE7lmi.js} +1 -1
- package/web/dist/assets/{skills-BePs-LtJ.js → skills-N0LlcB1g.js} +1 -1
- package/web/dist/assets/{task-changes-D-ehUptL.js → task-changes-BMHmGUyt.js} +1 -1
- package/web/dist/assets/{task-commits-BgDfumUM.js → task-commits-B--DYcIx.js} +1 -1
- package/web/dist/assets/{task-file-scope-Bqt2wkkO.js → task-file-scope-Ci701jtx.js} +1 -1
- package/web/dist/assets/{task-files-BME7tXzx.js → task-files-Dm5SQMex.js} +1 -1
- package/web/dist/assets/{task-github-item-BQL_jlnH.js → task-github-item-CTGwvtXd.js} +1 -1
- package/web/dist/assets/{task-thread-D-BHmr_Z.js → task-thread-B8OaCanC.js} +1 -1
- package/web/dist/assets/{thread-state-DWcNrVOV.js → thread-state-BwY3kgUN.js} +1 -1
- package/web/dist/assets/{use-finish-run-B4gkbFl_.js → use-finish-run-DzRCyhTh.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-7ItPHT6A.js → use-hand-to-agent-state-Dj6d6M-l.js} +1 -1
- package/web/dist/assets/use-path-bases-8j4tHf-7.js +1 -0
- package/web/dist/assets/{workflows-CFKtz_8t.js → workflows-BH1cVxg8.js} +1 -1
- package/web/dist/assets/{workspace-tools-CBQyH8IV.js → workspace-tools-CuVQNsGt.js} +1 -1
- package/web/dist/assets/{worktrees-section-CA7lv70p.js → worktrees-section-B2Xj5JVC.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/use-path-bases-DfSirdvs.js +0 -1
|
@@ -2,18 +2,6 @@ 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
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
66
54
|
offset?: string | undefined;
|
|
67
55
|
};
|
|
68
56
|
};
|
|
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,18 +652,6 @@ 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
|
-
} | {
|
|
667
655
|
output: {
|
|
668
656
|
workerId: string;
|
|
669
657
|
settled: boolean;
|
|
@@ -788,11 +776,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
788
776
|
workerId: string;
|
|
789
777
|
};
|
|
790
778
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
779
|
+
} | {
|
|
796
780
|
output: {
|
|
797
781
|
error: string;
|
|
798
782
|
code?: "invalid_input" | undefined;
|
|
@@ -803,10 +787,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
803
787
|
param: {
|
|
804
788
|
workerId: string;
|
|
805
789
|
};
|
|
806
|
-
} & {
|
|
807
|
-
json: Record<string, never>;
|
|
808
790
|
};
|
|
809
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
810
796
|
output: {
|
|
811
797
|
workerId: string;
|
|
812
798
|
parentRunId: string;
|
|
@@ -931,11 +917,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
931
917
|
} & {
|
|
932
918
|
json: Record<string, never>;
|
|
933
919
|
};
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
} & {
|
|
937
|
-
"/:workerId/steer": {
|
|
938
|
-
$post: {
|
|
920
|
+
} | {
|
|
939
921
|
output: {
|
|
940
922
|
error: string;
|
|
941
923
|
code?: "invalid_input" | undefined;
|
|
@@ -947,11 +929,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
947
929
|
workerId: string;
|
|
948
930
|
};
|
|
949
931
|
} & {
|
|
950
|
-
json:
|
|
951
|
-
text: string;
|
|
952
|
-
};
|
|
932
|
+
json: Record<string, never>;
|
|
953
933
|
};
|
|
954
|
-
}
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
"/:workerId/steer": {
|
|
938
|
+
$post: {
|
|
955
939
|
output: {
|
|
956
940
|
workerId: string;
|
|
957
941
|
state: "delivered" | "queued";
|
|
@@ -967,11 +951,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
967
951
|
text: string;
|
|
968
952
|
};
|
|
969
953
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/stop": {
|
|
974
|
-
$post: {
|
|
954
|
+
} | {
|
|
975
955
|
output: {
|
|
976
956
|
error: string;
|
|
977
957
|
code?: "invalid_input" | undefined;
|
|
@@ -983,9 +963,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
963
|
workerId: string;
|
|
984
964
|
};
|
|
985
965
|
} & {
|
|
986
|
-
json:
|
|
966
|
+
json: {
|
|
967
|
+
text: string;
|
|
968
|
+
};
|
|
987
969
|
};
|
|
988
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/stop": {
|
|
974
|
+
$post: {
|
|
989
975
|
output: {
|
|
990
976
|
workerId: string;
|
|
991
977
|
state: "stopping" | "terminated";
|
|
@@ -999,11 +985,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
999
985
|
} & {
|
|
1000
986
|
json: Record<string, never>;
|
|
1001
987
|
};
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
} & {
|
|
1005
|
-
"/:workerId/destroy": {
|
|
1006
|
-
$post: {
|
|
988
|
+
} | {
|
|
1007
989
|
output: {
|
|
1008
990
|
error: string;
|
|
1009
991
|
code?: "invalid_input" | undefined;
|
|
@@ -1015,11 +997,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1015
997
|
workerId: string;
|
|
1016
998
|
};
|
|
1017
999
|
} & {
|
|
1018
|
-
json:
|
|
1019
|
-
discardWork?: true | undefined;
|
|
1020
|
-
};
|
|
1000
|
+
json: Record<string, never>;
|
|
1021
1001
|
};
|
|
1022
|
-
}
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
} & {
|
|
1005
|
+
"/:workerId/destroy": {
|
|
1006
|
+
$post: {
|
|
1023
1007
|
output: {
|
|
1024
1008
|
workerId: string;
|
|
1025
1009
|
state: "complete" | "incomplete";
|
|
@@ -1048,6 +1032,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1048
1032
|
discardWork?: true | undefined;
|
|
1049
1033
|
};
|
|
1050
1034
|
};
|
|
1035
|
+
} | {
|
|
1036
|
+
output: {
|
|
1037
|
+
error: string;
|
|
1038
|
+
code?: "invalid_input" | undefined;
|
|
1039
|
+
};
|
|
1040
|
+
outputFormat: "json";
|
|
1041
|
+
status: 400;
|
|
1042
|
+
input: {
|
|
1043
|
+
param: {
|
|
1044
|
+
workerId: string;
|
|
1045
|
+
};
|
|
1046
|
+
} & {
|
|
1047
|
+
json: {
|
|
1048
|
+
discardWork?: true | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
1051
|
} | {
|
|
1052
1052
|
output: {
|
|
1053
1053
|
workerId: string;
|
|
@@ -1083,11 +1083,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1083
1083
|
"/:workerId/summary": {
|
|
1084
1084
|
$post: {
|
|
1085
1085
|
output: {
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
workerId: string;
|
|
1087
|
+
revision: number;
|
|
1088
|
+
source: "assistant" | "failure";
|
|
1089
|
+
seq: number;
|
|
1090
|
+
totalLines: number;
|
|
1091
|
+
offset: number;
|
|
1092
|
+
lineCount: number;
|
|
1093
|
+
text: string;
|
|
1094
|
+
nextOffset?: number | undefined;
|
|
1088
1095
|
};
|
|
1089
1096
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1097
|
+
status: 200;
|
|
1091
1098
|
input: {
|
|
1092
1099
|
param: {
|
|
1093
1100
|
workerId: string;
|
|
@@ -1100,18 +1107,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1100
1107
|
};
|
|
1101
1108
|
} | {
|
|
1102
1109
|
output: {
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
source: "assistant" | "failure";
|
|
1106
|
-
seq: number;
|
|
1107
|
-
totalLines: number;
|
|
1108
|
-
offset: number;
|
|
1109
|
-
lineCount: number;
|
|
1110
|
-
text: string;
|
|
1111
|
-
nextOffset?: number | undefined;
|
|
1110
|
+
error: string;
|
|
1111
|
+
code?: "invalid_input" | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
outputFormat: "json";
|
|
1114
|
-
status:
|
|
1114
|
+
status: 400;
|
|
1115
1115
|
input: {
|
|
1116
1116
|
param: {
|
|
1117
1117
|
workerId: string;
|
|
@@ -1128,11 +1128,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1128
1128
|
"/:workerId/diff": {
|
|
1129
1129
|
$get: {
|
|
1130
1130
|
output: {
|
|
1131
|
-
|
|
1132
|
-
|
|
1131
|
+
workerId: string;
|
|
1132
|
+
baselineSha: string;
|
|
1133
|
+
diff: string;
|
|
1134
|
+
truncated: boolean;
|
|
1133
1135
|
};
|
|
1134
1136
|
outputFormat: "json";
|
|
1135
|
-
status:
|
|
1137
|
+
status: 200;
|
|
1136
1138
|
input: {
|
|
1137
1139
|
param: {
|
|
1138
1140
|
workerId: string;
|
|
@@ -1140,13 +1142,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1140
1142
|
};
|
|
1141
1143
|
} | {
|
|
1142
1144
|
output: {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
diff: string;
|
|
1146
|
-
truncated: boolean;
|
|
1145
|
+
error: string;
|
|
1146
|
+
code?: "invalid_input" | undefined;
|
|
1147
1147
|
};
|
|
1148
1148
|
outputFormat: "json";
|
|
1149
|
-
status:
|
|
1149
|
+
status: 400;
|
|
1150
1150
|
input: {
|
|
1151
1151
|
param: {
|
|
1152
1152
|
workerId: string;
|
|
@@ -42,7 +42,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 400;
|
|
46
46
|
input: {
|
|
47
47
|
query: {
|
|
48
48
|
q?: string | undefined;
|
|
@@ -55,7 +55,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
55
55
|
error: string;
|
|
56
56
|
};
|
|
57
57
|
outputFormat: "json";
|
|
58
|
-
status:
|
|
58
|
+
status: 409;
|
|
59
59
|
input: {
|
|
60
60
|
query: {
|
|
61
61
|
q?: string | undefined;
|
|
@@ -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: {
|
|
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
331
308
|
project?: string | undefined;
|
|
332
309
|
};
|
|
333
310
|
};
|
|
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">;
|
|
@@ -63,17 +63,6 @@ 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
|
-
} | {
|
|
77
66
|
output: {
|
|
78
67
|
project: {
|
|
79
68
|
id: string;
|
|
@@ -105,10 +94,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
105
94
|
agent: boolean;
|
|
106
95
|
}[] | undefined;
|
|
107
96
|
};
|
|
108
|
-
error
|
|
97
|
+
error?: string | undefined;
|
|
109
98
|
};
|
|
110
99
|
outputFormat: "json";
|
|
111
|
-
status:
|
|
100
|
+
status: 200;
|
|
112
101
|
input: {
|
|
113
102
|
json: {
|
|
114
103
|
root: string;
|
|
@@ -146,32 +135,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
146
135
|
agent: boolean;
|
|
147
136
|
}[] | undefined;
|
|
148
137
|
};
|
|
149
|
-
error
|
|
138
|
+
error: string;
|
|
150
139
|
};
|
|
151
140
|
outputFormat: "json";
|
|
152
|
-
status:
|
|
141
|
+
status: 409;
|
|
153
142
|
input: {
|
|
154
143
|
json: {
|
|
155
144
|
root: string;
|
|
156
145
|
};
|
|
157
146
|
};
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
} & {
|
|
161
|
-
"/projects/:projectId": {
|
|
162
|
-
$delete: {
|
|
147
|
+
} | {
|
|
163
148
|
output: {
|
|
164
149
|
error: string;
|
|
165
|
-
code?: "no-boot-project" | undefined;
|
|
166
150
|
};
|
|
167
151
|
outputFormat: "json";
|
|
168
|
-
status:
|
|
152
|
+
status: 400 | 500;
|
|
169
153
|
input: {
|
|
170
|
-
|
|
171
|
-
|
|
154
|
+
json: {
|
|
155
|
+
root: string;
|
|
172
156
|
};
|
|
173
157
|
};
|
|
174
|
-
}
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
} & {
|
|
161
|
+
"/projects/:projectId": {
|
|
162
|
+
$delete: {
|
|
175
163
|
output: {
|
|
176
164
|
error: string;
|
|
177
165
|
};
|
|
@@ -216,11 +204,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
216
204
|
projectId: string;
|
|
217
205
|
};
|
|
218
206
|
};
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
} & {
|
|
222
|
-
"/projects/:projectId": {
|
|
223
|
-
$patch: {
|
|
207
|
+
} | {
|
|
224
208
|
output: {
|
|
225
209
|
error: string;
|
|
226
210
|
code?: "no-boot-project" | undefined;
|
|
@@ -228,21 +212,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
228
212
|
outputFormat: "json";
|
|
229
213
|
status: 404 | 409;
|
|
230
214
|
input: {
|
|
231
|
-
json: {
|
|
232
|
-
maxParallel?: number | null | undefined;
|
|
233
|
-
tags?: string[] | null | undefined;
|
|
234
|
-
webhook?: {
|
|
235
|
-
url: string;
|
|
236
|
-
token?: string | undefined;
|
|
237
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
238
|
-
} | null | undefined;
|
|
239
|
-
};
|
|
240
|
-
} & {
|
|
241
215
|
param: {
|
|
242
216
|
projectId: string;
|
|
243
217
|
};
|
|
244
218
|
};
|
|
245
|
-
}
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
} & {
|
|
222
|
+
"/projects/:projectId": {
|
|
223
|
+
$patch: {
|
|
246
224
|
output: {
|
|
247
225
|
error: string;
|
|
248
226
|
};
|
|
@@ -334,6 +312,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
334
312
|
projectId: string;
|
|
335
313
|
};
|
|
336
314
|
};
|
|
315
|
+
} | {
|
|
316
|
+
output: {
|
|
317
|
+
error: string;
|
|
318
|
+
code?: "no-boot-project" | undefined;
|
|
319
|
+
};
|
|
320
|
+
outputFormat: "json";
|
|
321
|
+
status: 404 | 409;
|
|
322
|
+
input: {
|
|
323
|
+
json: {
|
|
324
|
+
maxParallel?: number | null | undefined;
|
|
325
|
+
tags?: string[] | null | undefined;
|
|
326
|
+
webhook?: {
|
|
327
|
+
url: string;
|
|
328
|
+
token?: string | undefined;
|
|
329
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
330
|
+
} | null | undefined;
|
|
331
|
+
};
|
|
332
|
+
} & {
|
|
333
|
+
param: {
|
|
334
|
+
projectId: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
} & {
|