@agent-native/core 0.109.4 → 0.110.1

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 (1526) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/core/CHANGELOG.md +17 -0
  3. package/corpus/core/docs/content/actions.mdx +2 -4
  4. package/corpus/core/docs/content/agent-surfaces.mdx +2 -4
  5. package/corpus/core/docs/content/audit-log.mdx +1 -2
  6. package/corpus/core/docs/content/authentication.mdx +3 -2
  7. package/corpus/core/docs/content/client.mdx +19 -18
  8. package/corpus/core/docs/content/components.mdx +1 -1
  9. package/corpus/core/docs/content/context-awareness.mdx +4 -7
  10. package/corpus/core/docs/content/creating-templates.mdx +7 -5
  11. package/corpus/core/docs/content/doctor.mdx +27 -6
  12. package/corpus/core/docs/content/drop-in-agent.mdx +6 -11
  13. package/corpus/core/docs/content/embedding-sdk.mdx +8 -10
  14. package/corpus/core/docs/content/getting-started.mdx +4 -2
  15. package/corpus/core/docs/content/internationalization.mdx +9 -6
  16. package/corpus/core/docs/content/key-concepts.mdx +2 -4
  17. package/corpus/core/docs/content/locales/ar-SA/actions.mdx +2 -4
  18. package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.mdx +2 -4
  19. package/corpus/core/docs/content/locales/ar-SA/audit-log.mdx +1 -2
  20. package/corpus/core/docs/content/locales/ar-SA/authentication.mdx +3 -2
  21. package/corpus/core/docs/content/locales/ar-SA/client.mdx +19 -18
  22. package/corpus/core/docs/content/locales/ar-SA/components.mdx +1 -1
  23. package/corpus/core/docs/content/locales/ar-SA/context-awareness.mdx +4 -7
  24. package/corpus/core/docs/content/locales/ar-SA/creating-templates.mdx +7 -5
  25. package/corpus/core/docs/content/locales/ar-SA/doctor.mdx +10 -0
  26. package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.mdx +6 -11
  27. package/corpus/core/docs/content/locales/ar-SA/embedding-sdk.mdx +8 -10
  28. package/corpus/core/docs/content/locales/ar-SA/internationalization.mdx +9 -6
  29. package/corpus/core/docs/content/locales/ar-SA/key-concepts.mdx +2 -4
  30. package/corpus/core/docs/content/locales/ar-SA/observability.mdx +1 -2
  31. package/corpus/core/docs/content/locales/ar-SA/package-lifecycle.mdx +6 -0
  32. package/corpus/core/docs/content/locales/ar-SA/real-time-collaboration.mdx +4 -7
  33. package/corpus/core/docs/content/locales/ar-SA/sharing.mdx +1 -2
  34. package/corpus/core/docs/content/locales/ar-SA/template-chat.mdx +1 -2
  35. package/corpus/core/docs/content/locales/ar-SA/tracking.mdx +2 -4
  36. package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.mdx +1 -2
  37. package/corpus/core/docs/content/locales/de-DE/actions.mdx +2 -4
  38. package/corpus/core/docs/content/locales/de-DE/agent-surfaces.mdx +2 -4
  39. package/corpus/core/docs/content/locales/de-DE/audit-log.mdx +1 -2
  40. package/corpus/core/docs/content/locales/de-DE/authentication.mdx +3 -2
  41. package/corpus/core/docs/content/locales/de-DE/client.mdx +19 -18
  42. package/corpus/core/docs/content/locales/de-DE/components.mdx +1 -1
  43. package/corpus/core/docs/content/locales/de-DE/context-awareness.mdx +4 -7
  44. package/corpus/core/docs/content/locales/de-DE/creating-templates.mdx +7 -5
  45. package/corpus/core/docs/content/locales/de-DE/doctor.mdx +10 -0
  46. package/corpus/core/docs/content/locales/de-DE/drop-in-agent.mdx +6 -11
  47. package/corpus/core/docs/content/locales/de-DE/embedding-sdk.mdx +8 -10
  48. package/corpus/core/docs/content/locales/de-DE/internationalization.mdx +9 -6
  49. package/corpus/core/docs/content/locales/de-DE/key-concepts.mdx +2 -4
  50. package/corpus/core/docs/content/locales/de-DE/observability.mdx +1 -2
  51. package/corpus/core/docs/content/locales/de-DE/package-lifecycle.mdx +6 -0
  52. package/corpus/core/docs/content/locales/de-DE/real-time-collaboration.mdx +4 -7
  53. package/corpus/core/docs/content/locales/de-DE/sharing.mdx +1 -2
  54. package/corpus/core/docs/content/locales/de-DE/template-chat.mdx +1 -2
  55. package/corpus/core/docs/content/locales/de-DE/tracking.mdx +2 -4
  56. package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.mdx +1 -2
  57. package/corpus/core/docs/content/locales/es-ES/actions.mdx +2 -4
  58. package/corpus/core/docs/content/locales/es-ES/agent-surfaces.mdx +2 -4
  59. package/corpus/core/docs/content/locales/es-ES/audit-log.mdx +1 -2
  60. package/corpus/core/docs/content/locales/es-ES/authentication.mdx +3 -2
  61. package/corpus/core/docs/content/locales/es-ES/client.mdx +19 -18
  62. package/corpus/core/docs/content/locales/es-ES/components.mdx +1 -1
  63. package/corpus/core/docs/content/locales/es-ES/context-awareness.mdx +4 -7
  64. package/corpus/core/docs/content/locales/es-ES/creating-templates.mdx +7 -5
  65. package/corpus/core/docs/content/locales/es-ES/doctor.mdx +10 -0
  66. package/corpus/core/docs/content/locales/es-ES/drop-in-agent.mdx +6 -11
  67. package/corpus/core/docs/content/locales/es-ES/embedding-sdk.mdx +8 -10
  68. package/corpus/core/docs/content/locales/es-ES/internationalization.mdx +9 -6
  69. package/corpus/core/docs/content/locales/es-ES/key-concepts.mdx +2 -4
  70. package/corpus/core/docs/content/locales/es-ES/observability.mdx +1 -2
  71. package/corpus/core/docs/content/locales/es-ES/package-lifecycle.mdx +6 -0
  72. package/corpus/core/docs/content/locales/es-ES/real-time-collaboration.mdx +4 -7
  73. package/corpus/core/docs/content/locales/es-ES/sharing.mdx +1 -2
  74. package/corpus/core/docs/content/locales/es-ES/template-chat.mdx +1 -2
  75. package/corpus/core/docs/content/locales/es-ES/tracking.mdx +2 -4
  76. package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.mdx +1 -2
  77. package/corpus/core/docs/content/locales/fr-FR/actions.mdx +2 -4
  78. package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.mdx +2 -4
  79. package/corpus/core/docs/content/locales/fr-FR/audit-log.mdx +1 -2
  80. package/corpus/core/docs/content/locales/fr-FR/authentication.mdx +3 -2
  81. package/corpus/core/docs/content/locales/fr-FR/client.mdx +19 -18
  82. package/corpus/core/docs/content/locales/fr-FR/components.mdx +1 -1
  83. package/corpus/core/docs/content/locales/fr-FR/context-awareness.mdx +4 -7
  84. package/corpus/core/docs/content/locales/fr-FR/creating-templates.mdx +7 -5
  85. package/corpus/core/docs/content/locales/fr-FR/doctor.mdx +10 -0
  86. package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.mdx +6 -11
  87. package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.mdx +8 -10
  88. package/corpus/core/docs/content/locales/fr-FR/internationalization.mdx +9 -6
  89. package/corpus/core/docs/content/locales/fr-FR/key-concepts.mdx +2 -4
  90. package/corpus/core/docs/content/locales/fr-FR/observability.mdx +1 -2
  91. package/corpus/core/docs/content/locales/fr-FR/package-lifecycle.mdx +6 -0
  92. package/corpus/core/docs/content/locales/fr-FR/real-time-collaboration.mdx +4 -7
  93. package/corpus/core/docs/content/locales/fr-FR/sharing.mdx +1 -2
  94. package/corpus/core/docs/content/locales/fr-FR/template-chat.mdx +1 -2
  95. package/corpus/core/docs/content/locales/fr-FR/tracking.mdx +2 -4
  96. package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.mdx +1 -2
  97. package/corpus/core/docs/content/locales/hi-IN/actions.mdx +2 -4
  98. package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.mdx +2 -4
  99. package/corpus/core/docs/content/locales/hi-IN/audit-log.mdx +1 -2
  100. package/corpus/core/docs/content/locales/hi-IN/authentication.mdx +3 -2
  101. package/corpus/core/docs/content/locales/hi-IN/client.mdx +19 -18
  102. package/corpus/core/docs/content/locales/hi-IN/components.mdx +1 -1
  103. package/corpus/core/docs/content/locales/hi-IN/context-awareness.mdx +4 -7
  104. package/corpus/core/docs/content/locales/hi-IN/creating-templates.mdx +7 -5
  105. package/corpus/core/docs/content/locales/hi-IN/doctor.mdx +10 -0
  106. package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.mdx +6 -11
  107. package/corpus/core/docs/content/locales/hi-IN/embedding-sdk.mdx +8 -10
  108. package/corpus/core/docs/content/locales/hi-IN/internationalization.mdx +9 -6
  109. package/corpus/core/docs/content/locales/hi-IN/key-concepts.mdx +2 -4
  110. package/corpus/core/docs/content/locales/hi-IN/observability.mdx +1 -2
  111. package/corpus/core/docs/content/locales/hi-IN/package-lifecycle.mdx +6 -0
  112. package/corpus/core/docs/content/locales/hi-IN/real-time-collaboration.mdx +4 -7
  113. package/corpus/core/docs/content/locales/hi-IN/sharing.mdx +1 -2
  114. package/corpus/core/docs/content/locales/hi-IN/template-chat.mdx +1 -2
  115. package/corpus/core/docs/content/locales/hi-IN/tracking.mdx +2 -4
  116. package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.mdx +1 -2
  117. package/corpus/core/docs/content/locales/ja-JP/actions.mdx +2 -4
  118. package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.mdx +2 -4
  119. package/corpus/core/docs/content/locales/ja-JP/audit-log.mdx +1 -2
  120. package/corpus/core/docs/content/locales/ja-JP/authentication.mdx +3 -2
  121. package/corpus/core/docs/content/locales/ja-JP/client.mdx +19 -18
  122. package/corpus/core/docs/content/locales/ja-JP/components.mdx +1 -1
  123. package/corpus/core/docs/content/locales/ja-JP/context-awareness.mdx +4 -7
  124. package/corpus/core/docs/content/locales/ja-JP/creating-templates.mdx +7 -5
  125. package/corpus/core/docs/content/locales/ja-JP/doctor.mdx +10 -0
  126. package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.mdx +6 -11
  127. package/corpus/core/docs/content/locales/ja-JP/embedding-sdk.mdx +8 -10
  128. package/corpus/core/docs/content/locales/ja-JP/internationalization.mdx +9 -6
  129. package/corpus/core/docs/content/locales/ja-JP/key-concepts.mdx +2 -4
  130. package/corpus/core/docs/content/locales/ja-JP/observability.mdx +1 -2
  131. package/corpus/core/docs/content/locales/ja-JP/package-lifecycle.mdx +6 -0
  132. package/corpus/core/docs/content/locales/ja-JP/real-time-collaboration.mdx +4 -7
  133. package/corpus/core/docs/content/locales/ja-JP/sharing.mdx +1 -2
  134. package/corpus/core/docs/content/locales/ja-JP/template-chat.mdx +1 -2
  135. package/corpus/core/docs/content/locales/ja-JP/tracking.mdx +2 -4
  136. package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.mdx +1 -2
  137. package/corpus/core/docs/content/locales/ko-KR/actions.mdx +2 -4
  138. package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.mdx +2 -4
  139. package/corpus/core/docs/content/locales/ko-KR/audit-log.mdx +1 -2
  140. package/corpus/core/docs/content/locales/ko-KR/authentication.mdx +3 -2
  141. package/corpus/core/docs/content/locales/ko-KR/client.mdx +19 -18
  142. package/corpus/core/docs/content/locales/ko-KR/components.mdx +1 -1
  143. package/corpus/core/docs/content/locales/ko-KR/context-awareness.mdx +4 -7
  144. package/corpus/core/docs/content/locales/ko-KR/creating-templates.mdx +7 -5
  145. package/corpus/core/docs/content/locales/ko-KR/doctor.mdx +10 -0
  146. package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.mdx +6 -11
  147. package/corpus/core/docs/content/locales/ko-KR/embedding-sdk.mdx +8 -10
  148. package/corpus/core/docs/content/locales/ko-KR/internationalization.mdx +9 -6
  149. package/corpus/core/docs/content/locales/ko-KR/key-concepts.mdx +2 -4
  150. package/corpus/core/docs/content/locales/ko-KR/observability.mdx +1 -2
  151. package/corpus/core/docs/content/locales/ko-KR/package-lifecycle.mdx +6 -0
  152. package/corpus/core/docs/content/locales/ko-KR/real-time-collaboration.mdx +4 -7
  153. package/corpus/core/docs/content/locales/ko-KR/sharing.mdx +1 -2
  154. package/corpus/core/docs/content/locales/ko-KR/template-chat.mdx +1 -2
  155. package/corpus/core/docs/content/locales/ko-KR/tracking.mdx +2 -4
  156. package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.mdx +1 -2
  157. package/corpus/core/docs/content/locales/pt-BR/actions.mdx +2 -4
  158. package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.mdx +2 -4
  159. package/corpus/core/docs/content/locales/pt-BR/audit-log.mdx +1 -2
  160. package/corpus/core/docs/content/locales/pt-BR/authentication.mdx +3 -2
  161. package/corpus/core/docs/content/locales/pt-BR/client.mdx +19 -18
  162. package/corpus/core/docs/content/locales/pt-BR/components.mdx +1 -1
  163. package/corpus/core/docs/content/locales/pt-BR/context-awareness.mdx +4 -7
  164. package/corpus/core/docs/content/locales/pt-BR/creating-templates.mdx +7 -5
  165. package/corpus/core/docs/content/locales/pt-BR/doctor.mdx +10 -0
  166. package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.mdx +6 -11
  167. package/corpus/core/docs/content/locales/pt-BR/embedding-sdk.mdx +8 -10
  168. package/corpus/core/docs/content/locales/pt-BR/internationalization.mdx +9 -6
  169. package/corpus/core/docs/content/locales/pt-BR/key-concepts.mdx +2 -4
  170. package/corpus/core/docs/content/locales/pt-BR/observability.mdx +1 -2
  171. package/corpus/core/docs/content/locales/pt-BR/package-lifecycle.mdx +6 -0
  172. package/corpus/core/docs/content/locales/pt-BR/real-time-collaboration.mdx +4 -7
  173. package/corpus/core/docs/content/locales/pt-BR/sharing.mdx +1 -2
  174. package/corpus/core/docs/content/locales/pt-BR/template-chat.mdx +1 -2
  175. package/corpus/core/docs/content/locales/pt-BR/tracking.mdx +2 -4
  176. package/corpus/core/docs/content/locales/pt-BR/what-is-agent-native.mdx +1 -2
  177. package/corpus/core/docs/content/locales/zh-CN/actions.mdx +2 -4
  178. package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.mdx +2 -4
  179. package/corpus/core/docs/content/locales/zh-CN/audit-log.mdx +1 -2
  180. package/corpus/core/docs/content/locales/zh-CN/authentication.mdx +3 -2
  181. package/corpus/core/docs/content/locales/zh-CN/client.mdx +19 -18
  182. package/corpus/core/docs/content/locales/zh-CN/components.mdx +1 -1
  183. package/corpus/core/docs/content/locales/zh-CN/context-awareness.mdx +4 -7
  184. package/corpus/core/docs/content/locales/zh-CN/creating-templates.mdx +7 -5
  185. package/corpus/core/docs/content/locales/zh-CN/doctor.mdx +10 -0
  186. package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.mdx +6 -11
  187. package/corpus/core/docs/content/locales/zh-CN/embedding-sdk.mdx +8 -10
  188. package/corpus/core/docs/content/locales/zh-CN/internationalization.mdx +9 -6
  189. package/corpus/core/docs/content/locales/zh-CN/key-concepts.mdx +2 -4
  190. package/corpus/core/docs/content/locales/zh-CN/observability.mdx +1 -2
  191. package/corpus/core/docs/content/locales/zh-CN/package-lifecycle.mdx +6 -0
  192. package/corpus/core/docs/content/locales/zh-CN/real-time-collaboration.mdx +4 -7
  193. package/corpus/core/docs/content/locales/zh-CN/sharing.mdx +1 -2
  194. package/corpus/core/docs/content/locales/zh-CN/template-chat.mdx +1 -2
  195. package/corpus/core/docs/content/locales/zh-CN/tracking.mdx +2 -4
  196. package/corpus/core/docs/content/locales/zh-CN/what-is-agent-native.mdx +1 -2
  197. package/corpus/core/docs/content/locales/zh-TW/actions.mdx +2 -4
  198. package/corpus/core/docs/content/locales/zh-TW/agent-surfaces.mdx +2 -4
  199. package/corpus/core/docs/content/locales/zh-TW/audit-log.mdx +1 -2
  200. package/corpus/core/docs/content/locales/zh-TW/authentication.mdx +3 -2
  201. package/corpus/core/docs/content/locales/zh-TW/client.mdx +19 -18
  202. package/corpus/core/docs/content/locales/zh-TW/components.mdx +1 -1
  203. package/corpus/core/docs/content/locales/zh-TW/context-awareness.mdx +4 -7
  204. package/corpus/core/docs/content/locales/zh-TW/creating-templates.mdx +7 -5
  205. package/corpus/core/docs/content/locales/zh-TW/doctor.mdx +10 -0
  206. package/corpus/core/docs/content/locales/zh-TW/drop-in-agent.mdx +6 -11
  207. package/corpus/core/docs/content/locales/zh-TW/embedding-sdk.mdx +8 -10
  208. package/corpus/core/docs/content/locales/zh-TW/internationalization.mdx +9 -6
  209. package/corpus/core/docs/content/locales/zh-TW/key-concepts.mdx +2 -4
  210. package/corpus/core/docs/content/locales/zh-TW/observability.mdx +1 -2
  211. package/corpus/core/docs/content/locales/zh-TW/package-lifecycle.mdx +6 -0
  212. package/corpus/core/docs/content/locales/zh-TW/real-time-collaboration.mdx +4 -7
  213. package/corpus/core/docs/content/locales/zh-TW/sharing.mdx +1 -2
  214. package/corpus/core/docs/content/locales/zh-TW/template-chat.mdx +1 -2
  215. package/corpus/core/docs/content/locales/zh-TW/tracking.mdx +2 -4
  216. package/corpus/core/docs/content/locales/zh-TW/what-is-agent-native.mdx +1 -2
  217. package/corpus/core/docs/content/observability.mdx +1 -2
  218. package/corpus/core/docs/content/package-lifecycle.mdx +29 -0
  219. package/corpus/core/docs/content/real-time-collaboration.mdx +8 -7
  220. package/corpus/core/docs/content/sharing.mdx +1 -2
  221. package/corpus/core/docs/content/template-chat.mdx +1 -2
  222. package/corpus/core/docs/content/toolkit-agent-ux.mdx +3 -2
  223. package/corpus/core/docs/content/toolkit-observability.mdx +1 -2
  224. package/corpus/core/docs/content/toolkit-settings.mdx +2 -2
  225. package/corpus/core/docs/content/toolkit-sharing.mdx +5 -2
  226. package/corpus/core/docs/content/tracking.mdx +2 -4
  227. package/corpus/core/docs/content/what-is-agent-native.mdx +1 -2
  228. package/corpus/core/export-snapshot.json +324 -0
  229. package/corpus/core/migration-manifest.json +1492 -0
  230. package/corpus/core/package.json +21 -3
  231. package/corpus/core/src/cli/doctor.ts +77 -7
  232. package/corpus/core/src/cli/migration-codemod.ts +569 -0
  233. package/corpus/core/src/cli/upgrade.ts +63 -7
  234. package/corpus/core/src/client/agent-chat/index.ts +279 -0
  235. package/corpus/core/src/client/agent-page/AgentContextTab.tsx +3 -1
  236. package/corpus/core/src/client/analytics/index.ts +40 -0
  237. package/corpus/core/src/client/api-path.ts +2 -2
  238. package/corpus/core/src/client/automation/index.ts +4 -0
  239. package/corpus/core/src/client/changelog/index.ts +1 -0
  240. package/corpus/core/src/client/chat/widgets/InlineExtensionWidget.tsx +5 -84
  241. package/corpus/core/src/client/chat/widgets/builtin-tool-renderers.tsx +52 -14
  242. package/corpus/core/src/client/chat/widgets/inline-extension-result.ts +86 -0
  243. package/corpus/core/src/client/client-bootstrap.ts +7 -0
  244. package/corpus/core/src/client/context-xray/ContextXRayPanel.tsx +1 -1
  245. package/corpus/core/src/client/hooks/index.ts +46 -0
  246. package/corpus/core/src/client/host/index.ts +170 -0
  247. package/corpus/core/src/client/index.ts +20 -664
  248. package/corpus/core/src/client/navigation/index.ts +54 -0
  249. package/corpus/core/src/client/resources/ResourcesPanel.tsx +1 -1
  250. package/corpus/core/src/client/resources/index.ts +2 -1
  251. package/corpus/core/src/client/resources/use-resources.ts +0 -20
  252. package/corpus/core/src/client/route-chunk-recovery/index.ts +1 -0
  253. package/corpus/core/src/client/ui/index.ts +55 -0
  254. package/corpus/core/src/client/uploads/index.ts +1 -0
  255. package/corpus/core/src/client/uploads/use-upload-resource.ts +24 -0
  256. package/corpus/core/src/client/widgets/index.ts +41 -0
  257. package/corpus/core/src/localization/default-messages.ts +2 -1
  258. package/corpus/core/src/package-lifecycle/deprecated-imports.ts +179 -0
  259. package/corpus/core/src/package-lifecycle/index.ts +5 -0
  260. package/corpus/core/src/package-lifecycle/migration-manifest.ts +159 -0
  261. package/corpus/core/src/package-lifecycle/migration-message.ts +6 -0
  262. package/corpus/core/src/package-lifecycle/tombstone.ts +44 -0
  263. package/corpus/core/src/package-lifecycle/upgrade-error.ts +19 -0
  264. package/corpus/core/src/templates/default/.agents/skills/actions/SKILL.md +3 -3
  265. package/corpus/core/src/templates/default/.agents/skills/adding-a-feature/SKILL.md +1 -1
  266. package/corpus/core/src/templates/default/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  267. package/corpus/core/src/templates/default/.agents/skills/feature-flags/SKILL.md +1 -1
  268. package/corpus/core/src/templates/default/.agents/skills/real-time-collab/SKILL.md +4 -4
  269. package/corpus/core/src/templates/default/.agents/skills/real-time-sync/SKILL.md +4 -4
  270. package/corpus/core/src/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
  271. package/corpus/core/src/templates/default/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  272. package/corpus/core/src/templates/default/app/hooks/use-navigation-state.ts +2 -5
  273. package/corpus/core/src/templates/default/app/i18n/index.ts +1 -1
  274. package/corpus/core/src/templates/default/app/lib/utils.ts +1 -1
  275. package/corpus/core/src/templates/default/app/root.tsx +8 -6
  276. package/corpus/core/src/templates/default/app/routes/_index.tsx +2 -1
  277. package/corpus/core/src/templates/default/app/routes/agent.tsx +2 -1
  278. package/corpus/core/src/templates/default/app/routes/settings.tsx +2 -3
  279. package/corpus/core/src/templates/headless/.agents/skills/feature-flags/SKILL.md +1 -1
  280. package/corpus/core/src/templates/headless/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  281. package/corpus/core/src/templates/workspace-core/.agents/skills/actions/SKILL.md +3 -3
  282. package/corpus/core/src/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +1 -1
  283. package/corpus/core/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +1 -1
  284. package/corpus/core/src/templates/workspace-core/.agents/skills/changelog/SKILL.md +1 -1
  285. package/corpus/core/src/templates/workspace-core/.agents/skills/client-methods/SKILL.md +10 -10
  286. package/corpus/core/src/templates/workspace-core/.agents/skills/context-awareness/SKILL.md +1 -1
  287. package/corpus/core/src/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  288. package/corpus/core/src/templates/workspace-core/.agents/skills/feature-flags/SKILL.md +1 -1
  289. package/corpus/core/src/templates/workspace-core/.agents/skills/observability/SKILL.md +1 -1
  290. package/corpus/core/src/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +4 -4
  291. package/corpus/core/src/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +4 -4
  292. package/corpus/core/src/templates/workspace-core/.agents/skills/sharing/SKILL.md +1 -1
  293. package/corpus/core/src/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
  294. package/corpus/core/src/templates/workspace-core/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  295. package/corpus/core/src/vite/action-types-plugin.ts +4 -0
  296. package/corpus/core/src/vite/client.ts +80 -65
  297. package/corpus/templates/analytics/.agents/skills/actions/SKILL.md +3 -3
  298. package/corpus/templates/analytics/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  299. package/corpus/templates/analytics/.agents/skills/feature-flags/SKILL.md +1 -1
  300. package/corpus/templates/analytics/.agents/skills/real-time-sync/SKILL.md +4 -4
  301. package/corpus/templates/analytics/.agents/skills/storing-data/SKILL.md +1 -1
  302. package/corpus/templates/analytics/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  303. package/corpus/templates/analytics/app/components/Markdown.tsx +1 -1
  304. package/corpus/templates/analytics/app/components/ProviderCorpusJobNotifier.tsx +2 -1
  305. package/corpus/templates/analytics/app/components/agents/FeatureFlagsFleetPanel.tsx +6 -4
  306. package/corpus/templates/analytics/app/components/analysis/AnalysisHistoryPanel.tsx +1 -1
  307. package/corpus/templates/analytics/app/components/auth/AuthProvider.tsx +2 -2
  308. package/corpus/templates/analytics/app/components/dashboard/CumulativeNetChart.tsx +1 -1
  309. package/corpus/templates/analytics/app/components/dashboard/DashboardHistoryPanel.tsx +1 -1
  310. package/corpus/templates/analytics/app/components/dashboard/DataTable.tsx +1 -1
  311. package/corpus/templates/analytics/app/components/dashboard/RecentActivity.tsx +1 -1
  312. package/corpus/templates/analytics/app/components/dashboard/RevenueChart.tsx +1 -1
  313. package/corpus/templates/analytics/app/components/dashboard/RevenueComparisonChart.tsx +1 -1
  314. package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +2 -1
  315. package/corpus/templates/analytics/app/components/dashboard/TimeSeriesChart.tsx +1 -1
  316. package/corpus/templates/analytics/app/components/layout/CommandPalette.tsx +4 -6
  317. package/corpus/templates/analytics/app/components/layout/DashboardHeader.tsx +1 -1
  318. package/corpus/templates/analytics/app/components/layout/Header.tsx +2 -2
  319. package/corpus/templates/analytics/app/components/layout/HeaderActions.tsx +1 -1
  320. package/corpus/templates/analytics/app/components/layout/Layout.tsx +3 -3
  321. package/corpus/templates/analytics/app/components/layout/MobileNav.tsx +1 -1
  322. package/corpus/templates/analytics/app/components/layout/NewAnalysisDialog.tsx +4 -6
  323. package/corpus/templates/analytics/app/components/layout/NewDashboardDialog.tsx +3 -5
  324. package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +10 -10
  325. package/corpus/templates/analytics/app/entry.client.tsx +2 -4
  326. package/corpus/templates/analytics/app/hooks/use-analysis-revisions.ts +4 -1
  327. package/corpus/templates/analytics/app/hooks/use-dashboard-chat-context.ts +6 -4
  328. package/corpus/templates/analytics/app/hooks/use-dashboard-revisions.ts +4 -1
  329. package/corpus/templates/analytics/app/hooks/use-dashboard-views.ts +1 -1
  330. package/corpus/templates/analytics/app/hooks/use-navigation-state.ts +2 -4
  331. package/corpus/templates/analytics/app/hooks/use-replay-storage-status.ts +1 -1
  332. package/corpus/templates/analytics/app/hooks/use-user-pref.ts +1 -1
  333. package/corpus/templates/analytics/app/i18n/index.ts +1 -1
  334. package/corpus/templates/analytics/app/i18n-data.ts +1 -1
  335. package/corpus/templates/analytics/app/lib/api-hooks.ts +1 -1
  336. package/corpus/templates/analytics/app/lib/item-popularity.ts +1 -1
  337. package/corpus/templates/analytics/app/lib/query-metrics.ts +1 -1
  338. package/corpus/templates/analytics/app/lib/sql-query.ts +1 -1
  339. package/corpus/templates/analytics/app/lib/tab-id.ts +1 -1
  340. package/corpus/templates/analytics/app/lib/track-metric.ts +1 -1
  341. package/corpus/templates/analytics/app/lib/user-info.ts +1 -1
  342. package/corpus/templates/analytics/app/lib/utils.ts +1 -1
  343. package/corpus/templates/analytics/app/pages/Agents.tsx +5 -6
  344. package/corpus/templates/analytics/app/pages/Ask.tsx +2 -2
  345. package/corpus/templates/analytics/app/pages/DataDictionary.tsx +3 -3
  346. package/corpus/templates/analytics/app/pages/DataSources.tsx +7 -5
  347. package/corpus/templates/analytics/app/pages/NotFound.tsx +1 -1
  348. package/corpus/templates/analytics/app/pages/Placeholder.tsx +1 -1
  349. package/corpus/templates/analytics/app/pages/Settings.tsx +5 -6
  350. package/corpus/templates/analytics/app/pages/adhoc/BlankDashboard.tsx +1 -1
  351. package/corpus/templates/analytics/app/pages/adhoc/_shared/KpiChart.tsx +1 -1
  352. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/EventCombobox.tsx +1 -1
  353. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/EventPanel.tsx +1 -1
  354. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/ExplorerChart.tsx +1 -1
  355. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/FilterBuilder.tsx +1 -1
  356. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/GroupByPicker.tsx +1 -1
  357. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/PropertyCombobox.tsx +1 -1
  358. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/PropertyValueCombobox.tsx +1 -1
  359. package/corpus/templates/analytics/app/pages/adhoc/explorer/components/SqlPreview.tsx +1 -1
  360. package/corpus/templates/analytics/app/pages/adhoc/explorer/index.tsx +1 -1
  361. package/corpus/templates/analytics/app/pages/adhoc/explorer/use-explorer-config.ts +2 -1
  362. package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/ChartCard.tsx +2 -1
  363. package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/index.tsx +8 -6
  364. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/DashboardFilterBar.tsx +1 -1
  365. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/EmailReportDialog.tsx +2 -2
  366. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/PanelEditorDialog.tsx +4 -6
  367. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/SqlChartCard.tsx +1 -1
  368. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/ViewSqlPopover.tsx +2 -1
  369. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/ViewsMenu.tsx +1 -1
  370. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +9 -7
  371. package/corpus/templates/analytics/app/pages/analyses/AnalysesList.tsx +3 -6
  372. package/corpus/templates/analytics/app/pages/analyses/AnalysisDetail.tsx +4 -4
  373. package/corpus/templates/analytics/app/pages/analyses/LegacyFusionAnalysis.tsx +2 -1
  374. package/corpus/templates/analytics/app/pages/monitoring/ErrorsPanel.tsx +1 -11
  375. package/corpus/templates/analytics/app/pages/monitoring/MonitoringPage.tsx +2 -1
  376. package/corpus/templates/analytics/app/pages/monitoring/UptimePanel.tsx +1 -14
  377. package/corpus/templates/analytics/app/pages/monitoring/errors/IssueDetail.tsx +1 -1
  378. package/corpus/templates/analytics/app/pages/monitoring/errors/IssueList.tsx +1 -1
  379. package/corpus/templates/analytics/app/pages/monitoring/errors/i18n.ts +1 -6
  380. package/corpus/templates/analytics/app/pages/monitoring/uptime/MonitorDetail.tsx +1 -8
  381. package/corpus/templates/analytics/app/pages/monitoring/uptime/MonitorFormPage.tsx +4 -10
  382. package/corpus/templates/analytics/app/pages/monitoring/uptime/i18n.ts +1 -6
  383. package/corpus/templates/analytics/app/pages/monitoring/uptime/status-pages/StatusPageEditor.tsx +4 -8
  384. package/corpus/templates/analytics/app/pages/monitoring/uptime/status-pages/StatusPagesView.tsx +4 -10
  385. package/corpus/templates/analytics/app/pages/monitoring/uptime/status-pages/i18n.ts +1 -6
  386. package/corpus/templates/analytics/app/pages/sessions/SessionDetailPage.tsx +5 -6
  387. package/corpus/templates/analytics/app/pages/sessions/SessionDevToolsPanel.tsx +1 -1
  388. package/corpus/templates/analytics/app/pages/sessions/SessionsPage.tsx +5 -5
  389. package/corpus/templates/analytics/app/pages/settings/AlertRulesSettingsCard.tsx +2 -2
  390. package/corpus/templates/analytics/app/pages/settings/settings-search.ts +1 -1
  391. package/corpus/templates/analytics/app/root.tsx +6 -6
  392. package/corpus/templates/analytics/app/routes/agent.tsx +1 -1
  393. package/corpus/templates/analytics/app/routes/catalog.tsx +2 -2
  394. package/corpus/templates/analytics/app/routes/chart.tsx +1 -1
  395. package/corpus/templates/analytics/app/routes/status.$slug.tsx +1 -13
  396. package/corpus/templates/assets/.agents/skills/actions/SKILL.md +3 -3
  397. package/corpus/templates/assets/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  398. package/corpus/templates/assets/.agents/skills/feature-flags/SKILL.md +1 -1
  399. package/corpus/templates/assets/.agents/skills/real-time-collab/SKILL.md +4 -4
  400. package/corpus/templates/assets/.agents/skills/real-time-sync/SKILL.md +4 -4
  401. package/corpus/templates/assets/.agents/skills/storing-data/SKILL.md +1 -1
  402. package/corpus/templates/assets/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  403. package/corpus/templates/assets/app/components/create/RecentDraftsSection.tsx +2 -1
  404. package/corpus/templates/assets/app/components/generation/GenerationResults.tsx +3 -3
  405. package/corpus/templates/assets/app/components/layout/Header.tsx +3 -5
  406. package/corpus/templates/assets/app/components/layout/Layout.tsx +4 -4
  407. package/corpus/templates/assets/app/components/layout/Sidebar.tsx +6 -6
  408. package/corpus/templates/assets/app/components/library/CreateLibraryDialog.tsx +2 -2
  409. package/corpus/templates/assets/app/components/library/GenerationPresetsPanel.tsx +2 -1
  410. package/corpus/templates/assets/app/components/library/LibraryCard.tsx +1 -1
  411. package/corpus/templates/assets/app/components/library/LibraryPresetGrid.tsx +1 -1
  412. package/corpus/templates/assets/app/hooks/use-image-model-menu.ts +2 -2
  413. package/corpus/templates/assets/app/hooks/use-navigation-state.ts +3 -3
  414. package/corpus/templates/assets/app/i18n/index.ts +1 -1
  415. package/corpus/templates/assets/app/i18n-data.ts +1 -1
  416. package/corpus/templates/assets/app/lib/asset-urls.ts +1 -1
  417. package/corpus/templates/assets/app/lib/utils.ts +1 -1
  418. package/corpus/templates/assets/app/root.tsx +10 -9
  419. package/corpus/templates/assets/app/routes/_index.tsx +3 -3
  420. package/corpus/templates/assets/app/routes/agent.tsx +1 -1
  421. package/corpus/templates/assets/app/routes/asset.$id.tsx +3 -3
  422. package/corpus/templates/assets/app/routes/asset.$id_.embed.tsx +1 -1
  423. package/corpus/templates/assets/app/routes/audit.tsx +2 -2
  424. package/corpus/templates/assets/app/routes/brand-kits.$id.tsx +6 -4
  425. package/corpus/templates/assets/app/routes/brand-kits.$id_.presets.$presetId.tsx +4 -4
  426. package/corpus/templates/assets/app/routes/brand-kits.$id_.settings.tsx +3 -3
  427. package/corpus/templates/assets/app/routes/library.tsx +13 -9
  428. package/corpus/templates/assets/app/routes/run.$id_.embed.tsx +1 -1
  429. package/corpus/templates/assets/app/routes/settings.tsx +11 -12
  430. package/corpus/templates/brain/.agents/skills/actions/SKILL.md +3 -3
  431. package/corpus/templates/brain/.agents/skills/adding-a-feature/SKILL.md +1 -1
  432. package/corpus/templates/brain/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  433. package/corpus/templates/brain/.agents/skills/feature-flags/SKILL.md +1 -1
  434. package/corpus/templates/brain/.agents/skills/real-time-sync/SKILL.md +4 -4
  435. package/corpus/templates/brain/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  436. package/corpus/templates/brain/app/components/brain/CanonicalPreviewSheet.tsx +1 -1
  437. package/corpus/templates/brain/app/components/layout/Layout.tsx +2 -2
  438. package/corpus/templates/brain/app/components/layout/Sidebar.tsx +5 -5
  439. package/corpus/templates/brain/app/hooks/use-distillation-bridge.ts +3 -6
  440. package/corpus/templates/brain/app/hooks/use-navigation-state.ts +3 -4
  441. package/corpus/templates/brain/app/i18n/index.ts +1 -1
  442. package/corpus/templates/brain/app/i18n-data.ts +1 -1
  443. package/corpus/templates/brain/app/lib/utils.ts +1 -1
  444. package/corpus/templates/brain/app/root.tsx +10 -9
  445. package/corpus/templates/brain/app/routes/_index.tsx +2 -2
  446. package/corpus/templates/brain/app/routes/agent.tsx +1 -1
  447. package/corpus/templates/brain/app/routes/knowledge.tsx +2 -2
  448. package/corpus/templates/brain/app/routes/ops.tsx +2 -2
  449. package/corpus/templates/brain/app/routes/review.tsx +2 -2
  450. package/corpus/templates/brain/app/routes/search.tsx +2 -1
  451. package/corpus/templates/brain/app/routes/settings.tsx +8 -7
  452. package/corpus/templates/brain/app/routes/sources.tsx +2 -2
  453. package/corpus/templates/calendar/.agents/skills/actions/SKILL.md +3 -3
  454. package/corpus/templates/calendar/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  455. package/corpus/templates/calendar/.agents/skills/feature-flags/SKILL.md +1 -1
  456. package/corpus/templates/calendar/.agents/skills/real-time-sync/SKILL.md +4 -4
  457. package/corpus/templates/calendar/.agents/skills/storing-data/SKILL.md +1 -1
  458. package/corpus/templates/calendar/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  459. package/corpus/templates/calendar/app/components/CloudUpgrade.tsx +1 -1
  460. package/corpus/templates/calendar/app/components/ThemeToggle.tsx +1 -1
  461. package/corpus/templates/calendar/app/components/TimezoneCombobox.tsx +1 -1
  462. package/corpus/templates/calendar/app/components/booking/BookingConfirmation.tsx +1 -1
  463. package/corpus/templates/calendar/app/components/booking/BookingForm.tsx +2 -1
  464. package/corpus/templates/calendar/app/components/booking/TimeSlotPicker.tsx +1 -1
  465. package/corpus/templates/calendar/app/components/calendar/AddCalendarDialog.tsx +2 -1
  466. package/corpus/templates/calendar/app/components/calendar/ApolloPanel.tsx +2 -1
  467. package/corpus/templates/calendar/app/components/calendar/AttendeeAutocomplete.tsx +1 -1
  468. package/corpus/templates/calendar/app/components/calendar/CommandPalette.tsx +2 -1
  469. package/corpus/templates/calendar/app/components/calendar/CreateEventDialog.tsx +3 -5
  470. package/corpus/templates/calendar/app/components/calendar/DayView.tsx +1 -1
  471. package/corpus/templates/calendar/app/components/calendar/DeleteEventDialog.tsx +1 -1
  472. package/corpus/templates/calendar/app/components/calendar/EventAttendeesSection.tsx +1 -1
  473. package/corpus/templates/calendar/app/components/calendar/EventCard.tsx +1 -1
  474. package/corpus/templates/calendar/app/components/calendar/EventDescription.tsx +1 -1
  475. package/corpus/templates/calendar/app/components/calendar/EventDetailPanel.tsx +1 -1
  476. package/corpus/templates/calendar/app/components/calendar/EventDetailPopover.tsx +2 -1
  477. package/corpus/templates/calendar/app/components/calendar/EventDialog.tsx +1 -1
  478. package/corpus/templates/calendar/app/components/calendar/EventOptionControls.tsx +2 -1
  479. package/corpus/templates/calendar/app/components/calendar/FindTimePanel.tsx +2 -1
  480. package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +3 -3
  481. package/corpus/templates/calendar/app/components/calendar/GoogleSetupWizard.tsx +3 -5
  482. package/corpus/templates/calendar/app/components/calendar/GoogleSyncButton.tsx +1 -1
  483. package/corpus/templates/calendar/app/components/calendar/GuestNotificationDialog.tsx +1 -1
  484. package/corpus/templates/calendar/app/components/calendar/IntegrationsSidebar.tsx +2 -1
  485. package/corpus/templates/calendar/app/components/calendar/KeyboardShortcutsHelp.tsx +1 -1
  486. package/corpus/templates/calendar/app/components/calendar/PeopleSearchDialog.tsx +2 -1
  487. package/corpus/templates/calendar/app/components/calendar/WeekView.tsx +1 -1
  488. package/corpus/templates/calendar/app/components/calendar/WorkingLocationEditor.tsx +1 -1
  489. package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +3 -3
  490. package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +4 -6
  491. package/corpus/templates/calendar/app/hooks/use-apollo.ts +1 -1
  492. package/corpus/templates/calendar/app/hooks/use-attendee-timezones.ts +4 -1
  493. package/corpus/templates/calendar/app/hooks/use-availability.ts +4 -1
  494. package/corpus/templates/calendar/app/hooks/use-booking-links.ts +4 -1
  495. package/corpus/templates/calendar/app/hooks/use-bookings.ts +1 -1
  496. package/corpus/templates/calendar/app/hooks/use-db-status.ts +1 -1
  497. package/corpus/templates/calendar/app/hooks/use-events.ts +1 -1
  498. package/corpus/templates/calendar/app/hooks/use-external-calendars.ts +1 -1
  499. package/corpus/templates/calendar/app/hooks/use-google-auth.ts +2 -2
  500. package/corpus/templates/calendar/app/hooks/use-integrations.ts +1 -1
  501. package/corpus/templates/calendar/app/hooks/use-navigation-state.ts +3 -2
  502. package/corpus/templates/calendar/app/hooks/use-overlay-people.ts +1 -1
  503. package/corpus/templates/calendar/app/hooks/use-people.ts +1 -1
  504. package/corpus/templates/calendar/app/hooks/use-settings.ts +4 -1
  505. package/corpus/templates/calendar/app/hooks/use-view-preferences.ts +2 -1
  506. package/corpus/templates/calendar/app/hooks/use-zoom-auth.ts +2 -1
  507. package/corpus/templates/calendar/app/i18n/index.ts +1 -1
  508. package/corpus/templates/calendar/app/i18n-data.ts +1 -1
  509. package/corpus/templates/calendar/app/lib/api-path.ts +1 -1
  510. package/corpus/templates/calendar/app/lib/utils.ts +1 -1
  511. package/corpus/templates/calendar/app/pages/AvailabilitySettings.tsx +1 -1
  512. package/corpus/templates/calendar/app/pages/BookingLinksPage.tsx +3 -1
  513. package/corpus/templates/calendar/app/pages/BookingPage.tsx +2 -3
  514. package/corpus/templates/calendar/app/pages/BookingsList.tsx +1 -1
  515. package/corpus/templates/calendar/app/pages/CalendarView.tsx +3 -5
  516. package/corpus/templates/calendar/app/pages/ManageBookingPage.tsx +1 -1
  517. package/corpus/templates/calendar/app/pages/NotFound.tsx +1 -1
  518. package/corpus/templates/calendar/app/pages/Settings.tsx +9 -8
  519. package/corpus/templates/calendar/app/root.tsx +15 -9
  520. package/corpus/templates/calendar/app/routes/_app.agent.tsx +2 -1
  521. package/corpus/templates/calendar/app/routes/_app.settings.tsx +1 -1
  522. package/corpus/templates/calendar/app/routes/event.tsx +3 -3
  523. package/corpus/templates/chat/.agents/skills/actions/SKILL.md +3 -3
  524. package/corpus/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
  525. package/corpus/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  526. package/corpus/templates/chat/.agents/skills/feature-flags/SKILL.md +1 -1
  527. package/corpus/templates/chat/.agents/skills/real-time-sync/SKILL.md +4 -4
  528. package/corpus/templates/chat/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  529. package/corpus/templates/chat/app/components/layout/Header.tsx +2 -1
  530. package/corpus/templates/chat/app/components/layout/Layout.tsx +2 -2
  531. package/corpus/templates/chat/app/components/layout/Sidebar.tsx +4 -4
  532. package/corpus/templates/chat/app/hooks/use-navigation-state.ts +3 -4
  533. package/corpus/templates/chat/app/i18n/index.ts +1 -1
  534. package/corpus/templates/chat/app/i18n-data.ts +1 -1
  535. package/corpus/templates/chat/app/lib/utils.ts +1 -1
  536. package/corpus/templates/chat/app/root.tsx +10 -9
  537. package/corpus/templates/chat/app/routes/_index.tsx +2 -2
  538. package/corpus/templates/chat/app/routes/agent.tsx +10 -3
  539. package/corpus/templates/chat/app/routes/database.tsx +1 -1
  540. package/corpus/templates/chat/app/routes/observability.tsx +2 -1
  541. package/corpus/templates/chat/app/routes/settings.tsx +4 -5
  542. package/corpus/templates/clips/.agents/skills/actions/SKILL.md +3 -3
  543. package/corpus/templates/clips/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  544. package/corpus/templates/clips/.agents/skills/feature-flags/SKILL.md +1 -1
  545. package/corpus/templates/clips/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  546. package/corpus/templates/clips/app/components/capture-install-options.tsx +2 -1
  547. package/corpus/templates/clips/app/components/dictate/vocabulary-section.tsx +2 -2
  548. package/corpus/templates/clips/app/components/editable-recording-title.tsx +2 -1
  549. package/corpus/templates/clips/app/components/editor/chapters-editor.tsx +2 -1
  550. package/corpus/templates/clips/app/components/editor/editor-layout.tsx +4 -14
  551. package/corpus/templates/clips/app/components/editor/editor-toolbar.tsx +2 -1
  552. package/corpus/templates/clips/app/components/editor/split-button.tsx +2 -1
  553. package/corpus/templates/clips/app/components/editor/stitch-manager.tsx +3 -3
  554. package/corpus/templates/clips/app/components/editor/thumbnail-picker.tsx +2 -1
  555. package/corpus/templates/clips/app/components/editor/transcript-editor.tsx +1 -1
  556. package/corpus/templates/clips/app/components/layout/Header.tsx +2 -1
  557. package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +1 -1
  558. package/corpus/templates/clips/app/components/library/create-folder-dialog.tsx +1 -1
  559. package/corpus/templates/clips/app/components/library/create-space-dialog.tsx +1 -1
  560. package/corpus/templates/clips/app/components/library/empty-state.tsx +1 -1
  561. package/corpus/templates/clips/app/components/library/folder-tree.tsx +1 -1
  562. package/corpus/templates/clips/app/components/library/library-grid.tsx +2 -2
  563. package/corpus/templates/clips/app/components/library/library-layout.tsx +6 -6
  564. package/corpus/templates/clips/app/components/library/organization-switcher.tsx +1 -1
  565. package/corpus/templates/clips/app/components/library/recording-card.tsx +1 -1
  566. package/corpus/templates/clips/app/components/library/search-bar.tsx +1 -1
  567. package/corpus/templates/clips/app/components/meetings/auto-record-prompt.tsx +1 -17
  568. package/corpus/templates/clips/app/components/meetings/canvas-editor.tsx +1 -1
  569. package/corpus/templates/clips/app/components/meetings/meeting-card.tsx +1 -1
  570. package/corpus/templates/clips/app/components/meetings/quick-ask-sidebar.tsx +2 -20
  571. package/corpus/templates/clips/app/components/meetings/share-meeting-dialog.tsx +3 -1
  572. package/corpus/templates/clips/app/components/meetings/transcript-bubbles.tsx +1 -1
  573. package/corpus/templates/clips/app/components/player/access-password-prompt.tsx +1 -1
  574. package/corpus/templates/clips/app/components/player/captions-overlay.tsx +1 -1
  575. package/corpus/templates/clips/app/components/player/comments-panel.tsx +2 -1
  576. package/corpus/templates/clips/app/components/player/delete-recording-menu.tsx +2 -1
  577. package/corpus/templates/clips/app/components/player/insights-panel.tsx +2 -1
  578. package/corpus/templates/clips/app/components/player/player-controls.tsx +1 -1
  579. package/corpus/templates/clips/app/components/player/settings-panel.tsx +2 -2
  580. package/corpus/templates/clips/app/components/player/share-dialog.tsx +3 -3
  581. package/corpus/templates/clips/app/components/player/sign-in-prompt-dialog.tsx +1 -1
  582. package/corpus/templates/clips/app/components/player/timestamped-comment-button.tsx +2 -1
  583. package/corpus/templates/clips/app/components/player/transcript-panel.tsx +3 -6
  584. package/corpus/templates/clips/app/components/player/video-player.tsx +3 -5
  585. package/corpus/templates/clips/app/components/recorder/camera-visualizer.tsx +1 -1
  586. package/corpus/templates/clips/app/components/recorder/countdown-overlay.tsx +1 -1
  587. package/corpus/templates/clips/app/components/recorder/microphone-visualizer.tsx +1 -1
  588. package/corpus/templates/clips/app/components/recorder/pre-record-panel.tsx +2 -1
  589. package/corpus/templates/clips/app/components/recorder/recorder-engine.ts +3 -13
  590. package/corpus/templates/clips/app/components/recorder/recording-toolbar.tsx +1 -1
  591. package/corpus/templates/clips/app/components/recorder/storage-setup-card.tsx +3 -6
  592. package/corpus/templates/clips/app/components/sharing/share-ui.tsx +2 -2
  593. package/corpus/templates/clips/app/components/sharing/viewed-by-popover.tsx +2 -1
  594. package/corpus/templates/clips/app/components/workspace/branding-editor.tsx +3 -5
  595. package/corpus/templates/clips/app/components/workspace/engagement-chart.tsx +1 -1
  596. package/corpus/templates/clips/app/components/workspace/insights-hub.tsx +3 -1
  597. package/corpus/templates/clips/app/components/workspace/invite-dialog.tsx +2 -1
  598. package/corpus/templates/clips/app/components/workspace/members-list.tsx +2 -1
  599. package/corpus/templates/clips/app/components/workspace/notifications-list.tsx +1 -1
  600. package/corpus/templates/clips/app/components/workspace/top-creators-table.tsx +1 -1
  601. package/corpus/templates/clips/app/entry.client.tsx +2 -4
  602. package/corpus/templates/clips/app/hooks/use-auto-title.ts +3 -17
  603. package/corpus/templates/clips/app/hooks/use-library.ts +4 -1
  604. package/corpus/templates/clips/app/hooks/use-navigation-state.ts +2 -1
  605. package/corpus/templates/clips/app/hooks/use-video-storage-status.ts +1 -1
  606. package/corpus/templates/clips/app/hooks/use-view-tracking.ts +1 -1
  607. package/corpus/templates/clips/app/i18n/index.ts +5 -5
  608. package/corpus/templates/clips/app/lib/camera-blur.ts +1 -1
  609. package/corpus/templates/clips/app/lib/capture-install-options.ts +1 -1
  610. package/corpus/templates/clips/app/lib/thumbnail-capture.ts +1 -1
  611. package/corpus/templates/clips/app/lib/utils.ts +1 -1
  612. package/corpus/templates/clips/app/root.tsx +13 -9
  613. package/corpus/templates/clips/app/routes/_app.agent.tsx +2 -1
  614. package/corpus/templates/clips/app/routes/_app.archive.tsx +1 -1
  615. package/corpus/templates/clips/app/routes/_app.dictate.tsx +2 -2
  616. package/corpus/templates/clips/app/routes/_app.extensions.$id.tsx +1 -1
  617. package/corpus/templates/clips/app/routes/_app.extensions._index.tsx +1 -1
  618. package/corpus/templates/clips/app/routes/_app.library._index.tsx +1 -1
  619. package/corpus/templates/clips/app/routes/_app.library.folder.$folderId.tsx +1 -1
  620. package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +2 -2
  621. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +3 -5
  622. package/corpus/templates/clips/app/routes/_app.notifications.tsx +2 -2
  623. package/corpus/templates/clips/app/routes/_app.settings._index.tsx +7 -7
  624. package/corpus/templates/clips/app/routes/_app.settings.organization.tsx +2 -1
  625. package/corpus/templates/clips/app/routes/_app.shared.tsx +1 -1
  626. package/corpus/templates/clips/app/routes/_app.spaces.$spaceId.folder.$folderId.tsx +1 -1
  627. package/corpus/templates/clips/app/routes/_app.spaces.$spaceId.tsx +1 -1
  628. package/corpus/templates/clips/app/routes/_app.spaces._index.tsx +1 -1
  629. package/corpus/templates/clips/app/routes/_app.trash.tsx +2 -1
  630. package/corpus/templates/clips/app/routes/_index.tsx +1 -1
  631. package/corpus/templates/clips/app/routes/bug-report.done.tsx +2 -1
  632. package/corpus/templates/clips/app/routes/bug-report.tsx +2 -1
  633. package/corpus/templates/clips/app/routes/download.tsx +2 -1
  634. package/corpus/templates/clips/app/routes/embed.$shareId.tsx +2 -1
  635. package/corpus/templates/clips/app/routes/invite.$token.tsx +2 -1
  636. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +4 -5
  637. package/corpus/templates/clips/app/routes/record.tsx +4 -4
  638. package/corpus/templates/clips/app/routes/share.$shareId.tsx +5 -6
  639. package/corpus/templates/clips/app/routes/share.meeting.$meetingId.tsx +3 -1
  640. package/corpus/templates/content/.agents/skills/actions/SKILL.md +3 -3
  641. package/corpus/templates/content/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  642. package/corpus/templates/content/.agents/skills/feature-flags/SKILL.md +1 -1
  643. package/corpus/templates/content/.agents/skills/real-time-sync/SKILL.md +4 -4
  644. package/corpus/templates/content/.agents/skills/storing-data/SKILL.md +1 -1
  645. package/corpus/templates/content/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  646. package/corpus/templates/content/app/blocks/SourceComponentBlock.tsx +1 -1
  647. package/corpus/templates/content/app/blocks/contentBlockRegistry.tsx +1 -1
  648. package/corpus/templates/content/app/components/EmptyState.tsx +1 -1
  649. package/corpus/templates/content/app/components/QueryErrorState.tsx +1 -1
  650. package/corpus/templates/content/app/components/ThemeToggle.tsx +1 -1
  651. package/corpus/templates/content/app/components/editor/BubbleToolbar.tsx +1 -1
  652. package/corpus/templates/content/app/components/editor/CommentsSidebar.tsx +3 -1
  653. package/corpus/templates/content/app/components/editor/ContentReferencePreview.tsx +1 -1
  654. package/corpus/templates/content/app/components/editor/DocumentBlockFields.tsx +1 -1
  655. package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +7 -5
  656. package/corpus/templates/content/app/components/editor/DocumentProperties.tsx +3 -6
  657. package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +7 -9
  658. package/corpus/templates/content/app/components/editor/EmojiPicker.tsx +1 -1
  659. package/corpus/templates/content/app/components/editor/LinkHoverPreview.tsx +1 -1
  660. package/corpus/templates/content/app/components/editor/NotionConflictBanner.tsx +1 -1
  661. package/corpus/templates/content/app/components/editor/NotionSyncBar.tsx +1 -1
  662. package/corpus/templates/content/app/components/editor/SlashCommandMenu.tsx +2 -1
  663. package/corpus/templates/content/app/components/editor/TableHoverControls.tsx +1 -1
  664. package/corpus/templates/content/app/components/editor/VersionHistoryPanel.tsx +2 -1
  665. package/corpus/templates/content/app/components/editor/VisualEditor.tsx +6 -4
  666. package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +5 -6
  667. package/corpus/templates/content/app/components/editor/database/FormView.tsx +1 -1
  668. package/corpus/templates/content/app/components/editor/database/settings.tsx +2 -2
  669. package/corpus/templates/content/app/components/editor/database-sources/BuilderSourceReviewDialog.tsx +1 -1
  670. package/corpus/templates/content/app/components/editor/extensions/AudioBlock.tsx +2 -1
  671. package/corpus/templates/content/app/components/editor/extensions/CodeBlockNode.tsx +1 -1
  672. package/corpus/templates/content/app/components/editor/extensions/ImageBlock.tsx +2 -1
  673. package/corpus/templates/content/app/components/editor/extensions/LocalMdxComponentNode.tsx +1 -1
  674. package/corpus/templates/content/app/components/editor/extensions/VideoBlock.tsx +2 -1
  675. package/corpus/templates/content/app/components/editor/extensions/registryBlocks.ts +1 -1
  676. package/corpus/templates/content/app/components/editor/image-upload.ts +1 -1
  677. package/corpus/templates/content/app/components/editor/registrySlashItems.ts +1 -1
  678. package/corpus/templates/content/app/components/layout/Header.tsx +1 -1
  679. package/corpus/templates/content/app/components/layout/Layout.tsx +3 -1
  680. package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +9 -9
  681. package/corpus/templates/content/app/components/sidebar/DocumentTreeItem.tsx +1 -1
  682. package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +5 -1
  683. package/corpus/templates/content/app/entry.client.tsx +2 -4
  684. package/corpus/templates/content/app/hooks/use-comments.ts +4 -1
  685. package/corpus/templates/content/app/hooks/use-content-database.ts +4 -1
  686. package/corpus/templates/content/app/hooks/use-content-spaces.ts +4 -1
  687. package/corpus/templates/content/app/hooks/use-db-sync.ts +1 -1
  688. package/corpus/templates/content/app/hooks/use-document-properties.ts +4 -1
  689. package/corpus/templates/content/app/hooks/use-document-versions.ts +4 -1
  690. package/corpus/templates/content/app/hooks/use-documents.ts +4 -1
  691. package/corpus/templates/content/app/hooks/use-mention-members.ts +1 -1
  692. package/corpus/templates/content/app/hooks/use-navigation-state.ts +2 -1
  693. package/corpus/templates/content/app/hooks/use-notion.ts +2 -2
  694. package/corpus/templates/content/app/i18n/index.ts +1 -1
  695. package/corpus/templates/content/app/i18n-data.ts +1 -1
  696. package/corpus/templates/content/app/lib/local-control-resources.ts +1 -1
  697. package/corpus/templates/content/app/lib/utils.ts +1 -1
  698. package/corpus/templates/content/app/root.tsx +15 -9
  699. package/corpus/templates/content/app/routes/_app.agent.tsx +2 -1
  700. package/corpus/templates/content/app/routes/_app.local-files.tsx +2 -1
  701. package/corpus/templates/content/app/routes/_app.page.$id.tsx +1 -1
  702. package/corpus/templates/content/app/routes/_app.settings.tsx +4 -5
  703. package/corpus/templates/content/app/routes/p.$id.tsx +2 -1
  704. package/corpus/templates/design/.agents/skills/actions/SKILL.md +3 -3
  705. package/corpus/templates/design/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  706. package/corpus/templates/design/.agents/skills/feature-flags/SKILL.md +1 -1
  707. package/corpus/templates/design/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  708. package/corpus/templates/design/app/components/QueryErrorState.tsx +1 -1
  709. package/corpus/templates/design/app/components/ThemeToggle.tsx +1 -1
  710. package/corpus/templates/design/app/components/design/AutoLayoutSuggestionDialog.tsx +1 -1
  711. package/corpus/templates/design/app/components/design/BreakpointBar.tsx +1 -30
  712. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +4 -3
  713. package/corpus/templates/design/app/components/design/DesignExtensionsPanel.tsx +4 -4
  714. package/corpus/templates/design/app/components/design/DesignImportPanel.tsx +2 -5
  715. package/corpus/templates/design/app/components/design/DrawOverlay.tsx +1 -1
  716. package/corpus/templates/design/app/components/design/EditPanel.tsx +2 -2
  717. package/corpus/templates/design/app/components/design/FusionAppBanner.tsx +4 -1
  718. package/corpus/templates/design/app/components/design/KeyboardShortcutsPanel.tsx +1 -1
  719. package/corpus/templates/design/app/components/design/LayersPanel.tsx +1 -1
  720. package/corpus/templates/design/app/components/design/LocalhostWriteConsentDialog.tsx +1 -1
  721. package/corpus/templates/design/app/components/design/MotionDock.tsx +1 -19
  722. package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +2 -2
  723. package/corpus/templates/design/app/components/design/QuestionFlow.tsx +2 -2
  724. package/corpus/templates/design/app/components/design/ReadOnlyDesignBanner.tsx +1 -1
  725. package/corpus/templates/design/app/components/design/ReviewCommentsPanel.tsx +2 -2
  726. package/corpus/templates/design/app/components/design/ReviewPanel.tsx +1 -22
  727. package/corpus/templates/design/app/components/design/ReviewStatusControl.tsx +2 -2
  728. package/corpus/templates/design/app/components/design/StatesPanel.tsx +4 -14
  729. package/corpus/templates/design/app/components/design/TokensPanel.tsx +2 -17
  730. package/corpus/templates/design/app/components/design/TweaksPanel.tsx +1 -1
  731. package/corpus/templates/design/app/components/design/code-workbench/CodeWorkbench.tsx +1 -1
  732. package/corpus/templates/design/app/components/design/code-workbench/editor/BufferSync.tsx +1 -1
  733. package/corpus/templates/design/app/components/design/code-workbench/explorer/ExplorerView.tsx +1 -1
  734. package/corpus/templates/design/app/components/design/code-workbench/workspace/inline-provider.ts +1 -1
  735. package/corpus/templates/design/app/components/design/code-workbench/workspace/localhost-provider.ts +1 -1
  736. package/corpus/templates/design/app/components/design/design-canvas/annotation-snapshot.ts +1 -1
  737. package/corpus/templates/design/app/components/design/edit-panel/appearance-properties.tsx +1 -1
  738. package/corpus/templates/design/app/components/design/edit-panel/component-section.tsx +2 -2
  739. package/corpus/templates/design/app/components/design/edit-panel/effects-properties.tsx +1 -1
  740. package/corpus/templates/design/app/components/design/edit-panel/field-primitives.tsx +1 -1
  741. package/corpus/templates/design/app/components/design/edit-panel/fill-properties.tsx +1 -1
  742. package/corpus/templates/design/app/components/design/edit-panel/frame-presets-panel.tsx +1 -1
  743. package/corpus/templates/design/app/components/design/edit-panel/layout-properties.tsx +1 -1
  744. package/corpus/templates/design/app/components/design/edit-panel/position-layout-properties.tsx +1 -1
  745. package/corpus/templates/design/app/components/design/edit-panel/stroke-properties.tsx +1 -1
  746. package/corpus/templates/design/app/components/design/edit-panel/typography-properties.tsx +1 -1
  747. package/corpus/templates/design/app/components/design/inspector/BreakpointOverrideIndicator.tsx +1 -16
  748. package/corpus/templates/design/app/components/design/inspector/GlslShaderPanel.tsx +2 -34
  749. package/corpus/templates/design/app/components/design/inspector/ImageFillControls.tsx +2 -1
  750. package/corpus/templates/design/app/components/design/inspector/InteractionStatePanel.tsx +1 -25
  751. package/corpus/templates/design/app/components/design/inspector/MotionKeyframeDiamond.tsx +1 -30
  752. package/corpus/templates/design/app/components/design/inspector/ShaderFillsPanel.tsx +1 -1
  753. package/corpus/templates/design/app/components/design-system/ProductionDesignSystemShowcase.tsx +1 -1
  754. package/corpus/templates/design/app/components/editor/FigmaLinkComposerBubble.tsx +1 -1
  755. package/corpus/templates/design/app/components/editor/PromptDialog.tsx +3 -3
  756. package/corpus/templates/design/app/components/layout/Header.tsx +4 -4
  757. package/corpus/templates/design/app/components/layout/Layout.tsx +4 -5
  758. package/corpus/templates/design/app/components/layout/Sidebar.tsx +4 -6
  759. package/corpus/templates/design/app/components/visual-editor/CanvasCommentPins.tsx +1 -1
  760. package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +1 -1
  761. package/corpus/templates/design/app/components/visual-editor/NodeRewriteProposal.tsx +2 -2
  762. package/corpus/templates/design/app/components/visual-editor/ReviewCanvasPins.tsx +3 -4
  763. package/corpus/templates/design/app/components/visual-editor/SaveStatusIndicator.tsx +1 -1
  764. package/corpus/templates/design/app/hooks/use-agent-generating.ts +1 -1
  765. package/corpus/templates/design/app/hooks/use-design-system.ts +1 -1
  766. package/corpus/templates/design/app/hooks/use-design-systems.ts +1 -1
  767. package/corpus/templates/design/app/hooks/use-navigation-state.ts +2 -2
  768. package/corpus/templates/design/app/hooks/use-question-flow.ts +1 -1
  769. package/corpus/templates/design/app/i18n/index.ts +1 -1
  770. package/corpus/templates/design/app/i18n-data.ts +1 -1
  771. package/corpus/templates/design/app/i18n-keyboard-shortcuts.ts +1 -1
  772. package/corpus/templates/design/app/lib/agent-chat.ts +1 -1
  773. package/corpus/templates/design/app/lib/design-save-outbox.ts +1 -1
  774. package/corpus/templates/design/app/lib/desktop-design-preview.ts +1 -1
  775. package/corpus/templates/design/app/lib/figma-connection.ts +2 -1
  776. package/corpus/templates/design/app/lib/figma-svg-copy.ts +1 -1
  777. package/corpus/templates/design/app/lib/pending-generation.ts +1 -1
  778. package/corpus/templates/design/app/lib/utils.ts +1 -1
  779. package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +4 -6
  780. package/corpus/templates/design/app/pages/DesignSystems.tsx +4 -4
  781. package/corpus/templates/design/app/pages/Index.tsx +5 -5
  782. package/corpus/templates/design/app/pages/NotFound.tsx +3 -5
  783. package/corpus/templates/design/app/pages/Present.tsx +7 -6
  784. package/corpus/templates/design/app/pages/Templates.tsx +4 -4
  785. package/corpus/templates/design/app/pages/VisualEdit.tsx +3 -1
  786. package/corpus/templates/design/app/pages/design-editor/editor-session.ts +1 -1
  787. package/corpus/templates/design/app/pages/design-editor/generation-prompt-directives.ts +1 -1
  788. package/corpus/templates/design/app/root.tsx +10 -9
  789. package/corpus/templates/design/app/routes/agent.tsx +2 -1
  790. package/corpus/templates/design/app/routes/observability.tsx +1 -1
  791. package/corpus/templates/design/app/routes/settings.tsx +4 -5
  792. package/corpus/templates/dispatch/.agents/skills/actions/SKILL.md +3 -3
  793. package/corpus/templates/dispatch/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  794. package/corpus/templates/dispatch/.agents/skills/feature-flags/SKILL.md +1 -1
  795. package/corpus/templates/dispatch/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  796. package/corpus/templates/dispatch/app/hooks/use-navigation-state.ts +3 -4
  797. package/corpus/templates/dispatch/app/i18n/index.ts +1 -1
  798. package/corpus/templates/dispatch/app/i18n-data.ts +1 -1
  799. package/corpus/templates/dispatch/app/root.tsx +10 -9
  800. package/corpus/templates/dispatch/app/routes/agent.tsx +2 -1
  801. package/corpus/templates/dispatch/app/routes/integrations.tsx +3 -3
  802. package/corpus/templates/dispatch/app/routes/settings.tsx +4 -5
  803. package/corpus/templates/forms/.agents/skills/actions/SKILL.md +3 -3
  804. package/corpus/templates/forms/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  805. package/corpus/templates/forms/.agents/skills/feature-flags/SKILL.md +1 -1
  806. package/corpus/templates/forms/.agents/skills/real-time-sync/SKILL.md +4 -4
  807. package/corpus/templates/forms/.agents/skills/storing-data/SKILL.md +1 -1
  808. package/corpus/templates/forms/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  809. package/corpus/templates/forms/app/components/CloudUpgrade.tsx +1 -1
  810. package/corpus/templates/forms/app/components/ThemeToggle.tsx +1 -1
  811. package/corpus/templates/forms/app/components/builder/FieldPropertiesPanel.tsx +1 -1
  812. package/corpus/templates/forms/app/components/layout/Header.tsx +2 -1
  813. package/corpus/templates/forms/app/components/layout/Layout.tsx +2 -2
  814. package/corpus/templates/forms/app/components/layout/Sidebar.tsx +5 -5
  815. package/corpus/templates/forms/app/hooks/use-db-status.ts +1 -1
  816. package/corpus/templates/forms/app/hooks/use-forms.ts +2 -2
  817. package/corpus/templates/forms/app/hooks/use-navigation-state.ts +3 -3
  818. package/corpus/templates/forms/app/hooks/use-responses.ts +1 -1
  819. package/corpus/templates/forms/app/i18n/index.ts +1 -1
  820. package/corpus/templates/forms/app/lib/utils.ts +1 -1
  821. package/corpus/templates/forms/app/pages/AskPage.tsx +2 -2
  822. package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +5 -6
  823. package/corpus/templates/forms/app/pages/FormFillPage.tsx +2 -1
  824. package/corpus/templates/forms/app/pages/FormsListPage.tsx +3 -6
  825. package/corpus/templates/forms/app/pages/ResponseInsightsPage.tsx +1 -1
  826. package/corpus/templates/forms/app/pages/ResponsesPage.tsx +1 -1
  827. package/corpus/templates/forms/app/root.tsx +15 -12
  828. package/corpus/templates/forms/app/routes/_app.agent.tsx +2 -1
  829. package/corpus/templates/forms/app/routes/_app.settings.tsx +4 -5
  830. package/corpus/templates/forms/app/routes/_index.tsx +1 -1
  831. package/corpus/templates/forms/app/routes/form-preview.tsx +5 -1
  832. package/corpus/templates/macros/.agents/skills/feature-flags/SKILL.md +1 -1
  833. package/corpus/templates/macros/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  834. package/corpus/templates/macros/app/components/AddExerciseDialog.tsx +2 -1
  835. package/corpus/templates/macros/app/components/AddMealDialog.tsx +2 -1
  836. package/corpus/templates/macros/app/components/AddWeightDialog.tsx +2 -1
  837. package/corpus/templates/macros/app/components/DailyProgress.tsx +2 -1
  838. package/corpus/templates/macros/app/components/ExerciseCard.tsx +1 -1
  839. package/corpus/templates/macros/app/components/MealCard.tsx +1 -1
  840. package/corpus/templates/macros/app/components/QueryErrorState.tsx +1 -1
  841. package/corpus/templates/macros/app/components/VoiceDictation.tsx +2 -1
  842. package/corpus/templates/macros/app/components/WeeklyCaloriesChart.tsx +1 -1
  843. package/corpus/templates/macros/app/components/WeightCard.tsx +1 -1
  844. package/corpus/templates/macros/app/components/WeightTracker.tsx +2 -2
  845. package/corpus/templates/macros/app/components/layout/AppLayout.tsx +5 -8
  846. package/corpus/templates/macros/app/components/layout/Header.tsx +2 -1
  847. package/corpus/templates/macros/app/i18n/index.ts +1 -1
  848. package/corpus/templates/macros/app/lib/api.ts +1 -1
  849. package/corpus/templates/macros/app/lib/utils.ts +1 -1
  850. package/corpus/templates/macros/app/root.tsx +10 -9
  851. package/corpus/templates/macros/app/routes/_index.tsx +2 -2
  852. package/corpus/templates/macros/app/routes/agent.tsx +2 -1
  853. package/corpus/templates/macros/app/routes/analytics.tsx +2 -1
  854. package/corpus/templates/macros/app/routes/settings.tsx +4 -5
  855. package/corpus/templates/mail/.agents/skills/actions/SKILL.md +3 -3
  856. package/corpus/templates/mail/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  857. package/corpus/templates/mail/.agents/skills/feature-flags/SKILL.md +1 -1
  858. package/corpus/templates/mail/.agents/skills/real-time-sync/SKILL.md +4 -4
  859. package/corpus/templates/mail/.agents/skills/storing-data/SKILL.md +1 -1
  860. package/corpus/templates/mail/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  861. package/corpus/templates/mail/app/components/GoogleConnectBanner.tsx +3 -3
  862. package/corpus/templates/mail/app/components/ThemeToggle.tsx +1 -1
  863. package/corpus/templates/mail/app/components/agent-engine-picker.tsx +2 -1
  864. package/corpus/templates/mail/app/components/email/AttachmentStrip.tsx +1 -1
  865. package/corpus/templates/mail/app/components/email/CodeBlockLangPicker.tsx +1 -1
  866. package/corpus/templates/mail/app/components/email/ComposeBubbleToolbar.tsx +1 -1
  867. package/corpus/templates/mail/app/components/email/ComposeEditor.tsx +1 -1
  868. package/corpus/templates/mail/app/components/email/ComposeModal.tsx +2 -1
  869. package/corpus/templates/mail/app/components/email/ComposeSlashMenu.tsx +1 -1
  870. package/corpus/templates/mail/app/components/email/EmailList.tsx +1 -1
  871. package/corpus/templates/mail/app/components/email/EmailListItem.tsx +1 -1
  872. package/corpus/templates/mail/app/components/email/EmailThread.tsx +2 -1
  873. package/corpus/templates/mail/app/components/email/InlineReplyComposer.tsx +2 -1
  874. package/corpus/templates/mail/app/components/email/IntegrationsSidebar.tsx +2 -1
  875. package/corpus/templates/mail/app/components/email/MobileActionBar.tsx +1 -1
  876. package/corpus/templates/mail/app/components/email/RecipientInput.tsx +1 -1
  877. package/corpus/templates/mail/app/components/email/SendLaterButton.tsx +1 -1
  878. package/corpus/templates/mail/app/components/email/SnoozeModal.tsx +1 -1
  879. package/corpus/templates/mail/app/components/email/SnoozePopover.tsx +1 -1
  880. package/corpus/templates/mail/app/components/email/extensions/ComposeImageBlock.tsx +1 -1
  881. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +6 -6
  882. package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +2 -1
  883. package/corpus/templates/mail/app/components/layout/SearchBar.tsx +1 -1
  884. package/corpus/templates/mail/app/components/settings/GmailFiltersSection.tsx +1 -1
  885. package/corpus/templates/mail/app/components/settings/SnippetsSection.tsx +1 -1
  886. package/corpus/templates/mail/app/entry.client.tsx +1 -6
  887. package/corpus/templates/mail/app/hooks/use-aliases.ts +1 -1
  888. package/corpus/templates/mail/app/hooks/use-apollo.ts +1 -1
  889. package/corpus/templates/mail/app/hooks/use-automations.ts +1 -1
  890. package/corpus/templates/mail/app/hooks/use-compose-state.ts +2 -2
  891. package/corpus/templates/mail/app/hooks/use-draft-queue.ts +4 -1
  892. package/corpus/templates/mail/app/hooks/use-emails.ts +3 -1
  893. package/corpus/templates/mail/app/hooks/use-gmail-filters.ts +1 -1
  894. package/corpus/templates/mail/app/hooks/use-google-auth.ts +2 -1
  895. package/corpus/templates/mail/app/hooks/use-integrations.ts +2 -2
  896. package/corpus/templates/mail/app/hooks/use-navigation-state.ts +1 -1
  897. package/corpus/templates/mail/app/hooks/use-scheduled-jobs.ts +2 -2
  898. package/corpus/templates/mail/app/hooks/use-snippets.ts +1 -1
  899. package/corpus/templates/mail/app/i18n/index.ts +1 -1
  900. package/corpus/templates/mail/app/lib/agent-generate.ts +1 -1
  901. package/corpus/templates/mail/app/lib/gmail-mutation-queue.ts +1 -10
  902. package/corpus/templates/mail/app/lib/mcp-chat-bridge.ts +1 -1
  903. package/corpus/templates/mail/app/lib/thread-cache.ts +1 -1
  904. package/corpus/templates/mail/app/lib/upload.ts +1 -1
  905. package/corpus/templates/mail/app/lib/utils.ts +1 -1
  906. package/corpus/templates/mail/app/pages/DraftQueuePage.tsx +1 -1
  907. package/corpus/templates/mail/app/pages/InboxPage.tsx +1 -1
  908. package/corpus/templates/mail/app/pages/NotFound.tsx +1 -1
  909. package/corpus/templates/mail/app/pages/SettingsPage.tsx +9 -8
  910. package/corpus/templates/mail/app/root.tsx +11 -8
  911. package/corpus/templates/mail/app/routes/agent.tsx +2 -1
  912. package/corpus/templates/mail/app/routes/email.tsx +5 -1
  913. package/corpus/templates/plan/.agents/skills/actions/SKILL.md +3 -3
  914. package/corpus/templates/plan/.agents/skills/adding-a-feature/SKILL.md +1 -1
  915. package/corpus/templates/plan/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  916. package/corpus/templates/plan/.agents/skills/feature-flags/SKILL.md +1 -1
  917. package/corpus/templates/plan/.agents/skills/real-time-sync/SKILL.md +4 -4
  918. package/corpus/templates/plan/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  919. package/corpus/templates/plan/app/components/editor/PlanBlockNode.tsx +2 -2
  920. package/corpus/templates/plan/app/components/editor/PlanDocumentEditor.tsx +3 -3
  921. package/corpus/templates/plan/app/components/editor/planSlashCommands.ts +1 -1
  922. package/corpus/templates/plan/app/components/layout/Header.tsx +2 -1
  923. package/corpus/templates/plan/app/components/layout/Layout.tsx +2 -2
  924. package/corpus/templates/plan/app/components/layout/Sidebar.tsx +8 -9
  925. package/corpus/templates/plan/app/components/plan/CanvasArea.tsx +1 -1
  926. package/corpus/templates/plan/app/components/plan/DocumentArea.tsx +3 -5
  927. package/corpus/templates/plan/app/components/plan/GuestModeBanner.tsx +1 -1
  928. package/corpus/templates/plan/app/components/plan/LocalCodebasePicker.tsx +2 -1
  929. package/corpus/templates/plan/app/components/plan/PlanContentRenderer.tsx +7 -5
  930. package/corpus/templates/plan/app/components/plan/PlanImageNode.tsx +2 -1
  931. package/corpus/templates/plan/app/components/plan/PlanImageViewer.tsx +1 -1
  932. package/corpus/templates/plan/app/components/plan/PlanMarkdownEditor.tsx +3 -3
  933. package/corpus/templates/plan/app/components/plan/PlanMarkdownReader.tsx +1 -1
  934. package/corpus/templates/plan/app/components/plan/PlanTableOfContents.tsx +1 -1
  935. package/corpus/templates/plan/app/components/plan/PlanVisualSurface.tsx +1 -1
  936. package/corpus/templates/plan/app/components/plan/PrototypeViewer.tsx +1 -1
  937. package/corpus/templates/plan/app/components/plan/VisualAnswerInline.tsx +1 -1
  938. package/corpus/templates/plan/app/components/plan/planBlocks.tsx +3 -5
  939. package/corpus/templates/plan/app/components/plan/wireframe/LegacyRegionWireframe.tsx +1 -1
  940. package/corpus/templates/plan/app/components/plan/wireframe/Wireframe.tsx +1 -1
  941. package/corpus/templates/plan/app/hooks/use-navigation-state.ts +5 -3
  942. package/corpus/templates/plan/app/hooks/use-plan-presence.ts +2 -2
  943. package/corpus/templates/plan/app/hooks/use-plans.ts +4 -1
  944. package/corpus/templates/plan/app/i18n/ar-SA.ts +4 -0
  945. package/corpus/templates/plan/app/i18n/de-DE.ts +4 -0
  946. package/corpus/templates/plan/app/i18n/en-US.ts +4 -0
  947. package/corpus/templates/plan/app/i18n/es-ES.ts +4 -0
  948. package/corpus/templates/plan/app/i18n/fr-FR.ts +4 -0
  949. package/corpus/templates/plan/app/i18n/hi-IN.ts +4 -0
  950. package/corpus/templates/plan/app/i18n/index.ts +1 -1
  951. package/corpus/templates/plan/app/i18n/ja-JP.ts +4 -0
  952. package/corpus/templates/plan/app/i18n/ko-KR.ts +4 -0
  953. package/corpus/templates/plan/app/i18n/pt-BR.ts +4 -0
  954. package/corpus/templates/plan/app/i18n/zh-CN.ts +4 -0
  955. package/corpus/templates/plan/app/i18n/zh-TW.ts +4 -0
  956. package/corpus/templates/plan/app/lib/local-codebase-context.ts +1 -1
  957. package/corpus/templates/plan/app/lib/local-control-resources.ts +1 -1
  958. package/corpus/templates/plan/app/lib/plan-comment-editor-helpers.ts +1 -1
  959. package/corpus/templates/plan/app/lib/plan-local-bridge.ts +1 -1
  960. package/corpus/templates/plan/app/lib/register-chat-renderers.tsx +1 -1
  961. package/corpus/templates/plan/app/lib/utils.ts +1 -1
  962. package/corpus/templates/plan/app/pages/PlanChatPage.tsx +2 -2
  963. package/corpus/templates/plan/app/pages/PlansPage.tsx +13 -14
  964. package/corpus/templates/plan/app/root.tsx +11 -10
  965. package/corpus/templates/plan/app/routes/agent.tsx +2 -1
  966. package/corpus/templates/plan/app/routes/settings.tsx +4 -5
  967. package/corpus/templates/plan/shared/plan-doc.ts +2 -47
  968. package/corpus/templates/slides/.agents/skills/actions/SKILL.md +3 -3
  969. package/corpus/templates/slides/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  970. package/corpus/templates/slides/.agents/skills/feature-flags/SKILL.md +1 -1
  971. package/corpus/templates/slides/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  972. package/corpus/templates/slides/app/components/CloudUpgrade.tsx +1 -1
  973. package/corpus/templates/slides/app/components/ThemeToggle.tsx +1 -1
  974. package/corpus/templates/slides/app/components/comments/SlideCommentsPanel.tsx +1 -1
  975. package/corpus/templates/slides/app/components/deck/DeckCard.tsx +2 -1
  976. package/corpus/templates/slides/app/components/deck/SlideRenderer.tsx +1 -1
  977. package/corpus/templates/slides/app/components/design-system/DesignSystemCard.tsx +2 -1
  978. package/corpus/templates/slides/app/components/design-system/DesignSystemPreview.tsx +1 -1
  979. package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +5 -5
  980. package/corpus/templates/slides/app/components/editor/AnimationsPanel.tsx +1 -1
  981. package/corpus/templates/slides/app/components/editor/AssetLibraryPanel.tsx +2 -1
  982. package/corpus/templates/slides/app/components/editor/BlockBubbleMenu.tsx +1 -1
  983. package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +6 -6
  984. package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +6 -8
  985. package/corpus/templates/slides/app/components/editor/ExportMenu.tsx +2 -1
  986. package/corpus/templates/slides/app/components/editor/GenerateSlidesDialog.tsx +2 -1
  987. package/corpus/templates/slides/app/components/editor/GeneratingOverlay.tsx +1 -1
  988. package/corpus/templates/slides/app/components/editor/GoogleDocImportHint.tsx +3 -5
  989. package/corpus/templates/slides/app/components/editor/HistoryPanel.tsx +1 -1
  990. package/corpus/templates/slides/app/components/editor/ImageDropPromptPopover.tsx +3 -1
  991. package/corpus/templates/slides/app/components/editor/ImageGenPanel.tsx +1 -1
  992. package/corpus/templates/slides/app/components/editor/ImageOverlay.tsx +1 -1
  993. package/corpus/templates/slides/app/components/editor/ImageSearchPanel.tsx +2 -1
  994. package/corpus/templates/slides/app/components/editor/ImportButton.tsx +5 -1
  995. package/corpus/templates/slides/app/components/editor/LogoSearchPanel.tsx +2 -1
  996. package/corpus/templates/slides/app/components/editor/MermaidToExcalidrawPanel.tsx +1 -1
  997. package/corpus/templates/slides/app/components/editor/PromptDialog.tsx +3 -1
  998. package/corpus/templates/slides/app/components/editor/QuestionFlow.tsx +1 -1
  999. package/corpus/templates/slides/app/components/editor/ShareDialog.tsx +2 -1
  1000. package/corpus/templates/slides/app/components/editor/SlideBubbleMenu.tsx +1 -1
  1001. package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +12 -8
  1002. package/corpus/templates/slides/app/components/editor/SlideInlineEditor.tsx +2 -1
  1003. package/corpus/templates/slides/app/components/editor/SlideSlashMenu.tsx +1 -1
  1004. package/corpus/templates/slides/app/components/editor/SlideStyleInspector.tsx +1 -1
  1005. package/corpus/templates/slides/app/components/editor/SpeakerNotesPanel.tsx +1 -1
  1006. package/corpus/templates/slides/app/components/editor/TweaksPanel.tsx +1 -1
  1007. package/corpus/templates/slides/app/components/layout/AgentWorkIndicator.tsx +2 -1
  1008. package/corpus/templates/slides/app/components/layout/Header.tsx +2 -1
  1009. package/corpus/templates/slides/app/components/layout/Layout.tsx +2 -1
  1010. package/corpus/templates/slides/app/components/layout/Sidebar.tsx +4 -6
  1011. package/corpus/templates/slides/app/components/presentation/PresentationView.tsx +1 -1
  1012. package/corpus/templates/slides/app/components/visual-editor/CanvasCommentPins.tsx +2 -1
  1013. package/corpus/templates/slides/app/components/visual-editor/DrawOverlay.tsx +1 -1
  1014. package/corpus/templates/slides/app/components/visual-editor/MultiSelectChip.tsx +1 -1
  1015. package/corpus/templates/slides/app/components/visual-editor/SaveStatusIndicator.tsx +1 -1
  1016. package/corpus/templates/slides/app/context/DeckContext.tsx +5 -3
  1017. package/corpus/templates/slides/app/entry.client.tsx +2 -4
  1018. package/corpus/templates/slides/app/hooks/use-agent-generating.ts +1 -1
  1019. package/corpus/templates/slides/app/hooks/use-db-status.ts +1 -1
  1020. package/corpus/templates/slides/app/hooks/use-deck-design-system.ts +1 -1
  1021. package/corpus/templates/slides/app/hooks/use-deck-presence.ts +1 -1
  1022. package/corpus/templates/slides/app/hooks/use-deck-role.ts +1 -1
  1023. package/corpus/templates/slides/app/hooks/use-deck-versions.ts +4 -1
  1024. package/corpus/templates/slides/app/hooks/use-design-systems.ts +1 -1
  1025. package/corpus/templates/slides/app/hooks/use-navigation-state.ts +1 -1
  1026. package/corpus/templates/slides/app/hooks/use-slide-comments.ts +2 -2
  1027. package/corpus/templates/slides/app/i18n/index.ts +1 -1
  1028. package/corpus/templates/slides/app/lib/utils.ts +1 -1
  1029. package/corpus/templates/slides/app/pages/DeckEditor.tsx +5 -6
  1030. package/corpus/templates/slides/app/pages/DesignSystems.tsx +2 -1
  1031. package/corpus/templates/slides/app/pages/Index.tsx +4 -7
  1032. package/corpus/templates/slides/app/pages/NotFound.tsx +1 -1
  1033. package/corpus/templates/slides/app/pages/Presentation.tsx +1 -1
  1034. package/corpus/templates/slides/app/pages/SharedPresentation.tsx +2 -1
  1035. package/corpus/templates/slides/app/root.tsx +13 -11
  1036. package/corpus/templates/slides/app/routes/agent.tsx +2 -1
  1037. package/corpus/templates/slides/app/routes/settings.tsx +4 -5
  1038. package/corpus/templates/slides/app/routes/slide.tsx +3 -3
  1039. package/corpus/templates/tasks/.agents/skills/actions/SKILL.md +3 -3
  1040. package/corpus/templates/tasks/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1041. package/corpus/templates/tasks/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1042. package/corpus/templates/tasks/.agents/skills/feature-flags/SKILL.md +1 -1
  1043. package/corpus/templates/tasks/.agents/skills/real-time-sync/SKILL.md +4 -4
  1044. package/corpus/templates/tasks/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1045. package/corpus/templates/tasks/app/components/custom-fields/FieldsList.tsx +1 -1
  1046. package/corpus/templates/tasks/app/components/layout/Header.tsx +1 -1
  1047. package/corpus/templates/tasks/app/components/layout/Layout.tsx +4 -1
  1048. package/corpus/templates/tasks/app/components/layout/Sidebar.tsx +2 -1
  1049. package/corpus/templates/tasks/app/components/shared/ListViewHeader.tsx +1 -1
  1050. package/corpus/templates/tasks/app/components/tasks/TaskList.tsx +1 -1
  1051. package/corpus/templates/tasks/app/hooks/use-custom-fields.ts +4 -1
  1052. package/corpus/templates/tasks/app/hooks/use-inbox-items.ts +4 -1
  1053. package/corpus/templates/tasks/app/hooks/use-navigation-state.ts +2 -1
  1054. package/corpus/templates/tasks/app/hooks/use-tasks.ts +4 -1
  1055. package/corpus/templates/tasks/app/hooks/use-visible-task-fields.ts +4 -1
  1056. package/corpus/templates/tasks/app/lib/utils.ts +1 -1
  1057. package/corpus/templates/tasks/app/root.tsx +9 -7
  1058. package/dist/cli/doctor.d.ts +4 -1
  1059. package/dist/cli/doctor.d.ts.map +1 -1
  1060. package/dist/cli/doctor.js +57 -5
  1061. package/dist/cli/doctor.js.map +1 -1
  1062. package/dist/cli/migration-codemod.d.ts +21 -0
  1063. package/dist/cli/migration-codemod.d.ts.map +1 -0
  1064. package/dist/cli/migration-codemod.js +363 -0
  1065. package/dist/cli/migration-codemod.js.map +1 -0
  1066. package/dist/cli/upgrade.d.ts +7 -0
  1067. package/dist/cli/upgrade.d.ts.map +1 -1
  1068. package/dist/cli/upgrade.js +52 -7
  1069. package/dist/cli/upgrade.js.map +1 -1
  1070. package/dist/client/agent-chat/index.d.ts +40 -0
  1071. package/dist/client/agent-chat/index.d.ts.map +1 -0
  1072. package/dist/client/agent-chat/index.js +39 -0
  1073. package/dist/client/agent-chat/index.js.map +1 -0
  1074. package/dist/client/agent-page/AgentContextTab.d.ts.map +1 -1
  1075. package/dist/client/agent-page/AgentContextTab.js +3 -1
  1076. package/dist/client/agent-page/AgentContextTab.js.map +1 -1
  1077. package/dist/client/analytics/index.d.ts +3 -0
  1078. package/dist/client/analytics/index.d.ts.map +1 -0
  1079. package/dist/client/analytics/index.js +3 -0
  1080. package/dist/client/analytics/index.js.map +1 -0
  1081. package/dist/client/api-path.js +2 -2
  1082. package/dist/client/api-path.js.map +1 -1
  1083. package/dist/client/automation/index.d.ts +2 -0
  1084. package/dist/client/automation/index.d.ts.map +1 -0
  1085. package/dist/client/automation/index.js +2 -0
  1086. package/dist/client/automation/index.js.map +1 -0
  1087. package/dist/client/changelog/index.d.ts +2 -0
  1088. package/dist/client/changelog/index.d.ts.map +1 -0
  1089. package/dist/client/changelog/index.js +2 -0
  1090. package/dist/client/changelog/index.js.map +1 -0
  1091. package/dist/client/chat/widgets/InlineExtensionWidget.d.ts +1 -12
  1092. package/dist/client/chat/widgets/InlineExtensionWidget.d.ts.map +1 -1
  1093. package/dist/client/chat/widgets/InlineExtensionWidget.js +2 -66
  1094. package/dist/client/chat/widgets/InlineExtensionWidget.js.map +1 -1
  1095. package/dist/client/chat/widgets/builtin-tool-renderers.d.ts.map +1 -1
  1096. package/dist/client/chat/widgets/builtin-tool-renderers.js +21 -8
  1097. package/dist/client/chat/widgets/builtin-tool-renderers.js.map +1 -1
  1098. package/dist/client/chat/widgets/inline-extension-result.d.ts +14 -0
  1099. package/dist/client/chat/widgets/inline-extension-result.d.ts.map +1 -0
  1100. package/dist/client/chat/widgets/inline-extension-result.js +67 -0
  1101. package/dist/client/chat/widgets/inline-extension-result.js.map +1 -0
  1102. package/dist/client/client-bootstrap.d.ts +2 -0
  1103. package/dist/client/client-bootstrap.d.ts.map +1 -0
  1104. package/dist/client/client-bootstrap.js +7 -0
  1105. package/dist/client/client-bootstrap.js.map +1 -0
  1106. package/dist/client/context-xray/ContextXRayPanel.js +1 -1
  1107. package/dist/client/context-xray/ContextXRayPanel.js.map +1 -1
  1108. package/dist/client/hooks/index.d.ts +13 -0
  1109. package/dist/client/hooks/index.d.ts.map +1 -0
  1110. package/dist/client/hooks/index.js +13 -0
  1111. package/dist/client/hooks/index.js.map +1 -0
  1112. package/dist/client/host/index.d.ts +20 -0
  1113. package/dist/client/host/index.d.ts.map +1 -0
  1114. package/dist/client/host/index.js +18 -0
  1115. package/dist/client/host/index.js.map +1 -0
  1116. package/dist/client/index.d.ts +19 -100
  1117. package/dist/client/index.d.ts.map +1 -1
  1118. package/dist/client/index.js +19 -106
  1119. package/dist/client/index.js.map +1 -1
  1120. package/dist/client/navigation/index.d.ts +6 -0
  1121. package/dist/client/navigation/index.d.ts.map +1 -0
  1122. package/dist/client/navigation/index.js +6 -0
  1123. package/dist/client/navigation/index.js.map +1 -0
  1124. package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
  1125. package/dist/client/resources/ResourcesPanel.js +2 -1
  1126. package/dist/client/resources/ResourcesPanel.js.map +1 -1
  1127. package/dist/client/resources/index.d.ts +2 -1
  1128. package/dist/client/resources/index.d.ts.map +1 -1
  1129. package/dist/client/resources/index.js +1 -0
  1130. package/dist/client/resources/index.js.map +1 -1
  1131. package/dist/client/resources/use-resources.d.ts +0 -1
  1132. package/dist/client/resources/use-resources.d.ts.map +1 -1
  1133. package/dist/client/resources/use-resources.js +0 -17
  1134. package/dist/client/resources/use-resources.js.map +1 -1
  1135. package/dist/client/route-chunk-recovery/index.d.ts +2 -0
  1136. package/dist/client/route-chunk-recovery/index.d.ts.map +1 -0
  1137. package/dist/client/route-chunk-recovery/index.js +2 -0
  1138. package/dist/client/route-chunk-recovery/index.js.map +1 -0
  1139. package/dist/client/ui/index.d.ts +18 -0
  1140. package/dist/client/ui/index.d.ts.map +1 -0
  1141. package/dist/client/ui/index.js +18 -0
  1142. package/dist/client/ui/index.js.map +1 -0
  1143. package/dist/client/uploads/index.d.ts +2 -0
  1144. package/dist/client/uploads/index.d.ts.map +1 -0
  1145. package/dist/client/uploads/index.js +2 -0
  1146. package/dist/client/uploads/index.js.map +1 -0
  1147. package/dist/client/uploads/use-upload-resource.d.ts +3 -0
  1148. package/dist/client/uploads/use-upload-resource.d.ts.map +1 -0
  1149. package/dist/client/uploads/use-upload-resource.js +20 -0
  1150. package/dist/client/uploads/use-upload-resource.js.map +1 -0
  1151. package/dist/client/widgets/index.d.ts +3 -0
  1152. package/dist/client/widgets/index.d.ts.map +1 -0
  1153. package/dist/client/widgets/index.js +3 -0
  1154. package/dist/client/widgets/index.js.map +1 -0
  1155. package/dist/collab/awareness.d.ts +2 -2
  1156. package/dist/collab/awareness.d.ts.map +1 -1
  1157. package/dist/collab/routes.d.ts +1 -1
  1158. package/dist/collab/struct-routes.d.ts +1 -1
  1159. package/dist/localization/default-messages.d.ts +2 -1
  1160. package/dist/localization/default-messages.d.ts.map +1 -1
  1161. package/dist/localization/default-messages.js +2 -1
  1162. package/dist/localization/default-messages.js.map +1 -1
  1163. package/dist/notifications/routes.d.ts +3 -3
  1164. package/dist/observability/routes.d.ts +1 -1
  1165. package/dist/package-lifecycle/deprecated-imports.d.ts +15 -0
  1166. package/dist/package-lifecycle/deprecated-imports.d.ts.map +1 -0
  1167. package/dist/package-lifecycle/deprecated-imports.js +141 -0
  1168. package/dist/package-lifecycle/deprecated-imports.js.map +1 -0
  1169. package/dist/package-lifecycle/index.d.ts +5 -0
  1170. package/dist/package-lifecycle/index.d.ts.map +1 -1
  1171. package/dist/package-lifecycle/index.js +5 -0
  1172. package/dist/package-lifecycle/index.js.map +1 -1
  1173. package/dist/package-lifecycle/migration-manifest.d.ts +28 -0
  1174. package/dist/package-lifecycle/migration-manifest.d.ts.map +1 -0
  1175. package/dist/package-lifecycle/migration-manifest.js +102 -0
  1176. package/dist/package-lifecycle/migration-manifest.js.map +1 -0
  1177. package/dist/package-lifecycle/migration-message.d.ts +3 -0
  1178. package/dist/package-lifecycle/migration-message.d.ts.map +1 -0
  1179. package/dist/package-lifecycle/migration-message.js +5 -0
  1180. package/dist/package-lifecycle/migration-message.js.map +1 -0
  1181. package/dist/package-lifecycle/tombstone.d.ts +10 -0
  1182. package/dist/package-lifecycle/tombstone.d.ts.map +1 -0
  1183. package/dist/package-lifecycle/tombstone.js +23 -0
  1184. package/dist/package-lifecycle/tombstone.js.map +1 -0
  1185. package/dist/package-lifecycle/upgrade-error.d.ts +11 -0
  1186. package/dist/package-lifecycle/upgrade-error.d.ts.map +1 -0
  1187. package/dist/package-lifecycle/upgrade-error.js +11 -0
  1188. package/dist/package-lifecycle/upgrade-error.js.map +1 -0
  1189. package/dist/progress/routes.d.ts +1 -1
  1190. package/dist/resources/handlers.d.ts +1 -1
  1191. package/dist/secrets/routes.d.ts +9 -9
  1192. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  1193. package/dist/server/transcribe-voice.d.ts +1 -1
  1194. package/dist/templates/chat/.agents/skills/actions/SKILL.md +3 -3
  1195. package/dist/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1196. package/dist/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1197. package/dist/templates/chat/.agents/skills/feature-flags/SKILL.md +1 -1
  1198. package/dist/templates/chat/.agents/skills/real-time-sync/SKILL.md +4 -4
  1199. package/dist/templates/chat/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1200. package/dist/templates/chat/app/components/layout/Header.tsx +2 -1
  1201. package/dist/templates/chat/app/components/layout/Layout.tsx +2 -2
  1202. package/dist/templates/chat/app/components/layout/Sidebar.tsx +4 -4
  1203. package/dist/templates/chat/app/hooks/use-navigation-state.ts +3 -4
  1204. package/dist/templates/chat/app/i18n/index.ts +1 -1
  1205. package/dist/templates/chat/app/i18n-data.ts +1 -1
  1206. package/dist/templates/chat/app/lib/utils.ts +1 -1
  1207. package/dist/templates/chat/app/root.tsx +10 -9
  1208. package/dist/templates/chat/app/routes/_index.tsx +2 -2
  1209. package/dist/templates/chat/app/routes/agent.tsx +10 -3
  1210. package/dist/templates/chat/app/routes/database.tsx +1 -1
  1211. package/dist/templates/chat/app/routes/observability.tsx +2 -1
  1212. package/dist/templates/chat/app/routes/settings.tsx +4 -5
  1213. package/dist/templates/default/.agents/skills/actions/SKILL.md +3 -3
  1214. package/dist/templates/default/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1215. package/dist/templates/default/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1216. package/dist/templates/default/.agents/skills/feature-flags/SKILL.md +1 -1
  1217. package/dist/templates/default/.agents/skills/real-time-collab/SKILL.md +4 -4
  1218. package/dist/templates/default/.agents/skills/real-time-sync/SKILL.md +4 -4
  1219. package/dist/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
  1220. package/dist/templates/default/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1221. package/dist/templates/default/app/hooks/use-navigation-state.ts +2 -5
  1222. package/dist/templates/default/app/i18n/index.ts +1 -1
  1223. package/dist/templates/default/app/lib/utils.ts +1 -1
  1224. package/dist/templates/default/app/root.tsx +8 -6
  1225. package/dist/templates/default/app/routes/_index.tsx +2 -1
  1226. package/dist/templates/default/app/routes/agent.tsx +2 -1
  1227. package/dist/templates/default/app/routes/settings.tsx +2 -3
  1228. package/dist/templates/headless/.agents/skills/feature-flags/SKILL.md +1 -1
  1229. package/dist/templates/headless/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1230. package/dist/templates/workspace-core/.agents/skills/actions/SKILL.md +3 -3
  1231. package/dist/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1232. package/dist/templates/workspace-core/.agents/skills/authentication/SKILL.md +1 -1
  1233. package/dist/templates/workspace-core/.agents/skills/changelog/SKILL.md +1 -1
  1234. package/dist/templates/workspace-core/.agents/skills/client-methods/SKILL.md +10 -10
  1235. package/dist/templates/workspace-core/.agents/skills/context-awareness/SKILL.md +1 -1
  1236. package/dist/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1237. package/dist/templates/workspace-core/.agents/skills/feature-flags/SKILL.md +1 -1
  1238. package/dist/templates/workspace-core/.agents/skills/observability/SKILL.md +1 -1
  1239. package/dist/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +4 -4
  1240. package/dist/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +4 -4
  1241. package/dist/templates/workspace-core/.agents/skills/sharing/SKILL.md +1 -1
  1242. package/dist/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
  1243. package/dist/templates/workspace-core/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1244. package/dist/vite/action-types-plugin.d.ts.map +1 -1
  1245. package/dist/vite/action-types-plugin.js +4 -0
  1246. package/dist/vite/action-types-plugin.js.map +1 -1
  1247. package/dist/vite/client.d.ts.map +1 -1
  1248. package/dist/vite/client.js +35 -64
  1249. package/dist/vite/client.js.map +1 -1
  1250. package/docs/content/actions.mdx +2 -4
  1251. package/docs/content/agent-surfaces.mdx +2 -4
  1252. package/docs/content/audit-log.mdx +1 -2
  1253. package/docs/content/authentication.mdx +3 -2
  1254. package/docs/content/client.mdx +19 -18
  1255. package/docs/content/components.mdx +1 -1
  1256. package/docs/content/context-awareness.mdx +4 -7
  1257. package/docs/content/creating-templates.mdx +7 -5
  1258. package/docs/content/doctor.mdx +27 -6
  1259. package/docs/content/drop-in-agent.mdx +6 -11
  1260. package/docs/content/embedding-sdk.mdx +8 -10
  1261. package/docs/content/getting-started.mdx +4 -2
  1262. package/docs/content/internationalization.mdx +9 -6
  1263. package/docs/content/key-concepts.mdx +2 -4
  1264. package/docs/content/locales/ar-SA/actions.mdx +2 -4
  1265. package/docs/content/locales/ar-SA/agent-surfaces.mdx +2 -4
  1266. package/docs/content/locales/ar-SA/audit-log.mdx +1 -2
  1267. package/docs/content/locales/ar-SA/authentication.mdx +3 -2
  1268. package/docs/content/locales/ar-SA/client.mdx +19 -18
  1269. package/docs/content/locales/ar-SA/components.mdx +1 -1
  1270. package/docs/content/locales/ar-SA/context-awareness.mdx +4 -7
  1271. package/docs/content/locales/ar-SA/creating-templates.mdx +7 -5
  1272. package/docs/content/locales/ar-SA/doctor.mdx +10 -0
  1273. package/docs/content/locales/ar-SA/drop-in-agent.mdx +6 -11
  1274. package/docs/content/locales/ar-SA/embedding-sdk.mdx +8 -10
  1275. package/docs/content/locales/ar-SA/internationalization.mdx +9 -6
  1276. package/docs/content/locales/ar-SA/key-concepts.mdx +2 -4
  1277. package/docs/content/locales/ar-SA/observability.mdx +1 -2
  1278. package/docs/content/locales/ar-SA/package-lifecycle.mdx +6 -0
  1279. package/docs/content/locales/ar-SA/real-time-collaboration.mdx +4 -7
  1280. package/docs/content/locales/ar-SA/sharing.mdx +1 -2
  1281. package/docs/content/locales/ar-SA/template-chat.mdx +1 -2
  1282. package/docs/content/locales/ar-SA/tracking.mdx +2 -4
  1283. package/docs/content/locales/ar-SA/what-is-agent-native.mdx +1 -2
  1284. package/docs/content/locales/de-DE/actions.mdx +2 -4
  1285. package/docs/content/locales/de-DE/agent-surfaces.mdx +2 -4
  1286. package/docs/content/locales/de-DE/audit-log.mdx +1 -2
  1287. package/docs/content/locales/de-DE/authentication.mdx +3 -2
  1288. package/docs/content/locales/de-DE/client.mdx +19 -18
  1289. package/docs/content/locales/de-DE/components.mdx +1 -1
  1290. package/docs/content/locales/de-DE/context-awareness.mdx +4 -7
  1291. package/docs/content/locales/de-DE/creating-templates.mdx +7 -5
  1292. package/docs/content/locales/de-DE/doctor.mdx +10 -0
  1293. package/docs/content/locales/de-DE/drop-in-agent.mdx +6 -11
  1294. package/docs/content/locales/de-DE/embedding-sdk.mdx +8 -10
  1295. package/docs/content/locales/de-DE/internationalization.mdx +9 -6
  1296. package/docs/content/locales/de-DE/key-concepts.mdx +2 -4
  1297. package/docs/content/locales/de-DE/observability.mdx +1 -2
  1298. package/docs/content/locales/de-DE/package-lifecycle.mdx +6 -0
  1299. package/docs/content/locales/de-DE/real-time-collaboration.mdx +4 -7
  1300. package/docs/content/locales/de-DE/sharing.mdx +1 -2
  1301. package/docs/content/locales/de-DE/template-chat.mdx +1 -2
  1302. package/docs/content/locales/de-DE/tracking.mdx +2 -4
  1303. package/docs/content/locales/de-DE/what-is-agent-native.mdx +1 -2
  1304. package/docs/content/locales/es-ES/actions.mdx +2 -4
  1305. package/docs/content/locales/es-ES/agent-surfaces.mdx +2 -4
  1306. package/docs/content/locales/es-ES/audit-log.mdx +1 -2
  1307. package/docs/content/locales/es-ES/authentication.mdx +3 -2
  1308. package/docs/content/locales/es-ES/client.mdx +19 -18
  1309. package/docs/content/locales/es-ES/components.mdx +1 -1
  1310. package/docs/content/locales/es-ES/context-awareness.mdx +4 -7
  1311. package/docs/content/locales/es-ES/creating-templates.mdx +7 -5
  1312. package/docs/content/locales/es-ES/doctor.mdx +10 -0
  1313. package/docs/content/locales/es-ES/drop-in-agent.mdx +6 -11
  1314. package/docs/content/locales/es-ES/embedding-sdk.mdx +8 -10
  1315. package/docs/content/locales/es-ES/internationalization.mdx +9 -6
  1316. package/docs/content/locales/es-ES/key-concepts.mdx +2 -4
  1317. package/docs/content/locales/es-ES/observability.mdx +1 -2
  1318. package/docs/content/locales/es-ES/package-lifecycle.mdx +6 -0
  1319. package/docs/content/locales/es-ES/real-time-collaboration.mdx +4 -7
  1320. package/docs/content/locales/es-ES/sharing.mdx +1 -2
  1321. package/docs/content/locales/es-ES/template-chat.mdx +1 -2
  1322. package/docs/content/locales/es-ES/tracking.mdx +2 -4
  1323. package/docs/content/locales/es-ES/what-is-agent-native.mdx +1 -2
  1324. package/docs/content/locales/fr-FR/actions.mdx +2 -4
  1325. package/docs/content/locales/fr-FR/agent-surfaces.mdx +2 -4
  1326. package/docs/content/locales/fr-FR/audit-log.mdx +1 -2
  1327. package/docs/content/locales/fr-FR/authentication.mdx +3 -2
  1328. package/docs/content/locales/fr-FR/client.mdx +19 -18
  1329. package/docs/content/locales/fr-FR/components.mdx +1 -1
  1330. package/docs/content/locales/fr-FR/context-awareness.mdx +4 -7
  1331. package/docs/content/locales/fr-FR/creating-templates.mdx +7 -5
  1332. package/docs/content/locales/fr-FR/doctor.mdx +10 -0
  1333. package/docs/content/locales/fr-FR/drop-in-agent.mdx +6 -11
  1334. package/docs/content/locales/fr-FR/embedding-sdk.mdx +8 -10
  1335. package/docs/content/locales/fr-FR/internationalization.mdx +9 -6
  1336. package/docs/content/locales/fr-FR/key-concepts.mdx +2 -4
  1337. package/docs/content/locales/fr-FR/observability.mdx +1 -2
  1338. package/docs/content/locales/fr-FR/package-lifecycle.mdx +6 -0
  1339. package/docs/content/locales/fr-FR/real-time-collaboration.mdx +4 -7
  1340. package/docs/content/locales/fr-FR/sharing.mdx +1 -2
  1341. package/docs/content/locales/fr-FR/template-chat.mdx +1 -2
  1342. package/docs/content/locales/fr-FR/tracking.mdx +2 -4
  1343. package/docs/content/locales/fr-FR/what-is-agent-native.mdx +1 -2
  1344. package/docs/content/locales/hi-IN/actions.mdx +2 -4
  1345. package/docs/content/locales/hi-IN/agent-surfaces.mdx +2 -4
  1346. package/docs/content/locales/hi-IN/audit-log.mdx +1 -2
  1347. package/docs/content/locales/hi-IN/authentication.mdx +3 -2
  1348. package/docs/content/locales/hi-IN/client.mdx +19 -18
  1349. package/docs/content/locales/hi-IN/components.mdx +1 -1
  1350. package/docs/content/locales/hi-IN/context-awareness.mdx +4 -7
  1351. package/docs/content/locales/hi-IN/creating-templates.mdx +7 -5
  1352. package/docs/content/locales/hi-IN/doctor.mdx +10 -0
  1353. package/docs/content/locales/hi-IN/drop-in-agent.mdx +6 -11
  1354. package/docs/content/locales/hi-IN/embedding-sdk.mdx +8 -10
  1355. package/docs/content/locales/hi-IN/internationalization.mdx +9 -6
  1356. package/docs/content/locales/hi-IN/key-concepts.mdx +2 -4
  1357. package/docs/content/locales/hi-IN/observability.mdx +1 -2
  1358. package/docs/content/locales/hi-IN/package-lifecycle.mdx +6 -0
  1359. package/docs/content/locales/hi-IN/real-time-collaboration.mdx +4 -7
  1360. package/docs/content/locales/hi-IN/sharing.mdx +1 -2
  1361. package/docs/content/locales/hi-IN/template-chat.mdx +1 -2
  1362. package/docs/content/locales/hi-IN/tracking.mdx +2 -4
  1363. package/docs/content/locales/hi-IN/what-is-agent-native.mdx +1 -2
  1364. package/docs/content/locales/ja-JP/actions.mdx +2 -4
  1365. package/docs/content/locales/ja-JP/agent-surfaces.mdx +2 -4
  1366. package/docs/content/locales/ja-JP/audit-log.mdx +1 -2
  1367. package/docs/content/locales/ja-JP/authentication.mdx +3 -2
  1368. package/docs/content/locales/ja-JP/client.mdx +19 -18
  1369. package/docs/content/locales/ja-JP/components.mdx +1 -1
  1370. package/docs/content/locales/ja-JP/context-awareness.mdx +4 -7
  1371. package/docs/content/locales/ja-JP/creating-templates.mdx +7 -5
  1372. package/docs/content/locales/ja-JP/doctor.mdx +10 -0
  1373. package/docs/content/locales/ja-JP/drop-in-agent.mdx +6 -11
  1374. package/docs/content/locales/ja-JP/embedding-sdk.mdx +8 -10
  1375. package/docs/content/locales/ja-JP/internationalization.mdx +9 -6
  1376. package/docs/content/locales/ja-JP/key-concepts.mdx +2 -4
  1377. package/docs/content/locales/ja-JP/observability.mdx +1 -2
  1378. package/docs/content/locales/ja-JP/package-lifecycle.mdx +6 -0
  1379. package/docs/content/locales/ja-JP/real-time-collaboration.mdx +4 -7
  1380. package/docs/content/locales/ja-JP/sharing.mdx +1 -2
  1381. package/docs/content/locales/ja-JP/template-chat.mdx +1 -2
  1382. package/docs/content/locales/ja-JP/tracking.mdx +2 -4
  1383. package/docs/content/locales/ja-JP/what-is-agent-native.mdx +1 -2
  1384. package/docs/content/locales/ko-KR/actions.mdx +2 -4
  1385. package/docs/content/locales/ko-KR/agent-surfaces.mdx +2 -4
  1386. package/docs/content/locales/ko-KR/audit-log.mdx +1 -2
  1387. package/docs/content/locales/ko-KR/authentication.mdx +3 -2
  1388. package/docs/content/locales/ko-KR/client.mdx +19 -18
  1389. package/docs/content/locales/ko-KR/components.mdx +1 -1
  1390. package/docs/content/locales/ko-KR/context-awareness.mdx +4 -7
  1391. package/docs/content/locales/ko-KR/creating-templates.mdx +7 -5
  1392. package/docs/content/locales/ko-KR/doctor.mdx +10 -0
  1393. package/docs/content/locales/ko-KR/drop-in-agent.mdx +6 -11
  1394. package/docs/content/locales/ko-KR/embedding-sdk.mdx +8 -10
  1395. package/docs/content/locales/ko-KR/internationalization.mdx +9 -6
  1396. package/docs/content/locales/ko-KR/key-concepts.mdx +2 -4
  1397. package/docs/content/locales/ko-KR/observability.mdx +1 -2
  1398. package/docs/content/locales/ko-KR/package-lifecycle.mdx +6 -0
  1399. package/docs/content/locales/ko-KR/real-time-collaboration.mdx +4 -7
  1400. package/docs/content/locales/ko-KR/sharing.mdx +1 -2
  1401. package/docs/content/locales/ko-KR/template-chat.mdx +1 -2
  1402. package/docs/content/locales/ko-KR/tracking.mdx +2 -4
  1403. package/docs/content/locales/ko-KR/what-is-agent-native.mdx +1 -2
  1404. package/docs/content/locales/pt-BR/actions.mdx +2 -4
  1405. package/docs/content/locales/pt-BR/agent-surfaces.mdx +2 -4
  1406. package/docs/content/locales/pt-BR/audit-log.mdx +1 -2
  1407. package/docs/content/locales/pt-BR/authentication.mdx +3 -2
  1408. package/docs/content/locales/pt-BR/client.mdx +19 -18
  1409. package/docs/content/locales/pt-BR/components.mdx +1 -1
  1410. package/docs/content/locales/pt-BR/context-awareness.mdx +4 -7
  1411. package/docs/content/locales/pt-BR/creating-templates.mdx +7 -5
  1412. package/docs/content/locales/pt-BR/doctor.mdx +10 -0
  1413. package/docs/content/locales/pt-BR/drop-in-agent.mdx +6 -11
  1414. package/docs/content/locales/pt-BR/embedding-sdk.mdx +8 -10
  1415. package/docs/content/locales/pt-BR/internationalization.mdx +9 -6
  1416. package/docs/content/locales/pt-BR/key-concepts.mdx +2 -4
  1417. package/docs/content/locales/pt-BR/observability.mdx +1 -2
  1418. package/docs/content/locales/pt-BR/package-lifecycle.mdx +6 -0
  1419. package/docs/content/locales/pt-BR/real-time-collaboration.mdx +4 -7
  1420. package/docs/content/locales/pt-BR/sharing.mdx +1 -2
  1421. package/docs/content/locales/pt-BR/template-chat.mdx +1 -2
  1422. package/docs/content/locales/pt-BR/tracking.mdx +2 -4
  1423. package/docs/content/locales/pt-BR/what-is-agent-native.mdx +1 -2
  1424. package/docs/content/locales/zh-CN/actions.mdx +2 -4
  1425. package/docs/content/locales/zh-CN/agent-surfaces.mdx +2 -4
  1426. package/docs/content/locales/zh-CN/audit-log.mdx +1 -2
  1427. package/docs/content/locales/zh-CN/authentication.mdx +3 -2
  1428. package/docs/content/locales/zh-CN/client.mdx +19 -18
  1429. package/docs/content/locales/zh-CN/components.mdx +1 -1
  1430. package/docs/content/locales/zh-CN/context-awareness.mdx +4 -7
  1431. package/docs/content/locales/zh-CN/creating-templates.mdx +7 -5
  1432. package/docs/content/locales/zh-CN/doctor.mdx +10 -0
  1433. package/docs/content/locales/zh-CN/drop-in-agent.mdx +6 -11
  1434. package/docs/content/locales/zh-CN/embedding-sdk.mdx +8 -10
  1435. package/docs/content/locales/zh-CN/internationalization.mdx +9 -6
  1436. package/docs/content/locales/zh-CN/key-concepts.mdx +2 -4
  1437. package/docs/content/locales/zh-CN/observability.mdx +1 -2
  1438. package/docs/content/locales/zh-CN/package-lifecycle.mdx +6 -0
  1439. package/docs/content/locales/zh-CN/real-time-collaboration.mdx +4 -7
  1440. package/docs/content/locales/zh-CN/sharing.mdx +1 -2
  1441. package/docs/content/locales/zh-CN/template-chat.mdx +1 -2
  1442. package/docs/content/locales/zh-CN/tracking.mdx +2 -4
  1443. package/docs/content/locales/zh-CN/what-is-agent-native.mdx +1 -2
  1444. package/docs/content/locales/zh-TW/actions.mdx +2 -4
  1445. package/docs/content/locales/zh-TW/agent-surfaces.mdx +2 -4
  1446. package/docs/content/locales/zh-TW/audit-log.mdx +1 -2
  1447. package/docs/content/locales/zh-TW/authentication.mdx +3 -2
  1448. package/docs/content/locales/zh-TW/client.mdx +19 -18
  1449. package/docs/content/locales/zh-TW/components.mdx +1 -1
  1450. package/docs/content/locales/zh-TW/context-awareness.mdx +4 -7
  1451. package/docs/content/locales/zh-TW/creating-templates.mdx +7 -5
  1452. package/docs/content/locales/zh-TW/doctor.mdx +10 -0
  1453. package/docs/content/locales/zh-TW/drop-in-agent.mdx +6 -11
  1454. package/docs/content/locales/zh-TW/embedding-sdk.mdx +8 -10
  1455. package/docs/content/locales/zh-TW/internationalization.mdx +9 -6
  1456. package/docs/content/locales/zh-TW/key-concepts.mdx +2 -4
  1457. package/docs/content/locales/zh-TW/observability.mdx +1 -2
  1458. package/docs/content/locales/zh-TW/package-lifecycle.mdx +6 -0
  1459. package/docs/content/locales/zh-TW/real-time-collaboration.mdx +4 -7
  1460. package/docs/content/locales/zh-TW/sharing.mdx +1 -2
  1461. package/docs/content/locales/zh-TW/template-chat.mdx +1 -2
  1462. package/docs/content/locales/zh-TW/tracking.mdx +2 -4
  1463. package/docs/content/locales/zh-TW/what-is-agent-native.mdx +1 -2
  1464. package/docs/content/observability.mdx +1 -2
  1465. package/docs/content/package-lifecycle.mdx +29 -0
  1466. package/docs/content/real-time-collaboration.mdx +8 -7
  1467. package/docs/content/sharing.mdx +1 -2
  1468. package/docs/content/template-chat.mdx +1 -2
  1469. package/docs/content/toolkit-agent-ux.mdx +3 -2
  1470. package/docs/content/toolkit-observability.mdx +1 -2
  1471. package/docs/content/toolkit-settings.mdx +2 -2
  1472. package/docs/content/toolkit-sharing.mdx +5 -2
  1473. package/docs/content/tracking.mdx +2 -4
  1474. package/docs/content/what-is-agent-native.mdx +1 -2
  1475. package/migration-manifest.json +1492 -0
  1476. package/package.json +23 -5
  1477. package/src/templates/chat/.agents/skills/actions/SKILL.md +3 -3
  1478. package/src/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1479. package/src/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1480. package/src/templates/chat/.agents/skills/feature-flags/SKILL.md +1 -1
  1481. package/src/templates/chat/.agents/skills/real-time-sync/SKILL.md +4 -4
  1482. package/src/templates/chat/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1483. package/src/templates/chat/app/components/layout/Header.tsx +2 -1
  1484. package/src/templates/chat/app/components/layout/Layout.tsx +2 -2
  1485. package/src/templates/chat/app/components/layout/Sidebar.tsx +4 -4
  1486. package/src/templates/chat/app/hooks/use-navigation-state.ts +3 -4
  1487. package/src/templates/chat/app/i18n/index.ts +1 -1
  1488. package/src/templates/chat/app/i18n-data.ts +1 -1
  1489. package/src/templates/chat/app/lib/utils.ts +1 -1
  1490. package/src/templates/chat/app/root.tsx +10 -9
  1491. package/src/templates/chat/app/routes/_index.tsx +2 -2
  1492. package/src/templates/chat/app/routes/agent.tsx +10 -3
  1493. package/src/templates/chat/app/routes/database.tsx +1 -1
  1494. package/src/templates/chat/app/routes/observability.tsx +2 -1
  1495. package/src/templates/chat/app/routes/settings.tsx +4 -5
  1496. package/src/templates/default/.agents/skills/actions/SKILL.md +3 -3
  1497. package/src/templates/default/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1498. package/src/templates/default/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1499. package/src/templates/default/.agents/skills/feature-flags/SKILL.md +1 -1
  1500. package/src/templates/default/.agents/skills/real-time-collab/SKILL.md +4 -4
  1501. package/src/templates/default/.agents/skills/real-time-sync/SKILL.md +4 -4
  1502. package/src/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
  1503. package/src/templates/default/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1504. package/src/templates/default/app/hooks/use-navigation-state.ts +2 -5
  1505. package/src/templates/default/app/i18n/index.ts +1 -1
  1506. package/src/templates/default/app/lib/utils.ts +1 -1
  1507. package/src/templates/default/app/root.tsx +8 -6
  1508. package/src/templates/default/app/routes/_index.tsx +2 -1
  1509. package/src/templates/default/app/routes/agent.tsx +2 -1
  1510. package/src/templates/default/app/routes/settings.tsx +2 -3
  1511. package/src/templates/headless/.agents/skills/feature-flags/SKILL.md +1 -1
  1512. package/src/templates/headless/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
  1513. package/src/templates/workspace-core/.agents/skills/actions/SKILL.md +3 -3
  1514. package/src/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +1 -1
  1515. package/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +1 -1
  1516. package/src/templates/workspace-core/.agents/skills/changelog/SKILL.md +1 -1
  1517. package/src/templates/workspace-core/.agents/skills/client-methods/SKILL.md +10 -10
  1518. package/src/templates/workspace-core/.agents/skills/context-awareness/SKILL.md +1 -1
  1519. package/src/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +3 -3
  1520. package/src/templates/workspace-core/.agents/skills/feature-flags/SKILL.md +1 -1
  1521. package/src/templates/workspace-core/.agents/skills/observability/SKILL.md +1 -1
  1522. package/src/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +4 -4
  1523. package/src/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +4 -4
  1524. package/src/templates/workspace-core/.agents/skills/sharing/SKILL.md +1 -1
  1525. package/src/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
  1526. package/src/templates/workspace-core/.agents/skills/upgrade-agent-native/SKILL.md +12 -5
