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, 02:00 UTC
update some copy on cli
Rahul Tarak committed
Mar 24, 2026 at 21:56 UTC
75ff2637cdd0246ecfb0de1804363efac092a2c4
11 files changed
+81
-119
ts/packages/cli/src/analytics/events.ts
+2
-2
@@ -215,7 +215,7 @@ const getExecuteCommandProperties = (context: CliCommandTelemetryContext) => {
215
has_data: isFlagPresent(context.argv, '--data', '-d'),
216
skip_connection_check: isFlagPresent(context.argv, '--skip-connection-check'),
217
skip_tool_params_check: isFlagPresent(context.argv, '--skip-tool-params-check'),
218
- no_verify: isFlagPresent(context.argv, '--no-verify'),
218
+ skip_checks: isFlagPresent(context.argv, '--skip-checks'),
219
};
220
};
221
@@ -261,7 +261,7 @@ const getRunCommandProperties = (context: CliCommandTelemetryContext) => ({
261
dry_run: isFlagPresent(context.argv, '--dry-run'),
262
skip_connection_check: isFlagPresent(context.argv, '--skip-connection-check'),
263
skip_tool_params_check: isFlagPresent(context.argv, '--skip-tool-params-check'),
264
- no_verify: isFlagPresent(context.argv, '--no-verify'),
264
+ skip_checks: isFlagPresent(context.argv, '--skip-checks'),
265
file_mode: isFlagPresent(context.argv, '--file', '-f'),
266
arg_count: Math.max(0, context.argv.length - 3),
267
});
ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
+2
-2
@@ -413,7 +413,7 @@ export const connectedAccountsCmd$Link = Command.make(
413
'',
414
'See also:',
415
' composio search "<query>" Find tools to use after linking',
416
- " composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
416
+ " composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
417
].join('\n')
418
)
419
);
@@ -443,7 +443,7 @@ export const rootConnectedAccountsCmd$Link = Command.make(
443
'',
444
'See also:',
445
' composio search "<query>" Find tools to use after linking',
446
- " composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
446
+ " composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
447
].join('\n')
448
)
449
);
ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts
-2
@@ -3,7 +3,6 @@ import { connectedAccountsCmd$List } from './commands/connected-accounts.list.cm
3
import { connectedAccountsCmd$Info } from './commands/connected-accounts.info.cmd';
4
import { connectedAccountsCmd$Whoami } from './commands/connected-accounts.whoami.cmd';
5
import { connectedAccountsCmd$Delete } from './commands/connected-accounts.delete.cmd';
6
-import { connectedAccountsCmd$Link } from './commands/connected-accounts.link.cmd';
6
7
/**
8
* CLI entry point for connected account management commands.
@@ -20,6 +19,5 @@ export const connectedAccountsCmd = Command.make('connected-accounts').pipe(
19
connectedAccountsCmd$Info,
20
connectedAccountsCmd$Whoami,
21
connectedAccountsCmd$Delete,
23
- connectedAccountsCmd$Link,
22
])
23
);
ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts
+3
-3
@@ -3,12 +3,12 @@ import { Effect } from 'effect';
3
import { TerminalUI } from 'src/services/terminal-ui';
4
5
export const projectsCmd$Switch = Command.make('switch', {}).pipe(
6
- Command.withDescription('Deprecated. Global developer project switching is no longer supported.'),
6
+ Command.withDescription('Switch the developer project for this directory.'),
7
Command.withHandler(() =>
8
Effect.gen(function* () {
9
const ui = yield* TerminalUI;
10
- yield* ui.log.error(
11
- 'Global developer project switching is no longer supported. Run `composio dev init` in a directory to bind it to a developer project.'
10
+ yield* ui.log.info(
11
+ 'Run `composio dev init` in a directory to bind it to a developer project.'
12
);
13
})
14
)
ts/packages/cli/src/commands/proxy.cmd.ts
+2
-2
@@ -53,7 +53,7 @@ const data = Options.text('data').pipe(
53
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
54
Options.withDefault(false),
55
Options.withDescription(
56
- 'Skip the short-lived linked-account fail-fast check if you just connected an account'
56
+ 'Skip the short-lived connected-account fail-fast check if you just connected an account'
57
)
58
);
59
@@ -253,7 +253,7 @@ export const proxyCmd = Command.make('proxy', {
253
}).pipe(
254
Command.withDescription(
255
[
256
- 'curl-like access to any toolkit API through Composio using your linked account.',
256
+ 'curl-like access to any toolkit API through Composio using your connected account.',
257
'Composio handles authentication — just provide the full URL and toolkit.',
258
'',
259
'Examples:',
ts/packages/cli/src/commands/root-help.ts
+21
-61
@@ -23,7 +23,7 @@ const CORE_COMMANDS: ReadonlyArray<DetailedCommand> = [
23
options: [
24
{ name: '<query>', description: 'Semantic use-case query (e.g. "send emails")' },
25
{ name: '--toolkits', description: 'Filter by toolkit slugs, comma-separated' },
26
- { name: '--limit', description: 'Number of results per page (1-1000)' },
26
+ { name: '--limit', description: 'Maximum number of results (1-1000)' },
27
],
28
},
29
{
@@ -61,7 +61,8 @@ const CORE_COMMANDS: ReadonlyArray<DetailedCommand> = [
61
},
62
{
63
name: 'proxy',
64
- description: 'curl-like access to any toolkit API through Composio using your linked account.',
64
+ description:
65
+ 'curl-like access to any toolkit API through Composio using your connected account.',
66
usage: 'proxy <url> --toolkit text [-X method] [-H header]... [-d data]',
67
options: [
68
{ name: '<url>', description: 'Full API endpoint URL' },
@@ -155,7 +156,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
156
],
157
options: [
158
{ name: '--toolkits <text>', description: 'Filter by toolkit slugs, comma-separated' },
158
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
159
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
160
],
161
examples: [
162
'# Find tools for a use case',
@@ -176,7 +177,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
177
],
178
},
179
execute: {
179
- usage: 'composio execute <slug> [-d, --data text] [--dry-run] [--get-schema] [--parallel]',
180
+ usage: 'composio execute <slug> [-d, --data text] [--dry-run] [--get-schema]',
181
description:
182
'Execute a tool by slug. Validates inputs against cached schemas and checks connections automatically — just try it and it will tell you what to fix.',
183
args: [{ name: '<slug>', description: 'Tool slug (e.g. "GITHUB_CREATE_ISSUE")' }],
@@ -186,10 +187,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
187
description:
188
'JSON or JS-style object arguments, e.g. -d \'{ repo: "foo" }\', @file, or - for stdin',
189
},
189
- {
190
- name: '-p, --parallel',
191
- description: 'Execute repeated TOOL_SLUG -d <text> groups concurrently',
192
- },
190
{
191
name: '--get-schema',
192
description: 'Fetch and print the raw tool schema without executing',
@@ -200,12 +197,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
197
},
198
],
199
flags: [
203
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
200
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
201
{
202
name: '--skip-tool-params-check',
203
description: 'Skip input validation against cached schema',
204
},
208
- { name: '--no-verify', description: 'Skip both checks above' },
205
+ { name: '--skip-checks', description: 'Skip both checks above' },
206
],
207
examples: [
208
'# Send an email',
@@ -222,9 +219,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
219
'',
220
'# Read arguments from a file',
221
'composio execute GITHUB_CREATE_ISSUE -d @issue.json',
225
- '',
226
- '# Execute multiple tools concurrently',
227
- `composio execute --parallel GMAIL_SEND_EMAIL -d '{ recipient_email: "a@b.com" }' GITHUB_CREATE_AN_ISSUE -d '{ owner: "acme", repo: "app", title: "Bug" }'`,
222
],
223
seeAlso: [
224
'composio search "<query>" Find tool slugs by use case',
@@ -248,7 +242,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
242
examples: ['composio link github', 'composio link gmail --no-browser'],
243
seeAlso: [
244
'composio search "<query>" Find tools to use after linking',
251
- "composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
245
+ "composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
246
],
247
},
248
run: {
@@ -263,12 +257,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
257
{ name: '--logs-off', description: 'Hide the always-on subAgent streaming logs' },
258
],
259
flags: [
266
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
260
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
261
{
262
name: '--skip-tool-params-check',
263
description: 'Skip input validation against cached schema',
264
},
271
- { name: '--no-verify', description: 'Skip both checks above' },
265
+ { name: '--skip-checks', description: 'Skip both checks above' },
266
],
267
injectedHelpers: [
268
{
@@ -276,7 +270,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
270
description: 'Run a tool — same as `composio execute`, returns parsed JSON',
271
},
272
{ name: 'search(query, opts?)', description: 'Find tools — same as `composio search`' },
279
- { name: 'proxy(toolkit)', description: 'Returns a fetch() bound to your linked account' },
273
+ { name: 'proxy(toolkit)', description: 'Returns a fetch() bound to your connected account' },
274
{
275
name: 'subAgent(prompt, opts?)',
276
description: 'Spawn a sub-agent (Claude/Codex) with optional structured output',
@@ -324,7 +318,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
318
` ));`,
319
`'`,
320
'',
327
- '# proxy(toolkit) — returns a fetch() bound to your linked account',
321
+ '# proxy(toolkit) — returns a fetch() bound to your connected account',
322
`composio run '`,
323
` const f = await proxy("gmail");`,
324
` console.log(await f("https://gmail.googleapis.com/gmail/v1/users/me/profile"));`,
@@ -358,7 +352,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
352
proxy: {
353
usage: 'composio proxy <url> --toolkit <text> [-X method] [-H header]... [-d data]',
354
description:
361
- 'curl-like access to any toolkit API through Composio using your linked account. Composio handles authentication — just provide the full URL and toolkit.',
355
+ 'curl-like access to any toolkit API through Composio using your connected account. Composio handles authentication — just provide the full URL and toolkit.',
356
args: [{ name: '<url>', description: 'Full API endpoint URL' }],
357
options: [
358
{
@@ -375,7 +369,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
369
description: 'Request body as raw text, JSON, @file, or - for stdin',
370
},
371
],
378
- flags: [{ name: '--skip-connection-check', description: 'Skip the linked-account check' }],
372
+ flags: [{ name: '--skip-connection-check', description: 'Skip the connected-account check' }],
373
examples: [
374
'composio proxy https://gmail.googleapis.com/gmail/v1/users/me/profile --toolkit gmail',
375
`composio proxy https://gmail.googleapis.com/gmail/v1/users/me/drafts --toolkit gmail \\`,
@@ -430,7 +424,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
424
options: [
425
{ name: '--query <text>', description: 'Text search by name, slug, or description' },
426
{ name: '--tags <text>', description: 'Filter by tags (e.g. "important")' },
433
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
427
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
428
],
429
},
430
'tools info': {
@@ -449,7 +443,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
443
options: [
444
{ name: '-o, --output-dir <dir>', description: 'Output directory for type stubs' },
445
{
452
- name: '--toolkits <text>...',
446
+ name: '--toolkits <text>... (required)',
447
description: 'Toolkits to generate for (repeat for multiple)',
448
},
449
],
@@ -470,7 +464,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
464
description: 'Output directory for generated TypeScript stubs',
465
},
466
{
473
- name: '--toolkits <text>...',
467
+ name: '--toolkits <text>... (required)',
468
description: 'Toolkits to generate for (repeat for multiple)',
469
},
470
],
@@ -495,7 +489,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
489
description: 'Output directory for generated Python stubs',
490
},
491
{
498
- name: '--toolkits <text>...',
492
+ name: '--toolkits <text>... (required)',
493
description: 'Toolkits to generate for (repeat for multiple)',
494
},
495
],
@@ -528,12 +522,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
522
{ name: '--dry-run', description: 'Validate and preview without executing' },
523
],
524
flags: [
531
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
525
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
526
{
527
name: '--skip-tool-params-check',
528
description: 'Skip input validation against cached schema',
529
},
536
- { name: '--no-verify', description: 'Skip both checks above' },
530
+ { name: '--skip-checks', description: 'Skip both checks above' },
531
],
532
},
533
'dev listen': {
@@ -564,7 +558,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
558
description: 'List available toolkits with connection status.',
559
options: [
560
{ name: '--query <text>', description: 'Text search by name, slug, or description' },
567
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
561
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
562
{ name: '--user-id <text>', description: 'User ID override' },
563
],
564
flags: [{ name: '--connected', description: 'Show only connected toolkits' }],
@@ -645,21 +639,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
639
args: [{ name: '<id>', description: 'Connected account ID' }],
640
flags: [{ name: '-y, --yes', description: 'Skip confirmation prompt' }],
641
},
648
- 'dev connected-accounts link': {
649
- usage:
650
- 'composio dev connected-accounts link [--auth-config text] [--user-id text] [--project-name text] [--no-browser] [--no-wait] [<toolkit>]',
651
- description: 'Connect an external account so tools can act on your behalf.',
652
- args: [{ name: '<toolkit>', description: 'Toolkit slug to link (e.g. "github", "gmail")' }],
653
- options: [
654
- { name: '--auth-config <text>', description: 'Auth config ID to use' },
655
- { name: '--user-id <text>', description: 'User ID override' },
656
- { name: '--project-name <text>', description: 'Project name override' },
657
- ],
658
- flags: [
659
- { name: '--no-browser', description: 'Print the auth URL instead of opening a browser' },
660
- { name: '--no-wait', description: 'Print link info and exit without waiting' },
661
- ],
662
- },
642
'dev triggers list': {
643
usage: 'composio dev triggers list [--toolkits text] [--limit integer]',
644
description: 'List available trigger types.',
@@ -673,25 +652,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
652
description: 'View details of a specific trigger type.',
653
args: [{ name: '<slug>', description: 'Trigger slug' }],
654
},
676
- 'dev triggers listen': {
677
- usage:
678
- 'composio dev triggers listen [--toolkits text] [--trigger-slug text] [--json] [--table] [--max-events int] [--forward url] [--out file]',
679
- description: 'Listen to realtime trigger events and optionally forward them.',
680
- options: [
681
- { name: '--toolkits <text>', description: 'Filter by toolkit slugs, comma-separated' },
682
- { name: '--trigger-id <text>', description: 'Filter by trigger id' },
683
- { name: '--connected-account-id <text>', description: 'Filter by connected account id' },
684
- { name: '--trigger-slug <text>', description: 'Filter by trigger slug, comma-separated' },
685
- { name: '--user-id <text>', description: 'Filter by user id' },
686
- { name: '--max-events <int>', description: 'Stop after receiving N events' },
687
- { name: '--forward <url>', description: 'Forward each event to the given URL' },
688
- { name: '--out <file>', description: 'Append each event to this file' },
689
- ],
690
- flags: [
691
- { name: '--json', description: 'Show raw event payload as JSON' },
692
- { name: '--table', description: 'Show compact table rows' },
693
- ],
694
- },
655
'dev triggers status': {
656
usage:
657
'composio dev triggers status [--user-ids text] [--toolkits text] [--trigger-ids text] [--show-disabled] [--limit integer]',
ts/packages/cli/src/commands/run.cmd.ts
+20
-11
@@ -35,14 +35,14 @@ const logsOff = Options.boolean('logs-off').pipe(
35
Options.withDefault(false)
36
);
37
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
38
- Options.withDescription('Skip the linked-account check'),
38
+ Options.withDescription('Skip the connected-account check'),
39
Options.withDefault(false)
40
);
41
const skipToolParamsCheck = Options.boolean('skip-tool-params-check').pipe(
42
Options.withDescription('Skip input validation against cached schema'),
43
Options.withDefault(false)
44
);
45
-const noVerify = Options.boolean('no-verify').pipe(
45
+const skipChecks = Options.boolean('skip-checks').pipe(
46
Options.withDescription('Skip both connection and input validation checks'),
47
Options.withDefault(false)
48
);
@@ -216,7 +216,7 @@ type RunHelperContext = {
216
readonly dryRun?: boolean;
217
readonly skipConnectionCheck?: boolean;
218
readonly skipToolParamsCheck?: boolean;
219
- readonly noVerify?: boolean;
219
+ readonly skipChecks?: boolean;
220
readonly master?: MasterKind;
221
readonly debug?: boolean;
222
readonly acpOnly?: boolean;
@@ -687,8 +687,8 @@ const buildRunBaseHelpersSource = (): ReadonlyArray<string> => [
687
' if (helperContext.skipToolParamsCheck === true) {',
688
' args.push("--skip-tool-params-check");',
689
' }',
690
- ' if (helperContext.noVerify === true) {',
691
- ' args.push("--no-verify");',
690
+ ' if (helperContext.skipChecks === true) {',
691
+ ' args.push("--skip-checks");',
692
' }',
693
' if (data !== undefined) {',
694
' const serialized = typeof data === "string" ? data : JSON.stringify(data);',
@@ -940,7 +940,7 @@ export const runCmd = Command.make('run', {
940
logsOff,
941
skipConnectionCheck,
942
skipToolParamsCheck,
943
- noVerify,
943
+ skipChecks,
944
args,
945
}).pipe(
946
Command.withDescription(
@@ -981,15 +981,15 @@ export const runCmd = Command.make('run', {
981
' const me = await f("https://gmail.googleapis.com/gmail/v1/users/me/profile")',
982
' z Injected global from `zod` for structured output schemas',
983
'',
984
- 'All helpers reuse your CLI auth state and linked accounts.',
984
+ 'All helpers reuse your CLI auth state and connected accounts.',
985
'',
986
'Flags:',
987
' --debug Log helper steps while the script runs',
988
' --dry-run Preview execute() calls without running them',
989
' --logs-off Hide the always-on subAgent streaming logs',
990
- ' --skip-connection-check Skip the linked-account check',
990
+ ' --skip-connection-check Skip the connected-account check',
991
' --skip-tool-params-check Skip input validation against cached schema',
992
- ' --no-verify Skip both checks above',
992
+ ' --skip-checks Skip both checks above',
993
'',
994
'See also:',
995
' composio search "<query>" Discover tool slugs before scripting',
@@ -998,7 +998,16 @@ export const runCmd = Command.make('run', {
998
].join('\n')
999
),
1000
Command.withHandler(
1001
- ({ file, dryRun, debug, logsOff, skipConnectionCheck, skipToolParamsCheck, noVerify, args }) =>
1001
+ ({
1002
+ file,
1003
+ dryRun,
1004
+ debug,
1005
+ logsOff,
1006
+ skipConnectionCheck,
1007
+ skipToolParamsCheck,
1008
+ skipChecks,
1009
+ args,
1010
+ }) =>
1011
Effect.gen(function* () {
1012
const runId = process.env.COMPOSIO_CLI_PARENT_RUN_ID ?? crypto.randomUUID();
1013
const perfDebug = isPerfDebugEnabled();
@@ -1027,7 +1036,7 @@ export const runCmd = Command.make('run', {
1036
dryRun,
1037
skipConnectionCheck,
1038
skipToolParamsCheck,
1030
- noVerify,
1039
+ skipChecks,
1040
};
1041
const preload = createRunHelpersPreloadFile(inferCliInvocationPrefix(), helperContext);
1042
let cleanupPaths: ReadonlyArray<string> = [];
ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts
+28
-31
@@ -82,14 +82,14 @@ const dryRun = Options.boolean('dry-run').pipe(
82
Options.withDefault(false)
83
);
84
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
85
- Options.withDescription('Skip the linked-account check'),
85
+ Options.withDescription('Skip the connected-account check'),
86
Options.withDefault(false)
87
);
88
const skipToolParamsCheck = Options.boolean('skip-tool-params-check').pipe(
89
Options.withDescription('Skip input validation against cached schema'),
90
Options.withDefault(false)
91
);
92
-const noVerify = Options.boolean('no-verify').pipe(
92
+const skipChecks = Options.boolean('skip-checks').pipe(
93
Options.withDescription('Skip both connection and input validation checks'),
94
Options.withDefault(false)
95
);
@@ -599,7 +599,7 @@ type RunToolsExecuteParams = {
599
dryRun: boolean;
600
skipConnectionCheck: boolean;
601
skipToolParamsCheck: boolean;
602
- noVerify: boolean;
602
+ skipChecks: boolean;
603
};
604
605
type SharedRunToolsExecuteParams = Omit<RunToolsExecuteParams, 'slug' | 'data'>;
@@ -758,13 +758,13 @@ const runConnectedToolkitFailFast = (params: {
758
readonly resolvedProject: ResolvedExecuteContext['resolvedProject'];
759
readonly resolvedUserId: string;
760
readonly skipConnectionCheck: boolean;
761
- readonly noVerify: boolean;
761
+ readonly skipChecks: boolean;
762
}) =>
763
Effect.gen(function* () {
764
- if (params.skipConnectionCheck || params.noVerify) {
764
+ if (params.skipConnectionCheck || params.skipChecks) {
765
perfDebugLog('execute.connected_toolkits.skipped', {
766
slug: params.slug,
767
- reason: params.noVerify ? 'no-verify' : 'skip-connection-check',
767
+ reason: params.skipChecks ? 'skip-checks' : 'skip-connection-check',
768
});
769
return;
770
}
@@ -862,10 +862,10 @@ const runExecuteWithSpinner = (params: {
862
readonly executeParams: ToolExecuteParams;
863
readonly executeOutputDir?: string;
864
readonly skipToolParamsCheck: boolean;
865
- readonly noVerify: boolean;
865
+ readonly skipChecks: boolean;
866
}) =>
867
Effect.gen(function* () {
868
- const verificationDisabled = params.noVerify || params.skipToolParamsCheck;
868
+ const verificationDisabled = params.skipChecks || params.skipToolParamsCheck;
869
const cachedDefinition = verificationDisabled
870
? null
871
: yield* getCachedToolInputDefinition(params.slug);
@@ -1133,7 +1133,7 @@ const runToolsExecute = (params: RunToolsExecuteParams) =>
1133
resolvedProject: context.resolvedProject,
1134
resolvedUserId: context.resolvedUserId,
1135
skipConnectionCheck: params.skipConnectionCheck,
1136
- noVerify: params.noVerify,
1136
+ skipChecks: params.skipChecks,
1137
});
1138
toolDebugLog('execute_params', {
1139
slug: params.slug,
@@ -1159,7 +1159,7 @@ const runToolsExecute = (params: RunToolsExecuteParams) =>
1159
resolvedUserId: context.resolvedUserId,
1160
executeParams: context.executeParams,
1161
skipToolParamsCheck: params.skipToolParamsCheck,
1162
- noVerify: params.noVerify,
1162
+ skipChecks: params.skipChecks,
1163
});
1164
});
1165
@@ -1176,7 +1176,7 @@ const parseParallelExecuteArgs = (
1176
let dryRun = false;
1177
let skipConnectionCheck = false;
1178
let skipToolParamsCheck = false;
1179
- let noVerify = false;
1179
+ let skipChecks = false;
1180
let userId = Option.none<string>();
1181
let projectName = Option.none<string>();
1182
const specs: ParallelExecuteSpec[] = [];
@@ -1226,8 +1226,8 @@ const parseParallelExecuteArgs = (
1226
skipToolParamsCheck = true;
1227
continue;
1228
}
1229
- if (token === '--no-verify') {
1230
- noVerify = true;
1229
+ if (token === '--skip-checks') {
1230
+ skipChecks = true;
1231
continue;
1232
}
1233
if (token === '--user-id' || token.startsWith('--user-id=')) {
@@ -1296,7 +1296,7 @@ const parseParallelExecuteArgs = (
1296
dryRun,
1297
skipConnectionCheck,
1298
skipToolParamsCheck,
1299
- noVerify,
1299
+ skipChecks,
1300
};
1301
};
1302
@@ -1330,10 +1330,10 @@ const checkConnectedToolkitOrFail = (params: {
1330
readonly resolvedProject: ResolvedExecuteContext['resolvedProject'];
1331
readonly resolvedUserId: string;
1332
readonly skipConnectionCheck: boolean;
1333
- readonly noVerify: boolean;
1333
+ readonly skipChecks: boolean;
1334
}) =>
1335
Effect.gen(function* () {
1336
- if (params.skipConnectionCheck || params.noVerify) return;
1336
+ if (params.skipConnectionCheck || params.skipChecks) return;
1337
if (params.resolvedProject.projectType !== 'CONSUMER') return;
1338
1339
yield* refreshConsumerConnectedToolkitsCache({
@@ -1378,7 +1378,7 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
1378
dryRun: params.dryRun,
1379
skipConnectionCheck: params.skipConnectionCheck,
1380
skipToolParamsCheck: params.skipToolParamsCheck,
1381
- noVerify: params.noVerify,
1381
+ skipChecks: params.skipChecks,
1382
}),
1383
{ concurrency: 'unbounded' }
1384
);
@@ -1414,11 +1414,11 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
1414
resolvedProject: context.resolvedProject,
1415
resolvedUserId: context.resolvedUserId,
1416
skipConnectionCheck: params.skipConnectionCheck,
1417
- noVerify: params.noVerify,
1417
+ skipChecks: params.skipChecks,
1418
});
1419
1420
if (params.dryRun) {
1421
- const verificationDisabled = params.noVerify || params.skipToolParamsCheck;
1421
+ const verificationDisabled = params.skipChecks || params.skipToolParamsCheck;
1422
const definition = verificationDisabled
1423
? null
1424
: yield* getOrFetchToolInputDefinition(toolSlug, {
@@ -1439,7 +1439,7 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
1439
} satisfies DryRunSummary;
1440
}
1441
1442
- if (!params.noVerify && !params.skipToolParamsCheck) {
1442
+ if (!params.skipChecks && !params.skipToolParamsCheck) {
1443
const definition = yield* getOrFetchToolInputDefinition(toolSlug, {
1444
orgId: context.resolvedProject.orgId,
1445
projectId: context.resolvedProject.projectId,
@@ -1564,8 +1564,8 @@ export const runParallelToolsExecuteFromArgv = (argv: ReadonlyArray<string>) =>
1564
};
1565
export const rootToolsCmd$Execute = Command.make(
1566
'execute',
1567
- { slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, noVerify },
1568
- ({ slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, noVerify }) =>
1567
+ { slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, skipChecks },
1568
+ ({ slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, skipChecks }) =>
1569
runToolsExecute({
1570
slug,
1571
data,
@@ -1577,7 +1577,7 @@ export const rootToolsCmd$Execute = Command.make(
1577
dryRun,
1578
skipConnectionCheck,
1579
skipToolParamsCheck,
1580
- noVerify,
1580
+ skipChecks,
1581
})
1582
).pipe(
1583
Command.withDescription(
@@ -1587,15 +1587,13 @@ export const rootToolsCmd$Execute = Command.make(
1587
'',
1588
'Examples:',
1589
' composio execute GMAIL_SEND_EMAIL -d \'{ recipient_email: "a@b.com", body: "Hello" }\'',
1590
- ' composio execute --parallel GMAIL_SEND_EMAIL -d \'{ recipient_email: "a@b.com", subject: "Hello", body: "World" }\' GITHUB_CREATE_ISSUE -d \'{ owner: "acme", repo: "app", title: "Bug report", body: "Steps to reproduce..." }\'',
1590
" composio execute GMAIL_SEND_EMAIL --dry-run -d '{ ... }' Preview without executing",
1591
' composio execute GMAIL_SEND_EMAIL --get-schema Fetch and print the input schema',
1592
'',
1593
'Flags:',
1595
- ' -p, --parallel Execute repeated TOOL_SLUG -d <json> groups concurrently',
1596
- ' --skip-connection-check Skip the linked-account check',
1594
+ ' --skip-connection-check Skip the connected-account check',
1595
' --skip-tool-params-check Skip input validation against cached schema',
1598
- ' --no-verify Skip both checks above',
1596
+ ' --skip-checks Skip both checks above',
1597
'',
1598
'See also:',
1599
' composio search "<query>" Find tool slugs by use case',
@@ -1616,7 +1614,7 @@ export const devToolsCmd$Execute = Command.make(
1614
dryRun,
1615
skipConnectionCheck,
1616
skipToolParamsCheck,
1619
- noVerify,
1617
+ skipChecks,
1618
},
1619
({
1620
slug,
@@ -1627,7 +1625,7 @@ export const devToolsCmd$Execute = Command.make(
1625
dryRun,
1626
skipConnectionCheck,
1627
skipToolParamsCheck,
1630
- noVerify,
1628
+ skipChecks,
1629
}) =>
1630
runToolsExecute({
1631
slug,
@@ -1640,7 +1638,7 @@ export const devToolsCmd$Execute = Command.make(
1638
dryRun,
1639
skipConnectionCheck,
1640
skipToolParamsCheck,
1643
- noVerify,
1641
+ skipChecks,
1642
})
1643
).pipe(
1644
Command.withDescription(
@@ -1651,7 +1649,6 @@ export const devToolsCmd$Execute = Command.make(
1649
'',
1650
'Examples:',
1651
' composio dev playground-execute GMAIL_SEND_EMAIL -d \'{ recipient_email: "a@b.com", body: "Hello" }\'',
1654
- ' composio dev playground-execute --parallel GMAIL_SEND_EMAIL -d \'{ recipient_email: "a@b.com", subject: "Hello", body: "World" }\' GITHUB_CREATE_ISSUE -d \'{ owner: "acme", repo: "app", title: "Bug report", body: "Steps to reproduce..." }\'',
1652
' composio dev playground-execute GMAIL_SEND_EMAIL --dry-run -d \'{ recipient_email: "a@b.com", body: "Hello" }\'',
1653
' composio dev playground-execute GMAIL_SEND_EMAIL --get-schema',
1654
].join('\n')
ts/packages/cli/src/commands/triggers/triggers.cmd.ts
-2
@@ -1,7 +1,6 @@
1
import { Command } from '@effect/cli';
2
import { triggersCmd$Info } from './commands/triggers.info.cmd';
3
import { triggersCmd$List } from './commands/triggers.list.cmd';
4
-import { triggersCmd$Listen } from './commands/triggers.listen.cmd';
4
import { triggersCmd$Status } from './commands/triggers.status.cmd';
5
import { triggersCmd$Create } from './commands/triggers.create.cmd';
6
import { triggersCmd$Enable } from './commands/triggers.enable.cmd';
@@ -21,7 +20,6 @@ export const triggersCmd = Command.make('triggers').pipe(
20
Command.withSubcommands([
21
triggersCmd$List,
22
triggersCmd$Info,
24
- triggersCmd$Listen,
23
triggersCmd$Status,
24
triggersCmd$Create,
25
triggersCmd$Enable,
ts/packages/cli/test/src/commands/run.cmd.test.ts
+2
-2
@@ -160,7 +160,7 @@ describe('CLI: composio run', () => {
160
);
161
expect(output).toContain('--skip-connection-check');
162
expect(output).toContain('--skip-tool-params-check');
163
- expect(output).toContain('--no-verify');
163
+ expect(output).toContain('--skip-checks');
164
expect(output).toContain('--logs-off');
165
expect(output).toContain('subAgent');
166
expect(output).toContain('schema: z.object');
@@ -259,7 +259,7 @@ describe('buildRunHelpersSource', () => {
259
expect(source).toContain('args.push("--dry-run");');
260
expect(source).toContain('args.push("--skip-connection-check");');
261
expect(source).toContain('args.push("--skip-tool-params-check");');
262
- expect(source).toContain('args.push("--no-verify");');
262
+ expect(source).toContain('args.push("--skip-checks");');
263
expect(source).toContain(
264
"stdio: ['inherit', 'pipe', perfDebugEnabled || toolDebugEnabled ? 'inherit' : 'pipe']"
265
);
ts/packages/cli/test/src/commands/tools/tools.execute.cmd.test.ts
+1
-1
@@ -484,7 +484,7 @@ describe('CLI: composio execute', () => {
484
yield* cli([
485
'execute',
486
'--parallel',
487
- '--no-verify',
487
+ '--skip-checks',
488
'GMAIL_SEND_EMAIL',
489
'-d',
490
'{"recipient":"a"}',