@yadsh/dsh-qa-surface 0.19.0 → 0.21.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 (252) hide show
  1. package/README.md +235 -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/QaTranscriptAdapter.js +36 -1
  29. package/lib/client/QaTranscriptAdapter.js.map +1 -1
  30. package/lib/client/admin/ModelPolicyEditor.js +28 -2
  31. package/lib/client/admin/ModelPolicyEditor.js.map +1 -1
  32. package/lib/client/admin/RoleEditor.js +18 -1
  33. package/lib/client/admin/RoleEditor.js.map +1 -1
  34. package/lib/client/admin/pages/SkillFiles.js +1 -1
  35. package/lib/client/admin/pages/SkillFiles.js.map +1 -1
  36. package/lib/client/admin/pages/Users.js +36 -16
  37. package/lib/client/admin/pages/Users.js.map +1 -1
  38. package/lib/client/admin/styles.js +3 -0
  39. package/lib/client/admin/styles.js.map +1 -1
  40. package/lib/client/chat-artifacts.js +1 -0
  41. package/lib/client/chat-artifacts.js.map +1 -1
  42. package/lib/client/code-source-styles.js +12 -0
  43. package/lib/client/code-source-styles.js.map +1 -0
  44. package/lib/client/components/QaArtifactAttachment.js +12 -0
  45. package/lib/client/components/QaArtifactAttachment.js.map +1 -0
  46. package/lib/client/components/QaChangelog.js +94 -0
  47. package/lib/client/components/QaChangelog.js.map +1 -1
  48. package/lib/client/components/QaChatActions.js +36 -14
  49. package/lib/client/components/QaChatActions.js.map +1 -1
  50. package/lib/client/components/QaCodeSourcePicker.js +18 -0
  51. package/lib/client/components/QaCodeSourcePicker.js.map +1 -0
  52. package/lib/client/components/QaComposer.js +11 -12
  53. package/lib/client/components/QaComposer.js.map +1 -1
  54. package/lib/client/components/QaComposerSettings.js +202 -0
  55. package/lib/client/components/QaComposerSettings.js.map +1 -0
  56. package/lib/client/components/QaFilesPanel.js +2 -8
  57. package/lib/client/components/QaFilesPanel.js.map +1 -1
  58. package/lib/client/components/QaFormItem.js +74 -38
  59. package/lib/client/components/QaFormItem.js.map +1 -1
  60. package/lib/client/components/QaHistoryCatalog.js +261 -0
  61. package/lib/client/components/QaHistoryCatalog.js.map +1 -0
  62. package/lib/client/components/QaInputForm.js +115 -32
  63. package/lib/client/components/QaInputForm.js.map +1 -1
  64. package/lib/client/components/QaMessage.js +3 -8
  65. package/lib/client/components/QaMessage.js.map +1 -1
  66. package/lib/client/components/QaModelSelector.js +21 -0
  67. package/lib/client/components/QaModelSelector.js.map +1 -0
  68. package/lib/client/components/QaSidebar.js +25 -24
  69. package/lib/client/components/QaSidebar.js.map +1 -1
  70. package/lib/client/components/QaWorkGroup.js +1 -3
  71. package/lib/client/components/QaWorkGroup.js.map +1 -1
  72. package/lib/client/composer-settings-styles.js +21 -0
  73. package/lib/client/composer-settings-styles.js.map +1 -0
  74. package/lib/client/forms-styles.js +35 -11
  75. package/lib/client/forms-styles.js.map +1 -1
  76. package/lib/client/history-organization-styles.js +31 -0
  77. package/lib/client/history-organization-styles.js.map +1 -0
  78. package/lib/client/history-organization.js +155 -0
  79. package/lib/client/history-organization.js.map +1 -0
  80. package/lib/client/index.js +13 -4
  81. package/lib/client/index.js.map +1 -1
  82. package/lib/client/settings/card.js +2 -2
  83. package/lib/client/settings/card.js.map +1 -1
  84. package/lib/client/settings/sections/attachments.js +7 -1
  85. package/lib/client/settings/sections/attachments.js.map +1 -1
  86. package/lib/client/settings/sections/file-writes.js +15 -0
  87. package/lib/client/settings/sections/file-writes.js.map +1 -0
  88. package/lib/client/settings/sections/session.js +1 -1
  89. package/lib/client/settings/sections/session.js.map +1 -1
  90. package/lib/client/settings/sections.js +1 -0
  91. package/lib/client/settings/sections.js.map +1 -1
  92. package/lib/client/styles.js +18 -1
  93. package/lib/client/styles.js.map +1 -1
  94. package/lib/client/tool-presentation.js +21 -3
  95. package/lib/client/tool-presentation.js.map +1 -1
  96. package/lib/client/types.js.map +1 -1
  97. package/lib/client/use-chat-code-source.js +156 -0
  98. package/lib/client/use-chat-code-source.js.map +1 -0
  99. package/lib/client/use-history-organization.js +48 -0
  100. package/lib/client/use-history-organization.js.map +1 -0
  101. package/lib/client/use-model-selection.js +96 -0
  102. package/lib/client/use-model-selection.js.map +1 -0
  103. package/lib/client/use-qa-file-drop.js +81 -0
  104. package/lib/client/use-qa-file-drop.js.map +1 -0
  105. package/lib/client/user-settings/IntegrationTokensPage.js +42 -6
  106. package/lib/client/user-settings/IntegrationTokensPage.js.map +1 -1
  107. package/lib/client/user-settings/UserSettingsDialog.js +1 -1
  108. package/lib/client/user-settings/UserSettingsDialog.js.map +1 -1
  109. package/lib/client.js +125 -27
  110. package/lib/client.js.map +1 -1
  111. package/lib/code-source-selection.js +102 -0
  112. package/lib/code-source-selection.js.map +1 -0
  113. package/lib/config-resolvers/accounts.js +26 -1
  114. package/lib/config-resolvers/accounts.js.map +1 -1
  115. package/lib/config-resolvers/defaults.js +7 -0
  116. package/lib/config-resolvers/defaults.js.map +1 -1
  117. package/lib/config-resolvers/integration.js +8 -1
  118. package/lib/config-resolvers/integration.js.map +1 -1
  119. package/lib/config-resolvers/session.js +2 -0
  120. package/lib/config-resolvers/session.js.map +1 -1
  121. package/lib/config-resolvers/tools.js +2 -0
  122. package/lib/config-resolvers/tools.js.map +1 -1
  123. package/lib/config.js +77 -4
  124. package/lib/config.js.map +1 -1
  125. package/lib/enforcement/skill-policy.js +37 -2
  126. package/lib/enforcement/skill-policy.js.map +1 -1
  127. package/lib/forms/errors.js +6 -1
  128. package/lib/forms/errors.js.map +1 -1
  129. package/lib/forms/gate.js +28 -2
  130. package/lib/forms/gate.js.map +1 -1
  131. package/lib/forms/schema-errors.js +47 -0
  132. package/lib/forms/schema-errors.js.map +1 -0
  133. package/lib/forms/schema.js +29 -20
  134. package/lib/forms/schema.js.map +1 -1
  135. package/lib/index.js +161 -9
  136. package/lib/index.js.map +1 -1
  137. package/lib/integration/http.js +9 -10
  138. package/lib/integration/http.js.map +1 -1
  139. package/lib/integration/service.js +9 -0
  140. package/lib/integration/service.js.map +1 -1
  141. package/lib/personal-skills/provider.js +9 -1
  142. package/lib/personal-skills/provider.js.map +1 -1
  143. package/lib/personal-skills/service.js +4 -0
  144. package/lib/personal-skills/service.js.map +1 -1
  145. package/lib/personal-skills/shared-seed.js +65 -0
  146. package/lib/personal-skills/shared-seed.js.map +1 -0
  147. package/lib/prompt-notes.js +24 -2
  148. package/lib/prompt-notes.js.map +1 -1
  149. package/lib/provenance/collector.js +1 -0
  150. package/lib/provenance/collector.js.map +1 -1
  151. package/lib/provenance/extractors.js +6 -1
  152. package/lib/provenance/extractors.js.map +1 -1
  153. package/lib/qa-tools/catalog.js +33 -1
  154. package/lib/qa-tools/catalog.js.map +1 -1
  155. package/lib/qa-tools/code-files.js +207 -0
  156. package/lib/qa-tools/code-files.js.map +1 -0
  157. package/lib/qa-tools/code-tools.js +158 -0
  158. package/lib/qa-tools/code-tools.js.map +1 -0
  159. package/lib/qa-tools/docs-tools.js +49 -12
  160. package/lib/qa-tools/docs-tools.js.map +1 -1
  161. package/lib/qa-tools/file-write-gate.js +47 -0
  162. package/lib/qa-tools/file-write-gate.js.map +1 -0
  163. package/lib/qa-tools/index.js +10 -0
  164. package/lib/qa-tools/index.js.map +1 -1
  165. package/lib/qa-tools/request-user-form.js +26 -6
  166. package/lib/qa-tools/request-user-form.js.map +1 -1
  167. package/lib/qa-tools/subagent-tools.js +159 -0
  168. package/lib/qa-tools/subagent-tools.js.map +1 -0
  169. package/lib/request-scheduler.js +32 -5
  170. package/lib/request-scheduler.js.map +1 -1
  171. package/lib/resolve-config.js +9 -1
  172. package/lib/resolve-config.js.map +1 -1
  173. package/lib/secure-session.js +16 -4
  174. package/lib/secure-session.js.map +1 -1
  175. package/lib/session-model.js +43 -1
  176. package/lib/session-model.js.map +1 -1
  177. package/lib/shared/file-write-policy.js +29 -0
  178. package/lib/shared/file-write-policy.js.map +1 -0
  179. package/lib/shared/history-folder.js +18 -0
  180. package/lib/shared/history-folder.js.map +1 -0
  181. package/lib/typert.host.js +757 -162
  182. package/lib/typert.remote-client.d.ts +19 -7
  183. package/lib/typert.remote-client.js +688 -153
  184. package/lib/types/access/model-choices.d.ts +16 -0
  185. package/lib/types/access/model-policy.d.ts +13 -7
  186. package/lib/types/access/model.d.ts +9 -0
  187. package/lib/types/access/queue-policy.d.ts +30 -0
  188. package/lib/types/access/service.d.ts +27 -0
  189. package/lib/types/account-remotes.d.ts +5 -4
  190. package/lib/types/accounts/database.d.ts +5 -0
  191. package/lib/types/accounts/store.d.ts +6 -0
  192. package/lib/types/chat-sharing/transport.d.ts +1 -1
  193. package/lib/types/client/QaAccountsController.d.ts +3 -1
  194. package/lib/types/client/QaSessionController.d.ts +19 -5
  195. package/lib/types/client/QaSurface.d.ts +2 -0
  196. package/lib/types/client/admin/ModelPolicyEditor.d.ts +2 -0
  197. package/lib/types/client/code-source-styles.d.ts +2 -0
  198. package/lib/types/client/components/QaArtifactAttachment.d.ts +8 -0
  199. package/lib/types/client/components/QaChatActions.d.ts +3 -1
  200. package/lib/types/client/components/QaCodeSourcePicker.d.ts +9 -0
  201. package/lib/types/client/components/QaComposer.d.ts +2 -0
  202. package/lib/types/client/components/QaComposerSettings.d.ts +16 -0
  203. package/lib/types/client/components/QaFormItem.d.ts +4 -2
  204. package/lib/types/client/components/QaHistoryCatalog.d.ts +19 -0
  205. package/lib/types/client/components/QaInputForm.d.ts +3 -2
  206. package/lib/types/client/components/QaModelSelector.d.ts +4 -0
  207. package/lib/types/client/components/QaSidebar.d.ts +3 -0
  208. package/lib/types/client/composer-settings-styles.d.ts +2 -0
  209. package/lib/types/client/forms-styles.d.ts +1 -1
  210. package/lib/types/client/history-organization-styles.d.ts +3 -0
  211. package/lib/types/client/history-organization.d.ts +38 -0
  212. package/lib/types/client/settings/sections/file-writes.d.ts +4 -0
  213. package/lib/types/client/settings/sections.d.ts +1 -0
  214. package/lib/types/client/tool-presentation.d.ts +1 -0
  215. package/lib/types/client/types.d.ts +12 -4
  216. package/lib/types/client/use-chat-code-source.d.ts +20 -0
  217. package/lib/types/client/use-history-organization.d.ts +8 -0
  218. package/lib/types/client/use-model-selection.d.ts +24 -0
  219. package/lib/types/client/use-qa-file-drop.d.ts +12 -0
  220. package/lib/types/code-source-selection.d.ts +28 -0
  221. package/lib/types/code-sources.js +2 -0
  222. package/lib/types/code-sources.js.map +1 -0
  223. package/lib/types/config-resolvers/integration.d.ts +7 -1
  224. package/lib/types/forms/errors.d.ts +3 -2
  225. package/lib/types/forms/gate.d.ts +4 -2
  226. package/lib/types/forms/schema-errors.d.ts +7 -0
  227. package/lib/types/forms/types.d.ts +14 -0
  228. package/lib/types/index.d.ts +38 -5
  229. package/lib/types/integration/http.d.ts +1 -3
  230. package/lib/types/integration/service.d.ts +2 -0
  231. package/lib/types/personal-skills/shared-seed.d.ts +12 -0
  232. package/lib/types/prompt-notes.d.ts +6 -2
  233. package/lib/types/qa-tools/catalog.d.ts +5 -2
  234. package/lib/types/qa-tools/code-files.d.ts +59 -0
  235. package/lib/types/qa-tools/code-tools.d.ts +7 -0
  236. package/lib/types/qa-tools/docs-tools.d.ts +4 -0
  237. package/lib/types/qa-tools/file-write-gate.d.ts +6 -0
  238. package/lib/types/qa-tools/index.d.ts +3 -0
  239. package/lib/types/qa-tools/subagent-tools.d.ts +40 -0
  240. package/lib/types/request-scheduler.d.ts +21 -2
  241. package/lib/types/session-model.d.ts +11 -2
  242. package/lib/types/shared/file-write-policy.d.ts +10 -0
  243. package/lib/types/shared/history-folder.d.ts +4 -0
  244. package/lib/types/types/accounts.d.ts +11 -0
  245. package/lib/types/types/capability.d.ts +31 -4
  246. package/lib/types/types/code-sources.d.ts +12 -0
  247. package/lib/types/types/config.d.ts +23 -0
  248. package/lib/types/types/documents.d.ts +2 -0
  249. package/lib/types/types.d.ts +1 -0
  250. package/lib/user-workspace.js +7 -4
  251. package/lib/user-workspace.js.map +1 -1
  252. 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(),
@@ -2227,6 +2435,10 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh
2227
2435
  'allowOs': z.boolean().readonly(),
2228
2436
  }).readonly().describe('Channels a finished turn of this browser\'s own chats may use.'),
2229
2437
  'tools': z.object({
2438
+ 'fileWritePolicy': z.object({
2439
+ 'blockedExtensions': z.array(z.string()).readonly(),
2440
+ 'message': z.string().readonly(),
2441
+ }).readonly(),
2230
2442
  'dynamicActivation': z.boolean().readonly(),
2231
2443
  'activationSkill': z.string().readonly(),
2232
2444
  'activationMode': z.literal("all").readonly(),
@@ -2323,6 +2535,7 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = () => (_yadsh_dsh
2323
2535
  'requestsPerMinute': z.number().readonly(),
2324
2536
  'maxRequestBytes': z.number().readonly(),
2325
2537
  'maxAttachmentBytes': z.number().readonly(),
2538
+ 'maxAttachments': z.number().readonly(),
2326
2539
  'maxAnswerCharacters': z.number().readonly(),
2327
2540
  }).readonly(),
2328
2541
  }))
@@ -2373,6 +2586,11 @@ const _yadsh_dsh_qa_surface_qaSurface_getForm_result$schema = () => (_yadsh_dsh_
2373
2586
  'component': z.union([z.literal("answer"), z.literal("files")]),
2374
2587
  'code': z.string(),
2375
2588
  'message': z.string(),
2589
+ })).optional(),
2590
+ 'schema_errors': z.array(z.object({
2591
+ 'path': z.string(),
2592
+ 'code': z.string(),
2593
+ 'message': z.string(),
2376
2594
  })).optional(),
2377
2595
  }),
2378
2596
  }), z.object({
@@ -2534,6 +2752,11 @@ const _yadsh_dsh_qa_surface_qaSurface_listForms_result$schema = () => (_yadsh_ds
2534
2752
  'component': z.union([z.literal("answer"), z.literal("files")]),
2535
2753
  'code': z.string(),
2536
2754
  'message': z.string(),
2755
+ })).optional(),
2756
+ 'schema_errors': z.array(z.object({
2757
+ 'path': z.string(),
2758
+ 'code': z.string(),
2759
+ 'message': z.string(),
2537
2760
  })).optional(),
2538
2761
  }),
2539
2762
  }), z.object({
@@ -2758,6 +2981,11 @@ const _yadsh_dsh_qa_surface_qaSurface_mutateForm_result$schema = () => (_yadsh_d
2758
2981
  'component': z.union([z.literal("answer"), z.literal("files")]),
2759
2982
  'code': z.string(),
2760
2983
  'message': z.string(),
2984
+ })).optional(),
2985
+ 'schema_errors': z.array(z.object({
2986
+ 'path': z.string(),
2987
+ 'code': z.string(),
2988
+ 'message': z.string(),
2761
2989
  })).optional(),
2762
2990
  }),
2763
2991
  }), z.object({
@@ -3013,9 +3241,9 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema = (
3013
3241
  }).readonly(),
3014
3242
  })]))
3015
3243
  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()]))
3244
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_0$schema$value ??= z.string())
3017
3245
  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()]))
3246
+ const _yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_parameter_1$schema$value ??= z.string())
3019
3247
  let _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value
3020
3248
  const _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema = () => (_yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema$value ??= z.object({
3021
3249
  'limit': z.number().readonly().describe('The configured ceiling; 0 means the deployment sets none.'),
@@ -3048,6 +3276,11 @@ const _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_result$schema = () => (
3048
3276
  'component': z.union([z.literal("answer"), z.literal("files")]),
3049
3277
  'code': z.string(),
3050
3278
  'message': z.string(),
3279
+ })).optional(),
3280
+ 'schema_errors': z.array(z.object({
3281
+ 'path': z.string(),
3282
+ 'code': z.string(),
3283
+ 'message': z.string(),
3051
3284
  })).optional(),
3052
3285
  }),
3053
3286
  }), z.object({
@@ -3571,6 +3804,11 @@ const _yadsh_dsh_qa_surface_qaSurface_validateFormStep_result$schema = () => (_y
3571
3804
  'component': z.union([z.literal("answer"), z.literal("files")]),
3572
3805
  'code': z.string(),
3573
3806
  'message': z.string(),
3807
+ })).optional(),
3808
+ 'schema_errors': z.array(z.object({
3809
+ 'path': z.string(),
3810
+ 'code': z.string(),
3811
+ 'message': z.string(),
3574
3812
  })).optional(),
3575
3813
  }),
3576
3814
  }), z.object({
@@ -3602,7 +3840,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1_strict$sch
3602
3840
  'provider': z.string().readonly(),
3603
3841
  'model': z.string().readonly(),
3604
3842
  '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.'),
3843
+ }).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.'),
3844
+ 'allowedModels': z.array(z.strictObject({
3845
+ 'provider': z.string().readonly(),
3846
+ 'model': z.string().readonly(),
3847
+ 'reasoningEffort': z.string().readonly().optional(),
3848
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
3849
+ '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
3850
  'ui': z.strictObject({
3607
3851
  'icon': z.string().readonly().optional(),
3608
3852
  'accent': z.string().readonly().optional(),
@@ -3639,6 +3883,12 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2_strict$
3639
3883
  'model': z.string().readonly(),
3640
3884
  'reasoningEffort': z.string().readonly().optional(),
3641
3885
  }).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.'),
3886
+ 'allowedModels': z.array(z.strictObject({
3887
+ 'provider': z.string().readonly(),
3888
+ 'model': z.string().readonly(),
3889
+ 'reasoningEffort': z.string().readonly().optional(),
3890
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
3891
+ '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
3892
  }))
3643
3893
  let _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0_strict$schema$value
3644
3894
  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 +3939,26 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2_strict$sch
3689
3939
  'provider': z.string().readonly(),
3690
3940
  'model': z.string().readonly(),
3691
3941
  '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.'),
3942
+ }).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.'),
3943
+ 'allowedModels': z.array(z.strictObject({
3944
+ 'provider': z.string().readonly(),
3945
+ 'model': z.string().readonly(),
3946
+ 'reasoningEffort': z.string().readonly().optional(),
3947
+ })).readonly().optional().describe('Additional user-selectable pairs. The default model stays available.'),
3948
+ '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
3949
  'ui': z.strictObject({
3694
3950
  'icon': z.string().readonly().optional(),
3695
3951
  'accent': z.string().readonly().optional(),
3696
3952
  }).readonly().optional(),
3697
3953
  }))
3954
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema$value
3955
+ const _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema$value ??= z.string())
3956
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema$value
3957
+ 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()]))
3958
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema$value
3959
+ 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()]))
3960
+ let _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema$value
3961
+ 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
3962
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_0_strict$schema$value
3699
3963
  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
3964
  let _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_parameter_1_strict$schema$value
@@ -3709,6 +3973,10 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_0_stric
3709
3973
  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
3974
  let _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema$value
3711
3975
  const _yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsCreateServiceToken_parameter_1_strict$schema$value ??= z.strictObject({
3976
+ 'historyFolder': z.union([z.literal(null), z.strictObject({
3977
+ 'id': z.string().readonly(),
3978
+ 'name': z.string().readonly(),
3979
+ })]).readonly().optional(),
3712
3980
  'label': z.string().readonly().optional().describe('A note the operator\'s list shows; empty becomes a generic label.'),
3713
3981
  'scopes': z.array(z.string()).readonly().optional().describe('Requested scopes; unknown ones are dropped, explicit empty grants none.'),
3714
3982
  'allowClarifications': z.boolean().readonly().optional().describe('Whether API turns may ask clarifying questions; omitted preserves existing behavior.'),
@@ -3746,6 +4014,15 @@ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parame
3746
4014
  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
4015
  let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema$value
3748
4016
  const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_parameter_2_strict$schema$value ??= z.boolean())
4017
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema$value
4018
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema$value ??= z.string())
4019
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema$value
4020
+ const _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema$value ??= z.string())
4021
+ let _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema$value
4022
+ 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({
4023
+ 'id': z.string().readonly(),
4024
+ 'name': z.string().readonly(),
4025
+ })]))
3749
4026
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_0_strict$schema$value
3750
4027
  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
4028
  let _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_parameter_1_strict$schema$value
@@ -4022,6 +4299,12 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2_strict$schema
4022
4299
  'model': z.string().readonly(),
4023
4300
  'reasoningEffort': z.string().readonly().optional(),
4024
4301
  }).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.'),
4302
+ 'allowedModels': z.array(z.strictObject({
4303
+ 'provider': z.string().readonly(),
4304
+ 'model': z.string().readonly(),
4305
+ 'reasoningEffort': z.string().readonly().optional(),
4306
+ })).readonly().optional().describe('Overrides the role\'s alternatives; [] permits only the default model.'),
4307
+ '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
4308
  })]).readonly().optional(),
4026
4309
  }))
4027
4310
  let _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0_strict$schema$value
@@ -4108,6 +4391,10 @@ let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_0_strict$schema$value
4108
4391
  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
4392
  let _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema$value
4110
4393
  const _yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCancel_parameter_1_strict$schema$value ??= z.string())
4394
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema$value
4395
+ const _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema$value ??= z.string())
4396
+ let _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema$value
4397
+ 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
4398
  let _yadsh_dsh_qa_surface_qaSurface_chatControl_parameter_0_strict$schema$value
4112
4399
  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
4400
  let _yadsh_dsh_qa_surface_qaSurface_chatFollow_parameter_0_strict$schema$value
@@ -4195,6 +4482,12 @@ let _yadsh_dsh_qa_surface_qaSurface_chatSearch_parameter_1_strict$schema$value
4195
4482
  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
4483
  'query': z.string().readonly(),
4197
4484
  }))
4485
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema$value
4486
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema$value ??= z.string())
4487
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema$value
4488
+ const _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema = () => (_yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema$value ??= z.string())
4489
+ let _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema$value
4490
+ 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
4491
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_0_strict$schema$value
4199
4492
  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
4493
  let _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_parameter_1_strict$schema$value
@@ -4338,9 +4631,9 @@ const _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_parameter_3_stric
4338
4631
  'startColumn': z.number().readonly().optional(),
4339
4632
  })]))
4340
4633
  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()]))
4634
+ 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
4635
  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()]))
4636
+ 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
4637
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_0_strict$schema$value
4345
4638
  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
4639
  let _yadsh_dsh_qa_surface_qaSurface_readFormAttachment_parameter_1_strict$schema$value
@@ -4513,9 +4806,9 @@ const $remote = createTypertRemoteInfo({
4513
4806
  mode: 'strict',
4514
4807
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
4515
4808
  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},
4809
+ 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
4810
  },
4518
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1293,"column":9},
4811
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1488,"column":9},
4519
4812
  },
4520
4813
  'qaSurface/accessCreateSubrole': {
4521
4814
  service: 'qaSurface',
@@ -4544,13 +4837,13 @@ const $remote = createTypertRemoteInfo({
4544
4837
  mode: 'strict',
4545
4838
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4546
4839
  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},
4840
+ 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
4841
  },
4549
4842
  strictCodec: {
4550
4843
  mode: 'strict',
4551
4844
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4552
4845
  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},
4846
+ 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
4847
  },
