MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / getServerConnection

Function getServerConnection

apps/desktop/src/preload/index.ts:12–14  ·  view source on GitHub ↗

Read the active Executor server connection backing this desktop window.

()

Source from the content-addressed store, hash-verified

10const api = {
11 /** Read the active Executor server connection backing this desktop window. */
12 getServerConnection(): Promise<DesktopServerConnection | null> {
13 return ipcRenderer.invoke("executor:server:connection");
14 },
15 /**
16 * Read the bearer token for the running sidecar. Only used to build the
17 * "Connect an agent" install command, which an external agent runs and so

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected