feat(tui): /experiments opens the experimental opt-in panel (#3182)

The WhaleFlow, goal, and sub-agent opt-ins already live in the Config view's
Experimental section (whaleflow / goal_command / features.subagents rows).
This adds /experiments (and /experimental) as a discoverable entry point to
that view so the opt-ins #3182 asks for are reachable by name. Implemented as
aliases on the config command (validated by the registry uniqueness/metadata
tests; commands suite 431/0). A bespoke section-focused panel is left as polish.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hunter B
2026-06-13 02:12:15 -07:00
parent 30992aa0e3
commit 2118768148
+4 -2
View File
@@ -31,7 +31,9 @@ impl CommandGroup for ConfigCommands {
static CONFIG_INFO: CommandInfo = CommandInfo {
name: "config",
aliases: &[],
// /experiments is a discoverable entry to the same view: the Experimental
// section exposes the WhaleFlow, goal, and sub-agent opt-ins (#3182).
aliases: &["experiments", "experimental"],
usage: "/config",
description_id: MessageId::CmdConfigDescription,
};
@@ -140,7 +142,7 @@ pub(in crate::commands) fn dispatch(
arg: Option<&str>,
) -> Option<CommandResult> {
let result = match command {
"config" => config::config_command(app, arg),
"config" | "experiments" | "experimental" => config::config_command(app, arg),
"sidebar" => config::sidebar(app, arg),
"settings" => config::show_settings(app),
"status" => status::status(app),