Skip to content

feat(storefront): re-land the agent chat widget (revert of the rc0 carve-out)#801

Open
bussyjd wants to merge 3 commits into
mainfrom
feat/chat-widget-reland
Open

feat(storefront): re-land the agent chat widget (revert of the rc0 carve-out)#801
bussyjd wants to merge 3 commits into
mainfrom
feat/chat-widget-reland

Conversation

@bussyjd

@bussyjd bussyjd commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Re-lands the browser chat widget stack that 78c78a86 carved out of v0.14.0-rc0 (#752 agent-chat-widget, #762 chat-siwe-session, #785 chat-widget-hardening) — a clean git revert of the carve-out, nothing else.

Why re-land now

The carve-out deferred the widget pending a rework on x402 batch-settlement, but the widget is already running in production (silvernuc3, built from c2d5c58) and was live-validated today end-to-end on Base mainnet: connect → one sign-in signature (deterministic burner session key) → one funding transfer → silent per-turn exact payments (no wallet popups) → withdraw back to the main wallet confirmed working. Keeping it out of the tree just makes prod a permanent off-release drift; in-tree and reviewable beats deployed-but-unversioned.

Status / open questions

go build ./... + controller/x402 test suites green on the revert.

https://claude.ai/code/session_01PnhCQLz7CHuDBUhWd5xF8v

…-EOA gap

Two review fixes on the session-wallet widget:

- Per-turn payment policy capped at the price shown at page load (bounded by
  the session balance), not the whole balance. A seller that drifts the price
  up mid-session can no longer silently drain a funded session in one message;
  an over-price turn is refused with an honest error, and a missing/zero
  amount is dropped rather than treated as free. A legit price change is
  picked up on reload.
- Document the MPC/threshold-ECDSA residual: such wallets are code-less EOAs
  that pass the contract-wallet guard but sign non-deterministically, stranding
  session funds. No on-chain detection without a second signature popup this
  flow avoids; noted at the guard and in assets/README.md limitations.

Claude-Session: https://claude.ai/code/session_01PnhCQLz7CHuDBUhWd5xF8v
@bussyjd
bussyjd marked this pull request as ready for review July 20, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant