Repository navigation
fix(settings): show "Up to date" for current skills in settings sidebar - #9086
Conversation
Orchestration and Computer Use showed a green "Installed" badge in the settings sidebar even when freshness tracking knows the copy is current. Add an "up-to-date" nav status so a present, no-update skill reads "Up to date" (pairing with the existing "Update available" state), while Voice — which tracks model readiness, not skill freshness — keeps "Installed".
📝 WalkthroughWalkthroughSkill freshness display status is centralized in a new helper with tests for update-available, up-to-date, and installed states. Settings navigation and sidebar rendering now support the up-to-date status, while freshness inventory drives capability status computation. The skill manifest and affected entries are updated from version 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Only label a skill Up to date when every discovered placement is current. Keep Installed for unloaded, blocked, inaccessible, or unrecognized inventories, and share the classifier with the existing freshness pill. Regenerate the current skill manifest so its app version matches the package release and the required verification gate passes.
…ar (stablyai#9086) * fix(settings): show "Up to date" for current skills in sidebar Orchestration and Computer Use showed a green "Installed" badge in the settings sidebar even when freshness tracking knows the copy is current. Add an "up-to-date" nav status so a present, no-update skill reads "Up to date" (pairing with the existing "Update available" state), while Voice — which tracks model readiness, not skill freshness — keeps "Installed". * fix(settings): require freshness proof for current badge Only label a skill Up to date when every discovered placement is current. Keep Installed for unloaded, blocked, inaccessible, or unrecognized inventories, and share the classifier with the existing freshness pill. Regenerate the current skill manifest so its app version matches the package release and the required verification gate passes.
What
In the Settings sidebar, freshness-tracked skills now show a green Up to date badge only when the freshness inventory proves every discovered placement is current. Skills with an eligible update still show Update available.
Uncertain states stay honest:
Voice still says Installed because its status tracks speech-model readiness, not skill freshness.
Screenshots
Settings sidebar with the change — Orchestration and Computer Use show the green Up to date badge; Voice keeps its own presence status (Not installed here, since this dev profile has no speech model).
Full settings window
Why
The sidebar already had the inventory needed to distinguish current skills from updateable skills, but absence of an eligible update is not itself proof that a copy is current. Reusing the same classifier as the existing skill-freshness pill keeps both surfaces aligned and avoids claiming that an unsafe or unrecognized installation is current.
Implementation
up-to-datenavigation status.SkillFreshnessStatusPill.SkillFreshnessStatusPill.upToDatekey and success tokens.resources/skills/current-manifest.jsonso current skill metadata matches package version1.4.144-rc.2.Performance
No new effects, subscriptions, IPC, polling, or subprocess work. Classification runs only from the existing memoized inventory path in Settings, performs a bounded scan of the already-loaded placements, exits on the first non-current placement, and removes the prior filtered-array allocation from the shared status pill.
Testing
pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/skill-freshness-display-status.test.ts src/renderer/src/components/skills/SkillFreshnessStatusPill.test.tsx src/renderer/src/components/settings/SettingsSidebar.test.tsx— 17 passedpnpm run typecheck— passedoxlintandoxfmt --check— passedlocalStoragewas unavailable and the inherited Git environment duplicated config entries.skill-freshness-group.tsx:101; changed files are clean.