replicas-engine 0.1.673 → 0.1.675
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.
- package/dist/src/app-server-process-DCRVN35B.js +10 -0
- package/dist/src/{chunk-CKJJIOSE.js → chunk-2FVC66FR.js} +3 -3
- package/dist/src/{chunk-A2ZICXOK.js → chunk-44UU3KDV.js} +2 -2
- package/dist/src/{chunk-2CFOJHNH.js → chunk-SV6OIADW.js} +1 -1
- package/dist/src/{chunk-5NBVP6A2.js → chunk-ZYLSDUG7.js} +2 -1
- package/dist/src/{codex-token-manager-VIZLBLS2.js → codex-token-manager-K53U5352.js} +3 -3
- package/dist/src/{engine-env-3AQ2O2WZ.js → engine-env-YAUJU2X3.js} +2 -2
- package/dist/src/headless-agent.js +4 -4
- package/dist/src/index.js +4 -4
- package/package.json +1 -1
- package/dist/src/app-server-process-EVCFSBVG.js +0 -10
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CodexAspAuthMethodChangedError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-44UU3KDV.js";
|
|
5
5
|
import {
|
|
6
6
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
7
7
|
isVersionBelow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZYLSDUG7.js";
|
|
9
9
|
|
|
10
10
|
// src/managers/codex-asp/app-server-process.ts
|
|
11
11
|
import { spawn } from "child_process";
|
|
@@ -223,7 +223,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
223
223
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
224
224
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
225
225
|
var codexCliVersionEnsured = null;
|
|
226
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
226
|
+
var ENGINE_PACKAGE_VERSION = "0.1.675";
|
|
227
227
|
var INITIALIZE_METHOD = "initialize";
|
|
228
228
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
229
229
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ENGINE_ENV,
|
|
4
4
|
setAgentCredentialSnapshot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SV6OIADW.js";
|
|
6
6
|
import {
|
|
7
7
|
CODEX_AUTH_ENV_KEYS,
|
|
8
8
|
CODEX_AUTH_ENV_KEYS_BY_METHOD,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createSuccessResult,
|
|
12
12
|
isRecord,
|
|
13
13
|
isValidAgentProvider
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZYLSDUG7.js";
|
|
15
15
|
|
|
16
16
|
// src/managers/codex-token-manager.ts
|
|
17
17
|
import { promises as fs } from "fs";
|
|
@@ -1501,6 +1501,7 @@ var WEB_APP_PATHS = {
|
|
|
1501
1501
|
"audit-logs": `${DASHBOARD_PATH}/audit-logs`,
|
|
1502
1502
|
accountAgents: `${DASHBOARD_PATH}/account/agents`,
|
|
1503
1503
|
accountProfile: `${DASHBOARD_PATH}/account/profile`,
|
|
1504
|
+
accountConnections: `${DASHBOARD_PATH}/account/connections`,
|
|
1504
1505
|
accountIntegrations: `${DASHBOARD_PATH}/account/integrations`,
|
|
1505
1506
|
accountApiKeys: `${DASHBOARD_PATH}/account/api-keys`,
|
|
1506
1507
|
accountPreferences: `${DASHBOARD_PATH}/account/preferences`,
|
|
@@ -2587,7 +2588,7 @@ const plugins = await replicas.plugins.list();
|
|
|
2587
2588
|
const installed = plugins.filter((plugin) => plugin.connected);
|
|
2588
2589
|
\`\`\`
|
|
2589
2590
|
|
|
2590
|
-
If a plugin is not connected, ask the user to
|
|
2591
|
+
If a plugin is not connected, ask the user to connect it under personal Connections or the relevant environment's Plugins tab. A connection on Global reaches every workspace unless a more specific environment overrides it.
|
|
2591
2592
|
|
|
2592
2593
|
## Search, inspect, execute
|
|
2593
2594
|
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
CodexAspAuthMethodChangedError,
|
|
4
4
|
CodexTokenManager,
|
|
5
5
|
codexTokenManager
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-44UU3KDV.js";
|
|
7
|
+
import "./chunk-SV6OIADW.js";
|
|
8
|
+
import "./chunk-ZYLSDUG7.js";
|
|
9
9
|
export {
|
|
10
10
|
CodexAspAuthMethodChangedError,
|
|
11
11
|
CodexTokenManager,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
AGENT,
|
|
9
9
|
getMemoryOutputSafetyViolation,
|
|
10
10
|
headlessAgentRequestSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZYLSDUG7.js";
|
|
12
12
|
|
|
13
13
|
// src/headless-agent.ts
|
|
14
14
|
import { createHash } from "crypto";
|
|
@@ -173,9 +173,9 @@ function runCodexTurn(client, params, timeoutMs) {
|
|
|
173
173
|
}
|
|
174
174
|
async function runCodex(request) {
|
|
175
175
|
const [{ AppServerProcess }, { codexTokenManager }, { ENGINE_ENV }] = await Promise.all([
|
|
176
|
-
import("./app-server-process-
|
|
177
|
-
import("./codex-token-manager-
|
|
178
|
-
import("./engine-env-
|
|
176
|
+
import("./app-server-process-DCRVN35B.js"),
|
|
177
|
+
import("./codex-token-manager-K53U5352.js"),
|
|
178
|
+
import("./engine-env-YAUJU2X3.js")
|
|
179
179
|
]);
|
|
180
180
|
for (let attempt = 0; attempt < 2; attempt++) {
|
|
181
181
|
const authMethod = ENGINE_ENV.REPLICAS_CODEX_AUTH_METHOD;
|
package/dist/src/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
SUBPROCESS_MAX_BUFFER,
|
|
27
27
|
execAsync,
|
|
28
28
|
execFileAsync
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2FVC66FR.js";
|
|
30
30
|
import {
|
|
31
31
|
BaseRefreshManager,
|
|
32
32
|
CodexAspAuthMethodChangedError,
|
|
@@ -37,13 +37,13 @@ import {
|
|
|
37
37
|
monolithService,
|
|
38
38
|
recordCredentialFallback,
|
|
39
39
|
recordExhaustedCredential
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-44UU3KDV.js";
|
|
41
41
|
import {
|
|
42
42
|
ENGINE_ENV,
|
|
43
43
|
IS_WARMING_MODE,
|
|
44
44
|
isRecord as isRecord2,
|
|
45
45
|
setAgentCredentialSnapshot
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SV6OIADW.js";
|
|
47
47
|
import {
|
|
48
48
|
AGENT,
|
|
49
49
|
AGENT_MODELS,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
serializeCanvasContentResponse,
|
|
204
204
|
shellQuotePosix,
|
|
205
205
|
stripAgentDiagnosticErrors
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-ZYLSDUG7.js";
|
|
207
207
|
|
|
208
208
|
// src/index.ts
|
|
209
209
|
import { serve } from "@hono/node-server";
|
package/package.json
CHANGED