Beads

approvedunreviewed

by Rome Thorstenson

A live pane and editor for the Beads (bd) issue tracker — see what's ready, edit issues inline, and embed live queries in your notes. Desktop only.

★ 7 stars↓ 1,631 downloadsUpdated 1mo agoMIT

Beads for Obsidian

A desktop-only Obsidian plugin that renders a live, clickable pane for the Beads (bd) issue tracker — and does real integration: click any issue to edit it in a tab, with typed properties and markdown text fields, and save straight back to bd.

No Obsidian + Beads plugin existed before this one — it fills a genuine gap for anyone who tracks work in bd and lives in Obsidian.

Beads pane demo

Features

  • 🗂️ Ready-first, tabbed pane — a native ItemView with Ready · In progress · Blocked · Closed tabs (each with a live count), so you open straight to what you can do right now. Only the active tab hits bd, and each paginates with Load more, so the pane opens fast even with thousands of closed issues. Blocked rows show a ⛓ n hint.
  • 📝 Rendered markdown text — the description, design, notes, and acceptance criteria render as markdown (like bd show). Click one (or its pencil) to edit the raw text; Escape or click away to go back to the preview. Empty extra fields sit behind a + Notes / + Design / + Acceptance criteria button.
  • 🔎 Filter the pane — the funnel icon opens an assignee / type / labels filter bar (labels are AND: a bead must carry every chosen label). Filters apply to every tab and its count, and are remembered with the workspace. Assignee is a text box: type any name and press Enter (or pick a suggestion); the × inside the box — or Enter on an empty box ("Anyone") — clears it. An exact match is always offered first. Names you use are remembered and listed first — × removes one from your list; bd's other assignees follow (bd count --by-assignee) — × hides one. Hide many at once with Settings → Hide assignees matching (one per line, * wildcard, e.g. harness-*). Esc closes the suggestions, Esc again (or clicking away) restores the applied value. Types and labels come from bd types / bd label list-all.
  • ✏️ Edit in a tab — click a row and the bead opens like a note (not a popup): a title, a Properties panel of typed controls (status — set it to closed to close, or back to open to reopen — priority, type, assignee, labels) and markdown text fields (description, design, notes, acceptance criteria) that render as preview and open for editing on click. Save (or ⌘/Ctrl-S) writes only the changed fields via bd update. Blocked by / Blocks and the comment thread (rendered markdown) show below.
  • 🧬 Lineage graph — the git-fork button in the editor (or Beads: Show lineage of current bead) opens a navigable graph of everything the bead depends on (left) and everything that depends on it (right), transitively. Click a bead to re-centre, click the centre bead (or ⌘/Ctrl-click any) to open it, drag to pan, scroll to zoom; wide fan-outs fold into "+N more".
  • ⚡ New bead — Beads: New bead (or the + in the pane) opens the same editor, blank (bd create).
  • 📄 Live beads code blocks — embed a query in any note (Dataview-style) and get the same clickable rows inline. See Embedding queries.
  • 🔢 Status-bar count — an ambient ● N ready even when the pane is closed.
  • 🗃️ Multiple projects — keep several bd workspaces and switch between them with Beads: Switch project or the dropdown in the pane header. See Multiple projects.
  • 🟢 Live updates — with Beads 1.3's events journal on, the pane follows bd's own change feed and updates the moment a bead changes, from any terminal or agent. Without it, the pane refreshes on an interval and whenever .beads/ changes on disk. See Live updates.
  • ⚙️ Near-zero setup — if your vault folder itself contains a .beads/ and no project is set, it is added as your first project on load.

Requirements

  • Obsidian desktop — the plugin shells out to a local binary via Node's child_process, which is unavailable on mobile. isDesktopOnly is set.
  • The bd CLI — install Beads and make sure bd is on your PATH (or set an explicit path in settings).

Installation

Community plugins

Settings → Community plugins → Browse → search "Beads" → Install → Enable.

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy them into <your-vault>/.obsidian/plugins/beads-pane/.
  3. Reload Obsidian and enable Beads under Community plugins.

Usage

  1. Open Settings → Beads, click Add project, and set its path to a directory that contains a .beads/ database (added for you if your vault folder has one). Click the project's Test to confirm bd is reachable.
  2. Open the pane: click the list-checks ribbon icon, or run "Beads: Open pane" from the command palette. Switch tabs (Ready / In progress / Blocked / Closed) and use Load more to page through long lists.
  3. Click a row to open the bead in an editor tab. Edit the title, the properties (status — set it to closed to close, or back to open to reopen — priority, type, assignee, labels) and the description, then Save (or ⌘/Ctrl-S). Dependencies and the comment thread show below.
  4. Add new work anytime with "Beads: New bead" (bind it to a hotkey) or the + in the pane header.

Multiple projects

Each project is a name and a directory containing .beads/. Add, rename, and remove them under Settings → Beads → Projects; names must be unique. One project is active at a time: the pane, its filters and counts, the status bar, and live updates all follow it. Switch with Active project in settings, Beads: Switch project, or the dropdown that appears in the pane header once you have two or more projects. With more than one, the status bar names the active project.

A bead editor or lineage tab stays with the project it was opened from, so switching doesn't change what an open tab shows. Such a tab updates live only while its project is the active one.

Embedding queries in notes

Put a fenced beads code block in any note to render a live, clickable list right where you're thinking. One directive per line:

```beads
ready
```
```beads
query: status=open AND priority<=1
limit: 10
```

Accepted directives:

DirectiveMeaning
readyUnblocked, actionable issues (bd ready).
blockedIssues waiting on dependencies (bd blocked).
listAll open issues (bd list).
query: <expr>A bd query expression, e.g. status=open AND priority<=1.
limit: <n>Max rows (clamped to 50).
project: <name>Read from this project instead of the active one. An unknown name is an error.

Embeds re-run when the note renders and when beads change (coalesced to at most twice a second) — never on a timer — and share a global read cache, so many blocks won't hammer bd. Live changes come from the active project, so a block pinned to another project with project: re-runs only when the note renders.

Live updates

Beads 1.3.0 can keep an ordered events journal: every change made through bd is recorded, with the bead's full new state, in the same transaction as the change. When the journal is on, the plugin runs one bd events tail --follow and applies each record to what is on screen:

  • Edits to a bead you can see (title, priority, labels, status) are patched in place, with no bd call.
  • A bead that stops belonging to a tab (closed, claimed, newly blocked) leaves it at once.
  • Only when bd has to decide membership (is this bead now ready?) does the visible tab re-read, once per burst of changes. Tab counts re-read only when a status can have moved.
  • An open bead editor reloads when its bead changes. If you have unsaved edits it keeps them and says the bead changed; Revert loads the new version.
  • The small dot beside the pane title is filled green while live.

The journal is off by default, and turning it on is a workspace-wide choice: bd config set events-journal true writes .beads/config.yaml, so every bd command in that workspace, agents included, is journaled from then on (and every clone, if the file is committed). So the plugin never turns it on by itself. With bd 1.3.0+ and the journal off, the pane offers it once; Turn on… explains the effect and asks first. You can also turn it on in Settings → Beads → Live updates, or from a terminal. Turn it off with bd config set events-journal false; the plugin notices and goes back to polling.

Some changes never reach the journal: bd dolt pull and other syncs, bd sql, and a switch to another clone (each clone numbers its own journal). While live, the plugin checks the workspace's Dolt commit every Auto-refresh interval seconds (one cheap bd vc status); if it moved with no journal record to explain it, the pane rebuilds from current state. A sync that lands in the same interval as a local write can't be told apart this way, and a defer date passing changes Ready without any record, so the pane also re-reads every tenth check (every 5 minutes by default). If the plugin falls behind the journal's retention window (7 days or 100,000 records by default, for example after the computer sleeps for a week), bd reports the gap and the plugin rebuilds, then follows from the newest record.

