veryfront 0.1.1237 → 0.1.1239

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 (493) hide show
  1. package/esm/cli/auth/login.d.ts +24 -2
  2. package/esm/cli/auth/login.d.ts.map +1 -1
  3. package/esm/cli/auth/login.js +444 -35
  4. package/esm/cli/commands/build/error-handler.d.ts.map +1 -1
  5. package/esm/cli/commands/build/error-handler.js +41 -3
  6. package/esm/cli/commands/build/handler.d.ts.map +1 -1
  7. package/esm/cli/commands/build/handler.js +1 -1
  8. package/esm/cli/commands/dev/command.d.ts.map +1 -1
  9. package/esm/cli/commands/dev/command.js +14 -1
  10. package/esm/cli/commands/dev/inference-status.d.ts +6 -0
  11. package/esm/cli/commands/dev/inference-status.d.ts.map +1 -1
  12. package/esm/cli/commands/dev/inference-status.js +14 -2
  13. package/esm/cli/commands/generate/command.d.ts.map +1 -1
  14. package/esm/cli/commands/generate/command.js +61 -0
  15. package/esm/cli/commands/init/init-command.d.ts.map +1 -1
  16. package/esm/cli/commands/init/init-command.js +23 -31
  17. package/esm/cli/commands/install/registry.d.ts.map +1 -1
  18. package/esm/cli/commands/install/registry.js +6 -9
  19. package/esm/cli/commands/login/command-help.d.ts.map +1 -1
  20. package/esm/cli/commands/login/command-help.js +3 -1
  21. package/esm/cli/commands/pull/command.d.ts +1 -0
  22. package/esm/cli/commands/pull/command.d.ts.map +1 -1
  23. package/esm/cli/commands/pull/command.js +49 -6
  24. package/esm/cli/commands/push/command-help.d.ts.map +1 -1
  25. package/esm/cli/commands/push/command-help.js +7 -0
  26. package/esm/cli/commands/push/command.d.ts +23 -12
  27. package/esm/cli/commands/push/command.d.ts.map +1 -1
  28. package/esm/cli/commands/push/command.js +461 -44
  29. package/esm/cli/commands/push/plan.d.ts +35 -0
  30. package/esm/cli/commands/push/plan.d.ts.map +1 -0
  31. package/esm/cli/commands/push/plan.js +96 -0
  32. package/esm/cli/commands/schedule/handler.d.ts +21 -2
  33. package/esm/cli/commands/schedule/handler.d.ts.map +1 -1
  34. package/esm/cli/commands/schedule/handler.js +74 -27
  35. package/esm/cli/commands/schema/command-help.js +1 -1
  36. package/esm/cli/commands/up/command.js +1 -1
  37. package/esm/cli/commands/webhook/handler.d.ts.map +1 -1
  38. package/esm/cli/commands/webhook/handler.js +3 -1
  39. package/esm/cli/router.d.ts.map +1 -1
  40. package/esm/cli/router.js +27 -5
  41. package/esm/cli/shared/args.d.ts +15 -1
  42. package/esm/cli/shared/args.d.ts.map +1 -1
  43. package/esm/cli/shared/args.js +56 -3
  44. package/esm/cli/shared/config.d.ts +11 -2
  45. package/esm/cli/shared/config.d.ts.map +1 -1
  46. package/esm/cli/shared/config.js +72 -27
  47. package/esm/cli/shared/project-creation.js +1 -1
  48. package/esm/cli/sync/state.d.ts +20 -0
  49. package/esm/cli/sync/state.d.ts.map +1 -0
  50. package/esm/cli/sync/state.js +193 -0
  51. package/esm/deno.js +2 -2
  52. package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.d.ts.map +1 -1
  53. package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.js +852 -21
  54. package/esm/extensions/ext-observability-sentry/src/policy.d.ts +2 -0
  55. package/esm/extensions/ext-observability-sentry/src/policy.d.ts.map +1 -1
  56. package/esm/extensions/ext-observability-sentry/src/policy.js +214 -3
  57. package/esm/src/agent/conversation/delegation-policy.d.ts +2 -0
  58. package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
  59. package/esm/src/agent/conversation/delegation-policy.js +13 -3
  60. package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
  61. package/esm/src/agent/conversation/hosted-terminal.js +6 -2
  62. package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
  63. package/esm/src/agent/conversation/run-chunk-mirror.js +14 -2
  64. package/esm/src/agent/factory.d.ts.map +1 -1
  65. package/esm/src/agent/factory.js +22 -11
  66. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +2 -0
  67. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
  68. package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +6 -1
  69. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +2 -1
  70. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
  71. package/esm/src/agent/hosted/child-fork-execution-runner.js +6 -3
  72. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +12 -3
  73. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
  74. package/esm/src/agent/hosted/child-fork-step-message-preparation.js +16 -3
  75. package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts +1 -1
  76. package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts.map +1 -1
  77. package/esm/src/agent/hosted/cloud-agent-chat-execution.js +3 -3
  78. package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts +11 -0
  79. package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts.map +1 -1
  80. package/esm/src/agent/hosted/cloud-agent-child-tools.js +2 -3
  81. package/esm/src/agent/hosted/cloud-agent-config.d.ts +1 -0
  82. package/esm/src/agent/hosted/cloud-agent-config.d.ts.map +1 -1
  83. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +16 -1
  84. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
  85. package/esm/src/agent/hosted/cloud-runtime-system-messages.js +13 -3
  86. package/esm/src/agent/hosted/default-chat-runtime.d.ts +2 -1
  87. package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
  88. package/esm/src/agent/hosted/default-chat-runtime.js +18 -7
  89. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +2 -1
  90. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
  91. package/esm/src/agent/hosted/default-invoke-agent-tool.js +11 -3
  92. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +2 -1
  93. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
  94. package/esm/src/agent/hosted/default-project-steering-refresh.js +4 -1
  95. package/esm/src/agent/hosted/runtime-state-resolver.d.ts +6 -4
  96. package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
  97. package/esm/src/agent/hosted/runtime-state-resolver.js +8 -11
  98. package/esm/src/agent/index.d.ts +3 -3
  99. package/esm/src/agent/index.d.ts.map +1 -1
  100. package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
  101. package/esm/src/agent/project/agent-runtime.js +6 -3
  102. package/esm/src/agent/runtime/agent-definition.d.ts +68 -66
  103. package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
  104. package/esm/src/agent/runtime/agent-definition.js +15 -2
  105. package/esm/src/agent/runtime/agent-invocation-contract.d.ts +2 -0
  106. package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
  107. package/esm/src/agent/runtime/agent-markdown-adapter.js +1 -1
  108. package/esm/src/agent/runtime/agent-runtime-step.d.ts +11 -5
  109. package/esm/src/agent/runtime/agent-runtime-step.d.ts.map +1 -1
  110. package/esm/src/agent/runtime/agent-runtime-step.js +23 -6
  111. package/esm/src/agent/runtime/call-context.d.ts +42 -11
  112. package/esm/src/agent/runtime/call-context.d.ts.map +1 -1
  113. package/esm/src/agent/runtime/call-context.js +480 -42
  114. package/esm/src/agent/runtime/chat-stream-handler.d.ts +18 -0
  115. package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
  116. package/esm/src/agent/runtime/chat-stream-handler.js +38 -18
  117. package/esm/src/agent/runtime/effective-agent-system.d.ts +13 -4
  118. package/esm/src/agent/runtime/effective-agent-system.d.ts.map +1 -1
  119. package/esm/src/agent/runtime/effective-agent-system.js +29 -0
  120. package/esm/src/agent/runtime/index.d.ts +1 -0
  121. package/esm/src/agent/runtime/index.d.ts.map +1 -1
  122. package/esm/src/agent/runtime/index.js +638 -53
  123. package/esm/src/agent/runtime/load-skill-tool.d.ts +33 -3
  124. package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
  125. package/esm/src/agent/runtime/load-skill-tool.js +152 -21
  126. package/esm/src/agent/runtime/model-resolution.d.ts +3 -0
  127. package/esm/src/agent/runtime/model-resolution.d.ts.map +1 -1
  128. package/esm/src/agent/runtime/model-resolution.js +14 -0
  129. package/esm/src/agent/runtime/model-transport.d.ts +1 -0
  130. package/esm/src/agent/runtime/model-transport.d.ts.map +1 -1
  131. package/esm/src/agent/runtime/model-transport.js +5 -2
  132. package/esm/src/agent/runtime/run-runtime-context.d.ts +4 -0
  133. package/esm/src/agent/runtime/run-runtime-context.d.ts.map +1 -1
  134. package/esm/src/agent/runtime/run-runtime-context.js +9 -3
  135. package/esm/src/agent/runtime/runtime-tool-config.d.ts +1 -0
  136. package/esm/src/agent/runtime/runtime-tool-config.d.ts.map +1 -1
  137. package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
  138. package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
  139. package/esm/src/agent/runtime/skill-prompt.js +113 -25
  140. package/esm/src/agent/runtime/streamed-assistant-message.d.ts +22 -2
  141. package/esm/src/agent/runtime/streamed-assistant-message.d.ts.map +1 -1
  142. package/esm/src/agent/runtime/streamed-assistant-message.js +26 -5
  143. package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
  144. package/esm/src/agent/runtime/tool-inventory.js +13 -9
  145. package/esm/src/agent/runtime/tool-result-continuation.d.ts +4 -2
  146. package/esm/src/agent/runtime/tool-result-continuation.d.ts.map +1 -1
  147. package/esm/src/agent/runtime/tool-result-continuation.js +24 -20
  148. package/esm/src/agent/schemas/agent.schema.d.ts +2 -2
  149. package/esm/src/agent/service/runtime.js +1 -1
  150. package/esm/src/agent/streaming/fork-runtime-stream.d.ts +5 -4
  151. package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
  152. package/esm/src/agent/types.d.ts +14 -1
  153. package/esm/src/agent/types.d.ts.map +1 -1
  154. package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
  155. package/esm/src/chat/chat-ui-message-helpers.js +75 -16
  156. package/esm/src/config/loader.d.ts.map +1 -1
  157. package/esm/src/config/loader.js +37 -1
  158. package/esm/src/errors/catalog/build-errors.d.ts.map +1 -1
  159. package/esm/src/errors/catalog/build-errors.js +14 -0
  160. package/esm/src/errors/error-registry/build.d.ts +2 -0
  161. package/esm/src/errors/error-registry/build.d.ts.map +1 -1
  162. package/esm/src/errors/error-registry/build.js +8 -0
  163. package/esm/src/errors/error-registry/deploy.d.ts +4 -0
  164. package/esm/src/errors/error-registry/deploy.d.ts.map +1 -1
  165. package/esm/src/errors/error-registry/deploy.js +16 -0
  166. package/esm/src/errors/error-registry.d.ts +3 -0
  167. package/esm/src/errors/error-registry.d.ts.map +1 -1
  168. package/esm/src/errors/index.d.ts +2 -1
  169. package/esm/src/errors/index.d.ts.map +1 -1
  170. package/esm/src/errors/index.js +4 -3
  171. package/esm/src/errors/tenant-classification.d.ts +25 -0
  172. package/esm/src/errors/tenant-classification.d.ts.map +1 -0
  173. package/esm/src/errors/tenant-classification.js +61 -0
  174. package/esm/src/extensions/builtin-extensions.d.ts +10 -15
  175. package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
  176. package/esm/src/extensions/builtin-extensions.js +32 -26
  177. package/esm/src/extensions/deferred-extension.d.ts +4 -4
  178. package/esm/src/extensions/deferred-extension.js +4 -4
  179. package/esm/src/extensions/index.d.ts +1 -0
  180. package/esm/src/extensions/index.d.ts.map +1 -1
  181. package/esm/src/extensions/index.js +1 -0
  182. package/esm/src/html/hydration-script-builder/hydration-runtime.generated.js +1 -1
  183. package/esm/src/integrations/_data.d.ts.map +1 -1
  184. package/esm/src/integrations/_data.js +6 -0
  185. package/esm/src/integrations/schema.d.ts +8 -0
  186. package/esm/src/integrations/schema.d.ts.map +1 -1
  187. package/esm/src/integrations/schema.js +3 -0
  188. package/esm/src/integrations/types.d.ts +2 -0
  189. package/esm/src/integrations/types.d.ts.map +1 -1
  190. package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
  191. package/esm/src/internal-agents/run-stream.js +35 -20
  192. package/esm/src/internal-agents/run-system-prompt.d.ts +7 -2
  193. package/esm/src/internal-agents/run-system-prompt.d.ts.map +1 -1
  194. package/esm/src/internal-agents/run-system-prompt.js +19 -13
  195. package/esm/src/internal-agents/schema.d.ts +2 -0
  196. package/esm/src/internal-agents/schema.d.ts.map +1 -1
  197. package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts.map +1 -1
  198. package/esm/src/modules/react-loader/ssr-module-loader/loader.js +2 -18
  199. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts +11 -0
  200. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts.map +1 -1
  201. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.js +53 -6
  202. package/esm/src/observability/application-error-contract.d.ts +4 -0
  203. package/esm/src/observability/application-error-contract.d.ts.map +1 -1
  204. package/esm/src/observability/application-errors.d.ts.map +1 -1
  205. package/esm/src/observability/application-errors.js +64 -3
  206. package/esm/src/platform/adapters/runtime/deno/http-server.d.ts.map +1 -1
  207. package/esm/src/platform/adapters/runtime/deno/http-server.js +2 -10
  208. package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts +14 -0
  209. package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts.map +1 -1
  210. package/esm/src/platform/adapters/runtime/shared/request-peer.js +82 -0
  211. package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
  212. package/esm/src/provider/runtime-loader/provider-http.d.ts +5 -1
  213. package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
  214. package/esm/src/provider/runtime-loader/provider-http.js +55 -17
  215. package/esm/src/provider/shared/index.d.ts +1 -0
  216. package/esm/src/provider/shared/index.d.ts.map +1 -1
  217. package/esm/src/provider/shared/index.js +2 -0
  218. package/esm/src/provider/types.d.ts +1 -0
  219. package/esm/src/provider/types.d.ts.map +1 -1
  220. package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts +3 -0
  221. package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts.map +1 -0
  222. package/esm/src/react/components/ui/adapter/builtin/combobox.js +204 -0
  223. package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts +3 -0
  224. package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts.map +1 -0
  225. package/esm/src/react/components/ui/adapter/builtin/dialog.js +20 -0
  226. package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts +3 -0
  227. package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts.map +1 -0
  228. package/esm/src/react/components/ui/adapter/builtin/drawer.js +21 -0
  229. package/esm/src/react/components/ui/adapter/builtin/index.d.ts.map +1 -1
  230. package/esm/src/react/components/ui/adapter/builtin/index.js +10 -0
  231. package/esm/src/react/components/ui/adapter/builtin/popover.d.ts +3 -0
  232. package/esm/src/react/components/ui/adapter/builtin/popover.d.ts.map +1 -0
  233. package/esm/src/react/components/ui/adapter/builtin/popover.js +28 -0
  234. package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts +3 -0
  235. package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts.map +1 -0
  236. package/esm/src/react/components/ui/adapter/builtin/tabs.js +73 -0
  237. package/esm/src/react/components/ui/adapter/context.d.ts.map +1 -1
  238. package/esm/src/react/components/ui/adapter/context.js +10 -0
  239. package/esm/src/react/components/ui/adapter/contract.d.ts +212 -0
  240. package/esm/src/react/components/ui/adapter/contract.d.ts.map +1 -1
  241. package/esm/src/react/components/ui/adapter/token-scope.d.ts +24 -0
  242. package/esm/src/react/components/ui/adapter/token-scope.d.ts.map +1 -0
  243. package/esm/src/react/components/ui/adapter/token-scope.js +26 -0
  244. package/esm/src/react/components/ui/alert-dialog.d.ts +101 -0
  245. package/esm/src/react/components/ui/alert-dialog.d.ts.map +1 -0
  246. package/esm/src/react/components/ui/alert-dialog.js +181 -0
  247. package/esm/src/react/components/ui/aspect-ratio.d.ts +18 -0
  248. package/esm/src/react/components/ui/aspect-ratio.d.ts.map +1 -0
  249. package/esm/src/react/components/ui/aspect-ratio.js +13 -0
  250. package/esm/src/react/components/ui/autocomplete.d.ts +67 -0
  251. package/esm/src/react/components/ui/autocomplete.d.ts.map +1 -0
  252. package/esm/src/react/components/ui/autocomplete.js +59 -0
  253. package/esm/src/react/components/ui/breadcrumb.d.ts +86 -0
  254. package/esm/src/react/components/ui/breadcrumb.d.ts.map +1 -0
  255. package/esm/src/react/components/ui/breadcrumb.js +67 -0
  256. package/esm/src/react/components/ui/calendar.d.ts +40 -0
  257. package/esm/src/react/components/ui/calendar.d.ts.map +1 -0
  258. package/esm/src/react/components/ui/calendar.js +170 -0
  259. package/esm/src/react/components/ui/combobox.d.ts +74 -0
  260. package/esm/src/react/components/ui/combobox.d.ts.map +1 -0
  261. package/esm/src/react/components/ui/combobox.js +100 -0
  262. package/esm/src/react/components/ui/context-menu.d.ts +116 -0
  263. package/esm/src/react/components/ui/context-menu.d.ts.map +1 -0
  264. package/esm/src/react/components/ui/context-menu.js +168 -0
  265. package/esm/src/react/components/ui/date-picker.d.ts +69 -0
  266. package/esm/src/react/components/ui/date-picker.d.ts.map +1 -0
  267. package/esm/src/react/components/ui/date-picker.js +96 -0
  268. package/esm/src/react/components/ui/dialog.d.ts +41 -11
  269. package/esm/src/react/components/ui/dialog.d.ts.map +1 -1
  270. package/esm/src/react/components/ui/dialog.js +47 -28
  271. package/esm/src/react/components/ui/drawer.d.ts +31 -8
  272. package/esm/src/react/components/ui/drawer.d.ts.map +1 -1
  273. package/esm/src/react/components/ui/drawer.js +33 -22
  274. package/esm/src/react/components/ui/dropdown-menu.d.ts.map +1 -1
  275. package/esm/src/react/components/ui/dropdown-menu.js +7 -75
  276. package/esm/src/react/components/ui/field.d.ts +70 -0
  277. package/esm/src/react/components/ui/field.d.ts.map +1 -0
  278. package/esm/src/react/components/ui/field.js +161 -0
  279. package/esm/src/react/components/ui/file-type.d.ts +9 -8
  280. package/esm/src/react/components/ui/file-type.d.ts.map +1 -1
  281. package/esm/src/react/components/ui/file-type.js +8 -8
  282. package/esm/src/react/components/ui/hover-card.d.ts +82 -0
  283. package/esm/src/react/components/ui/hover-card.d.ts.map +1 -0
  284. package/esm/src/react/components/ui/hover-card.js +140 -0
  285. package/esm/src/react/components/ui/index.d.ts +23 -2
  286. package/esm/src/react/components/ui/index.d.ts.map +1 -1
  287. package/esm/src/react/components/ui/index.js +21 -0
  288. package/esm/src/react/components/ui/input-otp.d.ts +37 -0
  289. package/esm/src/react/components/ui/input-otp.d.ts.map +1 -0
  290. package/esm/src/react/components/ui/input-otp.js +42 -0
  291. package/esm/src/react/components/ui/menu-keyboard.d.ts +8 -0
  292. package/esm/src/react/components/ui/menu-keyboard.d.ts.map +1 -0
  293. package/esm/src/react/components/ui/menu-keyboard.js +76 -0
  294. package/esm/src/react/components/ui/menubar.d.ts +98 -0
  295. package/esm/src/react/components/ui/menubar.d.ts.map +1 -0
  296. package/esm/src/react/components/ui/menubar.js +173 -0
  297. package/esm/src/react/components/ui/meter.d.ts +45 -0
  298. package/esm/src/react/components/ui/meter.d.ts.map +1 -0
  299. package/esm/src/react/components/ui/meter.js +59 -0
  300. package/esm/src/react/components/ui/modal-surface.d.ts +7 -1
  301. package/esm/src/react/components/ui/modal-surface.d.ts.map +1 -1
  302. package/esm/src/react/components/ui/modal-surface.js +23 -6
  303. package/esm/src/react/components/ui/navigation-menu.d.ts +101 -0
  304. package/esm/src/react/components/ui/navigation-menu.d.ts.map +1 -0
  305. package/esm/src/react/components/ui/navigation-menu.js +195 -0
  306. package/esm/src/react/components/ui/number-field.d.ts +46 -0
  307. package/esm/src/react/components/ui/number-field.d.ts.map +1 -0
  308. package/esm/src/react/components/ui/number-field.js +121 -0
  309. package/esm/src/react/components/ui/pagination.d.ts +77 -0
  310. package/esm/src/react/components/ui/pagination.d.ts.map +1 -0
  311. package/esm/src/react/components/ui/pagination.js +62 -0
  312. package/esm/src/react/components/ui/popover.d.ts +42 -13
  313. package/esm/src/react/components/ui/popover.d.ts.map +1 -1
  314. package/esm/src/react/components/ui/popover.js +25 -12
  315. package/esm/src/react/components/ui/scroll-area.d.ts +38 -0
  316. package/esm/src/react/components/ui/scroll-area.d.ts.map +1 -0
  317. package/esm/src/react/components/ui/scroll-area.js +35 -0
  318. package/esm/src/react/components/ui/separator.d.ts +20 -0
  319. package/esm/src/react/components/ui/separator.d.ts.map +1 -0
  320. package/esm/src/react/components/ui/separator.js +13 -0
  321. package/esm/src/react/components/ui/slider.d.ts +44 -0
  322. package/esm/src/react/components/ui/slider.d.ts.map +1 -0
  323. package/esm/src/react/components/ui/slider.js +46 -0
  324. package/esm/src/react/components/ui/status.d.ts +6 -5
  325. package/esm/src/react/components/ui/status.d.ts.map +1 -1
  326. package/esm/src/react/components/ui/status.js +4 -4
  327. package/esm/src/react/components/ui/tabs.d.ts +32 -9
  328. package/esm/src/react/components/ui/tabs.d.ts.map +1 -1
  329. package/esm/src/react/components/ui/tabs.js +46 -22
  330. package/esm/src/react/components/ui/toggle.d.ts +26 -0
  331. package/esm/src/react/components/ui/toggle.d.ts.map +1 -0
  332. package/esm/src/react/components/ui/toggle.js +29 -0
  333. package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts +2 -1
  334. package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
  335. package/esm/src/react/components/ui/use-isomorphic-layout-effect.js +6 -3
  336. package/esm/src/rendering/chunk-optimizer/source-imports.d.ts.map +1 -1
  337. package/esm/src/rendering/chunk-optimizer/source-imports.js +4 -114
  338. package/esm/src/rendering/orchestrator/css-candidate-manifest.d.ts.map +1 -1
  339. package/esm/src/rendering/orchestrator/css-candidate-manifest.js +30 -1
  340. package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts +10 -0
  341. package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts.map +1 -1
  342. package/esm/src/rendering/orchestrator/module-loader/build-failure.js +50 -3
  343. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts +2 -0
  344. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts.map +1 -1
  345. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.js +21 -6
  346. package/esm/src/rendering/orchestrator/module-loader/index.d.ts +2 -1
  347. package/esm/src/rendering/orchestrator/module-loader/index.d.ts.map +1 -1
  348. package/esm/src/rendering/orchestrator/module-loader/index.js +190 -7
  349. package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts +4 -0
  350. package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts.map +1 -1
  351. package/esm/src/rendering/orchestrator/module-loader/module-persistence.js +374 -7
  352. package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
  353. package/esm/src/rendering/orchestrator/pipeline.js +12 -1
  354. package/esm/src/runs/runs-client.d.ts +2 -4
  355. package/esm/src/runs/runs-client.d.ts.map +1 -1
  356. package/esm/src/runs/schemas.d.ts +18 -8
  357. package/esm/src/runs/schemas.d.ts.map +1 -1
  358. package/esm/src/runs/schemas.js +26 -0
  359. package/esm/src/runtime/model-call-context.d.ts +6 -1
  360. package/esm/src/runtime/model-call-context.d.ts.map +1 -1
  361. package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
  362. package/esm/src/runtime/runtime-bridge.js +133 -15
  363. package/esm/src/schedule/factory.d.ts +8 -2
  364. package/esm/src/schedule/factory.d.ts.map +1 -1
  365. package/esm/src/schedule/factory.js +0 -8
  366. package/esm/src/schedule/index.d.ts +10 -1
  367. package/esm/src/schedule/index.d.ts.map +1 -1
  368. package/esm/src/schedule/index.js +9 -0
  369. package/esm/src/schedule/types.d.ts +30 -11
  370. package/esm/src/schedule/types.d.ts.map +1 -1
  371. package/esm/src/schedule/validation.d.ts +17 -0
  372. package/esm/src/schedule/validation.d.ts.map +1 -1
  373. package/esm/src/schedule/validation.js +93 -5
  374. package/esm/src/security/sandbox/worker-pool.d.ts.map +1 -1
  375. package/esm/src/security/sandbox/worker-pool.js +6 -1
  376. package/esm/src/server/bootstrap.d.ts.map +1 -1
  377. package/esm/src/server/bootstrap.js +6 -0
  378. package/esm/src/server/dev-server/index.d.ts +1 -1
  379. package/esm/src/server/dev-server/index.d.ts.map +1 -1
  380. package/esm/src/server/dev-server/server.d.ts +7 -3
  381. package/esm/src/server/dev-server/server.d.ts.map +1 -1
  382. package/esm/src/server/dev-server/server.js +12 -3
  383. package/esm/src/server/dev-server/types.d.ts +7 -1
  384. package/esm/src/server/dev-server/types.d.ts.map +1 -1
  385. package/esm/src/server/dev-server.d.ts +1 -1
  386. package/esm/src/server/dev-server.d.ts.map +1 -1
  387. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  388. package/esm/src/server/handlers/dev/framework-candidates.generated.js +2509 -34
  389. package/esm/src/server/handlers/dev/projects/index.d.ts.map +1 -1
  390. package/esm/src/server/handlers/dev/projects/index.js +3 -0
  391. package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
  392. package/esm/src/server/handlers/request/agent-stream.handler.js +29 -24
  393. package/esm/src/server/index.d.ts +3 -3
  394. package/esm/src/server/index.d.ts.map +1 -1
  395. package/esm/src/server/index.js +10 -5
  396. package/esm/src/server/node-handler.d.ts.map +1 -1
  397. package/esm/src/server/node-handler.js +4 -1
  398. package/esm/src/server/production-server.d.ts.map +1 -1
  399. package/esm/src/server/production-server.js +2 -1
  400. package/esm/src/server/project-env/cache.d.ts +17 -0
  401. package/esm/src/server/project-env/cache.d.ts.map +1 -1
  402. package/esm/src/server/project-env/cache.js +78 -2
  403. package/esm/src/server/project-env/fetcher.d.ts.map +1 -1
  404. package/esm/src/server/project-env/fetcher.js +24 -14
  405. package/esm/src/server/project-env/index.d.ts +1 -1
  406. package/esm/src/server/project-env/index.d.ts.map +1 -1
  407. package/esm/src/server/project-env/index.js +1 -1
  408. package/esm/src/server/project-env/internal-authorization.d.ts +7 -0
  409. package/esm/src/server/project-env/internal-authorization.d.ts.map +1 -0
  410. package/esm/src/server/project-env/internal-authorization.js +32 -0
  411. package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
  412. package/esm/src/server/runtime-handler/index.js +1 -1
  413. package/esm/src/server/runtime-handler/projects-handler.d.ts +1 -1
  414. package/esm/src/server/runtime-handler/projects-handler.d.ts.map +1 -1
  415. package/esm/src/server/runtime-handler/projects-handler.js +4 -2
  416. package/esm/src/transforms/esm/http-bundler.d.ts.map +1 -1
  417. package/esm/src/transforms/esm/http-bundler.js +6 -5
  418. package/esm/src/transforms/esm/http-cache-helpers.d.ts +11 -0
  419. package/esm/src/transforms/esm/http-cache-helpers.d.ts.map +1 -1
  420. package/esm/src/transforms/esm/http-cache-helpers.js +35 -0
  421. package/esm/src/transforms/esm/http-cache.d.ts.map +1 -1
  422. package/esm/src/transforms/esm/http-cache.js +16 -10
  423. package/esm/src/transforms/esm/specifier-resolver.d.ts.map +1 -1
  424. package/esm/src/transforms/esm/specifier-resolver.js +87 -7
  425. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts +2 -0
  426. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts.map +1 -1
  427. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.js +11 -6
  428. package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
  429. package/esm/src/transforms/md/compiler/md-compiler.js +12 -5
  430. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts +2 -0
  431. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts.map +1 -1
  432. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.js +33 -1
  433. package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
  434. package/esm/src/transforms/mdx/compiler/mdx-compiler.js +46 -7
  435. package/esm/src/transforms/mdx/esm-module-loader/cache/index.d.ts.map +1 -1
  436. package/esm/src/transforms/mdx/esm-module-loader/cache/index.js +8 -2
  437. package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts +1 -0
  438. package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts.map +1 -1
  439. package/esm/src/transforms/mdx/esm-module-loader/cache-format.js +3 -0
  440. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts +4 -0
  441. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts.map +1 -1
  442. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.js +44 -8
  443. package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts +2 -0
  444. package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts.map +1 -1
  445. package/esm/src/transforms/mdx/esm-module-loader/missing-module.js +4 -0
  446. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.d.ts.map +1 -1
  447. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.js +5 -1
  448. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts +2 -0
  449. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts.map +1 -1
  450. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.js +50 -11
  451. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts +24 -12
  452. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts.map +1 -1
  453. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.js +201 -18
  454. package/esm/src/transforms/mdx/esm-module-loader/types.d.ts +5 -0
  455. package/esm/src/transforms/mdx/esm-module-loader/types.d.ts.map +1 -1
  456. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts +22 -2
  457. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts.map +1 -1
  458. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.js +2080 -129
  459. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts +11 -1
  460. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts.map +1 -1
  461. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.js +32 -15
  462. package/esm/src/transforms/pipeline/stages/compile.d.ts.map +1 -1
  463. package/esm/src/transforms/pipeline/stages/compile.js +44 -0
  464. package/esm/src/transforms/shared/specifier-suffix.d.ts +25 -0
  465. package/esm/src/transforms/shared/specifier-suffix.d.ts.map +1 -0
  466. package/esm/src/transforms/shared/specifier-suffix.js +43 -0
  467. package/esm/src/trigger/index.d.ts +2 -2
  468. package/esm/src/trigger/index.d.ts.map +1 -1
  469. package/esm/src/trigger/index.js +1 -1
  470. package/esm/src/trigger/local-runner.d.ts +2 -2
  471. package/esm/src/trigger/local-runner.d.ts.map +1 -1
  472. package/esm/src/trigger/local-runner.js +11 -4
  473. package/esm/src/trigger/target.d.ts +97 -5
  474. package/esm/src/trigger/target.d.ts.map +1 -1
  475. package/esm/src/trigger/target.js +175 -5
  476. package/esm/src/utils/version-constant.d.ts +1 -1
  477. package/esm/src/utils/version-constant.js +1 -1
  478. package/esm/src/webhook/types.d.ts +21 -6
  479. package/esm/src/webhook/types.d.ts.map +1 -1
  480. package/esm/src/webhook/validation.d.ts.map +1 -1
  481. package/esm/src/webhook/validation.js +27 -39
  482. package/esm/templates/index.d.ts +1 -1
  483. package/esm/templates/index.d.ts.map +1 -1
  484. package/esm/templates/loader.d.ts +6 -6
  485. package/esm/templates/loader.d.ts.map +1 -1
  486. package/esm/templates/loader.js +34 -18
  487. package/esm/templates/manifest.generated.d.ts +3 -0
  488. package/esm/templates/manifest.generated.d.ts.map +1 -0
  489. package/esm/templates/manifest.generated.js +2 -0
  490. package/package.json +8 -8
  491. package/esm/templates/manifest.d.ts +0 -664
  492. package/esm/templates/manifest.d.ts.map +0 -1
  493. package/esm/templates/manifest.js +0 -662
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/ui/adapter/builtin/tabs.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAiFhD,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Builtin Tabs adapter - the zero-dependency single-select tablist machinery
3
+ * (`role="tablist"` / `role="tab"` / `aria-selected`, select-on-click), assembled
4
+ * as `TabsParts`. The Root owns the selected value; each Tab self-wires through
5
+ * the file-local context. Panel-less (the consumer renders content by value). The
6
+ * Tab sets `data-state="active"|"inactive"` and carries NO visual classes - the
7
+ * skin passes those.
8
+ *
9
+ * @module react/components/ui/adapter/builtin/tabs
10
+ */
11
+ import * as React from "react";
12
+ import { Slot } from "../../slot.js";
13
+ const TabsContext = React.createContext(null);
14
+ const TabsRoot = ({ value, onValueChange, children, ref, ...props }) => {
15
+ const ctx = React.useMemo(() => ({ value, onValueChange }), [value, onValueChange]);
16
+ return (React.createElement(TabsContext.Provider, { value: ctx },
17
+ React.createElement("div", { ref: ref, role: "tablist", ...props }, children)));
18
+ };
19
+ const TabsTab = ({ value, asChild, onClick, onKeyDown, ref, ...props }) => {
20
+ const ctx = React.useContext(TabsContext);
21
+ const isActive = ctx?.value === value;
22
+ const Comp = asChild ? Slot : "button";
23
+ const moveFocus = (event, direction) => {
24
+ const list = event.currentTarget.closest('[role="tablist"]');
25
+ const tabs = Array.from(list?.querySelectorAll('[role="tab"]') ?? [])
26
+ .filter((tab) => !tab.hasAttribute("disabled") &&
27
+ tab.getAttribute("aria-disabled") !== "true");
28
+ const currentIndex = tabs.indexOf(event.currentTarget);
29
+ if (currentIndex === -1 || tabs.length === 0)
30
+ return;
31
+ const nextIndex = direction === "first"
32
+ ? 0
33
+ : direction === "last"
34
+ ? tabs.length - 1
35
+ : (currentIndex + direction + tabs.length) % tabs.length;
36
+ const next = tabs[nextIndex];
37
+ next?.focus();
38
+ next?.click();
39
+ };
40
+ return (React.createElement(Comp, { ...(asChild ? {} : { type: "button" }), ref: ref, role: "tab", "aria-selected": isActive, "data-state": isActive ? "active" : "inactive", tabIndex: isActive ? 0 : -1, onClick: (e) => {
41
+ onClick?.(e);
42
+ if (!e.defaultPrevented)
43
+ ctx?.onValueChange(value);
44
+ }, onKeyDown: (e) => {
45
+ onKeyDown?.(e);
46
+ if (e.defaultPrevented)
47
+ return;
48
+ switch (e.key) {
49
+ case "ArrowRight":
50
+ case "ArrowDown":
51
+ e.preventDefault();
52
+ moveFocus(e, 1);
53
+ break;
54
+ case "ArrowLeft":
55
+ case "ArrowUp":
56
+ e.preventDefault();
57
+ moveFocus(e, -1);
58
+ break;
59
+ case "Home":
60
+ e.preventDefault();
61
+ moveFocus(e, "first");
62
+ break;
63
+ case "End":
64
+ e.preventDefault();
65
+ moveFocus(e, "last");
66
+ break;
67
+ }
68
+ }, ...props }));
69
+ };
70
+ export const builtinTabs = {
71
+ Root: TabsRoot,
72
+ Tab: TabsTab,
73
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/ui/adapter/context.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAKjE,+DAA+D;AAC/D,wBAAgB,iBAAiB,CAC/B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GACA,KAAK,CAAC,YAAY,CAwBpB;AAED,yFAAyF;AACzF,wBAAgB,UAAU,IAAI,SAAS,CAEtC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/ui/adapter/context.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAKjE,+DAA+D;AAC/D,wBAAgB,iBAAiB,CAC/B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GACA,KAAK,CAAC,YAAY,CAkCpB;AAED,yFAAyF;AACzF,wBAAgB,UAAU,IAAI,SAAS,CAEtC"}
@@ -23,12 +23,22 @@ export function UIAdapterProvider({ adapter, children }) {
23
23
  toast: adapter.toast ?? parent.toast,
24
24
  toggleGroup: adapter.toggleGroup ?? parent.toggleGroup,
25
25
  toolbar: adapter.toolbar ?? parent.toolbar,
26
+ dialog: adapter.dialog ?? parent.dialog,
27
+ drawer: adapter.drawer ?? parent.drawer,
28
+ tabs: adapter.tabs ?? parent.tabs,
29
+ popover: adapter.popover ?? parent.popover,
30
+ combobox: adapter.combobox ?? parent.combobox,
26
31
  }), [
27
32
  adapter.disclosure,
28
33
  adapter.name,
29
34
  adapter.toast,
30
35
  adapter.toggleGroup,
31
36
  adapter.toolbar,
37
+ adapter.dialog,
38
+ adapter.drawer,
39
+ adapter.tabs,
40
+ adapter.popover,
41
+ adapter.combobox,
32
42
  parent,
33
43
  ]);
