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.

fix(cli): exit with non-zero code on unhandled errors

jkomyno606d6d3a3dc0
diff --git a/ts/packages/cli/src/bin.ts b/ts/packages/cli/src/bin.ts
index 45b7a5f15..e2a33435e 100644
--- a/ts/packages/cli/src/bin.ts
+++ b/ts/packages/cli/src/bin.ts
@@ -219,6 +219,7 @@ runWithArgs.pipe(
);
yield* Console.error(message);
+ process.exitCode = 1;
}
})
),