Repository navigation
Commit 9801d2b
authored
fix(integrations): show hyphenated command names for docker-agent and junie (#4910)
* test(integrations): cover command names shown for docker-agent and junie
Assisted-by: Claude Code (model: Claude Opus 5, autonomous)
* fix(integrations): show hyphenated command names for docker-agent and junie
Both agents register `/speckit-<name>` commands, and their own
`build_command_invocation` returns that form, but Spec Kit showed users the
dotted `/speckit.<name>` names in two places:
- docker-agent was missing from `ALWAYS_SLASH_AGENTS`, so the `init`
next-steps banner and extension hook invocations used dotted names
(#4137 fixed the same gap for alquimia).
- The `init` banner special-cased cline and forge but not junie, which
installs hyphenated commands the same way.
Assisted-by: Claude Code (model: Claude Opus 5, autonomous)
* refactor(init): derive next-steps command names from the integration
The next-steps banner kept its own list of agents that use /speckit-<name>,
which is how junie went missing from it. Build the names from the
integration's invoke prefix and separator instead, the values init already
uses to render the installed commands. The banner is unchanged for every
registered integration in each of its modes.
Assisted-by: Claude Code (model: Claude Opus 5, autonomous)1 parent d941cbf commit 9801d2b
4 files changed
Lines changed: 69 additions & 22 deletions
File tree
- src/specify_cli
- tests/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | | - | |
1081 | | - | |
1082 | 1080 | | |
1083 | 1081 | | |
1084 | 1082 | | |
| |||
1155 | 1153 | | |
1156 | 1154 | | |
1157 | 1155 | | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
1161 | 1164 | | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | 1165 | | |
1168 | 1166 | | |
1169 | | - | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
| 1167 | + | |
1180 | 1168 | | |
1181 | 1169 | | |
1182 | 1170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
19 | 43 | | |
20 | 44 | | |
21 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
112 | 136 | | |
113 | 137 | | |
114 | 138 | | |
| |||
0 commit comments