Skip to content

Add OpenCode terminal launch support - #62

Merged
calvintvu merged 1 commit into
cvu/opencode-subagentsfrom
cvu/opencode-terminal
Aug 13, 2026
Merged

Add OpenCode terminal launch support#62
calvintvu merged 1 commit into
cvu/opencode-subagentsfrom
cvu/opencode-terminal

Conversation

@calvintvu

Copy link
Copy Markdown
Contributor

Context

OpenCode sessions appeared in coSlash but could not use the existing terminal resume and handoff actions. This adds launch parity with Claude Code and Codex while keeping handoff context invocation-scoped and opening new sessions without an automatic prompt.

Changes

  • Resume an exact OpenCode session in its recorded working directory with vendor-specific session ID validation.
  • Open blank OpenCode sessions with handoff context loaded from a secured temporary instruction file that is cleaned up after the TUI exits.

Test

  • cd collector && make test - passed
  • cd collector && make check - passed
  • cd frontend && npm test - passed
  • cd frontend && npm run lint - passed with two pre-existing warnings
  • cd frontend && npm run format:check - passed
  • Manual: Resumed an existing OpenCode 1.18.16 session and opened a fresh handoff session through the launch API; both returned HTTP 204.

@calvintvu calvintvu added the enhancement New feature or request label Aug 11, 2026
@calvintvu calvintvu mentioned this pull request Aug 11, 2026
1 task
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from 5a2ee56 to d8dc45f Compare August 11, 2026 23:45
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from d8dc45f to 87a739d Compare August 12, 2026 17:30
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from 87a739d to 2f1f9cb Compare August 12, 2026 21:06
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from 2f1f9cb to 8c74652 Compare August 12, 2026 21:57
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from 8c74652 to 4656b66 Compare August 12, 2026 22:54
@calvintvu
calvintvu force-pushed the cvu/opencode-terminal branch from 4656b66 to 797cfca Compare August 12, 2026 23:51
@calvintvu
calvintvu merged commit 5c7906b into main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants