Skip to content

fix: pass --continue through the prime-agent ACP shim so bb thread restarts resume the session - #4

Open
masked8knights wants to merge 5 commits into
patleeman:mainfrom
masked8knights:fix/prime-agent-session-continue
Open

fix: pass --continue through the prime-agent ACP shim so bb thread restarts resume the session#4
masked8knights wants to merge 5 commits into
patleeman:mainfrom
masked8knights:fix/prime-agent-session-continue

Conversation

@masked8knights

Copy link
Copy Markdown

Problem

The prime-agent ACP shim's final exec is prime-agent $out. On a bb thread restart, prime-agent starts a fresh session and surfaces "could not restore the previous session; continuing in a fresh session" — losing thread context.

Change

One line: the shim's final exec now passes --continue so prime-agent resumes the prior conversation on bb thread restarts.

Verified against bb 0.39.0: after bb prime-agent setup, the installed pa-acp.sh ends with exec prime-agent --continue $out.

…e the prime-agent session

Without --continue, prime-agent starts a fresh session on every bb thread
restart and shows "could not restore the previous session; continuing in a
fresh session". The final shim exec now resumes the prior conversation.
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