fix(#524): clean up Hermes provider entry

- restore 2-space PROVIDERS indent and 4-space dispatch-loop indent (PR
  re-indented existing gemini/opencode/openclaw lines as churn)
- correct mech label: 'native hermes skills copy' (it does a native dir
  copy via installHermes, not 'npx skills add')
- drop dead profile: 'hermes' — shadowed by the installHermes special-case
  and not a valid upstream vercel-labs/skills slug

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Julius Brussee
2026-06-14 22:05:27 +02:00
co-authored by Claude Opus 4.8
parent 62446eb525
commit 6ebdb375c4
+7 -7
View File
@@ -229,8 +229,8 @@ const PROVIDERS = [
// CLI agents — require the binary. The `||dir:~/.foo` fallbacks were the
// main source of false positives (warp, kiro, junie etc. leave config dirs
// behind on uninstall).
{ id: 'hermes', label: 'Hermes Agent', mech: 'npx skills add (hermes)', detect: 'command:hermes', profile: 'hermes' },
{ id: 'aider-desk', label: 'Aider Desk', mech: 'npx skills add (aider-desk)', detect: 'command:aider', profile: 'aider-desk' },
{ id: 'hermes', label: 'Hermes Agent', mech: 'native hermes skills copy', detect: 'command:hermes' },
{ id: 'aider-desk', label: 'Aider Desk', mech: 'npx skills add (aider-desk)', detect: 'command:aider', profile: 'aider-desk' },
{ id: 'amp', label: 'Sourcegraph Amp', mech: 'npx skills add (amp)', detect: 'command:amp', profile: 'amp' },
{ id: 'bob', label: 'IBM Bob', mech: 'npx skills add (bob)', detect: 'command:bob', profile: 'bob' },
{ id: 'crush', label: 'Crush', mech: 'npx skills add (crush)', detect: 'command:crush', profile: 'crush' },
@@ -1399,11 +1399,11 @@ async function main() {
// missing without --force).
if (!explicit(prov.id) && !detectMatch(prov.detect)) continue;
if (prov.id === 'claude') { await installClaude(ctx); continue; }
if (prov.id === 'gemini') { installGemini(ctx); continue; }
if (prov.id === 'opencode') { installOpencode(ctx); continue; }
if (prov.id === 'openclaw') { installOpenclaw(ctx); continue; }
if (prov.id === 'hermes') { installHermes(ctx); continue; }
if (prov.profile) { installViaSkills(ctx, prov); continue; }
if (prov.id === 'gemini') { installGemini(ctx); continue; }
if (prov.id === 'opencode') { installOpencode(ctx); continue; }
if (prov.id === 'openclaw') { installOpenclaw(ctx); continue; }
if (prov.id === 'hermes') { installHermes(ctx); continue; }
if (prov.profile) { installViaSkills(ctx, prov); continue; }
}
// Auto-detect fallback if nothing matched