10 Commits
Author SHA1 Message Date
okxlin 7e98a329f8 fix(opencode-workstation): retire stale GPT Unlocked plugin 2026-08-27 20:02:17 +08:00
okxlin db293e4585 chore: refresh workstation toolchain versions 2026-08-27 18:41:44 +08:00
okxlinandWorkstation Dev 7d0161bbcb fix: opencode workstation runtime sync improvements (#22)
* fix: update opencode workstation runtime

* fix: harden opencode multi-arch workflow

---------

Co-authored-by: Workstation Dev <dev@workstation>
2026-06-19 00:27:55 +08:00
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 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 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