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

animastor

npm

1.86K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

31 packages

@animastor/ai-agent

AI Agent Core — the shared execution mechanism for AI analysis tasks: fail-closed host port validation, task→callAI→structured JSON lifecycle. No domain knowledge, no persistence, no generation.

@animastor/ai-analysis

AI Analysis — semantic analysis layer: structure, character, location, scene, unit analysis and voice authoring. Uses @animastor/ai-agent for the execution mechanism; owns prompts, contracts, and domain-specific analysis logic.

animastor-ai-connector

Local AI Connector — outbound bridge between an Animastor workspace and a local OpenAI-compatible runtime (Ollama / vLLM / llama.cpp / LM Studio). Speaks LAC v1 over one outbound WebSocket: registration, heartbeat, model discovery, streaming and non-strea

@animastor/assistant

Animastor Assistant — the AI assistant contour of the Animastor backend, physically extracted from the host: chat engine (persona/system prompts, book context, mode tools, JSON patch pipeline with bundle-contract validation), the /api/v1/ai/* HTTP contour

@animastor/auth

Animastor Auth — the identity/session/authorization domain of the Animastor backend, physically extracted from the host: registration (with guest→account in-place conversion), login/logout, server-side session and guest-identity semantics, the canonical b

animastor-comfyui-workflow-connector

Declarative mapping between data entities and ComfyUI workflow JSON. Loads workflows + connectors, validates compatibility (SHA-256 + node-class checks), applies entity-keyed bindings, and builds runnable workflow JSON. Zero runtime dependencies.

@animastor/contracts

Frozen wire contracts shared by Animastor components: Job Protocol v2 (backend <-> GPU Hub <-> Worker) — protocol constants, job_id grammar, envelope/error contract helpers; plus the Runtime Result contract (Phase 5 seam — job/dispatch execution results b

@animastor/editor

Animastor Editor — book-editing HTTP contour: core book GET/PUT/PATCH/DELETE, scene/metadata/location/character/voice/behavior patches, entity CRUD (characters/locations/voices/behaviors), structure CRUD (chapters/scenes/units) and blank-book scaffolding.

@animastor/file

Preact/Web UI module: Animastor File — book import/open/create/close/export UI for the web frontend. NOT a platform-independent or domain module — it renders through Preact and consumes host capabilities only via the injected FilePorts contract (session,

@animastor/generation

Animastor Generation — the media-generation domain core of the Animastor backend, physically extracted from the host: the media capability registry (audio/image/video capability seam), the pure generation task registry, the per-asset state FSM contract, t

@animastor/gpu-hub

Animastor GPU Hub — standalone HTTP orchestration boundary between the backend and GPU workers. Job queue (Redis), task dispatch/result callbacks, worker onboarding artifacts. Job Protocol v2 is consumed from the canonical @animastor/contracts package.

@animastor/installer

Animastor Private GPU Worker installer — self-contained CLI and library for GPU worker setup, verification, and management.

@animastor/orchestration

Animastor Orchestration 1.2.0 — generation orchestration v2 (ADR ORCHESTRATION_V2): `gen` namespace — PG is the single source of truth (gen_commands, gen_jobs), commands / claim (FOR UPDATE SKIP LOCKED) / one-transaction acceptance / sweeper / progress ov

@animastor/parser

Deterministic text parser — chapter/segment detection, offsets, language detection, canonical ParserResult/ChapterMap DTO, legacy chapter projection, verbatim source-coverage analysis, encoding detection. Pure sync (except buffer decode), no AI, no DB.

@animastor/player

Animastor Player — playback HTTP contour: scene media serving (Range/206/ETag/If-Range), scene data (status/storyboard/timings/waveform), IU media, playback queue and assets-state. Reads book content only through the injected playerModel (VBook boundary);

@animastor/url-safety

Animastor URL Safety — the SSRF guard of the Animastor backend, physically extracted from the host: public-endpoint assertion (http/https only, literal loopback/private/link-local/metadata IPv4+IPv6 incl. decimal/octal/hex alternative forms and IPv4-mappe

@animastor/vbook-runtime

VBook Runtime — canonical VBook 4 book model: one file per hero (characters/<id>.json), atomic hero store, bundle import/export by whitelist, draft/import lifecycle, lazy parse windows, validation, canonical id grammar and path layout. Owns bundle/book ca

@animastor/web-ai-chat

Pure AI chat streaming UX helpers for Animastor web frontend — SSE frame mapping, source badge logic, error code translation, and cancel detection. Zero host dependencies; pure functions and types only.

@animastor/web-book-session

Book session identity contour for the Animastor web frontend. Single owner of the bookId/buildId identity signals, loadBook (the sanctioned identity mutator), the persisted localStorage session (write path + key contract), and the per-user stash/restore p

@animastor/web-editor

Schema-driven editor UI primitives for Animastor web frontend — entity add/delete dialogs, structure add dialog, canvas waveform renderer, and preview ID generator. Host capabilities (i18n, icons, modal) arrive via the injected EditorPorts contract; the p

@animastor/web-file

Preact/Web UI module: Animastor Web File — book import/open/create/close/export UI for the web frontend. NOT a platform-independent or domain module — it renders through Preact and consumes host capabilities only via the injected FilePorts contract (sessi

@animastor/web-generator

Generation-progress domain slice for Animastor web frontend — the pure/near-pure analysis state machine, progress panel rows, SSE event routing, and generation timer. Host capabilities (identity, transport, phase, auth, i18n, navigation) arrive via the in

@animastor/web-generator-config

Layer-config load/persist domain logic for Animastor web frontend. Pure functions that fetch and save book layer configuration (audio/image/video/vbook toggles, analysis mode/parallelism) through injected identity and transport ports. No host stores, sign

@animastor/web-generator-sse

SSE stream orchestration for Animastor generation progress. Manages the reconnect loop, epoch-guarded event routing, and error handling. The host owns the AbortController and SSE connection; this package consumes the stream and routes events through @anim

@animastor/web-generator-vbook

VBook agent lifecycle orchestration for Animastor web frontend. Owns the real VBook decision logic — bootstrap-vs-next-window choice, agent-status polling loop, paused/inactive/safety-cap terminal-state classification — parameterized by injected capabilit