@yadsh/dsh-qa-surface 0.18.0 → 0.20.0

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 (243) hide show
  1. package/README.md +201 -22
  2. package/lib/access/model-choices.js +103 -0
  3. package/lib/access/model-choices.js.map +1 -0
  4. package/lib/access/model-policy.js +79 -7
  5. package/lib/access/model-policy.js.map +1 -1
  6. package/lib/access/model.js +29 -1
  7. package/lib/access/model.js.map +1 -1
  8. package/lib/access/queue-policy.js +36 -0
  9. package/lib/access/queue-policy.js.map +1 -0
  10. package/lib/access/service.js +124 -7
  11. package/lib/access/service.js.map +1 -1
  12. package/lib/account-remotes.js +10 -1
  13. package/lib/account-remotes.js.map +1 -1
  14. package/lib/accounts/database.js +44 -3
  15. package/lib/accounts/database.js.map +1 -1
  16. package/lib/accounts/store.js +28 -0
  17. package/lib/accounts/store.js.map +1 -1
  18. package/lib/admin/service.js +6 -1
  19. package/lib/admin/service.js.map +1 -1
  20. package/lib/attachment-access.js +147 -0
  21. package/lib/attachment-access.js.map +1 -0
  22. package/lib/chat-sharing/search.js +89 -0
  23. package/lib/chat-sharing/search.js.map +1 -0
  24. package/lib/chat-sharing/transport.js +8 -9
  25. package/lib/chat-sharing/transport.js.map +1 -1
  26. package/lib/client/QaAccountsController.js +43 -8
  27. package/lib/client/QaAccountsController.js.map +1 -1
  28. package/lib/client/QaSessionController.js +106 -32
  29. package/lib/client/QaSessionController.js.map +1 -1
  30. package/lib/client/QaSurface.js +64 -5
  31. package/lib/client/QaSurface.js.map +1 -1
  32. package/lib/client/admin/ModelPolicyEditor.js +28 -2
  33. package/lib/client/admin/ModelPolicyEditor.js.map +1 -1
  34. package/lib/client/admin/RoleEditor.js +18 -1
  35. package/lib/client/admin/RoleEditor.js.map +1 -1
  36. package/lib/client/admin/pages/SkillFiles.js +1 -1
  37. package/lib/client/admin/pages/SkillFiles.js.map +1 -1
  38. package/lib/client/admin/pages/Users.js +36 -16
  39. package/lib/client/admin/pages/Users.js.map +1 -1
  40. package/lib/client/admin/styles.js +3 -0
  41. package/lib/client/admin/styles.js.map +1 -1
  42. package/lib/client/code-source-styles.js +12 -0
  43. package/lib/client/code-source-styles.js.map +1 -0
  44. package/lib/client/components/QaChangelog.js +96 -0
  45. package/lib/client/components/QaChangelog.js.map +1 -1
  46. package/lib/client/components/QaChatActions.js +36 -14
  47. package/lib/client/components/QaChatActions.js.map +1 -1
  48. package/lib/client/components/QaCodeSourcePicker.js +18 -0
  49. package/lib/client/components/QaCodeSourcePicker.js.map +1 -0
  50. package/lib/client/components/QaComposer.js +11 -12
  51. package/lib/client/components/QaComposer.js.map +1 -1
  52. package/lib/client/components/QaComposerSettings.js +202 -0
  53. package/lib/client/components/QaComposerSettings.js.map +1 -0
  54. package/lib/client/components/QaFormItem.js +74 -38
  55. package/lib/client/components/QaFormItem.js.map +1 -1
  56. package/lib/client/components/QaHistoryCatalog.js +261 -0
  57. package/lib/client/components/QaHistoryCatalog.js.map +1 -0
  58. package/lib/client/components/QaInputForm.js +115 -32
  59. package/lib/client/components/QaInputForm.js.map +1 -1
  60. package/lib/client/components/QaModelSelector.js +21 -0
  61. package/lib/client/components/QaModelSelector.js.map +1 -0
  62. package/lib/client/components/QaRequestWait.js +15 -0
  63. package/lib/client/components/QaRequestWait.js.map +1 -0
  64. package/lib/client/components/QaSidebar.js +25 -24
  65. package/lib/client/components/QaSidebar.js.map +1 -1
  66. package/lib/client/composer-settings-styles.js +21 -0
  67. package/lib/client/composer-settings-styles.js.map +1 -0
  68. package/lib/client/forms-styles.js +35 -11
  69. package/lib/client/forms-styles.js.map +1 -1
  70. package/lib/client/history-organization-styles.js +31 -0
  71. package/lib/client/history-organization-styles.js.map +1 -0
  72. package/lib/client/history-organization.js +155 -0
  73. package/lib/client/history-organization.js.map +1 -0
  74. package/lib/client/index.js +13 -2
  75. package/lib/client/index.js.map +1 -1
  76. package/lib/client/project-session-state.js.map +1 -1
  77. package/lib/client/request-wait-styles.js +7 -0
  78. package/lib/client/request-wait-styles.js.map +1 -0
  79. package/lib/client/settings/sections/attachments.js +7 -1
  80. package/lib/client/settings/sections/attachments.js.map +1 -1
  81. package/lib/client/settings/sections/session.js +1 -1
  82. package/lib/client/settings/sections/session.js.map +1 -1
  83. package/lib/client/styles.js +20 -1
  84. package/lib/client/styles.js.map +1 -1
  85. package/lib/client/types.js.map +1 -1
  86. package/lib/client/use-chat-code-source.js +156 -0
  87. package/lib/client/use-chat-code-source.js.map +1 -0
  88. package/lib/client/use-history-organization.js +48 -0
  89. package/lib/client/use-history-organization.js.map +1 -0
  90. package/lib/client/use-model-selection.js +96 -0
  91. package/lib/client/use-model-selection.js.map +1 -0
  92. package/lib/client/use-qa-file-drop.js +81 -0
  93. package/lib/client/use-qa-file-drop.js.map +1 -0
  94. package/lib/client/user-settings/IntegrationTokensPage.js +42 -6
  95. package/lib/client/user-settings/IntegrationTokensPage.js.map +1 -1
  96. package/lib/client/user-settings/UserSettingsDialog.js +1 -1
  97. package/lib/client/user-settings/UserSettingsDialog.js.map +1 -1
  98. package/lib/client.js +131 -27
  99. package/lib/client.js.map +1 -1
  100. package/lib/code-source-selection.js +102 -0
  101. package/lib/code-source-selection.js.map +1 -0
  102. package/lib/config-resolvers/accounts.js +26 -1
  103. package/lib/config-resolvers/accounts.js.map +1 -1
  104. package/lib/config-resolvers/defaults.js +5 -0
  105. package/lib/config-resolvers/defaults.js.map +1 -1
  106. package/lib/config-resolvers/integration.js +8 -1
  107. package/lib/config-resolvers/integration.js.map +1 -1
  108. package/lib/config-resolvers/session.js +2 -0
  109. package/lib/config-resolvers/session.js.map +1 -1
  110. package/lib/config.js +51 -3
  111. package/lib/config.js.map +1 -1
  112. package/lib/enforcement/skill-policy.js +37 -2
  113. package/lib/enforcement/skill-policy.js.map +1 -1
  114. package/lib/filesystem-intent.js +39 -0
  115. package/lib/filesystem-intent.js.map +1 -0
  116. package/lib/forms/attachments.js +18 -2
  117. package/lib/forms/attachments.js.map +1 -1
  118. package/lib/forms/errors.js +6 -1
  119. package/lib/forms/errors.js.map +1 -1
  120. package/lib/forms/gate.js +28 -2
  121. package/lib/forms/gate.js.map +1 -1
  122. package/lib/forms/schema-errors.js +47 -0
  123. package/lib/forms/schema-errors.js.map +1 -0
  124. package/lib/forms/schema.js +29 -20
  125. package/lib/forms/schema.js.map +1 -1
  126. package/lib/index.js +189 -84
  127. package/lib/index.js.map +1 -1
  128. package/lib/integration/http.js +9 -10
  129. package/lib/integration/http.js.map +1 -1
  130. package/lib/integration/service.js +9 -0
  131. package/lib/integration/service.js.map +1 -1
  132. package/lib/personal-skills/provider.js +9 -1
  133. package/lib/personal-skills/provider.js.map +1 -1
  134. package/lib/personal-skills/service.js +4 -0
  135. package/lib/personal-skills/service.js.map +1 -1
  136. package/lib/personal-skills/shared-seed.js +65 -0
  137. package/lib/personal-skills/shared-seed.js.map +1 -0
  138. package/lib/prompt-notes.js +19 -1
  139. package/lib/prompt-notes.js.map +1 -1
  140. package/lib/provenance/collector.js +1 -0
  141. package/lib/provenance/collector.js.map +1 -1
  142. package/lib/provenance/extractors.js +6 -1
  143. package/lib/provenance/extractors.js.map +1 -1
  144. package/lib/qa-tools/catalog.js +18 -1
  145. package/lib/qa-tools/catalog.js.map +1 -1
  146. package/lib/qa-tools/code-files.js +207 -0
  147. package/lib/qa-tools/code-files.js.map +1 -0
  148. package/lib/qa-tools/code-tools.js +158 -0
  149. package/lib/qa-tools/code-tools.js.map +1 -0
  150. package/lib/qa-tools/docs-tools.js +49 -12
  151. package/lib/qa-tools/docs-tools.js.map +1 -1
  152. package/lib/qa-tools/index.js +4 -0
  153. package/lib/qa-tools/index.js.map +1 -1
  154. package/lib/qa-tools/request-user-form.js +27 -7
  155. package/lib/qa-tools/request-user-form.js.map +1 -1
  156. package/lib/request-scheduler.js +262 -0
  157. package/lib/request-scheduler.js.map +1 -0
  158. package/lib/resolve-config.js +9 -1
  159. package/lib/resolve-config.js.map +1 -1
  160. package/lib/secure-session.js +62 -56
  161. package/lib/secure-session.js.map +1 -1
  162. package/lib/session-create.js +125 -0
  163. package/lib/session-create.js.map +1 -0
  164. package/lib/session-model.js +43 -1
  165. package/lib/session-model.js.map +1 -1
  166. package/lib/shared/history-folder.js +18 -0
  167. package/lib/shared/history-folder.js.map +1 -0
  168. package/lib/typert.host.js +793 -159
  169. package/lib/typert.remote-client.d.ts +19 -7
  170. package/lib/typert.remote-client.js +726 -148
  171. package/lib/types/access/model-choices.d.ts +16 -0
  172. package/lib/types/access/model-policy.d.ts +13 -7
  173. package/lib/types/access/model.d.ts +9 -0
  174. package/lib/types/access/queue-policy.d.ts +30 -0
  175. package/lib/types/access/service.d.ts +27 -0
  176. package/lib/types/account-remotes.d.ts +5 -4
  177. package/lib/types/accounts/database.d.ts +5 -0
  178. package/lib/types/accounts/store.d.ts +6 -0
  179. package/lib/types/attachment-access.d.ts +29 -0
  180. package/lib/types/chat-sharing/search.d.ts +5 -0
  181. package/lib/types/chat-sharing/transport.d.ts +1 -1
  182. package/lib/types/client/QaAccountsController.d.ts +3 -1
  183. package/lib/types/client/QaSessionController.d.ts +31 -14
  184. package/lib/types/client/QaSurface.d.ts +2 -0
  185. package/lib/types/client/admin/ModelPolicyEditor.d.ts +2 -0
  186. package/lib/types/client/code-source-styles.d.ts +2 -0
  187. package/lib/types/client/components/QaChatActions.d.ts +3 -1
  188. package/lib/types/client/components/QaCodeSourcePicker.d.ts +9 -0
  189. package/lib/types/client/components/QaComposer.d.ts +2 -0
  190. package/lib/types/client/components/QaComposerSettings.d.ts +16 -0
  191. package/lib/types/client/components/QaFormItem.d.ts +4 -2
  192. package/lib/types/client/components/QaHistoryCatalog.d.ts +19 -0
  193. package/lib/types/client/components/QaInputForm.d.ts +3 -2
  194. package/lib/types/client/components/QaModelSelector.d.ts +4 -0
  195. package/lib/types/client/components/QaRequestWait.d.ts +6 -0
  196. package/lib/types/client/components/QaSidebar.d.ts +3 -0
  197. package/lib/types/client/composer-settings-styles.d.ts +2 -0
  198. package/lib/types/client/forms-styles.d.ts +1 -1
  199. package/lib/types/client/history-organization-styles.d.ts +3 -0
  200. package/lib/types/client/history-organization.d.ts +38 -0
  201. package/lib/types/client/project-session-state.d.ts +2 -4
  202. package/lib/types/client/request-wait-styles.d.ts +2 -0
  203. package/lib/types/client/types.d.ts +15 -7
  204. package/lib/types/client/use-chat-code-source.d.ts +20 -0
  205. package/lib/types/client/use-history-organization.d.ts +8 -0
  206. package/lib/types/client/use-model-selection.d.ts +24 -0
  207. package/lib/types/client/use-qa-file-drop.d.ts +12 -0
  208. package/lib/types/code-source-selection.d.ts +28 -0
  209. package/lib/types/code-sources.js +2 -0
  210. package/lib/types/code-sources.js.map +1 -0
  211. package/lib/types/config-resolvers/integration.d.ts +7 -1
  212. package/lib/types/filesystem-intent.d.ts +12 -0
  213. package/lib/types/forms/attachments.d.ts +5 -2
  214. package/lib/types/forms/errors.d.ts +3 -2
  215. package/lib/types/forms/gate.d.ts +4 -2
  216. package/lib/types/forms/schema-errors.d.ts +7 -0
  217. package/lib/types/forms/types.d.ts +14 -0
  218. package/lib/types/index.d.ts +41 -15
  219. package/lib/types/integration/http.d.ts +1 -3
  220. package/lib/types/integration/service.d.ts +2 -0
  221. package/lib/types/personal-skills/shared-seed.d.ts +12 -0
  222. package/lib/types/prompt-notes.d.ts +5 -1
  223. package/lib/types/qa-tools/catalog.d.ts +4 -3
  224. package/lib/types/qa-tools/code-files.d.ts +59 -0
  225. package/lib/types/qa-tools/code-tools.d.ts +7 -0
  226. package/lib/types/qa-tools/docs-tools.d.ts +4 -0
  227. package/lib/types/qa-tools/index.d.ts +3 -1
  228. package/lib/types/qa-tools/request-user-form.d.ts +1 -1
  229. package/lib/types/request-scheduler.d.ts +47 -0
  230. package/lib/types/secure-session.d.ts +12 -26
  231. package/lib/types/session-create.d.ts +29 -0
  232. package/lib/types/session-model.d.ts +11 -2
  233. package/lib/types/shared/history-folder.d.ts +4 -0
  234. package/lib/types/types/accounts.d.ts +11 -0
  235. package/lib/types/types/capability.d.ts +31 -4
  236. package/lib/types/types/code-sources.d.ts +12 -0
  237. package/lib/types/types/config.d.ts +20 -0
  238. package/lib/types/types/session.d.ts +8 -0
  239. package/lib/types/types.d.ts +1 -0
  240. package/lib/types/user-workspace.d.ts +4 -6
  241. package/lib/user-workspace.js +20 -71
  242. package/lib/user-workspace.js.map +1 -1
  243. package/package.json +13 -10
@@ -68,7 +68,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = () =>
68
68
  'provider': z.string().readonly(),
69
69
  'model': z.string().readonly(),
70
70
  'reasoningEffort': z.string().readonly().optional(),
