@hearsay-tools/squawk 0.19.0-pr4565.9057 → 0.19.0-pr4566.9062
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/routes.d.ts +78 -78
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +313 -313
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-ClkfA9Uf.js → accounts-section-BfswfXCZ.js} +1 -1
- package/web/dist/assets/{activity-motion-Gpzgs83T.js → activity-motion-CFx-RRu7.js} +1 -1
- package/web/dist/assets/{activity-route-nt-yys8h.js → activity-route-C2WO0whr.js} +1 -1
- package/web/dist/assets/{agent-config-section-O5uZVaPx.js → agent-config-section-C7DGYIqM.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-m1SMiXk1.js → agent-defaults-section-FxdpHuW8.js} +1 -1
- package/web/dist/assets/{appearance-DTK45i4C.js → appearance-DAxfuDE0.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-Czwu2ff3.js → archive-on-merge-field-BpizlPUF.js} +1 -1
- package/web/dist/assets/{ask-card-Ck-jTGVm.js → ask-card-D3d4Oe4i.js} +1 -1
- package/web/dist/assets/{automations-route-Dq3FOSLL.js → automations-route-BUoBjY9i.js} +1 -1
- package/web/dist/assets/{commit-list-B9_tWq59.js → commit-list-D2Q1MPZh.js} +1 -1
- package/web/dist/assets/{diff-Bo3eeGmc.js → diff-C2sbzjCh.js} +2 -2
- package/web/dist/assets/{diff-controls-qg4bbnzG.js → diff-controls-CZRDx8kC.js} +1 -1
- package/web/dist/assets/{diff-view-in4IugPk.js → diff-view-COw1J8Ia.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-DY6vUtXO.js → discard-changes-dialog-CHo6iyVf.js} +1 -1
- package/web/dist/assets/{file-preview-DoayK4hI.js → file-preview-B0lpYpjU.js} +1 -1
- package/web/dist/assets/{git-toolbar-CzK1Zgor.js → git-toolbar-BeBHkFTl.js} +1 -1
- package/web/dist/assets/{github-C4k5m4wm.js → github-CVzbyq44.js} +1 -1
- package/web/dist/assets/{global-activity-route-DSE9LN7x.js → global-activity-route-BvvO5Ie1.js} +1 -1
- package/web/dist/assets/index-BUmO8olN.css +1 -0
- package/web/dist/assets/{index-MUk3Dyud.js → index-WGWSicA9.js} +4 -4
- package/web/dist/assets/{markdown-DIakhinb.js → markdown-CtFi6cFe.js} +1 -1
- package/web/dist/assets/{option-select-BQWioBrU.js → option-select-CFhKFk8u.js} +1 -1
- package/web/dist/assets/{preferences-section-BHzzi9Fd.js → preferences-section-DfgoVofd.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BEz7PcvI.js → preview-pane-connected-T-WG4X9k.js} +1 -1
- package/web/dist/assets/{project-location-DxuFTx_Q.js → project-location-0VnTd5VW.js} +1 -1
- package/web/dist/assets/{projects-section-Bm3BzvSN.js → projects-section-CwpogbCn.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-Bsjj3Ug_.js → prompt-templates-section-R0rt2Tw4.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BByWobEI.js → remote-settings-notice-BYv4X_Zz.js} +1 -1
- package/web/dist/assets/{repo-git-DckzU7Wv.js → repo-git-j6gBX3Yk.js} +1 -1
- package/web/dist/assets/{report-reader-B8wqnO5R.js → report-reader-UaMV9dLk.js} +1 -1
- package/web/dist/assets/{reports-Cci7lMml.js → reports-1A2Ciyw2.js} +1 -1
- package/web/dist/assets/{resources-section-DqXBvcGr.js → resources-section-CurFgvye.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-CI-ZJHae.js → review-notes-drafts-19pkn2vN.js} +1 -1
- package/web/dist/assets/{review-panel-CqLAl5oa.js → review-panel-DmHITJs8.js} +1 -1
- package/web/dist/assets/{review-strip-CyH6i_2D.js → review-strip-DbtyWCrP.js} +1 -1
- package/web/dist/assets/{run-header-DPMh6giK.js → run-header-BpLDqXvN.js} +2 -2
- package/web/dist/assets/run-header-V9BxPSvn.css +1 -0
- package/web/dist/assets/{select-CCjwocCI.js → select-CBMEsTi0.js} +1 -1
- package/web/dist/assets/{session-context-section-aOSItNr4.js → session-context-section-JUgAAE68.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DupIzGDN.js → settings-agent-picker-_38GTrVo.js} +1 -1
- package/web/dist/assets/{settings-save-bar-CMUN5u6a.js → settings-save-bar-Czqju-k9.js} +1 -1
- package/web/dist/assets/{settings-shell-Cf3yk78m.js → settings-shell-Dpp7fksb.js} +1 -1
- package/web/dist/assets/{sidebar-section-BPvA1zrh.js → sidebar-section-DolOq65h.js} +1 -1
- package/web/dist/assets/{skills-C9U2RP3s.js → skills-C3qgwzNL.js} +1 -1
- package/web/dist/assets/{task-changes-KiE0MH5e.js → task-changes-BJLF9Ucs.js} +1 -1
- package/web/dist/assets/{task-commits-BAm07Tzz.js → task-commits-DYPpdxyk.js} +1 -1
- package/web/dist/assets/{task-file-scope-DKsZ4dhd.js → task-file-scope-BNDrHDCA.js} +1 -1
- package/web/dist/assets/{task-files-A2bbKNW9.js → task-files-Df7x62S3.js} +1 -1
- package/web/dist/assets/{task-github-item-COIsN6-i.js → task-github-item-Bi0FiK3t.js} +1 -1
- package/web/dist/assets/{task-thread-CPM8bUQx.js → task-thread-LZb9EWfU.js} +2 -2
- package/web/dist/assets/{thread-state-DVN2oM8w.js → thread-state-jWJlcg17.js} +1 -1
- package/web/dist/assets/{use-finish-run-XEz4kpVD.js → use-finish-run-jfO-hFXU.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-Ch4dEjwY.js → use-hand-to-agent-state-TAYkI2TF.js} +1 -1
- package/web/dist/assets/use-path-bases-CeKWHR1g.js +1 -0
- package/web/dist/assets/{workflows-BxUkR7YP.js → workflows-Ko0had3b.js} +1 -1
- package/web/dist/assets/{workspace-tools-CmQpBdB9.js → workspace-tools-CtGDE8c4.js} +1 -1
- package/web/dist/assets/{worktrees-section-B7n9D9FE.js → worktrees-section--Q1J4xPE.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-C8nM086t.css +0 -1
- package/web/dist/assets/run-header-788Dmvef.css +0 -1
- package/web/dist/assets/use-path-bases-BRMY4J7j.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
|
} & {
|
|
@@ -27,6 +27,18 @@ 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
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
79
91
|
offset?: string | undefined;
|
|
80
92
|
};
|
|
81
93
|
};
|
|
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,6 +677,18 @@ 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
|
+
} | {
|
|
680
692
|
output: {
|
|
681
693
|
workerId: string;
|
|
682
694
|
settled: boolean;
|
|
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
801
813
|
workerId: string;
|
|
802
814
|
};
|
|
803
815
|
};
|
|
804
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
805
821
|
output: {
|
|
806
822
|
error: string;
|
|
807
823
|
code?: "invalid_input" | undefined;
|
|
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
812
828
|
param: {
|
|
813
829
|
workerId: string;
|
|
814
830
|
};
|
|
831
|
+
} & {
|
|
832
|
+
json: Record<string, never>;
|
|
815
833
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
834
|
+
} | {
|
|
821
835
|
output: {
|
|
822
836
|
workerId: string;
|
|
823
837
|
parentRunId: string;
|
|
@@ -942,7 +956,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
942
956
|
} & {
|
|
943
957
|
json: Record<string, never>;
|
|
944
958
|
};
|
|
945
|
-
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
} & {
|
|
962
|
+
"/:workerId/steer": {
|
|
963
|
+
$post: {
|
|
946
964
|
output: {
|
|
947
965
|
error: string;
|
|
948
966
|
code?: "invalid_input" | undefined;
|
|
@@ -954,13 +972,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
954
972
|
workerId: string;
|
|
955
973
|
};
|
|
956
974
|
} & {
|
|
957
|
-
json:
|
|
975
|
+
json: {
|
|
976
|
+
text: string;
|
|
977
|
+
};
|
|
958
978
|
};
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
"/:workerId/steer": {
|
|
963
|
-
$post: {
|
|
979
|
+
} | {
|
|
964
980
|
output: {
|
|
965
981
|
workerId: string;
|
|
966
982
|
state: "delivered" | "queued";
|
|
@@ -976,7 +992,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
976
992
|
text: string;
|
|
977
993
|
};
|
|
978
994
|
};
|
|
979
|
-
}
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
} & {
|
|
998
|
+
"/:workerId/stop": {
|
|
999
|
+
$post: {
|
|
980
1000
|
output: {
|
|
981
1001
|
error: string;
|
|
982
1002
|
code?: "invalid_input" | undefined;
|
|
@@ -988,15 +1008,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
988
1008
|
workerId: string;
|
|
989
1009
|
};
|
|
990
1010
|
} & {
|
|
991
|
-
json:
|
|
992
|
-
text: string;
|
|
993
|
-
};
|
|
1011
|
+
json: Record<string, never>;
|
|
994
1012
|
};
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
} & {
|
|
998
|
-
"/:workerId/stop": {
|
|
999
|
-
$post: {
|
|
1013
|
+
} | {
|
|
1000
1014
|
output: {
|
|
1001
1015
|
workerId: string;
|
|
1002
1016
|
state: "stopping" | "terminated";
|
|
@@ -1010,7 +1024,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1010
1024
|
} & {
|
|
1011
1025
|
json: Record<string, never>;
|
|
1012
1026
|
};
|
|
1013
|
-
}
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
} & {
|
|
1030
|
+
"/:workerId/destroy": {
|
|
1031
|
+
$post: {
|
|
1014
1032
|
output: {
|
|
1015
1033
|
error: string;
|
|
1016
1034
|
code?: "invalid_input" | undefined;
|
|
@@ -1022,13 +1040,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1022
1040
|
workerId: string;
|
|
1023
1041
|
};
|
|
1024
1042
|
} & {
|
|
1025
|
-
json:
|
|
1043
|
+
json: {
|
|
1044
|
+
discardWork?: true | undefined;
|
|
1045
|
+
};
|
|
1026
1046
|
};
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
"/:workerId/destroy": {
|
|
1031
|
-
$post: {
|
|
1047
|
+
} | {
|
|
1032
1048
|
output: {
|
|
1033
1049
|
workerId: string;
|
|
1034
1050
|
state: "complete" | "incomplete";
|
|
@@ -1057,22 +1073,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1057
1073
|
discardWork?: true | undefined;
|
|
1058
1074
|
};
|
|
1059
1075
|
};
|
|
1060
|
-
} | {
|
|
1061
|
-
output: {
|
|
1062
|
-
error: string;
|
|
1063
|
-
code?: "invalid_input" | undefined;
|
|
1064
|
-
};
|
|
1065
|
-
outputFormat: "json";
|
|
1066
|
-
status: 400;
|
|
1067
|
-
input: {
|
|
1068
|
-
param: {
|
|
1069
|
-
workerId: string;
|
|
1070
|
-
};
|
|
1071
|
-
} & {
|
|
1072
|
-
json: {
|
|
1073
|
-
discardWork?: true | undefined;
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
1076
|
} | {
|
|
1077
1077
|
output: {
|
|
1078
1078
|
workerId: string;
|
|
@@ -1108,18 +1108,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1108
1108
|
"/:workerId/summary": {
|
|
1109
1109
|
$post: {
|
|
1110
1110
|
output: {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
source: "assistant" | "failure";
|
|
1114
|
-
seq: number;
|
|
1115
|
-
totalLines: number;
|
|
1116
|
-
offset: number;
|
|
1117
|
-
lineCount: number;
|
|
1118
|
-
text: string;
|
|
1119
|
-
nextOffset?: number | undefined;
|
|
1111
|
+
error: string;
|
|
1112
|
+
code?: "invalid_input" | undefined;
|
|
1120
1113
|
};
|
|
1121
1114
|
outputFormat: "json";
|
|
1122
|
-
status:
|
|
1115
|
+
status: 400;
|
|
1123
1116
|
input: {
|
|
1124
1117
|
param: {
|
|
1125
1118
|
workerId: string;
|
|
@@ -1132,11 +1125,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1132
1125
|
};
|
|
1133
1126
|
} | {
|
|
1134
1127
|
output: {
|
|
1135
|
-
|
|
1136
|
-
|
|
1128
|
+
workerId: string;
|
|
1129
|
+
revision: number;
|
|
1130
|
+
source: "assistant" | "failure";
|
|
1131
|
+
seq: number;
|
|
1132
|
+
totalLines: number;
|
|
1133
|
+
offset: number;
|
|
1134
|
+
lineCount: number;
|
|
1135
|
+
text: string;
|
|
1136
|
+
nextOffset?: number | undefined;
|
|
1137
1137
|
};
|
|
1138
1138
|
outputFormat: "json";
|
|
1139
|
-
status:
|
|
1139
|
+
status: 200;
|
|
1140
1140
|
input: {
|
|
1141
1141
|
param: {
|
|
1142
1142
|
workerId: string;
|
|
@@ -1153,13 +1153,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1153
1153
|
"/:workerId/diff": {
|
|
1154
1154
|
$get: {
|
|
1155
1155
|
output: {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
diff: string;
|
|
1159
|
-
truncated: boolean;
|
|
1156
|
+
error: string;
|
|
1157
|
+
code?: "invalid_input" | undefined;
|
|
1160
1158
|
};
|
|
1161
1159
|
outputFormat: "json";
|
|
1162
|
-
status:
|
|
1160
|
+
status: 400;
|
|
1163
1161
|
input: {
|
|
1164
1162
|
param: {
|
|
1165
1163
|
workerId: string;
|
|
@@ -1167,11 +1165,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1167
1165
|
};
|
|
1168
1166
|
} | {
|
|
1169
1167
|
output: {
|
|
1170
|
-
|
|
1171
|
-
|
|
1168
|
+
workerId: string;
|
|
1169
|
+
baselineSha: string;
|
|
1170
|
+
diff: string;
|
|
1171
|
+
truncated: boolean;
|
|
1172
1172
|
};
|
|
1173
1173
|
outputFormat: "json";
|
|
1174
|
-
status:
|
|
1174
|
+
status: 200;
|
|
1175
1175
|
input: {
|
|
1176
1176
|
param: {
|
|
1177
1177
|
workerId: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 409;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 400;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: string;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 409;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 400;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
142
|
-
worktreeReclaimedAt: string;
|
|
141
|
+
error: string;
|
|
143
142
|
};
|
|
144
143
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
144
|
+
status: 404 | 409;
|
|
146
145
|
input: {
|
|
147
146
|
param: {
|
|
148
147
|
runId: string;
|
|
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
154
153
|
};
|
|
155
154
|
} | {
|
|
156
155
|
output: {
|
|
157
|
-
|
|
156
|
+
runId: string;
|
|
157
|
+
worktreeReclaimedAt: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,18 +296,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
error: string;
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
-
dropped?: {
|
|
305
|
-
sha: string;
|
|
306
|
-
subject: string;
|
|
307
|
-
}[] | undefined;
|
|
308
304
|
};
|
|
309
305
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
306
|
+
status: 409;
|
|
311
307
|
input: {
|
|
312
308
|
json: {
|
|
313
309
|
names: string[];
|
|
@@ -316,14 +312,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
316
312
|
};
|
|
317
313
|
} | {
|
|
318
314
|
output: {
|
|
319
|
-
|
|
315
|
+
deleted: string[];
|
|
320
316
|
refused: {
|
|
321
317
|
name: string;
|
|
322
318
|
reason: string;
|
|
323
319
|
}[];
|
|
320
|
+
dropped?: {
|
|
321
|
+
sha: string;
|
|
322
|
+
subject: string;
|
|
323
|
+
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 200;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,6 +344,19 @@ 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
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
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
|
} & {
|
|
@@ -442,10 +442,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
445
|
+
type: 'file';
|
|
446
|
+
path: string;
|
|
447
|
+
size: number;
|
|
448
|
+
binary: boolean;
|
|
449
|
+
tooLarge: boolean;
|
|
450
|
+
content?: string | undefined;
|
|
446
451
|
};
|
|
447
452
|
outputFormat: "json";
|
|
448
|
-
status:
|
|
453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
449
454
|
input: {
|
|
450
455
|
param: {
|
|
451
456
|
sha: string;
|
|
@@ -457,15 +462,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
457
462
|
};
|
|
458
463
|
} | {
|
|
459
464
|
output: {
|
|
460
|
-
|
|
461
|
-
path: string;
|
|
462
|
-
size: number;
|
|
463
|
-
binary: boolean;
|
|
464
|
-
tooLarge: boolean;
|
|
465
|
-
content?: string | undefined;
|
|
465
|
+
error: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 409;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,10 +493,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
496
|
+
type: 'file';
|
|
497
|
+
path: string;
|
|
498
|
+
size: number;
|
|
499
|
+
binary: boolean;
|
|
500
|
+
tooLarge: boolean;
|
|
501
|
+
content?: string | undefined;
|
|
497
502
|
};
|
|
498
503
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
504
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
500
505
|
input: {
|
|
501
506
|
query: {
|
|
502
507
|
path: string | string[];
|
|
@@ -504,15 +509,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
504
509
|
};
|
|
505
510
|
} | {
|
|
506
511
|
output: {
|
|
507
|
-
|
|
508
|
-
path: string;
|
|
509
|
-
size: number;
|
|
510
|
-
binary: boolean;
|
|
511
|
-
tooLarge: boolean;
|
|
512
|
-
content?: string | undefined;
|
|
512
|
+
error: string;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: 409;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,12 +578,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
582
|
-
pulled: true;
|
|
583
|
-
summary: string;
|
|
581
|
+
error: string;
|
|
584
582
|
};
|
|
585
583
|
outputFormat: "json";
|
|
586
|
-
status:
|
|
584
|
+
status: 409;
|
|
587
585
|
input: {
|
|
588
586
|
json: {
|
|
589
587
|
branch?: string | undefined;
|
|
@@ -592,10 +590,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
branch: string;
|
|
594
|
+
pulled: true;
|
|
595
|
+
summary: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 200;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -58,15 +58,11 @@ export declare function createRunnersRoutes(options: {
|
|
|
58
58
|
"/runner-install/:runner": {
|
|
59
59
|
$post: {
|
|
60
60
|
output: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
latestVersion: string | null;
|
|
64
|
-
updateAvailable: boolean;
|
|
65
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
66
|
-
error: string | null;
|
|
61
|
+
error: string;
|
|
62
|
+
code?: "invalid_input" | undefined;
|
|
67
63
|
};
|
|
68
64
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
65
|
+
status: 400;
|
|
70
66
|
input: {
|
|
71
67
|
param: {
|
|
72
68
|
runner: string;
|
|
@@ -78,11 +74,15 @@ export declare function createRunnersRoutes(options: {
|
|
|
78
74
|
};
|
|
79
75
|
} | {
|
|
80
76
|
output: {
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
supported: boolean;
|
|
78
|
+
installedVersion: string | null;
|
|
79
|
+
latestVersion: string | null;
|
|
80
|
+
updateAvailable: boolean;
|
|
81
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
82
|
+
error: string | null;
|
|
83
83
|
};
|
|
84
84
|
outputFormat: "json";
|
|
85
|
-
status:
|
|
85
|
+
status: 202;
|
|
86
86
|
input: {
|
|
87
87
|
param: {
|
|
88
88
|
runner: string;
|