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
refactor(ipc): drop id correlation; use NativeStr/OsStr for env names
- Drop the `id: u32` field from `Request::GetEnv` and the `Response`
wrapper. Each IPC connection is request-response sequential with a
single in-flight reply, so correlation adds no value. `Response` +
`ResponseBody` collapse into a single `GetEnvResponse { env_value }`.
- Switch env-var names in requests from `&str` to `&NativeStr`, and
`Handler::get_env` / `Client::get_env` to `&OsStr`. Handles non-UTF-8
env names correctly on both platforms.
- `Client::get_env` returns `Arc<OsStr>` (was `OsString`); `Client::recv`
is now generic over `T: SchemaRead` so future response types plug in
without touching the framing layer.
- `Recorder` keys `env_map` / `env_records` by `Arc<OsStr>` (was `Str`).
- Windows socket name: build via `format!` directly (name always exceeds
`Str` inline capacity, so the extra machinery provided no benefit).
- Drop `vite_str` dep from `vite_task_server`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments