Skip to content

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

update some copy on cli

Rahul Tarak75ff2637cdd0
diff --git a/ts/packages/cli/src/analytics/events.ts b/ts/packages/cli/src/analytics/events.ts
index f9e1745ba..01f418938 100644
--- a/ts/packages/cli/src/analytics/events.ts
+++ b/ts/packages/cli/src/analytics/events.ts
@@ -215,7 +215,7 @@ const getExecuteCommandProperties = (context: CliCommandTelemetryContext) => {
has_data: isFlagPresent(context.argv, '--data', '-d'),
skip_connection_check: isFlagPresent(context.argv, '--skip-connection-check'),
skip_tool_params_check: isFlagPresent(context.argv, '--skip-tool-params-check'),
- no_verify: isFlagPresent(context.argv, '--no-verify'),
+ skip_checks: isFlagPresent(context.argv, '--skip-checks'),
};
};
@@ -261,7 +261,7 @@ const getRunCommandProperties = (context: CliCommandTelemetryContext) => ({
dry_run: isFlagPresent(context.argv, '--dry-run'),
skip_connection_check: isFlagPresent(context.argv, '--skip-connection-check'),
skip_tool_params_check: isFlagPresent(context.argv, '--skip-tool-params-check'),
- no_verify: isFlagPresent(context.argv, '--no-verify'),
+ skip_checks: isFlagPresent(context.argv, '--skip-checks'),
file_mode: isFlagPresent(context.argv, '--file', '-f'),
arg_count: Math.max(0, context.argv.length - 3),
});
diff --git a/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts b/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
index 5ff8c4469..86ffbc36f 100644
--- a/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
+++ b/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
@@ -413,7 +413,7 @@ export const connectedAccountsCmd$Link = Command.make(
'',
'See also:',
' composio search "<query>" Find tools to use after linking',
- " composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
+ " composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
].join('\n')
)
);
@@ -443,7 +443,7 @@ export const rootConnectedAccountsCmd$Link = Command.make(
'',
'See also:',
' composio search "<query>" Find tools to use after linking',
- " composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
+ " composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
].join('\n')
)
);
diff --git a/ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts b/ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts
index 043257ab6..e84a33736 100644
--- a/ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts
+++ b/ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts
@@ -3,7 +3,6 @@ import { connectedAccountsCmd$List } from './commands/connected-accounts.list.cm
import { connectedAccountsCmd$Info } from './commands/connected-accounts.info.cmd';
import { connectedAccountsCmd$Whoami } from './commands/connected-accounts.whoami.cmd';
import { connectedAccountsCmd$Delete } from './commands/connected-accounts.delete.cmd';
-import { connectedAccountsCmd$Link } from './commands/connected-accounts.link.cmd';
/**
* CLI entry point for connected account management commands.
@@ -20,6 +19,5 @@ export const connectedAccountsCmd = Command.make('connected-accounts').pipe(
connectedAccountsCmd$Info,
connectedAccountsCmd$Whoami,
connectedAccountsCmd$Delete,
- connectedAccountsCmd$Link,
])
);
diff --git a/ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts b/ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts
index d94407e76..c4c915dbf 100644
--- a/ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts
+++ b/ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts
@@ -3,12 +3,12 @@ import { Effect } from 'effect';
import { TerminalUI } from 'src/services/terminal-ui';
export const projectsCmd$Switch = Command.make('switch', {}).pipe(
- Command.withDescription('Deprecated. Global developer project switching is no longer supported.'),
+ Command.withDescription('Switch the developer project for this directory.'),
Command.withHandler(() =>
Effect.gen(function* () {
const ui = yield* TerminalUI;
- yield* ui.log.error(
- 'Global developer project switching is no longer supported. Run `composio dev init` in a directory to bind it to a developer project.'
+ yield* ui.log.info(
+ 'Run `composio dev init` in a directory to bind it to a developer project.'
);
})
)
diff --git a/ts/packages/cli/src/commands/proxy.cmd.ts b/ts/packages/cli/src/commands/proxy.cmd.ts
index 1db3a4391..366fce940 100644
--- a/ts/packages/cli/src/commands/proxy.cmd.ts
+++ b/ts/packages/cli/src/commands/proxy.cmd.ts
@@ -53,7 +53,7 @@ const data = Options.text('data').pipe(
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
Options.withDefault(false),
Options.withDescription(
- 'Skip the short-lived linked-account fail-fast check if you just connected an account'
+ 'Skip the short-lived connected-account fail-fast check if you just connected an account'
)
);
@@ -253,7 +253,7 @@ export const proxyCmd = Command.make('proxy', {
}).pipe(
Command.withDescription(
[
- 'curl-like access to any toolkit API through Composio using your linked account.',
+ 'curl-like access to any toolkit API through Composio using your connected account.',
'Composio handles authentication — just provide the full URL and toolkit.',
'',
'Examples:',
diff --git a/ts/packages/cli/src/commands/root-help.ts b/ts/packages/cli/src/commands/root-help.ts
index b1341065c..aaf57823b 100644
--- a/ts/packages/cli/src/commands/root-help.ts
+++ b/ts/packages/cli/src/commands/root-help.ts
@@ -23,7 +23,7 @@ const CORE_COMMANDS: ReadonlyArray<DetailedCommand> = [
options: [
{ name: '<query>', description: 'Semantic use-case query (e.g. "send emails")' },
{ name: '--toolkits', description: 'Filter by toolkit slugs, comma-separated' },
- { name: '--limit', description: 'Number of results per page (1-1000)' },
+ { name: '--limit', description: 'Maximum number of results (1-1000)' },
],
},
{
@@ -61,7 +61,8 @@ const CORE_COMMANDS: ReadonlyArray<DetailedCommand> = [
},
{
name: 'proxy',
- description: 'curl-like access to any toolkit API through Composio using your linked account.',
+ description:
+ 'curl-like access to any toolkit API through Composio using your connected account.',
usage: 'proxy <url> --toolkit text [-X method] [-H header]... [-d data]',
options: [
{ name: '<url>', description: 'Full API endpoint URL' },
@@ -155,7 +156,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
],
options: [
{ name: '--toolkits <text>', description: 'Filter by toolkit slugs, comma-separated' },
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
],
examples: [
'# Find tools for a use case',
@@ -176,7 +177,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
],
},
execute: {
- usage: 'composio execute <slug> [-d, --data text] [--dry-run] [--get-schema] [--parallel]',
+ usage: 'composio execute <slug> [-d, --data text] [--dry-run] [--get-schema]',
description:
'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.',
args: [{ name: '<slug>', description: 'Tool slug (e.g. "GITHUB_CREATE_ISSUE")' }],
@@ -186,10 +187,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description:
'JSON or JS-style object arguments, e.g. -d \'{ repo: "foo" }\', @file, or - for stdin',
},
- {
- name: '-p, --parallel',
- description: 'Execute repeated TOOL_SLUG -d <text> groups concurrently',
- },
{
name: '--get-schema',
description: 'Fetch and print the raw tool schema without executing',
@@ -200,12 +197,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
},
],
flags: [
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
{
name: '--skip-tool-params-check',
description: 'Skip input validation against cached schema',
},
- { name: '--no-verify', description: 'Skip both checks above' },
+ { name: '--skip-checks', description: 'Skip both checks above' },
],
examples: [
'# Send an email',
@@ -222,9 +219,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
'',
'# Read arguments from a file',
'composio execute GITHUB_CREATE_ISSUE -d @issue.json',
- '',
- '# Execute multiple tools concurrently',
- `composio execute --parallel GMAIL_SEND_EMAIL -d '{ recipient_email: "[email protected]" }' GITHUB_CREATE_AN_ISSUE -d '{ owner: "acme", repo: "app", title: "Bug" }'`,
],
seeAlso: [
'composio search "<query>" Find tool slugs by use case',
@@ -248,7 +242,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
examples: ['composio link github', 'composio link gmail --no-browser'],
seeAlso: [
'composio search "<query>" Find tools to use after linking',
- "composio execute <slug> -d '{ ... }' Execute a tool with your linked account",
+ "composio execute <slug> -d '{ ... }' Execute a tool with your connected account",
],
},
run: {
@@ -263,12 +257,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
{ name: '--logs-off', description: 'Hide the always-on subAgent streaming logs' },
],
flags: [
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
{
name: '--skip-tool-params-check',
description: 'Skip input validation against cached schema',
},
- { name: '--no-verify', description: 'Skip both checks above' },
+ { name: '--skip-checks', description: 'Skip both checks above' },
],
injectedHelpers: [
{
@@ -276,7 +270,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'Run a tool — same as `composio execute`, returns parsed JSON',
},
{ name: 'search(query, opts?)', description: 'Find tools — same as `composio search`' },
- { name: 'proxy(toolkit)', description: 'Returns a fetch() bound to your linked account' },
+ { name: 'proxy(toolkit)', description: 'Returns a fetch() bound to your connected account' },
{
name: 'subAgent(prompt, opts?)',
description: 'Spawn a sub-agent (Claude/Codex) with optional structured output',
@@ -324,7 +318,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
` ));`,
`'`,
'',
- '# proxy(toolkit) — returns a fetch() bound to your linked account',
+ '# proxy(toolkit) — returns a fetch() bound to your connected account',
`composio run '`,
` const f = await proxy("gmail");`,
` console.log(await f("https://gmail.googleapis.com/gmail/v1/users/me/profile"));`,
@@ -358,7 +352,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
proxy: {
usage: 'composio proxy <url> --toolkit <text> [-X method] [-H header]... [-d data]',
description:
- 'curl-like access to any toolkit API through Composio using your linked account. Composio handles authentication — just provide the full URL and toolkit.',
+ 'curl-like access to any toolkit API through Composio using your connected account. Composio handles authentication — just provide the full URL and toolkit.',
args: [{ name: '<url>', description: 'Full API endpoint URL' }],
options: [
{
@@ -375,7 +369,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'Request body as raw text, JSON, @file, or - for stdin',
},
],
- flags: [{ name: '--skip-connection-check', description: 'Skip the linked-account check' }],
+ flags: [{ name: '--skip-connection-check', description: 'Skip the connected-account check' }],
examples: [
'composio proxy https://gmail.googleapis.com/gmail/v1/users/me/profile --toolkit gmail',
`composio proxy https://gmail.googleapis.com/gmail/v1/users/me/drafts --toolkit gmail \\`,
@@ -430,7 +424,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
options: [
{ name: '--query <text>', description: 'Text search by name, slug, or description' },
{ name: '--tags <text>', description: 'Filter by tags (e.g. "important")' },
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
],
},
'tools info': {
@@ -449,7 +443,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
options: [
{ name: '-o, --output-dir <dir>', description: 'Output directory for type stubs' },
{
- name: '--toolkits <text>...',
+ name: '--toolkits <text>... (required)',
description: 'Toolkits to generate for (repeat for multiple)',
},
],
@@ -470,7 +464,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'Output directory for generated TypeScript stubs',
},
{
- name: '--toolkits <text>...',
+ name: '--toolkits <text>... (required)',
description: 'Toolkits to generate for (repeat for multiple)',
},
],
@@ -495,7 +489,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'Output directory for generated Python stubs',
},
{
- name: '--toolkits <text>...',
+ name: '--toolkits <text>... (required)',
description: 'Toolkits to generate for (repeat for multiple)',
},
],
@@ -528,12 +522,12 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
{ name: '--dry-run', description: 'Validate and preview without executing' },
],
flags: [
- { name: '--skip-connection-check', description: 'Skip the linked-account check' },
+ { name: '--skip-connection-check', description: 'Skip the connected-account check' },
{
name: '--skip-tool-params-check',
description: 'Skip input validation against cached schema',
},
- { name: '--no-verify', description: 'Skip both checks above' },
+ { name: '--skip-checks', description: 'Skip both checks above' },
],
},
'dev listen': {
@@ -564,7 +558,7 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'List available toolkits with connection status.',
options: [
{ name: '--query <text>', description: 'Text search by name, slug, or description' },
- { name: '--limit <integer>', description: 'Number of results per page (1-1000)' },
+ { name: '--limit <integer>', description: 'Maximum number of results (1-1000)' },
{ name: '--user-id <text>', description: 'User ID override' },
],
flags: [{ name: '--connected', description: 'Show only connected toolkits' }],
@@ -645,21 +639,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
args: [{ name: '<id>', description: 'Connected account ID' }],
flags: [{ name: '-y, --yes', description: 'Skip confirmation prompt' }],
},
- 'dev connected-accounts link': {
- usage:
- 'composio dev connected-accounts link [--auth-config text] [--user-id text] [--project-name text] [--no-browser] [--no-wait] [<toolkit>]',
- description: 'Connect an external account so tools can act on your behalf.',
- args: [{ name: '<toolkit>', description: 'Toolkit slug to link (e.g. "github", "gmail")' }],
- options: [
- { name: '--auth-config <text>', description: 'Auth config ID to use' },
- { name: '--user-id <text>', description: 'User ID override' },
- { name: '--project-name <text>', description: 'Project name override' },
- ],
- flags: [
- { name: '--no-browser', description: 'Print the auth URL instead of opening a browser' },
- { name: '--no-wait', description: 'Print link info and exit without waiting' },
- ],
- },
'dev triggers list': {
usage: 'composio dev triggers list [--toolkits text] [--limit integer]',
description: 'List available trigger types.',
@@ -673,25 +652,6 @@ const SUBCOMMAND_HELP: Record<string, SubcommandHelp> = {
description: 'View details of a specific trigger type.',
args: [{ name: '<slug>', description: 'Trigger slug' }],
},
- 'dev triggers listen': {
- usage:
- 'composio dev triggers listen [--toolkits text] [--trigger-slug text] [--json] [--table] [--max-events int] [--forward url] [--out file]',
- description: 'Listen to realtime trigger events and optionally forward them.',
- options: [
- { name: '--toolkits <text>', description: 'Filter by toolkit slugs, comma-separated' },
- { name: '--trigger-id <text>', description: 'Filter by trigger id' },
- { name: '--connected-account-id <text>', description: 'Filter by connected account id' },
- { name: '--trigger-slug <text>', description: 'Filter by trigger slug, comma-separated' },
- { name: '--user-id <text>', description: 'Filter by user id' },
- { name: '--max-events <int>', description: 'Stop after receiving N events' },
- { name: '--forward <url>', description: 'Forward each event to the given URL' },
- { name: '--out <file>', description: 'Append each event to this file' },
- ],
- flags: [
- { name: '--json', description: 'Show raw event payload as JSON' },
- { name: '--table', description: 'Show compact table rows' },
- ],
- },
'dev triggers status': {
usage:
'composio dev triggers status [--user-ids text] [--toolkits text] [--trigger-ids text] [--show-disabled] [--limit integer]',
diff --git a/ts/packages/cli/src/commands/run.cmd.ts b/ts/packages/cli/src/commands/run.cmd.ts
index 838ecf51c..e2fc3be45 100644
--- a/ts/packages/cli/src/commands/run.cmd.ts
+++ b/ts/packages/cli/src/commands/run.cmd.ts
@@ -35,14 +35,14 @@ const logsOff = Options.boolean('logs-off').pipe(
Options.withDefault(false)
);
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
- Options.withDescription('Skip the linked-account check'),
+ Options.withDescription('Skip the connected-account check'),
Options.withDefault(false)
);
const skipToolParamsCheck = Options.boolean('skip-tool-params-check').pipe(
Options.withDescription('Skip input validation against cached schema'),
Options.withDefault(false)
);
-const noVerify = Options.boolean('no-verify').pipe(
+const skipChecks = Options.boolean('skip-checks').pipe(
Options.withDescription('Skip both connection and input validation checks'),
Options.withDefault(false)
);
@@ -216,7 +216,7 @@ type RunHelperContext = {
readonly dryRun?: boolean;
readonly skipConnectionCheck?: boolean;
readonly skipToolParamsCheck?: boolean;
- readonly noVerify?: boolean;
+ readonly skipChecks?: boolean;
readonly master?: MasterKind;
readonly debug?: boolean;
readonly acpOnly?: boolean;
@@ -687,8 +687,8 @@ const buildRunBaseHelpersSource = (): ReadonlyArray<string> => [
' if (helperContext.skipToolParamsCheck === true) {',
' args.push("--skip-tool-params-check");',
' }',
- ' if (helperContext.noVerify === true) {',
- ' args.push("--no-verify");',
+ ' if (helperContext.skipChecks === true) {',
+ ' args.push("--skip-checks");',
' }',
' if (data !== undefined) {',
' const serialized = typeof data === "string" ? data : JSON.stringify(data);',
@@ -940,7 +940,7 @@ export const runCmd = Command.make('run', {
logsOff,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
args,
}).pipe(
Command.withDescription(
@@ -981,15 +981,15 @@ export const runCmd = Command.make('run', {
' const me = await f("https://gmail.googleapis.com/gmail/v1/users/me/profile")',
' z Injected global from `zod` for structured output schemas',
'',
- 'All helpers reuse your CLI auth state and linked accounts.',
+ 'All helpers reuse your CLI auth state and connected accounts.',
'',
'Flags:',
' --debug Log helper steps while the script runs',
' --dry-run Preview execute() calls without running them',
' --logs-off Hide the always-on subAgent streaming logs',
- ' --skip-connection-check Skip the linked-account check',
+ ' --skip-connection-check Skip the connected-account check',
' --skip-tool-params-check Skip input validation against cached schema',
- ' --no-verify Skip both checks above',
+ ' --skip-checks Skip both checks above',
'',
'See also:',
' composio search "<query>" Discover tool slugs before scripting',
@@ -998,7 +998,16 @@ export const runCmd = Command.make('run', {
].join('\n')
),
Command.withHandler(
- ({ file, dryRun, debug, logsOff, skipConnectionCheck, skipToolParamsCheck, noVerify, args }) =>
+ ({
+ file,
+ dryRun,
+ debug,
+ logsOff,
+ skipConnectionCheck,
+ skipToolParamsCheck,
+ skipChecks,
+ args,
+ }) =>
Effect.gen(function* () {
const runId = process.env.COMPOSIO_CLI_PARENT_RUN_ID ?? crypto.randomUUID();
const perfDebug = isPerfDebugEnabled();
@@ -1027,7 +1036,7 @@ export const runCmd = Command.make('run', {
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
};
const preload = createRunHelpersPreloadFile(inferCliInvocationPrefix(), helperContext);
let cleanupPaths: ReadonlyArray<string> = [];
diff --git a/ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts b/ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts
index e02c87e0d..4f99484eb 100644
--- a/ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts
+++ b/ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts
@@ -82,14 +82,14 @@ const dryRun = Options.boolean('dry-run').pipe(
Options.withDefault(false)
);
const skipConnectionCheck = Options.boolean('skip-connection-check').pipe(
- Options.withDescription('Skip the linked-account check'),
+ Options.withDescription('Skip the connected-account check'),
Options.withDefault(false)
);
const skipToolParamsCheck = Options.boolean('skip-tool-params-check').pipe(
Options.withDescription('Skip input validation against cached schema'),
Options.withDefault(false)
);
-const noVerify = Options.boolean('no-verify').pipe(
+const skipChecks = Options.boolean('skip-checks').pipe(
Options.withDescription('Skip both connection and input validation checks'),
Options.withDefault(false)
);
@@ -599,7 +599,7 @@ type RunToolsExecuteParams = {
dryRun: boolean;
skipConnectionCheck: boolean;
skipToolParamsCheck: boolean;
- noVerify: boolean;
+ skipChecks: boolean;
};
type SharedRunToolsExecuteParams = Omit<RunToolsExecuteParams, 'slug' | 'data'>;
@@ -758,13 +758,13 @@ const runConnectedToolkitFailFast = (params: {
readonly resolvedProject: ResolvedExecuteContext['resolvedProject'];
readonly resolvedUserId: string;
readonly skipConnectionCheck: boolean;
- readonly noVerify: boolean;
+ readonly skipChecks: boolean;
}) =>
Effect.gen(function* () {
- if (params.skipConnectionCheck || params.noVerify) {
+ if (params.skipConnectionCheck || params.skipChecks) {
perfDebugLog('execute.connected_toolkits.skipped', {
slug: params.slug,
- reason: params.noVerify ? 'no-verify' : 'skip-connection-check',
+ reason: params.skipChecks ? 'skip-checks' : 'skip-connection-check',
});
return;
}
@@ -862,10 +862,10 @@ const runExecuteWithSpinner = (params: {
readonly executeParams: ToolExecuteParams;
readonly executeOutputDir?: string;
readonly skipToolParamsCheck: boolean;
- readonly noVerify: boolean;
+ readonly skipChecks: boolean;
}) =>
Effect.gen(function* () {
- const verificationDisabled = params.noVerify || params.skipToolParamsCheck;
+ const verificationDisabled = params.skipChecks || params.skipToolParamsCheck;
const cachedDefinition = verificationDisabled
? null
: yield* getCachedToolInputDefinition(params.slug);
@@ -1133,7 +1133,7 @@ const runToolsExecute = (params: RunToolsExecuteParams) =>
resolvedProject: context.resolvedProject,
resolvedUserId: context.resolvedUserId,
skipConnectionCheck: params.skipConnectionCheck,
- noVerify: params.noVerify,
+ skipChecks: params.skipChecks,
});
toolDebugLog('execute_params', {
slug: params.slug,
@@ -1159,7 +1159,7 @@ const runToolsExecute = (params: RunToolsExecuteParams) =>
resolvedUserId: context.resolvedUserId,
executeParams: context.executeParams,
skipToolParamsCheck: params.skipToolParamsCheck,
- noVerify: params.noVerify,
+ skipChecks: params.skipChecks,
});
});
@@ -1176,7 +1176,7 @@ const parseParallelExecuteArgs = (
let dryRun = false;
let skipConnectionCheck = false;
let skipToolParamsCheck = false;
- let noVerify = false;
+ let skipChecks = false;
let userId = Option.none<string>();
let projectName = Option.none<string>();
const specs: ParallelExecuteSpec[] = [];
@@ -1226,8 +1226,8 @@ const parseParallelExecuteArgs = (
skipToolParamsCheck = true;
continue;
}
- if (token === '--no-verify') {
- noVerify = true;
+ if (token === '--skip-checks') {
+ skipChecks = true;
continue;
}
if (token === '--user-id' || token.startsWith('--user-id=')) {
@@ -1296,7 +1296,7 @@ const parseParallelExecuteArgs = (
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
};
};
@@ -1330,10 +1330,10 @@ const checkConnectedToolkitOrFail = (params: {
readonly resolvedProject: ResolvedExecuteContext['resolvedProject'];
readonly resolvedUserId: string;
readonly skipConnectionCheck: boolean;
- readonly noVerify: boolean;
+ readonly skipChecks: boolean;
}) =>
Effect.gen(function* () {
- if (params.skipConnectionCheck || params.noVerify) return;
+ if (params.skipConnectionCheck || params.skipChecks) return;
if (params.resolvedProject.projectType !== 'CONSUMER') return;
yield* refreshConsumerConnectedToolkitsCache({
@@ -1378,7 +1378,7 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
dryRun: params.dryRun,
skipConnectionCheck: params.skipConnectionCheck,
skipToolParamsCheck: params.skipToolParamsCheck,
- noVerify: params.noVerify,
+ skipChecks: params.skipChecks,
}),
{ concurrency: 'unbounded' }
);
@@ -1414,11 +1414,11 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
resolvedProject: context.resolvedProject,
resolvedUserId: context.resolvedUserId,
skipConnectionCheck: params.skipConnectionCheck,
- noVerify: params.noVerify,
+ skipChecks: params.skipChecks,
});
if (params.dryRun) {
- const verificationDisabled = params.noVerify || params.skipToolParamsCheck;
+ const verificationDisabled = params.skipChecks || params.skipToolParamsCheck;
const definition = verificationDisabled
? null
: yield* getOrFetchToolInputDefinition(toolSlug, {
@@ -1439,7 +1439,7 @@ const runParallelToolsExecuteFromParsed = (params: ParsedParallelExecuteArgs) =>
} satisfies DryRunSummary;
}
- if (!params.noVerify && !params.skipToolParamsCheck) {
+ if (!params.skipChecks && !params.skipToolParamsCheck) {
const definition = yield* getOrFetchToolInputDefinition(toolSlug, {
orgId: context.resolvedProject.orgId,
projectId: context.resolvedProject.projectId,
@@ -1564,8 +1564,8 @@ export const runParallelToolsExecuteFromArgv = (argv: ReadonlyArray<string>) =>
};
export const rootToolsCmd$Execute = Command.make(
'execute',
- { slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, noVerify },
- ({ slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, noVerify }) =>
+ { slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, skipChecks },
+ ({ slug, data, getSchema, dryRun, skipConnectionCheck, skipToolParamsCheck, skipChecks }) =>
runToolsExecute({
slug,
data,
@@ -1577,7 +1577,7 @@ export const rootToolsCmd$Execute = Command.make(
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
})
).pipe(
Command.withDescription(
@@ -1587,15 +1587,13 @@ export const rootToolsCmd$Execute = Command.make(
'',
'Examples:',
' composio execute GMAIL_SEND_EMAIL -d \'{ recipient_email: "[email protected]", body: "Hello" }\'',
- ' composio execute --parallel GMAIL_SEND_EMAIL -d \'{ recipient_email: "[email protected]", subject: "Hello", body: "World" }\' GITHUB_CREATE_ISSUE -d \'{ owner: "acme", repo: "app", title: "Bug report", body: "Steps to reproduce..." }\'',
" composio execute GMAIL_SEND_EMAIL --dry-run -d '{ ... }' Preview without executing",
' composio execute GMAIL_SEND_EMAIL --get-schema Fetch and print the input schema',
'',
'Flags:',
- ' -p, --parallel Execute repeated TOOL_SLUG -d <json> groups concurrently',
- ' --skip-connection-check Skip the linked-account check',
+ ' --skip-connection-check Skip the connected-account check',
' --skip-tool-params-check Skip input validation against cached schema',
- ' --no-verify Skip both checks above',
+ ' --skip-checks Skip both checks above',
'',
'See also:',
' composio search "<query>" Find tool slugs by use case',
@@ -1616,7 +1614,7 @@ export const devToolsCmd$Execute = Command.make(
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
},
({
slug,
@@ -1627,7 +1625,7 @@ export const devToolsCmd$Execute = Command.make(
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
}) =>
runToolsExecute({
slug,
@@ -1640,7 +1638,7 @@ export const devToolsCmd$Execute = Command.make(
dryRun,
skipConnectionCheck,
skipToolParamsCheck,
- noVerify,
+ skipChecks,
})
).pipe(
Command.withDescription(
@@ -1651,7 +1649,6 @@ export const devToolsCmd$Execute = Command.make(
'',
'Examples:',
' composio dev playground-execute GMAIL_SEND_EMAIL -d \'{ recipient_email: "[email protected]", body: "Hello" }\'',
- ' composio dev playground-execute --parallel GMAIL_SEND_EMAIL -d \'{ recipient_email: "[email protected]", subject: "Hello", body: "World" }\' GITHUB_CREATE_ISSUE -d \'{ owner: "acme", repo: "app", title: "Bug report", body: "Steps to reproduce..." }\'',
' composio dev playground-execute GMAIL_SEND_EMAIL --dry-run -d \'{ recipient_email: "[email protected]", body: "Hello" }\'',
' composio dev playground-execute GMAIL_SEND_EMAIL --get-schema',
].join('\n')
diff --git a/ts/packages/cli/src/commands/triggers/triggers.cmd.ts b/ts/packages/cli/src/commands/triggers/triggers.cmd.ts
index f6fc08f23..09655f0d3 100644
--- a/ts/packages/cli/src/commands/triggers/triggers.cmd.ts
+++ b/ts/packages/cli/src/commands/triggers/triggers.cmd.ts
@@ -1,7 +1,6 @@
import { Command } from '@effect/cli';
import { triggersCmd$Info } from './commands/triggers.info.cmd';
import { triggersCmd$List } from './commands/triggers.list.cmd';
-import { triggersCmd$Listen } from './commands/triggers.listen.cmd';
import { triggersCmd$Status } from './commands/triggers.status.cmd';
import { triggersCmd$Create } from './commands/triggers.create.cmd';
import { triggersCmd$Enable } from './commands/triggers.enable.cmd';
@@ -21,7 +20,6 @@ export const triggersCmd = Command.make('triggers').pipe(
Command.withSubcommands([
triggersCmd$List,
triggersCmd$Info,
- triggersCmd$Listen,
triggersCmd$Status,
triggersCmd$Create,
triggersCmd$Enable,
diff --git a/ts/packages/cli/test/src/commands/run.cmd.test.ts b/ts/packages/cli/test/src/commands/run.cmd.test.ts
index 753dc40b7..faa353a20 100644
--- a/ts/packages/cli/test/src/commands/run.cmd.test.ts
+++ b/ts/packages/cli/test/src/commands/run.cmd.test.ts
@@ -160,7 +160,7 @@ describe('CLI: composio run', () => {
);
expect(output).toContain('--skip-connection-check');
expect(output).toContain('--skip-tool-params-check');
- expect(output).toContain('--no-verify');
+ expect(output).toContain('--skip-checks');
expect(output).toContain('--logs-off');
expect(output).toContain('subAgent');
expect(output).toContain('schema: z.object');
@@ -259,7 +259,7 @@ describe('buildRunHelpersSource', () => {
expect(source).toContain('args.push("--dry-run");');
expect(source).toContain('args.push("--skip-connection-check");');
expect(source).toContain('args.push("--skip-tool-params-check");');
- expect(source).toContain('args.push("--no-verify");');
+ expect(source).toContain('args.push("--skip-checks");');
expect(source).toContain(
"stdio: ['inherit', 'pipe', perfDebugEnabled || toolDebugEnabled ? 'inherit' : 'pipe']"
);
diff --git a/ts/packages/cli/test/src/commands/tools/tools.execute.cmd.test.ts b/ts/packages/cli/test/src/commands/tools/tools.execute.cmd.test.ts
index 806ea6303..0df376027 100644
--- a/ts/packages/cli/test/src/commands/tools/tools.execute.cmd.test.ts
+++ b/ts/packages/cli/test/src/commands/tools/tools.execute.cmd.test.ts
@@ -484,7 +484,7 @@ describe('CLI: composio execute', () => {
yield* cli([
'execute',
'--parallel',
- '--no-verify',
+ '--skip-checks',
'GMAIL_SEND_EMAIL',
'-d',
'{"recipient":"a"}',