@synkro-sh/cli 1.7.72 → 1.7.73

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
@@ -132,7 +132,7 @@ function getIdentity() {
132
132
  if (cached2) return cached2;
133
133
  let cliVersion = "0.0.0";
134
134
  try {
135
- cliVersion = "1.7.72";
135
+ cliVersion = "1.7.73";
136
136
  } catch {
137
137
  }
138
138
  const creds = loadCredentialsIdentity();
@@ -6488,7 +6488,7 @@ function writeConfigEnv(opts) {
6488
6488
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle2(credsPath)}`,
6489
6489
  `SYNKRO_TIER=${shellQuoteSingle2(safeTier)}`,
6490
6490
  `SYNKRO_INFERENCE=${shellQuoteSingle2(safeInference)}`,
6491
- `SYNKRO_VERSION=${shellQuoteSingle2("1.7.72")}`
6491
+ `SYNKRO_VERSION=${shellQuoteSingle2("1.7.73")}`
6492
6492
  ];
6493
6493
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle2(safeSynkroBin)}`);
6494
6494
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle2(safeUserId)}`);
@@ -7148,7 +7148,7 @@ async function installCommand(opts = {}) {
7148
7148
  await setTelemetryState({ enabled: true, remoteFlushEnabled: telemetryConsent });
7149
7149
  emit("install", {
7150
7150
  phase: "started",
7151
- cli_version_to: "1.7.72",
7151
+ cli_version_to: "1.7.73",
7152
7152
  agents_detected: agents.map((a) => a.kind),
7153
7153
  with_github: false,
7154
7154
  with_local_cc: false,
@@ -10593,6 +10593,12 @@ async function updateCommand() {
10593
10593
  console.error("\n\u26A0 container did not pass its health check within 90s \u2014 check: docker logs synkro-server");
10594
10594
  process.exit(1);
10595
10595
  }
10596
+ try {
10597
+ writeHookScripts();
10598
+ console.log(" refreshed hook scripts");
10599
+ } catch (e) {
10600
+ console.warn(` \u26A0 could not refresh hook scripts: ${e.message} \u2014 run \`synkro install\` to update them`);
10601
+ }
10596
10602
  console.log("\nSynkro updated \u2014 now running the latest version.");
10597
10603
  }
10598
10604
  async function restartCommand(rest = []) {
@@ -11044,7 +11050,7 @@ var subArgs = args.slice(1);
11044
11050
  var isDetachedChild = process.env.SYNKRO_TELEMETRY_DETACHED === "1";
11045
11051
  var FLUSH_SKIP = /* @__PURE__ */ new Set(["grade", "version", "--version", "-v", "help", "--help", "-h", ""]);
11046
11052
  function printVersion() {
11047
- console.log("1.7.72");
11053
+ console.log("1.7.73");
11048
11054
  }
11049
11055
  function printHelp2() {
11050
11056
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents