@synkro-sh/cli 1.4.81 → 1.4.82

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
@@ -2699,6 +2699,7 @@ async function main() {
2699
2699
  main();
2700
2700
  `;
2701
2701
  BASH_JUDGE_TS = `#!/usr/bin/env bun
2702
+ import process from 'node:process';
2702
2703
  import {
2703
2704
  loadJwt, ensureFreshJwt, detectRepo, loadConfig, route, tag, localGrade,
2704
2705
  parseVerdict, dispatchCapture, dispatchFinding, ruleMode, postWithRetry, readStdin,
@@ -2815,7 +2816,7 @@ Do NOT install packages with security risks. Use a patched version or a differen
2815
2816
  dispatchFinding(jwt, {
2816
2817
  session_id: sessionId,
2817
2818
  file_path: command,
2818
- finding_type: s.type === 'cve' ? 'cve' : 'pkg',
2819
+ finding_type: 'cve' as const,
2819
2820
  finding_id: s.type + ':' + p.name,
2820
2821
  severity: s.severity,
2821
2822
  status: 'open',
@@ -6397,7 +6398,7 @@ function writeConfigEnv(opts) {
6397
6398
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
6398
6399
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
6399
6400
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
6400
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.81")}`
6401
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.82")}`
6401
6402
  ];
6402
6403
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
6403
6404
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);