Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | # Client Cache Sync |
| 2 | |
| 3 | `ts/packages/cli/src/services/composio-clients-cached.ts` spreads the underlying `ComposioToolkitsRepository` from `ts/packages/cli/src/services/composio-clients.ts` and overrides only the methods it caches: `getToolkits`, `getProjectToolkits`, `getToolkitsBySlugs`, `getToolsAsEnums`, `getTriggerTypesAsEnums`, `getTriggerTypes`, and `getTools`. |
| 4 | |
| 5 | Checklist: |
| 6 | |
| 7 | - New passthrough method: add it to the repository only; the spread exposes it. |
| 8 | - New full-catalog fetch that should be cached: add a cached override. |
| 9 | - Signature or result change on a cached method: update both services. |
| 10 | - Removed cached method: remove its override. |
| 11 | - Validation, search, single-item, and CRUD methods stay passthrough. |
| 12 | |
| 13 | Verification: |
| 14 | |
| 15 | ```bash |
| 16 | pnpm --filter @composio/cli typecheck |
| 17 | pnpm --filter @composio/cli test |
| 18 | ``` |