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.

Merge branch 'next' into feat/cli-install-shell-flag

Alberto Schiabel331a1373de09
diff --cc ts/packages/cli/CHANGELOG.md
index a489d2f4f,029559856..a4a87dcbc
--- a/ts/packages/cli/CHANGELOG.md
+++ b/ts/packages/cli/CHANGELOG.md
@@@ -2,16 -2,39 +2,43 @@@
## Unreleased
+### Minor Changes
+
+- `composio install` gains a `--shell <zsh|bash|fish>` flag that overrides `$SHELL` detection, in preparation for the mise-style installer rewrite. The bin-dir PATH target now resolves through `COMPOSIO_BIN_DIR`, an existing `~/.local/bin/composio`, or the real binary's own directory, in that order, instead of hardcoding `~/.composio`; rc blocks write only a PATH line (the `export COMPOSIO_INSTALL_DIR=...` line is gone, since that variable identifies the install bundle, not the PATH entry point). Bash now also writes the PATH line to `~/.bash_profile` or `~/.bash_login` when either already exists, so `bash -ilc` picks it up. The restart hint bug is fixed: bash now prints `source ~/.bashrc` instead of the literal string `exec $SHELL`.
+
### Patch Changes
- - Make GitHub release metadata the sole version authority for standalone CLI
- binaries. Release builds now embed their exact tag version, manual skill
- installation follows the packaged release tag, and stable releases can only
- promote a tested beta.
+ - Connected-account statuses added by the server no longer break
+ `connected-accounts`, `link`, or `listen`. Piped output still strips
+ credential fields, and schema warnings no longer print raw response values.
+ - `composio login --poll` now reports unreadable cache files as I/O errors
+ instead of treating them as invalid session data.
+
+ ## 0.3.1
+
+ ### Minor Changes
+
+ - The CLI now points Claude Code and Codex users to `composio setup` when the
+ Composio agent plugin is missing. The hint goes to stderr, appears at most
+ once every 24 hours, remains visible in non-TTY agent sessions, and stays
+ suppressed inside `composio run` children.
+ - Telemetry now goes directly to PostHog. This captures `install` and `setup`
+ events before login without changing existing opt-outs.
+ - Telemetry events now include `journey_stage` (`install`, `setup`, `login`,
+ `connect`, `execute`, or `other`) and `cli_channel` (`stable` or `beta`).
+ `install.sh` also labels `composio install` with
+ `invocation_origin: installer`, so script installs can be separated from
+ manual runs. npm and Homebrew installs do not pass through `install.sh` and
+ therefore have no installer origin.
+
+ ## 0.3.0
+
+ ### Patch Changes
+
+ - The GitHub release tag is now the only version source for standalone CLI
+ binaries. Release builds embed the exact tag version, manual skill
+ installation uses that tag, and stable releases can only promote a tested
+ beta.
## 0.2.33
diff --cc ts/packages/cli/test/__utils__/services/test-layer.ts
index cbf7f5c4f,2e9a0aa85..3498974c9
--- a/ts/packages/cli/test/__utils__/services/test-layer.ts
+++ b/ts/packages/cli/test/__utils__/services/test-layer.ts
@@@ -1,5 -1,5 +1,6 @@@
+import path from 'node:path';
import * as tempy from 'tempy';
+ import { Composio as RawComposioClient } from '@composio/client';
import { CliApp, CliConfig } from '@effect/cli';
import { Command, FetchHttpClient, FileSystem, Path } from '@effect/platform';
import { BunFileSystem, BunContext, BunPath } from '@effect/platform-bun';