Skip to content

Add plugin entry: linear - #100

Open
vburojevic wants to merge 1 commit into
get-bb:mainfrom
vburojevic:submit-linear
Open

Add plugin entry: linear#100
vburojevic wants to merge 1 commit into
get-bb:mainfrom
vburojevic:submit-linear

Conversation

@vburojevic

Copy link
Copy Markdown
Contributor

What the plugin does

Linear inside bb: a list-first issue browser in the nav panel (state groups, filters, full-text search, keyboard navigation, inbox with badge, two-field create dialog) served from a local SQLite mirror; a deterministic ladder that resolves which Linear issue each bb thread is working on (explicit link > Linear branch name > issue key in conversation > fuzzy suggestion that asks, never binds), shown live in the thread header and side panel and injected into agent instructions; thirteen linear_* agent tools plus a bb linear CLI, identical across providers.

Source release

  • https://github.com/vburojevic/bb-plugin-linear.git, range ^0.1.2 (annotated tag v0.1.2, public)
  • Installs from source: bb clones, installs dependencies, builds on the user's machine — nothing pre-built ships in the repo

Plugin checks

  • tsc --noEmit clean, 742 tests passing (vitest), bb plugin build succeeds
  • A machine-local pre-push hook runs the same gate on every push

Marketplace checks

  • npm run build and npm run check both pass (64 entries)
  • Icon vendored as icons/linear-6ff21144.svg (sha256-prefixed, shape-only SVG, no scripts or remote resources)

Security facts for reviewers

  • Credential: a personal Linear API key per workspace, stored in bb's secret store, redacted from every error, log line, tool result and rpc payload at construction
  • One consent switch ("Allow changes to Linear") gates every mutation at the single transport door; refusals name the switch
  • Every GraphQL document is validated offline against a vendored SDL by the test suite; rate-limit headers are honored with a budget
  • Webhooks are optional: registered only after a signed self-test, demoted back to polling on delivery failure

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant