feat: 안드로이드 에뮬레이터 관리콘솔/ADB 쉘 + 컨테이너 정리

세션 영속화, 관리콘솔 WS 프록시(attachAndroidConsoleWsProxy), ADB 쉘
엔드포인트, 고아 컨테이너 정리 로직 추가. 2026-07-31 실사용 검증 완료된
작업을 커밋만 안 하고 남겨뒀던 것.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
kim
2026-08-07 13:13:15 +09:00
co-authored by Claude Sonnet 5
parent b02fe0a184
commit 3ae9b986e9
3 changed files with 423 additions and 32 deletions
+2 -1
View File
@@ -50,7 +50,7 @@ import {
userRequestedImageEdit,
} from './guards/prompt-gates';
import { registerArduinoRoutes } from './routes/routes-arduino';
import { registerAndroidRoutes, attachAndroidWsProxy } from './routes/routes-android';
import { registerAndroidRoutes, attachAndroidWsProxy, attachAndroidConsoleWsProxy } from './routes/routes-android';
import { registerComfyUIRoutes, attachComfyUIWsProxy } from './routes/routes-comfyui';
import { registerBgTasksRoutes, loadTaskHeartbeatConfig } from './routes/routes-bg-tasks';
import { registerKakaoRoutes } from './routes/routes-kakao';
@@ -4477,6 +4477,7 @@ server.on('upgrade', (req, socket, head) => {
}
});
attachAndroidWsProxy(server, getSessionUser);
attachAndroidConsoleWsProxy(server, getSessionUser);
attachComfyUIWsProxy(server, getSessionUserFromUpgradeReq);
attachVoiceRealtimeWsProxy(server, getSessionUserFromUpgradeReq);
wss.on('error', (err: any) => {