replicas-engine 0.1.747 → 0.1.748
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/{asp-host-OWHPVIP5.js → asp-host-FED7CRXG.js} +4 -4
- package/dist/src/{chunk-HMIVYASC.js → chunk-CGCN6HGZ.js} +0 -1
- package/dist/src/{chunk-ZNKNSUIJ.js → chunk-DCWVMP7E.js} +1 -1
- package/dist/src/{chunk-52VN7BOE.js → chunk-DJF4SPBS.js} +2 -2
- package/dist/src/{chunk-ITEQAMIZ.js → chunk-K7NZNYQL.js} +1 -1
- package/dist/src/{chunk-AQVRSV25.js → chunk-PASXXBP2.js} +2 -2
- package/dist/src/{chunk-2KNZPKDR.js → chunk-UDQRDVUD.js} +4 -4
- package/dist/src/command-protection-hook.js +3 -3
- package/dist/src/deepseek-command-protection-plugin.js +4 -4
- package/dist/src/headless-agent.js +2 -2
- package/dist/src/index.js +5 -5
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
getCodexAspHost,
|
|
4
4
|
restartCodexAspHost,
|
|
5
5
|
restartCodexAspHostIfRunning
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UDQRDVUD.js";
|
|
7
|
+
import "./chunk-K7NZNYQL.js";
|
|
8
|
+
import "./chunk-PASXXBP2.js";
|
|
9
9
|
import "./chunk-2RB7SIP3.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-CGCN6HGZ.js";
|
|
11
11
|
import "./chunk-5KSXSK7Y.js";
|
|
12
12
|
export {
|
|
13
13
|
getCodexAspHost,
|
|
@@ -1639,7 +1639,6 @@ var WEB_APP_PATHS = {
|
|
|
1639
1639
|
automations: `${HOME_PATH}/automations`,
|
|
1640
1640
|
environment: `${HOME_PATH}/environment`,
|
|
1641
1641
|
analytics: `${HOME_PATH}/analytics`,
|
|
1642
|
-
memory: `${HOME_PATH}/memory`,
|
|
1643
1642
|
dashboard: DASHBOARD_PATH,
|
|
1644
1643
|
agents: `${DASHBOARD_PATH}/agents`,
|
|
1645
1644
|
integrations: `${DASHBOARD_PATH}/integrations`,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
monolithRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K7NZNYQL.js";
|
|
5
5
|
import {
|
|
6
6
|
extractCommandProtectionCommandText,
|
|
7
7
|
findGitCommitSignals,
|
|
8
8
|
findPrMergeSignals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CGCN6HGZ.js";
|
|
10
10
|
|
|
11
11
|
// src/services/command-protection-service.ts
|
|
12
12
|
var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
4
4
|
isVersionBelow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CGCN6HGZ.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/codex-agent-env.ts
|
|
8
8
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -239,7 +239,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
239
239
|
var MIN_CODEX_CLI_VERSION = "0.153.3";
|
|
240
240
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
241
241
|
var codexCliVersionEnsured = null;
|
|
242
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
242
|
+
var ENGINE_PACKAGE_VERSION = "0.1.748";
|
|
243
243
|
var INITIALIZE_METHOD = "initialize";
|
|
244
244
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
245
245
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
ENGINE_ENV,
|
|
4
4
|
monolithRequest,
|
|
5
5
|
setAgentCredentialSnapshot
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K7NZNYQL.js";
|
|
7
7
|
import {
|
|
8
8
|
AppServerProcess,
|
|
9
9
|
buildCodexAgentEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PASXXBP2.js";
|
|
11
11
|
import {
|
|
12
12
|
CODEX_AUTH_ENV_KEYS,
|
|
13
13
|
CODEX_AUTH_ENV_KEYS_BY_METHOD,
|
|
14
14
|
codexAuthEnvFromResponse,
|
|
15
15
|
createErrorResult,
|
|
16
16
|
createSuccessResult
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CGCN6HGZ.js";
|
|
18
18
|
|
|
19
19
|
// src/managers/codex-token-manager.ts
|
|
20
20
|
import { promises as fs } from "fs";
|
|
@@ -230,7 +230,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
230
230
|
const data = await response.json();
|
|
231
231
|
await this.applyCredentialsResponse(data);
|
|
232
232
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
233
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
233
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-FED7CRXG.js");
|
|
234
234
|
await restartCodexAspHostIfRunning2();
|
|
235
235
|
}
|
|
236
236
|
if (data.scope) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
evaluateCommandProtection
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DJF4SPBS.js";
|
|
5
|
+
import "./chunk-K7NZNYQL.js";
|
|
6
6
|
import {
|
|
7
7
|
isRecord
|
|
8
8
|
} from "./chunk-2RB7SIP3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CGCN6HGZ.js";
|
|
10
10
|
import "./chunk-5KSXSK7Y.js";
|
|
11
11
|
|
|
12
12
|
// src/command-protection-hook.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
evaluateCommandProtection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DJF4SPBS.js";
|
|
5
5
|
import {
|
|
6
6
|
notifyPostToolUse
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-DCWVMP7E.js";
|
|
8
|
+
import "./chunk-K7NZNYQL.js";
|
|
9
9
|
import "./chunk-2RB7SIP3.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-CGCN6HGZ.js";
|
|
11
11
|
import "./chunk-5KSXSK7Y.js";
|
|
12
12
|
|
|
13
13
|
// src/deepseek-command-protection-plugin.ts
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
AppServerProcess,
|
|
8
8
|
buildCodexAgentEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PASXXBP2.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT,
|
|
12
12
|
getMemoryOutputSafetyViolation,
|
|
13
13
|
headlessAgentRequestSchema
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CGCN6HGZ.js";
|
|
15
15
|
import "./chunk-5KSXSK7Y.js";
|
|
16
16
|
|
|
17
17
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
evaluateCommandProtection,
|
|
26
26
|
extractToolCommand,
|
|
27
27
|
reportCommandProtectionBlock
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DJF4SPBS.js";
|
|
29
29
|
import {
|
|
30
30
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
31
31
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -58,20 +58,20 @@ import {
|
|
|
58
58
|
recordCredentialFallback,
|
|
59
59
|
recordExhaustedCredential,
|
|
60
60
|
restartCodexAspHost
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-UDQRDVUD.js";
|
|
62
62
|
import {
|
|
63
63
|
ENGINE_ENV,
|
|
64
64
|
IS_WARMING_MODE,
|
|
65
65
|
monolithRequest,
|
|
66
66
|
monolithService,
|
|
67
67
|
setAgentCredentialSnapshot
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-K7NZNYQL.js";
|
|
69
69
|
import {
|
|
70
70
|
AspClient,
|
|
71
71
|
SUBPROCESS_MAX_BUFFER,
|
|
72
72
|
execAsync,
|
|
73
73
|
execFileAsync
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-PASXXBP2.js";
|
|
75
75
|
import {
|
|
76
76
|
isRecord as isRecord2
|
|
77
77
|
} from "./chunk-2RB7SIP3.js";
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
shellQuotePosix,
|
|
263
263
|
stripAgentDiagnosticErrors,
|
|
264
264
|
withTimeout
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-CGCN6HGZ.js";
|
|
266
266
|
import {
|
|
267
267
|
cloneMcpConfig,
|
|
268
268
|
ensureCompatibilityImports,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
notifyPostToolUse
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DCWVMP7E.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
7
|
} from "./chunk-2RB7SIP3.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-CGCN6HGZ.js";
|
|
9
9
|
import "./chunk-5KSXSK7Y.js";
|
|
10
10
|
|
|
11
11
|
// src/post-tool-pr-hook.ts
|