agentic-qe 3.3.4 → 3.4.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 (457) hide show
  1. package/.claude/agents/v3/qe-queen-coordinator.md +332 -166
  2. package/.claude/helpers/statusline-v3.cjs +85 -42
  3. package/.claude/skills/qcsd-ideation-swarm/SKILL.md +7 -4
  4. package/README.md +71 -2
  5. package/package.json +1 -1
  6. package/scripts/cloud-db-config.json +10 -5
  7. package/scripts/merge-v3-to-root.sql +48 -0
  8. package/v3/CHANGELOG.md +156 -0
  9. package/v3/README.md +118 -1
  10. package/v3/assets/agents/v3/qe-queen-coordinator.md +332 -166
  11. package/v3/assets/skills/qcsd-ideation-swarm/SKILL.md +7 -4
  12. package/v3/dist/adapters/a2a/agent-cards/generator.d.ts +153 -0
  13. package/v3/dist/adapters/a2a/agent-cards/generator.d.ts.map +1 -0
  14. package/v3/dist/adapters/a2a/agent-cards/generator.js +478 -0
  15. package/v3/dist/adapters/a2a/agent-cards/generator.js.map +1 -0
  16. package/v3/dist/adapters/a2a/agent-cards/schema.d.ts +274 -0
  17. package/v3/dist/adapters/a2a/agent-cards/schema.d.ts.map +1 -0
  18. package/v3/dist/adapters/a2a/agent-cards/schema.js +135 -0
  19. package/v3/dist/adapters/a2a/agent-cards/schema.js.map +1 -0
  20. package/v3/dist/adapters/a2a/agent-cards/validator.d.ts +514 -0
  21. package/v3/dist/adapters/a2a/agent-cards/validator.d.ts.map +1 -0
  22. package/v3/dist/adapters/a2a/agent-cards/validator.js +555 -0
  23. package/v3/dist/adapters/a2a/agent-cards/validator.js.map +1 -0
  24. package/v3/dist/adapters/a2a/auth/index.d.ts +23 -0
  25. package/v3/dist/adapters/a2a/auth/index.d.ts.map +1 -0
  26. package/v3/dist/adapters/a2a/auth/index.js +85 -0
  27. package/v3/dist/adapters/a2a/auth/index.js.map +1 -0
  28. package/v3/dist/adapters/a2a/auth/jwt-utils.d.ts +215 -0
  29. package/v3/dist/adapters/a2a/auth/jwt-utils.d.ts.map +1 -0
  30. package/v3/dist/adapters/a2a/auth/jwt-utils.js +314 -0
  31. package/v3/dist/adapters/a2a/auth/jwt-utils.js.map +1 -0
  32. package/v3/dist/adapters/a2a/auth/middleware.d.ts +173 -0
  33. package/v3/dist/adapters/a2a/auth/middleware.d.ts.map +1 -0
  34. package/v3/dist/adapters/a2a/auth/middleware.js +300 -0
  35. package/v3/dist/adapters/a2a/auth/middleware.js.map +1 -0
  36. package/v3/dist/adapters/a2a/auth/oauth-provider.d.ts +308 -0
  37. package/v3/dist/adapters/a2a/auth/oauth-provider.d.ts.map +1 -0
  38. package/v3/dist/adapters/a2a/auth/oauth-provider.js +573 -0
  39. package/v3/dist/adapters/a2a/auth/oauth-provider.js.map +1 -0
  40. package/v3/dist/adapters/a2a/auth/routes.d.ts +244 -0
  41. package/v3/dist/adapters/a2a/auth/routes.d.ts.map +1 -0
  42. package/v3/dist/adapters/a2a/auth/routes.js +496 -0
  43. package/v3/dist/adapters/a2a/auth/routes.js.map +1 -0
  44. package/v3/dist/adapters/a2a/auth/scopes.d.ts +219 -0
  45. package/v3/dist/adapters/a2a/auth/scopes.d.ts.map +1 -0
  46. package/v3/dist/adapters/a2a/auth/scopes.js +292 -0
  47. package/v3/dist/adapters/a2a/auth/scopes.js.map +1 -0
  48. package/v3/dist/adapters/a2a/auth/token-store.d.ts +278 -0
  49. package/v3/dist/adapters/a2a/auth/token-store.d.ts.map +1 -0
  50. package/v3/dist/adapters/a2a/auth/token-store.js +453 -0
  51. package/v3/dist/adapters/a2a/auth/token-store.js.map +1 -0
  52. package/v3/dist/adapters/a2a/discovery/agent-health.d.ts +226 -0
  53. package/v3/dist/adapters/a2a/discovery/agent-health.d.ts.map +1 -0
  54. package/v3/dist/adapters/a2a/discovery/agent-health.js +426 -0
  55. package/v3/dist/adapters/a2a/discovery/agent-health.js.map +1 -0
  56. package/v3/dist/adapters/a2a/discovery/discovery-service.d.ts +296 -0
  57. package/v3/dist/adapters/a2a/discovery/discovery-service.d.ts.map +1 -0
  58. package/v3/dist/adapters/a2a/discovery/discovery-service.js +520 -0
  59. package/v3/dist/adapters/a2a/discovery/discovery-service.js.map +1 -0
  60. package/v3/dist/adapters/a2a/discovery/file-watcher.d.ts +166 -0
  61. package/v3/dist/adapters/a2a/discovery/file-watcher.d.ts.map +1 -0
  62. package/v3/dist/adapters/a2a/discovery/file-watcher.js +385 -0
  63. package/v3/dist/adapters/a2a/discovery/file-watcher.js.map +1 -0
  64. package/v3/dist/adapters/a2a/discovery/hot-reload-service.d.ts +226 -0
  65. package/v3/dist/adapters/a2a/discovery/hot-reload-service.d.ts.map +1 -0
  66. package/v3/dist/adapters/a2a/discovery/hot-reload-service.js +433 -0
  67. package/v3/dist/adapters/a2a/discovery/hot-reload-service.js.map +1 -0
  68. package/v3/dist/adapters/a2a/discovery/index.d.ts +18 -0
  69. package/v3/dist/adapters/a2a/discovery/index.d.ts.map +1 -0
  70. package/v3/dist/adapters/a2a/discovery/index.js +54 -0
  71. package/v3/dist/adapters/a2a/discovery/index.js.map +1 -0
  72. package/v3/dist/adapters/a2a/discovery/metrics.d.ts +200 -0
  73. package/v3/dist/adapters/a2a/discovery/metrics.d.ts.map +1 -0
  74. package/v3/dist/adapters/a2a/discovery/metrics.js +371 -0
  75. package/v3/dist/adapters/a2a/discovery/metrics.js.map +1 -0
  76. package/v3/dist/adapters/a2a/discovery/routes.d.ts +184 -0
  77. package/v3/dist/adapters/a2a/discovery/routes.d.ts.map +1 -0
  78. package/v3/dist/adapters/a2a/discovery/routes.js +453 -0
  79. package/v3/dist/adapters/a2a/discovery/routes.js.map +1 -0
  80. package/v3/dist/adapters/a2a/index.d.ts +18 -0
  81. package/v3/dist/adapters/a2a/index.d.ts.map +1 -0
  82. package/v3/dist/adapters/a2a/index.js +139 -0
  83. package/v3/dist/adapters/a2a/index.js.map +1 -0
  84. package/v3/dist/adapters/a2a/jsonrpc/envelope.d.ts +312 -0
  85. package/v3/dist/adapters/a2a/jsonrpc/envelope.d.ts.map +1 -0
  86. package/v3/dist/adapters/a2a/jsonrpc/envelope.js +554 -0
  87. package/v3/dist/adapters/a2a/jsonrpc/envelope.js.map +1 -0
  88. package/v3/dist/adapters/a2a/jsonrpc/errors.d.ts +244 -0
  89. package/v3/dist/adapters/a2a/jsonrpc/errors.d.ts.map +1 -0
  90. package/v3/dist/adapters/a2a/jsonrpc/errors.js +365 -0
  91. package/v3/dist/adapters/a2a/jsonrpc/errors.js.map +1 -0
  92. package/v3/dist/adapters/a2a/jsonrpc/index.d.ts +14 -0
  93. package/v3/dist/adapters/a2a/jsonrpc/index.d.ts.map +1 -0
  94. package/v3/dist/adapters/a2a/jsonrpc/index.js +59 -0
  95. package/v3/dist/adapters/a2a/jsonrpc/index.js.map +1 -0
  96. package/v3/dist/adapters/a2a/jsonrpc/methods.d.ts +400 -0
  97. package/v3/dist/adapters/a2a/jsonrpc/methods.d.ts.map +1 -0
  98. package/v3/dist/adapters/a2a/jsonrpc/methods.js +249 -0
  99. package/v3/dist/adapters/a2a/jsonrpc/methods.js.map +1 -0
  100. package/v3/dist/adapters/a2a/notifications/index.d.ts +60 -0
  101. package/v3/dist/adapters/a2a/notifications/index.d.ts.map +1 -0
  102. package/v3/dist/adapters/a2a/notifications/index.js +99 -0
  103. package/v3/dist/adapters/a2a/notifications/index.js.map +1 -0
  104. package/v3/dist/adapters/a2a/notifications/retry-queue.d.ts +225 -0
  105. package/v3/dist/adapters/a2a/notifications/retry-queue.d.ts.map +1 -0
  106. package/v3/dist/adapters/a2a/notifications/retry-queue.js +449 -0
  107. package/v3/dist/adapters/a2a/notifications/retry-queue.js.map +1 -0
  108. package/v3/dist/adapters/a2a/notifications/signature.d.ts +133 -0
  109. package/v3/dist/adapters/a2a/notifications/signature.d.ts.map +1 -0
  110. package/v3/dist/adapters/a2a/notifications/signature.js +244 -0
  111. package/v3/dist/adapters/a2a/notifications/signature.js.map +1 -0
  112. package/v3/dist/adapters/a2a/notifications/subscription-store.d.ts +243 -0
  113. package/v3/dist/adapters/a2a/notifications/subscription-store.d.ts.map +1 -0
  114. package/v3/dist/adapters/a2a/notifications/subscription-store.js +486 -0
  115. package/v3/dist/adapters/a2a/notifications/subscription-store.js.map +1 -0
  116. package/v3/dist/adapters/a2a/notifications/webhook-service.d.ts +257 -0
  117. package/v3/dist/adapters/a2a/notifications/webhook-service.d.ts.map +1 -0
  118. package/v3/dist/adapters/a2a/notifications/webhook-service.js +542 -0
  119. package/v3/dist/adapters/a2a/notifications/webhook-service.js.map +1 -0
  120. package/v3/dist/adapters/a2a/tasks/index.d.ts +16 -0
  121. package/v3/dist/adapters/a2a/tasks/index.d.ts.map +1 -0
  122. package/v3/dist/adapters/a2a/tasks/index.js +33 -0
  123. package/v3/dist/adapters/a2a/tasks/index.js.map +1 -0
  124. package/v3/dist/adapters/a2a/tasks/task-manager.d.ts +306 -0
  125. package/v3/dist/adapters/a2a/tasks/task-manager.d.ts.map +1 -0
  126. package/v3/dist/adapters/a2a/tasks/task-manager.js +562 -0
  127. package/v3/dist/adapters/a2a/tasks/task-manager.js.map +1 -0
  128. package/v3/dist/adapters/a2a/tasks/task-router.d.ts +270 -0
  129. package/v3/dist/adapters/a2a/tasks/task-router.d.ts.map +1 -0
  130. package/v3/dist/adapters/a2a/tasks/task-router.js +574 -0
  131. package/v3/dist/adapters/a2a/tasks/task-router.js.map +1 -0
  132. package/v3/dist/adapters/a2a/tasks/task-store.d.ts +251 -0
  133. package/v3/dist/adapters/a2a/tasks/task-store.d.ts.map +1 -0
  134. package/v3/dist/adapters/a2a/tasks/task-store.js +468 -0
  135. package/v3/dist/adapters/a2a/tasks/task-store.js.map +1 -0
  136. package/v3/dist/adapters/a2ui/accessibility/aria-attributes.d.ts +294 -0
  137. package/v3/dist/adapters/a2ui/accessibility/aria-attributes.d.ts.map +1 -0
  138. package/v3/dist/adapters/a2ui/accessibility/aria-attributes.js +447 -0
  139. package/v3/dist/adapters/a2ui/accessibility/aria-attributes.js.map +1 -0
  140. package/v3/dist/adapters/a2ui/accessibility/index.d.ts +83 -0
  141. package/v3/dist/adapters/a2ui/accessibility/index.d.ts.map +1 -0
  142. package/v3/dist/adapters/a2ui/accessibility/index.js +155 -0
  143. package/v3/dist/adapters/a2ui/accessibility/index.js.map +1 -0
  144. package/v3/dist/adapters/a2ui/accessibility/keyboard-nav.d.ts +177 -0
  145. package/v3/dist/adapters/a2ui/accessibility/keyboard-nav.d.ts.map +1 -0
  146. package/v3/dist/adapters/a2ui/accessibility/keyboard-nav.js +638 -0
  147. package/v3/dist/adapters/a2ui/accessibility/keyboard-nav.js.map +1 -0
  148. package/v3/dist/adapters/a2ui/accessibility/wcag-validator.d.ts +186 -0
  149. package/v3/dist/adapters/a2ui/accessibility/wcag-validator.d.ts.map +1 -0
  150. package/v3/dist/adapters/a2ui/accessibility/wcag-validator.js +816 -0
  151. package/v3/dist/adapters/a2ui/accessibility/wcag-validator.js.map +1 -0
  152. package/v3/dist/adapters/a2ui/catalog/component-schemas.d.ts +227 -0
  153. package/v3/dist/adapters/a2ui/catalog/component-schemas.d.ts.map +1 -0
  154. package/v3/dist/adapters/a2ui/catalog/component-schemas.js +1090 -0
  155. package/v3/dist/adapters/a2ui/catalog/component-schemas.js.map +1 -0
  156. package/v3/dist/adapters/a2ui/catalog/index.d.ts +55 -0
  157. package/v3/dist/adapters/a2ui/catalog/index.d.ts.map +1 -0
  158. package/v3/dist/adapters/a2ui/catalog/index.js +100 -0
  159. package/v3/dist/adapters/a2ui/catalog/index.js.map +1 -0
  160. package/v3/dist/adapters/a2ui/catalog/qe-catalog.d.ts +456 -0
  161. package/v3/dist/adapters/a2ui/catalog/qe-catalog.d.ts.map +1 -0
  162. package/v3/dist/adapters/a2ui/catalog/qe-catalog.js +413 -0
  163. package/v3/dist/adapters/a2ui/catalog/qe-catalog.js.map +1 -0
  164. package/v3/dist/adapters/a2ui/catalog/standard-catalog.d.ts +581 -0
  165. package/v3/dist/adapters/a2ui/catalog/standard-catalog.d.ts.map +1 -0
  166. package/v3/dist/adapters/a2ui/catalog/standard-catalog.js +409 -0
  167. package/v3/dist/adapters/a2ui/catalog/standard-catalog.js.map +1 -0
  168. package/v3/dist/adapters/a2ui/data/bound-value.d.ts +252 -0
  169. package/v3/dist/adapters/a2ui/data/bound-value.d.ts.map +1 -0
  170. package/v3/dist/adapters/a2ui/data/bound-value.js +403 -0
  171. package/v3/dist/adapters/a2ui/data/bound-value.js.map +1 -0
  172. package/v3/dist/adapters/a2ui/data/index.d.ts +14 -0
  173. package/v3/dist/adapters/a2ui/data/index.d.ts.map +1 -0
  174. package/v3/dist/adapters/a2ui/data/index.js +41 -0
  175. package/v3/dist/adapters/a2ui/data/index.js.map +1 -0
  176. package/v3/dist/adapters/a2ui/data/json-pointer-resolver.d.ts +187 -0
  177. package/v3/dist/adapters/a2ui/data/json-pointer-resolver.d.ts.map +1 -0
  178. package/v3/dist/adapters/a2ui/data/json-pointer-resolver.js +425 -0
  179. package/v3/dist/adapters/a2ui/data/json-pointer-resolver.js.map +1 -0
  180. package/v3/dist/adapters/a2ui/data/reactive-store.d.ts +241 -0
  181. package/v3/dist/adapters/a2ui/data/reactive-store.d.ts.map +1 -0
  182. package/v3/dist/adapters/a2ui/data/reactive-store.js +461 -0
  183. package/v3/dist/adapters/a2ui/data/reactive-store.js.map +1 -0
  184. package/v3/dist/adapters/a2ui/index.d.ts +17 -0
  185. package/v3/dist/adapters/a2ui/index.d.ts.map +1 -0
  186. package/v3/dist/adapters/a2ui/index.js +119 -0
  187. package/v3/dist/adapters/a2ui/index.js.map +1 -0
  188. package/v3/dist/adapters/a2ui/integration/agui-sync.d.ts +259 -0
  189. package/v3/dist/adapters/a2ui/integration/agui-sync.d.ts.map +1 -0
  190. package/v3/dist/adapters/a2ui/integration/agui-sync.js +559 -0
  191. package/v3/dist/adapters/a2ui/integration/agui-sync.js.map +1 -0
  192. package/v3/dist/adapters/a2ui/integration/index.d.ts +11 -0
  193. package/v3/dist/adapters/a2ui/integration/index.d.ts.map +1 -0
  194. package/v3/dist/adapters/a2ui/integration/index.js +23 -0
  195. package/v3/dist/adapters/a2ui/integration/index.js.map +1 -0
  196. package/v3/dist/adapters/a2ui/integration/surface-state-bridge.d.ts +209 -0
  197. package/v3/dist/adapters/a2ui/integration/surface-state-bridge.d.ts.map +1 -0
  198. package/v3/dist/adapters/a2ui/integration/surface-state-bridge.js +545 -0
  199. package/v3/dist/adapters/a2ui/integration/surface-state-bridge.js.map +1 -0
  200. package/v3/dist/adapters/a2ui/renderer/component-builder.d.ts +227 -0
  201. package/v3/dist/adapters/a2ui/renderer/component-builder.d.ts.map +1 -0
  202. package/v3/dist/adapters/a2ui/renderer/component-builder.js +488 -0
  203. package/v3/dist/adapters/a2ui/renderer/component-builder.js.map +1 -0
  204. package/v3/dist/adapters/a2ui/renderer/index.d.ts +16 -0
  205. package/v3/dist/adapters/a2ui/renderer/index.d.ts.map +1 -0
  206. package/v3/dist/adapters/a2ui/renderer/index.js +50 -0
  207. package/v3/dist/adapters/a2ui/renderer/index.js.map +1 -0
  208. package/v3/dist/adapters/a2ui/renderer/message-types.d.ts +299 -0
  209. package/v3/dist/adapters/a2ui/renderer/message-types.d.ts.map +1 -0
  210. package/v3/dist/adapters/a2ui/renderer/message-types.js +187 -0
  211. package/v3/dist/adapters/a2ui/renderer/message-types.js.map +1 -0
  212. package/v3/dist/adapters/a2ui/renderer/surface-generator.d.ts +210 -0
  213. package/v3/dist/adapters/a2ui/renderer/surface-generator.d.ts.map +1 -0
  214. package/v3/dist/adapters/a2ui/renderer/surface-generator.js +586 -0
  215. package/v3/dist/adapters/a2ui/renderer/surface-generator.js.map +1 -0
  216. package/v3/dist/adapters/a2ui/renderer/templates/accessibility-surface.d.ts +149 -0
  217. package/v3/dist/adapters/a2ui/renderer/templates/accessibility-surface.d.ts.map +1 -0
  218. package/v3/dist/adapters/a2ui/renderer/templates/accessibility-surface.js +414 -0
  219. package/v3/dist/adapters/a2ui/renderer/templates/accessibility-surface.js.map +1 -0
  220. package/v3/dist/adapters/a2ui/renderer/templates/coverage-surface.d.ts +95 -0
  221. package/v3/dist/adapters/a2ui/renderer/templates/coverage-surface.d.ts.map +1 -0
  222. package/v3/dist/adapters/a2ui/renderer/templates/coverage-surface.js +231 -0
  223. package/v3/dist/adapters/a2ui/renderer/templates/coverage-surface.js.map +1 -0
  224. package/v3/dist/adapters/a2ui/renderer/templates/index.d.ts +12 -0
  225. package/v3/dist/adapters/a2ui/renderer/templates/index.d.ts.map +1 -0
  226. package/v3/dist/adapters/a2ui/renderer/templates/index.js +16 -0
  227. package/v3/dist/adapters/a2ui/renderer/templates/index.js.map +1 -0
  228. package/v3/dist/adapters/a2ui/renderer/templates/security-surface.d.ts +121 -0
  229. package/v3/dist/adapters/a2ui/renderer/templates/security-surface.d.ts.map +1 -0
  230. package/v3/dist/adapters/a2ui/renderer/templates/security-surface.js +367 -0
  231. package/v3/dist/adapters/a2ui/renderer/templates/security-surface.js.map +1 -0
  232. package/v3/dist/adapters/a2ui/renderer/templates/test-results-surface.d.ts +104 -0
  233. package/v3/dist/adapters/a2ui/renderer/templates/test-results-surface.d.ts.map +1 -0
  234. package/v3/dist/adapters/a2ui/renderer/templates/test-results-surface.js +294 -0
  235. package/v3/dist/adapters/a2ui/renderer/templates/test-results-surface.js.map +1 -0
  236. package/v3/dist/adapters/ag-ui/backpressure-handler.d.ts +201 -0
  237. package/v3/dist/adapters/ag-ui/backpressure-handler.d.ts.map +1 -0
  238. package/v3/dist/adapters/ag-ui/backpressure-handler.js +399 -0
  239. package/v3/dist/adapters/ag-ui/backpressure-handler.js.map +1 -0
  240. package/v3/dist/adapters/ag-ui/event-adapter.d.ts +360 -0
  241. package/v3/dist/adapters/ag-ui/event-adapter.d.ts.map +1 -0
  242. package/v3/dist/adapters/ag-ui/event-adapter.js +1083 -0
  243. package/v3/dist/adapters/ag-ui/event-adapter.js.map +1 -0
  244. package/v3/dist/adapters/ag-ui/event-batcher.d.ts +242 -0
  245. package/v3/dist/adapters/ag-ui/event-batcher.d.ts.map +1 -0
  246. package/v3/dist/adapters/ag-ui/event-batcher.js +444 -0
  247. package/v3/dist/adapters/ag-ui/event-batcher.js.map +1 -0
  248. package/v3/dist/adapters/ag-ui/event-types.d.ts +450 -0
  249. package/v3/dist/adapters/ag-ui/event-types.d.ts.map +1 -0
  250. package/v3/dist/adapters/ag-ui/event-types.js +173 -0
  251. package/v3/dist/adapters/ag-ui/event-types.js.map +1 -0
  252. package/v3/dist/adapters/ag-ui/index.d.ts +17 -0
  253. package/v3/dist/adapters/ag-ui/index.d.ts.map +1 -0
  254. package/v3/dist/adapters/ag-ui/index.js +47 -0
  255. package/v3/dist/adapters/ag-ui/index.js.map +1 -0
  256. package/v3/dist/adapters/ag-ui/json-patch-utils.d.ts +136 -0
  257. package/v3/dist/adapters/ag-ui/json-patch-utils.d.ts.map +1 -0
  258. package/v3/dist/adapters/ag-ui/json-patch-utils.js +574 -0
  259. package/v3/dist/adapters/ag-ui/json-patch-utils.js.map +1 -0
  260. package/v3/dist/adapters/ag-ui/json-patch.d.ts +241 -0
  261. package/v3/dist/adapters/ag-ui/json-patch.d.ts.map +1 -0
  262. package/v3/dist/adapters/ag-ui/json-patch.js +726 -0
  263. package/v3/dist/adapters/ag-ui/json-patch.js.map +1 -0
  264. package/v3/dist/adapters/ag-ui/state-delta-cache.d.ts +218 -0
  265. package/v3/dist/adapters/ag-ui/state-delta-cache.d.ts.map +1 -0
  266. package/v3/dist/adapters/ag-ui/state-delta-cache.js +422 -0
  267. package/v3/dist/adapters/ag-ui/state-delta-cache.js.map +1 -0
  268. package/v3/dist/adapters/ag-ui/state-manager.d.ts +249 -0
  269. package/v3/dist/adapters/ag-ui/state-manager.d.ts.map +1 -0
  270. package/v3/dist/adapters/ag-ui/state-manager.js +511 -0
  271. package/v3/dist/adapters/ag-ui/state-manager.js.map +1 -0
  272. package/v3/dist/adapters/ag-ui/stream-controller.d.ts +195 -0
  273. package/v3/dist/adapters/ag-ui/stream-controller.d.ts.map +1 -0
  274. package/v3/dist/adapters/ag-ui/stream-controller.js +481 -0
  275. package/v3/dist/adapters/ag-ui/stream-controller.js.map +1 -0
  276. package/v3/dist/adapters/index.d.ts +4 -0
  277. package/v3/dist/adapters/index.d.ts.map +1 -1
  278. package/v3/dist/adapters/index.js +89 -0
  279. package/v3/dist/adapters/index.js.map +1 -1
  280. package/v3/dist/cli/bundle.js +1507 -425
  281. package/v3/dist/coordination/consensus/providers/claude-provider.js +1 -1
  282. package/v3/dist/coordination/consensus/providers/gemini-provider.js +1 -1
  283. package/v3/dist/coordination/consensus/providers/openai-provider.js +1 -1
  284. package/v3/dist/init/init-wizard.d.ts.map +1 -1
  285. package/v3/dist/init/init-wizard.js +19 -4
  286. package/v3/dist/init/init-wizard.js.map +1 -1
  287. package/v3/dist/init/migration/config-migrator.d.ts.map +1 -1
  288. package/v3/dist/init/migration/config-migrator.js +15 -1
  289. package/v3/dist/init/migration/config-migrator.js.map +1 -1
  290. package/v3/dist/init/phases/05-learning.js +1 -1
  291. package/v3/dist/init/phases/05-learning.js.map +1 -1
  292. package/v3/dist/init/self-configurator.d.ts +7 -0
  293. package/v3/dist/init/self-configurator.d.ts.map +1 -1
  294. package/v3/dist/init/self-configurator.js +23 -27
  295. package/v3/dist/init/self-configurator.js.map +1 -1
  296. package/v3/dist/integrations/ruvector/interfaces.js +1 -1
  297. package/v3/dist/integrations/ruvector/interfaces.js.map +1 -1
  298. package/v3/dist/kernel/index.d.ts +1 -1
  299. package/v3/dist/kernel/index.d.ts.map +1 -1
  300. package/v3/dist/kernel/index.js +3 -1
  301. package/v3/dist/kernel/index.js.map +1 -1
  302. package/v3/dist/kernel/plugin-loader.d.ts.map +1 -1
  303. package/v3/dist/kernel/plugin-loader.js +6 -1
  304. package/v3/dist/kernel/plugin-loader.js.map +1 -1
  305. package/v3/dist/kernel/unified-memory.d.ts +123 -0
  306. package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
  307. package/v3/dist/kernel/unified-memory.js +258 -2
  308. package/v3/dist/kernel/unified-memory.js.map +1 -1
  309. package/v3/dist/learning/qe-unified-memory.js +1 -1
  310. package/v3/dist/learning/qe-unified-memory.js.map +1 -1
  311. package/v3/dist/learning/real-qe-reasoning-bank.js +2 -2
  312. package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
  313. package/v3/dist/learning/sqlite-persistence.d.ts +1 -1
  314. package/v3/dist/learning/sqlite-persistence.js +1 -1
  315. package/v3/dist/learning/sqlite-persistence.js.map +1 -1
  316. package/v3/dist/learning/v2-to-v3-migration.d.ts +2 -2
  317. package/v3/dist/learning/v2-to-v3-migration.d.ts.map +1 -1
  318. package/v3/dist/learning/v2-to-v3-migration.js +2 -2
  319. package/v3/dist/learning/v2-to-v3-migration.js.map +1 -1
  320. package/v3/dist/mcp/bundle.js +63075 -53304
  321. package/v3/dist/mcp/entry.d.ts +5 -0
  322. package/v3/dist/mcp/entry.d.ts.map +1 -1
  323. package/v3/dist/mcp/entry.js +36 -0
  324. package/v3/dist/mcp/entry.js.map +1 -1
  325. package/v3/dist/mcp/http-server.d.ts +95 -0
  326. package/v3/dist/mcp/http-server.d.ts.map +1 -0
  327. package/v3/dist/mcp/http-server.js +833 -0
  328. package/v3/dist/mcp/http-server.js.map +1 -0
  329. package/v3/dist/mcp/protocol-server.d.ts +6 -0
  330. package/v3/dist/mcp/protocol-server.d.ts.map +1 -1
  331. package/v3/dist/mcp/protocol-server.js +40 -0
  332. package/v3/dist/mcp/protocol-server.js.map +1 -1
  333. package/v3/dist/mcp/transport/index.d.ts +25 -3
  334. package/v3/dist/mcp/transport/index.d.ts.map +1 -1
  335. package/v3/dist/mcp/transport/index.js +22 -4
  336. package/v3/dist/mcp/transport/index.js.map +1 -1
  337. package/v3/dist/mcp/transport/sse/connection-manager.d.ts +84 -0
  338. package/v3/dist/mcp/transport/sse/connection-manager.d.ts.map +1 -0
  339. package/v3/dist/mcp/transport/sse/connection-manager.js +271 -0
  340. package/v3/dist/mcp/transport/sse/connection-manager.js.map +1 -0
  341. package/v3/dist/mcp/transport/sse/index.d.ts +10 -0
  342. package/v3/dist/mcp/transport/sse/index.d.ts.map +1 -0
  343. package/v3/dist/mcp/transport/sse/index.js +15 -0
  344. package/v3/dist/mcp/transport/sse/index.js.map +1 -0
  345. package/v3/dist/mcp/transport/sse/sse-transport.d.ts +56 -0
  346. package/v3/dist/mcp/transport/sse/sse-transport.d.ts.map +1 -0
  347. package/v3/dist/mcp/transport/sse/sse-transport.js +381 -0
  348. package/v3/dist/mcp/transport/sse/sse-transport.js.map +1 -0
  349. package/v3/dist/mcp/transport/sse/types.d.ts +237 -0
  350. package/v3/dist/mcp/transport/sse/types.d.ts.map +1 -0
  351. package/v3/dist/mcp/transport/sse/types.js +37 -0
  352. package/v3/dist/mcp/transport/sse/types.js.map +1 -0
  353. package/v3/dist/mcp/transport/websocket/connection-manager.d.ts +143 -0
  354. package/v3/dist/mcp/transport/websocket/connection-manager.d.ts.map +1 -0
  355. package/v3/dist/mcp/transport/websocket/connection-manager.js +522 -0
  356. package/v3/dist/mcp/transport/websocket/connection-manager.js.map +1 -0
  357. package/v3/dist/mcp/transport/websocket/index.d.ts +10 -0
  358. package/v3/dist/mcp/transport/websocket/index.d.ts.map +1 -0
  359. package/v3/dist/mcp/transport/websocket/index.js +19 -0
  360. package/v3/dist/mcp/transport/websocket/index.js.map +1 -0
  361. package/v3/dist/mcp/transport/websocket/types.d.ts +354 -0
  362. package/v3/dist/mcp/transport/websocket/types.d.ts.map +1 -0
  363. package/v3/dist/mcp/transport/websocket/types.js +49 -0
  364. package/v3/dist/mcp/transport/websocket/types.js.map +1 -0
  365. package/v3/dist/mcp/transport/websocket/websocket-transport.d.ts +77 -0
  366. package/v3/dist/mcp/transport/websocket/websocket-transport.d.ts.map +1 -0
  367. package/v3/dist/mcp/transport/websocket/websocket-transport.js +622 -0
  368. package/v3/dist/mcp/transport/websocket/websocket-transport.js.map +1 -0
  369. package/v3/dist/memory/crdt/convergence-tracker.d.ts +59 -0
  370. package/v3/dist/memory/crdt/convergence-tracker.d.ts.map +1 -0
  371. package/v3/dist/memory/crdt/convergence-tracker.js +325 -0
  372. package/v3/dist/memory/crdt/convergence-tracker.js.map +1 -0
  373. package/v3/dist/memory/crdt/crdt-store.d.ts +55 -0
  374. package/v3/dist/memory/crdt/crdt-store.d.ts.map +1 -0
  375. package/v3/dist/memory/crdt/crdt-store.js +582 -0
  376. package/v3/dist/memory/crdt/crdt-store.js.map +1 -0
  377. package/v3/dist/memory/crdt/g-counter.d.ts +47 -0
  378. package/v3/dist/memory/crdt/g-counter.d.ts.map +1 -0
  379. package/v3/dist/memory/crdt/g-counter.js +134 -0
  380. package/v3/dist/memory/crdt/g-counter.js.map +1 -0
  381. package/v3/dist/memory/crdt/index.d.ts +52 -0
  382. package/v3/dist/memory/crdt/index.d.ts.map +1 -0
  383. package/v3/dist/memory/crdt/index.js +66 -0
  384. package/v3/dist/memory/crdt/index.js.map +1 -0
  385. package/v3/dist/memory/crdt/lww-register.d.ts +40 -0
  386. package/v3/dist/memory/crdt/lww-register.d.ts.map +1 -0
  387. package/v3/dist/memory/crdt/lww-register.js +133 -0
  388. package/v3/dist/memory/crdt/lww-register.js.map +1 -0
  389. package/v3/dist/memory/crdt/or-set.d.ts +62 -0
  390. package/v3/dist/memory/crdt/or-set.d.ts.map +1 -0
  391. package/v3/dist/memory/crdt/or-set.js +336 -0
  392. package/v3/dist/memory/crdt/or-set.js.map +1 -0
  393. package/v3/dist/memory/crdt/pn-counter.d.ts +53 -0
  394. package/v3/dist/memory/crdt/pn-counter.d.ts.map +1 -0
  395. package/v3/dist/memory/crdt/pn-counter.js +147 -0
  396. package/v3/dist/memory/crdt/pn-counter.js.map +1 -0
  397. package/v3/dist/memory/crdt/types.d.ts +397 -0
  398. package/v3/dist/memory/crdt/types.d.ts.map +1 -0
  399. package/v3/dist/memory/crdt/types.js +12 -0
  400. package/v3/dist/memory/crdt/types.js.map +1 -0
  401. package/v3/dist/memory/index.d.ts +5 -2
  402. package/v3/dist/memory/index.d.ts.map +1 -1
  403. package/v3/dist/memory/index.js +5 -2
  404. package/v3/dist/memory/index.js.map +1 -1
  405. package/v3/dist/performance/benchmarks.d.ts +215 -0
  406. package/v3/dist/performance/benchmarks.d.ts.map +1 -0
  407. package/v3/dist/performance/benchmarks.js +516 -0
  408. package/v3/dist/performance/benchmarks.js.map +1 -0
  409. package/v3/dist/performance/ci-gates.d.ts +149 -0
  410. package/v3/dist/performance/ci-gates.d.ts.map +1 -0
  411. package/v3/dist/performance/ci-gates.js +425 -0
  412. package/v3/dist/performance/ci-gates.js.map +1 -0
  413. package/v3/dist/performance/index.d.ts +18 -0
  414. package/v3/dist/performance/index.d.ts.map +1 -0
  415. package/v3/dist/performance/index.js +26 -0
  416. package/v3/dist/performance/index.js.map +1 -0
  417. package/v3/dist/performance/optimizer.d.ts +323 -0
  418. package/v3/dist/performance/optimizer.d.ts.map +1 -0
  419. package/v3/dist/performance/optimizer.js +592 -0
  420. package/v3/dist/performance/optimizer.js.map +1 -0
  421. package/v3/dist/performance/profiler.d.ts +195 -0
  422. package/v3/dist/performance/profiler.d.ts.map +1 -0
  423. package/v3/dist/performance/profiler.js +369 -0
  424. package/v3/dist/performance/profiler.js.map +1 -0
  425. package/v3/dist/performance/run-gates.d.ts +23 -0
  426. package/v3/dist/performance/run-gates.d.ts.map +1 -0
  427. package/v3/dist/performance/run-gates.js +122 -0
  428. package/v3/dist/performance/run-gates.js.map +1 -0
  429. package/v3/dist/sync/claude-flow-bridge.d.ts +1 -1
  430. package/v3/dist/sync/claude-flow-bridge.js +1 -1
  431. package/v3/dist/sync/interfaces.d.ts +6 -0
  432. package/v3/dist/sync/interfaces.d.ts.map +1 -1
  433. package/v3/dist/sync/interfaces.js +34 -47
  434. package/v3/dist/sync/interfaces.js.map +1 -1
  435. package/v3/dist/sync/readers/sqlite-reader.d.ts +1 -1
  436. package/v3/dist/sync/readers/sqlite-reader.js +1 -1
  437. package/v3/dist/testing/index.d.ts +6 -0
  438. package/v3/dist/testing/index.d.ts.map +1 -0
  439. package/v3/dist/testing/index.js +7 -0
  440. package/v3/dist/testing/index.js.map +1 -0
  441. package/v3/dist/testing/load/agent-load-tester.d.ts +221 -0
  442. package/v3/dist/testing/load/agent-load-tester.d.ts.map +1 -0
  443. package/v3/dist/testing/load/agent-load-tester.js +566 -0
  444. package/v3/dist/testing/load/agent-load-tester.js.map +1 -0
  445. package/v3/dist/testing/load/bottleneck-analyzer.d.ts +150 -0
  446. package/v3/dist/testing/load/bottleneck-analyzer.d.ts.map +1 -0
  447. package/v3/dist/testing/load/bottleneck-analyzer.js +442 -0
  448. package/v3/dist/testing/load/bottleneck-analyzer.js.map +1 -0
  449. package/v3/dist/testing/load/index.d.ts +17 -0
  450. package/v3/dist/testing/load/index.d.ts.map +1 -0
  451. package/v3/dist/testing/load/index.js +23 -0
  452. package/v3/dist/testing/load/index.js.map +1 -0
  453. package/v3/dist/testing/load/metrics-collector.d.ts +275 -0
  454. package/v3/dist/testing/load/metrics-collector.d.ts.map +1 -0
  455. package/v3/dist/testing/load/metrics-collector.js +475 -0
  456. package/v3/dist/testing/load/metrics-collector.js.map +1 -0
  457. package/v3/package.json +5 -1
