replicas-engine 0.1.792 → 0.1.793
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-PBOXFMW6.js → asp-host-Y77FLLHG.js} +4 -4
- package/dist/src/{chunk-AG2K2YOL.js → chunk-3KVZKDCT.js} +1 -1
- package/dist/src/{chunk-4HOBB56C.js → chunk-ERJAZGY5.js} +2 -2
- package/dist/src/{chunk-4TBKZTNN.js → chunk-FJPZJYFC.js} +17 -10
- package/dist/src/{chunk-FWOLDPOO.js → chunk-IRCOHMC3.js} +1 -1
- package/dist/src/{chunk-SXPLAER7.js → chunk-NDU44H4C.js} +4 -4
- package/dist/src/{chunk-SAAXKNYR.js → chunk-P2VI2LLW.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/dist/src/relay-mcp.js +1 -1
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
getCodexAspHost,
|
|
6
6
|
restartCodexAspHost,
|
|
7
7
|
restartCodexAspHostIfRunning
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NDU44H4C.js";
|
|
9
|
+
import "./chunk-3KVZKDCT.js";
|
|
10
|
+
import "./chunk-ERJAZGY5.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FJPZJYFC.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
export {
|
|
15
15
|
getCodexAspHost,
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
6
6
|
isVersionBelow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FJPZJYFC.js";
|
|
8
8
|
|
|
9
9
|
// src/utils/codex-agent-env.ts
|
|
10
10
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -241,7 +241,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
241
241
|
var MIN_CODEX_CLI_VERSION = "0.153.3";
|
|
242
242
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
243
243
|
var codexCliVersionEnsured = null;
|
|
244
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
244
|
+
var ENGINE_PACKAGE_VERSION = "0.1.793";
|
|
245
245
|
var INITIALIZE_METHOD = "initialize";
|
|
246
246
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
247
247
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -153,7 +153,7 @@ var GPT_5_6_TERRA_MODEL = "gpt-5.6-terra";
|
|
|
153
153
|
var GPT_5_6_LUNA_MODEL = "gpt-5.6-luna";
|
|
154
154
|
var DEFAULT_CODEX_MODEL = GPT_5_6_SOL_MODEL;
|
|
155
155
|
var DEFAULT_CURSOR_MODEL = "composer-2.5";
|
|
156
|
-
var DEFAULT_OPENCODE_MODEL = "z-ai/glm-5.
|
|
156
|
+
var DEFAULT_OPENCODE_MODEL = "z-ai/glm-5.3";
|
|
157
157
|
var GLM_5_3_FLASH_MODEL = "z-ai/glm-5.3-flash";
|
|
158
158
|
var OX_ALPHA_MODEL = "stealth/ox-alpha";
|
|
159
159
|
var DEEPSEEK_V4_PRO_MODEL = "deepseek/deepseek-v4-pro-0813";
|
|
@@ -164,17 +164,22 @@ var DEFAULT_KIMI_MODEL = "moonshotai/kimi-k2.6";
|
|
|
164
164
|
var MUSE_SPARK_1_3_MODEL = "muse-spark-1.3";
|
|
165
165
|
var DEFAULT_MUSE_MODEL = "muse-spark-1.2";
|
|
166
166
|
var DEFAULT_PI_MODEL = DEFAULT_OPENCODE_MODEL;
|
|
167
|
-
var
|
|
167
|
+
var DEFAULT_OPENROUTER_MODELS = [
|
|
168
168
|
DEFAULT_OPENCODE_MODEL,
|
|
169
|
+
DEEPSEEK_V4_PRO_MODEL,
|
|
170
|
+
"moonshotai/kimi-k3",
|
|
171
|
+
"google/gemini-3.8-flash"
|
|
172
|
+
];
|
|
173
|
+
var OPENROUTER_MODELS = [
|
|
174
|
+
...DEFAULT_OPENROUTER_MODELS,
|
|
175
|
+
"z-ai/glm-5.2",
|
|
176
|
+
"moonshotai/kimi-k2.6",
|
|
169
177
|
GLM_5_3_FLASH_MODEL,
|
|
170
178
|
OX_ALPHA_MODEL,
|
|
171
|
-
DEEPSEEK_V4_PRO_MODEL,
|
|
172
179
|
DEEPSEEK_V4_FLASH_MODEL,
|
|
173
180
|
"minimax/minimax-m3",
|
|
174
181
|
"xiaomi/mimo-v2.5-pro",
|
|
175
|
-
"
|
|
176
|
-
"meta/muse-spark-1.3",
|
|
177
|
-
"google/gemini-3.8-flash"
|
|
182
|
+
"meta/muse-spark-1.3"
|
|
178
183
|
];
|
|
179
184
|
function prioritizeDeepseekModels(models) {
|
|
180
185
|
return [
|
|
@@ -283,12 +288,12 @@ var AGENT_MODELS = {
|
|
|
283
288
|
CLAUDE_HAIKU_4_5_MODEL,
|
|
284
289
|
"kimi-k2.5"
|
|
285
290
|
],
|
|
286
|
-
deepseek: prioritizeDeepseekModels(
|
|
291
|
+
deepseek: prioritizeDeepseekModels(DEFAULT_OPENROUTER_MODELS),
|
|
287
292
|
fx: [DEFAULT_FX_MODEL],
|
|
288
293
|
kimi: [DEFAULT_KIMI_MODEL],
|
|
289
294
|
muse: [MUSE_SPARK_1_3_MODEL, DEFAULT_MUSE_MODEL],
|
|
290
|
-
opencode: [...
|
|
291
|
-
pi: [...
|
|
295
|
+
opencode: [...DEFAULT_OPENROUTER_MODELS, ...ASTER_MODELS],
|
|
296
|
+
pi: [...DEFAULT_OPENROUTER_MODELS, ...ASTER_MODELS],
|
|
292
297
|
relay: [CLAUDE_FABLE_5_1_MODEL, CLAUDE_FABLE_5_MODEL, CLAUDE_OPUS_5_MODEL, CLAUDE_OPUS_4_8_MODEL, CLAUDE_SONNET_5_MODEL]
|
|
293
298
|
};
|
|
294
299
|
var DEFAULT_STATIC_AGENT_MODELS = {
|
|
@@ -322,7 +327,8 @@ var MODEL_LABELS = {
|
|
|
322
327
|
[GPT_5_6_TERRA_MODEL]: "GPT-5.6 Terra",
|
|
323
328
|
[GPT_5_6_LUNA_MODEL]: "GPT-5.6 Luna",
|
|
324
329
|
"gpt-5.5": "GPT-5.5",
|
|
325
|
-
[DEFAULT_OPENCODE_MODEL]: "GLM 5.
|
|
330
|
+
[DEFAULT_OPENCODE_MODEL]: "GLM 5.3 via OpenRouter",
|
|
331
|
+
"z-ai/glm-5.2": "GLM 5.2 via OpenRouter",
|
|
326
332
|
[GLM_5_3_FLASH_MODEL]: "GLM 5.3 Flash via OpenRouter",
|
|
327
333
|
[OX_ALPHA_MODEL]: "Ox Alpha via OpenRouter",
|
|
328
334
|
[DEEPSEEK_V4_PRO_MODEL]: "DeepSeek V4 Pro via OpenRouter",
|
|
@@ -330,6 +336,7 @@ var MODEL_LABELS = {
|
|
|
330
336
|
"minimax/minimax-m3": "MiniMax M3 via OpenRouter",
|
|
331
337
|
"xiaomi/mimo-v2.5-pro": "MiMo V2.5 Pro via OpenRouter",
|
|
332
338
|
"moonshotai/kimi-k2.6": "Kimi K2.6 via OpenRouter",
|
|
339
|
+
"moonshotai/kimi-k3": "Kimi K3 via OpenRouter",
|
|
333
340
|
[MUSE_SPARK_1_3_MODEL]: "Muse Spark 1.3",
|
|
334
341
|
[DEFAULT_MUSE_MODEL]: "Muse Spark 1.2",
|
|
335
342
|
"meta/muse-spark-1.3": "Muse Spark 1.3 via OpenRouter",
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
findCodeHostPullRequestUrls,
|
|
6
6
|
mayCreatePullRequest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FJPZJYFC.js";
|
|
8
8
|
|
|
9
9
|
// src/services/post-tool-pr-notifier.ts
|
|
10
10
|
async function notifyPostToolUse(toolName, toolInput, toolResult) {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
ENGINE_ENV,
|
|
6
6
|
monolithRequest,
|
|
7
7
|
setAgentCredentialSnapshot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3KVZKDCT.js";
|
|
9
9
|
import {
|
|
10
10
|
AppServerProcess,
|
|
11
11
|
buildCodexAgentEnv
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ERJAZGY5.js";
|
|
13
13
|
import {
|
|
14
14
|
CODEX_AUTH_ENV_KEYS,
|
|
15
15
|
CODEX_AUTH_ENV_KEYS_BY_METHOD,
|
|
16
16
|
codexAuthEnvFromResponse,
|
|
17
17
|
createErrorResult,
|
|
18
18
|
createSuccessResult
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FJPZJYFC.js";
|
|
20
20
|
|
|
21
21
|
// src/managers/codex-token-manager.ts
|
|
22
22
|
import { promises as fs } from "fs";
|
|
@@ -232,7 +232,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
232
232
|
const data = await response.json();
|
|
233
233
|
await this.applyCredentialsResponse(data);
|
|
234
234
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
235
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
235
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-Y77FLLHG.js");
|
|
236
236
|
await restartCodexAspHostIfRunning2();
|
|
237
237
|
}
|
|
238
238
|
if (data.scope) {
|
|
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
monolithRequest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3KVZKDCT.js";
|
|
7
7
|
import {
|
|
8
8
|
extractCommandProtectionCommandText,
|
|
9
9
|
findGitCommitSignals,
|
|
10
10
|
findPrMergeSignals
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FJPZJYFC.js";
|
|
12
12
|
|
|
13
13
|
// src/services/command-protection-service.ts
|
|
14
14
|
var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
|
|
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
evaluateCommandProtection
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-P2VI2LLW.js";
|
|
7
|
+
import "./chunk-3KVZKDCT.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
10
|
} from "./chunk-UZSNFLDQ.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FJPZJYFC.js";
|
|
12
12
|
import "./chunk-VEQXQN22.js";
|
|
13
13
|
|
|
14
14
|
// src/command-protection-hook.ts
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
evaluateCommandProtection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P2VI2LLW.js";
|
|
7
7
|
import {
|
|
8
8
|
notifyPostToolUse
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IRCOHMC3.js";
|
|
10
|
+
import "./chunk-3KVZKDCT.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FJPZJYFC.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/deepseek-command-protection-plugin.ts
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AppServerProcess,
|
|
10
10
|
buildCodexAgentEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ERJAZGY5.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT,
|
|
14
14
|
getMemoryOutputSafetyViolation,
|
|
15
15
|
headlessAgentRequestSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FJPZJYFC.js";
|
|
17
17
|
import "./chunk-VEQXQN22.js";
|
|
18
18
|
|
|
19
19
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
evaluateCommandProtection,
|
|
92
92
|
extractToolCommand,
|
|
93
93
|
reportCommandProtectionBlock
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-P2VI2LLW.js";
|
|
95
95
|
import {
|
|
96
96
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
97
97
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -124,20 +124,20 @@ import {
|
|
|
124
124
|
recordCredentialFallback,
|
|
125
125
|
recordExhaustedCredential,
|
|
126
126
|
restartCodexAspHost
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-NDU44H4C.js";
|
|
128
128
|
import {
|
|
129
129
|
ENGINE_ENV,
|
|
130
130
|
IS_WARMING_MODE,
|
|
131
131
|
monolithRequest,
|
|
132
132
|
monolithService,
|
|
133
133
|
setAgentCredentialSnapshot
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-3KVZKDCT.js";
|
|
135
135
|
import {
|
|
136
136
|
AspClient,
|
|
137
137
|
SUBPROCESS_MAX_BUFFER,
|
|
138
138
|
execAsync,
|
|
139
139
|
execFileAsync
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-ERJAZGY5.js";
|
|
141
141
|
import {
|
|
142
142
|
isRecord as isRecord2
|
|
143
143
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -338,7 +338,7 @@ import {
|
|
|
338
338
|
spawnRelaySubagentRequestSchema,
|
|
339
339
|
stripAgentDiagnosticErrors,
|
|
340
340
|
withTimeout
|
|
341
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-FJPZJYFC.js";
|
|
342
342
|
import {
|
|
343
343
|
__commonJS,
|
|
344
344
|
__export,
|
|
@@ -3,11 +3,11 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
notifyPostToolUse
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRCOHMC3.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
9
|
} from "./chunk-UZSNFLDQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FJPZJYFC.js";
|
|
11
11
|
import "./chunk-VEQXQN22.js";
|
|
12
12
|
|
|
13
13
|
// src/post-tool-pr-hook.ts
|
package/dist/src/relay-mcp.js
CHANGED