feat(yollomi): add new commands and update documentation in README files#235
feat(yollomi): add new commands and update documentation in README files#235AniChikage wants to merge 2 commits intojackwener:mainfrom
Conversation
- Added yollomi commands for generating images, videos, and editing capabilities. - Updated README.md and README.zh-CN.md to include yollomi in the command list. - Enhanced SKILL.md with yollomi-related tags and usage examples.
- Included yollomi in the VitePress configuration for browser adapters. - Updated adapters index documentation to reflect yollomi's capabilities and commands.
Astro-Han
left a comment
There was a problem hiding this comment.
Nice work covering so many commands with a clean, consistent structure! A few things I noticed:
upload.ts — base64 in page.evaluate may crash on large files
The entire file is read into memory, base64-encoded, and embedded as a JS string literal inside page.evaluate(). For the 100MB video limit, that's ~133MB of base64 injected into the browser JS engine — likely to OOM or timeout. Consider lowering the size cap significantly, or noting this limitation in the docs.
models.ts — consider adding browser: false
This command returns hardcoded data and never uses page. Without browser: false, the framework may still attempt a browser connection, which would be unnecessary overhead for users just listing models.
edit.ts — unused import
resolveImageInput is imported but never called.
Tests
No tests are included. At minimum, models (PUBLIC strategy) could have a straightforward test in public-commands.test.ts, and the browser commands could have graceful-failure entries in browser-auth.test.ts per TESTING.md.
Description
Related issue:
Type of Change
Checklist
Documentation (if adding/modifying an adapter)
docs/adapters/(if new adapter)docs/adapters/index.mdtable (if new adapter)docs/.vitepress/config.mts(if new adapter)Screenshots / Output