UPDATEcomposio 0.6.4
Composio CLI 0.6.4 tightens file checks for agents
Composio @composio/cli@0.6.4 adds session grouping and a plugin-dependent compaction count; no plugin write means no count. These Composio release notes also unify execution checks and tighten upload and credential boundaries, so validate paths, permissions, and record routing rather than assume a speedup.
What changed in this release
21 checkpoints in 5 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Session records
- Analytics events can group commands from one Claude Code or Codex chat by a derived session identifier.
- Backend, Dashboard execution, and run proxy requests carry the same session identifier.
- Cross-origin hops strip session and credential headers, and third-party service requests do not carry them.
- Compaction count enters analytics and first-party requests only after a plugin writes the agreed file.
Execution consistency
- Parallel argument grouping is isolated, and ordered tool specs travel with their resolved contexts.
- Batch-wide boolean values come from the command layer while flag placement and developer overrides are preserved.
- Single and parallel execution share failure classification and retain original diagnostics and retry advice.
- Unsuccessful tool responses stay distinct from typed failures, with existing JSON, messages, and exit codes preserved.
- Preparation, connection checks, dry-run previews, and validation happen before batch dispatch.
Project credentials
- init creates or replaces .env.local atomically and sets file mode 0600.
- Existing regular files have permissions tightened before reading, even without content changes.
- Symlinks and other non-regular paths are refused, and permission failures stop the command with guidance.
Local uploads
- execute, proxy, and listen check paths for local uploads and explicit @file inputs.
- Checks use working-directory and sensitive-path rules, then read the same target that passed.
- Each run call uses a private staging directory for File, Blob, and generated argument JSON.
- Run staging is removed after the call, and --file help plus the CLI skill explain the working-directory requirement.
Supporting docs and SDK
- Toolkit, API specification, and meta-tool data are refreshed with the release.
- Polling, proxy permissions, and SDK examples are reconciled in the documentation.
- Toolkit documentation data is paged through @composio/client.
- Stable changelogs are automated, SDK versions are pinned, and generated reference examples are type-checked.
- The Python SDK adds sessions.webhooks.parse() for reading session webhook events.
On this page
ContextFive change groups connect tool execution, session records, and local boundaries
Version 0.6.3 fixed commands waiting on open stdin pipes. This release spans execution preparation, request records, and local read boundaries: grouping calls from one chat, keeping parallel execution consistent, and bounding local files and credentials.
Session fields enter analytics and first-party requests; compaction count needs a plugin-written file. Single and parallel runs share preparation and failure classification but keep output and exit status. Credential and upload checks require teams to recheck directory conventions.
This article groups its selected release inventory into five areas: sessions, execution, credentials, uploads, and docs/SDK. The figure below maps item counts in that selected inventory; later sections give results, actions, and boundaries.
Session identifiers group commands from the same agent chat
- Analytics events group one Claude Code or Codex chat by a derived ID, never the host's original ID; fields are omitted if the chat is unidentified.
- Backend, Dashboard, run proxy carry it; same-origin keeps headers, cross-origin strips session/credential headers, and Dashboard rejects redirects.
- Telemetry-off switches, CI, and tests suppress session fields, compaction count, and the file read; a plugin must write the agreed file first.
Single and parallel execution share preparation and failure classification
- Batch grouping is isolated; ordered tool specs travel with resolved contexts, preserving flag placement and developer overrides.
- Single and parallel runs share failure classification and retry advice, separating unsuccessful tool responses from typed failures.
- Preparation, connection checks, previews, and validation precede dispatch; modes keep their input-schema validation policy, output, and exit status.
Initialization now protects project credential file permissions
- Initialization creates or replaces .env.local atomically with file mode 0600.
- Existing regular files have permissions tightened before reading, even when their contents need no update.
- Symlinks and other non-regular paths are refused; the command stops with guidance when permissions cannot be tightened.
Uploads must pass working-directory and sensitive-path checks
- Local uploads and explicit @file inputs to execute, proxy, and listen follow working-directory and sensitive-path checks.
- The command reads the same target that passed the checks rather than switching files afterward.
- Each composio run call uses private staging for files, Blobs, and argument JSON, then removes it after the call.
Supporting docs, SDK parsing, and release maintenance move with the CLI
- The Python SDK adds sessions.webhooks.parse(), giving integrators an entry point for reading session webhook events.
- Toolkit documentation data is paged through @composio/client, so supporting data can be retrieved page by page.
- Stable changelogs are automated and released SDK package versions are pinned, giving maintainers a version list to check against their integrations.
Peer CLIs take different approaches to sessions, execution, and local boundaries
Gemini CLI v0.71.1 combines session/tool telemetry with file-write approval; Codex 0.172.0 adds saved conversations, app approval, and sandbox restoration; Composio @composio/cli@0.6.4 sends session fields to analytics and first-party requests and checks local files. Choose Gemini CLI for terminal approval, Codex for app/sandbox controls, or Composio for external tool execution.
The table compares five tasks from the selected inventory: sessions, execution errors, credential/write controls, file scope, and maintenance. These are a terminal agent, an app sandbox, and a tool execution chain, so cells record mechanisms, not rankings.
Untested recommendation: verify that your receiver consumes Composio session fields. Keep Gemini CLI for terminal session browsing and write approval, or Codex for connected-app review and sandbox restoration; use Composio when external tool execution is the missing piece.
| Update | Gemini CLI v0.71.1 | Codex 0.172.0 | Composio @composio/cli@0.6.4 |
|---|---|---|---|
| Session records | Telemetry includes session.id and compression token counts. | Thread links open saved conversations and nested agents. | Derived session IDs when the host chat is identified; compaction count requires a plugin-written file. |
| Execution and errors | tool_call logs duration, success, decision, and error; shell returns stdout, stderr, and exit code. | Provider errors report immediately with spend-limit scope; cached stdio MCP starts on first call. | Shared preparation and failure classification; diagnostics, output, and exit status remain. |
| Credentials and write permission | write_file and replace need approval; shell checks command prefixes and each chained command. | Connected app tools can have reviewers; resume restores saved sandbox permissions. | init writes .env.local atomically as 0600 and refuses non-regular paths. |
| Local file scope | Core file tools stay within rootDirectory: the working directory or workspace root. | codex exec resume restores sandbox permissions, working directories, and workspace roots; cross-OS remote sessions also preserve writable paths. | execute, proxy, and listen check upload/@file paths, then read the checked target. |
| Supporting material and maintenance | v0.71.1 is a patch; v0.71.0 fixes PowerShell parsing that froze the UI. | Docs skill updates migration guidance; Python and SDK generation verify dependency hashes. | Docs paging, stable changelogs, example type checks, and Python webhook parsing are updated. |
Vertical comparison: @composio/cli@0.6.3 to @composio/cli@0.6.4
Version 0.6.3 (2026-11-20) fixed proxy stdin, execute input timeout, and control-character escaping. Version 0.6.4 (2026-11-25) adds session fields, shared preparation and failure classification, and stronger local controls; its notes retain flag placement, developer overrides, requests, output, exit codes, diagnostics, and input-schema validation policy.
Read adjacent rows as separate changes rather than replacements. Login polling timeout belongs to authentication, while initialization file permissions belong to project setup. The release manifest governs upgrades, while stable changelog automation governs release maintenance. These documented differences do not make shared preparation a measured parallel speedup.
| Feature | 0.6.3 | 0.6.4 |
|---|---|---|
| Session records | The release does not list derived session fields. | Analytics and first-party requests gain a derived ID; compaction count needs a plugin file. |
| Execution consistency | Proxy and execute fix input waiting, and terminal control characters are escaped. | Single and parallel runs share preparation and failure classification, retaining output, exit status, and diagnostics. |
| Project credentials | login --poll accepts --timeout and prints the authorization URL and resume command. | init writes .env.local atomically with mode 0600, tightens existing permissions, and refuses non-regular paths. |
| Local uploads | The release does not list upload path checks. | execute, proxy, and listen check upload and @file paths, then read the same checked target. |
| Docs and SDK | Upgrade follows release-manifest.json and can restrict eligible older CLI versions. | Stable changelogs are automated, SDK versions pinned, and documentation catalog order unified. |
Release analysisUpgrade local boundaries first, then verify session record consumers
Station recommendation, not independently tested: teams initializing Composio in shared projects, uploading local files, or tracing calls from one chat have the most to check. Hosted-API-only teams can use the regular maintenance window, but should confirm downstream acceptance of output and exit status.
Station recommendation, not independently tested: Gemini CLI v0.71.1 documents session IDs, tool outcomes, and compression tokens. Codex 0.172.0 emphasizes saved conversations, connected-app approval, and sandbox restoration. Composio @composio/cli@0.6.4 adds session fields to analytics and first-party requests while tightening tool input files. Keep the peer tool for its terminal workflow; choose Composio to unify external execution and analytics/session-context integration.
Station recommendation, not independently tested: initialize a disposable project, confirm a regular .env.local with tightened permissions, and test symlink refusal. Test @file inside and outside the working directory. Record JSON, messages, and exit status for valid and malformed batch input. Then check telemetry switches, session fields, and the receiver; a missing count before a plugin write is not a lost session.
The cost is a clearer path contract. Absolute file paths must satisfy working-directory and sensitive-path rules. Cross-origin requests omit session and credential headers, so external services need their own correlation method.
AIGenLab views
Not independently testedValidate project credentials and upload paths before connecting session record consumers.
Station recommendation, not independently tested; based on first-party descriptions of atomic permissions, path checks, and header stripping.
A missing compaction count before a plugin writes the file should not be treated as a lost session.
Station recommendation, not independently tested; based on the contract that plugins maintain the file and no file means nothing is recording.
Shared preparation should be accepted as a consistency change, not promised as a performance improvement.
Station recommendation, not independently tested; based on a refactor that preserves output and exit status and gates batch dispatch at a checkpoint.
Questions
Which teams should check this upgrade first?
Why might the compaction count be absent?
Does the execution refactor prove parallel commands are faster?
Does “the release does not list” mean the older version lacked the feature?
Official sources and scope
- Composio CLI @composio/cli@0.6.4 release Version, publication date, the original release inventory, and its supporting documentation and SDK changes.
- Composio CLI @composio/cli@0.6.3 release Version-over-version facts about input waiting, control characters, login polling, and release manifests.
- Composio PR #5509: isolate parallel execute argument parsing Batch argument grouping, ordered tool specs, and preserved command behavior.
- Composio PR #5511: share execute failure classification Shared failure classification, original diagnostics, and the distinction for unsuccessful tool responses.
- Composio PR #5513: share prepared tool execution Preparation checkpoints, batch dispatch order, and preserved schema policy and output.
- Composio PR #5317: add the agent session to analytics events Derived session IDs, analytics grouping, telemetry switches, and host-ID non-disclosure.
- Composio PR #5318: send the agent session on first-party requests First-party request paths, cross-origin header stripping, telemetry switches, and receiver status.
- Composio PR #5319: report the agent compaction count Compaction file contract, plugin dependency, absent values, and telemetry suppression.
- Composio PR #5538: protect project credentials written by init Atomic writes, mode 0600, existing-file tightening, and symlink refusal.
- Composio PR #5539: constrain local tool file uploads Working-directory and sensitive-path checks, same-target reads, and private staging.
- Gemini CLI v0.71.1 release The Gemini CLI version and patch-release identity used in the peer comparison.
- Gemini CLI v0.71.0 release Asynchronous PowerShell parsing and the UI spinner freeze fix.
- Gemini CLI v0.71.1 observability documentation session.id, tool-call attributes, and telemetry for token counts around compression.
- Gemini CLI v0.71.1 file-system tools reference The rootDirectory file boundary and manual approval for file writes and replacements.
- Gemini CLI v0.71.1 shell tool reference Shell output and exit codes, command-prefix restrictions, and command-chain validation.
- Codex 0.172.0 release Saved-conversation links, connected-app approval, sandbox restoration, error reporting, and dependency maintenance.
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.