@haven_ai/connect 0.7.0-alpha.0 → 0.8.0-alpha.0

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/index.d.cts CHANGED
@@ -743,7 +743,7 @@ type WiringCollisionResolution = {
743
743
  action: 'abort';
744
744
  };
745
745
 
746
- declare const CONNECTOR_VERSION = "0.7.0-alpha.0";
746
+ declare const CONNECTOR_VERSION = "0.8.0-alpha.0";
747
747
  interface ConnectOptions {
748
748
  setupToken: string;
749
749
  apiBaseUrl: string;
@@ -1194,11 +1194,11 @@ declare function isConnectError(err: unknown): err is ConnectError;
1194
1194
 
1195
1195
  declare const MCP_RUNTIME_MANIFEST: {
1196
1196
  readonly mcpPackage: "@haven_ai/mcp";
1197
- readonly mcpVersion: "0.7.0-alpha.0";
1197
+ readonly mcpVersion: "0.8.0-alpha.0";
1198
1198
  readonly sdkPackage: "@haven_ai/sdk";
1199
- readonly sdkVersion: "0.7.0-alpha.0";
1199
+ readonly sdkVersion: "0.8.0-alpha.0";
1200
1200
  readonly signerPackage: "@haven_ai/signer";
1201
- readonly signerVersion: "0.7.0-alpha.0";
1201
+ readonly signerVersion: "0.8.0-alpha.0";
1202
1202
  readonly minimumNodeVersion: "22.0.0";
1203
1203
  readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
1204
1204
  readonly requiredTools: readonly string[];
package/dist/index.d.ts CHANGED
@@ -743,7 +743,7 @@ type WiringCollisionResolution = {
743
743
  action: 'abort';
744
744
  };
745
745
 
746
- declare const CONNECTOR_VERSION = "0.7.0-alpha.0";
746
+ declare const CONNECTOR_VERSION = "0.8.0-alpha.0";
747
747
  interface ConnectOptions {
748
748
  setupToken: string;
749
749
  apiBaseUrl: string;
@@ -1194,11 +1194,11 @@ declare function isConnectError(err: unknown): err is ConnectError;
1194
1194
 
1195
1195
  declare const MCP_RUNTIME_MANIFEST: {
1196
1196
  readonly mcpPackage: "@haven_ai/mcp";
1197
- readonly mcpVersion: "0.7.0-alpha.0";
1197
+ readonly mcpVersion: "0.8.0-alpha.0";
1198
1198
  readonly sdkPackage: "@haven_ai/sdk";
1199
- readonly sdkVersion: "0.7.0-alpha.0";
1199
+ readonly sdkVersion: "0.8.0-alpha.0";
1200
1200
  readonly signerPackage: "@haven_ai/signer";
1201
- readonly signerVersion: "0.7.0-alpha.0";
1201
+ readonly signerVersion: "0.8.0-alpha.0";
1202
1202
  readonly minimumNodeVersion: "22.0.0";
1203
1203
  readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
1204
1204
  readonly requiredTools: readonly string[];
package/dist/index.js CHANGED
@@ -612,9 +612,9 @@ var init_runtime_manifest = __esm({
612
612
  mcpPackage: "@haven_ai/mcp",
613
613
  mcpVersion: MCP_VERSION,
614
614
  sdkPackage: "@haven_ai/sdk",
615
- sdkVersion: "0.7.0-alpha.0",
615
+ sdkVersion: "0.8.0-alpha.0",
616
616
  signerPackage: "@haven_ai/signer",
617
- signerVersion: "0.7.0-alpha.0",
617
+ signerVersion: "0.8.0-alpha.0",
618
618
  // Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
619
619
  // while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
620
620
  // so the guard that was supposed to enforce the floor waved Node v23 through
@@ -4443,7 +4443,7 @@ var init_runtime = __esm({
4443
4443
  init_tombstone();
4444
4444
  init_local_mcp_runtime();
4445
4445
  init_runtime_manifest();
4446
- CONNECTOR_VERSION = "0.7.0-alpha.0";
4446
+ CONNECTOR_VERSION = "0.8.0-alpha.0";
4447
4447
  CONNECTOR_CLIENT_IDENTITY = `@haven_ai/connect/${CONNECTOR_VERSION}`;
4448
4448
  CONNECT_OUTCOME_SCHEMA_VERSION = 1;
4449
4449
  failureOutcomesByError = /* @__PURE__ */ new WeakMap();
@@ -4968,19 +4968,18 @@ async function discoverCredentialDirectory(homeDir, explicit) {
4968
4968
  const parkedOnly = [];
4969
4969
  for (const entry of entries) {
4970
4970
  const directory = join(root, entry);
4971
+ if (await pathExists3(join(directory, TOMBSTONE_FILENAME))) {
4972
+ tombstonedOnly.push(directory);
4973
+ continue;
4974
+ }
4971
4975
  try {
4972
4976
  const s = await stat(join(directory, "identity.json"));
4973
4977
  candidates.push({ directory, mtimeMs: s.mtimeMs });
4974
4978
  } catch {
4975
4979
  try {
4976
- await stat(join(directory, TOMBSTONE_FILENAME));
4977
- tombstonedOnly.push(directory);
4980
+ await stat(join(directory, REKEY_PENDING_FILENAME));
4981
+ parkedOnly.push(directory);
4978
4982
  } catch {
4979
- try {
4980
- await stat(join(directory, REKEY_PENDING_FILENAME));
4981
- parkedOnly.push(directory);
4982
- } catch {
4983
- }
4984
4983
  }
4985
4984
  }
4986
4985
  }