@yadsh/dsh-qa-surface 0.19.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 (216) hide show
  1. package/README.md +181 -0
  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/chat-sharing/transport.js +6 -2
  21. package/lib/chat-sharing/transport.js.map +1 -1
  22. package/lib/client/QaAccountsController.js +43 -8
  23. package/lib/client/QaAccountsController.js.map +1 -1
  24. package/lib/client/QaSessionController.js +55 -23
  25. package/lib/client/QaSessionController.js.map +1 -1
  26. package/lib/client/QaSurface.js +61 -3
  27. package/lib/client/QaSurface.js.map +1 -1
  28. package/lib/client/admin/ModelPolicyEditor.js +28 -2
  29. package/lib/client/admin/ModelPolicyEditor.js.map +1 -1
  30. package/lib/client/admin/RoleEditor.js +18 -1
  31. package/lib/client/admin/RoleEditor.js.map +1 -1
  32. package/lib/client/admin/pages/SkillFiles.js +1 -1
  33. package/lib/client/admin/pages/SkillFiles.js.map +1 -1
  34. package/lib/client/admin/pages/Users.js +36 -16
  35. package/lib/client/admin/pages/Users.js.map +1 -1
  36. package/lib/client/admin/styles.js +3 -0
  37. package/lib/client/admin/styles.js.map +1 -1
  38. package/lib/client/code-source-styles.js +12 -0
  39. package/lib/client/code-source-styles.js.map +1 -0
  40. package/lib/client/components/QaChangelog.js +69 -0
  41. package/lib/client/components/QaChangelog.js.map +1 -1
  42. package/lib/client/components/QaChatActions.js +36 -14
  43. package/lib/client/components/QaChatActions.js.map +1 -1
  44. package/lib/client/components/QaCodeSourcePicker.js +18 -0
  45. package/lib/client/components/QaCodeSourcePicker.js.map +1 -0
  46. package/lib/client/components/QaComposer.js +11 -12
  47. package/lib/client/components/QaComposer.js.map +1 -1
  48. package/lib/client/components/QaComposerSettings.js +202 -0
  49. package/lib/client/components/QaComposerSettings.js.map +1 -0
  50. package/lib/client/components/QaFormItem.js +74 -38
  51. package/lib/client/components/QaFormItem.js.map +1 -1
  52. package/lib/client/components/QaHistoryCatalog.js +261 -0
  53. package/lib/client/components/QaHistoryCatalog.js.map +1 -0
  54. package/lib/client/components/QaInputForm.js +115 -32
  55. package/lib/client/components/QaInputForm.js.map +1 -1
  56. package/lib/client/components/QaModelSelector.js +21 -0
  57. package/lib/client/components/QaModelSelector.js.map +1 -0
  58. package/lib/client/components/QaSidebar.js +25 -24
  59. package/lib/client/components/QaSidebar.js.map +1 -1
  60. package/lib/client/composer-settings-styles.js +21 -0
  61. package/lib/client/composer-settings-styles.js.map +1 -0
  62. package/lib/client/forms-styles.js +35 -11
  63. package/lib/client/forms-styles.js.map +1 -1
  64. package/lib/client/history-organization-styles.js +31 -0
  65. package/lib/client/history-organization-styles.js.map +1 -0
  66. package/lib/client/history-organization.js +155 -0
  67. package/lib/client/history-organization.js.map +1 -0
  68. package/lib/client/index.js +13 -4
  69. package/lib/client/index.js.map +1 -1
  70. package/lib/client/settings/sections/attachments.js +7 -1
  71. package/lib/client/settings/sections/attachments.js.map +1 -1
  72. package/lib/client/settings/sections/session.js +1 -1
  73. package/lib/client/settings/sections/session.js.map +1 -1
  74. package/lib/client/styles.js +18 -1
  75. package/lib/client/styles.js.map +1 -1
  76. package/lib/client/types.js.map +1 -1
  77. package/lib/client/use-chat-code-source.js +156 -0
  78. package/lib/client/use-chat-code-source.js.map +1 -0
  79. package/lib/client/use-history-organization.js +48 -0
  80. package/lib/client/use-history-organization.js.map +1 -0
  81. package/lib/client/use-model-selection.js +96 -0
  82. package/lib/client/use-model-selection.js.map +1 -0
  83. package/lib/client/use-qa-file-drop.js +81 -0
  84. package/lib/client/use-qa-file-drop.js.map +1 -0
  85. package/lib/client/user-settings/IntegrationTokensPage.js +42 -6
  86. package/lib/client/user-settings/IntegrationTokensPage.js.map +1 -1
  87. package/lib/client/user-settings/UserSettingsDialog.js +1 -1
  88. package/lib/client/user-settings/UserSettingsDialog.js.map +1 -1
  89. package/lib/client.js +123 -25
  90. package/lib/client.js.map +1 -1
  91. package/lib/code-source-selection.js +102 -0
  92. package/lib/code-source-selection.js.map +1 -0
  93. package/lib/config-resolvers/accounts.js +26 -1
  94. package/lib/config-resolvers/accounts.js.map +1 -1
  95. package/lib/config-resolvers/defaults.js +5 -0
  96. package/lib/config-resolvers/defaults.js.map +1 -1
  97. package/lib/config-resolvers/integration.js +8 -1
  98. package/lib/config-resolvers/integration.js.map +1 -1
  99. package/lib/config-resolvers/session.js +2 -0
  100. package/lib/config-resolvers/session.js.map +1 -1
  101. package/lib/config.js +51 -3
  102. package/lib/config.js.map +1 -1
  103. package/lib/enforcement/skill-policy.js +37 -2
  104. package/lib/enforcement/skill-policy.js.map +1 -1
  105. package/lib/forms/errors.js +6 -1
  106. package/lib/forms/errors.js.map +1 -1
  107. package/lib/forms/gate.js +28 -2
  108. package/lib/forms/gate.js.map +1 -1
  109. package/lib/forms/schema-errors.js +47 -0
  110. package/lib/forms/schema-errors.js.map +1 -0
  111. package/lib/forms/schema.js +29 -20
  112. package/lib/forms/schema.js.map +1 -1
  113. package/lib/index.js +148 -9
  114. package/lib/index.js.map +1 -1
  115. package/lib/integration/http.js +9 -10
  116. package/lib/integration/http.js.map +1 -1
  117. package/lib/integration/service.js +9 -0
  118. package/lib/integration/service.js.map +1 -1
  119. package/lib/personal-skills/provider.js +9 -1
  120. package/lib/personal-skills/provider.js.map +1 -1
  121. package/lib/personal-skills/service.js +4 -0
  122. package/lib/personal-skills/service.js.map +1 -1
  123. package/lib/personal-skills/shared-seed.js +65 -0
  124. package/lib/personal-skills/shared-seed.js.map +1 -0
  125. package/lib/prompt-notes.js +19 -1
  126. package/lib/prompt-notes.js.map +1 -1
  127. package/lib/provenance/collector.js +1 -0
  128. package/lib/provenance/collector.js.map +1 -1
  129. package/lib/provenance/extractors.js +6 -1
  130. package/lib/provenance/extractors.js.map +1 -1
  131. package/lib/qa-tools/catalog.js +18 -1
  132. package/lib/qa-tools/catalog.js.map +1 -1
  133. package/lib/qa-tools/code-files.js +207 -0
  134. package/lib/qa-tools/code-files.js.map +1 -0
  135. package/lib/qa-tools/code-tools.js +158 -0
  136. package/lib/qa-tools/code-tools.js.map +1 -0
  137. package/lib/qa-tools/docs-tools.js +49 -12
  138. package/lib/qa-tools/docs-tools.js.map +1 -1
  139. package/lib/qa-tools/index.js +4 -0
  140. package/lib/qa-tools/index.js.map +1 -1
  141. package/lib/qa-tools/request-user-form.js +26 -6
  142. package/lib/qa-tools/request-user-form.js.map +1 -1
  143. package/lib/request-scheduler.js +32 -5
  144. package/lib/request-scheduler.js.map +1 -1
  145. package/lib/resolve-config.js +9 -1
  146. package/lib/resolve-config.js.map +1 -1
  147. package/lib/secure-session.js +16 -4
  148. package/lib/secure-session.js.map +1 -1
  149. package/lib/session-model.js +43 -1
  150. package/lib/session-model.js.map +1 -1
  151. package/lib/shared/history-folder.js +18 -0
  152. package/lib/shared/history-folder.js.map +1 -0
  153. package/lib/typert.host.js +749 -162
  154. package/lib/typert.remote-client.d.ts +19 -7
  155. package/lib/typert.remote-client.js +684 -153
  156. package/lib/types/access/model-choices.d.ts +16 -0
  157. package/lib/types/access/model-policy.d.ts +13 -7
  158. package/lib/types/access/model.d.ts +9 -0
  159. package/lib/types/access/queue-policy.d.ts +30 -0
  160. package/lib/types/access/service.d.ts +27 -0
  161. package/lib/types/account-remotes.d.ts +5 -4
  162. package/lib/types/accounts/database.d.ts +5 -0
  163. package/lib/types/accounts/store.d.ts +6 -0
  164. package/lib/types/chat-sharing/transport.d.ts +1 -1
  165. package/lib/types/client/QaAccountsController.d.ts +3 -1
  166. package/lib/types/client/QaSessionController.d.ts +19 -5
  167. package/lib/types/client/QaSurface.d.ts +2 -0
  168. package/lib/types/client/admin/ModelPolicyEditor.d.ts +2 -0
  169. package/lib/types/client/code-source-styles.d.ts +2 -0
  170. package/lib/types/client/components/QaChatActions.d.ts +3 -1
  171. package/lib/types/client/components/QaCodeSourcePicker.d.ts +9 -0
  172. package/lib/types/client/components/QaComposer.d.ts +2 -0
  173. package/lib/types/client/components/QaComposerSettings.d.ts +16 -0
  174. package/lib/types/client/components/QaFormItem.d.ts +4 -2
  175. package/lib/types/client/components/QaHistoryCatalog.d.ts +19 -0
  176. package/lib/types/client/components/QaInputForm.d.ts +3 -2
  177. package/lib/types/client/components/QaModelSelector.d.ts +4 -0
  178. package/lib/types/client/components/QaSidebar.d.ts +3 -0
  179. package/lib/types/client/composer-settings-styles.d.ts +2 -0
  180. package/lib/types/client/forms-styles.d.ts +1 -1
  181. package/lib/types/client/history-organization-styles.d.ts +3 -0
  182. package/lib/types/client/history-organization.d.ts +38 -0
  183. package/lib/types/client/types.d.ts +12 -4
  184. package/lib/types/client/use-chat-code-source.d.ts +20 -0
  185. package/lib/types/client/use-history-organization.d.ts +8 -0
  186. package/lib/types/client/use-model-selection.d.ts +24 -0
  187. package/lib/types/client/use-qa-file-drop.d.ts +12 -0
  188. package/lib/types/code-source-selection.d.ts +28 -0
  189. package/lib/types/code-sources.js +2 -0
  190. package/lib/types/code-sources.js.map +1 -0
  191. package/lib/types/config-resolvers/integration.d.ts +7 -1
  192. package/lib/types/forms/errors.d.ts +3 -2
  193. package/lib/types/forms/gate.d.ts +4 -2
  194. package/lib/types/forms/schema-errors.d.ts +7 -0
  195. package/lib/types/forms/types.d.ts +14 -0
  196. package/lib/types/index.d.ts +38 -5
  197. package/lib/types/integration/http.d.ts +1 -3
  198. package/lib/types/integration/service.d.ts +2 -0
  199. package/lib/types/personal-skills/shared-seed.d.ts +12 -0
  200. package/lib/types/prompt-notes.d.ts +5 -1
  201. package/lib/types/qa-tools/catalog.d.ts +3 -2
  202. package/lib/types/qa-tools/code-files.d.ts +59 -0
  203. package/lib/types/qa-tools/code-tools.d.ts +7 -0
  204. package/lib/types/qa-tools/docs-tools.d.ts +4 -0
  205. package/lib/types/qa-tools/index.d.ts +2 -0
  206. package/lib/types/request-scheduler.d.ts +21 -2
  207. package/lib/types/session-model.d.ts +11 -2
  208. package/lib/types/shared/history-folder.d.ts +4 -0
  209. package/lib/types/types/accounts.d.ts +11 -0
  210. package/lib/types/types/capability.d.ts +31 -4
  211. package/lib/types/types/code-sources.d.ts +12 -0
  212. package/lib/types/types/config.d.ts +20 -0
  213. package/lib/types/types.d.ts +1 -0
  214. package/lib/user-workspace.js +7 -4
  215. package/lib/user-workspace.js.map +1 -1
  216. package/package.json +6 -5
@@ -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({
@@ -3013,9 +3237,9 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema = (
3013
3237
  }).readonly(),
3014
3238
  })]))
3015
3239
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value
3016
- const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value ??= z.union([z.undefined(), z.string()]))
3240
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value ??= z.string())
3017
3241
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value
3018
- const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
3242
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value ??= z.string())
3019
3243
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value
3020
3244
  const _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value ??= z.object({
3021
3245
  'limit': z.number().readonly().describe('The configured ceiling; 0 means the deployment sets none.'),
@@ -3048,6 +3272,11 @@ const _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_result$schema = () => (
3048
3272
  'component': z.union([z.literal("answer"), z.literal("files")]),
3049
3273
  'code': z.string(),
3050
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(),
3051
3280
  })).optional(),
3052
3281
  }),
3053
3282
  }), z.object({
@@ -3571,6 +3800,11 @@ const _yadsh_dsh_qa_surface_qaSurface_validateFormStep_result$schema = () => (_y
3571
3800
  'component': z.union([z.literal("answer"), z.literal("files")]),
3572
3801
  'code': z.string(),
3573
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(),
3574
3808
  })).optional(),
3575
3809
  }),
3576
3810
  }), z.object({
@@ -3602,7 +3836,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1_strict$sch
3602
3836
  'provider': z.string().readonly(),
3603
3837
  'model': z.string().readonly(),
3604
3838
  'reasoningEffort': z.string().readonly().optional(),
3605
- }).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.'),
3606
3846
  'ui': z.strictObject({
3607
3847
  'icon': z.string().readonly().optional(),
3608
3848
  'accent': z.string().readonly().optional(),
@@ -3639,6 +3879,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2_strict$
3639
3879
  'model': z.string().readonly(),
3640
3880
  'reasoningEffort': z.string().readonly().optional(),
3641
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.'),
3642
3888
  }))
3643
3889
  let _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0_strict$schema$value
3644
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())
@@ -3689,12 +3935,26 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2_strict$sch
3689
3935
  'provider': z.string().readonly(),
3690
3936
  'model': z.string().readonly(),
3691
3937
  'reasoningEffort': z.string().readonly().optional(),
3692
- }).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.'),
3693
3945
  'ui': z.strictObject({
3694
3946
  'icon': z.string().readonly().optional(),
3695
3947
  'accent': z.string().readonly().optional(),
3696
3948
  }).readonly().optional(),
3697
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())
3698
3958
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0_strict$schema$value
3699
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())
3700
3960
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_1_strict$schema$value
@@ -3709,6 +3969,10 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0_stric
3709
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())
3710
3970
  let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema$value
3711
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(),
3712
3976
  'label': z.string().readonly().optional().describe('A note the operator\'s list shows; empty becomes a generic label.'),
3713
3977
  'scopes': z.array(z.string()).readonly().optional().describe('Requested scopes; unknown ones are dropped, explicit empty grants none.'),
3714
3978
  'allowClarifications': z.boolean().readonly().optional().describe('Whether API turns may ask clarifying questions; omitted preserves existing behavior.'),
@@ -3746,6 +4010,15 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parame
3746
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())
3747
4011
  let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema$value
3748
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
+ })]))
3749
4022
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0_strict$schema$value
3750
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())
3751
4024
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_1_strict$schema$value
@@ -4022,6 +4295,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2_strict$schema
4022
4295
  'model': z.string().readonly(),
4023
4296
  'reasoningEffort': z.string().readonly().optional(),
4024
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.'),
4025
4304
  })]).readonly().optional(),
4026
4305
  }))
4027
4306
  let _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0_strict$schema$value
@@ -4108,6 +4387,10 @@ let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_0_strict$schema$value
4108
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())
4109
4388
  let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema$value
4110
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())
4111
4394
  let _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0_strict$schema$value
4112
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())
4113
4396
  let _yadsh_dsh_qa_surface_qaSurface_chatFollow_parameter_0_strict$schema$value
@@ -4195,6 +4478,12 @@ let _yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1_strict$schema$value
4195
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({
4196
4479
  'query': z.string().readonly(),
4197
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()]))
4198
4487
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0_strict$schema$value
4199
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())
4200
4489
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_1_strict$schema$value
@@ -4338,9 +4627,9 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_parameter_3_stric
4338
4627
  'startColumn': z.number().readonly().optional(),
4339
4628
  })]))
4340
4629
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema$value
4341
- const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0_strict$schema$value ??= z.union([z.undefined(), z.string()]))
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())
4342
4631
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema$value
4343
- const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
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())
4344
4633
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0_strict$schema$value
4345
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())
4346
4635
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_1_strict$schema$value
@@ -4513,9 +4802,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4513
4802
  mode: 'strict',
4514
4803
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
4515
4804
  create: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
4516
- 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},
4517
4806
  },
4518
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1293,"column":9},
4807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1469,"column":9},
4519
4808
  },
4520
4809
  'qaSurface/accessCreateSubrole': {
4521
4810
  service: 'qaSurface',
@@ -4544,13 +4833,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4544
4833
  mode: 'strict',
4545
4834
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4546
4835
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema,
4547
- 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},
4548
4837
  },
4549
4838
  strictCodec: {
4550
4839
  mode: 'strict',
4551
4840
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4552
4841
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1_strict$schema,
4553
- 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},
4554
4843
  },
4555
4844
  },
4556
4845
  ],
@@ -4558,9 +4847,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4558
4847
  mode: 'strict',
4559
4848
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4560
4849
  create: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
4561
- 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},
4562
4851
  },
4563
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1304,"column":9},
4852
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1480,"column":9},
4564
4853
  },
4565
4854
  'qaSurface/accessCurrent': {
4566
4855
  service: 'qaSurface',
@@ -4588,9 +4877,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4588
4877
  mode: 'strict',
4589
4878
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
4590
4879
  create: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
4591
- 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},
4592
4881
  },
4593
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1278,"column":3},
4882
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1454,"column":3},
4594
4883
  },
4595
4884
  'qaSurface/accessDeleteSubrole': {
4596
4885
  service: 'qaSurface',
@@ -4651,7 +4940,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4651
4940
  create: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
4652
4941
  jsonSchema: {"type":"object","properties":{"deleted":{"type":"boolean"}},"required":["deleted"],"additionalProperties":true},
4653
4942
  },
4654
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1335,"column":3},
4943
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1531,"column":3},
4655
4944
  },
4656
4945
  'qaSurface/accessModelCatalog': {
4657
4946
  service: 'qaSurface',
@@ -4681,7 +4970,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4681
4970
  create: _yadsh_dsh_qa_surface_qaSurface_accessModelCatalog_result$schema,
4682
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}},
4683
4972
  },
4684
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1326,"column":9},
4973
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1502,"column":9},
4685
4974
  },
4686
4975
  'qaSurface/accessSession': {
4687
4976
  service: 'qaSurface',
@@ -4725,9 +5014,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4725
5014
  mode: 'strict',
4726
5015
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
4727
5016
  create: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
4728
- 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},
4729
5018
  },
4730
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1284,"column":3},
5019
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1460,"column":3},
4731
5020
  },
4732
5021
  'qaSurface/accessSkillActivations': {
4733
5022
  service: 'qaSurface',
@@ -4773,7 +5062,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4773
5062
  create: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
4774
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}},
4775
5064
  },
4776
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1380,"column":3},
5065
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1576,"column":3},
4777
5066
  },
4778
5067
  'qaSurface/accessUpdateAssignment': {
4779
5068
  service: 'qaSurface',
@@ -4818,13 +5107,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4818
5107
  mode: 'strict',
4819
5108
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4820
5109
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema,
4821
- 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},
4822
5111
  },
4823
5112
  strictCodec: {
4824
5113
  mode: 'strict',
4825
5114
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4826
5115
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2_strict$schema,
4827
- 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},
4828
5117
  },
4829
5118
  },
4830
5119
  ],
@@ -4832,9 +5121,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4832
5121
  mode: 'strict',
4833
5122
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4834
5123
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
4835
- 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},
4836
5125
  },
4837
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1357,"column":9},
5126
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1553,"column":9},
4838
5127
  },
4839
5128
  'qaSurface/accessUpdateCommon': {
4840
5129
  service: 'qaSurface',
@@ -4879,7 +5168,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4879
5168
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
4880
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},
4881
5170
  },
4882
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1347,"column":3},
5171
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1543,"column":3},
4883
5172
  },
4884
5173
  'qaSurface/accessUpdateSkillOverride': {
4885
5174
  service: 'qaSurface',
@@ -4925,7 +5214,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4925
5214
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
4926
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}},
4927
5216
  },
4928
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1369,"column":3},
5217
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1565,"column":3},
4929
5218
  },
4930
5219
  'qaSurface/accessUpdateSubrole': {
4931
5220
  service: 'qaSurface',
@@ -4970,13 +5259,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4970
5259
  mode: 'strict',
4971
5260
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4972
5261
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema,
4973
- 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},
4974
5263
  },
4975
5264
  strictCodec: {
4976
5265
  mode: 'strict',
4977
5266
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4978
5267
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2_strict$schema,
4979
- 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},
4980
5269
  },
4981
5270
  },
4982
5271
  ],
@@ -4984,9 +5273,86 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
4984
5273
  mode: 'strict',
4985
5274
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4986
5275
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
4987
- 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},
4988
5277
  },
4989
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1314,"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},
4990
5356
  },
4991
5357
  'qaSurface/accountsChangePassword': {
4992
5358
  service: 'qaSurface',
@@ -5048,7 +5414,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5048
5414
  create: _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_result$schema,
5049
5415
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5050
5416
  },
5051
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1030,"column":3},
5417
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1134,"column":3},
5052
5418
  },
5053
5419
  'qaSurface/accountsClaimSessions': {
5054
5420
  service: 'qaSurface',
@@ -5094,7 +5460,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5094
5460
  create: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
5095
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},
5096
5462
  },
5097
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1064,"column":3},
5463
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1168,"column":3},
5098
5464
  },
5099
5465
  'qaSurface/accountsCreateServiceToken': {
5100
5466
  service: 'qaSurface',
@@ -5124,13 +5490,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5124
5490
  mode: 'strict',
5125
5491
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5126
5492
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1$schema,
5127
- 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},
5128
5494
  },
5129
5495
  strictCodec: {
5130
5496
  mode: 'strict',
5131
5497
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5132
5498
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema,
5133
- 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},
5134
5500
  },
5135
5501
  },
5136
5502
  ],
@@ -5138,9 +5504,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5138
5504
  mode: 'strict',
5139
5505
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaIssuedServiceToken',
5140
5506
  create: _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_result$schema,
5141
- 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},
5142
5508
  },
5143
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1151,"column":3},
5509
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1255,"column":3},
5144
5510
  },
5145
5511
  'qaSurface/accountsListOwnership': {
5146
5512
  service: 'qaSurface',
@@ -5170,7 +5536,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5170
5536
  create: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
5171
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},
5172
5538
  },
5173
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1085,"column":3},
5539
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1189,"column":3},
5174
5540
  },
5175
5541
  'qaSurface/accountsListServiceTokens': {
5176
5542
  service: 'qaSurface',
@@ -5198,9 +5564,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5198
5564
  mode: 'strict',
5199
5565
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListServiceTokens:result',
5200
5566
  create: _yadsh_dsh_qa_surface_qaSurface_accountsListServiceTokens_result$schema,
5201
- 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},
5202
5568
  },
5203
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1138,"column":3},
5569
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1242,"column":3},
5204
5570
  },
5205
5571
  'qaSurface/accountsLogin': {
5206
5572
  service: 'qaSurface',
@@ -5245,7 +5611,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5245
5611
  create: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
5246
5612
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5247
5613
  },
5248
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1005,"column":3},
5614
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1109,"column":3},
5249
5615
  },
5250
5616
  'qaSurface/accountsOidcComplete': {
5251
5617
  service: 'qaSurface',
@@ -5290,7 +5656,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5290
5656
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcComplete_result$schema,
5291
5657
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5292
5658
  },
5293
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1016,"column":3},
5659
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1120,"column":3},
5294
5660
  },
5295
5661
  'qaSurface/accountsOidcLogout': {
5296
5662
  service: 'qaSurface',
@@ -5319,7 +5685,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5319
5685
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcLogout_result$schema,
5320
5686
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5321
5687
  },
5322
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1024,"column":3},
5688
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1128,"column":3},
5323
5689
  },
5324
5690
  'qaSurface/accountsOidcStart': {
5325
5691
  service: 'qaSurface',
@@ -5332,7 +5698,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5332
5698
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcStart_result$schema,
5333
5699
  jsonSchema: {"type":"object","properties":{"authorizationUrl":{"type":"string"},"completionKey":{"type":"string"}},"required":["authorizationUrl","completionKey"],"additionalProperties":true},
5334
5700
  },
5335
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1010,"column":3},
5701
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1114,"column":3},
5336
5702
  },
5337
5703
  'qaSurface/accountsOwnedSessions': {
5338
5704
  service: 'qaSurface',
@@ -5358,11 +5724,11 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5358
5724
  ],
5359
5725
  result: {
5360
5726
  mode: 'strict',
5361
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
5727
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaOwnedSessionsResult',
5362
5728
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
5363
- 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',
5364
5730
  },
5365
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1075,"column":3},
5731
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1179,"column":3},
5366
5732
  },
5367
5733
  'qaSurface/accountsRegister': {
5368
5734
  service: 'qaSurface',
@@ -5408,7 +5774,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5408
5774
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
5409
5775
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5410
5776
  },
5411
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1000,"column":3},
5777
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1104,"column":3},
5412
5778
  },
5413
5779
  'qaSurface/accountsRequestPasswordReset': {
5414
5780
  service: 'qaSurface',
@@ -5438,7 +5804,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5438
5804
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRequestPasswordReset_result$schema,
5439
5805
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
5440
5806
  },
5441
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1048,"column":3},
5807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1152,"column":3},
5442
5808
  },
5443
5809
  'qaSurface/accountsRevokeServiceToken': {
5444
5810
  service: 'qaSurface',
@@ -5484,7 +5850,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5484
5850
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRevokeServiceToken_result$schema,
5485
5851
  jsonSchema: {"type":"object","properties":{"revoked":{"type":"boolean"}},"required":["revoked"],"additionalProperties":true},
5486
5852
  },
5487
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1164,"column":3},
5853
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1268,"column":3},
5488
5854
  },
5489
5855
  'qaSurface/accountsSetServiceTokenClarifications': {
5490
5856
  service: 'qaSurface',
@@ -5545,7 +5911,68 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5545
5911
  create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result$schema,
5546
5912
  jsonSchema: {"type":"object","properties":{"updated":{"type":"boolean"}},"required":["updated"],"additionalProperties":true},
5547
5913
  },
5548
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1172,"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},
5549
5976
  },
5550
5977
  'qaSurface/accountsUpdateNotifications': {
5551
5978
  service: 'qaSurface',
@@ -5591,7 +6018,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5591
6018
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_result$schema,
5592
6019
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5593
6020
  },
5594
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1125,"column":3},
6021
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1229,"column":3},
5595
6022
  },
5596
6023
  'qaSurface/accountsUpdateProfile': {
5597
6024
  service: 'qaSurface',
@@ -5637,7 +6064,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5637
6064
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
5638
6065
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5639
6066
  },
5640
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1098,"column":3},
6067
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1202,"column":3},
5641
6068
  },
5642
6069
  'qaSurface/accountsUpdateStarters': {
5643
6070
  service: 'qaSurface',
@@ -5683,7 +6110,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5683
6110
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
5684
6111
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5685
6112
  },
5686
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1111,"column":3},
6113
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1215,"column":3},
5687
6114
  },
5688
6115
  'qaSurface/accountsWhoami': {
5689
6116
  service: 'qaSurface',
@@ -5712,7 +6139,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5712
6139
  create: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
5713
6140
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5714
6141
  },
5715
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1054,"column":3},
6142
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1158,"column":3},
5716
6143
  },
5717
6144
  'qaSurface/adminAudit': {
5718
6145
  service: 'qaSurface',
@@ -5789,7 +6216,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5789
6216
  create: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
5790
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},
5791
6218
  },
5792
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1755,"column":3},
6219
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1951,"column":3},
5793
6220
  },
5794
6221
  'qaSurface/adminConversation': {
5795
6222
  service: 'qaSurface',
@@ -5835,7 +6262,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5835
6262
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
5836
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},
5837
6264
  },
5838
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1632,"column":3},
6265
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1828,"column":3},
5839
6266
  },
5840
6267
  'qaSurface/adminConversations': {
5841
6268
  service: 'qaSurface',
@@ -5913,7 +6340,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5913
6340
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
5914
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},
5915
6342
  },
5916
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1612,"column":3},
6343
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1808,"column":3},
5917
6344
  },
5918
6345
  'qaSurface/adminDeleteConversation': {
5919
6346
  service: 'qaSurface',
@@ -5959,7 +6386,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
5959
6386
  create: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_result$schema,
5960
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},
5961
6388
  },
5962
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1647,"column":3},
6389
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1843,"column":3},
5963
6390
  },
5964
6391
  'qaSurface/adminFeedback': {
5965
6392
  service: 'qaSurface',
@@ -6036,7 +6463,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6036
6463
  create: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
6037
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},
6038
6465
  },
6039
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1660,"column":3},
6466
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1856,"column":3},
6040
6467
  },
6041
6468
  'qaSurface/adminHarvestFeedback': {
6042
6469
  service: 'qaSurface',
@@ -6082,7 +6509,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6082
6509
  create: _yadsh_dsh_qa_surface_qaSurface_adminHarvestFeedback_result$schema,
6083
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},
6084
6511
  },
6085
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1697,"column":3},
6512
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1893,"column":3},
6086
6513
  },
6087
6514
  'qaSurface/adminMemoryCorrect': {
6088
6515
  service: 'qaSurface',
@@ -6160,7 +6587,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6160
6587
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryCorrect_result$schema,
6161
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},
6162
6589
  },
6163
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1506,"column":3},
6590
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1702,"column":3},
6164
6591
  },
6165
6592
  'qaSurface/adminMemoryForget': {
6166
6593
  service: 'qaSurface',
@@ -6222,7 +6649,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6222
6649
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryForget_result$schema,
6223
6650
  jsonSchema: {"type":"number"},
6224
6651
  },
6225
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1519,"column":3},
6652
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1715,"column":3},
6226
6653
  },
6227
6654
  'qaSurface/adminMemoryRecords': {
6228
6655
  service: 'qaSurface',
@@ -6316,7 +6743,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6316
6743
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryRecords_result$schema,
6317
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},
6318
6745
  },
6319
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1492,"column":3},
6746
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1688,"column":3},
6320
6747
  },
6321
6748
  'qaSurface/adminMemoryScopes': {
6322
6749
  service: 'qaSurface',
@@ -6346,7 +6773,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6346
6773
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryScopes_result$schema,
6347
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}},
6348
6775
  },
6349
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1486,"column":3},
6776
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1682,"column":3},
6350
6777
  },
6351
6778
  'qaSurface/adminMemoryWipe': {
6352
6779
  service: 'qaSurface',
@@ -6408,7 +6835,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6408
6835
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryWipe_result$schema,
6409
6836
  jsonSchema: {"type":"number"},
6410
6837
  },
6411
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1537,"column":3},
6838
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1733,"column":3},
6412
6839
  },
6413
6840
  'qaSurface/adminMetrics': {
6414
6841
  service: 'qaSurface',
@@ -6438,7 +6865,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6438
6865
  create: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
6439
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},
6440
6867
  },
6441
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1748,"column":3},
6868
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1944,"column":3},
6442
6869
  },
6443
6870
  'qaSurface/adminOverview': {
6444
6871
  service: 'qaSurface',
@@ -6469,7 +6896,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6469
6896
  create: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
6470
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},
6471
6898
  },
6472
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1556,"column":3},
6899
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1752,"column":3},
6473
6900
  },
6474
6901
  'qaSurface/adminPasswordResetRequests': {
6475
6902
  service: 'qaSurface',
@@ -6498,7 +6925,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6498
6925
  create: _yadsh_dsh_qa_surface_qaSurface_adminPasswordResetRequests_result$schema,
6499
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}},
6500
6927
  },
6501
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1592,"column":3},
6928
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1788,"column":3},
6502
6929
  },
6503
6930
  'qaSurface/adminQueueConversation': {
6504
6931
  service: 'qaSurface',
@@ -6560,7 +6987,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6560
6987
  create: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
6561
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},
6562
6989
  },
6563
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1725,"column":3},
6990
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1921,"column":3},
6564
6991
  },
6565
6992
  'qaSurface/adminRateMessage': {
6566
6993
  service: 'qaSurface',
@@ -6638,7 +7065,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6638
7065
  create: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
6639
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},
6640
7067
  },
6641
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1681,"column":3},
7068
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1877,"column":3},
6642
7069
  },
6643
7070
  'qaSurface/adminResetPassword': {
6644
7071
  service: 'qaSurface',
@@ -6697,9 +7124,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6697
7124
  mode: 'strict',
6698
7125
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
6699
7126
  create: _yadsh_dsh_qa_surface_qaSurface_adminResetPassword_result$schema,
6700
- 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},
6701
7128
  },
6702
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1601,"column":3},
7129
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1797,"column":3},
6703
7130
  },
6704
7131
  'qaSurface/adminReviewQueue': {
6705
7132
  service: 'qaSurface',
@@ -6761,7 +7188,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6761
7188
  create: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
6762
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},
6763
7190
  },
6764
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1707,"column":3},
7191
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1903,"column":3},
6765
7192
  },
6766
7193
  'qaSurface/adminSaveReview': {
6767
7194
  service: 'qaSurface',
@@ -6806,7 +7233,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6806
7233
  create: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
6807
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},
6808
7235
  },
6809
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1740,"column":3},
7236
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1936,"column":3},
6810
7237
  },
6811
7238
  'qaSurface/adminSkill': {
6812
7239
  service: 'qaSurface',
@@ -6868,7 +7295,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6868
7295
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkill_result$schema,
6869
7296
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
6870
7297
  },
6871
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1410,"column":3},
7298
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1606,"column":3},
6872
7299
  },
6873
7300
  'qaSurface/adminSkillDelete': {
6874
7301
  service: 'qaSurface',
@@ -6946,7 +7373,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6946
7373
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillDelete_result$schema,
6947
7374
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
6948
7375
  },
6949
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1438,"column":3},
7376
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1634,"column":3},
6950
7377
  },
6951
7378
  'qaSurface/adminSkills': {
6952
7379
  service: 'qaSurface',
@@ -6992,7 +7419,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
6992
7419
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkills_result$schema,
6993
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},
6994
7421
  },
6995
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1401,"column":3},
7422
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1597,"column":3},
6996
7423
  },
6997
7424
  'qaSurface/adminSkillSave': {
6998
7425
  service: 'qaSurface',
@@ -7070,7 +7497,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7070
7497
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillSave_result$schema,
7071
7498
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7072
7499
  },
7073
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1425,"column":3},
7500
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1621,"column":3},
7074
7501
  },
7075
7502
  'qaSurface/adminSkillTools': {
7076
7503
  service: 'qaSurface',
@@ -7116,7 +7543,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7116
7543
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillTools_result$schema,
7117
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},
7118
7545
  },
7119
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1464,"column":9},
7546
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1660,"column":9},
7120
7547
  },
7121
7548
  'qaSurface/adminSkillValidate': {
7122
7549
  service: 'qaSurface',
@@ -7194,7 +7621,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7194
7621
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillValidate_result$schema,
7195
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},
7196
7623
  },
7197
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1451,"column":3},
7624
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1647,"column":3},
7198
7625
  },
7199
7626
  'qaSurface/adminUpdateUser': {
7200
7627
  service: 'qaSurface',
@@ -7240,13 +7667,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7240
7667
  mode: 'strict',
7241
7668
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7242
7669
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema,
7243
- 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},
7244
7671
  },
7245
7672
  strictCodec: {
7246
7673
  mode: 'strict',
7247
7674
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7248
7675
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2_strict$schema,
7249
- 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},
7250
7677
  },
7251
7678
  },
7252
7679
  ],
@@ -7254,9 +7681,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7254
7681
  mode: 'strict',
7255
7682
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7256
7683
  create: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
7257
- 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},
7258
7685
  },
7259
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1581,"column":3},
7686
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1777,"column":3},
7260
7687
  },
7261
7688
  'qaSurface/adminUser': {
7262
7689
  service: 'qaSurface',
@@ -7299,9 +7726,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7299
7726
  mode: 'strict',
7300
7727
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7301
7728
  create: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
7302
- 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},
7303
7730
  },
7304
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1575,"column":3},
7731
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1771,"column":3},
7305
7732
  },
7306
7733
  'qaSurface/adminUsers': {
7307
7734
  service: 'qaSurface',
@@ -7376,9 +7803,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7376
7803
  mode: 'strict',
7377
7804
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
7378
7805
  create: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
7379
- 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},
7380
7807
  },
7381
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1563,"column":3},
7808
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1759,"column":3},
7382
7809
  },
7383
7810
  'qaSurface/answerApproval': {
7384
7811
  service: 'qaSurface',
@@ -7456,7 +7883,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7456
7883
  create: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
7457
7884
  jsonSchema: {"type":"boolean"},
7458
7885
  },
7459
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2094,"column":9},
7886
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2295,"column":9},
7460
7887
  },
7461
7888
  'qaSurface/answerQuestion': {
7462
7889
  service: 'qaSurface',
@@ -7534,7 +7961,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7534
7961
  create: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
7535
7962
  jsonSchema: {"type":"boolean"},
7536
7963
  },
7537
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2274,"column":9},
7964
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2475,"column":9},
7538
7965
  },
7539
7966
  'qaSurface/approveDocumentWorkflow': {
7540
7967
  service: 'qaSurface',
@@ -7628,7 +8055,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7628
8055
  create: _yadsh_dsh_qa_surface_qaSurface_approveDocumentWorkflow_result$schema,
7629
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},
7630
8057
  },
7631
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2536,"column":9},
8058
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2737,"column":9},
7632
8059
  },
7633
8060
  'qaSurface/cancelQuestion': {
7634
8061
  service: 'qaSurface',
@@ -7690,7 +8117,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7690
8117
  create: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
7691
8118
  jsonSchema: {"type":"boolean"},
7692
8119
  },
7693
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2288,"column":9},
8120
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2489,"column":9},
7694
8121
  },
7695
8122
  'qaSurface/chatAccess': {
7696
8123
  service: 'qaSurface',
@@ -7735,7 +8162,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7735
8162
  create: _yadsh_dsh_qa_surface_qaSurface_chatAccess_result$schema,
7736
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},
7737
8164
  },
7738
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1850,"column":3},
8165
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2046,"column":3},
7739
8166
  },
7740
8167
  'qaSurface/chatAttachment': {
7741
8168
  service: 'qaSurface',
@@ -7780,7 +8207,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7780
8207
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachment_result$schema,
7781
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},
7782
8209
  },
7783
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2001,"column":3},
8210
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2202,"column":3},
7784
8211
  },
7785
8212
  'qaSurface/chatAttachmentPath': {
7786
8213
  service: 'qaSurface',
@@ -7841,7 +8268,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7841
8268
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachmentPath_result$schema,
7842
8269
  jsonSchema: {"type":"string"},
7843
8270
  },
7844
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1903,"column":9},
8271
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2099,"column":9},
7845
8272
  },
7846
8273
  'qaSurface/chatAudit': {
7847
8274
  service: 'qaSurface',
@@ -7902,7 +8329,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7902
8329
  create: _yadsh_dsh_qa_surface_qaSurface_chatAudit_result$schema,
7903
8330
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7904
8331
  },
7905
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1882,"column":9},
8332
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2078,"column":9},
7906
8333
  },
7907
8334
  'qaSurface/chatAuthors': {
7908
8335
  service: 'qaSurface',
@@ -7947,7 +8374,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7947
8374
  create: _yadsh_dsh_qa_surface_qaSurface_chatAuthors_result$schema,
7948
8375
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"requestId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"}},"required":["requestId","userId","displayName"],"additionalProperties":true}},
7949
8376
  },
7950
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1877,"column":3},
8377
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2073,"column":3},
7951
8378
  },
7952
8379
  'qaSurface/chatCancel': {
7953
8380
  service: 'qaSurface',
@@ -7992,7 +8419,52 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
7992
8419
  create: _yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema,
7993
8420
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
7994
8421
  },
7995
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2017,"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},
7996
8468
  },
7997
8469
  'qaSurface/chatControl': {
7998
8470
  service: 'qaSurface',
@@ -8023,7 +8495,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8023
8495
  create: _yadsh_dsh_qa_surface_qaSurface_chatControl_result$schema,
8024
8496
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8025
8497
  },
8026
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1970,"column":10},
8498
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2171,"column":10},
8027
8499
  },
8028
8500
  'qaSurface/chatFollow': {
8029
8501
  service: 'qaSurface',
@@ -8070,7 +8542,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8070
8542
  create: _yadsh_dsh_qa_surface_qaSurface_chatFollow_result$schema,
8071
8543
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8072
8544
  },
8073
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1960,"column":10},
8545
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2161,"column":10},
8074
8546
  },
8075
8547
  'qaSurface/chatGrants': {
8076
8548
  service: 'qaSurface',
@@ -8115,7 +8587,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8115
8587
  create: _yadsh_dsh_qa_surface_qaSurface_chatGrants_result$schema,
8116
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}},
8117
8589
  },
8118
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1855,"column":3},
8590
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2051,"column":3},
8119
8591
  },
8120
8592
  'qaSurface/chatList': {
8121
8593
  service: 'qaSurface',
@@ -8145,7 +8617,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8145
8617
  create: _yadsh_dsh_qa_surface_qaSurface_chatList_result$schema,
8146
8618
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8147
8619
  },
8148
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1915,"column":9},
8620
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2111,"column":9},
8149
8621
  },
8150
8622
  'qaSurface/chatPage': {
8151
8623
  service: 'qaSurface',
@@ -8191,7 +8663,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8191
8663
  create: _yadsh_dsh_qa_surface_qaSurface_chatPage_result$schema,
8192
8664
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8193
8665
  },
8194
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1947,"column":9},
8666
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2148,"column":9},
8195
8667
  },
8196
8668
  'qaSurface/chatProjections': {
8197
8669
  service: 'qaSurface',
@@ -8237,7 +8709,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8237
8709
  create: _yadsh_dsh_qa_surface_qaSurface_chatProjections_result$schema,
8238
8710
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8239
8711
  },
8240
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1979,"column":9},
8712
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2180,"column":9},
8241
8713
  },
8242
8714
  'qaSurface/chatPrompt': {
8243
8715
  service: 'qaSurface',
@@ -8283,7 +8755,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8283
8755
  create: _yadsh_dsh_qa_surface_qaSurface_chatPrompt_result$schema,
8284
8756
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8285
8757
  },
8286
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1992,"column":3},
8758
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2193,"column":3},
8287
8759
  },
8288
8760
  'qaSurface/chatRename': {
8289
8761
  service: 'qaSurface',
@@ -8328,7 +8800,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8328
8800
  create: _yadsh_dsh_qa_surface_qaSurface_chatRename_result$schema,
8329
8801
  jsonSchema: {"type":"object","properties":{"title":{"type":"string"},"seq":{"type":"number"}},"required":["title","seq"],"additionalProperties":true},
8330
8802
  },
8331
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2009,"column":3},
8803
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2210,"column":3},
8332
8804
  },
8333
8805
  'qaSurface/chatSearch': {
8334
8806
  service: 'qaSurface',
@@ -8374,7 +8846,68 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8374
8846
  create: _yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema,
8375
8847
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8376
8848
  },
8377
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1923,"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},
8378
8911
  },
8379
8912
  'qaSurface/chatSelectModel': {
8380
8913
  service: 'qaSurface',
@@ -8419,7 +8952,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8419
8952
  create: _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_result$schema,
8420
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},
8421
8954
  },
8422
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1936,"column":3},
8955
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2132,"column":3},
8423
8956
  },
8424
8957
  'qaSurface/chatSetGrant': {
8425
8958
  service: 'qaSurface',
@@ -8496,7 +9029,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8496
9029
  create: _yadsh_dsh_qa_surface_qaSurface_chatSetGrant_result$schema,
8497
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}},
8498
9031
  },
8499
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1860,"column":3},
9032
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2056,"column":3},
8500
9033
  },
8501
9034
  'qaSurface/chatUpdateQueue': {
8502
9035
  service: 'qaSurface',
@@ -8541,7 +9074,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8541
9074
  create: _yadsh_dsh_qa_surface_qaSurface_chatUpdateQueue_result$schema,
8542
9075
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8543
9076
  },
8544
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2022,"column":3},
9077
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2223,"column":3},
8545
9078
  },
8546
9079
  'qaSurface/chatVisible': {
8547
9080
  service: 'qaSurface',
@@ -8570,7 +9103,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8570
9103
  create: _yadsh_dsh_qa_surface_qaSurface_chatVisible_result$schema,
8571
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}},
8572
9105
  },
8573
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1845,"column":3},
9106
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2041,"column":3},
8574
9107
  },
8575
9108
  'qaSurface/createSession': {
8576
9109
  service: 'qaSurface',
@@ -8632,7 +9165,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8632
9165
  create: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
8633
9166
  jsonSchema: {"type":"string"},
8634
9167
  },
8635
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1215,"column":9},
9168
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1391,"column":9},
8636
9169
  },
8637
9170
  'qaSurface/describe': {
8638
9171
  service: 'qaSurface',
@@ -8644,9 +9177,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8644
9177
  mode: 'strict',
8645
9178
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
8646
9179
  create: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
8647
- 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},
8648
9181
  },
8649
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1192,"column":3},
9182
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1309,"column":3},
8650
9183
  },
8651
9184
  'qaSurface/documentWorkflowStatus': {
8652
9185
  service: 'qaSurface',
@@ -8707,7 +9240,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8707
9240
  create: _yadsh_dsh_qa_surface_qaSurface_documentWorkflowStatus_result$schema,
8708
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},
8709
9242
  },
8710
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2509,"column":9},
9243
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2710,"column":9},
8711
9244
  },
8712
9245
  'qaSurface/forkSession': {
8713
9246
  service: 'qaSurface',
@@ -8769,7 +9302,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8769
9302
  create: _yadsh_dsh_qa_surface_qaSurface_forkSession_result$schema,
8770
9303
  jsonSchema: {"type":"string"},
8771
9304
  },
8772
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1249,"column":9},
9305
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1425,"column":9},
8773
9306
  },
8774
9307
  'qaSurface/formCapabilities': {
8775
9308
  service: 'qaSurface',
@@ -8782,7 +9315,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8782
9315
  create: _yadsh_dsh_qa_surface_qaSurface_formCapabilities_result$schema,
8783
9316
  jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean"},"schemaVersion":{"type":"number"},"upload":{"type":"boolean"}},"required":["enabled","schemaVersion","upload"],"additionalProperties":true},
8784
9317
  },
8785
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2216,"column":9},
9318
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2417,"column":9},
8786
9319
  },
8787
9320
  'qaSurface/getForm': {
8788
9321
  service: 'qaSurface',
@@ -8843,7 +9376,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8843
9376
  create: _yadsh_dsh_qa_surface_qaSurface_getForm_result$schema,
8844
9377
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8845
9378
  },
8846
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2157,"column":9},
9379
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2358,"column":9},
8847
9380
  },
8848
9381
  'qaSurface/listForms': {
8849
9382
  service: 'qaSurface',
@@ -8888,7 +9421,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8888
9421
  create: _yadsh_dsh_qa_surface_qaSurface_listForms_result$schema,
8889
9422
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8890
9423
  },
8891
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2136,"column":9},
9424
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2337,"column":9},
8892
9425
  },
8893
9426
  'qaSurface/listWorkspaceFiles': {
8894
9427
  service: 'qaSurface',
@@ -8950,7 +9483,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
8950
9483
  create: _yadsh_dsh_qa_surface_qaSurface_listWorkspaceFiles_result$schema,
8951
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},
8952
9485
  },
8953
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2427,"column":9},
9486
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2628,"column":9},
8954
9487
  },
8955
9488
  'qaSurface/mutateForm': {
8956
9489
  service: 'qaSurface',
@@ -9011,7 +9544,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9011
9544
  create: _yadsh_dsh_qa_surface_qaSurface_mutateForm_result$schema,
9012
9545
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
9013
9546
  },
9014
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2175,"column":9},
9547
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2376,"column":9},
9015
9548
  },
9016
9549
  'qaSurface/pendingApprovals': {
9017
9550
  service: 'qaSurface',
@@ -9057,7 +9590,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9057
9590
  create: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
9058
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}},
9059
9592
  },
9060
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2075,"column":9},
9593
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2276,"column":9},
9061
9594
  },
9062
9595
  'qaSurface/pendingQuestions': {
9063
9596
  service: 'qaSurface',
@@ -9103,7 +9636,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9103
9636
  create: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
9104
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}},
9105
9638
  },
9106
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2111,"column":9},
9639
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2312,"column":9},
9107
9640
  },
9108
9641
  'qaSurface/previewWorkspaceDocument': {
9109
9642
  service: 'qaSurface',
@@ -9182,17 +9715,16 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9182
9715
  create: _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema,
9183
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}]},
9184
9717
  },
9185
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2586,"column":9},
9718
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2787,"column":9},
9186
9719
  },
9187
9720
  'qaSurface/queueStatus': {
9188
9721
  service: 'qaSurface',
9189
- 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.',
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.',
9190
9723
  invocation: { kind: 'direct' },
9191
9724
  parameters: [
9192
9725
  {
9193
9726
  name: 'token',
9194
9727
  source: 'json',
9195
- acceptsUndefined: true,
9196
9728
  codec: {
9197
9729
  mode: 'strict',
9198
9730
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:token',
@@ -9209,7 +9741,6 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9209
9741
  {
9210
9742
  name: 'sessionId',
9211
9743
  source: 'json',
9212
- acceptsUndefined: true,
9213
9744
  codec: {
9214
9745
  mode: 'strict',
9215
9746
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:sessionId',
@@ -9230,7 +9761,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9230
9761
  create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema,
9231
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},
9232
9763
  },
9233
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1202,"column":3},
9764
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1325,"column":3},
9234
9765
  },
9235
9766
  'qaSurface/readFormAttachment': {
9236
9767
  service: 'qaSurface',
@@ -9305,9 +9836,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9305
9836
  mode: 'strict',
9306
9837
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
9307
9838
  create: _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_result$schema,
9308
- 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}]},
9309
9840
  },
9310
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2232,"column":9},
9841
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2433,"column":9},
9311
9842
  },
9312
9843
  'qaSurface/readSourceFile': {
9313
9844
  service: 'qaSurface',
@@ -9386,7 +9917,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9386
9917
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
9387
9918
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9388
9919
  },
9389
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2309,"column":9},
9920
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2510,"column":9},
9390
9921
  },
9391
9922
  'qaSurface/readSourceImage': {
9392
9923
  service: 'qaSurface',
@@ -9464,7 +9995,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9464
9995
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceImage_result$schema,
9465
9996
  jsonSchema: {"type":"string"},
9466
9997
  },
9467
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2382,"column":9},
9998
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2583,"column":9},
9468
9999
  },
9469
10000
  'qaSurface/readWorkspaceFile': {
9470
10001
  service: 'qaSurface',
@@ -9526,7 +10057,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9526
10057
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFile_result$schema,
9527
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},
9528
10059
  },
9529
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2455,"column":9},
10060
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2656,"column":9},
9530
10061
  },
9531
10062
  'qaSurface/readWorkspaceFileChunk': {
9532
10063
  service: 'qaSurface',
@@ -9620,7 +10151,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9620
10151
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFileChunk_result$schema,
9621
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},
9622
10153
  },
9623
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2482,"column":9},
10154
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2683,"column":9},
9624
10155
  },
9625
10156
  'qaSurface/secureSession': {
9626
10157
  service: 'qaSurface',
@@ -9666,7 +10197,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9666
10197
  create: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
9667
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},
9668
10199
  },
9669
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1768,"column":9},
10200
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1964,"column":9},
9670
10201
  },
9671
10202
  'qaSurface/skillsCreate': {
9672
10203
  service: 'qaSurface',
@@ -9712,7 +10243,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9712
10243
  create: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
9713
10244
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9714
10245
  },
9715
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2660,"column":3},
10246
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2861,"column":3},
9716
10247
  },
9717
10248
  'qaSurface/skillsGet': {
9718
10249
  service: 'qaSurface',
@@ -9758,7 +10289,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9758
10289
  create: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
9759
10290
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9760
10291
  },
9761
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2654,"column":3},
10292
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2855,"column":3},
9762
10293
  },
9763
10294
  'qaSurface/skillsList': {
9764
10295
  service: 'qaSurface',
@@ -9788,7 +10319,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9788
10319
  create: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
9789
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},
9790
10321
  },
9791
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2648,"column":3},
10322
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2849,"column":3},
9792
10323
  },
9793
10324
  'qaSurface/skillsRemove': {
9794
10325
  service: 'qaSurface',
@@ -9850,7 +10381,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9850
10381
  create: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
9851
10382
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
9852
10383
  },
9853
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2679,"column":3},
10384
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2880,"column":3},
9854
10385
  },
9855
10386
  'qaSurface/skillsTools': {
9856
10387
  service: 'qaSurface',
@@ -9880,7 +10411,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9880
10411
  create: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
9881
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},
9882
10413
  },
9883
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2705,"column":3},
10414
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2906,"column":3},
9884
10415
  },
9885
10416
  'qaSurface/skillsUpdate': {
9886
10417
  service: 'qaSurface',
@@ -9942,7 +10473,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
9942
10473
  create: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
9943
10474
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9944
10475
  },
9945
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2669,"column":3},
10476
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2870,"column":3},
9946
10477
  },
9947
10478
  'qaSurface/skillsValidate': {
9948
10479
  service: 'qaSurface',
@@ -10004,7 +10535,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10004
10535
  create: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
10005
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},
10006
10537
  },
10007
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2692,"column":3},
10538
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2893,"column":3},
10008
10539
  },
10009
10540
  'qaSurface/slashCatalog': {
10010
10541
  service: 'qaSurface',
@@ -10050,7 +10581,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10050
10581
  create: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_result$schema,
10051
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},
10052
10583
  },
10053
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2722,"column":3},
10584
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2923,"column":3},
10054
10585
  },
10055
10586
  'qaSurface/slashExecute': {
10056
10587
  service: 'qaSurface',
@@ -10128,7 +10659,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10128
10659
  create: _yadsh_dsh_qa_surface_qaSurface_slashExecute_result$schema,
10129
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}]},
10130
10661
  },
10131
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2737,"column":3},
10662
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2938,"column":3},
10132
10663
  },
10133
10664
  'qaSurface/sources': {
10134
10665
  service: 'qaSurface',
@@ -10174,7 +10705,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10174
10705
  create: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
10175
10706
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
10176
10707
  },
10177
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2061,"column":9},
10708
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2262,"column":9},
10178
10709
  },
10179
10710
  'qaSurface/validateFormStep': {
10180
10711
  service: 'qaSurface',
@@ -10265,9 +10796,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
10265
10796
  mode: 'strict',
10266
10797
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
10267
10798
  create: _yadsh_dsh_qa_surface_qaSurface_validateFormStep_result$schema,
10268
- 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}]},
10269
10800
  },
10270
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2199,"column":9},
10801
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2400,"column":9},
10271
10802
  },
10272
10803
  },
10273
10804
  }, z)