@hearsay-tools/squawk 0.19.0-dev.9298 → 0.19.0-dev.9303
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/server/repo-routes.d.ts +52 -52
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BHP8K_nY.js → accounts-section-D0fD5_oC.js} +1 -1
- package/web/dist/assets/{activity-motion-DEEIuaki.js → activity-motion-Bvti-WsN.js} +1 -1
- package/web/dist/assets/{activity-route-vtZmQsDB.js → activity-route-DpCed1FK.js} +1 -1
- package/web/dist/assets/{agent-config-section-CbnVaIx7.js → agent-config-section-Dg3CHyQg.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Blxd9IpY.js → agent-defaults-section-DUnbC2jD.js} +1 -1
- package/web/dist/assets/{appearance-B_y9StVj.js → appearance-BIkspcin.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DlChylWt.js → archive-on-merge-field-ums1XG7J.js} +1 -1
- package/web/dist/assets/{ask-card-DzWKRJ1x.js → ask-card-BzL2ast4.js} +1 -1
- package/web/dist/assets/{automations-route-DxE9u9p0.js → automations-route-DoQyJjq7.js} +1 -1
- package/web/dist/assets/{commit-list-SxBDO_q5.js → commit-list-_gC1WeK7.js} +1 -1
- package/web/dist/assets/{diff-B6Ye5Xg9.js → diff-C2uXVNqT.js} +2 -2
- package/web/dist/assets/{diff-controls-BFQOIJ97.js → diff-controls-Cdyu5VmQ.js} +1 -1
- package/web/dist/assets/{diff-view-BkF3xtYW.js → diff-view-CO-DUaDR.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-CaS0koto.js → discard-changes-dialog-DMdSF5NI.js} +1 -1
- package/web/dist/assets/{file-preview-ByWn2eDz.js → file-preview-B_hRLwNb.js} +1 -1
- package/web/dist/assets/{git-toolbar-COI-N232.js → git-toolbar-CPJHgx_i.js} +1 -1
- package/web/dist/assets/{github-CAQJIg-J.js → github-jWNYNhlm.js} +1 -1
- package/web/dist/assets/{global-activity-route-99-UqSlC.js → global-activity-route-DEQNisSg.js} +1 -1
- package/web/dist/assets/{index-BAXboPqe.js → index-DFbBULI2.js} +4 -4
- package/web/dist/assets/{index-B5vWsR62.css → index-DK3IHEql.css} +1 -1
- package/web/dist/assets/{markdown-D7p7x8Pe.js → markdown-zOvCJUWD.js} +1 -1
- package/web/dist/assets/{option-select-BvsSDWBz.js → option-select-DxfdyXNu.js} +1 -1
- package/web/dist/assets/{preferences-section-DkdcKxmS.js → preferences-section-C716_p4g.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-B3f0fR6q.js → preview-pane-connected-DLWk_Eig.js} +1 -1
- package/web/dist/assets/{project-location-CvZY7aOx.js → project-location-BiihGhiY.js} +1 -1
- package/web/dist/assets/{projects-section-DGzDfKN_.js → projects-section-BTk3C5Li.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DbHe-j9Z.js → prompt-templates-section-DcySeJWP.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-ByPYNQyB.js → remote-settings-notice-B4FNidkI.js} +1 -1
- package/web/dist/assets/{repo-git-4rKalM-L.js → repo-git-CDt8HAv5.js} +1 -1
- package/web/dist/assets/{report-reader-IAYhP0KQ.js → report-reader-CBurj3TL.js} +1 -1
- package/web/dist/assets/{reports-BP_hajNp.js → reports-Bk1C9SrI.js} +1 -1
- package/web/dist/assets/{resources-section-QNbLbu3j.js → resources-section-C5xzoOVU.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-CB8u-M0E.js → review-notes-drafts-D-0B4Hfk.js} +1 -1
- package/web/dist/assets/{review-panel-Bw8yG2xg.js → review-panel-DxpdPY11.js} +1 -1
- package/web/dist/assets/{review-strip-BojRnCkg.js → review-strip-B8iISCGG.js} +1 -1
- package/web/dist/assets/{run-diff-CMZgQG9B.js → run-diff-BdPIyvG8.js} +1 -1
- package/web/dist/assets/{run-header-D7LZBbaL.js → run-header-UuSi3Rs3.js} +1 -1
- package/web/dist/assets/{select-D9BIA_Kn.js → select-B-01knTg.js} +1 -1
- package/web/dist/assets/{session-context-section-CxFRidmv.js → session-context-section-Lnl20eGo.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-Cy_ZpuNd.js → settings-agent-picker-BMlPxA7u.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DzbndGGQ.js → settings-save-bar-C874vU-b.js} +1 -1
- package/web/dist/assets/{settings-shell-DS8k_xP6.js → settings-shell-BRURc5-1.js} +1 -1
- package/web/dist/assets/{sidebar-section-CY978tNF.js → sidebar-section-DTyi7yiX.js} +1 -1
- package/web/dist/assets/{skills-WZ5YRCbF.js → skills-CYWEus3G.js} +1 -1
- package/web/dist/assets/{task-changes-Dd2KHRQ6.js → task-changes-T9Ov77_d.js} +1 -1
- package/web/dist/assets/{task-commits-De0FVgKP.js → task-commits-Du0Ej96B.js} +1 -1
- package/web/dist/assets/{task-file-scope-C_cr_ix-.js → task-file-scope-Cf1g6fmN.js} +1 -1
- package/web/dist/assets/{task-files-resMdu9u.js → task-files-DNjY1qDW.js} +1 -1
- package/web/dist/assets/{task-github-item-Hz1RbO88.js → task-github-item-CV5xCa1c.js} +1 -1
- package/web/dist/assets/{task-thread-D7vUf0g7.js → task-thread-CW7L2byD.js} +1 -1
- package/web/dist/assets/{thread-state-Bjh3rImx.js → thread-state-DtyCRKlh.js} +1 -1
- package/web/dist/assets/{unified-diff-weWjKedZ.js → unified-diff-BYQqKg7r.js} +1 -1
- package/web/dist/assets/{use-finish-run-BuyJkeEN.js → use-finish-run-ChTdSBCK.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CSDPzpM7.js → use-hand-to-agent-state-Cp55yL0Z.js} +1 -1
- package/web/dist/assets/use-path-bases-Bfn7xDeC.js +1 -0
- package/web/dist/assets/{workflows-DtnnAq4w.js → workflows-Cgm-NY9Q.js} +1 -1
- package/web/dist/assets/{workspace-tools-CSLTEwLa.js → workspace-tools-Cm4efDvO.js} +1 -1
- package/web/dist/assets/{worktrees-section-Crp31i8F.js → worktrees-section-Bt9waGZ3.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/use-path-bases-DgEkRWYi.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;
|
|
@@ -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;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -5048,6 +5048,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5048
5048
|
} & {
|
|
5049
5049
|
"/repo/commit/:sha": {
|
|
5050
5050
|
$get: {
|
|
5051
|
+
output: string;
|
|
5052
|
+
outputFormat: "text";
|
|
5053
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5054
|
+
input: {
|
|
5055
|
+
query: {
|
|
5056
|
+
structured?: string | undefined;
|
|
5057
|
+
};
|
|
5058
|
+
} & {
|
|
5059
|
+
param: {
|
|
5060
|
+
sha: string;
|
|
5061
|
+
};
|
|
5062
|
+
};
|
|
5063
|
+
} | {
|
|
5051
5064
|
output: {
|
|
5052
5065
|
error: string;
|
|
5053
5066
|
code?: "invalid_input" | undefined;
|
|
@@ -5111,19 +5124,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5111
5124
|
sha: string;
|
|
5112
5125
|
};
|
|
5113
5126
|
};
|
|
5114
|
-
} | {
|
|
5115
|
-
output: string;
|
|
5116
|
-
outputFormat: "text";
|
|
5117
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5118
|
-
input: {
|
|
5119
|
-
query: {
|
|
5120
|
-
structured?: string | undefined;
|
|
5121
|
-
};
|
|
5122
|
-
} & {
|
|
5123
|
-
param: {
|
|
5124
|
-
sha: string;
|
|
5125
|
-
};
|
|
5126
|
-
};
|
|
5127
5127
|
};
|
|
5128
5128
|
};
|
|
5129
5129
|
} & {
|
|
@@ -17783,20 +17783,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17783
17783
|
} & {
|
|
17784
17784
|
"/runs/:id/handoff": {
|
|
17785
17785
|
$get: {
|
|
17786
|
-
output:
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
outputFormat: "json";
|
|
17790
|
-
status: 404;
|
|
17786
|
+
output: string;
|
|
17787
|
+
outputFormat: "text";
|
|
17788
|
+
status: 200;
|
|
17791
17789
|
input: {
|
|
17792
17790
|
param: {
|
|
17793
17791
|
id: string;
|
|
17794
17792
|
};
|
|
17795
17793
|
};
|
|
17796
17794
|
} | {
|
|
17797
|
-
output:
|
|
17798
|
-
|
|
17799
|
-
|
|
17795
|
+
output: {
|
|
17796
|
+
error: string;
|
|
17797
|
+
};
|
|
17798
|
+
outputFormat: "json";
|
|
17799
|
+
status: 404;
|
|
17800
17800
|
input: {
|
|
17801
17801
|
param: {
|
|
17802
17802
|
id: string;
|
|
@@ -18012,20 +18012,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18012
18012
|
} & {
|
|
18013
18013
|
"/runs/:id/diff": {
|
|
18014
18014
|
$get: {
|
|
18015
|
-
output:
|
|
18016
|
-
|
|
18017
|
-
|
|
18018
|
-
outputFormat: "json";
|
|
18019
|
-
status: 404 | 409;
|
|
18015
|
+
output: string;
|
|
18016
|
+
outputFormat: "text";
|
|
18017
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18020
18018
|
input: {
|
|
18021
18019
|
param: {
|
|
18022
18020
|
id: string;
|
|
18023
18021
|
};
|
|
18024
18022
|
};
|
|
18025
18023
|
} | {
|
|
18026
|
-
output:
|
|
18027
|
-
|
|
18028
|
-
|
|
18024
|
+
output: {
|
|
18025
|
+
error: string;
|
|
18026
|
+
};
|
|
18027
|
+
outputFormat: "json";
|
|
18028
|
+
status: 404 | 409;
|
|
18029
18029
|
input: {
|
|
18030
18030
|
param: {
|
|
18031
18031
|
id: string;
|
|
@@ -20839,6 +20839,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20839
20839
|
} & {
|
|
20840
20840
|
"/repo/commit/:sha": {
|
|
20841
20841
|
$get: {
|
|
20842
|
+
output: string;
|
|
20843
|
+
outputFormat: "text";
|
|
20844
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20845
|
+
input: {
|
|
20846
|
+
query: {
|
|
20847
|
+
structured?: string | undefined;
|
|
20848
|
+
};
|
|
20849
|
+
} & {
|
|
20850
|
+
param: {
|
|
20851
|
+
sha: string;
|
|
20852
|
+
};
|
|
20853
|
+
};
|
|
20854
|
+
} | {
|
|
20842
20855
|
output: {
|
|
20843
20856
|
error: string;
|
|
20844
20857
|
code?: "invalid_input" | undefined;
|
|
@@ -20902,19 +20915,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20902
20915
|
sha: string;
|
|
20903
20916
|
};
|
|
20904
20917
|
};
|
|
20905
|
-
} | {
|
|
20906
|
-
output: string;
|
|
20907
|
-
outputFormat: "text";
|
|
20908
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20909
|
-
input: {
|
|
20910
|
-
query: {
|
|
20911
|
-
structured?: string | undefined;
|
|
20912
|
-
};
|
|
20913
|
-
} & {
|
|
20914
|
-
param: {
|
|
20915
|
-
sha: string;
|
|
20916
|
-
};
|
|
20917
|
-
};
|
|
20918
20918
|
};
|
|
20919
20919
|
};
|
|
20920
20920
|
} & {
|
|
@@ -33574,20 +33574,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33574
33574
|
} & {
|
|
33575
33575
|
"/runs/:id/handoff": {
|
|
33576
33576
|
$get: {
|
|
33577
|
-
output:
|
|
33578
|
-
|
|
33579
|
-
|
|
33580
|
-
outputFormat: "json";
|
|
33581
|
-
status: 404;
|
|
33577
|
+
output: string;
|
|
33578
|
+
outputFormat: "text";
|
|
33579
|
+
status: 200;
|
|
33582
33580
|
input: {
|
|
33583
33581
|
param: {
|
|
33584
33582
|
id: string;
|
|
33585
33583
|
};
|
|
33586
33584
|
};
|
|
33587
33585
|
} | {
|
|
33588
|
-
output:
|
|
33589
|
-
|
|
33590
|
-
|
|
33586
|
+
output: {
|
|
33587
|
+
error: string;
|
|
33588
|
+
};
|
|
33589
|
+
outputFormat: "json";
|
|
33590
|
+
status: 404;
|
|
33591
33591
|
input: {
|
|
33592
33592
|
param: {
|
|
33593
33593
|
id: string;
|
|
@@ -33803,20 +33803,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33803
33803
|
} & {
|
|
33804
33804
|
"/runs/:id/diff": {
|
|
33805
33805
|
$get: {
|
|
33806
|
-
output:
|
|
33807
|
-
|
|
33808
|
-
|
|
33809
|
-
outputFormat: "json";
|
|
33810
|
-
status: 404 | 409;
|
|
33806
|
+
output: string;
|
|
33807
|
+
outputFormat: "text";
|
|
33808
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33811
33809
|
input: {
|
|
33812
33810
|
param: {
|
|
33813
33811
|
id: string;
|
|
33814
33812
|
};
|
|
33815
33813
|
};
|
|
33816
33814
|
} | {
|
|
33817
|
-
output:
|
|
33818
|
-
|
|
33819
|
-
|
|
33815
|
+
output: {
|
|
33816
|
+
error: string;
|
|
33817
|
+
};
|
|
33818
|
+
outputFormat: "json";
|
|
33819
|
+
status: 404 | 409;
|
|
33820
33820
|
input: {
|
|
33821
33821
|
param: {
|
|
33822
33822
|
id: string;
|