Skip to content

Packages

View as Markdown

StoryShelf is a set of small packages. createShelfApp from @storyshelf/app composes them: a database, storage, an optional capture runner, and optional authentication, notifications, design links and AI. Each package page has its install line, configuration and, under API, the generated TypeScript reference for every export.

PackageWhat it does
@storyshelf/coreAdapter interfaces, models, the capture pipeline, diffing and retention (no HTTP).
@storyshelf/appThe Hono app: JSON API under /api/v1 and the server-rendered UI.
@storyshelf/affectedAffected capture: picks the stories a change impacts by tracing the dependency graph.
@storyshelf/imagePixel diffs, diff overlays and thumbnails on a worker pool.
@storyshelf/observabilityOpenTelemetry tracing, metrics and log correlation.
@storyshelf/authLocal accounts, social login, OIDC, SAML SSO and passkeys.
@storyshelf/aiAI insights: build triage and project health.
@storyshelf/mcpMCP server that lets AI agents read builds and comment on reviews.
PackageWhat it does
@storyshelf/db-sqliteThe default. SQLite, with Turso, better-sqlite3, Bun and D1 presets.
@storyshelf/db-postgresPostgres, with Neon, Vercel, pg and PGlite presets.
@storyshelf/db-mysqlMySQL and MariaDB, with PlanetScale and TiDB presets.
PackageWhat it does
@storyshelf/storage-localThe default. Blobs on the local filesystem.
@storyshelf/storage-s3Amazon S3 and compatible stores (R2, MinIO, Spaces).
@storyshelf/storage-azureAzure Blob Storage.
@storyshelf/storage-gcsGoogle Cloud Storage.
PackageWhat it does
@storyshelf/runner-playwrightRenders stories with Playwright: Chromium, Firefox and WebKit.
@storyshelf/runner-puppeteerRenders with Puppeteer and chrome-headless-shell, for smaller images.
PackageWhat it does
@storyshelf/design-figmaLinks components to Figma: link checks, metadata and previews.
@storyshelf/notify-chatSlack and Microsoft Teams webhook alerts.
@storyshelf/notify-emailAn email transport: SMTP, Mailpit, HTTP APIs.
@storyshelf/notify-gitGitHub and GitLab commit statuses and pull-request comments.

Looking for the HTTP endpoints instead? See the HTTP API reference.