@agent-native/core 0.109.2 → 0.109.4

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 (334) hide show
  1. package/corpus/README.md +2 -2
  2. package/corpus/core/CHANGELOG.md +16 -0
  3. package/corpus/core/docs/content/agent-native-toolkit.mdx +46 -13
  4. package/corpus/core/docs/content/locales/ar-SA/agent-native-toolkit.mdx +79 -55
  5. package/corpus/core/docs/content/locales/ar-SA/toolkit-capability-packages.mdx +21 -0
  6. package/corpus/core/docs/content/locales/ar-SA/toolkit-context-knowledge.mdx +12 -0
  7. package/corpus/core/docs/content/locales/ar-SA/toolkit-editors-canvases.mdx +17 -0
  8. package/corpus/core/docs/content/locales/de-DE/agent-native-toolkit.mdx +82 -54
  9. package/corpus/core/docs/content/locales/de-DE/toolkit-capability-packages.mdx +21 -0
  10. package/corpus/core/docs/content/locales/de-DE/toolkit-context-knowledge.mdx +12 -0
  11. package/corpus/core/docs/content/locales/de-DE/toolkit-editors-canvases.mdx +17 -0
  12. package/corpus/core/docs/content/locales/es-ES/agent-native-toolkit.mdx +81 -52
  13. package/corpus/core/docs/content/locales/es-ES/toolkit-capability-packages.mdx +21 -0
  14. package/corpus/core/docs/content/locales/es-ES/toolkit-context-knowledge.mdx +12 -0
  15. package/corpus/core/docs/content/locales/es-ES/toolkit-editors-canvases.mdx +21 -0
  16. package/corpus/core/docs/content/locales/fr-FR/agent-native-toolkit.mdx +84 -54
  17. package/corpus/core/docs/content/locales/fr-FR/toolkit-capability-packages.mdx +21 -0
  18. package/corpus/core/docs/content/locales/fr-FR/toolkit-context-knowledge.mdx +12 -0
  19. package/corpus/core/docs/content/locales/fr-FR/toolkit-editors-canvases.mdx +21 -0
  20. package/corpus/core/docs/content/locales/hi-IN/agent-native-toolkit.mdx +69 -62
  21. package/corpus/core/docs/content/locales/hi-IN/toolkit-capability-packages.mdx +21 -0
  22. package/corpus/core/docs/content/locales/hi-IN/toolkit-context-knowledge.mdx +12 -0
  23. package/corpus/core/docs/content/locales/hi-IN/toolkit-editors-canvases.mdx +17 -0
  24. package/corpus/core/docs/content/locales/ja-JP/agent-native-toolkit.mdx +69 -62
  25. package/corpus/core/docs/content/locales/ja-JP/toolkit-capability-packages.mdx +21 -0
  26. package/corpus/core/docs/content/locales/ja-JP/toolkit-context-knowledge.mdx +12 -0
  27. package/corpus/core/docs/content/locales/ja-JP/toolkit-editors-canvases.mdx +17 -0
  28. package/corpus/core/docs/content/locales/ko-KR/agent-native-toolkit.mdx +69 -62
  29. package/corpus/core/docs/content/locales/ko-KR/toolkit-capability-packages.mdx +21 -0
  30. package/corpus/core/docs/content/locales/ko-KR/toolkit-context-knowledge.mdx +12 -0
  31. package/corpus/core/docs/content/locales/ko-KR/toolkit-editors-canvases.mdx +17 -0
  32. package/corpus/core/docs/content/locales/pt-BR/agent-native-toolkit.mdx +82 -54
  33. package/corpus/core/docs/content/locales/pt-BR/toolkit-capability-packages.mdx +21 -0
  34. package/corpus/core/docs/content/locales/pt-BR/toolkit-context-knowledge.mdx +12 -0
  35. package/corpus/core/docs/content/locales/pt-BR/toolkit-editors-canvases.mdx +17 -0
  36. package/corpus/core/docs/content/locales/zh-CN/agent-native-toolkit.mdx +69 -62
  37. package/corpus/core/docs/content/locales/zh-CN/toolkit-capability-packages.mdx +21 -0
  38. package/corpus/core/docs/content/locales/zh-CN/toolkit-context-knowledge.mdx +12 -0
  39. package/corpus/core/docs/content/locales/zh-CN/toolkit-editors-canvases.mdx +17 -0
  40. package/corpus/core/docs/content/locales/zh-TW/agent-native-toolkit.mdx +69 -62
  41. package/corpus/core/docs/content/locales/zh-TW/toolkit-capability-packages.mdx +21 -0
  42. package/corpus/core/docs/content/locales/zh-TW/toolkit-context-knowledge.mdx +12 -0
  43. package/corpus/core/docs/content/locales/zh-TW/toolkit-editors-canvases.mdx +17 -0
  44. package/corpus/core/docs/content/toolkit-capability-packages.mdx +52 -0
  45. package/corpus/core/docs/content/toolkit-context-knowledge.mdx +46 -0
  46. package/corpus/core/docs/content/toolkit-editors-canvases.mdx +55 -0
  47. package/corpus/core/package.json +35 -34
  48. package/corpus/core/src/cli/create.ts +57 -15
  49. package/corpus/core/src/cli/package-lifecycle.ts +2 -0
  50. package/corpus/core/src/cli/skills-content/visual-plan-skill.ts +2 -0
  51. package/corpus/core/src/client/context-xray/ContextMeter.tsx +31 -111
  52. package/corpus/core/src/client/context-xray/ContextSegmentRow.tsx +8 -111
  53. package/corpus/core/src/client/context-xray/ContextTreemap.tsx +6 -111
  54. package/corpus/core/src/client/context-xray/ContextXRayPanel.tsx +31 -391
  55. package/corpus/core/src/client/context-xray/SegmentProvenancePopover.tsx +4 -52
  56. package/corpus/core/src/client/context-xray/format.ts +0 -33
  57. package/corpus/core/src/client/require-session.tsx +19 -3
  58. package/corpus/core/src/client/rich-markdown-editor/index.ts +42 -57
  59. package/corpus/core/src/client/rich-markdown-editor/uploadEditorImage.ts +2 -1
  60. package/corpus/core/src/client/use-action.ts +145 -2
  61. package/corpus/core/src/client/use-session.ts +79 -48
  62. package/corpus/core/src/client/visual-style-controls.tsx +1 -1088
  63. package/corpus/core/src/collab/agent-identity.ts +5 -22
  64. package/corpus/core/src/collab/client.ts +1 -53
  65. package/corpus/core/src/db/client.ts +13 -7
  66. package/corpus/core/src/db/create-get-db.ts +20 -13
  67. package/corpus/core/src/db/request-telemetry.ts +154 -0
  68. package/corpus/core/src/integrations/index.ts +1 -0
  69. package/corpus/core/src/integrations/plugin.ts +9 -3
  70. package/corpus/core/src/integrations/remote-push-delivery-job.ts +48 -0
  71. package/corpus/core/src/integrations/remote-push-delivery.ts +370 -0
  72. package/corpus/core/src/integrations/remote-push-store.ts +275 -26
  73. package/corpus/core/src/server/better-auth-instance.ts +11 -3
  74. package/corpus/core/src/server/core-routes-plugin.ts +36 -14
  75. package/corpus/core/src/server/framework-request-handler.ts +11 -1
  76. package/corpus/core/src/server/http-response-telemetry.ts +233 -31
  77. package/corpus/core/src/styles/rich-markdown-editor.css +1 -510
  78. package/corpus/core/src/templates/workspace-core/.agents/skills/tracking/SKILL.md +19 -0
  79. package/corpus/core/src/testing.ts +1 -1
  80. package/corpus/core/src/vite/client.ts +3 -0
  81. package/corpus/templates/clips/actions/finalize-recording.ts +3 -1
  82. package/corpus/templates/clips/actions/set-mobile-capture-state.ts +4 -1
  83. package/corpus/templates/clips/app/components/library/library-layout.tsx +1 -6
  84. package/corpus/templates/clips/changelog/2026-07-18-new-recording-is-now-emphasized-as-the-primary-action-in-the.md +6 -0
  85. package/corpus/templates/clips/changelog/2026-07-18-recordings-now-remain-safely-recoverable-until-the-stored-me.md +6 -0
  86. package/corpus/templates/content/app/components/editor/VisualEditor.tsx +5 -3
  87. package/corpus/templates/content/app/components/editor/extensions/DragHandle.tsx +4 -4
  88. package/corpus/templates/content/package.json +25 -25
  89. package/corpus/templates/design/app/components/design/TweaksPanel.tsx +2 -1
  90. package/corpus/templates/design/package.json +1 -1
  91. package/corpus/templates/mail/package.json +9 -9
  92. package/corpus/templates/plan/.agents/skills/visual-plan/SKILL.md +2 -0
  93. package/corpus/templates/plan/app/components/editor/PlanDocumentEditor.tsx +8 -8
  94. package/corpus/templates/plan/app/components/editor/planSlashCommands.ts +6 -6
  95. package/corpus/templates/plan/app/components/plan/PlanImageNode.tsx +4 -7
  96. package/corpus/templates/plan/app/components/plan/PlanMarkdownEditor.tsx +6 -4
  97. package/corpus/templates/plan/app/components/plan/PlanVisualSurface.tsx +1 -1
  98. package/corpus/templates/plan/changelog/2026-07-18-visual-plans-now-open-on-wireframes-by-default-when-a-protot.md +6 -0
  99. package/corpus/templates/plan/package.json +3 -3
  100. package/corpus/templates/slides/app/components/editor/SlideStyleInspector.tsx +2 -2
  101. package/corpus/templates/slides/app/components/editor/TweaksPanel.tsx +2 -2
  102. package/corpus/templates/slides/package.json +13 -13
  103. package/corpus/templates/tasks/AGENTS.md +3 -0
  104. package/corpus/templates/tasks/actions/render-task-list-inline.ts +202 -0
  105. package/corpus/templates/tasks/changelog/2026-07-18-task-lists-can-now-appear-as-interactive-widgets-inline-in-c.md +6 -0
  106. package/corpus/templates/tasks/docs/features/f8-chat.mdx +2 -0
  107. package/corpus/templates/tasks/server/plugins/agent-chat.ts +2 -0
  108. package/dist/catalog.json +39 -1
  109. package/dist/cli/create.d.ts +10 -1
  110. package/dist/cli/create.d.ts.map +1 -1
  111. package/dist/cli/create.js +49 -16
  112. package/dist/cli/create.js.map +1 -1
  113. package/dist/cli/package-lifecycle.d.ts.map +1 -1
  114. package/dist/cli/package-lifecycle.js +2 -0
  115. package/dist/cli/package-lifecycle.js.map +1 -1
  116. package/dist/cli/skills-content/visual-plan-skill.d.ts +1 -1
  117. package/dist/cli/skills-content/visual-plan-skill.d.ts.map +1 -1
  118. package/dist/cli/skills-content/visual-plan-skill.js +2 -0
  119. package/dist/cli/skills-content/visual-plan-skill.js.map +1 -1
  120. package/dist/client/context-xray/ContextMeter.d.ts.map +1 -1
  121. package/dist/client/context-xray/ContextMeter.js +8 -23
  122. package/dist/client/context-xray/ContextMeter.js.map +1 -1
  123. package/dist/client/context-xray/ContextSegmentRow.d.ts.map +1 -1
  124. package/dist/client/context-xray/ContextSegmentRow.js +3 -19
  125. package/dist/client/context-xray/ContextSegmentRow.js.map +1 -1
  126. package/dist/client/context-xray/ContextTreemap.d.ts.map +1 -1
  127. package/dist/client/context-xray/ContextTreemap.js +3 -54
  128. package/dist/client/context-xray/ContextTreemap.js.map +1 -1
  129. package/dist/client/context-xray/ContextXRayPanel.d.ts.map +1 -1
  130. package/dist/client/context-xray/ContextXRayPanel.js +21 -163
  131. package/dist/client/context-xray/ContextXRayPanel.js.map +1 -1
  132. package/dist/client/context-xray/SegmentProvenancePopover.d.ts.map +1 -1
  133. package/dist/client/context-xray/SegmentProvenancePopover.js +3 -4
  134. package/dist/client/context-xray/SegmentProvenancePopover.js.map +1 -1
  135. package/dist/client/context-xray/format.d.ts +0 -4
  136. package/dist/client/context-xray/format.d.ts.map +1 -1
  137. package/dist/client/context-xray/format.js +0 -49
  138. package/dist/client/context-xray/format.js.map +1 -1
  139. package/dist/client/require-session.d.ts.map +1 -1
  140. package/dist/client/require-session.js +6 -3
  141. package/dist/client/require-session.js.map +1 -1
  142. package/dist/client/rich-markdown-editor/index.d.ts +1 -12
  143. package/dist/client/rich-markdown-editor/index.d.ts.map +1 -1
  144. package/dist/client/rich-markdown-editor/index.js +1 -12
  145. package/dist/client/rich-markdown-editor/index.js.map +1 -1
  146. package/dist/client/rich-markdown-editor/uploadEditorImage.d.ts +1 -1
  147. package/dist/client/rich-markdown-editor/uploadEditorImage.d.ts.map +1 -1
  148. package/dist/client/rich-markdown-editor/uploadEditorImage.js.map +1 -1
  149. package/dist/client/use-action.d.ts.map +1 -1
  150. package/dist/client/use-action.js +117 -1
  151. package/dist/client/use-action.js.map +1 -1
  152. package/dist/client/use-session.d.ts.map +1 -1
  153. package/dist/client/use-session.js +72 -50
  154. package/dist/client/use-session.js.map +1 -1
  155. package/dist/client/visual-style-controls.d.ts +1 -89
  156. package/dist/client/visual-style-controls.d.ts.map +1 -1
  157. package/dist/client/visual-style-controls.js +1 -498
  158. package/dist/client/visual-style-controls.js.map +1 -1
  159. package/dist/collab/agent-identity.d.ts +1 -14
  160. package/dist/collab/agent-identity.d.ts.map +1 -1
  161. package/dist/collab/agent-identity.js +1 -13
  162. package/dist/collab/agent-identity.js.map +1 -1
  163. package/dist/collab/awareness.d.ts +2 -2
  164. package/dist/collab/awareness.d.ts.map +1 -1
  165. package/dist/collab/client.d.ts +1 -19
  166. package/dist/collab/client.d.ts.map +1 -1
  167. package/dist/collab/client.js +1 -53
  168. package/dist/collab/client.js.map +1 -1
  169. package/dist/collab/struct-routes.d.ts +1 -1
  170. package/dist/db/client.d.ts.map +1 -1
  171. package/dist/db/client.js +7 -1
  172. package/dist/db/client.js.map +1 -1
  173. package/dist/db/create-get-db.d.ts +3 -6
  174. package/dist/db/create-get-db.d.ts.map +1 -1
  175. package/dist/db/create-get-db.js +9 -2
  176. package/dist/db/create-get-db.js.map +1 -1
  177. package/dist/db/request-telemetry.d.ts +23 -0
  178. package/dist/db/request-telemetry.d.ts.map +1 -0
  179. package/dist/db/request-telemetry.js +95 -0
  180. package/dist/db/request-telemetry.js.map +1 -0
  181. package/dist/integrations/index.d.ts +1 -0
  182. package/dist/integrations/index.d.ts.map +1 -1
  183. package/dist/integrations/index.js +1 -0
  184. package/dist/integrations/index.js.map +1 -1
  185. package/dist/integrations/plugin.d.ts.map +1 -1
  186. package/dist/integrations/plugin.js +8 -3
  187. package/dist/integrations/plugin.js.map +1 -1
  188. package/dist/integrations/remote-push-delivery-job.d.ts +4 -0
  189. package/dist/integrations/remote-push-delivery-job.d.ts.map +1 -0
  190. package/dist/integrations/remote-push-delivery-job.js +44 -0
  191. package/dist/integrations/remote-push-delivery-job.js.map +1 -0
  192. package/dist/integrations/remote-push-delivery.d.ts +11 -0
  193. package/dist/integrations/remote-push-delivery.d.ts.map +1 -0
  194. package/dist/integrations/remote-push-delivery.js +265 -0
  195. package/dist/integrations/remote-push-delivery.js.map +1 -0
  196. package/dist/integrations/remote-push-store.d.ts +33 -0
  197. package/dist/integrations/remote-push-store.d.ts.map +1 -1
  198. package/dist/integrations/remote-push-store.js +195 -26
  199. package/dist/integrations/remote-push-store.js.map +1 -1
  200. package/dist/notifications/routes.d.ts +3 -3
  201. package/dist/progress/routes.d.ts +1 -1
  202. package/dist/provider-api/corpus-jobs.d.ts +2 -2
  203. package/dist/resources/handlers.d.ts +3 -3
  204. package/dist/secrets/routes.d.ts +9 -9
  205. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  206. package/dist/server/better-auth-instance.js +7 -3
  207. package/dist/server/better-auth-instance.js.map +1 -1
  208. package/dist/server/core-routes-plugin.d.ts +8 -0
  209. package/dist/server/core-routes-plugin.d.ts.map +1 -1
  210. package/dist/server/core-routes-plugin.js +23 -8
  211. package/dist/server/core-routes-plugin.js.map +1 -1
  212. package/dist/server/framework-request-handler.d.ts.map +1 -1
  213. package/dist/server/framework-request-handler.js +9 -1
  214. package/dist/server/framework-request-handler.js.map +1 -1
  215. package/dist/server/http-response-telemetry.d.ts +3 -2
  216. package/dist/server/http-response-telemetry.d.ts.map +1 -1
  217. package/dist/server/http-response-telemetry.js +160 -27
  218. package/dist/server/http-response-telemetry.js.map +1 -1
  219. package/dist/server/transcribe-voice.d.ts +1 -1
  220. package/dist/styles/rich-markdown-editor.css +1 -510
  221. package/dist/templates/workspace-core/.agents/skills/tracking/SKILL.md +19 -0
  222. package/dist/testing.d.ts +1 -1
  223. package/dist/testing.d.ts.map +1 -1
  224. package/dist/testing.js +1 -1
  225. package/dist/testing.js.map +1 -1
  226. package/dist/vite/client.d.ts.map +1 -1
  227. package/dist/vite/client.js +3 -0
  228. package/dist/vite/client.js.map +1 -1
  229. package/docs/content/agent-native-toolkit.mdx +46 -13
  230. package/docs/content/locales/ar-SA/agent-native-toolkit.mdx +79 -55
  231. package/docs/content/locales/ar-SA/toolkit-capability-packages.mdx +21 -0
  232. package/docs/content/locales/ar-SA/toolkit-context-knowledge.mdx +12 -0
  233. package/docs/content/locales/ar-SA/toolkit-editors-canvases.mdx +17 -0
  234. package/docs/content/locales/de-DE/agent-native-toolkit.mdx +82 -54
  235. package/docs/content/locales/de-DE/toolkit-capability-packages.mdx +21 -0
  236. package/docs/content/locales/de-DE/toolkit-context-knowledge.mdx +12 -0
  237. package/docs/content/locales/de-DE/toolkit-editors-canvases.mdx +17 -0
  238. package/docs/content/locales/es-ES/agent-native-toolkit.mdx +81 -52
  239. package/docs/content/locales/es-ES/toolkit-capability-packages.mdx +21 -0
  240. package/docs/content/locales/es-ES/toolkit-context-knowledge.mdx +12 -0
  241. package/docs/content/locales/es-ES/toolkit-editors-canvases.mdx +21 -0
  242. package/docs/content/locales/fr-FR/agent-native-toolkit.mdx +84 -54
  243. package/docs/content/locales/fr-FR/toolkit-capability-packages.mdx +21 -0
  244. package/docs/content/locales/fr-FR/toolkit-context-knowledge.mdx +12 -0
  245. package/docs/content/locales/fr-FR/toolkit-editors-canvases.mdx +21 -0
  246. package/docs/content/locales/hi-IN/agent-native-toolkit.mdx +69 -62
  247. package/docs/content/locales/hi-IN/toolkit-capability-packages.mdx +21 -0
  248. package/docs/content/locales/hi-IN/toolkit-context-knowledge.mdx +12 -0
  249. package/docs/content/locales/hi-IN/toolkit-editors-canvases.mdx +17 -0
  250. package/docs/content/locales/ja-JP/agent-native-toolkit.mdx +69 -62
  251. package/docs/content/locales/ja-JP/toolkit-capability-packages.mdx +21 -0
  252. package/docs/content/locales/ja-JP/toolkit-context-knowledge.mdx +12 -0
  253. package/docs/content/locales/ja-JP/toolkit-editors-canvases.mdx +17 -0
  254. package/docs/content/locales/ko-KR/agent-native-toolkit.mdx +69 -62
  255. package/docs/content/locales/ko-KR/toolkit-capability-packages.mdx +21 -0
  256. package/docs/content/locales/ko-KR/toolkit-context-knowledge.mdx +12 -0
  257. package/docs/content/locales/ko-KR/toolkit-editors-canvases.mdx +17 -0
  258. package/docs/content/locales/pt-BR/agent-native-toolkit.mdx +82 -54
  259. package/docs/content/locales/pt-BR/toolkit-capability-packages.mdx +21 -0
  260. package/docs/content/locales/pt-BR/toolkit-context-knowledge.mdx +12 -0
  261. package/docs/content/locales/pt-BR/toolkit-editors-canvases.mdx +17 -0
  262. package/docs/content/locales/zh-CN/agent-native-toolkit.mdx +69 -62
  263. package/docs/content/locales/zh-CN/toolkit-capability-packages.mdx +21 -0
  264. package/docs/content/locales/zh-CN/toolkit-context-knowledge.mdx +12 -0
  265. package/docs/content/locales/zh-CN/toolkit-editors-canvases.mdx +17 -0
  266. package/docs/content/locales/zh-TW/agent-native-toolkit.mdx +69 -62
  267. package/docs/content/locales/zh-TW/toolkit-capability-packages.mdx +21 -0
  268. package/docs/content/locales/zh-TW/toolkit-context-knowledge.mdx +12 -0
  269. package/docs/content/locales/zh-TW/toolkit-editors-canvases.mdx +17 -0
  270. package/docs/content/toolkit-capability-packages.mdx +52 -0
  271. package/docs/content/toolkit-context-knowledge.mdx +46 -0
  272. package/docs/content/toolkit-editors-canvases.mdx +55 -0
  273. package/package.json +27 -26
  274. package/src/templates/workspace-core/.agents/skills/tracking/SKILL.md +19 -0
  275. package/corpus/core/src/client/rich-markdown-editor/BubbleToolbar.tsx +0 -253
  276. package/corpus/core/src/client/rich-markdown-editor/CodeBlockNode.tsx +0 -258
  277. package/corpus/core/src/client/rich-markdown-editor/DragHandle.ts +0 -1437
  278. package/corpus/core/src/client/rich-markdown-editor/ImageExtension.ts +0 -306
  279. package/corpus/core/src/client/rich-markdown-editor/RichMarkdownEditor.tsx +0 -80
  280. package/corpus/core/src/client/rich-markdown-editor/RunId.ts +0 -61
  281. package/corpus/core/src/client/rich-markdown-editor/SharedRichEditor.tsx +0 -321
  282. package/corpus/core/src/client/rich-markdown-editor/SlashCommandMenu.tsx +0 -310
  283. package/corpus/core/src/client/rich-markdown-editor/extensions.ts +0 -402
  284. package/corpus/core/src/client/rich-markdown-editor/gfmDoc.ts +0 -92
  285. package/corpus/core/src/client/rich-markdown-editor/surgical-apply.ts +0 -192
  286. package/corpus/core/src/client/rich-markdown-editor/useCollabReconcile.ts +0 -590
  287. package/dist/client/rich-markdown-editor/BubbleToolbar.d.ts +0 -37
  288. package/dist/client/rich-markdown-editor/BubbleToolbar.d.ts.map +0 -1
  289. package/dist/client/rich-markdown-editor/BubbleToolbar.js +0 -171
  290. package/dist/client/rich-markdown-editor/BubbleToolbar.js.map +0 -1
  291. package/dist/client/rich-markdown-editor/CodeBlockNode.d.ts +0 -49
  292. package/dist/client/rich-markdown-editor/CodeBlockNode.d.ts.map +0 -1
  293. package/dist/client/rich-markdown-editor/CodeBlockNode.js +0 -127
  294. package/dist/client/rich-markdown-editor/CodeBlockNode.js.map +0 -1
  295. package/dist/client/rich-markdown-editor/DragHandle.d.ts +0 -97
  296. package/dist/client/rich-markdown-editor/DragHandle.d.ts.map +0 -1
  297. package/dist/client/rich-markdown-editor/DragHandle.js +0 -1066
  298. package/dist/client/rich-markdown-editor/DragHandle.js.map +0 -1
  299. package/dist/client/rich-markdown-editor/ImageExtension.d.ts +0 -63
  300. package/dist/client/rich-markdown-editor/ImageExtension.d.ts.map +0 -1
  301. package/dist/client/rich-markdown-editor/ImageExtension.js +0 -243
  302. package/dist/client/rich-markdown-editor/ImageExtension.js.map +0 -1
  303. package/dist/client/rich-markdown-editor/RichMarkdownEditor.d.ts +0 -51
  304. package/dist/client/rich-markdown-editor/RichMarkdownEditor.d.ts.map +0 -1
  305. package/dist/client/rich-markdown-editor/RichMarkdownEditor.js +0 -37
  306. package/dist/client/rich-markdown-editor/RichMarkdownEditor.js.map +0 -1
  307. package/dist/client/rich-markdown-editor/RunId.d.ts +0 -28
  308. package/dist/client/rich-markdown-editor/RunId.d.ts.map +0 -1
  309. package/dist/client/rich-markdown-editor/RunId.js +0 -60
  310. package/dist/client/rich-markdown-editor/RunId.js.map +0 -1
  311. package/dist/client/rich-markdown-editor/SharedRichEditor.d.ts +0 -110
  312. package/dist/client/rich-markdown-editor/SharedRichEditor.d.ts.map +0 -1
  313. package/dist/client/rich-markdown-editor/SharedRichEditor.js +0 -144
  314. package/dist/client/rich-markdown-editor/SharedRichEditor.js.map +0 -1
  315. package/dist/client/rich-markdown-editor/SlashCommandMenu.d.ts +0 -41
  316. package/dist/client/rich-markdown-editor/SlashCommandMenu.d.ts.map +0 -1
  317. package/dist/client/rich-markdown-editor/SlashCommandMenu.js +0 -221
  318. package/dist/client/rich-markdown-editor/SlashCommandMenu.js.map +0 -1
  319. package/dist/client/rich-markdown-editor/extensions.d.ts +0 -178
  320. package/dist/client/rich-markdown-editor/extensions.d.ts.map +0 -1
  321. package/dist/client/rich-markdown-editor/extensions.js +0 -224
  322. package/dist/client/rich-markdown-editor/extensions.js.map +0 -1
  323. package/dist/client/rich-markdown-editor/gfmDoc.d.ts +0 -24
  324. package/dist/client/rich-markdown-editor/gfmDoc.d.ts.map +0 -1
  325. package/dist/client/rich-markdown-editor/gfmDoc.js +0 -83
  326. package/dist/client/rich-markdown-editor/gfmDoc.js.map +0 -1
  327. package/dist/client/rich-markdown-editor/surgical-apply.d.ts +0 -66
  328. package/dist/client/rich-markdown-editor/surgical-apply.d.ts.map +0 -1
  329. package/dist/client/rich-markdown-editor/surgical-apply.js +0 -147
  330. package/dist/client/rich-markdown-editor/surgical-apply.js.map +0 -1
  331. package/dist/client/rich-markdown-editor/useCollabReconcile.d.ts +0 -110
  332. package/dist/client/rich-markdown-editor/useCollabReconcile.d.ts.map +0 -1
  333. package/dist/client/rich-markdown-editor/useCollabReconcile.js +0 -441
  334. package/dist/client/rich-markdown-editor/useCollabReconcile.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"http-response-telemetry.js","sourceRoot":"","sources":["../../src/server/http-response-telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,oBAAoB,GAAG,eAAe,CAAC;AAC7C,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC;IACpC,QAAQ;IACR,sBAAsB;IACtB,mBAAmB;IACnB,sBAAsB;CACvB,CAAC,CAAC;AAEH,SAAS,QAAQ,CAAC,GAAW;IAC3B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACvC,OAAO,KAAK,IAAI,SAAS,CAAC;AAC5B,CAAC;AAED,SAAS,OAAO,CAAC,GAAW;IAC1B,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,QAAQ,CACxC,CAAC,OAAO,CAAC,GAAG,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AQ,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { defineEventHandler, getHeader, getMethod } from \"h3\";\nimport type { EventHandler, H3Event } from \"h3\";\n\nimport { getDatabaseRuntimeFingerprint } from \"../db/runtime-diagnostics.js\";\nimport { isMcpPublicPath } from \"../mcp/route-paths.js\";\nimport { track } from \"../tracking/index.js\";\nimport { getAppName } from \"./app-name.js\";\n\nconst TELEMETRY_EVENT_NAME = \"http.response\";\nconst TRACKING_INGEST_PATHS = new Set([\n \"/track\",\n \"/api/analytics/track\",\n \"/api/events/track\",\n \"/_agent-native/track\",\n]);\n\nfunction envValue(key: string): string | undefined {\n const value = process.env[key]?.trim();\n return value || undefined;\n}\n\nfunction boolEnv(key: string): boolean {\n return [\"1\", \"true\", \"yes\", \"on\"].includes(\n (process.env[key] ?? \"\").trim().toLowerCase(),\n );\n}\n\nfunction sampleRate(): number {\n const raw = envValue(\"AGENT_NATIVE_HTTP_TELEMETRY_SAMPLE_RATE\");\n if (!raw) return 1;\n const parsed = Number.parseFloat(raw);\n if (!Number.isFinite(parsed)) return 1;\n return Math.max(0, Math.min(1, parsed));\n}\n\nfunction shouldDisableTelemetry(): boolean {\n return boolEnv(\"AGENT_NATIVE_HTTP_TELEMETRY_DISABLED\");\n}\n\nfunction requestPath(event: H3Event): string {\n const raw =\n event.url?.pathname ??\n String(event.node?.req?.url ?? event.path ?? \"/\").split(\"?\")[0] ??\n \"/\";\n return raw || \"/\";\n}\n\nfunction normalizeSegment(segment: string): string {\n if (!segment) return segment;\n if (/^[0-9]+$/.test(segment)) return \":id\";\n if (/^[0-9a-f]{8}-[0-9a-f-]{27}$/i.test(segment)) return \":id\";\n if (\n /^(run|turn|thread|design|screen|file|msg|key|tok)_[a-z0-9_-]+$/i.test(\n segment,\n )\n ) {\n return \":id\";\n }\n if (/^(run|turn)-[0-9]{10,}-[a-z0-9]+$/i.test(segment)) return \":id\";\n if (segment.length > 36 && /^[a-z0-9_-]+$/i.test(segment)) return \":id\";\n return segment;\n}\n\nexport function normalizeHttpTelemetryPath(pathname: string): string {\n const normalized = pathname.startsWith(\"/\") ? pathname : `/${pathname}`;\n return normalized\n .split(\"/\")\n .map((segment, index) => (index === 0 ? \"\" : normalizeSegment(segment)))\n .join(\"/\");\n}\n\nfunction statusClass(statusCode: number): string {\n if (!Number.isFinite(statusCode) || statusCode < 100) return \"unknown\";\n return `${Math.floor(statusCode / 100)}xx`;\n}\n\nfunction routeKind(pathname: string): string {\n if (\n isMcpPublicPath(pathname) ||\n pathname === \"/_agent-native\" ||\n pathname.startsWith(\"/_agent-native/\")\n ) {\n return \"framework\";\n }\n if (pathname === \"/api\" || pathname.startsWith(\"/api/\")) return \"api\";\n if (pathname.startsWith(\"/.well-known/\")) return \"well-known\";\n return \"app\";\n}\n\nfunction hostForEvent(event: H3Event): string | undefined {\n return (\n getHeader(event, \"x-forwarded-host\") ??\n getHeader(event, \"host\") ??\n undefined\n );\n}\n\nfunction organizationForHost(host: string | undefined): string | undefined {\n const configured =\n envValue(\"AGENT_NATIVE_ANALYTICS_ORG_NAME\") ??\n envValue(\"AGENT_NATIVE_ORG_NAME\");\n if (configured) return configured;\n const normalized = host?.split(\":\")[0]?.toLowerCase();\n return normalized?.endsWith(\".agent-native.com\") ||\n normalized === \"agent-native.com\"\n ? \"Builder.io\"\n : undefined;\n}\n\nfunction shouldTrack(pathname: string, statusCode: number): boolean {\n if (shouldDisableTelemetry()) return false;\n if (TRACKING_INGEST_PATHS.has(pathname)) return false;\n if (pathname.startsWith(\"/api/analytics/replay\")) return false;\n if (statusCode >= 500) return true;\n const rate = sampleRate();\n if (rate <= 0) return false;\n if (rate >= 1) return true;\n return Math.random() < rate;\n}\n\nfunction responseStatusCode(event: H3Event): number {\n const raw =\n (event.node?.res as any)?.statusCode ??\n (event.node?.res as any)?.status ??\n (event as any).res?.status ??\n 200;\n const parsed = Number(raw);\n return Number.isFinite(parsed) ? parsed : 200;\n}\n\nfunction emitTelemetry(event: H3Event, startedAt: number): void {\n const statusCode = responseStatusCode(event);\n const pathname = requestPath(event);\n if (!shouldTrack(pathname, statusCode)) return;\n\n try {\n const host = hostForEvent(event);\n const db = getDatabaseRuntimeFingerprint();\n track(TELEMETRY_EVENT_NAME, {\n source: \"server\",\n app: getAppName(),\n template: envValue(\"AGENT_NATIVE_TEMPLATE\") ?? getAppName(),\n organization: organizationForHost(host),\n method: getMethod(event),\n path: normalizeHttpTelemetryPath(pathname),\n route_kind: routeKind(pathname),\n status_code: statusCode,\n status_class: statusClass(statusCode),\n duration_ms: Math.max(0, Date.now() - startedAt),\n host,\n environment: envValue(\"NODE_ENV\"),\n deploy_context: envValue(\"CONTEXT\") ?? envValue(\"VERCEL_ENV\"),\n deploy_id: envValue(\"DEPLOY_ID\") ?? envValue(\"VERCEL_DEPLOYMENT_ID\"),\n commit_ref:\n envValue(\"COMMIT_REF\") ??\n envValue(\"NETLIFY_COMMIT_REF\") ??\n envValue(\"VERCEL_GIT_COMMIT_SHA\") ??\n envValue(\"GIT_COMMIT_SHA\"),\n db_source: db.source,\n db_dialect: db.dialect,\n db_url_hash: db.urlHash,\n db_neon_endpoint: db.neon?.endpointId,\n db_neon_pooled: db.neon?.pooled,\n });\n } catch {\n // Response telemetry is best-effort. Never perturb request handling.\n }\n}\n\nexport function createHttpResponseTelemetryMiddleware(): EventHandler {\n return defineEventHandler((event) => {\n const startedAt = Date.now();\n const res = event.node?.res as\n | {\n once?: (event: \"finish\" | \"close\", cb: () => void) => void;\n on?: (event: \"finish\" | \"close\", cb: () => void) => void;\n }\n | undefined;\n let emitted = false;\n const emitOnce = () => {\n if (emitted) return;\n emitted = true;\n emitTelemetry(event, startedAt);\n };\n\n if (typeof res?.once === \"function\") {\n res.once(\"finish\", emitOnce);\n res.once(\"close\", emitOnce);\n } else if (typeof res?.on === \"function\") {\n res.on(\"finish\", emitOnce);\n res.on(\"close\", emitOnce);\n }\n });\n}\n"]}
1
+ {"version":3,"file":"http-response-telemet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vD,IAAI,KAAK,CAAC,oBAAoB,GAAG,CAAC,EAAE,CAAC;YACnC,kBAAkB,CAChB,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,CAAC,oBAAoB,CAC3B,CAAC;QACJ,CAAC;QACD,IAAI,KAAK,CAAC,EAAE,CAAC,cAAc,GAAG,CAAC,EAAE,CAAC;YAChC,kBAAkB,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;YACpE,kBAAkB,CAChB,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,KAAK,CAAC,EAAE,CAAC,cAAc,CACxB,CAAC;YACF,kBAAkB,CAChB,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAC5B,CAAC;QACJ,CAAC;QACD,IAAI,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,CAAC,EAAE,CAAC;YAC1D,kBAAkB,CAChB,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,KAAK,CAAC,SAAS,CAAC,eAAe,CAChC,CAAC;YACF,kBAAkB,CAChB,QAAQ,EACR,KAAK,EACL,oBAAoB,EACpB,KAAK,CAAC,SAAS,CAAC,cAAc,CAC/B,CAAC;QACJ,CAAC;QAED,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { randomUUID } from \"node:crypto\";\n\nimport {\n getHeader,\n getMethod,\n getResponseStatus,\n setResponseHeader,\n setServerTiming,\n} from \"h3\";\nimport type { H3Event } from \"h3\";\n\nimport {\n claimStartupDatabaseTelemetry,\n createDatabaseRequestTelemetry,\n enterDatabaseRequestTelemetry,\n type DatabaseRequestTelemetry,\n} from \"../db/request-telemetry.js\";\nimport { getDatabaseRuntimeFingerprint } from \"../db/runtime-diagnostics.js\";\nimport { isMcpPublicPath } from \"../mcp/route-paths.js\";\nimport { track } from \"../tracking/index.js\";\nimport { getAppName } from \"./app-name.js\";\n\nconst TELEMETRY_EVENT_NAME = \"http.response\";\nconst REQUEST_ID_HEADER = \"x-agent-native-request-id\";\nconst TRACKING_INGEST_PATHS = new Set([\n \"/track\",\n \"/api/analytics/track\",\n \"/api/events/track\",\n \"/_agent-native/track\",\n]);\nconst PROCESS_STATE_KEY = Symbol.for(\n \"@agent-native/core/http-response-telemetry.process-state\",\n);\ntype ProcessTelemetryState = { requestSequence: number };\ntype GlobalWithProcessTelemetry = typeof globalThis & {\n [PROCESS_STATE_KEY]?: ProcessTelemetryState;\n};\nconst globalRef = globalThis as GlobalWithProcessTelemetry;\nconst processState =\n globalRef[PROCESS_STATE_KEY] ??\n (globalRef[PROCESS_STATE_KEY] = { requestSequence: 0 });\nconst REQUEST_TELEMETRY_KEY = Symbol.for(\n \"@agent-native/core/http-response-telemetry.request\",\n);\nconst installedApps = new WeakSet<object>();\n\ninterface HttpRequestTelemetryState {\n startedAt: number;\n requestId: string;\n processAgeAtStartMs: number;\n requestSequence: number;\n frameworkReadyWaitMs: number;\n db: DatabaseRequestTelemetry;\n startupDb?: DatabaseRequestTelemetry;\n}\n\nfunction envValue(key: string): string | undefined {\n const value = process.env[key]?.trim();\n return value || undefined;\n}\n\nfunction boolEnv(key: string): boolean {\n return [\"1\", \"true\", \"yes\", \"on\"].includes(\n (process.env[key] ?? \"\").trim().toLowerCase(),\n );\n}\n\nfunction sampleRate(): number {\n const raw = envValue(\"AGENT_NATIVE_HTTP_TELEMETRY_SAMPLE_RATE\");\n if (!raw) return 0.1;\n const parsed = Number.parseFloat(raw);\n if (!Number.isFinite(parsed)) return 0.1;\n return Math.max(0, Math.min(1, parsed));\n}\n\nfunction shouldDisableTelemetry(): boolean {\n return boolEnv(\"AGENT_NATIVE_HTTP_TELEMETRY_DISABLED\");\n}\n\nfunction requestPath(event: H3Event): string {\n const raw =\n event.url?.pathname ??\n String(event.node?.req?.url ?? event.path ?? \"/\").split(\"?\")[0] ??\n \"/\";\n return raw || \"/\";\n}\n\nfunction normalizeSegment(segment: string): string {\n if (!segment) return segment;\n if (/^[0-9]+$/.test(segment)) return \":id\";\n if (/^[0-9a-f]{8}-[0-9a-f-]{27}$/i.test(segment)) return \":id\";\n if (\n /^(run|turn|thread|design|screen|file|msg|key|tok)_[a-z0-9_-]+$/i.test(\n segment,\n )\n ) {\n return \":id\";\n }\n if (/^(run|turn)-[0-9]{10,}-[a-z0-9]+$/i.test(segment)) return \":id\";\n if (segment.length > 36 && /^[a-z0-9_-]+$/i.test(segment)) return \":id\";\n return segment;\n}\n\nexport function normalizeHttpTelemetryPath(pathname: string): string {\n const normalized = pathname.startsWith(\"/\") ? pathname : `/${pathname}`;\n return normalized\n .split(\"/\")\n .map((segment, index) => (index === 0 ? \"\" : normalizeSegment(segment)))\n .join(\"/\");\n}\n\nfunction statusClass(statusCode: number): string {\n if (!Number.isFinite(statusCode) || statusCode < 100) return \"unknown\";\n return `${Math.floor(statusCode / 100)}xx`;\n}\n\nfunction routeKind(pathname: string): string {\n if (\n isMcpPublicPath(pathname) ||\n pathname === \"/_agent-native\" ||\n pathname.startsWith(\"/_agent-native/\")\n ) {\n return \"framework\";\n }\n if (pathname === \"/api\" || pathname.startsWith(\"/api/\")) return \"api\";\n if (pathname.startsWith(\"/.well-known/\")) return \"well-known\";\n return \"app\";\n}\n\nfunction hostForEvent(event: H3Event): string | undefined {\n return (\n getHeader(event, \"x-forwarded-host\") ??\n getHeader(event, \"host\") ??\n undefined\n );\n}\n\nfunction organizationForHost(host: string | undefined): string | undefined {\n const configured =\n envValue(\"AGENT_NATIVE_ANALYTICS_ORG_NAME\") ??\n envValue(\"AGENT_NATIVE_ORG_NAME\");\n if (configured) return configured;\n const normalized = host?.split(\":\")[0]?.toLowerCase();\n return normalized?.endsWith(\".agent-native.com\") ||\n normalized === \"agent-native.com\"\n ? \"Builder.io\"\n : undefined;\n}\n\nfunction shouldTrack(\n pathname: string,\n statusCode: number,\n state: HttpRequestTelemetryState,\n): boolean {\n if (shouldDisableTelemetry()) return false;\n if (TRACKING_INGEST_PATHS.has(pathname)) return false;\n if (pathname.startsWith(\"/api/analytics/replay\")) return false;\n if (statusCode >= 500) return true;\n if (\n statusCode >= 400 &&\n statusCode < 500 &&\n /(?:^|\\/)_agent-native\\/actions(?:\\/|$)/.test(pathname)\n ) {\n return true;\n }\n if (state.requestSequence === 1) return true;\n if (state.startupDb) return true;\n if (Date.now() - state.startedAt >= 1_000) return true;\n if (state.db.errorCount > 0 || state.db.timeoutCount > 0) {\n return true;\n }\n const rate = sampleRate();\n if (rate <= 0) return false;\n if (rate >= 1) return true;\n return Math.random() < rate;\n}\n\nfunction responseStatusCode(event: H3Event, response?: Response): number {\n const raw =\n response?.status ??\n (event.node?.res as any)?.statusCode ??\n (event.node?.res as any)?.status ??\n getResponseStatus(event) ??\n 200;\n const parsed = Number(raw);\n return Number.isFinite(parsed) ? parsed : 200;\n}\n\nfunction runtimeProvider(): string {\n if (process.env.NETLIFY) return \"netlify\";\n if (process.env.VERCEL) return \"vercel\";\n if (process.env.AWS_LAMBDA_FUNCTION_NAME || process.env.LAMBDA_TASK_ROOT) {\n return \"aws-lambda\";\n }\n if (process.env.CF_PAGES) return \"cloudflare-pages\";\n return \"node\";\n}\n\nfunction emitTelemetry(\n event: H3Event,\n state: HttpRequestTelemetryState,\n response?: Response,\n): void {\n const statusCode = responseStatusCode(event, response);\n const pathname = requestPath(event);\n if (!shouldTrack(pathname, statusCode, state)) return;\n\n try {\n const host = hostForEvent(event);\n const db = getDatabaseRuntimeFingerprint();\n track(TELEMETRY_EVENT_NAME, {\n source: \"server\",\n app: getAppName(),\n template: envValue(\"AGENT_NATIVE_TEMPLATE\") ?? getAppName(),\n organization: organizationForHost(host),\n method: getMethod(event),\n path: normalizeHttpTelemetryPath(pathname),\n route_kind: routeKind(pathname),\n status_code: statusCode,\n status_class: statusClass(statusCode),\n duration_ms: Math.max(0, Date.now() - state.startedAt),\n request_id: state.requestId,\n measurement: \"nitro_request\",\n cold_start: state.requestSequence === 1,\n request_sequence: state.requestSequence,\n process_age_ms: state.processAgeAtStartMs,\n framework_ready_wait_ms: state.frameworkReadyWaitMs,\n runtime_provider: runtimeProvider(),\n function_name: envValue(\"AWS_LAMBDA_FUNCTION_NAME\"),\n function_memory_mb: envValue(\"AWS_LAMBDA_FUNCTION_MEMORY_SIZE\"),\n region: envValue(\"AWS_REGION\") ?? envValue(\"VERCEL_REGION\"),\n host,\n environment: envValue(\"NODE_ENV\"),\n deploy_context: envValue(\"CONTEXT\") ?? envValue(\"VERCEL_ENV\"),\n deploy_id: envValue(\"DEPLOY_ID\") ?? envValue(\"VERCEL_DEPLOYMENT_ID\"),\n commit_ref:\n envValue(\"COMMIT_REF\") ??\n envValue(\"NETLIFY_COMMIT_REF\") ??\n envValue(\"VERCEL_GIT_COMMIT_SHA\") ??\n envValue(\"GIT_COMMIT_SHA\"),\n db_source: db.source,\n db_dialect: db.dialect,\n db_url_hash: db.urlHash,\n db_neon_endpoint: db.neon?.endpointId,\n db_neon_pooled: db.neon?.pooled,\n db_operation_count: state.db.operationCount,\n db_query_count: state.db.queryCount,\n db_connect_count: state.db.connectCount,\n db_retry_count: state.db.retryCount,\n db_error_count: state.db.errorCount,\n db_timeout_count: state.db.timeoutCount,\n db_operation_total_ms: Math.round(state.db.operationTotalMs),\n db_operation_wall_ms: Math.round(state.db.operationWallMs),\n db_query_total_ms: Math.round(state.db.queryTotalMs),\n db_connect_total_ms: Math.round(state.db.connectTotalMs),\n db_slowest_operation_ms: Math.round(state.db.slowestOperationMs),\n startup_db_operation_count: state.startupDb?.operationCount,\n startup_db_query_count: state.startupDb?.queryCount,\n startup_db_connect_count: state.startupDb?.connectCount,\n startup_db_retry_count: state.startupDb?.retryCount,\n startup_db_error_count: state.startupDb?.errorCount,\n startup_db_timeout_count: state.startupDb?.timeoutCount,\n startup_db_operation_total_ms: state.startupDb\n ? Math.round(state.startupDb.operationTotalMs)\n : undefined,\n startup_db_operation_wall_ms: state.startupDb\n ? Math.round(state.startupDb.operationWallMs)\n : undefined,\n startup_db_query_total_ms: state.startupDb\n ? Math.round(state.startupDb.queryTotalMs)\n : undefined,\n startup_db_connect_total_ms: state.startupDb\n ? Math.round(state.startupDb.connectTotalMs)\n : undefined,\n startup_db_slowest_operation_ms: state.startupDb\n ? Math.round(state.startupDb.slowestOperationMs)\n : undefined,\n });\n } catch {\n // Response telemetry is best-effort. Never perturb request handling.\n }\n}\n\nfunction requestTelemetryState(\n event: H3Event,\n): HttpRequestTelemetryState | undefined {\n return (event.context as Record<PropertyKey, unknown>)[\n REQUEST_TELEMETRY_KEY\n ] as HttpRequestTelemetryState | undefined;\n}\n\nfunction appendServerTiming(\n response: Response,\n event: H3Event,\n name: string,\n durationMs: number,\n): void {\n const duration = Math.max(0, Math.round(durationMs));\n try {\n response.headers.append(\"server-timing\", `${name};dur=${duration}`);\n } catch {\n try {\n setServerTiming(event, name, { dur: duration });\n } catch {\n // Some adapters finalize headers eagerly. Tracking still runs.\n }\n }\n}\n\nexport function recordFrameworkReadyWait(\n event: H3Event,\n durationMs: number,\n): void {\n const state = requestTelemetryState(event);\n if (state) {\n state.frameworkReadyWaitMs += Math.max(0, durationMs);\n state.startupDb ??= claimStartupDatabaseTelemetry();\n }\n}\n\nexport function installHttpResponseTelemetryHooks(nitroApp: any): void {\n if (!nitroApp || installedApps.has(nitroApp)) return;\n const hooks = nitroApp.hooks;\n if (!hooks?.hook) return;\n installedApps.add(nitroApp);\n\n hooks.hook(\"request\", (event: H3Event) => {\n const state: HttpRequestTelemetryState = {\n startedAt: Date.now(),\n requestId: randomUUID(),\n processAgeAtStartMs: Math.max(0, Math.round(process.uptime() * 1_000)),\n requestSequence: ++processState.requestSequence,\n frameworkReadyWaitMs: 0,\n db: createDatabaseRequestTelemetry(),\n };\n (event.context as Record<PropertyKey, unknown>)[REQUEST_TELEMETRY_KEY] =\n state;\n enterDatabaseRequestTelemetry(state.db);\n });\n\n hooks.hook(\"response\", (response: Response, event: H3Event) => {\n const state = requestTelemetryState(event);\n if (!state) return;\n\n const durationMs = Math.max(0, Date.now() - state.startedAt);\n try {\n response.headers.set(REQUEST_ID_HEADER, state.requestId);\n } catch {\n try {\n setResponseHeader(event, REQUEST_ID_HEADER, state.requestId);\n } catch {\n // Some adapters finalize headers eagerly. Tracking still has the id.\n }\n }\n appendServerTiming(response, event, \"app\", durationMs);\n if (state.frameworkReadyWaitMs > 0) {\n appendServerTiming(\n response,\n event,\n \"startup\",\n state.frameworkReadyWaitMs,\n );\n }\n if (state.db.operationCount > 0) {\n appendServerTiming(response, event, \"db\", state.db.operationWallMs);\n appendServerTiming(\n response,\n event,\n \"db-connect\",\n state.db.connectTotalMs,\n );\n appendServerTiming(\n response,\n event,\n \"db-slowest\",\n state.db.slowestOperationMs,\n );\n }\n if (state.startupDb && state.startupDb.operationCount > 0) {\n appendServerTiming(\n response,\n event,\n \"startup-db\",\n state.startupDb.operationWallMs,\n );\n appendServerTiming(\n response,\n event,\n \"startup-db-connect\",\n state.startupDb.connectTotalMs,\n );\n }\n\n emitTelemetry(event, state, response);\n });\n}\n"]}
@@ -20,7 +20,7 @@ export declare function createTranscribeVoiceHandler(): import("h3").EventHandle
20
20
  error: string;
