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 | import { Effect } from 'effect'; |
| 2 | import { TerminalUI } from 'src/services/terminal-ui'; |
| 3 | |
| 4 | export const PROJECTS_SWITCH_UNSUPPORTED_MESSAGE = |
| 5 | 'Global developer project switching is no longer supported. Run `composio dev init` in a directory to bind it to a developer project.'; |
| 6 | |
| 7 | /** |
| 8 | * Points the user at `composio dev init`: developer projects are bound per directory, so there |
| 9 | * is no global project to switch and nothing is written. |
| 10 | */ |
| 11 | export const runProjectsSwitch = () => |
| 12 | Effect.gen(function* () { |
| 13 | const ui = yield* TerminalUI; |
| 14 | yield* ui.log.info(PROJECTS_SWITCH_UNSUPPORTED_MESSAGE); |
| 15 | }); |