@haven_ai/connect 0.1.17-alpha.0 → 0.1.18-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/cli.cjs +9 -4
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +9 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +9 -4
- 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 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
package/dist/index.d.cts
CHANGED
|
@@ -264,7 +264,7 @@ declare function runtimeInstallCapabilities(runtime: string | undefined, env?: N
|
|
|
264
264
|
restartRequired: boolean;
|
|
265
265
|
};
|
|
266
266
|
|
|
267
|
-
declare const CONNECTOR_VERSION = "0.1.
|
|
267
|
+
declare const CONNECTOR_VERSION = "0.1.18-alpha.0";
|
|
268
268
|
interface ConnectOptions {
|
|
269
269
|
setupToken: string;
|
|
270
270
|
apiBaseUrl: string;
|
|
@@ -305,11 +305,11 @@ declare function shortAddress(address: string): string;
|
|
|
305
305
|
|
|
306
306
|
declare const MCP_RUNTIME_MANIFEST: {
|
|
307
307
|
readonly mcpPackage: "@haven_ai/mcp";
|
|
308
|
-
readonly mcpVersion: "0.1.
|
|
308
|
+
readonly mcpVersion: "0.1.18-alpha.0";
|
|
309
309
|
readonly sdkPackage: "@haven_ai/sdk";
|
|
310
|
-
readonly sdkVersion: "0.1.
|
|
310
|
+
readonly sdkVersion: "0.1.18-alpha.0";
|
|
311
311
|
readonly signerPackage: "@haven_ai/signer";
|
|
312
|
-
readonly signerVersion: "0.1.
|
|
312
|
+
readonly signerVersion: "0.1.18-alpha.0";
|
|
313
313
|
readonly minimumNodeVersion: "20.0.0";
|
|
314
314
|
readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
|
|
315
315
|
readonly requiredTools: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ declare function runtimeInstallCapabilities(runtime: string | undefined, env?: N
|
|
|
264
264
|
restartRequired: boolean;
|
|
265
265
|
};
|
|
266
266
|
|
|
267
|
-
declare const CONNECTOR_VERSION = "0.1.
|
|
267
|
+
declare const CONNECTOR_VERSION = "0.1.18-alpha.0";
|
|
268
268
|
interface ConnectOptions {
|
|
269
269
|
setupToken: string;
|
|
270
270
|
apiBaseUrl: string;
|
|
@@ -305,11 +305,11 @@ declare function shortAddress(address: string): string;
|
|
|
305
305
|
|
|
306
306
|
declare const MCP_RUNTIME_MANIFEST: {
|
|
307
307
|
readonly mcpPackage: "@haven_ai/mcp";
|
|
308
|
-
readonly mcpVersion: "0.1.
|
|
308
|
+
readonly mcpVersion: "0.1.18-alpha.0";
|
|
309
309
|
readonly sdkPackage: "@haven_ai/sdk";
|
|
310
|
-
readonly sdkVersion: "0.1.
|
|
310
|
+
readonly sdkVersion: "0.1.18-alpha.0";
|
|
311
311
|
readonly signerPackage: "@haven_ai/signer";
|
|
312
|
-
readonly signerVersion: "0.1.
|
|
312
|
+
readonly signerVersion: "0.1.18-alpha.0";
|
|
313
313
|
readonly minimumNodeVersion: "20.0.0";
|
|
314
314
|
readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
|
|
315
315
|
readonly requiredTools: readonly string[];
|
package/dist/index.js
CHANGED
|
@@ -229,9 +229,9 @@ var MCP_RUNTIME_MANIFEST = {
|
|
|
229
229
|
mcpPackage: "@haven_ai/mcp",
|
|
230
230
|
mcpVersion: MCP_VERSION,
|
|
231
231
|
sdkPackage: "@haven_ai/sdk",
|
|
232
|
-
sdkVersion: "0.1.
|
|
232
|
+
sdkVersion: "0.1.18-alpha.0",
|
|
233
233
|
signerPackage: "@haven_ai/signer",
|
|
234
|
-
signerVersion: "0.1.
|
|
234
|
+
signerVersion: "0.1.18-alpha.0",
|
|
235
235
|
minimumNodeVersion: "20.0.0",
|
|
236
236
|
supportedClients: ["codex-cli", "codex-desktop", "claude-code"],
|
|
237
237
|
requiredTools: registeredToolNames()
|
|
@@ -1399,7 +1399,12 @@ async function installRuntime(input, deps = {}) {
|
|
|
1399
1399
|
localMcpAcknowledged: false,
|
|
1400
1400
|
messages: [
|
|
1401
1401
|
...consentMessages,
|
|
1402
|
-
"
|
|
1402
|
+
"Custom runtime: Haven did not auto-configure it. Your credentials are on disk (chmod 600) \u2014 read them at runtime; never paste a key into the agent prompt, memory, or logs.",
|
|
1403
|
+
` identity (hosted MCP Bearer): ${input.identityPath}`,
|
|
1404
|
+
` signer (local signing key): ${input.signerPath}`,
|
|
1405
|
+
"After wallet approval, wire the runtime to Haven by reference:",
|
|
1406
|
+
` Hosted MCP + local signer: point your MCP client at ${input.hostedMcpUrl} with the api_key from identity.json, then run npx -y ${signerPackageSpec()} --credentials ${input.signerPath}`,
|
|
1407
|
+
` Fully local MCP (no hosted dependency): npx -y ${mcpPackageSpec()} --identity ${input.identityPath} --signer ${input.signerPath}`
|
|
1403
1408
|
]
|
|
1404
1409
|
};
|
|
1405
1410
|
}
|
|
@@ -1703,7 +1708,7 @@ function localRuntimePrepareErrorCode(err) {
|
|
|
1703
1708
|
}
|
|
1704
1709
|
|
|
1705
1710
|
// src/runtime.ts
|
|
1706
|
-
var CONNECTOR_VERSION = "0.1.
|
|
1711
|
+
var CONNECTOR_VERSION = "0.1.18-alpha.0";
|
|
1707
1712
|
async function runConnect(options, deps = {}) {
|
|
1708
1713
|
const connectorVersion = options.connectorVersion ?? CONNECTOR_VERSION;
|
|
1709
1714
|
const api = deps.api ?? createConnectApiClient(options.apiBaseUrl);
|