@synkro-sh/cli 1.6.49 → 1.6.50

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
@@ -8647,7 +8647,7 @@ function writeConfigEnv(opts) {
8647
8647
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
8648
8648
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
8649
8649
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
8650
- `SYNKRO_VERSION=${shellQuoteSingle("1.6.49")}`
8650
+ `SYNKRO_VERSION=${shellQuoteSingle("1.6.50")}`
8651
8651
  ];
8652
8652
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
8653
8653
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
@@ -8830,8 +8830,8 @@ async function installCommand(opts = {}) {
8830
8830
  let agents;
8831
8831
  let gradingMode;
8832
8832
  let storageMode;
8833
- let transcriptCC = true;
8834
- let transcriptCursor = true;
8833
+ let transcriptCC = false;
8834
+ let transcriptCursor = false;
8835
8835
  if (existingSynkro) {
8836
8836
  const wantCC = existingSynkro.harness.includes("claude-code");
8837
8837
  const wantCursor = existingSynkro.harness.includes("cursor");
@@ -8841,8 +8841,6 @@ async function installCommand(opts = {}) {
8841
8841
  if (agents.length === 0 && detected.length > 0) agents = detected;
8842
8842
  gradingMode = existingSynkro.grader.mode === "byok" ? "byok" : "local";
8843
8843
  storageMode = "local";
8844
- transcriptCC = agents.some((a) => a.kind === "claude_code");
8845
- transcriptCursor = agents.some((a) => a.kind === "cursor");
8846
8844
  console.log(`Using .synkro config:`);
8847
8845
  console.log(` harness: ${existingSynkro.harness.join(", ")}`);
8848
8846
  console.log(` grading: ${gradingMode} pool: ${existingSynkro.grader.pool}`);
@@ -8873,18 +8871,23 @@ async function installCommand(opts = {}) {
8873
8871
  console.log(" BYOK grading uses your own provider key \u2014 register one in the");
8874
8872
  console.log(" dashboard under Settings \u2192 Provider Keys if you have not already.\n");
8875
8873
  }
8874
+ }
8875
+ {
8876
8876
  const wantCC = agents.some((a) => a.kind === "claude_code");
8877
8877
  const wantCursor = agents.some((a) => a.kind === "cursor");
8878
- if (process.stdin.isTTY) {
8878
+ if ((wantCC || wantCursor) && process.stdin.isTTY) {
8879
8879
  const src = await promptTranscriptSources(wantCC, wantCursor);
8880
8880
  transcriptCC = src.cc;
8881
8881
  transcriptCursor = src.cursor;
8882
8882
  const chosen = [src.cc && "Claude Code", src.cursor && "Cursor"].filter(Boolean).join(" + ");
8883
8883
  console.log(chosen ? ` \u2713 Session import: ${chosen}
8884
8884
  ` : " \u2717 Session import skipped\n");
8885
- } else {
8885
+ } else if ((wantCC || wantCursor) && process.env.SYNKRO_IMPORT_TRANSCRIPTS === "yes") {
8886
8886
  transcriptCC = wantCC;
8887
8887
  transcriptCursor = wantCursor;
8888
+ console.log(" \u2713 Session import: SYNKRO_IMPORT_TRANSCRIPTS=yes\n");
8889
+ } else if (!process.stdin.isTTY) {
8890
+ console.log(" \u2717 Session import skipped (non-interactive; set SYNKRO_IMPORT_TRANSCRIPTS=yes to opt in)\n");
8888
8891
  }
8889
8892
  }
8890
8893
  const transcriptConsent = transcriptCC || transcriptCursor;
@@ -11836,7 +11839,7 @@ var args = process.argv.slice(2);
11836
11839
  var cmd = args[0] || "";
11837
11840
  var subArgs = args.slice(1);
11838
11841
  function printVersion() {
11839
- console.log("1.6.49");
11842
+ console.log("1.6.50");
11840
11843
  }
11841
11844
  function printHelp2() {
11842
11845
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents