From e2453f2d9c541c9a17c576ddce1fb0d197a83ec2 Mon Sep 17 00:00:00 2001 From: DevFlex-AI Date: Thu, 6 Aug 2026 04:55:18 +0000 Subject: [PATCH] fix(bolt): stop pair host server on interactive exit and note v1 limits Co-authored-by: Codesmith --- README.md | 2 +- packages/opencode/src/cli/cmd/pair.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac2dfca4a086..fc6f1f36f427 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ The roadmap is about one thing now: making the agent itself smarter, more autono ### Done -- [x] Pair programming: `bolt pair` shares one live session across two terminals, prompts and replies from either side appear in both (no shared cursor yet) +- [x] Pair programming: `bolt pair` shares one live session across two terminals, prompts and replies from either side appear in both (no shared cursor yet; direct shell input may double-render, and permission prompts can be answered by either side) - [x] `bolt refactor`: test-aware refactor loops that change, run, verify, and repeat until green - [x] Session replays: `bolt export --html` writes a self-contained HTML replay of any session, with a step-through timeline you can share - [x] Design-to-code: `bolt figma ` fetches a Figma node and has the agent generate components matching your repo's conventions diff --git a/packages/opencode/src/cli/cmd/pair.ts b/packages/opencode/src/cli/cmd/pair.ts index 9dcaa4032d92..0fe4b87824ad 100644 --- a/packages/opencode/src/cli/cmd/pair.ts +++ b/packages/opencode/src/cli/cmd/pair.ts @@ -135,7 +135,6 @@ export const PairCommand = effectCmd({ username: args.username, pair: true, }), - ) - yield* Effect.promise(() => server.stop(true)) + ).pipe(Effect.ensuring(Effect.promise(() => server.stop(true)))) }), })