mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
auto generated tools docs, added stdio transport, added additional mcp config and permissions
This commit is contained in:
@@ -168,13 +168,12 @@ export class App<C extends Connection = Connection, Options extends AppOptions =
|
||||
if (options?.sync) this.modules.ctx().flags.sync_required = true;
|
||||
await this.modules.build({ fetch: options?.fetch });
|
||||
|
||||
const { guard, server } = this.modules.ctx();
|
||||
const { guard } = this.modules.ctx();
|
||||
|
||||
// load system controller
|
||||
guard.registerPermissions(Object.values(SystemPermissions));
|
||||
const systemController = new SystemController(this);
|
||||
systemController.registerMcp();
|
||||
server.route("/api/system", systemController.getController());
|
||||
systemController.register(this);
|
||||
|
||||
// emit built event
|
||||
$console.log("App built");
|
||||
|
||||
Reference in New Issue
Block a user