mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-18 18:04:26 +00:00
* fix: version display, install UX — audit findings - Fix version showing hardcoded 1.7.6 instead of actual 1.19.2 - Export setVersion/setAgentCount from @skillkit/cli - Call setVersion(version) and setAgentCount(getAllAdapters().length) in cli.ts - Change fallback from '1.7.6' to 'dev' so stale values are obvious - Fix install pre-selecting all skills by default (bad UX) - Add "Install all / Select specific" prompt before multiselect - When selecting manually, start with nothing pre-selected - Apply same fix to both InstallCommand and runInstallFlow() - Matches existing quickAgentSelect pattern Fixes found during comprehensive codebase audit. Related issues: #87, #88, #89, #90, #91, #92, #93, #94 * refactor: extract quickSkillSelect, use getAdapterCount - Extract duplicated "Install all / Select specific" pattern into quickSkillSelect() in prompts.ts (mirrors existing quickAgentSelect) - Both install.ts and runInstallFlow() now use the shared helper - Add getAdapterCount() to @skillkit/agents to avoid allocating 44 spread-copied objects just to call .length - Use getAdapterCount() in cli.ts instead of getAllAdapters().length