surface clide-owned commands in the slash typeahead

The composer sourced its slash suggestions only from the CLI probe
(activeClaudeConfig.slashCommands), which never advertises clide-owned
commands, so /resume and /fork were missing from the typeahead. Union
kClideOwnedCommands onto the command source unconditionally — whether a
caller supplies a resolver or the default probe is used — de-duped via a
Set so /clear (in both) appears once.

T-162.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-31 16:17:14 +02:00
co-authored by Claude
parent d0e169eba2
commit 3c9cc4cbae
3 changed files with 52 additions and 1 deletions
+3
View File
@@ -18,6 +18,9 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
### Fixed
- The composer slash typeahead now lists clide-owned commands — `/resume` and
`/fork` (and `/clear`) surface even though the CLI probe doesn't advertise
them, unioned onto whatever command source the composer uses. (T-162)
- Clicking a decision opens it in the decision reader again — the decisions
extension no longer tears down and re-contributes its panel tab on every
selection; it activates a static tab and reveals the panel like the ticket