Private
Public Access
0
0

began to go through the files and organize imports and gui_2.py's new context defs

still a bunch to sift through after the last ai passes
This commit is contained in:
2026-06-05 21:44:41 -04:00
parent 1d89fcaf8a
commit 873edf42cf
53 changed files with 375 additions and 238 deletions
+13 -7
View File
@@ -1,16 +1,22 @@
from __future__ import annotations
import asyncio
import json
import logging
import sys
import threading
import uuid
import sys
import asyncio
from http.server import ThreadingHTTPServer, BaseHTTPRequestHandler
from typing import Any
import logging
import websockets
# TODO(Ed): Eliminate these?
from http.server import ThreadingHTTPServer, BaseHTTPRequestHandler
from typing import Any
from websockets.asyncio.server import serve
from src import session_logger
from src import cost_tracker
from src import session_logger
"""
API Hooks - REST API for external automation and state inspection.
@@ -820,4 +826,4 @@ class WebSocketServer:
return
message = json.dumps({"channel": channel, "payload": payload})
for ws in list(self.clients[channel]):
asyncio.run_coroutine_threadsafe(ws.send(message), self.loop)
asyncio.run_coroutine_threadsafe(ws.send(message), self.loop)