Skip to main content

Module spawn

Module spawn 

Source
Expand description

Plugin-supplied sidecar spawn parameters.

This RPC keeps bootstrap ownership inside the selected plugin. Core asks sidecar.spawn_args and the plugin replies with the args to pass to its binary plus optional metadata. The plugin is free to source those values from anywhere it likes (its own config namespace, environment, hardware, or generated defaults). Core never sees plugin-specific keys.

§Wire shape (sidecar.spawn_args response)

{
  "args": ["--model-path", "/abs/path/to/model.bin", "--language", "en"],
  "language": "en"
}

Both fields are optional. A plugin that has no overrides at all can simply return {} — core then falls back to manifest defaults (the provides.sidecar.model.default_path, if any).

Structs§

SidecarSpawnArgs
Sidecar spawn parameters returned by the plugin’s sidecar.spawn_args RPC.