replicas-engine 0.1.1041 → 0.1.1042

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,9 +8,9 @@ import {
8
8
  listRunningCodexModels,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-UHAZHA6L.js";
11
+ } from "./chunk-4VDF2C2U.js";
12
12
  import "./chunk-TR7NUUT3.js";
13
- import "./chunk-BE5TRPOL.js";
13
+ import "./chunk-QDIKROO7.js";
14
14
  import "./chunk-XS3QUSHQ.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
16
  import "./chunk-KXBTOL3R.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-BE5TRPOL.js";
17
+ } from "./chunk-QDIKROO7.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
@@ -289,7 +289,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
289
289
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
290
290
  await this.applyCredentialsResponse(data);
291
291
  setAgentCredentialSnapshot("codex", data);
292
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UGBZ5E4S.js");
292
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UAEBYHX2.js");
293
293
  await restartCodexAspHostIfRunning2();
294
294
  });
295
295
  await this.start(true);
@@ -310,7 +310,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
310
310
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
311
311
  await this.applyCredentialsResponse(data);
312
312
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
313
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UGBZ5E4S.js");
313
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UAEBYHX2.js");
314
314
  await restartCodexAspHostIfRunning2();
315
315
  }
316
316
  setAgentCredentialSnapshot("codex", data);
@@ -240,7 +240,7 @@ 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.1041";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1042";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  AppServerProcess,
9
9
  buildCodexAgentEnv
10
- } from "./chunk-BE5TRPOL.js";
10
+ } from "./chunk-QDIKROO7.js";
11
11
  import "./chunk-XS3QUSHQ.js";
12
12
  import {
13
13
  AGENT,
package/dist/src/index.js CHANGED
@@ -114,7 +114,7 @@ import {
114
114
  timestampFromSeconds,
115
115
  upsertCredentialFileLines,
116
116
  writeSecureCredentialFile
117
- } from "./chunk-UHAZHA6L.js";
117
+ } from "./chunk-4VDF2C2U.js";
118
118
  import {
119
119
  ENGINE_ENV,
120
120
  monolithRequest,
@@ -127,7 +127,7 @@ import {
127
127
  import {
128
128
  AspClient,
129
129
  getCodexModelProvider
130
- } from "./chunk-BE5TRPOL.js";
130
+ } from "./chunk-QDIKROO7.js";
131
131
  import {
132
132
  SUBPROCESS_MAX_BUFFER,
133
133
  execAsync,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1041",
3
+ "version": "0.1.1042",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",