@@ -1,36 +1,15 @@
1
- import { installRouteChunkRecovery } from "./route-chunk-recovery.js";
2
- installRouteChunkRecovery();
3
- export { getBrowserTabId } from "./browser-tab-id.js";
4
- export { AgentAskPopover, } from "./AgentAskPopover.js";
5
- export { addContextToAgentChat, appendAgentChatContextToMessage, clearAgentChatContext, formatAgentChatContextItemsForPrompt, insertAgentComposerReference, listAgentChatContext, normalizeAgentComposerReference, refreshAgentChatContext, removeAgentChatContextItem, requestAgentChatThreadOpen, requestAgentTaskOpen, sendToAgentChat, sendToAgentChatAndConfirm, reportAgentChatSubmitResult, AGENT_CHAT_SUBMIT_RESULT_EVENT, parseSubmitChatMessage, setAgentChatContextItem, setContextToAgentChat, generateTabId, } from "./agent-chat.js";
6
- export { saveAgentEngineApiKey, saveAgentEngineProviderSettings, } from "./agent-engine-key.js";
7
- export { useAgentChatGenerating } from "./use-agent-chat.js";
8
- export { useAgentChatContext, } from "./use-agent-chat-context.js";
9
- export { useCodeMode, useDevMode } from "./use-dev-mode.js";
10
- export { agentNativePath, appApiPath, appBasePath, appPath, } from "./api-path.js";
11
- export { deleteClientAppState, readClientAppState, setClientAppState, writeClientAppState, } from "./application-state.js";
12
- export { useAgentRouteState, useSemanticNavigationState, } from "./route-state.js";
13
- export { ensureEmbedAuthFetchInterceptor, getEmbedAuthToken, isEmbedAuthActive, isEmbedMcpChatBridgeActive, } from "./embed-auth.js";
14
- export { codeAgentTranscriptEventsToContent, codeAgentTranscriptHasPendingApproval, createCodeAgentChatAdapter, } from "./code-agent-chat-adapter.js";
15
- export { buildRepositoryFromCodeAgentTranscript, } from "../agent/thread-data-builder.js";
16
- export { compareCodeAgentTranscriptEvents, getCodeAgentTranscriptSeq, isCodeAgentRunActive, mergeCodeAgentTranscriptEvents, } from "../code-agents/transcript-order.js";
17
- export { CREDENTIAL_GAP_SIGNAL, isCredentialGapCodeAgentEvent, } from "../code-agents/transcript-normalizer.js";
18
- export { useSendToAgentChat } from "./use-send-to-agent-chat.js";
19
- export { useChatModels, } from "./use-chat-models.js";
20
- export { CodeRequiredDialog, } from "./components/CodeRequiredDialog.js";
21
- export { useAgentEngineConfigured, } from "./use-agent-engine-configured.js";
22
- export { BuilderSetupCard } from "./chat/run-recovery.js";
23
- export { AgentConversation, AgentConversationMessageView, normalizeCodeAgentTranscriptForConversation, useNearBottomAutoscroll, } from "./conversation/index.js";
24
- export { McpAppRenderer } from "./mcp-apps/McpAppRenderer.js";
25
- export { AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES, getMcpAppHostContext, openMcpAppHostLink, requestMcpAppDisplayMode, sendMcpAppHostMessage, updateMcpAppModelContext, useMcpAppHostContext, } from "./mcp-app-host.js";
26
- export { CodeAgentIndicator, } from "./components/CodeAgentIndicator.js";
27
- export { useDbSync, useFileWatcher, useScreenRefreshKey, } from "./use-db-sync.js";
28
- export { VisualControlRow, VisualColorPicker, VisualInspectorPanel, VisualInspectorSection, VisualScrubInput, VisualSegmentedControl, VisualSliderControl, VisualSwatchControl, VisualToggleControl, VisualTweakControl, } from "./visual-style-controls.js";
29
- export { useChangeVersion, useChangeVersions, getChangeVersion, bumpChangeVersion, } from "./use-change-version.js";
30
- export { useDemoModeStatus, } from "./use-demo-mode-status.js";
31
- export { useReconciledState } from "./use-external-value.js";
32
- export { buildDynamicAgentSuggestions, dedupeSuggestions, mergeAgentSuggestions, normalizeAgentDynamicSuggestionsConfig, useAgentDynamicSuggestions, } from "./dynamic-suggestions.js";
33
- export { cn } from "./utils.js";
1
+ /**
2
+ * @deprecated Import from a focused @agent-native/core/client/* entrypoint instead.
3
+ * Compatibility aggregation only; new code must not import this barrel.
4
+ */
5
+ export * from "./agent-chat/index.js";
6
+ export * from "./hooks/index.js";
7
+ export * from "./navigation/index.js";
8
+ export * from "./host/index.js";
9
+ export * from "./widgets/index.js";
10
+ export * from "./ui/index.js";
11
+ export { VisualControlRow, VisualColorPicker, VisualInspectorPanel, VisualInspectorSection, VisualScrubInput, VisualSegmentedControl, VisualSliderControl, VisualSwatchControl, VisualToggleControl, VisualTweakControl, } from "@agent-native/toolkit/design-tweaks";
12
+ export { cn } from "@agent-native/toolkit/utils";
34
13
  export { AgentNativeI18nProvider, LanguagePicker, getLocaleInitScript, localeDirection, normalizeLocaleCode, normalizeLocalePreference, normalizeLocalizationPreference, resolveLocaleFromCandidates, resolveLocaleFromPreference, useFormatters, useLocale, useT, DEFAULT_LOCALE, LOCALE_HYDRATION_GLOBAL, LOCALE_METADATA, LOCALE_STORAGE_KEY, SUPPORTED_LOCALES, } from "./i18n.js";
