Platform release assets
Myco releases ship as six native GitHub release assets plus SHA256SUMS. Install with install.sh or install.ps1; neither Node nor a package manager is required on the destination machine.
| Target | Asset | Hosts a Deployment on the machine |
|---|---|---|
| macOS arm64 | myco-darwin-arm64 | yes |
| macOS x64 | myco-darwin-x64 | yes |
| Linux x64 | myco-linux-x64 | yes |
| Linux arm64 | myco-linux-arm64 | yes |
| Windows x64 | myco-windows-x64.exe | yes |
| Windows arm64 | myco-windows-arm64.exe | no: member and runner only |
macOS is the primary supported platform. Linux and Windows are in beta.
The targets and what each binary carries are declared once, in packages/myco/scripts/release-targets.mjs. A binary that hosts a Deployment embeds an extension-enabled SQLite library and sqlite-vec. Neither has a Windows ARM64 build, so that binary embeds none: login, capture, the worker, the runner and updates run on it, while hosting a Deployment natively or opening a Deployment’s data files (local create, run, install, update, backup and restore) refuse before changing anything and point to a Cloudflare Deployment or a server on another machine. Every Cloudflare verb runs, restore included: preparing a recovery copy only migrates its database, which needs no sqlite-vec, so it runs on the runtime’s own SQLite.
Release flow
A myco/vX.Y.Z tag runs .github/workflows/publish.yml. PRs and manual dispatches run its build, signing and verification recipe without publication.
- Compile native SQLite for each target that carries it, and cross-compile each
binary into its packages/myco-
/bin directory. - Sign both macOS artifacts before staging the final release assets.
- Verify compiled versions and smoke the Linux database and HTTP server.
- Stage all six canonical asset names and compute SHA256SUMS from those bytes. Verify exactly those six entries and their bytes before uploading the artifact; PR and manual dry runs execute this check, as does release creation.
- Verify the transported macOS assets against the manifest and strict signatures. Execute arm64 with --version; x64 signature verification remains mandatory, while execution is skipped on the macOS runner’s incompatible Rosetta runtime. Run the Windows arm64 asset on a Windows ARM64 runner: its checksum, --version, a member verb, and the refusal to host a Deployment.
- Require successful exact-commit main CI, collect every required asset, attach them to a draft GitHub release, then publish it.
Only myco/v* release tags and the manual version input are admitted. The internal myco-shared workspace is built by normal repository builds and has no release tag trigger or dispatch choice. Git plugin versions use plugin-version.json and scripts/prepare-plugin-release.mjs independently of binary version stamping.
Installation and updates
POSIX installs use <MYCO_HOME>/bin/myco; Windows uses
Member updates use verified GitHub release assets through the guarded updater. This also applies to existing 2.x installations originally installed through npm. Legacy origin metadata remains readable; no new package bootstrap is required.
Source workspaces
The platform workspace directories remain build-output locations; a target
without one (windows-arm64) gets its packages/myco-
- make source-build prepares native SQLite, the dashboard and generated carriers,
then builds and verifies packages/myco-
/bin/myco without installing. - make source-install uses the candidate’s guarded updater to install into the selected home. Worktree installs require ALLOW_WORKTREE_INSTALL=1.
- Plain myco update returns a source install to its selected channel release. Automatic updates skip source builds.
- Worktree smokes use absolute artifacts, scratch homes including LOCALAPPDATA, and a scratch cwd. See the dogfood-worktree skill.
- Windows uses artifacts cross-built on macOS/Linux (make source-build-windows or make source-build-windows-arm64); see Contributing.
Adding a target requires an entry in release-targets.mjs, a per-target entry
(packages/myco/src/entries/cli.