@hearsay-tools/squawk 0.19.0-pr4564.9050 → 0.19.0-pr4564.9052
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 +334 -334
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-6maSAsJt.js → accounts-section-DCbUkmUg.js} +1 -1
- package/web/dist/assets/{activity-motion-2ckGi01V.js → activity-motion-DRc6iqbI.js} +1 -1
- package/web/dist/assets/{activity-route-2I944jwR.js → activity-route-gPFdfmfL.js} +1 -1
- package/web/dist/assets/{agent-config-section--zfrJO8b.js → agent-config-section-CCAzWb2g.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Cu3gS_Jo.js → agent-defaults-section-BFX4S_BA.js} +1 -1
- package/web/dist/assets/{appearance-DUefmqo9.js → appearance-D4YJRrOL.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-Do2X4sBM.js → archive-on-merge-field-CKjvp48u.js} +1 -1
- package/web/dist/assets/{automations-route-BVFd7SeR.js → automations-route-C1XFhlbB.js} +1 -1
- package/web/dist/assets/{commit-list-okUEljEG.js → commit-list-DLQ7O5OO.js} +1 -1
- package/web/dist/assets/{diff-o-UDJ2RE.js → diff-C0LjTF2w.js} +2 -2
- package/web/dist/assets/{diff-controls-CRJ2Qfbb.js → diff-controls-D64p25fv.js} +1 -1
- package/web/dist/assets/{diff-view-D4yGYS9C.js → diff-view-x1YYhG2M.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-uHeDnRFZ.js → discard-changes-dialog-Br2G_741.js} +1 -1
- package/web/dist/assets/{file-preview-B37EVTqv.js → file-preview-CFfOnVmV.js} +1 -1
- package/web/dist/assets/{folder-browser-BF7yByS9.js → folder-browser-_AsIgJWq.js} +1 -1
- package/web/dist/assets/{git-toolbar-DKZehSdA.js → git-toolbar-DX5iJfat.js} +1 -1
- package/web/dist/assets/{github-DmB9tnIb.js → github-C3_JKokz.js} +1 -1
- package/web/dist/assets/{global-activity-route-BkDu06si.js → global-activity-route-DtTFyC4X.js} +1 -1
- package/web/dist/assets/{index-BI3glGOM.js → index-CioSZTip.js} +5 -5
- package/web/dist/assets/{label-CR3x1nrW.js → label-ChtTiSfl.js} +1 -1
- package/web/dist/assets/{markdown-DIvVclXt.js → markdown-hW4zA08O.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bc0mf1Q8.js → open-in-menu-DszemEE7.js} +1 -1
- package/web/dist/assets/{option-select-jRSeVdmG.js → option-select-CIdpAHiq.js} +1 -1
- package/web/dist/assets/{preferences-section-B8cufiat.js → preferences-section-DKYgHGXO.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-ciRgTMV4.js → preview-pane-connected-Cgtt2Hxk.js} +1 -1
- package/web/dist/assets/{project-location-BcmeWSjQ.js → project-location-BfQfx4fk.js} +1 -1
- package/web/dist/assets/{projects-section-B4JJuB75.js → projects-section-VbBEKB8g.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-bovd2ULK.js → prompt-templates-section-Cj0J8H2C.js} +1 -1
- package/web/dist/assets/{queries-C7Ps3qgO.js → queries-DUNxXHjz.js} +1 -1
- package/web/dist/assets/{reference-chip-D0zVVSpi.js → reference-chip-doEQfu3U.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-TR1fwO0C.js → remote-settings-notice-Qrg4jgQt.js} +1 -1
- package/web/dist/assets/{repo-git-ER2cNas6.js → repo-git-CCY4Pqom.js} +1 -1
- package/web/dist/assets/{report-reader-BxBnRfHb.js → report-reader-DiC9R8xK.js} +1 -1
- package/web/dist/assets/{report-selection-D73fe0ma.js → report-selection-BknxdjcZ.js} +1 -1
- package/web/dist/assets/{reports-jiSmLK1M.js → reports-BSP-tR2E.js} +1 -1
- package/web/dist/assets/{resources-section-BHBw18Kd.js → resources-section-DrjCtVOe.js} +1 -1
- package/web/dist/assets/{review-panel-DA2YgxkG.js → review-panel-BzEqZ4vN.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-B4MGFY0x.js → run-detail-refresh-C41ElUbY.js} +1 -1
- package/web/dist/assets/{run-header-BBsXrvF4.js → run-header-Cfj3M7kw.js} +1 -1
- package/web/dist/assets/{select-SNjNDDvi.js → select-C657yYsy.js} +1 -1
- package/web/dist/assets/{session-context-section-DJpLtLRJ.js → session-context-section-u7lbtkCg.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-CC0ojY-I.js → settings-agent-picker-Czpk7gPL.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DDH5LZnC.js → settings-save-bar-johtXUvL.js} +1 -1
- package/web/dist/assets/{settings-shell-DrBSckNn.js → settings-shell-BcxrOC3e.js} +1 -1
- package/web/dist/assets/{sidebar-section-BTjcF-KU.js → sidebar-section-BQRN4ZYg.js} +1 -1
- package/web/dist/assets/{skills-D7qOIuFK.js → skills-Bc46IMlE.js} +1 -1
- package/web/dist/assets/{task-changes-CKfPnOaO.js → task-changes-D6VTSRlV.js} +1 -1
- package/web/dist/assets/{task-commits-BLiq1qsZ.js → task-commits-vuZaNXon.js} +1 -1
- package/web/dist/assets/{task-file-scope-C277fbSR.js → task-file-scope-DDykuyv4.js} +1 -1
- package/web/dist/assets/{task-files-cOnEUKs3.js → task-files-DTCPHwJJ.js} +1 -1
- package/web/dist/assets/{task-github-item-J7LFh_Kd.js → task-github-item-CZy2JvBH.js} +1 -1
- package/web/dist/assets/{task-groups-B7v_DBPP.js → task-groups-BE0kQ_7N.js} +1 -1
- package/web/dist/assets/{task-thread-BfLYIJZb.js → task-thread-rAxfa3Q8.js} +1 -1
- package/web/dist/assets/{thread-state-ClJxRWSd.js → thread-state-B2c7BMdy.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DBd7nKiU.js → use-hand-to-agent-state-WMbn2ihC.js} +1 -1
- package/web/dist/assets/use-path-bases-8fHnRkf6.js +1 -0
- package/web/dist/assets/{use-workspace-config-save-DL2b0h2K.js → use-workspace-config-save-BQs3YZx-.js} +1 -1
- package/web/dist/assets/{workflows-Clhyfufk.js → workflows-Dmf-3OfT.js} +1 -1
- package/web/dist/assets/{workspace-tools-ChfTGxIP.js → workspace-tools-U9f8UfqZ.js} +1 -1
- package/web/dist/assets/{worktrees-section-w-A9RL4F.js → worktrees-section-B3JTfmHe.js} +1 -1
- package/web/dist/index.html +9 -9
- package/web/dist/assets/use-path-bases-BNMkgxOJ.js +0 -1
|
@@ -121,9 +121,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
124
|
+
output: {
|
|
125
|
+
code: string;
|
|
126
|
+
message: string;
|
|
127
|
+
};
|
|
125
128
|
outputFormat: "json";
|
|
126
|
-
status:
|
|
129
|
+
status: 401;
|
|
127
130
|
input: {
|
|
128
131
|
json: unknown;
|
|
129
132
|
} & {
|
|
@@ -146,12 +149,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
146
149
|
};
|
|
147
150
|
};
|
|
148
151
|
} | {
|
|
149
|
-
output:
|
|
150
|
-
code: string;
|
|
151
|
-
message: string;
|
|
152
|
-
};
|
|
152
|
+
output: never;
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -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;
|
|
@@ -956,11 +942,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
956
942
|
} & {
|
|
957
943
|
json: Record<string, never>;
|
|
958
944
|
};
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
"/:workerId/steer": {
|
|
963
|
-
$post: {
|
|
945
|
+
} | {
|
|
964
946
|
output: {
|
|
965
947
|
error: string;
|
|
966
948
|
code?: "invalid_input" | undefined;
|
|
@@ -972,11 +954,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
972
954
|
workerId: string;
|
|
973
955
|
};
|
|
974
956
|
} & {
|
|
975
|
-
json:
|
|
976
|
-
text: string;
|
|
977
|
-
};
|
|
957
|
+
json: Record<string, never>;
|
|
978
958
|
};
|
|
979
|
-
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
} & {
|
|
962
|
+
"/:workerId/steer": {
|
|
963
|
+
$post: {
|
|
980
964
|
output: {
|
|
981
965
|
workerId: string;
|
|
982
966
|
state: "delivered" | "queued";
|
|
@@ -992,11 +976,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
992
976
|
text: string;
|
|
993
977
|
};
|
|
994
978
|
};
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
} & {
|
|
998
|
-
"/:workerId/stop": {
|
|
999
|
-
$post: {
|
|
979
|
+
} | {
|
|
1000
980
|
output: {
|
|
1001
981
|
error: string;
|
|
1002
982
|
code?: "invalid_input" | undefined;
|
|
@@ -1008,9 +988,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
988
|
workerId: string;
|
|
1009
989
|
};
|
|
1010
990
|
} & {
|
|
1011
|
-
json:
|
|
991
|
+
json: {
|
|
992
|
+
text: string;
|
|
993
|
+
};
|
|
1012
994
|
};
|
|
1013
|
-
}
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
} & {
|
|
998
|
+
"/:workerId/stop": {
|
|
999
|
+
$post: {
|
|
1014
1000
|
output: {
|
|
1015
1001
|
workerId: string;
|
|
1016
1002
|
state: "stopping" | "terminated";
|
|
@@ -1024,11 +1010,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1024
1010
|
} & {
|
|
1025
1011
|
json: Record<string, never>;
|
|
1026
1012
|
};
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
"/:workerId/destroy": {
|
|
1031
|
-
$post: {
|
|
1013
|
+
} | {
|
|
1032
1014
|
output: {
|
|
1033
1015
|
error: string;
|
|
1034
1016
|
code?: "invalid_input" | undefined;
|
|
@@ -1040,11 +1022,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1040
1022
|
workerId: string;
|
|
1041
1023
|
};
|
|
1042
1024
|
} & {
|
|
1043
|
-
json:
|
|
1044
|
-
discardWork?: true | undefined;
|
|
1045
|
-
};
|
|
1025
|
+
json: Record<string, never>;
|
|
1046
1026
|
};
|
|
1047
|
-
}
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
} & {
|
|
1030
|
+
"/:workerId/destroy": {
|
|
1031
|
+
$post: {
|
|
1048
1032
|
output: {
|
|
1049
1033
|
workerId: string;
|
|
1050
1034
|
state: "complete" | "incomplete";
|
|
@@ -1073,6 +1057,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1073
1057
|
discardWork?: true | undefined;
|
|
1074
1058
|
};
|
|
1075
1059
|
};
|
|
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,11 +1108,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1108
1108
|
"/:workerId/summary": {
|
|
1109
1109
|
$post: {
|
|
1110
1110
|
output: {
|
|
1111
|
-
|
|
1112
|
-
|
|
1111
|
+
workerId: string;
|
|
1112
|
+
revision: number;
|
|
1113
|
+
source: "assistant" | "failure";
|
|
1114
|
+
seq: number;
|
|
1115
|
+
totalLines: number;
|
|
1116
|
+
offset: number;
|
|
1117
|
+
lineCount: number;
|
|
1118
|
+
text: string;
|
|
1119
|
+
nextOffset?: number | undefined;
|
|
1113
1120
|
};
|
|
1114
1121
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1122
|
+
status: 200;
|
|
1116
1123
|
input: {
|
|
1117
1124
|
param: {
|
|
1118
1125
|
workerId: string;
|
|
@@ -1125,18 +1132,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1125
1132
|
};
|
|
1126
1133
|
} | {
|
|
1127
1134
|
output: {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
source: "assistant" | "failure";
|
|
1131
|
-
seq: number;
|
|
1132
|
-
totalLines: number;
|
|
1133
|
-
offset: number;
|
|
1134
|
-
lineCount: number;
|
|
1135
|
-
text: string;
|
|
1136
|
-
nextOffset?: number | undefined;
|
|
1135
|
+
error: string;
|
|
1136
|
+
code?: "invalid_input" | undefined;
|
|
1137
1137
|
};
|
|
1138
1138
|
outputFormat: "json";
|
|
1139
|
-
status:
|
|
1139
|
+
status: 400;
|
|
1140
1140
|
input: {
|
|
1141
1141
|
param: {
|
|
1142
1142
|
workerId: string;
|
|
@@ -1153,11 +1153,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1153
1153
|
"/:workerId/diff": {
|
|
1154
1154
|
$get: {
|
|
1155
1155
|
output: {
|
|
1156
|
-
|
|
1157
|
-
|
|
1156
|
+
workerId: string;
|
|
1157
|
+
baselineSha: string;
|
|
1158
|
+
diff: string;
|
|
1159
|
+
truncated: boolean;
|
|
1158
1160
|
};
|
|
1159
1161
|
outputFormat: "json";
|
|
1160
|
-
status:
|
|
1162
|
+
status: 200;
|
|
1161
1163
|
input: {
|
|
1162
1164
|
param: {
|
|
1163
1165
|
workerId: string;
|
|
@@ -1165,13 +1167,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1165
1167
|
};
|
|
1166
1168
|
} | {
|
|
1167
1169
|
output: {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
diff: string;
|
|
1171
|
-
truncated: boolean;
|
|
1170
|
+
error: string;
|
|
1171
|
+
code?: "invalid_input" | undefined;
|
|
1172
1172
|
};
|
|
1173
1173
|
outputFormat: "json";
|
|
1174
|
-
status:
|
|
1174
|
+
status: 400;
|
|
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: 400;
|
|
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: 409;
|
|
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: 400;
|
|
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: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,10 +138,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
141
|
+
runId: string;
|
|
142
|
+
worktreeReclaimedAt: string;
|
|
142
143
|
};
|
|
143
144
|
outputFormat: "json";
|
|
144
|
-
status:
|
|
145
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
145
146
|
input: {
|
|
146
147
|
param: {
|
|
147
148
|
runId: string;
|
|
@@ -153,11 +154,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
153
154
|
};
|
|
154
155
|
} | {
|
|
155
156
|
output: {
|
|
156
|
-
|
|
157
|
-
worktreeReclaimedAt: string;
|
|
157
|
+
error: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: 404 | 409;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,14 +296,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
deleted: string[];
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
+
dropped?: {
|
|
305
|
+
sha: string;
|
|
306
|
+
subject: string;
|
|
307
|
+
}[] | undefined;
|
|
304
308
|
};
|
|
305
309
|
outputFormat: "json";
|
|
306
|
-
status:
|
|
310
|
+
status: 200;
|
|
307
311
|
input: {
|
|
308
312
|
json: {
|
|
309
313
|
names: string[];
|
|
@@ -312,18 +316,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
312
316
|
};
|
|
313
317
|
} | {
|
|
314
318
|
output: {
|
|
315
|
-
|
|
319
|
+
error: string;
|
|
316
320
|
refused: {
|
|
317
321
|
name: string;
|
|
318
322
|
reason: string;
|
|
319
323
|
}[];
|
|
320
|
-
dropped?: {
|
|
321
|
-
sha: string;
|
|
322
|
-
subject: string;
|
|
323
|
-
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 409;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: 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
|
} & {
|
|
@@ -442,15 +442,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
path: string;
|
|
447
|
-
size: number;
|
|
448
|
-
binary: boolean;
|
|
449
|
-
tooLarge: boolean;
|
|
450
|
-
content?: string | undefined;
|
|
445
|
+
error: string;
|
|
451
446
|
};
|
|
452
447
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
448
|
+
status: 409;
|
|
454
449
|
input: {
|
|
455
450
|
param: {
|
|
456
451
|
sha: string;
|
|
@@ -462,10 +457,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
462
457
|
};
|
|
463
458
|
} | {
|
|
464
459
|
output: {
|
|
465
|
-
|
|
460
|
+
type: 'file';
|
|
461
|
+
path: string;
|
|
462
|
+
size: number;
|
|
463
|
+
binary: boolean;
|
|
464
|
+
tooLarge: boolean;
|
|
465
|
+
content?: string | undefined;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,15 +493,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
497
|
-
path: string;
|
|
498
|
-
size: number;
|
|
499
|
-
binary: boolean;
|
|
500
|
-
tooLarge: boolean;
|
|
501
|
-
content?: string | undefined;
|
|
496
|
+
error: string;
|
|
502
497
|
};
|
|
503
498
|
outputFormat: "json";
|
|
504
|
-
status:
|
|
499
|
+
status: 409;
|
|
505
500
|
input: {
|
|
506
501
|
query: {
|
|
507
502
|
path: string | string[];
|
|
@@ -509,10 +504,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
509
504
|
};
|
|
510
505
|
} | {
|
|
511
506
|
output: {
|
|
512
|
-
|
|
507
|
+
type: 'file';
|
|
508
|
+
path: string;
|
|
509
|
+
size: number;
|
|
510
|
+
binary: boolean;
|
|
511
|
+
tooLarge: boolean;
|
|
512
|
+
content?: string | undefined;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,10 +578,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
581
|
+
branch: string;
|
|
582
|
+
pulled: true;
|
|
583
|
+
summary: string;
|
|
582
584
|
};
|
|
583
585
|
outputFormat: "json";
|
|
584
|
-
status:
|
|
586
|
+
status: 200;
|
|
585
587
|
input: {
|
|
586
588
|
json: {
|
|
587
589
|
branch?: string | undefined;
|
|
@@ -590,12 +592,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
590
592
|
};
|
|
591
593
|
} | {
|
|
592
594
|
output: {
|
|
593
|
-
|
|
594
|
-
pulled: true;
|
|
595
|
-
summary: string;
|
|
595
|
+
error: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 409;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -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;
|