@nowcrew/daemon 0.6.21 → 0.6.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -220,7 +220,10 @@ export async function materializeDefaultCodexHome(agentHome, sourceHome, resumeS
|
|
|
220
220
|
await chmod(codexHome, 0o700);
|
|
221
221
|
const source = sourceHome === undefined ? null : resolve(sourceHome);
|
|
222
222
|
if (source !== null && source !== codexHome) {
|
|
223
|
-
await
|
|
223
|
+
await Promise.all([
|
|
224
|
+
linkIfMissing(join(source, "auth.json"), join(codexHome, "auth.json")),
|
|
225
|
+
linkIfMissing(join(source, "config.toml"), join(codexHome, "config.toml")),
|
|
226
|
+
]);
|
|
224
227
|
}
|
|
225
228
|
const sourceSessions = source === null || source === codexHome ? undefined : join(source, "sessions");
|
|
226
229
|
await ensurePrivateSessions(join(codexHome, "sessions"), sourceSessions);
|