Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

533 Commits

Folders and files

Repository files navigation

Work Sidebar

Work Sidebar is a BB plugin that adds an operational sidebar for threads, pull requests, tasks, work items, changes, agents, and provider health. It also adds a Work panel for the selected thread.

Install

Install directly from GitHub:

bb plugin install https://github.com/sawman/bb-plugin-work-sidebar

Then reload it after updating configuration or source:

bb plugin reload work-sidebar

The plugin requires BB >=0.47.1 with plugin SDK >=0.6.79, as declared in package.json. The exact development SDK pin is separate from these minimums. See the BB 0.47.1 SDK compatibility note.

BB integration dependencies

Work Sidebar is installed as one plugin. Its npm packages are bundled during the plugin build; users do not install those separately. Its BB integrations fall into three categories:

Integration Needed for Behavior when unavailable
BB Tasks (built in) BB task queue, Work-item goals, task ownership, durable execution bindings, and agent task tools The plugin still loads, but its task and work-item workflows are unavailable. Treat Tasks as required for the full experience.
Taskboard (taskboard, optional) Linear issue search, linking, primary Linear goals, and Linear status updates Everything else keeps working. The Work card stays BB-Tasks-only, without an install prompt or Linear controls. Existing Linear links are retained for when Taskboard returns.
Provider retry (built in, optional) Enqueues provider retries alongside ordinary queued messages The queue indicator still represents messages BB has queued; no provider-retry-specific reason appears.
Provider plugins (Codex, Claude, etc.) Starting and running threads No static dependency: Work Sidebar discovers host providers and renders whatever is available.
GitHub PR Status (bb--github-pr-status, native) Branch PR status for thread rows and Changes Thread rows show an unavailable glyph (retry via Threads refresh); Changes reports unavailable with retry. Repository, thread, Tasks and Work UI remain usable.
GitHub CLI authentication Pull-request, Stack, review, and GitHub-health enrichment Thread, Tasks, Work, and Agents surfaces continue to work; PR data reports its own unavailable/limited state.

To enable Linear, install and configure Taskboard, then select Linear for the BB project. A missing or disabled Taskboard is a supported degraded mode—not an installation failure for Work Sidebar.

The left Pull Requests pane uses the active GitHub CLI account by default. Set GitHub authored PR login in the plugin settings to show another GitHub user's open pull requests instead.

What it adds

  • Enhanced Threads, Tasks, and Pull Requests panes on the left.
  • Work, Changes, and Agents tabs for the selected thread on the right.
  • BB Tasks and Linear-backed work items, including a current Goal and a backlog of Goals.
  • Thread organization, archived-thread recovery, provider status, PR review state, and GitHub health presentation.
  • A read-only Thread storage card in Work, with bounded folder/file listings and native file opening. Reopen/manual refresh can still return host-cached listings up to 30 seconds old; it has no upload/edit/delete controls.

Architecture and contracts

Start with the current architecture, then the relevant contract for Work/Tasks/Threads, Inbox, or Changes/PR data. The PR status matrix records intended precedence alongside known unresolved audit findings. Accepted and superseded decisions remain in the ADR index.

Operational references are the built-in patch catalog and compatibility watchlist, which link versioned source, validation, deployment and rollback evidence. Current work and acceptance gaps live in BB Tasks.

Agent workflow

This repository includes .bb/AGENTS.md, which is the authoritative guidance for agents changing the plugin. The short version:

  1. Track implementation in BB Tasks, not a repository TODO list. Create one durable outcome and direct execution tasks for distinct work. Queue is Agent-owned execution, including blocked, waiting, and review-gated work; ending a turn does not transfer ownership. Needs You is Human-owned execution requiring a concrete decision or action from this user. Set Human only for explicit, real user follow-up and describe the action. Waiting for provider retries, CI, another agent, or a GitHub reviewer alone is not user follow-up. Do not work or reassign existing Human tasks without delegation. Keep statuses current, ask questions through the question tool, and use Inbox for key async communications instead of manufacturing Human tasks.
  2. Delegate coding work through BB child threads, not a provider-native subagent tool. Use bb thread spawn --parent-self --new-environment worktree for an isolated code change.
  3. For durable delegated task work, use the plugin's bind_execution_owner flow with a managed worktree. The built-in bb tasks dispatch command does not currently preserve the parent-thread relationship.
  4. Archive completed child threads once their work is integrated; retain them only when their state is intentionally needed for continuing focused work.
  5. Keep server data in TanStack Query, interaction state in Zustand, and ephemeral control state in React. Realtime events invalidate queries; they do not carry replacement domain state.

The compatibility items that depend on future BB SDK support are kept in docs/bb-compatibility-watchlist.md.

Develop

npm ci
npm test
npm run typecheck
npm run build
bb plugin types --check .

To register a local checkout while developing:

bb plugin install .
bb plugin reload work-sidebar

Before a reload, confirm the plugin points at the checkout you intend to run:

bb plugin source work-sidebar --json

For frontend changes, run the automated checks and also verify affected UI in light and dark themes, at narrow widths, with keyboard and modifier-click behavior. The repository's npm run theme-control -- matrix -- <command> utility changes the desktop theme without navigating the BB Settings UI and restores the original preference afterward.

Contributing

Read .bb/AGENTS.md, the architecture reference and its ADR links before structural changes. Keep app.tsx and server.ts as composition entry points, make changes by feature slice, and remove replaced legacy code in the same change.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages