mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-22 21:50:43 -05:00
16 lines
303 B
Python
16 lines
303 B
Python
"""OpenCode ACP launch and discovery."""
|
|
|
|
from . import acp
|
|
|
|
NAME = "OpenCode"
|
|
BINARY = "opencode"
|
|
COMMAND_ENV = "OPEN_TERMINAL_OPENCODE_COMMAND"
|
|
|
|
|
|
def arguments(options):
|
|
return ["acp"]
|
|
|
|
|
|
async def discover(send, response, cwd):
|
|
return await acp.discover(send, response, cwd, auth_method=None)
|