@haven_ai/connect 0.1.10-alpha.0 → 0.1.12-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 +12 -3
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +12 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/cli.cjs
CHANGED
|
@@ -148,6 +148,7 @@ async function writeCredentialFiles(input) {
|
|
|
148
148
|
safe_address: input.safeAddress,
|
|
149
149
|
chain_id: input.chainId,
|
|
150
150
|
network: input.network,
|
|
151
|
+
x402_binding_signer: input.x402BindingSigner,
|
|
151
152
|
note: "Local signer credential. Haven backend never receives this private key."
|
|
152
153
|
},
|
|
153
154
|
input.warn
|
|
@@ -214,9 +215,9 @@ var MCP_RUNTIME_MANIFEST = {
|
|
|
214
215
|
mcpPackage: "@haven_ai/mcp",
|
|
215
216
|
mcpVersion: mcp.MCP_VERSION,
|
|
216
217
|
sdkPackage: "@haven_ai/sdk",
|
|
217
|
-
sdkVersion: "0.1.
|
|
218
|
+
sdkVersion: "0.1.12-alpha.0",
|
|
218
219
|
signerPackage: "@haven_ai/signer",
|
|
219
|
-
signerVersion: "0.1.
|
|
220
|
+
signerVersion: "0.1.12-alpha.0",
|
|
220
221
|
minimumNodeVersion: "20.0.0",
|
|
221
222
|
supportedClients: ["codex-cli", "codex-desktop", "claude-code"],
|
|
222
223
|
requiredTools: mcp.registeredToolNames()
|
|
@@ -1534,7 +1535,7 @@ function localRuntimePrepareErrorCode(err) {
|
|
|
1534
1535
|
}
|
|
1535
1536
|
|
|
1536
1537
|
// src/runtime.ts
|
|
1537
|
-
var CONNECTOR_VERSION = "0.1.
|
|
1538
|
+
var CONNECTOR_VERSION = "0.1.12-alpha.0";
|
|
1538
1539
|
async function runConnect(options, deps = {}) {
|
|
1539
1540
|
const connectorVersion = options.connectorVersion ?? CONNECTOR_VERSION;
|
|
1540
1541
|
const api = deps.api ?? createConnectApiClient(options.apiBaseUrl);
|
|
@@ -1599,10 +1600,18 @@ async function runConnect(options, deps = {}) {
|
|
|
1599
1600
|
})),
|
|
1600
1601
|
apiUrl: options.apiBaseUrl,
|
|
1601
1602
|
hostedMcpUrl: registration.hosted_mcp_url,
|
|
1603
|
+
x402BindingSigner: setup.x402_binding_signer ?? void 0,
|
|
1602
1604
|
warn: log
|
|
1603
1605
|
});
|
|
1604
1606
|
log(`Stored Haven identity credential locally: ${credentialPaths.identityPath}`);
|
|
1605
1607
|
log(`Stored local signer credential locally: ${credentialPaths.signerPath}`);
|
|
1608
|
+
if (setup.x402_binding_signer) {
|
|
1609
|
+
log("Configured x402 binding signer for the local signer.");
|
|
1610
|
+
} else {
|
|
1611
|
+
log(
|
|
1612
|
+
"Warning: Haven did not provide an x402 binding signer, so x402 payments will not sign until HAVEN_X402_BINDING_SIGNER is set for the signer. Non-x402 payments are unaffected."
|
|
1613
|
+
);
|
|
1614
|
+
}
|
|
1606
1615
|
const runtimeInstall = await runRuntimeInstall({
|
|
1607
1616
|
runtime: options.runtime,
|
|
1608
1617
|
hostedMcpUrl: registration.hosted_mcp_url,
|