update: remove workspace operation table and refactor

This commit is contained in:
tao.chen
2026-08-05 14:43:48 +08:00
parent c3b078a827
commit 07d2423c13
9 changed files with 87 additions and 1013 deletions
+2
View File
@@ -192,9 +192,11 @@ async def start_workspace(ws_id: str) -> dict:
port = get_free_port()
token = secrets.token_urlsafe(16)
logger.debug(f"starting workspace {ws_id} with token {token}")
base_path = f"/jupyter/{ws_id}/"
cmd = [
"uvx",
"jupyter",
"notebook",
f"--port={port}",