Agent integrations for glance.sh — temporary image sharing for coding agents.
Paste a screenshot in your browser, your agent gets the URL instantly.
| Agent | Directory | npm package | Install |
|---|---|---|---|
| pi | pi/ |
@modemdev/glance-pi |
pi install npm:@modemdev/glance-pi |
| OpenCode | opencode/ |
— | See opencode/README.md |
Each plugin creates a live session on glance.sh, gives you a URL to open, and waits for you to paste an image. The image URL is returned to the agent over SSE — no manual copy-paste needed.
agent ──POST /api/session──▶ { id, url }
agent ──GET /api/session/<id>/events──▶ SSE (waiting…)
user ──opens /s/<id>, pastes image──▶ agent receives URL
Sessions are anonymous and ephemeral (10-minute TTL). Images expire after 30 minutes.
New plugins should be published as installable packages (npm where possible) with a one-command install path in their README.
Each plugin directory should include:
- Integration code
README.mdwith install / verify / update / remove stepspackage.json(if the target agent supports package-based install)- Release automation (GitHub Actions workflow + documented version/tag convention)
Create a directory for your agent (e.g. cursor/, cline/) with the files above and open a PR.
MIT