@litterthanlit/hypher-cli
v0.1.8
Published
Hypher bridge for coding agents: hooks, a local outbox, and a truth check against the working tree. Pilot, not yet recorded.
Readme
@litterthanlit/hypher-cli
Pilot · not yet recorded. The bridge between coding agents and Hypher project memory.
hypher initconnects this computer (one browser approval), installs a pinned copy under~/.hypher/, and adds Claude Code hooks and Codex hooks (Codex asks once to trust them:/hooks). It keeps M0a'shyphersign-in entry wherever it finds one.hypher doctorchecks each piece and prints the fix for anything red.hypher resumeprints the note for this repository;hypher sealsaves a handoff.hypher seal --evidence "<command>=<exit code>"(repeatable, split at the last=) reports a check you ran. Hypher binds each to the working tree at the save and labels it an agent report (only agent reports are accepted until hooks capture checks in Baton M3); the next note says whether that tree still matches. It never runs the command. Only the command text, exit code, tree hash, and time leave the machine, never output. Against a server that does not accept evidence yet, the handoff saves without it and says so.hypher mcpis the bridge for any MCP client:resume,seal, andacknowledge, with no IDs.hypher uninstallremoves exactly whatinitadded and revokes the key.initalso puts~/.hypher/binon PATH with one marked block in your shell's startup file (~/.zshenvfor zsh,~/.bash_profileor~/.bashrcfor bash, aconf.dfile for fish), sohypherruns by name in new terminals and in agents' shells.--no-pathskips it; hooks and the MCP bridge use the full path either way.- Inside Codex's sandbox the Keychain and the network are blocked. Commands run there say so instead of reporting that this computer is not connected.
Only hashes, file names, repository and commit identity, and agent-written handoff text leave the machine. Never code, diffs, or transcripts.
Canonical git helpers are vendored from packages/hypher-git (node script/sync-hypher-git.mjs). The note renderer, validators, and secret scan are vendored from hypher-web/shared (node script/sync-hypher-shared.mjs). Do not edit vendor/ by hand.
Releases go out from GitHub Actions with npm trusted publishing; see packages/hypher-cli/RELEASING.md in the repository.
