Skip to content

Agent image attachments, Seedance multi-ref, browser-wallet pay, web deploy#1

Open
KillerQueen-Z wants to merge 1 commit into
mainfrom
feat/agent-image-refs-browser-pay-deploy
Open

Agent image attachments, Seedance multi-ref, browser-wallet pay, web deploy#1
KillerQueen-Z wants to merge 1 commit into
mainfrom
feat/agent-image-refs-browser-pay-deploy

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Collaborator

What

  • Media Agent — image attachments: paste or upload an image as vision input to the agent (mirrors the main Franklin add-image flow).
  • Seedance 2.0 multi-reference: omni "references" mode with a first/last ⇄ references toggle, plus paste-to-reference in the prompt bar. (Server already forwarded reference_image_urls; this wires the UI.)
  • Browser-wallet payment (web build): client-side x402 signed by the visitor's own wallet (wagmi + viem), through a transparent /api/gw gateway proxy, with a Connect Wallet button. Desktop keeps the local-wallet backend — switched by VITE_PAYMENT_MODE. Phase 1 = image / video / music; the AI agent's paid tools still go through the backend (phase 2).
  • Single-container deploy: server.mjs now serves the built SPA + reads PORT/HOST; adds Dockerfile, .dockerignore, scripts/deploy.sh (Cloud Run). VITE_PAYMENT_MODE=browser baked in the Docker build.
  • Branding: cute Franklin avatar (sidebar / settings / projects / favicon).

Notes

  • Adds deps: wagmi, viem, @tanstack/react-query, @fontsource/poppins? (no — fonts are franklin-run/desktop). Canvas adds wagmi/viem/react-query.
  • Verified: npm run typecheck ✅, VITE_PAYMENT_MODE=browser npm run build ✅, single-container serve smoke-tested locally.
  • No shared server wallet in the web build — each visitor pays with their own wallet.
  • Not deployed.

…, web deploy

- Media Agent: image attachments (paste / upload) as vision input to the agent
- Seedance 2.0: omni multi-reference mode (first/last ⇄ references toggle) and
  paste-to-reference in the prompt bar
- Browser-wallet payment (web build): client-side x402 with the visitor's own
  wallet (wagmi + viem), transparent /api/gw gateway proxy, Connect Wallet
  button. Desktop keeps the local-wallet backend (VITE_PAYMENT_MODE switch).
  Phase 1 = image / video / music; the AI agent's paid tools stay backend.
- Single-container deploy: server.mjs serves the built SPA + reads PORT/HOST;
  Dockerfile + .dockerignore + scripts/deploy.sh (Cloud Run)
- Branding: cute Franklin avatar (sidebar / settings / projects / favicon)
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