34
44
  return (React.createElement(UIAdapterContext.Provider, { value: merged }, children));
@@ -176,6 +176,213 @@ export interface ToastParts {
176
176
  /** Read the imperative `{ toast, dismiss }` API. Throws outside a `ToastProvider`. */
177
177
  useToast: () => ToastState;
178
178
  }
179
+ /**
180
+ * Normalized modal state a Dialog/Drawer skin part reads from its adapter.
181
+ * Beyond open/close it carries the **label-registration surface** so `DialogTitle`
182
+ * / `DialogDescription` can register their ids and the adapter wires the panel's
183
+ * `aria-labelledby` / `aria-describedby` (the builtin does this; an engine
184
+ * adapter maps these onto its own labelling). Structurally a subset of the
185
+ * builtin `createModalSurfaceParts` context.
186
+ */
187
+ export interface ModalState {
188
+ open: boolean;
189
+ setOpen: (open: boolean) => void;
190
+ /** Fallback id the content adopts before/without an explicit `id`. */
191
+ defaultContentId: string;
192
+ /** The active content id (trigger wires `aria-controls` to it). */
193
+ contentId: string;
194
+ /** Fallback id the title adopts before/without an explicit `id`. */
195
+ defaultTitleId: string;
196
+ /** Fallback id the description adopts before/without an explicit `id`. */
197
+ defaultDescriptionId: string;
198
+ /** The active description id (skin wires the panel's `aria-describedby` to it). */
199
+ descriptionId: string;
200
+ /** Whether a description registered (skin adopts/drops `aria-describedby`). */
201
+ descriptionPresent: boolean;
202
+ /** Register the active content id (drives the trigger's `aria-controls`). */
203
+ setContentId: React.Dispatch<React.SetStateAction<string>>;
204
+ /** Register the active title id (drives the panel's `aria-labelledby`). */
205
+ setTitleId: React.Dispatch<React.SetStateAction<string>>;
206
+ /** Register the active description id (drives the panel's `aria-describedby`). */
207
+ setDescriptionId: React.Dispatch<React.SetStateAction<string>>;
208
+ /** Mark a title present/absent so the panel adopts (or drops) `aria-labelledby`. */
209
+ setTitlePresent: React.Dispatch<React.SetStateAction<boolean>>;
210
+ /** Mark a description present/absent so the panel adopts (or drops) `aria-describedby`. */
211
+ setDescriptionPresent: React.Dispatch<React.SetStateAction<boolean>>;
212
+ }
213
+ /**
214
+ * Role-tagged slots an adapter provides for the Dialog primitive (Drawer is a
215
+ * skin over the same modal mechanics via its own instance). The builtin wraps
216
+ * `createModalSurfaceParts` (overlay + centered panel, Escape / overlay-click
217
+ * dismiss, focus containment + restoration); a Base UI / Radix engine maps these
218
+ * onto its own Dialog parts.
219
+ */
220
+ export interface DialogParts {
221
+ /** Owns open state; renders no public node of its own. */
222
+ Root: React.FC<DisclosureProps & {
223
+ children: React.ReactNode;
224
+ }>;
225
+ /** Opens the dialog; `asChild` merges onto the consumer's element. */
226
+ Trigger: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
227
+ asChild?: boolean;
228
+ ref?: React.Ref<HTMLButtonElement>;
229
+ }>;
230
+ /** Overlay + panel; `lead` is an optional node before children (Drawer's drag handle). */
231
+ Content: React.FC<React.HTMLAttributes<HTMLDivElement> & {
232
+ lead?: React.ReactNode;
233
+ ref?: React.Ref<HTMLDivElement>;
234
+ }>;
235
+ /** Closes the dialog; `asChild` merges onto the consumer's element. */
236
+ Close: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
237
+ asChild?: boolean;
238
+ ref?: React.Ref<HTMLButtonElement>;
239
+ }>;
240
+ /** Hook for skin parts that must close programmatically (e.g. `DialogCancel`). */
241
+ useDialog: () => ModalState;
242
+ }
243
+ /**
244
+ * Role-tagged slots an adapter provides for the Drawer primitive: the same modal
245
+ * mechanics as Dialog on a distinct instance, plus an edge `direction`. The
246
+ * builtin renders a static edge sheet (the skin positions it); a Vaul specialist
247
+ * adapter drives real drag-to-dismiss / snap points off the same slots.
248
+ */
249
+ export interface DrawerParts {
250
+ /** Owns open state; renders no public node of its own. */
251
+ Root: React.FC<DisclosureProps & {
252
+ direction?: "top" | "bottom" | "left" | "right";
253
+ children: React.ReactNode;
254
+ }>;
255
+ /** Opens the drawer; `asChild` merges onto the consumer's element. */
256
+ Trigger: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
257
+ asChild?: boolean;
258
+ ref?: React.Ref<HTMLButtonElement>;
259
+ }>;
260
+ /** Overlay + sliding sheet; `lead` is an optional node before children (drag handle). */
261
+ Content: React.FC<React.HTMLAttributes<HTMLDivElement> & {
262
+ lead?: React.ReactNode;
263
+ ref?: React.Ref<HTMLDivElement>;
264
+ }>;
265
+ /** Closes the drawer; `asChild` merges onto the consumer's element. */
266
+ Close: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
267
+ asChild?: boolean;
268
+ ref?: React.Ref<HTMLButtonElement>;
269
+ }>;
270
+ /** Read drawer state (open + label registration) from a skin part (e.g. `DrawerTitle`). */
271
+ useDrawer: () => ModalState;
272
+ }
273
+ /**
274
+ * Role-tagged slots an adapter provides for the Tabs primitive: a
275
+ * `role="tablist"` owning the selected value, and `role="tab"` items that select
276
+ * on click and publish `aria-selected` + `data-state="active"|"inactive"`. The
277
+ * builtin is panel-less (the consumer renders content by value); the skin owns
278
+ * the size variant + visual look via `asChild`.
279
+ */
280
+ export interface TabsParts {
281
+ /** Owns the selected value + provides context; renders the `role="tablist"` node. */
282
+ Root: React.FC<React.HTMLAttributes<HTMLDivElement> & {
283
+ value: string;
284
+ onValueChange: (value: string) => void;
285
+ children: React.ReactNode;
286
+ ref?: React.Ref<HTMLDivElement>;
287
+ }>;
288
+ /** A tab; sets `aria-selected` / `data-state`, selects its value on click. */
289
+ Tab: React.FC<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "value"> & {
290
+ value: string;
291
+ asChild?: boolean;
292
+ ref?: React.Ref<HTMLButtonElement>;
293
+ }>;
294
+ }
295
+ /**
296
+ * Role-tagged slots an adapter provides for the Popover primitive: an anchored
297
+ * floating surface with a toggle trigger. The builtin wraps
298
+ * `createAnchoredSurfaceParts` (collision-aware positioning, Escape / outside
299
+ * dismiss, focus return, token-scope portal); an engine maps these onto its own
300
+ * Popover parts.
301
+ */
302
+ export interface PopoverParts {
303
+ /** Owns open state + the positioning anchor; renders no public node of its own. */
304
+ Root: React.FC<DisclosureProps & {
305
+ children: React.ReactNode;
306
+ }>;
307
+ /** Toggles the surface; `asChild` merges behaviour onto the consumer's element. */
308
+ Trigger: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
309
+ asChild?: boolean;
310
+ ref?: React.Ref<HTMLButtonElement>;
311
+ }>;
312
+ /** The floating surface, portalled into the token scope while open. */
313
+ Content: React.FC<React.HTMLAttributes<HTMLDivElement> & {
314
+ align?: "start" | "end";
315
+ initialFocus?: true | string;
316
+ ref?: React.Ref<HTMLDivElement>;
317
+ }>;
318
+ }
319
+ /**
320
+ * Combobox state a skin part reads. RICH by design - a Combobox is a text
321
+ * `role="combobox"` input filtering a `role="listbox"`, so the adapter owns the
322
+ * typed `query`, the substring `matches` filter, the option registry, and the
323
+ * `activeId` (`aria-activedescendant`) that keyboard navigation walks. Filtering
324
+ * lives in the ADAPTER, not the skin, because active-descendant nav must move
325
+ * over the *filtered* set - the two are one state machine. The skin's items
326
+ * register `(id, value, text)` and read `matches` / `activeId` to hide/highlight;
327
+ * the skin never owns the filter logic.
328
+ */
329
+ export interface ComboboxState {
330
+ /** Current input text. */
331
+ query: string;
332
+ /** Set the input text (typically re-opens the list). */
333
+ setQuery: (query: string) => void;
334
+ /** Whether the listbox is open. */
335
+ open: boolean;
336
+ /** Open/close the listbox. */
337
+ setOpen: (open: boolean) => void;
338
+ /** The selected option value, if any. */
339
+ value: string | undefined;
340
+ /** Commit a selection (value + display text); closes the list. */
341
+ select: (value: string, text: string) => void;
342
+ /** `id` of the active option for `aria-activedescendant`, or `undefined`. */
343
+ activeId: string | undefined;
344
+ /** Substring filter - an option's text is visible when this returns true. */
345
+ matches: (text: string) => boolean;
346
+ /** DOM id of the listbox, for the input's `aria-controls`. */
347
+ listboxId: string;
348
+ /** Register an option so the adapter can drive filtering + enabled keyboard nav. */
349
+ registerOption: (id: string, value: string, text: string, disabled?: boolean) => void;
350
+ /** Remove a previously-registered option. */
351
+ unregisterOption: (id: string) => void;
352
+ /** Wire onto the input's `onKeyDown`: ArrowUp/Down/Home/End/Enter/Escape nav. */
353
+ onInputKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
354
+ }
355
+ /** Role-tagged slots an adapter provides for the Combobox primitive. */
356
+ export interface ComboboxParts {
357
+ /** Owns query/open/value + option registry + the positioning anchor. */
358
+ Root: React.FC<{
359
+ children: React.ReactNode;
360
+ value?: string;
361
+ defaultValue?: string;
362
+ onValueChange?: (value: string) => void;
363
+ open?: boolean;
364
+ defaultOpen?: boolean;
365
+ onOpenChange?: (open: boolean) => void;
366
+ defaultInputValue?: string;
367
+ optionLabels?: ReadonlyArray<{
368
+ value: string;
369
+ text: string;
370
+ }>;
371
+ /** Fires whenever the input text changes - typing OR filling from a selection.
372
+ * Autocomplete reads this to treat the free-typed text as the value. */
373
+ onInputValueChange?: (value: string) => void;
374
+ }>;
375
+ /** The `role="combobox"` text input; `aria-activedescendant`/`-controls` wired. */
376
+ Input: React.FC<React.InputHTMLAttributes<HTMLInputElement> & {
377
+ ref?: React.Ref<HTMLInputElement>;
378
+ }>;
379
+ /** The floating `role="listbox"` surface, portalled into the token scope while open. */
380
+ Content: React.FC<React.HTMLAttributes<HTMLDivElement> & {
381
+ ref?: React.Ref<HTMLDivElement>;
382
+ }>;
383
+ /** Read combobox state from a skin part (Input/Item/Empty). Throws outside a Combobox. */
384
+ useCombobox: () => ComboboxState;
385
+ }
179
386
  /**
180
387
  * The adapter surface. Each new primitive must also be added to the explicit
181
388
  * composition in `context.tsx`, which prevents `undefined` overrides from
@@ -188,6 +395,11 @@ export interface UIAdapter {
188
395
  disclosure: DisclosureParts;
189
396
  toggleGroup: ToggleGroupParts;
190
397
  toolbar: ToolbarParts;
398
+ dialog: DialogParts;
399
+ drawer: DrawerParts;
400
+ tabs: TabsParts;
401
+ popover: PopoverParts;
402
+ combobox: ComboboxParts;
191
403
  }
192
404
  /**
193
405
  * A partial adapter map: unspecified keys fall back to `builtin`, so a consumer
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/ui/adapter/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,kCAAkC,CAAC;AAE1C,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,eAAe;IAC9B,+EAA+E;IAC/E,IAAI,EAAE,KAAK,CAAC,EAAE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ClB,UAAU,EAAE,eAAe,CAAC;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,YAAY,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GACjB,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/ui/adapter/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,kCAAkC,CAAC;AAE1C,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,eAAe;IAC9B,+EAA+E;IAC/E,IAAI,EAAE,KAAK,CAAC,EAAE,CACV,eAAe,GACf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACpC;QACA,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,kEAAkE;QAClE,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,kEAAkE;QAClE,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;KACjC,CACF,CAAC;IACF;;;;;OAKG;IACH,OAAO,EAAE,KAAK,CAAC,EAAE,CACb,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe,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,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * `useTokenScope` - resolve the nearest `[data-vf-ui]` / `[data-vf-chat]` token
3
+ * scope for portalling. Every adapter's floating surface (Popover, Menu,
4
+ * Tooltip, Select, Dialog) MUST portal INTO this scope rather than `<body>`,
5
+ * because the design tokens are scoped there - a surface under `<body>` resolves
6
+ * every `var(--…)` to nothing (transparent background, wrong text color). This
7
+ * is the single scope-resolution helper the builtin and any third-party adapter
8
+ * share, so the invariant is enforced identically everywhere (see the mandatory
9
+ * token-scope conformance test).
10
+ *
11
+ * @module react/components/ui/adapter/token-scope
12
+ */
13
+ import * as React from "react";
14
+ /**
15
+ * Returns a `ref` to attach to any element inside the token scope, plus a
16
+ * `getContainer()` that resolves the nearest scope element (falling back to
17
+ * `document.body`). Third-party adapters use this to feed their portal
18
+ * `container` (e.g. Base UI's `<Portal container={…}>`).
19
+ */
20
+ export declare function useTokenScope(): {
21
+ ref: React.RefObject<HTMLSpanElement | null>;
22
+ getContainer: () => HTMLElement;
23
+ };
24
+ //# sourceMappingURL=token-scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token-scope.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/ui/adapter/token-scope.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI;IAC/B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAC7C,YAAY,EAAE,MAAM,WAAW,CAAC;CACjC,CASA"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `useTokenScope` - resolve the nearest `[data-vf-ui]` / `[data-vf-chat]` token
3
+ * scope for portalling. Every adapter's floating surface (Popover, Menu,
4
+ * Tooltip, Select, Dialog) MUST portal INTO this scope rather than `<body>`,
5
+ * because the design tokens are scoped there - a surface under `<body>` resolves
6
+ * every `var(--…)` to nothing (transparent background, wrong text color). This
7
+ * is the single scope-resolution helper the builtin and any third-party adapter
8
+ * share, so the invariant is enforced identically everywhere (see the mandatory
9
+ * token-scope conformance test).
10
+ *
11
+ * @module react/components/ui/adapter/token-scope
12
+ */
13
+ import * as React from "react";
14
+ import { UI_SCOPE_SELECTOR } from "../design-tokens.js";
15
+ /**
16
+ * Returns a `ref` to attach to any element inside the token scope, plus a
17
+ * `getContainer()` that resolves the nearest scope element (falling back to
18
+ * `document.body`). Third-party adapters use this to feed their portal
19
+ * `container` (e.g. Base UI's `<Portal container={…}>`).
20
+ */
21
+ export function useTokenScope() {
22
+ const ref = React.useRef(null);
23
+ const getContainer = React.useCallback(() => ref.current?.closest(UI_SCOPE_SELECTOR) ??
24
+ (typeof document !== "undefined" ? document.body : null), []);
25
+ return { ref, getContainer };
26
+ }
@@ -0,0 +1,101 @@
1
+ /**
2
+ * AlertDialog - a confirmation modal. Semantically a {@link Dialog} with
3
+ * `role="alertdialog"`, a REQUIRED title + description, and explicit
4
+ * Action / Cancel buttons. Unlike `Dialog` it does NOT dismiss on outside-click
5
+ * or `Escape`: the user must choose an option.
6
+ *
7
+ * It reuses the Dialog primitive's open-state context (`dialog.Root` /
8
+ * `dialog.Trigger` / `dialog.useDialog` resolved from the active adapter) so
9
+ * trigger + open state behave identically, but renders its own alert-specific
10
+ * overlay + panel - the panel carries `role="alertdialog"` and its
11
+ * `aria-labelledby` / `aria-describedby` are wired to the Title / Description
12
+ * ids, and neither the overlay nor a key listener dismisses it.
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * import {
17
+ * AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent,
18
+ * AlertDialogDescription, AlertDialogFooter, AlertDialogTitle, AlertDialogTrigger,
19
+ * } from "veryfront/ui";
20
+ *
21
+ * <AlertDialog>
22
+ * <AlertDialogTrigger>Delete account</AlertDialogTrigger>
23
+ * <AlertDialogContent>
24
+ * <AlertDialogTitle>Delete account?</AlertDialogTitle>
25
+ * <AlertDialogDescription>This permanently removes your account.</AlertDialogDescription>
26
+ * <AlertDialogFooter>
27
+ * <AlertDialogCancel>Cancel</AlertDialogCancel>
28
+ * <AlertDialogAction variant="destructive" onClick={remove}>Delete</AlertDialogAction>
29
+ * </AlertDialogFooter>
30
+ * </AlertDialogContent>
31
+ * </AlertDialog>;
32
+ * ```
33
+ *
34
+ * @module react/components/ui/alert-dialog
35
+ */
36
+ import * as React from "react";
37
+ import { type ButtonProps } from "./button.js";
38
+ /** Props accepted by `<AlertDialog>`. */
39
+ export interface AlertDialogProps {
40
+ /** The trigger and content parts to compose. */
41
+ children: React.ReactNode;
42
+ /** Controlled open state (pair with `onOpenChange`). @default undefined */
43
+ open?: boolean;
44
+ /** Initial open state when uncontrolled. @default false */
45
+ defaultOpen?: boolean;
46
+ /** Fires when the open state changes. @default undefined */
47
+ onOpenChange?: (open: boolean) => void;
48
+ }
49
+ /** AlertDialog root - owns open state (shares the Dialog adapter slot). */
50
+ export declare function AlertDialog(props: AlertDialogProps): React.ReactElement;
51
+ /** Props accepted by `<AlertDialogTrigger>`. */
52
+ export interface AlertDialogTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
53
+ /** Merge trigger behaviour onto the child element instead of a `<button>`. @default false */
54
+ asChild?: boolean;
55
+ /** React 19: ref is a regular prop. */
56
+ ref?: React.Ref<HTMLButtonElement>;
57
+ }
58
+ /** Trigger - opens the alert dialog. `asChild` merges onto the child element. */
59
+ export declare function AlertDialogTrigger({ ref, ...props }: AlertDialogTriggerProps): React.ReactElement;
60
+ /** Props accepted by `<AlertDialogContent>`. */
61
+ export interface AlertDialogContentProps extends React.HTMLAttributes<HTMLDivElement> {
62
+ /** React 19: ref is a regular prop (forwarded to the panel node). */
63
+ ref?: React.Ref<HTMLDivElement>;
64
+ }
65
+ /**
66
+ * Alert surface - non-dismissing overlay + centered `role="alertdialog"` panel,
67
+ * rendered only while open. Generates the title / description ids, wires them to
68
+ * `aria-labelledby` / `aria-describedby`, traps focus, restores it on close,
69
+ * and portals outside clipping ancestors while retaining the token scope.
70
+ */
71
+ export declare function AlertDialogContent({ className, children, id, ref, ...props }: AlertDialogContentProps): React.ReactElement | null;
72
+ /** Props accepted by `<AlertDialogTitle>`. */
73
+ export interface AlertDialogTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
74
+ /** React 19: ref is a regular prop. */
75
+ ref?: React.Ref<HTMLHeadingElement>;
76
+ }
77
+ /** Required accessible name - adopts the Content-generated `aria-labelledby` id. */
78
+ export declare function AlertDialogTitle({ className, id, ref, ...props }: AlertDialogTitleProps): React.ReactElement;
79
+ /** Props accepted by `<AlertDialogDescription>`. */
80
+ export interface AlertDialogDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
81
+ /** React 19: ref is a regular prop. */
82
+ ref?: React.Ref<HTMLParagraphElement>;
83
+ }
84
+ /** Required supporting copy - adopts the Content-generated `aria-describedby` id. */
85
+ export declare function AlertDialogDescription({ className, id, ref, ...props }: AlertDialogDescriptionProps): React.ReactElement;
86
+ /** Props accepted by `<AlertDialogFooter>`. */
87
+ export interface AlertDialogFooterProps extends React.HTMLAttributes<HTMLDivElement> {
88
+ /** React 19: ref is a regular prop. */
89
+ ref?: React.Ref<HTMLDivElement>;
90
+ }
91
+ /** Right-aligned action row - Cancel first, then the Action. */
92
+ export declare function AlertDialogFooter({ className, ref, ...props }: AlertDialogFooterProps): React.ReactElement;
93
+ /** Props accepted by `<AlertDialogAction>`. */
94
+ export type AlertDialogActionProps = ButtonProps;
95
+ /** Confirming action - runs `onClick`, then closes unless it calls `preventDefault()`. */
96
+ export declare function AlertDialogAction({ variant, size, type, onClick, ...props }: AlertDialogActionProps): React.ReactElement;
97
+ /** Props accepted by `<AlertDialogCancel>`. */
98
+ export type AlertDialogCancelProps = ButtonProps;
99
+ /** Dismissing action - runs `onClick`, then closes unless it calls `preventDefault()`. */
100
+ export declare function AlertDialogCancel({ variant, size, type, onClick, ...props }: AlertDialogCancelProps): React.ReactElement;
101
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AA0CvD,yCAAyC;AACzC,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2DAA2D;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,2EAA2E;AAC3E,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CASvE;AAED,gDAAgD;AAChD,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC5F,6FAA6F;IAC7F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG,KAAK,CAAC,YAAY,CAcjG;AAED,gDAAgD;AAChD,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACnF,qEAAqE;IACrE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;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