[claude] Mobile: Paid job submission with inline Lightning invoice (#25) #88

Merged
Rockachopa merged 1 commits from claude/issue-25 into main 2026-03-23 20:20:53 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
f20813f483 feat: add paid job submission with inline Lightning invoice on mobile
Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
Add a lightning bolt button next to the mic on the Timmy tab that opens
a bottom sheet for submitting paid jobs. The sheet includes:
- Text input for job prompts
- Estimate button (POST /api/jobs/estimate) showing cost in sats
- Submit button (POST /api/jobs) that creates the job
- BOLT-11 invoice rendered as QR code for Lightning wallet scanning
- 3s polling loop showing progress states (awaiting payment → paid → executing → complete)
- Expandable result card on completion
- Clear error states for rejected/failed/expired jobs

Works on iOS, Android, and web. Fixes #25

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 21:34:29 -04:00