lspz 0.9.1

AI-friendly LSP compression proxy
Documentation
# API: `src/transport/stdio`

> 自动从 `///` 注释生成。编辑源码注释后运行 `just gen-api-docs` 刷新。

Transport over a child process's stdio.

Spawns the backend LSP server and wraps its stdin/stdout in an async I/O layer.

```rust
pub struct StdioTransport {
```

Spawn a new process and connect to its stdio.

The `cmd` is split on whitespace into program + arguments.
`extra_args` are appended after the parsed command-line arguments
(e.g. arguments captured from the `--` separator on the CLI).

```rust
pub fn spawn(cmd: &str, extra_args: &[String]) -> Result<Self, LspzError> {
```

Check if the child process has exited.

```rust
pub fn try_wait(&mut self) -> Result<Option<std::process::ExitStatus>, LspzError> {
```