skillhub/skillhub-cli/package.json
chenbaowang a1fb6d261e feat(cli): simplify config command and enhance inspect/install
- Simplify config command: remove <key> parameter, hardcode registry
- config set <value> now directly sets registry URL
- config get shows resolved value with source information
- Add --source option to config get for env/file/resolved
- Add version normalization (strip 'v' prefix) in install
- Skip version selection when --skill-version or --tag specified
- Enhance inspect with --details option for version history
- Reorganize help: Configuration at top, Discover & Info merged
- Move SkillVersionItem types to schema/routes.ts
- Fix error handling to return after setting exit code
- Remove versions command registration (file retained for compatibility)
2026-04-22 13:45:16 +08:00

33 lines
776 B
JSON

{
"name": "motovis-skillhub",
"version": "1.2.4",
"type": "module",
"description": "SkillHub CLI - 企业级 Agent Skill 管理工具,支持命名空间",
"bin": {
"skillhub": "dist/cli.mjs"
},
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@clack/prompts": "^1.2.0",
"chalk": "^5.3.0",
"commander": "^14.0.3",
"ora": "^9.3.0",
"picocolors": "^1.1.1",
"semver": "^7.7.4",
"undici": "^7.24.0",
"unzipper": "^0.12.3"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/semver": "^7.5.8",
"@types/unzipper": "^0.10.11",
"typescript": "^5.6.0",
"unbuild": "^3.0.0",
"vitest": "^3.0.0"
}
}