@devries-cameron20 / composio Mirror · read-only / commits / e3322e661
Fork 0

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, 00:45 UTC

chore: CLI patch release — file uploads, in-band warnings, typecheck fixes (#3085)

## Changes ### Fixes - **File uploads**: Hydrate `file_uploadable` tool inputs before CLI tool execution, including nested object and array payloads - **In-band errors**: Surface in-band tool errors as warnings without overriding a successful execution result - **TypeScript strict-mode**: Resolve 8 TypeScript strict-mode errors in `run-helpers-runtime.ts` that were blocking CLI build - **Temp file handling**: Use random UUID for temp file names, guard `detectInBandError` against null/undefined data ### Refactor - Extract run helper runtime (~650 lines) from `run.cmd.ts` into `src/services/run-helpers-runtime.ts` ### PRs included - #3078 — Fix CLI tool execution file uploads and in-band warnings - #3079 — fix(cli): fix typecheck errors in run-helpers-runtime and extract run globals ## Changeset - Bump: `@composio/cli` patch - File: `.changeset/cli-file-uploads-typecheck-fixes.md` ## Testing ✅ Full CLI test pipeline passed ### Phase 1: CI Types/Lint - Status: ✅ Passed (Audit workflow succeeded on `next`) ### Phase 2: Local Binary Test - `composio version`: ✅ `0.2.16` - `composio whoami`: ✅ `rahul@composio.dev` - `composio --help`: ✅ - Slack integration test: ✅ (execute, experimental_subAgent, channel read/write all working) ### Phase 3: Bundled Binary Test - Beta version: `0.2.16-beta.20260331034020` - CI run: https://github.com/ComposioHQ/composio/actions/runs/23793150518 - All 4 platform builds succeeded (darwin-aarch64, darwin-x64, linux-x64, linux-aarch64) | Command | Result | |---|---| | `composio version` | ✅ `0.2.16` | | `composio whoami` | ✅ `rahul@composio.dev` | | `composio --help` | ✅ | | `composio run` (console.log) | ✅ | | `composio run` + `experimental_subAgent` (2+2) | ✅ | | Slack integration test | ✅ | ### Slack Integration (both builds) - `execute()` with Slack tools: ✅ (SLACK_FIND_CHANNELS, SLACK_SEND_MESSAGE, SLACK_FETCH_CONVERSATION_HISTORY) - `experimental_subAgent()` with structured output: ✅ - Channel `#buzz-skill-based-cli-testing`: messages posted and history summarized 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Rahul Tarak committed Mar 31, 2026 at 13:08 UTC e3322e661b1237ac16f7ac43337adba647d854c6
1 file changed +8
.changeset/cli-file-uploads-typecheck-fixes.md new
+8
@@ -0,0 +1,8 @@
1 +---
2 +"@composio/cli": patch
3 +---
4 +
5 +fix: hydrate file_uploadable tool inputs and add temp-file handling for execute payloads
6 +fix: surface in-band tool errors as warnings without overriding successful execution results
7 +fix: resolve 8 TypeScript strict-mode errors blocking CLI build in run-helpers-runtime
8 +refactor: extract run helper runtime (~650 lines) from run.cmd.ts into run-helpers-runtime.ts