@haven_ai/connect 0.0.0-dev.202609302154.4257f3c → 0.0.0-dev.202609302247.f2e8289

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
@@ -620,9 +620,9 @@ var init_runtime_manifest = __esm({
620
620
  mcpPackage: "@haven_ai/mcp",
621
621
  mcpVersion: mcp.MCP_VERSION,
622
622
  sdkPackage: "@haven_ai/sdk",
623
- sdkVersion: "0.0.0-dev.202609302154.4257f3c",
623
+ sdkVersion: "0.0.0-dev.202609302247.f2e8289",
624
624
  signerPackage: "@haven_ai/signer",
625
- signerVersion: "0.0.0-dev.202609302154.4257f3c",
625
+ signerVersion: "0.0.0-dev.202609302247.f2e8289",
626
626
  // Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
627
627
  // while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
628
628
  // so the guard that was supposed to enforce the floor waved Node v23 through
@@ -4451,7 +4451,7 @@ var init_runtime = __esm({
4451
4451
  init_tombstone();
4452
4452
  init_local_mcp_runtime();
4453
4453
  init_runtime_manifest();
4454
- CONNECTOR_VERSION = "0.0.0-dev.202609302154.4257f3c";
4454
+ CONNECTOR_VERSION = "0.0.0-dev.202609302247.f2e8289";
4455
4455
  CONNECTOR_CLIENT_IDENTITY = `@haven_ai/connect/${CONNECTOR_VERSION}`;
4456
4456
  CONNECT_OUTCOME_SCHEMA_VERSION = 1;
4457
4457
  failureOutcomesByError = /* @__PURE__ */ new WeakMap();
@@ -4976,19 +4976,18 @@ async function discoverCredentialDirectory(homeDir, explicit) {
4976
4976
  const parkedOnly = [];
4977
4977
  for (const entry of entries) {
4978
4978
  const directory = path.join(root, entry);
4979
+ if (await pathExists3(path.join(directory, TOMBSTONE_FILENAME))) {
4980
+ tombstonedOnly.push(directory);
4981
+ continue;
4982
+ }
4979
4983
  try {
4980
4984
  const s = await promises.stat(path.join(directory, "identity.json"));
4981
4985
  candidates.push({ directory, mtimeMs: s.mtimeMs });
4982
4986
  } catch {
4983
4987
  try {
4984
- await promises.stat(path.join(directory, TOMBSTONE_FILENAME));
4985
- tombstonedOnly.push(directory);
4988
+ await promises.stat(path.join(directory, REKEY_PENDING_FILENAME));
4989
+ parkedOnly.push(directory);
4986
4990
  } catch {
4987
- try {
4988
- await promises.stat(path.join(directory, REKEY_PENDING_FILENAME));
4989
- parkedOnly.push(directory);
4990
- } catch {
4991
- }
4992
4991
  }
4993
4992
  }
4994
4993
  }