Implements @beads/bd npm package for easy installation in Node.js environments, especially Claude Code for Web. Features: - Automatic platform-specific binary download during postinstall - CLI wrapper that invokes native bd binary - Full feature parity with standalone bd - Works with SessionStart hooks for auto-installation Package structure: - bin/bd.js: Node.js CLI wrapper - scripts/postinstall.js: Downloads correct binary from GitHub releases - scripts/test.js: Verification tests - Comprehensive documentation (6 guides) Published to npm: https://www.npmjs.com/package/@beads/bd Benefits vs WASM: - Full SQLite support (no custom VFS) - Better performance (native vs WASM) - Simpler implementation and maintenance - All commands work identically Closes bd-febc, bd-be7a, bd-e2e6, bd-f282, bd-87a0, bd-b54c 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
70 lines
961 B
Plaintext
70 lines
961 B
Plaintext
# Binaries
|
|
/beads
|
|
/bd
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binaries
|
|
*.test
|
|
*.out
|
|
|
|
# Go workspace file
|
|
go.work
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Claude Code
|
|
.claude/settings.local.json
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# SQLite databases (now using JSONL as source of truth)
|
|
*.db
|
|
*.db-journal
|
|
*.db-wal
|
|
*.db-shm
|
|
|
|
# Daemon runtime files
|
|
.beads/daemon.log
|
|
.beads/daemon.pid
|
|
.beads/daemon.lock
|
|
.beads/bd.sock
|
|
.beads/.exclusive-lock
|
|
|
|
# .beads directory files (keep JSONL only)
|
|
.beads/.gitignore
|
|
.beads/db.sqlite
|
|
.beads/bd.db
|
|
|
|
# Keep JSONL exports (source of truth for git)
|
|
!.beads/*.jsonl
|
|
|
|
# Ignore nix result
|
|
result
|
|
|
|
# GoReleaser build artifacts
|
|
dist/
|
|
|
|
# Git worktrees
|
|
.worktrees/
|
|
.beads/pollution-backup.jsonl
|
|
|
|
# npm package - exclude downloaded binaries and archives
|
|
npm-package/bin/bd
|
|
npm-package/bin/*.tar.gz
|
|
npm-package/bin/*.zip
|
|
npm-package/bin/CHANGELOG.md
|
|
npm-package/bin/LICENSE
|
|
npm-package/bin/README.md
|
|
npm-package/node_modules/
|
|
npm-package/package-lock.json
|