@devries-cameron20 / composio Mirror · read-only
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 21, 04:45 UTC

next
ts 15 lines 609 Bytes
Raw
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 });