v0.1.1 — self-maintenance (lens_system) + one-line install
Adds the self-maintenance layer and a one-line install, bringing lens to the periscope family standard.
Added
lens_system— one tool, three actions:status— running vs on-disk version, git commit, install type, Node version, and an update-availability check.agents_md— returns the CURRENTAGENTS.md, so an agent can refresh a stale pasted copy of its operating guide (and persist it into CLAUDE.md).update— dry-run by default;apply=truerunsupdate.sh(git pull + npm ci + build + self-test). Honest semantics:restartRequired(a Node stdio server can't hot-reload),force=truestashes local edits, managed (no-.git) installs refuse.- It operates on the lens install directory (resolved from the module URL) — not
process.cwd(), which is the user's project (the code tools' sandbox). Two separate roots, by design.
- One-line
install.sh+update.sh— no system packages, no native build (tree-sitter is WebAssembly): checks Node 18+,npm ci, build, self-test, writes a per-machinemcp-config.json.git clone … && ./install.shand you're registered.
138 tests (unit + stdio e2e, incl. driving the server from a foreign cwd to prove the install-dir/sandbox separation). 12 tools total.
Full changelog: v0.1.0...v0.1.1