Skip to content

Implement OpenCode turn completion control plane#328

Merged
danshapiro merged 4 commits into
devfrom
feature/opencode-turn-complete-control-plane-dev
May 7, 2026
Merged

Implement OpenCode turn completion control plane#328
danshapiro merged 4 commits into
devfrom
feature/opencode-turn-complete-control-plane-dev

Conversation

@danshapiro
Copy link
Copy Markdown
Owner

Summary

  • implement OpenCode turn-complete using the OpenCode control plane instead of terminal BEL or CLI flags
  • require confirmed session ownership before emitting terminal.turn.complete
  • fix adversarial-review edge cases for ambiguous ownership, snapshot-seeded busy turns, and duplicated terminal panes

Tests

  • npm run test:vitest -- --config vitest.server.config.ts test/unit/server/coding-cli/opencode-ownership-reducer.test.ts test/unit/server/coding-cli/opencode-activity-tracker.test.ts --run
  • npm run test:vitest -- test/unit/client/store/selectors/paneTerminalSelectors.test.ts test/unit/client/components/App.ws-bootstrap.test.tsx --run
  • FRESHELL_TEST_SUMMARY="OpenCode turn completion edge-case fixes before PR" npm run check

Notes

  • origin did not have a dev branch, so I published the local dev branch as the PR base before creating this PR.

@danshapiro danshapiro merged commit c1f76b1 into dev May 7, 2026
1 check passed
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