MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/socket/socket-gateway.ts:24–31  ·  view source on GitHub ↗
(
    private readonly nsp: Namespace,
    private readonly eventBus: EventBus,
    private readonly sessionManager: SessionManager,
    private readonly terminalManager: TerminalManager
  )

Source from the content-addressed store, hash-verified

22 type SessionPermissionRequestedPayload,
23 type SessionRuntimeStateChangedPayload,
24 type TerminalInputPayload,
25 type TerminalResizePayload,
26 type TeamRunInvalidatedPayload,
27 type WorkspaceGitChangedPayload,
28 type WorkspaceSetupProgressPayload,
29} from './events.js';
30
31export class SocketGateway {
32 private destroyed = false;
33 private cleanups: Array<() => void> = [];
34 private taskDeliverySubscriptions = new WeakMap<Socket, Map<string, symbol>>();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected