Class ServerRpc
java.lang.Object
com.github.copilot.generated.rpc.ServerRpc
Typed client for server-level RPC methods.
Provides strongly-typed access to all server-level API namespaces.
Obtain an instance by calling new ServerRpc(caller).
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerAccountApiAPI methods for theaccountnamespace.final ServerAccountsApiAPI methods for theaccountsnamespace.final ServerAgentRegistryApiAPI methods for theagentRegistrynamespace.final ServerAgentsApiAPI methods for theagentsnamespace.final ServerCatalogApiAPI methods for thecatalognamespace.final ServerCommandsApiAPI methods for thecommandsnamespace.final ServerExtensionsApiAPI methods for theextensionsnamespace.final ServerHooksApiAPI methods for thehooksnamespace.final ServerInstructionsApiAPI methods for theinstructionsnamespace.final ServerLlmInferenceApiAPI methods for thellmInferencenamespace.final ServerManagedSettingsApiAPI methods for themanagedSettingsnamespace.final ServerMcpApiAPI methods for themcpnamespace.final ServerModelsApiAPI methods for themodelsnamespace.final ServerPluginsApiAPI methods for thepluginsnamespace.final ServerRuntimeApiAPI methods for theruntimenamespace.final ServerSandboxApiAPI methods for thesandboxnamespace.final ServerSecretsApiAPI methods for thesecretsnamespace.final ServerSessionFsApiAPI methods for thesessionFsnamespace.final ServerSessionsApiAPI methods for thesessionsnamespace.final ServerSkillsApiAPI methods for theskillsnamespace.final ServerToolsApiAPI methods for thetoolsnamespace.final ServerUserApiAPI methods for theusernamespace. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect(ConnectParams params) Connection-level opt-ins for the `server.connect` handshake.ping(PingParams params) Optional message to echo back to the caller.InvokesregisterExtensionLaunchProvider.
-
Field Details
-
hooks
API methods for thehooksnamespace. -
models
API methods for themodelsnamespace. -
sandbox
API methods for thesandboxnamespace. -
tools
API methods for thetoolsnamespace. -
account
API methods for theaccountnamespace. -
secrets
API methods for thesecretsnamespace. -
mcp
API methods for themcpnamespace. -
extensions
API methods for theextensionsnamespace. -
skills
API methods for theskillsnamespace. -
catalog
API methods for thecatalognamespace. -
plugins
API methods for thepluginsnamespace. -
agents
API methods for theagentsnamespace. -
instructions
API methods for theinstructionsnamespace. -
commands
API methods for thecommandsnamespace. -
user
API methods for theusernamespace. -
managedSettings
API methods for themanagedSettingsnamespace. -
runtime
API methods for theruntimenamespace. -
sessionFs
API methods for thesessionFsnamespace. -
llmInference
API methods for thellmInferencenamespace. -
sessions
API methods for thesessionsnamespace. -
agentRegistry
API methods for theagentRegistrynamespace. -
accounts
API methods for theaccountsnamespace.
-
-
Constructor Details
-
ServerRpc
Creates a new server RPC client.- Parameters:
caller- the RPC transport function (e.g.,jsonRpcClient::invoke)
-
-
Method Details
-
ping
Optional message to echo back to the caller.- Since:
- 1.0.0
-
connect
Connection-level opt-ins for the `server.connect` handshake. Transport authentication is consumed by the native protocol boundary before dispatch.- Since:
- 1.0.0
-
registerExtensionLaunchProvider
InvokesregisterExtensionLaunchProvider.- Since:
- 1.0.0
-