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
fix: sync connect clients via repository_dispatch from dashboard deploys
Sushmitha Mallesha0f08e480e84
diff --git a/.github/workflows/docs.sync-connect-clients.yml b/.github/workflows/docs.sync-connect-clients.ymlindex d42463a1d..37071847f 100644--- a/.github/workflows/docs.sync-connect-clients.yml+++ b/.github/workflows/docs.sync-connect-clients.yml@@ -1,8 +1,8 @@name: Docs - Sync Connect Clientson:- schedule:- - cron: '0 */5 * * *'+ repository_dispatch:+ types: [dashboard-production-deploy]workflow_dispatch:jobs:@@ -21,6 +21,19 @@ jobs:ref: nextfetch-depth: 1+ - name: Get client definitions+ run: |+ if [ "${{ github.event_name }}" = "repository_dispatch" ]; then+ echo "${{ github.event.client_payload.client_definitions }}" | base64 -d > /tmp/client-definitions.ts+ echo "Received client-definitions.ts from dashboard deploy (tag: ${{ github.event.client_payload.dashboard_tag }})"+ else+ echo "Manual trigger — fetching from dashboard repo"+ GH_TOKEN="${{ secrets.CI_BOT_TOKEN }}" gh api \+ repos/ComposioHQ/composio_dashboard/contents/src/app/\(connect\)/\[org\]/~/connect/clients/_components/client-definitions.ts?ref=main \+ --jq '.content' | base64 -d > /tmp/client-definitions.ts+ fi+ echo "$(wc -l < /tmp/client-definitions.ts) lines"+- name: Sync Connect clientsuses: anthropics/claude-code-action@v1with:@@ -29,8 +42,7 @@ jobs:Sync the Composio Connect clients page from the dashboard repo.1. Read docs/.claude/agents/connect-clients-sync.md for full instructions- 2. Fetch the client definitions from ComposioHQ/composio_dashboard (main branch):- src/app/(connect)/[org]/~/connect/clients/_components/client-definitions.ts+ 2. The client definitions have already been fetched to /tmp/client-definitions.ts — read that file3. Read the current docs/content/docs/composio-connect.mdx4. Compare and update if there are any differences (new clients, changed steps, updated descriptions)5. Download any new client logos to docs/public/images/clients/@@ -56,13 +68,19 @@ jobs:gh pr create \--base next \--head "$BRANCH" \- --title "docs: Sync Connect clients from dashboard" \+ --title "docs: sync Connect clients from dashboard" \--body "$(cat <<'EOF'## SummaryAutomated sync of AI client definitions from `ComposioHQ/composio_dashboard`.Updates client setup steps, descriptions, and logos on the Composio Connect page.+ ## What may have changed+ - New or removed AI clients+ - Updated setup steps (deeplinks, config changes)+ - Category changes (popular/ide/other)+ - Client logos+Generated by Claude Code via GitHub Actions.EOF)"