Files
Kilo-Org_kilocode/packages/opencode/script
Alex Alecu e04dd779e6 fix(cli): make dev-setup work from local builds and hide it in releases
The `Installation.isLocal()` gate in dev-setup rejected locally-built
binaries because KILO_CHANNEL bakes the git branch name, not "local".
`detectRepo()` also failed inside a Bun single-file executable where
`import.meta.url` resolves to a `/$bunfs/` virtual path.

Introduce a build-time `KILO_BUILD_KIND` flag (source/release) derived
from `Script.release`, guard dev-setup/dev-alias registration on it,
and rewrite `detectRepo()` to try KILO_DEV_REPO, `import.meta.url`
(skipping bunfs), `process.execPath`, then `process.cwd()`.
2026-04-24 19:02:05 +03:00
..
2026-02-14 04:19:02 +00:00
2026-04-23 15:22:41 +02:00
2026-04-21 18:03:34 +02:00
2026-04-24 10:06:31 +02:00
2026-04-16 02:03:03 -04:00
2026-04-15 15:11:33 -03:00
2026-04-16 10:09:14 -04:00
2026-04-12 13:36:08 +02:00