Summary
Add a project-local OpenCode runtime asset enablement flow for OpenCode Remote bundled skills and a new bundled meme-generation agent, so Telegram users can ask the gateway to create private local meme images through OpenCode sessions.
Context
OpenCode Remote currently ships bundled skills and can list them in Telegram, but those package assets are not automatically visible to the running OpenCode server. Meme generation needs a real OpenCode-visible agent so Telegram prompts can be routed to a specialized worker that finds Imgflip templates, renders locally, and returns a media file without publishing memes through Imgflip.
The feature should avoid global OpenCode configuration pollution. Bundled runtime assets should be enabled per project under .opencode/, with namespaced files that users can inspect or remove.
Acceptance Criteria
Notes
- Imgflip
GET /get_memes is public and returns popular template metadata.
- Imgflip
POST /search_memes requires Premium, so non-premium search fallback should use Imgflip web search pages.
- Imgflip
/caption_image creates public hosted memes and must not be used.
- Keep Telegram-specific routing and UX in the Telegram adapter; keep OpenCode session calls in core OpenCode integration.
Summary
Add a project-local OpenCode runtime asset enablement flow for OpenCode Remote bundled skills and a new bundled meme-generation agent, so Telegram users can ask the gateway to create private local meme images through OpenCode sessions.
Context
OpenCode Remote currently ships bundled skills and can list them in Telegram, but those package assets are not automatically visible to the running OpenCode server. Meme generation needs a real OpenCode-visible agent so Telegram prompts can be routed to a specialized worker that finds Imgflip templates, renders locally, and returns a media file without publishing memes through Imgflip.
The feature should avoid global OpenCode configuration pollution. Bundled runtime assets should be enabled per project under
.opencode/, with namespaced files that users can inspect or remove.Acceptance Criteria
opencode-remote-memeagent as a package asset..opencode/directory.MEDIA:/absolute/path/to/fileresult.Notes
GET /get_memesis public and returns popular template metadata.POST /search_memesrequires Premium, so non-premium search fallback should use Imgflip web search pages./caption_imagecreates public hosted memes and must not be used.