Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
maybe fix pathing
Rahul Tarak197880413137
diff --git a/.github/workflows/test-installation.yml b/.github/workflows/test-installation.ymlindex 78e1158f4..20b0ba0bc 100644--- a/.github/workflows/test-installation.yml+++ b/.github/workflows/test-installation.yml@@ -233,7 +233,7 @@ jobs:exit 1fi- if grep -q "composio/bin" ~/.zshrc; then+ if grep -q "COMPOSIO_INSTALL/bin" ~/.zshrc; thenecho "✅ .zshrc updated with PATH"elseecho "❌ .zshrc PATH not updated"@@ -247,7 +247,7 @@ jobs:exit 1fi- if grep -q "composio/bin" ~/.bashrc; then+ if grep -q "COMPOSIO_INSTALL/bin" ~/.bashrc; thenecho "✅ .bashrc updated with PATH"elseecho "❌ .bashrc PATH not updated"diff --git a/install.sh b/install.shindex 30588714d..dae012d69 100644--- a/install.sh+++ b/install.sh@@ -279,12 +279,28 @@ bash)# Check if file is writable OR if parent directory is writable (so we can create the file)if [[ -w "$bash_config" ]] || [[ ! -e "$bash_config" && -w "$(dirname "$bash_config")" ]]; then- {- echo -e '\n# Composio CLI'- for command in "${commands[@]}"; do- echo "$command"- done- } >>"$bash_config"+ # For .bashrc, prepend the exports before any interactive checks+ if [[ "$bash_config" == *".bashrc" ]] && [[ -f "$bash_config" ]] && grep -q "case.*-.*in" "$bash_config"; then+ # Create a temporary file with our exports at the top+ temp_file=$(mktemp)+ {+ echo '# Composio CLI'+ for command in "${commands[@]}"; do+ echo "$command"+ done+ echo+ cat "$bash_config"+ } > "$temp_file"+ mv "$temp_file" "$bash_config"+ else+ # For other configs or if no interactive check found, append as before+ {+ echo -e '\n# Composio CLI'+ for command in "${commands[@]}"; do+ echo "$command"+ done+ } >>"$bash_config"+ fiinfo "Added \"$tilde_bin_dir\" to \$PATH in \"$tilde_bash_config\""refresh_command="source $bash_config"