replicas-engine 0.1.565 → 0.1.567

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/index.js CHANGED
@@ -2793,8 +2793,11 @@ var DEFAULT_RELAY_SUBAGENT_PROVIDERS = [...VALID_RELAY_SUBAGENT_PROVIDERS];
2793
2793
  var DEFAULT_USER_PREFERENCES = {
2794
2794
  default_agent: "codex",
2795
2795
  default_model: null,
2796
+ claude_models: null,
2797
+ codex_models: null,
2796
2798
  cursor_models: null,
2797
2799
  openrouter_models: null,
2800
+ relay_models: null,
2798
2801
  close_workspace_on_pr_close: true,
2799
2802
  close_workspace_on_pr_merge: true,
2800
2803
  default_environment_id: null,
@@ -3435,12 +3438,6 @@ function findPrMergeSignals(request) {
3435
3438
  ];
3436
3439
  return checks.flatMap(([name, pattern]) => pattern.test(combined) ? [name] : []);
3437
3440
  }
3438
- function findGitCommitSignals(request) {
3439
- const command = normalizeCommandProtectionText(
3440
- extractCommandProtectionCommandText(request, { stringifyFallback: true }) ?? ""
3441
- );
3442
- return /\bgit\s+(?:-[^\s]+\s+)*commit\b/.test(command) ? ["git-commit"] : [];
3443
- }
3444
3441
 
3445
3442
  // ../shared/src/routes/workspaces.ts
3446
3443
  var WORKSPACE_STATUSES = ["active", "sleeping", "archived", "preparing", "error"];
@@ -8967,7 +8964,7 @@ function failClosed(reason, matchedSignals) {
8967
8964
  };
8968
8965
  }
8969
8966
  async function evaluateCommandProtection(request, signal) {
8970
- const matchedSignals = [...findGitCommitSignals(request), ...findPrMergeSignals(request)];
8967
+ const matchedSignals = findPrMergeSignals(request);
8971
8968
  if (matchedSignals.length === 0) {
8972
8969
  return { allowed: true, enabled: true };
8973
8970
  }
@@ -10735,7 +10732,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
10735
10732
  var MIN_CODEX_CLI_VERSION = "0.144.6";
10736
10733
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
10737
10734
  var codexCliVersionEnsured = null;
10738
- var ENGINE_PACKAGE_VERSION = "0.1.565";
10735
+ var ENGINE_PACKAGE_VERSION = "0.1.567";
10739
10736
  var INITIALIZE_METHOD = "initialize";
10740
10737
  var INITIALIZED_NOTIFICATION = "initialized";
10741
10738
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.565",
3
+ "version": "0.1.567",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",