Repository navigation
Conversation
…n of `accounts` v1 Adds `src/lib/tempoId.ts` and `GET /api/auth/start`, `GET /api/auth/callback`, and `POST /api/auth/logout`, and reads the dashboard's address from the Tempo ID session. Installs `accounts@1.0.0-alpha.1` as `tempo-accounts`. Wrangler bindings, the home page button, and tests are not updated yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3nmWin1mVpioUPdvvsHgw
…irects with `accounts` v1 Replaces `accounts@0.15` and wagmi with `accounts@1.0.0-alpha.1` and its `backend` plugin, with sessions in the `TempoIdSessions` Durable Object. `GET /api/auth/callback` adopts the session's access key into the link, the confirmation, or the X challenge, then runs the existing link and confirm logic. One-time payments authorize a recipient-scoped access key in place of a signed transaction. Removes the wallet sign-in proxy, `WalletProviders`, and `confirmationWallet`, and starts `ghcr.io/tempoxyz/id-dev` in the end-to-end suite. The confirm and X link specs are not updated yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3nmWin1mVpioUPdvvsHgw
… a local Tempo node Starts a local Tempo node in the end-to-end setup through `test/tempo.ts`, which the workers setup shares. The confirm spec connects a Tempo Account, funds it, and confirms one-time and reusable payments through Tempo ID's approval page. The X link spec follows the OAuth redirect to X and the proof tweet page. CI logs in to GHCR for the pinned `ID_DEV_IMAGE`. Also passes the X OAuth client to the end-to-end dev server, and puts the dashboard's component before its route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3nmWin1mVpioUPdvvsHgw
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
…D sign-in The Slack messages link to `/api/account/link/:token/start` and `/api/confirm/:token/start`. The `/connect/$token` and `/confirm/$token` pages show only the result: connected, the conflict to resolve, sent with its receipt, an error with a retry, or an expired link. Removes their loaders and the payment summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D3nmWin1mVpioUPdvvsHgw
accounts v1accounts@alpha
Moves every wallet flow (dashboard, Slack connect, payment confirm, X link) from the Tempo Wallet dialog to server redirects through Tempo ID, using the
backendplugin ofaccounts@1.0.0-alpha.1. Removesaccounts@0.15and wagmi.Flow
Before, each link opened a tip.bot page, which opened the Tempo Wallet dialog in the browser, and the browser posted the key authorization or signed transaction back to tip.bot. Now each link opens a
startroute, which callsbackend.startwith the access key's limits, sets the__Host-tempo_idsession cookie and an intent cookie, and redirects to Tempo ID at once. Tempo ID returns to one callback,GET /api/auth/callback, which reads the intent. The browser never holds a key authorization.Slack connect
Before
After
transferandtransferWithMemoonly. Tempo ID's approval page names these limits.?status=conflict. Its button posts to/api/account/link/:token/resolve, which links again with the session's access key.Slack payment confirm
Before
After
/confirm/$tokenshows the result: sent with its receipt, an error with Try again, or an expired link. The payment summary and the lost-wallet-session recovery are gone.X with OAuth
Before
After
X with a proof tweet
Before
After
Dashboard
Before
After
/dashreads the address from the session, and Sign out posts to/api/auth/logout, which revokes the refresh token.Changes
TempoIdSessionsDurable Object (DurableObject.sessions). Migrationtempo_id_sessions_v1deletes theNonceStorageclass of the old wallet sign-in.access_key, so a lapsed Tempo ID session stops no tip./connect/$tokenand/confirm/$tokenshow only results. Theeth_signTransactionpath,transactionRequest, and the confirm page's payment summary are removed.viem→^2.57.12andox→0.14.59, asaccountsv1 requires.QueryClientProvidermoves torouter.tsx.Tests
ghcr.io/tempoxyz/id-devand a local Tempo node. Specs sign in through Tempo ID's real pages: dashboard sign-in and sign-out, connect and conflict, one-time and reusable confirmations with real payments, X OAuth up to X's authorize page, and the proof tweet page.sqlite3binary, as onmain),vp checkandtscclean.Before merge
tipbotin Tempo ID with a client secret andhttps://tip.bot/api/auth/callback. Each preview host needs its own callback.TEMPO_ID_CLIENT_SECRETin production and previews, and pass it in the preview deploy workflows. It is a required secret.tempoxyz/tip.botread access to theid-devpackage, for the e2e job's GHCR login.🤖 Generated with Claude Code
https://claude.ai/code/session_01D3nmWin1mVpioUPdvvsHgw