MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTeammateExecutor

Function getTeammateExecutor

src/utils/swarm/backends/registry.ts:425–436  ·  view source on GitHub ↗
(
  preferInProcess: boolean = false,
)

Source from the content-addressed store, hash-verified

423 * @returns TeammateExecutor instance
424 */
425export async function getTeammateExecutor(
426 preferInProcess: boolean = false,
427): Promise<TeammateExecutor> {
428 if (preferInProcess && isInProcessEnabled()) {
429 logForDebugging('[BackendRegistry] Using in-process executor')
430 return getInProcessBackend()
431 }
432
433 // Return pane backend executor
434 logForDebugging('[BackendRegistry] Using pane backend executor')
435 return getPaneBackendExecutor()
436}
437
438/**
439 * Gets the PaneBackendExecutor instance.

Callers

nothing calls this directly

Calls 4

isInProcessEnabledFunction · 0.85
logForDebuggingFunction · 0.85
getInProcessBackendFunction · 0.85
getPaneBackendExecutorFunction · 0.85

Tested by

no test coverage detected