@shibenenen/mem
v0.2.5
Published
Local-first Rust memory service for multi-agent workflows — prebuilt-binary installer.
Maintainers
Readme
@shibenenen/mem
npm installer for mem — a local-first Rust
memory service for multi-agent workflows.
This package ships no binary of its own. On install it downloads the
prebuilt mem binary for your platform from the matching
GitHub Release, verifies its
SHA-256 against the release checksums, and installs it as the mem command.
Install
npm install -g @shibenenen/mem
mem --helpor run without a global install:
npx @shibenenen/mem servePlatform support
Prebuilt binaries are currently published for linux-x64 only. The installer
pulls the statically-linked musl build, so it runs on any linux-x64 distro
(glibc or musl) without further setup. On any other platform npm install
fails fast (os/cpu are restricted in package.json) — build from
source instead.
How it works
install.js(postinstall) resolvesmem-v<version>-x86_64-unknown-linux-muslfromreleases/download/v<version>/, streams it tobin/mem-linux-x64while hashing, and aborts on any SHA-256 mismatch — no unverified binary is ever left on disk.bin/mem.jsis a small launcher that execs that binary, forwarding argv, stdio, and exit status.
The package version must match a published release tag, since that is where
the binary is fetched from. In CI the version is set from the git tag at
publish time (see .github/workflows/release.yml).
If you installed with --ignore-scripts, the download never ran — re-run it
manually with node install.js inside the package directory.
License
MIT
