7.43K
total weekly downloads
38 packages
@mariachi/ai
LLM sessions persisted in Postgres, with token budgets, streaming, tools, agents, RAG, provider fallback and cost tracking.
@mariachi/api-facade
Public HTTP API: controllers, Zod-validated routes, auth strategies, rate limits, OpenAPI and health endpoints.
@mariachi/audit
Append-only audit log enforced by a database trigger, with per-tenant hash chaining, tenant-scoped queries, retention and export.
@mariachi/auth
JWT, OAuth, sessions, API keys with rotation and scopes, database-backed RBAC and brute-force protection.
@mariachi/auth-fusionauth
FusionAuth JWT verification (JWKS), webhook verification, and an IdentityClient for headless sign-in.
@mariachi/auth-gotrue
GoTrue (Supabase Auth) JWT verification through its JWKS (ES256), and its signed hooks (Standard Webhooks).
@mariachi/auth-oidc
OpenID Connect token verification for any standard provider (Auth0, Cognito, Keycloak, Entra ID, Okta, Firebase, ...): discovery, JWKS, and configurable tenant, role and scope claims.
@mariachi/auth-workos
WorkOS (AuthKit) JWT verification through its JWKS, signed webhooks, and an IdentityClient for headless sign-in.
@mariachi/billing
Stripe billing with a local Postgres mirror: customers, subscriptions, plans, charges, refunds, a credit ledger, usage and replayable webhooks.
@mariachi/cache
Redis or in-memory cache with stampede protection, SCAN-based invalidation, owned locks and an idempotency store.
@mariachi/cli
The mariachi binary: init, generate, validate, db (generate, check, migrate, seed), design and explore.
@mariachi/communication
Typed in-process procedure calls between controllers and services, with middleware, timeouts and scope checks.
@mariachi/config
Typed, validated configuration from the environment, plus secrets and feature flags.
@mariachi/core
Context, typed errors, DI container, retry, idempotency and instrumentation primitives shared by every package.
@mariachi/create
Project scaffolding, generators and architecture validation used by the CLI.
@mariachi/database
Driver-agnostic schema DSL (defineTable), repository contract and seeds.
@mariachi/database-postgres
Postgres via Drizzle: tenant-safe DrizzleRepository, transactions, cursor pagination, migrations from the DSL.
@mariachi/design
Framework-agnostic design library: one token contract, interchangeable presets, component CSS, and overrides at any granularity.
@mariachi/design-kits
Every @mariachi/design language and preset as a kit a project copies in and owns: tokens, base styles, self-hosted fonts, motion and DESIGN.md, with a sha256 per file.
@mariachi/encryption
Envelope encryption with key rotation (local keys, AWS KMS, GCP KMS).
@mariachi/events
Domain events with envelopes, consumer groups, Redis Streams/NATS JetStream adapters, dead letters and a transactional outbox.
@mariachi/explorer
Explorer for the whole framework: packages, docs, API, error codes, dependency graph, CLI, tables and the design library, generated from the repo.
@mariachi/integrations
Third-party API integrations: validated functions with retries, per-tenant encrypted credentials, a callable registry and webhook signature checks.
@mariachi/jobs
Background jobs and cron on BullMQ or Postgres, with context propagation, retries, dedup and a dead-letter queue.
@mariachi/lifecycle
Composition root: bootstrap, ordered startup and shutdown, liveness/readiness/startup health.