@eonium/compass-core
v0.3.0
Published
Repo-safe path, file mutation, managed block and change report primitives for Eonium Compass.
Readme
@eonium/compass-core
@eonium/compass-core contains the stack-agnostic primitives that future Compass commands use before mutating a repository.
It deliberately does not know how to initialise a backend, install packages, scan TypeScript, or generate Sherpa docs. Those responsibilities belong to higher-level packages such as @eonium/cli, @eonium/compass-sherpa, and @eonium/compass-be-sherpa.
Current scope
- repo path helpers;
- structured change reports;
- dry-run/write-aware text file upserts;
- JSON reads/writes;
- managed block generation and replacement.
Design rule
All repo mutation must be explicit and reportable. Callers should support dry-run first, then write.
