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

Function connection

apps/desktop/src/main/supervised-connection.test.ts:6–17  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

4import { replaceSupervisedDaemonForDesktop } from "./supervised-connection";
5
6const connection = (baseUrl: string): SidecarConnection => ({
7 baseUrl,
8 hostname: "localhost",
9 port: 4789,
10 username: "executor",
11 authToken: "token",
12 child: null,
13 supervisedDaemon: true,
14 ownerVersion: "1.5.12",
15 ownerClient: "cli",
16 ownerExecutablePath: "/tmp/old-executor",
17});
18
19const rejectedInstall = (error: unknown): Promise<void> => Effect.runPromise(Effect.fail(error));
20

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected