replicas-engine 0.1.919 → 0.1.920

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,11 +5,11 @@ import {
5
5
  getCodexAspHost,
6
6
  restartCodexAspHost,
7
7
  restartCodexAspHostIfRunning
8
- } from "./chunk-BFOYZECI.js";
9
- import "./chunk-O2JQ23MU.js";
10
- import "./chunk-AAHH3WWI.js";
8
+ } from "./chunk-FJV46MRD.js";
9
+ import "./chunk-UMXQF6DT.js";
10
+ import "./chunk-6GY7ZCSO.js";
11
11
  import "./chunk-UZSNFLDQ.js";
12
- import "./chunk-LITJGHSD.js";
12
+ import "./chunk-MLSB5HUT.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
  export {
15
15
  getCodexAspHost,
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES,
6
6
  isVersionBelow
7
- } from "./chunk-LITJGHSD.js";
7
+ } from "./chunk-MLSB5HUT.js";
8
8
 
9
9
  // src/utils/codex-agent-env.ts
10
10
  function buildCodexAgentEnv(source = process.env) {
@@ -245,7 +245,7 @@ function getCodexModelProvider(method) {
245
245
  if (method === "foundry") return "azure";
246
246
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
247
247
  }
248
- var ENGINE_PACKAGE_VERSION = "0.1.919";
248
+ var ENGINE_PACKAGE_VERSION = "0.1.920";
249
249
  var INITIALIZE_METHOD = "initialize";
250
250
  var INITIALIZED_NOTIFICATION = "initialized";
251
251
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  monolithRequest
6
- } from "./chunk-O2JQ23MU.js";
6
+ } from "./chunk-UMXQF6DT.js";
7
7
  import {
8
8
  extractCommandProtectionCommandText,
9
9
  findGitCommitSignals,
10
10
  findPrMergeSignals
11
- } from "./chunk-LITJGHSD.js";
11
+ } from "./chunk-MLSB5HUT.js";
12
12
 
13
13
  // src/services/command-protection-service.ts
14
14
  var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-LITJGHSD.js";
8
+ } from "./chunk-MLSB5HUT.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -5,13 +5,13 @@ import {
5
5
  ENGINE_ENV,
6
6
  monolithRequest,
7
7
  setAgentCredentialSnapshot
8
- } from "./chunk-O2JQ23MU.js";
8
+ } from "./chunk-UMXQF6DT.js";
9
9
  import {
10
10
  AppServerProcess,
11
11
  SUBPROCESS_MAX_BUFFER,
12
12
  buildCodexAgentEnv,
13
13
  execFileAsync
14
- } from "./chunk-AAHH3WWI.js";
14
+ } from "./chunk-6GY7ZCSO.js";
15
15
  import {
16
16
  isRecord
17
17
  } from "./chunk-UZSNFLDQ.js";
@@ -25,7 +25,7 @@ import {
25
25
  listOpenAICompatibleModels,
26
26
  readOllamaAuthEnv,
27
27
  resolveOpenAICompatibleModelsUrl
28
- } from "./chunk-LITJGHSD.js";
28
+ } from "./chunk-MLSB5HUT.js";
29
29
 
30
30
  // src/managers/codex-token-manager.ts
31
31
  import { promises as fs } from "fs";
@@ -255,7 +255,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
255
255
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
256
256
  await this.applyCredentialsResponse(data);
257
257
  setAgentCredentialSnapshot("codex", data);
258
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-S2Q2PVZG.js");
258
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-7ZSVWHTS.js");
259
259
  await restartCodexAspHostIfRunning2();
260
260
  });
261
261
  await this.start(true);
@@ -275,7 +275,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
275
275
  await this.applyCredentialUpdate(generation, async () => {
276
276
  await this.applyCredentialsResponse(data);
277
277
  if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
278
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-S2Q2PVZG.js");
278
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-7ZSVWHTS.js");
279
279
  await restartCodexAspHostIfRunning2();
280
280
  }
281
281
  setAgentCredentialSnapshot("codex", data);
@@ -15,7 +15,7 @@ import {
15
15
  isValidRelayBaseProvider,
16
16
  parsePosixEnvFile,
17
17
  readReplicasRuntimeEnv
18
- } from "./chunk-LITJGHSD.js";
18
+ } from "./chunk-MLSB5HUT.js";
19
19
 
