Skip to content
bswan0002Public

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

bitshelf

Early 0.1.x releases. Keep backups of important data. See releases for available versions and platform support for supported systems.

Agents let us work on more things in parallel, and useful work now outlives the session that produced it. bitshelf gives that work a home outside any one conversation, repository, or worktree: a store of ordinary Markdown shelves that people and agents both use through the bs executable.

  • Information outlives the session. Keep notes, design docs, reusable code, exact prompts, and handoffs where any later session can find them.
  • People and agents use the same material. It's a directory you own: browse it in your editor, or let agents use bs with JSON output.
  • Each shelf has its own working conventions. SHELF.md guidance tells people and agents how to keep a shelf's contents; bs.toml enforces structure such as required tags.

Saving and retrieving are deliberate. This isn't automatic agent memory.

Documentation: Get started · Recipes · Using with agents

Quick start

With Homebrew installed:

brew install bswan0002/tap/bitshelf && bs completion install

The completion installer previews its change and asks before editing your shell startup file. Start a new shell afterward; pass --yes when running it non-interactively.

Install the agent skill globally with Node.js and npm:

npx skills add bswan0002/bitshelf --skill bitshelf --global

Choose your agents when prompted. Update the executable and skill together; see Using with agents and release matching.

Create your store, keep something, then find it from another context:

bs init --store ~/bitshelf
printf '# Pagination research\n\nCursor pagination is stable under inserts.\n' > findings.md
bs add notes/pagination-research --tags api --file findings.md
bs search 'pagination api'   # terms can match across fields; relevance-ranked
bs show notes/pagination-research --body
printf '# Pagination research\n\nUse opaque cursors.\n' > revised.md
bs edit notes/pagination-research --file revised.md

bs add needs a body source (--file, --stdin or --interactive). See Install for upgrades, completions, archives, and source builds.

Documentation

Development

Use Node.js 22.12+ for the documentation commands. docs:dev starts a long-running server; stop it before running the next command.

cargo test --locked
cargo fmt --check
cargo clippy --all-targets --locked -- -D warnings
cargo build
cargo install usage-cli --version 6.11.1 --locked
bash scripts/generate-docs.sh
npm ci
npm run docs:dev
npm run docs:build

The Rust CLI is synchronous, one application package, with no search index; Markdown is authoritative and timestamp comparison is command-local. A small documented Demand rendering patch lives in vendor/demand until fixed upstream. Tests use temporary stores, not your notes. Documentation pins VitePress 2 alpha. GitHub Actions is configured to test Linux/macOS, build release archives on manual dispatch, and deploy development docs only on explicit manual dispatch. Nothing is published or scheduled by local setup.

Initial targets are macOS Apple Silicon, macOS Intel, and Linux x86-64. See Safety and recovery for safety boundaries.

Release archives include version-matched docs, skill, notices and build information. See release matching, compatibility, and verification. Bundled docs are a release snapshot, not a live publication-status page.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages