@synkro-sh/cli 1.6.77 → 1.6.78

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/bootstrap.js CHANGED
@@ -2073,6 +2073,12 @@ interface SessionAction {
2073
2073
  outcome?: string;
2074
2074
  }
2075
2075
 
2076
+ // True when the grader runs in Synkro Cloud (CF Containers) vs the on-device
2077
+ // container. Defined here in the FULL common module too \u2014 it's referenced by
2078
+ // appendSessionAction/dispatch helpers below; previously it lived only in the
2079
+ // stub common, so the real editGuard hook hit a ReferenceError in cloud mode.
2080
+ function deployIsCloud(): boolean { return process.env.SYNKRO_DEPLOY_LOCATION === 'cloud'; }
2081
+
2076
2082
  function sessionLogPath(sessionId: string): string | null {
2077
2083
  if (!sessionId || !SAFE_SESSION_ID.test(sessionId)) return null;
2078
2084
  return join(SESSIONS_DIR, sessionId + '.jsonl');
@@ -10670,7 +10676,7 @@ function writeConfigEnv(opts) {
10670
10676
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
10671
10677
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
10672
10678
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
10673
- `SYNKRO_VERSION=${shellQuoteSingle("1.6.77")}`
10679
+ `SYNKRO_VERSION=${shellQuoteSingle("1.6.78")}`
10674
10680
  ];
10675
10681
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
10676
10682
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
@@ -14345,7 +14351,7 @@ var args = process.argv.slice(2);
14345
14351
  var cmd = args[0] || "";
14346
14352
  var subArgs = args.slice(1);
14347
14353
  function printVersion() {
14348
- console.log("1.6.77");
14354
+ console.log("1.6.78");
14349
14355
  }
14350
14356
  function printHelp2() {
14351
14357
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents