replicas-engine 0.1.1313 → 0.1.1314
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.
|
@@ -306,7 +306,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
306
306
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
307
307
|
await this.applyCredentialsResponse(data);
|
|
308
308
|
setAgentCredentialSnapshot("codex", data);
|
|
309
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
309
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-EL42KXDC.js");
|
|
310
310
|
await restartCodexAspHostIfRunning2();
|
|
311
311
|
});
|
|
312
312
|
await this.start(true);
|
|
@@ -328,7 +328,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
328
328
|
const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
|
|
329
329
|
await this.applyCredentialsResponse(data);
|
|
330
330
|
if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
|
|
331
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
331
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-EL42KXDC.js");
|
|
332
332
|
await restartCodexAspHostIfRunning2();
|
|
333
333
|
}
|
|
334
334
|
setAgentCredentialSnapshot("codex", data);
|
|
@@ -511,7 +511,7 @@ async function configureManagedGitCredentialHelper(homeDir) {
|
|
|
511
511
|
const credentialsPath = join2(homeDir, ".git-credentials");
|
|
512
512
|
const helperPath = join2(homeDir, GIT_CREDENTIAL_HELPER_FILENAME);
|
|
513
513
|
await atomicWriteFile(helperPath, buildGitCredentialHelperScript(credentialsPath), { mode: 448 });
|
|
514
|
-
await execFileAsync("git", ["config", "--global", "credential.helper", helperPath], {
|
|
514
|
+
await execFileAsync("git", ["config", "--global", "--replace-all", "credential.helper", helperPath], {
|
|
515
515
|
env: { ...process.env, HOME: homeDir }
|
|
516
516
|
});
|
|
517
517
|
await execFileAsync("git", ["config", "--global", "credential.https://github.com.useHttpPath", "true"], {
|
package/dist/src/index.js
CHANGED