You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: version display, install UX — audit findings (#95)
* 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
0 commit comments