@@ -0,0 +1,461 @@
1
+ /**
2
+ * Reactive Data Store
3
+ *
4
+ * Provides a reactive data store with path-specific subscriptions,
5
+ * change detection, and batch updates for A2UI data binding.
6
+ *
7
+ * @module adapters/a2ui/data/reactive-store
8
+ */
9
+ import { resolvePointer, setAtPointer, deleteAtPointer, isParentPointer, pointerExists, } from './json-pointer-resolver.js';
10
+ // ============================================================================
11
+ // Implementation
12
+ // ============================================================================
13
+ /**
14
+ * Reactive Data Store
15
+ *
16
+ * Provides a reactive store with:
17
+ * - Path-specific subscriptions using JSON Pointers
18
+ * - Change detection and notification
19
+ * - Batch updates for performance
20
+ * - Global change subscriptions
21
+ */
22
+ export class ReactiveStore {
23
+ data;
24
+ config;
25
+ pathSubscriptions = new Map();
26
+ globalSubscriptions = new Set();
27
+ subscriptionIdCounter = 0;
28
+ pendingNotifications = [];
29
+ notificationTimeout = null;
30
+ constructor(config = {}) {
31
+ this.config = {
32
+ initialData: {},
33
+ deepClone: true,
34
+ synchronous: true,
35
+ debounceMs: 16,
36
+ ...config,
37
+ };
38
+ this.data = this.config.deepClone
39
+ ? this.deepClone(this.config.initialData || {})
40
+ : { ...(this.config.initialData || {}) };
41
+ }
42
+ /**
43
+ * Get the entire data object
44
+ *
45
+ * @returns Copy of the data object (or reference if deepClone is false)
46
+ */
47
+ getData() {
48
+ return this.config.deepClone ? this.deepClone(this.data) : this.data;
49
+ }
50
+ /**
51
+ * Set the entire data object
52
+ *
53
+ * @param data - New data object
54
+ */
55
+ setData(data) {
56
+ const previousData = this.data;
57
+ this.data = this.config.deepClone ? this.deepClone(data) : { ...data };
58
+ const changes = [{
59
+ path: '',
60
+ newValue: this.data,
61
+ previousValue: previousData,
62
+ type: 'set',
63
+ }];
64
+ this.notifyChanges(changes);
65
+ }
66
+ /**
67
+ * Get value at a specific path
68
+ *
69
+ * @param pointer - JSON Pointer path
70
+ * @returns Value at path, or undefined if not found
71
+ */
72
+ getAt(pointer) {
73
+ const value = resolvePointer(this.data, pointer);
74
+ if (value === undefined) {
75
+ return undefined;
76
+ }
77
+ return this.config.deepClone ? this.deepClone(value) : value;
78
+ }
79
+ /**
80
+ * Set value at a specific path
81
+ *
82
+ * @param pointer - JSON Pointer path
83
+ * @param value - Value to set
84
+ */
85
+ setAt(pointer, value) {
86
+ const previousValue = resolvePointer(this.data, pointer);
87
+ const clonedValue = this.config.deepClone ? this.deepClone(value) : value;
88
+ setAtPointer(this.data, pointer, clonedValue);
89
+ const changes = [{
90
+ path: pointer,
91
+ newValue: clonedValue,
92
+ previousValue,
93
+ type: 'set',
94
+ }];
95
+ this.notifyChanges(changes);
96
+ }
97
+ /**
98
+ * Delete value at a specific path
99
+ *
100
+ * @param pointer - JSON Pointer path
101
+ * @returns True if value was deleted
102
+ */
103
+ deleteAt(pointer) {
104
+ const previousValue = resolvePointer(this.data, pointer);
105
+ if (previousValue === undefined) {
106
+ return false;
107
+ }
108
+ const deleted = deleteAtPointer(this.data, pointer);
109
+ if (!deleted) {
110
+ return false;
111
+ }
112
+ const changes = [{
113
+ path: pointer,
114
+ newValue: undefined,
115
+ previousValue,
116
+ type: 'delete',
117
+ }];
118
+ this.notifyChanges(changes);
119
+ return true;
120
+ }
121
+ /**
122
+ * Check if a path exists in the data
123
+ *
124
+ * @param pointer - JSON Pointer path
125
+ * @returns True if path exists
126
+ */
127
+ has(pointer) {
128
+ return pointerExists(this.data, pointer);
129
+ }
130
+ /**
131
+ * Subscribe to changes at a specific path
132
+ *
133
+ * The callback will be invoked when:
134
+ * - The exact path changes
135
+ * - A parent path changes (which affects this path)
136
+ * - A child path changes (if watching an object/array)
137
+ *
138
+ * @param pointer - JSON Pointer path to watch
139
+ * @param callback - Callback invoked on change
140
+ * @returns Subscription handle with unsubscribe method
141
+ */
142
+ subscribe(pointer, callback) {
143
+ const subscription = {
144
+ pointer,
145
+ callback: callback,
146
+ };
147
+ // Get or create subscription set for this path
148
+ let subscriptions = this.pathSubscriptions.get(pointer);
149
+ if (!subscriptions) {
150
+ subscriptions = new Set();
151
+ this.pathSubscriptions.set(pointer, subscriptions);
152
+ }
153
+ subscriptions.add(subscription);
154
+ // Return unsubscribe handle
155
+ return {
156
+ unsubscribe: () => {
157
+ const subs = this.pathSubscriptions.get(pointer);
158
+ if (subs) {
159
+ subs.delete(subscription);
160
+ if (subs.size === 0) {
161
+ this.pathSubscriptions.delete(pointer);
162
+ }
163
+ }
164
+ },
165
+ };
166
+ }
167
+ /**
168
+ * Subscribe to any change in the store
169
+ *
170
+ * @param callback - Callback invoked on any change
171
+ * @returns Subscription handle with unsubscribe method
172
+ */
173
+ subscribeAll(callback) {
174
+ this.globalSubscriptions.add(callback);
175
+ return {
176
+ unsubscribe: () => {
177
+ this.globalSubscriptions.delete(callback);
178
+ },
179
+ };
180
+ }
181
+ /**
182
+ * Batch multiple updates with a single notification
183
+ *
184
+ * Updates are applied in order, and subscribers are notified once
185
+ * after all updates are complete.
186
+ *
187
+ * @param updates - Array of updates to apply
188
+ */
189
+ batch(updates) {
190
+ const changes = [];
191
+ for (const update of updates) {
192
+ const previousValue = resolvePointer(this.data, update.pointer);
193
+ if (update.operation === 'delete' || update.value === undefined) {
194
+ const deleted = deleteAtPointer(this.data, update.pointer);
195
+ if (deleted) {
196
+ changes.push({
197
+ path: update.pointer,
198
+ newValue: undefined,
199
+ previousValue,
200
+ type: 'delete',
201
+ });
202
+ }
203
+ }
204
+ else {
205
+ const clonedValue = this.config.deepClone
206
+ ? this.deepClone(update.value)
207
+ : update.value;
208
+ setAtPointer(this.data, update.pointer, clonedValue);
209
+ changes.push({
210
+ path: update.pointer,
211
+ newValue: clonedValue,
212
+ previousValue,
213
+ type: 'batch',
214
+ });
215
+ }
216
+ }
217
+ if (changes.length > 0) {
218
+ this.notifyChanges(changes);
219
+ }
220
+ }
221
+ /**
222
+ * Get the current number of subscriptions
223
+ */
224
+ getSubscriptionCount() {
225
+ let count = this.globalSubscriptions.size;
226
+ for (const subs of this.pathSubscriptions.values()) {
227
+ count += subs.size;
228
+ }
229
+ return count;
230
+ }
231
+ /**
232
+ * Clear all data and subscriptions
233
+ */
234
+ clear() {
235
+ this.data = {};
236
+ this.pathSubscriptions.clear();
237
+ this.globalSubscriptions.clear();
238
+ if (this.notificationTimeout) {
239
+ clearTimeout(this.notificationTimeout);
240
+ this.notificationTimeout = null;
241
+ }
242
+ this.pendingNotifications = [];
243
+ }
244
+ // ============================================================================
245
+ // Private Methods
246
+ // ============================================================================
247
+ /**
248
+ * Notify subscribers of changes
249
+ */
250
+ notifyChanges(changes) {
251
+ if (this.config.synchronous) {
252
+ this.processNotifications(changes);
253
+ }
254
+ else {
255
+ this.pendingNotifications.push(...changes);
256
+ this.scheduleNotifications();
257
+ }
258
+ }
259
+ /**
260
+ * Schedule asynchronous notifications
261
+ */
262
+ scheduleNotifications() {
263
+ if (this.notificationTimeout !== null) {
264
+ return;
265
+ }
266
+ this.notificationTimeout = setTimeout(() => {
267
+ this.notificationTimeout = null;
268
+ const changes = this.pendingNotifications;
269
+ this.pendingNotifications = [];
270
+ this.processNotifications(changes);
271
+ }, this.config.debounceMs);
272
+ }
273
+ /**
274
+ * Process and dispatch notifications
275
+ */
276
+ processNotifications(changes) {
277
+ // Notify global subscribers
278
+ if (this.globalSubscriptions.size > 0) {
279
+ const data = this.getData();
280
+ for (const callback of this.globalSubscriptions) {
281
+ try {
282
+ callback(data, changes);
283
+ }
284
+ catch (error) {
285
+ console.error('Error in global subscription callback:', error);
286
+ }
287
+ }
288
+ }
289
+ // Notify path-specific subscribers
290
+ const notifiedSubscriptions = new Set();
291
+ for (const change of changes) {
292
+ // Find all subscriptions that should be notified for this change
293
+ for (const [subscribedPath, subscriptions] of this.pathSubscriptions) {
294
+ if (this.shouldNotifyPath(subscribedPath, change.path)) {
295
+ for (const sub of subscriptions) {
296
+ if (!notifiedSubscriptions.has(sub)) {
297
+ notifiedSubscriptions.add(sub);
298
+ try {
299
+ const currentValue = resolvePointer(this.data, sub.pointer);
300
+ // For path subscriptions, we provide the value at their subscribed path
301
+ sub.callback(this.config.deepClone ? this.deepClone(currentValue) : currentValue, change.previousValue);
302
+ }
303
+ catch (error) {
304
+ console.error('Error in path subscription callback:', error);
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ /**
313
+ * Check if a subscribed path should be notified for a change at a given path
314
+ */
315
+ shouldNotifyPath(subscribedPath, changedPath) {
316
+ // Root subscription gets all changes
317
+ if (subscribedPath === '') {
318
+ return true;
319
+ }
320
+ // Exact match
321
+ if (subscribedPath === changedPath) {
322
+ return true;
323
+ }
324
+ // Changed path is a parent of subscribed path
325
+ // (e.g., subscribed to /a/b, changed /a)
326
+ if (isParentPointer(changedPath, subscribedPath)) {
327
+ return true;
328
+ }
329
+ // Subscribed path is a parent of changed path
330
+ // (e.g., subscribed to /a, changed /a/b)
331
+ if (isParentPointer(subscribedPath, changedPath)) {
332
+ return true;
333
+ }
334
+ return false;
335
+ }
336
+ /**
337
+ * Deep clone a value
338
+ */
339
+ deepClone(value) {
340
+ if (value === null || value === undefined) {
341
+ return value;
342
+ }
343
+ if (typeof value !== 'object') {
344
+ return value;
345
+ }
346
+ if (Array.isArray(value)) {
347
+ return value.map((item) => this.deepClone(item));
348
+ }
349
+ if (value instanceof Date) {
350
+ return new Date(value.getTime());
351
+ }
352
+ if (value instanceof Map) {
353
+ const result = new Map();
354
+ for (const [k, v] of value) {
355
+ result.set(k, this.deepClone(v));
356
+ }
357
+ return result;
358
+ }
359
+ if (value instanceof Set) {
360
+ const result = new Set();
361
+ for (const v of value) {
362
+ result.add(this.deepClone(v));
363
+ }
364
+ return result;
365
+ }
366
+ const result = {};
367
+ for (const key of Object.keys(value)) {
368
+ result[key] = this.deepClone(value[key]);
369
+ }
370
+ return result;
371
+ }
372
+ }
373
+ /**
374
+ * Create a reactive store with the given configuration
375
+ */
376
+ export function createReactiveStore(config) {
377
+ return new ReactiveStore(config);
378
+ }
379
+ // ============================================================================
380
+ // Utility Functions
381
+ // ============================================================================
382
+ /**
383
+ * Create a computed value that updates when dependencies change
384
+ *
385
+ * @param store - Reactive store
386
+ * @param dependencies - Array of paths this computation depends on
387
+ * @param compute - Function to compute the value
388
+ * @param callback - Callback to invoke when computed value changes
389
+ * @returns Subscription handle
390
+ */
391
+ export function createComputed(store, dependencies, compute, callback) {
392
+ let previousValue;
393
+ const update = () => {
394
+ const data = store.getData();
395
+ const newValue = compute(data);
396
+ if (newValue !== previousValue) {
397
+ previousValue = newValue;
398
+ callback(newValue);
399
+ }
400
+ };
401
+ // Initial computation
402
+ update();
403
+ // Subscribe to all dependencies
404
+ const subscriptions = [];
405
+ for (const dep of dependencies) {
406
+ subscriptions.push(store.subscribe(dep, update));
407
+ }
408
+ return {
409
+ unsubscribe: () => {
410
+ for (const sub of subscriptions) {
411
+ sub.unsubscribe();
412
+ }
413
+ },
414
+ };
415
+ }
416
+ /**
417
+ * Create a selector that extracts and transforms data
418
+ *
419
+ * @param store - Reactive store
420
+ * @param path - Path to select from
421
+ * @param transform - Transform function (optional)
422
+ * @returns Current transformed value and subscribe function
423
+ */
424
+ export function createSelector(store, path, transform) {
425
+ const getValue = () => {
426
+ const value = store.getAt(path);
427
+ return transform ? transform(value) : value;
428
+ };
429
+ const subscribe = (callback) => {
430
+ return store.subscribe(path, (value) => {
431
+ const transformed = transform ? transform(value) : value;
432
+ callback(transformed);
433
+ });
434
+ };
435
+ return { getValue, subscribe };
436
+ }
437
+ /**
438
+ * Merge multiple stores into a single namespace
439
+ *
440
+ * @param stores - Map of namespace to store
441
+ * @returns Combined store interface
442
+ */
443
+ export function combineStores(stores) {
444
+ const getAt = (namespace, pointer) => {
445
+ const store = stores.get(namespace);
446
+ return store?.getAt(pointer);
447
+ };
448
+ const setAt = (namespace, pointer, value) => {
449
+ const store = stores.get(namespace);
450
+ store?.setAt(pointer, value);
451
+ };
452
+ const subscribe = (namespace, pointer, callback) => {
453
+ const store = stores.get(namespace);
454
+ if (!store) {
455
+ return { unsubscribe: () => { } };
456
+ }
457
+ return store.subscribe(pointer, callback);
458
+ };
459
+ return { getAt, setAt, subscribe };
460
+ }
461
+ //# sourceMappingURL=reactive-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactive-store.js","sourceRoot":"","sources":["../../../../src/adapters/a2ui/data/reactive-store.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,cAAc,EACd,YAAY,EACZ,eAAe,EACf,eAAe,EAGf,aAAa,GACd,MAAM,4BAA4B,CAAC;AAwGpC,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E;;;;;;;;GAQG;AACH,MAAM,OAAO,aAAa;IAChB,IAAI,CAA0B;IACrB,MAAM,CAAgC;IACtC,iBAAiB,GAAuC,IAAI,GAAG,EAAE,CAAC;IAClE,mBAAmB,GAA8B,IAAI,GAAG,EAAE,CAA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* Barrel export for A2UI v0.8 Declarative UI protocol implementation.
5
+ * Provides component catalogs, schemas, and validation for QE-specific UI generation.
6
+ *
7
+ * Reference: https://a2ui.org/specification/v0.8-a2ui/
8
+ * ADR: ADR-055 A2UI Declarative UI Strategy
9
+ *
10
+ * @module adapters/a2ui
11
+ */
12
+ export { type LiteralValue, type PathValue, type CombinedValue, type BoundValue, type ExplicitListChildren, type TemplateChildren, type ComponentChildren, type A2UIAccessibility, type ComponentAction, type RowComponent, type ColumnComponent, type ListComponent, type TextComponent, type TextStyle, type TextWeight, type ImageComponent, type IconComponent, type IconSize, type DividerComponent, type ButtonComponent, type ButtonVariant, type TextFieldComponent, type TextFieldInputType, type CheckBoxComponent, type DateTimeInputComponent, type DateTimeMode, type SliderComponent, type CardComponent, type TabsComponent, type TabConfig, type ModalComponent, type StandardComponentType, type StandardComponent, type ComponentMetadata, STANDARD_CATALOG, STANDARD_COMPONENT_TYPES, COMPONENTS_BY_CATEGORY, type TestStatus, type VulnerabilitySeverity, type QualityGateStatus, type WCAGLevel, type A11yImpact, type QualityMetric, type TestEvent, type CVSSScore, type VulnerabilityDetails, type A11yFindingDetails, type CoverageGaugeComponent, type TestStatusBadgeComponent, type VulnerabilityCardComponent, type QualityGateIndicatorComponent, type A11yFindingCardComponent, type TestTimelineComponent, type DefectDensityChartComponent, type FlakySummaryComponent, type QEComponentType, type QEComponent, type QEComponentMetadata, QE_CATALOG, QE_COMPONENT_TYPES, QE_COMPONENTS_BY_DOMAIN, QE_DOMAINS, type QEDomain, ALL_COMPONENT_TYPES, COMBINED_CATALOG, A2UI_CATALOG_VERSION, QE_CATALOG_VERSION, CATALOG_INFO, isLiteralValue, isPathValue, isCombinedValue, isBoundValue, isExplicitListChildren, isTemplateChildren, isStandardComponentType, isLayoutComponent, isDisplayComponent, isInteractiveComponent, isContainerComponent, isQEComponentType, hasQEPrefix, isTestStatus, isVulnerabilitySeverity, isQualityGateStatus, isWCAGLevel, isA11yImpact, isQEDomain, isAnyComponentType, createLiteralValue, createPathValue, createCombinedValue, createExplicitListChildren, createTemplateChildren, createAction, getComponentMetadata, getComponentsByCategory, getComponentCategory, componentHasChildren, getRequiredProps, getOptionalProps, getAllProps, getStaticValue, getBindingPath, getQEComponentMetadata, getQEComponentsByDomain, getQEDomain, isRealTimeComponent, getRelatedDomains, getAnyComponentMetadata, getSeverityColor, getTestStatusColor, getQualityGateColor, getA11yImpactColor, getTestStatusIcon, getQualityGateIcon, getSeverityIcon, getCoverageStatus, formatDuration, calculateFlakyRate, type JSONSchema, BOUND_VALUE_SCHEMA, BOUND_STRING_SCHEMA, BOUND_NUMBER_SCHEMA, BOUND_BOOLEAN_SCHEMA, COMPONENT_CHILDREN_SCHEMA, ACCESSIBILITY_SCHEMA, ACTION_SCHEMA, ROW_SCHEMA, COLUMN_SCHEMA, LIST_SCHEMA, TEXT_SCHEMA, IMAGE_SCHEMA, ICON_SCHEMA, DIVIDER_SCHEMA, BUTTON_SCHEMA, TEXT_FIELD_SCHEMA, CHECKBOX_SCHEMA, DATE_TIME_INPUT_SCHEMA, SLIDER_SCHEMA, CARD_SCHEMA, TAB_CONFIG_SCHEMA, TABS_SCHEMA, MODAL_SCHEMA, COVERAGE_GAUGE_SCHEMA, TEST_STATUS_BADGE_SCHEMA, VULNERABILITY_CARD_SCHEMA, QUALITY_GATE_INDICATOR_SCHEMA, A11Y_FINDING_CARD_SCHEMA, TEST_TIMELINE_SCHEMA, DEFECT_DENSITY_CHART_SCHEMA, FLAKY_SUMMARY_SCHEMA, STANDARD_COMPONENT_SCHEMAS, QE_COMPONENT_SCHEMAS, ALL_COMPONENT_SCHEMAS, type ValidationError, type ComponentValidationResult, validateComponent, getComponentSchema, hasComponentSchema, getAllComponentTypes, getStandardComponentTypes, getQEComponentTypes, } from './catalog/index.js';
13
+ export { type LiteralValue as RendererLiteralValue, type PathValue as RendererPathValue, type CombinedValue as RendererCombinedValue, type BoundValue as RendererBoundValue, type ExplicitList, type TemplateChildren as RendererTemplateChildren, type ComponentChildren as RendererComponentChildren, type AriaLive, type A2UIAccessibility as RendererA2UIAccessibility, type ComponentPropertyValue, type ComponentProperties, type ComponentDefinition, type ComponentNode, type A2UIComponent, type ComponentAction as RendererComponentAction, type SurfaceUpdateMessage, type DataModelUpdateMessage, type BeginRenderingMessage, type DeleteSurfaceMessage, type A2UIServerMessage, type UserActionMessage, type ClientErrorMessage, type A2UIClientMessage, type A2UIMessage, isLiteralValue as isRendererLiteralValue, isPathValue as isRendererPathValue, isCombinedValue as isRendererCombinedValue, isBoundValue as isRendererBoundValue, isExplicitList, isTemplateChildren as isRendererTemplateChildren, isSurfaceUpdateMessage, isDataModelUpdateMessage, isBeginRenderingMessage, isDeleteSurfaceMessage, isUserActionMessage, isClientErrorMessage, isServerMessage, isClientMessage, literal, path, boundWithDefault, children, templateChildren, a11y, ComponentBuilder, createComponentBuilder, type ComponentBuilderConfig, row, column, card, text, button, list, buildSurface, SurfaceGenerator, createSurfaceGenerator, type SurfaceState, type SurfaceGeneratorConfig, type SurfaceChangeEvent, createCoverageSurface, createCoverageDataUpdate, createCoverageSummarySurface, type CoverageData, type FileCoverage, type CoverageGap, type ModuleCoverage, createTestResultsSurface, createTestResultsDataUpdate, createTestSummarySurface, type TestResults, type TestResult, type TestSuite, type TestStatus as RendererTestStatus, createSecuritySurface, createSecurityDataUpdate, createSecuritySummarySurface, type SecurityFindings, type SecurityFinding, type Severity, type OwaspCategory, type SeverityCount, type DependencyVulnerability, createAccessibilitySurface, createAccessibilityDataUpdate, createAccessibilitySummarySurface, type A11yAudit, type A11yFinding, type WcagLevel, type ImpactLevel, type WcagPrinciple, type ImpactCount, type LevelCount, type PrincipleBreakdown, type PageAudit, } from './renderer/index.js';
14
+ export { JsonPointerError, type JsonPointerErrorCode, type ResolveResult, escapeSegment, unescapeSegment, parseJsonPointer, buildJsonPointer, isValidPointer, resolvePointer, resolvePointerWithInfo, pointerExists, setAtPointer, deleteAtPointer, getAllPaths, isParentPointer, getParentPointer, getPointerKey, joinPointers, getRelativePath, type LiteralValue as DataLiteralValue, type PathValue as DataPathValue, type CombinedValue as DataCombinedValue, type BoundValue as DataBoundValue, type ExplicitListChildren as DataExplicitListChildren, type TemplateChildrenConfig, type TemplateChildren as DataTemplateChildren, type ComponentChildren as DataComponentChildren, type ResolvedTemplateChild, type BoundValueResolverConfig, type IBoundValueResolver, isLiteralValue as isDataLiteralValue, isPathValue as isDataPathValue, isCombinedValue as isDataCombinedValue, isBoundValue as isDataBoundValue, isExplicitListChildren as isDataExplicitListChildren, isTemplateChildren as isDataTemplateChildren, createLiteralValue as createDataLiteralValue, createPathValue as createDataPathValue, createCombinedValue as createDataCombinedValue, createExplicitListChildren as createDataExplicitListChildren, createTemplateChildren as createDataTemplateChildren, BoundValueResolver, createBoundValueResolver, getStaticValue as getDataStaticValue, getBindingPath as getDataBindingPath, hasDynamicBinding, hasStaticDefault, toBoundValue, extractBoundPaths, resolveAllBoundValues, type ChangeCallback, type GlobalChangeCallback, type StoreChange, type BatchUpdate, type Subscription, type ReactiveStoreConfig, type IReactiveStore, ReactiveStore, createReactiveStore, createComputed, createSelector, combineStores, } from './data/index.js';
15
+ export { type AriaRole, type AriaLive as AccessibilityAriaLive, type AriaRelevant, type AriaAutocomplete, type AriaCurrent, type AriaDropeffect, type AriaHaspopup, type AriaOrientation, type AriaSort, type AriaChecked, type AriaPressed, type A2UIAccessibility as AccessibilityA2UIAccessibility, isAriaRole, isAriaLive, isAriaRelevant, isAriaChecked, isAriaPressed, isA2UIAccessibility, createButtonAccessibility, createCheckboxAccessibility, createSliderAccessibility, createProgressAccessibility, createDialogAccessibility, createLiveRegionAccessibility, createTabAccessibility, createTabPanelAccessibility, createTextInputAccessibility, createImageAccessibility, createListAccessibility, createListItemAccessibility, createHeadingAccessibility, toAriaAttributes, mergeAccessibility, applyDefaultAccessibility, getDefaultAccessibility, type WCAGLevel as AccessibilityWCAGLevel, type WCAGPrinciple, type IssueSeverity, type WCAGCriterion, type WCAGIssue, type WCAGWarning, type WCAGPassedCriterion, type WCAGValidationResult, type ComponentValidationResult as AccessibilityComponentValidationResult, type AccessibilityRequirement, WCAG_LEVEL_A_CRITERIA, WCAG_LEVEL_AA_CRITERIA, getCriteriaForLevel, getCriterion, COMPONENT_REQUIREMENTS, getAccessibilityRequirements, validateComponent as validateComponentAccessibility, validateSurface as validateSurfaceAccessibility, getIssueSummary, getAccessibilityScore, type KeyboardKey, type ModifierKey, type KeyCombination, type KeyboardAction, type KeyboardNavigation, type KeyboardNavigationConfig, KEYBOARD_PATTERNS, getKeyboardPattern, hasKeyboardPattern, getKeyboardActions, getDefaultAction, shouldTrapFocus, usesRovingTabIndex, supportsTypeAhead, getActionForKey, createKeyboardNavigation, mergeKeyboardNavigation, createFocusTrap, getKeyboardDescription, validateKeyboardNavigation, getAllKeyboardPatternTypes, getPatternsByCapability, type ComponentAccessibilityConfig, type AccessibilityAuditResult, auditSurfaceAccessibility, applyAccessibility, getAriaAttributesForComponent, getAccessibilityDocumentation, } from './accessibility/index.js';
16
+ export { AGUISyncService, createAGUISyncService, type PathMapping, type A2UICustomEventName, type A2UICustomEventPayload, type ActionStateMapping, type AGUISyncServiceConfig, type SyncServiceState, type SyncEvent, SurfaceStateBridge, createSurfaceStateBridge, type ComponentBinding, type BoundSurfaceConfig, type SurfaceStateBridgeConfig, type BridgeUpdateEvent, boundSurface, binding, } from './integration/index.js';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adapters/a2ui/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,UAAU,EAGf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EAGtB,KAAK,iBAAiB,EAGtB,KAAK,eAAe,EAGpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,a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AK,yBAAyB,IAAI,sCAAsC,EACxE,KAAK,wBAAwB,EAG7B,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EAGZ,sBAAsB,EACtB,4BAA4B,EAG5B,iBAAiB,IAAI,8BAA8B,EACnD,eAAe,IAAI,4BAA4B,EAC/C,eAAe,EACf,qBAAqB,EAGrB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAG7B,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAGhB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EAGf,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EAGf,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EAGvB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAMlC,OAAO,EAEL,eAAe,EACf,qBAAqB,EACrB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAGd,kBAAkB,EAClB,wBAAwB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EAGtB,YAAY,EACZ,OAAO,GACR,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,119 @@
1
+ /**
2
+ * A2UI Protocol Adapter
3
+ *
4
+ * Barrel export for A2UI v0.8 Declarative UI protocol implementation.
5
+ * Provides component catalogs, schemas, and validation for QE-specific UI generation.
6
+ *
7
+ * Reference: https://a2ui.org/specification/v0.8-a2ui/
8
+ * ADR: ADR-055 A2UI Declarative UI Strategy
9
+ *
10
+ * @module adapters/a2ui
11
+ */
12
+ // ============================================================================
13
+ // Catalog Exports (Phase 3.1 - Component Catalog)
14
+ // ============================================================================
15
+ export { STANDARD_CATALOG, STANDARD_COMPONENT_TYPES, COMPONENTS_BY_CATEGORY, QE_CATALOG, QE_COMPONENT_TYPES, QE_COMPONENTS_BY_DOMAIN, QE_DOMAINS,
16
+ // ===== Combined Catalog =====
17
+ ALL_COMPONENT_TYPES, COMBINED_CATALOG, A2UI_CATALOG_VERSION, QE_CATALOG_VERSION, CATALOG_INFO,
18
+ // ===== Type Guards - BoundValue =====
19
+ isLiteralValue, isPathValue, isCombinedValue, isBoundValue,
20
+ // ===== Type Guards - Children =====
21
+ isExplicitListChildren, isTemplateChildren,
22
+ // ===== Type Guards - Standard Components =====
23
+ isStandardComponentType, isLayoutComponent, isDisplayComponent, isInteractiveComponent, isContainerComponent,
24
+ // ===== Type Guards - QE Components =====
25
+ isQEComponentType, hasQEPrefix, isTestStatus, isVulnerabilitySeverity, isQualityGateStatus, isWCAGLevel, isA11yImpact, isQEDomain, isAnyComponentType,
26
+ // ===== Factory Functions =====
27
+ createLiteralValue, createPathValue, createCombinedValue, createExplicitListChildren, createTemplateChildren, createAction,
28
+ // ===== Standard Component Helpers =====
29
+ getComponentMetadata, getComponentsByCategory, getComponentCategory, componentHasChildren, getRequiredProps, getOptionalProps, getAllProps, getStaticValue, getBindingPath,
30
+ // ===== QE Component Helpers =====
31
+ getQEComponentMetadata, getQEComponentsByDomain, getQEDomain, isRealTimeComponent, getRelatedDomains, getAnyComponentMetadata,
32
+ // ===== Color Functions =====
33
+ getSeverityColor, getTestStatusColor, getQualityGateColor, getA11yImpactColor,
34
+ // ===== Icon Functions =====
35
+ getTestStatusIcon, getQualityGateIcon, getSeverityIcon,
36
+ // ===== Utility Functions =====
37
+ getCoverageStatus, formatDuration, calculateFlakyRate,
38
+ // ===== Shared Schemas =====
39
+ BOUND_VALUE_SCHEMA, BOUND_STRING_SCHEMA, BOUND_NUMBER_SCHEMA, BOUND_BOOLEAN_SCHEMA, COMPONENT_CHILDREN_SCHEMA, ACCESSIBILITY_SCHEMA, ACTION_SCHEMA,
40
+ // ===== Standard Component Schemas =====
41
+ ROW_SCHEMA, COLUMN_SCHEMA, LIST_SCHEMA, TEXT_SCHEMA, IMAGE_SCHEMA, ICON_SCHEMA, DIVIDER_SCHEMA, BUTTON_SCHEMA, TEXT_FIELD_SCHEMA, CHECKBOX_SCHEMA, DATE_TIME_INPUT_SCHEMA, SLIDER_SCHEMA, CARD_SCHEMA, TAB_CONFIG_SCHEMA, TABS_SCHEMA, MODAL_SCHEMA,
42
+ // ===== QE Component Schemas =====
43
+ COVERAGE_GAUGE_SCHEMA, TEST_STATUS_BADGE_SCHEMA, VULNERABILITY_CARD_SCHEMA, QUALITY_GATE_INDICATOR_SCHEMA, A11Y_FINDING_CARD_SCHEMA, TEST_TIMELINE_SCHEMA, DEFECT_DENSITY_CHART_SCHEMA, FLAKY_SUMMARY_SCHEMA,
44
+ // ===== Schema Registry =====
45
+ STANDARD_COMPONENT_SCHEMAS, QE_COMPONENT_SCHEMAS, ALL_COMPONENT_SCHEMAS,
46
+ // ===== Validation Functions =====
47
+ validateComponent, getComponentSchema, hasComponentSchema, getAllComponentTypes, getStandardComponentTypes, getQEComponentTypes, } from './catalog/index.js';
48
+ // ============================================================================
49
+ // Renderer Exports (Phase 3.2 - Surface Rendering Engine)
50
+ // ============================================================================
51
+ export {
52
+ // ===== Message Type Guards =====
53
+ isLiteralValue as isRendererLiteralValue, isPathValue as isRendererPathValue, isCombinedValue as isRendererCombinedValue, isBoundValue as isRendererBoundValue, isExplicitList, isTemplateChildren as isRendererTemplateChildren, isSurfaceUpdateMessage, isDataModelUpdateMessage, isBeginRenderingMessage, isDeleteSurfaceMessage, isUserActionMessage, isClientErrorMessage, isServerMessage, isClientMessage,
54
+ // ===== Message Factory Functions =====
55
+ literal, path, boundWithDefault, children, templateChildren, a11y,
56
+ // ===== Component Builder =====
57
+ ComponentBuilder, createComponentBuilder, row, column, card, text, button, list, buildSurface,
58
+ // ===== Surface Generator =====
59
+ SurfaceGenerator, createSurfaceGenerator,
60
+ // ===== QE Surface Templates =====
61
+ // Coverage
62
+ createCoverageSurface, createCoverageDataUpdate, createCoverageSummarySurface,
63
+ // Test Results
64
+ createTestResultsSurface, createTestResultsDataUpdate, createTestSummarySurface,
65
+ // Security
66
+ createSecuritySurface, createSecurityDataUpdate, createSecuritySummarySurface,
67
+ // Accessibility
68
+ createAccessibilitySurface, createAccessibilityDataUpdate, createAccessibilitySummarySurface, } from './renderer/index.js';
69
+ // ============================================================================
70
+ // Data Binding Exports (Phase 3.3 - Data Binding with BoundValue Types)
71
+ // ============================================================================
72
+ export {
73
+ // ===== JSON Pointer (RFC 6901) =====
74
+ JsonPointerError, escapeSegment, unescapeSegment, parseJsonPointer, buildJsonPointer, isValidPointer, resolvePointer, resolvePointerWithInfo, pointerExists, setAtPointer, deleteAtPointer, getAllPaths, isParentPointer, getParentPointer, getPointerKey, joinPointers, getRelativePath,
75
+ // ===== BoundValue Type Guards (Data Module) =====
76
+ isLiteralValue as isDataLiteralValue, isPathValue as isDataPathValue, isCombinedValue as isDataCombinedValue, isBoundValue as isDataBoundValue, isExplicitListChildren as isDataExplicitListChildren, isTemplateChildren as isDataTemplateChildren,
77
+ // ===== BoundValue Factory Functions (Data Module) =====
78
+ createLiteralValue as createDataLiteralValue, createPathValue as createDataPathValue, createCombinedValue as createDataCombinedValue, createExplicitListChildren as createDataExplicitListChildren, createTemplateChildren as createDataTemplateChildren,
79
+ // ===== BoundValue Resolver =====
80
+ BoundValueResolver, createBoundValueResolver,
81
+ // ===== BoundValue Utilities =====
82
+ getStaticValue as getDataStaticValue, getBindingPath as getDataBindingPath, hasDynamicBinding, hasStaticDefault, toBoundValue, extractBoundPaths, resolveAllBoundValues, ReactiveStore, createReactiveStore,
83
+ // ===== Reactive Store Utilities =====
84
+ createComputed, createSelector, combineStores, } from './data/index.js';
85
+ // ============================================================================
86
+ // Accessibility Exports (Phase 3.5 - WCAG 2.2 Accessibility Compliance)
87
+ // ============================================================================
88
+ export {
89
+ // ===== ARIA Type Guards =====
90
+ isAriaRole, isAriaLive, isAriaRelevant, isAriaChecked, isAriaPressed, isA2UIAccessibility,
91
+ // ===== ARIA Factory Functions =====
92
+ createButtonAccessibility, createCheckboxAccessibility, createSliderAccessibility, createProgressAccessibility, createDialogAccessibility, createLiveRegionAccessibility, createTabAccessibility, createTabPanelAccessibility, createTextInputAccessibility, createImageAccessibility, createListAccessibility, createListItemAccessibility, createHeadingAccessibility,
93
+ // ===== ARIA Utilities =====
94
+ toAriaAttributes, mergeAccessibility, applyDefaultAccessibility, getDefaultAccessibility,
95
+ // ===== WCAG Criteria Reference =====
96
+ WCAG_LEVEL_A_CRITERIA, WCAG_LEVEL_AA_CRITERIA, getCriteriaForLevel, getCriterion,
97
+ // ===== Component Accessibility Requirements =====
98
+ COMPONENT_REQUIREMENTS, getAccessibilityRequirements,
99
+ // ===== WCAG Validation Functions =====
100
+ validateComponent as validateComponentAccessibility, validateSurface as validateSurfaceAccessibility, getIssueSummary, getAccessibilityScore,
101
+ // ===== Keyboard Patterns =====
102
+ KEYBOARD_PATTERNS, getKeyboardPattern, hasKeyboardPattern, getKeyboardActions, getDefaultAction,
103
+ // ===== Keyboard Pattern Helpers =====
104
+ shouldTrapFocus, usesRovingTabIndex, supportsTypeAhead, getActionForKey,
105
+ // ===== Keyboard Factory Functions =====
106
+ createKeyboardNavigation, mergeKeyboardNavigation, createFocusTrap,
107
+ // ===== Keyboard Validation & Inspection =====
108
+ getKeyboardDescription, validateKeyboardNavigation, getAllKeyboardPatternTypes, getPatternsByCapability, auditSurfaceAccessibility, applyAccessibility, getAriaAttributesForComponent, getAccessibilityDocumentation, } from './accessibility/index.js';
109
+ // ============================================================================
110
+ // Integration Exports (Phase 3.4 - AG-UI State Integration)
111
+ // ============================================================================
112
+ export {
113
+ // ===== AG-UI Sync Service =====
114
+ AGUISyncService, createAGUISyncService,
115
+ // ===== Surface State Bridge =====
116
+ SurfaceStateBridge, createSurfaceStateBridge,
117
+ // ===== Convenience Builders =====
118
+ boundSurface, binding, } from './integration/index.js';
119
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapters/a2ui/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,+EAA+E;AAC/E,kDAAkD;AAClD,+EAA+E;AAE/E,OAAO,EAsDL,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EAgCtB,UAAU,EACV,kBAAkB,EAClB,uBAAuB,EACvB,UAAU;AAGV,+BAA+B;AAC/B,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,YAAY;AAEZ,uCAAuC;AACvC,cAAc,EACd,WAAW,EACX,eAAe,EACf,YAAY;AAEZ,qCAAqC;AACrC,sBAAsB,EACtB,kBAAkB;AAElB,gDAAgD;AAChD,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB;AAEpB,0CAA0C;AAC1C,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,uBAAuB,EACvB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,kBAAkB;AAElB,gCAAgC;AAChC,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,0BAA0B,EAC1B,sBAAsB,EACtB,YAAY;AAEZ,yCAAyC;AACzC,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,cAAc;AAEd,mCAAmC;AACnC,sBAAsB,EACtB,uBAAuB,EACvB,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB;AAEvB,8BAA8B;AAC9B,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB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