@repomem/core
v0.1.3
Published
Shared setup toolkit for the @repomem packages: idempotent filesystem helpers and an agent (Kiro) installer that wires skills, hooks and MCP config.
Maintainers
Readme
@repomem/core
Shared setup toolkit for the @repomem
packages. It is agent-infrastructure only — it knows nothing about the memory or
structure-map domains.
Consumed by @repomem/memory
and @repomem/map to install
skills, hooks and MCP config into an agent workspace (Kiro today).
What it provides
- Idempotent filesystem helpers (
copyIfAbsent,copyExecutable,ensureDir,mergeJsonAdditive,deepMergeAdditive, report helpers) that never clobber a user's files. installForKiro(spec, repoRoot)— wires anAgentSetupSpec(MCP server, skills, hooks) into.kiro/additively.runSetup(spec, args, io)— the sharedsetupsubcommand body used by each package's CLI.resolveRepoRoot/findGitRoot— repository root discovery.
Each consumer supplies its own AgentSetupSpec; this package performs the
agent-agnostic work.
Install
npm install @repomem/coreRequires Node.js >= 22.
License
MIT