35
14
  export {
36
15
  // Shared editor core (Phase 1): the ONE configurable surface both the plan
@@ -50,64 +29,13 @@ RunId, RUN_ID_NODE_TYPES, gfmToProseJSON, proseJSONToGfm, DragHandle, DEFAULT_DR
50
29
  createRegistryBlockNode, RegistryBlockNodeView, RegistryBlockDataProvider, useRegistryBlockData,
51
30
  // Shared registry-derived block slash-command builder (plan + content adapt it).
52
31
  buildRegistryBlockSlashItems, getRegistryBlockSlashDescription, getRegistryBlockSlashSearchText, } from "./rich-markdown-editor/index.js";
53
- export { ApiKeySettings } from "./components/ApiKeySettings.js";
54
- export { useSession } from "./use-session.js";
55
- export { RequireSession, buildSignInReturnHref, } from "./require-session.js";
56
- export { sendToFrame, onFrameMessage, requestUserInfo, getFrameOrigin, getFramePostMessageTargetOrigin, getCallbackOrigin, oauthRedirectUri, isInFrame, enterStyleEditing, enterTextEditing, exitSelectionMode, } from "./frame.js";
57
- export { getBuilderParentOrigin, isInBuilderFrame, sendToBuilderChat, } from "./builder-frame.js";
58
- export { AgentNative, useAgentNativeScreenContext, } from "./AgentNative.js";
59
- export { AgentNativeEmbedded, useAgentNativeEmbeddedBrowserSession, } from "./AgentNativeEmbedded.js";
60
- export { defineClientAction, } from "./client-action.js";
61
- export { AgentNativeFrame, } from "./AgentNativeFrame.js";
62
- export { AgentNativeRouteWarmup, } from "./route-warmup.js";
63
- export { AgentNativeExtensionFrame, AgentNativeExtensionSlot, } from "./extensions/AgentNativeExtensionFrame.js";
64
- export { AGENT_NATIVE_EXTENSION_MESSAGE_TYPES, buildAgentNativeExtensionHtml, createHttpAgentNativeExtensionStorage, createLocalStorageAgentNativeExtensionStorage, getAgentNativeExtensionManifest, isAgentNativeExtensionAllowedInSlot, normalizeAgentNativeExtensionSandbox, } from "./extensions/portable-extension.js";
65
- export { buildSessionReplayIframeBootstrap, injectSessionReplayIframeBootstrap, } from "../extensions/session-replay-iframe.js";
66
- export { SESSION_REPLAY_IFRAME_ATTRIBUTE, SESSION_REPLAY_IFRAME_PROBE, SESSION_REPLAY_IFRAME_START, SESSION_REPLAY_IFRAME_STOP, } from "../session-replay-iframe-protocol.js";
67
- export { AGENT_NATIVE_HOST_BRIDGE_VERSION, AGENT_NATIVE_HOST_MESSAGE_TYPES, announceAgentNativeFrameReady, createAgentNativeHostBridge, defaultAgentNativeHostCommands, onAgentNativeHostInit, readAgentNativeScreenContext, requestAgentNativeHostActions, requestAgentNativeHostContext, runAgentNativeHostAction, sendAgentNativeHostCommand, } from "./host-bridge.js";
68
- export { AGENT_NATIVE_HOST_TOOL_NAMES, createAgentNativeHostTools, } from "./host-tools.js";
69
- export { createAgentNativeBrowserSessionBridge, startAgentNativeBrowserSessionBridge, } from "./browser-session-bridge.js";
70
- export { NewWorkspaceAppFlow, } from "./NewWorkspaceAppFlow.js";
71
- export { AssistantChat, clearChatStorage, } from "./AssistantChat.js";
72
- export { MultiTabAssistantChat, } from "./MultiTabAssistantChat.js";
73
- export { RunStuckBanner } from "./RunStuckBanner.js";
74
- export { KeepTabOpenNotice, } from "./KeepTabOpenNotice.js";
75
- export { useRunStuckDetection, useAbortRun, } from "./use-run-stuck-detection.js";
76
- export { createAgentChatAdapter, } from "./agent-chat-adapter.js";
77
32
  export { AgentComposerFrame, PromptComposer, RealtimeVoiceModeBoundary, RealtimeVoiceModeProvider, RealtimeVoiceModeDock, RealtimeVoiceModeEntry, TiptapComposer, AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES, AGENT_PROMPT_MAX_INLINE_TEXT_CHARS, escapePromptAttachmentAttribute, formatPromptWithAttachments, isInlineableAgentPromptFile, readAgentPromptAttachment, createRealtimeVoiceSession, createRealtimeVoiceSessionWithCapability, executeRealtimeVoiceTool, extractRealtimeVoiceFunctionCalls, readRealtimeVoiceContext, useRealtimeVoiceMode, useRealtimeVoiceModeCopy, useRealtimeVoiceModeOptional, } from "./composer/index.js";
