replicas-engine 0.1.564 → 0.1.566

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
@@ -3435,12 +3435,6 @@ function findPrMergeSignals(request) {
3435
3435
  ];
3436
3436
  return checks.flatMap(([name, pattern]) => pattern.test(combined) ? [name] : []);
3437
3437
  }
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
3438
 
3445
3439
  // ../shared/src/routes/workspaces.ts
3446
3440
  var WORKSPACE_STATUSES = ["active", "sleeping", "archived", "preparing", "error"];
@@ -8967,7 +8961,7 @@ function failClosed(reason, matchedSignals) {
8967
8961
  };
8968
8962
  }
8969
8963
  async function evaluateCommandProtection(request, signal) {
8970
- const matchedSignals = [...findGitCommitSignals(request), ...findPrMergeSignals(request)];
8964
+ const matchedSignals = findPrMergeSignals(request);
8971
8965
  if (matchedSignals.length === 0) {
8972
8966
  return { allowed: true, enabled: true };
8973
8967
  }
@@ -10735,7 +10729,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
10735
10729
  var MIN_CODEX_CLI_VERSION = "0.144.6";
10736
10730
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
10737
10731
  var codexCliVersionEnsured = null;
10738
- var ENGINE_PACKAGE_VERSION = "0.1.564";
10732
+ var ENGINE_PACKAGE_VERSION = "0.1.566";
10739
10733
  var INITIALIZE_METHOD = "initialize";
10740
10734
  var INITIALIZED_NOTIFICATION = "initialized";
10741
10735
  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.564",
3
+ "version": "0.1.566",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",