Commit graph

16 commits

Author SHA1 Message Date
chenbaowang
601644b8a7 fix(cli): fix addToLock namespace doubling, update fallback path, and download stream completion
- install: use actualSlug instead of raw slug in addToLock to prevent
  namespace doubling (vision2group/vision2group/slug)
- update: remove hardcoded 'node dist/cli.mjs' fallback, rely on
  process.argv[1] which is always reliable
- download: use finished() to ensure stream write completes before
  proceeding
2026-04-16 14:46:55 +08:00
chenbaowang
616319fe35 fix(cli): replace execSync unzip with unzipper for cross-platform support
- Add @types/unzipper for TypeScript support
- Fix location header type assertion (string | string[] -> string)
- Bump version to 1.0.5
2026-04-16 11:18:20 +08:00
chenbaowang
c970a76410 chore: bump version to 1.0.3 2026-04-16 10:51:29 +08:00
chenbaowang
626490e554 feat(cli): support SKILLHUB_REGISTRY env var for registry URL
Priority: SKILLHUB_REGISTRY env var > ~/.skillhub/config.json > default
2026-04-16 10:49:40 +08:00
chenbaowang
c9644e8032 chore: bump version to 1.0.2 2026-04-16 10:31:30 +08:00
chenbaowang
af6ebf3058 fix(cli): handle 302 redirect in download and fix --skill-version option parsing
- undici does not auto-follow HTTP redirects, manually follow 302/307/308
  to MinIO presigned URL before piping response body
- Commander.js parses --skill-version as skillVersion (camelCase), not
  skill-version (kebab-case), fix option access in install and download
  commands
2026-04-16 10:16:33 +08:00
chenbaowang
8c87cc5fe4 fix: add shebang to cli.ts for npm bin to work properly 2026-04-15 17:56:42 +08:00
chenbaowang
de7be0fc7d fix: add .npmignore to exclude tests and tmp from published package 2026-04-15 17:15:36 +08:00
chenbaowang
98b04259d8 fix: change package name to @motovis/skillhub for npm org scope 2026-04-15 17:12:32 +08:00
chenbaowang
679333c76f feat(cli): show tags and changelog after successful publish
- Always display tags in publish output
- Show changelog when --changelog flag is provided

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-14 15:02:32 +08:00
chenbaowang
a7b0485e37 fix(cli package.json): package name changed from @motovis/skillhub to @seasoning/skillhub. 2026-04-14 14:17:36 +08:00
chenbaowang
c86d99f227 feat(explore): add --sort parameter for hot/newest/downloads ordering
- Use /api/v1/skills (compat API) when query is empty to get full stats
- Map sort options: hot=rating, newest=newest, downloads=downloads
- Remove vim-style k/j navigation to fix 'k' key input issue
2026-04-14 14:12:37 +08:00
chenbaowang
ffdf8ae30e fix(skillhub-cli): improve publish output with default namespace hint and fixed status
- Show '(default)' suffix when namespace is global (user didn't specify --namespace)
- Display 'Status: Published' on success instead of 'undefined'
- Keep output clean and informative for user feedback
2026-04-14 11:19:58 +08:00
chenbaowang
a85beea6b9 fix(install): change install method from multiselect to single select 2026-04-14 10:50:28 +08:00
chenbaowang
c8e58e0476 fix(resolve): strip 'v' prefix from version for API compatibility 2026-04-14 10:32:49 +08:00
chenbaowang
6c0d4f4f16 feat(skillhub-cli): add skillhub CLI with interactive multi-agent support
- Interactive agent selection for install/uninstall/list
- Namespace search selection for unspecified namespace
- --skill-version option to skip interactive selection
- --from option for local/github source installation
- Remove deprecated add command (use install --from instead)
- Path-based grouping for uninstall results
2026-04-14 10:21:09 +08:00