@terreno/mcp 57.4.0 → 57.6.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 (1186) hide show
  1. package/README.md +13 -2
  2. package/dist/bootstrap.d.ts +14 -0
  3. package/dist/bootstrap.d.ts.map +1 -1
  4. package/dist/bootstrap.js +2 -2
  5. package/dist/bootstrap.js.map +1 -1
  6. package/dist/docs/guidelines/syncdb/guidelines/core.md +22 -0
  7. package/dist/docs/guidelines/syncdb/skills/debug-syncdb-with-mcp/SKILL.md +74 -0
  8. package/dist/docs/resources/overview.md +8 -0
  9. package/dist/docs/resources/rtk.md +1 -1
  10. package/dist/docs/resources/syncdb.md +11 -2
  11. package/dist/docs/templates/bootstrap/frontend/app/_layout.template.tsx +5 -3
  12. package/dist/docs/ui-types-documentation.json +33 -0
  13. package/dist/docs/upgrades/56.0.0-beta.2.md +2 -2
  14. package/dist/docs/upgrades/57.4.0.md +26 -0
  15. package/dist/docs/upgrades/57.6.0.md +135 -0
  16. package/dist/docs/versioned/0.29.0/explanation/modular-api-design.md +1 -1
  17. package/dist/docs/versioned/0.29.0/how-to/deploy-to-gcp.md +1 -1
  18. package/dist/docs/versioned/0.29.0/implementationPlans/PLAN_INDEX.md +2 -2
  19. package/dist/docs/versioned/0.29.0/implementationPlans/README.md +1 -1
  20. package/dist/docs/versioned/0.29.0/implementationPlans/ai-dev-loop-boost.md +1 -1
  21. package/dist/docs/versioned/0.29.0/implementationPlans/deployment-foundation.md +1 -1
  22. package/dist/docs/versioned/0.29.0/implementationPlans/oss-launch-program.md +2 -2
  23. package/dist/docs/versioned/0.29.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  24. package/dist/docs/versioned/0.29.0/implementationPlans/terreno-langfuse-integration.md +2 -2
  25. package/dist/docs/versioned/0.29.0/implementationPlans/web-ssr-and-admin-spa.md +1 -1
  26. package/dist/docs/versioned/0.29.0/reference/README.md +1 -1
  27. package/dist/docs/versioned/0.29.0/reference/components/accordion.mdx +1 -1
  28. package/dist/docs/versioned/0.29.0/reference/components/addressfield.mdx +1 -1
  29. package/dist/docs/versioned/0.29.0/reference/components/ai-suggestion-box.mdx +1 -1
  30. package/dist/docs/versioned/0.29.0/reference/components/avatar.mdx +1 -1
  31. package/dist/docs/versioned/0.29.0/reference/components/badge.mdx +1 -1
  32. package/dist/docs/versioned/0.29.0/reference/components/banner.mdx +1 -1
  33. package/dist/docs/versioned/0.29.0/reference/components/boolean-field.mdx +1 -1
  34. package/dist/docs/versioned/0.29.0/reference/components/box.mdx +1 -1
  35. package/dist/docs/versioned/0.29.0/reference/components/button.mdx +1 -1
  36. package/dist/docs/versioned/0.29.0/reference/components/card.mdx +1 -1
  37. package/dist/docs/versioned/0.29.0/reference/components/checkbox.mdx +1 -1
  38. package/dist/docs/versioned/0.29.0/reference/components/consentformscreen.mdx +1 -1
  39. package/dist/docs/versioned/0.29.0/reference/components/custom-select-field.mdx +1 -1
  40. package/dist/docs/versioned/0.29.0/reference/components/datatable.mdx +1 -1
  41. package/dist/docs/versioned/0.29.0/reference/components/date-time-field.mdx +1 -1
  42. package/dist/docs/versioned/0.29.0/reference/components/email-field.mdx +1 -1
  43. package/dist/docs/versioned/0.29.0/reference/components/emoji-selector.mdx +1 -1
  44. package/dist/docs/versioned/0.29.0/reference/components/field.mdx +1 -1
  45. package/dist/docs/versioned/0.29.0/reference/components/height-field.mdx +1 -1
  46. package/dist/docs/versioned/0.29.0/reference/components/icon.mdx +1 -1
  47. package/dist/docs/versioned/0.29.0/reference/components/iconbutton.mdx +1 -1
  48. package/dist/docs/versioned/0.29.0/reference/components/inner-modal-content.mdx +1 -1
  49. package/dist/docs/versioned/0.29.0/reference/components/markdown-editor-field.mdx +1 -1
  50. package/dist/docs/versioned/0.29.0/reference/components/markdownview.mdx +1 -1
  51. package/dist/docs/versioned/0.29.0/reference/components/multiselect-field.mdx +1 -1
  52. package/dist/docs/versioned/0.29.0/reference/components/number-field.mdx +1 -1
  53. package/dist/docs/versioned/0.29.0/reference/components/page.mdx +1 -1
  54. package/dist/docs/versioned/0.29.0/reference/components/pagination.mdx +1 -1
  55. package/dist/docs/versioned/0.29.0/reference/components/password-field.mdx +1 -1
  56. package/dist/docs/versioned/0.29.0/reference/components/phone-number-field.mdx +1 -1
  57. package/dist/docs/versioned/0.29.0/reference/components/radio-field.mdx +1 -1
  58. package/dist/docs/versioned/0.29.0/reference/components/sectiondivider.mdx +1 -1
  59. package/dist/docs/versioned/0.29.0/reference/components/segmented-control.mdx +1 -1
  60. package/dist/docs/versioned/0.29.0/reference/components/select-field.mdx +1 -1
  61. package/dist/docs/versioned/0.29.0/reference/components/selectbadge.mdx +1 -1
  62. package/dist/docs/versioned/0.29.0/reference/components/side-drawer.mdx +1 -1
  63. package/dist/docs/versioned/0.29.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  64. package/dist/docs/versioned/0.29.0/reference/components/signature-capture-field.mdx +1 -1
  65. package/dist/docs/versioned/0.29.0/reference/components/signature-field.mdx +1 -1
  66. package/dist/docs/versioned/0.29.0/reference/components/slider.mdx +1 -1
  67. package/dist/docs/versioned/0.29.0/reference/components/spinner.mdx +1 -1
  68. package/dist/docs/versioned/0.29.0/reference/components/table-badge.mdx +1 -1
  69. package/dist/docs/versioned/0.29.0/reference/components/table-boolean.mdx +1 -1
  70. package/dist/docs/versioned/0.29.0/reference/components/table-date.mdx +1 -1
  71. package/dist/docs/versioned/0.29.0/reference/components/table-icon-button.mdx +1 -1
  72. package/dist/docs/versioned/0.29.0/reference/components/table-number.mdx +1 -1
  73. package/dist/docs/versioned/0.29.0/reference/components/table-text.mdx +1 -1
  74. package/dist/docs/versioned/0.29.0/reference/components/table-title.mdx +1 -1
  75. package/dist/docs/versioned/0.29.0/reference/components/table.mdx +1 -1
  76. package/dist/docs/versioned/0.29.0/reference/components/tap-to-edit.mdx +1 -1
  77. package/dist/docs/versioned/0.29.0/reference/components/text-area.mdx +1 -1
  78. package/dist/docs/versioned/0.29.0/reference/components/text-field.mdx +1 -1
  79. package/dist/docs/versioned/0.29.0/reference/components/theme.mdx +1 -1
  80. package/dist/docs/versioned/0.29.0/reference/components/toast.mdx +1 -1
  81. package/dist/docs/versioned/0.29.0/reference/components/tooltip.mdx +1 -1
  82. package/dist/docs/versioned/0.29.0/reference/components/typed-signature-field.mdx +1 -1
  83. package/dist/docs/versioned/0.29.0/reference/components/userinactivity.mdx +1 -1
  84. package/dist/docs/versioned/0.29.0/reference/ui.md +1 -1
  85. package/dist/docs/versioned/0.29.0/tasks/agentic-sdlc-plugin.md +1 -1
  86. package/dist/docs/versioned/0.29.0/tasks/docs-reference-coverage.md +1 -1
  87. package/dist/docs/versioned/0.29.0/tasks/rtk-to-syncdb-migration-docs.md +1 -1
  88. package/dist/docs/versioned/0.29.0/tasks/web-ssr-and-admin-spa.md +1 -1
  89. package/dist/docs/versioned/0.30.0/explanation/modular-api-design.md +1 -1
  90. package/dist/docs/versioned/0.30.0/how-to/deploy-to-gcp.md +1 -1
  91. package/dist/docs/versioned/0.30.0/implementationPlans/PLAN_INDEX.md +2 -2
  92. package/dist/docs/versioned/0.30.0/implementationPlans/README.md +1 -1
  93. package/dist/docs/versioned/0.30.0/implementationPlans/ai-dev-loop-boost.md +1 -1
  94. package/dist/docs/versioned/0.30.0/implementationPlans/deployment-foundation.md +1 -1
  95. package/dist/docs/versioned/0.30.0/implementationPlans/oss-launch-program.md +2 -2
  96. package/dist/docs/versioned/0.30.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  97. package/dist/docs/versioned/0.30.0/implementationPlans/terreno-langfuse-integration.md +2 -2
  98. package/dist/docs/versioned/0.30.0/implementationPlans/web-ssr-and-admin-spa.md +1 -1
  99. package/dist/docs/versioned/0.30.0/reference/README.md +1 -1
  100. package/dist/docs/versioned/0.30.0/reference/components/accordion.mdx +1 -1
  101. package/dist/docs/versioned/0.30.0/reference/components/addressfield.mdx +1 -1
  102. package/dist/docs/versioned/0.30.0/reference/components/ai-suggestion-box.mdx +1 -1
  103. package/dist/docs/versioned/0.30.0/reference/components/avatar.mdx +1 -1
  104. package/dist/docs/versioned/0.30.0/reference/components/badge.mdx +1 -1
  105. package/dist/docs/versioned/0.30.0/reference/components/banner.mdx +1 -1
  106. package/dist/docs/versioned/0.30.0/reference/components/boolean-field.mdx +1 -1
  107. package/dist/docs/versioned/0.30.0/reference/components/box.mdx +1 -1
  108. package/dist/docs/versioned/0.30.0/reference/components/button.mdx +1 -1
  109. package/dist/docs/versioned/0.30.0/reference/components/card.mdx +1 -1
  110. package/dist/docs/versioned/0.30.0/reference/components/checkbox.mdx +1 -1
  111. package/dist/docs/versioned/0.30.0/reference/components/consentformscreen.mdx +1 -1
  112. package/dist/docs/versioned/0.30.0/reference/components/custom-select-field.mdx +1 -1
  113. package/dist/docs/versioned/0.30.0/reference/components/datatable.mdx +1 -1
  114. package/dist/docs/versioned/0.30.0/reference/components/date-time-field.mdx +1 -1
  115. package/dist/docs/versioned/0.30.0/reference/components/email-field.mdx +1 -1
  116. package/dist/docs/versioned/0.30.0/reference/components/emoji-selector.mdx +1 -1
  117. package/dist/docs/versioned/0.30.0/reference/components/field.mdx +1 -1
  118. package/dist/docs/versioned/0.30.0/reference/components/height-field.mdx +1 -1
  119. package/dist/docs/versioned/0.30.0/reference/components/icon.mdx +1 -1
  120. package/dist/docs/versioned/0.30.0/reference/components/iconbutton.mdx +1 -1
  121. package/dist/docs/versioned/0.30.0/reference/components/inner-modal-content.mdx +1 -1
  122. package/dist/docs/versioned/0.30.0/reference/components/markdown-editor-field.mdx +1 -1
  123. package/dist/docs/versioned/0.30.0/reference/components/markdownview.mdx +1 -1
  124. package/dist/docs/versioned/0.30.0/reference/components/multiselect-field.mdx +1 -1
  125. package/dist/docs/versioned/0.30.0/reference/components/number-field.mdx +1 -1
  126. package/dist/docs/versioned/0.30.0/reference/components/page.mdx +1 -1
  127. package/dist/docs/versioned/0.30.0/reference/components/pagination.mdx +1 -1
  128. package/dist/docs/versioned/0.30.0/reference/components/password-field.mdx +1 -1
  129. package/dist/docs/versioned/0.30.0/reference/components/phone-number-field.mdx +1 -1
  130. package/dist/docs/versioned/0.30.0/reference/components/radio-field.mdx +1 -1
  131. package/dist/docs/versioned/0.30.0/reference/components/sectiondivider.mdx +1 -1
  132. package/dist/docs/versioned/0.30.0/reference/components/segmented-control.mdx +1 -1
  133. package/dist/docs/versioned/0.30.0/reference/components/select-field.mdx +1 -1
  134. package/dist/docs/versioned/0.30.0/reference/components/selectbadge.mdx +1 -1
  135. package/dist/docs/versioned/0.30.0/reference/components/side-drawer.mdx +1 -1
  136. package/dist/docs/versioned/0.30.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  137. package/dist/docs/versioned/0.30.0/reference/components/signature-capture-field.mdx +1 -1
  138. package/dist/docs/versioned/0.30.0/reference/components/signature-field.mdx +1 -1
  139. package/dist/docs/versioned/0.30.0/reference/components/slider.mdx +1 -1
  140. package/dist/docs/versioned/0.30.0/reference/components/spinner.mdx +1 -1
  141. package/dist/docs/versioned/0.30.0/reference/components/table-badge.mdx +1 -1
  142. package/dist/docs/versioned/0.30.0/reference/components/table-boolean.mdx +1 -1
  143. package/dist/docs/versioned/0.30.0/reference/components/table-date.mdx +1 -1
  144. package/dist/docs/versioned/0.30.0/reference/components/table-icon-button.mdx +1 -1
  145. package/dist/docs/versioned/0.30.0/reference/components/table-number.mdx +1 -1
  146. package/dist/docs/versioned/0.30.0/reference/components/table-text.mdx +1 -1
  147. package/dist/docs/versioned/0.30.0/reference/components/table-title.mdx +1 -1
  148. package/dist/docs/versioned/0.30.0/reference/components/table.mdx +1 -1
  149. package/dist/docs/versioned/0.30.0/reference/components/tap-to-edit.mdx +1 -1
  150. package/dist/docs/versioned/0.30.0/reference/components/text-area.mdx +1 -1
  151. package/dist/docs/versioned/0.30.0/reference/components/text-field.mdx +1 -1
  152. package/dist/docs/versioned/0.30.0/reference/components/theme.mdx +1 -1
  153. package/dist/docs/versioned/0.30.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  154. package/dist/docs/versioned/0.30.0/reference/components/toast.mdx +1 -1
  155. package/dist/docs/versioned/0.30.0/reference/components/tooltip.mdx +1 -1
  156. package/dist/docs/versioned/0.30.0/reference/components/typed-signature-field.mdx +1 -1
  157. package/dist/docs/versioned/0.30.0/reference/components/userinactivity.mdx +1 -1
  158. package/dist/docs/versioned/0.30.0/reference/ui.md +1 -1
  159. package/dist/docs/versioned/0.30.0/tasks/agentic-sdlc-plugin.md +1 -1
  160. package/dist/docs/versioned/0.30.0/tasks/docs-reference-coverage.md +1 -1
  161. package/dist/docs/versioned/0.30.0/tasks/rtk-to-syncdb-migration-docs.md +1 -1
  162. package/dist/docs/versioned/0.30.0/tasks/web-ssr-and-admin-spa.md +1 -1
  163. package/dist/docs/versioned/57.1.0/explanation/README.md +1 -1
  164. package/dist/docs/versioned/57.1.0/explanation/announcements/rtk-deprecation.md +4 -4
  165. package/dist/docs/versioned/57.1.0/explanation/deployment-baseline.md +2 -2
  166. package/dist/docs/versioned/57.1.0/explanation/loop-engineering.md +1 -1
  167. package/dist/docs/versioned/57.1.0/explanation/modular-api-design.md +1 -1
  168. package/dist/docs/versioned/57.1.0/explanation/repository-settings.md +1 -1
  169. package/dist/docs/versioned/57.1.0/explanation/roadmap-process.md +25 -25
  170. package/dist/docs/versioned/57.1.0/explanation/roadmap-seed-issues.md +80 -80
  171. package/dist/docs/versioned/57.1.0/how-to/build-for-web.md +1 -1
  172. package/dist/docs/versioned/57.1.0/how-to/circleci.md +2 -2
  173. package/dist/docs/versioned/57.1.0/how-to/deploy-to-gcp.md +1 -1
  174. package/dist/docs/versioned/57.1.0/how-to/deploy-web-to-gcs-cdn.md +1 -1
  175. package/dist/docs/versioned/57.1.0/how-to/install-agent-skills.md +3 -3
  176. package/dist/docs/versioned/57.1.0/how-to/migrate-rtk-to-syncdb.md +2 -2
  177. package/dist/docs/versioned/57.1.0/implementationPlans/ModularAPI.md +1 -1
  178. package/dist/docs/versioned/57.1.0/implementationPlans/admin-improvements.md +1 -1
  179. package/dist/docs/versioned/57.1.0/implementationPlans/admin-only-research.md +1 -1
  180. package/dist/docs/versioned/57.1.0/implementationPlans/admin-only.md +1 -1
  181. package/dist/docs/versioned/57.1.0/implementationPlans/admin-script-runner.md +1 -1
  182. package/dist/docs/versioned/57.1.0/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  183. package/dist/docs/versioned/57.1.0/implementationPlans/agentic-sdlc-plugin.md +1 -1
  184. package/dist/docs/versioned/57.1.0/implementationPlans/ai-dev-loop-boost.md +2 -2
  185. package/dist/docs/versioned/57.1.0/implementationPlans/apierror-standard-error-redesign.md +1 -1
  186. package/dist/docs/versioned/57.1.0/implementationPlans/b2b-platform-program.md +1 -1
  187. package/dist/docs/versioned/57.1.0/implementationPlans/billing-stripe.md +1 -1
  188. package/dist/docs/versioned/57.1.0/implementationPlans/build-terreno-app-validation.md +1 -1
  189. package/dist/docs/versioned/57.1.0/implementationPlans/comms-abstraction-research.md +1 -1
  190. package/dist/docs/versioned/57.1.0/implementationPlans/comms-abstraction.md +1 -1
  191. package/dist/docs/versioned/57.1.0/implementationPlans/comms-adapter-expo-push.md +1 -1
  192. package/dist/docs/versioned/57.1.0/implementationPlans/comms-adapter-sendgrid.md +1 -1
  193. package/dist/docs/versioned/57.1.0/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  194. package/dist/docs/versioned/57.1.0/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  195. package/dist/docs/versioned/57.1.0/implementationPlans/comms-admin-dashboard.md +1 -1
  196. package/dist/docs/versioned/57.1.0/implementationPlans/consent-forms.md +1 -1
  197. package/dist/docs/versioned/57.1.0/implementationPlans/deploy-to-gcp.md +1 -1
  198. package/dist/docs/versioned/57.1.0/implementationPlans/deploy-to-vercel.md +1 -1
  199. package/dist/docs/versioned/57.1.0/implementationPlans/deployment-foundation.md +2 -2
  200. package/dist/docs/versioned/57.1.0/implementationPlans/design-blend-skill.md +1 -1
  201. package/dist/docs/versioned/57.1.0/implementationPlans/docs-reference-coverage.md +1 -1
  202. package/dist/docs/versioned/57.1.0/implementationPlans/docs-site-and-versioning.md +1 -1
  203. package/dist/docs/versioned/57.1.0/implementationPlans/docs-tutorials-ai-first.md +1 -1
  204. package/dist/docs/versioned/57.1.0/implementationPlans/examples-demo-coverage.md +1 -1
  205. package/dist/docs/versioned/57.1.0/implementationPlans/feature-flags-openfeature.md +1 -1
  206. package/dist/docs/versioned/57.1.0/implementationPlans/feature-flags.md +1 -1
  207. package/dist/docs/versioned/57.1.0/implementationPlans/infra-mcp-research.md +1 -1
  208. package/dist/docs/versioned/57.1.0/implementationPlans/infra-mcp.md +1 -1
  209. package/dist/docs/versioned/57.1.0/implementationPlans/mcp-boost-parity.md +1 -1
  210. package/dist/docs/versioned/57.1.0/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  211. package/dist/docs/versioned/57.1.0/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  212. package/dist/docs/versioned/57.1.0/implementationPlans/model-router-actions.md +1 -1
  213. package/dist/docs/versioned/57.1.0/implementationPlans/model-router-mcp.md +1 -1
  214. package/dist/docs/versioned/57.1.0/implementationPlans/native-module-baseline.md +1 -1
  215. package/dist/docs/versioned/57.1.0/implementationPlans/offline-mode.md +1 -1
  216. package/dist/docs/versioned/57.1.0/implementationPlans/orgs-and-teams.md +1 -1
  217. package/dist/docs/versioned/57.1.0/implementationPlans/oss-governance-baseline.md +1 -1
  218. package/dist/docs/versioned/57.1.0/implementationPlans/oss-launch-program.md +3 -3
  219. package/dist/docs/versioned/57.1.0/implementationPlans/password-reset-and-email-verification.md +1 -1
  220. package/dist/docs/versioned/57.1.0/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  221. package/dist/docs/versioned/57.1.0/implementationPlans/positioning-django-rails-universal.md +1 -1
  222. package/dist/docs/versioned/57.1.0/implementationPlans/public-roadmap-github.md +1 -1
  223. package/dist/docs/versioned/57.1.0/implementationPlans/rbac-permissions.md +1 -1
  224. package/dist/docs/versioned/57.1.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  225. package/dist/docs/versioned/57.1.0/implementationPlans/syncdb-codegen.md +2 -2
  226. package/dist/docs/versioned/57.1.0/implementationPlans/syncdb-local-first.md +1 -1
  227. package/dist/docs/versioned/57.1.0/implementationPlans/syncdb-phase-c-design.md +1 -1
  228. package/dist/docs/versioned/57.1.0/implementationPlans/terreno-langfuse-integration.md +3 -3
  229. package/dist/docs/versioned/57.1.0/implementationPlans/terreno-syncdb-2.md +1 -1
  230. package/dist/docs/versioned/57.1.0/implementationPlans/upgrade-banner.md +1 -1
  231. package/dist/docs/versioned/57.1.0/implementationPlans/upgrade-guides-and-skill.md +1 -1
  232. package/dist/docs/versioned/57.1.0/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  233. package/dist/docs/versioned/57.1.0/reference/README.md +1 -1
  234. package/dist/docs/versioned/57.1.0/reference/components/accordion.mdx +1 -1
  235. package/dist/docs/versioned/57.1.0/reference/components/addressfield.mdx +1 -1
  236. package/dist/docs/versioned/57.1.0/reference/components/ai-suggestion-box.mdx +1 -1
  237. package/dist/docs/versioned/57.1.0/reference/components/avatar.mdx +1 -1
  238. package/dist/docs/versioned/57.1.0/reference/components/badge.mdx +1 -1
  239. package/dist/docs/versioned/57.1.0/reference/components/banner.mdx +1 -1
  240. package/dist/docs/versioned/57.1.0/reference/components/boolean-field.mdx +1 -1
  241. package/dist/docs/versioned/57.1.0/reference/components/box.mdx +1 -1
  242. package/dist/docs/versioned/57.1.0/reference/components/button.mdx +1 -1
  243. package/dist/docs/versioned/57.1.0/reference/components/card.mdx +1 -1
  244. package/dist/docs/versioned/57.1.0/reference/components/checkbox.mdx +1 -1
  245. package/dist/docs/versioned/57.1.0/reference/components/consentformscreen.mdx +1 -1
  246. package/dist/docs/versioned/57.1.0/reference/components/custom-select-field.mdx +1 -1
  247. package/dist/docs/versioned/57.1.0/reference/components/datatable.mdx +1 -1
  248. package/dist/docs/versioned/57.1.0/reference/components/date-time-field.mdx +1 -1
  249. package/dist/docs/versioned/57.1.0/reference/components/editablecard.mdx +1 -1
  250. package/dist/docs/versioned/57.1.0/reference/components/email-field.mdx +1 -1
  251. package/dist/docs/versioned/57.1.0/reference/components/emoji-selector.mdx +1 -1
  252. package/dist/docs/versioned/57.1.0/reference/components/field.mdx +1 -1
  253. package/dist/docs/versioned/57.1.0/reference/components/filter.mdx +1 -1
  254. package/dist/docs/versioned/57.1.0/reference/components/height-field.mdx +1 -1
  255. package/dist/docs/versioned/57.1.0/reference/components/icon.mdx +1 -1
  256. package/dist/docs/versioned/57.1.0/reference/components/iconbutton.mdx +1 -1
  257. package/dist/docs/versioned/57.1.0/reference/components/inner-modal-content.mdx +1 -1
  258. package/dist/docs/versioned/57.1.0/reference/components/markdown-editor-field.mdx +1 -1
  259. package/dist/docs/versioned/57.1.0/reference/components/markdownview.mdx +1 -1
  260. package/dist/docs/versioned/57.1.0/reference/components/multiselect-field.mdx +1 -1
  261. package/dist/docs/versioned/57.1.0/reference/components/number-field.mdx +1 -1
  262. package/dist/docs/versioned/57.1.0/reference/components/page.mdx +1 -1
  263. package/dist/docs/versioned/57.1.0/reference/components/pagination.mdx +1 -1
  264. package/dist/docs/versioned/57.1.0/reference/components/password-field.mdx +1 -1
  265. package/dist/docs/versioned/57.1.0/reference/components/phone-number-field.mdx +1 -1
  266. package/dist/docs/versioned/57.1.0/reference/components/radio-field.mdx +1 -1
  267. package/dist/docs/versioned/57.1.0/reference/components/sectiondivider.mdx +1 -1
  268. package/dist/docs/versioned/57.1.0/reference/components/segmented-control.mdx +1 -1
  269. package/dist/docs/versioned/57.1.0/reference/components/select-field.mdx +1 -1
  270. package/dist/docs/versioned/57.1.0/reference/components/selectbadge.mdx +1 -1
  271. package/dist/docs/versioned/57.1.0/reference/components/side-drawer.mdx +1 -1
  272. package/dist/docs/versioned/57.1.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  273. package/dist/docs/versioned/57.1.0/reference/components/signature-capture-field.mdx +1 -1
  274. package/dist/docs/versioned/57.1.0/reference/components/signature-field.mdx +1 -1
  275. package/dist/docs/versioned/57.1.0/reference/components/slider.mdx +1 -1
  276. package/dist/docs/versioned/57.1.0/reference/components/spinner.mdx +1 -1
  277. package/dist/docs/versioned/57.1.0/reference/components/table-badge.mdx +1 -1
  278. package/dist/docs/versioned/57.1.0/reference/components/table-boolean.mdx +1 -1
  279. package/dist/docs/versioned/57.1.0/reference/components/table-date.mdx +1 -1
  280. package/dist/docs/versioned/57.1.0/reference/components/table-icon-button.mdx +1 -1
  281. package/dist/docs/versioned/57.1.0/reference/components/table-number.mdx +1 -1
  282. package/dist/docs/versioned/57.1.0/reference/components/table-text.mdx +1 -1
  283. package/dist/docs/versioned/57.1.0/reference/components/table-title.mdx +1 -1
  284. package/dist/docs/versioned/57.1.0/reference/components/table.mdx +1 -1
  285. package/dist/docs/versioned/57.1.0/reference/components/tap-to-edit.mdx +1 -1
  286. package/dist/docs/versioned/57.1.0/reference/components/text-area.mdx +1 -1
  287. package/dist/docs/versioned/57.1.0/reference/components/text-field.mdx +1 -1
  288. package/dist/docs/versioned/57.1.0/reference/components/theme.mdx +1 -1
  289. package/dist/docs/versioned/57.1.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  290. package/dist/docs/versioned/57.1.0/reference/components/toast.mdx +1 -1
  291. package/dist/docs/versioned/57.1.0/reference/components/tooltip.mdx +1 -1
  292. package/dist/docs/versioned/57.1.0/reference/components/typed-signature-field.mdx +1 -1
  293. package/dist/docs/versioned/57.1.0/reference/components/userinactivity.mdx +1 -1
  294. package/dist/docs/versioned/57.1.0/reference/environment-variables.md +2 -2
  295. package/dist/docs/versioned/57.1.0/reference/lifecycle-plugin.md +4 -4
  296. package/dist/docs/versioned/57.1.0/reference/ui.md +1 -1
  297. package/dist/docs/versioned/57.1.0/roadmap.md +3 -3
  298. package/dist/docs/versioned/57.1.0/tasks/docs-reference-coverage.md +1 -1
  299. package/dist/docs/versioned/57.1.0/tasks/migrate-cicd-to-circleci.md +1 -1
  300. package/dist/docs/versioned/57.1.0/tasks/web-ssr-and-admin-spa.md +1 -1
  301. package/dist/docs/versioned/57.2.0/explanation/README.md +1 -1
  302. package/dist/docs/versioned/57.2.0/explanation/announcements/rtk-deprecation.md +4 -4
  303. package/dist/docs/versioned/57.2.0/explanation/deployment-baseline.md +2 -2
  304. package/dist/docs/versioned/57.2.0/explanation/loop-engineering.md +1 -1
  305. package/dist/docs/versioned/57.2.0/explanation/modular-api-design.md +1 -1
  306. package/dist/docs/versioned/57.2.0/explanation/repository-settings.md +1 -1
  307. package/dist/docs/versioned/57.2.0/explanation/roadmap-process.md +25 -25
  308. package/dist/docs/versioned/57.2.0/explanation/roadmap-seed-issues.md +83 -83
  309. package/dist/docs/versioned/57.2.0/how-to/build-for-web.md +1 -1
  310. package/dist/docs/versioned/57.2.0/how-to/circleci.md +2 -2
  311. package/dist/docs/versioned/57.2.0/how-to/deploy-to-gcp.md +1 -1
  312. package/dist/docs/versioned/57.2.0/how-to/deploy-web-to-gcs-cdn.md +1 -1
  313. package/dist/docs/versioned/57.2.0/how-to/install-agent-skills.md +3 -3
  314. package/dist/docs/versioned/57.2.0/how-to/migrate-rtk-to-syncdb.md +2 -2
  315. package/dist/docs/versioned/57.2.0/implementationPlans/ModularAPI.md +1 -1
  316. package/dist/docs/versioned/57.2.0/implementationPlans/admin-improvements.md +1 -1
  317. package/dist/docs/versioned/57.2.0/implementationPlans/admin-only-research.md +1 -1
  318. package/dist/docs/versioned/57.2.0/implementationPlans/admin-only.md +1 -1
  319. package/dist/docs/versioned/57.2.0/implementationPlans/admin-script-runner.md +1 -1
  320. package/dist/docs/versioned/57.2.0/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  321. package/dist/docs/versioned/57.2.0/implementationPlans/agentic-sdlc-plugin.md +1 -1
  322. package/dist/docs/versioned/57.2.0/implementationPlans/ai-dev-loop-boost.md +2 -2
  323. package/dist/docs/versioned/57.2.0/implementationPlans/apierror-standard-error-redesign.md +1 -1
  324. package/dist/docs/versioned/57.2.0/implementationPlans/b2b-platform-program.md +1 -1
  325. package/dist/docs/versioned/57.2.0/implementationPlans/billing-stripe.md +1 -1
  326. package/dist/docs/versioned/57.2.0/implementationPlans/build-terreno-app-validation.md +1 -1
  327. package/dist/docs/versioned/57.2.0/implementationPlans/comms-abstraction-research.md +1 -1
  328. package/dist/docs/versioned/57.2.0/implementationPlans/comms-abstraction.md +1 -1
  329. package/dist/docs/versioned/57.2.0/implementationPlans/comms-adapter-expo-push.md +1 -1
  330. package/dist/docs/versioned/57.2.0/implementationPlans/comms-adapter-sendgrid.md +1 -1
  331. package/dist/docs/versioned/57.2.0/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  332. package/dist/docs/versioned/57.2.0/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  333. package/dist/docs/versioned/57.2.0/implementationPlans/comms-admin-dashboard.md +1 -1
  334. package/dist/docs/versioned/57.2.0/implementationPlans/consent-forms.md +1 -1
  335. package/dist/docs/versioned/57.2.0/implementationPlans/deploy-to-gcp.md +1 -1
  336. package/dist/docs/versioned/57.2.0/implementationPlans/deploy-to-vercel.md +1 -1
  337. package/dist/docs/versioned/57.2.0/implementationPlans/deployment-foundation.md +2 -2
  338. package/dist/docs/versioned/57.2.0/implementationPlans/design-blend-skill.md +1 -1
  339. package/dist/docs/versioned/57.2.0/implementationPlans/docs-reference-coverage.md +1 -1
  340. package/dist/docs/versioned/57.2.0/implementationPlans/docs-site-and-versioning.md +1 -1
  341. package/dist/docs/versioned/57.2.0/implementationPlans/docs-tutorials-ai-first.md +1 -1
  342. package/dist/docs/versioned/57.2.0/implementationPlans/examples-demo-coverage.md +1 -1
  343. package/dist/docs/versioned/57.2.0/implementationPlans/feature-flags-openfeature.md +1 -1
  344. package/dist/docs/versioned/57.2.0/implementationPlans/feature-flags.md +1 -1
  345. package/dist/docs/versioned/57.2.0/implementationPlans/infra-mcp-research.md +1 -1
  346. package/dist/docs/versioned/57.2.0/implementationPlans/infra-mcp.md +1 -1
  347. package/dist/docs/versioned/57.2.0/implementationPlans/mcp-boost-parity.md +1 -1
  348. package/dist/docs/versioned/57.2.0/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  349. package/dist/docs/versioned/57.2.0/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  350. package/dist/docs/versioned/57.2.0/implementationPlans/model-router-actions.md +1 -1
  351. package/dist/docs/versioned/57.2.0/implementationPlans/model-router-mcp.md +1 -1
  352. package/dist/docs/versioned/57.2.0/implementationPlans/native-module-baseline.md +1 -1
  353. package/dist/docs/versioned/57.2.0/implementationPlans/offline-mode.md +1 -1
  354. package/dist/docs/versioned/57.2.0/implementationPlans/org-management-ui.md +1 -1
  355. package/dist/docs/versioned/57.2.0/implementationPlans/orgs-and-teams.md +1 -1
  356. package/dist/docs/versioned/57.2.0/implementationPlans/oss-governance-baseline.md +1 -1
  357. package/dist/docs/versioned/57.2.0/implementationPlans/oss-launch-program.md +3 -3
  358. package/dist/docs/versioned/57.2.0/implementationPlans/password-reset-and-email-verification.md +1 -1
  359. package/dist/docs/versioned/57.2.0/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  360. package/dist/docs/versioned/57.2.0/implementationPlans/positioning-django-rails-universal.md +1 -1
  361. package/dist/docs/versioned/57.2.0/implementationPlans/public-roadmap-github.md +1 -1
  362. package/dist/docs/versioned/57.2.0/implementationPlans/rbac-permissions.md +1 -1
  363. package/dist/docs/versioned/57.2.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  364. package/dist/docs/versioned/57.2.0/implementationPlans/syncdb-codegen.md +2 -2
  365. package/dist/docs/versioned/57.2.0/implementationPlans/syncdb-local-first.md +1 -1
  366. package/dist/docs/versioned/57.2.0/implementationPlans/syncdb-phase-c-design.md +1 -1
  367. package/dist/docs/versioned/57.2.0/implementationPlans/terreno-langfuse-integration.md +3 -3
  368. package/dist/docs/versioned/57.2.0/implementationPlans/terreno-syncdb-2.md +1 -1
  369. package/dist/docs/versioned/57.2.0/implementationPlans/upgrade-banner.md +1 -1
  370. package/dist/docs/versioned/57.2.0/implementationPlans/upgrade-guides-and-skill.md +1 -1
  371. package/dist/docs/versioned/57.2.0/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  372. package/dist/docs/versioned/57.2.0/reference/README.md +1 -1
  373. package/dist/docs/versioned/57.2.0/reference/components/accordion.mdx +1 -1
  374. package/dist/docs/versioned/57.2.0/reference/components/addressfield.mdx +1 -1
  375. package/dist/docs/versioned/57.2.0/reference/components/ai-suggestion-box.mdx +1 -1
  376. package/dist/docs/versioned/57.2.0/reference/components/avatar.mdx +1 -1
  377. package/dist/docs/versioned/57.2.0/reference/components/badge.mdx +1 -1
  378. package/dist/docs/versioned/57.2.0/reference/components/banner.mdx +1 -1
  379. package/dist/docs/versioned/57.2.0/reference/components/boolean-field.mdx +1 -1
  380. package/dist/docs/versioned/57.2.0/reference/components/box.mdx +1 -1
  381. package/dist/docs/versioned/57.2.0/reference/components/button.mdx +1 -1
  382. package/dist/docs/versioned/57.2.0/reference/components/card.mdx +1 -1
  383. package/dist/docs/versioned/57.2.0/reference/components/checkbox.mdx +1 -1
  384. package/dist/docs/versioned/57.2.0/reference/components/consentformscreen.mdx +1 -1
  385. package/dist/docs/versioned/57.2.0/reference/components/custom-select-field.mdx +1 -1
  386. package/dist/docs/versioned/57.2.0/reference/components/datatable.mdx +1 -1
  387. package/dist/docs/versioned/57.2.0/reference/components/date-time-field.mdx +1 -1
  388. package/dist/docs/versioned/57.2.0/reference/components/editablecard.mdx +1 -1
  389. package/dist/docs/versioned/57.2.0/reference/components/email-field.mdx +1 -1
  390. package/dist/docs/versioned/57.2.0/reference/components/emoji-selector.mdx +1 -1
  391. package/dist/docs/versioned/57.2.0/reference/components/field.mdx +1 -1
  392. package/dist/docs/versioned/57.2.0/reference/components/filter.mdx +1 -1
  393. package/dist/docs/versioned/57.2.0/reference/components/height-field.mdx +1 -1
  394. package/dist/docs/versioned/57.2.0/reference/components/icon.mdx +1 -1
  395. package/dist/docs/versioned/57.2.0/reference/components/iconbutton.mdx +1 -1
  396. package/dist/docs/versioned/57.2.0/reference/components/inner-modal-content.mdx +1 -1
  397. package/dist/docs/versioned/57.2.0/reference/components/markdown-editor-field.mdx +1 -1
  398. package/dist/docs/versioned/57.2.0/reference/components/markdownview.mdx +1 -1
  399. package/dist/docs/versioned/57.2.0/reference/components/multiselect-field.mdx +1 -1
  400. package/dist/docs/versioned/57.2.0/reference/components/number-field.mdx +1 -1
  401. package/dist/docs/versioned/57.2.0/reference/components/page.mdx +1 -1
  402. package/dist/docs/versioned/57.2.0/reference/components/pagination.mdx +1 -1
  403. package/dist/docs/versioned/57.2.0/reference/components/password-field.mdx +1 -1
  404. package/dist/docs/versioned/57.2.0/reference/components/phone-number-field.mdx +1 -1
  405. package/dist/docs/versioned/57.2.0/reference/components/radio-field.mdx +1 -1
  406. package/dist/docs/versioned/57.2.0/reference/components/sectiondivider.mdx +1 -1
  407. package/dist/docs/versioned/57.2.0/reference/components/segmented-control.mdx +1 -1
  408. package/dist/docs/versioned/57.2.0/reference/components/select-field.mdx +1 -1
  409. package/dist/docs/versioned/57.2.0/reference/components/selectbadge.mdx +1 -1
  410. package/dist/docs/versioned/57.2.0/reference/components/side-drawer.mdx +1 -1
  411. package/dist/docs/versioned/57.2.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  412. package/dist/docs/versioned/57.2.0/reference/components/signature-capture-field.mdx +1 -1
  413. package/dist/docs/versioned/57.2.0/reference/components/signature-field.mdx +1 -1
  414. package/dist/docs/versioned/57.2.0/reference/components/slider.mdx +1 -1
  415. package/dist/docs/versioned/57.2.0/reference/components/spinner.mdx +1 -1
  416. package/dist/docs/versioned/57.2.0/reference/components/table-badge.mdx +1 -1
  417. package/dist/docs/versioned/57.2.0/reference/components/table-boolean.mdx +1 -1
  418. package/dist/docs/versioned/57.2.0/reference/components/table-date.mdx +1 -1
  419. package/dist/docs/versioned/57.2.0/reference/components/table-icon-button.mdx +1 -1
  420. package/dist/docs/versioned/57.2.0/reference/components/table-number.mdx +1 -1
  421. package/dist/docs/versioned/57.2.0/reference/components/table-text.mdx +1 -1
  422. package/dist/docs/versioned/57.2.0/reference/components/table-title.mdx +1 -1
  423. package/dist/docs/versioned/57.2.0/reference/components/table.mdx +1 -1
  424. package/dist/docs/versioned/57.2.0/reference/components/tap-to-edit.mdx +1 -1
  425. package/dist/docs/versioned/57.2.0/reference/components/text-area.mdx +1 -1
  426. package/dist/docs/versioned/57.2.0/reference/components/text-field.mdx +1 -1
  427. package/dist/docs/versioned/57.2.0/reference/components/theme.mdx +1 -1
  428. package/dist/docs/versioned/57.2.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  429. package/dist/docs/versioned/57.2.0/reference/components/toast.mdx +1 -1
  430. package/dist/docs/versioned/57.2.0/reference/components/tooltip.mdx +1 -1
  431. package/dist/docs/versioned/57.2.0/reference/components/typed-signature-field.mdx +1 -1
  432. package/dist/docs/versioned/57.2.0/reference/components/userinactivity.mdx +1 -1
  433. package/dist/docs/versioned/57.2.0/reference/environment-variables.md +2 -2
  434. package/dist/docs/versioned/57.2.0/reference/lifecycle-plugin.md +4 -4
  435. package/dist/docs/versioned/57.2.0/reference/ui.md +1 -1
  436. package/dist/docs/versioned/57.2.0/roadmap.md +3 -3
  437. package/dist/docs/versioned/57.2.0/tasks/docs-reference-coverage.md +1 -1
  438. package/dist/docs/versioned/57.2.0/tasks/migrate-cicd-to-circleci.md +1 -1
  439. package/dist/docs/versioned/57.2.0/tasks/web-ssr-and-admin-spa.md +1 -1
  440. package/dist/docs/versioned/next/README.md +3 -0
  441. package/dist/docs/versioned/next/explanation/README.md +2 -1
  442. package/dist/docs/versioned/next/explanation/ai-workflows.md +5 -5
  443. package/dist/docs/versioned/next/explanation/announcements/rtk-deprecation.md +4 -4
  444. package/dist/docs/versioned/next/explanation/deployment-baseline.md +2 -2
  445. package/dist/docs/versioned/next/explanation/example-coverage.md +3 -2
  446. package/dist/docs/versioned/next/explanation/loop-engineering.md +1 -1
  447. package/dist/docs/versioned/next/explanation/modular-api-design.md +1 -1
  448. package/dist/docs/versioned/next/explanation/repository-settings.md +2 -2
  449. package/dist/docs/versioned/next/explanation/roadmap-process.md +57 -37
  450. package/dist/docs/versioned/next/explanation/roadmap-seed-issues.md +117 -117
  451. package/dist/docs/versioned/next/explanation/typescript-configuration.md +46 -0
  452. package/dist/docs/versioned/next/how-to/README.md +3 -0
  453. package/dist/docs/versioned/next/how-to/background-jobs.md +1 -1
  454. package/dist/docs/versioned/next/how-to/build-for-web.md +1 -1
  455. package/dist/docs/versioned/next/how-to/call-external-apis.md +1 -1
  456. package/dist/docs/versioned/next/how-to/circleci.md +27 -8
  457. package/dist/docs/versioned/next/how-to/create-a-terreno-app.md +3 -3
  458. package/dist/docs/versioned/next/how-to/debug-with-mcp.md +160 -0
  459. package/dist/docs/versioned/next/how-to/deploy-to-gcp.md +1 -1
  460. package/dist/docs/versioned/next/how-to/deploy-web-to-gcs-cdn.md +1 -1
  461. package/dist/docs/versioned/next/how-to/generate-a-rest-cli.md +34 -0
  462. package/dist/docs/versioned/next/how-to/github-actions-ci.md +2 -2
  463. package/dist/docs/versioned/next/how-to/github-issue-lifecycle.md +6 -6
  464. package/dist/docs/versioned/next/how-to/install-agent-skills.md +11 -11
  465. package/dist/docs/versioned/next/how-to/migrate-rtk-to-syncdb.md +3 -3
  466. package/dist/docs/versioned/next/how-to/password-reset.md +7 -0
  467. package/dist/docs/versioned/next/how-to/run-tests-locally.md +1 -1
  468. package/dist/docs/versioned/next/how-to/set-up-terreno-mcp.md +69 -0
  469. package/dist/docs/versioned/next/how-to/upgrade-terreno.md +1 -1
  470. package/dist/docs/versioned/next/implementationPlans/ModularAPI.md +1 -1
  471. package/dist/docs/versioned/next/implementationPlans/admin-improvements.md +1 -1
  472. package/dist/docs/versioned/next/implementationPlans/admin-only-research.md +1 -1
  473. package/dist/docs/versioned/next/implementationPlans/admin-only.md +1 -1
  474. package/dist/docs/versioned/next/implementationPlans/admin-script-runner.md +1 -1
  475. package/dist/docs/versioned/next/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  476. package/dist/docs/versioned/next/implementationPlans/agent-ui-blocks.md +1 -1
  477. package/dist/docs/versioned/next/implementationPlans/agentic-sdlc-plugin.md +1 -1
  478. package/dist/docs/versioned/next/implementationPlans/ai-dev-loop-boost.md +2 -2
  479. package/dist/docs/versioned/next/implementationPlans/apierror-standard-error-redesign.md +1 -1
  480. package/dist/docs/versioned/next/implementationPlans/b2b-platform-program.md +1 -1
  481. package/dist/docs/versioned/next/implementationPlans/better-auth-strict-oauth-provider.md +1 -1
  482. package/dist/docs/versioned/next/implementationPlans/billing-stripe.md +1 -1
  483. package/dist/docs/versioned/next/implementationPlans/build-terreno-app-validation.md +1 -1
  484. package/dist/docs/versioned/next/implementationPlans/charts-and-dashboards.md +1 -1
  485. package/dist/docs/versioned/next/implementationPlans/comms-abstraction-research.md +1 -1
  486. package/dist/docs/versioned/next/implementationPlans/comms-abstraction.md +1 -1
  487. package/dist/docs/versioned/next/implementationPlans/comms-adapter-expo-push.md +1 -1
  488. package/dist/docs/versioned/next/implementationPlans/comms-adapter-sendgrid.md +1 -1
  489. package/dist/docs/versioned/next/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  490. package/dist/docs/versioned/next/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  491. package/dist/docs/versioned/next/implementationPlans/comms-admin-dashboard.md +1 -1
  492. package/dist/docs/versioned/next/implementationPlans/compile-pipeline-dedup.md +133 -0
  493. package/dist/docs/versioned/next/implementationPlans/consent-forms.md +1 -1
  494. package/dist/docs/versioned/next/implementationPlans/create-terreno-app.md +1 -1
  495. package/dist/docs/versioned/next/implementationPlans/datatable-server-side-filtering.md +1 -1
  496. package/dist/docs/versioned/next/implementationPlans/deploy-to-gcp.md +1 -1
  497. package/dist/docs/versioned/next/implementationPlans/deploy-to-vercel.md +1 -1
  498. package/dist/docs/versioned/next/implementationPlans/deployment-foundation.md +2 -2
  499. package/dist/docs/versioned/next/implementationPlans/design-blend-skill.md +1 -1
  500. package/dist/docs/versioned/next/implementationPlans/docs-reference-coverage.md +1 -1
  501. package/dist/docs/versioned/next/implementationPlans/docs-site-and-versioning.md +1 -1
  502. package/dist/docs/versioned/next/implementationPlans/docs-tutorials-ai-first.md +1 -1
  503. package/dist/docs/versioned/next/implementationPlans/examples-demo-coverage.md +1 -1
  504. package/dist/docs/versioned/next/implementationPlans/feature-flags-openfeature.md +1 -1
  505. package/dist/docs/versioned/next/implementationPlans/feature-flags.md +1 -1
  506. package/dist/docs/versioned/next/implementationPlans/framework-audit-log.md +2 -2
  507. package/dist/docs/versioned/next/implementationPlans/inbound-webhooks.md +1 -1
  508. package/dist/docs/versioned/next/implementationPlans/infra-mcp-research.md +1 -1
  509. package/dist/docs/versioned/next/implementationPlans/infra-mcp.md +1 -1
  510. package/dist/docs/versioned/next/implementationPlans/job-queues.md +1 -1
  511. package/dist/docs/versioned/next/implementationPlans/mcp-boost-parity.md +1 -1
  512. package/dist/docs/versioned/next/implementationPlans/mcp-doc-sync-off-compile-path.md +97 -0
  513. package/dist/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  514. package/dist/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci.md +6 -6
  515. package/dist/docs/versioned/next/implementationPlans/model-router-actions.md +1 -1
  516. package/dist/docs/versioned/next/implementationPlans/model-router-mcp.md +1 -1
  517. package/dist/docs/versioned/next/implementationPlans/mongodb-migrations-tooling.md +1 -1
  518. package/dist/docs/versioned/next/implementationPlans/native-module-baseline.md +1 -1
  519. package/dist/docs/versioned/next/implementationPlans/notification-center.md +1 -1
  520. package/dist/docs/versioned/next/implementationPlans/offline-mode.md +1 -1
  521. package/dist/docs/versioned/next/implementationPlans/org-management-ui.md +1 -1
  522. package/dist/docs/versioned/next/implementationPlans/orgs-and-teams.md +1 -1
  523. package/dist/docs/versioned/next/implementationPlans/oss-governance-baseline.md +1 -1
  524. package/dist/docs/versioned/next/implementationPlans/oss-launch-program.md +3 -3
  525. package/dist/docs/versioned/next/implementationPlans/password-reset-and-email-verification.md +1 -1
  526. package/dist/docs/versioned/next/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  527. package/dist/docs/versioned/next/implementationPlans/positioning-django-rails-universal.md +1 -1
  528. package/dist/docs/versioned/next/implementationPlans/public-roadmap-github.md +1 -1
  529. package/dist/docs/versioned/next/implementationPlans/rate-limiting.md +2 -2
  530. package/dist/docs/versioned/next/implementationPlans/rbac-permissions.md +1 -1
  531. package/dist/docs/versioned/next/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  532. package/dist/docs/versioned/next/implementationPlans/support-agent.md +432 -0
  533. package/dist/docs/versioned/next/implementationPlans/syncdb-codegen.md +2 -2
  534. package/dist/docs/versioned/next/implementationPlans/syncdb-local-first.md +1 -1
  535. package/dist/docs/versioned/next/implementationPlans/syncdb-phase-c-design.md +1 -1
  536. package/dist/docs/versioned/next/implementationPlans/terreno-langfuse-integration.md +3 -3
  537. package/dist/docs/versioned/next/implementationPlans/terreno-syncdb-2.md +1 -1
  538. package/dist/docs/versioned/next/implementationPlans/upgrade-banner.md +1 -1
  539. package/dist/docs/versioned/next/implementationPlans/upgrade-guides-and-skill.md +1 -1
  540. package/dist/docs/versioned/next/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  541. package/dist/docs/versioned/next/reference/README.md +2 -1
  542. package/dist/docs/versioned/next/reference/admin-backend.md +7 -2
  543. package/dist/docs/versioned/next/reference/api.md +67 -13
  544. package/dist/docs/versioned/next/reference/cli.md +91 -0
  545. package/dist/docs/versioned/next/reference/create-terreno-app.md +1 -1
  546. package/dist/docs/versioned/next/reference/environment-variables.md +17 -2
  547. package/dist/docs/versioned/next/reference/lifecycle-plugin.md +11 -11
  548. package/dist/docs/versioned/next/reference/mcp-server.md +56 -2
  549. package/dist/docs/versioned/next/reference/scan-plugin.md +7 -7
  550. package/dist/docs/versioned/next/reference/syncdb.md +22 -1
  551. package/dist/docs/versioned/next/reference/test.md +4 -2
  552. package/dist/docs/versioned/next/reference/ui.md +2 -2
  553. package/dist/docs/versioned/next/roadmap.md +3 -3
  554. package/dist/docs/versioned/next/scans/reduce-cold-compile-time/charter.md +129 -0
  555. package/dist/docs/versioned/next/scans/reduce-cold-compile-time/round-1-findings.md +62 -0
  556. package/dist/docs/versioned/next/tasks/agent-ui-blocks.md +1 -1
  557. package/dist/docs/versioned/next/tasks/better-auth-strict-oauth-provider.md +1 -1
  558. package/dist/docs/versioned/next/tasks/charts-and-dashboards.md +1 -1
  559. package/dist/docs/versioned/next/tasks/compile-pipeline-dedup.md +61 -0
  560. package/dist/docs/versioned/next/tasks/create-terreno-app.md +1 -1
  561. package/dist/docs/versioned/next/tasks/datatable-server-side-filtering.md +1 -1
  562. package/dist/docs/versioned/next/tasks/docs-reference-coverage.md +1 -1
  563. package/dist/docs/versioned/next/tasks/examples-demo-coverage.md +1 -1
  564. package/dist/docs/versioned/next/tasks/framework-audit-log.md +1 -1
  565. package/dist/docs/versioned/next/tasks/inbound-webhooks.md +1 -1
  566. package/dist/docs/versioned/next/tasks/job-queues.md +1 -1
  567. package/dist/docs/versioned/next/tasks/mcp-doc-sync-off-compile-path.md +30 -0
  568. package/dist/docs/versioned/next/tasks/migrate-cicd-to-circleci.md +3 -3
  569. package/dist/docs/versioned/next/tasks/mongodb-migrations-tooling.md +1 -1
  570. package/dist/docs/versioned/next/tasks/notification-center.md +1 -1
  571. package/dist/docs/versioned/next/tasks/rate-limiting.md +1 -1
  572. package/dist/docs/versioned/next/tasks/support-agent.md +230 -0
  573. package/dist/docs/versioned/next/tasks/web-ssr-and-admin-spa.md +1 -1
  574. package/dist/docs/versioned/next/tutorials/getting-started.md +2 -2
  575. package/dist/local/localServer.d.ts +7 -0
  576. package/dist/local/localServer.d.ts.map +1 -1
  577. package/dist/local/localServer.js +7 -4
  578. package/dist/local/localServer.js.map +1 -1
  579. package/dist/local/localTools.d.ts +7 -0
  580. package/dist/local/localTools.d.ts.map +1 -1
  581. package/dist/local/localTools.js +281 -62
  582. package/dist/local/localTools.js.map +1 -1
  583. package/dist/local/logPaths.d.ts +8 -0
  584. package/dist/local/logPaths.d.ts.map +1 -0
  585. package/dist/local/logPaths.js +27 -0
  586. package/dist/local/logPaths.js.map +1 -0
  587. package/dist/local/metro/metroDevSession.d.ts +26 -0
  588. package/dist/local/metro/metroDevSession.d.ts.map +1 -0
  589. package/dist/local/metro/metroDevSession.js +398 -0
  590. package/dist/local/metro/metroDevSession.js.map +1 -0
  591. package/dist/local/tools/browser.d.ts +61 -0
  592. package/dist/local/tools/browser.d.ts.map +1 -0
  593. package/dist/local/tools/browser.js +238 -0
  594. package/dist/local/tools/browser.js.map +1 -0
  595. package/dist/local/tools/databaseSchema.d.ts.map +1 -1
  596. package/dist/local/tools/databaseSchema.js +19 -18
  597. package/dist/local/tools/databaseSchema.js.map +1 -1
  598. package/dist/local/tools/readLogs.d.ts +1 -0
  599. package/dist/local/tools/readLogs.d.ts.map +1 -1
  600. package/dist/local/tools/readLogs.js +106 -43
  601. package/dist/local/tools/readLogs.js.map +1 -1
  602. package/dist/local/tools/runtime.d.ts +4 -3
  603. package/dist/local/tools/runtime.d.ts.map +1 -1
  604. package/dist/local/tools/runtime.js +143 -21
  605. package/dist/local/tools/runtime.js.map +1 -1
  606. package/dist/local/tools/syncDb.d.ts +34 -0
  607. package/dist/local/tools/syncDb.d.ts.map +1 -0
  608. package/dist/local/tools/syncDb.js +305 -0
  609. package/dist/local/tools/syncDb.js.map +1 -0
  610. package/dist/packageGuidelines.d.ts +1 -1
  611. package/dist/packageGuidelines.d.ts.map +1 -1
  612. package/dist/packageGuidelines.js +15 -3
  613. package/dist/packageGuidelines.js.map +1 -1
  614. package/dist/tools.d.ts +56 -0
  615. package/dist/tools.d.ts.map +1 -1
  616. package/dist/tools.js +6 -6
  617. package/dist/tools.js.map +1 -1
  618. package/package.json +46 -7
  619. package/src/docs/guidelines/syncdb/guidelines/core.md +22 -0
  620. package/src/docs/guidelines/syncdb/skills/debug-syncdb-with-mcp/SKILL.md +74 -0
  621. package/src/docs/resources/overview.md +8 -0
  622. package/src/docs/resources/rtk.md +1 -1
  623. package/src/docs/resources/syncdb.md +11 -2
  624. package/src/docs/templates/bootstrap/frontend/app/_layout.template.tsx +5 -3
  625. package/src/docs/upgrades/56.0.0-beta.2.md +2 -2
  626. package/src/docs/upgrades/57.4.0.md +26 -0
  627. package/src/docs/upgrades/57.6.0.md +135 -0
  628. package/src/docs/versioned/0.29.0/explanation/modular-api-design.md +1 -1
  629. package/src/docs/versioned/0.29.0/how-to/deploy-to-gcp.md +1 -1
  630. package/src/docs/versioned/0.29.0/implementationPlans/PLAN_INDEX.md +2 -2
  631. package/src/docs/versioned/0.29.0/implementationPlans/README.md +1 -1
  632. package/src/docs/versioned/0.29.0/implementationPlans/ai-dev-loop-boost.md +1 -1
  633. package/src/docs/versioned/0.29.0/implementationPlans/deployment-foundation.md +1 -1
  634. package/src/docs/versioned/0.29.0/implementationPlans/oss-launch-program.md +2 -2
  635. package/src/docs/versioned/0.29.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  636. package/src/docs/versioned/0.29.0/implementationPlans/terreno-langfuse-integration.md +2 -2
  637. package/src/docs/versioned/0.29.0/implementationPlans/web-ssr-and-admin-spa.md +1 -1
  638. package/src/docs/versioned/0.29.0/reference/README.md +1 -1
  639. package/src/docs/versioned/0.29.0/reference/components/accordion.mdx +1 -1
  640. package/src/docs/versioned/0.29.0/reference/components/addressfield.mdx +1 -1
  641. package/src/docs/versioned/0.29.0/reference/components/ai-suggestion-box.mdx +1 -1
  642. package/src/docs/versioned/0.29.0/reference/components/avatar.mdx +1 -1
  643. package/src/docs/versioned/0.29.0/reference/components/badge.mdx +1 -1
  644. package/src/docs/versioned/0.29.0/reference/components/banner.mdx +1 -1
  645. package/src/docs/versioned/0.29.0/reference/components/boolean-field.mdx +1 -1
  646. package/src/docs/versioned/0.29.0/reference/components/box.mdx +1 -1
  647. package/src/docs/versioned/0.29.0/reference/components/button.mdx +1 -1
  648. package/src/docs/versioned/0.29.0/reference/components/card.mdx +1 -1
  649. package/src/docs/versioned/0.29.0/reference/components/checkbox.mdx +1 -1
  650. package/src/docs/versioned/0.29.0/reference/components/consentformscreen.mdx +1 -1
  651. package/src/docs/versioned/0.29.0/reference/components/custom-select-field.mdx +1 -1
  652. package/src/docs/versioned/0.29.0/reference/components/datatable.mdx +1 -1
  653. package/src/docs/versioned/0.29.0/reference/components/date-time-field.mdx +1 -1
  654. package/src/docs/versioned/0.29.0/reference/components/email-field.mdx +1 -1
  655. package/src/docs/versioned/0.29.0/reference/components/emoji-selector.mdx +1 -1
  656. package/src/docs/versioned/0.29.0/reference/components/field.mdx +1 -1
  657. package/src/docs/versioned/0.29.0/reference/components/height-field.mdx +1 -1
  658. package/src/docs/versioned/0.29.0/reference/components/icon.mdx +1 -1
  659. package/src/docs/versioned/0.29.0/reference/components/iconbutton.mdx +1 -1
  660. package/src/docs/versioned/0.29.0/reference/components/inner-modal-content.mdx +1 -1
  661. package/src/docs/versioned/0.29.0/reference/components/markdown-editor-field.mdx +1 -1
  662. package/src/docs/versioned/0.29.0/reference/components/markdownview.mdx +1 -1
  663. package/src/docs/versioned/0.29.0/reference/components/multiselect-field.mdx +1 -1
  664. package/src/docs/versioned/0.29.0/reference/components/number-field.mdx +1 -1
  665. package/src/docs/versioned/0.29.0/reference/components/page.mdx +1 -1
  666. package/src/docs/versioned/0.29.0/reference/components/pagination.mdx +1 -1
  667. package/src/docs/versioned/0.29.0/reference/components/password-field.mdx +1 -1
  668. package/src/docs/versioned/0.29.0/reference/components/phone-number-field.mdx +1 -1
  669. package/src/docs/versioned/0.29.0/reference/components/radio-field.mdx +1 -1
  670. package/src/docs/versioned/0.29.0/reference/components/sectiondivider.mdx +1 -1
  671. package/src/docs/versioned/0.29.0/reference/components/segmented-control.mdx +1 -1
  672. package/src/docs/versioned/0.29.0/reference/components/select-field.mdx +1 -1
  673. package/src/docs/versioned/0.29.0/reference/components/selectbadge.mdx +1 -1
  674. package/src/docs/versioned/0.29.0/reference/components/side-drawer.mdx +1 -1
  675. package/src/docs/versioned/0.29.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  676. package/src/docs/versioned/0.29.0/reference/components/signature-capture-field.mdx +1 -1
  677. package/src/docs/versioned/0.29.0/reference/components/signature-field.mdx +1 -1
  678. package/src/docs/versioned/0.29.0/reference/components/slider.mdx +1 -1
  679. package/src/docs/versioned/0.29.0/reference/components/spinner.mdx +1 -1
  680. package/src/docs/versioned/0.29.0/reference/components/table-badge.mdx +1 -1
  681. package/src/docs/versioned/0.29.0/reference/components/table-boolean.mdx +1 -1
  682. package/src/docs/versioned/0.29.0/reference/components/table-date.mdx +1 -1
  683. package/src/docs/versioned/0.29.0/reference/components/table-icon-button.mdx +1 -1
  684. package/src/docs/versioned/0.29.0/reference/components/table-number.mdx +1 -1
  685. package/src/docs/versioned/0.29.0/reference/components/table-text.mdx +1 -1
  686. package/src/docs/versioned/0.29.0/reference/components/table-title.mdx +1 -1
  687. package/src/docs/versioned/0.29.0/reference/components/table.mdx +1 -1
  688. package/src/docs/versioned/0.29.0/reference/components/tap-to-edit.mdx +1 -1
  689. package/src/docs/versioned/0.29.0/reference/components/text-area.mdx +1 -1
  690. package/src/docs/versioned/0.29.0/reference/components/text-field.mdx +1 -1
  691. package/src/docs/versioned/0.29.0/reference/components/theme.mdx +1 -1
  692. package/src/docs/versioned/0.29.0/reference/components/toast.mdx +1 -1
  693. package/src/docs/versioned/0.29.0/reference/components/tooltip.mdx +1 -1
  694. package/src/docs/versioned/0.29.0/reference/components/typed-signature-field.mdx +1 -1
  695. package/src/docs/versioned/0.29.0/reference/components/userinactivity.mdx +1 -1
  696. package/src/docs/versioned/0.29.0/reference/ui.md +1 -1
  697. package/src/docs/versioned/0.29.0/tasks/agentic-sdlc-plugin.md +1 -1
  698. package/src/docs/versioned/0.29.0/tasks/docs-reference-coverage.md +1 -1
  699. package/src/docs/versioned/0.29.0/tasks/rtk-to-syncdb-migration-docs.md +1 -1
  700. package/src/docs/versioned/0.29.0/tasks/web-ssr-and-admin-spa.md +1 -1
  701. package/src/docs/versioned/0.30.0/explanation/modular-api-design.md +1 -1
  702. package/src/docs/versioned/0.30.0/how-to/deploy-to-gcp.md +1 -1
  703. package/src/docs/versioned/0.30.0/implementationPlans/PLAN_INDEX.md +2 -2
  704. package/src/docs/versioned/0.30.0/implementationPlans/README.md +1 -1
  705. package/src/docs/versioned/0.30.0/implementationPlans/ai-dev-loop-boost.md +1 -1
  706. package/src/docs/versioned/0.30.0/implementationPlans/deployment-foundation.md +1 -1
  707. package/src/docs/versioned/0.30.0/implementationPlans/oss-launch-program.md +2 -2
  708. package/src/docs/versioned/0.30.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  709. package/src/docs/versioned/0.30.0/implementationPlans/terreno-langfuse-integration.md +2 -2
  710. package/src/docs/versioned/0.30.0/implementationPlans/web-ssr-and-admin-spa.md +1 -1
  711. package/src/docs/versioned/0.30.0/reference/README.md +1 -1
  712. package/src/docs/versioned/0.30.0/reference/components/accordion.mdx +1 -1
  713. package/src/docs/versioned/0.30.0/reference/components/addressfield.mdx +1 -1
  714. package/src/docs/versioned/0.30.0/reference/components/ai-suggestion-box.mdx +1 -1
  715. package/src/docs/versioned/0.30.0/reference/components/avatar.mdx +1 -1
  716. package/src/docs/versioned/0.30.0/reference/components/badge.mdx +1 -1
  717. package/src/docs/versioned/0.30.0/reference/components/banner.mdx +1 -1
  718. package/src/docs/versioned/0.30.0/reference/components/boolean-field.mdx +1 -1
  719. package/src/docs/versioned/0.30.0/reference/components/box.mdx +1 -1
  720. package/src/docs/versioned/0.30.0/reference/components/button.mdx +1 -1
  721. package/src/docs/versioned/0.30.0/reference/components/card.mdx +1 -1
  722. package/src/docs/versioned/0.30.0/reference/components/checkbox.mdx +1 -1
  723. package/src/docs/versioned/0.30.0/reference/components/consentformscreen.mdx +1 -1
  724. package/src/docs/versioned/0.30.0/reference/components/custom-select-field.mdx +1 -1
  725. package/src/docs/versioned/0.30.0/reference/components/datatable.mdx +1 -1
  726. package/src/docs/versioned/0.30.0/reference/components/date-time-field.mdx +1 -1
  727. package/src/docs/versioned/0.30.0/reference/components/email-field.mdx +1 -1
  728. package/src/docs/versioned/0.30.0/reference/components/emoji-selector.mdx +1 -1
  729. package/src/docs/versioned/0.30.0/reference/components/field.mdx +1 -1
  730. package/src/docs/versioned/0.30.0/reference/components/height-field.mdx +1 -1
  731. package/src/docs/versioned/0.30.0/reference/components/icon.mdx +1 -1
  732. package/src/docs/versioned/0.30.0/reference/components/iconbutton.mdx +1 -1
  733. package/src/docs/versioned/0.30.0/reference/components/inner-modal-content.mdx +1 -1
  734. package/src/docs/versioned/0.30.0/reference/components/markdown-editor-field.mdx +1 -1
  735. package/src/docs/versioned/0.30.0/reference/components/markdownview.mdx +1 -1
  736. package/src/docs/versioned/0.30.0/reference/components/multiselect-field.mdx +1 -1
  737. package/src/docs/versioned/0.30.0/reference/components/number-field.mdx +1 -1
  738. package/src/docs/versioned/0.30.0/reference/components/page.mdx +1 -1
  739. package/src/docs/versioned/0.30.0/reference/components/pagination.mdx +1 -1
  740. package/src/docs/versioned/0.30.0/reference/components/password-field.mdx +1 -1
  741. package/src/docs/versioned/0.30.0/reference/components/phone-number-field.mdx +1 -1
  742. package/src/docs/versioned/0.30.0/reference/components/radio-field.mdx +1 -1
  743. package/src/docs/versioned/0.30.0/reference/components/sectiondivider.mdx +1 -1
  744. package/src/docs/versioned/0.30.0/reference/components/segmented-control.mdx +1 -1
  745. package/src/docs/versioned/0.30.0/reference/components/select-field.mdx +1 -1
  746. package/src/docs/versioned/0.30.0/reference/components/selectbadge.mdx +1 -1
  747. package/src/docs/versioned/0.30.0/reference/components/side-drawer.mdx +1 -1
  748. package/src/docs/versioned/0.30.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  749. package/src/docs/versioned/0.30.0/reference/components/signature-capture-field.mdx +1 -1
  750. package/src/docs/versioned/0.30.0/reference/components/signature-field.mdx +1 -1
  751. package/src/docs/versioned/0.30.0/reference/components/slider.mdx +1 -1
  752. package/src/docs/versioned/0.30.0/reference/components/spinner.mdx +1 -1
  753. package/src/docs/versioned/0.30.0/reference/components/table-badge.mdx +1 -1
  754. package/src/docs/versioned/0.30.0/reference/components/table-boolean.mdx +1 -1
  755. package/src/docs/versioned/0.30.0/reference/components/table-date.mdx +1 -1
  756. package/src/docs/versioned/0.30.0/reference/components/table-icon-button.mdx +1 -1
  757. package/src/docs/versioned/0.30.0/reference/components/table-number.mdx +1 -1
  758. package/src/docs/versioned/0.30.0/reference/components/table-text.mdx +1 -1
  759. package/src/docs/versioned/0.30.0/reference/components/table-title.mdx +1 -1
  760. package/src/docs/versioned/0.30.0/reference/components/table.mdx +1 -1
  761. package/src/docs/versioned/0.30.0/reference/components/tap-to-edit.mdx +1 -1
  762. package/src/docs/versioned/0.30.0/reference/components/text-area.mdx +1 -1
  763. package/src/docs/versioned/0.30.0/reference/components/text-field.mdx +1 -1
  764. package/src/docs/versioned/0.30.0/reference/components/theme.mdx +1 -1
  765. package/src/docs/versioned/0.30.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  766. package/src/docs/versioned/0.30.0/reference/components/toast.mdx +1 -1
  767. package/src/docs/versioned/0.30.0/reference/components/tooltip.mdx +1 -1
  768. package/src/docs/versioned/0.30.0/reference/components/typed-signature-field.mdx +1 -1
  769. package/src/docs/versioned/0.30.0/reference/components/userinactivity.mdx +1 -1
  770. package/src/docs/versioned/0.30.0/reference/ui.md +1 -1
  771. package/src/docs/versioned/0.30.0/tasks/agentic-sdlc-plugin.md +1 -1
  772. package/src/docs/versioned/0.30.0/tasks/docs-reference-coverage.md +1 -1
  773. package/src/docs/versioned/0.30.0/tasks/rtk-to-syncdb-migration-docs.md +1 -1
  774. package/src/docs/versioned/0.30.0/tasks/web-ssr-and-admin-spa.md +1 -1
  775. package/src/docs/versioned/57.1.0/explanation/README.md +1 -1
  776. package/src/docs/versioned/57.1.0/explanation/announcements/rtk-deprecation.md +4 -4
  777. package/src/docs/versioned/57.1.0/explanation/deployment-baseline.md +2 -2
  778. package/src/docs/versioned/57.1.0/explanation/loop-engineering.md +1 -1
  779. package/src/docs/versioned/57.1.0/explanation/modular-api-design.md +1 -1
  780. package/src/docs/versioned/57.1.0/explanation/repository-settings.md +1 -1
  781. package/src/docs/versioned/57.1.0/explanation/roadmap-process.md +25 -25
  782. package/src/docs/versioned/57.1.0/explanation/roadmap-seed-issues.md +80 -80
  783. package/src/docs/versioned/57.1.0/how-to/build-for-web.md +1 -1
  784. package/src/docs/versioned/57.1.0/how-to/circleci.md +2 -2
  785. package/src/docs/versioned/57.1.0/how-to/deploy-to-gcp.md +1 -1
  786. package/src/docs/versioned/57.1.0/how-to/deploy-web-to-gcs-cdn.md +1 -1
  787. package/src/docs/versioned/57.1.0/how-to/install-agent-skills.md +3 -3
  788. package/src/docs/versioned/57.1.0/how-to/migrate-rtk-to-syncdb.md +2 -2
  789. package/src/docs/versioned/57.1.0/implementationPlans/ModularAPI.md +1 -1
  790. package/src/docs/versioned/57.1.0/implementationPlans/admin-improvements.md +1 -1
  791. package/src/docs/versioned/57.1.0/implementationPlans/admin-only-research.md +1 -1
  792. package/src/docs/versioned/57.1.0/implementationPlans/admin-only.md +1 -1
  793. package/src/docs/versioned/57.1.0/implementationPlans/admin-script-runner.md +1 -1
  794. package/src/docs/versioned/57.1.0/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  795. package/src/docs/versioned/57.1.0/implementationPlans/agentic-sdlc-plugin.md +1 -1
  796. package/src/docs/versioned/57.1.0/implementationPlans/ai-dev-loop-boost.md +2 -2
  797. package/src/docs/versioned/57.1.0/implementationPlans/apierror-standard-error-redesign.md +1 -1
  798. package/src/docs/versioned/57.1.0/implementationPlans/b2b-platform-program.md +1 -1
  799. package/src/docs/versioned/57.1.0/implementationPlans/billing-stripe.md +1 -1
  800. package/src/docs/versioned/57.1.0/implementationPlans/build-terreno-app-validation.md +1 -1
  801. package/src/docs/versioned/57.1.0/implementationPlans/comms-abstraction-research.md +1 -1
  802. package/src/docs/versioned/57.1.0/implementationPlans/comms-abstraction.md +1 -1
  803. package/src/docs/versioned/57.1.0/implementationPlans/comms-adapter-expo-push.md +1 -1
  804. package/src/docs/versioned/57.1.0/implementationPlans/comms-adapter-sendgrid.md +1 -1
  805. package/src/docs/versioned/57.1.0/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  806. package/src/docs/versioned/57.1.0/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  807. package/src/docs/versioned/57.1.0/implementationPlans/comms-admin-dashboard.md +1 -1
  808. package/src/docs/versioned/57.1.0/implementationPlans/consent-forms.md +1 -1
  809. package/src/docs/versioned/57.1.0/implementationPlans/deploy-to-gcp.md +1 -1
  810. package/src/docs/versioned/57.1.0/implementationPlans/deploy-to-vercel.md +1 -1
  811. package/src/docs/versioned/57.1.0/implementationPlans/deployment-foundation.md +2 -2
  812. package/src/docs/versioned/57.1.0/implementationPlans/design-blend-skill.md +1 -1
  813. package/src/docs/versioned/57.1.0/implementationPlans/docs-reference-coverage.md +1 -1
  814. package/src/docs/versioned/57.1.0/implementationPlans/docs-site-and-versioning.md +1 -1
  815. package/src/docs/versioned/57.1.0/implementationPlans/docs-tutorials-ai-first.md +1 -1
  816. package/src/docs/versioned/57.1.0/implementationPlans/examples-demo-coverage.md +1 -1
  817. package/src/docs/versioned/57.1.0/implementationPlans/feature-flags-openfeature.md +1 -1
  818. package/src/docs/versioned/57.1.0/implementationPlans/feature-flags.md +1 -1
  819. package/src/docs/versioned/57.1.0/implementationPlans/infra-mcp-research.md +1 -1
  820. package/src/docs/versioned/57.1.0/implementationPlans/infra-mcp.md +1 -1
  821. package/src/docs/versioned/57.1.0/implementationPlans/mcp-boost-parity.md +1 -1
  822. package/src/docs/versioned/57.1.0/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  823. package/src/docs/versioned/57.1.0/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  824. package/src/docs/versioned/57.1.0/implementationPlans/model-router-actions.md +1 -1
  825. package/src/docs/versioned/57.1.0/implementationPlans/model-router-mcp.md +1 -1
  826. package/src/docs/versioned/57.1.0/implementationPlans/native-module-baseline.md +1 -1
  827. package/src/docs/versioned/57.1.0/implementationPlans/offline-mode.md +1 -1
  828. package/src/docs/versioned/57.1.0/implementationPlans/orgs-and-teams.md +1 -1
  829. package/src/docs/versioned/57.1.0/implementationPlans/oss-governance-baseline.md +1 -1
  830. package/src/docs/versioned/57.1.0/implementationPlans/oss-launch-program.md +3 -3
  831. package/src/docs/versioned/57.1.0/implementationPlans/password-reset-and-email-verification.md +1 -1
  832. package/src/docs/versioned/57.1.0/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  833. package/src/docs/versioned/57.1.0/implementationPlans/positioning-django-rails-universal.md +1 -1
  834. package/src/docs/versioned/57.1.0/implementationPlans/public-roadmap-github.md +1 -1
  835. package/src/docs/versioned/57.1.0/implementationPlans/rbac-permissions.md +1 -1
  836. package/src/docs/versioned/57.1.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  837. package/src/docs/versioned/57.1.0/implementationPlans/syncdb-codegen.md +2 -2
  838. package/src/docs/versioned/57.1.0/implementationPlans/syncdb-local-first.md +1 -1
  839. package/src/docs/versioned/57.1.0/implementationPlans/syncdb-phase-c-design.md +1 -1
  840. package/src/docs/versioned/57.1.0/implementationPlans/terreno-langfuse-integration.md +3 -3
  841. package/src/docs/versioned/57.1.0/implementationPlans/terreno-syncdb-2.md +1 -1
  842. package/src/docs/versioned/57.1.0/implementationPlans/upgrade-banner.md +1 -1
  843. package/src/docs/versioned/57.1.0/implementationPlans/upgrade-guides-and-skill.md +1 -1
  844. package/src/docs/versioned/57.1.0/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  845. package/src/docs/versioned/57.1.0/reference/README.md +1 -1
  846. package/src/docs/versioned/57.1.0/reference/components/accordion.mdx +1 -1
  847. package/src/docs/versioned/57.1.0/reference/components/addressfield.mdx +1 -1
  848. package/src/docs/versioned/57.1.0/reference/components/ai-suggestion-box.mdx +1 -1
  849. package/src/docs/versioned/57.1.0/reference/components/avatar.mdx +1 -1
  850. package/src/docs/versioned/57.1.0/reference/components/badge.mdx +1 -1
  851. package/src/docs/versioned/57.1.0/reference/components/banner.mdx +1 -1
  852. package/src/docs/versioned/57.1.0/reference/components/boolean-field.mdx +1 -1
  853. package/src/docs/versioned/57.1.0/reference/components/box.mdx +1 -1
  854. package/src/docs/versioned/57.1.0/reference/components/button.mdx +1 -1
  855. package/src/docs/versioned/57.1.0/reference/components/card.mdx +1 -1
  856. package/src/docs/versioned/57.1.0/reference/components/checkbox.mdx +1 -1
  857. package/src/docs/versioned/57.1.0/reference/components/consentformscreen.mdx +1 -1
  858. package/src/docs/versioned/57.1.0/reference/components/custom-select-field.mdx +1 -1
  859. package/src/docs/versioned/57.1.0/reference/components/datatable.mdx +1 -1
  860. package/src/docs/versioned/57.1.0/reference/components/date-time-field.mdx +1 -1
  861. package/src/docs/versioned/57.1.0/reference/components/editablecard.mdx +1 -1
  862. package/src/docs/versioned/57.1.0/reference/components/email-field.mdx +1 -1
  863. package/src/docs/versioned/57.1.0/reference/components/emoji-selector.mdx +1 -1
  864. package/src/docs/versioned/57.1.0/reference/components/field.mdx +1 -1
  865. package/src/docs/versioned/57.1.0/reference/components/filter.mdx +1 -1
  866. package/src/docs/versioned/57.1.0/reference/components/height-field.mdx +1 -1
  867. package/src/docs/versioned/57.1.0/reference/components/icon.mdx +1 -1
  868. package/src/docs/versioned/57.1.0/reference/components/iconbutton.mdx +1 -1
  869. package/src/docs/versioned/57.1.0/reference/components/inner-modal-content.mdx +1 -1
  870. package/src/docs/versioned/57.1.0/reference/components/markdown-editor-field.mdx +1 -1
  871. package/src/docs/versioned/57.1.0/reference/components/markdownview.mdx +1 -1
  872. package/src/docs/versioned/57.1.0/reference/components/multiselect-field.mdx +1 -1
  873. package/src/docs/versioned/57.1.0/reference/components/number-field.mdx +1 -1
  874. package/src/docs/versioned/57.1.0/reference/components/page.mdx +1 -1
  875. package/src/docs/versioned/57.1.0/reference/components/pagination.mdx +1 -1
  876. package/src/docs/versioned/57.1.0/reference/components/password-field.mdx +1 -1
  877. package/src/docs/versioned/57.1.0/reference/components/phone-number-field.mdx +1 -1
  878. package/src/docs/versioned/57.1.0/reference/components/radio-field.mdx +1 -1
  879. package/src/docs/versioned/57.1.0/reference/components/sectiondivider.mdx +1 -1
  880. package/src/docs/versioned/57.1.0/reference/components/segmented-control.mdx +1 -1
  881. package/src/docs/versioned/57.1.0/reference/components/select-field.mdx +1 -1
  882. package/src/docs/versioned/57.1.0/reference/components/selectbadge.mdx +1 -1
  883. package/src/docs/versioned/57.1.0/reference/components/side-drawer.mdx +1 -1
  884. package/src/docs/versioned/57.1.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  885. package/src/docs/versioned/57.1.0/reference/components/signature-capture-field.mdx +1 -1
  886. package/src/docs/versioned/57.1.0/reference/components/signature-field.mdx +1 -1
  887. package/src/docs/versioned/57.1.0/reference/components/slider.mdx +1 -1
  888. package/src/docs/versioned/57.1.0/reference/components/spinner.mdx +1 -1
  889. package/src/docs/versioned/57.1.0/reference/components/table-badge.mdx +1 -1
  890. package/src/docs/versioned/57.1.0/reference/components/table-boolean.mdx +1 -1
  891. package/src/docs/versioned/57.1.0/reference/components/table-date.mdx +1 -1
  892. package/src/docs/versioned/57.1.0/reference/components/table-icon-button.mdx +1 -1
  893. package/src/docs/versioned/57.1.0/reference/components/table-number.mdx +1 -1
  894. package/src/docs/versioned/57.1.0/reference/components/table-text.mdx +1 -1
  895. package/src/docs/versioned/57.1.0/reference/components/table-title.mdx +1 -1
  896. package/src/docs/versioned/57.1.0/reference/components/table.mdx +1 -1
  897. package/src/docs/versioned/57.1.0/reference/components/tap-to-edit.mdx +1 -1
  898. package/src/docs/versioned/57.1.0/reference/components/text-area.mdx +1 -1
  899. package/src/docs/versioned/57.1.0/reference/components/text-field.mdx +1 -1
  900. package/src/docs/versioned/57.1.0/reference/components/theme.mdx +1 -1
  901. package/src/docs/versioned/57.1.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  902. package/src/docs/versioned/57.1.0/reference/components/toast.mdx +1 -1
  903. package/src/docs/versioned/57.1.0/reference/components/tooltip.mdx +1 -1
  904. package/src/docs/versioned/57.1.0/reference/components/typed-signature-field.mdx +1 -1
  905. package/src/docs/versioned/57.1.0/reference/components/userinactivity.mdx +1 -1
  906. package/src/docs/versioned/57.1.0/reference/environment-variables.md +2 -2
  907. package/src/docs/versioned/57.1.0/reference/lifecycle-plugin.md +4 -4
  908. package/src/docs/versioned/57.1.0/reference/ui.md +1 -1
  909. package/src/docs/versioned/57.1.0/roadmap.md +3 -3
  910. package/src/docs/versioned/57.1.0/tasks/docs-reference-coverage.md +1 -1
  911. package/src/docs/versioned/57.1.0/tasks/migrate-cicd-to-circleci.md +1 -1
  912. package/src/docs/versioned/57.1.0/tasks/web-ssr-and-admin-spa.md +1 -1
  913. package/src/docs/versioned/57.2.0/explanation/README.md +1 -1
  914. package/src/docs/versioned/57.2.0/explanation/announcements/rtk-deprecation.md +4 -4
  915. package/src/docs/versioned/57.2.0/explanation/deployment-baseline.md +2 -2
  916. package/src/docs/versioned/57.2.0/explanation/loop-engineering.md +1 -1
  917. package/src/docs/versioned/57.2.0/explanation/modular-api-design.md +1 -1
  918. package/src/docs/versioned/57.2.0/explanation/repository-settings.md +1 -1
  919. package/src/docs/versioned/57.2.0/explanation/roadmap-process.md +25 -25
  920. package/src/docs/versioned/57.2.0/explanation/roadmap-seed-issues.md +83 -83
  921. package/src/docs/versioned/57.2.0/how-to/build-for-web.md +1 -1
  922. package/src/docs/versioned/57.2.0/how-to/circleci.md +2 -2
  923. package/src/docs/versioned/57.2.0/how-to/deploy-to-gcp.md +1 -1
  924. package/src/docs/versioned/57.2.0/how-to/deploy-web-to-gcs-cdn.md +1 -1
  925. package/src/docs/versioned/57.2.0/how-to/install-agent-skills.md +3 -3
  926. package/src/docs/versioned/57.2.0/how-to/migrate-rtk-to-syncdb.md +2 -2
  927. package/src/docs/versioned/57.2.0/implementationPlans/ModularAPI.md +1 -1
  928. package/src/docs/versioned/57.2.0/implementationPlans/admin-improvements.md +1 -1
  929. package/src/docs/versioned/57.2.0/implementationPlans/admin-only-research.md +1 -1
  930. package/src/docs/versioned/57.2.0/implementationPlans/admin-only.md +1 -1
  931. package/src/docs/versioned/57.2.0/implementationPlans/admin-script-runner.md +1 -1
  932. package/src/docs/versioned/57.2.0/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  933. package/src/docs/versioned/57.2.0/implementationPlans/agentic-sdlc-plugin.md +1 -1
  934. package/src/docs/versioned/57.2.0/implementationPlans/ai-dev-loop-boost.md +2 -2
  935. package/src/docs/versioned/57.2.0/implementationPlans/apierror-standard-error-redesign.md +1 -1
  936. package/src/docs/versioned/57.2.0/implementationPlans/b2b-platform-program.md +1 -1
  937. package/src/docs/versioned/57.2.0/implementationPlans/billing-stripe.md +1 -1
  938. package/src/docs/versioned/57.2.0/implementationPlans/build-terreno-app-validation.md +1 -1
  939. package/src/docs/versioned/57.2.0/implementationPlans/comms-abstraction-research.md +1 -1
  940. package/src/docs/versioned/57.2.0/implementationPlans/comms-abstraction.md +1 -1
  941. package/src/docs/versioned/57.2.0/implementationPlans/comms-adapter-expo-push.md +1 -1
  942. package/src/docs/versioned/57.2.0/implementationPlans/comms-adapter-sendgrid.md +1 -1
  943. package/src/docs/versioned/57.2.0/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  944. package/src/docs/versioned/57.2.0/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  945. package/src/docs/versioned/57.2.0/implementationPlans/comms-admin-dashboard.md +1 -1
  946. package/src/docs/versioned/57.2.0/implementationPlans/consent-forms.md +1 -1
  947. package/src/docs/versioned/57.2.0/implementationPlans/deploy-to-gcp.md +1 -1
  948. package/src/docs/versioned/57.2.0/implementationPlans/deploy-to-vercel.md +1 -1
  949. package/src/docs/versioned/57.2.0/implementationPlans/deployment-foundation.md +2 -2
  950. package/src/docs/versioned/57.2.0/implementationPlans/design-blend-skill.md +1 -1
  951. package/src/docs/versioned/57.2.0/implementationPlans/docs-reference-coverage.md +1 -1
  952. package/src/docs/versioned/57.2.0/implementationPlans/docs-site-and-versioning.md +1 -1
  953. package/src/docs/versioned/57.2.0/implementationPlans/docs-tutorials-ai-first.md +1 -1
  954. package/src/docs/versioned/57.2.0/implementationPlans/examples-demo-coverage.md +1 -1
  955. package/src/docs/versioned/57.2.0/implementationPlans/feature-flags-openfeature.md +1 -1
  956. package/src/docs/versioned/57.2.0/implementationPlans/feature-flags.md +1 -1
  957. package/src/docs/versioned/57.2.0/implementationPlans/infra-mcp-research.md +1 -1
  958. package/src/docs/versioned/57.2.0/implementationPlans/infra-mcp.md +1 -1
  959. package/src/docs/versioned/57.2.0/implementationPlans/mcp-boost-parity.md +1 -1
  960. package/src/docs/versioned/57.2.0/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  961. package/src/docs/versioned/57.2.0/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  962. package/src/docs/versioned/57.2.0/implementationPlans/model-router-actions.md +1 -1
  963. package/src/docs/versioned/57.2.0/implementationPlans/model-router-mcp.md +1 -1
  964. package/src/docs/versioned/57.2.0/implementationPlans/native-module-baseline.md +1 -1
  965. package/src/docs/versioned/57.2.0/implementationPlans/offline-mode.md +1 -1
  966. package/src/docs/versioned/57.2.0/implementationPlans/org-management-ui.md +1 -1
  967. package/src/docs/versioned/57.2.0/implementationPlans/orgs-and-teams.md +1 -1
  968. package/src/docs/versioned/57.2.0/implementationPlans/oss-governance-baseline.md +1 -1
  969. package/src/docs/versioned/57.2.0/implementationPlans/oss-launch-program.md +3 -3
  970. package/src/docs/versioned/57.2.0/implementationPlans/password-reset-and-email-verification.md +1 -1
  971. package/src/docs/versioned/57.2.0/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  972. package/src/docs/versioned/57.2.0/implementationPlans/positioning-django-rails-universal.md +1 -1
  973. package/src/docs/versioned/57.2.0/implementationPlans/public-roadmap-github.md +1 -1
  974. package/src/docs/versioned/57.2.0/implementationPlans/rbac-permissions.md +1 -1
  975. package/src/docs/versioned/57.2.0/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  976. package/src/docs/versioned/57.2.0/implementationPlans/syncdb-codegen.md +2 -2
  977. package/src/docs/versioned/57.2.0/implementationPlans/syncdb-local-first.md +1 -1
  978. package/src/docs/versioned/57.2.0/implementationPlans/syncdb-phase-c-design.md +1 -1
  979. package/src/docs/versioned/57.2.0/implementationPlans/terreno-langfuse-integration.md +3 -3
  980. package/src/docs/versioned/57.2.0/implementationPlans/terreno-syncdb-2.md +1 -1
  981. package/src/docs/versioned/57.2.0/implementationPlans/upgrade-banner.md +1 -1
  982. package/src/docs/versioned/57.2.0/implementationPlans/upgrade-guides-and-skill.md +1 -1
  983. package/src/docs/versioned/57.2.0/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  984. package/src/docs/versioned/57.2.0/reference/README.md +1 -1
  985. package/src/docs/versioned/57.2.0/reference/components/accordion.mdx +1 -1
  986. package/src/docs/versioned/57.2.0/reference/components/addressfield.mdx +1 -1
  987. package/src/docs/versioned/57.2.0/reference/components/ai-suggestion-box.mdx +1 -1
  988. package/src/docs/versioned/57.2.0/reference/components/avatar.mdx +1 -1
  989. package/src/docs/versioned/57.2.0/reference/components/badge.mdx +1 -1
  990. package/src/docs/versioned/57.2.0/reference/components/banner.mdx +1 -1
  991. package/src/docs/versioned/57.2.0/reference/components/boolean-field.mdx +1 -1
  992. package/src/docs/versioned/57.2.0/reference/components/box.mdx +1 -1
  993. package/src/docs/versioned/57.2.0/reference/components/button.mdx +1 -1
  994. package/src/docs/versioned/57.2.0/reference/components/card.mdx +1 -1
  995. package/src/docs/versioned/57.2.0/reference/components/checkbox.mdx +1 -1
  996. package/src/docs/versioned/57.2.0/reference/components/consentformscreen.mdx +1 -1
  997. package/src/docs/versioned/57.2.0/reference/components/custom-select-field.mdx +1 -1
  998. package/src/docs/versioned/57.2.0/reference/components/datatable.mdx +1 -1
  999. package/src/docs/versioned/57.2.0/reference/components/date-time-field.mdx +1 -1
  1000. package/src/docs/versioned/57.2.0/reference/components/editablecard.mdx +1 -1
  1001. package/src/docs/versioned/57.2.0/reference/components/email-field.mdx +1 -1
  1002. package/src/docs/versioned/57.2.0/reference/components/emoji-selector.mdx +1 -1
  1003. package/src/docs/versioned/57.2.0/reference/components/field.mdx +1 -1
  1004. package/src/docs/versioned/57.2.0/reference/components/filter.mdx +1 -1
  1005. package/src/docs/versioned/57.2.0/reference/components/height-field.mdx +1 -1
  1006. package/src/docs/versioned/57.2.0/reference/components/icon.mdx +1 -1
  1007. package/src/docs/versioned/57.2.0/reference/components/iconbutton.mdx +1 -1
  1008. package/src/docs/versioned/57.2.0/reference/components/inner-modal-content.mdx +1 -1
  1009. package/src/docs/versioned/57.2.0/reference/components/markdown-editor-field.mdx +1 -1
  1010. package/src/docs/versioned/57.2.0/reference/components/markdownview.mdx +1 -1
  1011. package/src/docs/versioned/57.2.0/reference/components/multiselect-field.mdx +1 -1
  1012. package/src/docs/versioned/57.2.0/reference/components/number-field.mdx +1 -1
  1013. package/src/docs/versioned/57.2.0/reference/components/page.mdx +1 -1
  1014. package/src/docs/versioned/57.2.0/reference/components/pagination.mdx +1 -1
  1015. package/src/docs/versioned/57.2.0/reference/components/password-field.mdx +1 -1
  1016. package/src/docs/versioned/57.2.0/reference/components/phone-number-field.mdx +1 -1
  1017. package/src/docs/versioned/57.2.0/reference/components/radio-field.mdx +1 -1
  1018. package/src/docs/versioned/57.2.0/reference/components/sectiondivider.mdx +1 -1
  1019. package/src/docs/versioned/57.2.0/reference/components/segmented-control.mdx +1 -1
  1020. package/src/docs/versioned/57.2.0/reference/components/select-field.mdx +1 -1
  1021. package/src/docs/versioned/57.2.0/reference/components/selectbadge.mdx +1 -1
  1022. package/src/docs/versioned/57.2.0/reference/components/side-drawer.mdx +1 -1
  1023. package/src/docs/versioned/57.2.0/reference/components/sidebar-navigation-non-expo.mdx +1 -1
  1024. package/src/docs/versioned/57.2.0/reference/components/signature-capture-field.mdx +1 -1
  1025. package/src/docs/versioned/57.2.0/reference/components/signature-field.mdx +1 -1
  1026. package/src/docs/versioned/57.2.0/reference/components/slider.mdx +1 -1
  1027. package/src/docs/versioned/57.2.0/reference/components/spinner.mdx +1 -1
  1028. package/src/docs/versioned/57.2.0/reference/components/table-badge.mdx +1 -1
  1029. package/src/docs/versioned/57.2.0/reference/components/table-boolean.mdx +1 -1
  1030. package/src/docs/versioned/57.2.0/reference/components/table-date.mdx +1 -1
  1031. package/src/docs/versioned/57.2.0/reference/components/table-icon-button.mdx +1 -1
  1032. package/src/docs/versioned/57.2.0/reference/components/table-number.mdx +1 -1
  1033. package/src/docs/versioned/57.2.0/reference/components/table-text.mdx +1 -1
  1034. package/src/docs/versioned/57.2.0/reference/components/table-title.mdx +1 -1
  1035. package/src/docs/versioned/57.2.0/reference/components/table.mdx +1 -1
  1036. package/src/docs/versioned/57.2.0/reference/components/tap-to-edit.mdx +1 -1
  1037. package/src/docs/versioned/57.2.0/reference/components/text-area.mdx +1 -1
  1038. package/src/docs/versioned/57.2.0/reference/components/text-field.mdx +1 -1
  1039. package/src/docs/versioned/57.2.0/reference/components/theme.mdx +1 -1
  1040. package/src/docs/versioned/57.2.0/reference/components/thumbsupdownfeedback.mdx +1 -1
  1041. package/src/docs/versioned/57.2.0/reference/components/toast.mdx +1 -1
  1042. package/src/docs/versioned/57.2.0/reference/components/tooltip.mdx +1 -1
  1043. package/src/docs/versioned/57.2.0/reference/components/typed-signature-field.mdx +1 -1
  1044. package/src/docs/versioned/57.2.0/reference/components/userinactivity.mdx +1 -1
  1045. package/src/docs/versioned/57.2.0/reference/environment-variables.md +2 -2
  1046. package/src/docs/versioned/57.2.0/reference/lifecycle-plugin.md +4 -4
  1047. package/src/docs/versioned/57.2.0/reference/ui.md +1 -1
  1048. package/src/docs/versioned/57.2.0/roadmap.md +3 -3
  1049. package/src/docs/versioned/57.2.0/tasks/docs-reference-coverage.md +1 -1
  1050. package/src/docs/versioned/57.2.0/tasks/migrate-cicd-to-circleci.md +1 -1
  1051. package/src/docs/versioned/57.2.0/tasks/web-ssr-and-admin-spa.md +1 -1
  1052. package/src/docs/versioned/next/README.md +3 -0
  1053. package/src/docs/versioned/next/explanation/README.md +2 -1
  1054. package/src/docs/versioned/next/explanation/ai-workflows.md +5 -5
  1055. package/src/docs/versioned/next/explanation/announcements/rtk-deprecation.md +4 -4
  1056. package/src/docs/versioned/next/explanation/deployment-baseline.md +2 -2
  1057. package/src/docs/versioned/next/explanation/example-coverage.md +3 -2
  1058. package/src/docs/versioned/next/explanation/loop-engineering.md +1 -1
  1059. package/src/docs/versioned/next/explanation/modular-api-design.md +1 -1
  1060. package/src/docs/versioned/next/explanation/repository-settings.md +2 -2
  1061. package/src/docs/versioned/next/explanation/roadmap-process.md +57 -37
  1062. package/src/docs/versioned/next/explanation/roadmap-seed-issues.md +117 -117
  1063. package/src/docs/versioned/next/explanation/typescript-configuration.md +46 -0
  1064. package/src/docs/versioned/next/how-to/README.md +3 -0
  1065. package/src/docs/versioned/next/how-to/background-jobs.md +1 -1
  1066. package/src/docs/versioned/next/how-to/build-for-web.md +1 -1
  1067. package/src/docs/versioned/next/how-to/call-external-apis.md +1 -1
  1068. package/src/docs/versioned/next/how-to/circleci.md +27 -8
  1069. package/src/docs/versioned/next/how-to/create-a-terreno-app.md +3 -3
  1070. package/src/docs/versioned/next/how-to/debug-with-mcp.md +160 -0
  1071. package/src/docs/versioned/next/how-to/deploy-to-gcp.md +1 -1
  1072. package/src/docs/versioned/next/how-to/deploy-web-to-gcs-cdn.md +1 -1
  1073. package/src/docs/versioned/next/how-to/generate-a-rest-cli.md +34 -0
  1074. package/src/docs/versioned/next/how-to/github-actions-ci.md +2 -2
  1075. package/src/docs/versioned/next/how-to/github-issue-lifecycle.md +6 -6
  1076. package/src/docs/versioned/next/how-to/install-agent-skills.md +11 -11
  1077. package/src/docs/versioned/next/how-to/migrate-rtk-to-syncdb.md +3 -3
  1078. package/src/docs/versioned/next/how-to/password-reset.md +7 -0
  1079. package/src/docs/versioned/next/how-to/run-tests-locally.md +1 -1
  1080. package/src/docs/versioned/next/how-to/set-up-terreno-mcp.md +69 -0
  1081. package/src/docs/versioned/next/how-to/upgrade-terreno.md +1 -1
  1082. package/src/docs/versioned/next/implementationPlans/ModularAPI.md +1 -1
  1083. package/src/docs/versioned/next/implementationPlans/admin-improvements.md +1 -1
  1084. package/src/docs/versioned/next/implementationPlans/admin-only-research.md +1 -1
  1085. package/src/docs/versioned/next/implementationPlans/admin-only.md +1 -1
  1086. package/src/docs/versioned/next/implementationPlans/admin-script-runner.md +1 -1
  1087. package/src/docs/versioned/next/implementationPlans/admin-ui-v2-django-parity.md +1 -1
  1088. package/src/docs/versioned/next/implementationPlans/agent-ui-blocks.md +1 -1
  1089. package/src/docs/versioned/next/implementationPlans/agentic-sdlc-plugin.md +1 -1
  1090. package/src/docs/versioned/next/implementationPlans/ai-dev-loop-boost.md +2 -2
  1091. package/src/docs/versioned/next/implementationPlans/apierror-standard-error-redesign.md +1 -1
  1092. package/src/docs/versioned/next/implementationPlans/b2b-platform-program.md +1 -1
  1093. package/src/docs/versioned/next/implementationPlans/better-auth-strict-oauth-provider.md +1 -1
  1094. package/src/docs/versioned/next/implementationPlans/billing-stripe.md +1 -1
  1095. package/src/docs/versioned/next/implementationPlans/build-terreno-app-validation.md +1 -1
  1096. package/src/docs/versioned/next/implementationPlans/charts-and-dashboards.md +1 -1
  1097. package/src/docs/versioned/next/implementationPlans/comms-abstraction-research.md +1 -1
  1098. package/src/docs/versioned/next/implementationPlans/comms-abstraction.md +1 -1
  1099. package/src/docs/versioned/next/implementationPlans/comms-adapter-expo-push.md +1 -1
  1100. package/src/docs/versioned/next/implementationPlans/comms-adapter-sendgrid.md +1 -1
  1101. package/src/docs/versioned/next/implementationPlans/comms-adapter-twilio-sms.md +1 -1
  1102. package/src/docs/versioned/next/implementationPlans/comms-adapter-twilio-verify.md +1 -1
  1103. package/src/docs/versioned/next/implementationPlans/comms-admin-dashboard.md +1 -1
  1104. package/src/docs/versioned/next/implementationPlans/compile-pipeline-dedup.md +133 -0
  1105. package/src/docs/versioned/next/implementationPlans/consent-forms.md +1 -1
  1106. package/src/docs/versioned/next/implementationPlans/create-terreno-app.md +1 -1
  1107. package/src/docs/versioned/next/implementationPlans/datatable-server-side-filtering.md +1 -1
  1108. package/src/docs/versioned/next/implementationPlans/deploy-to-gcp.md +1 -1
  1109. package/src/docs/versioned/next/implementationPlans/deploy-to-vercel.md +1 -1
  1110. package/src/docs/versioned/next/implementationPlans/deployment-foundation.md +2 -2
  1111. package/src/docs/versioned/next/implementationPlans/design-blend-skill.md +1 -1
  1112. package/src/docs/versioned/next/implementationPlans/docs-reference-coverage.md +1 -1
  1113. package/src/docs/versioned/next/implementationPlans/docs-site-and-versioning.md +1 -1
  1114. package/src/docs/versioned/next/implementationPlans/docs-tutorials-ai-first.md +1 -1
  1115. package/src/docs/versioned/next/implementationPlans/examples-demo-coverage.md +1 -1
  1116. package/src/docs/versioned/next/implementationPlans/feature-flags-openfeature.md +1 -1
  1117. package/src/docs/versioned/next/implementationPlans/feature-flags.md +1 -1
  1118. package/src/docs/versioned/next/implementationPlans/framework-audit-log.md +2 -2
  1119. package/src/docs/versioned/next/implementationPlans/inbound-webhooks.md +1 -1
  1120. package/src/docs/versioned/next/implementationPlans/infra-mcp-research.md +1 -1
  1121. package/src/docs/versioned/next/implementationPlans/infra-mcp.md +1 -1
  1122. package/src/docs/versioned/next/implementationPlans/job-queues.md +1 -1
  1123. package/src/docs/versioned/next/implementationPlans/mcp-boost-parity.md +1 -1
  1124. package/src/docs/versioned/next/implementationPlans/mcp-doc-sync-off-compile-path.md +97 -0
  1125. package/src/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci-research.md +2 -2
  1126. package/src/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci.md +6 -6
  1127. package/src/docs/versioned/next/implementationPlans/model-router-actions.md +1 -1
  1128. package/src/docs/versioned/next/implementationPlans/model-router-mcp.md +1 -1
  1129. package/src/docs/versioned/next/implementationPlans/mongodb-migrations-tooling.md +1 -1
  1130. package/src/docs/versioned/next/implementationPlans/native-module-baseline.md +1 -1
  1131. package/src/docs/versioned/next/implementationPlans/notification-center.md +1 -1
  1132. package/src/docs/versioned/next/implementationPlans/offline-mode.md +1 -1
  1133. package/src/docs/versioned/next/implementationPlans/org-management-ui.md +1 -1
  1134. package/src/docs/versioned/next/implementationPlans/orgs-and-teams.md +1 -1
  1135. package/src/docs/versioned/next/implementationPlans/oss-governance-baseline.md +1 -1
  1136. package/src/docs/versioned/next/implementationPlans/oss-launch-program.md +3 -3
  1137. package/src/docs/versioned/next/implementationPlans/password-reset-and-email-verification.md +1 -1
  1138. package/src/docs/versioned/next/implementationPlans/pluggable-database-sqlite-research.md +1 -1
  1139. package/src/docs/versioned/next/implementationPlans/positioning-django-rails-universal.md +1 -1
  1140. package/src/docs/versioned/next/implementationPlans/public-roadmap-github.md +1 -1
  1141. package/src/docs/versioned/next/implementationPlans/rate-limiting.md +2 -2
  1142. package/src/docs/versioned/next/implementationPlans/rbac-permissions.md +1 -1
  1143. package/src/docs/versioned/next/implementationPlans/rtk-to-syncdb-migration-docs.md +1 -1
  1144. package/src/docs/versioned/next/implementationPlans/support-agent.md +432 -0
  1145. package/src/docs/versioned/next/implementationPlans/syncdb-codegen.md +2 -2
  1146. package/src/docs/versioned/next/implementationPlans/syncdb-local-first.md +1 -1
  1147. package/src/docs/versioned/next/implementationPlans/syncdb-phase-c-design.md +1 -1
  1148. package/src/docs/versioned/next/implementationPlans/terreno-langfuse-integration.md +3 -3
  1149. package/src/docs/versioned/next/implementationPlans/terreno-syncdb-2.md +1 -1
  1150. package/src/docs/versioned/next/implementationPlans/upgrade-banner.md +1 -1
  1151. package/src/docs/versioned/next/implementationPlans/upgrade-guides-and-skill.md +1 -1
  1152. package/src/docs/versioned/next/implementationPlans/web-ssr-and-admin-spa.md +2 -2
  1153. package/src/docs/versioned/next/reference/README.md +2 -1
  1154. package/src/docs/versioned/next/reference/admin-backend.md +7 -2
  1155. package/src/docs/versioned/next/reference/api.md +67 -13
  1156. package/src/docs/versioned/next/reference/cli.md +91 -0
  1157. package/src/docs/versioned/next/reference/create-terreno-app.md +1 -1
  1158. package/src/docs/versioned/next/reference/environment-variables.md +17 -2
  1159. package/src/docs/versioned/next/reference/lifecycle-plugin.md +11 -11
  1160. package/src/docs/versioned/next/reference/mcp-server.md +56 -2
  1161. package/src/docs/versioned/next/reference/scan-plugin.md +7 -7
  1162. package/src/docs/versioned/next/reference/syncdb.md +22 -1
  1163. package/src/docs/versioned/next/reference/test.md +4 -2
  1164. package/src/docs/versioned/next/reference/ui.md +2 -2
  1165. package/src/docs/versioned/next/roadmap.md +3 -3
  1166. package/src/docs/versioned/next/scans/reduce-cold-compile-time/charter.md +129 -0
  1167. package/src/docs/versioned/next/scans/reduce-cold-compile-time/round-1-findings.md +62 -0
  1168. package/src/docs/versioned/next/tasks/agent-ui-blocks.md +1 -1
  1169. package/src/docs/versioned/next/tasks/better-auth-strict-oauth-provider.md +1 -1
  1170. package/src/docs/versioned/next/tasks/charts-and-dashboards.md +1 -1
  1171. package/src/docs/versioned/next/tasks/compile-pipeline-dedup.md +61 -0
  1172. package/src/docs/versioned/next/tasks/create-terreno-app.md +1 -1
  1173. package/src/docs/versioned/next/tasks/datatable-server-side-filtering.md +1 -1
  1174. package/src/docs/versioned/next/tasks/docs-reference-coverage.md +1 -1
  1175. package/src/docs/versioned/next/tasks/examples-demo-coverage.md +1 -1
  1176. package/src/docs/versioned/next/tasks/framework-audit-log.md +1 -1
  1177. package/src/docs/versioned/next/tasks/inbound-webhooks.md +1 -1
  1178. package/src/docs/versioned/next/tasks/job-queues.md +1 -1
  1179. package/src/docs/versioned/next/tasks/mcp-doc-sync-off-compile-path.md +30 -0
  1180. package/src/docs/versioned/next/tasks/migrate-cicd-to-circleci.md +3 -3
  1181. package/src/docs/versioned/next/tasks/mongodb-migrations-tooling.md +1 -1
  1182. package/src/docs/versioned/next/tasks/notification-center.md +1 -1
  1183. package/src/docs/versioned/next/tasks/rate-limiting.md +1 -1
  1184. package/src/docs/versioned/next/tasks/support-agent.md +230 -0
  1185. package/src/docs/versioned/next/tasks/web-ssr-and-admin-spa.md +1 -1
  1186. package/src/docs/versioned/next/tutorials/getting-started.md +2 -2