The follow process is a long-lived bd: near-zero CPU, but it holds bd's working set (about 150 MB with an embedded store). With older bd, or the journal off, the plugin behaves as before: it re-reads on an interval and when .beads/ changes on disk.

The plugin does not use bd serve. It adds nothing over bd events tail for a single local reader, it is still in preview, and today it refuses the default embedded store.

Settings

SettingDefaultDescription
Active project(first project)The project the pane, status bar, and live updates follow.
Projects(empty)A name and an absolute path to the directory containing .beads/, for each bd workspace. Test runs bd --version there.
bd binary pathbdPath to the bd executable. If not found, use the full path from which bd (see Troubleshooting).
Auto-refresh interval30Seconds between refreshes (0 disables). With live updates on, how often to check for changes the journal can't see, such as a sync.
Live updates—Shows whether the pane is following the events journal, and offers to turn it on.
Hide assignees matching(empty)bd assignees the pane's assignee box won't suggest — one per line, * wildcard (e.g. harness-*). The × on a suggestion adds its name here.

Troubleshooting

  • "bd binary not found" / the pane is empty and a project's Test fails. GUI-launched apps often don't inherit your shell PATH, so the default bd can't be resolved. Run which bd in a terminal and paste the full path into Settings → Beads → bd binary path.
  • "No bd database here." A project's path must be a directory that contains a .beads/ folder. Point it at your bd project (not necessarily your vault).
  • bd won't close a blocked issue. It won't close an issue that still has open blockers; the error is shown as a notice. Close its blockers first (the editor tab lists them under Blocked by — click one to jump to it).
  • The pane didn't update after a CLI change. Without live updates it refreshes on an interval and when .beads/ changes on disk; hit the refresh icon to force it. Hover the dot beside the pane title to see which mode it is in and why. With bd 1.3.0+, turn on live updates.
  • The status bar says "● bd error". bd failed (not found, or the store is broken). Hover it for the message, and use the project's Test in settings.

Security

  • The plugin runs the bd binary you configure, in the project directories you configure — the same trust model as the Shell commands plugin. Point it only at a bd you trust.
  • Commands are invoked with execFile (or spawn, for the one long-lived bd events tail) and an argument array — never a shell string — so issue IDs and other values can't inject shell metacharacters.
  • Bead text is treated as untrusted, since it can come from anyone who writes to the workspace, including by sync. Titles render as plain text. Descriptions, other text fields and comments render as markdown with every < escaped (so no raw HTML), code-block language tags dropped (so no other plugin's code block, such as dataviewjs, runs), and links other than http(s) and mailto reduced to text. Markdown images still load, as in any note. Data-controlled values are also passed after a -- sentinel (or as --flag=value) so they can't be reparsed as bd flags.
  • The plugin runs bd against whatever .beads/ your projects point at (including an auto-detected vault-local one). It never executes anything from the dataset — but that means you trust bd's own parsing of that database, as with any bd invocation.
  • What Obsidian's plugin review flags, and why: process execution (child_process) is how the plugin talks to bd; filesystem access (fs) checks that a project folder has a .beads/ and watches it for changes; clipboard is write-only, for the editor's copy-ID button. The plugin makes no network requests.
  • Releases are built by GitHub Actions from the tagged source, with a provenance attestation for main.js and styles.css. To check a download: gh attestation verify main.js --repo Rome-1/obsidian-beads.

Development

npm install
npm run dev     # esbuild watch → main.js
npm run build   # typecheck + production bundle
npm test        # unit tests, plus integration tests when bd is on PATH (or BD_BIN)

npm test needs Node 22.6 or later, which runs the TypeScript tests directly.

To test against a real vault, symlink or copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/beads-pane/.

Prior art (inspiration)

  • Taitava/obsidian-shellcommands — the canonical desktop-only child_process pattern.
  • Beads — bd --help, bd list --json, bd show --json, bd close.
  • High-star pane/view plugins (Kanban, Tasks, Dataview) for ItemView and workspace-leaf conventions.

License

MIT © Rome-1

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.