20
20
  // src/engine-env.ts
21
21
  import { readFileSync as readFileSync2 } from "fs";
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  evaluateCommandProtection
6
- } from "./chunk-IPYUK24D.js";
7
- import "./chunk-O2JQ23MU.js";
6
+ } from "./chunk-AOBS7XEL.js";
7
+ import "./chunk-UMXQF6DT.js";
8
8
  import {
9
9
  isRecord
10
10
  } from "./chunk-UZSNFLDQ.js";
11
- import "./chunk-LITJGHSD.js";
11
+ import "./chunk-MLSB5HUT.js";
12
12
  import "./chunk-VEQXQN22.js";
13
13
 
14
14
  // src/command-protection-hook.ts
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  AppServerProcess,
10
10
  buildCodexAgentEnv
11
- } from "./chunk-AAHH3WWI.js";
11
+ } from "./chunk-6GY7ZCSO.js";
12
12
  import {
13
13
  AGENT,
14
14
  getMemoryOutputSafetyViolation,
15
15
  headlessAgentRequestSchema
16
- } from "./chunk-LITJGHSD.js";
16
+ } from "./chunk-MLSB5HUT.js";
17
17
  import "./chunk-VEQXQN22.js";
18
18
 
19
19
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  evaluateCommandProtection,
28
28
  extractToolCommand,
29
29
  reportCommandProtectionBlock
30
- } from "./chunk-IPYUK24D.js";
30
+ } from "./chunk-AOBS7XEL.js";
31
31
  import {
32
32
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
33
33
  AGENT_MESSAGE_DELTA_METHOD,
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-FLDA7BX3.js";
53
53
  import {
54
54
  publishedPullRequestUrls
55
- } from "./chunk-UJJOLFGD.js";
55
+ } from "./chunk-CO3743XW.js";
56
56
  import {
57
57
  RELAY_MCP_TOOLS,
58
58
  RELAY_MCP_TOOL_NAMES,
@@ -73,21 +73,21 @@ import {
73
73
  refreshDelayMs,
74
74
  restartCodexAspHost,
75
75
  routineRefreshExclusions
76
- } from "./chunk-BFOYZECI.js";
76
+ } from "./chunk-FJV46MRD.js";
77
77
  import {
78
78
  ENGINE_ENV,
79
79
  IS_WARMING_MODE,
80
80
  monolithRequest,
81
81
  monolithService,
82
82
  setAgentCredentialSnapshot
83
- } from "./chunk-O2JQ23MU.js";
83
+ } from "./chunk-UMXQF6DT.js";
84
84
  import {
85
85
  AspClient,
86
86
  SUBPROCESS_MAX_BUFFER,
87
87
  execAsync,
88
88
  execFileAsync,
89
89
  getCodexModelProvider
90
- } from "./chunk-AAHH3WWI.js";
90
+ } from "./chunk-6GY7ZCSO.js";
91
91
  import {
92
92
  isRecord as isRecord2
93
93
  } from "./chunk-UZSNFLDQ.js";
@@ -309,7 +309,7 @@ import {
309
309
  workspaceCredentialProviderSchema,
310
310
  workspaceTokenRequestSchema,
311
311
  workspaceTokenResponseSchema
312
- } from "./chunk-LITJGHSD.js";
312
+ } from "./chunk-MLSB5HUT.js";
313
313
  import {
314
314
  cloneMcpConfig,
315
315
  ensureCompatibilityImports,
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  publishedPullRequestUrls
6
- } from "./chunk-UJJOLFGD.js";
6
+ } from "./chunk-CO3743XW.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-LITJGHSD.js";
12
+ } from "./chunk-MLSB5HUT.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/services/post-tool-pr-notifier.ts
@@ -11,7 +11,7 @@ import {
11
11
  relaySubagentResponseSchema,
12
12
  spawnRelaySubagentRequestSchema,
13
13
  waitRelaySubagentRequestSchema
14
- } from "./chunk-LITJGHSD.js";
14
+ } from "./chunk-MLSB5HUT.js";
15
15
  import "./chunk-VEQXQN22.js";
16
16
 
17
17
  // src/relay-mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.919",
3
+ "version": "0.1.920",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",