@hearsay-tools/squawk 0.19.0-pr4622.9213 → 0.19.0-pr4624.9217
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 +78 -78
- package/dist/features/reports/routes.d.ts +2 -2
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/workspace-live-routes.d.ts +5 -5
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-D5XgNziC.js +1 -0
- package/web/dist/assets/activity-motion-D-KHKtyy.js +1 -0
- package/web/dist/assets/{activity-route-CkXs29ji.js → activity-route-DQocpeX-.js} +1 -1
- package/web/dist/assets/agent-accounts-8nQaLOOz.js +1 -0
- package/web/dist/assets/agent-config-section-rYku3AZT.js +7 -0
- package/web/dist/assets/agent-defaults-section-CqPUj6Ym.js +1 -0
- package/web/dist/assets/appearance-CQq9oAy8.js +1 -0
- package/web/dist/assets/archive-on-merge-field-Px9cxA_C.js +1 -0
- package/web/dist/assets/ask-card-w_alMeJO.js +9 -0
- package/web/dist/assets/automations-route-Bj1q3ZaB.js +2 -0
- package/web/dist/assets/commit-list-CTXetI6a.js +1 -0
- package/web/dist/assets/diff-DrxwDSjG.js +3 -0
- package/web/dist/assets/{diff-controls-BTGIDnSs.js → diff-controls-ZudnxdcW.js} +1 -1
- package/web/dist/assets/{diff-view-J684vGFE.js → diff-view-BWdxHI4k.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BtnFyMRT.js → discard-changes-dialog-1jgBq6CB.js} +1 -1
- package/web/dist/assets/file-preview-BzEh3tBo.js +2 -0
- package/web/dist/assets/folder-browser-BITUwN6e.js +1 -0
- package/web/dist/assets/{git-toolbar-SKqi4XfU.js → git-toolbar-CuwCJ1Ce.js} +1 -1
- package/web/dist/assets/github-CsalPmPp.js +1 -0
- package/web/dist/assets/{global-activity-route-Dx-kvhpz.js → global-activity-route-C_n3hxpm.js} +1 -1
- package/web/dist/assets/hosts-CfxnorWj.js +1 -0
- package/web/dist/assets/index-CWmMYQdT.css +1 -0
- package/web/dist/assets/index-I_2HwBGo.js +21 -0
- package/web/dist/assets/label-CIqBXTgQ.js +1 -0
- package/web/dist/assets/{markdown-TRVPj3Mg.js → markdown-1lVJvsmG.js} +1 -1
- package/web/dist/assets/{open-in-menu-g5K4vTnb.js → open-in-menu-CmqEGqeo.js} +1 -1
- package/web/dist/assets/{option-select-B76TaZGm.js → option-select-CUz3VpXM.js} +1 -1
- package/web/dist/assets/preferences-section-C1XH8qrR.js +1 -0
- package/web/dist/assets/preview-B3P2zCSB.js +1 -0
- package/web/dist/assets/{preview-pane-connected-CM10_MPC.js → preview-pane-connected-BE_GmSMJ.js} +2 -2
- package/web/dist/assets/project-location-DEsVcZWf.js +1 -0
- package/web/dist/assets/project-router-Cz4947On.js +1 -0
- package/web/dist/assets/project-scope-context-6hCh4cW_.js +4 -0
- package/web/dist/assets/projects-section-BfZsgX5k.js +1 -0
- package/web/dist/assets/{prompt-templates-section-DFiGQ_kP.js → prompt-templates-section-DuG4N4Ao.js} +2 -2
- package/web/dist/assets/queries-D2VvZ31t.js +1 -0
- package/web/dist/assets/reference-chip-CTZzdYE-.js +1 -0
- package/web/dist/assets/remote-settings-notice-BiHxgFHO.js +1 -0
- package/web/dist/assets/repo-git-CP18eaqb.js +1 -0
- package/web/dist/assets/report-reader-CA1-jsvV.js +1 -0
- package/web/dist/assets/{report-selection-BJgUwTp3.js → report-selection-Wmowg6KN.js} +1 -1
- package/web/dist/assets/reports-Dkjpd6Ua.js +1 -0
- package/web/dist/assets/{resources-section-DrFTKHSn.js → resources-section-DvVqiEXZ.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-N0GgOh1J.js → review-notes-drafts-CAy5hCNT.js} +1 -1
- package/web/dist/assets/{review-panel-BhyjEDJC.js → review-panel-BYIr5ss4.js} +1 -1
- package/web/dist/assets/review-strip-DSWeJJ-q.js +1 -0
- package/web/dist/assets/{run-detail-refresh-Bx9zlPFP.js → run-detail-refresh-CbjQ1uRt.js} +1 -1
- package/web/dist/assets/{run-diff-BqvMg-mp.js → run-diff-BlsnIDWY.js} +1 -1
- package/web/dist/assets/run-header-CerGWRTZ.js +2 -0
- package/web/dist/assets/{select-Cbi8vDBU.js → select-oEl3fx63.js} +1 -1
- package/web/dist/assets/{session-context-section-BnezEi_b.js → session-context-section-CSX4VVyz.js} +1 -1
- package/web/dist/assets/settings-agent-picker-CkWMLzyU.js +1 -0
- package/web/dist/assets/{settings-save-bar-De7cR5EO.js → settings-save-bar-CPpDVL5P.js} +1 -1
- package/web/dist/assets/settings-shell-CuFJKhFd.js +1 -0
- package/web/dist/assets/sidebar-section-BPmyhYza.js +1 -0
- package/web/dist/assets/skills-w7D9Qrut.js +1 -0
- package/web/dist/assets/status-dot-BJizt-Te.js +1 -0
- package/web/dist/assets/{tab-link-CiKWtkK_.js → tab-link-COd4H6PM.js} +1 -1
- package/web/dist/assets/task-changes-DITle-GG.js +5 -0
- package/web/dist/assets/task-commits-BdI4gj_G.js +1 -0
- package/web/dist/assets/{task-file-scope-K1Ban5eN.js → task-file-scope-BHLxoBS-.js} +1 -1
- package/web/dist/assets/task-files-pTO4QRWe.js +1 -0
- package/web/dist/assets/task-github-item-Bl4u6q9i.js +1 -0
- package/web/dist/assets/task-thread-Oo6A_P2M.js +2 -0
- package/web/dist/assets/thread-state-Dkcl5bfG.js +4 -0
- package/web/dist/assets/use-finish-run-NBU3wLYy.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-C-jDPwgM.js +1 -0
- package/web/dist/assets/use-path-bases-DYuZDchL.js +1 -0
- package/web/dist/assets/use-workspace-config-save-Br8WuWSM.js +1 -0
- package/web/dist/assets/{workflows-jSPeMWLl.js → workflows-BjR_LEJm.js} +2 -2
- package/web/dist/assets/workspace-tools-DcWdFqHQ.js +1 -0
- package/web/dist/assets/{worktrees-section-CsXzXEwX.js → worktrees-section-DZMjdzEe.js} +5 -5
- package/web/dist/index.html +15 -18
- package/web/dist/assets/accounts-section-BwVLJgxK.js +0 -1
- package/web/dist/assets/activity-motion-tBH9QmZu.js +0 -1
- package/web/dist/assets/agent-accounts-DQ_JY8H9.js +0 -1
- package/web/dist/assets/agent-config-section-Bii12by6.js +0 -7
- package/web/dist/assets/agent-defaults-section-BpiqyCUf.js +0 -1
- package/web/dist/assets/appearance-B_765RRk.js +0 -1
- package/web/dist/assets/archive-on-merge-field-B6O9ruku.js +0 -1
- package/web/dist/assets/ask-card-Cd0Xc7Uq.js +0 -9
- package/web/dist/assets/attention-CFW302LY.js +0 -1
- package/web/dist/assets/automations-route-CcVVZs26.js +0 -2
- package/web/dist/assets/commit-list-Dcd0WekD.js +0 -1
- package/web/dist/assets/diff-B_cIEbs-.js +0 -3
- package/web/dist/assets/file-preview-B3jXfVP7.js +0 -2
- package/web/dist/assets/folder-browser-sYsHX_an.js +0 -1
- package/web/dist/assets/github-T6wolZwH.js +0 -1
- package/web/dist/assets/hosts-DeyANWdw.js +0 -1
- package/web/dist/assets/index-6oRe52sM.js +0 -21
- package/web/dist/assets/index-D1E0Dmck.css +0 -1
- package/web/dist/assets/label-BXbOoPSF.js +0 -1
- package/web/dist/assets/preferences-section-DZRKsK2E.js +0 -1
- package/web/dist/assets/preview-B5bPk6HT.js +0 -1
- package/web/dist/assets/project-location-F5rU1iQp.js +0 -1
- package/web/dist/assets/project-router-CPgPVoBJ.js +0 -1
- package/web/dist/assets/projects-section-DvYKR18b.js +0 -1
- package/web/dist/assets/queries-DQVUxiSU.js +0 -1
- package/web/dist/assets/read-state-DlkdVJHO.js +0 -1
- package/web/dist/assets/reference-chip-DTWd5NlK.js +0 -1
- package/web/dist/assets/remote-settings-notice-4jnKyzkr.js +0 -1
- package/web/dist/assets/repo-git-bpVnYJKi.js +0 -1
- package/web/dist/assets/report-reader-DMyNCIiX.js +0 -1
- package/web/dist/assets/reports-CBzt0Dmc.js +0 -1
- package/web/dist/assets/review-strip-DoWuOvcF.js +0 -1
- package/web/dist/assets/run-header-Bg2x1hvz.js +0 -2
- package/web/dist/assets/settings-agent-picker-DCmAHz6j.js +0 -1
- package/web/dist/assets/settings-shell-kQCF-IMK.js +0 -1
- package/web/dist/assets/sidebar-section-BZHg8W-H.js +0 -1
- package/web/dist/assets/skills-DUOE73c3.js +0 -1
- package/web/dist/assets/status-dot-DuorWA5M.js +0 -1
- package/web/dist/assets/task-changes-fRMZxCzG.js +0 -5
- package/web/dist/assets/task-commits-Cenv0zsB.js +0 -1
- package/web/dist/assets/task-files-EU03WHnV.js +0 -1
- package/web/dist/assets/task-github-item-Dhte1Ixh.js +0 -1
- package/web/dist/assets/task-groups-DcQL5SKa.js +0 -1
- package/web/dist/assets/task-thread-DDMomGRh.js +0 -2
- package/web/dist/assets/thread-state-K3qTs1EO.js +0 -4
- package/web/dist/assets/toaster-Dglox5F-.js +0 -4
- package/web/dist/assets/use-finish-run-C8c9NAvg.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-BIvAHKwY.js +0 -1
- package/web/dist/assets/use-path-bases-DxT4eodL.js +0 -1
- package/web/dist/assets/use-workspace-config-save-D6M-r6_i.js +0 -1
- package/web/dist/assets/workspace-tools-DmZ9LMQc.js +0 -1
|
@@ -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;
|
|
@@ -42,7 +42,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
query: {
|
|
48
48
|
q?: string | undefined;
|
|
@@ -55,7 +55,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
55
55
|
error: string;
|
|
56
56
|
};
|
|
57
57
|
outputFormat: "json";
|
|
58
|
-
status:
|
|
58
|
+
status: 400;
|
|
59
59
|
input: {
|
|
60
60
|
query: {
|
|
61
61
|
q?: string | undefined;
|
|
@@ -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">;
|
|
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
73
|
+
providers: {
|
|
74
|
+
requiresAccountHome?: boolean | undefined;
|
|
75
|
+
provider: string;
|
|
76
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
77
|
+
enabled?: boolean | undefined;
|
|
78
|
+
hint?: string | undefined;
|
|
79
|
+
authFailureId?: string | undefined;
|
|
80
|
+
profileId?: string | undefined;
|
|
81
|
+
}[];
|
|
74
82
|
};
|
|
75
83
|
outputFormat: "json";
|
|
76
|
-
status:
|
|
84
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
77
85
|
input: {
|
|
78
86
|
param: {
|
|
79
87
|
provider: string;
|
|
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
85
93
|
};
|
|
86
94
|
} | {
|
|
87
95
|
output: {
|
|
88
|
-
|
|
89
|
-
requiresAccountHome?: boolean | undefined;
|
|
90
|
-
provider: string;
|
|
91
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
92
|
-
enabled?: boolean | undefined;
|
|
93
|
-
hint?: string | undefined;
|
|
94
|
-
authFailureId?: string | undefined;
|
|
95
|
-
profileId?: string | undefined;
|
|
96
|
-
}[];
|
|
96
|
+
error: string;
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: 500;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
131
|
+
providers: {
|
|
132
|
+
requiresAccountHome?: boolean | undefined;
|
|
133
|
+
provider: string;
|
|
134
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
135
|
+
enabled?: boolean | undefined;
|
|
136
|
+
hint?: string | undefined;
|
|
137
|
+
authFailureId?: string | undefined;
|
|
138
|
+
profileId?: string | undefined;
|
|
139
|
+
}[];
|
|
132
140
|
};
|
|
133
141
|
outputFormat: "json";
|
|
134
|
-
status:
|
|
142
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
135
143
|
input: {
|
|
136
144
|
param: {
|
|
137
145
|
provider: string;
|
|
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
143
151
|
};
|
|
144
152
|
} | {
|
|
145
153
|
output: {
|
|
146
|
-
|
|
147
|
-
requiresAccountHome?: boolean | undefined;
|
|
148
|
-
provider: string;
|
|
149
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
150
|
-
enabled?: boolean | undefined;
|
|
151
|
-
hint?: string | undefined;
|
|
152
|
-
authFailureId?: string | undefined;
|
|
153
|
-
profileId?: string | undefined;
|
|
154
|
-
}[];
|
|
154
|
+
error: string;
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: 409;
|
|
158
158
|
input: {
|
|
159
159
|
param: {
|
|
160
160
|
provider: string;
|
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 409;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 400;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
294
|
-
id: string;
|
|
295
|
-
provider: string;
|
|
296
|
-
label: string;
|
|
297
|
-
configDir?: string | undefined;
|
|
298
|
-
path?: string | undefined;
|
|
299
|
-
exists: boolean;
|
|
300
|
-
looksValid: boolean;
|
|
301
|
-
isDefault: boolean;
|
|
302
|
-
status?: {
|
|
303
|
-
requiresAccountHome?: boolean | undefined;
|
|
304
|
-
provider: string;
|
|
305
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
306
|
-
enabled?: boolean | undefined;
|
|
307
|
-
hint?: string | undefined;
|
|
308
|
-
authFailureId?: string | undefined;
|
|
309
|
-
profileId?: string | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
};
|
|
293
|
+
error: string;
|
|
312
294
|
};
|
|
313
295
|
outputFormat: "json";
|
|
314
|
-
status:
|
|
296
|
+
status: 409;
|
|
315
297
|
input: {
|
|
316
298
|
json: {
|
|
317
299
|
provider: string;
|
|
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
337
319
|
error: string;
|
|
338
320
|
};
|
|
339
321
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
322
|
+
status: 500;
|
|
341
323
|
input: {
|
|
342
324
|
json: {
|
|
343
325
|
provider: string;
|
|
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
347
329
|
};
|
|
348
330
|
} | {
|
|
349
331
|
output: {
|
|
350
|
-
|
|
332
|
+
profile: {
|
|
333
|
+
id: string;
|
|
334
|
+
provider: string;
|
|
335
|
+
label: string;
|
|
336
|
+
configDir?: string | undefined;
|
|
337
|
+
path?: string | undefined;
|
|
338
|
+
exists: boolean;
|
|
339
|
+
looksValid: boolean;
|
|
340
|
+
isDefault: boolean;
|
|
341
|
+
status?: {
|
|
342
|
+
requiresAccountHome?: boolean | undefined;
|
|
343
|
+
provider: string;
|
|
344
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
345
|
+
enabled?: boolean | undefined;
|
|
346
|
+
hint?: string | undefined;
|
|
347
|
+
authFailureId?: string | undefined;
|
|
348
|
+
profileId?: string | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
};
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 201;
|
|
354
354
|
input: {
|
|
355
355
|
json: {
|
|
356
356
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 409;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 400;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 404;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -542,9 +542,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
542
542
|
$put: {
|
|
543
543
|
output: {
|
|
544
544
|
error: string;
|
|
545
|
+
code: "no-boot-project";
|
|
545
546
|
};
|
|
546
547
|
outputFormat: "json";
|
|
547
|
-
status:
|
|
548
|
+
status: 409;
|
|
548
549
|
input: {
|
|
549
550
|
json: {
|
|
550
551
|
projectId: string;
|
|
@@ -568,10 +569,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
568
569
|
} | {
|
|
569
570
|
output: {
|
|
570
571
|
error: string;
|
|
571
|
-
code: "no-boot-project";
|
|
572
572
|
};
|
|
573
573
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
574
|
+
status: 400;
|
|
575
575
|
input: {
|
|
576
576
|
json: {
|
|
577
577
|
projectId: string;
|
|
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
635
635
|
error: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 409;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
id: string;
|
|
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
646
646
|
error: string;
|
|
647
647
|
};
|
|
648
648
|
outputFormat: "json";
|
|
649
|
-
status:
|
|
649
|
+
status: 500;
|
|
650
650
|
input: {
|
|
651
651
|
param: {
|
|
652
652
|
id: string;
|
|
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
657
657
|
error: string;
|
|
658
658
|
};
|
|
659
659
|
outputFormat: "json";
|
|
660
|
-
status:
|
|
660
|
+
status: 404;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: string;
|
|
@@ -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;
|
|
@@ -7,18 +7,18 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
"/workspace/identity": {
|
|
8
8
|
$get: {
|
|
9
9
|
output: {
|
|
10
|
-
|
|
11
|
-
version: string;
|
|
10
|
+
error: string;
|
|
12
11
|
};
|
|
13
12
|
outputFormat: "json";
|
|
14
|
-
status:
|
|
13
|
+
status: 503;
|
|
15
14
|
input: {};
|
|
16
15
|
} | {
|
|
17
16
|
output: {
|
|
18
|
-
|
|
17
|
+
installId: string;
|
|
18
|
+
version: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
22
22
|
input: {};
|
|
23
23
|
};
|
|
24
24
|
};
|