Commit Graph
10 Commits
Author SHA1 Message Date
okxlinandSisyphus cf41c01051 fix(opencode-workstation): remove stale oh-my-opencode MCP entry after install
oh-my-opencode >= v4.7 removed the 'mcp start' subcommand but the installer still writes a local MCP config entry pointing to it. Built-in MCP servers (websearch, context7, grep_app, lsp) are remote HTTP and registered by the plugin itself. After running the installer, clean up the MCP section so OpenCode doesn't try to start the nonexistent command.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-07 05:33:32 +08:00
okxlinandSisyphus 820f3abda1 chore(opencode-workstation): remove stale .env.example entries
Remove leftover OMO_PACKAGE_AMD64 etc entries that survived earlier cleanup.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-06 23:49:23 +08:00
okxlinandSisyphus 387d93d4d1 fix(opencode-workstation): don't skip avx2 detection when OMO_PACKAGE is set
When OMO_PACKAGE is explicitly set (e.g. via compose .env), the resolver was short-circuiting and outputting baseline=0, bypassing AVX2 detection. This meant Bun was never reinstalled as baseline and kept SIGILLing. Now the resolver always computes the baseline flag and only uses OMO_PACKAGE as the package name override.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-06 23:47:59 +08:00
okxlinandSisyphus a354912d23 fix(opencode-workstation): reinstall baseline bun on non-avx2 hosts
When the resolver detects a non-AVX2 CPU, reinstall Bun via its own install script before running oh-my-opencode. Bun's installer reads /proc/cpuinfo and auto-selects the baseline variant, which runs on older x64 CPUs. Export BUN_VERSION as an ENV in the Dockerfile so the install script can target the same version at runtime.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-06 22:14:40 +08:00
okxlinandSisyphus cd62e4fab9 fix(opencode-workstation): use meta-package with baseline env flag
Replace platform-specific npm package resolution with the meta-package oh-my-opencode and OH_MY_OPENCODE_FORCE_BASELINE=1 env export. The meta-package's JS wrapper handles baseline binary selection, avoiding npm exec binary-not-found errors with platform-specific packages while still supporting non-AVX2 hosts. Also works around the OMO_PACKAGE env var leakage issue by making resolver always output the meta-package name.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-06-06 19:15:12 +08:00
okxlin 9453bc08c1 fix(opencode-workstation): avoid bun sigill during omo install
Run oh-my-opencode through npm exec instead of bunx so non-AVX2 hosts can install the baseline package without Bun crashing before the package entrypoint runs. Keep the existing package resolver in place so doctor, smoke, and auto-install all follow the same compatibility path.
2026-05-21 02:02:46 +08:00
okxlin 64a149c13b fix(opencode-workstation): harden runtime compatibility
Make the workstation image select architecture-appropriate oh-my-opencode packages and stop assuming AVX2-capable amd64 hosts. Also upgrade Bun and make the bundled Go download respect the target container architecture so the image builds and installs more reliably across supported platforms.
2026-05-21 00:52:05 +08:00
okxlin 6e66c3892d refactor(opencode-workstation): align runtime persistence with official home paths 2026-05-09 11:06:00 +08:00
okxlin b0d0301792 feat: auto-enable hashline_edit when installing oh-my-openagent
- add ensure_hashline_default() to set hashline_edit: true in oh-my-openagent.json
- called before user override merge so users can opt out via .user.json
2026-05-08 09:06:10 +08:00
okxlin 0e089d3cc6 refactor: rename image from oh-my-opencode-runtime to opencode-workstation
- Rename directory: oh-my-opencode-builder/ → opencode-workstation-builder/
- Rename workflow: build-oh-my-opencode-runtime.yml → build-opencode-workstation.yml
- Update IMAGE_REPO default to opencode-workstation
- Update all path references in workflow and scripts
- Update OCI image title and description
- Preserve upstream npm package oh-my-opencode references
2026-05-08 00:21:22 +08:00