Expand description
Process-based extension runtime — JSON-RPC 2.0 over stdio.
Spawns the extension as a child process. Communication uses Content-Length framing (LSP-style) over stdin/stdout.
Structs§
- Capability
Declaration - Generic capability declaration returned by an extension’s
initializeresponse. - Initialize
Capabilities Result - Process
Extension - A running extension process communicating via JSON-RPC 2.0 over stdio.
- Provider
Complete Params - Provider
Complete Result - Provider
Tool Use - Registered
Extension Tool Spec - Registered
Provider Model Spec - Registered
Provider Spec
Enums§
- Provider
Stream Event - A single streaming event from a provider extension.
Functions§
- complete_
provider_ with_ tools - execute_
provider_ tool_ use - extract_
provider_ tool_ uses - parse_
provider_ stream_ event - Parse a single
provider.stream.eventnotification’sparamsvalue into aProviderStreamEvent. ReturnsErr(String)on malformed input. - validate_
capability - Validate a
CapabilityDeclarationagainst the granted permission set.