@@ -841,42 +841,6 @@ enum Command {
841841 reconfigure : bool ,
842842 } ,
843843
844- /// Start a web server with a chat interface
845- #[ command( about = "Experimental: Start a web server with a chat interface" ) ]
846- Web {
847- /// Port to run the web server on
848- #[ arg(
849- short,
850- long,
851- default_value = "3000" ,
852- help = "Port to run the web server on"
853- ) ]
854- port : u16 ,
855-
856- /// Host to bind the web server to
857- #[ arg(
858- long,
859- default_value = "127.0.0.1" ,
860- help = "Host to bind the web server to"
861- ) ]
862- host : String ,
863-
864- /// Open browser automatically
865- #[ arg( long, help = "Open browser automatically when server starts" ) ]
866- open : bool ,
867-
868- /// Authentication token for both Basic Auth (password) and Bearer token
869- #[ arg( long, help = "Authentication token to secure the web interface" ) ]
870- auth_token : Option < String > ,
871-
872- /// Allow running without authentication when exposed on the network (unsafe)
873- #[ arg(
874- long,
875- help = "Skip auth requirement when exposed on the network (unsafe)"
876- ) ]
877- no_auth : bool ,
878- } ,
879-
880844 /// Terminal-integrated session (one session per terminal)
881845 #[ command(
882846 about = "Terminal-integrated goose session" ,
@@ -1041,7 +1005,6 @@ fn get_command_name(command: &Option<Command>) -> &'static str {
10411005 Some ( Command :: Schedule { .. } ) => "schedule" ,
10421006 Some ( Command :: Update { .. } ) => "update" ,
10431007 Some ( Command :: Recipe { .. } ) => "recipe" ,
1044- Some ( Command :: Web { .. } ) => "web" ,
10451008 Some ( Command :: Term { .. } ) => "term" ,
10461009 Some ( Command :: LocalModels { .. } ) => "local-models" ,
10471010 Some ( Command :: Completion { .. } ) => "completion" ,
@@ -1780,13 +1743,6 @@ pub async fn cli() -> anyhow::Result<()> {
17801743 Ok ( ( ) )
17811744 }
17821745 Some ( Command :: Recipe { command } ) => handle_recipe_subcommand ( command) ,
1783- Some ( Command :: Web {
1784- port,
1785- host,
1786- open,
1787- auth_token,
1788- no_auth,
1789- } ) => crate :: commands:: web:: handle_web ( port, host, open, auth_token, no_auth) . await ,
17901746 Some ( Command :: Term { command } ) => handle_term_subcommand ( command) . await ,
17911747 Some ( Command :: LocalModels { command } ) => handle_local_models_command ( command) . await ,
17921748 Some ( Command :: ValidateExtensions { file } ) => {
0 commit comments