@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,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
@@ -23,4 +23,4 @@ export {
23
23
  type DesignConnectBridge,
24
24
  } from "./cli/design-connect.js";
25
25
 
26
- export { DragHandle } from "./client/rich-markdown-editor/DragHandle.js";
26
+ export { DragHandle } from "@agent-native/toolkit/editor";
@@ -811,6 +811,9 @@ const TOOLKIT_CLIENT_SUBPATHS = [
811
811
  "@agent-native/toolkit",
812
812
  "@agent-native/toolkit/app-shell",
813
813
  "@agent-native/toolkit/collab-ui",
814
+ "@agent-native/toolkit/context-ui",
815
+ "@agent-native/toolkit/design-tweaks",
816
+ "@agent-native/toolkit/editor",
814
817
  "@agent-native/toolkit/hooks",
815
818
  "@agent-native/toolkit/onboarding",
816
819
  "@agent-native/toolkit/provider",
@@ -204,7 +204,9 @@ async function verifyServedMediaUrl(videoUrl: string): Promise<number | null> {
204
204
  const statusOk = response.status === 200 || response.status === 206;
205
205
  if (statusOk) {
206
206
  const servedBytes = servedMediaSizeBytes(response);
207
- if (await responseHasReadableMediaBytes(response)) {
207
+ if (servedBytes === null) {
208
+ lastFailure = "Stored media byte count could not be verified";
209
+ } else if (await responseHasReadableMediaBytes(response)) {
208
210
  // Builder stable video URLs intentionally replace the source object
209
211
  // with a smaller compressed generation at the same URL. A positive,
210
212
  // readable object is the invariant here; source-byte equality is
@@ -6,7 +6,7 @@ export const MOBILE_CAPTURE_STATE_KEY = "mobile-capture-state";
6
6
 
7
7
  const mobileCaptureStateSchema = z
8
8
  .object({
9
- view: z.enum(["home", "dictate", "meeting", "video"]),
9
+ view: z.enum(["home", "dictate", "meeting", "video", "clips"]),
10
10
  phase: z.enum([
11
11
  "idle",
12
12
  "ready",
@@ -15,9 +15,12 @@ const mobileCaptureStateSchema = z
15
15
  "saving",
16
16
  "processing",
17
17
  "review",
18
+ "browsing",
19
+ "playing",
18
20
  "error",
19
21
  ]),
20
22
  captureId: z.string().trim().min(1).max(200).optional(),
23
+ recordingId: z.string().trim().min(1).max(200).optional(),
21
24
  })
22
25
  .strict();
23
26
 
@@ -384,12 +384,7 @@ export function LibraryLayout({ children }: LibraryLayoutProps) {
384
384
  ) : (
385
385
  <>
386
386
  <div className="px-3 py-3">
387
- <Button
388
- className="w-full gap-1.5"
389
- variant="outline"
390
- size="sm"
391
- asChild
392
- >
387
+ <Button className="w-full gap-1.5" size="sm" asChild>
393
388
  <NavLink to="/record">
394
389
  <IconPlayerRecord className="h-4 w-4" />
395
390
  {t("navigation.newRecording")}
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: improved
3
+ date: 2026-07-18
4
+ ---
5
+
6
+ New recording is now emphasized as the primary action in the library sidebar.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-07-18
4
+ ---
5
+
6
+ Recordings now remain safely recoverable until the stored media size is verified.
@@ -1,6 +1,4 @@
1
1
  import {
2
- createSharedEditorExtensions,
3
- useCollabReconcile,
4
2
  usePresence,
5
3
  useRecentEdits,
6
4
  RecentEditHighlights,
@@ -8,8 +6,12 @@ import {
8
6
  useT,
9
7
  type AttributedRecentEdit,
10
8
  type RegistryBlockSideMapBlock,
11
- type UseCollabReconcileResult,
12
9
  } from "@agent-native/core/client";
10
+ import {
11
+ createSharedEditorExtensions,
12
+ useCollabReconcile,
13
+ type UseCollabReconcileResult,
14
+ } from "@agent-native/toolkit/editor";
13
15
  import { canonicalizeNfm, docToNfm, nfmToDoc } from "@shared/nfm";
14
16
  import {
15
17
  serializeRegistryBlockToMdx,
@@ -1,15 +1,15 @@
1
- import { DragHandle as CoreDragHandle } from "@agent-native/core/client";
1
+ import { DragHandle as ToolkitDragHandle } from "@agent-native/toolkit/editor";
2
2
 
3
3
  /**
4
4
  * Content's drag-handle extension.
5
5
  *
6
- * The implementation now lives in the shared core
7
- * (`packages/core/src/client/rich-markdown-editor/DragHandle.ts`) so other apps
6
+ * The implementation lives in Toolkit
7
+ * (`packages/toolkit/src/editor/DragHandle.ts`) so other apps
8
8
  * (e.g. the plan editor) can reuse the same `::` grip + block-selection +
9
9
  * drag-to-reorder affordance. This module is a thin re-export configured with
10
10
  * Content's wrapper selector so the behavior stays byte-identical and existing
11
11
  * imports (`./extensions/DragHandle`) keep working unchanged.
12
12
  */
13
- export const DragHandle = CoreDragHandle.configure({
13
+ export const DragHandle = ToolkitDragHandle.configure({
14
14
  wrapperSelector: ".visual-editor-wrapper",
15
15
  });