@@ -0,0 +1,238 @@
1
+ import { mkdir } from "node:fs/promises";
2
+ import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
3
+ import { resolveTerrenoProjectRoot } from "../projectRoot.js";
4
+ const BROWSER_ACTIONS = [
5
+ "open",
6
+ "click",
7
+ "type",
8
+ "press",
9
+ "scroll",
10
+ "evaluate",
11
+ "snapshot",
12
+ "screenshot",
13
+ "back",
14
+ "forward",
15
+ "reload",
16
+ "wait",
17
+ "close",
18
+ ];
19
+ const PAGE_SNAPSHOT_EXPRESSION = `(() => {
20
+ const isVisible = (element) => {
21
+ const style = globalThis.getComputedStyle(element);
22
+ const rect = element.getBoundingClientRect();
23
+ return style.visibility !== "hidden" && style.display !== "none" && rect.width > 0 && rect.height > 0;
24
+ };
25
+ const elements = Array.from(document.querySelectorAll(
26
+ "a,button,input,select,textarea,[role],[tabindex]"
27
+ )).filter(isVisible).slice(0, 200).map((element, index) => {
28
+ let selector;
29
+ if (element.id) {
30
+ selector = "#" + CSS.escape(element.id);
31
+ } else if (element.getAttribute("data-testid")) {
32
+ selector = '[data-testid="' + CSS.escape(element.getAttribute("data-testid")) + '"]';
33
+ } else {
34
+ element.setAttribute("data-terreno-ref", String(index));
35
+ selector = '[data-terreno-ref="' + index + '"]';
36
+ }
37
+ return {
38
+ ariaLabel: element.getAttribute("aria-label"),
39
+ disabled: Boolean(element.disabled) || element.getAttribute("aria-disabled") === "true",
40
+ name: element.getAttribute("name"),
41
+ placeholder: element.getAttribute("placeholder"),
42
+ role: element.getAttribute("role") || element.tagName.toLowerCase(),
43
+ selector,
44
+ text: element.getAttribute("type") === "password"
45
+ ? "[REDACTED]"
46
+ : (element.innerText || element.value || "").trim().slice(0, 300),
47
+ type: element.getAttribute("type"),
48
+ };
49
+ });
50
+ return {
51
+ elements,
52
+ text: (document.body?.innerText || "").trim().slice(0, 20000),
53
+ title: document.title,
54
+ url: location.href,
55
+ };
56
+ })()`;
57
+ const DEFAULT_HEIGHT = 720;
58
+ const DEFAULT_WIDTH = 1280;
59
+ const CURSOR_ARTIFACTS_ROOT = "/opt/cursor/artifacts";
60
+ const defaultCreateBrowserView = (options) => {
61
+ if (typeof Bun.WebView !== "function") {
62
+ throw new Error("Bun.WebView requires Bun 1.4 or newer.");
63
+ }
64
+ return new Bun.WebView(options);
65
+ };
66
+ const parseImageFormat = (output) => {
67
+ const lowerOutput = output.toLowerCase();
68
+ if (lowerOutput.endsWith(".jpg") || lowerOutput.endsWith(".jpeg")) {
69
+ return "jpeg";
70
+ }
71
+ if (lowerOutput.endsWith(".webp")) {
72
+ return "webp";
73
+ }
74
+ return "png";
75
+ };
76
+ const isPathWithin = (root, target) => {
77
+ const relativePath = relative(root, target);
78
+ return (relativePath === "" ||
79
+ (relativePath !== ".." && !relativePath.startsWith(`..${sep}`) && !isAbsolute(relativePath)));
80
+ };
81
+ const resolveSafePath = (input, allowCursorArtifacts) => {
82
+ const projectRoot = resolveTerrenoProjectRoot();
83
+ const target = isAbsolute(input) ? resolve(input) : resolve(projectRoot, input);
84
+ if (isPathWithin(projectRoot, target)) {
85
+ return target;
86
+ }
87
+ if (allowCursorArtifacts && isPathWithin(CURSOR_ARTIFACTS_ROOT, target)) {
88
+ return target;
89
+ }
90
+ throw new Error(`Browser path must stay under ${projectRoot}${allowCursorArtifacts ? ` or ${CURSOR_ARTIFACTS_ROOT}` : ""}.`);
91
+ };
92
+ const requireValue = (value, name) => {
93
+ const trimmed = value?.trim();
94
+ if (!trimmed) {
95
+ throw new Error(`Browser action requires ${name}.`);
96
+ }
97
+ return trimmed;
98
+ };
99
+ const requireBrowserUrl = (value) => {
100
+ const url = requireValue(value, "url");
101
+ const parsed = new URL(url);
102
+ if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
103
+ throw new Error("Browser open only supports http and https URLs.");
104
+ }
105
+ return url;
106
+ };
107
+ export const isBrowserAction = (value) => {
108
+ return typeof value === "string" && BROWSER_ACTIONS.includes(value);
109
+ };
110
+ export class BrowserSession {
111
+ createView;
112
+ view;
113
+ constructor(createView = defaultCreateBrowserView) {
114
+ this.createView = createView;
115
+ }
116
+ requireView() {
117
+ if (!this.view) {
118
+ throw new Error("No browser session. Run the open action first.");
119
+ }
120
+ return this.view;
121
+ }
122
+ pageState() {
123
+ const view = this.requireView();
124
+ return { title: view.title, url: view.url };
125
+ }
126
+ async run(args) {
127
+ switch (args.action) {
128
+ case "open": {
129
+ const url = requireBrowserUrl(args.url);
130
+ this.close();
131
+ const backend = process.platform === "darwin" ? "webkit" : "chrome";
132
+ const dataStore = args.dataDir
133
+ ? { directory: resolveSafePath(args.dataDir, false) }
134
+ : "ephemeral";
135
+ this.view = this.createView({
136
+ backend,
137
+ dataStore,
138
+ height: args.height ?? DEFAULT_HEIGHT,
139
+ width: args.width ?? DEFAULT_WIDTH,
140
+ });
141
+ await this.view.navigate(url);
142
+ return { action: args.action, ok: true, ...this.pageState() };
143
+ }
144
+ case "click": {
145
+ const selector = requireValue(args.selector, "selector");
146
+ await this.requireView().click(selector, { timeout: args.timeout });
147
+ return { action: args.action, ok: true, selector, ...this.pageState() };
148
+ }
149
+ case "type": {
150
+ const text = args.text ?? "";
151
+ if (args.selector) {
152
+ await this.requireView().click(args.selector, { timeout: args.timeout });
153
+ }
154
+ await this.requireView().type(text);
155
+ return { action: args.action, ok: true, selector: args.selector, ...this.pageState() };
156
+ }
157
+ case "press": {
158
+ const key = requireValue(args.key, "key");
159
+ await this.requireView().press(key, { modifiers: args.modifiers });
160
+ return { action: args.action, key, ok: true, ...this.pageState() };
161
+ }
162
+ case "scroll": {
163
+ if (args.selector) {
164
+ await this.requireView().scrollTo(args.selector, { timeout: args.timeout });
165
+ }
166
+ else {
167
+ await this.requireView().scroll(args.x ?? 0, args.y ?? 0);
168
+ }
169
+ return { action: args.action, ok: true, selector: args.selector, ...this.pageState() };
170
+ }
171
+ case "evaluate": {
172
+ if (process.env.TERRENO_MCP_EVAL !== "1" && process.env.TERRENO_MCP_EVAL !== "true") {
173
+ throw new Error("Refused: set `TERRENO_MCP_EVAL=1` to enable arbitrary JavaScript in the WebView.");
174
+ }
175
+ const code = requireValue(args.code, "code");
176
+ const result = await this.requireView().evaluate(code);
177
+ return { action: args.action, ok: true, result, ...this.pageState() };
178
+ }
179
+ case "snapshot": {
180
+ const snapshot = await this.requireView().evaluate(PAGE_SNAPSHOT_EXPRESSION);
181
+ return { action: args.action, ok: true, snapshot };
182
+ }
183
+ case "screenshot": {
184
+ const output = resolveSafePath(requireValue(args.output, "output"), true);
185
+ await mkdir(dirname(output), { recursive: true });
186
+ const image = await this.requireView().screenshot({
187
+ format: parseImageFormat(output),
188
+ quality: args.quality,
189
+ });
190
+ await Bun.write(output, image);
191
+ return { action: args.action, ok: true, output, ...this.pageState() };
192
+ }
193
+ case "back": {
194
+ await this.requireView().back();
195
+ return { action: args.action, ok: true, ...this.pageState() };
196
+ }
197
+ case "forward": {
198
+ await this.requireView().forward();
199
+ return { action: args.action, ok: true, ...this.pageState() };
200
+ }
201
+ case "reload": {
202
+ await this.requireView().reload();
203
+ return { action: args.action, ok: true, ...this.pageState() };
204
+ }
205
+ case "wait": {
206
+ this.requireView();
207
+ const milliseconds = args.timeout ?? 1000;
208
+ if (!Number.isFinite(milliseconds) || milliseconds < 0) {
209
+ throw new Error("Browser wait timeout must be a non-negative number.");
210
+ }
211
+ await Bun.sleep(milliseconds);
212
+ return { action: args.action, milliseconds, ok: true, ...this.pageState() };
213
+ }
214
+ case "close": {
215
+ this.close();
216
+ return { action: args.action, ok: true };
217
+ }
218
+ default: {
219
+ throw new Error(`Unknown browser action: ${String(args.action)}`);
220
+ }
221
+ }
222
+ }
223
+ close() {
224
+ this.view?.close();
225
+ this.view = undefined;
226
+ }
227
+ }
228
+ const browserSession = new BrowserSession();
229
+ let browserQueue = Promise.resolve();
230
+ export const useBrowser = async (args) => {
231
+ const task = browserQueue.then(async () => {
232
+ const result = await browserSession.run(args);
233
+ return JSON.stringify(result, null, 2);
234
+ });
235
+ browserQueue = task.then(() => { }, () => { });
236
+ return task;
237
+ };
238
+ //# sourceMappingURL=browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.js","sourceRoot":"","sources":["../../../src/local/tools/browser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAC,MAAM,WAAW,CAAC;AAEtE,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAE5D,MAAM,eAAe,GAAG;IACtB,MAAM;IACN,OAAO;IACP,MAAM;IACN,OAAO;IACP,QAAQ;IACR,UAAU;IACV,UAAU;IACV,YAAY;IACZ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,MAAM;IACN,OAAO;CACC,CAAC;AAoDX,MAAM,wBAAwB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqC5B,CAAC;AAEN,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAEtD,MAAM,wBAAwB,GAAsB,CAAC,OAAO,EAAe,EAAE;IAC3E,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,IAAI,GAAG,C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U,GAAG,KAAK,EAAE,IAAqB,EAAmB,EAAE;IACzE,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,KAAK,IAAqB,EAAE;QACzD,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;IACH,YAAY,GAAG,IAAI,CAAC,IAAI,CACtB,GAAS,EAAE,GAAE,CAAC,EACd,GAAS,EAAE,GAAE,CAAC,CACf,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"databaseSchema.d.ts","sourceRoot":"","sources":["../../../src/local/tools/databaseSchema.ts"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA2CD,eAAO,MAAM,cAAc,GAAU,MAAM,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAiE7E,CAAC"}
1
+ {"version":3,"file":"databaseSchema.d.ts","sourceRoot":"","sources":["../../../src/local/tools/databaseSchema.ts"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA2CD,eAAO,MAAM,cAAc,GAAU,MAAM,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAoE7E,CAAC"}
@@ -46,8 +46,26 @@ export const databaseSchema = async (args) => {
46
46
  const mongoUri = process.env.MONGO_URI?.trim() ||
47
47
  readEnvValue(envPath, "MONGO_URI") ||
48
48
  readEnvValue(envPath, "MONGODB_URI");
49
+ const lines = ["# Database schema", ""];
50
+ const modelsDir = join(root, "backend", "src", "models");
51
+ lines.push("## Declared models (static scan of `backend/src/models/*.ts`)");
52
+ lines.push("");
53
+ const modelBlocks = parseModelFiles(modelsDir);
54
+ if (modelBlocks.length === 0) {
55
+ lines.push("_(No model files found.)_");
56
+ }
57
+ else if (args.summary) {
58
+ lines.push(`Found ${modelBlocks.length} model file(s). Re-run with \`summary: false\` for excerpts.`);
59
+ }
60
+ else {
61
+ lines.push(...modelBlocks);
62
+ }
63
+ lines.push("");
64
+ lines.push("## Live MongoDB");
65
+ lines.push("");
49
66
  if (!mongoUri) {
50
- return "No Mongo URI found. Set `MONGO_URI` in `backend/.env` or export `MONGO_URI`, or set `TERRENO_PROJECT_ROOT` to your app root.";
67
+ lines.push("_Unavailable: set `MONGO_URI` in `backend/.env` or export `MONGO_URI` to include live collections._");
68
+ return lines.join("\n");
51
69
  }
52
70
  const mongoose = await import("mongoose");
53
71
  try {
@@ -62,23 +80,6 @@ export const databaseSchema = async (args) => {
62
80
  const names = (await db.listCollections().toArray())
63
81
  .map((c) => c.name)
64
82
  .filter((n) => !filter || n.toLowerCase().includes(filter));
65
- const lines = ["# Database schema", ""];
66
- const modelsDir = join(root, "backend", "src", "models");
67
- lines.push("## Declared models (static scan of `backend/src/models/*.ts`)");
68
- lines.push("");
69
- const modelBlocks = parseModelFiles(modelsDir);
70
- if (modelBlocks.length === 0) {
71
- lines.push("_(No model files found.)_");
72
- }
73
- else if (args.summary) {
74
- lines.push(`Found ${modelBlocks.length} model file(s). Re-run with \`summary: false\` for excerpts.`);
75
- }
76
- else {
77
- lines.push(...modelBlocks);
78
- }
79
- lines.push("");
80
- lines.push("## Live MongoDB");
81
- lines.push("");
82
83
  for (const name of names.sort()) {
83
84
  const coll = db.collection(name);
84
85
  const indexes = await coll.indexes();
@@ -1 +1 @@
1
- {"version":3,"file":"databaseSchema.js","sourceRoot":"","sources":["../../../src/local/tools/databaseSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAC,IAAI,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,QAAQ,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;AACH,CAAC,CAAC"}
@@ -2,6 +2,7 @@ export interface ReadLogsArgs {
2
2
  sources?: string[];
3
3
  entries?: number;
4
4
  level?: string;
5
+ since?: string;
5
6
  }
6
7
  export declare const readLogs: (args: ReadLogsArgs) => Promise<string>;
7
8
  export interface LastErrorArgs {
@@ -1 +1 @@
1
- {"version":3,"file":"readLogs.d.ts","sourceRoot":"","sources":["../../../src/local/tools/readLogs.ts"],"names":[],"mappings":"AAsCA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,YAAY,KAAG,OAAO,CAAC,MAAM,CAmCjE,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAU,MAAM,aAAa,KAAG,OAAO,CAAC,MAAM,CAoCnE,CAAC"}
1
+ {"version":3,"file":"readLogs.d.ts","sourceRoot":"","sources":["../../../src/local/tools/readLogs.ts"],"names":[],"mappings":"AAuFA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,YAAY,KAAG,OAAO,CAAC,MAAM,CA6DjE,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAU,MAAM,aAAa,KAAG,OAAO,CAAC,MAAM,CA2CnE,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { existsSync, readFileSync } from "node:fs";
2
- import { join } from "node:path";
2
+ import { DateTime } from "luxon";
3
+ import { resolveExistingAppLogPaths, resolveExistingBrowserLogPaths } from "../logPaths.js";
4
+ import { ensureCdpConnected, ensureMetroEventsConnected, getCdpConnectionStatus, snapshotCdpConsoleRing, snapshotMetroEventsRing, } from "../metro/metroDevSession.js";
3
5
  import { resolveTerrenoProjectRoot } from "../projectRoot.js";
4
6
  const parseJsonlFile = (path, source, maxLines) => {
5
7
  if (!existsSync(path)) {
@@ -26,70 +28,131 @@ const parseJsonlFile = (path, source, maxLines) => {
26
28
  }
27
29
  return out;
28
30
  };
31
+ const ringToEntries = (ring) => {
32
+ return ring.map((r) => {
33
+ try {
34
+ const obj = JSON.parse(r.raw);
35
+ return {
36
+ level: typeof obj.level === "string" ? obj.level : r.level,
37
+ message: obj.message,
38
+ raw: r.raw,
39
+ source: r.source,
40
+ timestamp: typeof obj.timestamp === "string" ? obj.timestamp : r.timestamp,
41
+ };
42
+ }
43
+ catch {
44
+ return { raw: r.raw, source: r.source, timestamp: r.timestamp };
45
+ }
46
+ });
47
+ };
48
+ const parseIso = (s) => {
49
+ if (!s) {
50
+ return undefined;
51
+ }
52
+ const dt = DateTime.fromISO(s);
53
+ if (!dt.isValid) {
54
+ return undefined;
55
+ }
56
+ return dt;
57
+ };
58
+ const mergeByTimestamp = (entries) => {
59
+ return [...entries].sort((a, b) => {
60
+ const ta = parseIso(a.timestamp)?.toMillis() ?? 0;
61
+ const tb = parseIso(b.timestamp)?.toMillis() ?? 0;
62
+ if (ta !== tb) {
63
+ return ta - tb;
64
+ }
65
+ return a.raw.localeCompare(b.raw);
66
+ });
67
+ };
29
68
  export const readLogs = async (args) => {
30
- const root = resolveTerrenoProjectRoot();
31
69
  const maxEntries = Math.min(Math.max(args.entries ?? 200, 1), 2000);
32
70
  const want = (args.sources ?? ["backend", "browser", "metro", "app"]).map((s) => s.toLowerCase());
33
71
  const levelFilter = args.level?.toLowerCase();
34
- const backendPath = join(root, ".terreno", "logs", "app.log");
35
- const browserPath = join(root, ".terreno", "logs", "browser.log");
72
+ const sinceDt = args.since ? DateTime.fromISO(args.since) : undefined;
73
+ const sinceThreshold = sinceDt?.isValid ? sinceDt : undefined;
36
74
  const merged = [];
75
+ const status = [];
37
76
  if (want.includes("backend")) {
38
- merged.push(...parseJsonlFile(backendPath, "backend", maxEntries));
77
+ for (const p of resolveExistingAppLogPaths()) {
78
+ merged.push(...parseJsonlFile(p, "backend", maxEntries));
79
+ }
39
80
  }
40
81
  if (want.includes("browser")) {
41
- merged.push(...parseJsonlFile(browserPath, "browser", maxEntries));
82
+ for (const p of resolveExistingBrowserLogPaths()) {
83
+ merged.push(...parseJsonlFile(p, "browser", maxEntries));
84
+ }
42
85
  }
43
86
  if (want.includes("metro")) {
44
- merged.push({
45
- raw: "Metro bundler events require an active `/events` WebSocket connection (not attached in v1). Start Metro and use Expo MCP or extend terreno-mcp-local.",
46
- source: "metro",
47
- });
87
+ const metroConn = await ensureMetroEventsConnected();
88
+ status.push(metroConn.detail);
89
+ merged.push(...ringToEntries(snapshotMetroEventsRing()));
48
90
  }
49
91
  if (want.includes("app")) {
50
- merged.push({
51
- raw: "Hermes console capture requires a CDP connection to Metro (not attached in v1). Use Expo MCP `collect_app_logs` or enable future CDP support in terreno-mcp-local.",
52
- source: "app",
92
+ const cdp = await ensureCdpConnected();
93
+ status.push(cdp.detail);
94
+ merged.push(...ringToEntries(snapshotCdpConsoleRing()));
95
+ }
96
+ let filtered = merged;
97
+ if (sinceThreshold) {
98
+ const ms = sinceThreshold.toMillis();
99
+ filtered = merged.filter((e) => {
100
+ const t = parseIso(e.timestamp)?.toMillis();
101
+ if (t === undefined) {
102
+ return true;
103
+ }
104
+ return t >= ms;
53
105
  });
54
106
  }
55
- const filtered = levelFilter
56
- ? merged.filter((e) => (e.level ?? "").toLowerCase() === levelFilter)
57
- : merged;
58
- return JSON.stringify({ entries: filtered.slice(-maxEntries) }, null, 2);
107
+ if (levelFilter) {
108
+ filtered = filtered.filter((e) => (e.level ?? "").toLowerCase() === levelFilter);
109
+ }
110
+ const sorted = mergeByTimestamp(filtered);
111
+ const tail = sorted.slice(-maxEntries);
112
+ return JSON.stringify({
113
+ connection: getCdpConnectionStatus(),
114
+ entries: tail,
115
+ metroHint: status.join(" | ") || undefined,
116
+ projectRoot: resolveTerrenoProjectRoot(),
117
+ }, null, 2);
59
118
  };
60
119
  export const lastError = async (args) => {
61
- const root = resolveTerrenoProjectRoot();
62
- const want = (args.sources ?? ["backend", "browser"]).map((s) => s.toLowerCase());
63
- const paths = [];
64
- if (want.includes("backend")) {
65
- paths.push({ path: join(root, ".terreno", "logs", "app.log"), source: "backend" });
66
- }
67
- if (want.includes("browser")) {
68
- paths.push({ path: join(root, ".terreno", "logs", "browser.log"), source: "browser" });
69
- }
120
+ const want = (args.sources ?? ["backend", "browser", "metro", "app"]).map((s) => s.toLowerCase());
70
121
  let last;
71
- for (const { path, source } of paths) {
72
- if (!existsSync(path)) {
73
- continue;
74
- }
75
- const lines = readFileSync(path, "utf-8").split("\n").filter(Boolean);
76
- for (let i = lines.length - 1; i >= 0; i -= 1) {
77
- const raw = lines[i] ?? "";
78
- try {
79
- const obj = JSON.parse(raw);
80
- if ((obj.level ?? "").toLowerCase() === "error") {
81
- last = { level: "error", raw, source };
82
- break;
83
- }
122
+ const consider = (entries) => {
123
+ for (let i = entries.length - 1; i >= 0; i -= 1) {
124
+ const e = entries[i];
125
+ if (!e) {
126
+ continue;
127
+ }
128
+ if ((e.level ?? "").toLowerCase() === "error") {
129
+ last = e;
130
+ return;
84
131
  }
85
- catch { }
86
132
  }
87
- if (last) {
88
- break;
133
+ };
134
+ const pool = [];
135
+ if (want.includes("backend")) {
136
+ for (const p of resolveExistingAppLogPaths()) {
137
+ pool.push(...parseJsonlFile(p, "backend", 500));
138
+ }
139
+ }
140
+ if (want.includes("browser")) {
141
+ for (const p of resolveExistingBrowserLogPaths()) {
142
+ pool.push(...parseJsonlFile(p, "browser", 500));
89
143
  }
90
144
  }
145
+ if (want.includes("metro")) {
146
+ await ensureMetroEventsConnected();
147
+ pool.push(...ringToEntries(snapshotMetroEventsRing()));
148
+ }
149
+ if (want.includes("app")) {
150
+ await ensureCdpConnected();
151
+ pool.push(...ringToEntries(snapshotCdpConsoleRing()));
152
+ }
153
+ consider(mergeByTimestamp(pool));
91
154
  if (!last) {
92
- return "No recent error-level JSONL entries in `.terreno/logs/app.log` or `.terreno/logs/browser.log`.";
155
+ return `No recent error-level entries in selected sources (${want.join(", ")}). ${getCdpConnectionStatus()}`;
93
156
  }
94
157
  return last.raw;
95
158
  };
@@ -1 +1 @@
1
- {"version":3,"file":"readLogs.js","sourceRoot":"","sources":["../../../src/local/tools/readLogs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AACjD,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAU5D,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,MAAc,EAAE,QAAgB,EAAc,EAAE;IACpF,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;IACrC,MAAM,GAAG,GAAe,EAAE,CAAC;IAC3B,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;QACxB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,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CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAC7B,KAAK,MAAM,CAAC,IAAI,8BAA8B,EAAE,EAAE,CAAC;YACjD,IAAI,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAC3B,MAAM,0BAA0B,EAAE,CAAC;QACnC,IAAI,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;IACzD,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,kBAAkB,EAAE,CAAC;QAC3B,IAAI,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;IACxD,CAAC;IAED,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;IAEjC,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,sDAAsD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,sBAAsB,EAAE,EAAE,CAAC;IAC/G,CAAC;IACD,OAAO,IAAI,CAAC,GAAG,CAAC;AAClB,CAAC,CAAC"}
@@ -1,13 +1,14 @@
1
1
  export interface GetRtkStateArgs {
2
2
  slice?: string;
3
+ query?: string;
3
4
  }
4
- export declare const getRtkState: (args: GetRtkStateArgs) => string;
5
+ export declare const getRtkState: (args: GetRtkStateArgs) => Promise<string>;
5
6
  export interface EvaluateArgs {
6
7
  code: string;
7
8
  }
8
- export declare const evaluate: (_args: EvaluateArgs) => string;
9
+ export declare const evaluate: (args: EvaluateArgs) => Promise<string>;
9
10
  export interface NavigateArgs {
10
11
  path: string;
11
12
  }
12
- export declare const navigate: (_args: NavigateArgs) => string;
13
+ export declare const navigate: (args: NavigateArgs) => Promise<string>;
13
14
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/local/tools/runtime.ts"],"names":[],"mappings":"AAqCA,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,GAAI,MAAM,eAAe,KAAG,MAwBnD,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,YAAY,KAAG,MAK9C,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,YAAY,KAAG,MAE9C,CAAC"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/local/tools/runtime.ts"],"names":[],"mappings":"AAuHA,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD,eAAO,MAAM,WAAW,GAAI,MAAM,eAAe,KAAG,OAAO,CAAC,MAAM,CAwBjE,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,QAAQ,GAAI,MAAM,YAAY,KAAG,OAAO,CAAC,MAAM,CAe3D,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAuBD,eAAO,MAAM,QAAQ,GAAI,MAAM,YAAY,KAAG,OAAO,CAAC,MAAM,CAgB3D,CAAC"}