Dashboard › cli › Distillation
95508520-a4f5-4d8b-9b90-ae948089aaf7["lore_tm_v1_dzpXaGkG70zjqffy5u1ivJDXZIZdcb0PgT-jvI_QHsE","lore_tm_v1_93BVTNrgs9GQSSYFfy32OWCo4GL_4m6r8__bJ80Jd9g","lore_tm_v1_oQJG0kLhbF7lPI4KFs98owneM5RW-Mp1PtaIVFN6uTA"]
Date: Sep 10, 2026
/; samePath(a: string, b: string) compares filesystem paths while tolerating a trailing separator.resolveUpgradeSource(...).getLegacyInstallDirs(homeDir: string): string[], parseInstallationMethod(value: string): InstallationMethod, isNightlyVersion(version: string): boolean, getBinaryDownloadUrl(...), PRIMARY_UPGRADE_SOURCE = UPGRADE_SOURCES[0], and installation methods including "yarn".UpgradeError("No CLI upgrade source was found: every source returned HTTP 404") when all configured CLI upgrade sources return HTTP 404; probe cancellation recognizes errors whose name === "AbortError"./home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/toolkit-bridge-upgrade/packages/cli/test/commands/cli/upgrade.test.ts; GHCR nightly checks use the /manifests/nightly endpoint and test version 0.0.0-dev.1740000000."nightly" switches the release channel to nightly, while positional "stable" resets a previously persisted nightly channel to stable; omitting a positional channel uses the persisted channel.--check tests invoke ["cli", "upgrade", "--check", "--method", "curl", "nightly"], require output containing "Channel: nightly" and the valid nightly target, and require an upgrade hint when a newer nightly is available."downloads nightly binary from GHCR for nightly channel" invokes ["cli", "upgrade", "--method", "curl", "nightly"] and verifies that at least one captured URL includes /manifests/nightly."migrates npm install to standalone binary for nightly channel" calls setReleaseChannel("nightly"), invokes ["cli", "upgrade", "--method", "npm", "nightly"], and mocks a 307 redirect to https://blob.example.com/nightly.gz.EBUSY: resource busy or locked, uv_spawn.