71
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
71
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
72
+ 'allowedModels': z.array(z.object({
73
+ 'provider': z.string().readonly(),
74
+ 'model': z.string().readonly(),
75
+ 'reasoningEffort': z.string().readonly().optional(),
76
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
77
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
72
78
  'ui': z.object({
73
79
  'icon': z.string().readonly().optional(),
74
80
  'accent': z.string().readonly().optional(),
@@ -168,6 +174,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = () =>
168
174
  'model': z.string().readonly(),
169
175
  'reasoningEffort': z.string().readonly().optional(),
170
176
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
177
+ 'allowedModels': z.array(z.object({
178
+ 'provider': z.string().readonly(),
179
+ 'model': z.string().readonly(),
180
+ 'reasoningEffort': z.string().readonly().optional(),
181
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
182
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
171
183
  }).readonly(),
172
184
  })).readonly(),
173
185
  'audit': z.array(z.object({
@@ -202,7 +214,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema = (
202
214
  'provider': z.string().readonly(),
203
215
  'model': z.string().readonly(),
204
216
  'reasoningEffort': z.string().readonly().optional(),
205
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
217
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
218
+ 'allowedModels': z.array(z.object({
219
+ 'provider': z.string().readonly(),
220
+ 'model': z.string().readonly(),
221
+ 'reasoningEffort': z.string().readonly().optional(),
222
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
223
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
206
224
  'ui': z.object({
207
225
  'icon': z.string().readonly().optional(),
208
226
  'accent': z.string().readonly().optional(),
@@ -229,7 +247,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema = () =>
229
247
  'provider': z.string().readonly(),
230
248
  'model': z.string().readonly(),
231
249
  'reasoningEffort': z.string().readonly().optional(),
232
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
250
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
251
+ 'allowedModels': z.array(z.object({
252
+ 'provider': z.string().readonly(),
253
+ 'model': z.string().readonly(),
254
+ 'reasoningEffort': z.string().readonly().optional(),
255
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
256
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
233
257
  'ui': z.object({
234
258
  'icon': z.string().readonly().optional(),
235
259
  'accent': z.string().readonly().optional(),
@@ -259,7 +283,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema = () => (_yads
259
283
  'provider': z.string().readonly(),
260
284
  'model': z.string().readonly(),
261
285
  'reasoningEffort': z.string().readonly().optional(),
262
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
286
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
287
+ 'allowedModels': z.array(z.object({
288
+ 'provider': z.string().readonly(),
289
+ 'model': z.string().readonly(),
290
+ 'reasoningEffort': z.string().readonly().optional(),
291
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
292
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
263
293
  'ui': z.object({
264
294
  'icon': z.string().readonly().optional(),
265
295
  'accent': z.string().readonly().optional(),
@@ -312,7 +342,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema = () => (_yads
312
342
  'provider': z.string().readonly(),
313
343
  'model': z.string().readonly(),
314
344
  'reasoningEffort': z.string().readonly().optional(),
315
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
345
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
346
+ 'allowedModels': z.array(z.object({
347
+ 'provider': z.string().readonly(),
348
+ 'model': z.string().readonly(),
349
+ 'reasoningEffort': z.string().readonly().optional(),
350
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
351
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
316
352
  'ui': z.object({
317
353
  'icon': z.string().readonly().optional(),
318
354
  'accent': z.string().readonly().optional(),
@@ -348,6 +384,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema
348
384
  'model': z.string().readonly(),
349
385
  'reasoningEffort': z.string().readonly().optional(),
350
386
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
387
+ 'allowedModels': z.array(z.object({
388
+ 'provider': z.string().readonly(),
389
+ 'model': z.string().readonly(),
390
+ 'reasoningEffort': z.string().readonly().optional(),
391
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
392
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
351
393
  }))
352
394
  let _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema$value
353
395
  const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema$value ??= z.object({
@@ -358,6 +400,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema = ()
358
400
  'model': z.string().readonly(),
359
401
  'reasoningEffort': z.string().readonly().optional(),
360
402
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
403
+ 'allowedModels': z.array(z.object({
404
+ 'provider': z.string().readonly(),
405
+ 'model': z.string().readonly(),
406
+ 'reasoningEffort': z.string().readonly().optional(),
407
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
408
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
361
409
  }))
362
410
  let _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema$value
363
411
  const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema$value ??= z.string())
@@ -428,7 +476,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema = (
428
476
  'provider': z.string().readonly(),
429
477
  'model': z.string().readonly(),
430
478
  'reasoningEffort': z.string().readonly().optional(),
431
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
479
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
480
+ 'allowedModels': z.array(z.object({
481
+ 'provider': z.string().readonly(),
482
+ 'model': z.string().readonly(),
483
+ 'reasoningEffort': z.string().readonly().optional(),
484
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
485
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
432
486
  'ui': z.object({
433
487
  'icon': z.string().readonly().optional(),
434
488
  'accent': z.string().readonly().optional(),
@@ -455,12 +509,50 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema = () =>
455
509
  'provider': z.string().readonly(),
456
510
  'model': z.string().readonly(),
457
511
  'reasoningEffort': z.string().readonly().optional(),
458
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
512
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
513
+ 'allowedModels': z.array(z.object({
514
+ 'provider': z.string().readonly(),
515
+ 'model': z.string().readonly(),
516
+ 'reasoningEffort': z.string().readonly().optional(),
517
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
518
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
459
519
  'ui': z.object({
460
520
  'icon': z.string().readonly().optional(),
461
521
  'accent': z.string().readonly().optional(),
462
522
  }).readonly().optional(),
463
523
  }))
524
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0$schema$value
525
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0$schema$value ??= z.string())
526
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1$schema$value
527
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
528
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2$schema$value
529
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2$schema$value ??= z.union([z.literal(null), z.string()]))
530
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3$schema$value
531
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3$schema$value ??= z.boolean())
532
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_result$schema$value
533
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_result$schema$value ??= z.object({
534
+ 'models': z.array(z.object({
535
+ 'provider': z.string().readonly(),
536
+ 'model': z.string().readonly(),
537
+ 'label': z.string().readonly().describe('The catalog\'s display name for the model, or its id when it has none.'),
538
+ 'reasoningEfforts': z.array(z.string()).readonly(),
539
+ })).readonly(),
540
+ 'choices': z.array(z.object({
541
+ 'provider': z.string().readonly(),
542
+ 'model': z.string().readonly(),
543
+ 'reasoningEffort': z.string().readonly().optional(),
544
+ })).readonly(),
545
+ 'defaultModel': z.object({
546
+ 'provider': z.string().readonly(),
547
+ 'model': z.string().readonly(),
548
+ 'reasoningEffort': z.string().readonly().optional(),
549
+ }).readonly().optional(),
550
+ 'selected': z.object({
551
+ 'provider': z.string().readonly(),
552
+ 'model': z.string().readonly(),
553
+ 'reasoningEffort': z.string().readonly().optional(),
554
+ }).readonly().optional(),
555
+ }))
464
556
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0$schema$value
465
557
  const _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0$schema$value ??= z.string())
466
558
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_1$schema$value
@@ -511,6 +603,10 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0$schem
511
603
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0$schema$value ??= z.string())
512
604
  let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$schema$value
513
605
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$schema$value ??= z.object({
606
+ 'historyFolder': z.union([z.literal(null), z.object({
607
+ 'id': z.string().readonly(),
608
+ 'name': z.string().readonly(),
609
+ })]).readonly().optional(),
514
610
  'label': z.string().readonly().optional().describe('A note the operator\'s list shows; empty becomes a generic label.'),
515
611
  'scopes': z.array(z.string()).readonly().optional().describe('Requested scopes; unknown ones are dropped, explicit empty grants none.'),
516
612
  'allowClarifications': z.boolean().readonly().optional().describe('Whether API turns may ask clarifying questions; omitted preserves existing behavior.'),
@@ -519,6 +615,10 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$sch
519
615
  let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_result$schema$value
520
616
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_result$schema$value ??= z.object({
521
617
  'token': z.string().readonly().describe('The credential to hand to the integration. Never recoverable later.'),
618
+ 'historyFolder': z.union([z.literal(null), z.object({
619
+ 'id': z.string().readonly(),
620
+ 'name': z.string().readonly(),
621
+ })]).readonly().optional(),
522
622
  'id': z.string().readonly(),
523
623
  'label': z.string().readonly(),
524
624
  'scopes': z.array(z.union([z.literal("ask"), z.literal("sessions:read")])).readonly(),
@@ -545,6 +645,10 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_parameter_0$sche
545
645
  let _yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_result$schema$value
546
646
  const _yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_result$schema$value ??= z.object({
547
647
  'tokens': z.array(z.object({
648
+ 'historyFolder': z.union([z.literal(null), z.object({
649
+ 'id': z.string().readonly(),
650
+ 'name': z.string().readonly(),
651
+ })]).readonly().optional(),
548
652
  'id': z.string().readonly(),
549
653
  'label': z.string().readonly(),
550
654
  'scopes': z.array(z.union([z.literal("ask"), z.literal("sessions:read")])).readonly(),
@@ -640,6 +744,10 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_parameter_0$schema =
640
744
  let _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema$value
641
745
  const _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema$value ??= z.object({
642
746
  'ids': z.array(z.string()).readonly(),
747
+ 'integrationFolders': z.record(z.string(), z.object({
748
+ 'id': z.string().readonly(),
749
+ 'name': z.string().readonly(),
750
+ })).readonly().readonly().optional(),
643
751
  }))
644
752
  let _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema$value
645
753
  const _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema$value ??= z.string())
@@ -700,6 +808,19 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result
700
808
  const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result$schema$value ??= z.object({
701
809
  'updated': z.boolean().readonly(),
702
810
  }))
811
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0$schema$value
812
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0$schema$value ??= z.string())
813
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1$schema$value
814
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1$schema$value ??= z.string())
815
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2$schema$value
816
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2$schema$value ??= z.union([z.literal(null), z.object({
817
+ 'id': z.string().readonly(),
818
+ 'name': z.string().readonly(),
819
+ })]))
820
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_result$schema$value
821
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_result$schema$value ??= z.object({
822
+ 'updated': z.boolean().readonly(),
823
+ }))
703
824
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0$schema$value
704
825
  const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0$schema$value ??= z.string())
705
826
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_1$schema$value
@@ -1343,6 +1464,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminResetPassword_result$schema = () => (
1343
1464
  'model': z.string().readonly(),
1344
1465
  'reasoningEffort': z.string().readonly().optional(),
1345
1466
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
1467
+ 'allowedModels': z.array(z.object({
1468
+ 'provider': z.string().readonly(),
1469
+ 'model': z.string().readonly(),
1470
+ 'reasoningEffort': z.string().readonly().optional(),
1471
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
1472
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
1346
1473
  }).readonly(),
1347
1474
  }).readonly(),
1348
1475
  'effective': z.array(z.object({
@@ -1640,6 +1767,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema = () =>
1640
1767
  'model': z.string().readonly(),
1641
1768
  'reasoningEffort': z.string().readonly().optional(),
1642
1769
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
1770
+ 'allowedModels': z.array(z.object({
1771
+ 'provider': z.string().readonly(),
1772
+ 'model': z.string().readonly(),
1773
+ 'reasoningEffort': z.string().readonly().optional(),
1774
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
1775
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
1643
1776
  })]).readonly().optional(),
1644
1777
  }))
1645
1778
  let _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema$value
@@ -1663,6 +1796,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema = () => (_ya
1663
1796
  'model': z.string().readonly(),
1664
1797
  'reasoningEffort': z.string().readonly().optional(),
1665
1798
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
1799
+ 'allowedModels': z.array(z.object({
1800
+ 'provider': z.string().readonly(),
1801
+ 'model': z.string().readonly(),
1802
+ 'reasoningEffort': z.string().readonly().optional(),
1803
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
1804
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
1666
1805
  }).readonly(),
1667
1806
  }).readonly(),
1668
1807
  'effective': z.array(z.object({
@@ -1705,6 +1844,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema = () => (_yadsh_ds
1705
1844
  'model': z.string().readonly(),
1706
1845
  'reasoningEffort': z.string().readonly().optional(),
1707
1846
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
1847
+ 'allowedModels': z.array(z.object({
1848
+ 'provider': z.string().readonly(),
1849
+ 'model': z.string().readonly(),
1850
+ 'reasoningEffort': z.string().readonly().optional(),
1851
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
1852
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
1708
1853
  }).readonly(),
1709
1854
  }).readonly(),
1710
1855
  'effective': z.array(z.object({
@@ -1756,6 +1901,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema = () => (_yadsh_d
1756
1901
  'model': z.string().readonly(),
1757
1902
  'reasoningEffort': z.string().readonly().optional(),
1758
1903
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
1904
+ 'allowedModels': z.array(z.object({
1905
+ 'provider': z.string().readonly(),
1906
+ 'model': z.string().readonly(),
1907
+ 'reasoningEffort': z.string().readonly().optional(),
1908
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
1909
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
1759
1910
  }).readonly(),
1760
1911
  })).readonly(),
1761
1912
  'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
@@ -1881,6 +2032,21 @@ let _yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema$value
1881
2032
  const _yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema$value ??= z.object({
1882
2033
  'accepted': z.literal(true).readonly(),
1883
2034
  }))
2035
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0$schema$value
2036
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0$schema$value ??= z.string())
2037
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1$schema$value
2038
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1$schema$value ??= z.string())
2039
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_result$schema$value
2040
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_result$schema$value ??= z.object({
2041
+ 'selectedSource': z.union([z.literal(null), z.string()]).readonly(),
2042
+ 'effectiveSource': z.union([z.literal(null), z.string()]).readonly(),
2043
+ 'entries': z.array(z.object({
2044
+ 'id': z.string().readonly(),
2045
+ 'label': z.string().readonly(),
2046
+ })).readonly(),
2047
+ 'writable': z.boolean().readonly(),
2048
+ 'unavailable': z.boolean().readonly(),
2049
+ }))
1884
2050
  let _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0$schema$value
1885
2051
  const _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0$schema$value ??= z.string())
1886
2052
  let _yadsh_dsh_qa_surface_qaSurface_chatControl_result$schema$value
@@ -1996,6 +2162,23 @@ const _yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1$schema = () => (_ya
1996
2162
  }))
1997
2163
  let _yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema$value
1998
2164
  const _yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaChatJsonRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => QaChatJsonRemoteCodec$schema3())).readonly()]))
2165
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0$schema$value
2166
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0$schema$value ??= z.string())
2167
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1$schema$value
2168
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1$schema$value ??= z.string())
2169
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2$schema$value
2170
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2$schema$value ??= z.union([z.literal(null), z.string()]))
2171
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_result$schema$value
2172
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_result$schema$value ??= z.object({
2173
+ 'selectedSource': z.union([z.literal(null), z.string()]).readonly(),
2174
+ 'effectiveSource': z.union([z.literal(null), z.string()]).readonly(),
2175
+ 'entries': z.array(z.object({
2176
+ 'id': z.string().readonly(),
2177
+ 'label': z.string().readonly(),
2178
+ })).readonly(),
2179
+ 'writable': z.boolean().readonly(),
2180
+ 'unavailable': z.boolean().readonly(),
2181
+ }))
1999
2182
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0$schema$value
2000
2183
  const _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0$schema$value ??= z.string())
2001
2184
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_1$schema$value
@@ -2071,6 +2254,15 @@ let _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema$value
2071
2254
  const _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_createSession_result$schema$value ??= z.string())
2072
2255
  let _yadsh_dsh_qa_surface_qaSurface_describe_result$schema$value
2073
2256
  const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_describe_result$schema$value ??= z.object({
2257
+ 'codeSources': z.object({
2258
+ 'defaultSource': z.string().readonly(),
2259
+ 'entries': z.array(z.object({
2260
+ 'id': z.string().readonly(),
2261
+ 'label': z.string().readonly(),
2262
+ 'path': z.string().readonly(),
2263
+ 'docsVersion': z.string().readonly().optional(),
2264
+ })).readonly(),
2265
+ }).readonly(),
2074
2266
  'forms': z.object({
2075
2267
  'enabled': z.boolean(),
2076
2268
  'maxSteps': z.number(),
@@ -2109,6 +2301,18 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh
2109
2301
  'provider': z.union([z.literal(null), z.string()]).readonly(),
2110
2302
  'model': z.union([z.literal(null), z.string()]).readonly(),
2111
2303
  'reasoningEffort': z.union([z.literal(null), z.string()]).readonly(),
2304
+ 'modelReplacements': z.array(z.object({
2305
+ 'from': z.object({
2306
+ 'provider': z.string().readonly(),
2307
+ 'model': z.string().readonly(),
2308
+ 'reasoningEffort': z.string().readonly().optional(),
2309
+ }).readonly(),
2310
+ 'to': z.object({
2311
+ 'provider': z.string().readonly(),
2312
+ 'model': z.string().readonly(),
2313
+ 'reasoningEffort': z.string().readonly().optional(),
2314
+ }).readonly(),
2315
+ })).readonly(),
2112
2316
  'maxActiveRequests': z.number().readonly(),
2113
2317
  }).readonly(),
2114
2318
  'ui': z.object({
@@ -2213,6 +2417,10 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh
2213
2417
  'skills': z.object({
2214
2418
  'enabled': z.boolean().readonly(),
2215
2419
  'relativeRoot': z.string().readonly(),
2420
+ 'sharedSeed': z.union([z.literal(null), z.object({
2421
+ 'root': z.string().readonly(),
2422
+ 'names': z.array(z.string()).readonly(),
2423
+ })]).readonly(),
2216
2424
  'watch': z.boolean().readonly(),
2217
2425
  'maxSkillBytes': z.number().readonly(),
2218
2426
  'allowResourceEditing': z.boolean().readonly(),
@@ -2323,6 +2531,7 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh
2323
2531
  'requestsPerMinute': z.number().readonly(),
2324
2532
  'maxRequestBytes': z.number().readonly(),
2325
2533
  'maxAttachmentBytes': z.number().readonly(),
2534
+ 'maxAttachments': z.number().readonly(),
2326
2535
  'maxAnswerCharacters': z.number().readonly(),
2327
2536
  }).readonly(),
2328
2537
  }))
@@ -2373,6 +2582,11 @@ const _yadsh_dsh_qa_surface_qaSurface_getForm_result$schema = () => (_yadsh_dsh_
2373
2582
  'component': z.union([z.literal("answer"), z.literal("files")]),
2374
2583
  'code': z.string(),
2375
2584
  'message': z.string(),
2585
+ })).optional(),
2586
+ 'schema_errors': z.array(z.object({
2587
+ 'path': z.string(),
2588
+ 'code': z.string(),
2589
+ 'message': z.string(),
2376
2590
  })).optional(),
2377
2591
  }),
2378
2592
  }), z.object({
@@ -2534,6 +2748,11 @@ const _yadsh_dsh_qa_surface_qaSurface_listForms_result$schema = () => (_yadsh_ds
2534
2748
  'component': z.union([z.literal("answer"), z.literal("files")]),
2535
2749
  'code': z.string(),
2536
2750
  'message': z.string(),
2751
+ })).optional(),
2752
+ 'schema_errors': z.array(z.object({
2753
+ 'path': z.string(),
2754
+ 'code': z.string(),
2755
+ 'message': z.string(),
2537
2756
  })).optional(),
2538
2757
  }),
2539
2758
  }), z.object({
@@ -2758,6 +2977,11 @@ const _yadsh_dsh_qa_surface_qaSurface_mutateForm_result$schema = () => (_yadsh_d
2758
2977
  'component': z.union([z.literal("answer"), z.literal("files")]),
2759
2978
  'code': z.string(),
2760
2979
  'message': z.string(),
2980
+ })).optional(),
2981
+ 'schema_errors': z.array(z.object({
2982
+ 'path': z.string(),
2983
+ 'code': z.string(),
2984
+ 'message': z.string(),
2761
2985
  })).optional(),
2762
2986
  }),
2763
2987
  }), z.object({
@@ -3012,11 +3236,20 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema = (
3012
3236
  'warnings': z.array(z.string()).readonly(),
3013
3237
  }).readonly(),
3014
3238
  })]))
3239
+ let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value
3240
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value ??= z.string())
3241
+ let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value
3242
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value ??= z.string())
3015
3243
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value
3016
3244
  const _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value ??= z.object({
3017
3245
  'limit': z.number().readonly().describe('The configured ceiling; 0 means the deployment sets none.'),
3018
3246
  'active': z.number().readonly().describe('Turns answering at the moment of the read, this visitor\'s own included — the stand cannot tell a place it owes someone from one it owes you.'),
3019
3247
  'full': z.boolean().readonly().describe('Whether one more turn fits; false while no ceiling is set.'),
3248
+ 'managed': z.boolean().readonly().optional().describe('The Host enforces admission and starts queued turns automatically.'),
3249
+ 'queued': z.number().readonly().optional(),
3250
+ 'waiting': z.boolean().readonly().optional().describe('Present only for the authorized chat whose status was requested.'),
3251
+ 'position': z.union([z.literal(null), z.number()]).readonly().optional(),
3252
+ 'estimatedWaitMs': z.union([z.literal(null), z.number()]).readonly().optional().describe('Approximate delay derived from completed turns, or null without a sample.'),
3020
3253
  }))
3021
3254
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0$schema$value
3022
3255
  const _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0$schema$value ??= z.string())
@@ -3039,6 +3272,11 @@ const _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_result$schema = () => (
3039
3272
  'component': z.union([z.literal("answer"), z.literal("files")]),
3040
3273
  'code': z.string(),
3041
3274
  'message': z.string(),
3275
+ })).optional(),
3276
+ 'schema_errors': z.array(z.object({
3277
+ 'path': z.string(),
3278
+ 'code': z.string(),
3279
+ 'message': z.string(),
3042
3280
  })).optional(),
3043
3281
  }),
3044
3282
  }), z.object({
@@ -3562,6 +3800,11 @@ const _yadsh_dsh_qa_surface_qaSurface_validateFormStep_result$schema = () => (_y
3562
3800
  'component': z.union([z.literal("answer"), z.literal("files")]),
3563
3801
  'code': z.string(),
3564
3802
  'message': z.string(),
3803
+ })).optional(),
3804
+ 'schema_errors': z.array(z.object({
3805
+ 'path': z.string(),
3806
+ 'code': z.string(),
3807
+ 'message': z.string(),
3565
3808
  })).optional(),
3566
3809
  }),
3567
3810
  }), z.object({
@@ -3593,7 +3836,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1_strict$sch
3593
3836
  'provider': z.string().readonly(),
3594
3837
  'model': z.string().readonly(),
3595
3838
  'reasoningEffort': z.string().readonly().optional(),
3596
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
3839
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
3840
+ 'allowedModels': z.array(z.strictObject({
3841
+ 'provider': z.string().readonly(),
3842
+ 'model': z.string().readonly(),
3843
+ 'reasoningEffort': z.string().readonly().optional(),
3844
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
3845
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
3597
3846
  'ui': z.strictObject({
3598
3847
  'icon': z.string().readonly().optional(),
3599
3848
  'accent': z.string().readonly().optional(),
@@ -3630,6 +3879,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2_strict$
3630
3879
  'model': z.string().readonly(),
3631
3880
  'reasoningEffort': z.string().readonly().optional(),
3632
3881
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
3882
+ 'allowedModels': z.array(z.strictObject({
3883
+ 'provider': z.string().readonly(),
3884
+ 'model': z.string().readonly(),
3885
+ 'reasoningEffort': z.string().readonly().optional(),
3886
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
3887
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
3633
3888
  }))
3634
3889
  let _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0_strict$schema$value
3635
3890
  const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0_strict$schema$value ??= z.string())
@@ -3680,12 +3935,26 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2_strict$sch
3680
3935
  'provider': z.string().readonly(),
3681
3936
  'model': z.string().readonly(),
3682
3937
  'reasoningEffort': z.string().readonly().optional(),
3683
- }).readonly().optional().describe('The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
3938
+ }).readonly().optional().describe('The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment\'s pair serves it.'),
3939
+ 'allowedModels': z.array(z.strictObject({
3940
+ 'provider': z.string().readonly(),
3941
+ 'model': z.string().readonly(),
3942
+ 'reasoningEffort': z.string().readonly().optional(),
3943
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
3944
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this role\'s turns may fill at once, ahead of the deployment\'s `session.maxActiveRequests`. 0 lifts the ceiling for this role\'s turns; absent keeps the deployment\'s number.'),
3684
3945
  'ui': z.strictObject({
3685
3946
  'icon': z.string().readonly().optional(),
3686
3947
  'accent': z.string().readonly().optional(),
3687
3948
  }).readonly().optional(),
3688
3949
  }))
3950
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema$value
3951
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema$value ??= z.string())
3952
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema$value
3953
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
3954
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema$value
3955
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.string()]))
3956
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema$value
3957
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema$value ??= z.boolean())
3689
3958
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0_strict$schema$value
3690
3959
  const _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0_strict$schema$value ??= z.string())
3691
3960
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_1_strict$schema$value
@@ -3700,6 +3969,10 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0_stric
3700
3969
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0_strict$schema$value ??= z.string())
3701
3970
  let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema$value
3702
3971
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema$value ??= z.strictObject({
3972
+ 'historyFolder': z.union([z.literal(null), z.strictObject({
3973
+ 'id': z.string().readonly(),
3974
+ 'name': z.string().readonly(),
3975
+ })]).readonly().optional(),
3703
3976
  'label': z.string().readonly().optional().describe('A note the operator\'s list shows; empty becomes a generic label.'),
3704
3977
  'scopes': z.array(z.string()).readonly().optional().describe('Requested scopes; unknown ones are dropped, explicit empty grants none.'),
3705
3978
  'allowClarifications': z.boolean().readonly().optional().describe('Whether API turns may ask clarifying questions; omitted preserves existing behavior.'),
@@ -3737,6 +4010,15 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parame
3737
4010
  const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_1_strict$schema$value ??= z.string())
3738
4011
  let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema$value
3739
4012
  const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema$value ??= z.boolean())
4013
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema$value
4014
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema$value ??= z.string())
4015
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema$value
4016
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema$value ??= z.string())
4017
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema$value
4018
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
4019
+ 'id': z.string().readonly(),
4020
+ 'name': z.string().readonly(),
4021
+ })]))
3740
4022
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0_strict$schema$value
3741
4023
  const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0_strict$schema$value ??= z.string())
3742
4024
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_1_strict$schema$value
@@ -4013,6 +4295,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2_strict$schema
4013
4295
  'model': z.string().readonly(),
4014
4296
  'reasoningEffort': z.string().readonly().optional(),
4015
4297
  }).readonly().optional().describe('The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion.'),
4298
+ 'allowedModels': z.array(z.strictObject({
4299
+ 'provider': z.string().readonly(),
4300
+ 'model': z.string().readonly(),
4301
+ 'reasoningEffort': z.string().readonly().optional(),
4302
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
4303
+ 'maxActiveRequests': z.number().readonly().optional().describe('How many of the stand\'s slots this account\'s turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account\'s turns; absent keeps the role\'s or the deployment\'s number.'),
4016
4304
  })]).readonly().optional(),
4017
4305
  }))
4018
4306
  let _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0_strict$schema$value
@@ -4099,6 +4387,10 @@ let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_0_strict$schema$value
4099
4387
  const _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_0_strict$schema$value ??= z.string())
4100
4388
  let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema$value
4101
4389
  const _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema$value ??= z.string())
4390
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema$value
4391
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema$value ??= z.string())
4392
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema$value
4393
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema$value ??= z.string())
4102
4394
  let _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0_strict$schema$value
4103
4395
  const _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0_strict$schema$value ??= z.string())
4104
4396
  let _yadsh_dsh_qa_surface_qaSurface_chatFollow_parameter_0_strict$schema$value
@@ -4186,6 +4478,12 @@ let _yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1_strict$schema$value
4186
4478
  const _yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1_strict$schema$value ??= z.strictObject({
4187
4479
  'query': z.string().readonly(),
4188
4480
  }))
4481
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema$value
4482
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema$value ??= z.string())
4483
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema$value
4484
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema$value ??= z.string())
4485
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema$value
4486
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.string()]))
4189
4487
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0_strict$schema$value
4190
4488
  const _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0_strict$schema$value ??= z.string())
4191
4489
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_1_strict$schema$value
@@ -4328,6 +4626,10 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_parameter_3_stric
4328
4626
  'startRow': z.number().readonly().optional(),
4329
4627
  'startColumn': z.number().readonly().optional(),
4330
4628
  })]))
4629
+ let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema$value
4630
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema$value ??= z.string())
4631
+ let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema$value
4632
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema$value ??= z.string())
4331
4633
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0_strict$schema$value
4332
4634
  const _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0_strict$schema$value ??= z.string())
4333
4635
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_1_strict$schema$value
@@ -4500,9 +4802,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4500
4802
  mode: 'strict',
4501
4803
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
4502
4804
  create: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
4503
- jsonSchema: {"type":"object","properties":{"config":{"type":"object","properties":{"version":{"type":"number","const":1},"common":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"subroles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true}},"skillOverrides":{"type":"array","items":{"type":"object","properties":{"skillName":{"type":"string"},"addToSubroles":{"type":"array","items":{"type":"string"}},"removeFromSubroles":{"type":"array","items":{"type":"string"}},"forceCommon":{"type":"boolean"},"disabled":{"type":"boolean"}},"required":["skillName"],"additionalProperties":true},"description":"Administrator assignments layered over what each skill declares."}},"required":["version","common","subroles","skillOverrides"],"additionalProperties":true},"systemRequired":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true,"description":"Immutable capabilities inherited by every role; exposed read-only."},"catalog":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["tool","skill"]},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["core","plugin","mcp","filesystem","runtime"]},"name":{"type":"string"}},"required":["kind"],"additionalProperties":true},"status":{"type":"string","enum":["available","missing"]},"modelInvocable":{"type":"boolean"},"userInvocable":{"type":"boolean"}},"required":["type","id","title","source","status"],"additionalProperties":true}},"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"whenToUse":{"type":"string"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["core","plugin","mcp","filesystem","runtime"]},"name":{"type":"string"}},"required":["kind"],"additionalProperties":true},"status":{"type":"string","enum":["available","missing"]},"descriptor":{"type":"object","properties":{"name":{"type":"string"},"audience":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"unassigned"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"common"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"subroles"},"include":{"type":"array","items":{"type":"string"}}},"required":["type","include"],"additionalProperties":true}]},"requiredTools":{"type":"array","items":{"type":"string"},"description":"Tools the skill needs to work; the role ceiling still decides the grant."},"requireAll":{"type":"boolean","description":"Whether activation must be refused when one required tool is unavailable."},"lifecycle":{"type":"string","const":"session"},"schemaVersion":{"type":"number","description":"`metadata.qa-surface.version`; 0 when the block declared none."},"declared":{"type":"boolean","description":"Whether the skill carried a readable qa-surface metadata block."},"warnings":{"type":"array","items":{"type":"string"}}},"required":["name","audience","requiredTools","requireAll","lifecycle","schemaVersion","declared","warnings"],"additionalProperties":true},"visibleTo":{"type":"array","items":{"type":"string"},"description":"Roles whose policy currently exposes the skill."},"disabled":{"type":"boolean"},"forceCommon":{"type":"boolean"},"overridden":{"type":"boolean"},"health":{"type":"string","enum":["blocked","unassigned","healthy","degraded"]},"tools":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"installed":{"type":"boolean"},"grantableBy":{"type":"array","items":{"type":"string"}},"blockedFor":{"type":"array","items":{"type":"string"}}},"required":["id","installed","grantableBy","blockedFor"],"additionalProperties":true},"description":"Every required tool with the union of roles that could grant it."},"roles":{"type":"array","items":{"type":"object","properties":{"roleId":{"type":"string"},"visible":{"type":"boolean"},"declared":{"type":"boolean"},"addedByAdmin":{"type":"boolean"},"removedByAdmin":{"type":"boolean"},"disabled":{"type":"boolean"},"grantableTools":{"type":"array","items":{"type":"string"},"description":"Required tools this role's ceiling admits."},"unavailableTools":{"type":"array","items":{"type":"string"},"description":"Required tools this role cannot grant: outside the ceiling or not installed."}},"required":["roleId","visible","declared","addedByAdmin","removedByAdmin","disabled","grantableTools","unavailableTools"],"additionalProperties":true}}},"required":["name","source","status","descriptor","visibleTo","disabled","forceCommon","overridden","health","tools","roles"],"additionalProperties":true},"description":"Every discovered skill with its declared audience and grant ceiling."},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"accessRole":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["id","email","displayName","accessRole","disabled","access"],"additionalProperties":true}},"audit":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string"},"actorId":{"type":"string"},"action":{"type":"string","enum":["subrole.created","subrole.updated","subrole.deleted","common.updated","assignment.updated","skill.assignment-updated"]},"targetId":{"type":"string"},"before":{"type":"string","description":"JSON snapshots serialized at the storage boundary for a strict Remote type."},"after":{"type":"string"}},"required":["timestamp","actorId","action"],"additionalProperties":true}}},"required":["config","systemRequired","catalog","skills","users","audit"],"additionalProperties":true},
4805
+ jsonSchema: {"type":"object","properties":{"config":{"type":"object","properties":{"version":{"type":"number","const":1},"common":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"subroles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true}},"skillOverrides":{"type":"array","items":{"type":"object","properties":{"skillName":{"type":"string"},"addToSubroles":{"type":"array","items":{"type":"string"}},"removeFromSubroles":{"type":"array","items":{"type":"string"}},"forceCommon":{"type":"boolean"},"disabled":{"type":"boolean"}},"required":["skillName"],"additionalProperties":true},"description":"Administrator assignments layered over what each skill declares."}},"required":["version","common","subroles","skillOverrides"],"additionalProperties":true},"systemRequired":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true,"description":"Immutable capabilities inherited by every role; exposed read-only."},"catalog":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["tool","skill"]},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["core","plugin","mcp","filesystem","runtime"]},"name":{"type":"string"}},"required":["kind"],"additionalProperties":true},"status":{"type":"string","enum":["available","missing"]},"modelInvocable":{"type":"boolean"},"userInvocable":{"type":"boolean"}},"required":["type","id","title","source","status"],"additionalProperties":true}},"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"whenToUse":{"type":"string"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["core","plugin","mcp","filesystem","runtime"]},"name":{"type":"string"}},"required":["kind"],"additionalProperties":true},"status":{"type":"string","enum":["available","missing"]},"descriptor":{"type":"object","properties":{"name":{"type":"string"},"audience":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"unassigned"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"common"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"subroles"},"include":{"type":"array","items":{"type":"string"}}},"required":["type","include"],"additionalProperties":true}]},"requiredTools":{"type":"array","items":{"type":"string"},"description":"Tools the skill needs to work; the role ceiling still decides the grant."},"requireAll":{"type":"boolean","description":"Whether activation must be refused when one required tool is unavailable."},"lifecycle":{"type":"string","const":"session"},"schemaVersion":{"type":"number","description":"`metadata.qa-surface.version`; 0 when the block declared none."},"declared":{"type":"boolean","description":"Whether the skill carried a readable qa-surface metadata block."},"warnings":{"type":"array","items":{"type":"string"}}},"required":["name","audience","requiredTools","requireAll","lifecycle","schemaVersion","declared","warnings"],"additionalProperties":true},"visibleTo":{"type":"array","items":{"type":"string"},"description":"Roles whose policy currently exposes the skill."},"disabled":{"type":"boolean"},"forceCommon":{"type":"boolean"},"overridden":{"type":"boolean"},"health":{"type":"string","enum":["blocked","unassigned","healthy","degraded"]},"tools":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"installed":{"type":"boolean"},"grantableBy":{"type":"array","items":{"type":"string"}},"blockedFor":{"type":"array","items":{"type":"string"}}},"required":["id","installed","grantableBy","blockedFor"],"additionalProperties":true},"description":"Every required tool with the union of roles that could grant it."},"roles":{"type":"array","items":{"type":"object","properties":{"roleId":{"type":"string"},"visible":{"type":"boolean"},"declared":{"type":"boolean"},"addedByAdmin":{"type":"boolean"},"removedByAdmin":{"type":"boolean"},"disabled":{"type":"boolean"},"grantableTools":{"type":"array","items":{"type":"string"},"description":"Required tools this role's ceiling admits."},"unavailableTools":{"type":"array","items":{"type":"string"},"description":"Required tools this role cannot grant: outside the ceiling or not installed."}},"required":["roleId","visible","declared","addedByAdmin","removedByAdmin","disabled","grantableTools","unavailableTools"],"additionalProperties":true}}},"required":["name","source","status","descriptor","visibleTo","disabled","forceCommon","overridden","health","tools","roles"],"additionalProperties":true},"description":"Every discovered skill with its declared audience and grant ceiling."},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"accessRole":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["id","email","displayName","accessRole","disabled","access"],"additionalProperties":true}},"audit":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string"},"actorId":{"type":"string"},"action":{"type":"string","enum":["subrole.created","subrole.updated","subrole.deleted","common.updated","assignment.updated","skill.assignment-updated"]},"targetId":{"type":"string"},"before":{"type":"string","description":"JSON snapshots serialized at the storage boundary for a strict Remote type."},"after":{"type":"string"}},"required":["timestamp","actorId","action"],"additionalProperties":true}}},"required":["config","systemRequired","catalog","skills","users","audit"],"additionalProperties":true},
4504
4806
  },
4505
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1343,"column":9},
4807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1469,"column":9},
4506
4808
  },
4507
4809
  'qaSurface/accessCreateSubrole': {
4508
4810
  service: 'qaSurface',
@@ -4531,13 +4833,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4531
4833
  mode: 'strict',
4532
4834
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4533
4835
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema,
4534
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4836
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4535
4837
  },
4536
4838
  strictCodec: {
4537
4839
  mode: 'strict',
4538
4840
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4539
4841
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1_strict$schema,
4540
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":false},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":false},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":false}},"required":["id","name","enabled","capabilities"],"additionalProperties":false},
4842
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":false},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":false},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":false}},"required":["id","name","enabled","capabilities"],"additionalProperties":false},
4541
4843
  },
4542
4844
  },
4543
4845
  ],
@@ -4545,9 +4847,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4545
4847
  mode: 'strict',
4546
4848
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4547
4849
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
4548
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4850
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4549
4851
  },
4550
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1354,"column":9},
4852
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1480,"column":9},
4551
4853
  },
4552
4854
  'qaSurface/accessCurrent': {
4553
4855
  service: 'qaSurface',
@@ -4575,9 +4877,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4575
4877
  mode: 'strict',
4576
4878
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
4577
4879
  create: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
4578
- jsonSchema: {"type":"object","properties":{"subroles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true}},"defaultSubrole":{"type":"string"}},"required":["subroles","defaultSubrole"],"additionalProperties":true},
4880
+ jsonSchema: {"type":"object","properties":{"subroles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true}},"defaultSubrole":{"type":"string"}},"required":["subroles","defaultSubrole"],"additionalProperties":true},
4579
4881
  },
4580
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1328,"column":3},
4882
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1454,"column":3},
4581
4883
  },
4582
4884
  'qaSurface/accessDeleteSubrole': {
4583
4885
  service: 'qaSurface',
@@ -4638,7 +4940,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4638
4940
  create: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
4639
4941
  jsonSchema: {"type":"object","properties":{"deleted":{"type":"boolean"}},"required":["deleted"],"additionalProperties":true},
4640
4942
  },
4641
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1385,"column":3},
4943
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1531,"column":3},
4642
4944
  },
4643
4945
  'qaSurface/accessModelCatalog': {
4644
4946
  service: 'qaSurface',
@@ -4668,7 +4970,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4668
4970
  create: _yadsh_dsh_qa_surface_qaSurface_accessModelCatalog_result$schema,
4669
4971
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"label":{"type":"string","description":"The catalog's display name for the model, or its id when it has none."},"reasoningEfforts":{"type":"array","items":{"type":"string"}}},"required":["provider","model","label","reasoningEfforts"],"additionalProperties":true}},
4670
4972
  },
4671
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1376,"column":9},
4973
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1502,"column":9},
4672
4974
  },
4673
4975
  'qaSurface/accessSession': {
4674
4976
  service: 'qaSurface',
@@ -4712,9 +5014,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4712
5014
  mode: 'strict',
4713
5015
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
4714
5016
  create: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
4715
- jsonSchema: {"type":"object","properties":{"subrole":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},"adminPreview":{"type":"boolean"}},"required":["subrole","adminPreview"],"additionalProperties":true},
5017
+ jsonSchema: {"type":"object","properties":{"subrole":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},"adminPreview":{"type":"boolean"}},"required":["subrole","adminPreview"],"additionalProperties":true},
4716
5018
  },
4717
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1334,"column":3},
5019
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1460,"column":3},
4718
5020
  },
4719
5021
  'qaSurface/accessSkillActivations': {
4720
5022
  service: 'qaSurface',
@@ -4760,7 +5062,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4760
5062
  create: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
4761
5063
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string"},"skillName":{"type":"string"},"origin":{"type":"string","enum":["user","model","preview"]},"outcome":{"type":"string","enum":["activated","rejected","denied"]},"requestedTools":{"type":"array","items":{"type":"string"}},"grantedTools":{"type":"array","items":{"type":"string"}},"deniedTools":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}},"required":["timestamp","skillName","origin","outcome","requestedTools","grantedTools","deniedTools"],"additionalProperties":true}},
4762
5064
  },
4763
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1430,"column":3},
5065
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1576,"column":3},
4764
5066
  },
4765
5067
  'qaSurface/accessUpdateAssignment': {
4766
5068
  service: 'qaSurface',
@@ -4805,13 +5107,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4805
5107
  mode: 'strict',
4806
5108
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4807
5109
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema,
4808
- jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true},
5110
+ jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true},
4809
5111
  },
4810
5112
  strictCodec: {
4811
5113
  mode: 'strict',
4812
5114
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4813
5115
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2_strict$schema,
4814
- jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":false},
5116
+ jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":false},
4815
5117
  },
4816
5118
  },
4817
5119
  ],
@@ -4819,9 +5121,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4819
5121
  mode: 'strict',
4820
5122
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4821
5123
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
4822
- jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true},
5124
+ jsonSchema: {"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true},
4823
5125
  },
4824
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1407,"column":9},
5126
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1553,"column":9},
4825
5127
  },
4826
5128
  'qaSurface/accessUpdateCommon': {
4827
5129
  service: 'qaSurface',
@@ -4866,7 +5168,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4866
5168
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
4867
5169
  jsonSchema: {"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},
4868
5170
  },
4869
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1397,"column":3},
5171
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1543,"column":3},
4870
5172
  },
4871
5173
  'qaSurface/accessUpdateSkillOverride': {
4872
5174
  service: 'qaSurface',
@@ -4912,7 +5214,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4912
5214
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
4913
5215
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"skillName":{"type":"string"},"addToSubroles":{"type":"array","items":{"type":"string"}},"removeFromSubroles":{"type":"array","items":{"type":"string"}},"forceCommon":{"type":"boolean"},"disabled":{"type":"boolean"}},"required":["skillName"],"additionalProperties":true}},
4914
5216
  },
4915
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1419,"column":3},
5217
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1565,"column":3},
4916
5218
  },
4917
5219
  'qaSurface/accessUpdateSubrole': {
4918
5220
  service: 'qaSurface',
@@ -4957,13 +5259,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4957
5259
  mode: 'strict',
4958
5260
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4959
5261
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema,
4960
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
5262
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4961
5263
  },
4962
5264
  strictCodec: {
4963
5265
  mode: 'strict',
4964
5266
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4965
5267
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2_strict$schema,
4966
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":false},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":false},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":false}},"required":["id","name","enabled","capabilities"],"additionalProperties":false},
5268
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":false},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":false},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":false}},"required":["id","name","enabled","capabilities"],"additionalProperties":false},
4967
5269
  },
4968
5270
  },
4969
5271
  ],
@@ -4971,9 +5273,86 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4971
5273
  mode: 'strict',
4972
5274
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4973
5275
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
4974
- jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair every chat of this role is opened on, whatever the visitor picks in the interface. Absent means the role keeps no opinion and the deployment's pair serves it."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
5276
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"capabilities":{"type":"object","properties":{"tools":{"type":"object","properties":{"always":{"type":"array","items":{"type":"string"}},"skillGrantable":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"},"description":"Names this layer takes away, whatever grants them. The deployment's pinned tools and the Common layer reach every role, so without this a system tool could only be withdrawn by editing the profile and restarting the Host. A denial beats every grant — system, Common, the role's own list and every skill — and it narrows the ceiling a delegated assistant is held to, so one checkbox takes a tool away from a role and from the experts that role may spawn."}},"required":["always","skillGrantable"],"additionalProperties":true},"skills":{"type":"array","items":{"type":"string"}},"mcpServers":{"type":"array","items":{"type":"string"},"description":"Reserved extension seams; v1 enforcement intentionally ignores them."},"knowledgeSources":{"type":"array","items":{"type":"string"}},"promptAdditions":{"type":"array","items":{"type":"string"}}},"required":["tools","skills"],"additionalProperties":true},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The default pair every new chat of this role opens on. Absent means the role keeps no opinion and the deployment's pair serves it."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Additional user-selectable pairs. The default model stays available."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this role's turns may fill at once, ahead of the deployment's `session.maxActiveRequests`. 0 lifts the ceiling for this role's turns; absent keeps the deployment's number."},"ui":{"type":"object","properties":{"icon":{"type":"string"},"accent":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["id","name","enabled","capabilities"],"additionalProperties":true},
4975
5277
  },
4976
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1364,"column":9},
5278
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1490,"column":9},
5279
+ },
5280
+ 'qaSurface/accessUserModels': {
5281
+ service: 'qaSurface',
5282
+ invocation: { kind: 'direct' },
5283
+ parameters: [
5284
+ {
5285
+ name: 'token',
5286
+ source: 'json',
5287
+ codec: {
5288
+ mode: 'strict',
5289
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:token',
5290
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0$schema,
5291
+ jsonSchema: {"type":"string"},
5292
+ },
5293
+ strictCodec: {
5294
+ mode: 'strict',
5295
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:token',
5296
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema,
5297
+ jsonSchema: {"type":"string"},
5298
+ },
5299
+ },
5300
+ {
5301
+ name: 'sessionId',
5302
+ source: 'json',
5303
+ codec: {
5304
+ mode: 'strict',
5305
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:sessionId',
5306
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1$schema,
5307
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5308
+ },
5309
+ strictCodec: {
5310
+ mode: 'strict',
5311
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:sessionId',
5312
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema,
5313
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5314
+ },
5315
+ },
5316
+ {
5317
+ name: 'subroleId',
5318
+ source: 'json',
5319
+ codec: {
5320
+ mode: 'strict',
5321
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:subroleId',
5322
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2$schema,
5323
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5324
+ },
5325
+ strictCodec: {
5326
+ mode: 'strict',
5327
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:subroleId',
5328
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema,
5329
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5330
+ },
5331
+ },
5332
+ {
5333
+ name: 'adminPreview',
5334
+ source: 'json',
5335
+ codec: {
5336
+ mode: 'strict',
5337
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:adminPreview',
5338
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3$schema,
5339
+ jsonSchema: {"type":"boolean"},
5340
+ },
5341
+ strictCodec: {
5342
+ mode: 'strict',
5343
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:adminPreview',
5344
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema,
5345
+ jsonSchema: {"type":"boolean"},
5346
+ },
5347
+ },
5348
+ ],
5349
+ result: {
5350
+ mode: 'strict',
5351
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaModelOptions',
5352
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_result$schema,
5353
+ jsonSchema: {"type":"object","properties":{"models":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"label":{"type":"string","description":"The catalog's display name for the model, or its id when it has none."},"reasoningEfforts":{"type":"array","items":{"type":"string"}}},"required":["provider","model","label","reasoningEfforts"],"additionalProperties":true}},"choices":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}},"defaultModel":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"selected":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}},"required":["models","choices"],"additionalProperties":true},
5354
+ },
5355
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1511,"column":9},
4977
5356
  },
4978
5357
  'qaSurface/accountsChangePassword': {
4979
5358
  service: 'qaSurface',
@@ -5035,7 +5414,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5035
5414
  create: _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_result$schema,
5036
5415
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5037
5416
  },
5038
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1011,"column":3},
5417
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1134,"column":3},
5039
5418
  },
5040
5419
  'qaSurface/accountsClaimSessions': {
5041
5420
  service: 'qaSurface',
@@ -5081,7 +5460,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5081
5460
  create: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
5082
5461
  jsonSchema: {"type":"object","properties":{"claimed":{"type":"number"},"conflicts":{"type":"array","items":{"type":"string"},"description":"Ids already owned by a different user; the browser drops them."}},"required":["claimed","conflicts"],"additionalProperties":true},
5083
5462
  },
5084
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1045,"column":3},
5463
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1168,"column":3},
5085
5464
  },
5086
5465
  'qaSurface/accountsCreateServiceToken': {
5087
5466
  service: 'qaSurface',
@@ -5111,13 +5490,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5111
5490
  mode: 'strict',
5112
5491
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5113
5492
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$schema,
5114
- jsonSchema: {"type":"object","properties":{"label":{"type":"string","description":"A note the operator's list shows; empty becomes a generic label."},"scopes":{"type":"array","items":{"type":"string"},"description":"Requested scopes; unknown ones are dropped, explicit empty grants none."},"allowClarifications":{"type":"boolean","description":"Whether API turns may ask clarifying questions; omitted preserves existing behavior."},"ttlDays":{"type":"number","description":"How long the token lives, in days; bounded server-side."}},"required":[],"additionalProperties":true},
5493
+ jsonSchema: {"type":"object","properties":{"historyFolder":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}]},"label":{"type":"string","description":"A note the operator's list shows; empty becomes a generic label."},"scopes":{"type":"array","items":{"type":"string"},"description":"Requested scopes; unknown ones are dropped, explicit empty grants none."},"allowClarifications":{"type":"boolean","description":"Whether API turns may ask clarifying questions; omitted preserves existing behavior."},"ttlDays":{"type":"number","description":"How long the token lives, in days; bounded server-side."}},"required":[],"additionalProperties":true},
5115
5494
  },
