Class ServerAgentRegistryApi
java.lang.Object
com.github.copilot.generated.rpc.ServerAgentRegistryApi
API methods for the
agentRegistry namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionspawn(AgentRegistrySpawnParams params) Spawns a managed-server child with the supplied configuration and returns a discriminated-union result.
-
Method Details
-
spawn
@CopilotExperimental public CompletableFuture<AgentRegistrySpawnResult> spawn(AgentRegistrySpawnParams params) Spawns a managed-server child with the supplied configuration and returns a discriminated-union result. The caller (typically the CLI controller) is responsible for attaching to the spawned child and sending any follow-up prompt. When the controller-local spawn gate is closed the server returns JSON-RPC MethodNotFound.- Since:
- 1.0.0
-