Repository navigation
Commit 41ed86c
committed
fix(extensions): let a disabled extension's manifest claim its files
A disabled extension claimed only the names its registry entry lists for
the agent, because its manifest's commands aren't registered. When that
entry can't be read (registered_commands or its per-agent value isn't a
list of names), it claimed nothing, so integration use, switch or upgrade
registered another extension's command over its prompt, e.g.
speckit.foo.bar-baz over a disabled speckit.foo-bar.baz. It now claims
its manifest's names in that case, and registration skips the pair.
Refs #4797
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)1 parent c68b384 commit 41ed86c
2 files changed
Lines changed: 45 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4175 | 4175 | | |
4176 | 4176 | | |
4177 | 4177 | | |
4178 | | - | |
| 4178 | + | |
| 4179 | + | |
4179 | 4180 | | |
4180 | 4181 | | |
4181 | 4182 | | |
| |||
4202 | 4203 | | |
4203 | 4204 | | |
4204 | 4205 | | |
4205 | | - | |
4206 | | - | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
4207 | 4213 | | |
4208 | | - | |
| 4214 | + | |
| 4215 | + | |
4209 | 4216 | | |
4210 | 4217 | | |
4211 | 4218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
851 | 885 | | |
852 | 886 | | |
853 | 887 | | |
| |||
0 commit comments