@synkro-sh/cli 1.4.24 → 1.4.25

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
@@ -709,7 +709,7 @@ if [ "$ROUTE" = "local" ]; then
709
709
  if [ "$IS_HEADLESS" = "1" ]; then DEC="deny"; else DEC="ask"; fi
710
710
  REASON="[synkro:local] bashGuard \u2192 block\${LOCAL_RULE_ID:+ ($LOCAL_RULE_ID)}: \${LOCAL_REASON:-policy violation}"
711
711
  jq -n --arg dec "$DEC" --arg reason "$REASON" --arg ctx "$REASON" \\
712
- '{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:$dec,permissionDecisionReason:$reason,additionalContext:$ctx}}'
712
+ '{systemMessage:$reason,hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:$dec,permissionDecisionReason:$reason,additionalContext:$ctx}}'
713
713
  synkro_capture_local "bash" "block" "\${LOCAL_SEV}" "\${LOCAL_CAT}" "$TOOL_NAME" "$GIT_REPO" "$SESSION_ID"
714
714
  fi
715
715
  fi
@@ -3669,7 +3669,7 @@ function writeConfigEnv(opts) {
3669
3669
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
3670
3670
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
3671
3671
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
3672
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.24")}`
3672
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.25")}`
3673
3673
  ];
3674
3674
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
3675
3675
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);