@yadsh/dsh-qa-surface 0.7.3 → 0.8.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 (146) hide show
  1. package/README.md +56 -9
  2. package/lib/access/model.js +24 -4
  3. package/lib/access/model.js.map +1 -1
  4. package/lib/access/role-repository.js +199 -91
  5. package/lib/access/role-repository.js.map +1 -1
  6. package/lib/access/service.js +194 -6
  7. package/lib/access/service.js.map +1 -1
  8. package/lib/account-remotes.js +2 -4
  9. package/lib/account-remotes.js.map +1 -1
  10. package/lib/accounts/database.js +447 -0
  11. package/lib/accounts/database.js.map +1 -0
  12. package/lib/accounts/file.js +27 -90
  13. package/lib/accounts/file.js.map +1 -1
  14. package/lib/accounts/store.js +210 -59
  15. package/lib/accounts/store.js.map +1 -1
  16. package/lib/admin/quality-store.js +199 -54
  17. package/lib/admin/quality-store.js.map +1 -1
  18. package/lib/admin/service.js +39 -6
  19. package/lib/admin/service.js.map +1 -1
  20. package/lib/cli.js +2 -1
  21. package/lib/cli.js.map +1 -1
  22. package/lib/client/QaSessionController.js +20 -2
  23. package/lib/client/QaSessionController.js.map +1 -1
  24. package/lib/client/QaSurface.js +69 -31
  25. package/lib/client/QaSurface.js.map +1 -1
  26. package/lib/client/QaTranscriptAdapter.js +4 -0
  27. package/lib/client/QaTranscriptAdapter.js.map +1 -1
  28. package/lib/client/admin/QaAdmin.js +17 -7
  29. package/lib/client/admin/QaAdmin.js.map +1 -1
  30. package/lib/client/admin/{format.js → copy.js} +1 -1
  31. package/lib/client/admin/copy.js.map +1 -0
  32. package/lib/client/admin/pages/Conversations.js +1 -1
  33. package/lib/client/admin/pages/Conversations.js.map +1 -1
  34. package/lib/client/admin/pages/Overview.js +1 -1
  35. package/lib/client/admin/pages/Overview.js.map +1 -1
  36. package/lib/client/admin/pages/Quality.js +1 -1
  37. package/lib/client/admin/pages/Quality.js.map +1 -1
  38. package/lib/client/admin/pages/Review.js +1 -1
  39. package/lib/client/admin/pages/Review.js.map +1 -1
  40. package/lib/client/admin/pages/Users.js +6 -2
  41. package/lib/client/admin/pages/Users.js.map +1 -1
  42. package/lib/client/admin/shared.js +1 -1
  43. package/lib/client/admin/shared.js.map +1 -1
  44. package/lib/client/components/Markdown.js +14 -206
  45. package/lib/client/components/Markdown.js.map +1 -1
  46. package/lib/client/components/QaChangelog.js +60 -0
  47. package/lib/client/components/QaChangelog.js.map +1 -1
  48. package/lib/client/components/QaHeader.js +1 -3
  49. package/lib/client/components/QaHeader.js.map +1 -1
  50. package/lib/client/components/QaMessage.js +9 -4
  51. package/lib/client/components/QaMessage.js.map +1 -1
  52. package/lib/client/components/QaSidebar.js +5 -2
  53. package/lib/client/components/QaSidebar.js.map +1 -1
  54. package/lib/client/components/QaSourcesPanel.js +3 -18
  55. package/lib/client/components/QaSourcesPanel.js.map +1 -1
  56. package/lib/client/components/QaWorkGroup.js +4 -8
  57. package/lib/client/components/QaWorkGroup.js.map +1 -1
  58. package/lib/client/components/source-icon.js +26 -0
  59. package/lib/client/components/source-icon.js.map +1 -0
  60. package/lib/client/components/thinking-phrases.js +2 -11
  61. package/lib/client/components/thinking-phrases.js.map +1 -1
  62. package/lib/client/components/use-now.js +21 -0
  63. package/lib/client/components/use-now.js.map +1 -0
  64. package/lib/client/index.js +11 -3
  65. package/lib/client/index.js.map +1 -1
  66. package/lib/client/lineage.js +18 -0
  67. package/lib/client/lineage.js.map +1 -0
  68. package/lib/client/markdown/CodeBlock.js +28 -0
  69. package/lib/client/markdown/CodeBlock.js.map +1 -0
  70. package/lib/client/markdown/blocks.js +342 -0
  71. package/lib/client/markdown/blocks.js.map +1 -0
  72. package/lib/client/markdown/highlight.js +1089 -0
  73. package/lib/client/markdown/highlight.js.map +1 -0
  74. package/lib/client/markdown/inline.js +377 -0
  75. package/lib/client/markdown/inline.js.map +1 -0
  76. package/lib/client/markdown/render.js +147 -0
  77. package/lib/client/markdown/render.js.map +1 -0
  78. package/lib/client/markdown/source-chip.js +55 -0
  79. package/lib/client/markdown/source-chip.js.map +1 -0
  80. package/lib/client/markdown/use-transient-flag.js +27 -0
  81. package/lib/client/markdown/use-transient-flag.js.map +1 -0
  82. package/lib/client/role/RoleSelector.js +11 -2
  83. package/lib/client/role/RoleSelector.js.map +1 -1
  84. package/lib/client/role/preview.js +123 -0
  85. package/lib/client/role/preview.js.map +1 -0
  86. package/lib/client/styles.js +73 -19
  87. package/lib/client/styles.js.map +1 -1
  88. package/lib/client.js +3137 -761
  89. package/lib/client.js.map +1 -1
  90. package/lib/config-resolvers/accounts.js +15 -0
  91. package/lib/config-resolvers/accounts.js.map +1 -1
  92. package/lib/config-resolvers/defaults.js +8 -0
  93. package/lib/config-resolvers/defaults.js.map +1 -1
  94. package/lib/config-resolvers/sources.js +16 -0
  95. package/lib/config-resolvers/sources.js.map +1 -1
  96. package/lib/config.js +57 -0
  97. package/lib/config.js.map +1 -1
  98. package/lib/index.js +25 -10
  99. package/lib/index.js.map +1 -1
  100. package/lib/lockdown-policy.js +19 -0
  101. package/lib/lockdown-policy.js.map +1 -1
  102. package/lib/provenance/host-store.js +7 -3
  103. package/lib/provenance/host-store.js.map +1 -1
  104. package/lib/provenance/retention.js +25 -0
  105. package/lib/provenance/retention.js.map +1 -0
  106. package/lib/provenance/snapshot-store.js +290 -35
  107. package/lib/provenance/snapshot-store.js.map +1 -1
  108. package/lib/questions.js +16 -3
  109. package/lib/questions.js.map +1 -1
  110. package/lib/secure-session.js +136 -23
  111. package/lib/secure-session.js.map +1 -1
  112. package/lib/typert.host.js +79 -52
  113. package/lib/typert.remote-client.js +75 -48
  114. package/lib/types/access/role-repository.d.ts +38 -7
  115. package/lib/types/access/service.d.ts +77 -3
  116. package/lib/types/account-remotes.d.ts +8 -4
  117. package/lib/types/accounts/database.d.ts +84 -0
  118. package/lib/types/accounts/file.d.ts +17 -39
  119. package/lib/types/accounts/store.d.ts +98 -19
  120. package/lib/types/admin/quality-store.d.ts +20 -2
  121. package/lib/types/client/admin/{format.d.ts → copy.d.ts} +1 -1
  122. package/lib/types/client/components/Markdown.d.ts +7 -8
  123. package/lib/types/client/components/QaSidebar.d.ts +3 -1
  124. package/lib/types/client/components/QaSourcesPanel.d.ts +1 -3
  125. package/lib/types/client/components/source-icon.d.ts +12 -0
  126. package/lib/types/client/components/use-now.d.ts +8 -0
  127. package/lib/types/client/lineage.d.ts +15 -0
  128. package/lib/types/client/markdown/CodeBlock.d.ts +14 -0
  129. package/lib/types/client/markdown/blocks.d.ts +74 -0
  130. package/lib/types/client/markdown/highlight.d.ts +29 -0
  131. package/lib/types/client/markdown/inline.d.ts +40 -0
  132. package/lib/types/client/markdown/render.d.ts +13 -0
  133. package/lib/types/client/markdown/source-chip.d.ts +32 -0
  134. package/lib/types/client/markdown/use-transient-flag.d.ts +12 -0
  135. package/lib/types/client/role/RoleSelector.d.ts +11 -1
  136. package/lib/types/client/role/preview.d.ts +109 -0
  137. package/lib/types/index.d.ts +5 -1
  138. package/lib/types/lockdown-policy.d.ts +16 -0
  139. package/lib/types/provenance/host-store.d.ts +7 -3
  140. package/lib/types/provenance/retention.d.ts +46 -0
  141. package/lib/types/provenance/snapshot-store.d.ts +63 -7
  142. package/lib/types/questions.d.ts +5 -0
  143. package/lib/types/secure-session.d.ts +27 -1
  144. package/lib/types/types.d.ts +54 -0
  145. package/package.json +3 -3
  146. 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(),
@@ -899,6 +910,8 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema = z.object({
899
910
  'subroleId': z.string().readonly(),
900
911
  'name': z.string().readonly(),
901
912
  'tools': z.number().readonly(),
913
+ 'grantableTools': z.number().readonly(),
914
+ 'deniedTools': z.number().readonly(),
902
915
  'skills': z.number().readonly(),
903
916
  })).readonly(),
904
917
  'activity': z.object({
@@ -931,6 +944,8 @@ const _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema = z.object({
931
944
  'subroleId': z.string().readonly(),
932
945
  'name': z.string().readonly(),
933
946
  'tools': z.number().readonly(),
947
+ 'grantableTools': z.number().readonly(),
948
+ 'deniedTools': z.number().readonly(),
934
949
  'skills': z.number().readonly(),
935
950
  })).readonly(),
936
951
  'activity': z.object({
@@ -1062,8 +1077,14 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1062
1077
  'enabled': z.boolean().readonly(),
1063
1078
  'allowRegistration': z.boolean().readonly(),
1064
1079
  'sessionTtlDays': z.number().readonly(),
1080
+ 'maxAuthAttemptsPerMinute': z.number().readonly(),
1065
1081
  'showOtherUsersChats': z.boolean().readonly(),
1066
1082
  'perUserWorkspace': z.boolean().readonly(),
1083
+ 'retention': z.object({
1084
+ 'pruneVanishedSessions': z.boolean().readonly(),
1085
+ 'ownershipGraceHours': z.number().readonly(),
1086
+ 'sweepIntervalMinutes': z.number().readonly(),
1087
+ }).readonly(),
1067
1088
  'profile': z.object({
1068
1089
  'enabled': z.boolean().readonly(),
1069
1090
  'inject': z.boolean().readonly(),
@@ -1096,6 +1117,12 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
1096
1117
  }).readonly(),
1097
1118
  'sources': z.object({
1098
1119
  'enabled': z.boolean().readonly(),
1120
+ 'retention': z.object({
1121
+ 'maxTurnsPerSession': z.number().readonly(),
1122
+ 'maxSessions': z.number().readonly(),
1123
+ 'maxAgeDays': z.number().readonly(),
1124
+ 'sweepIntervalMinutes': z.number().readonly(),
1125
+ }).readonly(),
1099
1126
  'collect': z.object({
1100
1127
  'parentAgent': z.boolean().readonly(),
1101
1128
  'subagents': z.boolean().readonly(),
@@ -1448,7 +1475,7 @@ export const TYPERT_REMOTE = {
1448
1475
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
1449
1476
  schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
1450
1477
  },
1451
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":625,"column":9},
1478
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":649,"column":9},
1452
1479
  },
1453
1480
  {
1454
1481
  id: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole',
@@ -1483,7 +1510,7 @@ export const TYPERT_REMOTE = {
1483
1510
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1484
1511
  schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
1485
1512
  },
1486
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":636,"column":3},
1513
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":660,"column":3},
1487
1514
  },
1488
1515
  {
1489
1516
  id: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent',
@@ -1508,7 +1535,7 @@ export const TYPERT_REMOTE = {
1508
1535
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
1509
1536
  schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
1510
1537
  },
1511
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":610,"column":3},
1538
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":634,"column":3},
1512
1539
  },
1513
1540
  {
1514
1541
  id: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole',
@@ -1553,7 +1580,7 @@ export const TYPERT_REMOTE = {
1553
1580
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:result',
1554
1581
  schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
1555
1582
  },
1556
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":650,"column":3},
1583
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":674,"column":3},
1557
1584
  },
1558
1585
  {
1559
1586
  id: '@yadsh/dsh-qa-surface#qaSurface/accessSession',
@@ -1588,7 +1615,7 @@ export const TYPERT_REMOTE = {
1588
1615
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
1589
1616
  schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
1590
1617
  },
1591
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":616,"column":3},
1618
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":640,"column":3},
1592
1619
  },
1593
1620
  {
1594
1621
  id: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations',
@@ -1623,7 +1650,7 @@ export const TYPERT_REMOTE = {
1623
1650
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:result',
1624
1651
  schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
1625
1652
  },
1626
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":695,"column":3},
1653
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":719,"column":3},
1627
1654
  },
1628
1655
  {
1629
1656
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment',
@@ -1668,7 +1695,7 @@ export const TYPERT_REMOTE = {
1668
1695
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1669
1696
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
1670
1697
  },
1671
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":672,"column":3},
1698
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":696,"column":3},
1672
1699
  },
1673
1700
  {
1674
1701
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon',
@@ -1703,7 +1730,7 @@ export const TYPERT_REMOTE = {
1703
1730
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1704
1731
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
1705
1732
  },
1706
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":662,"column":3},
1733
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":686,"column":3},
1707
1734
  },
1708
1735
  {
1709
1736
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride',
@@ -1738,7 +1765,7 @@ export const TYPERT_REMOTE = {
1738
1765
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:result',
1739
1766
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
1740
1767
  },
1741
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":684,"column":3},
1768
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":708,"column":3},
1742
1769
  },
1743
1770
  {
1744
1771
  id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole',
@@ -1783,7 +1810,7 @@ export const TYPERT_REMOTE = {
1783
1810
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1784
1811
  schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
1785
1812
  },
1786
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":643,"column":3},
1813
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":667,"column":3},
1787
1814
  },
1788
1815
  {
1789
1816
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
@@ -1818,7 +1845,7 @@ export const TYPERT_REMOTE = {
1818
1845
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
1819
1846
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1820
1847
  },
1821
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
1848
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":463,"column":3},
1822
1849
  },
1823
1850
  {
1824
1851
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
@@ -1843,7 +1870,7 @@ export const TYPERT_REMOTE = {
1843
1870
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
1844
1871
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
1845
1872
  },
1846
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":463,"column":3},
1873
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":484,"column":3},
1847
1874
  },
1848
1875
  {
1849
1876
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
@@ -1878,7 +1905,7 @@ export const TYPERT_REMOTE = {
1878
1905
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1879
1906
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
1880
1907
  },
1881
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":432,"column":3},
1908
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":447,"column":3},
1882
1909
  },
1883
1910
  {
1884
1911
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
@@ -1903,7 +1930,7 @@ export const TYPERT_REMOTE = {
1903
1930
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
1904
1931
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
1905
1932
  },
1906
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":453,"column":3},
1933
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":474,"column":3},
1907
1934
  },
1908
1935
  {
1909
1936
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
@@ -1938,7 +1965,7 @@ export const TYPERT_REMOTE = {
1938
1965
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1939
1966
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
1940
1967
  },
1941
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":427,"column":3},
1968
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":442,"column":3},
1942
1969
  },
1943
1970
  {
1944
1971
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
@@ -1973,7 +2000,7 @@ export const TYPERT_REMOTE = {
1973
2000
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
1974
2001
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
1975
2002
  },
1976
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":476,"column":3},
2003
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":497,"column":3},
1977
2004
  },
1978
2005
  {
1979
2006
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
@@ -2008,7 +2035,7 @@ export const TYPERT_REMOTE = {
2008
2035
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
2009
2036
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2010
2037
  },
2011
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":489,"column":3},
2038
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":510,"column":3},
2012
2039
  },
2013
2040
  {
2014
2041
  id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
@@ -2033,7 +2060,7 @@ export const TYPERT_REMOTE = {
2033
2060
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
2034
2061
  schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2035
2062
  },
2036
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":438,"column":3},
2063
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":453,"column":3},
2037
2064
  },
2038
2065
  {
2039
2066
  id: '@yadsh/dsh-qa-surface#qaSurface/adminAudit',
@@ -2088,7 +2115,7 @@ export const TYPERT_REMOTE = {
2088
2115
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2089
2116
  schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
2090
2117
  },
2091
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":847,"column":3},
2118
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":871,"column":3},
2092
2119
  },
2093
2120
  {
2094
2121
  id: '@yadsh/dsh-qa-surface#qaSurface/adminConversation',
@@ -2123,7 +2150,7 @@ export const TYPERT_REMOTE = {
2123
2150
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationDetail',
2124
2151
  schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
2125
2152
  },
2126
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":764,"column":3},
2153
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":788,"column":3},
2127
2154
  },
2128
2155
  {
2129
2156
  id: '@yadsh/dsh-qa-surface#qaSurface/adminConversations',
@@ -2178,7 +2205,7 @@ export const TYPERT_REMOTE = {
2178
2205
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2179
2206
  schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
2180
2207
  },
2181
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":746,"column":3},
2208
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":770,"column":3},
2182
2209
  },
2183
2210
  {
2184
2211
  id: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback',
@@ -2233,7 +2260,7 @@ export const TYPERT_REMOTE = {
2233
2260
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2234
2261
  schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
2235
2262
  },
2236
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":774,"column":3},
2263
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":798,"column":3},
2237
2264
  },
2238
2265
  {
2239
2266
  id: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics',
@@ -2258,7 +2285,7 @@ export const TYPERT_REMOTE = {
2258
2285
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaQualityMetrics',
2259
2286
  schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
2260
2287
  },
2261
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":842,"column":3},
2288
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":866,"column":3},
2262
2289
  },
2263
2290
  {
2264
2291
  id: '@yadsh/dsh-qa-surface#qaSurface/adminOverview',
@@ -2283,7 +2310,7 @@ export const TYPERT_REMOTE = {
2283
2310
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminOverview',
2284
2311
  schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
2285
2312
  },
2286
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":712,"column":3},
2313
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":736,"column":3},
2287
2314
  },
2288
2315
  {
2289
2316
  id: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation',
@@ -2328,7 +2355,7 @@ export const TYPERT_REMOTE = {
2328
2355
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaReviewQueueItem',
2329
2356
  schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
2330
2357
  },
2331
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":819,"column":3},
2358
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":843,"column":3},
2332
2359
  },
2333
2360
  {
2334
2361
  id: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage',
@@ -2383,7 +2410,7 @@ export const TYPERT_REMOTE = {
2383
2410
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedback',
2384
2411
  schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
2385
2412
  },
2386
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":795,"column":3},
2413
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":819,"column":3},
2387
2414
  },
2388
2415
  {
2389
2416
  id: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue',
@@ -2428,7 +2455,7 @@ export const TYPERT_REMOTE = {
2428
2455
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2429
2456
  schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
2430
2457
  },
2431
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":807,"column":3},
2458
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":831,"column":3},
2432
2459
  },
2433
2460
  {
2434
2461
  id: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview',
@@ -2463,7 +2490,7 @@ export const TYPERT_REMOTE = {
2463
2490
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReview',
2464
2491
  schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
2465
2492
  },
2466
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":834,"column":3},
2493
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":858,"column":3},
2467
2494
  },
2468
2495
  {
2469
2496
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser',
@@ -2508,7 +2535,7 @@ export const TYPERT_REMOTE = {
2508
2535
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2509
2536
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
2510
2537
  },
2511
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":735,"column":3},
2538
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":759,"column":3},
2512
2539
  },
2513
2540
  {
2514
2541
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUser',
@@ -2543,7 +2570,7 @@ export const TYPERT_REMOTE = {
2543
2570
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2544
2571
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
2545
2572
  },
2546
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":729,"column":3},
2573
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":753,"column":3},
2547
2574
  },
2548
2575
  {
2549
2576
  id: '@yadsh/dsh-qa-surface#qaSurface/adminUsers',
@@ -2598,7 +2625,7 @@ export const TYPERT_REMOTE = {
2598
2625
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2599
2626
  schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
2600
2627
  },
2601
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":717,"column":3},
2628
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":741,"column":3},
2602
2629
  },
2603
2630
  {
2604
2631
  id: '@yadsh/dsh-qa-surface#qaSurface/answerApproval',
@@ -2653,7 +2680,7 @@ export const TYPERT_REMOTE = {
2653
2680
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:result',
2654
2681
  schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
2655
2682
  },
2656
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":923,"column":9},
2683
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":947,"column":9},
2657
2684
  },
2658
2685
  {
2659
2686
  id: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion',
@@ -2708,7 +2735,7 @@ export const TYPERT_REMOTE = {
2708
2735
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:result',
2709
2736
  schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
2710
2737
  },
2711
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":952,"column":9},
2738
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":976,"column":9},
2712
2739
  },
2713
2740
  {
2714
2741
  id: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion',
@@ -2753,7 +2780,7 @@ export const TYPERT_REMOTE = {
2753
2780
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:result',
2754
2781
  schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
2755
2782
  },
2756
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":964,"column":9},
2783
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":988,"column":9},
2757
2784
  },
2758
2785
  {
2759
2786
  id: '@yadsh/dsh-qa-surface#qaSurface/createSession',
@@ -2798,7 +2825,7 @@ export const TYPERT_REMOTE = {
2798
2825
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:result',
2799
2826
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
2800
2827
  },
2801
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":514,"column":9},
2828
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":535,"column":9},
2802
2829
  },
2803
2830
  {
2804
2831
  id: '@yadsh/dsh-qa-surface#qaSurface/describe',
@@ -2813,7 +2840,7 @@ export const TYPERT_REMOTE = {
2813
2840
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
2814
2841
  schema: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
2815
2842
  },
2816
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":504,"column":3},
2843
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":525,"column":3},
2817
2844
  },
2818
2845
  {
2819
2846
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals',
@@ -2848,7 +2875,7 @@ export const TYPERT_REMOTE = {
2848
2875
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:result',
2849
2876
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
2850
2877
  },
2851
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":909,"column":9},
2878
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":933,"column":9},
2852
2879
  },
2853
2880
  {
2854
2881
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions',
@@ -2883,7 +2910,7 @@ export const TYPERT_REMOTE = {
2883
2910
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:result',
2884
2911
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
2885
2912
  },
2886
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":938,"column":9},
2913
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":962,"column":9},
2887
2914
  },
2888
2915
  {
2889
2916
  id: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile',
@@ -2928,7 +2955,7 @@ export const TYPERT_REMOTE = {
2928
2955
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSourceFilePreview',
2929
2956
  schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
2930
2957
  },
2931
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":983,"column":9},
2958
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1007,"column":9},
2932
2959
  },
2933
2960
  {
2934
2961
  id: '@yadsh/dsh-qa-surface#qaSurface/secureSession',
@@ -2963,7 +2990,7 @@ export const TYPERT_REMOTE = {
2963
2990
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaLockdownProof',
2964
2991
  schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
2965
2992
  },
2966
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":860,"column":9},
2993
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":884,"column":9},
2967
2994
  },
2968
2995
  {
2969
2996
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate',
@@ -2998,7 +3025,7 @@ export const TYPERT_REMOTE = {
2998
3025
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
2999
3026
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
3000
3027
  },
3001
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1037,"column":3},
3028
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1061,"column":3},
3002
3029
  },
3003
3030
  {
3004
3031
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsGet',
@@ -3033,7 +3060,7 @@ export const TYPERT_REMOTE = {
3033
3060
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
3034
3061
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
3035
3062
  },
3036
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1031,"column":3},
3063
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1055,"column":3},
3037
3064
  },
3038
3065
  {
3039
3066
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsList',
@@ -3058,7 +3085,7 @@ export const TYPERT_REMOTE = {
3058
3085
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:result',
3059
3086
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
3060
3087
  },
3061
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1025,"column":3},
3088
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1049,"column":3},
3062
3089
  },
