Deploy-to-Agent-Relay button + restore intended agent resilience
Merged
KH
6mo ago+44+44+01234567890123456789-19-19-01234567890123456789
Summary
Brings this branch up to date with main and lands two changes on top:
- One-click deploy button (preview): adds
assets/deploy-button.svg(branded "Deploy to Agent Relay" CTA matching the banner aesthetic) and a badge under the granola title linking to the cloud deploy URL. Preview-first on granola; remaining agents + top-level README pending design/URL sign-off. - Restore intended agent resilience:
main's commit090833bdescribes adding fetch resilience tohn-monitor,vendor-monitor, andspotify-releases, but that commit only actually touched granola/linear/review — the changes were never staged. This restores them:hn-monitor,vendor-monitor:try/catcharoundfetchso a transient outage returns[]/undefinedinstead of crashing the run.spotify-releases: fetch each artist's releases in parallel viaPromise.allSettledso one failing artist doesn't sink the whole check.
Net diff vs main
assets/deploy-button.svg | 40 ++++++++++
granola/README.md | 2 ++
hn-monitor/agent.ts | 24 +++---
spotify-releases/agent.ts | 14 ++--
vendor-monitor/agent.ts | 13 ++--
Testing
npx tsc --noEmitpasses.
🤖 Generated with Claude Code
Summary by cubic
Adds a hosted “Launch Agent” badge to all agent READMEs with one-click deploy links. Restores resilience in hn-monitor, vendor-monitor, and spotify-releases so transient errors don’t crash runs.
-
New Features
- Add Launch Agent badge to all agent READMEs (
granola,hn-monitor,linear,review,spotify-releases,vendor-monitor), linking to https://agentrelay.com/cloud/deploy?agent= and using https://agentrelay.com/launch-agent.svg.
- Add Launch Agent badge to all agent READMEs (
-
Bug Fixes
hn-monitor: wrap front-page fetch; return[]on failure.vendor-monitor: guard npm latest fetch; returnundefinedon failure.spotify-releases: fetch per-artist releases withPromise.allSettled; skip failures.