Reference
Technical reference for Terreno packages and APIs. Information-oriented, precise descriptions.
Packages
- @terreno/api — modelRouter, auth, permissions, setupServer
- @terreno/ui — Components, theming, layout
- @terreno/syncdb — Local-first data layer (reads, writes, offline sync)
- @terreno/ai — AI service, GPT routes, Langfuse integration
- @terreno/admin-backend — Auto-generated admin CRUD endpoints
- @terreno/admin-frontend — Admin panel UI components
- @terreno/admin-spa — Standalone admin SPA + Express serve plugin
- @terreno/api-health — Health check TerrenoPlugin
- @terreno/comms — Pluggable mail, SMS, push, and verification providers
- @terreno/feature-flags — Feature flags and A/B testing plugin
- @terreno/mcp — AI coding assistant integration (MCP)
- @terreno/test — Bun test helpers and in-memory MongoDB
Migrating from RTK
@terreno/rtk is deprecated for data synchronization. New apps should use @terreno/syncdb. Existing RTK consumers: follow Migrate from @terreno/rtk to @terreno/syncdb. Archived RTK reference: legacy/rtk.md.
Configuration
- Environment Variables — Complete environment variable reference for all packages
Other references
- Lifecycle plugin — Grow/Pick/Roast/Brew/Taste contracts, results, and transitions
- Install agent skills — Published
skills/tree fornpx skills - Root package.json — Workspace scripts and catalog
- Per-package
package.jsonin each package directory — Commands and dependencies