@hearsay-tools/squawk 0.19.0-pr4520.8952 → 0.19.0-pr4521.8958
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/routes.d.ts +65 -65
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runs-routes.d.ts +20 -20
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-CSvy5qNt.js +1 -0
- package/web/dist/assets/{activity-motion-BpkctVoF.js → activity-motion-e-om6FJK.js} +1 -1
- package/web/dist/assets/{activity-route-BS7KJykm.js → activity-route-BLQKZKk2.js} +1 -1
- package/web/dist/assets/{agent-config-section-DrIia8rg.js → agent-config-section-yvuvxazX.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Mus8P-7S.js → agent-defaults-section-DjW-Ujjt.js} +1 -1
- package/web/dist/assets/{appearance-C0BYJUgb.js → appearance-QkSfHJPh.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DFlUwX_3.js → archive-on-merge-field-COmuSsEm.js} +1 -1
- package/web/dist/assets/automations-route-Bln5JsZm.js +2 -0
- package/web/dist/assets/{command-BiBq24zL.js → command-BMMjB5k9.js} +1 -1
- package/web/dist/assets/{commit-list-CPxWeI9w.js → commit-list-C_tbgXIE.js} +1 -1
- package/web/dist/assets/{design-icons-QbNMZniQ.js → design-icons-BZt8Kqs9.js} +1 -1
- package/web/dist/assets/{dialog-DRZuXvul.js → dialog-CB9ZhEk2.js} +1 -1
- package/web/dist/assets/{diff-COXHw5yC.js → diff-WVzmQ97r.js} +2 -2
- package/web/dist/assets/{diff-controls-D_fU51z_.js → diff-controls-B0yrUybu.js} +1 -1
- package/web/dist/assets/{diff-view-CMijFegM.js → diff-view-BxII7CF3.js} +1 -1
- package/web/dist/assets/discard-changes-dialog-BFx7Qx6f.js +1 -0
- package/web/dist/assets/{dropdown-menu-DjtKUK8F.js → dropdown-menu-VFda6KAg.js} +1 -1
- package/web/dist/assets/{file-preview-0D-7X0Iy.js → file-preview-NW2brM-e.js} +1 -1
- package/web/dist/assets/{git-toolbar-S4yvYvLp.js → git-toolbar-DTxLNVkn.js} +1 -1
- package/web/dist/assets/github-C8cqWXJy.js +1 -0
- package/web/dist/assets/{global-activity-route-b3k9ayRD.js → global-activity-route-GhALiDTp.js} +1 -1
- package/web/dist/assets/index-8nsN5I6w.js +21 -0
- package/web/dist/assets/index-dnh_f5CW.css +1 -0
- package/web/dist/assets/{markdown-BbG_3jwp.js → markdown-B-ZCFJ-Q.js} +1 -1
- package/web/dist/assets/{open-in-menu-BTa2aBQh.js → open-in-menu-Uw-sJhbG.js} +1 -1
- package/web/dist/assets/{option-select-D_1bhi03.js → option-select-BYTtelO6.js} +1 -1
- package/web/dist/assets/{preferences-section-BKfcgJkh.js → preferences-section-HGBScjOM.js} +1 -1
- package/web/dist/assets/preview-pane-connected-Tt04vT4r.js +3 -0
- package/web/dist/assets/{project-location-DTHfCO9o.js → project-location-CZShTo6C.js} +1 -1
- package/web/dist/assets/{projects-section-ZqVzhT1P.js → projects-section-DFn_EKpb.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-COXwqTKr.js → prompt-templates-section-BFdqQZ-U.js} +2 -2
- package/web/dist/assets/reference-chip-Dk69XD7Q.js +1 -0
- package/web/dist/assets/{remote-settings-notice-C-nWK6Yq.js → remote-settings-notice-nOI6qZe6.js} +1 -1
- package/web/dist/assets/repo-git-DQzrQuyc.js +1 -0
- package/web/dist/assets/{report-reader-CakJrMFZ.js → report-reader-Ljf1F2Xs.js} +1 -1
- package/web/dist/assets/{report-selection-dYsm1HEf.js → report-selection-BH0M_8bk.js} +1 -1
- package/web/dist/assets/{reports-UYyVzskl.js → reports-mteXWrV9.js} +1 -1
- package/web/dist/assets/{resources-section-BcC83FgQ.js → resources-section-D4gKYb7K.js} +1 -1
- package/web/dist/assets/review-panel-CLJydTXa.js +11 -0
- package/web/dist/assets/run-header-Btbrr4e4.js +2 -0
- package/web/dist/assets/{select-D_i5UQfS.js → select-DozImWQ0.js} +1 -1
- package/web/dist/assets/{session-context-section-CWUMo03s.js → session-context-section-CpwRkLrg.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-5GM9QJWk.js → settings-agent-picker-P4LP_uyz.js} +1 -1
- package/web/dist/assets/{settings-list-detail-Dn5CWzHj.js → settings-list-detail-DcRsGkGy.js} +1 -1
- package/web/dist/assets/{settings-save-bar-D1_JBnK2.js → settings-save-bar-H0SDqv8W.js} +1 -1
- package/web/dist/assets/{settings-shell-3ENKdznW.js → settings-shell-DGkCp7Zv.js} +1 -1
- package/web/dist/assets/{sidebar-section-BBVjp7ku.js → sidebar-section-BzB_L4Pf.js} +1 -1
- package/web/dist/assets/{skills-DpFxvhQn.js → skills-CGH1VBtx.js} +1 -1
- package/web/dist/assets/task-changes-BaRgdwNv.js +1 -0
- package/web/dist/assets/{task-commits-CqAuY8S6.js → task-commits-DjUjDD8M.js} +1 -1
- package/web/dist/assets/{task-file-scope-DJPRk8-k.js → task-file-scope-CuEdmiUJ.js} +1 -1
- package/web/dist/assets/{task-files-BuHSmHgk.js → task-files-Cs8wsBG3.js} +1 -1
- package/web/dist/assets/{task-github-item-Bkaqgvk7.js → task-github-item-DPM-QvST.js} +1 -1
- package/web/dist/assets/{task-thread-CKxleoJh.js → task-thread-DCg4SN38.js} +2 -2
- package/web/dist/assets/thread-state-0ZFzKclk.js +4 -0
- package/web/dist/assets/use-hand-to-agent-state-BHuQvT7R.js +1 -0
- package/web/dist/assets/use-path-bases-DX8ptk1P.js +1 -0
- package/web/dist/assets/workflows-irT2FqZv.js +7 -0
- package/web/dist/assets/{workspace-tools-B9iGZ16c.js → workspace-tools-98KiQ1Jq.js} +1 -1
- package/web/dist/assets/{worktrees-section-BI-1b1m3.js → worktrees-section-DspCjxkM.js} +1 -1
- package/web/dist/index.html +9 -9
- package/web/dist/assets/accounts-section-BxmTV7Ve.js +0 -1
- package/web/dist/assets/automations-route-BTwN-oQ9.js +0 -2
- package/web/dist/assets/discard-changes-dialog-CuyBBSD8.js +0 -1
- package/web/dist/assets/github-CuNDwBTk.js +0 -1
- package/web/dist/assets/index-54CwJm3e.js +0 -21
- package/web/dist/assets/index-CM_iAvs4.css +0 -1
- package/web/dist/assets/preview-pane-connected-CQtSBIVD.js +0 -3
- package/web/dist/assets/reference-chip-Br0H2srF.js +0 -1
- package/web/dist/assets/repo-git-ByOy25_h.js +0 -1
- package/web/dist/assets/review-panel-b4VocTqI.js +0 -11
- package/web/dist/assets/run-header-BcQ9zbTJ.js +0 -2
- package/web/dist/assets/task-changes-bTnVo9Rg.js +0 -1
- package/web/dist/assets/thread-state-CrP17W0O.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-CoQshiLu.js +0 -1
- package/web/dist/assets/use-path-bases-CcQq8FGw.js +0 -1
- package/web/dist/assets/workflows-DvuBhkZ9.js +0 -7
|
@@ -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;
|
|
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
940
954
|
} & {
|
|
941
955
|
json: Record<string, never>;
|
|
942
956
|
};
|
|
943
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
944
962
|
output: {
|
|
945
963
|
error: string;
|
|
946
964
|
code?: "invalid_input" | undefined;
|
|
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
952
970
|
workerId: string;
|
|
953
971
|
};
|
|
954
972
|
} & {
|
|
955
|
-
json:
|
|
973
|
+
json: {
|
|
974
|
+
text: string;
|
|
975
|
+
};
|
|
956
976
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
977
|
+
} | {
|
|
962
978
|
output: {
|
|
963
979
|
workerId: string;
|
|
964
980
|
state: "delivered" | "queued";
|
|
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
974
990
|
text: string;
|
|
975
991
|
};
|
|
976
992
|
};
|
|
977
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
978
998
|
output: {
|
|
979
999
|
error: string;
|
|
980
1000
|
code?: "invalid_input" | undefined;
|
|
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
1006
|
workerId: string;
|
|
987
1007
|
};
|
|
988
1008
|
} & {
|
|
989
|
-
json:
|
|
990
|
-
text: string;
|
|
991
|
-
};
|
|
1009
|
+
json: Record<string, never>;
|
|
992
1010
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
1011
|
+
} | {
|
|
998
1012
|
output: {
|
|
999
1013
|
workerId: string;
|
|
1000
1014
|
state: "stopping" | "terminated";
|
|
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
1022
|
} & {
|
|
1009
1023
|
json: Record<string, never>;
|
|
1010
1024
|
};
|
|
1011
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1012
1030
|
output: {
|
|
1013
1031
|
error: string;
|
|
1014
1032
|
code?: "invalid_input" | undefined;
|
|
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1020
1038
|
workerId: string;
|
|
1021
1039
|
};
|
|
1022
1040
|
} & {
|
|
1023
|
-
json:
|
|
1041
|
+
json: {
|
|
1042
|
+
discardWork?: true | undefined;
|
|
1043
|
+
};
|
|
1024
1044
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1045
|
+
} | {
|
|
1030
1046
|
output: {
|
|
1031
1047
|
workerId: string;
|
|
1032
1048
|
state: "complete" | "incomplete";
|
|
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1055
1071
|
discardWork?: true | undefined;
|
|
1056
1072
|
};
|
|
1057
1073
|
};
|
|
1058
|
-
} | {
|
|
1059
|
-
output: {
|
|
1060
|
-
error: string;
|
|
1061
|
-
code?: "invalid_input" | undefined;
|
|
1062
|
-
};
|
|
1063
|
-
outputFormat: "json";
|
|
1064
|
-
status: 400;
|
|
1065
|
-
input: {
|
|
1066
|
-
param: {
|
|
1067
|
-
workerId: string;
|
|
1068
|
-
};
|
|
1069
|
-
} & {
|
|
1070
|
-
json: {
|
|
1071
|
-
discardWork?: true | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
diff: string;
|
|
1112
|
-
truncated: boolean;
|
|
1109
|
+
error: string;
|
|
1110
|
+
code?: "invalid_input" | undefined;
|
|
1113
1111
|
};
|
|
1114
1112
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1113
|
+
status: 400;
|
|
1116
1114
|
input: {
|
|
1117
1115
|
param: {
|
|
1118
1116
|
workerId: string;
|
|
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1120
1118
|
};
|
|
1121
1119
|
} | {
|
|
1122
1120
|
output: {
|
|
1123
|
-
|
|
1124
|
-
|
|
1121
|
+
workerId: string;
|
|
1122
|
+
baselineSha: string;
|
|
1123
|
+
diff: string;
|
|
1124
|
+
truncated: boolean;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 200;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|
|
@@ -22,18 +22,6 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
} | {
|
|
26
|
-
output: {
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
outputFormat: "json";
|
|
30
|
-
status: 400;
|
|
31
|
-
input: {
|
|
32
|
-
query: {
|
|
33
|
-
runner: string | string[];
|
|
34
|
-
profileId?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
25
|
} | {
|
|
38
26
|
output: {
|
|
39
27
|
runner: string;
|
|
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
|
|
|
55
43
|
profileId?: string | undefined;
|
|
56
44
|
};
|
|
57
45
|
};
|
|
46
|
+
} | {
|
|
47
|
+
output: {
|
|
48
|
+
error: string;
|
|
49
|
+
};
|
|
50
|
+
outputFormat: "json";
|
|
51
|
+
status: 400;
|
|
52
|
+
input: {
|
|
53
|
+
query: {
|
|
54
|
+
runner: string | string[];
|
|
55
|
+
profileId?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,21 +144,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
137
|
-
};
|
|
138
|
-
outputFormat: "json";
|
|
139
|
-
status: 409;
|
|
140
|
-
input: {
|
|
141
|
-
json: {
|
|
142
|
-
root: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
} | {
|
|
146
|
-
output: {
|
|
147
|
-
error: string;
|
|
147
|
+
error?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
150
|
+
status: 200;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 404;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 400;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,6 +342,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
+
output: {
|
|
346
|
+
error: string;
|
|
347
|
+
};
|
|
348
|
+
outputFormat: "json";
|
|
349
|
+
status: 400 | 404 | 409 | 500;
|
|
350
|
+
input: {
|
|
351
|
+
json: {
|
|
352
|
+
name: string;
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
url: string;
|
|
355
|
+
token?: string | undefined;
|
|
356
|
+
tasks?: boolean | undefined;
|
|
357
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
+
agent?: boolean | undefined;
|
|
359
|
+
};
|
|
360
|
+
} & {
|
|
361
|
+
param: {
|
|
362
|
+
projectId: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
} | {
|
|
345
366
|
output: {
|
|
346
367
|
project: {
|
|
347
368
|
id: string;
|
|
@@ -400,27 +421,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
400
421
|
projectId: string;
|
|
401
422
|
};
|
|
402
423
|
};
|
|
403
|
-
} | {
|
|
404
|
-
output: {
|
|
405
|
-
error: string;
|
|
406
|
-
};
|
|
407
|
-
outputFormat: "json";
|
|
408
|
-
status: 400 | 404 | 409 | 500;
|
|
409
|
-
input: {
|
|
410
|
-
json: {
|
|
411
|
-
name: string;
|
|
412
|
-
description?: string | undefined;
|
|
413
|
-
url: string;
|
|
414
|
-
token?: string | undefined;
|
|
415
|
-
tasks?: boolean | undefined;
|
|
416
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
-
agent?: boolean | undefined;
|
|
418
|
-
};
|
|
419
|
-
} & {
|
|
420
|
-
param: {
|
|
421
|
-
projectId: string;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,10 +618,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: boolean;
|
|
622
|
+
status?: number | undefined;
|
|
623
|
+
error?: string | undefined;
|
|
624
|
+
dryRun?: boolean | undefined;
|
|
622
625
|
};
|
|
623
626
|
outputFormat: "json";
|
|
624
|
-
status:
|
|
627
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
625
628
|
input: {
|
|
626
629
|
param: {
|
|
627
630
|
projectId: string;
|
|
@@ -630,13 +633,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
630
633
|
};
|
|
631
634
|
} | {
|
|
632
635
|
output: {
|
|
633
|
-
|
|
634
|
-
status?: number | undefined;
|
|
635
|
-
error?: string | undefined;
|
|
636
|
-
dryRun?: boolean | undefined;
|
|
636
|
+
error: string;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: 404;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|
|
@@ -342,19 +342,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
342
342
|
} & {
|
|
343
343
|
"/repo/commit/:sha": {
|
|
344
344
|
$get: {
|
|
345
|
-
output: string;
|
|
346
|
-
outputFormat: "text";
|
|
347
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
348
|
-
input: {
|
|
349
|
-
query: {
|
|
350
|
-
structured?: string | undefined;
|
|
351
|
-
};
|
|
352
|
-
} & {
|
|
353
|
-
param: {
|
|
354
|
-
sha: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
} | {
|
|
358
345
|
output: {
|
|
359
346
|
error: string;
|
|
360
347
|
code?: "invalid_input" | undefined;
|
|
@@ -418,6 +405,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
418
405
|
sha: string;
|
|
419
406
|
};
|
|
420
407
|
};
|
|
408
|
+
} | {
|
|
409
|
+
output: string;
|
|
410
|
+
outputFormat: "text";
|
|
411
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
412
|
+
input: {
|
|
413
|
+
query: {
|
|
414
|
+
structured?: string | undefined;
|
|
415
|
+
};
|
|
416
|
+
} & {
|
|
417
|
+
param: {
|
|
418
|
+
sha: string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
421
|
};
|
|
422
422
|
};
|
|
423
423
|
} & {
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 409;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
|
@@ -12321,20 +12321,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12321
12321
|
} & {
|
|
12322
12322
|
"/runs/:id/handoff": {
|
|
12323
12323
|
$get: {
|
|
12324
|
-
output:
|
|
12325
|
-
|
|
12326
|
-
|
|
12324
|
+
output: {
|
|
12325
|
+
error: string;
|
|
12326
|
+
};
|
|
12327
|
+
outputFormat: "json";
|
|
12328
|
+
status: 404;
|
|
12327
12329
|
input: {
|
|
12328
12330
|
param: {
|
|
12329
12331
|
id: string;
|
|
12330
12332
|
};
|
|
12331
12333
|
};
|
|
12332
12334
|
} | {
|
|
12333
|
-
output:
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
outputFormat: "json";
|
|
12337
|
-
status: 404;
|
|
12335
|
+
output: string;
|
|
12336
|
+
outputFormat: "text";
|
|
12337
|
+
status: 200;
|
|
12338
12338
|
input: {
|
|
12339
12339
|
param: {
|
|
12340
12340
|
id: string;
|
|
@@ -12372,20 +12372,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12372
12372
|
} & {
|
|
12373
12373
|
"/runs/:id/diff": {
|
|
12374
12374
|
$get: {
|
|
12375
|
-
output:
|
|
12376
|
-
|
|
12377
|
-
|
|
12375
|
+
output: {
|
|
12376
|
+
error: string;
|
|
12377
|
+
};
|
|
12378
|
+
outputFormat: "json";
|
|
12379
|
+
status: 404 | 409;
|
|
12378
12380
|
input: {
|
|
12379
12381
|
param: {
|
|
12380
12382
|
id: string;
|
|
12381
12383
|
};
|
|
12382
12384
|
};
|
|
12383
12385
|
} | {
|
|
12384
|
-
output:
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
outputFormat: "json";
|
|
12388
|
-
status: 404 | 409;
|
|
12386
|
+
output: string;
|
|
12387
|
+
outputFormat: "text";
|
|
12388
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12389
12389
|
input: {
|
|
12390
12390
|
param: {
|
|
12391
12391
|
id: string;
|
|
@@ -12478,9 +12478,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12478
12478
|
status: 404 | 409;
|
|
12479
12479
|
input: {
|
|
12480
12480
|
param: {
|
|
12481
|
-
sha: string;
|
|
12482
|
-
} & {
|
|
12483
12481
|
id: string;
|
|
12482
|
+
} & {
|
|
12483
|
+
sha: string;
|
|
12484
12484
|
};
|
|
12485
12485
|
};
|
|
12486
12486
|
} | {
|
|
@@ -12509,9 +12509,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12509
12509
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12510
12510
|
input: {
|
|
12511
12511
|
param: {
|
|
12512
|
-
sha: string;
|
|
12513
|
-
} & {
|
|
12514
12512
|
id: string;
|
|
12513
|
+
} & {
|
|
12514
|
+
sha: string;
|
|
12515
12515
|
};
|
|
12516
12516
|
};
|
|
12517
12517
|
};
|