replicas-engine 0.1.878 → 0.1.880
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-7F6BWE2P.js";
|
|
9
9
|
import "./chunk-4CF465DO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SXUDMIPU.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
12
|
import "./chunk-PYQVWR2X.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-SXUDMIPU.js";
|
|
15
15
|
import {
|
|
16
16
|
isRecord
|
|
17
17
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -246,7 +246,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
246
246
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
247
247
|
await this.applyCredentialsResponse(data);
|
|
248
248
|
if (data.scope) setAgentCredentialSnapshot("codex", { method: data.type, scope: data.scope, revision: data.revision });
|
|
249
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
249
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-4RDOJQ64.js");
|
|
250
250
|
await restartCodexAspHostIfRunning2();
|
|
251
251
|
});
|
|
252
252
|
await this.start(true);
|
|
@@ -266,7 +266,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
266
266
|
await this.applyCredentialUpdate(generation, async () => {
|
|
267
267
|
await this.applyCredentialsResponse(data);
|
|
268
268
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
269
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
269
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-4RDOJQ64.js");
|
|
270
270
|
await restartCodexAspHostIfRunning2();
|
|
271
271
|
}
|
|
272
272
|
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.880";
|
|
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
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
recordCredentialFallback,
|
|
133
133
|
recordExhaustedCredential,
|
|
134
134
|
restartCodexAspHost
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-7F6BWE2P.js";
|
|
136
136
|
import {
|
|
137
137
|
ENGINE_ENV,
|
|
138
138
|
IS_WARMING_MODE,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
execAsync,
|
|
147
147
|
execFileAsync,
|
|
148
148
|
getCodexModelProvider
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-SXUDMIPU.js";
|
|
150
150
|
import {
|
|
151
151
|
isRecord as isRecord2
|
|
152
152
|
} from "./chunk-UZSNFLDQ.js";
|