8.53K
total weekly downloads
28 packages
@structure-ai/ai
LLM provider bindings on @effect/ai: typed calls, structured output, resilience, token/cost observability, scripted test model.
@structure-ai/auth
Tenant-aware authentication primitives for passwords, magic links, passkeys, OAuth, and revocable sessions.
@structure-ai/authorization
Typed role/permission matrices (RBAC with conditions and scopes), principal propagation, and guards for effects, CQRS dispatch and HTTP.
@structure-ai/auth-pg
Bun PostgreSQL persistence adapter for @structure-ai/auth.
@structure-ai/auth-sqlite
Bun SQLite persistence adapter for @structure-ai/auth.
@structure-ai/bdd
Gherkin feature testing on bun test: Effect-native step definitions, per-scenario worlds with typed dispatch/query, schema-decoded data tables, and owned eventual consistency.
@structure-ai/cli
CLI command definitions on @effect/cli with config/observability pre-wired and classified exit codes.
@structure-ai/client
Typed API client derived from an HttpApi definition: correlation ids, bearer tokens, per-attempt timeouts, and bounded jittered retries on transient transport failures.
@structure-ai/config
Typed env + configuration management on Effect Config: layered providers, startup validation, redacted secrets.
@structure-ai/cqrs
Schema-typed command/query buses with validation, authorization, idempotency and tracing middleware.
@structure-ai/domain
DDD tactical bindings: branded ids, value objects, aggregates (decide/evolve), domain events, repository port, error taxonomy.
@structure-ai/dotenv
First-class .env support on Effect: dotenv-compatible parsing, variable expansion, environment cascade (.env, .env.local, .env.<env>, .env.<env>.local), lossless file edits, required-key checks, and a CLI command group.
@structure-ai/eventsourcing
Event sourcing ports and runtime: event store, snapshots, projections with checkpoints, outbox/inbox, in-memory adapters.
@structure-ai/eventsourcing-nisshi
Nisshi (Kafka-API broker) event store with a SQL sidecar for optimistic concurrency, snapshots, checkpoints, and inbox dedupe.
@structure-ai/eventsourcing-pg
PostgreSQL (@effect/sql-pg) adapters for @structure-ai/eventsourcing: event store, checkpoints, outbox, inbox; plus a durable @structure-ai/cqrs idempotency store.
@structure-ai/eventsourcing-sqlite
SQLite (bun:sqlite) adapters for @structure-ai/eventsourcing: event store, checkpoints, outbox, inbox.
@structure-ai/fixtures
Composable command-based fixtures for development, tests, and previews, with named scenarios and an application CLI.
@structure-ai/grpc
Effect-native native gRPC server, client, streams and CQRS adapters.
@structure-ai/http
HTTP routes and handlers on @effect/platform HttpApi: OpenAPI docs, health probes, error mapping, CQRS bridge, Bun server.
@structure-ai/jobs
Delayed and recurring jobs on PostgreSQL: named schema-typed handlers, SKIP LOCKED dispatch with heartbeat leases, cron scheduling with timezones, at-least-once delivery, dead letters, graceful drain, per-job metrics.
@structure-ai/mailer
Transactional email: one Mailer service over pluggable drivers (SMTP, Resend, Brevo, capture), typed templates with previews, transient-only bounded retry, per-driver metrics.
@structure-ai/mcp
MCP server bindings: expose Schema-typed tools, resources, and CQRS commands/queries to coding agents over stdio or HTTP.
@structure-ai/migrations
Versioned, ordered SQL migrations on @effect/sql Migrator: in-code Effect migrations, status reporting, CLI command group, explicit startup layer.
@structure-ai/observability
Structured logging, correlation context, OpenTelemetry tracing and metrics layers.
@structure-ai/playwright
Browser E2E for structure apps on Playwright: subprocess app + bearer-guarded test control plane (dispatch/query/events/drain/auth seed), plain-JS spec client with owned eventual consistency.