Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 10 lines 414 Bytes
Raw
1 import { Effect } from 'effect';
2 import { renderCommandHintGraph } from 'src/services/command-hints';
3 import { TerminalUI } from 'src/services/terminal-ui';
4
5 /** Prints the command-hint graph as indented JSON. */
6 export const runDebugGenerateGraph = () =>
7 Effect.gen(function* () {
8 const ui = yield* TerminalUI;
9 yield* ui.output(JSON.stringify(renderCommandHintGraph(), null, 2), { force: true });
10 });