21
21
  text?: undefined;
22
22
  } | {
23
- text: string;
24
23
  error?: undefined;
24
+ text: string;
25
25
  }>>;
26
26
  //# sourceMappingURL=transcribe-voice.d.ts.map
@@ -1,510 +1 @@
1
- .an-rich-md-wrapper {
2
- min-height: 100%;
3
- position: relative;
4
- cursor: text;
5
- }
6
-
7
- .an-rich-md-wrapper--readonly {
8
- cursor: default;
9
- }
10
-
11
- .an-rich-md-loading {
12
- min-height: 7rem;
13
- }
14
-
15
- .an-rich-md-prose {
16
- outline: none;
17
- color: hsl(var(--foreground));
18
- line-height: 1.65;
19
- font-size: 0.95rem;
20
- min-height: 1.65em;
21
- text-align: start;
22
- }
23
-
24
- .an-rich-md-prose > *:first-child {
25
- margin-top: 0;
26
- }
27
-
28
- .an-rich-md-prose h1 {
29
- font-size: 1.85em;
30
- font-weight: 700;
31
- margin: 1em 0 0.3em;
32
- line-height: 1.18;
33
- }
34
-
35
- .an-rich-md-prose h2 {
36
- font-size: 1.45em;
37
- font-weight: 650;
38
- margin: 0.9em 0 0.25em;
39
- line-height: 1.25;
40
- }
41
-
42
- .an-rich-md-prose h3 {
43
- font-size: 1.18em;
44
- font-weight: 650;
45
- margin: 0.75em 0 0.2em;
46
- line-height: 1.32;
47
- }
48
-
49
- .an-rich-md-prose h4 {
50
- font-size: 1em;
51
- font-weight: 650;
52
- margin: 0.65em 0 0.15em;
53
- line-height: 1.35;
54
- }
55
-
56
- .an-rich-md-prose p {
57
- margin: 0.45em 0;
58
- min-height: 1.65em;
59
- }
60
-
61
- .an-rich-md-prose ul:not(.an-rich-md-task-list),
62
- .an-rich-md-prose ol {
63
- padding-inline-start: 1.45em;
64
- margin: 0.35em 0;
65
- }
66
-
67
- .an-rich-md-prose ul:not(.an-rich-md-task-list) {
68
- list-style-type: disc;
69
- }
70
-
71
- .an-rich-md-prose ol {
72
- list-style-type: decimal;
73
- }
74
-
75
- .an-rich-md-prose li {
76
- margin: 0.12em 0;
77
- }
78
-
79
- .an-rich-md-prose li p {
80
- margin: 0;
81
- }
82
-
83
- .an-rich-md-task-list {
84
- list-style: none;
85
- margin: 0.35em 0;
86
- padding-inline-start: 0;
87
- }
88
-
89
- .an-rich-md-task-list li {
90
- display: flex;
91
- align-items: flex-start;
92
- gap: 0.45em;
93
- margin: 0.18em 0;
94
- }
95
-
96
- .an-rich-md-task-list li label {
97
- display: inline-flex;
98
- align-items: center;
99
- height: 1.65em;
100
- }
101
-
102
- .an-rich-md-task-list li input[type="checkbox"] {
103
- width: 0.95em;
104
- height: 0.95em;
105
- accent-color: hsl(var(--primary));
106
- }
107
-
108
- .an-rich-md-task-list li > div {
109
- flex: 1;
110
- }
111
-
112
- .an-rich-md-prose blockquote {
113
- border-inline-start: 2px solid hsl(var(--border));
114
- padding-inline-start: 0.9em;
115
- margin: 0.45em 0;
116
- color: hsl(var(--muted-foreground));
117
- }
118
-
119
- .an-rich-md-prose code {
120
- unicode-bidi: isolate;
121
- font-family:
122
- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
123
- font-size: 0.88em;
124
- background: hsl(var(--muted));
125
- padding: 0.12em 0.32em;
126
- border-radius: 4px;
127
- }
128
-
129
- .an-rich-md-prose :not(pre) > code {
130
- direction: ltr;
131
- }
132
-
133
- .an-rich-md-prose pre {
134
- font-family:
135
- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
136
- font-size: 0.86em;
137
- /* Theme-aware code surface: follows the app's muted/foreground/border tokens
138
- so block code respects light and dark mode (the token palette below is
139
- tuned to read on a muted surface in both). */
140
- background: hsl(var(--muted));
141
- color: hsl(var(--foreground));
142
- border: 1px solid hsl(var(--border));
143
- border-radius: 6px;
144
- padding: 0.8em 1em;
145
- margin: 0.55em 0;
146
- overflow-x: auto;
147
- line-height: 1.5;
148
- }
149
-
150
- .an-rich-md-prose pre code {
151
- background: none;
152
- border: none;
153
- padding: 0;
154
- font-size: inherit;
155
- color: inherit;
156
- }
157
-
158
- /* highlight.js (lowlight) token palette. Scoped to block code so inline `code`
159
- keeps its own background. No highlight.js base theme is imported; these rules
160
- are the entire theme, tuned (mid-lightness HSL) to read on the muted surface
161
- above in both light and dark mode. */
162
- .an-rich-md-prose pre code .hljs-comment,
163
- .an-rich-md-prose pre code .hljs-quote {
164
- color: hsl(var(--muted-foreground));
165
- font-style: italic;
166
- }
167
- .an-rich-md-prose pre code .hljs-keyword,
168
- .an-rich-md-prose pre code .hljs-selector-tag,
169
- .an-rich-md-prose pre code .hljs-literal,
170
- .an-rich-md-prose pre code .hljs-doctag {
171
- color: hsl(280 60% 58%);
172
- }
173
- .an-rich-md-prose pre code .hljs-string,
174
- .an-rich-md-prose pre code .hljs-regexp,
175
- .an-rich-md-prose pre code .hljs-addition {
176
- color: hsl(140 52% 40%);
177
- }
178
- .an-rich-md-prose pre code .hljs-number,
179
- .an-rich-md-prose pre code .hljs-symbol,
180
- .an-rich-md-prose pre code .hljs-literal {
181
- color: hsl(28 78% 48%);
182
- }
183
- .an-rich-md-prose pre code .hljs-meta {
184
- color: hsl(var(--muted-foreground));
185
- }
186
- .an-rich-md-prose pre code .hljs-title,
187
- .an-rich-md-prose pre code .hljs-title.function_,
188
- .an-rich-md-prose pre code .hljs-section {
189
- color: hsl(210 72% 52%);
190
- }
191
- .an-rich-md-prose pre code .hljs-built_in,
192
- .an-rich-md-prose pre code .hljs-type,
193
- .an-rich-md-prose pre code .hljs-title.class_,
194
- .an-rich-md-prose pre code .hljs-variable.language_ {
195
- color: hsl(190 64% 40%);
196
- }
197
- .an-rich-md-prose pre code .hljs-attr,
198
- .an-rich-md-prose pre code .hljs-attribute,
199
- .an-rich-md-prose pre code .hljs-property,
200
- .an-rich-md-prose pre code .hljs-params {
201
- color: hsl(35 68% 46%);
202
- }
203
- .an-rich-md-prose pre code .hljs-name,
204
- .an-rich-md-prose pre code .hljs-tag,
205
- .an-rich-md-prose pre code .hljs-selector-id,
206
- .an-rich-md-prose pre code .hljs-selector-class {
207
- color: hsl(350 62% 52%);
208
- }
209
- .an-rich-md-prose pre code .hljs-deletion {
210
- color: hsl(0 62% 52%);
211
- }
212
- .an-rich-md-prose pre code .hljs-emphasis {
213
- font-style: italic;
214
- }
215
- .an-rich-md-prose pre code .hljs-strong {
216
- font-weight: 600;
217
- }
218
-
219
- /* In dark mode, lift the token lightness for contrast on the dark muted surface. */
220
- .dark .an-rich-md-prose pre code .hljs-keyword,
221
- .dark .an-rich-md-prose pre code .hljs-selector-tag,
222
- .dark .an-rich-md-prose pre code .hljs-literal,
223
- .dark .an-rich-md-prose pre code .hljs-doctag {
224
- color: hsl(280 72% 72%);
225
- }
226
- .dark .an-rich-md-prose pre code .hljs-string,
227
- .dark .an-rich-md-prose pre code .hljs-regexp,
228
- .dark .an-rich-md-prose pre code .hljs-addition {
229
- color: hsl(140 48% 62%);
230
- }
231
- .dark .an-rich-md-prose pre code .hljs-number,
232
- .dark .an-rich-md-prose pre code .hljs-symbol,
233
- .dark .an-rich-md-prose pre code .hljs-literal {
234
- color: hsl(30 85% 65%);
235
- }
236
- .dark .an-rich-md-prose pre code .hljs-title,
237
- .dark .an-rich-md-prose pre code .hljs-title.function_,
238
- .dark .an-rich-md-prose pre code .hljs-section {
239
- color: hsl(210 80% 70%);
240
- }
241
- .dark .an-rich-md-prose pre code .hljs-built_in,
242
- .dark .an-rich-md-prose pre code .hljs-type,
243
- .dark .an-rich-md-prose pre code .hljs-title.class_,
244
- .dark .an-rich-md-prose pre code .hljs-variable.language_ {
245
- color: hsl(190 70% 62%);
246
- }
247
- .dark .an-rich-md-prose pre code .hljs-attr,
248
- .dark .an-rich-md-prose pre code .hljs-attribute,
249
- .dark .an-rich-md-prose pre code .hljs-property,
250
- .dark .an-rich-md-prose pre code .hljs-params {
251
- color: hsl(40 78% 66%);
252
- }
253
- .dark .an-rich-md-prose pre code .hljs-name,
254
- .dark .an-rich-md-prose pre code .hljs-tag,
255
- .dark .an-rich-md-prose pre code .hljs-selector-id,
256
- .dark .an-rich-md-prose pre code .hljs-selector-class {
257
- color: hsl(350 72% 68%);
258
- }
259
-
260
- .an-rich-md-prose hr {
261
- border: none;
262
- border-top: 1px solid hsl(var(--border));
263
- margin: 1.1em 0;
264
- }
265
-
266
- .an-rich-md-table {
267
- width: 100%;
268
- border-collapse: collapse;
269
- margin: 0.7em 0;
270
- table-layout: fixed;
271
- }
272
-
273
- .an-rich-md-table td,
274
- .an-rich-md-table th {
275
- border: 1px solid hsl(var(--border));
276
- padding: 0.45em 0.55em;
277
- vertical-align: top;
278
- }
279
-
280
- .an-rich-md-table th {
281
- background: hsl(var(--muted) / 0.6);
282
- font-weight: 650;
283
- }
284
-
285
- .an-rich-md-table p {
286
- margin: 0;
287
- }
288
-
289
- .an-rich-md-prose strong {
290
- font-weight: 650;
291
- }
292
-
293
- .an-rich-md-prose em {
294
- font-style: italic;
295
- }
296
-
297
- .an-rich-md-prose s {
298
- text-decoration: line-through;
299
- }
300
-
301
- .an-rich-md-link {
302
- color: hsl(var(--foreground));
303
- text-decoration: underline;
304
- text-underline-offset: 2px;
305
- text-decoration-color: hsl(var(--muted-foreground));
306
- cursor: pointer;
307
- }
308
-
309
- .an-rich-md-link:hover {
310
- text-decoration-color: hsl(var(--foreground));
311
- }
312
-
313
- .an-rich-md-prose p.is-editor-empty:first-child::before,
314
- .an-rich-md-prose p.is-empty::before,
315
- .an-rich-md-prose h1.is-empty::before,
316
- .an-rich-md-prose h2.is-empty::before,
317
- .an-rich-md-prose h3.is-empty::before,
318
- .an-rich-md-prose h4.is-empty::before {
319
- content: attr(data-placeholder);
320
- float: inline-start;
321
- color: hsl(var(--muted-foreground));
322
- opacity: 0.55;
323
- pointer-events: none;
324
- height: 0;
325
- }
326
-
327
- .an-rich-md-prose ::selection {
328
- background: hsl(var(--ring) / 0.22);
329
- }
330
-
331
- .an-rich-md-bubble-toolbar {
332
- z-index: 9999;
333
- display: flex;
334
- align-items: center;
335
- border-radius: 6px;
336
- background: hsl(var(--popover));
337
- color: hsl(var(--popover-foreground));
338
- padding: 3px;
339
- box-shadow:
340
- 0 4px 16px rgb(0 0 0 / 0.25),
341
- 0 0 0 1px hsl(var(--border));
342
- }
343
-
344
- .an-rich-md-bubble-items,
345
- .an-rich-md-link-editor {
346
- display: flex;
347
- align-items: center;
348
- gap: 2px;
349
- }
350
-
351
- .an-rich-md-bubble-button {
352
- padding: 3px 6px;
353
- border-radius: 4px;
354
- font-size: 12px;
355
- color: hsl(var(--popover-foreground) / 0.76);
356
- background: none;
357
- border: none;
358
- cursor: pointer;
359
- line-height: 1;
360
- }
361
-
362
- .an-rich-md-bubble-button:hover {
363
- background: hsl(var(--accent));
364
- color: hsl(var(--accent-foreground));
365
- }
366
-
367
- .an-rich-md-bubble-button--active {
368
- background: hsl(var(--accent));
369
- color: hsl(var(--accent-foreground));
370
- }
371
-
372
- .an-rich-md-bubble-divider {
373
- width: 1px;
374
- height: 16px;
375
- margin: 0 2px;
376
- background: hsl(var(--border));
377
- }
378
-
379
- .an-rich-md-link-editor {
380
- padding: 4px;
381
- }
382
-
383
- .an-rich-md-link-editor input {
384
- width: 10rem;
385
- border: none;
386
- outline: none;
387
- background: transparent;
388
- color: hsl(var(--popover-foreground));
389
- font-size: 12px;
390
- padding: 2px 4px;
391
- }
392
-
393
- .an-rich-md-link-editor button {
394
- border: none;
395
- background: none;
396
- color: hsl(var(--primary));
397
- cursor: pointer;
398
- font-size: 11px;
399
- font-weight: 500;
400
- padding: 2px 6px;
401
- }
402
-
403
- .an-rich-md-slash-menu {
404
- z-index: 9999;
405
- width: min(420px, calc(100vw - 24px));
406
- min-width: 230px;
407
- max-height: 320px;
408
- overflow-y: auto;
409
- color: hsl(var(--foreground));
410
- background: hsl(var(--popover));
411
- border: 1px solid hsl(var(--border));
412
- border-radius: 7px;
413
- box-shadow:
414
- 0 4px 20px rgb(0 0 0 / 0.12),
415
- 0 0 0 1px rgb(0 0 0 / 0.04);
416
- padding: 4px 0;
417
- }
418
-
419
- .an-rich-md-slash-heading {
420
- padding: 4px 10px;
421
- font-size: 10px;
422
- font-weight: 650;
423
- text-transform: uppercase;
424
- letter-spacing: 0.06em;
425
- color: hsl(var(--muted-foreground));
426
- }
427
-
428
- .an-rich-md-slash-item {
429
- width: 100%;
430
- min-width: 0;
431
- min-height: 44px;
432
- display: flex;
433
- align-items: center;
434
- gap: 8px;
435
- padding: 6px 10px;
436
- text-align: start;
437
- background: none;
438
- border: none;
439
- cursor: pointer;
440
- color: hsl(var(--foreground));
441
- font-size: 13px;
442
- }
443
-
444
- .an-rich-md-slash-item:hover,
445
- .an-rich-md-slash-item--active {
446
- background: hsl(var(--accent));
447
- }
448
-
449
- .an-rich-md-slash-icon {
450
- display: flex;
451
- align-items: center;
452
- justify-content: center;
453
- width: 28px;
454
- height: 28px;
455
- border-radius: 4px;
456
- border: 1px solid hsl(var(--border));
457
- background: hsl(var(--background));
458
- font-size: 11px;
459
- font-weight: 650;
460
- color: hsl(var(--muted-foreground));
461
- flex-shrink: 0;
462
- }
463
-
464
- .an-rich-md-slash-copy {
465
- display: block;
466
- min-width: 0;
467
- flex: 1;
468
- }
469
-
470
- .an-rich-md-slash-title {
471
- display: block;
472
- overflow: hidden;
473
- text-overflow: ellipsis;
474
- white-space: nowrap;
475
- font-weight: 500;
476
- font-size: 13px;
477
- }
478
-
479
- .an-rich-md-slash-description {
480
- display: block;
481
- overflow: hidden;
482
- text-overflow: ellipsis;
483
- white-space: nowrap;
484
- font-size: 11px;
485
- color: hsl(var(--muted-foreground));
486
- }
487
-
488
- /* Shared block-level image node (the editor's `.an-rich-md-image` and the
489
- read-only markdown renderer's <img>). Constrained to the prose width and
490
- responsive; a still-uploading placeholder (empty src) shows a subtle frame. */
491
- .an-rich-md-prose img,
492
- .an-rich-md-image {
493
- display: block;
494
- max-width: 100%;
495
- height: auto;
496
- margin: 12px 0;
497
- border-radius: 8px;
498
- }
499
-
500
- .an-rich-md-image[src=""],
501
- .an-rich-md-image:not([src]) {
502
- min-height: 64px;
503
- background: hsl(var(--muted));
504
- border: 1px dashed hsl(var(--border));
505
- }
506
-
507
- .ProseMirror-selectednode.an-rich-md-image {
508
- outline: 2px solid hsl(var(--ring));
509
- outline-offset: 2px;
510
- }
1
+ @import "@agent-native/toolkit/editor.css";
@@ -138,6 +138,25 @@ Attribution parsing is fully defensive and never blocks signup — a missing/mal
138
138
  Other framework-level baseline events:
139
139
 
140
140
  - `session status` from `useSession()`, with `signed_in`
141
+ - `action.response` from the browser action transport, with action name,
142
+ browser-perceived duration and TTFB, response status/outcome, response size
143
+ when known, and parsed `Server-Timing` phases for framework readiness and
144
+ database work. Its `request_id` joins the exact browser and server events.
145
+ This separates server time from CDN/network/body overhead.
146
+ - `http.response` from Nitro request/response hooks, with normalized path,
147
+ status, request duration, first-request-in-isolate cold marker, process age,
148
+ framework readiness wait, deploy/runtime fingerprint, database
149
+ connection/query counts and timings, retries, timeouts, and failures. It also
150
+ emits `Server-Timing` for `app`, `startup`, `db`, `db-connect`, and
151
+ `db-slowest` plus an `X-Agent-Native-Request-Id` correlation header where
152
+ applicable. Query text and parameters are never captured.
153
+ Database activity that begins during the first two minutes of process/plugin
154
+ initialization is reported separately as `startup_db_*` on the first
155
+ framework request that passes the readiness gate.
156
+ Slow, cold-isolate, server failures, and 4xx action routes are always
157
+ retained; fast successful requests default to 10% sampling. Override with
158
+ `AGENT_NATIVE_HTTP_TELEMETRY_SAMPLE_RATE` on the server and
159
+ `VITE_AGENT_NATIVE_ACTION_TELEMETRY_SAMPLE_RATE` in the browser.
141
160
  - `signup` from Better Auth user creation, with `auth_provider`, `auth_user_id`, and first-touch referral attribution (`referral_source`, `referrer_user`, `referral_medium`, `referral_campaign`, `utm_*`, `first_touch_path`, `landing_referrer` — see "Referral / viral attribution" above)
142
161
  - `builder connect clicked` and `builder connect popup blocked` from browser Connect Builder CTAs
143
162
  - `builder connect started`, `builder connect succeeded`, `builder connect failed`, `builder disconnect succeeded`, and `builder disconnect failed` from the Builder connection routes, with LLM connection context when resolvable
package/dist/testing.d.ts CHANGED
@@ -12,5 +12,5 @@
12
12
  export { createGetDb, patchBetterSqliteTransactions, } from "./db/create-get-db.js";
13
13
  export { startLocalPlanBridge } from "./cli/plan-local.js";
14
14
  export { prepareDesignConnectManifest, startDesignConnectBridge, type DesignConnectBridge, } from "./cli/design-connect.js";
15
- export { DragHandle } from "./client/rich-markdown-editor/DragHandle.js";
15
+ export { DragHandle } from "@agent-native/toolkit/editor";
16
16
  //# sourceMappingURL=testing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,KAAK,mBAAmB,GACzB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,KAAK,mBAAmB,GACzB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC"}
package/dist/testing.js CHANGED
@@ -12,5 +12,5 @@
12
12
  export { createGetDb, patchBetterSqliteTransactions, } from "./db/create-get-db.js";
13
13
  export { startLocalPlanBridge } from "./cli/plan-local.js";