78
- export { GuidedQuestionFlow, useGuidedQuestionFlow, askUserQuestion, formatGuidedAnswerValue, formatGuidedAnswersForAgent, getOtherGuidedAnswerText, hasGuidedAnswer, isOtherGuidedAnswer, makeOtherGuidedAnswer, normalizeGuidedAnswers, } from "./guided-questions.js";
79
- export { useChatThreads, } from "./use-chat-threads.js";
80
- export { ChatHistoryList, } from "./chat/ChatHistoryList.js";
81
- export { AgentChatHome } from "./AgentChatHome.js";
82
- export { AgentChatSurface, AgentPanel, AgentSidebar, AgentToggleButton, focusAgentChat, } from "./AgentPanel.js";
83
- export { AgentTabsPage, } from "./agent-page/AgentTabsPage.js";
84
- export { AGENT_CHAT_HOME_HANDOFF_TTL_MS, AGENT_CHAT_VIEW_TRANSITION_CLASS, AGENT_CHAT_VIEW_TRANSITION_NAME, consumeAgentChatHomeHandoff, getAgentChatViewTransitionStyle, isAgentChatHomeHandoffActive, markAgentChatHomeHandoff, navigateWithAgentChatViewTransition, startAgentChatViewTransition, supportsAgentChatViewTransition, } from "./chat-view-transition.js";
85
- export { useAgentChatHomeHandoff, useAgentChatHomeHandoffLinks, } from "./use-agent-chat-home-handoff.js";
86
- export { requestAgentSidebarOpen, SIDEBAR_STATE_CHANGE_EVENT, setAgentSidebarOpenPreference, } from "./agent-sidebar-state.js";
87
- export { clearReservedToolRenderersForTests, clearToolRenderersForTests, registerActionChatRenderer, registerFallbackToolRenderer, registerReservedActionChatRenderer, registerReservedFallbackToolRenderer, registerReservedToolRenderer, registerToolRenderer, resolveToolRenderer, } from "./chat/tool-render-registry.js";
88
- export * from "./chat/connectors.js";
89
- export * from "./chat/runtime.js";
90
- export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, } from "../action-ui.js";
91
- export { DATA_CHART_WIDGET, DATA_INSIGHTS_WIDGET, DATA_TABLE_WIDGET, createDataChartWidgetResult, createDataInsightsWidgetResult, createDataTableWidgetResult, dataChartWidgetResultSchema, dataChartWidgetSchema, dataInsightsWidgetResultSchema, dataTableWidgetResultSchema, dataTableWidgetSchema, dataWidgetResultSchema, isDataChartWidget, isDataTableWidget, isDataWidgetResult, normalizeDataWidgetKind, normalizeDataWidgetResult, } from "./chat/widgets/data-widget-types.js";
92
33
  export { AgentNativeIcon } from "./components/icons/AgentNativeIcon.js";
93
34
  export { FeatureFlagsEditor, evaluatedFeatureFlagValues, featureFlagValue, useFeatureFlag, useFeatureFlags, } from "./feature-flags/index.js";
94
35
  export { SettingsPanel, SettingsTabsPage, SecretsSection, getAgentSettingsSearchTabs, openBuilderConnectPopup, useAgentSettingsTabs, useBuilderConnectFlow, useBuilderStatus, withBuilderConnectTrackingParams, } from "./settings/index.js";
95
- export { Turnstile } from "./Turnstile.js";
96
- export { OpenSourceBadge, PoweredByBadge, } from "./PoweredByBadge.js";
97
- export { StarfieldBackground, } from "./StarfieldBackground.js";
98
- export { FeedbackButton } from "./FeedbackButton.js";
99
- export { ErrorReportActions, } from "./ErrorReportActions.js";
100
- export { buildErrorReportTemplate, buildGitHubIssueUrl, } from "./error-reporting.js";
101
- export { getClientSurface } from "./client-surface.js";
102
36
  export { DevDatabaseLink, } from "./db-admin/DevDatabaseLink.js";
103
37
  export { DbAdminPage } from "./db-admin/DbAdminPage.js";
104
- export { ErrorBoundary } from "./ErrorBoundary.js";
105
38
  export { installRouteChunkRecovery, reloadForStaleChunk, recoverFromStaleChunkError, } from "./route-chunk-recovery.js";
