New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
d

dotlabs-dev

npm

7.68K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

35 packages

@baseworks/account

@baseworks/auth

Identity for a baseworks realm: verifying tokens, issuing them, and the sign-in commands a CLI needs.

@baseworks/billing

Billing capability: typed HTTP client, event catalog, projections, and CLI plugin for billing-service (usage-based billing: metrics, plans, subscriptions, usage). Contract-first, versioned with the service.

@baseworks/catalog

Catalog capability: typed HTTP client, event catalog, projections, and CLI plugin for catalog-service. Contract-first, versioned with the service.

@baseworks/cli

@baseworks/config

Lightweight layered config loader for CLI tools and services — TOML (default), YAML or JSON, per-file by extension, project-local over global.

@baseworks/core

The small things every baseworks package and service needs: identifiers, base64url, and service manifests. No dependencies, and nothing here reaches the network except where it says so.

@baseworks/crypto

@baseworks/customers

Customers capability: typed HTTP client, event catalog, projections, and CLI plugin for customers-service. Contract-first, versioned with the service.

@baseworks/db

@baseworks/eventstore

Append-only, multi-tenant event store over libSQL/SQLite (and Postgres schema) — streams, optimistic concurrency, global ordering.

@baseworks/extensions

The extension contract and loader for dotlabs' open-core products: a product loads private, first-party extensions named by an env var, and extensions may refuse an operation, observe events, answer their own routes and contribute menu items and per-organ

@baseworks/foldbase

TypeScript client for foldbase — append, query, and typed projection authoring over HTTP. Zod only; no drizzle, no libsql.

@baseworks/hooks

Webhooks capability: typed HTTP client, event catalog, projections, and CLI plugin for hooks-service (endpoint registry + signed delivery + delivery log). Contract-first, versioned with the service.

@baseworks/iam

IAM capability: identity (users, handles, agents) + credentials (api tokens). Typed HTTP client, foldbase event catalog, projections, and CLI plugin for iam-service. Contract-first, versioned with the service. Roles/PDP live in @baseworks/org.

@baseworks/invoice

Invoice capability: typed HTTP client, event catalog, projections, and CLI plugin for invoice-service (AR ledger). Contract-first, versioned with the service.

@baseworks/ledger

Ledger capability: double-entry books on the Turkish uniform chart of accounts. Event catalog, projections, THP rules and types for ledger-service. Contract-first, versioned with the service.

@baseworks/mcp

The realm's MCP layer: a tool type, composition, and a Hono mount for an OAuth-protected MCP server (streamable HTTP, stateless, or with opt-in sessions and acting as a person's agents) that exchanges the client's token at auth-service and gives tools a r

@baseworks/org

Org capability: typed HTTP client, event catalog, projections, and CLI plugin for org-service. Contract-first, versioned with the service.

@baseworks/organization

Organization / Workspace / Project hierarchy for multi-tenant applications. Includes DB schema (SQLite + PostgreSQL), repository layer, and CLI plugin.

@baseworks/pay

Payments capability: typed HTTP client, event catalog, projections, and CLI plugin for pay-service (idempotent charges against a pluggable provider). Contract-first, versioned with the service.

@baseworks/readmodel

Declarative read models over an event log: _projections rules fold events into queryable tables, _policies gate a generic JSON query API (POST /v1/query/:name). Storage-agnostic (any libsql-shaped client), event-source-agnostic (any {type,streamId,tenant,

@baseworks/sdk

Baseworks runtime binding surface — createEnv resolves capability services (foldbase, org, …) and driver bindings to typed clients. zod + fetch only.

@baseworks/stripe

Stripe connector: typed HTTP client, event catalog, projections, and CLI plugin for stripe-service (config, plan/product sync, checkout links, webhook reconciliation). Contract-first, versioned with the service.

@baseworks/ui

The baseworks design system: tokens, primitives and the application frame. Plain CSS and React, no utility framework.