replicas-engine 0.1.727 → 0.1.728

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.
@@ -12,7 +12,7 @@ import {
12
12
  isValidAgentProvider,
13
13
  parsePosixEnvFile,
14
14
  readReplicasRuntimeEnv
15
- } from "./chunk-Y22KEEKB.js";
15
+ } from "./chunk-QPGCAIVX.js";
16
16
 
17
17
  // src/engine-env.ts
18
18
  import { readFileSync as readFileSync2 } from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  HOOK_EXEC_MAX_BUFFER_BYTES,
4
4
  isVersionBelow
5
- } from "./chunk-Y22KEEKB.js";
5
+ } from "./chunk-QPGCAIVX.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.727";
270
+ var ENGINE_PACKAGE_VERSION = "0.1.728";
271
271
  var INITIALIZE_METHOD = "initialize";
272
272
  var INITIALIZED_NOTIFICATION = "initialized";
273
273
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -353,7 +353,8 @@ var OPENROUTER_MODELS = [
353
353
  DEEPSEEK_V4_FLASH_MODEL,
354
354
  "minimax/minimax-m3",
355
355
  "xiaomi/mimo-v2.5-pro",
356
- "moonshotai/kimi-k2.6"
356
+ "moonshotai/kimi-k2.6",
357
+ "google/gemini-3.8-flash"
357
358
  ];
358
359
  function prioritizeDeepseekModels(models) {
359
360
  return [
@@ -452,6 +453,7 @@ var AGENT_MODELS = {
452
453
  "gpt-5.1-codex-max",
453
454
  "gpt-5.1-codex-mini",
454
455
  "gpt-5-mini",
456
+ "gemini-3.8-flash",
455
457
  "gemini-3.1-pro",
456
458
  "gemini-3-flash",
457
459
  "grok-4.6",
@@ -503,6 +505,7 @@ var MODEL_LABELS = {
503
505
  "minimax/minimax-m3": "MiniMax M3 via OpenRouter",
504
506
  "xiaomi/mimo-v2.5-pro": "MiMo V2.5 Pro via OpenRouter",
505
507
  "moonshotai/kimi-k2.6": "Kimi K2.6 via OpenRouter",
508
+ "google/gemini-3.8-flash": "Gemini 3.8 Flash via OpenRouter",
506
509
  ...ASTER_MODEL_LABELS,
507
510
  "gpt-5.4": "GPT-5.4",
508
511
  "gpt-5.4-mini": "GPT-5.4 Mini",
@@ -518,6 +521,7 @@ var MODEL_LABELS = {
518
521
  [CLAUDE_OPUS_4_8_MODEL]: "Opus 4.8",
519
522
  "claude-opus-4-7": "Opus 4.7",
520
523
  [CLAUDE_HAIKU_4_5_MODEL]: "Haiku 4.5",
524
+ "gemini-3.8-flash": "Gemini 3.8 Flash",
521
525
  "gemini-3.1-pro": "Gemini 3.1 Pro",
522
526
  "gemini-3-flash": "Gemini 3 Flash",
523
527
  "grok-4.6": "Grok 4.6",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  mayCreatePullRequest
4
- } from "./chunk-Y22KEEKB.js";
4
+ } from "./chunk-QPGCAIVX.js";
5
5
 
6
6
  // src/services/post-tool-pr-notifier.ts
7
7
  async function notifyPostToolUse(toolName, toolInput) {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  evaluateCommandProtection
4
- } from "./chunk-6BLBZSQ5.js";
4
+ } from "./chunk-DOEGSH3H.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-Y22KEEKB.js";
8
+ import "./chunk-QPGCAIVX.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-6BLBZSQ5.js";
4
+ } from "./chunk-DOEGSH3H.js";
5
5
  import {
6
6
  notifyPostToolUse
7
- } from "./chunk-S62ADFCN.js";
7
+ } from "./chunk-S6MWG65W.js";
8
8
  import "./chunk-2RB7SIP3.js";
9
- import "./chunk-Y22KEEKB.js";
9
+ import "./chunk-QPGCAIVX.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-MICZ3XPR.js";
7
+ } from "./chunk-LTGHLUHS.js";
8
8
  import {
9
9
  AGENT,
10
10
  getMemoryOutputSafetyViolation,
11
11
  headlessAgentRequestSchema
12
- } from "./chunk-Y22KEEKB.js";
12
+ } from "./chunk-QPGCAIVX.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-6BLBZSQ5.js";
11
+ } from "./chunk-DOEGSH3H.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-MICZ3XPR.js";
38
+ } from "./chunk-LTGHLUHS.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-Y22KEEKB.js";
219
+ } from "./chunk-QPGCAIVX.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-S62ADFCN.js";
4
+ } from "./chunk-S6MWG65W.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-Y22KEEKB.js";
8
+ import "./chunk-QPGCAIVX.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.727",
3
+ "version": "0.1.728",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",