@haven_ai/connect 0.7.0-alpha.0 → 0.8.1-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/README.md +5 -4
- package/dist/cli.cjs +9 -10
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +9 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +9 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -613,9 +613,9 @@ var init_runtime_manifest = __esm({
|
|
|
613
613
|
mcpPackage: "@haven_ai/mcp",
|
|
614
614
|
mcpVersion: MCP_VERSION,
|
|
615
615
|
sdkPackage: "@haven_ai/sdk",
|
|
616
|
-
sdkVersion: "0.
|
|
616
|
+
sdkVersion: "0.8.1-alpha.0",
|
|
617
617
|
signerPackage: "@haven_ai/signer",
|
|
618
|
-
signerVersion: "0.
|
|
618
|
+
signerVersion: "0.8.1-alpha.0",
|
|
619
619
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
620
620
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
621
621
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -4444,7 +4444,7 @@ var init_runtime = __esm({
|
|
|
4444
4444
|
init_tombstone();
|
|
4445
4445
|
init_local_mcp_runtime();
|
|
4446
4446
|
init_runtime_manifest();
|
|
4447
|
-
CONNECTOR_VERSION = "0.
|
|
4447
|
+
CONNECTOR_VERSION = "0.8.1-alpha.0";
|
|
4448
4448
|
CONNECTOR_CLIENT_IDENTITY = `@haven_ai/connect/${CONNECTOR_VERSION}`;
|
|
4449
4449
|
CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
4450
4450
|
failureOutcomesByError = /* @__PURE__ */ new WeakMap();
|
|
@@ -4969,19 +4969,18 @@ async function discoverCredentialDirectory(homeDir, explicit) {
|
|
|
4969
4969
|
const parkedOnly = [];
|
|
4970
4970
|
for (const entry of entries) {
|
|
4971
4971
|
const directory = join(root, entry);
|
|
4972
|
+
if (await pathExists3(join(directory, TOMBSTONE_FILENAME))) {
|
|
4973
|
+
tombstonedOnly.push(directory);
|
|
4974
|
+
continue;
|
|
4975
|
+
}
|
|
4972
4976
|
try {
|
|
4973
4977
|
const s = await stat(join(directory, "identity.json"));
|
|
4974
4978
|
candidates.push({ directory, mtimeMs: s.mtimeMs });
|
|
4975
4979
|
} catch {
|
|
4976
4980
|
try {
|
|
4977
|
-
await stat(join(directory,
|
|
4978
|
-
|
|
4981
|
+
await stat(join(directory, REKEY_PENDING_FILENAME));
|
|
4982
|
+
parkedOnly.push(directory);
|
|
4979
4983
|
} catch {
|
|
4980
|
-
try {
|
|
4981
|
-
await stat(join(directory, REKEY_PENDING_FILENAME));
|
|
4982
|
-
parkedOnly.push(directory);
|
|
4983
|
-
} catch {
|
|
4984
|
-
}
|
|
4985
4984
|
}
|
|
4986
4985
|
}
|
|
4987
4986
|
}
|