@yadsh/dsh-qa-surface 0.7.4 → 0.9.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 (247) hide show
  1. package/README.md +169 -12
  2. package/compatibility.json +5 -0
  3. package/lib/access/capability-catalog.js +32 -3
  4. package/lib/access/capability-catalog.js.map +1 -1
  5. package/lib/access/model.js +24 -4
  6. package/lib/access/model.js.map +1 -1
  7. package/lib/access/role-repository.js +199 -91
  8. package/lib/access/role-repository.js.map +1 -1
  9. package/lib/access/service.js +223 -7
  10. package/lib/access/service.js.map +1 -1
  11. package/lib/account-remotes.js +2 -4
  12. package/lib/account-remotes.js.map +1 -1
  13. package/lib/accounts/database.js +447 -0
  14. package/lib/accounts/database.js.map +1 -0
  15. package/lib/accounts/errors.js.map +1 -1
  16. package/lib/accounts/file.js +27 -90
  17. package/lib/accounts/file.js.map +1 -1
  18. package/lib/accounts/store.js +224 -59
  19. package/lib/accounts/store.js.map +1 -1
  20. package/lib/admin/permissions.js +4 -0
  21. package/lib/admin/permissions.js.map +1 -1
  22. package/lib/admin/quality-store.js +270 -54
  23. package/lib/admin/quality-store.js.map +1 -1
  24. package/lib/admin/service.js +145 -7
  25. package/lib/admin/service.js.map +1 -1
  26. package/lib/admin/session-log.js +66 -5
  27. package/lib/admin/session-log.js.map +1 -1
  28. package/lib/cli.js +2 -1
  29. package/lib/cli.js.map +1 -1
  30. package/lib/client/QaSessionController.js +379 -39
  31. package/lib/client/QaSessionController.js.map +1 -1
  32. package/lib/client/QaSurface.js +94 -34
  33. package/lib/client/QaSurface.js.map +1 -1
  34. package/lib/client/QaTranscriptAdapter.js +40 -0
  35. package/lib/client/QaTranscriptAdapter.js.map +1 -1
  36. package/lib/client/admin/QaAdmin.js +26 -8
  37. package/lib/client/admin/QaAdmin.js.map +1 -1
  38. package/lib/client/admin/{format.js → copy.js} +1 -1
  39. package/lib/client/admin/copy.js.map +1 -0
  40. package/lib/client/admin/pages/Conversations.js +34 -8
  41. package/lib/client/admin/pages/Conversations.js.map +1 -1
  42. package/lib/client/admin/pages/Overview.js +1 -1
  43. package/lib/client/admin/pages/Overview.js.map +1 -1
  44. package/lib/client/admin/pages/Quality.js +1 -1
  45. package/lib/client/admin/pages/Quality.js.map +1 -1
  46. package/lib/client/admin/pages/Review.js +1 -1
  47. package/lib/client/admin/pages/Review.js.map +1 -1
  48. package/lib/client/admin/pages/Users.js +6 -2
  49. package/lib/client/admin/pages/Users.js.map +1 -1
  50. package/lib/client/admin/shared.js +10 -1
  51. package/lib/client/admin/shared.js.map +1 -1
  52. package/lib/client/admin/styles.js +2 -0
  53. package/lib/client/admin/styles.js.map +1 -1
  54. package/lib/client/audit/QaAuditDialog.js +74 -0
  55. package/lib/client/audit/QaAuditDialog.js.map +1 -0
  56. package/lib/client/audit/QaAuditRowBadge.js +17 -0
  57. package/lib/client/audit/QaAuditRowBadge.js.map +1 -0
  58. package/lib/client/audit/controller.js +39 -0
  59. package/lib/client/audit/controller.js.map +1 -0
  60. package/lib/client/audit/types.js +36 -0
  61. package/lib/client/audit/types.js.map +1 -0
  62. package/lib/client/audit/use-chat-audits.js +139 -0
  63. package/lib/client/audit/use-chat-audits.js.map +1 -0
  64. package/lib/client/components/Markdown.js +14 -206
  65. package/lib/client/components/Markdown.js.map +1 -1
  66. package/lib/client/components/QaChangelog.js +91 -0
  67. package/lib/client/components/QaChangelog.js.map +1 -1
  68. package/lib/client/components/QaComposer.js +63 -3
  69. package/lib/client/components/QaComposer.js.map +1 -1
  70. package/lib/client/components/QaHeader.js +1 -3
  71. package/lib/client/components/QaHeader.js.map +1 -1
  72. package/lib/client/components/QaMessage.js +25 -4
  73. package/lib/client/components/QaMessage.js.map +1 -1
  74. package/lib/client/components/QaQuestions.js +1 -1
  75. package/lib/client/components/QaQuestions.js.map +1 -1
  76. package/lib/client/components/QaSidebar.js +17 -3
  77. package/lib/client/components/QaSidebar.js.map +1 -1
  78. package/lib/client/components/QaSourcesPanel.js +3 -18
  79. package/lib/client/components/QaSourcesPanel.js.map +1 -1
  80. package/lib/client/components/QaWorkGroup.js +4 -8
  81. package/lib/client/components/QaWorkGroup.js.map +1 -1
  82. package/lib/client/components/source-icon.js +26 -0
  83. package/lib/client/components/source-icon.js.map +1 -0
  84. package/lib/client/components/thinking-phrases.js +2 -11
  85. package/lib/client/components/thinking-phrases.js.map +1 -1
  86. package/lib/client/components/use-now.js +21 -0
  87. package/lib/client/components/use-now.js.map +1 -0
  88. package/lib/client/index.js +33 -5
  89. package/lib/client/index.js.map +1 -1
  90. package/lib/client/lineage.js +18 -0
  91. package/lib/client/lineage.js.map +1 -0
  92. package/lib/client/markdown/CodeBlock.js +28 -0
  93. package/lib/client/markdown/CodeBlock.js.map +1 -0
  94. package/lib/client/markdown/blocks.js +342 -0
  95. package/lib/client/markdown/blocks.js.map +1 -0
  96. package/lib/client/markdown/highlight.js +1089 -0
  97. package/lib/client/markdown/highlight.js.map +1 -0
  98. package/lib/client/markdown/inline.js +377 -0
  99. package/lib/client/markdown/inline.js.map +1 -0
  100. package/lib/client/markdown/render.js +147 -0
  101. package/lib/client/markdown/render.js.map +1 -0
  102. package/lib/client/markdown/source-chip.js +55 -0
  103. package/lib/client/markdown/source-chip.js.map +1 -0
  104. package/lib/client/markdown/use-transient-flag.js +27 -0
  105. package/lib/client/markdown/use-transient-flag.js.map +1 -0
  106. package/lib/client/project-session-state.js +15 -2
  107. package/lib/client/project-session-state.js.map +1 -1
  108. package/lib/client/prompt-content.js +26 -0
  109. package/lib/client/prompt-content.js.map +1 -1
  110. package/lib/client/role/RoleSelector.js +11 -2
  111. package/lib/client/role/RoleSelector.js.map +1 -1
  112. package/lib/client/role/preview.js +123 -0
  113. package/lib/client/role/preview.js.map +1 -0
  114. package/lib/client/settings/card.js +2 -2
  115. package/lib/client/settings/card.js.map +1 -1
  116. package/lib/client/settings/sections/lockdown.js +1 -6
  117. package/lib/client/settings/sections/lockdown.js.map +1 -1
  118. package/lib/client/settings/sections/slash.js +57 -0
  119. package/lib/client/settings/sections/slash.js.map +1 -0
  120. package/lib/client/settings/sections/status.js +9 -1
  121. package/lib/client/settings/sections/status.js.map +1 -1
  122. package/lib/client/settings/sections.js +1 -0
  123. package/lib/client/settings/sections.js.map +1 -1
  124. package/lib/client/slash/SlashPalette.js +48 -0
  125. package/lib/client/slash/SlashPalette.js.map +1 -0
  126. package/lib/client/slash/copy.js +54 -0
  127. package/lib/client/slash/copy.js.map +1 -0
  128. package/lib/client/slash/slash-router.js +49 -0
  129. package/lib/client/slash/slash-router.js.map +1 -0
  130. package/lib/client/slash/useSlashNavigation.js +95 -0
  131. package/lib/client/slash/useSlashNavigation.js.map +1 -0
  132. package/lib/client/styles.js +124 -20
  133. package/lib/client/styles.js.map +1 -1
  134. package/lib/client/types.js +11 -0
  135. package/lib/client/types.js.map +1 -1
  136. package/lib/client.js +7615 -1567
  137. package/lib/client.js.map +1 -1
  138. package/lib/config-resolvers/accounts.js +15 -0
  139. package/lib/config-resolvers/accounts.js.map +1 -1
  140. package/lib/config-resolvers/basics.js +11 -2
  141. package/lib/config-resolvers/basics.js.map +1 -1
  142. package/lib/config-resolvers/defaults.js +30 -0
  143. package/lib/config-resolvers/defaults.js.map +1 -1
  144. package/lib/config-resolvers/lockdown.js +8 -2
  145. package/lib/config-resolvers/lockdown.js.map +1 -1
  146. package/lib/config-resolvers/slash-commands.js +60 -0
  147. package/lib/config-resolvers/slash-commands.js.map +1 -0
  148. package/lib/config-resolvers/sources.js +16 -0
  149. package/lib/config-resolvers/sources.js.map +1 -1
  150. package/lib/config.js +118 -2
  151. package/lib/config.js.map +1 -1
  152. package/lib/index.js +183 -11
  153. package/lib/index.js.map +1 -1
  154. package/lib/lockdown-policy.js +19 -0
  155. package/lib/lockdown-policy.js.map +1 -1
  156. package/lib/personal-skills/service.js +16 -3
  157. package/lib/personal-skills/service.js.map +1 -1
  158. package/lib/provenance/host-store.js +25 -4
  159. package/lib/provenance/host-store.js.map +1 -1
  160. package/lib/provenance/retention.js +25 -0
  161. package/lib/provenance/retention.js.map +1 -0
  162. package/lib/provenance/snapshot-store.js +290 -35
  163. package/lib/provenance/snapshot-store.js.map +1 -1
  164. package/lib/questions.js +98 -38
  165. package/lib/questions.js.map +1 -1
  166. package/lib/resolve-config.js +5 -0
  167. package/lib/resolve-config.js.map +1 -1
  168. package/lib/secure-session.js +139 -21
  169. package/lib/secure-session.js.map +1 -1
  170. package/lib/slash/catalog.js +77 -0
  171. package/lib/slash/catalog.js.map +1 -0
  172. package/lib/slash/matcher.js +100 -0
  173. package/lib/slash/matcher.js.map +1 -0
  174. package/lib/slash/parser.js +79 -0
  175. package/lib/slash/parser.js.map +1 -0
  176. package/lib/slash/policy.js +72 -0
  177. package/lib/slash/policy.js.map +1 -0
  178. package/lib/slash/remotes.js +272 -0
  179. package/lib/slash/remotes.js.map +1 -0
  180. package/lib/typert.host.js +348 -56
  181. package/lib/typert.remote-client.d.ts +7 -1
  182. package/lib/typert.remote-client.js +274 -51
  183. package/lib/types/access/capability-catalog.d.ts +28 -1
  184. package/lib/types/access/role-repository.d.ts +38 -7
  185. package/lib/types/access/service.d.ts +106 -3
  186. package/lib/types/account-remotes.d.ts +8 -4
  187. package/lib/types/accounts/database.d.ts +84 -0
  188. package/lib/types/accounts/errors.d.ts +7 -1
  189. package/lib/types/accounts/file.d.ts +17 -39
  190. package/lib/types/accounts/store.d.ts +110 -19
  191. package/lib/types/admin/quality-store.d.ts +38 -2
  192. package/lib/types/admin/service.d.ts +34 -2
  193. package/lib/types/admin/session-log.d.ts +65 -1
  194. package/lib/types/client/QaSessionController.d.ts +84 -2
  195. package/lib/types/client/QaSurface.d.ts +14 -1
  196. package/lib/types/client/admin/{format.d.ts → copy.d.ts} +1 -1
  197. package/lib/types/client/admin/pages/Conversations.d.ts +4 -0
  198. package/lib/types/client/audit/QaAuditDialog.d.ts +21 -0
  199. package/lib/types/client/audit/QaAuditRowBadge.d.ts +18 -0
  200. package/lib/types/client/audit/controller.d.ts +27 -0
  201. package/lib/types/client/audit/types.d.ts +72 -0
  202. package/lib/types/client/audit/use-chat-audits.d.ts +20 -0
  203. package/lib/types/client/components/Markdown.d.ts +7 -8
  204. package/lib/types/client/components/QaComposer.d.ts +12 -2
  205. package/lib/types/client/components/QaQuestions.d.ts +7 -0
  206. package/lib/types/client/components/QaSidebar.d.ts +11 -1
  207. package/lib/types/client/components/QaSourcesPanel.d.ts +1 -3
  208. package/lib/types/client/components/source-icon.d.ts +12 -0
  209. package/lib/types/client/components/use-now.d.ts +8 -0
  210. package/lib/types/client/lineage.d.ts +15 -0
  211. package/lib/types/client/markdown/CodeBlock.d.ts +14 -0
  212. package/lib/types/client/markdown/blocks.d.ts +74 -0
  213. package/lib/types/client/markdown/highlight.d.ts +29 -0
  214. package/lib/types/client/markdown/inline.d.ts +40 -0
  215. package/lib/types/client/markdown/render.d.ts +13 -0
  216. package/lib/types/client/markdown/source-chip.d.ts +32 -0
  217. package/lib/types/client/markdown/use-transient-flag.d.ts +12 -0
  218. package/lib/types/client/project-session-state.d.ts +3 -1
  219. package/lib/types/client/prompt-content.d.ts +9 -1
  220. package/lib/types/client/role/RoleSelector.d.ts +11 -1
  221. package/lib/types/client/role/preview.d.ts +109 -0
  222. package/lib/types/client/settings/sections/slash.d.ts +16 -0
  223. package/lib/types/client/settings/sections.d.ts +1 -0
  224. package/lib/types/client/slash/SlashPalette.d.ts +24 -0
  225. package/lib/types/client/slash/copy.d.ts +30 -0
  226. package/lib/types/client/slash/slash-router.d.ts +67 -0
  227. package/lib/types/client/slash/useSlashNavigation.d.ts +47 -0
  228. package/lib/types/client/styles.d.ts +9 -0
  229. package/lib/types/client/types.d.ts +16 -1
  230. package/lib/types/config-resolvers/slash-commands.d.ts +20 -0
  231. package/lib/types/index.d.ts +83 -2
  232. package/lib/types/lockdown-policy.d.ts +16 -0
  233. package/lib/types/personal-skills/service.d.ts +5 -0
  234. package/lib/types/provenance/host-store.d.ts +20 -3
  235. package/lib/types/provenance/retention.d.ts +46 -0
  236. package/lib/types/provenance/snapshot-store.d.ts +63 -7
  237. package/lib/types/questions.d.ts +13 -0
  238. package/lib/types/secure-session.d.ts +27 -1
  239. package/lib/types/slash/catalog.d.ts +56 -0
  240. package/lib/types/slash/matcher.d.ts +51 -0
  241. package/lib/types/slash/parser.d.ts +46 -0
  242. package/lib/types/slash/policy.d.ts +40 -0
  243. package/lib/types/slash/remotes.d.ts +35 -0
  244. package/lib/types/types.d.ts +254 -5
  245. package/package.json +9 -5
  246. package/scripts/attach-workspace-sessions.mjs +472 -0
  247. package/lib/client/admin/format.js.map +0 -1
@@ -13,6 +13,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = z.obje
13
13
  'tools': z.object({
14
14
  'always': z.array(z.string()).readonly(),
15
15
  'skillGrantable': z.array(z.string()).readonly(),
16
+ 'deny': z.array(z.string()).readonly().optional(),
16
17
  }).readonly(),
17
18
  'skills': z.array(z.string()).readonly(),
18
19
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -28,6 +29,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = z.obje
28
29
  'tools': z.object({
29
30
  'always': z.array(z.string()).readonly(),
30
31
  'skillGrantable': z.array(z.string()).readonly(),
32
+ 'deny': z.array(z.string()).readonly().optional(),
31
33
  }).readonly(),
32
34
  'skills': z.array(z.string()).readonly(),
33
35
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -51,6 +53,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = z.obje
51
53
  'tools': z.object({
52
54
  'always': z.array(z.string()).readonly(),
53
55
  'skillGrantable': z.array(z.string()).readonly(),
56
+ 'deny': z.array(z.string()).readonly().optional(),
54
57
  }).readonly(),
55
58
  'skills': z.array(z.string()).readonly(),
56
59
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -148,6 +151,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema = z
148
151
  'tools': z.object({
149
152
  'always': z.array(z.string()).readonly(),
150
153
  'skillGrantable': z.array(z.string()).readonly(),
154
+ 'deny': z.array(z.string()).readonly().optional(),
151
155
  }).readonly(),