106
- export { ClientOnly } from "./ClientOnly.js";
107
- export { DefaultSpinner } from "./DefaultSpinner.js";
108
- export { getThemeInitScript, themeInitScript, } from "./theme.js";
109
- export { APPEARANCE_PRESETS, applyAppearance, getStoredAppearance, useAppearance, useAppearanceSync, } from "./appearance.js";
110
- export { AppearancePicker, } from "./AppearancePicker.js";
111
39
  export { AgentTerminal } from "./terminal/index.js";
112
40
  export { trackEvent, trackAgentChatLifecycle, trackSessionStatus, configureTracking, setTrackingContentCaptureEnabled, maybeStartSessionReplay, startSessionReplay, stopSessionReplay, getAnalyticsAnonymousId, getAnalyticsSessionId, getFirstTouchAttribution, setSentryUser, setTrackingIdentity, getSessionReplayContext, getSessionReplayUrl, captureError, captureClientException,
113
41
  // First-party, Sentry-style error capture (auto + manual API).
@@ -115,42 +43,27 @@ AGENT_NATIVE_EXCEPTION_EVENT_NAME, addErrorBreadcrumb, captureException, capture
115
43
  export { track } from "./track.js";
116
44
  export { useCollaborativeDoc, isReconcileLeadClient, emailToColor, emailToName, dedupeCollabUsersByEmail, } from "../collab/client.js";
117
45
  export { AGENT_CLIENT_ID } from "../collab/agent-identity.js";
118
- // Presence kit
119
46
  export { usePresence, toNormalized, fromNormalized, } from "../collab/presence.js";
120
47
  export { useFollowUser, } from "../collab/follow-mode.js";
121
48
  export { ResourcesPanel, ResourceTree, ResourceEditor, useResources, useResourceTree, useResource, useCreateResource, useUpdateResource, useDeleteResource, useUploadResource, } from "./resources/index.js";
122
49
  export { HistoryTimeline, VersionHistoryPanel, useCreateResourceVersion, useResourceHistory, useResourceVersion, useResourceVersions, useRestoreResourceVersion, } from "./history/index.js";
123
50
  export { ReviewCommentComposer, ReviewStatusBadge, ReviewThreadPanel, buildReviewThreads, useConsumeReviewFeedback, useCreateReviewComment, useDeleteReviewComment, useReplyReviewComment, useResolveReviewThread, useReviewComments, useReviewFeedback, useSendReviewThreadToAgent, useSetReviewStatus, } from "./review/index.js";
124
- export { CommandMenu, openAgentSidebar, openAgentSettings, submitToAgent, useCommandMenuShortcut, } from "./CommandMenu.js";
125
- export { buildOpenRouteLink, buildOpenRoutePath, buildResourceRoute, buildSettingsRoute, buildStandardAppRoute, buildTeamRoute, createStandardOpenPathResolver, STANDARD_APP_ROUTES, STANDARD_SETTINGS_TABS, } from "../navigation/index.js";
126
51
  export { BuilderConnectCard, ProviderReadinessBadge, SetupConnectionsPage, } from "./setup-connections/index.js";
127
52
  export { listIntegrationEnvStatuses, listIntegrationStatuses, saveIntegrationEnvVars, setIntegrationEnabled, setupIntegration, disconnectManagedIntegrationInstallation, listManagedIntegrationInstallations, managedIntegrationOAuthUrl, managedSlackAgentManifestUrl, listManagedIntegrationScopes, saveManagedIntegrationScope, listManagedIntegrationBudgets, listManagedIntegrationMemory, forgetManagedIntegrationMemory, saveManagedIntegrationBudget, testManagedIntegrationInstallation, IntegrationClientError, } from "./integrations/index.js";
128
53
  export { invokeConfiguredAutomationWorkflow, } from "./automation.js";
129
54
  export { ChangelogDialog, ChangelogSettingsCard, useChangelogSeen, parseChangelog, } from "./changelog/Changelog.js";
130
55
  export { DevOverlay, useDevOverlayShortcut, registerDevPanel, unregisterDevPanel, listDevPanels, subscribeDevPanels, useDevOption, clearAllDevOverlayStorage, devOptionKey, DEV_OVERLAY_STORAGE_PREFIX, } from "./dev-overlay/index.js";
131
- export { ACTION_KEEPALIVE_BODY_BUDGET_BYTES, callAction, tryCallActionKeepalive, useActionQuery, useActionMutation, } from "./use-action.js";
132
- export { createAgentNativeQueryClient } from "./create-query-client.js";
133
- export { AppProviders } from "./app-providers.js";
134
- export { usePinchZoom } from "./use-pinch-zoom.js";
135
- export { ShareButton, ShareDialog, VisibilityBadge, } from "./sharing/index.js";
136
- export { postNavigate, isInAgentEmbed, AGENT_NAVIGATE_MESSAGE_TYPE, } from "./embed.js";
137
- export { IframeEmbed, parseEmbedBody } from "./IframeEmbed.js";
138
- export { useAvatarUrl, uploadAvatar, invalidateAvatarCache, } from "./use-avatar.js";
56
+ export { ShareButton, ShareDialog, } from "./sharing/index.js";
57
+ export { VisibilityBadge, } from "@agent-native/toolkit/sharing";
139
58
  export { ObservabilityDashboard, ThumbsFeedback, } from "./observability/index.js";
140
- // Presence UI components
141
- export { PresenceBar, } from "./components/PresenceBar.js";
142
- export { AgentPresenceChip, } from "./components/AgentPresenceChip.js";
143
- export { LiveCursorOverlay, } from "./components/LiveCursorOverlay.js";
144
- export { RemoteSelectionRings, } from "./components/RemoteSelectionRings.js";
145
- export { RecentEditHighlights, } from "./components/RecentEditHighlights.js";
146
- // Recent-edit attribution (lingering highlights)
59
+ export { PresenceBar, } from "@agent-native/toolkit/collab-ui";
60
+ export { AgentPresenceChip, } from "@agent-native/toolkit/collab-ui";
61
+ export { LiveCursorOverlay, } from "@agent-native/toolkit/collab-ui";
62
+ export { RemoteSelectionRings, } from "@agent-native/toolkit/collab-ui";
63
+ export { RecentEditHighlights, } from "@agent-native/toolkit/collab-ui";
147
64
  export { appendRecentEdit, collectRecentEdits, publishRecentEdit, useRecentEdits, RECENT_EDITS_MAX, RECENT_EDIT_TTL_MS, } from "../collab/recent-edits.js";
148
- // Per-user undo/redo
149
65
  export { useCollabUndo, useLocalOpUndo, createLocalOpUndoController, } from "../collab/undo.js";
150
- // Structured data collaboration hooks
151
66
  export { useCollaborativeMap, useCollaborativeArray, } from "../collab/client-struct.js";
152
67
  export { NotificationsBell } from "./notifications/index.js";
153
- // Block registry (also available as the dedicated `@agent-native/core/blocks`
154
- // subpath, which server/agent code should prefer via `/blocks/server`).
155
68
  export { defineBlock, BlockRegistry, registerBlocks, BlockRegistryProvider, useBlockRegistry, useOptionalBlockRegistry, BlockView, SchemaBlockEditor, markdown, richtext, introspect, serializeSpecBlock, parseSpecBlock, createAttrReader, childCodeFenceFields, serializeChildCodeFenceFields, describeBlocksForAgent, renderBlockVocabularyReference, } from "./blocks/index.js";
156
69
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,yBAAyB,EAAE,CAAC;AAE5B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EACL,eAAe,GAEhB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,4BAA4B,EAC5B,oBAAoB,EACpB,+BAA+B,EAC/B,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,EACf,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,GAgBd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,qBAAqB,EACrB,+BAA+B,GAIhC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,mBAAmB,GAEpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,UAAU,EACV,WAAW,EACX,OAA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,CAAC;AAC7D,8EAA8E;AAC9E,wEAAwE;AACxE,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,GAgB/B,MAAM,mBAAmB,CAAC","sourcesContent":["import { installRouteChunkRecovery } from \"./route-chunk-recovery.js\";\n\ninstallRouteChunkRecovery();\n\nexport { getBrowserTabId } from \"./browser-tab-id.js\";\nexport {\n AgentAskPopover,\n type AgentAskPopoverProps,\n} from \"./AgentAskPopover.js\";\n\nexport {\n addContextToAgentChat,\n appendAgentChatContextToMessage,\n clearAgentChatContext,\n formatAgentChatContextItemsForPrompt,\n insertAgentComposerReference,\n listAgentChatContext,\n normalizeAgentComposerReference,\n refreshAgentChatContext,\n removeAgentChatContextItem,\n requestAgentChatThreadOpen,\n requestAgentTaskOpen,\n sendToAgentChat,\n sendToAgentChatAndConfirm,\n reportAgentChatSubmitResult,\n AGENT_CHAT_SUBMIT_RESULT_EVENT,\n parseSubmitChatMessage,\n setAgentChatContextItem,\n setContextToAgentChat,\n generateTabId,\n type ParsedSubmitChat,\n type AgentChatOpenTaskRequest,\n type AgentChatOpenThreadRequest,\n type AgentChatContextItem,\n type AgentChatContextMessage,\n type AgentChatContextMutationOptions,\n type AgentChatContextRemoveOptions,\n type AgentChatContextSetOptions,\n type AgentChatContextState,\n type AgentChatMessage,\n type AgentChatSubmitResult,\n type SendToAgentChatAndConfirmResult,\n type AgentComposerReference,\n type AgentComposerReferenceInsertOptions,\n type AgentComposerReferenceInsertPayload,\n} from \"./agent-chat.js\";\nexport {\n saveAgentEngineApiKey,\n saveAgentEngineProviderSettings,\n type AgentEngineProvider,\n type SaveAgentEngineApiKeyOptions,\n type SaveAgentEngineProviderSettingsOptions,\n} from \"./agent-engine-key.js\";\nexport { useAgentChatGenerating } from \"./use-agent-chat.js\";\nexport {\n useAgentChatContext,\n type UseAgentChatContextResult,\n} from \"./use-agent-chat-context.js\";\nexport { useCodeMode, useDevMode } from \"./use-dev-mode.js\";\nexport {\n agentNativePath,\n appApiPath,\n appBasePath,\n appPath,\n} from \"./api-path.js\";\nexport {\n deleteClientAppState,\n readClientAppState,\n setClientAppState,\n writeClientAppState,\n type ClientAppStateReadOptions,\n type ClientAppStateWriteOptions,\n} from \"./application-state.js\";\nexport {\n useAgentRouteState,\n useSemanticNavigationState,\n type AgentRouteLocation,\n type SemanticNavigationCommandEnvelope,\n type UseAgentRouteStateOptions,\n type UseAgentRouteStateResult,\n type UseSemanticNavigationStateOptions,\n type UseSemanticNavigationStateResult,\n} from \"./route-state.js\";\nexport {\n ensureEmbedAuthFetchInterceptor,\n getEmbedAuthToken,\n isEmbedAuthActive,\n isEmbedMcpChatBridgeActive,\n} from \"./embed-auth.js\";\nexport {\n codeAgentTranscriptEventsToContent,\n codeAgentTranscriptHasPendingApproval,\n createCodeAgentChatAdapter,\n type CodeAgentChatController,\n type CodeAgentChatControlResult,\n type CodeAgentChatFollowUpMode,\n type CodeAgentChatTranscriptEvent,\n type CreateCodeAgentChatAdapterOptions,\n} from \"./code-agent-chat-adapter.js\";\nexport {\n buildRepositoryFromCodeAgentTranscript,\n type BuildRepositoryFromCodeAgentTranscriptOptions,\n type CodeAgentThreadTranscriptEvent,\n} from \"../agent/thread-data-builder.js\";\nexport {\n compareCodeAgentTranscriptEvents,\n getCodeAgentTranscriptSeq,\n isCodeAgentRunActive,\n mergeCodeAgentTranscriptEvents,\n type CodeAgentRunStateLike,\n type CodeAgentTranscriptOrderEvent,\n} from \"../code-agents/transcript-order.js\";\nexport {\n CREDENTIAL_GAP_SIGNAL,\n isCredentialGapCodeAgentEvent,\n} from \"../code-agents/transcript-normalizer.js\";\nexport { useSendToAgentChat } from \"./use-send-to-agent-chat.js\";\nexport {\n useChatModels,\n type UseChatModelsResult,\n type EngineModelGroup,\n} from \"./use-chat-models.js\";\nexport {\n CodeRequiredDialog,\n type CodeRequiredDialogProps,\n} from \"./components/CodeRequiredDialog.js\";\nexport {\n useAgentEngineConfigured,\n type AgentEngineConfiguredState,\n type UseAgentEngineConfiguredResult,\n} from \"./use-agent-engine-configured.js\";\nexport { BuilderSetupCard } from \"./chat/run-recovery.js\";\nexport {\n AgentConversation,\n AgentConversationMessageView,\n normalizeCodeAgentTranscriptForConversation,\n useNearBottomAutoscroll,\n type CodeAgentConversationTranscriptEvent,\n type CodeAgentConversationTranscriptEventType,\n type NormalizeCodeAgentTranscriptOptions,\n type AgentConversationArtifact,\n type AgentConversationAttachment,\n type AgentConversationMessage,\n type AgentConversationMessagePart,\n type AgentConversationMessageRole,\n type AgentConversationNotice,\n type AgentConversationNoticeTone,\n type AgentConversationToolCall,\n type AgentConversationToolState,\n} from \"./conversation/index.js\";\nexport { McpAppRenderer } from \"./mcp-apps/McpAppRenderer.js\";\nexport {\n AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES,\n getMcpAppHostContext,\n openMcpAppHostLink,\n requestMcpAppDisplayMode,\n sendMcpAppHostMessage,\n updateMcpAppModelContext,\n useMcpAppHostContext,\n type AgentNativeMcpAppHostMessageType,\n type McpAppDisplayMode,\n type McpAppHostChatMessage,\n type McpAppHostCapabilities,\n type McpAppHostContext,\n type McpAppHostContextSnapshot,\n type McpAppModelContextContentPart,\n type McpAppModelContextUpdate,\n} from \"./mcp-app-host.js\";\nexport {\n CodeAgentIndicator,\n type CodeAgentIndicatorProps,\n} from \"./components/CodeAgentIndicator.js\";\nexport {\n useDbSync,\n useFileWatcher,\n useScreenRefreshKey,\n} from \"./use-db-sync.js\";\nexport {\n VisualControlRow,\n VisualColorPicker,\n VisualInspectorPanel,\n VisualInspectorSection,\n VisualScrubInput,\n VisualSegmentedControl,\n VisualSliderControl,\n VisualSwatchControl,\n VisualToggleControl,\n VisualTweakControl,\n type VisualControlOption,\n type VisualControlValue,\n type VisualTweakDefinition,\n} from \"./visual-style-controls.js\";\nexport {\n useChangeVersion,\n useChangeVersions,\n getChangeVersion,\n bumpChangeVersion,\n} from \"./use-change-version.js\";\nexport {\n useDemoModeStatus,\n type DemoModeStatus,\n} from \"./use-demo-mode-status.js\";\nexport { useReconciledState } from \"./use-external-value.js\";\nexport {\n buildDynamicAgentSuggestions,\n dedupeSuggestions,\n mergeAgentSuggestions,\n normalizeAgentDynamicSuggestionsConfig,\n useAgentDynamicSuggestions,\n type AgentDynamicSuggestionContext,\n type AgentDynamicSuggestionsConfig,\n type AgentDynamicSuggestionsOption,\n} from \"./dynamic-suggestions.js\";\nexport { cn } from \"./utils.js\";\nexport {\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./i18n.js\";\nexport {\n // Shared editor core (Phase 1): the ONE configurable surface both the plan\n // and content editors build on.\n SharedRichEditor,\n createSharedEditorExtensions,\n MARKDOWN_DIALECT_CONFIG,\n useCollabReconcile,\n RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION,\n getEditorMarkdown,\n SlashCommandMenu,\n DEFAULT_SLASH_COMMANDS,\n createImageSlashCommand,\n // Shared block-level image node + injectable upload contract. Plans opt in\n // via `features.image` + `onImageUpload`; Content keeps its own image block.\n SharedImage,\n createImageExtension,\n pickAndInsertImage,\n uploadEditorImage,\n BubbleToolbar,\n buildDefaultBubbleItems,\n // Back-compat alias + factory kept for existing embedders and specs.\n RichMarkdownEditor,\n createRichMarkdownExtensions,\n // Single-doc plan editor primitives: the GFM↔ProseMirror serializer, the\n // run-id prose attribute, and the shared drag-handle (block grip + reorder).\n RunId,\n RUN_ID_NODE_TYPES,\n gfmToProseJSON,\n proseJSONToGfm,\n DragHandle,\n DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR,\n // Generic registry-block Tiptap NodeView + side-map provider + dedupe plugin.\n // Hosts mount the node from `createRegistryBlockNode` as an extra extension\n // and wrap the editor in `RegistryBlockDataProvider`.\n createRegistryBlockNode,\n RegistryBlockNodeView,\n RegistryBlockDataProvider,\n useRegistryBlockData,\n // Shared registry-derived block slash-command builder (plan + content adapt it).\n buildRegistryBlockSlashItems,\n getRegistryBlockSlashDescription,\n getRegistryBlockSlashSearchText,\n type BuildRegistryBlockSlashItemsOptions,\n type DragHandleDropContext,\n type DragHandleDropPlacement,\n type DragHandleOptions,\n type CreateRegistryBlockNodeOptions,\n type RegistryBlockDataValue,\n type RegistryBlockSideMapBlock,\n type SharedRichEditorProps,\n type SharedEditorCollab,\n type SharedEditorFeatures,\n type CreateSharedEditorExtensionsOptions,\n type UseCollabReconcileOptions,\n type UseCollabReconcileResult,\n type SlashCommandItem,\n type SlashCommandMenuProps,\n type ImageUploadFn,\n type SharedImageOptions,\n type BubbleToolbarItem,\n type BubbleToolbarProps,\n type RichMarkdownDialect,\n type RichMarkdownEditorPreset,\n type RichMarkdownEditorProps,\n type RichMarkdownCollabUser,\n type CreateRichMarkdownExtensionsOptions,\n} from \"./rich-markdown-editor/index.js\";\n// ProseMirror node JSON shape — re-exported so the plan template (which has no\n// direct @tiptap dep) can type its doc↔blocks serializer.\nexport type { JSONContent } from \"@tiptap/core\";\nexport { ApiKeySettings } from \"./components/ApiKeySettings.js\";\nexport { useSession, type AuthSession } from \"./use-session.js\";\nexport {\n RequireSession,\n buildSignInReturnHref,\n type RequireSessionProps,\n} from \"./require-session.js\";\nexport {\n sendToFrame,\n onFrameMessage,\n requestUserInfo,\n getFrameOrigin,\n getFramePostMessageTargetOrigin,\n getCallbackOrigin,\n oauthRedirectUri,\n isInFrame,\n enterStyleEditing,\n enterTextEditing,\n exitSelectionMode,\n type UserInfo,\n} from \"./frame.js\";\nexport {\n getBuilderParentOrigin,\n isInBuilderFrame,\n sendToBuilderChat,\n type BuilderChatMessage,\n} from \"./builder-frame.js\";\nexport {\n AgentNative,\n useAgentNativeScreenContext,\n type AgentNativeCommandCallback,\n type AgentNativeCommandCallbackInfo,\n type AgentNativeProps,\n} from \"./AgentNative.js\";\nexport {\n AgentNativeEmbedded,\n useAgentNativeEmbeddedBrowserSession,\n type AgentNativeEmbeddedBrowserSessionOptions,\n type AgentNativeEmbeddedCommandCallback,\n type AgentNativeEmbeddedCommandCallbackInfo,\n type AgentNativeEmbeddedProps,\n type UseAgentNativeEmbeddedBrowserSessionOptions,\n} from \"./AgentNativeEmbedded.js\";\nexport {\n defineClientAction,\n type AgentNativeClientActionDefinition,\n type AgentNativeClientActionRunner,\n} from \"./client-action.js\";\nexport {\n AgentNativeFrame,\n type AgentNativeFrameProps,\n} from \"./AgentNativeFrame.js\";\nexport {\n AgentNativeRouteWarmup,\n type AgentNativeRouteWarmupProps,\n} from \"./route-warmup.js\";\nexport {\n AgentNativeExtensionFrame,\n AgentNativeExtensionSlot,\n type AgentNativeExtensionFrameProps,\n type AgentNativeExtensionPermissionList,\n type AgentNativeExtensionSlotProps,\n type AgentNativeExtensionStorageScopeList,\n} from \"./extensions/AgentNativeExtensionFrame.js\";\nexport {\n AGENT_NATIVE_EXTENSION_MESSAGE_TYPES,\n buildAgentNativeExtensionHtml,\n createHttpAgentNativeExtensionStorage,\n createLocalStorageAgentNativeExtensionStorage,\n getAgentNativeExtensionManifest,\n isAgentNativeExtensionAllowedInSlot,\n normalizeAgentNativeExtensionSandbox,\n type AgentNativeExtensionDefinition,\n type AgentNativeExtensionManifest,\n type AgentNativeExtensionMessageType,\n type AgentNativeExtensionStorage,\n type AgentNativeExtensionStorageContext,\n type AgentNativeExtensionStorageOptions,\n type AgentNativeExtensionStorageRow,\n type AgentNativeExtensionStorageScope,\n type BuildAgentNativeExtensionHtmlOptions,\n type CreateHttpAgentNativeExtensionStorageOptions,\n} from \"./extensions/portable-extension.js\";\nexport {\n buildSessionReplayIframeBootstrap,\n injectSessionReplayIframeBootstrap,\n} from \"../extensions/session-replay-iframe.js\";\nexport {\n SESSION_REPLAY_IFRAME_ATTRIBUTE,\n SESSION_REPLAY_IFRAME_PROBE,\n SESSION_REPLAY_IFRAME_START,\n SESSION_REPLAY_IFRAME_STOP,\n} from \"../session-replay-iframe-protocol.js\";\nexport {\n AGENT_NATIVE_HOST_BRIDGE_VERSION,\n AGENT_NATIVE_HOST_MESSAGE_TYPES,\n announceAgentNativeFrameReady,\n createAgentNativeHostBridge,\n defaultAgentNativeHostCommands,\n onAgentNativeHostInit,\n readAgentNativeScreenContext,\n requestAgentNativeHostActions,\n requestAgentNativeHostContext,\n runAgentNativeHostAction,\n sendAgentNativeHostCommand,\n type AgentNativeActionAvailability,\n type AgentNativeActionManifestEntry,\n type AgentNativeClientAction,\n type AgentNativeClientActionApprovalConfig,\n type AgentNativeClientActionGetter,\n type AgentNativeClientActionRuntime,\n type AgentNativeClientActions,\n type AgentNativeHostAuth,\n type AgentNativeHostAuthPayload,\n type AgentNativeHostBridge,\n type AgentNativeHostBridgeEvent,\n type AgentNativeHostBridgeOptions,\n type AgentNativeHostCapabilities,\n type AgentNativeHostCommandHandler,\n type AgentNativeHostCommandHandlers,\n type AgentNativeHostCommandRequest,\n type AgentNativeHostContext,\n type AgentNativeHostContextGetter,\n type AgentNativeHostInit,\n type AgentNativeHostMessageType,\n type AgentNativeHostRequestOptions,\n type AgentNativeHostResourceContext,\n type AgentNativeHostRouteContext,\n type AgentNativeHostSelectionContext,\n type AgentNativeHostSession,\n type AgentNativeJsonSchema,\n type AgentNativeScreenSnapshot,\n type AgentNativeScreenSnapshotOptions,\n type BuiltInAgentNativeHostCommand,\n} from \"./host-bridge.js\";\nexport {\n AGENT_NATIVE_HOST_TOOL_NAMES,\n createAgentNativeHostTools,\n type AgentNativeHostToolDefinition,\n type AgentNativeHostToolName,\n type AgentNativeHostToolParameters,\n type AgentNativeHostToolSet,\n type CreateAgentNativeHostToolsOptions,\n type RunAgentNativeHostActionToolInput,\n type SendAgentNativeHostCommandToolInput,\n} from \"./host-tools.js\";\nexport {\n createAgentNativeBrowserSessionBridge,\n startAgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridgeOptions,\n} from \"./browser-session-bridge.js\";\nexport type {\n AgentNativeBrowserSession,\n AgentNativeBrowserSessionAction,\n AgentNativeBrowserSessionRecord,\n AgentNativeBrowserSessionRequest,\n AgentNativeBrowserSessionRequestStatus,\n AgentNativeBrowserSessionRequestType,\n CreateAgentNativeBrowserSessionRequestInput,\n RegisterAgentNativeBrowserSessionInput,\n} from \"../browser-sessions/types.js\";\nexport {\n NewWorkspaceAppFlow,\n type NewWorkspaceAppFlowProps,\n type VaultSecretOption,\n} from \"./NewWorkspaceAppFlow.js\";\nexport {\n AssistantChat,\n clearChatStorage,\n type AssistantChatProps,\n type AssistantChatHandle,\n type AssistantChatAdapterContext,\n} from \"./AssistantChat.js\";\nexport {\n MultiTabAssistantChat,\n type MultiTabAssistantChatProps,\n type MultiTabAssistantChatHeaderProps,\n} from \"./MultiTabAssistantChat.js\";\nexport { RunStuckBanner, type RunStuckBannerProps } from \"./RunStuckBanner.js\";\nexport {\n KeepTabOpenNotice,\n type KeepTabOpenNoticeProps,\n} from \"./KeepTabOpenNotice.js\";\nexport {\n useRunStuckDetection,\n useAbortRun,\n type RunStuckState,\n type UseRunStuckDetectionOptions,\n} from \"./use-run-stuck-detection.js\";\nexport {\n createAgentChatAdapter,\n type AgentChatSurfaceKind,\n type CreateAgentChatAdapterOptions,\n} from \"./agent-chat-adapter.js\";\nexport {\n AgentComposerFrame,\n type AgentComposerFrameProps,\n PromptComposer,\n RealtimeVoiceModeBoundary,\n RealtimeVoiceModeProvider,\n RealtimeVoiceModeDock,\n RealtimeVoiceModeEntry,\n TiptapComposer,\n AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES,\n AGENT_PROMPT_MAX_INLINE_TEXT_CHARS,\n escapePromptAttachmentAttribute,\n formatPromptWithAttachments,\n isInlineableAgentPromptFile,\n readAgentPromptAttachment,\n createRealtimeVoiceSession,\n createRealtimeVoiceSessionWithCapability,\n executeRealtimeVoiceTool,\n extractRealtimeVoiceFunctionCalls,\n readRealtimeVoiceContext,\n useRealtimeVoiceMode,\n useRealtimeVoiceModeCopy,\n useRealtimeVoiceModeOptional,\n type PromptComposerProps,\n type PromptComposerFile,\n type PromptComposerSubmitOptions,\n type RealtimeVoiceModeCopy,\n type RealtimeVoiceModeDockProps,\n type RealtimeVoiceModeEntryProps,\n type RealtimeVoiceSessionAnswer,\n type RealtimeVoiceModeInlineSettings,\n type RealtimeVoiceModeSelectSetting,\n type RealtimeVoiceModeSettingOption,\n type RealtimeVoiceModeState,\n type RealtimeVoiceModeApi,\n type RealtimeVoiceModeProviderProps,\n type RealtimeVoiceToolResult,\n type ComposerSubmitIntent,\n type AgentPromptAttachment,\n type ReadAgentPromptAttachmentOptions,\n type AgentComposerLayoutVariant,\n type SlashCommand,\n type SkillResult,\n type TiptapComposerHandle,\n type TiptapComposerProps,\n type TiptapComposerSubmitOptions,\n} from \"./composer/index.js\";\nexport {\n GuidedQuestionFlow,\n useGuidedQuestionFlow,\n askUserQuestion,\n formatGuidedAnswerValue,\n formatGuidedAnswersForAgent,\n getOtherGuidedAnswerText,\n hasGuidedAnswer,\n isOtherGuidedAnswer,\n makeOtherGuidedAnswer,\n normalizeGuidedAnswers,\n type AskUserQuestionInput,\n type AskUserQuestionOption,\n type AskUserQuestionResult,\n type GuidedQuestion,\n type GuidedQuestionAnswers,\n type GuidedQuestionFlowProps,\n type GuidedQuestionOption,\n type GuidedQuestionPayload,\n type GuidedQuestionType,\n type UseGuidedQuestionFlowOptions,\n} from \"./guided-questions.js\";\nexport {\n useChatThreads,\n type ChatThreadScope,\n type ChatThreadSnapshot,\n type ChatThreadSummary,\n type ChatThreadData,\n type ChatThreadShareLink,\n type ChatThreadShareState,\n type UseChatThreadsOptions,\n} from \"./use-chat-threads.js\";\nexport {\n ChatHistoryList,\n type ChatHistoryItem,\n type ChatHistorySection,\n type ChatHistoryListProps,\n} from \"./chat/ChatHistoryList.js\";\nexport { AgentChatHome, type AgentChatHomeProps } from \"./AgentChatHome.js\";\nexport {\n AgentChatSurface,\n AgentPanel,\n AgentSidebar,\n AgentToggleButton,\n focusAgentChat,\n type AgentChatSurfaceMode,\n type AgentChatSurfaceProps,\n type AgentPanelProps,\n type AgentSidebarProps,\n} from \"./AgentPanel.js\";\nexport {\n AgentTabsPage,\n type AgentPageExtraTabContext,\n type AgentPageExtraTabFactory,\n type AgentTabsPageProps,\n} from \"./agent-page/AgentTabsPage.js\";\nexport type { AgentPageScope, AgentPageTabProps } from \"./agent-page/types.js\";\nexport {\n AGENT_CHAT_HOME_HANDOFF_TTL_MS,\n AGENT_CHAT_VIEW_TRANSITION_CLASS,\n AGENT_CHAT_VIEW_TRANSITION_NAME,\n consumeAgentChatHomeHandoff,\n getAgentChatViewTransitionStyle,\n isAgentChatHomeHandoffActive,\n markAgentChatHomeHandoff,\n navigateWithAgentChatViewTransition,\n startAgentChatViewTransition,\n supportsAgentChatViewTransition,\n type AgentChatHomeHandoffOptions,\n type AgentChatViewTransition,\n type AgentChatViewTransitionOptions,\n} from \"./chat-view-transition.js\";\nexport {\n useAgentChatHomeHandoff,\n useAgentChatHomeHandoffLinks,\n type UseAgentChatHomeHandoffLinksOptions,\n type UseAgentChatHomeHandoffOptions,\n} from \"./use-agent-chat-home-handoff.js\";\nexport {\n requestAgentSidebarOpen,\n SIDEBAR_STATE_CHANGE_EVENT,\n setAgentSidebarOpenPreference,\n type AgentSidebarStateChangeDetail,\n type AgentSidebarStateMode,\n type AgentSidebarStateSource,\n} from \"./agent-sidebar-state.js\";\nexport {\n clearReservedToolRenderersForTests,\n clearToolRenderersForTests,\n registerActionChatRenderer,\n registerFallbackToolRenderer,\n registerReservedActionChatRenderer,\n registerReservedFallbackToolRenderer,\n registerReservedToolRenderer,\n registerToolRenderer,\n resolveToolRenderer,\n type ActionChatRendererRegistration,\n type ToolRendererComponent,\n type ToolRendererContext,\n type ToolRendererMatch,\n type ToolRendererProps,\n type ToolRendererRegistration,\n} from \"./chat/tool-render-registry.js\";\nexport * from \"./chat/connectors.js\";\nexport * from \"./chat/runtime.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n type ActionChatUIConfig,\n} from \"../action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./chat/widgets/data-widget-types.js\";\nexport { AgentNativeIcon } from \"./components/icons/AgentNativeIcon.js\";\nexport {\n FeatureFlagsEditor,\n evaluatedFeatureFlagValues,\n featureFlagValue,\n useFeatureFlag,\n useFeatureFlags,\n type FeatureFlagActor,\n type FeatureFlagMetadata,\n type FeatureFlagRules,\n type SetFeatureFlagInput,\n} from \"./feature-flags/index.js\";\nexport {\n SettingsPanel,\n SettingsTabsPage,\n SecretsSection,\n getAgentSettingsSearchTabs,\n openBuilderConnectPopup,\n useAgentSettingsTabs,\n useBuilderConnectFlow,\n useBuilderStatus,\n withBuilderConnectTrackingParams,\n type BuilderConnectFlow,\n type BuilderConnectFlowOptions,\n type BuilderConnectStartOptions,\n type BuilderStatus,\n type AgentSettingsSearchTab,\n type OpenBuilderConnectPopupOptions,\n type SecretsSectionProps,\n type SettingsPanelProps,\n type SettingsSearchEntry,\n type SettingsTabItem,\n type SettingsTabsPageProps,\n} from \"./settings/index.js\";\nexport { Turnstile, type TurnstileProps } from \"./Turnstile.js\";\nexport {\n OpenSourceBadge,\n PoweredByBadge,\n type OpenSourceBadgeProps,\n type PoweredByBadgeProps,\n} from \"./PoweredByBadge.js\";\nexport {\n StarfieldBackground,\n type StarfieldBackgroundProps,\n} from \"./StarfieldBackground.js\";\nexport { FeedbackButton, type FeedbackButtonProps } from \"./FeedbackButton.js\";\nexport {\n ErrorReportActions,\n type ErrorReportActionsProps,\n} from \"./ErrorReportActions.js\";\nexport {\n buildErrorReportTemplate,\n buildGitHubIssueUrl,\n type ErrorReportDebugItem,\n type ErrorReportTemplateOptions,\n} from \"./error-reporting.js\";\nexport { getClientSurface, type ClientSurface } from \"./client-surface.js\";\nexport {\n DevDatabaseLink,\n type DevDatabaseLinkProps,\n} from \"./db-admin/DevDatabaseLink.js\";\nexport { DbAdminPage } from \"./db-admin/DbAdminPage.js\";\nexport { ErrorBoundary } from \"./ErrorBoundary.js\";\nexport {\n installRouteChunkRecovery,\n reloadForStaleChunk,\n recoverFromStaleChunkError,\n} from \"./route-chunk-recovery.js\";\nexport { ClientOnly } from \"./ClientOnly.js\";\nexport { DefaultSpinner } from \"./DefaultSpinner.js\";\nexport {\n getThemeInitScript,\n themeInitScript,\n type ThemePreference,\n} from \"./theme.js\";\nexport {\n APPEARANCE_PRESETS,\n applyAppearance,\n getStoredAppearance,\n useAppearance,\n useAppearanceSync,\n type AppearancePresetId,\n} from \"./appearance.js\";\nexport {\n AppearancePicker,\n type AppearancePickerProps,\n} from \"./AppearancePicker.js\";\nexport { AgentTerminal, type AgentTerminalProps } from \"./terminal/index.js\";\nexport {\n trackEvent,\n trackAgentChatLifecycle,\n trackSessionStatus,\n configureTracking,\n setTrackingContentCaptureEnabled,\n maybeStartSessionReplay,\n startSessionReplay,\n stopSessionReplay,\n getAnalyticsAnonymousId,\n getAnalyticsSessionId,\n getFirstTouchAttribution,\n setSentryUser,\n setTrackingIdentity,\n getSessionReplayContext,\n getSessionReplayUrl,\n captureError,\n captureClientException,\n // First-party, Sentry-style error capture (auto + manual API).\n AGENT_NATIVE_EXCEPTION_EVENT_NAME,\n addErrorBreadcrumb,\n captureException,\n captureMessage,\n isErrorCaptureInstalled,\n type CaptureExceptionContext,\n type CapturedExceptionEvent,\n type ClientCaptureContext,\n type AgentChatLifecycleEvent,\n type ConfigureTrackingOptions,\n type ErrorCaptureConfigOptions,\n type ExceptionBreadcrumb,\n type ExceptionLevel,\n type FirstTouchAttribution,\n type SessionReplayOptions,\n type SessionReplayContext,\n type SessionReplayLinkOptions,\n type SessionReplayStartResult,\n type SessionReplayUrlMatcher,\n type TrackingIdentityUser,\n} from \"./analytics.js\";\nexport { track } from \"./track.js\";\nexport {\n useCollaborativeDoc,\n isReconcileLeadClient,\n emailToColor,\n emailToName,\n dedupeCollabUsersByEmail,\n type UseCollaborativeDocOptions,\n type UseCollaborativeDocResult,\n type CollabUser,\n} from \"../collab/client.js\";\nexport { AGENT_CLIENT_ID } from \"../collab/agent-identity.js\";\n// Presence kit\nexport {\n usePresence,\n toNormalized,\n fromNormalized,\n type OtherPresence,\n type PresencePayload,\n type UsePresenceResult,\n type NormalizedPoint,\n} from \"../collab/presence.js\";\nexport {\n useFollowUser,\n type UseFollowUserOptions,\n type UseFollowUserResult,\n type ViewportDescriptor,\n} from \"../collab/follow-mode.js\";\nexport {\n ResourcesPanel,\n ResourceTree,\n ResourceEditor,\n useResources,\n useResourceTree,\n useResource,\n useCreateResource,\n useUpdateResource,\n useDeleteResource,\n useUploadResource,\n type Resource,\n type ResourceMeta,\n type TreeNode,\n type ResourceScope,\n type ResourceTreeProps,\n type ResourceEditorProps,\n} from \"./resources/index.js\";\nexport type { ResourcesPanelProps } from \"./resources/ResourcesPanel.js\";\nexport {\n HistoryTimeline,\n VersionHistoryPanel,\n useCreateResourceVersion,\n useResourceHistory,\n useResourceVersion,\n useResourceVersions,\n useRestoreResourceVersion,\n type CreateResourceVersionInput,\n type GetResourceVersionInput,\n type GetResourceVersionResult,\n type ListResourceHistoryResult,\n type ListResourceVersionsResult,\n type ResourceHistoryParams,\n type ResourceVersionsParams,\n type RestoreResourceVersionInput,\n type RestoreResourceVersionResult,\n type VersionHistoryPanelProps,\n} from \"./history/index.js\";\nexport {\n ReviewCommentComposer,\n ReviewStatusBadge,\n ReviewThreadPanel,\n buildReviewThreads,\n useConsumeReviewFeedback,\n useCreateReviewComment,\n useDeleteReviewComment,\n useReplyReviewComment,\n useResolveReviewThread,\n useReviewComments,\n useReviewFeedback,\n useSendReviewThreadToAgent,\n useSetReviewStatus,\n type ConsumeReviewFeedbackInput,\n type CreateReviewCommentInput,\n type DeleteReviewCommentInput,\n type GetReviewFeedbackParams,\n type GetReviewFeedbackResult,\n type ListReviewCommentsParams,\n type ListReviewCommentsResult,\n type ReplyReviewCommentInput,\n type ResolveReviewThreadInput,\n type ReviewStatusBadgeProps,\n type ReviewCommentComposerProps,\n type ReviewThread,\n type ReviewThreadPanelProps,\n type SetReviewStatusInput,\n type SendReviewThreadToAgentInput,\n} from \"./review/index.js\";\nexport type {\n AppToFrameMessage,\n FrameToAppMessage,\n FrameMessage,\n CodeCompleteMessage,\n ChatRunningMessage,\n} from \"./frame-protocol.js\";\nexport {\n CommandMenu,\n openAgentSidebar,\n openAgentSettings,\n submitToAgent,\n useCommandMenuShortcut,\n type CommandMenuProps,\n type CommandMenuDoc,\n type CommandDocsGroupProps,\n type CommandGroupProps,\n type CommandItemProps,\n type CommandShortcutProps,\n} from \"./CommandMenu.js\";\nexport {\n buildOpenRouteLink,\n buildOpenRoutePath,\n buildResourceRoute,\n buildSettingsRoute,\n buildStandardAppRoute,\n buildTeamRoute,\n createStandardOpenPathResolver,\n STANDARD_APP_ROUTES,\n STANDARD_SETTINGS_TABS,\n type BuildResourceRouteOptions,\n type BuildStandardAppRouteOptions,\n type NavigationLink,\n type NavigationTarget,\n type StandardAppRouteId,\n type StandardOpenPathResolverOptions,\n type StandardOpenPathRoute,\n type StandardSettingsTabId,\n} from \"../navigation/index.js\";\nexport {\n BuilderConnectCard,\n ProviderReadinessBadge,\n SetupConnectionsPage,\n type BuilderConnectCardProps,\n type ProviderReadinessBadgeProps,\n type SetupConnectionsPageProps,\n} from \"./setup-connections/index.js\";\nexport {\n listIntegrationEnvStatuses,\n listIntegrationStatuses,\n saveIntegrationEnvVars,\n setIntegrationEnabled,\n setupIntegration,\n disconnectManagedIntegrationInstallation,\n listManagedIntegrationInstallations,\n managedIntegrationOAuthUrl,\n managedSlackAgentManifestUrl,\n listManagedIntegrationScopes,\n saveManagedIntegrationScope,\n listManagedIntegrationBudgets,\n listManagedIntegrationMemory,\n forgetManagedIntegrationMemory,\n saveManagedIntegrationBudget,\n testManagedIntegrationInstallation,\n IntegrationClientError,\n type ClientIntegrationInstallation,\n type ClientIntegrationScope,\n type ClientIntegrationUsageBudget,\n type ClientIntegrationMemory,\n type ClientIntegrationStatus,\n type IntegrationEnvStatus,\n type SavedEnvVarsResult,\n} from \"./integrations/index.js\";\nexport {\n invokeConfiguredAutomationWorkflow,\n type InvokeConfiguredAutomationWorkflowInput,\n} from \"./automation.js\";\nexport {\n ChangelogDialog,\n ChangelogSettingsCard,\n useChangelogSeen,\n parseChangelog,\n type ChangelogDialogProps,\n type ChangelogSettingsCardProps,\n type ChangelogEntry,\n} from \"./changelog/Changelog.js\";\nexport {\n DevOverlay,\n useDevOverlayShortcut,\n registerDevPanel,\n unregisterDevPanel,\n listDevPanels,\n subscribeDevPanels,\n useDevOption,\n clearAllDevOverlayStorage,\n devOptionKey,\n DEV_OVERLAY_STORAGE_PREFIX,\n type DevOverlayProps,\n type DevPanel,\n type DevOption,\n type DevBooleanOption,\n type DevSelectOption,\n type DevStringOption,\n type DevActionOption,\n type DevOptionValue,\n} from \"./dev-overlay/index.js\";\nexport {\n ACTION_KEEPALIVE_BODY_BUDGET_BYTES,\n callAction,\n tryCallActionKeepalive,\n useActionQuery,\n useActionMutation,\n type ActionRegistry,\n type ClientActionCallOptions,\n type ClientActionMethod,\n type KeepaliveActionCallRejectionReason,\n type KeepaliveActionCallResult,\n} from \"./use-action.js\";\nexport { createAgentNativeQueryClient } from \"./create-query-client.js\";\nexport { AppProviders, type AppProvidersProps } from \"./app-providers.js\";\nexport { usePinchZoom, type UsePinchZoomOptions } from \"./use-pinch-zoom.js\";\nexport {\n ShareButton,\n ShareDialog,\n VisibilityBadge,\n type ShareButtonProps,\n type ShareDialogProps,\n type VisibilityBadgeProps,\n} from \"./sharing/index.js\";\nexport {\n postNavigate,\n isInAgentEmbed,\n AGENT_NAVIGATE_MESSAGE_TYPE,\n type AgentNavigateMessage,\n} from \"./embed.js\";\nexport { IframeEmbed, parseEmbedBody } from \"./IframeEmbed.js\";\nexport {\n useAvatarUrl,\n uploadAvatar,\n invalidateAvatarCache,\n} from \"./use-avatar.js\";\nexport {\n ObservabilityDashboard,\n ThumbsFeedback,\n} from \"./observability/index.js\";\n// Presence UI components\nexport {\n PresenceBar,\n type PresenceBarProps,\n} from \"./components/PresenceBar.js\";\nexport {\n AgentPresenceChip,\n type AgentPresenceChipProps,\n} from \"./components/AgentPresenceChip.js\";\nexport {\n LiveCursorOverlay,\n type LiveCursorOverlayProps,\n type CursorMapFn,\n} from \"./components/LiveCursorOverlay.js\";\nexport {\n RemoteSelectionRings,\n type RemoteSelectionRingsProps,\n type SelectionDescriptor,\n} from \"./components/RemoteSelectionRings.js\";\nexport {\n RecentEditHighlights,\n type RecentEditHighlightsProps,\n} from \"./components/RecentEditHighlights.js\";\n// Recent-edit attribution (lingering highlights)\nexport {\n appendRecentEdit,\n collectRecentEdits,\n publishRecentEdit,\n useRecentEdits,\n RECENT_EDITS_MAX,\n RECENT_EDIT_TTL_MS,\n type RecentEdit,\n type RecentEditDescriptor,\n type AttributedRecentEdit,\n type UseRecentEditsOptions,\n} from \"../collab/recent-edits.js\";\n// Per-user undo/redo\nexport {\n useCollabUndo,\n useLocalOpUndo,\n createLocalOpUndoController,\n type UseCollabUndoOptions,\n type UseCollabUndoResult,\n type CollabUndoScope,\n type UseLocalOpUndoOptions,\n type UseLocalOpUndoResult,\n type LocalOpUndoEntry,\n type LocalOpUndoController,\n type CreateLocalOpUndoOptions,\n type UndoKeyboardOptions,\n} from \"../collab/undo.js\";\n// Structured data collaboration hooks\nexport {\n useCollaborativeMap,\n useCollaborativeArray,\n type UseCollaborativeMapOptions,\n type UseCollaborativeMapResult,\n type UseCollaborativeArrayOptions,\n type UseCollaborativeArrayResult,\n} from \"../collab/client-struct.js\";\nexport { NotificationsBell } from \"./notifications/index.js\";\n// Block registry (also available as the dedicated `@agent-native/core/blocks`\n// subpath, which server/agent code should prefer via `/blocks/server`).\nexport {\n defineBlock,\n BlockRegistry,\n registerBlocks,\n BlockRegistryProvider,\n useBlockRegistry,\n useOptionalBlockRegistry,\n BlockView,\n SchemaBlockEditor,\n markdown,\n richtext,\n introspect,\n serializeSpecBlock,\n parseSpecBlock,\n createAttrReader,\n childCodeFenceFields,\n serializeChildCodeFenceFields,\n describeBlocksForAgent,\n renderBlockVocabularyReference,\n type BlockSpec,\n type BlockPlacement,\n type BlockMdxConfig,\n type BlockAttrReader,\n type BlockRenderContext,\n type BlockReadProps,\n type BlockEditProps,\n type MdxAttrValue,\n type FieldKind,\n type FieldDescriptor,\n type MdxJsxNode,\n type MdxAttrNode,\n type SerializableBlock,\n type ParsedBlockBase,\n type BlockAgentDoc,\n} from \"./blocks/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GAInB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AACjD,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,IAAI,EACJ,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,GASlB,MAAM,WAAW,CAAC;AACnB,OAAO;AACL,2EAA2E;AAC3E,gCAAgC;AAChC,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,kBAAkB,EAClB,sCAAsC,EACtC,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB;AACvB,2EAA2E;AAC3E,6EAA6E;AAC7E,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,uBAAuB;AACvB,qEAAqE;AACrE,kBAAkB,EAClB,4BAA4B;AAC5B,yEAAyE;AACzE,6EAA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AmB,CAAC;AAC3B,OAAO,EACL,mBAAmB,EACnB,qBAAqB,GAKtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,GAgB/B,MAAM,mBAAmB,CAAC","sourcesContent":["/**\n * @deprecated Import from a focused @agent-native/core/client/* entrypoint instead.\n * Compatibility aggregation only; new code must not import this barrel.\n */\nexport * from \"./agent-chat/index.js\";\nexport * from \"./hooks/index.js\";\nexport * from \"./navigation/index.js\";\nexport * from \"./host/index.js\";\nexport * from \"./widgets/index.js\";\nexport * from \"./ui/index.js\";\n\nexport {\n VisualControlRow,\n VisualColorPicker,\n VisualInspectorPanel,\n VisualInspectorSection,\n VisualScrubInput,\n VisualSegmentedControl,\n VisualSliderControl,\n VisualSwatchControl,\n VisualToggleControl,\n VisualTweakControl,\n type VisualControlOption,\n type VisualControlValue,\n type VisualTweakDefinition,\n} from \"@agent-native/toolkit/design-tweaks\";\nexport { cn } from \"@agent-native/toolkit/utils\";\nexport {\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./i18n.js\";\nexport {\n // Shared editor core (Phase 1): the ONE configurable surface both the plan\n // and content editors build on.\n SharedRichEditor,\n createSharedEditorExtensions,\n MARKDOWN_DIALECT_CONFIG,\n useCollabReconcile,\n RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION,\n getEditorMarkdown,\n SlashCommandMenu,\n DEFAULT_SLASH_COMMANDS,\n createImageSlashCommand,\n // Shared block-level image node + injectable upload contract. Plans opt in\n // via `features.image` + `onImageUpload`; Content keeps its own image block.\n SharedImage,\n createImageExtension,\n pickAndInsertImage,\n uploadEditorImage,\n BubbleToolbar,\n buildDefaultBubbleItems,\n // Back-compat alias + factory kept for existing embedders and specs.\n RichMarkdownEditor,\n createRichMarkdownExtensions,\n // Single-doc plan editor primitives: the GFM↔ProseMirror serializer, the\n // run-id prose attribute, and the shared drag-handle (block grip + reorder).\n RunId,\n RUN_ID_NODE_TYPES,\n gfmToProseJSON,\n proseJSONToGfm,\n DragHandle,\n DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR,\n // Generic registry-block Tiptap NodeView + side-map provider + dedupe plugin.\n // Hosts mount the node from `createRegistryBlockNode` as an extra extension\n // and wrap the editor in `RegistryBlockDataProvider`.\n createRegistryBlockNode,\n RegistryBlockNodeView,\n RegistryBlockDataProvider,\n useRegistryBlockData,\n // Shared registry-derived block slash-command builder (plan + content adapt it).\n buildRegistryBlockSlashItems,\n getRegistryBlockSlashDescription,\n getRegistryBlockSlashSearchText,\n type BuildRegistryBlockSlashItemsOptions,\n type DragHandleDropContext,\n type DragHandleDropPlacement,\n type DragHandleOptions,\n type CreateRegistryBlockNodeOptions,\n type RegistryBlockDataValue,\n type RegistryBlockSideMapBlock,\n type SharedRichEditorProps,\n type SharedEditorCollab,\n type SharedEditorFeatures,\n type CreateSharedEditorExtensionsOptions,\n type UseCollabReconcileOptions,\n type UseCollabReconcileResult,\n type SlashCommandItem,\n type SlashCommandMenuProps,\n type ImageUploadFn,\n type SharedImageOptions,\n type BubbleToolbarItem,\n type BubbleToolbarProps,\n type RichMarkdownDialect,\n type RichMarkdownEditorPreset,\n type RichMarkdownEditorProps,\n type RichMarkdownCollabUser,\n type CreateRichMarkdownExtensionsOptions,\n} from \"./rich-markdown-editor/index.js\";\nexport type { JSONContent } from \"@tiptap/core\";\nexport {\n AgentComposerFrame,\n type AgentComposerFrameProps,\n PromptComposer,\n RealtimeVoiceModeBoundary,\n RealtimeVoiceModeProvider,\n RealtimeVoiceModeDock,\n RealtimeVoiceModeEntry,\n TiptapComposer,\n AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES,\n AGENT_PROMPT_MAX_INLINE_TEXT_CHARS,\n escapePromptAttachmentAttribute,\n formatPromptWithAttachments,\n isInlineableAgentPromptFile,\n readAgentPromptAttachment,\n createRealtimeVoiceSession,\n createRealtimeVoiceSessionWithCapability,\n executeRealtimeVoiceTool,\n extractRealtimeVoiceFunctionCalls,\n readRealtimeVoiceContext,\n useRealtimeVoiceMode,\n useRealtimeVoiceModeCopy,\n useRealtimeVoiceModeOptional,\n type PromptComposerProps,\n type PromptComposerFile,\n type PromptComposerSubmitOptions,\n type RealtimeVoiceModeCopy,\n type RealtimeVoiceModeDockProps,\n type RealtimeVoiceModeEntryProps,\n type RealtimeVoiceSessionAnswer,\n type RealtimeVoiceModeInlineSettings,\n type RealtimeVoiceModeSelectSetting,\n type RealtimeVoiceModeSettingOption,\n type RealtimeVoiceModeState,\n type RealtimeVoiceModeApi,\n type RealtimeVoiceModeProviderProps,\n type RealtimeVoiceToolResult,\n type ComposerSubmitIntent,\n type AgentPromptAttachment,\n type ReadAgentPromptAttachmentOptions,\n type AgentComposerLayoutVariant,\n type SlashCommand,\n type SkillResult,\n type TiptapComposerHandle,\n type TiptapComposerProps,\n type TiptapComposerSubmitOptions,\n} from \"./composer/index.js\";\nexport { AgentNativeIcon } from \"./components/icons/AgentNativeIcon.js\";\nexport {\n FeatureFlagsEditor,\n evaluatedFeatureFlagValues,\n featureFlagValue,\n useFeatureFlag,\n useFeatureFlags,\n type FeatureFlagActor,\n type FeatureFlagMetadata,\n type FeatureFlagRules,\n type SetFeatureFlagInput,\n} from \"./feature-flags/index.js\";\nexport {\n SettingsPanel,\n SettingsTabsPage,\n SecretsSection,\n getAgentSettingsSearchTabs,\n openBuilderConnectPopup,\n useAgentSettingsTabs,\n useBuilderConnectFlow,\n useBuilderStatus,\n withBuilderConnectTrackingParams,\n type BuilderConnectFlow,\n type BuilderConnectFlowOptions,\n type BuilderConnectStartOptions,\n type BuilderStatus,\n type AgentSettingsSearchTab,\n type OpenBuilderConnectPopupOptions,\n type SecretsSectionProps,\n type SettingsPanelProps,\n type SettingsSearchEntry,\n type SettingsTabItem,\n type SettingsTabsPageProps,\n} from \"./settings/index.js\";\nexport {\n DevDatabaseLink,\n type DevDatabaseLinkProps,\n} from \"./db-admin/DevDatabaseLink.js\";\nexport { DbAdminPage } from \"./db-admin/DbAdminPage.js\";\nexport {\n installRouteChunkRecovery,\n reloadForStaleChunk,\n recoverFromStaleChunkError,\n} from \"./route-chunk-recovery.js\";\nexport { AgentTerminal, type AgentTerminalProps } from \"./terminal/index.js\";\nexport {\n trackEvent,\n trackAgentChatLifecycle,\n trackSessionStatus,\n configureTracking,\n setTrackingContentCaptureEnabled,\n maybeStartSessionReplay,\n startSessionReplay,\n stopSessionReplay,\n getAnalyticsAnonymousId,\n getAnalyticsSessionId,\n getFirstTouchAttribution,\n setSentryUser,\n setTrackingIdentity,\n getSessionReplayContext,\n getSessionReplayUrl,\n captureError,\n captureClientException,\n // First-party, Sentry-style error capture (auto + manual API).\n AGENT_NATIVE_EXCEPTION_EVENT_NAME,\n addErrorBreadcrumb,\n captureException,\n captureMessage,\n isErrorCaptureInstalled,\n type CaptureExceptionContext,\n type CapturedExceptionEvent,\n type ClientCaptureContext,\n type AgentChatLifecycleEvent,\n type ConfigureTrackingOptions,\n type ErrorCaptureConfigOptions,\n type ExceptionBreadcrumb,\n type ExceptionLevel,\n type FirstTouchAttribution,\n type SessionReplayOptions,\n type SessionReplayContext,\n type SessionReplayLinkOptions,\n type SessionReplayStartResult,\n type SessionReplayUrlMatcher,\n type TrackingIdentityUser,\n} from \"./analytics.js\";\nexport { track } from \"./track.js\";\nexport {\n useCollaborativeDoc,\n isReconcileLeadClient,\n emailToColor,\n emailToName,\n dedupeCollabUsersByEmail,\n type UseCollaborativeDocOptions,\n type UseCollaborativeDocResult,\n type CollabUser,\n} from \"../collab/client.js\";\nexport { AGENT_CLIENT_ID } from \"../collab/agent-identity.js\";\nexport {\n usePresence,\n toNormalized,\n fromNormalized,\n type OtherPresence,\n type PresencePayload,\n type UsePresenceResult,\n type NormalizedPoint,\n} from \"../collab/presence.js\";\nexport {\n useFollowUser,\n type UseFollowUserOptions,\n type UseFollowUserResult,\n type ViewportDescriptor,\n} from \"../collab/follow-mode.js\";\nexport {\n ResourcesPanel,\n ResourceTree,\n ResourceEditor,\n useResources,\n useResourceTree,\n useResource,\n useCreateResource,\n useUpdateResource,\n useDeleteResource,\n useUploadResource,\n type Resource,\n type ResourceMeta,\n type TreeNode,\n type ResourceScope,\n type ResourceTreeProps,\n type ResourceEditorProps,\n} from \"./resources/index.js\";\nexport type { ResourcesPanelProps } from \"./resources/ResourcesPanel.js\";\nexport {\n HistoryTimeline,\n VersionHistoryPanel,\n useCreateResourceVersion,\n useResourceHistory,\n useResourceVersion,\n useResourceVersions,\n useRestoreResourceVersion,\n type CreateResourceVersionInput,\n type GetResourceVersionInput,\n type GetResourceVersionResult,\n type ListResourceHistoryResult,\n type ListResourceVersionsResult,\n type ResourceHistoryParams,\n type ResourceVersionsParams,\n type RestoreResourceVersionInput,\n type RestoreResourceVersionResult,\n type VersionHistoryPanelProps,\n} from \"./history/index.js\";\nexport {\n ReviewCommentComposer,\n ReviewStatusBadge,\n ReviewThreadPanel,\n buildReviewThreads,\n useConsumeReviewFeedback,\n useCreateReviewComment,\n useDeleteReviewComment,\n useReplyReviewComment,\n useResolveReviewThread,\n useReviewComments,\n useReviewFeedback,\n useSendReviewThreadToAgent,\n useSetReviewStatus,\n type ConsumeReviewFeedbackInput,\n type CreateReviewCommentInput,\n type DeleteReviewCommentInput,\n type GetReviewFeedbackParams,\n type GetReviewFeedbackResult,\n type ListReviewCommentsParams,\n type ListReviewCommentsResult,\n type ReplyReviewCommentInput,\n type ResolveReviewThreadInput,\n type ReviewStatusBadgeProps,\n type ReviewCommentComposerProps,\n type ReviewThread,\n type ReviewThreadPanelProps,\n type SetReviewStatusInput,\n type SendReviewThreadToAgentInput,\n} from \"./review/index.js\";\nexport {\n BuilderConnectCard,\n ProviderReadinessBadge,\n SetupConnectionsPage,\n type BuilderConnectCardProps,\n type ProviderReadinessBadgeProps,\n type SetupConnectionsPageProps,\n} from \"./setup-connections/index.js\";\nexport {\n listIntegrationEnvStatuses,\n listIntegrationStatuses,\n saveIntegrationEnvVars,\n setIntegrationEnabled,\n setupIntegration,\n disconnectManagedIntegrationInstallation,\n listManagedIntegrationInstallations,\n managedIntegrationOAuthUrl,\n managedSlackAgentManifestUrl,\n listManagedIntegrationScopes,\n saveManagedIntegrationScope,\n listManagedIntegrationBudgets,\n listManagedIntegrationMemory,\n forgetManagedIntegrationMemory,\n saveManagedIntegrationBudget,\n testManagedIntegrationInstallation,\n IntegrationClientError,\n type ClientIntegrationInstallation,\n type ClientIntegrationScope,\n type ClientIntegrationUsageBudget,\n type ClientIntegrationMemory,\n type ClientIntegrationStatus,\n type IntegrationEnvStatus,\n type SavedEnvVarsResult,\n} from \"./integrations/index.js\";\nexport {\n invokeConfiguredAutomationWorkflow,\n type InvokeConfiguredAutomationWorkflowInput,\n} from \"./automation.js\";\nexport {\n ChangelogDialog,\n ChangelogSettingsCard,\n useChangelogSeen,\n parseChangelog,\n type ChangelogDialogProps,\n type ChangelogSettingsCardProps,\n type ChangelogEntry,\n} from \"./changelog/Changelog.js\";\nexport {\n DevOverlay,\n useDevOverlayShortcut,\n registerDevPanel,\n unregisterDevPanel,\n listDevPanels,\n subscribeDevPanels,\n useDevOption,\n clearAllDevOverlayStorage,\n devOptionKey,\n DEV_OVERLAY_STORAGE_PREFIX,\n type DevOverlayProps,\n type DevPanel,\n type DevOption,\n type DevBooleanOption,\n type DevSelectOption,\n type DevStringOption,\n type DevActionOption,\n type DevOptionValue,\n} from \"./dev-overlay/index.js\";\nexport {\n ShareButton,\n ShareDialog,\n type ShareButtonProps,\n type ShareDialogProps,\n} from \"./sharing/index.js\";\nexport {\n VisibilityBadge,\n type VisibilityBadgeProps,\n} from \"@agent-native/toolkit/sharing\";\nexport {\n ObservabilityDashboard,\n ThumbsFeedback,\n} from \"./observability/index.js\";\nexport {\n PresenceBar,\n type PresenceBarProps,\n} from \"@agent-native/toolkit/collab-ui\";\nexport {\n AgentPresenceChip,\n type AgentPresenceChipProps,\n} from \"@agent-native/toolkit/collab-ui\";\nexport {\n LiveCursorOverlay,\n type LiveCursorOverlayProps,\n type CursorMapFn,\n} from \"@agent-native/toolkit/collab-ui\";\nexport {\n RemoteSelectionRings,\n type RemoteSelectionRingsProps,\n type SelectionDescriptor,\n} from \"@agent-native/toolkit/collab-ui\";\nexport {\n RecentEditHighlights,\n type RecentEditHighlightsProps,\n} from \"@agent-native/toolkit/collab-ui\";\nexport {\n appendRecentEdit,\n collectRecentEdits,\n publishRecentEdit,\n useRecentEdits,\n RECENT_EDITS_MAX,\n RECENT_EDIT_TTL_MS,\n type RecentEdit,\n type RecentEditDescriptor,\n type AttributedRecentEdit,\n type UseRecentEditsOptions,\n} from \"../collab/recent-edits.js\";\nexport {\n useCollabUndo,\n useLocalOpUndo,\n createLocalOpUndoController,\n type UseCollabUndoOptions,\n type UseCollabUndoResult,\n type CollabUndoScope,\n type UseLocalOpUndoOptions,\n type UseLocalOpUndoResult,\n type LocalOpUndoEntry,\n type LocalOpUndoController,\n type CreateLocalOpUndoOptions,\n type UndoKeyboardOptions,\n} from \"../collab/undo.js\";\nexport {\n useCollaborativeMap,\n useCollaborativeArray,\n type UseCollaborativeMapOptions,\n type UseCollaborativeMapResult,\n type UseCollaborativeArrayOptions,\n type UseCollaborativeArrayResult,\n} from \"../collab/client-struct.js\";\nexport { NotificationsBell } from \"./notifications/index.js\";\nexport {\n defineBlock,\n BlockRegistry,\n registerBlocks,\n BlockRegistryProvider,\n useBlockRegistry,\n useOptionalBlockRegistry,\n BlockView,\n SchemaBlockEditor,\n markdown,\n richtext,\n introspect,\n serializeSpecBlock,\n parseSpecBlock,\n createAttrReader,\n childCodeFenceFields,\n serializeChildCodeFenceFields,\n describeBlocksForAgent,\n renderBlockVocabularyReference,\n type BlockSpec,\n type BlockPlacement,\n type BlockMdxConfig,\n type BlockAttrReader,\n type BlockRenderContext,\n type BlockReadProps,\n type BlockEditProps,\n type MdxAttrValue,\n type FieldKind,\n type FieldDescriptor,\n type MdxJsxNode,\n type MdxAttrNode,\n type SerializableBlock,\n type ParsedBlockBase,\n type BlockAgentDoc,\n} from \"./blocks/index.js\";\n"]}
@@ -0,0 +1,6 @@
1
+ export { agentNativePath, appApiPath, appBasePath, appPath, } from "../api-path.js";
2
+ export { useAgentRouteState, useSemanticNavigationState, type AgentRouteLocation, type SemanticNavigationCommandEnvelope, type UseAgentRouteStateOptions, type UseAgentRouteStateResult, type UseSemanticNavigationStateOptions, type UseSemanticNavigationStateResult, } from "../route-state.js";
3
+ export { CommandMenu, openAgentSidebar, openAgentSettings, submitToAgent, useCommandMenuShortcut, type CommandMenuProps, type CommandMenuDoc, type CommandDocsGroupProps, type CommandGroupProps, type CommandItemProps, type CommandShortcutProps, } from "../CommandMenu.js";
4
+ export { buildOpenRouteLink, buildOpenRoutePath, buildResourceRoute, buildSettingsRoute, buildStandardAppRoute, buildTeamRoute, createStandardOpenPathResolver, STANDARD_APP_ROUTES, STANDARD_SETTINGS_TABS, type BuildResourceRouteOptions, type BuildStandardAppRouteOptions, type NavigationLink, type NavigationTarget, type StandardAppRouteId, type StandardOpenPathResolverOptions, type StandardOpenPathRoute, type StandardSettingsTabId, } from "../../navigation/index.js";
5
+ export { postNavigate, isInAgentEmbed, AGENT_NAVIGATE_MESSAGE_TYPE, type AgentNavigateMessage, } from "../embed.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,WAAW,EACX,OAAO,GACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,GACtC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,8BAA8B,EAC9B,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EACZ,cAAc,EACd,2BAA2B,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { agentNativePath, appApiPath, appBasePath, appPath, } from "../api-path.js";
2
+ export { useAgentRouteState, useSemanticNavigationState, } from "../route-state.js";
3
+ export { CommandMenu, openAgentSidebar, openAgentSettings, submitToAgent, useCommandMenuShortcut, } from "../CommandMenu.js";
4
+ export { buildOpenRouteLink, buildOpenRoutePath, buildResourceRoute, buildSettingsRoute, buildStandardAppRoute, buildTeamRoute, createStandardOpenPathResolver, STANDARD_APP_ROUTES, STANDARD_SETTINGS_TABS, } from "../../navigation/index.js";
5
+ export { postNavigate, isInAgentEmbed, AGENT_NAVIGATE_MESSAGE_TYPE, } from "../embed.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,WAAW,EACX,OAAO,GACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,0BAA0B,GAO3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,sBAAsB,GAOvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,8BAA8B,EAC9B,mBAAmB,EACnB,sBAAsB,GASvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EACZ,cAAc,EACd,2BAA2B,GAE5B,MAAM,aAAa,CAAC","sourcesContent":["export {\n agentNativePath,\n appApiPath,\n appBasePath,\n appPath,\n} from \"../api-path.js\";\nexport {\n useAgentRouteState,\n useSemanticNavigationState,\n type AgentRouteLocation,\n type SemanticNavigationCommandEnvelope,\n type UseAgentRouteStateOptions,\n type UseAgentRouteStateResult,\n type UseSemanticNavigationStateOptions,\n type UseSemanticNavigationStateResult,\n} from \"../route-state.js\";\nexport {\n CommandMenu,\n openAgentSidebar,\n openAgentSettings,\n submitToAgent,\n useCommandMenuShortcut,\n type CommandMenuProps,\n type CommandMenuDoc,\n type CommandDocsGroupProps,\n type CommandGroupProps,\n type CommandItemProps,\n type CommandShortcutProps,\n} from \"../CommandMenu.js\";\nexport {\n buildOpenRouteLink,\n buildOpenRoutePath,\n buildResourceRoute,\n buildSettingsRoute,\n buildStandardAppRoute,\n buildTeamRoute,\n createStandardOpenPathResolver,\n STANDARD_APP_ROUTES,\n STANDARD_SETTINGS_TABS,\n type BuildResourceRouteOptions,\n type BuildStandardAppRouteOptions,\n type NavigationLink,\n type NavigationTarget,\n type StandardAppRouteId,\n type StandardOpenPathResolverOptions,\n type StandardOpenPathRoute,\n type StandardSettingsTabId,\n} from \"../../navigation/index.js\";\nexport {\n postNavigate,\n isInAgentEmbed,\n AGENT_NAVIGATE_MESSAGE_TYPE,\n type AgentNavigateMessage,\n} from \"../embed.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ResourcesPanel.d.ts","sourceRoot":"","sources":["../../../src/client/resources/ResourcesPanel.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAMN,MAAM,OAAO,CAAC;AAyCf,OAAO,EASL,KAAK,aAAa,EAGlB,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAK5B,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,eAAe,CAAC;AAEpB,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,YAAY,CAAC;AAuCxD,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,QAAQ,EAAE,EAChB,IAAI,EAAE,YAAY,GAAG,SAAS,GAC7B,QAAQ,EAAE,CAoBZ;AAy6BD,MAAM,WAAW,mBAAmB;IAClC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,8EAA8E;IAC9E,sBAAsB,CAAC,EAAE,OAAO,CAAC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AAO,GAClB,aAAa,CAIf;AAED,wBAAgB,cAAc,CAAC,EAC7B,cAAqB,EACrB,KAAK,EAAE,cAAc,EACrB,sBAA8B,EAC9B,cAAc,EACd,mBAA4B,GAC7B,GAAE,mBAAwB,qBA4zB1B"}
@@ -10,6 +10,7 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "../co
10
10
  import { PromptComposer } from "../composer/PromptComposer.js";
11
11
  import { useT } from "../i18n.js";
12
12
  import { useOrg } from "../org/hooks.js";
13
+ import { useUploadResource } from "../uploads/use-upload-resource.js";
13
14
  import { cn } from "../utils.js";
14
15
  import { BuiltinCapabilityDetail } from "./BuiltinCapabilityDetail.js";
15
16
  import { isMcpIntegrationCatalogAvailable } from "./mcp-integration-catalog.js";
@@ -19,7 +20,7 @@ import { ResourceEditor } from "./ResourceEditor.js";
19
20
  import { ResourceTree } from "./ResourceTree.js";
20
21
  import { parseMcpBuiltinVirtualId, useBuiltinCapabilities, } from "./use-builtin-capabilities.js";
21
22
  import { useMcpServers, useCreateMcpServer, useDeleteMcpServer, parseMcpVirtualId, } from "./use-mcp-servers.js";
22
- import { useResourceTree, useResource, useCreateResource, useUpdateResource, useDeleteResource, useUploadResource, withMcpServersFolder, withAgentScratchFolder, } from "./use-resources.js";
23
+ import { useResourceTree, useResource, useCreateResource, useUpdateResource, useDeleteResource, withMcpServersFolder, withAgentScratchFolder, } from "./use-resources.js";
23
24
  const WORKSPACE_DOCS_URL = "https://agent-native.com/docs/workspace";
24
25
  const LOCAL_WORKSPACE_RESOURCE_METADATA_SOURCE = "local-workspace-resource";
25
26
  const SPECIAL_RESOURCE_ROOTS = new Set([