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
install no longer adds a duplicate plugin entry when opencode-gemiterm-skills is already present under a different form (e.g. opencode-gemiterm-skills@latest or different casing). Added a shared normalizePluginName/isOurPluginEntry helper that strips version tags (@latest, @1.2.3) and lowercases before matching, used by addPluginToConfig, removePluginFromConfig, and isPluginInConfig. Scoped packages (@scope/pkg) are handled correctly so the leading @ isn't mistaken for a version separator.
Added
Exported normalizePluginName and isOurPluginEntry from src/installer.ts for direct unit testing.
6 new tests in tests/skills.test.ts covering version-spec stripping, case-insensitivity, whitespace trimming, scoped-package handling, and matching/rejecting the right entries.