MCPcopy
hub / github.com/codeaashu/claude-code / getBackend

Function getBackend

src/utils/swarm/teammateLayoutManager.ts:14–16  ·  view source on GitHub ↗

* Gets the appropriate backend for the current environment. * detectAndGetBackend() caches internally — no need for a second cache here.

()

Source from the content-addressed store, hash-verified

12 * detectAndGetBackend() caches internally — no need for a second cache here.
13 */
14async function getBackend(): Promise<PaneBackend> {
15 return (await detectAndGetBackend()).backend
16}
17
18/**
19 * Assigns a unique color to a teammate from the available palette.

Callers 3

enablePaneBorderStatusFunction · 0.85
sendCommandToPaneFunction · 0.85

Calls 1

detectAndGetBackendFunction · 0.85

Tested by

no test coverage detected