feat(desktop): add curated image/audio/browser skills and bundle sharp#270
Merged
alchemistklk merged 3 commits intomainfrom Mar 19, 2026
Merged
feat(desktop): add curated image/audio/browser skills and bundle sharp#270alchemistklk merged 3 commits intomainfrom
alchemistklk merged 3 commits intomainfrom
Conversation
- Add nano-banana-one-shop as static bundled skill with all 3 Gemini image models (3.1 Flash, 3 Pro, 2.5 Flash) via --model flag - Add curated skills: liblib-ai-gen, listenhub-ai, wechat-article-search, agent-browser from ClawHub - Bundle sharp as desktop dependency with NODE_PATH exposure to skill scripts via buildSkillNodePath() helper - Remove runtime npm install fallback from generate-image.js — fail closed if sharp is not bundled
Deploying nexu-docs with
|
| Latest commit: |
838cbb6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e8552d38.nexu-docs.pages.dev |
| Branch Preview URL: | https://feat-curated-skills-image-ge.nexu-docs.pages.dev |
Prevents lint formatting failures in CI. The hook runs biome check --write on staged .ts/.tsx/.js/.jsx/.json files and re-stages them. Auto-installed via the prepare script on pnpm install.
Contributor
Author
|
/cr |
|
✅ CR topic created in Feishu topic group Refly CR. |
nettee
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--model nano-banana/nano-banana-pro/nano-banana-2) in one Node.js scriptliblib-ai-gen(image gen),listenhub-ai(audio/music),wechat-article-search(WeChat articles),agent-browser(browser automation)bundled-node-modules/viaextraResources, exposed to skill scripts viaNODE_PATHthrough newbuildSkillNodePath()helpergenerate-image.jsno longer triesnpm install sharpat runtime — fails closed if not bundled (packaging error, not user error)Test plan
pnpm typecheckpassestests/desktop/runtime-manifests.test.tspasses (3 tests forbuildSkillNodePath)pnpm desktop:start— verify nano-banana-one-shop appears in bundled skillsnode .../nano-banana-one-shop/scripts/generate-image.js --prompt "test" --filename test.png— verify sharp loads via NODE_PATHpnpm desktop:dist:mac:unsigned— verify packaged app includesbundled-node-modules/sharp🤖 Generated with Claude Code