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.
@@ -8,7 +8,7 @@ import {
8
8
  listRunningCodexModels,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-PMT7GU6F.js";
11
+ } from "./chunk-4QZ7XHR7.js";
12
12
  import "./chunk-U7VLLW2G.js";
13
13
  import "./chunk-PAOPBQ5K.js";
14
14
  import "./chunk-KKGZ52QD.js";
@@ -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-SD6HSQCG.js");
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-SD6HSQCG.js");
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
@@ -143,7 +143,7 @@ import {
143
143
  timestampFromSeconds,
144
144
  upsertCredentialFileLines,
145
145
  writeSecureCredentialFile
146
- } from "./chunk-PMT7GU6F.js";
146
+ } from "./chunk-4QZ7XHR7.js";
147
147
  import {
148
148
  ENGINE_ENV,
149
149
  monolithRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1313",
3
+ "version": "0.1.1314",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",