One content model, every surface
The dashboard, public reader, embed, SDK, CLI, and MCP server all follow the same publishing rules.
The management contract stays in the center
Prosewire keeps its private management schemas and HTTP API declarations in a shared contract package. The server, TypeScript SDK, CLI, and MCP server consume that contract instead of reimplementing request and response shapes independently.
The public JSON and rendered HTML endpoints use the same publication queries and visibility rules. Drafts, archived posts, and future scheduled posts remain private on every public surface.
Tenant boundaries
A Better Auth organization is a Prosewire workspace. Workspace membership carries one of five roles: owner, admin, editor, author, or viewer. Publications belong to exactly one workspace; content, public URLs, API keys, exports, and analytics remain publication-scoped.
Authorization is checked beside every server mutation and private API operation. Submitted publication, author, category, member, and invitation identifiers are resolved against the caller’s workspace before writes begin. Authors can edit only posts they created, while editors can review and publish across the workspace.
Choose your delivery surface
- JavaScript embed for the smallest integration change
- Rendered HTML for server or client composition
- Public JSON for a custom reading experience
- TypeScript SDK for typed public and management clients
- CLI and MCP for automation and agent workflows
Read Choose an integration for authentication and rendering trade-offs.
Own the runtime
The web app and worker run against your Postgres database. The worker checks for due scheduled posts and expired raw analytics events. Atomic Postgres transactions coordinate concurrent worker replicas. Content remains exportable, and the built-in public reader remains readable without client-side JavaScript.
Production uses a separate one-shot migration process before web and worker replicas start. The web process does not migrate or seed in production.