Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ flowchart LR
A[c16ab56 monolith] --> B[0.76.0-alpha.1 wallet repository staging]
```

## Unreleased — key recovery text (2026-10-18)

- Lost wallet_key answer names the exact steps: tap this link, then balance with the session from THIS answer (live 2026-10-18: balance with the older banking session never returned the key). Live proof: wallet ask paid 0.002021 USDC, tx 0x1c47c87f58a4702a38ed4e0b188705a338c147ad8aabdee570d3a1dd414b38f9, answer ROUTER-OK.

## Unreleased — wallet ask with session (2026-10-18)

- wallet ask accepts the person's session as well as a wallet_key, like pay does (live 2026-10-18: a connected person got 'Ask needs wallet_key').
Expand Down
5 changes: 4 additions & 1 deletion src/mcp-wallet-tool.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,10 @@ export function createMcpWalletTool({ accountFlow, chainId, path, wirexBaas, bri
const link = await connectLink(undefined, { signal });
return { ok: false, status: "connect_required", error: "This wallet needs its newest wallet_key, and this call did not send it.",
...(link ? { approval_url: link.approval_url, request_id: link.request_id, ...(typeof link.session === "string" ? { session: link.session } : {}) } : {}),
next: "Send the newest wallet_key. Lost: show link, then balance, same request_id." };
// Live 2026-10-18: the old "Lost: show link, then balance, same request_id" left out which session; a
// balance with the OLD (banking) session never returns the key. Name the exact steps.
next: link ? "Have the newest wallet_key? Resend with it. Lost it: show this link; after the tap call balance with the session from THIS answer; it returns the wallet_key once. Then repeat this call with it."
: "Send the newest wallet_key." };
}
// Lost key after connect: the tap sealed the re-derived key under the session's pass
// (src/browser-bridge.mjs acceptCallback). Only this caller's pass opens it; it is handed out
Expand Down
Loading