MuseClientSpawnOptions
What spawn needs: the host binary, plus the handshake identity.
Class in muse_code
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
muse_bin |
str |
The host binary to run. |
client_info |
ClientInfo |
Client identification, forwarded verbatim into initialize. |
args |
Sequence[str] | None |
Passed through verbatim (a bare muse is the TUI — pass ["serve"] for the MSP host). |
cwd |
str | None |
Working directory for the host. |
env |
Mapping[str, str] | None |
The host’s environment (inherited when None). |
capabilities |
ClientCapabilities | None |
Capability posture; absent means all defaults. |
on_stderr |
OnStderr | None |
Raw stderr chunks, drained from birth, never parsed. |
shutdown_timeout_ms |
int | None |
See MuseServeChild.spawn. |
Source
clients/sdk-py/src/muse_code/facade/client.py:153