replicas-engine 0.1.741 → 0.1.743
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-KDEJGDMP.js → asp-host-47CGICOD.js} +4 -4
- package/dist/src/{chunk-6O6BPV7Q.js → chunk-4ILGICWD.js} +1 -1
- package/dist/src/{chunk-TRGZSX4W.js → chunk-JROJLNTZ.js} +1 -1
- package/dist/src/{chunk-Q6F7J5DH.js → chunk-KNYGSWUU.js} +3 -0
- package/dist/src/{chunk-ESGIWRVV.js → chunk-LGSH2M6H.js} +3 -3
- package/dist/src/{chunk-UUKFVYYJ.js → chunk-TAJRILMY.js} +4 -4
- package/dist/src/{chunk-25CMFABL.js → chunk-WAB4RXD3.js} +2 -2
- 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-TAJRILMY.js";
|
|
7
|
+
import "./chunk-JROJLNTZ.js";
|
|
8
|
+
import "./chunk-LGSH2M6H.js";
|
|
9
9
|
import "./chunk-2RB7SIP3.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KNYGSWUU.js";
|
|
11
11
|
export {
|
|
12
12
|
getCodexAspHost,
|
|
13
13
|
restartCodexAspHost,
|
|
@@ -289,6 +289,9 @@ function getAgentModelOptions(provider, overrides) {
|
|
|
289
289
|
var CLAUDE_MODEL_MIN_SANDBOX_IMAGE = {
|
|
290
290
|
[CLAUDE_FABLE_5_1_MODEL]: "replicas-sandbox-2026-09-01-v6"
|
|
291
291
|
};
|
|
292
|
+
var CODEX_MODEL_MIN_SANDBOX_IMAGE = {
|
|
293
|
+
[GPT_6_ASTRA_MODEL]: "replicas-sandbox-2026-09-04-v7"
|
|
294
|
+
};
|
|
292
295
|
var MODEL_LABELS = {
|
|
293
296
|
fable: "Fable 5.1",
|
|
294
297
|
[CLAUDE_FABLE_5_1_MODEL]: "Fable 5.1",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
4
4
|
isVersionBelow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KNYGSWUU.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/codex-agent-env.ts
|
|
8
8
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -236,10 +236,10 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
236
236
|
"-c",
|
|
237
237
|
"memories.generate_memories=false"
|
|
238
238
|
];
|
|
239
|
-
var MIN_CODEX_CLI_VERSION = "0.
|
|
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.743";
|
|
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-JROJLNTZ.js";
|
|
7
7
|
import {
|
|
8
8
|
AppServerProcess,
|
|
9
9
|
buildCodexAgentEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LGSH2M6H.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-KNYGSWUU.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-47CGICOD.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
|
monolithRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JROJLNTZ.js";
|
|
5
5
|
import {
|
|
6
6
|
extractCommandProtectionCommandText,
|
|
7
7
|
findGitCommitSignals,
|
|
8
8
|
findPrMergeSignals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KNYGSWUU.js";
|
|
10
10
|
|
|
11
11
|
// src/services/command-protection-service.ts
|
|
12
12
|
var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
|
|
@@ -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-WAB4RXD3.js";
|
|
5
|
+
import "./chunk-JROJLNTZ.js";
|
|
6
6
|
import {
|
|
7
7
|
isRecord
|
|
8
8
|
} from "./chunk-2RB7SIP3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KNYGSWUU.js";
|
|
10
10
|
|
|
11
11
|
// src/command-protection-hook.ts
|
|
12
12
|
var provider = process.argv[2];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
evaluateCommandProtection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WAB4RXD3.js";
|
|
5
5
|
import {
|
|
6
6
|
notifyPostToolUse
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-4ILGICWD.js";
|
|
8
|
+
import "./chunk-JROJLNTZ.js";
|
|
9
9
|
import "./chunk-2RB7SIP3.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KNYGSWUU.js";
|
|
11
11
|
|
|
12
12
|
// src/deepseek-command-protection-plugin.ts
|
|
13
13
|
function replicasCommandProtection(context) {
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
AppServerProcess,
|
|
8
8
|
buildCodexAgentEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LGSH2M6H.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT,
|
|
12
12
|
getMemoryOutputSafetyViolation,
|
|
13
13
|
headlessAgentRequestSchema
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KNYGSWUU.js";
|
|
15
15
|
|
|
16
16
|
// src/headless-agent.ts
|
|
17
17
|
import { createHash } from "crypto";
|
package/dist/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
evaluateCommandProtection,
|
|
4
4
|
extractToolCommand,
|
|
5
5
|
reportCommandProtectionBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WAB4RXD3.js";
|
|
7
7
|
import {
|
|
8
8
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
9
9
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -36,20 +36,20 @@ import {
|
|
|
36
36
|
recordCredentialFallback,
|
|
37
37
|
recordExhaustedCredential,
|
|
38
38
|
restartCodexAspHost
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TAJRILMY.js";
|
|
40
40
|
import {
|
|
41
41
|
ENGINE_ENV,
|
|
42
42
|
IS_WARMING_MODE,
|
|
43
43
|
monolithRequest,
|
|
44
44
|
monolithService,
|
|
45
45
|
setAgentCredentialSnapshot
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-JROJLNTZ.js";
|
|
47
47
|
import {
|
|
48
48
|
AspClient,
|
|
49
49
|
SUBPROCESS_MAX_BUFFER,
|
|
50
50
|
execAsync,
|
|
51
51
|
execFileAsync
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LGSH2M6H.js";
|
|
53
53
|
import {
|
|
54
54
|
isRecord as isRecord2
|
|
55
55
|
} from "./chunk-2RB7SIP3.js";
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
shellQuotePosix,
|
|
241
241
|
stripAgentDiagnosticErrors,
|
|
242
242
|
withTimeout
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-KNYGSWUU.js";
|
|
244
244
|
|
|
245
245
|
// src/index.ts
|
|
246
246
|
import { serve } from "@hono/node-server";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
notifyPostToolUse
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4ILGICWD.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
7
|
} from "./chunk-2RB7SIP3.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KNYGSWUU.js";
|
|
9
9
|
|
|
10
10
|
// src/post-tool-pr-hook.ts
|
|
11
11
|
async function main() {
|