Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(cli): reduce excess newlines in toolkits list/search output
jkomyno783ace302182
diff --git a/ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.ts b/ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.tsindex 8e4d15a16..b1e7d59b3 100644--- a/ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.ts+++ b/ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.ts@@ -55,14 +55,13 @@ export const toolkitsCmd$List = Command.make('list', { query, limit }, ({ query,const showing = result.items.length;const total = result.total_items;- yield* ui.log.info(`Listing ${showing} of ${total} toolkits`);- yield* ui.log.message('');- yield* ui.log.message(formatToolkitsTable(result.items));+ yield* ui.log.info(+ `Listing ${showing} of ${total} toolkits\n\n${formatToolkitsTable(result.items)}`+ );// Next step hintconst firstSlug = result.items[0]?.slug;if (firstSlug) {- yield* ui.log.message('');yield* ui.log.step(`To view details of a toolkit:\n> composio toolkits info "${firstSlug}"`);}diff --git a/ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.ts b/ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.tsindex 61ea9e76c..deb5a15d0 100644--- a/ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.ts+++ b/ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.ts@@ -47,14 +47,13 @@ export const toolkitsCmd$Search = Command.make('search', { query, limit }, ({ qureturn;}- yield* ui.log.info(`Found ${result.items.length} toolkits`);- yield* ui.log.message('');- yield* ui.log.message(formatToolkitsTable(result.items));+ yield* ui.log.info(+ `Found ${result.items.length} toolkits\n\n${formatToolkitsTable(result.items)}`+ );// Next step hintconst firstSlug = result.items[0]?.slug;if (firstSlug) {- yield* ui.log.message('');yield* ui.log.step(`To view details:\n> composio toolkits info "${firstSlug}"`);}