v0.1.0-rc.6
Pre-release
Pre-release
What's Changed
Refactoring
- electron/index.ts (567줄) 분리: types.ts, cdp.ts, discovery.ts, execute.ts, connection-pool.ts로 분리
- constants.ts: 타임아웃, 포트, 저장 한도 등 상수 중앙 관리
- logger.ts:
LOG_LEVEL환경변수 기반 구조적 로거 - NavigationBucketStore: console/network 중복 패턴 추출
- connection-pool.ts: CDP WebSocket 커넥션 풀
- discovery.ts: 중복 코드 헬퍼 추출
New Features
- emulation.ts 실 구현: 다크/라이트 모드, CPU 스로틀링, 지오로케이션, 네트워크 조건, UA, 뷰포트, 타임존, 로케일
- 콘솔 객체 탐색 개선:
JSON.stringify→Runtime.getProperties재귀 탐색- 순환 참조 안전 (
[Circular]) - Symbol, Function, Promise, Map, Set 등 정확히 표현
- MAX_RESOLVE_DEPTH=5 / MAX_PROPERTIES=50
- 순환 참조 안전 (
Tests
- 유닛 테스트 4개 추가 (총 61개 테스트, 135 expect 통과)