5116
5495
  strictCodec: {
5117
5496
  mode: 'strict',
5118
5497
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5119
5498
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema,
5120
- jsonSchema: {"type":"object","properties":{"label":{"type":"string","description":"A note the operator's list shows; empty becomes a generic label."},"scopes":{"type":"array","items":{"type":"string"},"description":"Requested scopes; unknown ones are dropped, explicit empty grants none."},"allowClarifications":{"type":"boolean","description":"Whether API turns may ask clarifying questions; omitted preserves existing behavior."},"ttlDays":{"type":"number","description":"How long the token lives, in days; bounded server-side."}},"required":[],"additionalProperties":false},
5499
+ jsonSchema: {"type":"object","properties":{"historyFolder":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}]},"label":{"type":"string","description":"A note the operator's list shows; empty becomes a generic label."},"scopes":{"type":"array","items":{"type":"string"},"description":"Requested scopes; unknown ones are dropped, explicit empty grants none."},"allowClarifications":{"type":"boolean","description":"Whether API turns may ask clarifying questions; omitted preserves existing behavior."},"ttlDays":{"type":"number","description":"How long the token lives, in days; bounded server-side."}},"required":[],"additionalProperties":false},
5121
5500
  },
5122
5501
  },
5123
5502
  ],
@@ -5125,9 +5504,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5125
5504
  mode: 'strict',
5126
5505
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaIssuedServiceToken',
5127
5506
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_result$schema,
5128
- jsonSchema: {"type":"object","properties":{"token":{"type":"string","description":"The credential to hand to the integration. Never recoverable later."},"id":{"type":"string"},"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["ask","sessions:read"]}},"allowClarifications":{"type":"boolean","description":"Older Hosts omit this field and keep clarifications enabled."},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"lastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revokedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"useCount":{"type":"number"}},"required":["token","id","label","scopes","createdAt","expiresAt","lastUsedAt","revokedAt","useCount"],"additionalProperties":true},
5507
+ jsonSchema: {"type":"object","properties":{"token":{"type":"string","description":"The credential to hand to the integration. Never recoverable later."},"historyFolder":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}]},"id":{"type":"string"},"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["ask","sessions:read"]}},"allowClarifications":{"type":"boolean","description":"Older Hosts omit this field and keep clarifications enabled."},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"lastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revokedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"useCount":{"type":"number"}},"required":["token","id","label","scopes","createdAt","expiresAt","lastUsedAt","revokedAt","useCount"],"additionalProperties":true},
5129
5508
  },
5130
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1132,"column":3},
5509
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1255,"column":3},
5131
5510
  },
5132
5511
  'qaSurface/accountsListOwnership': {
5133
5512
  service: 'qaSurface',
@@ -5157,7 +5536,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5157
5536
  create: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
5158
5537
  jsonSchema: {"type":"object","properties":{"entries":{"type":"array","items":{"type":"object","properties":{"sessionId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"},"claimedAt":{"type":"string"}},"required":["sessionId","userId","displayName","claimedAt"],"additionalProperties":true}}},"required":["entries"],"additionalProperties":true},
5159
5538
  },
5160
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1066,"column":3},
5539
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1189,"column":3},
5161
5540
  },
5162
5541
  'qaSurface/accountsListServiceTokens': {
5163
5542
  service: 'qaSurface',
@@ -5185,9 +5564,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5185
5564
  mode: 'strict',
5186
5565
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListServiceTokens:result',
5187
5566
  create: _yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_result$schema,
5188
- jsonSchema: {"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["ask","sessions:read"]}},"allowClarifications":{"type":"boolean","description":"Older Hosts omit this field and keep clarifications enabled."},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"lastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revokedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"useCount":{"type":"number"}},"required":["id","label","scopes","createdAt","expiresAt","lastUsedAt","revokedAt","useCount"],"additionalProperties":true}}},"required":["tokens"],"additionalProperties":true},
5567
+ jsonSchema: {"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"historyFolder":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}]},"id":{"type":"string"},"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["ask","sessions:read"]}},"allowClarifications":{"type":"boolean","description":"Older Hosts omit this field and keep clarifications enabled."},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"lastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revokedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"useCount":{"type":"number"}},"required":["id","label","scopes","createdAt","expiresAt","lastUsedAt","revokedAt","useCount"],"additionalProperties":true}}},"required":["tokens"],"additionalProperties":true},
5189
5568
  },
5190
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1119,"column":3},
5569
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1242,"column":3},
5191
5570
  },
5192
5571
  'qaSurface/accountsLogin': {
5193
5572
  service: 'qaSurface',
@@ -5232,7 +5611,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5232
5611
  create: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
5233
5612
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5234
5613
  },
5235
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":986,"column":3},
5614
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1109,"column":3},
5236
5615
  },
5237
5616
  'qaSurface/accountsOidcComplete': {
5238
5617
  service: 'qaSurface',
@@ -5277,7 +5656,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5277
5656
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcComplete_result$schema,
5278
5657
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5279
5658
  },
5280
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":997,"column":3},
5659
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1120,"column":3},
5281
5660
  },
5282
5661
  'qaSurface/accountsOidcLogout': {
5283
5662
  service: 'qaSurface',
@@ -5306,7 +5685,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5306
5685
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcLogout_result$schema,
5307
5686
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5308
5687
  },
5309
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1005,"column":3},
5688
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1128,"column":3},
5310
5689
  },
5311
5690
  'qaSurface/accountsOidcStart': {
5312
5691
  service: 'qaSurface',
@@ -5319,7 +5698,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5319
5698
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcStart_result$schema,
5320
5699
  jsonSchema: {"type":"object","properties":{"authorizationUrl":{"type":"string"},"completionKey":{"type":"string"}},"required":["authorizationUrl","completionKey"],"additionalProperties":true},
5321
5700
  },
5322
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":991,"column":3},
5701
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1114,"column":3},
5323
5702
  },
5324
5703
  'qaSurface/accountsOwnedSessions': {
5325
5704
  service: 'qaSurface',
@@ -5345,11 +5724,11 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5345
5724
  ],
5346
5725
  result: {
5347
5726
  mode: 'strict',
5348
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
5727
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaOwnedSessionsResult',
5349
5728
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
5350
- jsonSchema: {"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}}},"required":["ids"],"additionalProperties":true},
5729
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5351
5730
  },
5352
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1056,"column":3},
5731
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1179,"column":3},
5353
5732
  },
5354
5733
  'qaSurface/accountsRegister': {
5355
5734
  service: 'qaSurface',
@@ -5395,7 +5774,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5395
5774
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
5396
5775
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5397
5776
  },
5398
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":981,"column":3},
5777
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1104,"column":3},
5399
5778
  },
5400
5779
  'qaSurface/accountsRequestPasswordReset': {
5401
5780
  service: 'qaSurface',
@@ -5425,7 +5804,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5425
5804
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRequestPasswordReset_result$schema,
5426
5805
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
5427
5806
  },
5428
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1029,"column":3},
5807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1152,"column":3},
5429
5808
  },
5430
5809
  'qaSurface/accountsRevokeServiceToken': {
5431
5810
  service: 'qaSurface',
@@ -5471,7 +5850,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5471
5850
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRevokeServiceToken_result$schema,
5472
5851
  jsonSchema: {"type":"object","properties":{"revoked":{"type":"boolean"}},"required":["revoked"],"additionalProperties":true},
5473
5852
  },
5474
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1145,"column":3},
5853
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1268,"column":3},
5475
5854
  },
5476
5855
  'qaSurface/accountsSetServiceTokenClarifications': {
5477
5856
  service: 'qaSurface',
@@ -5532,7 +5911,68 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5532
5911
  create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result$schema,
5533
5912
  jsonSchema: {"type":"object","properties":{"updated":{"type":"boolean"}},"required":["updated"],"additionalProperties":true},
5534
5913
  },
5535
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1153,"column":3},
5914
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1276,"column":3},
5915
+ },
5916
+ 'qaSurface/accountsSetServiceTokenHistoryFolder': {
5917
+ service: 'qaSurface',
5918
+ invocation: { kind: 'direct' },
5919
+ parameters: [
5920
+ {
5921
+ name: 'token',
5922
+ source: 'json',
5923
+ codec: {
5924
+ mode: 'strict',
5925
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:token',
5926
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0$schema,
5927
+ jsonSchema: {"type":"string"},
5928
+ },
5929
+ strictCodec: {
5930
+ mode: 'strict',
5931
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:token',
5932
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema,
5933
+ jsonSchema: {"type":"string"},
5934
+ },
5935
+ },
5936
+ {
5937
+ name: 'tokenId',
5938
+ source: 'json',
5939
+ codec: {
5940
+ mode: 'strict',
5941
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:tokenId',
5942
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1$schema,
5943
+ jsonSchema: {"type":"string"},
5944
+ },
5945
+ strictCodec: {
5946
+ mode: 'strict',
5947
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:tokenId',
5948
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema,
5949
+ jsonSchema: {"type":"string"},
5950
+ },
5951
+ },
5952
+ {
5953
+ name: 'folder',
5954
+ source: 'json',
5955
+ codec: {
5956
+ mode: 'strict',
5957
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:folder',
5958
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2$schema,
5959
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}]},
5960
+ },
5961
+ strictCodec: {
5962
+ mode: 'strict',
5963
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:folder',
5964
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema,
5965
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}]},
5966
+ },
5967
+ },
5968
+ ],
5969
+ result: {
5970
+ mode: 'strict',
5971
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:result',
5972
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_result$schema,
5973
+ jsonSchema: {"type":"object","properties":{"updated":{"type":"boolean"}},"required":["updated"],"additionalProperties":true},
5974
+ },
5975
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1289,"column":3},
5536
5976
  },
5537
5977
  'qaSurface/accountsUpdateNotifications': {
5538
5978
  service: 'qaSurface',
@@ -5578,7 +6018,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5578
6018
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_result$schema,
5579
6019
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5580
6020
  },
5581
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1106,"column":3},
6021
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1229,"column":3},
5582
6022
  },
5583
6023
  'qaSurface/accountsUpdateProfile': {
5584
6024
  service: 'qaSurface',
@@ -5624,7 +6064,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5624
6064
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
5625
6065
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5626
6066
  },
5627
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1079,"column":3},
6067
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1202,"column":3},
5628
6068
  },
5629
6069
  'qaSurface/accountsUpdateStarters': {
5630
6070
  service: 'qaSurface',
@@ -5670,7 +6110,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5670
6110
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
5671
6111
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5672
6112
  },
5673
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1092,"column":3},
6113
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1215,"column":3},
5674
6114
  },
5675
6115
  'qaSurface/accountsWhoami': {
5676
6116
  service: 'qaSurface',
@@ -5699,7 +6139,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5699
6139
  create: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
5700
6140
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5701
6141
  },
5702
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1035,"column":3},
6142
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1158,"column":3},
5703
6143
  },
5704
6144
  'qaSurface/adminAudit': {
5705
6145
  service: 'qaSurface',
@@ -5776,7 +6216,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5776
6216
  create: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
5777
6217
  jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"timestamp":{"type":"string"},"actorId":{"type":"string"},"action":{"type":"string","enum":["subrole.created","subrole.updated","subrole.deleted","user.created","user.updated","user.enabled","user.disabled","user.password-reset","authorization.changed","subrole.assignment.changed","common_capabilities.updated","conversation.reviewed","conversation.deleted","review.updated","review.queued","admin.settings.updated","skill.created","skill.updated","skill.deleted","memory.corrected","memory.deleted","memory.wiped"]},"targetType":{"type":"string"},"targetId":{"type":"string"},"before":{"type":"string","description":"JSON snapshots serialized at the storage boundary for a strict Remote type."},"after":{"type":"string"}},"required":["id","timestamp","actorId","action"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
5778
6218
  },
5779
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1805,"column":3},
6219
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1951,"column":3},
5780
6220
  },
5781
6221
  'qaSurface/adminConversation': {
5782
6222
  service: 'qaSurface',
@@ -5822,7 +6262,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5822
6262
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
5823
6263
  jsonSchema: {"type":"object","properties":{"conversationId":{"type":"string"},"summary":{"type":"object","properties":{"conversationId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"},"subroleId":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","description":"Newest activity the deployment can see: creation, log tail, or a review."},"title":{"type":"string"},"messageCount":{"type":"number"},"positiveFeedback":{"type":"number"},"negativeFeedback":{"type":"number"},"reviewStatus":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]}},"required":["conversationId","userId","displayName","subroleId","createdAt","updatedAt","messageCount","positiveFeedback","negativeFeedback","reviewStatus"],"additionalProperties":true},"runtime":{"type":"object","properties":{"subroleId":{"type":"string"},"adminPreview":{"type":"boolean"},"model":{"type":"string"},"provider":{"type":"string"},"agentPreset":{"type":"string"},"effectiveTools":{"type":"array","items":{"type":"string"}},"effectiveSkills":{"type":"array","items":{"type":"string"}},"loadedSkills":{"type":"array","items":{"type":"string"},"description":"Skills the model actually loaded, derived from the log's skill tool calls."},"transcriptUnavailable":{"type":"string","enum":["storage-unavailable","not-found","unreadable"],"description":"True when the stored log could not be read; counts stay 0 and text is absent."}},"required":["subroleId","adminPreview"],"additionalProperties":true},"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Stable message identity: the session event seq it was projected from."},"seq":{"type":"number"},"role":{"type":"string","enum":["user","assistant","system"]},"text":{"type":"string"},"time":{"type":"number"},"model":{"type":"string"},"provider":{"type":"string"},"usage":{"type":"object","properties":{"inputTokens":{"type":"number"},"outputTokens":{"type":"number"},"totalTokens":{"type":"number"}},"required":["inputTokens","outputTokens"],"additionalProperties":true},"interrupted":{"type":"boolean"},"toolCalls":{"type":"array","items":{"type":"object","properties":{"callId":{"type":"string"},"name":{"type":"string"},"arguments":{"type":"string"},"result":{"type":"string"},"error":{"type":"string"},"time":{"type":"number"},"durationMs":{"type":"number"}},"required":["callId","name","arguments"],"additionalProperties":true}},"feedback":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"userId":{"type":"string"},"rating":{"type":"string","enum":["positive","negative"]},"reasons":{"type":"array","items":{"type":"string","enum":["other","incorrect","instruction_not_followed","missing_information","outdated_information","tool_issue","too_verbose","too_short"]}},"comment":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","conversationId","messageId","userId","rating","createdAt"],"additionalProperties":true},"description":"Ratings of this message by its owner, newest first."},"reviews":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"reviewerId":{"type":"string"},"status":{"type":"string","enum":["reviewed","needs_followup"]},"issues":{"type":"array","items":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]}},"severity":{"type":"string","enum":["critical","minor","major"]},"notes":{"type":"string"},"target":{"type":"string","enum":["tool","skill","model","prompt","knowledge","role","product_ux","user_misunderstanding","unknown"]},"suggestedAction":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","conversationId","reviewerId","status","issues","severity","createdAt"],"additionalProperties":true},"description":"Reviewer results attached to this exact message."}},"required":["id","seq","role","text","time"],"additionalProperties":true}},"reviews":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"reviewerId":{"type":"string"},"status":{"type":"string","enum":["reviewed","needs_followup"]},"issues":{"type":"array","items":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]}},"severity":{"type":"string","enum":["critical","minor","major"]},"notes":{"type":"string"},"target":{"type":"string","enum":["tool","skill","model","prompt","knowledge","role","product_ux","user_misunderstanding","unknown"]},"suggestedAction":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","conversationId","reviewerId","status","issues","severity","createdAt"],"additionalProperties":true}},"queueItems":{"type":"array","items":{"type":"object","properties":{"conversationId":{"type":"string"},"messageId":{"type":"string"},"reason":{"type":"string","enum":["negative_feedback","manual","tool_failure","automatic"]},"priority":{"type":"string","enum":["low","normal","high"]},"status":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"assignedReviewerId":{"type":"string"},"raisedAt":{"type":"string","description":"ISO time of the signal that put the item in the queue."},"reviewerId":{"type":"string"},"reviewId":{"type":"string"},"feedbackId":{"type":"string"}},"required":["conversationId","reason","priority","status","raisedAt"],"additionalProperties":true}}},"required":["conversationId","summary","runtime","messages","reviews","queueItems"],"additionalProperties":true},
5824
6264
  },
5825
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1682,"column":3},
6265
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1828,"column":3},
5826
6266
  },
5827
6267
  'qaSurface/adminConversations': {
5828
6268
  service: 'qaSurface',
@@ -5900,7 +6340,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5900
6340
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
5901
6341
  jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"conversationId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"},"subroleId":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","description":"Newest activity the deployment can see: creation, log tail, or a review."},"title":{"type":"string"},"messageCount":{"type":"number"},"positiveFeedback":{"type":"number"},"negativeFeedback":{"type":"number"},"reviewStatus":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]}},"required":["conversationId","userId","displayName","subroleId","createdAt","updatedAt","messageCount","positiveFeedback","negativeFeedback","reviewStatus"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
5902
6342
  },
5903
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1662,"column":3},
6343
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1808,"column":3},
5904
6344
  },
5905
6345
  'qaSurface/adminDeleteConversation': {
5906
6346
  service: 'qaSurface',
@@ -5946,7 +6386,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5946
6386
  create: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_result$schema,
5947
6387
  jsonSchema: {"type":"object","properties":{"conversationId":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"},"description":"Every session whose stored log is gone, the chat first: a conversation's subagent sessions are part of it and are removed with it."},"qualityRows":{"type":"number","description":"Quality rows dropped with the conversation."}},"required":["conversationId","sessions","qualityRows"],"additionalProperties":true},
5948
6388
  },
5949
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1697,"column":3},
6389
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1843,"column":3},
5950
6390
  },
5951
6391
  'qaSurface/adminFeedback': {
5952
6392
  service: 'qaSurface',
@@ -6023,7 +6463,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6023
6463
  create: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
6024
6464
  jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"displayName":{"type":"string"},"subroleId":{"type":"string"},"conversationTitle":{"type":"string"},"reviewStatus":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"userId":{"type":"string"},"rating":{"type":"string","enum":["positive","negative"]},"reasons":{"type":"array","items":{"type":"string","enum":["other","incorrect","instruction_not_followed","missing_information","outdated_information","tool_issue","too_verbose","too_short"]}},"comment":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["displayName","subroleId","reviewStatus","id","conversationId","messageId","userId","rating","createdAt"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
6025
6465
  },
6026
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1710,"column":3},
6466
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1856,"column":3},
6027
6467
  },
6028
6468
  'qaSurface/adminHarvestFeedback': {
6029
6469
  service: 'qaSurface',
@@ -6069,7 +6509,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6069
6509
  create: _yadsh_dsh_qa_surface_qaSurface_adminHarvestFeedback_result$schema,
6070
6510
  jsonSchema: {"type":"object","properties":{"recorded":{"type":"number","description":"Ratings the Host stored now. Replaying the same batch stores none."},"present":{"type":"number","description":"Entries the Host already held a rating for, left as they were."},"rejected":{"type":"number","description":"Entries refused: not the caller's conversation, or unusable."}},"required":["recorded","present","rejected"],"additionalProperties":true},
6071
6511
  },
6072
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1747,"column":3},
6512
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1893,"column":3},
6073
6513
  },
6074
6514
  'qaSurface/adminMemoryCorrect': {
6075
6515
  service: 'qaSurface',
@@ -6147,7 +6587,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6147
6587
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryCorrect_result$schema,
6148
6588
  jsonSchema: {"type":"object","properties":{"namespace":{"type":"string"},"key":{"type":"string"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["namespace","key","text","tags","createdAt","updatedAt"],"additionalProperties":true},
6149
6589
  },
6150
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1556,"column":3},
6590
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1702,"column":3},
6151
6591
  },
6152
6592
  'qaSurface/adminMemoryForget': {
6153
6593
  service: 'qaSurface',
@@ -6209,7 +6649,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6209
6649
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryForget_result$schema,
6210
6650
  jsonSchema: {"type":"number"},
6211
6651
  },
6212
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1569,"column":3},
6652
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1715,"column":3},
6213
6653
  },
6214
6654
  'qaSurface/adminMemoryRecords': {
6215
6655
  service: 'qaSurface',
@@ -6303,7 +6743,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6303
6743
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryRecords_result$schema,
6304
6744
  jsonSchema: {"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string"},"key":{"type":"string"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["namespace","key","text","tags","createdAt","updatedAt"],"additionalProperties":true}},"total":{"type":"number"},"offset":{"type":"number"},"limit":{"type":"number"}},"required":["records","total","offset","limit"],"additionalProperties":true},
6305
6745
  },
6306
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1542,"column":3},
6746
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1688,"column":3},
6307
6747
  },
6308
6748
  'qaSurface/adminMemoryScopes': {
6309
6749
  service: 'qaSurface',
@@ -6333,7 +6773,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6333
6773
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryScopes_result$schema,
6334
6774
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"domainId":{"type":"string"},"domainName":{"type":"string"},"namespace":{"type":"string"},"access":{"type":"string","enum":["read-only","read-write"]},"records":{"type":"number"}},"required":["domainId","domainName","namespace","access","records"],"additionalProperties":true}},
6335
6775
  },
6336
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1536,"column":3},
6776
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1682,"column":3},
6337
6777
  },
6338
6778
  'qaSurface/adminMemoryWipe': {
6339
6779
  service: 'qaSurface',
@@ -6395,7 +6835,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6395
6835
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryWipe_result$schema,
6396
6836
  jsonSchema: {"type":"number"},
6397
6837
  },
6398
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1587,"column":3},
6838
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1733,"column":3},
6399
6839
  },
6400
6840
  'qaSurface/adminMetrics': {
6401
6841
  service: 'qaSurface',
@@ -6425,7 +6865,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6425
6865
  create: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
6426
6866
  jsonSchema: {"type":"object","properties":{"coverage":{"type":"object","properties":{"complete":{"type":"boolean"},"readConversations":{"type":"number"},"totalConversations":{"type":"number"}},"required":["complete","readConversations","totalConversations"],"additionalProperties":true,"description":"Counts derived from journals are incomplete until every journal was read."},"conversations":{"type":"number"},"activeUsers":{"type":"number"},"assistantMessages":{"type":"number"},"ratedMessages":{"type":"number"},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"},"ratingRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Share of assistant messages that carry a rating; null without messages."},"positiveRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Share of positive ratings among rated messages; null without ratings."},"unreviewedNegatives":{"type":"number"},"reviewedItems":{"type":"number"},"issues":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]},"count":{"type":"number"}},"required":["issue","count"],"additionalProperties":true}},"bySubrole":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"rated":{"type":"number"},"positive":{"type":"number"},"negative":{"type":"number"},"positiveRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}]}},"required":["key","label","rated","positive","negative","positiveRate"],"additionalProperties":true}},"trend":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"ISO date (UTC) of the bucket."},"rated":{"type":"number"},"positive":{"type":"number"},"negative":{"type":"number"}},"required":["date","rated","positive","negative"],"additionalProperties":true}}},"required":["conversations","activeUsers","assistantMessages","ratedMessages","positiveRatings","negativeRatings","ratingRate","positiveRate","unreviewedNegatives","reviewedItems","issues","bySubrole","trend"],"additionalProperties":true},
6427
6867
  },
6428
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1798,"column":3},
6868
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1944,"column":3},
6429
6869
  },
6430
6870
  'qaSurface/adminOverview': {
6431
6871
  service: 'qaSurface',
@@ -6456,7 +6896,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6456
6896
  create: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
6457
6897
  jsonSchema: {"type":"object","properties":{"metrics":{"type":"object","properties":{"coverage":{"type":"object","properties":{"complete":{"type":"boolean"},"readConversations":{"type":"number"},"totalConversations":{"type":"number"}},"required":["complete","readConversations","totalConversations"],"additionalProperties":true,"description":"Counts derived from journals are incomplete until every journal was read."},"conversations":{"type":"number"},"activeUsers":{"type":"number"},"assistantMessages":{"type":"number"},"ratedMessages":{"type":"number"},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"},"ratingRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Share of assistant messages that carry a rating; null without messages."},"positiveRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Share of positive ratings among rated messages; null without ratings."},"unreviewedNegatives":{"type":"number"},"reviewedItems":{"type":"number"},"issues":{"type":"array","items":{"type":"object","properties":{"issue":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]},"count":{"type":"number"}},"required":["issue","count"],"additionalProperties":true}},"bySubrole":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"rated":{"type":"number"},"positive":{"type":"number"},"negative":{"type":"number"},"positiveRate":{"oneOf":[{"type":"null","const":null},{"type":"number"}]}},"required":["key","label","rated","positive","negative","positiveRate"],"additionalProperties":true}},"trend":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"ISO date (UTC) of the bucket."},"rated":{"type":"number"},"positive":{"type":"number"},"negative":{"type":"number"}},"required":["date","rated","positive","negative"],"additionalProperties":true}}},"required":["conversations","activeUsers","assistantMessages","ratedMessages","positiveRatings","negativeRatings","ratingRate","positiveRate","unreviewedNegatives","reviewedItems","issues","bySubrole","trend"],"additionalProperties":true},"alerts":{"type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["warning","critical","info"]},"code":{"type":"string","enum":["unreviewed-negatives","subrole-satisfaction","recurring-reason"]},"count":{"type":"number"},"subject":{"type":"string","description":"Subrole id or feedback reason, when the condition names one."},"rate":{"type":"number","description":"Positive-feedback share of the subject, when the condition measured one."}},"required":["level","code","count"],"additionalProperties":true}},"recentFeedback":{"type":"array","items":{"type":"object","properties":{"displayName":{"type":"string"},"subroleId":{"type":"string"},"conversationTitle":{"type":"string"},"reviewStatus":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"userId":{"type":"string"},"rating":{"type":"string","enum":["positive","negative"]},"reasons":{"type":"array","items":{"type":"string","enum":["other","incorrect","instruction_not_followed","missing_information","outdated_information","tool_issue","too_verbose","too_short"]}},"comment":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["displayName","subroleId","reviewStatus","id","conversationId","messageId","userId","rating","createdAt"],"additionalProperties":true}},"queue":{"type":"array","items":{"type":"object","properties":{"displayName":{"type":"string"},"subroleId":{"type":"string"},"title":{"type":"string"},"raisedAtLabel":{"type":"string"},"issueSummary":{"type":"array","items":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]}},"severity":{"type":"string","enum":["critical","minor","major"]},"conversationId":{"type":"string"},"messageId":{"type":"string"},"reason":{"type":"string","enum":["negative_feedback","manual","tool_failure","automatic"]},"priority":{"type":"string","enum":["low","normal","high"]},"status":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"assignedReviewerId":{"type":"string"},"raisedAt":{"type":"string","description":"ISO time of the signal that put the item in the queue."},"reviewerId":{"type":"string"},"reviewId":{"type":"string"},"feedbackId":{"type":"string"}},"required":["displayName","subroleId","raisedAtLabel","conversationId","reason","priority","status","raisedAt"],"additionalProperties":true}}},"required":["metrics","alerts","recentFeedback","queue"],"additionalProperties":true},
6458
6898
  },
6459
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1606,"column":3},
6899
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1752,"column":3},
6460
6900
  },
6461
6901
  'qaSurface/adminPasswordResetRequests': {
6462
6902
  service: 'qaSurface',
@@ -6485,7 +6925,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6485
6925
  create: _yadsh_dsh_qa_surface_qaSurface_adminPasswordResetRequests_result$schema,
6486
6926
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"requestedAt":{"type":"string"},"lastRequestedAt":{"type":"string"},"requestCount":{"type":"number"},"disabled":{"type":"boolean","description":"True when the account is disabled: a reset will not let it sign in."}},"required":["userId","email","displayName","requestedAt","lastRequestedAt","requestCount","disabled"],"additionalProperties":true}},
6487
6927
  },
6488
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1642,"column":3},
6928
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1788,"column":3},
6489
6929
  },
6490
6930
  'qaSurface/adminQueueConversation': {
6491
6931
  service: 'qaSurface',
@@ -6547,7 +6987,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6547
6987
  create: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
6548
6988
  jsonSchema: {"type":"object","properties":{"conversationId":{"type":"string"},"messageId":{"type":"string"},"reason":{"type":"string","enum":["negative_feedback","manual","tool_failure","automatic"]},"priority":{"type":"string","enum":["low","normal","high"]},"status":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"assignedReviewerId":{"type":"string"},"raisedAt":{"type":"string","description":"ISO time of the signal that put the item in the queue."},"reviewerId":{"type":"string"},"reviewId":{"type":"string"},"feedbackId":{"type":"string"}},"required":["conversationId","reason","priority","status","raisedAt"],"additionalProperties":true},
6549
6989
  },
6550
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1775,"column":3},
6990
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1921,"column":3},
6551
6991
  },
6552
6992
  'qaSurface/adminRateMessage': {
6553
6993
  service: 'qaSurface',
@@ -6625,7 +7065,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6625
7065
  create: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
6626
7066
  jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"userId":{"type":"string"},"rating":{"type":"string","enum":["positive","negative"]},"reasons":{"type":"array","items":{"type":"string","enum":["other","incorrect","instruction_not_followed","missing_information","outdated_information","tool_issue","too_verbose","too_short"]}},"comment":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","conversationId","messageId","userId","rating","createdAt"],"additionalProperties":true},
6627
7067
  },
6628
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1731,"column":3},
7068
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1877,"column":3},
6629
7069
  },
6630
7070
  'qaSurface/adminResetPassword': {
6631
7071
  service: 'qaSurface',
@@ -6684,9 +7124,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6684
7124
  mode: 'strict',
6685
7125
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
6686
7126
  create: _yadsh_dsh_qa_surface_qaSurface_adminResetPassword_result$schema,
6687
- jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
7127
+ jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
6688
7128
  },
6689
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1651,"column":3},
7129
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1797,"column":3},
6690
7130
  },
6691
7131
  'qaSurface/adminReviewQueue': {
6692
7132
  service: 'qaSurface',
@@ -6748,7 +7188,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6748
7188
  create: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
6749
7189
  jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"displayName":{"type":"string"},"subroleId":{"type":"string"},"title":{"type":"string"},"raisedAtLabel":{"type":"string"},"issueSummary":{"type":"array","items":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]}},"severity":{"type":"string","enum":["critical","minor","major"]},"conversationId":{"type":"string"},"messageId":{"type":"string"},"reason":{"type":"string","enum":["negative_feedback","manual","tool_failure","automatic"]},"priority":{"type":"string","enum":["low","normal","high"]},"status":{"type":"string","enum":["unreviewed","in_review","reviewed","needs_followup"]},"assignedReviewerId":{"type":"string"},"raisedAt":{"type":"string","description":"ISO time of the signal that put the item in the queue."},"reviewerId":{"type":"string"},"reviewId":{"type":"string"},"feedbackId":{"type":"string"}},"required":["displayName","subroleId","raisedAtLabel","conversationId","reason","priority","status","raisedAt"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
6750
7190
  },
6751
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1757,"column":3},
7191
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1903,"column":3},
6752
7192
  },
6753
7193
  'qaSurface/adminSaveReview': {
6754
7194
  service: 'qaSurface',
@@ -6793,7 +7233,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6793
7233
  create: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
6794
7234
  jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"conversationId":{"type":"string"},"messageId":{"type":"string"},"reviewerId":{"type":"string"},"status":{"type":"string","enum":["reviewed","needs_followup"]},"issues":{"type":"array","items":{"type":"string","enum":["answer.incorrect","answer.incomplete","answer.hallucination","answer.request_not_followed","answer.poor_formatting","answer.communication","context.missing_conversation","context.missing_knowledge","context.outdated_knowledge","tool.wrong_selection","tool.should_have_been_used","tool.bad_arguments","tool.failure","tool.unavailable","skill.missing","skill.wrong","skill.not_followed","skill.prompt_policy","access.missing_capability","access.excessive_capability","other"]}},"severity":{"type":"string","enum":["critical","minor","major"]},"notes":{"type":"string"},"target":{"type":"string","enum":["tool","skill","model","prompt","knowledge","role","product_ux","user_misunderstanding","unknown"]},"suggestedAction":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","conversationId","reviewerId","status","issues","severity","createdAt"],"additionalProperties":true},
6795
7235
  },
6796
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1790,"column":3},
7236
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1936,"column":3},
6797
7237
  },
6798
7238
  'qaSurface/adminSkill': {
6799
7239
  service: 'qaSurface',
@@ -6855,7 +7295,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6855
7295
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkill_result$schema,
6856
7296
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
6857
7297
  },
6858
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1460,"column":3},
7298
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1606,"column":3},
6859
7299
  },
6860
7300
  'qaSurface/adminSkillDelete': {
6861
7301
  service: 'qaSurface',
@@ -6933,7 +7373,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6933
7373
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillDelete_result$schema,
6934
7374
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
6935
7375
  },
6936
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1488,"column":3},
7376
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1634,"column":3},
6937
7377
  },
6938
7378
  'qaSurface/adminSkills': {
6939
7379
  service: 'qaSurface',
@@ -6979,7 +7419,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6979
7419
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkills_result$schema,
6980
7420
  jsonSchema: {"type":"object","properties":{"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"shared"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"user"},"userId":{"type":"string"}},"required":["kind","userId"],"additionalProperties":true}]},"owner":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"userId":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"}},"required":["userId","email","displayName"],"additionalProperties":true}],"description":"The account of a personal scope; null for the shared root."},"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"whenToUse":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"modelInvocable":{"type":"boolean"},"userInvocable":{"type":"boolean"},"allowedTools":{"type":"array","items":{"type":"string"},"description":"Declared tools, in canonical order; unknown ones included."},"unavailableTools":{"type":"array","items":{"type":"string"},"description":"Declared tools the current QA scope cannot use; still stored as declared."},"resourceCount":{"type":"number","description":"Entries in the skill directory besides SKILL.md (references, assets, …)."},"valid":{"type":"boolean"},"diagnostics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["name-required","name-invalid","name-mismatch","description-required","description-too-long","when-to-use-too-long","field-type-invalid","invocation-never","invocation-invalid","invocation-legacy-key","allowed-tools-invalid","tool-name-invalid","tool-unavailable","tools-too-many","file-too-large","frontmatter-missing","skill-file-missing","skill-file-truncated","frontmatter-invalid","unknown-field","resource-unsupported"]},"severity":{"type":"string","enum":["error","warning"]},"field":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The editor field the message belongs to, or null for a file-wide one."},"detail":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The offending value: a tool name, a frontmatter key, a limit."}},"required":["code","severity","field","detail"],"additionalProperties":true}},"updatedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revision":{"type":"string","description":"sha256 of the stored bytes; an update must echo the revision it read."},"adminEdit":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"actorId":{"type":"string","description":"Administrator account id; the owner is told a role, not a colleague."},"at":{"type":"string","description":"ISO timestamp of that write."}},"required":["actorId","at"],"additionalProperties":true}],"description":"The administrator write that produced the stored revision, or null. A record whose revision no longer matches is stale and reports as null: the badge answers \"did an administrator write what I am looking at\", not \"was this skill ever touched by an administrator\"."}},"required":["name","description","whenToUse","modelInvocable","userInvocable","allowedTools","unavailableTools","resourceCount","valid","diagnostics","updatedAt","revision","adminEdit"],"additionalProperties":true}},"rootPath":{"type":"string","description":"Absolute directory this scope reads and writes, rendered read-only."}},"required":["scope","owner","skills","rootPath"],"additionalProperties":true},
6981
7421
  },
6982
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1451,"column":3},
7422
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1597,"column":3},
6983
7423
  },
6984
7424
  'qaSurface/adminSkillSave': {
6985
7425
  service: 'qaSurface',
@@ -7057,7 +7497,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7057
7497
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillSave_result$schema,
7058
7498
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7059
7499
  },
7060
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1475,"column":3},
7500
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1621,"column":3},
7061
7501
  },
7062
7502
  'qaSurface/adminSkillTools': {
7063
7503
  service: 'qaSurface',
@@ -7103,7 +7543,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7103
7543
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillTools_result$schema,
7104
7544
  jsonSchema: {"type":"object","properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"available":{"type":"boolean","description":"False when the QA session's own scope cannot use the tool."}},"required":["name","description","available"],"additionalProperties":true}}},"required":["tools"],"additionalProperties":true},
7105
7545
  },
7106
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1514,"column":9},
7546
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1660,"column":9},
7107
7547
  },
7108
7548
  'qaSurface/adminSkillValidate': {
7109
7549
  service: 'qaSurface',
@@ -7181,7 +7621,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7181
7621
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillValidate_result$schema,
7182
7622
  jsonSchema: {"type":"object","properties":{"preview":{"type":"string"},"diagnostics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["name-required","name-invalid","name-mismatch","description-required","description-too-long","when-to-use-too-long","field-type-invalid","invocation-never","invocation-invalid","invocation-legacy-key","allowed-tools-invalid","tool-name-invalid","tool-unavailable","tools-too-many","file-too-large","frontmatter-missing","skill-file-missing","skill-file-truncated","frontmatter-invalid","unknown-field","resource-unsupported"]},"severity":{"type":"string","enum":["error","warning"]},"field":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The editor field the message belongs to, or null for a file-wide one."},"detail":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The offending value: a tool name, a frontmatter key, a limit."}},"required":["code","severity","field","detail"],"additionalProperties":true}}},"required":["preview","diagnostics"],"additionalProperties":true},
7183
7623
  },
7184
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1501,"column":3},
7624
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1647,"column":3},
7185
7625
  },
7186
7626
  'qaSurface/adminUpdateUser': {
7187
7627
  service: 'qaSurface',
@@ -7227,13 +7667,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7227
7667
  mode: 'strict',
7228
7668
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7229
7669
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema,
7230
- jsonSchema: {"type":"object","properties":{"role":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["user","reviewer","admin"]}]},"disabled":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}]},"access":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}]}},"required":[],"additionalProperties":true},
7670
+ jsonSchema: {"type":"object","properties":{"role":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["user","reviewer","admin"]}]},"disabled":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}]},"access":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}]}},"required":[],"additionalProperties":true},
7231
7671
  },
7232
7672
  strictCodec: {
7233
7673
  mode: 'strict',
7234
7674
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7235
7675
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2_strict$schema,
7236
- jsonSchema: {"type":"object","properties":{"role":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["user","reviewer","admin"]}]},"disabled":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}]},"access":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":false}]}},"required":[],"additionalProperties":false},
7676
+ jsonSchema: {"type":"object","properties":{"role":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["user","reviewer","admin"]}]},"disabled":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}]},"access":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":false},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":false}]}},"required":[],"additionalProperties":false},
7237
7677
  },
7238
7678
  },
7239
7679
  ],
@@ -7241,9 +7681,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7241
7681
  mode: 'strict',
7242
7682
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7243
7683
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
7244
- jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
7684
+ jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
7245
7685
  },
7246
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1631,"column":3},
7686
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1777,"column":3},
7247
7687
  },
7248
7688
  'qaSurface/adminUser': {
7249
7689
  service: 'qaSurface',
@@ -7286,9 +7726,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7286
7726
  mode: 'strict',
7287
7727
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7288
7728
  create: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
7289
- jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
7729
+ jsonSchema: {"type":"object","properties":{"user":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true},"effective":{"type":"array","items":{"type":"object","properties":{"subroleId":{"type":"string"},"name":{"type":"string"},"tools":{"type":"number","description":"Visible from the first step: system-required, Common and the role."},"grantableTools":{"type":"number","description":"The role's ceiling for tools a loaded skill requires."},"deniedTools":{"type":"number","description":"Tools the profile withdraws, whatever else grants them."},"skills":{"type":"number"}},"required":["subroleId","name","tools","grantableTools","deniedTools","skills"],"additionalProperties":true},"description":"Effective capability counts per assigned subrole, for the access preview."},"activity":{"type":"object","properties":{"conversations":{"type":"number"},"messages":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Unknown until the conversations page is opened: the count needs every conversation's log read, so the detail card reports null instead of blocking its payload on the scan."},"positiveRatings":{"type":"number"},"negativeRatings":{"type":"number"}},"required":["conversations","messages","positiveRatings","negativeRatings"],"additionalProperties":true}},"required":["user","effective","activity"],"additionalProperties":true},
7290
7730
  },
7291
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1625,"column":3},
7731
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1771,"column":3},
7292
7732
  },
7293
7733
  'qaSurface/adminUsers': {
7294
7734
  service: 'qaSurface',
@@ -7363,9 +7803,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7363
7803
  mode: 'strict',
7364
7804
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
7365
7805
  create: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
7366
- jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
7806
+ jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"conversations":{"type":"number"},"feedbackGiven":{"type":"number"},"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"fullName":{"type":"string"},"role":{"type":"string","enum":["user","reviewer","admin"]},"disabled":{"type":"boolean"},"createdAt":{"type":"string"},"lastLoginAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"access":{"type":"object","properties":{"allowedSubroles":{"type":"array","items":{"type":"string"}},"defaultSubrole":{"type":"string"},"model":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true,"description":"The pair this account is opened on, ahead of what its role says: a support desk runs on the local model even when it borrows a role the rest of the deployment shares. Absent means the account keeps no opinion."},"allowedModels":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"description":"Overrides the role's alternatives; [] permits only the default model."},"maxActiveRequests":{"type":"number","description":"How many of the stand's slots this account's turns may fill at once, ahead of what its role says. 0 lifts the ceiling for this account's turns; absent keeps the role's or the deployment's number."}},"required":["allowedSubroles","defaultSubrole"],"additionalProperties":true}},"required":["conversations","feedbackGiven","id","email","displayName","fullName","role","disabled","createdAt","lastLoginAt","access"],"additionalProperties":true}},"nextCursor":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"total":{"type":"number"}},"required":["items","nextCursor","total"],"additionalProperties":true},
7367
7807
  },
7368
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1613,"column":3},
7808
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1759,"column":3},
7369
7809
  },
7370
7810
  'qaSurface/answerApproval': {
7371
7811
  service: 'qaSurface',
@@ -7443,7 +7883,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7443
7883
  create: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
7444
7884
  jsonSchema: {"type":"boolean"},
7445
7885
  },
7446
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2144,"column":9},
7886
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2295,"column":9},
7447
7887
  },
7448
7888
  'qaSurface/answerQuestion': {
7449
7889
  service: 'qaSurface',
@@ -7521,7 +7961,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7521
7961
  create: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
7522
7962
  jsonSchema: {"type":"boolean"},
7523
7963
  },
7524
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2324,"column":9},
7964
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2475,"column":9},
7525
7965
  },
7526
7966
  'qaSurface/approveDocumentWorkflow': {
7527
7967
  service: 'qaSurface',
@@ -7615,7 +8055,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7615
8055
  create: _yadsh_dsh_qa_surface_qaSurface_approveDocumentWorkflow_result$schema,
7616
8056
  jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"status":{"type":"string"},"sha256":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"blockers":{"type":"array","items":{"type":"string"}}},"required":["id","revision","status","sha256","blockers"],"additionalProperties":true},
7617
8057
  },
7618
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2586,"column":9},
8058
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2737,"column":9},
7619
8059
  },
7620
8060
  'qaSurface/cancelQuestion': {
7621
8061
  service: 'qaSurface',
@@ -7677,7 +8117,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7677
8117
  create: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
7678
8118
  jsonSchema: {"type":"boolean"},
7679
8119
  },
7680
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2338,"column":9},
8120
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2489,"column":9},
7681
8121
  },
7682
8122
  'qaSurface/chatAccess': {
7683
8123
  service: 'qaSurface',
@@ -7722,7 +8162,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7722
8162
  create: _yadsh_dsh_qa_surface_qaSurface_chatAccess_result$schema,
7723
8163
  jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"ownerId":{"type":"string"},"ownerName":{"type":"string"},"actorId":{"type":"string"},"mode":{"type":"string","enum":["read","collaborate","owner"]},"revision":{"type":"number"}},"required":["sessionId","ownerId","ownerName","actorId","mode","revision"],"additionalProperties":true},
7724
8164
  },
7725
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1900,"column":3},
8165
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2046,"column":3},
7726
8166
  },
7727
8167
  'qaSurface/chatAttachment': {
7728
8168
  service: 'qaSurface',
@@ -7767,7 +8207,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7767
8207
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachment_result$schema,
7768
8208
  jsonSchema: {"type":"object","properties":{"attachment":{"type":"object","properties":{"attachmentId":{"type":"string","description":"Opaque storage identifier; never a filesystem path or bearer URL."},"mediaType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"],"description":"Media type verified from the stored bytes."},"bytes":{"type":"number","description":"Exact encoded byte length."},"width":{"type":"number","description":"Intrinsic encoded width in pixels."},"height":{"type":"number","description":"Intrinsic encoded height in pixels."},"name":{"type":"string","description":"Optional display name stripped of local path information."},"originalDimensions":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":true,"description":"Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image."}},"required":["attachmentId","mediaType","bytes","width","height"],"additionalProperties":true},"data":{"type":"string"}},"required":["attachment","data"],"additionalProperties":true},
7769
8209
  },
7770
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2051,"column":3},
8210
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2202,"column":3},
7771
8211
  },
7772
8212
  'qaSurface/chatAttachmentPath': {
7773
8213
  service: 'qaSurface',
@@ -7828,7 +8268,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7828
8268
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachmentPath_result$schema,
7829
8269
  jsonSchema: {"type":"string"},
7830
8270
  },
7831
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1953,"column":9},
8271
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2099,"column":9},
7832
8272
  },
7833
8273
  'qaSurface/chatAudit': {
7834
8274
  service: 'qaSurface',
@@ -7889,7 +8329,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7889
8329
  create: _yadsh_dsh_qa_surface_qaSurface_chatAudit_result$schema,
7890
8330
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7891
8331
  },
7892
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1932,"column":9},
8332
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2078,"column":9},
7893
8333
  },
7894
8334
  'qaSurface/chatAuthors': {
7895
8335
  service: 'qaSurface',
@@ -7934,7 +8374,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7934
8374
  create: _yadsh_dsh_qa_surface_qaSurface_chatAuthors_result$schema,
7935
8375
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"requestId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"}},"required":["requestId","userId","displayName"],"additionalProperties":true}},
7936
8376
  },
7937
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1927,"column":3},
8377
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2073,"column":3},
7938
8378
  },
7939
8379
  'qaSurface/chatCancel': {
7940
8380
  service: 'qaSurface',
@@ -7979,7 +8419,52 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7979
8419
  create: _yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema,
7980
8420
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
7981
8421
  },
7982
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2067,"column":3},
8422
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2218,"column":3},
8423
+ },
8424
+ 'qaSurface/chatCodeSources': {
8425
+ service: 'qaSurface',
8426
+ invocation: { kind: 'direct' },
8427
+ parameters: [
8428
+ {
8429
+ name: 'token',
8430
+ source: 'json',
8431
+ codec: {
8432
+ mode: 'strict',
8433
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:token',
8434
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0$schema,
8435
+ jsonSchema: {"type":"string"},
8436
+ },
8437
+ strictCodec: {
8438
+ mode: 'strict',
8439
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:token',
8440
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema,
8441
+ jsonSchema: {"type":"string"},
8442
+ },
8443
+ },
8444
+ {
8445
+ name: 'sessionId',
8446
+ source: 'json',
8447
+ codec: {
8448
+ mode: 'strict',
8449
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:sessionId',
8450
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1$schema,
8451
+ jsonSchema: {"type":"string"},
8452
+ },
8453
+ strictCodec: {
8454
+ mode: 'strict',
8455
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:sessionId',
8456
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema,
8457
+ jsonSchema: {"type":"string"},
8458
+ },
8459
+ },
8460
+ ],
8461
+ result: {
8462
+ mode: 'strict',
8463
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaChatCodeSources',
8464
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_result$schema,
8465
+ jsonSchema: {"type":"object","properties":{"selectedSource":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"effectiveSource":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"entries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"],"additionalProperties":true}},"writable":{"type":"boolean"},"unavailable":{"type":"boolean"}},"required":["selectedSource","effectiveSource","entries","writable","unavailable"],"additionalProperties":true},
8466
+ },
8467
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1026,"column":9},
7983
8468
  },
7984
8469
  'qaSurface/chatControl': {
7985
8470
  service: 'qaSurface',
@@ -8010,7 +8495,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8010
8495
  create: _yadsh_dsh_qa_surface_qaSurface_chatControl_result$schema,
8011
8496
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8012
8497
  },
8013
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2020,"column":10},
8498
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2171,"column":10},
8014
8499
  },
8015
8500
  'qaSurface/chatFollow': {
8016
8501
  service: 'qaSurface',
@@ -8057,7 +8542,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8057
8542
  create: _yadsh_dsh_qa_surface_qaSurface_chatFollow_result$schema,
8058
8543
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8059
8544
  },
8060
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2010,"column":10},
8545
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2161,"column":10},
8061
8546
  },
8062
8547
  'qaSurface/chatGrants': {
8063
8548
  service: 'qaSurface',
@@ -8102,7 +8587,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8102
8587
  create: _yadsh_dsh_qa_surface_qaSurface_chatGrants_result$schema,
8103
8588
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"mode":{"type":"string","enum":["read","collaborate"]}},"required":["userId","email","displayName","mode"],"additionalProperties":true}},
8104
8589
  },
8105
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1905,"column":3},
8590
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2051,"column":3},
8106
8591
  },
8107
8592
  'qaSurface/chatList': {
8108
8593
  service: 'qaSurface',
@@ -8132,7 +8617,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8132
8617
  create: _yadsh_dsh_qa_surface_qaSurface_chatList_result$schema,
8133
8618
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8134
8619
  },
8135
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1965,"column":9},
8620
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2111,"column":9},
8136
8621
  },
8137
8622
  'qaSurface/chatPage': {
8138
8623
  service: 'qaSurface',
@@ -8178,7 +8663,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8178
8663
  create: _yadsh_dsh_qa_surface_qaSurface_chatPage_result$schema,
8179
8664
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8180
8665
  },
8181
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1997,"column":9},
8666
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2148,"column":9},
8182
8667
  },
8183
8668
  'qaSurface/chatProjections': {
8184
8669
  service: 'qaSurface',
@@ -8224,7 +8709,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8224
8709
  create: _yadsh_dsh_qa_surface_qaSurface_chatProjections_result$schema,
8225
8710
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8226
8711
  },
8227
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2029,"column":9},
8712
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2180,"column":9},
8228
8713
  },
8229
8714
  'qaSurface/chatPrompt': {
8230
8715
  service: 'qaSurface',
@@ -8270,7 +8755,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8270
8755
  create: _yadsh_dsh_qa_surface_qaSurface_chatPrompt_result$schema,
8271
8756
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8272
8757
  },
8273
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2042,"column":3},
8758
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2193,"column":3},
8274
8759
  },
8275
8760
  'qaSurface/chatRename': {
8276
8761
  service: 'qaSurface',
@@ -8315,7 +8800,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8315
8800
  create: _yadsh_dsh_qa_surface_qaSurface_chatRename_result$schema,
8316
8801
  jsonSchema: {"type":"object","properties":{"title":{"type":"string"},"seq":{"type":"number"}},"required":["title","seq"],"additionalProperties":true},
8317
8802
  },
8318
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2059,"column":3},
8803
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2210,"column":3},
8319
8804
  },
8320
8805
  'qaSurface/chatSearch': {
8321
8806
  service: 'qaSurface',
@@ -8361,7 +8846,68 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8361
8846
  create: _yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema,
8362
8847
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8363
8848
  },
8364
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1973,"column":9},
8849
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2119,"column":9},
8850
+ },
8851
+ 'qaSurface/chatSelectCodeSource': {
8852
+ service: 'qaSurface',
8853
+ invocation: { kind: 'direct' },
8854
+ parameters: [
8855
+ {
8856
+ name: 'token',
8857
+ source: 'json',
8858
+ codec: {
8859
+ mode: 'strict',
8860
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:token',
8861
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0$schema,
8862
+ jsonSchema: {"type":"string"},
8863
+ },
8864
+ strictCodec: {
8865
+ mode: 'strict',
8866
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:token',
8867
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema,
8868
+ jsonSchema: {"type":"string"},
8869
+ },
8870
+ },
8871
+ {
8872
+ name: 'sessionId',
8873
+ source: 'json',
8874
+ codec: {
8875
+ mode: 'strict',
8876
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:sessionId',
8877
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1$schema,
8878
+ jsonSchema: {"type":"string"},
8879
+ },
8880
+ strictCodec: {
8881
+ mode: 'strict',
8882
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:sessionId',
8883
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema,
8884
+ jsonSchema: {"type":"string"},
8885
+ },
8886
+ },
8887
+ {
8888
+ name: 'source',
8889
+ source: 'json',
8890
+ codec: {
8891
+ mode: 'strict',
8892
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:source',
8893
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2$schema,
8894
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
8895
+ },
8896
+ strictCodec: {
8897
+ mode: 'strict',
8898
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:source',
8899
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema,
8900
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
8901
+ },
8902
+ },
8903
+ ],
8904
+ result: {
8905
+ mode: 'strict',
8906
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaChatCodeSources',
8907
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_result$schema,
8908
+ jsonSchema: {"type":"object","properties":{"selectedSource":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"effectiveSource":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"entries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"],"additionalProperties":true}},"writable":{"type":"boolean"},"unavailable":{"type":"boolean"}},"required":["selectedSource","effectiveSource","entries","writable","unavailable"],"additionalProperties":true},
8909
+ },
8910
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1042,"column":9},
8365
8911
  },
8366
8912
  'qaSurface/chatSelectModel': {
8367
8913
  service: 'qaSurface',
@@ -8406,7 +8952,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8406
8952
  create: _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_result$schema,
8407
8953
  jsonSchema: {"type":"object","properties":{"selected":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}},"required":["selected"],"additionalProperties":true},
8408
8954
  },
8409
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1986,"column":3},
8955
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2132,"column":3},
8410
8956
  },
8411
8957
  'qaSurface/chatSetGrant': {
8412
8958
  service: 'qaSurface',
@@ -8483,7 +9029,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8483
9029
  create: _yadsh_dsh_qa_surface_qaSurface_chatSetGrant_result$schema,
8484
9030
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"mode":{"type":"string","enum":["read","collaborate"]}},"required":["userId","email","displayName","mode"],"additionalProperties":true}},
8485
9031
  },
8486
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1910,"column":3},
9032
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2056,"column":3},
8487
9033
  },
8488
9034
  'qaSurface/chatUpdateQueue': {
8489
9035
  service: 'qaSurface',
@@ -8528,7 +9074,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8528
9074
  create: _yadsh_dsh_qa_surface_qaSurface_chatUpdateQueue_result$schema,
8529
9075
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8530
9076
  },
8531
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2072,"column":3},
9077
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2223,"column":3},
8532
9078
  },
8533
9079
  'qaSurface/chatVisible': {
8534
9080
  service: 'qaSurface',
@@ -8557,7 +9103,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8557
9103
  create: _yadsh_dsh_qa_surface_qaSurface_chatVisible_result$schema,
8558
9104
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"sessionId":{"type":"string"},"ownerId":{"type":"string"},"ownerName":{"type":"string"},"actorId":{"type":"string"},"mode":{"type":"string","enum":["read","collaborate","owner"]},"revision":{"type":"number"}},"required":["sessionId","ownerId","ownerName","actorId","mode","revision"],"additionalProperties":true}},
8559
9105
  },
8560
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1895,"column":3},
9106
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2041,"column":3},
8561
9107
  },
8562
9108
  'qaSurface/createSession': {
8563
9109
  service: 'qaSurface',
@@ -8619,7 +9165,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8619
9165
  create: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
8620
9166
  jsonSchema: {"type":"string"},
8621
9167
  },
8622
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1204,"column":9},
9168
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1391,"column":9},
8623
9169
  },
8624
9170
  'qaSurface/describe': {
8625
9171
  service: 'qaSurface',
@@ -8631,9 +9177,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8631
9177
  mode: 'strict',
8632
9178
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
8633
9179
  create: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
8634
- jsonSchema: {"type":"object","properties":{"forms":{"type":"object","properties":{"enabled":{"type":"boolean"},"maxSteps":{"type":"number"},"maxItemsPerForm":{"type":"number"},"maxOptionsPerItem":{"type":"number"},"maxSchemaBytes":{"type":"number"},"maxTextLength":{"type":"number"},"maxTotalAnswerBytes":{"type":"number"},"maxFilesPerItem":{"type":"number"},"maxFileSizeBytes":{"type":"number"},"maxTotalFileBytesPerForm":{"type":"number"},"maxConcurrentUploadsPerSession":{"type":"number"},"uploadIntentTtlSeconds":{"type":"number"},"allowedExtensions":{"type":"array","items":{"type":"string"}}},"required":["enabled","maxSteps","maxItemsPerForm","maxOptionsPerItem","maxSchemaBytes","maxTextLength","maxTotalAnswerBytes","maxFilesPerItem","maxFileSizeBytes","maxTotalFileBytesPerForm","maxConcurrentUploadsPerSession","uploadIntentTtlSeconds","allowedExtensions"],"additionalProperties":true},"enabled":{"type":"boolean"},"route":{"type":"object","properties":{"path":{"type":"string"},"matchChildren":{"type":"boolean"}},"required":["path","matchChildren"],"additionalProperties":true},"branding":{"type":"object","properties":{"title":{"type":"string"},"subtitle":{"type":"string"},"welcomeMessage":{"type":"string"},"placeholder":{"type":"string"},"logoUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"disclaimer":{"type":"string"}},"required":["title","subtitle","welcomeMessage","placeholder","logoUrl","disclaimer"],"additionalProperties":true},"session":{"type":"object","properties":{"policy":{"type":"string","enum":["browser-persistent","new-on-load","fixed"]},"storageKey":{"type":"string"},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"workspaceId":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"fixedSessionId":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"agentPreset":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"provider":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"reasoningEffort":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"maxActiveRequests":{"type":"number"}},"required":["policy","storageKey","cwd","workspaceId","fixedSessionId","agentPreset","provider","model","reasoningEffort","maxActiveRequests"],"additionalProperties":true},"ui":{"type":"object","properties":{"showHeader":{"type":"boolean"},"showReset":{"type":"boolean"},"showStop":{"type":"boolean"},"showTimestamps":{"type":"boolean"},"showToolActivity":{"type":"boolean"},"showReasoning":{"type":"boolean"},"renderMarkdown":{"type":"boolean"},"minContentWidth":{"type":"number"},"showSessionList":{"type":"boolean"},"subagentCodenames":{"type":"boolean"}},"required":["showHeader","showReset","showStop","showTimestamps","showToolActivity","showReasoning","renderMarkdown","minContentWidth","showSessionList","subagentCodenames"],"additionalProperties":true},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"thinkingPhrases":{"type":"array","items":{"type":"string"}},"interaction":{"type":"object","properties":{"approvals":{"type":"string","enum":["blocked","interactive"]},"questions":{"type":"string","enum":["interactive","unsupported"]}},"required":["approvals","questions"],"additionalProperties":true},"lockdown":{"type":"object","properties":{"enabled":{"type":"boolean"},"enforceFixedAgentPreset":{"type":"boolean"},"enforceFixedWorkspace":{"type":"boolean"},"enforceFixedModel":{"type":"boolean"},"sandboxMode":{"type":"string","enum":["read-only","workspace-write"]},"approvalPolicy":{"type":"string","const":"never"},"permissionPreset":{"type":"string"},"allowPermissionChanges":{"type":"boolean","const":false},"allowSlashCommands":{"type":"boolean"},"allowSettingsMutation":{"type":"boolean","const":false},"allowSessionReset":{"type":"boolean"},"allowSessionRename":{"type":"boolean","const":false},"allowSessionDelete":{"type":"boolean","const":false},"allowArbitrarySessionOpen":{"type":"boolean","const":false},"toolPolicy":{"type":"object","properties":{"mode":{"type":"string","const":"allow-list"},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"sharedReadOnlyRoots":{"type":"array","items":{"type":"string"}}},"required":["enabled","enforceFixedAgentPreset","enforceFixedWorkspace","enforceFixedModel","sandboxMode","approvalPolicy","permissionPreset","allowPermissionChanges","allowSlashCommands","allowSettingsMutation","allowSessionReset","allowSessionRename","allowSessionDelete","allowArbitrarySessionOpen","toolPolicy","sharedReadOnlyRoots"],"additionalProperties":true},"slashCommands":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Mirror of `lockdown.allowSlashCommands`; the one master switch."},"skills":{"type":"object","properties":{"mode":{"type":"string","enum":["allow-list","deny-all","all"]},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"commands":{"type":"object","properties":{"mode":{"type":"string","enum":["allow-list","deny-all","all"]},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"palette":{"type":"object","properties":{"enabled":{"type":"boolean"},"fuzzySearch":{"type":"boolean"},"maxVisible":{"type":"number"},"showDescriptions":{"type":"boolean"},"showKindBadge":{"type":"boolean"}},"required":["enabled","fuzzySearch","maxVisible","showDescriptions","showKindBadge"],"additionalProperties":true},"legacyDefaults":{"type":"boolean","description":"True when the deployment turned the master switch on without declaring a `slashCommands` section: skills then admit every user-invocable skill the session already exposes, commands stay denied. The Host logs it once, so an upgrade cannot silently widen anything."}},"required":["enabled","skills","commands","palette","legacyDefaults"],"additionalProperties":true},"embedding":{"type":"object","properties":{"frameAncestors":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["frameAncestors"],"additionalProperties":true},"accounts":{"type":"object","properties":{"localLogin":{"type":"boolean"},"oidc":{"type":"object","properties":{"enabled":{"type":"boolean"},"issuer":{"type":"string"},"clientId":{"type":"string"},"clientSecretEnv":{"type":"string"},"redirectUri":{"type":"string"},"buttonLabel":{"type":"string"},"autoProvision":{"type":"boolean"},"requiredRole":{"type":"string"},"adminRole":{"type":"string"},"reviewerRole":{"type":"string"},"sessionTtlSeconds":{"type":"number"}},"required":["enabled","issuer","clientId","clientSecretEnv","redirectUri","buttonLabel","autoProvision","requiredRole","adminRole","reviewerRole","sessionTtlSeconds"],"additionalProperties":true},"enabled":{"type":"boolean"},"allowRegistration":{"type":"boolean"},"sessionTtlDays":{"type":"number"},"maxAuthAttemptsPerMinute":{"type":"number","description":"Login/registration attempts accepted per rolling minute, store-wide."},"showOtherUsersChats":{"type":"boolean"},"perUserWorkspace":{"type":"boolean"},"retention":{"type":"object","properties":{"pruneVanishedSessions":{"type":"boolean"},"ownershipGraceHours":{"type":"number"},"sweepIntervalMinutes":{"type":"number"}},"required":["pruneVanishedSessions","ownershipGraceHours","sweepIntervalMinutes"],"additionalProperties":true},"profile":{"type":"object","properties":{"enabled":{"type":"boolean"},"inject":{"type":"boolean"},"identities":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Stable lowercase key: the profile's storage key and the prompt's label."},"label":{"type":"string","description":"Operator copy shown in the profile form."}},"required":["key","label"],"additionalProperties":true}},"instructionsMaxLength":{"type":"number"}},"required":["enabled","inject","identities","instructionsMaxLength"],"additionalProperties":true},"starters":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":true,"description":"Per-account starter buttons above an empty composer."},"skills":{"type":"object","properties":{"enabled":{"type":"boolean"},"relativeRoot":{"type":"string"},"watch":{"type":"boolean"},"maxSkillBytes":{"type":"number"},"allowResourceEditing":{"type":"boolean"}},"required":["enabled","relativeRoot","watch","maxSkillBytes","allowResourceEditing"],"additionalProperties":true,"description":"Personal Skills. Resolution turns the flag off on any deployment that cannot give every account its own directory: the storage root is the account's own workspace, so there is no safe shared fallback."}},"required":["localLogin","oidc","enabled","allowRegistration","sessionTtlDays","maxAuthAttemptsPerMinute","showOtherUsersChats","perUserWorkspace","retention","profile","starters","skills"],"additionalProperties":true},"entry":{"type":"object","properties":{"redirectNonLoopback":{"type":"boolean"},"cookieBootstrap":{"type":"boolean"}},"required":["redirectNonLoopback","cookieBootstrap"],"additionalProperties":true},"notifications":{"type":"object","properties":{"enabled":{"type":"boolean"},"allowOs":{"type":"boolean"}},"required":["enabled","allowOs"],"additionalProperties":true,"description":"Channels a finished turn of this browser's own chats may use."},"tools":{"type":"object","properties":{"dynamicActivation":{"type":"boolean"},"activationSkill":{"type":"string"},"activationMode":{"type":"string","const":"all"},"activationPresets":{"type":"array","items":{"type":"string"}},"docsRoot":{"type":"string","description":"Absolute documentation root the QA catalogue reads, or `\"\"` for the `docs/` directory inside each chat's own workspace."},"docsDefaultVersion":{"type":"string","description":"Version a search without `version` and without `path` stays inside, or `\"\"` for a search across every edition the corpus carries."},"docsDefaultVersionEnabled":{"type":"boolean","description":"Whether the deployment's default version is in force."}},"required":["dynamicActivation","activationSkill","activationMode","activationPresets","docsRoot","docsDefaultVersion","docsDefaultVersionEnabled"],"additionalProperties":true},"sources":{"type":"object","properties":{"enabled":{"type":"boolean"},"retention":{"type":"object","properties":{"maxTurnsPerSession":{"type":"number"},"maxSessions":{"type":"number"},"maxAgeDays":{"type":"number"},"sweepIntervalMinutes":{"type":"number"}},"required":["maxTurnsPerSession","maxSessions","maxAgeDays","sweepIntervalMinutes"],"additionalProperties":true},"collect":{"type":"object","properties":{"parentAgent":{"type":"boolean"},"subagents":{"type":"boolean"},"persistTurnEvent":{"type":"boolean"}},"required":["parentAgent","subagents","persistTurnEvent"],"additionalProperties":true},"display":{"type":"object","properties":{"sidebar":{"type":"boolean"},"footer":{"type":"boolean"},"groupByKind":{"type":"boolean"},"showDiscovered":{"type":"boolean"},"showOriginBadges":{"type":"boolean"},"maxInitiallyVisiblePerGroup":{"type":"number"}},"required":["sidebar","footer","groupByKind","showDiscovered","showOriginBadges","maxInitiallyVisiblePerGroup"],"additionalProperties":true},"webSearch":{"type":"object","properties":{"promoteSearchResultsWithoutFetch":{"type":"boolean"},"maxPromotedPerSearch":{"type":"number"}},"required":["promoteSearchResultsWithoutFetch","maxPromotedPerSearch"],"additionalProperties":true},"dedupe":{"type":"object","properties":{"normalizeUrls":{"type":"boolean"},"stripTrackingParams":{"type":"boolean"},"mergeFileRanges":{"type":"boolean"}},"required":["normalizeUrls","stripTrackingParams","mergeFileRanges"],"additionalProperties":true},"filePreview":{"type":"object","properties":{"enabled":{"type":"boolean"},"markdownRenderedByDefault":{"type":"boolean"},"renderFrontmatter":{"type":"boolean"},"allowRawToggle":{"type":"boolean"},"maxBytes":{"type":"number"},"maxMarkdownRenderBytes":{"type":"number"},"maxListingEntries":{"type":"number"}},"required":["enabled","markdownRenderedByDefault","renderFrontmatter","allowRawToggle","maxBytes","maxMarkdownRenderBytes","maxListingEntries"],"additionalProperties":true},"subagents":{"type":"object","properties":{"inheritSources":{"type":"boolean"},"enableReportToolFallback":{"type":"boolean"},"markIncompleteOpaqueRuns":{"type":"boolean"},"validateReportedSources":{"type":"boolean"}},"required":["inheritSources","enableReportToolFallback","markIncompleteOpaqueRuns","validateReportedSources"],"additionalProperties":true},"legacy":{"type":"object","properties":{"parseAssistantSourcesBlock":{"type":"boolean"}},"required":["parseAssistantSourcesBlock"],"additionalProperties":true}},"required":["enabled","retention","collect","display","webSearch","dedupe","filePreview","subagents","legacy"],"additionalProperties":true},"attachments":{"type":"object","properties":{"textFiles":{"type":"boolean"},"pastedTextLines":{"type":"number"},"maxFileBytes":{"type":"number"},"maxPending":{"type":"number"},"extensions":{"type":"array","items":{"type":"string"}}},"required":["textFiles","pastedTextLines","maxFileBytes","maxPending","extensions"],"additionalProperties":true},"notes":{"type":"object","properties":{"identity":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"sources":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"},"fallbackTemplate":{"type":"string"}},"required":["enabled","template","fallbackTemplate"],"additionalProperties":true},"delegation":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"documents":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"sourcePriority":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true}},"required":["identity","sources","delegation","documents","sourcePriority"],"additionalProperties":true},"integration":{"type":"object","properties":{"enabled":{"type":"boolean"},"basePath":{"type":"string"},"tokenTtlDays":{"type":"number"},"requestTimeoutMs":{"type":"number"},"maxConcurrent":{"type":"number"},"requestsPerMinute":{"type":"number"},"maxRequestBytes":{"type":"number"},"maxAttachmentBytes":{"type":"number"},"maxAnswerCharacters":{"type":"number"}},"required":["enabled","basePath","tokenTtlDays","requestTimeoutMs","maxConcurrent","requestsPerMinute","maxRequestBytes","maxAttachmentBytes","maxAnswerCharacters"],"additionalProperties":true}},"required":["forms","enabled","route","branding","session","ui","suggestedQuestions","thinkingPhrases","interaction","lockdown","slashCommands","embedding","accounts","entry","notifications","tools","sources","attachments","notes","integration"],"additionalProperties":true},
9180
+ jsonSchema: {"type":"object","properties":{"codeSources":{"type":"object","properties":{"defaultSource":{"type":"string"},"entries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"path":{"type":"string"},"docsVersion":{"type":"string"}},"required":["id","label","path"],"additionalProperties":true}}},"required":["defaultSource","entries"],"additionalProperties":true},"forms":{"type":"object","properties":{"enabled":{"type":"boolean"},"maxSteps":{"type":"number"},"maxItemsPerForm":{"type":"number"},"maxOptionsPerItem":{"type":"number"},"maxSchemaBytes":{"type":"number"},"maxTextLength":{"type":"number"},"maxTotalAnswerBytes":{"type":"number"},"maxFilesPerItem":{"type":"number"},"maxFileSizeBytes":{"type":"number"},"maxTotalFileBytesPerForm":{"type":"number"},"maxConcurrentUploadsPerSession":{"type":"number"},"uploadIntentTtlSeconds":{"type":"number"},"allowedExtensions":{"type":"array","items":{"type":"string"}}},"required":["enabled","maxSteps","maxItemsPerForm","maxOptionsPerItem","maxSchemaBytes","maxTextLength","maxTotalAnswerBytes","maxFilesPerItem","maxFileSizeBytes","maxTotalFileBytesPerForm","maxConcurrentUploadsPerSession","uploadIntentTtlSeconds","allowedExtensions"],"additionalProperties":true},"enabled":{"type":"boolean"},"route":{"type":"object","properties":{"path":{"type":"string"},"matchChildren":{"type":"boolean"}},"required":["path","matchChildren"],"additionalProperties":true},"branding":{"type":"object","properties":{"title":{"type":"string"},"subtitle":{"type":"string"},"welcomeMessage":{"type":"string"},"placeholder":{"type":"string"},"logoUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"disclaimer":{"type":"string"}},"required":["title","subtitle","welcomeMessage","placeholder","logoUrl","disclaimer"],"additionalProperties":true},"session":{"type":"object","properties":{"policy":{"type":"string","enum":["browser-persistent","new-on-load","fixed"]},"storageKey":{"type":"string"},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"workspaceId":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"fixedSessionId":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"agentPreset":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"provider":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"reasoningEffort":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"modelReplacements":{"type":"array","items":{"type":"object","properties":{"from":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"to":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}},"required":["from","to"],"additionalProperties":true}},"maxActiveRequests":{"type":"number"}},"required":["policy","storageKey","cwd","workspaceId","fixedSessionId","agentPreset","provider","model","reasoningEffort","modelReplacements","maxActiveRequests"],"additionalProperties":true},"ui":{"type":"object","properties":{"showHeader":{"type":"boolean"},"showReset":{"type":"boolean"},"showStop":{"type":"boolean"},"showTimestamps":{"type":"boolean"},"showToolActivity":{"type":"boolean"},"showReasoning":{"type":"boolean"},"renderMarkdown":{"type":"boolean"},"minContentWidth":{"type":"number"},"showSessionList":{"type":"boolean"},"subagentCodenames":{"type":"boolean"}},"required":["showHeader","showReset","showStop","showTimestamps","showToolActivity","showReasoning","renderMarkdown","minContentWidth","showSessionList","subagentCodenames"],"additionalProperties":true},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"thinkingPhrases":{"type":"array","items":{"type":"string"}},"interaction":{"type":"object","properties":{"approvals":{"type":"string","enum":["blocked","interactive"]},"questions":{"type":"string","enum":["interactive","unsupported"]}},"required":["approvals","questions"],"additionalProperties":true},"lockdown":{"type":"object","properties":{"enabled":{"type":"boolean"},"enforceFixedAgentPreset":{"type":"boolean"},"enforceFixedWorkspace":{"type":"boolean"},"enforceFixedModel":{"type":"boolean"},"sandboxMode":{"type":"string","enum":["read-only","workspace-write"]},"approvalPolicy":{"type":"string","const":"never"},"permissionPreset":{"type":"string"},"allowPermissionChanges":{"type":"boolean","const":false},"allowSlashCommands":{"type":"boolean"},"allowSettingsMutation":{"type":"boolean","const":false},"allowSessionReset":{"type":"boolean"},"allowSessionRename":{"type":"boolean","const":false},"allowSessionDelete":{"type":"boolean","const":false},"allowArbitrarySessionOpen":{"type":"boolean","const":false},"toolPolicy":{"type":"object","properties":{"mode":{"type":"string","const":"allow-list"},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"sharedReadOnlyRoots":{"type":"array","items":{"type":"string"}}},"required":["enabled","enforceFixedAgentPreset","enforceFixedWorkspace","enforceFixedModel","sandboxMode","approvalPolicy","permissionPreset","allowPermissionChanges","allowSlashCommands","allowSettingsMutation","allowSessionReset","allowSessionRename","allowSessionDelete","allowArbitrarySessionOpen","toolPolicy","sharedReadOnlyRoots"],"additionalProperties":true},"slashCommands":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Mirror of `lockdown.allowSlashCommands`; the one master switch."},"skills":{"type":"object","properties":{"mode":{"type":"string","enum":["allow-list","deny-all","all"]},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"commands":{"type":"object","properties":{"mode":{"type":"string","enum":["allow-list","deny-all","all"]},"allow":{"type":"array","items":{"type":"string"}}},"required":["mode","allow"],"additionalProperties":true},"palette":{"type":"object","properties":{"enabled":{"type":"boolean"},"fuzzySearch":{"type":"boolean"},"maxVisible":{"type":"number"},"showDescriptions":{"type":"boolean"},"showKindBadge":{"type":"boolean"}},"required":["enabled","fuzzySearch","maxVisible","showDescriptions","showKindBadge"],"additionalProperties":true},"legacyDefaults":{"type":"boolean","description":"True when the deployment turned the master switch on without declaring a `slashCommands` section: skills then admit every user-invocable skill the session already exposes, commands stay denied. The Host logs it once, so an upgrade cannot silently widen anything."}},"required":["enabled","skills","commands","palette","legacyDefaults"],"additionalProperties":true},"embedding":{"type":"object","properties":{"frameAncestors":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["frameAncestors"],"additionalProperties":true},"accounts":{"type":"object","properties":{"localLogin":{"type":"boolean"},"oidc":{"type":"object","properties":{"enabled":{"type":"boolean"},"issuer":{"type":"string"},"clientId":{"type":"string"},"clientSecretEnv":{"type":"string"},"redirectUri":{"type":"string"},"buttonLabel":{"type":"string"},"autoProvision":{"type":"boolean"},"requiredRole":{"type":"string"},"adminRole":{"type":"string"},"reviewerRole":{"type":"string"},"sessionTtlSeconds":{"type":"number"}},"required":["enabled","issuer","clientId","clientSecretEnv","redirectUri","buttonLabel","autoProvision","requiredRole","adminRole","reviewerRole","sessionTtlSeconds"],"additionalProperties":true},"enabled":{"type":"boolean"},"allowRegistration":{"type":"boolean"},"sessionTtlDays":{"type":"number"},"maxAuthAttemptsPerMinute":{"type":"number","description":"Login/registration attempts accepted per rolling minute, store-wide."},"showOtherUsersChats":{"type":"boolean"},"perUserWorkspace":{"type":"boolean"},"retention":{"type":"object","properties":{"pruneVanishedSessions":{"type":"boolean"},"ownershipGraceHours":{"type":"number"},"sweepIntervalMinutes":{"type":"number"}},"required":["pruneVanishedSessions","ownershipGraceHours","sweepIntervalMinutes"],"additionalProperties":true},"profile":{"type":"object","properties":{"enabled":{"type":"boolean"},"inject":{"type":"boolean"},"identities":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Stable lowercase key: the profile's storage key and the prompt's label."},"label":{"type":"string","description":"Operator copy shown in the profile form."}},"required":["key","label"],"additionalProperties":true}},"instructionsMaxLength":{"type":"number"}},"required":["enabled","inject","identities","instructionsMaxLength"],"additionalProperties":true},"starters":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":true,"description":"Per-account starter buttons above an empty composer."},"skills":{"type":"object","properties":{"enabled":{"type":"boolean"},"relativeRoot":{"type":"string"},"sharedSeed":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"root":{"type":"string"},"names":{"type":"array","items":{"type":"string"}}},"required":["root","names"],"additionalProperties":true}]},"watch":{"type":"boolean"},"maxSkillBytes":{"type":"number"},"allowResourceEditing":{"type":"boolean"}},"required":["enabled","relativeRoot","sharedSeed","watch","maxSkillBytes","allowResourceEditing"],"additionalProperties":true,"description":"Personal Skills. Resolution turns the flag off on any deployment that cannot give every account its own directory: the storage root is the account's own workspace, so there is no safe shared fallback."}},"required":["localLogin","oidc","enabled","allowRegistration","sessionTtlDays","maxAuthAttemptsPerMinute","showOtherUsersChats","perUserWorkspace","retention","profile","starters","skills"],"additionalProperties":true},"entry":{"type":"object","properties":{"redirectNonLoopback":{"type":"boolean"},"cookieBootstrap":{"type":"boolean"}},"required":["redirectNonLoopback","cookieBootstrap"],"additionalProperties":true},"notifications":{"type":"object","properties":{"enabled":{"type":"boolean"},"allowOs":{"type":"boolean"}},"required":["enabled","allowOs"],"additionalProperties":true,"description":"Channels a finished turn of this browser's own chats may use."},"tools":{"type":"object","properties":{"dynamicActivation":{"type":"boolean"},"activationSkill":{"type":"string"},"activationMode":{"type":"string","const":"all"},"activationPresets":{"type":"array","items":{"type":"string"}},"docsRoot":{"type":"string","description":"Absolute documentation root the QA catalogue reads, or `\"\"` for the `docs/` directory inside each chat's own workspace."},"docsDefaultVersion":{"type":"string","description":"Version a search without `version` and without `path` stays inside, or `\"\"` for a search across every edition the corpus carries."},"docsDefaultVersionEnabled":{"type":"boolean","description":"Whether the deployment's default version is in force."}},"required":["dynamicActivation","activationSkill","activationMode","activationPresets","docsRoot","docsDefaultVersion","docsDefaultVersionEnabled"],"additionalProperties":true},"sources":{"type":"object","properties":{"enabled":{"type":"boolean"},"retention":{"type":"object","properties":{"maxTurnsPerSession":{"type":"number"},"maxSessions":{"type":"number"},"maxAgeDays":{"type":"number"},"sweepIntervalMinutes":{"type":"number"}},"required":["maxTurnsPerSession","maxSessions","maxAgeDays","sweepIntervalMinutes"],"additionalProperties":true},"collect":{"type":"object","properties":{"parentAgent":{"type":"boolean"},"subagents":{"type":"boolean"},"persistTurnEvent":{"type":"boolean"}},"required":["parentAgent","subagents","persistTurnEvent"],"additionalProperties":true},"display":{"type":"object","properties":{"sidebar":{"type":"boolean"},"footer":{"type":"boolean"},"groupByKind":{"type":"boolean"},"showDiscovered":{"type":"boolean"},"showOriginBadges":{"type":"boolean"},"maxInitiallyVisiblePerGroup":{"type":"number"}},"required":["sidebar","footer","groupByKind","showDiscovered","showOriginBadges","maxInitiallyVisiblePerGroup"],"additionalProperties":true},"webSearch":{"type":"object","properties":{"promoteSearchResultsWithoutFetch":{"type":"boolean"},"maxPromotedPerSearch":{"type":"number"}},"required":["promoteSearchResultsWithoutFetch","maxPromotedPerSearch"],"additionalProperties":true},"dedupe":{"type":"object","properties":{"normalizeUrls":{"type":"boolean"},"stripTrackingParams":{"type":"boolean"},"mergeFileRanges":{"type":"boolean"}},"required":["normalizeUrls","stripTrackingParams","mergeFileRanges"],"additionalProperties":true},"filePreview":{"type":"object","properties":{"enabled":{"type":"boolean"},"markdownRenderedByDefault":{"type":"boolean"},"renderFrontmatter":{"type":"boolean"},"allowRawToggle":{"type":"boolean"},"maxBytes":{"type":"number"},"maxMarkdownRenderBytes":{"type":"number"},"maxListingEntries":{"type":"number"}},"required":["enabled","markdownRenderedByDefault","renderFrontmatter","allowRawToggle","maxBytes","maxMarkdownRenderBytes","maxListingEntries"],"additionalProperties":true},"subagents":{"type":"object","properties":{"inheritSources":{"type":"boolean"},"enableReportToolFallback":{"type":"boolean"},"markIncompleteOpaqueRuns":{"type":"boolean"},"validateReportedSources":{"type":"boolean"}},"required":["inheritSources","enableReportToolFallback","markIncompleteOpaqueRuns","validateReportedSources"],"additionalProperties":true},"legacy":{"type":"object","properties":{"parseAssistantSourcesBlock":{"type":"boolean"}},"required":["parseAssistantSourcesBlock"],"additionalProperties":true}},"required":["enabled","retention","collect","display","webSearch","dedupe","filePreview","subagents","legacy"],"additionalProperties":true},"attachments":{"type":"object","properties":{"textFiles":{"type":"boolean"},"pastedTextLines":{"type":"number"},"maxFileBytes":{"type":"number"},"maxPending":{"type":"number"},"extensions":{"type":"array","items":{"type":"string"}}},"required":["textFiles","pastedTextLines","maxFileBytes","maxPending","extensions"],"additionalProperties":true},"notes":{"type":"object","properties":{"identity":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"sources":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"},"fallbackTemplate":{"type":"string"}},"required":["enabled","template","fallbackTemplate"],"additionalProperties":true},"delegation":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"documents":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true},"sourcePriority":{"type":"object","properties":{"enabled":{"type":"boolean"},"template":{"type":"string"}},"required":["enabled","template"],"additionalProperties":true}},"required":["identity","sources","delegation","documents","sourcePriority"],"additionalProperties":true},"integration":{"type":"object","properties":{"enabled":{"type":"boolean"},"basePath":{"type":"string"},"tokenTtlDays":{"type":"number"},"requestTimeoutMs":{"type":"number"},"maxConcurrent":{"type":"number"},"requestsPerMinute":{"type":"number"},"maxRequestBytes":{"type":"number"},"maxAttachmentBytes":{"type":"number"},"maxAttachments":{"type":"number"},"maxAnswerCharacters":{"type":"number"}},"required":["enabled","basePath","tokenTtlDays","requestTimeoutMs","maxConcurrent","requestsPerMinute","maxRequestBytes","maxAttachmentBytes","maxAttachments","maxAnswerCharacters"],"additionalProperties":true}},"required":["codeSources","forms","enabled","route","branding","session","ui","suggestedQuestions","thinkingPhrases","interaction","lockdown","slashCommands","embedding","accounts","entry","notifications","tools","sources","attachments","notes","integration"],"additionalProperties":true},
8635
9181
  },
8636
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1173,"column":3},
9182
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1309,"column":3},
8637
9183
  },
8638
9184
  'qaSurface/documentWorkflowStatus': {
8639
9185
  service: 'qaSurface',
@@ -8694,7 +9240,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8694
9240
  create: _yadsh_dsh_qa_surface_qaSurface_documentWorkflowStatus_result$schema,
8695
9241
  jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"status":{"type":"string"},"sha256":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"blockers":{"type":"array","items":{"type":"string"}}},"required":["id","revision","status","sha256","blockers"],"additionalProperties":true},
8696
9242
  },
8697
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2559,"column":9},
9243
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2710,"column":9},
8698
9244
  },
8699
9245
  'qaSurface/forkSession': {
8700
9246
  service: 'qaSurface',
@@ -8756,7 +9302,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8756
9302
  create: _yadsh_dsh_qa_surface_qaSurface_forkSession_result$schema,
8757
9303
  jsonSchema: {"type":"string"},
8758
9304
  },
8759
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1299,"column":9},
9305
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1425,"column":9},
8760
9306
  },
8761
9307
  'qaSurface/formCapabilities': {
8762
9308
  service: 'qaSurface',
@@ -8769,7 +9315,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8769
9315
  create: _yadsh_dsh_qa_surface_qaSurface_formCapabilities_result$schema,
8770
9316
  jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean"},"schemaVersion":{"type":"number"},"upload":{"type":"boolean"}},"required":["enabled","schemaVersion","upload"],"additionalProperties":true},
8771
9317
  },
8772
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2266,"column":9},
9318
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2417,"column":9},
8773
9319
  },
8774
9320
  'qaSurface/getForm': {
8775
9321
  service: 'qaSurface',
@@ -8830,7 +9376,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8830
9376
  create: _yadsh_dsh_qa_surface_qaSurface_getForm_result$schema,
8831
9377
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8832
9378
  },
8833
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2207,"column":9},
9379
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2358,"column":9},
8834
9380
  },
8835
9381
  'qaSurface/listForms': {
8836
9382
  service: 'qaSurface',
@@ -8875,7 +9421,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8875
9421
  create: _yadsh_dsh_qa_surface_qaSurface_listForms_result$schema,
8876
9422
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8877
9423
  },
8878
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2186,"column":9},
9424
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2337,"column":9},
8879
9425
  },
8880
9426
  'qaSurface/listWorkspaceFiles': {
8881
9427
  service: 'qaSurface',
@@ -8937,7 +9483,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8937
9483
  create: _yadsh_dsh_qa_surface_qaSurface_listWorkspaceFiles_result$schema,
8938
9484
  jsonSchema: {"type":"object","properties":{"path":{"type":"string"},"entries":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["file","directory"]},"size":{"oneOf":[{"type":"null","const":null},{"type":"number"}]}},"required":["name","type","size"],"additionalProperties":true}},"truncated":{"type":"boolean","description":"More children existed than one listing carries."}},"required":["path","entries","truncated"],"additionalProperties":true},
8939
9485
  },
8940
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2477,"column":9},
9486
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2628,"column":9},
8941
9487
  },
8942
9488
  'qaSurface/mutateForm': {
8943
9489
  service: 'qaSurface',
@@ -8998,7 +9544,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8998
9544
  create: _yadsh_dsh_qa_surface_qaSurface_mutateForm_result$schema,
8999
9545
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
9000
9546
  },
9001
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2225,"column":9},
9547
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2376,"column":9},
9002
9548
  },
