replicas-engine 0.1.887 → 0.1.888
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,9 +5,9 @@ import {
|
|
|
5
5
|
getCodexAspHost,
|
|
6
6
|
restartCodexAspHost,
|
|
7
7
|
restartCodexAspHostIfRunning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2JFHMLKJ.js";
|
|
9
9
|
import "./chunk-N2DC3SCQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ADX5FHF6.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
12
|
import "./chunk-5RULOJKJ.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
SUBPROCESS_MAX_BUFFER,
|
|
12
12
|
buildCodexAgentEnv,
|
|
13
13
|
execFileAsync
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ADX5FHF6.js";
|
|
15
15
|
import {
|
|
16
16
|
isRecord
|
|
17
17
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -251,7 +251,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
251
251
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
252
252
|
await this.applyCredentialsResponse(data);
|
|
253
253
|
if (data.scope) setAgentCredentialSnapshot("codex", { method: data.type, scope: data.scope, revision: data.revision });
|
|
254
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
254
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-BGOXGPHG.js");
|
|
255
255
|
await restartCodexAspHostIfRunning2();
|
|
256
256
|
});
|
|
257
257
|
await this.start(true);
|
|
@@ -271,7 +271,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
271
271
|
await this.applyCredentialUpdate(generation, async () => {
|
|
272
272
|
await this.applyCredentialsResponse(data);
|
|
273
273
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
274
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
274
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-BGOXGPHG.js");
|
|
275
275
|
await restartCodexAspHostIfRunning2();
|
|
276
276
|
}
|
|
277
277
|
if (data.scope) {
|
|
@@ -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.
|
|
248
|
+
var ENGINE_PACKAGE_VERSION = "0.1.888";
|
|
249
249
|
var INITIALIZE_METHOD = "initialize";
|
|
250
250
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
251
251
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
package/dist/src/index.js
CHANGED
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
recordExhaustedCredential,
|
|
134
134
|
restartCodexAspHost,
|
|
135
135
|
routineRefreshExclusions
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-2JFHMLKJ.js";
|
|
137
137
|
import {
|
|
138
138
|
ENGINE_ENV,
|
|
139
139
|
IS_WARMING_MODE,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
execAsync,
|
|
148
148
|
execFileAsync,
|
|
149
149
|
getCodexModelProvider
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-ADX5FHF6.js";
|
|
151
151
|
import {
|
|
152
152
|
isRecord as isRecord2
|
|
153
153
|
} from "./chunk-UZSNFLDQ.js";
|