Private packages
Private packages
The internal workspace packages your product code builds on.
Every concern in Onyx lives in a focused internal package under private/*.
They are not published; your apps import them directly from the workspace.
Building blocks
@repo/db
Extend the Drizzle schema and query D1.
@repo/auth
Sessions, organizations, and API keys.
@repo/api
Add procedures to the public API contract.
@repo/ui
The shared component library and theme.
Background work
@repo/jobs
defineJob and enqueue on Cloudflare Queues.
@repo/crons
Scheduled jobs on Cron Triggers.
@repo/workflows
Durable multi-step processes.
@repo/notifications
defineNotification and notify.
Product features
@repo/mail
Transactional email with React Email.
@repo/ai
The chat agent and AI SDK tools.
@repo/realtime
Presence and Yjs collaboration.