Compare commits

...
Author SHA1 Message Date
James Long 6f3d613af3 fix(cli): avoid duplicate managed update checks 2026-08-31 21:45:31 +00:00
@@ -46,8 +46,10 @@ export default Runtime.handler(Commands, (input) =>
Effect.promise(() => preflight.fail("OpenCode update could not start the new background service")),
),
)
const updater = yield* Updater.Service
yield* updater.check().pipe(Effect.forkScoped)
if (!server.service) {
const updater = yield* Updater.Service
yield* updater.check().pipe(Effect.forkScoped)
}
preflight.loading()
const config = yield* Config.Service
const npm = yield* Npm.Service