MCPcopy Create free account
hub / github.com/Noumena-Network/code / doctorHandler

Function doctorHandler

src/cli/handlers/util.tsx:92–107  ·  view source on GitHub ↗
(root: Root)

Source from the content-addressed store, hash-verified

90 return t1;
91}
92export async function doctorHandler(root: Root): Promise<void> {
93 logEvent('ncode_doctor_command', {});
94 await new Promise<void>(resolve => {
95 root.render(<AppStateProvider>
96 <KeybindingSetup>
97 <MCPConnectionManager dynamicMcpConfig={undefined} isStrictMcpConfig={false}>
98 <DoctorWithPlugins onDone={() => {
99 void resolve();
100 }} />
101 </MCPConnectionManager>
102 </KeybindingSetup>
103 </AppStateProvider>);
104 });
105 root.unmount();
106 cliOk();
107}
108
109// install handler
110export async function installHandler(target: string | undefined, options: {

Callers 1

runFunction · 0.85

Calls 5

cliOkFunction · 0.85
unmountMethod · 0.80
logEventFunction · 0.50
resolveFunction · 0.50
renderMethod · 0.45

Tested by

no test coverage detected