@hearsay-tools/squawk 0.19.0-pr4622.9213 → 0.19.0-pr4622.9214

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.
Files changed (81) hide show
  1. package/dist/delegation/routes.d.ts +78 -78
  2. package/dist/features/reports/routes.d.ts +2 -2
  3. package/dist/server/models-routes.d.ts +12 -12
  4. package/dist/server/providers-routes.d.ts +58 -58
  5. package/dist/server/runners-routes.d.ts +10 -10
  6. package/dist/server/workspace-live-routes.d.ts +5 -5
  7. package/dist/server/workspace-routes.d.ts +85 -85
  8. package/package.json +4 -4
  9. package/web/dist/assets/{accounts-section-BwVLJgxK.js → accounts-section-BJcwTmko.js} +1 -1
  10. package/web/dist/assets/{activity-motion-tBH9QmZu.js → activity-motion-D7ylxNSA.js} +1 -1
  11. package/web/dist/assets/{activity-route-CkXs29ji.js → activity-route-Bmig0E18.js} +1 -1
  12. package/web/dist/assets/{agent-accounts-DQ_JY8H9.js → agent-accounts-DaaS69XB.js} +1 -1
  13. package/web/dist/assets/{agent-config-section-Bii12by6.js → agent-config-section-BOXqQyTv.js} +1 -1
  14. package/web/dist/assets/{agent-defaults-section-BpiqyCUf.js → agent-defaults-section-Bxfreo-n.js} +1 -1
  15. package/web/dist/assets/{appearance-B_765RRk.js → appearance-BRqSFVDC.js} +1 -1
  16. package/web/dist/assets/{archive-on-merge-field-B6O9ruku.js → archive-on-merge-field-hDSXItUf.js} +1 -1
  17. package/web/dist/assets/{ask-card-Cd0Xc7Uq.js → ask-card-CWrAEuZE.js} +1 -1
  18. package/web/dist/assets/{automations-route-CcVVZs26.js → automations-route-BBsU9yBn.js} +1 -1
  19. package/web/dist/assets/{commit-list-Dcd0WekD.js → commit-list-5iHD08NO.js} +1 -1
  20. package/web/dist/assets/{diff-B_cIEbs-.js → diff-CkIsqgZZ.js} +2 -2
  21. package/web/dist/assets/{diff-controls-BTGIDnSs.js → diff-controls-Bb70UBsP.js} +1 -1
  22. package/web/dist/assets/{diff-view-J684vGFE.js → diff-view-DLcxtXIH.js} +1 -1
  23. package/web/dist/assets/{discard-changes-dialog-BtnFyMRT.js → discard-changes-dialog-BzypT4vb.js} +1 -1
  24. package/web/dist/assets/{file-preview-B3jXfVP7.js → file-preview-CJVN0cBa.js} +1 -1
  25. package/web/dist/assets/{folder-browser-sYsHX_an.js → folder-browser-Cdm2WZOB.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-SKqi4XfU.js → git-toolbar-DPkpAaKz.js} +1 -1
  27. package/web/dist/assets/{github-T6wolZwH.js → github-DXBAYLfd.js} +1 -1
  28. package/web/dist/assets/{global-activity-route-Dx-kvhpz.js → global-activity-route-CQULPYKA.js} +1 -1
  29. package/web/dist/assets/{hosts-DeyANWdw.js → hosts-IKDCpyJQ.js} +1 -1
  30. package/web/dist/assets/index-k2m-s5zD.js +21 -0
  31. package/web/dist/assets/label-ODcSLYVj.js +1 -0
  32. package/web/dist/assets/{markdown-TRVPj3Mg.js → markdown-C1p1PDmF.js} +1 -1
  33. package/web/dist/assets/{open-in-menu-g5K4vTnb.js → open-in-menu-CbPtuWnJ.js} +1 -1
  34. package/web/dist/assets/{option-select-B76TaZGm.js → option-select-C6d3jHce.js} +1 -1
  35. package/web/dist/assets/{preferences-section-DZRKsK2E.js → preferences-section-ChS8Q-Lu.js} +1 -1
  36. package/web/dist/assets/{preview-pane-connected-CM10_MPC.js → preview-pane-connected-ELLewN-g.js} +1 -1
  37. package/web/dist/assets/{project-location-F5rU1iQp.js → project-location-D8vnqA4E.js} +1 -1
  38. package/web/dist/assets/{projects-section-DvYKR18b.js → projects-section-L3QxEiRK.js} +1 -1
  39. package/web/dist/assets/{prompt-templates-section-DFiGQ_kP.js → prompt-templates-section-D3GzKJMf.js} +1 -1
  40. package/web/dist/assets/queries-DHjNE2es.js +1 -0
  41. package/web/dist/assets/{read-state-DlkdVJHO.js → read-state-jUDTdM3R.js} +1 -1
  42. package/web/dist/assets/{reference-chip-DTWd5NlK.js → reference-chip-kvc51N1L.js} +1 -1
  43. package/web/dist/assets/{remote-settings-notice-4jnKyzkr.js → remote-settings-notice-BtVKQ2vp.js} +1 -1
  44. package/web/dist/assets/{repo-git-bpVnYJKi.js → repo-git-BGSxevNj.js} +1 -1
  45. package/web/dist/assets/{report-reader-DMyNCIiX.js → report-reader-CvEkEEwN.js} +1 -1
  46. package/web/dist/assets/{report-selection-BJgUwTp3.js → report-selection-DxBxW6dz.js} +1 -1
  47. package/web/dist/assets/{reports-CBzt0Dmc.js → reports-1vI74Z6R.js} +1 -1
  48. package/web/dist/assets/{resources-section-DrFTKHSn.js → resources-section-CpAOY20Z.js} +1 -1
  49. package/web/dist/assets/{review-notes-drafts-N0GgOh1J.js → review-notes-drafts-D25BaEEb.js} +1 -1
  50. package/web/dist/assets/{review-panel-BhyjEDJC.js → review-panel-CS9wTfAu.js} +1 -1
  51. package/web/dist/assets/{review-strip-DoWuOvcF.js → review-strip-nrpQBfNI.js} +1 -1
  52. package/web/dist/assets/{run-detail-refresh-Bx9zlPFP.js → run-detail-refresh-wJr0M04e.js} +1 -1
  53. package/web/dist/assets/{run-diff-BqvMg-mp.js → run-diff-BBASqHSE.js} +1 -1
  54. package/web/dist/assets/{run-header-Bg2x1hvz.js → run-header-DVnksnr4.js} +1 -1
  55. package/web/dist/assets/{select-Cbi8vDBU.js → select-CEEeAH4k.js} +1 -1
  56. package/web/dist/assets/{session-context-section-BnezEi_b.js → session-context-section-F1umLA86.js} +1 -1
  57. package/web/dist/assets/{settings-agent-picker-DCmAHz6j.js → settings-agent-picker-sUQdIon3.js} +1 -1
  58. package/web/dist/assets/{settings-save-bar-De7cR5EO.js → settings-save-bar-BkU1JDt3.js} +1 -1
  59. package/web/dist/assets/{settings-shell-kQCF-IMK.js → settings-shell-DodTPpjl.js} +1 -1
  60. package/web/dist/assets/{sidebar-section-BZHg8W-H.js → sidebar-section-DspuARa_.js} +1 -1
  61. package/web/dist/assets/{skills-DUOE73c3.js → skills-CrHHdPjJ.js} +1 -1
  62. package/web/dist/assets/{task-changes-fRMZxCzG.js → task-changes-U1cnUd83.js} +1 -1
  63. package/web/dist/assets/{task-commits-Cenv0zsB.js → task-commits-DxuX8SZp.js} +1 -1
  64. package/web/dist/assets/{task-file-scope-K1Ban5eN.js → task-file-scope-DU8AkDkr.js} +1 -1
  65. package/web/dist/assets/{task-files-EU03WHnV.js → task-files-DaDM9FRg.js} +1 -1
  66. package/web/dist/assets/{task-github-item-Dhte1Ixh.js → task-github-item-CXzzVHXw.js} +1 -1
  67. package/web/dist/assets/{task-groups-DcQL5SKa.js → task-groups-BapM4YcT.js} +1 -1
  68. package/web/dist/assets/{task-thread-DDMomGRh.js → task-thread-9WIv4rPC.js} +1 -1
  69. package/web/dist/assets/{thread-state-K3qTs1EO.js → thread-state-IooDEE0b.js} +1 -1
  70. package/web/dist/assets/{use-finish-run-C8c9NAvg.js → use-finish-run-jVAqsGkV.js} +1 -1
  71. package/web/dist/assets/{use-hand-to-agent-state-BIvAHKwY.js → use-hand-to-agent-state-DfucUGAH.js} +1 -1
  72. package/web/dist/assets/use-path-bases-C7DRxlRi.js +1 -0
  73. package/web/dist/assets/{use-workspace-config-save-D6M-r6_i.js → use-workspace-config-save-B2eroiEx.js} +1 -1
  74. package/web/dist/assets/{workflows-jSPeMWLl.js → workflows-DdKRMlHR.js} +1 -1
  75. package/web/dist/assets/{workspace-tools-DmZ9LMQc.js → workspace-tools-CePJG7uG.js} +1 -1
  76. package/web/dist/assets/{worktrees-section-CsXzXEwX.js → worktrees-section-CCgqbLAh.js} +1 -1
  77. package/web/dist/index.html +12 -12
  78. package/web/dist/assets/index-6oRe52sM.js +0 -21
  79. package/web/dist/assets/label-BXbOoPSF.js +0 -1
  80. package/web/dist/assets/queries-DQVUxiSU.js +0 -1
  81. package/web/dist/assets/use-path-bases-DxT4eodL.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: Record<string, never>;
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: Record<string, never>;
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
- workerId: string;
1112
- revision: number;
1113
- source: "assistant" | "failure";
1114
- seq: number;
1115
- totalLines: number;
1116
- offset: number;
1117
- lineCount: number;
1118
- text: string;
1119
- nextOffset?: number | undefined;
1111
+ error: string;
1112
+ code?: "invalid_input" | undefined;
1120
1113
  };
1121
1114
  outputFormat: "json";
1122
- status: 200;
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
- error: string;
1136
- code?: "invalid_input" | undefined;
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: 400;
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
- workerId: string;
1157
- baselineSha: string;
1158
- diff: string;
1159
- truncated: boolean;
1156
+ error: string;
1157
+ code?: "invalid_input" | undefined;
1160
1158
  };
1161
1159
  outputFormat: "json";
1162
- status: 200;
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
- error: string;
1171
- code?: "invalid_input" | undefined;
1168
+ workerId: string;
1169
+ baselineSha: string;
1170
+ diff: string;
1171
+ truncated: boolean;
1172
1172
  };
1173
1173
  outputFormat: "json";
1174
- status: 400;
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: 400;
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: 409;
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
- error: string;
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: 500;
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
- 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
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
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
- error: string;
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: 409;
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
- 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
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
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: 400;
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: 409;
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
- profile: {
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: 201;
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: 409;
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
- error: string;
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: 500;
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: 400;
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: 404;
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: 409;
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: 400;
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: 409;
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: 404;
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: 409;
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: 500;
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
- supported: boolean;
62
- installedVersion: string | null;
63
- latestVersion: string | null;
64
- updateAvailable: boolean;
65
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
- error: string | null;
61
+ error: string;
62
+ code?: "invalid_input" | undefined;
67
63
  };
68
64
  outputFormat: "json";
69
- status: 202;
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
- error: string;
82
- code?: "invalid_input" | undefined;
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: 400;
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
- installId: string;
11
- version: string;
10
+ error: string;
12
11
  };
13
12
  outputFormat: "json";
14
- status: 200;
13
+ status: 503;
15
14
  input: {};
16
15
  } | {
17
16
  output: {
18
- error: string;
17
+ installId: string;
18
+ version: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 503;
21
+ status: 200;
22
22
  input: {};
23
23
  };
24
24
  };