@terreno/mcp 57.0.0-beta.1 → 57.1.0

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 (222) hide show
  1. package/dist/bootstrap.d.ts +1 -1
  2. package/dist/bootstrap.d.ts.map +1 -1
  3. package/dist/bootstrap.js +381 -191
  4. package/dist/bootstrap.js.map +1 -1
  5. package/dist/docs/guidelines/api/skills/mongoose-schema-safety/SKILL.md +8 -0
  6. package/dist/docs/resources/overview.md +6 -1
  7. package/dist/docs/resources/rtk.md +3 -1
  8. package/dist/docs/resources/syncdb.md +43 -0
  9. package/dist/docs/upgrades/56.0.0-beta.2.md +34 -0
  10. package/dist/docs/upgrades/57.0.0.md +49 -0
  11. package/dist/docs/upgrades/57.1.0.md +126 -0
  12. package/dist/docs/versioned/next/README.md +15 -3
  13. package/dist/docs/versioned/next/explanation/README.md +3 -0
  14. package/dist/docs/versioned/next/explanation/admin-consent-migration.md +15 -0
  15. package/dist/docs/versioned/next/explanation/admin-plugin-frontend.md +12 -0
  16. package/dist/docs/versioned/next/explanation/announcements/rtk-deprecation.md +29 -0
  17. package/dist/docs/versioned/next/explanation/authentication.md +51 -58
  18. package/dist/docs/versioned/next/explanation/local-first-data.md +52 -0
  19. package/dist/docs/versioned/next/explanation/loop-engineering.md +117 -0
  20. package/dist/docs/versioned/next/explanation/repository-settings.md +8 -0
  21. package/dist/docs/versioned/next/explanation/roadmap-process.md +22 -9
  22. package/dist/docs/versioned/next/explanation/roadmap-seed-issues.md +39 -0
  23. package/dist/docs/versioned/next/how-to/README.md +3 -0
  24. package/dist/docs/versioned/next/how-to/admin-add-model.md +41 -0
  25. package/dist/docs/versioned/next/how-to/admin-custom-home.md +31 -0
  26. package/dist/docs/versioned/next/how-to/admin-custom-widget.md +42 -0
  27. package/dist/docs/versioned/next/how-to/admin-import-prebuilt.md +25 -0
  28. package/dist/docs/versioned/next/how-to/circleci.md +173 -0
  29. package/dist/docs/versioned/next/how-to/configure-better-auth.md +13 -10
  30. package/dist/docs/versioned/next/how-to/expose-mcp-tools.md +194 -0
  31. package/dist/docs/versioned/next/how-to/install-agent-skills.md +46 -0
  32. package/dist/docs/versioned/next/how-to/migrate-rtk-to-syncdb.md +26 -1
  33. package/dist/docs/versioned/next/how-to/websocket-integration.md +2 -1
  34. package/dist/docs/versioned/next/implementationPlans/ModularAPI.md +1 -0
  35. package/dist/docs/versioned/next/implementationPlans/README.md +31 -17
  36. package/dist/docs/versioned/next/implementationPlans/admin-improvements-research.md +136 -0
  37. package/dist/docs/versioned/next/implementationPlans/admin-improvements.md +157 -527
  38. package/dist/docs/versioned/next/implementationPlans/admin-only-research.md +4 -0
  39. package/dist/docs/versioned/next/implementationPlans/admin-only.md +3 -1
  40. package/dist/docs/versioned/next/implementationPlans/admin-script-runner.md +1 -0
  41. package/dist/docs/versioned/next/implementationPlans/admin-ui-v2-django-parity.md +1 -0
  42. package/dist/docs/versioned/next/implementationPlans/agentic-sdlc-plugin.md +160 -130
  43. package/dist/docs/versioned/next/implementationPlans/apierror-standard-error-redesign.md +1 -0
  44. package/dist/docs/versioned/next/implementationPlans/b2b-platform-program.md +5 -4
  45. package/dist/docs/versioned/next/implementationPlans/comms-abstraction-research.md +48 -0
  46. package/dist/docs/versioned/next/implementationPlans/comms-abstraction.md +152 -62
  47. package/dist/docs/versioned/next/implementationPlans/comms-adapter-sendgrid.md +9 -9
  48. package/dist/docs/versioned/next/implementationPlans/comms-admin-dashboard.md +1 -1
  49. package/dist/docs/versioned/next/implementationPlans/consent-forms.md +4 -0
  50. package/dist/docs/versioned/next/implementationPlans/design-blend-skill.md +1 -0
  51. package/dist/docs/versioned/next/implementationPlans/docs-site-and-versioning.md +1 -0
  52. package/dist/docs/versioned/next/implementationPlans/feature-flags-openfeature.md +1 -0
  53. package/dist/docs/versioned/next/implementationPlans/feature-flags.md +4 -0
  54. package/dist/docs/versioned/next/implementationPlans/infra-mcp-research.md +1 -0
  55. package/dist/docs/versioned/next/implementationPlans/infra-mcp.md +3 -3
  56. package/dist/docs/versioned/next/implementationPlans/mcp-boost-parity.md +1 -0
  57. package/dist/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci-research.md +1 -0
  58. package/dist/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  59. package/dist/docs/versioned/next/implementationPlans/model-router-actions.md +4 -0
  60. package/dist/docs/versioned/next/implementationPlans/model-router-mcp.md +5 -4
  61. package/dist/docs/versioned/next/implementationPlans/offline-mode.md +3 -1
  62. package/dist/docs/versioned/next/implementationPlans/oss-launch-program.md +11 -2
  63. package/dist/docs/versioned/next/implementationPlans/pluggable-database-sqlite-research.md +150 -0
  64. package/dist/docs/versioned/next/implementationPlans/pluggable-database-sqlite.md +247 -0
  65. package/dist/docs/versioned/next/implementationPlans/positioning-django-rails-universal.md +1 -1
  66. package/dist/docs/versioned/next/implementationPlans/public-roadmap-github.md +2 -2
  67. package/dist/docs/versioned/next/implementationPlans/rbac-permissions.md +52 -15
  68. package/dist/docs/versioned/next/implementationPlans/rtk-to-syncdb-migration-docs.md +13 -12
  69. package/dist/docs/versioned/next/implementationPlans/syncdb-codegen-research.md +137 -0
  70. package/dist/docs/versioned/next/implementationPlans/syncdb-codegen.md +63 -59
  71. package/dist/docs/versioned/next/implementationPlans/syncdb-local-first.md +1 -0
  72. package/dist/docs/versioned/next/implementationPlans/syncdb-phase-c-design.md +1 -0
  73. package/dist/docs/versioned/next/implementationPlans/terreno-langfuse-integration.md +1 -0
  74. package/dist/docs/versioned/next/implementationPlans/terreno-syncdb-2.md +1 -0
  75. package/dist/docs/versioned/next/implementationPlans/upgrade-banner.md +4 -0
  76. package/dist/docs/versioned/next/reference/README.md +6 -1
  77. package/dist/docs/versioned/next/reference/admin-config.md +51 -0
  78. package/dist/docs/versioned/next/reference/ai.md +15 -1
  79. package/dist/docs/versioned/next/reference/api.md +18 -0
  80. package/dist/docs/versioned/next/reference/comms.md +88 -7
  81. package/dist/docs/versioned/next/reference/environment-variables.md +9 -1
  82. package/dist/docs/versioned/next/reference/{rtk.md → legacy/rtk.md} +11 -7
  83. package/dist/docs/versioned/next/reference/lifecycle-plugin.md +54 -0
  84. package/dist/docs/versioned/next/reference/mcp-server.md +7 -0
  85. package/dist/docs/versioned/next/reference/syncdb.md +30 -3
  86. package/dist/docs/versioned/next/tasks/README.md +21 -10
  87. package/dist/docs/versioned/next/tasks/admin-improvements.md +189 -353
  88. package/dist/docs/versioned/next/tasks/admin-only.md +2 -0
  89. package/dist/docs/versioned/next/tasks/agentic-sdlc-plugin.md +54 -160
  90. package/dist/docs/versioned/next/tasks/comms-abstraction.md +30 -24
  91. package/dist/docs/versioned/next/tasks/comms-adapter-sendgrid.md +4 -4
  92. package/dist/docs/versioned/next/tasks/consent-forms.md +2 -0
  93. package/dist/docs/versioned/next/tasks/feature-flags.md +2 -0
  94. package/dist/docs/versioned/next/tasks/migrate-cicd-to-circleci.md +14 -10
  95. package/dist/docs/versioned/next/tasks/model-router-actions.md +2 -0
  96. package/dist/docs/versioned/next/tasks/model-router-mcp.md +27 -27
  97. package/dist/docs/versioned/next/tasks/offline-mode.md +2 -0
  98. package/dist/docs/versioned/next/tasks/pluggable-database-sqlite.md +44 -0
  99. package/dist/docs/versioned/next/tasks/public-roadmap-github.md +1 -1
  100. package/dist/docs/versioned/next/tasks/rtk-to-syncdb-migration-docs.md +15 -15
  101. package/dist/docs/versioned/next/tasks/syncdb-codegen.md +37 -31
  102. package/dist/docs/versioned/next/tasks/upgrade-banner.md +2 -0
  103. package/dist/index.js +24 -55
  104. package/dist/index.js.map +1 -1
  105. package/dist/local/localServer.d.ts.map +1 -1
  106. package/dist/local/localServer.js +9 -8
  107. package/dist/local/localServer.js.map +1 -1
  108. package/dist/local/localTools.d.ts +1 -1
  109. package/dist/local/localTools.d.ts.map +1 -1
  110. package/dist/prompts.d.ts.map +1 -1
  111. package/dist/prompts.js +44 -45
  112. package/dist/prompts.js.map +1 -1
  113. package/dist/resources.d.ts.map +1 -1
  114. package/dist/resources.js +9 -2
  115. package/dist/resources.js.map +1 -1
  116. package/dist/tools.d.ts +1 -1
  117. package/dist/tools.d.ts.map +1 -1
  118. package/dist/tools.js +4 -2
  119. package/dist/tools.js.map +1 -1
  120. package/package.json +7 -3
  121. package/src/docs/guidelines/api/skills/mongoose-schema-safety/SKILL.md +8 -0
  122. package/src/docs/resources/overview.md +6 -1
  123. package/src/docs/resources/rtk.md +3 -1
  124. package/src/docs/resources/syncdb.md +43 -0
  125. package/src/docs/upgrades/56.0.0-beta.2.md +34 -0
  126. package/src/docs/upgrades/57.0.0.md +49 -0
  127. package/src/docs/upgrades/57.1.0.md +126 -0
  128. package/src/docs/versioned/next/README.md +15 -3
  129. package/src/docs/versioned/next/explanation/README.md +3 -0
  130. package/src/docs/versioned/next/explanation/admin-consent-migration.md +15 -0
  131. package/src/docs/versioned/next/explanation/admin-plugin-frontend.md +12 -0
  132. package/src/docs/versioned/next/explanation/announcements/rtk-deprecation.md +29 -0
  133. package/src/docs/versioned/next/explanation/authentication.md +51 -58
  134. package/src/docs/versioned/next/explanation/local-first-data.md +52 -0
  135. package/src/docs/versioned/next/explanation/loop-engineering.md +117 -0
  136. package/src/docs/versioned/next/explanation/repository-settings.md +8 -0
  137. package/src/docs/versioned/next/explanation/roadmap-process.md +22 -9
  138. package/src/docs/versioned/next/explanation/roadmap-seed-issues.md +39 -0
  139. package/src/docs/versioned/next/how-to/README.md +3 -0
  140. package/src/docs/versioned/next/how-to/admin-add-model.md +41 -0
  141. package/src/docs/versioned/next/how-to/admin-custom-home.md +31 -0
  142. package/src/docs/versioned/next/how-to/admin-custom-widget.md +42 -0
  143. package/src/docs/versioned/next/how-to/admin-import-prebuilt.md +25 -0
  144. package/src/docs/versioned/next/how-to/circleci.md +173 -0
  145. package/src/docs/versioned/next/how-to/configure-better-auth.md +13 -10
  146. package/src/docs/versioned/next/how-to/expose-mcp-tools.md +194 -0
  147. package/src/docs/versioned/next/how-to/install-agent-skills.md +46 -0
  148. package/src/docs/versioned/next/how-to/migrate-rtk-to-syncdb.md +26 -1
  149. package/src/docs/versioned/next/how-to/websocket-integration.md +2 -1
  150. package/src/docs/versioned/next/implementationPlans/ModularAPI.md +1 -0
  151. package/src/docs/versioned/next/implementationPlans/README.md +31 -17
  152. package/src/docs/versioned/next/implementationPlans/admin-improvements-research.md +136 -0
  153. package/src/docs/versioned/next/implementationPlans/admin-improvements.md +157 -527
  154. package/src/docs/versioned/next/implementationPlans/admin-only-research.md +4 -0
  155. package/src/docs/versioned/next/implementationPlans/admin-only.md +3 -1
  156. package/src/docs/versioned/next/implementationPlans/admin-script-runner.md +1 -0
  157. package/src/docs/versioned/next/implementationPlans/admin-ui-v2-django-parity.md +1 -0
  158. package/src/docs/versioned/next/implementationPlans/agentic-sdlc-plugin.md +160 -130
  159. package/src/docs/versioned/next/implementationPlans/apierror-standard-error-redesign.md +1 -0
  160. package/src/docs/versioned/next/implementationPlans/b2b-platform-program.md +5 -4
  161. package/src/docs/versioned/next/implementationPlans/comms-abstraction-research.md +48 -0
  162. package/src/docs/versioned/next/implementationPlans/comms-abstraction.md +152 -62
  163. package/src/docs/versioned/next/implementationPlans/comms-adapter-sendgrid.md +9 -9
  164. package/src/docs/versioned/next/implementationPlans/comms-admin-dashboard.md +1 -1
  165. package/src/docs/versioned/next/implementationPlans/consent-forms.md +4 -0
  166. package/src/docs/versioned/next/implementationPlans/design-blend-skill.md +1 -0
  167. package/src/docs/versioned/next/implementationPlans/docs-site-and-versioning.md +1 -0
  168. package/src/docs/versioned/next/implementationPlans/feature-flags-openfeature.md +1 -0
  169. package/src/docs/versioned/next/implementationPlans/feature-flags.md +4 -0
  170. package/src/docs/versioned/next/implementationPlans/infra-mcp-research.md +1 -0
  171. package/src/docs/versioned/next/implementationPlans/infra-mcp.md +3 -3
  172. package/src/docs/versioned/next/implementationPlans/mcp-boost-parity.md +1 -0
  173. package/src/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci-research.md +1 -0
  174. package/src/docs/versioned/next/implementationPlans/migrate-cicd-to-circleci.md +2 -2
  175. package/src/docs/versioned/next/implementationPlans/model-router-actions.md +4 -0
  176. package/src/docs/versioned/next/implementationPlans/model-router-mcp.md +5 -4
  177. package/src/docs/versioned/next/implementationPlans/offline-mode.md +3 -1
  178. package/src/docs/versioned/next/implementationPlans/oss-launch-program.md +11 -2
  179. package/src/docs/versioned/next/implementationPlans/pluggable-database-sqlite-research.md +150 -0
  180. package/src/docs/versioned/next/implementationPlans/pluggable-database-sqlite.md +247 -0
  181. package/src/docs/versioned/next/implementationPlans/positioning-django-rails-universal.md +1 -1
  182. package/src/docs/versioned/next/implementationPlans/public-roadmap-github.md +2 -2
  183. package/src/docs/versioned/next/implementationPlans/rbac-permissions.md +52 -15
  184. package/src/docs/versioned/next/implementationPlans/rtk-to-syncdb-migration-docs.md +13 -12
  185. package/src/docs/versioned/next/implementationPlans/syncdb-codegen-research.md +137 -0
  186. package/src/docs/versioned/next/implementationPlans/syncdb-codegen.md +63 -59
  187. package/src/docs/versioned/next/implementationPlans/syncdb-local-first.md +1 -0
  188. package/src/docs/versioned/next/implementationPlans/syncdb-phase-c-design.md +1 -0
  189. package/src/docs/versioned/next/implementationPlans/terreno-langfuse-integration.md +1 -0
  190. package/src/docs/versioned/next/implementationPlans/terreno-syncdb-2.md +1 -0
  191. package/src/docs/versioned/next/implementationPlans/upgrade-banner.md +4 -0
  192. package/src/docs/versioned/next/reference/README.md +6 -1
  193. package/src/docs/versioned/next/reference/admin-config.md +51 -0
  194. package/src/docs/versioned/next/reference/ai.md +15 -1
  195. package/src/docs/versioned/next/reference/api.md +18 -0
  196. package/src/docs/versioned/next/reference/comms.md +88 -7
  197. package/src/docs/versioned/next/reference/environment-variables.md +9 -1
  198. package/src/docs/versioned/next/reference/{rtk.md → legacy/rtk.md} +11 -7
  199. package/src/docs/versioned/next/reference/lifecycle-plugin.md +54 -0
  200. package/src/docs/versioned/next/reference/mcp-server.md +7 -0
  201. package/src/docs/versioned/next/reference/syncdb.md +30 -3
  202. package/src/docs/versioned/next/tasks/README.md +21 -10
  203. package/src/docs/versioned/next/tasks/admin-improvements.md +189 -353
  204. package/src/docs/versioned/next/tasks/admin-only.md +2 -0
  205. package/src/docs/versioned/next/tasks/agentic-sdlc-plugin.md +54 -160
  206. package/src/docs/versioned/next/tasks/comms-abstraction.md +30 -24
  207. package/src/docs/versioned/next/tasks/comms-adapter-sendgrid.md +4 -4
  208. package/src/docs/versioned/next/tasks/consent-forms.md +2 -0
  209. package/src/docs/versioned/next/tasks/feature-flags.md +2 -0
  210. package/src/docs/versioned/next/tasks/migrate-cicd-to-circleci.md +14 -10
  211. package/src/docs/versioned/next/tasks/model-router-actions.md +2 -0
  212. package/src/docs/versioned/next/tasks/model-router-mcp.md +27 -27
  213. package/src/docs/versioned/next/tasks/offline-mode.md +2 -0
  214. package/src/docs/versioned/next/tasks/pluggable-database-sqlite.md +44 -0
  215. package/src/docs/versioned/next/tasks/public-roadmap-github.md +1 -1
  216. package/src/docs/versioned/next/tasks/rtk-to-syncdb-migration-docs.md +15 -15
  217. package/src/docs/versioned/next/tasks/syncdb-codegen.md +37 -31
  218. package/src/docs/versioned/next/tasks/upgrade-banner.md +2 -0
  219. package/dist/docs/versioned/next/implementationPlans/PLAN_INDEX.md +0 -73
  220. package/dist/docs/versioned/next/implementationPlans/syncdb-api-inventory.md +0 -303
  221. package/src/docs/versioned/next/implementationPlans/PLAN_INDEX.md +0 -73
  222. package/src/docs/versioned/next/implementationPlans/syncdb-api-inventory.md +0 -303
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../src/bootstrap.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gCAAgC,EAChC,8BAA8B,EAE9B,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAEhC,8FAA8F;AAC9F,MAAM,CAAC,MAAM,8BAA8B,GAAG,QAAQ,CAAC;AAEvD,MAAM,CAAC,MAAM,cAAc,GAAW;IAC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,EAAE;oBACP,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,MAAM;iBACb;gBACD,IAAI,EAAE,MAAM;aACb;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -10,6 +10,13 @@ description: >-
10
10
 
