replicas-engine 0.1.943 → 0.1.945

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.
@@ -5,12 +5,12 @@ import {
5
5
  getCodexAspHost,
6
6
  restartCodexAspHost,
7
7
  restartCodexAspHostIfRunning
8
- } from "./chunk-KB2IJ7Q3.js";
9
- import "./chunk-2GKG7HNY.js";
10
- import "./chunk-NUHC2G2R.js";
11
- import "./chunk-CBG53K5N.js";
8
+ } from "./chunk-HXC4DUT6.js";
9
+ import "./chunk-ZZBMM76F.js";
10
+ import "./chunk-J7FA7CCB.js";
11
+ import "./chunk-2QXVRD52.js";
12
12
  import "./chunk-UZSNFLDQ.js";
13
- import "./chunk-KZVXTHPA.js";
13
+ import "./chunk-XCPVKR4M.js";
14
14
  import "./chunk-VEQXQN22.js";
15
15
  export {
16
16
  getCodexAspHost,
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-KZVXTHPA.js";
6
+ } from "./chunk-XCPVKR4M.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-KZVXTHPA.js";
8
+ } from "./chunk-XCPVKR4M.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -5,15 +5,15 @@ import {
5
5
  ENGINE_ENV,
6
6
  monolithRequest,
7
7
  setAgentCredentialSnapshot
8
- } from "./chunk-2GKG7HNY.js";
8
+ } from "./chunk-ZZBMM76F.js";
9
9
  import {
10
10
  AppServerProcess,
11
11
  buildCodexAgentEnv
12
- } from "./chunk-NUHC2G2R.js";
12
+ } from "./chunk-J7FA7CCB.js";
13
13
  import {
14
14
  SUBPROCESS_MAX_BUFFER,
15
15
  execFileAsync
16
- } from "./chunk-CBG53K5N.js";
16
+ } from "./chunk-2QXVRD52.js";
17
17
  import {
18
18
  isRecord
19
19
  } from "./chunk-UZSNFLDQ.js";
@@ -27,7 +27,7 @@ import {
27
27
  listOpenAICompatibleModels,
28
28
  readOllamaAuthEnv,
29
29
  resolveOpenAICompatibleModelsUrl
30
- } from "./chunk-KZVXTHPA.js";
30
+ } from "./chunk-XCPVKR4M.js";
31
31
 
32
32
  // src/managers/codex-token-manager.ts
33
33
  import { promises as fs } from "fs";
@@ -260,7 +260,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
260
260
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
261
261
  await this.applyCredentialsResponse(data);
262
262
  setAgentCredentialSnapshot("codex", data);
263
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-4HL3QSHC.js");
263
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-ZERGKNJR.js");
264
264
  await restartCodexAspHostIfRunning2();
265
265
  });
266
266
  await this.start(true);
@@ -280,7 +280,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
280
280
  await this.applyCredentialUpdate(generation, async () => {
281
281
  await this.applyCredentialsResponse(data);
282
282
  if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
283
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-4HL3QSHC.js");
283
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-ZERGKNJR.js");
284
284
  await restartCodexAspHostIfRunning2();
285
285
  }
286
286
  setAgentCredentialSnapshot("codex", data);
@@ -3,10 +3,10 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  execFileAsync
6
- } from "./chunk-CBG53K5N.js";
6
+ } from "./chunk-2QXVRD52.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-KZVXTHPA.js";
9
+ } from "./chunk-XCPVKR4M.js";
10
10
 
11
11
  // src/utils/codex-agent-env.ts
12
12
  function buildCodexAgentEnv(source = process.env) {
@@ -233,14 +233,14 @@ var DEFAULT_CODEX_ARGS = [
233
233
  "-c",
234
234
  "memories.generate_memories=false"
235
235
  ];
236
- var MIN_CODEX_CLI_VERSION = "0.156.0";
236
+ var MIN_CODEX_CLI_VERSION = "0.159.2";
237
237
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
238
238
  var codexCliVersionEnsured = null;
239
239
  function getCodexModelProvider(method) {
240
240
  if (method === "foundry") return "azure";
241
241
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
242
242
  }
243
- var ENGINE_PACKAGE_VERSION = "0.1.943";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.945";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  RELAY_MCP_TOOL_NAMES
6
- } from "./chunk-KZVXTHPA.js";
6
+ } from "./chunk-XCPVKR4M.js";
7
7
 
8
8
  // src/managers/relay-mcp-config.ts
9
9
  import { existsSync } from "fs";
@@ -3,18 +3,18 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  monolithRequest
6
- } from "./chunk-2GKG7HNY.js";
6
+ } from "./chunk-ZZBMM76F.js";
7
7
  import {
8
8
  SUBPROCESS_MAX_BUFFER,
9
9
  execFileAsync
10
- } from "./chunk-CBG53K5N.js";
10
+ } from "./chunk-2QXVRD52.js";
11
11
  import {
12
12
  extractCommandProtectionCommandText,
13
13
  findCommandProtectionGitLookups,
14
14
  findGitCommitSignals,
15
15
  findPrMergeSignals,
16
16
  parseCommandProtectionRequest
17
- } from "./chunk-KZVXTHPA.js";
17
+ } from "./chunk-XCPVKR4M.js";
18
18
 
19
19
  // src/services/command-protection-service.ts
20
20
  import { readFile, stat } from "fs/promises";