152
156
  'skills': z.array(z.string()).readonly(),
153
157
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -168,6 +172,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema = z.obje
168
172
  'tools': z.object({
169
173
  'always': z.array(z.string()).readonly(),
170
174
  'skillGrantable': z.array(z.string()).readonly(),
175
+ 'deny': z.array(z.string()).readonly().optional(),
171
176
  }).readonly(),
172
177
  'skills': z.array(z.string()).readonly(),
173
178
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -190,6 +195,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema = z.object({
190
195
  'tools': z.object({
191
196
  'always': z.array(z.string()).readonly(),
192
197
  'skillGrantable': z.array(z.string()).readonly(),
198
+ 'deny': z.array(z.string()).readonly().optional(),
193
199
  }).readonly(),
194
200
  'skills': z.array(z.string()).readonly(),
195
201
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -221,6 +227,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema = z.object({
221
227
  'tools': z.object({
222
228
  'always': z.array(z.string()).readonly(),
223
229
  'skillGrantable': z.array(z.string()).readonly(),
230
+ 'deny': z.array(z.string()).readonly().optional(),
224
231
  }).readonly(),
225
232
  'skills': z.array(z.string()).readonly(),
226
233
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -261,6 +268,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_1$schema = z.
261
268
  'tools': z.object({
262
269
  'always': z.array(z.string()).readonly(),
263
270
  'skillGrantable': z.array(z.string()).readonly(),
271
+ 'deny': z.array(z.string()).readonly().optional(),
264
272
  }).readonly(),
265
273
  'skills': z.array(z.string()).readonly(),
266
274
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -271,6 +279,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema = z.objec
271
279
  'tools': z.object({
272
280
  'always': z.array(z.string()).readonly(),
273
281
  'skillGrantable': z.array(z.string()).readonly(),
282
+ 'deny': z.array(z.string()).readonly().optional(),
274
283
  }).readonly(),
275
284
  'skills': z.array(z.string()).readonly(),
276
285
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -303,6 +312,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema = z
303
312
  'tools': z.object({
304
313
  'always': z.array(z.string()).readonly(),
305
314
  'skillGrantable': z.array(z.string()).readonly(),
315
+ 'deny': z.array(z.string()).readonly().optional(),
306
316
  }).readonly(),
307
317
  'skills': z.array(z.string()).readonly(),
308
318
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -323,6 +333,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema = z.obje
323
333
  'tools': z.object({
324
334
  'always': z.array(z.string()).readonly(),
325
335
  'skillGrantable': z.array(z.string()).readonly(),
336
+ 'deny': z.array(z.string()).readonly().optional(),
326
337
  }).readonly(),
327
338
  'skills': z.array(z.string()).readonly(),
328
339
  'mcpServers': z.array(z.string()).readonly().optional(),
@@ -496,7 +507,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema = z.union([z.
496
507
  const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_0$schema = z.string()
497
508
  const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_1$schema = z.object({
498
509
  'actorId': z.union([z.literal(null), z.string()]).readonly().optional(),
499
- 'action': z.union([z.literal(null), z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly().optional(),
510
+ 'action': z.union([z.literal(null), z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("conversation.deleted"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly().optional(),
500
511
  'from': z.union([z.literal(null), z.string()]).readonly().optional(),
501
512
  'to': z.union([z.literal(null), z.string()]).readonly().optional(),
502
513
  })
@@ -507,7 +518,7 @@ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema = z.object({
507
518
  'id': z.string().readonly(),
508
519
  'timestamp': z.string().readonly(),
509
520
  'actorId': z.string().readonly(),
510
- 'action': z.union([z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly(),
521
+ 'action': z.union([z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("conversation.deleted"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly(),
511
522
  'targetType': z.string().readonly().optional(),
512
523
  'targetId': z.string().readonly().optional(),
513
524
  'before': z.string().readonly().optional(),
@@ -649,6 +660,13 @@ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema = z.objec
649
660
  'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
650
661
  'total': z.number().readonly(),
651
662
  })
663
+ const _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_parameter_0$schema = z.string()
664
+ const _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_parameter_1$schema = z.string()
665
+ const _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_result$schema = z.object({
666
+ 'conversationId': z.string().readonly(),
667
+ 'sessions': z.array(z.string()).readonly(),
668
+ 'qualityRows': z.number().readonly(),
669
+ })
652
670
  const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_0$schema = z.string()
653
671
  const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_1$schema = z.object({
654
672
  'rating': z.union([z.literal(null), z.literal("positive"), z.literal("negative")]).readonly().optional(),
@@ -899,6 +917,8 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema = z.object({
899
917
  'subroleId': z.string().readonly(),
900
918
  'name': z.string().readonly(),
901
919
  'tools': z.number().readonly(),
920
+ 'grantableTools': z.number().readonly(),
921
+ 'deniedTools': z.number().readonly(),
902
922
  'skills': z.number().readonly(),
903
923
  })).readonly(),
904
924
  'activity': z.object({
@@ -931,6 +951,8 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema = z.object({
931
951
  'subroleId': z.string().readonly(),
932
952
  'name': z.string().readonly(),
933
953
  'tools': z.number().readonly(),
954
+ 'grantableTools': z.number().readonly(),
955
+ 'deniedTools': z.number().readonly(),
934
956
  'skills': z.number().readonly(),
935
957
  })).readonly(),
936
958
  'activity': z.object({
@@ -1043,7 +1065,7 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1043
1065
  'approvalPolicy': z.literal("never").readonly(),
1044
1066
  'permissionPreset': z.string().readonly(),
1045
1067
  'allowPermissionChanges': z.literal(false).readonly(),
1046
- 'allowSlashCommands': z.literal(false).readonly(),
1068
+ 'allowSlashCommands': z.boolean().readonly(),
1047
1069
  'allowSettingsMutation': z.literal(false).readonly(),
1048
1070
  'allowSessionReset': z.boolean().readonly(),
1049
1071
  'allowSessionRename': z.literal(false).readonly(),
@@ -1054,6 +1076,25 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1054
1076
  'allow': z.array(z.string()).readonly(),
1055
1077
  }).readonly(),
1056
1078
  'sharedReadOnlyRoots': z.array(z.string()).readonly(),
1079
+ }).readonly(),
1080
+ 'slashCommands': z.object({
1081
+ 'enabled': z.boolean().readonly(),
1082
+ 'skills': z.object({
1083
+ 'mode': z.union([z.literal("allow-list"), z.literal("deny-all"), z.literal("all")]).readonly(),
1084
+ 'allow': z.array(z.string()).readonly(),
1085
+ }).readonly(),
1086
+ 'commands': z.object({
1087
+ 'mode': z.union([z.literal("allow-list"), z.literal("deny-all"), z.literal("all")]).readonly(),
1088
+ 'allow': z.array(z.string()).readonly(),
1089
+ }).readonly(),
1090
+ 'palette': z.object({
1091
+ 'enabled': z.boolean().readonly(),
1092
+ 'fuzzySearch': z.boolean().readonly(),
1093
+ 'maxVisible': z.number().readonly(),
1094
+ 'showDescriptions': z.boolean().readonly(),
1095
+ 'showKindBadge': z.boolean().readonly(),
1096
+ }).readonly(),
1097
+ 'legacyDefaults': z.boolean().readonly(),
1057
1098
  }).readonly(),
1058
1099
  'embedding': z.object({
1059
1100
  'frameAncestors': z.union([z.literal(null), z.string()]).readonly(),
@@ -1062,8 +1103,14 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1062
1103
  'enabled': z.boolean().readonly(),
1063
1104
  'allowRegistration': z.boolean().readonly(),
1064
1105
  'sessionTtlDays': z.number().readonly(),
1106
+ 'maxAuthAttemptsPerMinute': z.number().readonly(),
1065
1107
  'showOtherUsersChats': z.boolean().readonly(),
1066
1108
  'perUserWorkspace': z.boolean().readonly(),
1109
+ 'retention': z.object({
1110
+ 'pruneVanishedSessions': z.boolean().readonly(),
1111
+ 'ownershipGraceHours': z.number().readonly(),
1112
+ 'sweepIntervalMinutes': z.number().readonly(),
1113
+ }).readonly(),
1067
1114
  'profile': z.object({
1068
1115
  'enabled': z.boolean().readonly(),
1069
1116
  'inject': z.boolean().readonly(),
@@ -1096,6 +1143,12 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1096
1143
  }).readonly(),
1097
1144
  'sources': z.object({
1098
1145
  'enabled': z.boolean().readonly(),
1146
+ 'retention': z.object({
1147
+ 'maxTurnsPerSession': z.number().readonly(),
1148
+ 'maxSessions': z.number().readonly(),
1149
+ 'maxAgeDays': z.number().readonly(),
1150
+ 'sweepIntervalMinutes': z.number().readonly(),
1151
+ }).readonly(),
1099
1152
  'collect': z.object({
1100
1153
  'parentAgent': z.boolean().readonly(),
1101
1154
  'subagents': z.boolean().readonly(),
@@ -1348,6 +1401,51 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema = z.object({
1348
1401
  'detail': z.union([z.literal(null), z.string()]).readonly(),
1349
1402
  })).readonly(),
1350
1403
  })
1404
+ const _yadsh_dsh_qa_surface_qaSurface_slashCatalog_parameter_0$schema = z.string()
1405
+ const _yadsh_dsh_qa_surface_qaSurface_slashCatalog_parameter_1$schema = z.string()
1406
+ const _yadsh_dsh_qa_surface_qaSurface_slashCatalog_result$schema = z.object({
1407
+ 'enabled': z.boolean().readonly(),
1408
+ 'entries': z.array(z.object({
1409
+ 'id': z.string().readonly(),
1410
+ 'kind': z.union([z.literal("skill"), z.literal("command")]).readonly(),
1411
+ 'name': z.string().readonly(),
1412
+ 'description': z.string().readonly(),
1413
+ 'whenToUse': z.string().readonly().optional(),
1414
+ 'modelInvocable': z.boolean().readonly().optional(),
1415
+ 'inputHint': z.string().readonly().optional(),
1416
+ 'acceptsAttachments': z.boolean().readonly().optional(),
1417
+ })).readonly(),
1418
+ 'commandSurface': z.union([z.literal("ready"), z.literal("unavailable"), z.literal("inactive")]).readonly(),
1419
+ 'deniedSkills': z.array(z.string()).readonly(),
1420
+ })
1421
+ const _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_0$schema = z.string()
1422
+ const _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_1$schema = z.string()
1423
+ const _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_2$schema = z.string()
1424
+ const _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_3$schema = z.array(z.union([z.object({
1425
+ 'type': z.literal("image").readonly(),
1426
+ 'mediaType': z.union([z.literal("image/png"), z.literal("image/jpeg"), z.literal("image/webp"), z.literal("image/gif")]).readonly(),
1427
+ 'data': z.string().readonly(),
1428
+ 'name': z.string().readonly().optional(),
1429
+ }), z.object({
1430
+ 'type': z.literal("file").readonly(),
1431
+ 'receiptId': z.string().readonly(),
1432
+ })]))
1433
+ const _yadsh_dsh_qa_surface_qaSurface_slashExecute_result$schema = z.union([z.object({
1434
+ 'kind': z.literal("executed").readonly(),
1435
+ 'commandId': z.string().readonly(),
1436
+ 'outcome': z.union([z.object({
1437
+ 'kind': z.literal("success").readonly(),
1438
+ 'text': z.string().readonly().optional(),
1439
+ 'sourceEventSeq': z.number().readonly().optional(),
1440
+ }), z.object({
1441
+ 'kind': z.literal("error").readonly(),
1442
+ 'text': z.string().readonly(),
1443
+ })]).readonly(),
1444
+ }), z.object({
1445
+ 'kind': z.literal("refused").readonly(),
1446
+ 'reason': z.union([z.literal("slash-disabled"), z.literal("unknown-command"), z.literal("not-allowed"), z.literal("attachments-unsupported"), z.literal("inactive-session")]).readonly(),
1447
+ 'message': z.string().readonly(),
1448
+ })])
1351
1449
  const _yadsh_dsh_qa_surface_qaSurface_sources_parameter_0$schema = z.string()
1352
1450
  const _yadsh_dsh_qa_surface_qaSurface_sources_parameter_1$schema = z.string()
1353
1451
  const _yadsh_dsh_qa_surface_qaSurface_sources_result$schema = z.array(z.object({
@@ -1451,7 +1549,7 @@ export const TYPERT = {
1451
1549
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
1452
1550
  schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
1453
1551
  },
1454
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":625,"column":9},
1552
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":766,"column":9},
1455
1553
  },
1456
1554
  {
1457
1555
  id: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole',
@@ -1486,7 +1584,7 @@ export const TYPERT = {
1486
1584
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1487
1585
  schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
1488
1586
  },
1489
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":636,"column":3},
1587
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":777,"column":3},
1490
1588
  },
1491
1589
  {
1492
1590
  id: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent',
@@ -1511,7 +1609,7 @@ export const TYPERT = {
1511
1609
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
1512
1610
  schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
1513
1611
  },
1514
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":610,"column":3},
1612
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":751,"column":3},
1515
1613
  },
1516
1614
  {
1517
1615
  id: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole',
@@ -1556,7 +1654,7 @@ export const TYPERT = {
1556
1654
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:result',
1557
1655
  schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
1558
1656
  },
1559
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":650,"column":3},
1657
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":791,"column":3},
1560
1658
  },
1561
1659
  {
1562
1660
  id: '@yadsh/dsh-qa-surface#qaSurface/accessSession',
@@ -1591,7 +1689,7 @@ export const TYPERT = {
1591
1689
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
1592
1690
  schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
1593
1691
  },
1594
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":616,"column":3},
1692
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":757,"column":3},
1595
1693
  },
1596
1694
  {
1597
1695
  id: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations',
@@ -1626,7 +1724,7 @@ export const TYPERT = {
1626
1724
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:result',
1627
1725
  schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
1628
1726
  },
1629
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":695,"column":3},
1727
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":836,"column":3},
1630
1728
  },
1631
1729
  {
1632
1730
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment',
@@ -1671,7 +1769,7 @@ export const TYPERT = {
1671
1769
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1672
1770
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
1673
1771
  },
1674
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":672,"column":3},
1772
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":813,"column":3},
1675
1773
  },
1676
1774
  {
1677
1775
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon',
@@ -1706,7 +1804,7 @@ export const TYPERT = {
1706
1804
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1707
1805
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
1708
1806
  },
1709
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":662,"column":3},
1807
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":803,"column":3},
1710
1808
  },
1711
1809
  {
1712
1810
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride',
@@ -1741,7 +1839,7 @@ export const TYPERT = {
1741
1839
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:result',
1742
1840
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
1743
1841
  },
1744
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":684,"column":3},
1842
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":825,"column":3},
1745
1843
  },
1746
1844
  {
1747
1845
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole',
@@ -1786,7 +1884,7 @@ export const TYPERT = {
1786
1884
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1787
1885
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
1788
1886
  },
1789
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":643,"column":3},
1887
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":784,"column":3},
1790
1888
  },
1791
1889
  {
1792
1890
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
@@ -1821,7 +1919,7 @@ export const TYPERT = {
1821
1919
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
1822
1920
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1823
1921
  },
1824
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
1922
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":580,"column":3},
1825
1923
  },
1826
1924
  {
1827
1925
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
@@ -1846,7 +1944,7 @@ export const TYPERT = {
1846
1944
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
1847
1945
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
1848
1946
  },
1849
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":463,"column":3},
1947
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":601,"column":3},
1850
1948
  },
1851
1949
  {
1852
1950
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
@@ -1881,7 +1979,7 @@ export const TYPERT = {
1881
1979
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1882
1980
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
1883
1981
  },
1884
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":432,"column":3},
1982
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":564,"column":3},
1885
1983
  },
1886
1984
  {
1887
1985
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
@@ -1906,7 +2004,7 @@ export const TYPERT = {
1906
2004
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
1907
2005
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
1908
2006
  },
1909
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":453,"column":3},
2007
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":591,"column":3},
1910
2008
  },
1911
2009
  {
1912
2010
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
@@ -1941,7 +2039,7 @@ export const TYPERT = {
1941
2039
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1942
2040
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
1943
2041
  },
1944
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":427,"column":3},
2042
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":559,"column":3},
1945
2043
  },
1946
2044
  {
1947
2045
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
@@ -1976,7 +2074,7 @@ export const TYPERT = {
1976
2074
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
1977
2075
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
1978
2076
  },
1979
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":476,"column":3},
2077
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":614,"column":3},
1980
2078
  },
1981
2079
  {
1982
2080
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
@@ -2011,7 +2109,7 @@ export const TYPERT = {
2011
2109
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
2012
2110
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2013
2111
  },
2014
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":489,"column":3},
2112
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":627,"column":3},
2015
2113
  },
2016
2114
  {
2017
2115
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
@@ -2036,7 +2134,7 @@ export const TYPERT = {
2036
2134
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
2037
2135
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2038
2136
  },
2039
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":438,"column":3},
2137
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":570,"column":3},
2040
2138
  },
2041
2139
  {
2042
2140
  id: '@yadsh/dsh-qa-surface#qaSurface/adminAudit',
@@ -2091,7 +2189,7 @@ export const TYPERT = {
2091
2189
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2092
2190
  schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
2093
2191
  },
2094
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":847,"column":3},
2192
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1003,"column":3},
2095
2193
  },
2096
2194
  {
2097
2195
  id: '@yadsh/dsh-qa-surface#qaSurface/adminConversation',
@@ -2126,7 +2224,7 @@ export const TYPERT = {
2126
2224
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationDetail',
2127
2225
  schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
2128
2226
  },
2129
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":764,"column":3},
2227
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":905,"column":3},
2130
2228
  },
2131
2229
  {
2132
2230
  id: '@yadsh/dsh-qa-surface#qaSurface/adminConversations',
@@ -2181,7 +2279,42 @@ export const TYPERT = {
2181
2279
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2182
2280
  schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
2183
2281
  },
2184
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":746,"column":3},
2282
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":887,"column":3},
2283
+ },
2284
+ {
2285
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminDeleteConversation',
2286
+ service: 'qaSurface',
2287
+ namespace: 'qaSurface',
2288
+ method: 'adminDeleteConversation',
2289
+ invocation: { kind: 'direct' },
2290
+ parameters: [
2291
+ {
2292
+ name: 'token',
2293
+ wire: 'token',
2294
+ source: 'json',
2295
+ codec: {
2296
+ mode: 'strict',
2297
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminDeleteConversation:token',
2298
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_parameter_0$schema,
2299
+ },
2300
+ },
2301
+ {
2302
+ name: 'conversationId',
2303
+ wire: 'conversationId',
2304
+ source: 'json',
2305
+ codec: {
2306
+ mode: 'strict',
2307
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminDeleteConversation:conversationId',
2308
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_parameter_1$schema,
2309
+ },
2310
+ },
2311
+ ],
2312
+ result: {
2313
+ mode: 'strict',
2314
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationDeletion',
2315
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminDeleteConversation_result$schema,
2316
+ },
2317
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":920,"column":3},
2185
2318
  },
2186
2319
  {
2187
2320
  id: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback',
@@ -2236,7 +2369,7 @@ export const TYPERT = {
2236
2369
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2237
2370
  schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
2238
2371
  },
2239
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":774,"column":3},
2372
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":930,"column":3},
2240
2373
  },
2241
2374
  {
2242
2375
  id: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics',
@@ -2261,7 +2394,7 @@ export const TYPERT = {
2261
2394
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaQualityMetrics',
2262
2395
  schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
2263
2396
  },
2264
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":842,"column":3},
2397
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":998,"column":3},
2265
2398
  },
2266
2399
  {
2267
2400
  id: '@yadsh/dsh-qa-surface#qaSurface/adminOverview',
@@ -2286,7 +2419,7 @@ export const TYPERT = {
2286
2419
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminOverview',
2287
2420
  schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
2288
2421
  },
2289
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":712,"column":3},
2422
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":853,"column":3},
2290
2423
  },
2291
2424
  {
2292
2425
  id: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation',
@@ -2331,7 +2464,7 @@ export const TYPERT = {
2331
2464
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaReviewQueueItem',
2332
2465
  schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
2333
2466
  },
2334
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":819,"column":3},
2467
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":975,"column":3},
2335
2468
  },
2336
2469
  {
2337
2470
  id: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage',
@@ -2386,7 +2519,7 @@ export const TYPERT = {
2386
2519
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedback',
2387
2520
  schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
2388
2521
  },
2389
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":795,"column":3},
2522
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":951,"column":3},
2390
2523
  },
2391
2524
  {
2392
2525
  id: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue',
@@ -2431,7 +2564,7 @@ export const TYPERT = {
2431
2564
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2432
2565
  schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
2433
2566
  },
2434
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":807,"column":3},
2567
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":963,"column":3},
2435
2568
  },
2436
2569
  {
2437
2570
  id: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview',
@@ -2466,7 +2599,7 @@ export const TYPERT = {
2466
2599
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReview',
2467
2600
  schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
2468
2601
  },
2469
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":834,"column":3},
2602
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":990,"column":3},
2470
2603
  },
2471
2604
  {
2472
2605
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser',
@@ -2511,7 +2644,7 @@ export const TYPERT = {
2511
2644
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2512
2645
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
2513
2646
  },
2514
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":735,"column":3},
2647
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":876,"column":3},
2515
2648
  },
2516
2649
  {
2517
2650
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUser',
@@ -2546,7 +2679,7 @@ export const TYPERT = {
2546
2679
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2547
2680
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
2548
2681
  },
2549
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":729,"column":3},
2682
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":870,"column":3},
2550
2683
  },
2551
2684
  {
2552
2685
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUsers',
@@ -2601,7 +2734,7 @@ export const TYPERT = {
2601
2734
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2602
2735
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
2603
2736
  },
2604
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":717,"column":3},
2737
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":858,"column":3},
2605
2738
  },
2606
2739
  {
2607
2740
  id: '@yadsh/dsh-qa-surface#qaSurface/answerApproval',
@@ -2656,7 +2789,7 @@ export const TYPERT = {
2656
2789
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:result',
2657
2790
  schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
2658
2791
  },
2659
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":923,"column":9},
2792
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1079,"column":9},
2660
2793
  },
2661
2794
  {
2662
2795
  id: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion',
@@ -2711,7 +2844,7 @@ export const TYPERT = {
2711
2844
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:result',
2712
2845
  schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
2713
2846
  },
2714
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":952,"column":9},
2847
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1108,"column":9},
2715
2848
  },
2716
2849
  {
2717
2850
  id: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion',
@@ -2756,7 +2889,7 @@ export const TYPERT = {
2756
2889
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:result',
2757
2890
  schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
2758
2891
  },
2759
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":964,"column":9},
2892
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1120,"column":9},
2760
2893
  },
2761
2894
  {
2762
2895
  id: '@yadsh/dsh-qa-surface#qaSurface/createSession',
@@ -2801,7 +2934,7 @@ export const TYPERT = {
2801
2934
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:result',
2802
2935
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
2803
2936
  },
2804
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":514,"column":9},
2937
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":652,"column":9},
2805
2938
  },
2806
2939
  {
2807
2940
  id: '@yadsh/dsh-qa-surface#qaSurface/describe',
@@ -2816,7 +2949,7 @@ export const TYPERT = {
2816
2949
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
2817
2950
  schema: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
2818
2951
  },
2819
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":504,"column":3},
2952
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":642,"column":3},
2820
2953
  },
2821
2954
  {
2822
2955
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals',
@@ -2851,7 +2984,7 @@ export const TYPERT = {
2851
2984
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:result',
2852
2985
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
2853
2986
  },
2854
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":909,"column":9},
2987
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1065,"column":9},
2855
2988
  },
2856
2989
  {
2857
2990
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions',
@@ -2886,7 +3019,7 @@ export const TYPERT = {
2886
3019
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:result',
2887
3020
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
2888
3021
  },
2889
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":938,"column":9},
3022
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1094,"column":9},
2890
3023
  },
2891
3024
  {
2892
3025
  id: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile',
@@ -2931,7 +3064,7 @@ export const TYPERT = {
2931
3064
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSourceFilePreview',
2932
3065
  schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
2933
3066
  },
2934
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":983,"column":9},
3067
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1139,"column":9},
2935
3068
  },
2936
3069
  {
2937
3070
  id: '@yadsh/dsh-qa-surface#qaSurface/secureSession',
@@ -2966,7 +3099,7 @@ export const TYPERT = {
2966
3099
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaLockdownProof',
2967
3100
  schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
2968
3101
  },
2969
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":860,"column":9},
3102
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1016,"column":9},
2970
3103
  },
2971
3104
  {
2972
3105
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate',
@@ -3001,7 +3134,7 @@ export const TYPERT = {
3001
3134
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
3002
3135
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
3003
3136
  },
3004
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1037,"column":3},
3137
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1193,"column":3},
3005
3138
  },
3006
3139
  {
3007
3140
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsGet',
@@ -3036,7 +3169,7 @@ export const TYPERT = {
3036
3169
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
3037
3170
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
3038
3171
  },
3039
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1031,"column":3},
3172
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1187,"column":3},
3040
3173
  },
3041
3174
  {
3042
3175
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsList',
@@ -3061,7 +3194,7 @@ export const TYPERT = {
3061
3194
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:result',
3062
3195
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
3063
3196
  },
3064
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1025,"column":3},
3197
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1181,"column":3},
3065
3198
  },
3066
3199
  {
3067
3200
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove',
@@ -3106,7 +3239,7 @@ export const TYPERT = {
3106
3239
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillRemoval',
3107
3240
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
3108
3241
  },
3109
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1056,"column":3},
3242
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1212,"column":3},
3110
3243
  },
3111
3244
  {
3112
3245
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsTools',
@@ -3131,7 +3264,7 @@ export const TYPERT = {
3131
3264
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:result',
3132
3265
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
3133
3266
  },
3134
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1082,"column":3},
3267
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1238,"column":3},
3135
3268
  },
3136
3269
  {
3137
3270
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate',
@@ -3176,7 +3309,7 @@ export const TYPERT = {
3176
3309
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
3177
3310
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
3178
3311
  },
3179
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1046,"column":3},
3312
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1202,"column":3},
3180
3313
  },
3181
3314
  {
3182
3315
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate',
@@ -3221,7 +3354,97 @@ export const TYPERT = {
3221
3354
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillValidation',
3222
3355
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
3223
3356
  },
3224
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1069,"column":3},
3357
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1225,"column":3},
3358
+ },
3359
+ {
3360
+ id: '@yadsh/dsh-qa-surface#qaSurface/slashCatalog',
3361
+ service: 'qaSurface',
3362
+ namespace: 'qaSurface',
3363
+ method: 'slashCatalog',
3364
+ invocation: { kind: 'direct' },
3365
+ parameters: [
3366
+ {
3367
+ name: 'token',
3368
+ wire: 'token',
3369
+ source: 'json',
3370
+ codec: {
3371
+ mode: 'strict',
3372
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashCatalog:token',
3373
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_parameter_0$schema,
3374
+ },
3375
+ },
3376
+ {
3377
+ name: 'sessionId',
3378
+ wire: 'sessionId',
3379
+ source: 'json',
3380
+ codec: {
3381
+ mode: 'strict',
3382
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashCatalog:sessionId',
3383
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_parameter_1$schema,
3384
+ },
3385
+ },
3386
+ ],
3387
+ result: {
3388
+ mode: 'strict',
3389
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSlashCatalog',
3390
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashCatalog_result$schema,
3391
+ },
3392
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1255,"column":3},
3393
+ },
3394
+ {
3395
+ id: '@yadsh/dsh-qa-surface#qaSurface/slashExecute',
3396
+ service: 'qaSurface',
3397
+ namespace: 'qaSurface',
3398
+ method: 'slashExecute',
3399
+ invocation: { kind: 'direct' },
3400
+ parameters: [
3401
+ {
3402
+ name: 'token',
3403
+ wire: 'token',
3404
+ source: 'json',
3405
+ codec: {
3406
+ mode: 'strict',
3407
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashExecute:token',
3408
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_0$schema,
3409
+ },
3410
+ },
3411
+ {
3412
+ name: 'sessionId',
3413
+ wire: 'sessionId',
3414
+ source: 'json',
3415
+ codec: {
3416
+ mode: 'strict',
3417
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashExecute:sessionId',
3418
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_1$schema,
3419
+ },
3420
+ },
3421
+ {
3422
+ name: 'line',
3423
+ wire: 'line',
3424
+ source: 'json',
3425
+ codec: {
3426
+ mode: 'strict',
3427
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashExecute:line',
3428
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_2$schema,
3429
+ },
3430
+ },
3431
+ {
3432
+ name: 'attachments',
3433
+ wire: 'attachments',
3434
+ source: 'json',
3435
+ codec: {
3436
+ mode: 'strict',
3437
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/slashExecute:attachments',
3438
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashExecute_parameter_3$schema,
3439
+ },
3440
+ },
3441
+ ],
3442
+ result: {
3443
+ mode: 'strict',
3444
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSlashExecution',
3445
+ schema: _yadsh_dsh_qa_surface_qaSurface_slashExecute_result$schema,
3446
+ },
3447
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1270,"column":3},
3225
3448
  },
3226
3449
  {
3227
3450
  id: '@yadsh/dsh-qa-surface#qaSurface/sources',
@@ -3256,7 +3479,7 @@ export const TYPERT = {
3256
3479
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:result',
3257
3480
  schema: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
3258
3481
  },
3259
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":896,"column":9},
3482
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1052,"column":9},
3260
3483
  },
3261
3484
  ],
3262
3485
  model: {
@@ -3319,7 +3542,7 @@ export const TYPERT = {
3319
3542
  "name": "accountsClaimSessions",
3320
3543
  "signature": "@Remote(\"accountsClaimSessions\") accountsClaimSessions( token: string, sessionIds: readonly string[], ): QaClaimResult",
3321
3544
  "summary": "Migrate a browser's local chat index into server-side ownership.",
3322
- "jsDoc": "/** Migrate a browser's local chat index into server-side ownership. */"
3545
+ "jsDoc": "/**\n * Migrate a browser's local chat index into server-side ownership. The\n * access service owns the filter: a delegated session in that index is not a\n * chat and is never claimed.\n */"
3323
3546
  },
3324
3547
  {
3325
3548
  "kind": "method",
@@ -3459,6 +3682,13 @@ export const TYPERT = {
3459
3682
  "summary": "One conversation with its messages, tool calls and review state.",
3460
3683
  "jsDoc": "/** One conversation with its messages, tool calls and review state. */"
3461
3684
  },
3685
+ {
3686
+ "kind": "method",
3687
+ "name": "adminDeleteConversation",
3688
+ "signature": "@Remote(\"adminDeleteConversation\") adminDeleteConversation( token: string, conversationId: string, ): Promise<QaConversationDeletion>",
3689
+ "summary": "Remove one conversation from the deployment.",
3690
+ "jsDoc": "/**\n * Remove one conversation from the deployment. Admin-only, audited, and the\n * only path that deletes what a person wrote — the sidebar's own delete\n * stays what it always was, a per-browser row.\n */"
3691
+ },
3462
3692
  {
3463
3693
  "kind": "method",
3464
3694
  "name": "adminFeedback",
@@ -3602,6 +3832,20 @@ export const TYPERT = {
3602
3832
  "signature": "@Remote(\"skillsTools\") skillsTools(token: string): { readonly tools: readonly QaSkillToolDescriptor[]; }",
3603
3833
  "summary": "The tool catalog the picker offers, with availability computed against this deployment's QA scope.",
3604
3834
  "jsDoc": "/**\n * The tool catalog the picker offers, with availability computed against\n * this deployment's QA scope. Declaring a tool here never grants it.\n */"
3835
+ },
3836
+ {
3837
+ "kind": "method",
3838
+ "name": "slashCatalog",
3839
+ "signature": "@Remote(\"slashCatalog\") slashCatalog(token: string, sessionId: string): Promise<QaSlashCatalog>",
3840
+ "summary": "The slash entries this browser may offer for one chat: the session's user-invocable skills and its agent's effective commands, already cut down by the deployment policy and by the chat's role.",
3841
+ "jsDoc": "/**\n * The slash entries this browser may offer for one chat: the session's\n * user-invocable skills and its agent's effective commands, already cut down\n * by the deployment policy and by the chat's role. The browser filters and\n * ranks this list; it never widens it.\n *\n * Enabled is reported rather than assumed, so a page that loaded before the\n * operator flipped the master switch learns the truth instead of showing an\n * empty palette forever.\n */"
3842
+ },
3843
+ {
3844
+ "kind": "method",
3845
+ "name": "slashExecute",
3846
+ "signature": "@Remote(\"slashExecute\") slashExecute( token: string, sessionId: string, line: string, attachments: readonly QaSlashSubmitAttachment[], ): Promise<QaSlashExecution>",
3847
+ "summary": "Run one human command line.",
3848
+ "jsDoc": "/**\n * Run one human command line. The line is the whole request — the browser\n * sends no name, no kind and no descriptor, so there is nothing for it to\n * forge; admission re-derives the name and re-checks the policy against the\n * deployment's own config.\n *\n * A command never becomes a model message: the native runtime answers it and\n * writes `command/run`/`command/done` into the session log, which is where\n * the transcript row is read from.\n */"
3605
3849
  }
3606
3850
  ],
3607
3851
  "types": [
@@ -3663,7 +3907,7 @@ export const TYPERT = {
3663
3907
  },
3664
3908
  {
3665
3909
  "name": "QaAdminAuditAction",
3666
- "declaration": "export type QaAdminAuditAction = \"user.created\" | \"user.updated\" | \"user.enabled\" | \"user.disabled\" | \"authorization.changed\" | \"subrole.assignment.changed\" | \"subrole.created\" | \"subrole.updated\" | \"subrole.deleted\" | \"common_capabilities.updated\" | \"conversation.reviewed\" | \"review.updated\" | \"review.queued\" | \"admin.settings.updated\";"
3910
+ "declaration": "export type QaAdminAuditAction = \"user.created\" | \"user.updated\" | \"user.enabled\" | \"user.disabled\" | \"authorization.changed\" | \"subrole.assignment.changed\" | \"subrole.created\" | \"subrole.updated\" | \"subrole.deleted\" | \"common_capabilities.updated\" | \"conversation.reviewed\" | \"conversation.deleted\" | \"review.updated\" | \"review.queued\" | \"admin.settings.updated\";"
3667
3911
  },
3668
3912
  {
3669
3913
  "name": "QaAdminAuditEvent",
@@ -3679,7 +3923,7 @@ export const TYPERT = {
3679
3923
  },
3680
3924
  {
3681
3925
  "name": "QaAdminUserDetail",
3682
- "declaration": "export interface QaAdminUserDetail {\n readonly user: QaAdminUserRow;\n readonly effective: readonly { readonly subroleId: string; readonly name: string; readonly tools: number; readonly skills: number; }[];\n readonly activity: { readonly conversations: number; readonly messages: number; readonly positiveRatings: number; readonly negativeRatings: number; };\n}"
3926
+ "declaration": "export interface QaAdminUserDetail {\n readonly user: QaAdminUserRow;\n readonly effective: readonly { readonly subroleId: string; readonly name: string; readonly tools: number; readonly grantableTools: number; readonly deniedTools: number; readonly skills: number; }[];\n readonly activity: { readonly conversations: number; readonly messages: number; readonly positiveRatings: number; readonly negativeRatings: number; };\n}"
3683
3927
  },
3684
3928
  {
3685
3929
  "name": "QaAdminUserRow",
@@ -3725,6 +3969,10 @@ export const TYPERT = {
3725
3969
  "name": "QaClaimResult",
3726
3970
  "declaration": "export interface QaClaimResult {\n readonly claimed: number;\n readonly conflicts: readonly string[];\n}"
3727
3971
  },
3972
+ {
3973
+ "name": "QaConversationDeletion",
3974
+ "declaration": "export interface QaConversationDeletion {\n readonly conversationId: string;\n readonly sessions: readonly string[];\n readonly qualityRows: number;\n}"
3975
+ },
3728
3976
  {
3729
3977
  "name": "QaConversationDetail",
3730
3978
  "declaration": "export interface QaConversationDetail {\n readonly conversationId: string;\n readonly summary: QaConversationSummary;\n readonly runtime: QaConversationRuntime;\n readonly messages: readonly QaConversationMessage[];\n readonly reviews: readonly QaConversationReview[];\n readonly queueItems: readonly QaReviewQueueItem[];\n}"
@@ -3777,6 +4025,10 @@ export const TYPERT = {
3777
4025
  "name": "QaFeedbackRow",
3778
4026
  "declaration": "export interface QaFeedbackRow extends QaMessageFeedback {\n readonly displayName: string;\n readonly subroleId: string;\n readonly conversationTitle?: string;\n readonly reviewStatus: QaReviewStatus;\n}"
3779
4027
  },
4028
+ {
4029
+ "name": "QaImageMediaType",
4030
+ "declaration": "export type QaImageMediaType = \"image/png\" | \"image/jpeg\" | \"image/webp\" | \"image/gif\";"
4031
+ },
3780
4032
  {
3781
4033
  "name": "QaLockdownProof",
3782
4034
  "declaration": "export interface QaLockdownProof {\n readonly sessionId: string;\n readonly enabled: boolean;\n readonly agentPresetMatches: boolean;\n readonly workspaceMatches: boolean;\n readonly modelMatches: boolean;\n readonly sandboxModeMatches: boolean;\n readonly approvalIsNever: boolean;\n readonly permissionPreset: string;\n readonly toolPolicyLoaded: boolean;\n readonly toolAllowList: readonly string[];\n}"
@@ -3957,6 +4209,42 @@ export const TYPERT = {
3957
4209
  "name": "QaSkillValidation",
3958
4210
  "declaration": "export interface QaSkillValidation {\n readonly preview: string;\n readonly diagnostics: readonly QaSkillDiagnostic[];\n}"
3959
4211
  },
4212
+ {
4213
+ "name": "QaSlashCatalog",
4214
+ "declaration": "export interface QaSlashCatalog {\n readonly enabled: boolean;\n readonly entries: readonly QaSlashCatalogEntry[];\n readonly commandSurface: QaSlashCommandSurface;\n readonly deniedSkills: readonly string[];\n}"
4215
+ },
4216
+ {
4217
+ "name": "QaSlashCatalogEntry",
4218
+ "declaration": "export interface QaSlashCatalogEntry {\n readonly id: string;\n readonly kind: QaSlashEntryKind;\n readonly name: string;\n readonly description: string;\n readonly whenToUse?: string;\n readonly modelInvocable?: boolean;\n readonly inputHint?: string;\n readonly acceptsAttachments?: boolean;\n}"
4219
+ },
4220
+ {
4221
+ "name": "QaSlashCommandOutcome",
4222
+ "declaration": "export type QaSlashCommandOutcome = { readonly kind: \"success\"; readonly text?: string; readonly sourceEventSeq?: number; } | { readonly kind: \"error\"; readonly text: string; };"
4223
+ },
4224
+ {
4225
+ "name": "QaSlashCommandSurface",
4226
+ "declaration": "export type QaSlashCommandSurface = \"ready\" | \"unavailable\" | \"inactive\";"
4227
+ },
4228
+ {
4229
+ "name": "QaSlashEntryKind",
4230
+ "declaration": "export type QaSlashEntryKind = \"skill\" | \"command\";"
4231
+ },
4232
+ {
4233
+ "name": "QaSlashExecution",
4234
+ "declaration": "export type QaSlashExecution = { readonly kind: \"executed\"; readonly commandId: string; readonly outcome: QaSlashCommandOutcome; } | { readonly kind: \"refused\"; readonly reason: QaSlashRefusal; readonly message: string; };"
4235
+ },
4236
+ {
4237
+ "name": "QaSlashPolicyMode",
4238
+ "declaration": "export type QaSlashPolicyMode = \"deny-all\" | \"allow-list\" | \"all\";"
4239
+ },
4240
+ {
4241
+ "name": "QaSlashRefusal",
4242
+ "declaration": "export type QaSlashRefusal = \"slash-disabled\" | \"unknown-command\" | \"not-allowed\" | \"attachments-unsupported\" | \"inactive-session\";"
4243
+ },
4244
+ {
4245
+ "name": "QaSlashSubmitAttachment",
4246
+ "declaration": "export type QaSlashSubmitAttachment = { readonly type: \"image\"; readonly mediaType: QaImageMediaType; readonly data: string; readonly name?: string; } | { readonly type: \"file\"; readonly receiptId: string; };"
4247
+ },
3960
4248
  {
3961
4249
  "name": "QaSourceEvidence",
3962
4250
  "declaration": "export type QaSourceEvidence = \"read\" | \"fetched\" | \"queried\" | \"reported\" | \"inherited\" | \"discovered\";"
@@ -4003,7 +4291,7 @@ export const TYPERT = {
4003
4291
  },
4004
4292
  {
4005
4293
  "name": "QaToolSelection",
4006
- "declaration": "export interface QaToolSelection {\n readonly always: readonly string[];\n readonly skillGrantable: readonly string[];\n}"
4294
+ "declaration": "export interface QaToolSelection {\n readonly always: readonly string[];\n readonly skillGrantable: readonly string[];\n readonly deny?: readonly string[];\n}"
4007
4295
  },
4008
4296
  {
4009
4297
  "name": "QaTranscriptUnavailableReason",
@@ -4025,9 +4313,13 @@ export const TYPERT = {
4025
4313
  "name": "QaWhoamiResult",
4026
4314
  "declaration": "export type QaWhoamiResult = { readonly authenticated: false; } | { readonly authenticated: true; readonly user: QaAccountUserPublic; };"
4027
4315
  },
4316
+ {
4317
+ "name": "ResolvedQaSlashCommands",
4318
+ "declaration": "export interface ResolvedQaSlashCommands {\n readonly enabled: boolean;\n readonly skills: { readonly mode: QaSlashPolicyMode; readonly allow: readonly string[]; };\n readonly commands: { readonly mode: QaSlashPolicyMode; readonly allow: readonly string[]; };\n readonly palette: { readonly enabled: boolean; readonly fuzzySearch: boolean; readonly maxVisible: number; readonly showDescriptions: boolean; readonly showKindBadge: boolean; };\n readonly legacyDefaults: boolean;\n}"
4319
+ },
4028
4320
  {
4029
4321
  "name": "ResolvedQaSurfaceConfig",
4030
- "declaration": "export interface ResolvedQaSurfaceConfig {\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; };\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: false; 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 embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; 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 tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; };\n readonly sources: { readonly enabled: boolean; 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 allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: 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}"
4322
+ "declaration": "export interface ResolvedQaSurfaceConfig {\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; };\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 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 tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; };\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 allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: 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}"
4031
4323
  }
4032
4324
  ]
4033
4325
  }