5.04K
total weekly downloads
51 packages
@astratra/agent
Budgeted, verifiable and durable task execution with injected models and tools, plus user feedback (thumbs up/down) on runs that the agent learns from.
@astratra/ai
Generic AI provider routing, tool registry, and agent loop utilities for Astratra, plus agent guards (@astratra/ai/guards): outbound masking, prompt-injection handling for untrusted tool results, reply checks.
@astratra/app-guide
Generate a role-aware mobile app guide from the app's own screen configuration, detect usage questions, look up bounded answers, and test guide coverage without a mobile runtime.
@astratra/app-version
Tell mobile users a new build is in the App Store or Play Store: a public version route, one announcement push per version (claimed before sending, daytime only, behind phones only, in each account's language, off by default), and a client watcher that ch
@astratra/booking
Appointment slot engine without a database: weekly availability per resource, exceptions and public holidays, time zones and daylight saving, service duration, buffers, minimum notice, horizon, capacity, and atomic booking through an injected store (book
@astratra/centrale
Paquet de collecte pour un tableau de bord de surveillance auto-hébergé : erreurs, vues, usages, sessions et appels d'IA, masqués à la source ; client des réglages, bilans et décisions de la conscience d'une IA, journal des exécutions d'agents ; propositi
@astratra/centrale-cli
Outil en ligne de commande pour un tableau de bord de surveillance auto-hébergé : identifiants de débogage dans les builds, envoi des cartes de code, déclaration des déploiements.
@astratra/client
Framework-agnostic client-side plumbing: refresh-on-401 with single-flight renewal, a public-list route guard, per-condition password rules shared with the server, and an offline mutation queue that keeps order.
@astratra/closure
Closing a period on purpose: a human-owned checklist with blocking and acknowledged items, and an archive that never carries a credential.
@astratra/collab
Real-time collaborative editing: Hocuspocus server wired to your auth (read/write per document), injectable persistence with Yjs snapshots, named versions and restore, size limits, a headless Tiptap editor factory, and Yjs to JSON/Markdown/HTML conversion
@astratra/conscience
Documented memory of an AI agent's decisions (outcomes, corrections, lessons with evidence, self-model, lineage, erasure) under a deterministic governor with no language model: constitution, permissions, budgets, isolation, kill switch, human approval.
@astratra/core
Generic core utilities for Astratra SaaS packages.
@astratra/credentials
Encrypted service keys stored in your database, editable from the interface, with no restart.
@astratra/entitlements
Who may do what: plans and features, billing and status guards, screen/role matrix, fail-closed tenant isolation, and invite-by-link with hashed tokens.
@astratra/fhir
FHIR R4 helpers on top of the official Medplum types: minimal Patient, Encounter and Observation validation, references and builders.
@astratra/flags
Évaluation déterministe de fonctionnalités et d'expériences avec ciblage, déploiement progressif et fournisseur compatible OpenFeature.
@astratra/gouvernance
Governed data actions for AI agents: the agent proposes, an exact preview is computed, a human validates (signed, bound to the exact proposal, with an expiry), the data is re-checked at commit time and the change runs all or nothing, with a full audit tra
@astratra/i18n-server
Server-side message translation and a readability audit for the sentences your API returns.
@astratra/ledger
Moteur de comptabilité en partie double : écritures équilibrées et immuables, numérotation sans trou, clôture, lettrage, rapprochement bancaire, états SYSCOHADA, plans OHADA (SYSCOHADA, SYSCEBNL) et TVA RDC.
@astratra/live
Injected real-time voice call sessions and client protocol helpers.
@astratra/loyalty
Loyalty rules without a database: stamp cards (N visits in a window earn a reward) and monthly passes (N uses per calendar month).
@astratra/mcp
The Model Context Protocol with no dependency: client and server (initialize, tools/list, tools/call, ping, cancellation), stdio and Streamable HTTP transports, Origin check, size and time limits. Works with transports from the official SDK too.
@astratra/memory
Per-person memories for an AI assistant: injected store, embeddings and model, hybrid recall, duplicate merging or reinforcing, undoable corrections, background consolidation, portrait, a ready-made PostgreSQL store, and privacy operations that keep worki
@astratra/models
Local CPU model service for servers without GPU (embeddings, reranking, NLI, entities, speech-to-text, prompt-injection detection, content moderation) and its Node client: optional lazy-loaded models, token auth, request limits, per-endpoint timeouts, ret
@astratra/native
Mobile plumbing without the mobile runtime: secure token session with an injected keystore, a biometric gate, native push registration and foreground watching, a checkout round-trip that survives a missing native module, network state that only calls a mi