Merge branch 'main' into feat/fara-browser-use

This commit is contained in:
ddupont
2025-12-17 14:38:48 -08:00
committed by GitHub
131 changed files with 7061 additions and 3643 deletions

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.30
current_version = 0.1.31
commit = True
tag = True
tag_name = computer-server-v{new_version}

View File

@@ -40,7 +40,7 @@ Refer to this notebook for a step-by-step guide on how to use the Computer-Use S
## Docs
- [Commands](https://cua.ai/docs/libraries/computer-server/Commands)
- [REST-API](https://cua.ai/docs/libraries/computer-server/REST-API)
- [WebSocket-API](https://cua.ai/docs/libraries/computer-server/WebSocket-API)
- [Index](https://cua.ai/docs/libraries/computer-server)
- [Commands](https://cua.ai/docs/computer-sdk/computer-server/Commands)
- [REST-API](https://cua.ai/docs/computer-sdk/computer-server/REST-API)
- [WebSocket-API](https://cua.ai/docs/computer-sdk/computer-server/WebSocket-API)
- [Index](https://cua.ai/docs/computer-sdk/computer-server)

View File

@@ -24,8 +24,8 @@ from fastapi import (
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import JSONResponse, StreamingResponse
from .handlers.factory import HandlerFactory
from .browser import get_browser_manager
from .handlers.factory import HandlerFactory
# Authentication session TTL (in seconds). Override via env var CUA_AUTH_TTL_SECONDS. Default: 60s
AUTH_SESSION_TTL_SECONDS: int = int(os.environ.get("CUA_AUTH_TTL_SECONDS", "60"))
@@ -805,7 +805,7 @@ async def playwright_exec_endpoint(
try:
browser_manager = get_browser_manager()
result = await browser_manager.execute_command(command, params)
if result.get("success"):
return JSONResponse(content=result)
else:

View File

@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
[project]
name = "cua-computer-server"
version = "0.1.30"
version = "0.1.31"
description = "Server component for the Computer-Use Interface (CUI) framework powering Cua"
authors = [