Skip to content

macOS: remove dead skills UI and model catalog code#220

Merged
alexey-pelykh merged 1 commit intomainfrom
123-remove-dead-macos-code
Mar 4, 2026
Merged

macOS: remove dead skills UI and model catalog code#220
alexey-pelykh merged 1 commit intomainfrom
123-remove-dead-macos-code

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Summary

Closes #123.

  • Delete SkillsSettings.swift (621 lines), SkillsModels.swift (74 lines), ModelCatalogLoader.swift (160 lines) and their tests
  • Remove skills tab from SettingsRootView, skills overview from onboarding readyPage()
  • Remove skillsStatus/skillsInstall/skillsUpdate from GatewayConnection.Method enum and convenience methods
  • Remove model catalog UI section from DebugSettings (AppStorage bindings, GridRow, chooseCatalogFile/reloadModels functions)
  • Remove modelCatalogPathKey/modelCatalogReloadKey from Constants.swift
  • Stub SkillBinsCache.refresh() to return empty bins (gateway no longer exposes skills.* RPC)
  • Remove dead smoke test for SkillsSettings

13 files changed, 3 insertions, 1,263 deletions. macOS only.

Verification

  • swift build passes
  • swift build --build-tests passes
  • Grep confirms zero references to deleted types (SkillsSettings, SkillsModels, ModelCatalogLoader, skillsStatus, skillsInstall, skillsUpdate, modelCatalogPathKey, modelCatalogReloadKey) in remaining source
  • Wizard/onboarding flow is untouched (only skills-specific parts removed)
  • DeviceModelCatalog (device name mapping) is correctly preserved

Test plan

  • swift build compiles cleanly
  • swift build --build-tests compiles test targets
  • CI build + test pass
  • Manual: Settings window opens without Skills tab
  • Manual: Onboarding ready page shows without skills overview

🤖 Generated with Claude Code

Delete SkillsSettings, SkillsModels, ModelCatalogLoader and their tests.
Remove skills tab from settings, skills overview from onboarding ready
page, skills gateway methods from GatewayConnection, model catalog UI
from DebugSettings, and related constants. Stub SkillBinsCache.refresh()
to return empty bins since the gateway no longer exposes skills.* RPC.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 4, 2026 12:34
@alexey-pelykh alexey-pelykh merged commit d3e4605 into main Mar 4, 2026
3 checks passed
@alexey-pelykh alexey-pelykh deleted the 123-remove-dead-macos-code branch March 4, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dead code from native apps (skills UI, wizard/OAuth, model catalog)

1 participant