@hearsay-tools/squawk 0.18.0-pr4290.8322 → 0.18.0-pr4291.8330
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 +65 -65
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/providers-routes.d.ts +59 -59
- package/dist/server/repo-routes.d.ts +21 -21
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/workspace-routes.d.ts +84 -84
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-W7E0lJ_T.js → accounts-section-qnA3YX9G.js} +1 -1
- package/web/dist/assets/{activity-motion-CKC91fdO.js → activity-motion-wGHBuD_L.js} +1 -1
- package/web/dist/assets/{activity-route-BMKRcZZz.js → activity-route-BhT-npje.js} +1 -1
- package/web/dist/assets/agent-config-section-BIkW506A.js +4 -0
- package/web/dist/assets/agent-defaults-section-D9oxRh7t.js +1 -0
- package/web/dist/assets/{appearance-DgNRb9F9.js → appearance-CipbKN5k.js} +1 -1
- package/web/dist/assets/{automations-route-Bgp_2Y8z.js → automations-route-DKKwkBjL.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-DEXRRtL1.js → commit-diff-panel-OqVigspU.js} +1 -1
- package/web/dist/assets/{diff-TSXSey_i.js → diff-CpkjO5Q-.js} +2 -2
- package/web/dist/assets/{diff-view-COAB2s1Z.js → diff-view-D6QC4z_i.js} +1 -1
- package/web/dist/assets/{file-preview-BgnwLTzh.js → file-preview-C-oYrG0r.js} +1 -1
- package/web/dist/assets/{git-toolbar-DKexH2FX.js → git-toolbar-BiWUXSvy.js} +1 -1
- package/web/dist/assets/{github-CdzkHkDn.js → github-DSZtAYK0.js} +1 -1
- package/web/dist/assets/{global-activity-route-Cfb8uAU1.js → global-activity-route-ylV7sfQb.js} +1 -1
- package/web/dist/assets/{index-DgdiXHgV.js → index-CS5yyNbo.js} +5 -5
- package/web/dist/assets/{markdown-Dj9PnU5f.js → markdown-Drj1MCd_.js} +1 -1
- package/web/dist/assets/{notifications-section-DCf8tYi9.js → notifications-section-BNncS89W.js} +1 -1
- package/web/dist/assets/preview-pane-connected-C9bYs_nr.js +3 -0
- package/web/dist/assets/{projects-section-C-ji_9Jb.js → projects-section-DAyPYxaB.js} +1 -1
- package/web/dist/assets/prompt-templates-section-BUTjHN-R.js +1 -0
- package/web/dist/assets/{remote-settings-notice-D12kO_fx.js → remote-settings-notice-BTtluTx2.js} +1 -1
- package/web/dist/assets/{repo-git-BnR84_ZF.js → repo-git-CahuM1Bi.js} +1 -1
- package/web/dist/assets/{report-reader-DFeUVrVf.js → report-reader-BMw7TyID.js} +1 -1
- package/web/dist/assets/{reports-DeGJ_TQv.js → reports-BqhgWSM-.js} +1 -1
- package/web/dist/assets/resources-section-CPdErsDL.js +1 -0
- package/web/dist/assets/run-header-BpdSJ6lc.js +2 -0
- package/web/dist/assets/saved-draft-BwzBc-_Y.js +1 -0
- package/web/dist/assets/{settings-agent-picker-2lOzGfbc.js → settings-agent-picker-By-EZVYH.js} +1 -1
- package/web/dist/assets/settings-shell-Cg1j_HUU.js +1 -0
- package/web/dist/assets/sidebar-section-C7mKySo9.js +1 -0
- package/web/dist/assets/{skills-C1g3oBTx.js → skills-DL6gTurZ.js} +1 -1
- package/web/dist/assets/{task-changes-AWps2X1w.js → task-changes-BYdPYqmr.js} +1 -1
- package/web/dist/assets/{task-commits-DjUZYIvx.js → task-commits-CZs64PxA.js} +1 -1
- package/web/dist/assets/{task-files-xW_ZlA4N.js → task-files-CHDvZdch.js} +1 -1
- package/web/dist/assets/{task-github-item-QsIE8qBm.js → task-github-item-BaAS8tc7.js} +1 -1
- package/web/dist/assets/{task-thread-19WlI5jh.js → task-thread-DKTYTRYk.js} +6 -6
- package/web/dist/assets/{thread-state-Bno0d7IG.js → thread-state-Cnu6irf1.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DGPBUUma.js → use-hand-to-agent-state-C0HmC08K.js} +1 -1
- package/web/dist/assets/{workflows-LoZzQln6.js → workflows-BxrHkrIx.js} +3 -3
- package/web/dist/assets/{workspace-tools-885o7YQC.js → workspace-tools-DK0GgizV.js} +1 -1
- package/web/dist/assets/worktrees-section-CBWXq2mc.js +4 -0
- package/web/dist/index.html +1 -1
- package/web/dist/assets/agent-config-section-L-WUv_Sg.js +0 -4
- package/web/dist/assets/agent-defaults-section-BNy5LuYr.js +0 -1
- package/web/dist/assets/preview-pane-connected-BuS799XB.js +0 -3
- package/web/dist/assets/prompt-templates-section-pKPXaO18.js +0 -1
- package/web/dist/assets/resources-section-CKfUOEMU.js +0 -1
- package/web/dist/assets/run-header-sYd-snDr.js +0 -2
- package/web/dist/assets/settings-shell-Cd_zkHHS.js +0 -1
- package/web/dist/assets/sidebar-section-CrCVthxb.js +0 -1
- package/web/dist/assets/worktrees-section-ORq1CrNd.js +0 -4
|
@@ -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;
|
|
@@ -929,11 +915,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
929
915
|
} & {
|
|
930
916
|
json: Record<string, never>;
|
|
931
917
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
918
|
+
} | {
|
|
937
919
|
output: {
|
|
938
920
|
error: string;
|
|
939
921
|
code?: "invalid_input" | undefined;
|
|
@@ -945,11 +927,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
945
927
|
workerId: string;
|
|
946
928
|
};
|
|
947
929
|
} & {
|
|
948
|
-
json:
|
|
949
|
-
text: string;
|
|
950
|
-
};
|
|
930
|
+
json: Record<string, never>;
|
|
951
931
|
};
|
|
952
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
953
937
|
output: {
|
|
954
938
|
workerId: string;
|
|
955
939
|
state: "delivered" | "queued";
|
|
@@ -965,11 +949,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
965
949
|
text: string;
|
|
966
950
|
};
|
|
967
951
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
952
|
+
} | {
|
|
973
953
|
output: {
|
|
974
954
|
error: string;
|
|
975
955
|
code?: "invalid_input" | undefined;
|
|
@@ -981,9 +961,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
981
961
|
workerId: string;
|
|
982
962
|
};
|
|
983
963
|
} & {
|
|
984
|
-
json:
|
|
964
|
+
json: {
|
|
965
|
+
text: string;
|
|
966
|
+
};
|
|
985
967
|
};
|
|
986
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
987
973
|
output: {
|
|
988
974
|
workerId: string;
|
|
989
975
|
state: "stopping" | "terminated";
|
|
@@ -997,11 +983,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
997
983
|
} & {
|
|
998
984
|
json: Record<string, never>;
|
|
999
985
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
986
|
+
} | {
|
|
1005
987
|
output: {
|
|
1006
988
|
error: string;
|
|
1007
989
|
code?: "invalid_input" | undefined;
|
|
@@ -1013,11 +995,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1013
995
|
workerId: string;
|
|
1014
996
|
};
|
|
1015
997
|
} & {
|
|
1016
|
-
json:
|
|
1017
|
-
discardWork?: true | undefined;
|
|
1018
|
-
};
|
|
998
|
+
json: Record<string, never>;
|
|
1019
999
|
};
|
|
1020
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
1021
1005
|
output: {
|
|
1022
1006
|
workerId: string;
|
|
1023
1007
|
state: "complete" | "incomplete";
|
|
@@ -1046,6 +1030,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1046
1030
|
discardWork?: true | undefined;
|
|
1047
1031
|
};
|
|
1048
1032
|
};
|
|
1033
|
+
} | {
|
|
1034
|
+
output: {
|
|
1035
|
+
error: string;
|
|
1036
|
+
code?: "invalid_input" | undefined;
|
|
1037
|
+
};
|
|
1038
|
+
outputFormat: "json";
|
|
1039
|
+
status: 400;
|
|
1040
|
+
input: {
|
|
1041
|
+
param: {
|
|
1042
|
+
workerId: string;
|
|
1043
|
+
};
|
|
1044
|
+
} & {
|
|
1045
|
+
json: {
|
|
1046
|
+
discardWork?: true | undefined;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
1049
|
} | {
|
|
1050
1050
|
output: {
|
|
1051
1051
|
workerId: string;
|
|
@@ -1081,11 +1081,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1084
|
+
workerId: string;
|
|
1085
|
+
baselineSha: string;
|
|
1086
|
+
diff: string;
|
|
1087
|
+
truncated: boolean;
|
|
1086
1088
|
};
|
|
1087
1089
|
outputFormat: "json";
|
|
1088
|
-
status:
|
|
1090
|
+
status: 200;
|
|
1089
1091
|
input: {
|
|
1090
1092
|
param: {
|
|
1091
1093
|
workerId: string;
|
|
@@ -1093,13 +1095,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1093
1095
|
};
|
|
1094
1096
|
} | {
|
|
1095
1097
|
output: {
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
diff: string;
|
|
1099
|
-
truncated: boolean;
|
|
1098
|
+
error: string;
|
|
1099
|
+
code?: "invalid_input" | undefined;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 400;
|
|
1103
1103
|
input: {
|
|
1104
1104
|
param: {
|
|
1105
1105
|
workerId: string;
|
|
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
-
output: {
|
|
62
|
-
error: string;
|
|
63
|
-
code?: "invalid_input" | undefined;
|
|
64
|
-
};
|
|
65
|
-
outputFormat: "json";
|
|
66
|
-
status: 400;
|
|
67
|
-
input: {
|
|
68
|
-
query: {
|
|
69
|
-
project?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
output: {
|
|
74
|
-
error: string;
|
|
75
|
-
};
|
|
76
|
-
outputFormat: "json";
|
|
77
|
-
status: 404 | 409 | 503;
|
|
78
|
-
input: {
|
|
79
|
-
query: {
|
|
80
|
-
project?: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
327
304
|
project?: string | undefined;
|
|
328
305
|
};
|
|
329
306
|
};
|
|
307
|
+
} | {
|
|
308
|
+
output: {
|
|
309
|
+
error: string;
|
|
310
|
+
code?: "invalid_input" | undefined;
|
|
311
|
+
};
|
|
312
|
+
outputFormat: "json";
|
|
313
|
+
status: 400;
|
|
314
|
+
input: {
|
|
315
|
+
query: {
|
|
316
|
+
project?: string | undefined;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
} | {
|
|
320
|
+
output: {
|
|
321
|
+
error: string;
|
|
322
|
+
};
|
|
323
|
+
outputFormat: "json";
|
|
324
|
+
status: 404 | 409 | 503;
|
|
325
|
+
input: {
|
|
326
|
+
query: {
|
|
327
|
+
project?: string | undefined;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
}, "/", "/workspace/activity">;
|
|
@@ -30,19 +30,10 @@ export declare function createModelsRoutes(options: {
|
|
|
30
30
|
};
|
|
31
31
|
} | {
|
|
32
32
|
output: {
|
|
33
|
-
|
|
34
|
-
models: {
|
|
35
|
-
id: string;
|
|
36
|
-
label: string;
|
|
37
|
-
description: string;
|
|
38
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
39
|
-
}[];
|
|
40
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
41
|
-
stale: boolean;
|
|
42
|
-
reason?: string;
|
|
33
|
+
error: string;
|
|
43
34
|
};
|
|
44
35
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
36
|
+
status: 400;
|
|
46
37
|
input: {
|
|
47
38
|
query: {
|
|
48
39
|
runner: string | string[];
|
|
@@ -63,10 +54,19 @@ export declare function createModelsRoutes(options: {
|
|
|
63
54
|
};
|
|
64
55
|
} | {
|
|
65
56
|
output: {
|
|
66
|
-
|
|
57
|
+
runner: string;
|
|
58
|
+
models: {
|
|
59
|
+
id: string;
|
|
60
|
+
label: string;
|
|
61
|
+
description: string;
|
|
62
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
63
|
+
}[];
|
|
64
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
65
|
+
stale: boolean;
|
|
66
|
+
reason?: string;
|
|
67
67
|
};
|
|
68
68
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
69
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
70
70
|
input: {
|
|
71
71
|
query: {
|
|
72
72
|
runner: string | string[];
|
|
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
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
|
-
}[];
|
|
73
|
+
error: string;
|
|
82
74
|
};
|
|
83
75
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
76
|
+
status: 500;
|
|
85
77
|
input: {
|
|
86
78
|
param: {
|
|
87
79
|
provider: string;
|
|
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
93
85
|
};
|
|
94
86
|
} | {
|
|
95
87
|
output: {
|
|
96
|
-
|
|
88
|
+
providers: {
|
|
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
|
+
}[];
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
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
|
-
}[];
|
|
131
|
+
error: string;
|
|
140
132
|
};
|
|
141
133
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
134
|
+
status: 409;
|
|
143
135
|
input: {
|
|
144
136
|
param: {
|
|
145
137
|
provider: string;
|
|
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
151
143
|
};
|
|
152
144
|
} | {
|
|
153
145
|
output: {
|
|
154
|
-
|
|
146
|
+
providers: {
|
|
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
|
+
}[];
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
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: 400;
|
|
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: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -284,10 +284,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
284
284
|
"/workspace/agent-profiles": {
|
|
285
285
|
$post: {
|
|
286
286
|
output: {
|
|
287
|
-
|
|
287
|
+
profile: {
|
|
288
|
+
id: string;
|
|
289
|
+
provider: string;
|
|
290
|
+
label: string;
|
|
291
|
+
configDir: string;
|
|
292
|
+
path: string;
|
|
293
|
+
exists: boolean;
|
|
294
|
+
looksValid: boolean;
|
|
295
|
+
isDefault: boolean;
|
|
296
|
+
status?: {
|
|
297
|
+
requiresAccountHome?: boolean | undefined;
|
|
298
|
+
provider: string;
|
|
299
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
300
|
+
enabled?: boolean | undefined;
|
|
301
|
+
hint?: string | undefined;
|
|
302
|
+
authFailureId?: string | undefined;
|
|
303
|
+
profileId?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
};
|
|
288
306
|
};
|
|
289
307
|
outputFormat: "json";
|
|
290
|
-
status:
|
|
308
|
+
status: 201;
|
|
291
309
|
input: {
|
|
292
310
|
json: {
|
|
293
311
|
provider: string;
|
|
@@ -313,7 +331,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
313
331
|
error: string;
|
|
314
332
|
};
|
|
315
333
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
334
|
+
status: 409;
|
|
317
335
|
input: {
|
|
318
336
|
json: {
|
|
319
337
|
provider: string;
|
|
@@ -323,28 +341,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
323
341
|
};
|
|
324
342
|
} | {
|
|
325
343
|
output: {
|
|
326
|
-
|
|
327
|
-
id: string;
|
|
328
|
-
provider: string;
|
|
329
|
-
label: string;
|
|
330
|
-
configDir: string;
|
|
331
|
-
path: string;
|
|
332
|
-
exists: boolean;
|
|
333
|
-
looksValid: boolean;
|
|
334
|
-
isDefault: boolean;
|
|
335
|
-
status?: {
|
|
336
|
-
requiresAccountHome?: boolean | undefined;
|
|
337
|
-
provider: string;
|
|
338
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
339
|
-
enabled?: boolean | undefined;
|
|
340
|
-
hint?: string | undefined;
|
|
341
|
-
authFailureId?: string | undefined;
|
|
342
|
-
profileId?: string | undefined;
|
|
343
|
-
} | undefined;
|
|
344
|
-
};
|
|
344
|
+
error: string;
|
|
345
345
|
};
|
|
346
346
|
outputFormat: "json";
|
|
347
|
-
status:
|
|
347
|
+
status: 500;
|
|
348
348
|
input: {
|
|
349
349
|
json: {
|
|
350
350
|
provider: string;
|
|
@@ -378,7 +378,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
378
378
|
error: string;
|
|
379
379
|
};
|
|
380
380
|
outputFormat: "json";
|
|
381
|
-
status:
|
|
381
|
+
status: 400;
|
|
382
382
|
input: {
|
|
383
383
|
param: {
|
|
384
384
|
id: string;
|
|
@@ -394,7 +394,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
394
394
|
error: string;
|
|
395
395
|
};
|
|
396
396
|
outputFormat: "json";
|
|
397
|
-
status:
|
|
397
|
+
status: 404;
|
|
398
398
|
input: {
|
|
399
399
|
param: {
|
|
400
400
|
id: string;
|
|
@@ -410,7 +410,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
410
410
|
error: string;
|
|
411
411
|
};
|
|
412
412
|
outputFormat: "json";
|
|
413
|
-
status:
|
|
413
|
+
status: 409;
|
|
414
414
|
input: {
|
|
415
415
|
param: {
|
|
416
416
|
id: string;
|
|
@@ -496,7 +496,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
496
496
|
error: string;
|
|
497
497
|
};
|
|
498
498
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
499
|
+
status: 404;
|
|
500
500
|
input: {
|
|
501
501
|
param: {
|
|
502
502
|
id: string;
|
|
@@ -511,7 +511,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
511
511
|
error: string;
|
|
512
512
|
};
|
|
513
513
|
outputFormat: "json";
|
|
514
|
-
status:
|
|
514
|
+
status: 409;
|
|
515
515
|
input: {
|
|
516
516
|
param: {
|
|
517
517
|
id: string;
|
|
@@ -553,7 +553,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
553
553
|
error: string;
|
|
554
554
|
};
|
|
555
555
|
outputFormat: "json";
|
|
556
|
-
status:
|
|
556
|
+
status: 400;
|
|
557
557
|
input: {
|
|
558
558
|
json: {
|
|
559
559
|
projectId: string;
|
|
@@ -579,7 +579,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
579
579
|
error: string;
|
|
580
580
|
};
|
|
581
581
|
outputFormat: "json";
|
|
582
|
-
status:
|
|
582
|
+
status: 409;
|
|
583
583
|
input: {
|
|
584
584
|
json: {
|
|
585
585
|
projectId: string;
|
|
@@ -638,7 +638,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
638
638
|
error: string;
|
|
639
639
|
};
|
|
640
640
|
outputFormat: "json";
|
|
641
|
-
status:
|
|
641
|
+
status: 404;
|
|
642
642
|
input: {
|
|
643
643
|
param: {
|
|
644
644
|
id: string;
|
|
@@ -649,7 +649,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
649
649
|
error: string;
|
|
650
650
|
};
|
|
651
651
|
outputFormat: "json";
|
|
652
|
-
status:
|
|
652
|
+
status: 409;
|
|
653
653
|
input: {
|
|
654
654
|
param: {
|
|
655
655
|
id: string;
|
|
@@ -660,7 +660,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
660
660
|
error: string;
|
|
661
661
|
};
|
|
662
662
|
outputFormat: "json";
|
|
663
|
-
status:
|
|
663
|
+
status: 500;
|
|
664
664
|
input: {
|
|
665
665
|
param: {
|
|
666
666
|
id: string;
|