3063
3090
  {
3064
3091
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove',
@@ -3103,7 +3130,7 @@ export const TYPERT_REMOTE = {
3103
3130
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillRemoval',
3104
3131
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
3105
3132
  },
3106
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1056,"column":3},
3133
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1080,"column":3},
3107
3134
  },
3108
3135
  {
3109
3136
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsTools',
@@ -3128,7 +3155,7 @@ export const TYPERT_REMOTE = {
3128
3155
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:result',
3129
3156
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
3130
3157
  },
3131
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1082,"column":3},
3158
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1106,"column":3},
3132
3159
  },
3133
3160
  {
3134
3161
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate',
@@ -3173,7 +3200,7 @@ export const TYPERT_REMOTE = {
3173
3200
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
3174
3201
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
3175
3202
  },
3176
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1046,"column":3},
3203
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1070,"column":3},
3177
3204
  },
3178
3205
  {
3179
3206
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate',
@@ -3218,7 +3245,7 @@ export const TYPERT_REMOTE = {
3218
3245
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillValidation',
3219
3246
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
3220
3247
  },
3221
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1069,"column":3},
3248
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1093,"column":3},
3222
3249
  },
3223
3250
  {
3224
3251
  id: '@yadsh/dsh-qa-surface#qaSurface/sources',
@@ -3253,7 +3280,7 @@ export const TYPERT_REMOTE = {
3253
3280
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:result',
3254
3281
  schema: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
3255
3282
  },
3256
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":896,"column":9},
3283
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":920,"column":9},
3257
3284
  },
3258
3285
  ],
3259
3286
  }
@@ -1,11 +1,27 @@
1
1
  import type { QaAccessAuditEvent, QaCapabilityConfig, QaCapabilitySelection, QaSkillAssignmentOverride, QaSubrole } from "../types.js";
2
2
  export declare function defaultCapabilityFilePath(): string;
3
- /** Atomic, externally reloadable source of truth for roles and their audit. */
3
+ /** The pre-SQLite policy file, imported once on first use. */
4
+ export declare function defaultLegacyCapabilityFilePath(): string;
5
+ /**
6
+ * Atomic, externally reloadable source of truth for roles and their audit.
7
+ *
8
+ * The policy is one row and a change appends one row beside it, so an edit
9
+ * writes what it changed instead of rewriting a growing document — the cost of
10
+ * an administrative change no longer depends on how long the deployment has
11
+ * been administering anything.
12
+ *
13
+ * Only the configuration is cached. An audit trail carries the full policy
14
+ * that preceded each change, so reading it is reserved for the callers that
15
+ * ask for it, and dropped whenever another process writes.
16
+ */
4
17
  export declare class QaRoleRepository {
5
18
  readonly filePath: string;
6
- private file;
7
- private fileStamp;
19
+ private readonly storage;
20
+ private config;
21
+ private auditCache;
22
+ private observedDataVersion;
8
23
  constructor(filePath?: string);
24
+ close(): void;
9
25
  snapshot(): QaCapabilityConfig;
10
26
  audit(): readonly QaAccessAuditEvent[];
11
27
  create(actorId: string, input: QaSubrole): QaSubrole;
@@ -16,7 +32,7 @@ export declare class QaRoleRepository {
16
32
  * Replace one skill's administrator overlay.
17
33
  *
18
34
  * An overlay with nothing left to declare is removed outright, so clearing a
19
- * row in the administration surface leaves the file as if it was never set.
35
+ * row in the administration surface leaves the store as if it was never set.
20
36
  * @param actorId - the administrator performing the change.
21
37
  * @param input - the overlay as edited in the browser.
22
38
  * @returns every overlay in force after the change.
@@ -24,9 +40,24 @@ export declare class QaRoleRepository {
24
40
  updateSkillOverride(actorId: string, input: QaSkillAssignmentOverride): readonly QaSkillAssignmentOverride[];
25
41
  recordAssignment(actorId: string, targetId: string, before: unknown, after: unknown): void;
26
42
  private replace;
43
+ /** Append one change and trim the trail to its newest events. */
27
44
  private appendAudit;
28
- private reload;
29
- private load;
30
- private persist;
45
+ private writeConfig;
46
+ private readConfig;
47
+ private readAudit;
48
+ private readDataVersion;
49
+ /**
50
+ * Re-read the policy when another process wrote it. The `qa-admin` surfaces
51
+ * and this store share one database, so a configuration an administrator
52
+ * just saved must be the one the next policy resolution sees.
53
+ */
54
+ private refresh;
55
+ /**
56
+ * Import a pre-SQLite `qa-capability-policies.json` exactly once, then rename
57
+ * it aside. A configuration the database already holds wins: a leftover file
58
+ * must not silently revert an administrator's policy.
59
+ */
60
+ importLegacyFile(legacyFilePath: string): void;
61
+ private assertImportArrived;
31
62
  }
32
63
  //# sourceMappingURL=role-repository.d.ts.map