File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,16 +331,6 @@ struct AppServerCommand {
331331 ) ]
332332 listen : codex_app_server:: AppServerTransport ,
333333
334- /// Session source stamped into new threads started by this app-server.
335- ///
336- /// Known values such as `vscode`, `cli`, `exec`, and `mcp` map to built-in
337- /// sources. Any other non-empty value is recorded as a custom source.
338- #[ arg(
339- long = "session-source" ,
340- value_name = "SOURCE" ,
341- default_value = "vscode"
342- ) ]
343- session_source : String ,
344334 /// Controls whether analytics are enabled by default.
345335 ///
346336 /// Analytics are disabled by default for app-server. Users have to explicitly opt in
@@ -684,17 +674,12 @@ async fn cli_main(arg0_paths: Arg0DispatchPaths) -> anyhow::Result<()> {
684674 match app_server_cli. subcommand {
685675 None => {
686676 let transport = app_server_cli. listen ;
687- let session_source = codex_protocol:: protocol:: SessionSource :: from_startup_arg (
688- app_server_cli. session_source . as_str ( ) ,
689- )
690- . map_err ( |err| anyhow:: anyhow!( "invalid --session-source: {err}" ) ) ?;
691677 codex_app_server:: run_main_with_transport (
692678 arg0_paths. clone ( ) ,
693679 root_config_overrides,
694680 codex_core:: config_loader:: LoaderOverrides :: default ( ) ,
695681 app_server_cli. analytics_default_enabled ,
696682 transport,
697- session_source,
698683 )
699684 . await ?;
700685 }
You can’t perform that action at this time.
0 commit comments