cog_…), cloud or local.
cwd is the switch: passing one spawns the bundled Devin CLI in that
directory (LocalDevin); leaving it out connects to Devin’s cloud over
a WebSocket (CloudDevin). Both need an API key, from the apiKey option
or $DEVIN_API_KEY; the environment never decides the transport.
await using closes the connection at scope
exit, or call devin.close() yourself.
Parameters
Type: one of
Returns
LocalDevin | CloudDevin | LocalDevinCloudDevin
