MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

src/webui/plugin.ts:85–92  ·  view source on GitHub ↗
(
    private config: WebConfig,
    /** Optional cross-plugin ref that gets populated when the workspace
     *  service finishes starting. McpPlugin reads through this to find
     *  workspaces for the `/mcp/:wsId` route. Omitted in legacy callers
     *  / tests; ignored when null. */
    private workspaceServiceRef?: WorkspaceServiceRef,
  )

Source from the content-addressed store, hash-verified

83 private cliSocketServer: HttpServer | null = null
84
85 constructor(
86 private config: WebConfig,
87 /** Optional cross-plugin ref that gets populated when the workspace
88 * service finishes starting. McpPlugin reads through this to find
89 * workspaces for the `/mcp/:wsId` route. Omitted in legacy callers
90 * / tests; ignored when null. */
91 private workspaceServiceRef?: WorkspaceServiceRef,
92 ) {}
93
94 async start(ctx: EngineContext) {
95 // ==================== Auth bootstrap ====================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected