v4.3.19: sendChat SSE 함수를 chat-sse.js로 분리

app.js 1411-2092의 async function sendChat을 web-ui/js/chat-sse.js로
추출. 범위 내 top-level 선언은 sendChat 하나뿝이라 외부 노출 대상은
sendChat 단일. 끝에 window.sendChat 할당 추가. app.js에서 제거 후
index.html에서 app.js 직전에 로드.

공유 상태(currentAbortController/isThinking)와 외부 헬퍼
(authHeaders/renderChatMessages/addProcessEntry 등)는 전역 그대로
참조. node --check 통과, 재시작 후 /js/chat-sse.js 200 확인.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
kim
2026-07-25 20:05:41 +09:00
co-authored by Claude
parent 7b74b2315d
commit e2dc133934
3 changed files with 693 additions and 683 deletions
+1
View File
@@ -1943,6 +1943,7 @@
</div>
<script src="../js/voice-call.js"></script>
<script src="../js/chat-sse.js"></script>
<script src="../js/app.js"></script>
<!-- Code folder browser dropdown (fixed, rendered outside any overflow:hidden container) -->