You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`program`|`CliProgram`|`Resolve` (default: auto-detect) or `Path(PathBuf)` (explicit)|
78
+
|`prefix_args`|`Vec<OsString>`| Args before `--server` (e.g. script path for node)|
79
+
|`working_directory`|`Option<PathBuf>`| Working directory for CLI process|
80
+
|`env`|`Vec<(OsString, OsString)>`| Deprecated; use the child-process transport's `env` option|
81
+
|`env_remove`|`Vec<OsString>`| Deprecated; omit variables from the transport replacement env|
82
+
|`extra_args`|`Vec<String>`| Extra CLI flags|
83
+
|`transport`|`Transport`|`Default`, `Stdio`, `InProcess`, `Tcp`, or `External`|
84
84
85
85
With the default `CliProgram::Resolve`, `Client::start()` resolves the CLI in this order: an explicit `CliProgram::Path(path)`, the `COPILOT_CLI_PATH` env var, then the bundled CLI that was embedded at build time. There is no PATH scanning — if you've opted out of bundling (`default-features = false`) you must supply either `CliProgram::Path` or `COPILOT_CLI_PATH`.
0 commit comments