11
11
  Typical Terreno apps keep models under `backend/src/models/` and types under `backend/src/types/models/`. The Terreno monorepo also uses `example-backend/` and `@terreno/ai` — adjust paths below to match your repo.
12
12
 
13
+ ## Documentation
14
+
15
+ 1. Read the app's model/API docs before changing schemas, types, or indexes.
16
+ 2. Implement against that design.
17
+ 3. Update those docs in the same slice. Schema field `description`s are public docs via OpenAPI.
18
+ 4. Ship without matching docs is a failed slice.
19
+
13
20
  ## Where Schemas and Types Live
14
21
 
15
22
  | Package | Schemas | Types |
@@ -128,6 +135,7 @@ A schema change in one place often ripples:
128
135
  - [ ] `modelRouter` config updated (`queryFields`, `populatePaths`, `responseHandler`) if needed
129
136
  - [ ] `AdminApp` `listFields` updated if the model is in the admin panel
130
137
  - [ ] `bun run sdk` run from `example-frontend/` if the API response shape changed
138
+ - [ ] Docs updated when the public shape or operator steps changed
131
139
  - [ ] Test covers old-format document behavior (missing new field) if the change rolls out before a backfill
132
140
  - [ ] Unique index: dedup migration written and run before the index is added
133
141
  - [ ] `checkModelsStrict()` still passes (it runs on non-prod startup)
