@synkro-sh/cli 1.4.17 → 1.4.18

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
@@ -547,6 +547,7 @@ synkro_parse_local_verdict() {
547
547
  ok_tag=$(printf '%s' "$inner" | sed -nE 's|.*<ok>(.*)</ok>.*|\\1|p' | head -1)
548
548
  [ -n "$ok_tag" ] && LOCAL_OK="$ok_tag"
549
549
  LOCAL_REASON=$(printf '%s' "$inner" | sed -nE 's|.*<reason>(.*)</reason>.*|\\1|p' | head -1)
550
+ [ -z "$LOCAL_REASON" ] && LOCAL_REASON=$(printf '%s' "$inner" | sed -nE 's|.*<reasoning>(.*)</reasoning>.*|\\1|p' | head -1)
550
551
  if [ "$LOCAL_OK" = "false" ]; then
551
552
  local fv
552
553
  fv=$(printf '%s' "$inner" | awk -v RS='</violation>' '/<violation>/{print; exit}')
@@ -3601,7 +3602,7 @@ function writeConfigEnv(opts) {
3601
3602
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
3602
3603
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
3603
3604
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
3604
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.17")}`
3605
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.18")}`
3605
3606
  ];
3606
3607
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
3607
3608
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);