@devries-cameron20 / composio Mirror · read-only / commits / 783ace302
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 08:15 UTC

fix(cli): reduce excess newlines in toolkits list/search output

Inline the table into the info/count log message and remove the extra ui.log.message('') spacers that produced triple blank lines.

jkomyno committed Feb 18, 2026 at 20:57 UTC 783ace3021823bdfdeb5667d85813a26d48b5402
2 files changed +6 -8
ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.ts
+3 -4
@@ -55,14 +55,13 @@ export const toolkitsCmd$List = Command.make('list', { query, limit }, ({ query,
55 const showing = result.items.length;
56 const total = result.total_items;
57
58 - yield* ui.log.info(`Listing ${showing} of ${total} toolkits`);
59 - yield* ui.log.message('');
60 - yield* ui.log.message(formatToolkitsTable(result.items));
58 + yield* ui.log.info(
59 + `Listing ${showing} of ${total} toolkits\n\n${formatToolkitsTable(result.items)}`
60 + );
61
62 // Next step hint
63 const firstSlug = result.items[0]?.slug;
64 if (firstSlug) {
65 - yield* ui.log.message('');
65 yield* ui.log.step(`To view details of a toolkit:\n> composio toolkits info "${firstSlug}"`);
66 }
67
ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.ts
+3 -4
@@ -47,14 +47,13 @@ export const toolkitsCmd$Search = Command.make('search', { query, limit }, ({ qu
47 return;
48 }
49
50 - yield* ui.log.info(`Found ${result.items.length} toolkits`);
51 - yield* ui.log.message('');
52 - yield* ui.log.message(formatToolkitsTable(result.items));
50 + yield* ui.log.info(
51 + `Found ${result.items.length} toolkits\n\n${formatToolkitsTable(result.items)}`
52 + );
53
54 // Next step hint
55 const firstSlug = result.items[0]?.slug;
56 if (firstSlug) {
57 - yield* ui.log.message('');
57 yield* ui.log.step(`To view details:\n> composio toolkits info "${firstSlug}"`);
58 }
59