@@ -6,7 +6,12 @@ A monorepo containing shared packages for building full-stack applications with
6
6
 
7
7
  - **@terreno/api** - REST API framework built on Express/Mongoose
8
8
  - **@terreno/ui** - React Native UI component library
9
- - **@terreno/rtk** - Redux Toolkit Query utilities for API backends
9
+ - **@terreno/syncdb** - Local-first data layer (primary path for collection CRUD)
10
+ - **@terreno/rtk** - OpenAPI SDK, Better Auth Redux, feature flags (legacy for data sync)
11
+ - **@terreno/ai** - AI service layer
12
+ - **@terreno/admin-backend** / **@terreno/admin-frontend** / **@terreno/admin-spa** - Admin panel stack
13
+
14
+ New apps: **syncdb + Better Auth** for data and auth; **rtk** for generated SDK hooks on non-synced routes only.
10
15
 
11
16
  ## Development
12
17
 
@@ -1,4 +1,6 @@
1
- # @terreno/rtk Documentation
1
+ # @terreno/rtk Documentation (legacy)
2
+
3
+ > **Deprecated for data synchronization** as of `56.0.0`. Use `@terreno/syncdb` for collection CRUD. This resource documents RTK for OpenAPI SDK codegen, Better Auth session Redux, feature flags, and sockets during the support window. See [migrate-rtk-to-syncdb.md](https://github.com/FlourishHealth/terreno/blob/master/docs/how-to/migrate-rtk-to-syncdb.md).
2
4
 
3
5
  Redux Toolkit Query utilities for frontends connecting to @terreno/api backends.
4
6
 
@@ -0,0 +1,43 @@
1
+ # @terreno/syncdb Documentation
2
+
3
+ Local-first data layer for Terreno frontends. The on-device TinyBase store is the UI source of truth.
4
+
5
+ ## Key exports
6
+
7
+ - `@terreno/syncdb`: `createSyncDb`, `betterAuthAdapter`, `wipeLocalData`, `listConflicts`
8
+ - `@terreno/syncdb/react`: `SyncDbProvider`, `useQuery`, `useEntity`, `useMutate`, `useSyncStatus`, `useConflicts`
9
+ - `@terreno/syncdb/testing`: `createFakeTransport`
10
+
11
+ ## Quick start
12
+
13
+ ```typescript
14
+ import {baseUrl} from "@terreno/rtk";
15
+ import {betterAuthAdapter, createSyncDb} from "@terreno/syncdb";
16
+ import {SyncDbProvider, useQuery, useMutate} from "@terreno/syncdb/react";
17
+
18
+ export const syncDb = createSyncDb({
19
+ authProvider: betterAuthAdapter(authClient),
20
+ baseUrl,
21
+ collections: ["todos"],
22
+ name: "my-app",
23
+ });
24
+
25
+ // In a screen:
26
+ const todos = useQuery<Todo>("todos");
27
+ const {create, update, remove} = useMutate("todos");
28
+ ```
29
+
30
+ ## Backend requirements
31
+
32
+ - `isDeletedPlugin` + `syncPlugin` on each synced schema
33
+ - `modelRouter("/path", Model, {sync: {...}, permissions, ...})`
34
+ - `SyncApp` + `RealtimeApp` on the Express app
35
+ - MongoDB replica set
36
+
37
+ ## What syncdb replaces
38
+
39
+ Do **not** use RTK Query `useGetXQuery` / `usePostXMutation` for synced collections. Keep `bun run sdk` for non-synced routes (auth/me, admin, AI).
40
+
41
+ Full reference: [docs/reference/syncdb.md](https://github.com/FlourishHealth/terreno/blob/master/docs/reference/syncdb.md)
42
+
43
+ Migration: [docs/how-to/migrate-rtk-to-syncdb.md](https://github.com/FlourishHealth/terreno/blob/master/docs/how-to/migrate-rtk-to-syncdb.md)
@@ -38,6 +38,40 @@ encrypted web persistence). Install as `@terreno/syncdb@beta` (or the exact vers
38
38
  `@terreno/syncdb` does not replace the generated OpenAPI SDK, Better Auth wiring, or
39
39
  feature flags — only collection sync/CRUD offline paths.
40
40
 
41
+ ## `@terreno/rtk` deprecated for data sync
42
+
43
+ As of **56.0.0**, RTK Query hooks for **collection CRUD** are deprecated. Migrate to
44
+ `@terreno/syncdb` using the migration guide above. Keep `@terreno/rtk` for:
45
+
46
+ - `bun run sdk` / `store/openApiSdk.ts` (non-synced routes)
47
+ - Better Auth session Redux (`generateBetterAuthSlice`)
48
+ - Feature flags and socket helpers
49
+
50
+ `@terreno/rtk` remains published through the current major line and will not ship in the
51
+ next major release.
52
+
53
+ ### Read hook (before → after)
54
+
55
+ ```typescript
56
+ // Before — RTK Query
57
+ const {data, isLoading} = useGetTodosQuery({completed: false});
58
+
59
+ // After — syncdb
60
+ const todos = useQuery<Todo>("todos", {filter: (t) => !t.completed});
61
+ ```
62
+
63
+ ### Write hook (before → after)
64
+
65
+ ```typescript
66
+ // Before — RTK Query
67
+ const [createTodo, {isLoading}] = usePostTodosMutation();
68
+ await createTodo({title, completed: false}).unwrap();
69
+
70
+ // After — syncdb
71
+ const {create} = useMutate("todos");
72
+ create({data: {title, completed: false}});
73
+ ```
74
+
41
75
  ## `excludeArchivedPlugin` now filters `findOne`
42
76
 
43
77
  `excludeArchivedPlugin` applies the same archived filter to `findOne` that it already
@@ -0,0 +1,49 @@
1
+ # 57.0.0
2
+
3
+ First stable release of the Expo SDK 57 line. Packages publish to the npm `latest`
4
+ dist-tag. Apps that are not ready to upgrade Expo should stay on the `0.x` line
5
+ (`npm install @terreno/ui@0.31.0` or your current pin).
6
+
7
+ ```bash
8
+ bun add @terreno/ui @terreno/api @terreno/rtk
9
+ # optional local-first data layer
10
+ bun add @terreno/syncdb
11
+ ```
12
+
13
+ ## Upgrade Expo before Terreno
14
+
15
+ This line targets Expo SDK 57. Upgrade the app first, then bump `@terreno/*`:
16
+
17
+ | Package | Version |
18
+ |---------|---------|
19
+ | `expo` | `~57.0.14` |
20
+ | `react-native` | `0.86.2` |
21
+ | `react` | `19.2.3` |
22
+ | `typescript` | `~6.0.3` |
23
+
24
+ Follow Expo's SDK 57 upgrade guide, then bump `@terreno/*` to `57.0.0`.
25
+ Run `npx expo install expo@latest --fix` at the app root, rebuild native binaries, then
26
+ `bun run compile` / `bun run lint`. Regenerate the OpenAPI SDK after any `@terreno/api`
27
+ surface change (`bun run sdk` in the frontend).
28
+
29
+ Terreno's version major now tracks the Expo SDK major. There is no in-place semver path
30
+ from `0.x` or `56.x` across Expo SDK majors — treat this as an Expo upgrade plus a
31
+ Terreno major bump.
32
+
33
+ ## `@terreno/syncdb` and TinyBase 9.5
34
+
35
+ `@terreno/syncdb` depends on `tinybase` `^9.5.1` for Expo SDK 57 / `expo-sqlite` type
36
+ compatibility. Apps using syncdb should reinstall and re-run sync integration tests after
37
+ upgrading Expo.
38
+
39
+ ## From `57.0.0-beta.1`
40
+
41
+ If you already validated on the beta line, bump the exact version from `57.0.0-beta.1` to
42
+ `57.0.0` (or drop the `@beta` dist-tag). No additional code changes are required beyond
43
+ rebuilding native binaries if you changed Expo during the beta period.
44
+
45
+ ## From `0.x` or `56.x`
46
+
47
+ Stay on your current Terreno major until the app runs on Expo SDK 57. Backend-only apps
48
+ can often stay on `0.x` longer; frontend packages (`ui`, `rtk`, `admin-frontend`,
49
+ `admin-spa`, `syncdb`) require the matching Expo major.
@@ -0,0 +1,126 @@
1
+ # 57.1.0
2
+
3
+ Terreno packages move in lockstep. Bump every `@terreno/*` dependency to `57.1.0`, then:
4
+
5
+ ```bash
6
+ bun add @terreno/ui @terreno/api @terreno/rtk
7
+ # optional
8
+ bun add @terreno/syncdb @terreno/admin-frontend @terreno/comms
9
+ ```
10
+
11
+ - `bun run compile` and `bun run lint` at the app root
12
+ - `cd <your frontend> && bun run sdk` after any `@terreno/api` route or model surface change
13
+
14
+ This is a minor on the Expo SDK 57 line. No Expo upgrade is required if you are already on `57.0.0`.
15
+
16
+ ## `@terreno/rtk` data sync is deprecated
17
+
18
+ Collection CRUD through `@terreno/rtk` is deprecated (first called out for `56.0.0`). The package still publishes through this major and remains required for the OpenAPI SDK, Better Auth Redux, feature flags, and sockets. It will not ship in the next major.
19
+
20
+ Migrate collection screens to [`@terreno/syncdb`](../../../docs/reference/syncdb.md) using [migrate-rtk-to-syncdb.md](../../../docs/how-to/migrate-rtk-to-syncdb.md). New apps from `terreno_bootstrap_app` now scaffold Better Auth + syncdb instead of JWT `generateAuthSlice`.
21
+
22
+ Typed collection hooks can be generated with the `terreno-syncdb-codegen` bin of `@terreno/syncdb` (not a separate package):
23
+
24
+ ```bash
25
+ bunx terreno-syncdb-codegen --schema http://localhost:4000/openapi.json --out store/syncDbSdk.ts
26
+ ```
27
+
28
+ ## RBAC (`@terreno/api`)
29
+
30
+ RBAC is opt-in. If you do not call `createAccess` / `accessControl`, skip this section except the `RbacRoleModel` singleton removal if you imported those names.
31
+
32
+ ### Register models on your connection
33
+
34
+ Importing `@terreno/api` no longer registers `RbacRole` / `RbacAudit` on the default mongoose connection. The `RbacRoleModel` / `RbacAuditModel` **value** singletons are gone; the `RbacRoleModel` **type** remains.
35
+
36
+ ```typescript
37
+ // Before
38
+ import {RbacRoleModel} from "@terreno/api";
39
+ await RbacRoleModel.find();
40
+
41
+ // After
42
+ import {createAccess, createRbacRoleModel} from "@terreno/api";
43
+ import mongoose from "mongoose";
44
+
45
+ const access = createAccess({
46
+ connection: mongoose.connection,
47
+ statements: appStatements,
48
+ userModel: User,
49
+ });
50
+ // or, in scripts/tests only:
51
+ const RbacRole = createRbacRoleModel(mongoose.connection);
52
+ ```
53
+
54
+ See `example-backend/src/access.ts`.
55
+
56
+ ### Fail closed
57
+
58
+ - `createView: "deny"` and unknown field-view names deny instead of granting a full mask.
59
+ - Nested omits clone documents; write masks honor dotted paths; bulk create and array mutations use the same write mask as single-document writes.
60
+ - Admin CRUD for a resource missing from statements fails closed (list/read, search, and writes).
61
+ - Permission-source refresh with `staleOnFailure: "deny"` (default) keeps last-cached **deny** grants; additive `roles` / `permissions` from that source are omitted.
62
+
63
+ If a previously unknown view name silently allowed a full mask, tighten statements or name the view.
64
+
65
+ ### AdminApp + `admin:access`
66
+
67
+ `admin:access` is no longer enough for model CRUD. Each resource needs its list/read/create/update/delete actions. Framework statements now include `featureFlag`, `consentForm`, and `consentResponse`.
68
+
69
+ | Action | Required permission |
70
+ | --- | --- |
71
+ | Admin model CRUD | Resource verb **and** `admin:access` |
72
+ | `POST /admin/background-tasks` | `admin:runScripts` |
73
+ | Version-config GET / PUT | `configuration:read` / `configuration:update` |
74
+ | Change User `admin` (RBAC on) | `rbac:assignRoles` **and** an actor who already has the legacy admin flag (`rbac:manageRoles` is not a substitute) |
75
+ | Assign / unassign roles | Actor already holds the target user's current permissions |
76
+
77
+ The seeded `auditor` role no longer receives `admin:access` from read-only expansion.
78
+
79
+ Without RBAC, admin User CRUD may still set `admin`. With RBAC, `roles` go through `RoleManager.assign`. Echoed unchanged `admin` values on create/update are allowed.
80
+
81
+ ### Privilege fields are stripped on self-service writes
82
+
83
+ Signup, `PATCH /auth/me`, and ordinary User modelRouter / sync / MCP writes drop `admin`, `roles`, and `organizationIds`. Change organization membership through a privileged server path, not self-service.
84
+
85
+ `example-backend` `backfillAdmins` is a dry run unless `RBAC_BACKFILL_ADMINS=true`. Live production admin script resets require `ALLOW_ADMIN_DB_RESET=true`.
86
+
87
+ ### Custom `modelRouter` actions
88
+
89
+ `runActionPermissions` **combines** legacy `action.permissions` with RBAC (it does not replace them). Actions without `access` inherit the router's `access.resource` and the mapped CRUD verb (`instance` POST → `update`, `collection` POST → `create`). Set `access` on custom actions that must not inherit, or they follow that mapping.
90
+
91
+ MCP and SyncDB registries use TerrenoApp-injected `accessControl` (not pre-build legacy permission arrays). User `roles` on modelRouter writes are dropped when `accessControl` is set.
92
+
93
+ ### Audit
94
+
95
+ `RoleManager` writes `RbacAudit` (with `permissionDelta`) on create/update/remove/assign/unassign. HTTP `rbacRouter` no longer writes a second row. Pass `auditSink` (one function or an array) to fan into an app log; `persistAudit: false` skips the built-in collection and then requires at least one sink.
96
+
97
+ Assignment **preview** does not write denied-assign rows. Denied mutation audits are stored only for the escalation `403` (`Cannot grant permissions you do not hold`).
98
+
99
+ ## Admin frontend
100
+
101
+ `@terreno/admin-frontend` is now provider-backed: wrap screens in `AdminProvider`, use the widget registry / `AdminScreenRouter`, and prefer `AdminRolesField` / `AdminRolesList` over raw role arrays. The sidebar groups Scripts, Roles, Version, Audit Log, Feature Flags, and Configuration under **Platform**. Empty sections hide.
102
+
103
+ If you still pass the deprecated `customScreens` prop, migrate to the widget registry (`mergeWidgetRegistry`, `BUILT_IN_WIDGET_REGISTRY`).
104
+
105
+ ## MCP on `modelRouter`
106
+
107
+ Opt a model in with `mcp` on `modelRouter`. Tools are served at `POST /mcp` with the same permissions, filters, and hooks as REST. Lifecycle hooks receive a stub request from `createMCPRequest` (`isMCPRequest: true`); they do not see forwarded HTTP headers. Register extra tools with `registerMCPTool`. `@terreno/rtk` adds `useMCPTools()` and `useTerrenoChat()`.
108
+
109
+ ## Comms
110
+
111
+ Optional `SendGridMailProvider` lives at `@terreno/comms/adapters/sendgrid` (peer `@sendgrid/mail`). Phase 1 hooks: `beforeSend` may mutate or cancel; `onRetry` stays `(context, result)` with `context.attempt`. Push prune treats `errorClass: "permanent"` like `isPermanentFailure`.
112
+
113
+ ## `@terreno/ui`
114
+
115
+ React Native Web `shadow*` and `props.pointerEvents` deprecation warnings are fixed inside the library. No app code change is required unless you copied those patterns locally — use `style.pointerEvents` and `boxShadow`.
116
+
117
+ `Host` and `Portal` are exported from `@terreno/ui` (replacing `react-native-portalize`).
118
+
119
+ ## Verification
120
+
121
+ - Compile and lint the app against `@terreno/*@57.1.0`.
122
+ - If you imported `RbacRoleModel` as a value, switch to `createAccess` / `createRbacRoleModel`.
123
+ - If RBAC is on, confirm admin list/create still works for each model and that `admin:access`-only roles cannot mutate resources.
124
+ - Confirm signup / `PATCH /auth/me` cannot set `admin`, `roles`, or `organizationIds`.
125
+ - If you use collection RTK Query hooks, start the syncdb migration (see above).
126
+ - Regenerated OpenAPI SDK after enabling `mcp` or new admin/RBAC routes.
@@ -16,16 +16,28 @@ Documentation for the Terreno monorepo: shared packages for full-stack applicati
16
16
  |---------|-------------|
17
17
  | [@terreno/api](reference/api.md) | REST API framework (Express/Mongoose) |
18
18
  | [@terreno/ui](reference/ui.md) | React Native UI component library |
19
- | [@terreno/rtk](reference/rtk.md) | RTK Query utilities for API backends |
20
19
  | [@terreno/syncdb](reference/syncdb.md) | Local-first data layer (offline sync, conflicts) |
20
+ | [@terreno/ai](reference/ai.md) | AI service, GPT routes, request logging |
21
21
  | [@terreno/admin-backend](reference/admin-backend.md) | Admin panel backend plugin |
22
22
  | [@terreno/admin-frontend](reference/admin-frontend.md) | Admin panel frontend screens |
23
+ | [@terreno/admin-spa](reference/admin-spa.md) | Standalone admin SPA + Express serve plugin |
23
24
  | [@terreno/api-health](reference/api-health.md) | Health check endpoint plugin |
24
- | [@terreno/comms](reference/comms.md) | Pluggable communications providers and delivery logging |
25
+ | [@terreno/comms](reference/comms.md) | Pluggable communications providers |
26
+ | [@terreno/feature-flags](reference/feature-flags.md) | Feature flags and A/B testing plugin |
25
27
  | [@terreno/mcp](reference/mcp-server.md) | AI coding assistant integration (MCP) |
28
+ | [@terreno/test](reference/test.md) | Bun test helpers and in-memory MongoDB |
29
+
30
+ ### Legacy
31
+
32
+ | Package | Description |
33
+ |---------|-------------|
34
+ | [@terreno/rtk](reference/legacy/rtk.md) (deprecated) | RTK Query utilities — superseded by syncdb for data sync; still used for OpenAPI SDK, auth, and feature flags during migration |
35
+
36
+ **Migrating from RTK?** See [How to migrate from @terreno/rtk to @terreno/syncdb](how-to/migrate-rtk-to-syncdb.md).
26
37
 
27
38
  ## Quick links
28
39
 
29
40
  - [Getting started](tutorials/getting-started.md)
41
+ - [Local-first data](explanation/local-first-data.md)
30
42
  - [AGENTS.md](../AGENTS.md) — Onboarding context for AI assistants
31
- - [.cursorrules](../.cursorrules) — Project and code style rules
43
+ - [ROADMAP.md](../ROADMAP.md) — Public roadmap
@@ -10,6 +10,9 @@ Understanding-oriented documentation: concepts, architecture, and context.
10
10
 
11
11
  ## Contents
12
12
 
13
+ - [Local-first data](local-first-data.md) — Why the local store is the UI source of truth
14
+ - [Loop engineering](loop-engineering.md) — Fresh-invocation lifecycle, state, evidence, and orchestration boundaries
15
+ - [Install agent skills](../how-to/install-agent-skills.md) — `npx skills add FlourishHealth/terreno`
13
16
  - [AI-powered workflows](ai-workflows.md) — Autonomous documentation, testing, and maintenance workflows
14
17
  - [Authentication architecture](authentication.md) — How JWT, OAuth, and token refresh work
15
18
  - [Configuration system](configuration-system.md) — Runtime configuration with database persistence
@@ -0,0 +1,15 @@
1
+ # Consent admin migration audit
2
+
3
+ The example keeps specialized consent routes where generic model screens do not cover the workflow.
4
+
5
+ | Route file | Disposition | Reason |
6
+ | --- | --- | --- |
7
+ | `consent-forms/index.tsx` | Keep as a hand-written route | Adds consent-specific list navigation and publishing workflow. |
8
+ | `consent-forms/create.tsx` | Keep as a hand-written route | Uses `ConsentFormEditor` for localized content, AI generation, and consent validation. |
9
+ | `consent-forms/[id].tsx` | Keep as a hand-written route | Supports publish/version behavior beyond generic CRUD editing. |
10
+ | `consent-responses/index.tsx` | Keep as a hand-written route | Presents consent-response-specific navigation. |
11
+ | `consent-responses/[id].tsx` | Keep as a hand-written route | Uses `ConsentResponseViewer` for signatures, snapshots, and audit details. |
12
+
13
+ `ConsentApp.adminContribution()` still contributes generic ConsentForm and ConsentResponse models.
14
+ Those models provide searchable tables and field widgets, while Expo Router gives the explicit
15
+ routes above precedence for the richer consent workflows.
@@ -0,0 +1,12 @@
1
+ # Admin plugin frontend widgets
2
+
3
+ Backend plugins contribute stable widget IDs through `adminContribution()`. Their React
4
+ implementations ship from `@terreno/admin-frontend`, under `src/widgets/`.
5
+
6
+ This keeps the first-party integration in one frontend package and avoids making backend-only
7
+ packages depend on React Native. The built-in registry includes consent field widgets, feature
8
+ flag home widgets, and Documents/AI custom screens. Hosts can override any ID through
9
+ `AdminProvider.widgets`.
10
+
11
+ Third-party plugins should publish their own frontend package and ask the host to spread its
12
+ registry into `AdminProvider`; `@terreno/admin-frontend` only owns first-party Terreno widgets.
@@ -0,0 +1,29 @@
1
+ # RTK deprecation announcement (draft)
2
+
3
+ **Do not post until maintainers review.** Target: GitHub Discussions → Announcements.
4
+
5
+ ---
6
+
7
+ ## `@terreno/rtk` data sync is deprecated — migrate to `@terreno/syncdb`
8
+
9
+ Starting with **56.0.0**, Terreno's default frontend data path is **local-first** via [`@terreno/syncdb`](https://github.com/FlourishHealth/terreno/blob/master/docs/reference/syncdb.md). Collection reads and writes apply to an on-device store first; the server reconciles over the sync protocol. This replaces RTK Query hooks for CRUD lists and mutations.
10
+
11
+ ### What changed
12
+
13
+ - **New:** `@terreno/syncdb` — `useQuery`, `useMutate`, offline outbox, conflict resolution, sync status UX
14
+ - **Deprecated:** RTK Query hooks for synced collections (`useGetTodosQuery`, `usePostTodosMutation`, manual optimistic updates)
15
+ - **Unchanged:** `bun run sdk` still generates the OpenAPI SDK for auth, profile, admin, AI, and other non-synced routes
16
+
17
+ ### What you need to do
18
+
19
+ 1. **By next major:** move collection screens from RTK Query to syncdb. `@terreno/rtk` will not publish in the next major line.
20
+ 2. **Support window:** `@terreno/rtk` continues to publish with a deprecation notice through the **current major** (56.x beta and stable 0.x).
21
+ 3. **Recommended order:** migrate to **Better Auth** first, then syncdb per screen ([migration guide](https://github.com/FlourishHealth/terreno/blob/master/docs/how-to/migrate-rtk-to-syncdb.md)).
22
+
23
+ ### Why local-first
24
+
25
+ Instant UI, durable offline writes, and simpler screen code — at the cost of explicit conflict and sync-status handling. See [local-first data](https://github.com/FlourishHealth/terreno/blob/master/docs/explanation/local-first-data.md).
26
+
27
+ ### Questions
28
+
29
+ Open a thread in [Docs feedback](https://github.com/FlourishHealth/terreno/discussions/categories/docs-feedback) or reply here.