fix(opencode): isolate explicit home contexts

This commit is contained in:
haelyra
2026-08-25 12:17:21 -04:00
parent 2331afbfd3
commit 6ceab105bc
16 changed files with 50 additions and 10 deletions
+2
View File
@@ -141,6 +141,7 @@ async function main() {
} else {
result = uninstallInstalledStates({
homeDir: process.env.HOME || os.homedir(),
env: process.env,
projectRoot: process.cwd(),
targets: options.targets,
dryRun: options.dryRun,
@@ -162,6 +163,7 @@ async function main() {
const { reconcileCanonicalInstallStates } = require('./lib/install-state-store-sync');
result.installStateProjection = await reconcileCanonicalInstallStates({
homeDir: process.env.HOME || os.homedir(),
env: process.env,
projectRoot: process.cwd(),
targets: options.targets,
});