v0.49.5
beads v0.49.5
Pre-compiled binaries for Linux, macOS (Intel & Apple Silicon), Windows (AMD64 & ARM64), Android/Termux (ARM64), and FreeBSD.
Installation
Homebrew (macOS/Linux):
brew install beads
Quick Install (macOS/Linux/FreeBSD):
curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/steveyegge/beads/main/install.ps1 | iex
Manual Install: Download the appropriate binary for your platform below, extract it, and place it in your PATH.
Changelog
Features
- 3c167b82e74ac630f0be2679a84e4124fb167806 feat(dolt): fail-fast TCP check before MySQL protocol initialization
- e06e0cc866bb7630888ecd8846609187a620f547 feat: add bd find-duplicates for AI-powered duplicate detection (bd-581b80b3)
- 4d16070158272351c4890c46d3c512f915a89bf9 feat: add bd promote command for wisp-to-bead promotion (gt-7mqd.9)
- 55a41404405f887d08e8960662e5e25aa28963f5 feat: add bd todo command for lightweight task management
- 24ba7e31f44c7acc4554b3ffa26608e740364993 feat: add bd validate command for data-integrity health checks (bd-e108)
- 6d99a8c04f2df94459800a5eb9edd79fcacf3118 feat: add content and null-check filters to bd search (bd-au0.5)
- a6cbb7cdb2e0b1e72aa552f129f463a62cd9d8c2 feat: centralize AI model config into ai.model with DefaultAIModel()
- 6fe7f20e38d6090d7b0b458ba39f2d697383e7d4 feat: default to chaining hooks in bd init instead of prompting (bd-bxha)
- 66b7fc4a45d2fd82df906cb66031122932a2236d feat: embed Windows PE version info to reduce antivirus false positives (bd-t4u1)
- e5330641228d90a22ae7530e1e815565f831289b feat: remove embedded Dolt mode, keep server-only connections (bd-esqfe)
Bug Fixes
- f5e0de4daa56935d3a041d81840bbd3da675d9f3 fix(ci): resolve lint failures and test guard false positive (#1550)
- f763b15cef3807a42a5a0fa792b996734d751572 fix(ci): resolve lint failures and test guard false positive on main
- 31687be254d9c5efb23ae1dc9a02ba482c23171d fix(ci): unbreak Nix and Windows CI
- 307cd1b1b518d0237b88a4eb00800b3a82d5cfa6 fix(ci): update vendorHash, fix pre-existing lint failures
- 9affc8f9f631308c634f9d0cbe7fad6d06521fe2 fix(config): log when viper uninitialized in getConfigList
- d0cb6506e4ffcf77bcb0caef929ca5132cbbbda8 fix(config): write beads.role to git config instead of SQLite
- 3ba6bc3ffdc6770717a61c20c386469038e3be28 fix(daemon): use rpc.ShortSocketPath for daemon status/health/metrics
- 7057b080948eaf12177c10f98e9cb86ba7df2878 fix(docs): correct markdown link syntax in COMMUNITY_TOOLS.md
- 3d4ac66449025cd2dacf78e51a682c4af72fc69a fix(doctor): correct brew upgrade command from "bd" to "beads"
- c9f68c2ba99f40693cd5be5e1d0def8e93ac3429 fix(doctor): improve output formatting with summary-first layout (bd-4qfb)
- 282c13e2bc4de4cbd934fb50f8d4a7d7213eeeaf fix(dolt): clean test tables in setupTestStore to prevent duplicate primary key errors
- ac0ff2e53c17eaf94bf7b5d05dbf3a54e24f7202 fix(gitignore): add .jsonl.lock to template and requiredPatterns
- 85bd4bb298459461c6b269ca576ef2b232cec3e2 fix(lint): suppress unparam for doctor/sqlite_open.go readOnly
- 1296242541e8727964d88adae0eeb8021921a9ee fix(merge): use strings.HasPrefix to prevent panic on short error messages
- 3e8bc4f03fe7cf326c4fd41bcc1d8a41ca37d8d6 fix(migrate): check for running daemon before dolt migration
- 8566c342a25ef4ad45e87312152007b7dcaf4501 fix(nix): update flake.lock, remove CI workaround
- a96df5ab94077281fa56d02859a7fd6d77d99017 fix(rpc): pass issueID via closure to prevent empty mutation events
- fea2bc75846580554637a183237930c9512fc602 fix(rpc): replace hardcoded /tmp paths with t.TempDir() in tests
- 531f7a9f7db22f93c8ce81d8f5d12db215660566 fix(security): path traversal in export handler and command injection in import
- 85a5b845e249276cf559e744278a9b0d6b5dbafd fix(security): upgrade Go toolchain to 1.25.7 for CVE-2025-68121
- eb1049baf371de3988123244bacac01b1a62ef67 fix(sqlite): make Close() idempotent to prevent WAL retry deadlock (bd-4ri)
- 0f14a110a8025d2b6bb0fcf776a6ab42116e376f fix(sync): apply --ours/--theirs strategy to conflict resolution
- 914146d4c708b2d119447efbbdfeeb63f5d05787 fix(sync): include tombstones in auto-flush full export
- f72000ab7a66a984b77db7397c4f9a2084e7fb1d fix(tests): add missing assertions to RPC coverage and list filter tests
- 5b8090ec5e99eafa2357e82cc4a984561c2addd4 fix(tests): re-enable deadlock test and add timeout guards for peer sync (dolt-test-ebm)
- 32738345fd907e8d866b768cf5e53e0ca2200185 fix(update): log DB error when GetCustomTypes fails
- 182655ca74b22fd7301a0309e359d4b2f481b6bb fix(update): skip type pre-validation in daemon mode
- 16ac05c8ef4dd27a561a7df1bea2170e4fb92712 fix: ShouldExportJSONL reads DB directly, returns false in dolt-native mode
- 3d01c7feccf666cac987cc62e9320e2472bb31a2 fix: Support cross-prefix ID resolution in multi-repo scenarios (GH#1513)
- 69ab6b67cb839cf9e4519162c59dffff8febef85 fix: add bounds checks for slice/string access in migrate.go (dolt-test-atg)
- b78a67a3ee5d7166600bbaae044047698b595caf fix: add exclusive lock to flushToJSONLWithState to prevent race conditions
- f29172740793991a8a50804d9c031eb37d704a7c fix: add nil storage guard to handleCommentList and handleCommentAdd (dolt-test-w1p)
- 48574fe07e4095fd4f8bbc58aea091e69616c980 fix: add staleness check to export, graph, history, gate list commands (bd-2q6d)
- fd274c9ec922b851611a4f08797d5b649323e777 fix: apply approved fixes before returning on stdin read error (dolt-test-hp8)
- de5f7021ce95f57f6e54edd83aaf72c71cec6b36 fix: bd dep list cross-rig routing broken from town root (bd-ciouf)
- 8ea2353f6d6405847836b07318142d3e1c0c5a52 fix: bd doctor --check=validate re-checks after fix, reuses doctor infra (bd-e108)
- 2b90ed1dfb6c8e6352f5cbdcade973b5c029e46b fix: bd list --all disables default limit (bd-u0l9f)
- dd2e1c689638c96837b515b166a26907df5a897a fix: block BD_BACKEND env var to prevent data fragmentation (bd-hevyw)
- bf3af462f61fd53d844c28e47d11f57d4841b3b4 fix: centralize error handling patterns in storage layer (bd-bwk2)
- 656c806630cad380353221338bca796b4d939bdb fix: detect cross-rig contamination in post-migration check (bd-73cf5)
- 75fd768f5f1d80dbae766b4844f4d1f2c07b8cec fix: dolt_conflicts column name, doctor gastown detection, explicit routing mode
- 831c6ab97242c1884013a439b21f8cb62e243fa8 fix: drain in-flight requests before closing storage in Server.Stop (dolt-test-rgh)
- 2a0cd4c4c478f60b213203e7e09ef34df2fd0637 fix: handle json.Marshal error in runServerHealth (dolt-test-hk6)
- a66165aa5db818f04ffec239f8eefc802957c250 fix: include dependencies and comments in issueEqual comparison (dolt-test-7e4)
- 1b42ec3591c3451fab40d1260b0dde4bd6c20246 fix: isolate Dolt tests with per-test databases (dolt-test-1cf)
- 8a185824a3c59ebc8b15a0d1305e9dc2592b8a30 fix: log warnings for label and dependency import errors in migration (dolt-test-qf0)
- 342af3b551eae500fcad26d773b718c0ef8bae7b fix: make "connection refused" retryable in Dolt retry logic (bd-p3ytz)
- 81a87a7349a5ed857fd368f488ae8769b099770b fix: make TestRoutingIntegration/maintainer_with_SSH_remote deterministic (bd-g9eu)
- e73f16fbbbf38fa1aadd57b615cb27d440b58f7f fix: prevent stdout export from clearing dirty flags and auto-flush state (dolt-test-f8l)
- c4c54cbf0b5157cdc28b86df32294eab8e4577c0 fix: remove global os.Stderr redirect during daemon import (dolt-test-s6y)
- db232c81eeedc862d7d685d0400682757b63591c fix: remove output_schema=None workaround, FastMCP 2.14.4 handles union return types (bd-49kw)
- a8bc58112cb50fa96ffb6c47e5b12db6733dc8dd fix: remove unreachable RPC import method and dead code
- 766f6dca5a60c46dfc728243932880373f04949c fix: replace hardcoded 100ms sleep with response-write-then-shutdown pattern (dolt-test-931)
- 2f4c26ff79d01c7c74c2f0ee15cea1092b5fb88e fix: resolve gosec lint warnings in migrate_sync.go and migration_hint.go
- 7b9c5816513f5b2576a8503f8ccb97102b58d5e4 fix: separate parent-child from blocks in bd list output (bd-ohn7c)
- ac09cdeb2674b785498dc390b62fb9b71265eca5 fix: standardize JSON output across commands (bd-au0.7)
- 4eafe63963e98a704e35f8ec4b7f16ca5cea7a08 fix: sync labels during import by removing DB labels absent from JSONL (dolt-test-96u)
- 6be71339bb6ce4b02c43555f04b98bfa57eeab54 fix: use SQLITE_BUSY retry logic for all BEGIN IMMEDIATE calls (bd-ola6)
- 1d77673d5d6e52da142d027a7d66e571b9fe7998 fix: use port 3307 consistently for Dolt server connections (bd-ig3re)
- 249609de0c8ec4e9d8e936d3ecdcca7e4e8d5f06 fix: use prefix-based Dolt database names to prevent cross-rig contamination (bd-u8rda)
- 4bf6e8fc17669e8ad4fa7139ae9a0789017c9cff fix: use unique temp filename in writeMergedStateToJSONL to avoid collisions (dolt-test-1so)
Others
- 556836b13acd179872072156a132750acfaba81a Add beads-manager plugin to community tools list
- 17e54c59a05295b89d36e5b652df22ae7262b122 Enable Dolt on Windows via gms_pure_go build tag
- 8cc9344ef60159d0c1fa530b0b21ba71e49416ea Fix bd doctor fix suggestion: bd daemon stop requires workspace path
- 312699712b0a5807c06af83b6636103f789b197c Fix daemon ignoring auto-sync config from YAML
- 89e4ec510d9added83595314bcdea817f93a3a2b Fix doctor --fix migration for legacy spec_id
- 976fbe68533b2fdb9b9387511869a6678bf81c89 Fix doctor role check false positive when role set via bd config
- df0204d80d1031ebd65aef68ba534869d1d89c36 Initialize bd after merge
- 75930425caefd848358ad99bdbb9c25086ba0908 Merge remote-tracking branch 'origin/main' into fix/nix-and-windows-ci
- a39cf8b71ff246c9900ec6f9d5ec9219036cbbed Newsletter generator: automated narrative summaries of releases (#1197)
- a0450ecb248a41622bfd26e842ba0738e482ad86 cleanup: remove G5 flock semaphore remnants (server mode makes them obsolete)
- e54ac33d2813c7d085d761cf43118f56d0de4ff3 hygiene: consolidate internal/util into internal/utils
- 16cdc210715adc527b06ebe5282e1866928d243a hygiene: consolidate sqliteConnString into internal/storage
- d182aa0ea1fcf3ddf1e7e21c4fa4375d2fc113ee hygiene: extract requireFreshDB to eliminate staleness boilerplate
- ae108e89c225591752636a4a26207dae8f85b1e5 hygiene: renumber spec_id migration from 041 to 043
- 4bc425ee4f6c644089dfad9e754c181668136411 hygiene: unexport 5 dead symbols in internal/merge
- d6690dc898e3211f7bea5152f3386df49f49a0ec perf(tests): speed up cmd/bd test suite from ~158s to ~50s (bd-1rh)
- 198fcbf7fb9c23ed63bbed31b2cd1099b79217df refactor: consolidate findJSONLPath in doctor/fix to use utils.FindJSONLInDir (bd-74w1)
- 5e2c4e9de32cf84c7eafcf05866f86c68a92125c refactor: move bd validate into bd doctor --check=validate (bd-e108)
- 829ac5955b86440a82f7da63814d2ae4c5104790 refactor: replace manual save/defer globals with saveAndRestoreGlobals helper (dolt-test-0uf)
- bcf54c5cf3f53e3731d38e03c9adcf0d0ad70d0e release: v0.49.5
- 0a9bf3d9037d0b9c8ca9878da18d45f0121578a0 security: add SQL identifier validation for dynamic table and database names (dolt-test-46a)
- 2bb827facb9fc5150654610acb1a8b1ec43a1ce3 style: run gofmt across entire codebase (bd-nmk12)
- eb571f9106d41caae4af77d65a3dbcdf3c7b2eae test(beads): improve internal/beads coverage from 55.5% to 88.3%
- 9c96517d01617b636a97c76c161e00d82556ffd3 test(compact): improve internal/compact coverage from 54.9% to 87.9%
- 7033f0c184305dba21b301fd27deac1cd4421dc6 test(create): add tests for --body-file and --description-file flags (bd-hy9p)
- 3aa501f3defccd46f672b76cd642c9e4aa3fc34f test(daemon): add CLI-level integration tests for daemon mode
- 0129a4613533ad7df82263f430a29749341861a0 test(gitignore): add failing tests for .jsonl.lock in template
- 72b3f0ab72d392e8bc0e0e308e7a60bbac03649a test(syncbranch): improve test coverage from 63.5% to 78.8% (bd-io8c)
- 80e75097fab9f81aa6b8485b6f6b1fcb9c4c8846 test(utils): add multi-hyphen prefix tests for GH#405 (bd-s0qf)
- df08dd44d008eacdbc0c7a20f50ae4248cdeba02 tests: add tests for doltutil and factory packages