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
@onyx/db
Extend the Drizzle schema and query D1.
@onyx/auth
Sessions, organizations, and API keys.
@onyx/api
Add procedures to the public API contract.
@onyx/ui
The shared component library and theme.
Background work
@onyx/jobs
defineJob and enqueue on Cloudflare Queues.
@onyx/crons
Scheduled jobs on Cron Triggers.
@onyx/workflows
Durable multi-step processes.
@onyx/notifications
defineNotification and notify.
Product features
@onyx/mail
Transactional email with React Email.
@onyx/storage
File uploads on R2.
@onyx/ai
The chat agent and AI SDK tools.
@onyx/realtime
Presence and Yjs collaboration.