Skip to content

Bundled features

Bundled features are complete features in the framework repo that you pull into your app with one line instead of writing them yourself. Each ships schema + handlers + hooks + (often) UI pieces

  • tests — you use them like your own features, but can override conventions (table names, hash algorithms, channel implementations).

They live under packages/bundled-features/src/<feature>/ and get activated through two paths:

  1. Auto mode: when you set auth: { ... } in runDevApp / runProdApp, composeFeatures auto-prepends the identity quartet (config, user, tenant, auth-email-password). That’s all most apps need.

  2. Manual: other features (audit, secrets, jobs, channels …) you import explicitly and add to your features array.

import { runDevApp } from "@kumiko/dev-server";
import { createAuditFeature } from "@kumiko/bundled-features/audit";
import { createSecretsFeature } from "@kumiko/bundled-features/secrets";
await runDevApp({
features: [
createAuditFeature(),
createSecretsFeature(),
myAppFeature,
],
auth: { /* enables config + user + tenant + auth-email-password */ },
});

Overview

BucketFeaturesWhen
Identity layerauth-email-password, sessions, user, tenant, configEvery multi-tenant app. Auto-loaded in auto mode.
Audit & securityaudit, secrets, rate-limitingCompliance, external API keys, throttling write paths.
Operationsjobs, feature-togglesBackground work, gradual rollout.
Notificationsdelivery, channel-email, channel-in-app, channel-pushNotify users — channel-agnostic.
Files & rendererfiles-provider-s3, renderer-simpleFile uploads, email templates.

Status legend

  • Stable — used in production apps (publicstatus), API is stable
  • 🚧 Beta — works, but the API may still change. Use at your own risk in production
  • Planned — on the roadmap, not in the repo yet

Detail pages

🚧 A dedicated detail page per bundled feature is planned (setup + full options list + edge cases + migration paths). Until then the source under packages/bundled-features/src/<feature>/ is the authoritative reference — every feature has a header comment with an architectural overview.

See also

Where do I find…Here
How these features fit into the pipelineFramework
Runnable examples (auth, audit, notifications, …)Recipes
Deployment + hostingPlatform
Pattern reference (r.config, r.secret, r.job, …)Patterns