mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-23 06:00:43 -05:00
16 lines
304 B
Python
16 lines
304 B
Python
"""Cursor ACP launch and discovery."""
|
|
|
|
from . import acp
|
|
|
|
NAME = "Cursor"
|
|
BINARY = "agent"
|
|
COMMAND_ENV = "OPEN_TERMINAL_CURSOR_COMMAND"
|
|
|
|
|
|
def arguments(options):
|
|
return ["acp"]
|
|
|
|
|
|
async def discover(send, response, cwd):
|
|
return await acp.discover(send, response, cwd, auth_method="cursor_login")
|