@haven_ai/connect 0.0.0-dev.202609141609.ad8a780 → 0.0.0-dev.202609141716.8d45549

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/cli.cjs CHANGED
@@ -557,9 +557,9 @@ var init_runtime_manifest = __esm({
557
557
  mcpPackage: "@haven_ai/mcp",
558
558
  mcpVersion: mcp.MCP_VERSION,
559
559
  sdkPackage: "@haven_ai/sdk",
560
- sdkVersion: "0.0.0-dev.202609141609.ad8a780",
560
+ sdkVersion: "0.0.0-dev.202609141716.8d45549",
561
561
  signerPackage: "@haven_ai/signer",
562
- signerVersion: "0.0.0-dev.202609141609.ad8a780",
562
+ signerVersion: "0.0.0-dev.202609141716.8d45549",
563
563
  // Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
564
564
  // while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
565
565
  // so the guard that was supposed to enforce the floor waved Node v23 through
@@ -3715,14 +3715,17 @@ async function checksForAgent(entry, input, deps) {
3715
3715
  ...matches ? {} : { repair: `Run: ${RERUN} --doctor --repair --runtime ${input.runtime} with the same HAVEN_*_SPEC variables set.` }
3716
3716
  });
3717
3717
  } else {
3718
- const matches = await installedRuntimeMatches(sidecar.runtime_directory, sidecar.cli_path);
3718
+ const intact = await installedRuntimeMatchesVersions(sidecar.runtime_directory, sidecar.cli_path, {
3719
+ signerVersion: sidecar.signer_version,
3720
+ sdkVersion: sidecar.sdk_version
3721
+ });
3719
3722
  const versionOk = sidecar.signer_version === MCP_RUNTIME_MANIFEST.signerVersion;
3720
- const ok = matches && versionOk;
3723
+ const ok = intact && versionOk;
3721
3724
  checks.push({
3722
3725
  id: "signer_runtime",
3723
3726
  label: "Signer runtime (preinstalled wrapper)",
3724
3727
  ok,
3725
- detail: ok ? `Installed ${sidecar.signer_package}@${sidecar.signer_version} at ${sidecar.runtime_directory}` : matches ? `Installed version ${sidecar.signer_version} does not match the connector's pinned ${MCP_RUNTIME_MANIFEST.signerVersion}.` : `Runtime directory is stale or empty (${sidecar.runtime_directory}) \u2014 the CLI or package versions are missing.`,
3728
+ detail: ok ? `Installed ${sidecar.signer_package}@${sidecar.signer_version} at ${sidecar.runtime_directory}` : intact ? `Installed version ${sidecar.signer_version} does not match the connector's pinned ${MCP_RUNTIME_MANIFEST.signerVersion} \u2014 intact, but outdated.` : `Runtime directory is stale or empty (${sidecar.runtime_directory}) \u2014 the CLI or package versions are missing.`,
3726
3729
  ...ok ? {} : { repair: `Run: ${RERUN} --doctor --repair --runtime ${input.runtime}` }
3727
3730
  });
3728
3731
  }
@@ -4425,7 +4428,7 @@ async function pathExists2(path) {
4425
4428
  init_unwire();
4426
4429
  init_local_mcp_runtime();
4427
4430
  init_runtime_manifest();
4428
- var CONNECTOR_VERSION = "0.0.0-dev.202609141609.ad8a780";
4431
+ var CONNECTOR_VERSION = "0.0.0-dev.202609141716.8d45549";
4429
4432
  var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
4430
4433
  var failureOutcomesByError = /* @__PURE__ */ new WeakMap();
4431
4434
  function failureOutcomeFor(runtimeHint, error) {