feat(opencode-workspaces-plugin): add Daytona workspace adaptor plugin for OpenCode - #38
Conversation
|
All contributors have signed the CLA. ✅ Thank you! |
|
I have read the CLA Document and I hereby sign the CLA |
a256e9e to
19edfc0
Compare
There was a problem hiding this comment.
All reported issues were addressed across 13 files
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.
Re-trigger cubic
|
@jamesmurdza Reviewed the full source and live-tested everything against real Daytona sandboxes (5 A few requests before merge, all small: 1. Normalize "adaptor" → "adapter"The upstream API spells it adapter everywhere ( 2. README: "Running the e2e on any machine" sectionThe e2e drives the real TUI, so it inherits the developer's shell and global opencode Please add a short README subsection under Running Tests documenting this, with the why:
The custom-agent behavior itself looks like upstream workspace-API territory (remote can't 3. Stale comment: the TUI-render "sync gap"The e2e header (test/e2e-tui.test.ts:16–20) says OpenCode's global sync delivers state 4. Minor / documentation
On the cubic comments
|
6733206 to
34d859d
Compare
|
@mislavivanda Thank you for the feedback. I've implemented all the changes except instead of documenting the second one (e2e test inherits the developer's shell and global opencode config) I updated the test so this doesn't happen. Summary of changes:
And (of course) I've run the test suite after these changes to make sure everything works. |
…n for OpenCode Adds `apps/opencode-workspaces-plugin`: an OpenCode plugin that provisions Daytona sandboxes as remote workspaces via OpenCode's experimental workspace-adapter API. Ported from `daytonaio/daytona` `libs/opencode-plugin` @ `106ca0a3`, with the Nx build config replaced by the standalone npm layout used elsewhere in this repo. Marked private — not published. Does not change `packages/opencode-plugin`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: James Murdza <james@jamesmurdza.com>
34d859d to
b7f1a07
Compare
Description
Adds
apps/opencode-workspaces-plugin: an OpenCode plugin that provisions Daytona sandboxes as remote workspaces via OpenCode's experimental workspace-adaptor API.This PR was originally ported from daytonaio/daytona#4504, with Nx build config replaced by the standalone npm layout used elsewhere in this repo, and fixing several issues in the original plugin. It is not published and does not change
packages/opencode-plugin.This app has extensive test coverage, including end-to-end tests that run a full user flow in the actual OpenCode TUI with the plugin installed.
Upstream bugs in OpenCode
To make this PR work, two PRs were raised in OpenCode:
These PRs have both been merged and shipped.
Related issue(s)
Scope
(e.g.
feat(pi-extension): ...,fix(adk-plugin): ...) — it becomes the squash-commitmessage that release-please reads.
Checks
Legal
DCO (
git commit -s); the sign-off matches thecommit author.
1 of 15 commits signed off — needs
git rebase --signoff main.Contributor License Agreement.
On my first PR, the CLA assistant will comment and I will reply to sign (once).