Expand description
ProcessPlugin — exposes process management and command execution as LLM tools.
Implements the synwire-core Plugin trait. Contributes two sets of tools:
Management tools (always available):
list_processes, kill_process, process_stats, wait_for_process,
read_process_output.
Command tools (when SandboxContext is provided):
run_command, open_shell, shell_write, shell_read.
§Parent-child visibility
Use ProcessVisibilityScope::add_child_registry to grant a parent agent
read access to a sub-agent’s processes. Read tools (list, stats,
wait, read_output) see all visible registries; write tools (kill)
are restricted to the agent’s own registry.
Structs§
- Process
Plugin - Plugin that tracks spawned processes and provides LLM tool access.
- Process
Plugin Key PluginStateKeyforProcessPlugin.- Process
Plugin State - Shared state owned by
ProcessPlugin.