@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.cjs +9 -8
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +9 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/cli.cjs
CHANGED
|
@@ -557,9 +557,9 @@ var init_runtime_manifest = __esm({
|
|
|
557
557
|
mcpPackage: "@haven_ai/mcp",
|
|
558
558
|
mcpVersion: mcp.MCP_VERSION,
|
|
559
559
|
sdkPackage: "@haven_ai/sdk",
|
|
560
|
-
sdkVersion: "0.
|
|
560
|
+
sdkVersion: "0.3.0-alpha.0",
|
|
561
561
|
signerPackage: "@haven_ai/signer",
|
|
562
|
-
signerVersion: "0.
|
|
562
|
+
signerVersion: "0.3.0-alpha.0",
|
|
563
563
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
564
564
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
565
565
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -1447,7 +1447,7 @@ async function buildLocalMcpConsentInput(identityPath, signerPath) {
|
|
|
1447
1447
|
apiKey: credentials.apiKey,
|
|
1448
1448
|
apiUrl: credentials.apiUrl,
|
|
1449
1449
|
agentId: credentials.agentId,
|
|
1450
|
-
|
|
1450
|
+
accountAddress: credentials.accountAddress,
|
|
1451
1451
|
delegateAddress: credentials.delegateAddress,
|
|
1452
1452
|
chainId: credentials.chainId,
|
|
1453
1453
|
allowanceSummary: credentials.allowanceSummary
|
|
@@ -2489,7 +2489,7 @@ async function buildSignerConsentInput(signerPath) {
|
|
|
2489
2489
|
});
|
|
2490
2490
|
return {
|
|
2491
2491
|
delegateAddress: signer$1.delegateAddress,
|
|
2492
|
-
|
|
2492
|
+
accountAddress: credentials.accountAddress,
|
|
2493
2493
|
agentId: credentials.agentId,
|
|
2494
2494
|
chainId: credentials.chainId,
|
|
2495
2495
|
network: credentials.network,
|
|
@@ -3327,9 +3327,10 @@ async function finishRekey(options, deps = {}) {
|
|
|
3327
3327
|
apiKey: options.newApiKey,
|
|
3328
3328
|
delegateKey: pending.new_delegate_key,
|
|
3329
3329
|
delegateAddress: pending.new_delegate_address,
|
|
3330
|
-
//
|
|
3331
|
-
// identity's `account_address`
|
|
3332
|
-
|
|
3330
|
+
// The stored value (already new-name-first, from the credential-FILE
|
|
3331
|
+
// permanent fallback) wins; the hosted identity's `account_address` is a
|
|
3332
|
+
// LIVE server read, which as of #2914 emits only that name.
|
|
3333
|
+
accountAddress: stored.accountAddress ?? identity.account_address ?? void 0,
|
|
3333
3334
|
chainId: stored.chainId ?? identity.chain_id ?? void 0,
|
|
3334
3335
|
network: stored.network,
|
|
3335
3336
|
agentBudget: stored.agentBudget,
|
|
@@ -4428,7 +4429,7 @@ async function pathExists2(path) {
|
|
|
4428
4429
|
init_unwire();
|
|
4429
4430
|
init_local_mcp_runtime();
|
|
4430
4431
|
init_runtime_manifest();
|
|
4431
|
-
var CONNECTOR_VERSION = "0.
|
|
4432
|
+
var CONNECTOR_VERSION = "0.3.0-alpha.0";
|
|
4432
4433
|
var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
4433
4434
|
var failureOutcomesByError = /* @__PURE__ */ new WeakMap();
|
|
4434
4435
|
function failureOutcomeFor(runtimeHint, error) {
|