@synkro-sh/cli 1.4.27 → 1.4.28

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
@@ -719,7 +719,7 @@ if [ "$ROUTE" = "local" ]; then
719
719
  if [ "$IS_HEADLESS" = "1" ]; then DEC="deny"; else DEC="ask"; fi
720
720
  REASON="[synkro:local] bashGuard \u2192 block\${LOCAL_RULE_ID:+ ($LOCAL_RULE_ID)}: \${LOCAL_REASON:-policy violation}"
721
721
  jq -n --arg dec "$DEC" --arg reason "$REASON" --arg ctx "$REASON" \\
722
- '{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:$dec,permissionDecisionReason:$reason,additionalContext:$ctx}}'
722
+ '{systemMessage:$reason,hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:$dec,permissionDecisionReason:$reason,additionalContext:$ctx}}'
723
723
  synkro_capture_local "bash" "block" "\${LOCAL_SEV}" "\${LOCAL_CAT}" "$TOOL_NAME" "$GIT_REPO" "$SESSION_ID"
724
724
  fi
725
725
  fi
@@ -3686,7 +3686,7 @@ function writeConfigEnv(opts) {
3686
3686
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
3687
3687
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
3688
3688
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
3689
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.27")}`
3689
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.28")}`
3690
3690
  ];
3691
3691
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
3692
3692
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);