* Read the bearer token for the running sidecar. Only used to build the * "Connect an agent" install command, which an external agent runs and so * needs the token in plaintext. Returns null when no sidecar is up.
()
| 18 | * needs the token in plaintext. Returns null when no sidecar is up. |
| 19 | */ |
| 20 | getServerAuthToken(): Promise<string | null> { |
| 21 | return ipcRenderer.invoke("executor:server:auth-token"); |
| 22 | }, |
| 23 | /** Read the desktop-persisted server profile payload. */ |
| 24 | getServerProfiles(): Promise<string | null> { |
| 25 | return ipcRenderer.invoke("executor:server-profiles:get"); |