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

Function createTmuxBackend

src/utils/swarm/backends/registry.ts:106–113  ·  view source on GitHub ↗

* Creates a TmuxBackend instance. * Throws if TmuxBackend hasn't been registered.

()

Source from the content-addressed store, hash-verified

104 * Throws if TmuxBackend hasn't been registered.
105 */
106function createTmuxBackend(): PaneBackend {
107 if (!TmuxBackendClass) {
108 throw new Error(
109 'TmuxBackend not registered. Import TmuxBackend.ts before using the registry.',
110 )
111 }
112 return new TmuxBackendClass()
113}
114
115/**
116 * Creates an ITermBackend instance.

Callers 2

detectAndGetBackendFunction · 0.85
getBackendByTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected