Commit 7698469
refactor(plugin): rename agent variants for symmetric clarity
Rename `sonar-scanner` -> `sonar-scanner-claude` so neither variant is
implicitly the default. Selection is by agent name -- `sonar-scanner-claude`
on Claude Code (model: haiku), `sonar-scanner-copilot` on Copilot CLI
(model: gpt-5-mini) -- and both names are now equally explicit.
Add a Variants pointer in two places so callers know which agent name to
invoke per platform:
- plugin.json description now names both agents and notes neither is
the default.
- SKILL.md ends with a short "Plugin-bundled agent variants" paragraph.
Update dist/src/assembly/plugin.xml and plugin-zip.xml to copy the renamed
Claude variant file (sonar-scanner-claude.md) into the bundle's agents/.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4489c5e commit 7698469
5 files changed
Lines changed: 7 additions & 5 deletions
File tree
- .claude/agents
- dist/src
- assembly
- main
- plugin/.claude-plugin
- skill
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
0 commit comments