Files
homeclaw/package.json
T
kimandClaude Sonnet 5 4526de2914 v4.1.4: 메인챗 무한 스피너 버그 수정 + SSE 스톨 자동복구
- 진짜 원인: partialContent가 try{} 블록 안에서 let 선언돼 catch{}에서 참조되던
  스코프 버그. fetch abort/에러 시 catch 블록 자체가 ReferenceError로 죽어서
  뒤따르는 정리 코드(isThinking=false 등)가 전혀 실행되지 않고 스피너가 영원히
  돌았음(직접 재현 확인). 선언을 try 밖으로 이동해 해결
- SSE 스톨 워치독 추가: 45초간 스트림에 아무 데이터도 없으면 자동 abort 후
  세션 히스토리를 재조회해 서버가 이미 완료·저장한 응답이 있으면 복구 표시,
  없으면 재시도 안내. 방금 보낸 사용자 메시지(fullMessage, 내용을 정확히 아는
  값)를 기준점 삼아 뒤에서부터 매칭 — AI 응답 내용 추측/비교보다 안정적
- 부수 개선: 이메일 첨부 SSE 파일 링크 푸시 로직 등 기존 코드는 변경 없음

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 11:31:52 +09:00

75 lines
1.8 KiB
JSON

{
"name": "smallclaw",
"version": "4.1.4",
"description": "Local AI agent framework powered by Ollama - OpenClaw alternative",
"main": "dist/index.js",
"bin": {
"smallclaw": "./dist/cli/index.js"
},
"scripts": {
"prepare": "npm run build",
"build": "tsc",
"dev": "tsx src/cli/index.ts",
"start": "node dist/cli/index.js",
"gateway": "tsx src/gateway/server-v2.ts",
"test": "tsx tests/test-v2.ts",
"test:desktop": "tsx tests/desktop-tools.ts"
},
"files": [
"dist/",
"web-ui/",
"workspace/SOUL.md",
"workspace/SELF.md",
"workspace/IDENTITY.md",
"workspace/USER.md",
"workspace/MEMORY.md",
"workspace/AGENTS.md",
"workspace/TOOLS.md",
"workspace/BOOT.md"
],
"keywords": [
"ai",
"agent",
"ollama",
"automation",
"openclaw"
],
"author": "",
"license": "MIT",
"dependencies": {
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
"avr8js": "^0.21.0",
"better-sqlite3": "^12.9.0",
"commander": "^14.0.3",
"cors": "^2.8.6",
"croner": "^10.0.1",
"dotenv": "^17.4.2",
"esptool-js": "^0.4.1",
"express": "^5.2.1",
"imapflow": "^1.3.3",
"mailparser": "^3.9.8",
"monaco-editor": "^0.52.0",
"node-pty": "^1.1.0",
"nodemailer": "^8.0.7",
"ollama": "^0.6.3",
"playwright": "^1.59.1",
"pptxgenjs": "^4.0.1",
"rp2040js": "^1.3.3",
"tesseract.js": "^7.0.0",
"ws": "^8.20.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/mailparser": "^3.4.6",
"@types/node": "^25.6.0",
"@types/nodemailer": "^8.0.0",
"@types/ws": "^8.18.1",
"tsx": "^4.21.0",
"typescript": "^5.3.0"
}
}