@synkro-sh/cli 1.3.52 → 1.3.53

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
@@ -3598,8 +3598,8 @@ function captureClaudeSetupToken() {
3598
3598
  reject(new Error(`claude setup-token exited with code ${code}`));
3599
3599
  return;
3600
3600
  }
3601
- const stripped = stdout.replace(/\x1b\[[0-9;]*[A-Za-z]/g, "").replace(/\x1b\][^\x07]*\x07/g, "").replace(/\x1b\][^\x1b]*/g, "").replace(/\x1b[^[\]A-Za-z0-9]*/g, "").replace(/[\r\n\s]+/g, "");
3602
- const match = stripped.match(/sk-ant-oat01-[A-Za-z0-9_-]+AAA/);
3601
+ const stripped = stdout.replace(/\x1B\[[0-9;]*[A-Za-z]|\x1B\][^\x07]*\x07/g, "");
3602
+ const match = stripped.replace(/\s/g, "").match(/sk-ant-oat01-[A-Za-z0-9_-]+AAA/);
3603
3603
  if (!match) {
3604
3604
  reject(new Error("Could not find token in claude setup-token output"));
3605
3605
  return;
@@ -3974,7 +3974,7 @@ function writeConfigEnv(opts) {
3974
3974
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
3975
3975
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
3976
3976
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
3977
- `SYNKRO_VERSION=${shellQuoteSingle("1.3.52")}`
3977
+ `SYNKRO_VERSION=${shellQuoteSingle("1.3.53")}`
3978
3978
  ];
3979
3979
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
3980
3980
  if (safeOrgId) lines.push(`SYNKRO_ORG_ID=${shellQuoteSingle(safeOrgId)}`);