Add plugin entry: stale-resume - #123
Conversation
Thanks for the submission — we really want to get this in. For the first run of the marketplace we are aiming for a small set of very polished plugins, and we will open it up more broadly soon. Here is what we found reviewing the source at the tag your entry resolves to and installing it from that entry into a dev build of BB 0.40: This is the strongest-written plugin of your four, and it installs and runs cleanly in a dev build of BB 0.40. Two small things and we will merge it. 1.
|
SawyerHood
left a comment
There was a problem hiding this comment.
Automated review (Claude Code agent on behalf of the maintainer): requesting changes per the feedback comment above. Ping here when a new version is published and we will re-check.
What it does
Catches the failure where a thread's Claude Code session no longer exists
after a working-directory change. On
thread.failed, it reads the thread'sevent log and, if the newest turn died on a stale-resume error, records the
incident, logs it, and notifies the thread's parent. Recovery is a manual,
explicit command (
bb stale-resume recover <thread-id>) that forks thethread onto a fresh session — never automatic, by design.
Commands:
bb stale-resume status,bb stale-resume check <thread-id>,bb stale-resume recover <thread-id>.Source release
v1.0.0(git range^1.0.0)Plugin checks that succeeded
npm install— cleannpm test(vitest) — 21/21 passingnpm run typecheck(tsc --noEmit) — cleanMarketplace checks that succeeded
npm ci --ignore-scripts— cleannpm run build— builtdist/marketplace.jsonwith 83 entriesnpm run check(liveness) — resolved the^1.0.0git range against thelive repository successfully
Permissions / external services
No external services. The plugin reads bb's own thread event log and posts
to the parent thread; recovery uses bb's existing fork primitive
(
workspace: "reuse"). No network calls outside the bb host.