replicas-engine 0.1.721 → 0.1.722

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  mayCreatePullRequest
4
- } from "./chunk-LR72WXTC.js";
4
+ } from "./chunk-CVGR6N24.js";
5
5
 
6
6
  // src/services/post-tool-pr-notifier.ts
7
7
  async function notifyPostToolUse(toolName, toolInput) {
@@ -467,10 +467,19 @@ var AGENT_MODELS = {
467
467
  pi: [...OPENROUTER_MODELS, ...ASTER_MODELS],
468
468
  relay: [CLAUDE_FABLE_5_1_MODEL, CLAUDE_FABLE_5_MODEL, CLAUDE_OPUS_5_MODEL, CLAUDE_OPUS_4_8_MODEL, CLAUDE_SONNET_5_MODEL]
469
469
  };
470
+ var DEFAULT_STATIC_AGENT_MODELS = {
471
+ claude: AGENT_MODELS.claude,
472
+ codex: AGENT_MODELS.codex,
473
+ relay: AGENT_MODELS.relay
474
+ };
475
+ var DEFAULT_CURSOR_MODELS = AGENT_MODELS.cursor;
470
476
  function getAgentModelOptions(provider, overrides) {
471
477
  const override = overrides?.[provider];
472
478
  return override?.length ? override : AGENT_MODELS[provider];
473
479
  }
480
+ var CLAUDE_MODEL_MIN_SANDBOX_IMAGE = {
481
+ [CLAUDE_FABLE_5_1_MODEL]: "replicas-sandbox-2026-09-01-v6"
482
+ };
474
483
  var MODEL_LABELS = {
475
484
  fable: "Fable 5.1",
476
485
  [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-LR72WXTC.js";
5
+ } from "./chunk-CVGR6N24.js";
6
6
 
7
7
  // src/utils/presigned-upload.ts
8
8
  import { createReadStream } from "fs";
@@ -267,7 +267,7 @@ var DEFAULT_CODEX_ARGS = [
267
267
  var MIN_CODEX_CLI_VERSION = "0.144.6";
268
268
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
269
269
  var codexCliVersionEnsured = null;
270
- var ENGINE_PACKAGE_VERSION = "0.1.721";
270
+ var ENGINE_PACKAGE_VERSION = "0.1.722";
271
271
  var INITIALIZE_METHOD = "initialize";
272
272
  var INITIALIZED_NOTIFICATION = "initialized";
273
273
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -12,7 +12,7 @@ import {
12
12
  isValidAgentProvider,
13
13
  parsePosixEnvFile,
14
14
  readReplicasRuntimeEnv
15
- } from "./chunk-LR72WXTC.js";
15
+ } from "./chunk-CVGR6N24.js";
16
16
 
17
17
  // src/engine-env.ts
18
18
  import { readFileSync as readFileSync2 } from "fs";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  evaluateCommandProtection
4
- } from "./chunk-2DENTRRC.js";
4
+ } from "./chunk-ZCSOQR4G.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-LR72WXTC.js";
8
+ import "./chunk-CVGR6N24.js";
9
9
 
10
10
  // src/command-protection-hook.ts
11
11
  var provider = process.argv[2];
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  evaluateCommandProtection
4
- } from "./chunk-2DENTRRC.js";
4
+ } from "./chunk-ZCSOQR4G.js";
5
5
  import {
6
6
  notifyPostToolUse
7
- } from "./chunk-NXJTPCA2.js";
7
+ } from "./chunk-2C23KJ6W.js";
8
8
  import "./chunk-2RB7SIP3.js";
9
- import "./chunk-LR72WXTC.js";
9
+ import "./chunk-CVGR6N24.js";
10
10
 
11
11
  // src/deepseek-command-protection-plugin.ts
12
12
  function replicasCommandProtection(context) {
@@ -4,12 +4,12 @@ import {
4
4
  buildCodexAgentEnv,
5
5
  putPresignedFile,
6
6
  recoverCompletedTurn
7
- } from "./chunk-FEHPBVXJ.js";
7
+ } from "./chunk-FV5BY3GF.js";
8
8
  import {
9
9
  AGENT,
10
10
  getMemoryOutputSafetyViolation,
11
11
  headlessAgentRequestSchema
12
- } from "./chunk-LR72WXTC.js";
12
+ } from "./chunk-CVGR6N24.js";
13
13
 
14
14
  // src/headless-agent.ts
15
15
  import { createHash } from "crypto";
package/dist/src/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  monolithService,
9
9
  reportCommandProtectionBlock,
10
10
  setAgentCredentialSnapshot
11
- } from "./chunk-2DENTRRC.js";
11
+ } from "./chunk-ZCSOQR4G.js";
12
12
  import {
13
13
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
14
14
  AGENT_MESSAGE_DELTA_METHOD,
@@ -35,7 +35,7 @@ import {
35
35
  execFileAsync,
36
36
  putPresignedFile,
37
37
  recoverCompletedTurn
38
- } from "./chunk-FEHPBVXJ.js";
38
+ } from "./chunk-FV5BY3GF.js";
39
39
  import {
40
40
  isRecord as isRecord2
41
41
  } from "./chunk-2RB7SIP3.js";
@@ -216,7 +216,7 @@ import {
216
216
  shellQuotePosix,
217
217
  stripAgentDiagnosticErrors,
218
218
  withTimeout
219
- } from "./chunk-LR72WXTC.js";
219
+ } from "./chunk-CVGR6N24.js";
220
220
 
221
221
  // src/index.ts
222
222
  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-NXJTPCA2.js";
4
+ } from "./chunk-2C23KJ6W.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-LR72WXTC.js";
8
+ import "./chunk-CVGR6N24.js";
9
9
 
10
10
  // src/post-tool-pr-hook.ts
11
11
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.721",
3
+ "version": "0.1.722",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",