Skip to content

feat(labs): opencode as embedded not cli owned#1304

Draft
benjaminshafii wants to merge 2 commits intotask/openwork-labs-prdfrom
task/labs-embedded-server
Draft

feat(labs): opencode as embedded not cli owned#1304
benjaminshafii wants to merge 2 commits intotask/openwork-labs-prdfrom
task/labs-embedded-server

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • move Labs runtime ownership into Electron main and boot local workspaces inside microsandbox
  • run a single custom Labs server in the guest that owns OpenCode and exposes /health, /workspaces, /w/default/opencode/*, and /opencode/*
  • add local repo selection, guest runtime scaffolding, and host auth/config carryover so local chat works through the sandboxed OpenWork proxy

Testing

  • npm run typecheck
  • npm run build
  • direct microsandbox kernel smoke test:
    • local workspace booted in microsandbox from a repo path
    • session creation succeeded
    • prompt send succeeded
    • message fetch returned assistant output (Hello!)

Notes

  • I did not run the full Docker dev stack + Chrome MCP flow for this branch.
  • I verified the runtime path through direct microsandbox/kernel smoke tests instead.
  • The branch targets task/openwork-labs-prd, which is the existing Labs branch line in this repo.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

The following comment was made by an LLM, it may be inaccurate:

@benjaminshafii benjaminshafii changed the title feat(labs): run local workspaces in microsandbox feat(labs): opencode as embedded not cli owned Apr 3, 2026
@benjaminshafii benjaminshafii marked this pull request as draft April 3, 2026 15:22
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