Skip to content

feat: add buddy_share snapshot system#112

Open
fiorastudio wants to merge 6 commits into
masterfrom
feature/buddy-share
Open

feat: add buddy_share snapshot system#112
fiorastudio wants to merge 6 commits into
masterfrom
feature/buddy-share

Conversation

@fiorastudio
Copy link
Copy Markdown
Owner

@fiorastudio fiorastudio commented May 1, 2026

Implements an HTML/Puppeteer-based snapshot system for generating high-res shareable Buddy cards. Includes a standalone CLI tool. Note: As per the 'Lean MCP' philosophy, the buddy_share tool is NOT registered in the MCP server list; it is intended to be used via an OpenClaw skill or the CLI directly to minimize token overhead.

fiorastudio and others added 6 commits May 1, 2026 03:33
Remove unused captureSnapshot import from MCP server, fix wrong relative
import paths in snapshot.ts, replace setTimeout with document.fonts.ready,
add try/finally around browser lifecycle, fix bubble overflow CSS, switch
CLI to parseArgs with named flags, remove duplicate bin entry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove buddy-snapshot bin entry (dev/skill-only, puppeteer is a devDep)
- Escape message HTML to prevent XSS in Puppeteer context
- Clamp delta bar width so it can't overflow the stat bar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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