@devries-cameron20 / composio Mirror · read-only / commits / b58794fa3
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, 14:30 UTC

feat(ts/cli): update "composio ts generate" description

jkomyno committed Jan 14, 2026 at 02:18 UTC b58794fa3da6042585b5d99d6c9c3c6d1bec7f13
2 files changed +11 -5
ts/packages/cli/src/commands/ts/commands/ts.generate.cmd.ts
+10 -4
@@ -20,7 +20,7 @@ import { Command, Options } from '@effect/cli';
20 import { Console, Effect, Option, pipe, Array } from 'effect';
21 import { Match } from 'effect';
22 import { FileSystem } from '@effect/platform';
23 -import { ComposioToolkitsRepository, InvalidToolkitsError } from 'src/services/composio-clients';
23 +import { ComposioToolkitsRepository } from 'src/services/composio-clients';
24 import { NodeProcess } from 'src/services/node-process';
25 import { createToolkitIndex } from 'src/generation/create-toolkit-index';
26 import type { GetCmdParams } from 'src/type-utils';
@@ -50,13 +50,15 @@ export const transpiled = Options.boolean('transpiled').pipe(
50
51 export const typeTools = Options.boolean('type-tools').pipe(
52 Options.withDefault(false),
53 - Options.withDescription('Whether to emit type stubs for tools')
53 + Options.withDescription(
54 + 'Generate typed input/output schemas for each tool (slower, fetches full tool definitions)'
55 + )
56 );
57
58 export const toolkitsOpt = Options.text('toolkits').pipe(
59 Options.repeated,
60 Options.withDescription(
59 - 'Filter output to only include the specified toolkits. Can be specified multiple times (e.g., --toolkits gmail --toolkits slack)'
61 + 'Only generate types for specific toolkits (e.g., --toolkits gmail --toolkits slack)'
62 )
63 );
64
@@ -66,7 +68,11 @@ const _tsCmd$Generate = Command.make('generate', {
68 transpiled: transpiled,
69 typeTools,
70 toolkitsOpt,
69 -}).pipe(Command.withDescription('Updates the local type stubs with the latest app data.'));
71 +}).pipe(
72 + Command.withDescription(
73 + 'Generate TypeScript types for toolkits, tools, and triggers from the Composio API'
74 + )
75 +);
76
77 /**
78 * Validates that the output directory is not inside node_modules
ts/packages/cli/test/src/commands/$default.cmd.test.ts
+1 -1
@@ -76,7 +76,7 @@ describe('CLI: composio', () => {
76
77 - ts Handle TypeScript projects.
78
79 - - ts generate [(-o, --output-dir directory)] [--compact] [--transpiled] [--type-tools] --toolkits text... Updates the local type stubs with the latest app data.
79 + - ts generate [(-o, --output-dir directory)] [--compact] [--transpiled] [--type-tools] --toolkits text... Generate TypeScript types for toolkits, tools, and triggers from the Composio API
80 "
81 `);
82 })