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