mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 09:35:17 +02:00
Keep OpenCode version selection predictable by reading a single repo-wide constant and packaging that pin into orchestrator builds. Remove env and latest-release fallbacks so desktop, workers, snapshots, and CI stay aligned. Co-authored-by: Omar McAdam <omar@OpenWork-Studio.localdomain>
8 lines
481 B
Markdown
8 lines
481 B
Markdown
# Den Worker Runtime Root
|
|
|
|
Render worker services use this directory as `rootDir`.
|
|
|
|
The control plane installs `openwork-orchestrator`, reads the pinned OpenCode version from `constants.json` packaged with it, runs `scripts/install-opencode.mjs` during the Render build, and then launches workers with the `openwork` command.
|
|
|
|
That extra build step vendors the matching `opencode` release asset into `./bin/opencode` so the runtime does not depend on a first-boot GitHub download.
|