4555
4848
  },
4556
4849
  ],
@@ -4558,9 +4851,9 @@ const $remote = createTypertRemoteInfo({
4558
4851
  mode: 'strict',
4559
4852
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4560
4853
  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},
4854
+ 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
4855
  },
4563
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1304,"column":9},
4856
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1499,"column":9},
4564
4857
  },
4565
4858
  'qaSurface/accessCurrent': {
4566
4859
  service: 'qaSurface',
@@ -4588,9 +4881,9 @@ const $remote = createTypertRemoteInfo({
4588
4881
  mode: 'strict',
4589
4882
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
4590
4883
  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},
4884
+ 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
4885
  },
4593
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1278,"column":3},
4886
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1473,"column":3},
4594
4887
  },
4595
4888
  'qaSurface/accessDeleteSubrole': {
4596
4889
  service: 'qaSurface',
@@ -4651,7 +4944,7 @@ const $remote = createTypertRemoteInfo({
4651
4944
  create: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
4652
4945
  jsonSchema: {"type":"object","properties":{"deleted":{"type":"boolean"}},"required":["deleted"],"additionalProperties":true},
4653
4946
  },
4654
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1335,"column":3},
4947
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1550,"column":3},
4655
4948
  },
4656
4949
  'qaSurface/accessModelCatalog': {
4657
4950
  service: 'qaSurface',
@@ -4681,7 +4974,7 @@ const $remote = createTypertRemoteInfo({
4681
4974
  create: _yadsh_dsh_qa_surface_qaSurface_accessModelCatalog_result$schema,
4682
4975
  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
4976
  },
4684
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1326,"column":9},
4977
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1521,"column":9},
4685
4978
  },
4686
4979
  'qaSurface/accessSession': {
4687
4980
  service: 'qaSurface',
@@ -4725,9 +5018,9 @@ const $remote = createTypertRemoteInfo({
4725
5018
  mode: 'strict',
4726
5019
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
4727
5020
  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},
5021
+ 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
5022
  },
4730
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1284,"column":3},
5023
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1479,"column":3},
4731
5024
  },
4732
5025
  'qaSurface/accessSkillActivations': {
4733
5026
  service: 'qaSurface',
@@ -4773,7 +5066,7 @@ const $remote = createTypertRemoteInfo({
4773
5066
  create: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
4774
5067
  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
5068
  },
4776
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1380,"column":3},
5069
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1595,"column":3},
4777
5070
  },
4778
5071
  'qaSurface/accessUpdateAssignment': {
4779
5072
  service: 'qaSurface',
@@ -4818,13 +5111,13 @@ const $remote = createTypertRemoteInfo({
4818
5111
  mode: 'strict',
4819
5112
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4820
5113
  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},
5114
+ 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
5115
  },
4823
5116
  strictCodec: {
4824
5117
  mode: 'strict',
4825
5118
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4826
5119
  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},
5120
+ 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
5121
  },
4829
5122
  },
4830
5123
  ],
@@ -4832,9 +5125,9 @@ const $remote = createTypertRemoteInfo({
4832
5125
  mode: 'strict',
4833
5126
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
4834
5127
  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},
5128
+ 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
5129
  },
4837
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1357,"column":9},
5130
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1572,"column":9},
4838
5131
  },
4839
5132
  'qaSurface/accessUpdateCommon': {
4840
5133
  service: 'qaSurface',
@@ -4879,7 +5172,7 @@ const $remote = createTypertRemoteInfo({
4879
5172
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
4880
5173
  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
5174
  },
4882
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1347,"column":3},
5175
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1562,"column":3},
4883
5176
  },
4884
5177
  'qaSurface/accessUpdateSkillOverride': {
4885
5178
  service: 'qaSurface',
@@ -4925,7 +5218,7 @@ const $remote = createTypertRemoteInfo({
4925
5218
  create: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
4926
5219
  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
5220
  },
4928
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1369,"column":3},
5221
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1584,"column":3},
4929
5222
  },
4930
5223
  'qaSurface/accessUpdateSubrole': {
4931
5224
  service: 'qaSurface',
@@ -4970,13 +5263,13 @@ const $remote = createTypertRemoteInfo({
4970
5263
  mode: 'strict',
4971
5264
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4972
5265
  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},
5266
+ 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
5267
  },
4975
5268
  strictCodec: {
4976
5269
  mode: 'strict',
4977
5270
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4978
5271
  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},
5272
+ 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
5273
  },
4981
5274
  },
4982
5275
  ],
@@ -4984,9 +5277,86 @@ const $remote = createTypertRemoteInfo({
4984
5277
  mode: 'strict',
4985
5278
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
4986
5279
  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},
5280
+ 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},
5281
+ },
5282
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1509,"column":9},
5283
+ },
5284
+ 'qaSurface/accessUserModels': {
5285
+ service: 'qaSurface',
5286
+ invocation: { kind: 'direct' },
5287
+ parameters: [
5288
+ {
5289
+ name: 'token',
5290
+ source: 'json',
5291
+ codec: {
5292
+ mode: 'strict',
5293
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:token',
5294
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0$schema,
5295
+ jsonSchema: {"type":"string"},
5296
+ },
5297
+ strictCodec: {
5298
+ mode: 'strict',
5299
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:token',
5300
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_0_strict$schema,
5301
+ jsonSchema: {"type":"string"},
5302
+ },
5303
+ },
5304
+ {
5305
+ name: 'sessionId',
5306
+ source: 'json',
5307
+ codec: {
5308
+ mode: 'strict',
5309
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:sessionId',
5310
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1$schema,
5311
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5312
+ },
5313
+ strictCodec: {
5314
+ mode: 'strict',
5315
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:sessionId',
5316
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_1_strict$schema,
5317
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5318
+ },
5319
+ },
5320
+ {
5321
+ name: 'subroleId',
5322
+ source: 'json',
5323
+ codec: {
5324
+ mode: 'strict',
5325
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:subroleId',
5326
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2$schema,
5327
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5328
+ },
5329
+ strictCodec: {
5330
+ mode: 'strict',
5331
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:subroleId',
5332
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_2_strict$schema,
5333
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5334
+ },
5335
+ },
5336
+ {
5337
+ name: 'adminPreview',
5338
+ source: 'json',
5339
+ codec: {
5340
+ mode: 'strict',
5341
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:adminPreview',
5342
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3$schema,
5343
+ jsonSchema: {"type":"boolean"},
5344
+ },
5345
+ strictCodec: {
5346
+ mode: 'strict',
5347
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUserModels:adminPreview',
5348
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_parameter_3_strict$schema,
5349
+ jsonSchema: {"type":"boolean"},
5350
+ },
5351
+ },
5352
+ ],
5353
+ result: {
5354
+ mode: 'strict',
5355
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaModelOptions',
5356
+ create: _yadsh_dsh_qa_surface_qaSurface_accessUserModels_result$schema,
5357
+ 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},
4988
5358
  },
4989
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1314,"column":9},
5359
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1530,"column":9},
4990
5360
  },
4991
5361
  'qaSurface/accountsChangePassword': {
4992
5362
  service: 'qaSurface',
@@ -5048,7 +5418,7 @@ const $remote = createTypertRemoteInfo({
5048
5418
  create: _yadsh_dsh_qa_surface_qaSurface_accountsChangePassword_result$schema,
5049
5419
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5050
5420
  },
5051
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1030,"column":3},
5421
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1153,"column":3},
5052
5422
  },
5053
5423
  'qaSurface/accountsClaimSessions': {
5054
5424
  service: 'qaSurface',
@@ -5094,7 +5464,7 @@ const $remote = createTypertRemoteInfo({
5094
5464
  create: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
5095
5465
  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
5466
  },
5097
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1064,"column":3},
5467
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1187,"column":3},
5098
5468
  },
5099
5469
  'qaSurface/accountsCreateServiceToken': {
5100
5470
  service: 'qaSurface',
@@ -5124,13 +5494,13 @@ const $remote = createTypertRemoteInfo({
5124
5494
  mode: 'strict',
5125
5495
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5126
5496
  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},
5497
+ 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
5498
  },
5129
5499
  strictCodec: {
5130
5500
  mode: 'strict',
5131
5501
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaServiceTokenCreateInput',
5132
5502
  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},
5503
+ 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
5504
  },
5135
5505
  },
5136
5506
  ],
@@ -5138,9 +5508,9 @@ const $remote = createTypertRemoteInfo({
5138
5508
  mode: 'strict',
5139
5509
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaIssuedServiceToken',
5140
5510
  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},
5511
+ 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
5512
  },
5143
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1151,"column":3},
5513
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1274,"column":3},
5144
5514
  },
5145
5515
  'qaSurface/accountsListOwnership': {
5146
5516
  service: 'qaSurface',
@@ -5170,7 +5540,7 @@ const $remote = createTypertRemoteInfo({
5170
5540
  create: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
5171
5541
  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
5542
  },
5173
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1085,"column":3},
5543
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1208,"column":3},
5174
5544
  },
5175
5545
  'qaSurface/accountsListServiceTokens': {
5176
5546
  service: 'qaSurface',
@@ -5198,9 +5568,9 @@ const $remote = createTypertRemoteInfo({
5198
5568
  mode: 'strict',
5199
5569
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListServiceTokens:result',
5200
5570
  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},
5571
+ 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
5572
  },
5203
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1138,"column":3},
5573
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1261,"column":3},
5204
5574
  },
5205
5575
  'qaSurface/accountsLogin': {
5206
5576
  service: 'qaSurface',
@@ -5245,7 +5615,7 @@ const $remote = createTypertRemoteInfo({
5245
5615
  create: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
5246
5616
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5247
5617
  },
5248
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1005,"column":3},
5618
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1128,"column":3},
5249
5619
  },
5250
5620
  'qaSurface/accountsOidcComplete': {
5251
5621
  service: 'qaSurface',
@@ -5290,7 +5660,7 @@ const $remote = createTypertRemoteInfo({
5290
5660
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcComplete_result$schema,
5291
5661
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5292
5662
  },
5293
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1016,"column":3},
5663
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1139,"column":3},
5294
5664
  },
5295
5665
  'qaSurface/accountsOidcLogout': {
5296
5666
  service: 'qaSurface',
@@ -5319,7 +5689,7 @@ const $remote = createTypertRemoteInfo({
5319
5689
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcLogout_result$schema,
5320
5690
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
5321
5691
  },
5322
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1024,"column":3},
5692
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1147,"column":3},
5323
5693
  },
5324
5694
  'qaSurface/accountsOidcStart': {
5325
5695
  service: 'qaSurface',
@@ -5332,7 +5702,7 @@ const $remote = createTypertRemoteInfo({
5332
5702
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOidcStart_result$schema,
5333
5703
  jsonSchema: {"type":"object","properties":{"authorizationUrl":{"type":"string"},"completionKey":{"type":"string"}},"required":["authorizationUrl","completionKey"],"additionalProperties":true},
5334
5704
  },
5335
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1010,"column":3},
5705
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1133,"column":3},
5336
5706
  },
5337
5707
  'qaSurface/accountsOwnedSessions': {
5338
5708
  service: 'qaSurface',
@@ -5358,11 +5728,11 @@ const $remote = createTypertRemoteInfo({
5358
5728
  ],
5359
5729
  result: {
5360
5730
  mode: 'strict',
5361
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
5731
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaOwnedSessionsResult',
5362
5732
  create: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
5363
- jsonSchema: {"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}}},"required":["ids"],"additionalProperties":true},
5733
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5364
5734
  },
5365
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1075,"column":3},
5735
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1198,"column":3},
5366
5736
  },
5367
5737
  'qaSurface/accountsRegister': {
5368
5738
  service: 'qaSurface',
@@ -5408,7 +5778,7 @@ const $remote = createTypertRemoteInfo({
5408
5778
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
5409
5779
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5410
5780
  },
5411
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1000,"column":3},
5781
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1123,"column":3},
5412
5782
  },
5413
5783
  'qaSurface/accountsRequestPasswordReset': {
5414
5784
  service: 'qaSurface',
@@ -5438,7 +5808,7 @@ const $remote = createTypertRemoteInfo({
5438
5808
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRequestPasswordReset_result$schema,
5439
5809
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
5440
5810
  },
5441
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1048,"column":3},
5811
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1171,"column":3},
5442
5812
  },
5443
5813
  'qaSurface/accountsRevokeServiceToken': {
5444
5814
  service: 'qaSurface',
@@ -5484,7 +5854,7 @@ const $remote = createTypertRemoteInfo({
5484
5854
  create: _yadsh_dsh_qa_surface_qaSurface_accountsRevokeServiceToken_result$schema,
5485
5855
  jsonSchema: {"type":"object","properties":{"revoked":{"type":"boolean"}},"required":["revoked"],"additionalProperties":true},
5486
5856
  },
5487
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1164,"column":3},
5857
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1287,"column":3},
5488
5858
  },
