@haven_ai/connect 0.2.1-alpha.0 → 0.3.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/cli.js CHANGED
@@ -550,9 +550,9 @@ var init_runtime_manifest = __esm({
550
550
  mcpPackage: "@haven_ai/mcp",
551
551
  mcpVersion: MCP_VERSION,
552
552
  sdkPackage: "@haven_ai/sdk",
553
- sdkVersion: "0.2.1-alpha.0",
553
+ sdkVersion: "0.3.0-alpha.0",
554
554
  signerPackage: "@haven_ai/signer",
555
- signerVersion: "0.2.1-alpha.0",
555
+ signerVersion: "0.3.0-alpha.0",
556
556
  // Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
557
557
  // while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
558
558
  // so the guard that was supposed to enforce the floor waved Node v23 through
@@ -1440,7 +1440,7 @@ async function buildLocalMcpConsentInput(identityPath, signerPath) {
1440
1440
  apiKey: credentials.apiKey,
1441
1441
  apiUrl: credentials.apiUrl,
1442
1442
  agentId: credentials.agentId,
1443
- safeAddress: credentials.accountAddress ?? credentials.safeAddress,
1443
+ accountAddress: credentials.accountAddress,
1444
1444
  delegateAddress: credentials.delegateAddress,
1445
1445
  chainId: credentials.chainId,
1446
1446
  allowanceSummary: credentials.allowanceSummary
@@ -2482,7 +2482,7 @@ async function buildSignerConsentInput(signerPath) {
2482
2482
  });
2483
2483
  return {
2484
2484
  delegateAddress: signer.delegateAddress,
2485
- safeAddress: credentials.accountAddress ?? credentials.safeAddress,
2485
+ accountAddress: credentials.accountAddress,
2486
2486
  agentId: credentials.agentId,
2487
2487
  chainId: credentials.chainId,
2488
2488
  network: credentials.network,
@@ -3320,9 +3320,10 @@ async function finishRekey(options, deps = {}) {
3320
3320
  apiKey: options.newApiKey,
3321
3321
  delegateKey: pending.new_delegate_key,
3322
3322
  delegateAddress: pending.new_delegate_address,
3323
- // #2908: the stored value (already new-name-first) wins; the hosted
3324
- // identity's `account_address` twin before its deprecated `safe_address`.
3325
- accountAddress: stored.accountAddress ?? identity.account_address ?? identity.safe_address ?? void 0,
3323
+ // The stored value (already new-name-first, from the credential-FILE
3324
+ // permanent fallback) wins; the hosted identity's `account_address` is a
3325
+ // LIVE server read, which as of #2914 emits only that name.
3326
+ accountAddress: stored.accountAddress ?? identity.account_address ?? void 0,
3326
3327
  chainId: stored.chainId ?? identity.chain_id ?? void 0,
3327
3328
  network: stored.network,
3328
3329
  agentBudget: stored.agentBudget,
@@ -4421,7 +4422,7 @@ async function pathExists2(path) {
4421
4422
  init_unwire();
4422
4423
  init_local_mcp_runtime();
4423
4424
  init_runtime_manifest();
4424
- var CONNECTOR_VERSION = "0.2.1-alpha.0";
4425
+ var CONNECTOR_VERSION = "0.3.0-alpha.0";
4425
4426
  var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
4426
4427
  var failureOutcomesByError = /* @__PURE__ */ new WeakMap();
4427
4428
  function failureOutcomeFor(runtimeHint, error) {