14
14
  export { prepareDesignConnectManifest, startDesignConnectBridge, } from "./cli/design-connect.js";
15
- export { DragHandle } from "./client/rich-markdown-editor/DragHandle.js";
15
+ export { DragHandle } from "@agent-native/toolkit/editor";
16
16
  //# sourceMappingURL=testing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.js","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GAEzB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC","sourcesContent":["/**\n * `@agent-native/core/testing` — a small barrel of internal symbols that\n * template test suites need direct access to (an in-memory db factory, the\n * local Design/Plan dev bridges, and the shared rich-markdown-editor drag\n * handle). Published so template specs can import these through the package\n * boundary instead of reaching into `packages/core/src/**` with deep\n * relative paths.\n *\n * Keep this list minimal — only add a re-export when a template spec\n * actually needs it.\n */\n\nexport {\n createGetDb,\n patchBetterSqliteTransactions,\n} from \"./db/create-get-db.js\";\n\nexport { startLocalPlanBridge } from \"./cli/plan-local.js\";\n\nexport {\n prepareDesignConnectManifest,\n startDesignConnectBridge,\n type DesignConnectBridge,\n} from \"./cli/design-connect.js\";\n\nexport { DragHandle } from \"./client/rich-markdown-editor/DragHandle.js\";\n"]}
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GAEzB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC","sourcesContent":["/**\n * `@agent-native/core/testing` — a small barrel of internal symbols that\n * template test suites need direct access to (an in-memory db factory, the\n * local Design/Plan dev bridges, and the shared rich-markdown-editor drag\n * handle). Published so template specs can import these through the package\n * boundary instead of reaching into `packages/core/src/**` with deep\n * relative paths.\n *\n * Keep this list minimal — only add a re-export when a template spec\n * actually needs it.\n */\n\nexport {\n createGetDb,\n patchBetterSqliteTransactions,\n} from \"./db/create-get-db.js\";\n\nexport { startLocalPlanBridge } from \"./cli/plan-local.js\";\n\nexport {\n prepareDesignConnectManifest,\n startDesignConnectBridge,\n type DesignConnectBridge,\n} from \"./cli/design-connect.js\";\n\nexport { DragHandle } from \"@agent-native/toolkit/editor\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/vite/client.ts"],"names":[],"mappings":"AAOA,OAAO,K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