refactor: kilo compat for v1.4.7

This commit is contained in:
Imanol Maiztegui
2026-04-20 13:49:07 +02:00
parent 9f201d6370
commit bf6f499b24
369 changed files with 1444 additions and 1381 deletions
+3 -3
View File
@@ -31,14 +31,14 @@ This skill is loaded from the global home directory.
const withHome = <A, E, R>(home: string, self: Effect.Effect<A, E, R>) =>
Effect.acquireUseRelease(
Effect.sync(() => {
const prev = process.env.OPENCODE_TEST_HOME
process.env.OPENCODE_TEST_HOME = home
const prev = process.env.KILO_TEST_HOME
process.env.KILO_TEST_HOME = home
return prev
}),
() => self,
(prev) =>
Effect.sync(() => {
process.env.OPENCODE_TEST_HOME = prev
process.env.KILO_TEST_HOME = prev
}),
)