5489
5859
  'qaSurface/accountsSetServiceTokenClarifications': {
5490
5860
  service: 'qaSurface',
@@ -5545,7 +5915,68 @@ const $remote = createTypertRemoteInfo({
5545
5915
  create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenClarifications_result$schema,
5546
5916
  jsonSchema: {"type":"object","properties":{"updated":{"type":"boolean"}},"required":["updated"],"additionalProperties":true},
5547
5917
  },
5548
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1172,"column":3},
5918
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1295,"column":3},
5919
+ },
5920
+ 'qaSurface/accountsSetServiceTokenHistoryFolder': {
5921
+ service: 'qaSurface',
5922
+ invocation: { kind: 'direct' },
5923
+ parameters: [
5924
+ {
5925
+ name: 'token',
5926
+ source: 'json',
5927
+ codec: {
5928
+ mode: 'strict',
5929
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:token',
5930
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0$schema,
5931
+ jsonSchema: {"type":"string"},
5932
+ },
5933
+ strictCodec: {
5934
+ mode: 'strict',
5935
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:token',
5936
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_0_strict$schema,
5937
+ jsonSchema: {"type":"string"},
5938
+ },
5939
+ },
5940
+ {
5941
+ name: 'tokenId',
5942
+ source: 'json',
5943
+ codec: {
5944
+ mode: 'strict',
5945
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:tokenId',
5946
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1$schema,
5947
+ jsonSchema: {"type":"string"},
5948
+ },
5949
+ strictCodec: {
5950
+ mode: 'strict',
5951
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:tokenId',
5952
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_1_strict$schema,
5953
+ jsonSchema: {"type":"string"},
5954
+ },
5955
+ },
5956
+ {
5957
+ name: 'folder',
5958
+ source: 'json',
5959
+ codec: {
5960
+ mode: 'strict',
5961
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:folder',
5962
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2$schema,
5963
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}]},
5964
+ },
5965
+ strictCodec: {
5966
+ mode: 'strict',
5967
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:folder',
5968
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_parameter_2_strict$schema,
5969
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}]},
5970
+ },
5971
+ },
5972
+ ],
5973
+ result: {
5974
+ mode: 'strict',
5975
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsSetServiceTokenHistoryFolder:result',
5976
+ create: _yadsh_dsh_qa_surface_qaSurface_accountsSetServiceTokenHistoryFolder_result$schema,
5977
+ jsonSchema: {"type":"object","properties":{"updated":{"type":"boolean"}},"required":["updated"],"additionalProperties":true},
5978
+ },
5979
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1308,"column":3},
5549
5980
  },
5550
5981
  'qaSurface/accountsUpdateNotifications': {
5551
5982
  service: 'qaSurface',
@@ -5591,7 +6022,7 @@ const $remote = createTypertRemoteInfo({
5591
6022
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateNotifications_result$schema,
5592
6023
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5593
6024
  },
5594
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1125,"column":3},
6025
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1248,"column":3},
5595
6026
  },
5596
6027
  'qaSurface/accountsUpdateProfile': {
5597
6028
  service: 'qaSurface',
@@ -5637,7 +6068,7 @@ const $remote = createTypertRemoteInfo({
5637
6068
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
5638
6069
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5639
6070
  },
5640
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1098,"column":3},
6071
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1221,"column":3},
5641
6072
  },
5642
6073
  'qaSurface/accountsUpdateStarters': {
5643
6074
  service: 'qaSurface',
@@ -5683,7 +6114,7 @@ const $remote = createTypertRemoteInfo({
5683
6114
  create: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
5684
6115
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5685
6116
  },
5686
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1111,"column":3},
6117
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1234,"column":3},
5687
6118
  },
5688
6119
  'qaSurface/accountsWhoami': {
5689
6120
  service: 'qaSurface',
@@ -5712,7 +6143,7 @@ const $remote = createTypertRemoteInfo({
5712
6143
  create: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
5713
6144
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
5714
6145
  },
5715
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1054,"column":3},
6146
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1177,"column":3},
5716
6147
  },
5717
6148
  'qaSurface/adminAudit': {
5718
6149
  service: 'qaSurface',
@@ -5789,7 +6220,7 @@ const $remote = createTypertRemoteInfo({
5789
6220
  create: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
5790
6221
  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
6222
  },
5792
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1755,"column":3},
6223
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1970,"column":3},
5793
6224
  },
5794
6225
  'qaSurface/adminConversation': {
5795
6226
  service: 'qaSurface',
@@ -5835,7 +6266,7 @@ const $remote = createTypertRemoteInfo({
5835
6266
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
5836
6267
  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
6268
  },
5838
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1632,"column":3},
6269
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1847,"column":3},
5839
6270
  },
5840
6271
  'qaSurface/adminConversations': {
5841
6272
  service: 'qaSurface',
@@ -5913,7 +6344,7 @@ const $remote = createTypertRemoteInfo({
5913
6344
  create: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
5914
6345
  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
6346
  },
5916
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1612,"column":3},
6347
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1827,"column":3},
5917
6348
  },
5918
6349
  'qaSurface/adminDeleteConversation': {
5919
6350
  service: 'qaSurface',
@@ -5959,7 +6390,7 @@ const $remote = createTypertRemoteInfo({
5959
6390
  create: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_result$schema,
5960
6391
  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
6392
  },
5962
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1647,"column":3},
6393
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1862,"column":3},
5963
6394
  },
5964
6395
  'qaSurface/adminFeedback': {
5965
6396
  service: 'qaSurface',
@@ -6036,7 +6467,7 @@ const $remote = createTypertRemoteInfo({
6036
6467
  create: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
6037
6468
  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
6469
  },
6039
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1660,"column":3},
6470
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1875,"column":3},
6040
6471
  },
6041
6472
  'qaSurface/adminHarvestFeedback': {
6042
6473
  service: 'qaSurface',
@@ -6082,7 +6513,7 @@ const $remote = createTypertRemoteInfo({
6082
6513
  create: _yadsh_dsh_qa_surface_qaSurface_adminHarvestFeedback_result$schema,
6083
6514
  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
6515
  },
6085
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1697,"column":3},
6516
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1912,"column":3},
6086
6517
  },
6087
6518
  'qaSurface/adminMemoryCorrect': {
6088
6519
  service: 'qaSurface',
@@ -6160,7 +6591,7 @@ const $remote = createTypertRemoteInfo({
6160
6591
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryCorrect_result$schema,
6161
6592
  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
6593
  },
6163
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1506,"column":3},
6594
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1721,"column":3},
6164
6595
  },
6165
6596
  'qaSurface/adminMemoryForget': {
6166
6597
  service: 'qaSurface',
@@ -6222,7 +6653,7 @@ const $remote = createTypertRemoteInfo({
6222
6653
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryForget_result$schema,
6223
6654
  jsonSchema: {"type":"number"},
6224
6655
  },
6225
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1519,"column":3},
6656
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1734,"column":3},
6226
6657
  },
6227
6658
  'qaSurface/adminMemoryRecords': {
6228
6659
  service: 'qaSurface',
@@ -6316,7 +6747,7 @@ const $remote = createTypertRemoteInfo({
6316
6747
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryRecords_result$schema,
6317
6748
  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
6749
  },
6319
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1492,"column":3},
6750
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1707,"column":3},
6320
6751
  },
6321
6752
  'qaSurface/adminMemoryScopes': {
6322
6753
  service: 'qaSurface',
@@ -6346,7 +6777,7 @@ const $remote = createTypertRemoteInfo({
6346
6777
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryScopes_result$schema,
6347
6778
  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
6779
  },
6349
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1486,"column":3},
6780
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1701,"column":3},
6350
6781
  },
6351
6782
  'qaSurface/adminMemoryWipe': {
6352
6783
  service: 'qaSurface',
@@ -6408,7 +6839,7 @@ const $remote = createTypertRemoteInfo({
6408
6839
  create: _yadsh_dsh_qa_surface_qaSurface_adminMemoryWipe_result$schema,
6409
6840
  jsonSchema: {"type":"number"},
6410
6841
  },
6411
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1537,"column":3},
6842
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1752,"column":3},
6412
6843
  },
6413
6844
  'qaSurface/adminMetrics': {
6414
6845
  service: 'qaSurface',
@@ -6438,7 +6869,7 @@ const $remote = createTypertRemoteInfo({
6438
6869
  create: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
6439
6870
  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
6871
  },
6441
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1748,"column":3},
6872
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1963,"column":3},
6442
6873
  },
6443
6874
  'qaSurface/adminOverview': {
6444
6875
  service: 'qaSurface',
@@ -6469,7 +6900,7 @@ const $remote = createTypertRemoteInfo({
6469
6900
  create: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
6470
6901
  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
6902
  },
6472
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1556,"column":3},
6903
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1771,"column":3},
6473
6904
  },
6474
6905
  'qaSurface/adminPasswordResetRequests': {
6475
6906
  service: 'qaSurface',
@@ -6498,7 +6929,7 @@ const $remote = createTypertRemoteInfo({
6498
6929
  create: _yadsh_dsh_qa_surface_qaSurface_adminPasswordResetRequests_result$schema,
6499
6930
  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
6931
  },
6501
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1592,"column":3},
6932
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1807,"column":3},
6502
6933
  },
6503
6934
  'qaSurface/adminQueueConversation': {
6504
6935
  service: 'qaSurface',
@@ -6560,7 +6991,7 @@ const $remote = createTypertRemoteInfo({
6560
6991
  create: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
6561
6992
  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
6993
  },
6563
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1725,"column":3},
6994
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1940,"column":3},
6564
6995
  },
6565
6996
  'qaSurface/adminRateMessage': {
6566
6997
  service: 'qaSurface',
@@ -6638,7 +7069,7 @@ const $remote = createTypertRemoteInfo({
6638
7069
  create: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
6639
7070
  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
7071
  },
6641
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1681,"column":3},
7072
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1896,"column":3},
6642
7073
  },
6643
7074
  'qaSurface/adminResetPassword': {
6644
7075
  service: 'qaSurface',
@@ -6697,9 +7128,9 @@ const $remote = createTypertRemoteInfo({
6697
7128
  mode: 'strict',
6698
7129
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
6699
7130
  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},
7131
+ 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
7132
  },
6702
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1601,"column":3},
7133
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1816,"column":3},
6703
7134
  },
6704
7135
  'qaSurface/adminReviewQueue': {
6705
7136
  service: 'qaSurface',
@@ -6761,7 +7192,7 @@ const $remote = createTypertRemoteInfo({
6761
7192
  create: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
6762
7193
  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
7194
  },
6764
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1707,"column":3},
7195
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1922,"column":3},
6765
7196
  },
6766
7197
  'qaSurface/adminSaveReview': {
6767
7198
  service: 'qaSurface',
@@ -6806,7 +7237,7 @@ const $remote = createTypertRemoteInfo({
6806
7237
  create: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
6807
7238
  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
7239
  },
6809
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1740,"column":3},
7240
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1955,"column":3},
6810
7241
  },
6811
7242
  'qaSurface/adminSkill': {
6812
7243
  service: 'qaSurface',
@@ -6868,7 +7299,7 @@ const $remote = createTypertRemoteInfo({
6868
7299
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkill_result$schema,
6869
7300
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
6870
7301
  },
6871
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1410,"column":3},
7302
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1625,"column":3},
6872
7303
  },
6873
7304
  'qaSurface/adminSkillDelete': {
6874
7305
  service: 'qaSurface',
@@ -6946,7 +7377,7 @@ const $remote = createTypertRemoteInfo({
6946
7377
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillDelete_result$schema,
6947
7378
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
6948
7379
  },
6949
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1438,"column":3},
7380
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1653,"column":3},
6950
7381
  },
6951
7382
  'qaSurface/adminSkills': {
6952
7383
  service: 'qaSurface',
@@ -6992,7 +7423,7 @@ const $remote = createTypertRemoteInfo({
6992
7423
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkills_result$schema,
6993
7424
  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
7425
  },
6995
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1401,"column":3},
7426
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1616,"column":3},
6996
7427
  },
6997
7428
  'qaSurface/adminSkillSave': {
6998
7429
  service: 'qaSurface',
@@ -7070,7 +7501,7 @@ const $remote = createTypertRemoteInfo({
7070
7501
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillSave_result$schema,
7071
7502
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7072
7503
  },
7073
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1425,"column":3},
7504
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1640,"column":3},
7074
7505
  },
7075
7506
  'qaSurface/adminSkillTools': {
7076
7507
  service: 'qaSurface',
@@ -7116,7 +7547,7 @@ const $remote = createTypertRemoteInfo({
7116
7547
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillTools_result$schema,
7117
7548
  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
7549
  },
7119
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1464,"column":9},
7550
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1679,"column":9},
7120
7551
  },
7121
7552
  'qaSurface/adminSkillValidate': {
7122
7553
  service: 'qaSurface',
@@ -7194,7 +7625,7 @@ const $remote = createTypertRemoteInfo({
7194
7625
  create: _yadsh_dsh_qa_surface_qaSurface_adminSkillValidate_result$schema,
7195
7626
  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
7627
  },
7197
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1451,"column":3},
7628
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1666,"column":3},
7198
7629
  },
7199
7630
  'qaSurface/adminUpdateUser': {
7200
7631
  service: 'qaSurface',
@@ -7240,13 +7671,13 @@ const $remote = createTypertRemoteInfo({
7240
7671
  mode: 'strict',
7241
7672
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7242
7673
  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},
7674
+ 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
7675
  },
7245
7676
  strictCodec: {
7246
7677
  mode: 'strict',
7247
7678
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
7248
7679
  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},
7680
+ 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
7681
  },
7251
7682
  },
7252
7683
  ],
@@ -7254,9 +7685,9 @@ const $remote = createTypertRemoteInfo({
7254
7685
  mode: 'strict',
7255
7686
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7256
7687
  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},
7688
+ 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
7689
  },
7259
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1581,"column":3},
7690
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1796,"column":3},
7260
7691
  },
7261
7692
  'qaSurface/adminUser': {
7262
7693
  service: 'qaSurface',
@@ -7299,9 +7730,9 @@ const $remote = createTypertRemoteInfo({
7299
7730
  mode: 'strict',
7300
7731
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
7301
7732
  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},
7733
+ 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
7734
  },
7304
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1575,"column":3},
7735
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1790,"column":3},
7305
7736
  },
7306
7737
  'qaSurface/adminUsers': {
7307
7738
  service: 'qaSurface',
@@ -7376,9 +7807,9 @@ const $remote = createTypertRemoteInfo({
7376
7807
  mode: 'strict',
7377
7808
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
7378
7809
  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},
7810
+ 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
7811
  },
7381
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1563,"column":3},
7812
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1778,"column":3},
7382
7813
  },
7383
7814
  'qaSurface/answerApproval': {
7384
7815
  service: 'qaSurface',
@@ -7456,7 +7887,7 @@ const $remote = createTypertRemoteInfo({
7456
7887
  create: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
7457
7888
  jsonSchema: {"type":"boolean"},
7458
7889
  },
7459
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2094,"column":9},
7890
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2314,"column":9},
7460
7891
  },
7461
7892
  'qaSurface/answerQuestion': {
7462
7893
  service: 'qaSurface',
@@ -7534,7 +7965,7 @@ const $remote = createTypertRemoteInfo({
7534
7965
  create: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
7535
7966
  jsonSchema: {"type":"boolean"},
7536
7967
  },
7537
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2274,"column":9},
7968
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2494,"column":9},
7538
7969
  },
7539
7970
  'qaSurface/approveDocumentWorkflow': {
7540
7971
  service: 'qaSurface',
@@ -7628,7 +8059,7 @@ const $remote = createTypertRemoteInfo({
7628
8059
  create: _yadsh_dsh_qa_surface_qaSurface_approveDocumentWorkflow_result$schema,
7629
8060
  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
8061
  },
7631
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2536,"column":9},
8062
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2756,"column":9},
7632
8063
  },
7633
8064
  'qaSurface/cancelQuestion': {
7634
8065
  service: 'qaSurface',
@@ -7690,7 +8121,7 @@ const $remote = createTypertRemoteInfo({
7690
8121
  create: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
7691
8122
  jsonSchema: {"type":"boolean"},
7692
8123
  },
7693
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2288,"column":9},
8124
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2508,"column":9},
7694
8125
  },
7695
8126
  'qaSurface/chatAccess': {
7696
8127
  service: 'qaSurface',
@@ -7735,7 +8166,7 @@ const $remote = createTypertRemoteInfo({
7735
8166
  create: _yadsh_dsh_qa_surface_qaSurface_chatAccess_result$schema,
7736
8167
  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
8168
  },
7738
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1850,"column":3},
8169
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2065,"column":3},
7739
8170
  },
7740
8171
  'qaSurface/chatAttachment': {
7741
8172
  service: 'qaSurface',
@@ -7780,7 +8211,7 @@ const $remote = createTypertRemoteInfo({
7780
8211
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachment_result$schema,
7781
8212
  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
8213
  },
7783
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2001,"column":3},
8214
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2221,"column":3},
7784
8215
  },
7785
8216
  'qaSurface/chatAttachmentPath': {
7786
8217
  service: 'qaSurface',
@@ -7841,7 +8272,7 @@ const $remote = createTypertRemoteInfo({
7841
8272
  create: _yadsh_dsh_qa_surface_qaSurface_chatAttachmentPath_result$schema,
7842
8273
  jsonSchema: {"type":"string"},
7843
8274
  },
7844
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1903,"column":9},
8275
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2118,"column":9},
7845
8276
  },
7846
8277
  'qaSurface/chatAudit': {
7847
8278
  service: 'qaSurface',
@@ -7902,7 +8333,7 @@ const $remote = createTypertRemoteInfo({
7902
8333
  create: _yadsh_dsh_qa_surface_qaSurface_chatAudit_result$schema,
7903
8334
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
7904
8335
  },
7905
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1882,"column":9},
8336
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2097,"column":9},
7906
8337
  },
7907
8338
  'qaSurface/chatAuthors': {
7908
8339
  service: 'qaSurface',
@@ -7947,7 +8378,7 @@ const $remote = createTypertRemoteInfo({
7947
8378
  create: _yadsh_dsh_qa_surface_qaSurface_chatAuthors_result$schema,
7948
8379
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"requestId":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"}},"required":["requestId","userId","displayName"],"additionalProperties":true}},
7949
8380
  },
7950
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1877,"column":3},
8381
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2092,"column":3},
7951
8382
  },
7952
8383
  'qaSurface/chatCancel': {
7953
8384
  service: 'qaSurface',
@@ -7992,7 +8423,52 @@ const $remote = createTypertRemoteInfo({
7992
8423
  create: _yadsh_dsh_qa_surface_qaSurface_chatCancel_result$schema,
7993
8424
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
7994
8425
  },
7995
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2017,"column":3},
8426
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2237,"column":3},
8427
+ },
8428
+ 'qaSurface/chatCodeSources': {
8429
+ service: 'qaSurface',
8430
+ invocation: { kind: 'direct' },
8431
+ parameters: [
8432
+ {
8433
+ name: 'token',
8434
+ source: 'json',
8435
+ codec: {
8436
+ mode: 'strict',
8437
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:token',
8438
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0$schema,
8439
+ jsonSchema: {"type":"string"},
8440
+ },
8441
+ strictCodec: {
8442
+ mode: 'strict',
8443
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:token',
8444
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_0_strict$schema,
8445
+ jsonSchema: {"type":"string"},
8446
+ },
8447
+ },
8448
+ {
8449
+ name: 'sessionId',
8450
+ source: 'json',
8451
+ codec: {
8452
+ mode: 'strict',
8453
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:sessionId',
8454
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1$schema,
8455
+ jsonSchema: {"type":"string"},
8456
+ },
8457
+ strictCodec: {
8458
+ mode: 'strict',
8459
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatCodeSources:sessionId',
8460
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_parameter_1_strict$schema,
8461
+ jsonSchema: {"type":"string"},
8462
+ },
8463
+ },
8464
+ ],
8465
+ result: {
8466
+ mode: 'strict',
8467
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaChatCodeSources',
8468
+ create: _yadsh_dsh_qa_surface_qaSurface_chatCodeSources_result$schema,
8469
+ 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},
8470
+ },
8471
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1045,"column":9},
7996
8472
  },
7997
8473
  'qaSurface/chatControl': {
7998
8474
  service: 'qaSurface',
@@ -8023,7 +8499,7 @@ const $remote = createTypertRemoteInfo({
8023
8499
  create: _yadsh_dsh_qa_surface_qaSurface_chatControl_result$schema,
8024
8500
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8025
8501
  },
8026
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1970,"column":10},
8502
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2190,"column":10},
8027
8503
  },
8028
8504
  'qaSurface/chatFollow': {
8029
8505
  service: 'qaSurface',
@@ -8070,7 +8546,7 @@ const $remote = createTypertRemoteInfo({
8070
8546
  create: _yadsh_dsh_qa_surface_qaSurface_chatFollow_result$schema,
8071
8547
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8072
8548
  },
8073
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1960,"column":10},
8549
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2180,"column":10},
8074
8550
  },
8075
8551
  'qaSurface/chatGrants': {
8076
8552
  service: 'qaSurface',
@@ -8115,7 +8591,7 @@ const $remote = createTypertRemoteInfo({
8115
8591
  create: _yadsh_dsh_qa_surface_qaSurface_chatGrants_result$schema,
8116
8592
  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
8593
  },
8118
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1855,"column":3},
8594
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2070,"column":3},
8119
8595
  },
8120
8596
  'qaSurface/chatList': {
8121
8597
  service: 'qaSurface',
@@ -8145,7 +8621,7 @@ const $remote = createTypertRemoteInfo({
8145
8621
  create: _yadsh_dsh_qa_surface_qaSurface_chatList_result$schema,
8146
8622
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8147
8623
  },
8148
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1915,"column":9},
8624
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2130,"column":9},
8149
8625
  },
8150
8626
  'qaSurface/chatPage': {
8151
8627
  service: 'qaSurface',
@@ -8191,7 +8667,7 @@ const $remote = createTypertRemoteInfo({
8191
8667
  create: _yadsh_dsh_qa_surface_qaSurface_chatPage_result$schema,
8192
8668
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8193
8669
  },
8194
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1947,"column":9},
8670
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2167,"column":9},
8195
8671
  },
8196
8672
  'qaSurface/chatProjections': {
8197
8673
  service: 'qaSurface',
@@ -8237,7 +8713,7 @@ const $remote = createTypertRemoteInfo({
8237
8713
  create: _yadsh_dsh_qa_surface_qaSurface_chatProjections_result$schema,
8238
8714
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8239
8715
  },
8240
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1979,"column":9},
8716
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2199,"column":9},
8241
8717
  },
8242
8718
  'qaSurface/chatPrompt': {
8243
8719
  service: 'qaSurface',
@@ -8283,7 +8759,7 @@ const $remote = createTypertRemoteInfo({
8283
8759
  create: _yadsh_dsh_qa_surface_qaSurface_chatPrompt_result$schema,
8284
8760
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8285
8761
  },
8286
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1992,"column":3},
8762
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2212,"column":3},
8287
8763
  },
8288
8764
  'qaSurface/chatRename': {
8289
8765
  service: 'qaSurface',
@@ -8328,7 +8804,7 @@ const $remote = createTypertRemoteInfo({
8328
8804
  create: _yadsh_dsh_qa_surface_qaSurface_chatRename_result$schema,
8329
8805
  jsonSchema: {"type":"object","properties":{"title":{"type":"string"},"seq":{"type":"number"}},"required":["title","seq"],"additionalProperties":true},
8330
8806
  },
8331
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2009,"column":3},
8807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2229,"column":3},
8332
8808
  },
8333
8809
  'qaSurface/chatSearch': {
8334
8810
  service: 'qaSurface',
@@ -8374,7 +8850,68 @@ const $remote = createTypertRemoteInfo({
8374
8850
  create: _yadsh_dsh_qa_surface_qaSurface_chatSearch_result$schema,
8375
8851
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
8376
8852
  },
8377
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1923,"column":9},
8853
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2138,"column":9},
8854
+ },
8855
+ 'qaSurface/chatSelectCodeSource': {
8856
+ service: 'qaSurface',
8857
+ invocation: { kind: 'direct' },
8858
+ parameters: [
8859
+ {
8860
+ name: 'token',
8861
+ source: 'json',
8862
+ codec: {
8863
+ mode: 'strict',
8864
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:token',
8865
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0$schema,
8866
+ jsonSchema: {"type":"string"},
8867
+ },
8868
+ strictCodec: {
8869
+ mode: 'strict',
8870
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:token',
8871
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_0_strict$schema,
8872
+ jsonSchema: {"type":"string"},
8873
+ },
8874
+ },
8875
+ {
8876
+ name: 'sessionId',
8877
+ source: 'json',
8878
+ codec: {
8879
+ mode: 'strict',
8880
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:sessionId',
8881
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1$schema,
8882
+ jsonSchema: {"type":"string"},
8883
+ },
8884
+ strictCodec: {
8885
+ mode: 'strict',
8886
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:sessionId',
8887
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_1_strict$schema,
8888
+ jsonSchema: {"type":"string"},
8889
+ },
8890
+ },
8891
+ {
8892
+ name: 'source',
8893
+ source: 'json',
8894
+ codec: {
8895
+ mode: 'strict',
8896
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:source',
8897
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2$schema,
8898
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
8899
+ },
8900
+ strictCodec: {
8901
+ mode: 'strict',
8902
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/chatSelectCodeSource:source',
8903
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_parameter_2_strict$schema,
8904
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
8905
+ },
8906
+ },
8907
+ ],
8908
+ result: {
8909
+ mode: 'strict',
8910
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaChatCodeSources',
8911
+ create: _yadsh_dsh_qa_surface_qaSurface_chatSelectCodeSource_result$schema,
8912
+ 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},
8913
+ },
8914
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1061,"column":9},
8378
8915
  },
8379
8916
  'qaSurface/chatSelectModel': {
8380
8917
  service: 'qaSurface',
@@ -8419,7 +8956,7 @@ const $remote = createTypertRemoteInfo({
8419
8956
  create: _yadsh_dsh_qa_surface_qaSurface_chatSelectModel_result$schema,
8420
8957
  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
8958
  },
8422
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1936,"column":3},
8959
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2151,"column":3},
8423
8960
  },
8424
8961
  'qaSurface/chatSetGrant': {
8425
8962
  service: 'qaSurface',
@@ -8496,7 +9033,7 @@ const $remote = createTypertRemoteInfo({
8496
9033
  create: _yadsh_dsh_qa_surface_qaSurface_chatSetGrant_result$schema,
8497
9034
  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
9035
  },
8499
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1860,"column":3},
9036
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2075,"column":3},
8500
9037
  },
8501
9038
  'qaSurface/chatUpdateQueue': {
8502
9039
  service: 'qaSurface',
@@ -8541,7 +9078,7 @@ const $remote = createTypertRemoteInfo({
8541
9078
  create: _yadsh_dsh_qa_surface_qaSurface_chatUpdateQueue_result$schema,
8542
9079
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
8543
9080
  },
8544
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2022,"column":3},
9081
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2242,"column":3},
8545
9082
  },
8546
9083
  'qaSurface/chatVisible': {
8547
9084
  service: 'qaSurface',
@@ -8570,7 +9107,7 @@ const $remote = createTypertRemoteInfo({
8570
9107
  create: _yadsh_dsh_qa_surface_qaSurface_chatVisible_result$schema,
8571
9108
  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
9109
  },
8573
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1845,"column":3},
9110
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2060,"column":3},
8574
9111
  },
8575
9112
  'qaSurface/createSession': {
8576
9113
  service: 'qaSurface',
@@ -8632,7 +9169,7 @@ const $remote = createTypertRemoteInfo({
8632
9169
  create: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
8633
9170
  jsonSchema: {"type":"string"},
8634
9171
  },
8635
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1215,"column":9},
9172
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1410,"column":9},
8636
9173
  },
8637
9174
  'qaSurface/describe': {
8638
9175
  service: 'qaSurface',
@@ -8644,9 +9181,9 @@ const $remote = createTypertRemoteInfo({
8644
9181
  mode: 'strict',
8645
9182
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
8646
9183
  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},
9184
+ 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":{"fileWritePolicy":{"type":"object","properties":{"blockedExtensions":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["blockedExtensions","message"],"additionalProperties":true},"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":["fileWritePolicy","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
9185
  },
8649
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1192,"column":3},
9186
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1328,"column":3},
8650
9187
  },
8651
9188
  'qaSurface/documentWorkflowStatus': {
8652
9189
  service: 'qaSurface',
@@ -8707,7 +9244,7 @@ const $remote = createTypertRemoteInfo({
8707
9244
  create: _yadsh_dsh_qa_surface_qaSurface_documentWorkflowStatus_result$schema,
8708
9245
  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
9246
  },
8710
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2509,"column":9},
9247
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2729,"column":9},
8711
9248
  },
8712
9249
  'qaSurface/forkSession': {
8713
9250
  service: 'qaSurface',
@@ -8769,7 +9306,7 @@ const $remote = createTypertRemoteInfo({
8769
9306
  create: _yadsh_dsh_qa_surface_qaSurface_forkSession_result$schema,
8770
9307
  jsonSchema: {"type":"string"},
8771
9308
  },
8772
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1249,"column":9},
9309
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1444,"column":9},
8773
9310
  },
8774
9311
  'qaSurface/formCapabilities': {
8775
9312
  service: 'qaSurface',
@@ -8782,7 +9319,7 @@ const $remote = createTypertRemoteInfo({
8782
9319
  create: _yadsh_dsh_qa_surface_qaSurface_formCapabilities_result$schema,
8783
9320
  jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean"},"schemaVersion":{"type":"number"},"upload":{"type":"boolean"}},"required":["enabled","schemaVersion","upload"],"additionalProperties":true},
8784
9321
  },
8785
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2216,"column":9},
9322
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2436,"column":9},
8786
9323
  },
8787
9324
  'qaSurface/getForm': {
8788
9325
  service: 'qaSurface',
@@ -8843,7 +9380,7 @@ const $remote = createTypertRemoteInfo({
8843
9380
  create: _yadsh_dsh_qa_surface_qaSurface_getForm_result$schema,
8844
9381
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8845
9382
  },
8846
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2157,"column":9},
9383
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2377,"column":9},
8847
9384
  },
8848
9385
  'qaSurface/listForms': {
8849
9386
  service: 'qaSurface',
@@ -8888,7 +9425,7 @@ const $remote = createTypertRemoteInfo({
8888
9425
  create: _yadsh_dsh_qa_surface_qaSurface_listForms_result$schema,
8889
9426
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
8890
9427
  },
8891
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2136,"column":9},
9428
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2356,"column":9},
8892
9429
  },
8893
9430
  'qaSurface/listWorkspaceFiles': {
8894
9431
  service: 'qaSurface',
@@ -8950,7 +9487,7 @@ const $remote = createTypertRemoteInfo({
8950
9487
  create: _yadsh_dsh_qa_surface_qaSurface_listWorkspaceFiles_result$schema,
8951
9488
  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
9489
  },
8953
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2427,"column":9},
9490
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2647,"column":9},
8954
9491
  },
8955
9492
  'qaSurface/mutateForm': {
8956
9493
  service: 'qaSurface',
@@ -9011,7 +9548,7 @@ const $remote = createTypertRemoteInfo({
9011
9548
  create: _yadsh_dsh_qa_surface_qaSurface_mutateForm_result$schema,
9012
9549
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
9013
9550
  },
9014
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2175,"column":9},
9551
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2395,"column":9},
9015
9552
  },
9016
9553
  'qaSurface/pendingApprovals': {
9017
9554
  service: 'qaSurface',
@@ -9057,7 +9594,7 @@ const $remote = createTypertRemoteInfo({
9057
9594
  create: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
9058
9595
  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
9596
  },
9060
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2075,"column":9},
9597
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2295,"column":9},
9061
9598
  },
9062
9599
  'qaSurface/pendingQuestions': {
9063
9600
  service: 'qaSurface',
@@ -9103,7 +9640,7 @@ const $remote = createTypertRemoteInfo({
9103
9640
  create: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
9104
9641
  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
9642
  },
9106
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2111,"column":9},
9643
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2331,"column":9},
9107
9644
  },
9108
9645
  'qaSurface/previewWorkspaceDocument': {
9109
9646
  service: 'qaSurface',
@@ -9182,17 +9719,16 @@ const $remote = createTypertRemoteInfo({
9182
9719
  create: _yadsh_dsh_qa_surface_qaSurface_previewWorkspaceDocument_result$schema,
9183
9720
  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
9721
  },
9185
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2586,"column":9},
9722
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2806,"column":9},
9186
9723
  },
9187
9724
  'qaSurface/queueStatus': {
9188
9725
  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.',
9726
+ 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
9727
  invocation: { kind: 'direct' },
9191
9728
  parameters: [
9192
9729
  {
9193
9730
  name: 'token',
9194
9731
  source: 'json',
9195
- acceptsUndefined: true,
9196
9732
  codec: {
9197
9733
  mode: 'strict',
9198
9734
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:token',
@@ -9209,7 +9745,6 @@ const $remote = createTypertRemoteInfo({
9209
9745
  {
9210
9746
  name: 'sessionId',
9211
9747
  source: 'json',
9212
- acceptsUndefined: true,
9213
9748
  codec: {
9214
9749
  mode: 'strict',
9215
9750
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/queueStatus:sessionId',
@@ -9230,7 +9765,7 @@ const $remote = createTypertRemoteInfo({
9230
9765
  create: _yadsh_dsh_qa_surface_qaSurface_queueStatus_result$schema,
9231
9766
  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
9767
  },
9233
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1202,"column":3},
9768
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1344,"column":3},
9234
9769
  },
9235
9770
  'qaSurface/readFormAttachment': {
9236
9771
  service: 'qaSurface',
@@ -9305,9 +9840,9 @@ const $remote = createTypertRemoteInfo({
9305
9840
  mode: 'strict',
9306
9841
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
9307
9842
  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}]},
9843
+ 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
9844
  },
9310
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2232,"column":9},
9845
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2452,"column":9},
9311
9846
  },
9312
9847
  'qaSurface/readSourceFile': {
9313
9848
  service: 'qaSurface',
@@ -9386,7 +9921,7 @@ const $remote = createTypertRemoteInfo({
9386
9921
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
9387
9922
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9388
9923
  },
9389
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2309,"column":9},
9924
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2529,"column":9},
9390
9925
  },
9391
9926
  'qaSurface/readSourceImage': {
9392
9927
  service: 'qaSurface',
@@ -9464,7 +9999,7 @@ const $remote = createTypertRemoteInfo({
9464
9999
  create: _yadsh_dsh_qa_surface_qaSurface_readSourceImage_result$schema,
9465
10000
  jsonSchema: {"type":"string"},
9466
10001
  },
9467
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2382,"column":9},
10002
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2602,"column":9},
9468
10003
  },
9469
10004
  'qaSurface/readWorkspaceFile': {
9470
10005
  service: 'qaSurface',
@@ -9526,7 +10061,7 @@ const $remote = createTypertRemoteInfo({
9526
10061
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFile_result$schema,
9527
10062
  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
10063
  },
9529
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2455,"column":9},
10064
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2675,"column":9},
9530
10065
  },
9531
10066
  'qaSurface/readWorkspaceFileChunk': {
9532
10067
  service: 'qaSurface',
@@ -9620,7 +10155,7 @@ const $remote = createTypertRemoteInfo({
9620
10155
  create: _yadsh_dsh_qa_surface_qaSurface_readWorkspaceFileChunk_result$schema,
9621
10156
  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
10157
  },
9623
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2482,"column":9},
10158
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2702,"column":9},
9624
10159
  },
9625
10160
  'qaSurface/secureSession': {
9626
10161
  service: 'qaSurface',
@@ -9666,7 +10201,7 @@ const $remote = createTypertRemoteInfo({
9666
10201
  create: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
9667
10202
  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
10203
  },
9669
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1768,"column":9},
10204
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1983,"column":9},
9670
10205
  },
9671
10206
  'qaSurface/skillsCreate': {
9672
10207
  service: 'qaSurface',
@@ -9712,7 +10247,7 @@ const $remote = createTypertRemoteInfo({
9712
10247
  create: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
9713
10248
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9714
10249
  },
9715
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2660,"column":3},
10250
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2880,"column":3},
9716
10251
  },
9717
10252
  'qaSurface/skillsGet': {
9718
10253
  service: 'qaSurface',
@@ -9758,7 +10293,7 @@ const $remote = createTypertRemoteInfo({
9758
10293
  create: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
9759
10294
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9760
10295
  },
9761
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2654,"column":3},
10296
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2874,"column":3},
9762
10297
  },
9763
10298
  'qaSurface/skillsList': {
9764
10299
  service: 'qaSurface',
@@ -9788,7 +10323,7 @@ const $remote = createTypertRemoteInfo({
9788
10323
  create: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
9789
10324
  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
10325
  },
9791
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2648,"column":3},
10326
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2868,"column":3},
9792
10327
  },
9793
10328
  'qaSurface/skillsRemove': {
9794
10329
  service: 'qaSurface',
@@ -9850,7 +10385,7 @@ const $remote = createTypertRemoteInfo({
9850
10385
  create: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
9851
10386
  jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"trashed":{"type":"boolean"}},"required":["name","trashed"],"additionalProperties":true},
9852
10387
  },
9853
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2679,"column":3},
10388
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2899,"column":3},
9854
10389
  },
9855
10390
  'qaSurface/skillsTools': {
9856
10391
  service: 'qaSurface',
@@ -9880,7 +10415,7 @@ const $remote = createTypertRemoteInfo({
9880
10415
  create: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
9881
10416
  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
10417
  },
9883
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2705,"column":3},
10418
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2925,"column":3},
9884
10419
  },
9885
10420
  'qaSurface/skillsUpdate': {
9886
10421
  service: 'qaSurface',
@@ -9942,7 +10477,7 @@ const $remote = createTypertRemoteInfo({
9942
10477
  create: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
9943
10478
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
9944
10479
  },
9945
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2669,"column":3},
10480
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2889,"column":3},
9946
10481
  },
9947
10482
  'qaSurface/skillsValidate': {
9948
10483
  service: 'qaSurface',
@@ -10004,7 +10539,7 @@ const $remote = createTypertRemoteInfo({
10004
10539
  create: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
10005
10540
  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
10541
  },
10007
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2692,"column":3},
10542
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2912,"column":3},
10008
10543
  },
10009
10544
  'qaSurface/slashCatalog': {
10010
10545
  service: 'qaSurface',
@@ -10050,7 +10585,7 @@ const $remote = createTypertRemoteInfo({
10050
10585
  create: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_result$schema,
10051
10586
  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
10587
  },
10053
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2722,"column":3},
10588
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2942,"column":3},
10054
10589
  },
10055
10590
  'qaSurface/slashExecute': {
10056
10591
  service: 'qaSurface',
@@ -10128,7 +10663,7 @@ const $remote = createTypertRemoteInfo({
10128
10663
  create: _yadsh_dsh_qa_surface_qaSurface_slashExecute_result$schema,
10129
10664
  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
10665
  },
10131
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2737,"column":3},
10666
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2957,"column":3},
10132
10667
  },
10133
10668
  'qaSurface/sources': {
10134
10669
  service: 'qaSurface',
@@ -10174,7 +10709,7 @@ const $remote = createTypertRemoteInfo({
10174
10709
  create: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
10175
10710
  jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
10176
10711
  },
10177
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2061,"column":9},
10712
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2281,"column":9},
10178
10713
  },
10179
10714
  'qaSurface/validateFormStep': {
10180
10715
  service: 'qaSurface',
@@ -10265,9 +10800,9 @@ const $remote = createTypertRemoteInfo({
10265
10800
  mode: 'strict',
10266
10801
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaFormResult',
10267
10802
  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}]},
10803
+ 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
10804
  },
10270
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2199,"column":9},
10805
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":2419,"column":9},
10271
10806
  },
10272
10807
  },
10273
10808
  }, z)
@@ -10316,6 +10851,28 @@ export const TYPERT = {
10316
10851
  "summary": "The provider and model the QA policy fixes for one chat, for a plugin that launches work out of it.",
10317
10852
  "jsDoc": "/**\n * The provider and model the QA policy fixes for one chat, for a plugin that\n * launches work out of it.\n *\n * A delegated run composes its model from its own profile, and a profile that\n * names nothing inherits the parent — which used to mean the model some\n * visitor had picked. This answers with the pair the role was given instead,\n * so a delegation follows the policy of the chat it serves rather than the\n * selection made inside it. `undefined` is the deployment naming no pair at\n * all, which leaves the caller's own configuration in force.\n *\n * @param sessionId - the chat the work is delegated from.\n */"
10318
10853
  },
10854
+ {
10855
+ "kind": "method",
10856
+ "name": "getCodeSources",
10857
+ "signature": "getCodeSources(sessionId?: string): ResolvedQaSurfaceConfig[\"codeSources\"]",
10858
+ "summary": "Shared source catalogue consumed by preset-mounted Git tools at call time.",
10859
+ "jsDoc": "/** Shared source catalogue consumed by preset-mounted Git tools at call time. */"
10860
+ },
10861
+ {
10862
+ "kind": "method",
10863
+ "name": "getSelectedCodeSource",
10864
+ "signature": "getSelectedCodeSource(sessionId: string): string | null"
10865
+ },
10866
+ {
10867
+ "kind": "method",
10868
+ "name": "chatCodeSources",
10869
+ "signature": "@Remote(\"chatCodeSources\") async chatCodeSources( token: string, sessionId: string, ): Promise<QaChatCodeSources>"
10870
+ },
10871
+ {
10872
+ "kind": "method",
10873
+ "name": "chatSelectCodeSource",
10874
+ "signature": "@Remote(\"chatSelectCodeSource\") async chatSelectCodeSource( token: string, sessionId: string, source: string | null, ): Promise<QaChatCodeSources>"
10875
+ },
10319
10876
  {
10320
10877
  "kind": "method",
10321
10878
  "name": "getConfig",
@@ -10377,7 +10934,7 @@ export const TYPERT = {
10377
10934
  {
10378
10935
  "kind": "method",
10379
10936
  "name": "accountsOwnedSessions",
10380
- "signature": "@Remote(\"accountsOwnedSessions\") accountsOwnedSessions(token: string): { readonly ids: readonly string[] }",
10937
+ "signature": "@Remote(\"accountsOwnedSessions\") accountsOwnedSessions(token: string): QaOwnedSessionsResult",
10381
10938
  "summary": "The token user's owned session ids; the sidebar list authority.",
10382
10939
  "jsDoc": "/** The token user's owned session ids; the sidebar list authority. */"
10383
10940
  },
@@ -10435,6 +10992,11 @@ export const TYPERT = {
10435
10992
  "name": "accountsSetServiceTokenClarifications",
10436
10993
  "signature": "@Remote(\"accountsSetServiceTokenClarifications\") accountsSetServiceTokenClarifications( token: string, tokenId: string, allowed: boolean, ): { readonly updated: boolean }"
10437
10994
  },
10995
+ {
10996
+ "kind": "method",
10997
+ "name": "accountsSetServiceTokenHistoryFolder",
10998
+ "signature": "@Remote(\"accountsSetServiceTokenHistoryFolder\") accountsSetServiceTokenHistoryFolder( token: string, tokenId: string, folder: QaHistoryFolderTarget | null, ): { readonly updated: boolean }"
10999
+ },
10438
11000
  {
10439
11001
  "kind": "method",
10440
11002
  "name": "describe",
@@ -10445,9 +11007,9 @@ export const TYPERT = {
10445
11007
  {
10446
11008
  "kind": "method",
10447
11009
  "name": "queueStatus",
10448
- "signature": "@Remote(\"queueStatus\") queueStatus(token?: string, sessionId?: string): QaQueueStatus",
11010
+ "signature": "@Remote(\"queueStatus\") queueStatus(token: string, sessionId: string): QaQueueStatus",
10449
11011
  "summary": "Report server admission.",
10450
- "jsDoc": "/**\n * Report server admission. Global reads expose counts only; a chat's FIFO\n * position requires that account's current read access to the chat. The\n * scheduler gates every root turn, including native and integration sends.\n */"
11012
+ "jsDoc": "/**\n * Report server admission. Global reads expose counts only; a chat's FIFO\n * position requires that account's current read access to the chat. The\n * scheduler gates every root turn, including native and integration sends.\n *\n * Both arguments are part of the wire contract: the gateway client counts\n * declared parameters rather than TypeScript optionals, so a call that omits\n * them is refused on the browser before the Host ever sees it. An empty\n * session id is the global read — the shape every initial send asks for,\n * while its draft chat has no session to name yet.\n */"
10451
11013
  },
10452
11014
  {
10453
11015
  "kind": "method",
@@ -10501,6 +11063,11 @@ export const TYPERT = {
10501
11063
  "summary": "The pairs this Host can serve, for the surface that writes a policy.",
10502
11064
  "jsDoc": "/** The pairs this Host can serve, for the surface that writes a policy. */"
10503
11065
  },
11066
+ {
11067
+ "kind": "method",
11068
+ "name": "accessUserModels",
11069
+ "signature": "@Remote(\"accessUserModels\") async accessUserModels( token: string, sessionId: string | null, subroleId: string | null, adminPreview: boolean, ): Promise<QaModelOptions>"
11070
+ },
10504
11071
  {
10505
11072
  "kind": "method",
10506
11073
  "name": "accessDeleteSubrole",
@@ -11147,6 +11714,10 @@ export const TYPERT = {
11147
11714
  "name": "QaChatAuthor",
11148
11715
  "declaration": "export interface QaChatAuthor {\n readonly requestId: string;\n readonly userId: string;\n readonly displayName: string;\n}"
11149
11716
  },
11717
+ {
11718
+ "name": "QaChatCodeSources",
11719
+ "declaration": "export interface QaChatCodeSources {\n readonly selectedSource: string | null;\n readonly effectiveSource: string | null;\n readonly entries: readonly { readonly id: string; readonly label: string; }[];\n readonly writable: boolean;\n readonly unavailable: boolean;\n}"
11720
+ },
11150
11721
  {
11151
11722
  "name": "QaChatGrant",
11152
11723
  "declaration": "export interface QaChatGrant {\n readonly userId: string;\n readonly email: string;\n readonly displayName: string;\n readonly mode: QaChatMode;\n}"
@@ -11251,6 +11822,10 @@ export const TYPERT = {
11251
11822
  "name": "QaFeedbackRow",
11252
11823
  "declaration": "export interface QaFeedbackRow extends QaMessageFeedback {\n readonly displayName: string;\n readonly subroleId: string;\n readonly conversationTitle?: string;\n readonly reviewStatus: QaReviewStatus;\n}"
11253
11824
  },
11825
+ {
11826
+ "name": "QaFileWritePolicy",
11827
+ "declaration": "export interface QaFileWritePolicy {\n readonly blockedExtensions: readonly string[];\n readonly message: string;\n}"
11828
+ },
11254
11829
  {
11255
11830
  "name": "QaFormAnswer",
11256
11831
  "declaration": "export type QaFormAnswer = { type: \"text\" | \"textarea\"; text: string; } | { type: \"single_select\" | \"multi_select\"; selected: string[]; other_text?: string | undefined; };"
@@ -11297,12 +11872,16 @@ export const TYPERT = {
11297
11872
  },
11298
11873
  {
11299
11874
  "name": "QaFormResult",
11300
- "declaration": "export type QaFormResult<T> = { ok: true; value: T; } | { ok: false; error: { code: string; message: string; form_revision?: number; field_errors?: QaFormFieldError[]; }; };"
11875
+ "declaration": "export type QaFormResult<T> = { ok: true; value: T; } | { ok: false; error: { code: string; message: string; form_revision?: number; field_errors?: QaFormFieldError[]; schema_errors?: QaFormSchemaIssue[]; }; };"
11301
11876
  },
11302
11877
  {
11303
11878
  "name": "QaFormSchema",
11304
11879
  "declaration": "export interface QaFormSchema {\n schema_version: 1;\n title: string;\n description?: string | undefined;\n submit_label?: string | undefined;\n steps: QaFormStep[];\n}"
11305
11880
  },
11881
+ {
11882
+ "name": "QaFormSchemaIssue",
11883
+ "declaration": "export interface QaFormSchemaIssue {\n path: string;\n code: string;\n message: string;\n}"
11884
+ },
11306
11885
  {
11307
11886
  "name": "QaFormStep",
11308
11887
  "declaration": "export interface QaFormStep {\n id: string;\n title: string;\n description?: string | undefined;\n items: QaFormItem[];\n}"
@@ -11319,6 +11898,10 @@ export const TYPERT = {
11319
11898
  "name": "QaFormView",
11320
11899
  "declaration": "export type QaFormView = QaFormRecord & { waiting: boolean; field_errors: QaFormFieldError[]; };"
11321
11900
  },
11901
+ {
11902
+ "name": "QaHistoryFolderTarget",
11903
+ "declaration": "export interface QaHistoryFolderTarget {\n readonly id: string;\n readonly name: string;\n}"
11904
+ },
11322
11905
  {
11323
11906
  "name": "QaImageMediaType",
11324
11907
  "declaration": "export type QaImageMediaType = \"image/png\" | \"image/jpeg\" | \"image/webp\" | \"image/gif\";"
@@ -11347,10 +11930,18 @@ export const TYPERT = {
11347
11930
  "name": "QaModelCatalogEntry",
11348
11931
  "declaration": "export interface QaModelCatalogEntry {\n readonly provider: string;\n readonly model: string;\n readonly label: string;\n readonly reasoningEfforts: readonly string[];\n}"
11349
11932
  },
11933
+ {
11934
+ "name": "QaModelOptions",
11935
+ "declaration": "export interface QaModelOptions {\n readonly models: readonly QaModelCatalogEntry[];\n readonly choices: readonly QaModelPair[];\n readonly defaultModel?: QaModelPair;\n readonly selected?: QaModelPair;\n}"
11936
+ },
11350
11937
  {
11351
11938
  "name": "QaModelPair",
11352
11939
  "declaration": "export interface QaModelPair {\n readonly provider: string;\n readonly model: string;\n readonly reasoningEffort?: string;\n}"
11353
11940
  },
11941
+ {
11942
+ "name": "QaModelReplacement",
11943
+ "declaration": "export interface QaModelReplacement {\n readonly from: QaModelPair;\n readonly to: QaModelPair;\n}"
11944
+ },
11354
11945
  {
11355
11946
  "name": "QaOidcStart",
11356
11947
  "declaration": "export interface QaOidcStart {\n readonly authorizationUrl: string;\n readonly completionKey: string;\n}"
@@ -11359,6 +11950,10 @@ export const TYPERT = {
11359
11950
  "name": "QaOverviewAlert",
11360
11951
  "declaration": "export interface QaOverviewAlert {\n readonly level: \"critical\" | \"warning\" | \"info\";\n readonly code: \"unreviewed-negatives\" | \"subrole-satisfaction\" | \"recurring-reason\";\n readonly count: number;\n readonly subject?: string;\n readonly rate?: number;\n}"
11361
11952
  },
11953
+ {
11954
+ "name": "QaOwnedSessionsResult",
11955
+ "declaration": "export interface QaOwnedSessionsResult {\n readonly ids: readonly string[];\n readonly integrationFolders?: Readonly<Record<string, QaHistoryFolderTarget>>;\n}"
11956
+ },
11362
11957
  {
11363
11958
  "name": "QaOwnershipEntry",
11364
11959
  "declaration": "export interface QaOwnershipEntry {\n readonly sessionId: string;\n readonly userId: string;\n readonly displayName: string;\n readonly claimedAt: string;\n}"
@@ -11457,7 +12052,7 @@ export const TYPERT = {
11457
12052
  },
11458
12053
  {
11459
12054
  "name": "QaServiceTokenCreateInput",
11460
- "declaration": "export interface QaServiceTokenCreateInput {\n readonly label?: string;\n readonly scopes?: readonly string[];\n readonly allowClarifications?: boolean;\n readonly ttlDays?: number;\n}"
12055
+ "declaration": "export interface QaServiceTokenCreateInput {\n readonly historyFolder?: QaHistoryFolderTarget | null;\n readonly label?: string;\n readonly scopes?: readonly string[];\n readonly allowClarifications?: boolean;\n readonly ttlDays?: number;\n}"
11461
12056
  },
11462
12057
  {
11463
12058
  "name": "QaServiceTokenScope",
@@ -11465,7 +12060,7 @@ export const TYPERT = {
11465
12060
  },
11466
12061
  {
11467
12062
  "name": "QaServiceTokenSummary",
11468
- "declaration": "export interface QaServiceTokenSummary {\n readonly id: string;\n readonly label: string;\n readonly scopes: readonly QaServiceTokenScope[];\n readonly allowClarifications?: boolean;\n readonly createdAt: string;\n readonly expiresAt: string;\n readonly lastUsedAt: string | null;\n readonly revokedAt: string | null;\n readonly useCount: number;\n}"
12063
+ "declaration": "export interface QaServiceTokenSummary {\n readonly historyFolder?: QaHistoryFolderTarget | null;\n readonly id: string;\n readonly label: string;\n readonly scopes: readonly QaServiceTokenScope[];\n readonly allowClarifications?: boolean;\n readonly createdAt: string;\n readonly expiresAt: string;\n readonly lastUsedAt: string | null;\n readonly revokedAt: string | null;\n readonly useCount: number;\n}"
11469
12064
  },
11470
12065
  {
11471
12066
  "name": "QaSessionAccess",
@@ -11625,7 +12220,7 @@ export const TYPERT = {
11625
12220
  },
11626
12221
  {
11627
12222
  "name": "QaSubrole",
11628
- "declaration": "export interface QaSubrole {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly enabled: boolean;\n readonly capabilities: QaCapabilitySelection;\n readonly model?: QaModelPair;\n readonly ui?: { readonly icon?: string; readonly accent?: string; };\n}"
12223
+ "declaration": "export interface QaSubrole {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly enabled: boolean;\n readonly capabilities: QaCapabilitySelection;\n readonly model?: QaModelPair;\n readonly allowedModels?: readonly QaModelPair[];\n readonly maxActiveRequests?: number;\n readonly ui?: { readonly icon?: string; readonly accent?: string; };\n}"
11629
12224
  },
11630
12225
  {
11631
12226
  "name": "QaToolActivationMode",
@@ -11649,7 +12244,7 @@ export const TYPERT = {
11649
12244
  },
11650
12245
  {
11651
12246
  "name": "QaUserAccess",
11652
- "declaration": "export interface QaUserAccess {\n readonly allowedSubroles: readonly string[];\n readonly defaultSubrole: string;\n readonly model?: QaModelPair;\n}"
12247
+ "declaration": "export interface QaUserAccess {\n readonly allowedSubroles: readonly string[];\n readonly defaultSubrole: string;\n readonly model?: QaModelPair;\n readonly allowedModels?: readonly QaModelPair[];\n readonly maxActiveRequests?: number;\n}"
11653
12248
  },
11654
12249
  {
11655
12250
  "name": "QaUserQuery",
@@ -11685,7 +12280,7 @@ export const TYPERT = {
11685
12280
  },
11686
12281
  {
11687
12282
  "name": "ResolvedQaSurfaceConfig",
11688
- "declaration": "export interface ResolvedQaSurfaceConfig {\n readonly forms: Readonly<import('../forms/types.js').QaFormPolicy>;\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; readonly maxActiveRequests: number; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; readonly subagentCodenames: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals: QaApprovalInteraction; readonly questions: QaQuestionInteraction; };\n readonly lockdown: { readonly enabled: boolean; readonly enforceFixedAgentPreset: boolean; readonly enforceFixedWorkspace: boolean; readonly enforceFixedModel: boolean; readonly sandboxMode: QaSandboxMode; readonly approvalPolicy: QaApprovalPolicy; readonly permissionPreset: string; readonly allowPermissionChanges: false; readonly allowSlashCommands: boolean; readonly allowSettingsMutation: false; readonly allowSessionReset: boolean; readonly allowSessionRename: false; readonly allowSessionDelete: false; readonly allowArbitrarySessionOpen: false; readonly toolPolicy: { readonly mode: QaToolPolicyMode; readonly allow: readonly string[]; }; readonly sharedReadOnlyRoots: readonly string[]; };\n readonly slashCommands: ResolvedQaSlashCommands;\n readonly embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly localLogin: boolean; readonly oidc: import('./oidc.js').ResolvedQaOidcConfig; readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly maxAuthAttemptsPerMinute: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; readonly retention: { readonly pruneVanishedSessions: boolean; readonly ownershipGraceHours: number; readonly sweepIntervalMinutes: number; }; readonly profile: { readonly enabled: boolean; readonly inject: boolean; readonly identities: readonly QaAccountIdentityField[]; readonly instructionsMaxLength: number; }; readonly starters: { readonly enabled: boolean; }; skills: { readonly enabled: boolean; readonly relativeRoot: string; readonly watch: boolean; readonly maxSkillBytes: number; readonly allowResourceEditing: boolean; }; };\n readonly entry: { readonly redirectNonLoopback: boolean; readonly cookieBootstrap: boolean; };\n readonly notifications: { readonly enabled: boolean; readonly allowOs: boolean; };\n readonly tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; readonly docsRoot: string; readonly docsDefaultVersion: string; readonly docsDefaultVersionEnabled: boolean; };\n readonly sources: { readonly enabled: boolean; readonly retention: { readonly maxTurnsPerSession: number; readonly maxSessions: number; readonly maxAgeDays: number; readonly sweepIntervalMinutes: number; }; readonly collect: { readonly parentAgent: boolean; readonly subagents: boolean; readonly persistTurnEvent: boolean; }; readonly display: { readonly sidebar: boolean; readonly footer: boolean; readonly groupByKind: boolean; readonly showDiscovered: boolean; readonly showOriginBadges: boolean; readonly maxInitiallyVisiblePerGroup: number; }; readonly webSearch: { readonly promoteSearchResultsWithoutFetch: boolean; readonly maxPromotedPerSearch: number; }; readonly dedupe: { readonly normalizeUrls: boolean; readonly stripTrackingParams: boolean; readonly mergeFileRanges: boolean; }; readonly filePreview: { readonly enabled: boolean; readonly markdownRenderedByDefault: boolean; readonly renderFrontmatter: boolean; readonly allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: number; readonly maxListingEntries: number; }; readonly subagents: { readonly inheritSources: boolean; readonly enableReportToolFallback: boolean; readonly markIncompleteOpaqueRuns: boolean; readonly validateReportedSources: boolean; }; readonly legacy: { readonly parseAssistantSourcesBlock: boolean; }; };\n readonly attachments: { readonly textFiles: boolean; readonly pastedTextLines: number; readonly maxFileBytes: number; readonly maxPending: number; readonly extensions: readonly string[]; };\n readonly notes: { readonly identity: { readonly enabled: boolean; readonly template: string; }; readonly sources: { readonly enabled: boolean; readonly template: string; readonly fallbackTemplate: string; }; readonly delegation: { readonly enabled: boolean; readonly template: string; }; readonly documents: { readonly enabled: boolean; readonly template: string; }; readonly sourcePriority: { readonly enabled: boolean; readonly template: string; }; };\n readonly integration: { readonly enabled: boolean; readonly basePath: string; readonly tokenTtlDays: number; readonly requestTimeoutMs: number; readonly maxConcurrent: number; readonly requestsPerMinute: number; readonly maxRequestBytes: number; readonly maxAttachmentBytes: number; readonly maxAnswerCharacters: number; };\n}"
12283
+ "declaration": "export interface ResolvedQaSurfaceConfig {\n readonly codeSources: CodeSourcesCatalog;\n readonly forms: Readonly<import('../forms/types.js').QaFormPolicy>;\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; readonly modelReplacements: readonly QaModelReplacement[]; readonly maxActiveRequests: number; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; readonly subagentCodenames: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals: QaApprovalInteraction; readonly questions: QaQuestionInteraction; };\n readonly lockdown: { readonly enabled: boolean; readonly enforceFixedAgentPreset: boolean; readonly enforceFixedWorkspace: boolean; readonly enforceFixedModel: boolean; readonly sandboxMode: QaSandboxMode; readonly approvalPolicy: QaApprovalPolicy; readonly permissionPreset: string; readonly allowPermissionChanges: false; readonly allowSlashCommands: boolean; readonly allowSettingsMutation: false; readonly allowSessionReset: boolean; readonly allowSessionRename: false; readonly allowSessionDelete: false; readonly allowArbitrarySessionOpen: false; readonly toolPolicy: { readonly mode: QaToolPolicyMode; readonly allow: readonly string[]; }; readonly sharedReadOnlyRoots: readonly string[]; };\n readonly slashCommands: ResolvedQaSlashCommands;\n readonly embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly localLogin: boolean; readonly oidc: import('./oidc.js').ResolvedQaOidcConfig; readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly maxAuthAttemptsPerMinute: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; readonly retention: { readonly pruneVanishedSessions: boolean; readonly ownershipGraceHours: number; readonly sweepIntervalMinutes: number; }; readonly profile: { readonly enabled: boolean; readonly inject: boolean; readonly identities: readonly QaAccountIdentityField[]; readonly instructionsMaxLength: number; }; readonly starters: { readonly enabled: boolean; }; skills: { readonly enabled: boolean; readonly relativeRoot: string; readonly sharedSeed: { readonly root: string; readonly names: readonly string[]; } | null; readonly watch: boolean; readonly maxSkillBytes: number; readonly allowResourceEditing: boolean; }; };\n readonly entry: { readonly redirectNonLoopback: boolean; readonly cookieBootstrap: boolean; };\n readonly notifications: { readonly enabled: boolean; readonly allowOs: boolean; };\n readonly tools: { readonly fileWritePolicy: import('../shared/file-write-policy.js').QaFileWritePolicy; readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; readonly docsRoot: string; readonly docsDefaultVersion: string; readonly docsDefaultVersionEnabled: boolean; };\n readonly sources: { readonly enabled: boolean; readonly retention: { readonly maxTurnsPerSession: number; readonly maxSessions: number; readonly maxAgeDays: number; readonly sweepIntervalMinutes: number; }; readonly collect: { readonly parentAgent: boolean; readonly subagents: boolean; readonly persistTurnEvent: boolean; }; readonly display: { readonly sidebar: boolean; readonly footer: boolean; readonly groupByKind: boolean; readonly showDiscovered: boolean; readonly showOriginBadges: boolean; readonly maxInitiallyVisiblePerGroup: number; }; readonly webSearch: { readonly promoteSearchResultsWithoutFetch: boolean; readonly maxPromotedPerSearch: number; }; readonly dedupe: { readonly normalizeUrls: boolean; readonly stripTrackingParams: boolean; readonly mergeFileRanges: boolean; }; readonly filePreview: { readonly enabled: boolean; readonly markdownRenderedByDefault: boolean; readonly renderFrontmatter: boolean; readonly allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: number; readonly maxListingEntries: number; }; readonly subagents: { readonly inheritSources: boolean; readonly enableReportToolFallback: boolean; readonly markIncompleteOpaqueRuns: boolean; readonly validateReportedSources: boolean; }; readonly legacy: { readonly parseAssistantSourcesBlock: boolean; }; };\n readonly attachments: { readonly textFiles: boolean; readonly pastedTextLines: number; readonly maxFileBytes: number; readonly maxPending: number; readonly extensions: readonly string[]; };\n readonly notes: { readonly identity: { readonly enabled: boolean; readonly template: string; }; readonly sources: { readonly enabled: boolean; readonly template: string; readonly fallbackTemplate: string; }; readonly delegation: { readonly enabled: boolean; readonly template: string; }; readonly documents: { readonly enabled: boolean; readonly template: string; }; readonly sourcePriority: { readonly enabled: boolean; readonly template: string; }; };\n readonly integration: { readonly enabled: boolean; readonly basePath: string; readonly tokenTtlDays: number; readonly requestTimeoutMs: number; readonly maxConcurrent: number; readonly requestsPerMinute: number; readonly maxRequestBytes: number; readonly maxAttachmentBytes: number; readonly maxAttachments: number; readonly maxAnswerCharacters: number; };\n}"
11689
12284
  }
11690
12285
  ]
11691
12286
  }