9003
9549
  'qaSurface/pendingApprovals': {
9004
9550
  service: 'qaSurface',
@@ -9044,7 +9590,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9044
9590
  create: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
9045
9591
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"sessionId":{"type":"string","description":"The chat the request belongs to: a delegated child asks under its root."},"toolName":{"type":"string"},"reason":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The reason the composed gate gave for asking, when it gave one."},"createdAt":{"type":"number"},"delegated":{"type":"boolean","description":"True when a delegated child of the chat made the call."}},"required":["id","sessionId","toolName","reason","createdAt","delegated"],"additionalProperties":true}},
9046
9592
  },
9047
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2125,"column":9},
9593
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2276,"column":9},
9048
9594
  },
9049
9595
  'qaSurface/pendingQuestions': {
9050
9596
  service: 'qaSurface',
@@ -9090,7 +9636,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9090
9636
  create: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
9091
9637
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"sessionId":{"type":"string","description":"The chat the request belongs to."},"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"question":{"type":"string"},"header":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"detail":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"options":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"description":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["label","description"],"additionalProperties":true}},"multiSelect":{"type":"boolean"}},"required":["id","question","header","detail","options","multiSelect"],"additionalProperties":true}},"createdAt":{"type":"number"}},"required":["id","sessionId","questions","createdAt"],"additionalProperties":true}},
9092
9638
  },
9093
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2161,"column":9},
9639
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2312,"column":9},
9094
9640
  },
9095
9641
  'qaSurface/previewWorkspaceDocument': {
9096
9642
  service: 'qaSurface',
@@ -9169,21 +9715,53 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9169
9715
  create: _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema,
9170
9716
  jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"pdf"},"base64":{"type":"string"},"mime":{"type":"string","const":"application/pdf"},"name":{"type":"string"},"bytes":{"type":"number"}},"required":["kind","base64","mime","name","bytes"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"spreadsheet"},"name":{"type":"string"},"bytes":{"type":"number"},"inventory":{"type":"object","properties":{"filename":{"type":"string"},"format":{"type":"string","enum":["xlsx","csv","tsv","ods","fods"]},"text":{"type":"object","properties":{"delimiter":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","utf-16le","utf-16be","windows-1251"]}},"required":["delimiter","encoding"],"additionalProperties":true},"size":{"type":"number"},"sha256":{"type":"string"},"sheets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"state":{"type":"string"},"rows":{"type":"number"},"columns":{"type":"number"},"nonEmptyRows":{"type":"number"},"mergedRanges":{"type":"array","items":{"type":"string"}}},"required":["name","state","rows","columns","nonEmptyRows","mergedRanges"],"additionalProperties":true}},"warnings":{"type":"array","items":{"type":"string"}}},"required":["filename","format","size","sha256","sheets","warnings"],"additionalProperties":true},"page":{"type":"object","properties":{"format":{"type":"string","enum":["xlsx","csv","tsv","ods","fods"]},"text":{"type":"object","properties":{"delimiter":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","utf-16le","utf-16be","windows-1251"]}},"required":["delimiter","encoding"],"additionalProperties":true},"filename":{"type":"string"},"sha256":{"type":"string"},"sheet":{"type":"object","properties":{"name":{"type":"string"},"state":{"type":"string"},"rows":{"type":"number"},"columns":{"type":"number"},"nonEmptyRows":{"type":"number"},"mergedRanges":{"type":"array","items":{"type":"string"}}},"required":["name","state","rows","columns","nonEmptyRows","mergedRanges"],"additionalProperties":true},"startRow":{"type":"number"},"startColumn":{"type":"number"},"rows":{"type":"array","items":{"type":"object","properties":{"row":{"type":"number"},"cells":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"value":{"oneOf":[{"type":"null","const":null},{"type":"string"},{"type":"number"},{"type":"boolean","enum":[false,true]}]},"type":{"type":"string","enum":["string","number","boolean","error","blank","date","formula"]},"formula":{"type":"string"},"numberFormat":{"type":"string"},"hyperlink":{"type":"string"}},"required":["address","value","type"],"additionalProperties":true}}},"required":["row","cells"],"additionalProperties":true}},"nextRow":{"oneOf":[{"type":"null","const":null},{"type":"number"}]},"nextColumn":{"oneOf":[{"type":"null","const":null},{"type":"number"}]},"warnings":{"type":"array","items":{"type":"string"}}},"required":["format","filename","sha256","sheet","startRow","startColumn","rows","nextRow","nextColumn","warnings"],"additionalProperties":true}},"required":["kind","name","bytes","inventory","page"],"additionalProperties":true}]},
9171
9717
  },
9172
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2636,"column":9},
9718
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2787,"column":9},
9173
9719
  },
9174
9720
  'qaSurface/queueStatus': {
9175
9721
  service: 'qaSurface',
9176
- description: 'Report how much of the deployment\'s request ceiling the stand is using, so a browser holds its question back instead of opening another turn on a model that is busy answering the ones it allows. The count is the Host\'s, not the browser\'s: a visitor cannot see another account\'s chats, and the HTTP API\'s questions are invisible to every chat view. Read-only, and a ceiling rather than a lock — a prompt rides the native session RPC this plugin does not own, so the boundary is the browser\'s own courtesy, and two questions sent in the same instant can still overshoot by one. What the ceiling buys is that steady state, not a strict bound.',
9722
+ description: 'Report server admission. Global reads expose counts only; a chat\'s FIFO position requires that account\'s current read access to the chat. The scheduler gates every root turn, including native and integration sends. Both arguments are part of the wire contract: the gateway client counts declared parameters rather than TypeScript optionals, so a call that omits them is refused on the browser before the Host ever sees it. An empty session id is the global read — the shape every initial send asks for, while its draft chat has no session to name yet.',
9177
9723
  invocation: { kind: 'direct' },
9178
9724
  parameters: [
9725
+ {
9726
+ name: 'token',
9727
+ source: 'json',
9728
+ codec: {
9729
+ mode: 'strict',
9730
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:token',
9731
+ create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema,
9732
+ jsonSchema: {"type":"string"},
9733
+ },
9734
+ strictCodec: {
9735
+ mode: 'strict',
9736
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:token',
9737
+ create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema,
9738
+ jsonSchema: {"type":"string"},
9739
+ },
9740
+ },
9741
+ {
9742
+ name: 'sessionId',
9743
+ source: 'json',
9744
+ codec: {
9745
+ mode: 'strict',
9746
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:sessionId',
9747
+ create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema,
9748
+ jsonSchema: {"type":"string"},
9749
+ },
9750
+ strictCodec: {
9751
+ mode: 'strict',
9752
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:sessionId',
9753
+ create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema,
9754
+ jsonSchema: {"type":"string"},
9755
+ },
9756
+ },
9179
9757
  ],
9180
9758
  result: {
9181
9759
  mode: 'strict',
9182
9760
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaQueueStatus',
9183
9761
  create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema,
9184
- jsonSchema: {"type":"object","properties":{"limit":{"type":"number","description":"The configured ceiling; 0 means the deployment sets none."},"active":{"type":"number","description":"Turns answering at the moment of the read, this visitor's own included — the stand cannot tell a place it owes someone from one it owes you."},"full":{"type":"boolean","description":"Whether one more turn fits; false while no ceiling is set."}},"required":["limit","active","full"],"additionalProperties":true},
9762
+ jsonSchema: {"type":"object","properties":{"limit":{"type":"number","description":"The configured ceiling; 0 means the deployment sets none."},"active":{"type":"number","description":"Turns answering at the moment of the read, this visitor's own included — the stand cannot tell a place it owes someone from one it owes you."},"full":{"type":"boolean","description":"Whether one more turn fits; false while no ceiling is set."},"managed":{"type":"boolean","description":"The Host enforces admission and starts queued turns automatically."},"queued":{"type":"number"},"waiting":{"type":"boolean","description":"Present only for the authorized chat whose status was requested."},"position":{"oneOf":[{"type":"null","const":null},{"type":"number"}]},"estimatedWaitMs":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Approximate delay derived from completed turns, or null without a sample."}},"required":["limit","active","full"],"additionalProperties":true},
9185
9763
  },
9186
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1191,"column":3},
9764
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1325,"column":3},
9187
9765
  },
9188
9766
  'qaSurface/readFormAttachment': {
9189
9767
  service: 'qaSurface',
@@ -9258,9 +9836,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9258
9836
  mode: 'strict',
9259
9837
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
9260
9838
  create: _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_result$schema,
9261
- jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"form_revision":{"type":"number"},"field_errors":{"type":"array","items":{"type":"object","properties":{"step_id":{"type":"string"},"item_id":{"type":"string"},"component":{"type":"string","enum":["answer","files"]},"code":{"type":"string"},"message":{"type":"string"}},"required":["step_id","item_id","component","code","message"],"additionalProperties":true}}},"required":["code","message"],"additionalProperties":true}},"required":["ok","error"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"},"media_type":{"type":"string"},"data":{"type":"string"}},"required":["name","media_type","data"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true}]},
9839
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"form_revision":{"type":"number"},"field_errors":{"type":"array","items":{"type":"object","properties":{"step_id":{"type":"string"},"item_id":{"type":"string"},"component":{"type":"string","enum":["answer","files"]},"code":{"type":"string"},"message":{"type":"string"}},"required":["step_id","item_id","component","code","message"],"additionalProperties":true}},"schema_errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"}},"required":["path","code","message"],"additionalProperties":true}}},"required":["code","message"],"additionalProperties":true}},"required":["ok","error"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"},"media_type":{"type":"string"},"data":{"type":"string"}},"required":["name","media_type","data"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true}]},
9262
9840
  },
9263
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2282,"column":9},
9841
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2433,"column":9},
9264
9842
  },
9265
9843
  'qaSurface/readSourceFile': {
9266
9844
  service: 'qaSurface',
@@ -9339,7 +9917,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9339
9917
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
9340
9918
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9341
9919
  },
9342
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2359,"column":9},
9920
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2510,"column":9},
9343
9921
  },
9344
9922
  'qaSurface/readSourceImage': {
9345
9923
  service: 'qaSurface',
@@ -9417,7 +9995,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9417
9995
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceImage_result$schema,
9418
9996
  jsonSchema: {"type":"string"},
9419
9997
  },
9420
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2432,"column":9},
9998
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2583,"column":9},
9421
9999
  },
9422
10000
  'qaSurface/readWorkspaceFile': {
9423
10001
  service: 'qaSurface',
@@ -9479,7 +10057,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9479
10057
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFile_result$schema,
9480
10058
  jsonSchema: {"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"truncated":{"type":"boolean"},"markdown":{"type":"boolean"},"renderableMarkdown":{"type":"boolean"},"mime":{"type":"string"},"text":{"type":"string","description":"Present when the file decoded as text; absent for binary content."},"base64":{"type":"string","description":"Present when the file is not text; base64 of at most the byte cap."}},"required":["path","size","truncated","markdown","renderableMarkdown","mime"],"additionalProperties":true},
9481
10059
  },
9482
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2505,"column":9},
10060
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2656,"column":9},
9483
10061
  },
9484
10062
  'qaSurface/readWorkspaceFileChunk': {
9485
10063
  service: 'qaSurface',
@@ -9573,7 +10151,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9573
10151
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFileChunk_result$schema,
9574
10152
  jsonSchema: {"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"offset":{"type":"number"},"version":{"type":"string"},"base64":{"type":"string"},"done":{"type":"boolean"}},"required":["path","size","offset","version","base64","done"],"additionalProperties":true},
9575
10153
  },
9576
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2532,"column":9},
10154
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2683,"column":9},
9577
10155
  },
9578
10156
  'qaSurface/secureSession': {
9579
10157
  service: 'qaSurface',
@@ -9619,7 +10197,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9619
10197
  create: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
9620
10198
  jsonSchema: {"type":"object","properties":{"chatAccess":{"type":"object","properties":{"sessionId":{"type":"string"},"ownerId":{"type":"string"},"ownerName":{"type":"string"},"actorId":{"type":"string"},"mode":{"type":"string","enum":["read","collaborate","owner"]},"revision":{"type":"number"}},"required":["sessionId","ownerId","ownerName","actorId","mode","revision"],"additionalProperties":true},"sessionId":{"type":"string"},"inheritedThroughSeq":{"type":"number","description":"Last inherited event in an ordinary fork; absent on an original chat."},"enabled":{"type":"boolean"},"agentPresetMatches":{"type":"boolean"},"workspaceMatches":{"type":"boolean"},"modelMatches":{"type":"boolean"},"sandboxModeMatches":{"type":"boolean"},"approvalIsNever":{"type":"boolean"},"permissionPreset":{"type":"string"},"toolPolicyLoaded":{"type":"boolean"},"toolAllowList":{"type":"array","items":{"type":"string"}}},"required":["sessionId","enabled","agentPresetMatches","workspaceMatches","modelMatches","sandboxModeMatches","approvalIsNever","permissionPreset","toolPolicyLoaded","toolAllowList"],"additionalProperties":true},
9621
10199
  },
9622
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1818,"column":9},
10200
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1964,"column":9},
9623
10201
  },
9624
10202
  'qaSurface/skillsCreate': {
9625
10203
  service: 'qaSurface',
@@ -9665,7 +10243,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9665
10243
  create: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
9666
10244
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9667
10245
  },
9668
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2710,"column":3},
10246
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2861,"column":3},
9669
10247
  },
9670
10248
  'qaSurface/skillsGet': {
9671
10249
  service: 'qaSurface',
@@ -9711,7 +10289,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9711
10289
  create: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
9712
10290
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9713
10291
  },
9714
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2704,"column":3},
10292
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2855,"column":3},
9715
10293
  },
9716
10294
  'qaSurface/skillsList': {
9717
10295
  service: 'qaSurface',
@@ -9741,7 +10319,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9741
10319
  create: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
9742
10320
  jsonSchema: {"type":"object","properties":{"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"whenToUse":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"modelInvocable":{"type":"boolean"},"userInvocable":{"type":"boolean"},"allowedTools":{"type":"array","items":{"type":"string"},"description":"Declared tools, in canonical order; unknown ones included."},"unavailableTools":{"type":"array","items":{"type":"string"},"description":"Declared tools the current QA scope cannot use; still stored as declared."},"resourceCount":{"type":"number","description":"Entries in the skill directory besides SKILL.md (references, assets, …)."},"valid":{"type":"boolean"},"diagnostics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["name-required","name-invalid","name-mismatch","description-required","description-too-long","when-to-use-too-long","field-type-invalid","invocation-never","invocation-invalid","invocation-legacy-key","allowed-tools-invalid","tool-name-invalid","tool-unavailable","tools-too-many","file-too-large","frontmatter-missing","skill-file-missing","skill-file-truncated","frontmatter-invalid","unknown-field","resource-unsupported"]},"severity":{"type":"string","enum":["error","warning"]},"field":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The editor field the message belongs to, or null for a file-wide one."},"detail":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The offending value: a tool name, a frontmatter key, a limit."}},"required":["code","severity","field","detail"],"additionalProperties":true}},"updatedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revision":{"type":"string","description":"sha256 of the stored bytes; an update must echo the revision it read."},"adminEdit":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"actorId":{"type":"string","description":"Administrator account id; the owner is told a role, not a colleague."},"at":{"type":"string","description":"ISO timestamp of that write."}},"required":["actorId","at"],"additionalProperties":true}],"description":"The administrator write that produced the stored revision, or null. A record whose revision no longer matches is stale and reports as null: the badge answers \"did an administrator write what I am looking at\", not \"was this skill ever touched by an administrator\"."}},"required":["name","description","whenToUse","modelInvocable","userInvocable","allowedTools","unavailableTools","resourceCount","valid","diagnostics","updatedAt","revision","adminEdit"],"additionalProperties":true}}},"required":["skills"],"additionalProperties":true},
9743
10321
  },
9744
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2698,"column":3},
10322
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2849,"column":3},
9745
10323
  },
9746
10324
  'qaSurface/skillsRemove': {
9747
10325
  service: 'qaSurface',
@@ -9803,7 +10381,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9803
10381
  create: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
9804
10382
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
9805
10383
  },
9806
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2729,"column":3},
10384
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2880,"column":3},
9807
10385
  },
9808
10386
  'qaSurface/skillsTools': {
9809
10387
  service: 'qaSurface',
@@ -9833,7 +10411,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9833
10411
  create: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
9834
10412
  jsonSchema: {"type":"object","properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"available":{"type":"boolean","description":"False when the QA session's own scope cannot use the tool."}},"required":["name","description","available"],"additionalProperties":true}}},"required":["tools"],"additionalProperties":true},
9835
10413
  },
9836
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2755,"column":3},
10414
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2906,"column":3},
9837
10415
  },
9838
10416
  'qaSurface/skillsUpdate': {
9839
10417
  service: 'qaSurface',
@@ -9895,7 +10473,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9895
10473
  create: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
9896
10474
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9897
10475
  },
9898
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2719,"column":3},
10476
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2870,"column":3},
9899
10477
  },
9900
10478
  'qaSurface/skillsValidate': {
9901
10479
  service: 'qaSurface',
@@ -9957,7 +10535,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9957
10535
  create: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
9958
10536
  jsonSchema: {"type":"object","properties":{"preview":{"type":"string"},"diagnostics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["name-required","name-invalid","name-mismatch","description-required","description-too-long","when-to-use-too-long","field-type-invalid","invocation-never","invocation-invalid","invocation-legacy-key","allowed-tools-invalid","tool-name-invalid","tool-unavailable","tools-too-many","file-too-large","frontmatter-missing","skill-file-missing","skill-file-truncated","frontmatter-invalid","unknown-field","resource-unsupported"]},"severity":{"type":"string","enum":["error","warning"]},"field":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The editor field the message belongs to, or null for a file-wide one."},"detail":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The offending value: a tool name, a frontmatter key, a limit."}},"required":["code","severity","field","detail"],"additionalProperties":true}}},"required":["preview","diagnostics"],"additionalProperties":true},
9959
10537
  },
9960
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2742,"column":3},
10538
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2893,"column":3},
9961
10539
  },
9962
10540
  'qaSurface/slashCatalog': {
9963
10541
  service: 'qaSurface',
@@ -10003,7 +10581,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10003
10581
  create: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_result$schema,
10004
10582
  jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean","description":"False while `lockdown.allowSlashCommands` is off."},"entries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["skill","command"]},"name":{"type":"string"},"description":{"type":"string"},"whenToUse":{"type":"string","description":"Skill-only: the native `whenToUse`, rendered as secondary copy."},"modelInvocable":{"type":"boolean","description":"Skill-only: whether the model is also offered this skill."},"inputHint":{"type":"string","description":"Command-only: the advertised argument shape."},"acceptsAttachments":{"type":"boolean","description":"Command-only: whether the executor admits composer attachments."}},"required":["id","kind","name","description"],"additionalProperties":true}},"commandSurface":{"type":"string","enum":["ready","unavailable","inactive"]},"deniedSkills":{"type":"array","items":{"type":"string"},"description":"User-invocable skills of this chat that the deployment or the chat's role withheld from the palette. Naming them is what lets the browser warn about a `/name` typed inside an ordinary prompt — the native gesture path never consults this list, so it is a courtesy, not an authorization."}},"required":["enabled","entries","commandSurface","deniedSkills"],"additionalProperties":true},
10005
10583
  },
10006
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2772,"column":3},
10584
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2923,"column":3},
10007
10585
  },
10008
10586
  'qaSurface/slashExecute': {
10009
10587
  service: 'qaSurface',
@@ -10081,7 +10659,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10081
10659
  create: _yadsh_dsh_qa_surface_qaSurface_slashExecute_result$schema,
10082
10660
  jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"executed"},"commandId":{"type":"string"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"success"},"text":{"type":"string"},"sourceEventSeq":{"type":"number","description":"Earlier authoritative event this result is presented from."}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":true}]}},"required":["kind","commandId","outcome"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string","enum":["slash-disabled","unknown-command","not-allowed","attachments-unsupported","inactive-session"]},"message":{"type":"string","description":"Host-authored detail; the browser renders its own copy for `reason`."}},"required":["kind","reason","message"],"additionalProperties":true}]},
10083
10661
  },
10084
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2787,"column":3},
10662
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2938,"column":3},
10085
10663
  },
10086
10664
  'qaSurface/sources': {
10087
10665
  service: 'qaSurface',
@@ -10127,7 +10705,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10127
10705
  create: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
10128
10706
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
10129
10707
  },
10130
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2111,"column":9},
10708
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2262,"column":9},
10131
10709
  },
10132
10710
  'qaSurface/validateFormStep': {
10133
10711
  service: 'qaSurface',
@@ -10218,9 +10796,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10218
10796
  mode: 'strict',
10219
10797
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
10220
10798
  create: _yadsh_dsh_qa_surface_qaSurface_validateFormStep_result$schema,
10221
- jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"form_revision":{"type":"number"},"field_errors":{"type":"array","items":{"type":"object","properties":{"step_id":{"type":"string"},"item_id":{"type":"string"},"component":{"type":"string","enum":["answer","files"]},"code":{"type":"string"},"message":{"type":"string"}},"required":["step_id","item_id","component","code","message"],"additionalProperties":true}}},"required":["code","message"],"additionalProperties":true}},"required":["ok","error"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"null","const":null}},"required":["ok","value"],"additionalProperties":true}]},
10799
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"form_revision":{"type":"number"},"field_errors":{"type":"array","items":{"type":"object","properties":{"step_id":{"type":"string"},"item_id":{"type":"string"},"component":{"type":"string","enum":["answer","files"]},"code":{"type":"string"},"message":{"type":"string"}},"required":["step_id","item_id","component","code","message"],"additionalProperties":true}},"schema_errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"}},"required":["path","code","message"],"additionalProperties":true}}},"required":["code","message"],"additionalProperties":true}},"required":["ok","error"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"null","const":null}},"required":["ok","value"],"additionalProperties":true}]},
10222
10800
  },
10223
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2249,"column":9},
10801
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2400,"column":9},
10224
10802
  },
10225
10803
  },
10226
10804
  }, z)