Skip to content

docs: CDP interceptor 관련 잘못된 문서 내용 제거#42

Merged
ohah merged 2 commits intomainfrom
docs/remove-cdp-interceptor-refs
Feb 18, 2026
Merged

docs: CDP interceptor 관련 잘못된 문서 내용 제거#42
ohah merged 2 commits intomainfrom
docs/remove-cdp-interceptor-refs

Conversation

@ohah
Copy link
Copy Markdown
Owner

@ohah ohah commented Feb 18, 2026

문서: CDP interceptor 관련 잘못된 내용 제거

제목(목적)

실제로 사용하지 않는 "CDP interceptor"(Metro에서 require하는 모듈) 관련 문서를 정리하고, 현재 구현(직접 CDP WebSocket 연결)에 맞게 수정한다.

작업 내용

문서에는 Metro에 cdp-interceptor를 로드하거나 node -r ... cdp-interceptor로 실행하라는 안내가 있었으나, 패키지에는 해당 진입점이 없고 현재는 MCP 서버가 Metro /jsonwebSocketDebuggerUrl로 직접 CDP 연결한다. 이에 따라 다음을 반영했다.

  • README.md / README_KO.md: Metro용 cdp-interceptor 문단 전부 삭제. 앱 쪽은 Babel 프리셋과 MCP 런타임 활성화만 안내하고, 콘솔/네트워크 도구는 Metro를 평소처럼 실행하면 된다고 명시.
  • document/docs (ko/en): 설치·연결 문서(index.mdx)에서 "Metro — cdp-interceptor" 섹션 제거. mcp-usage에서 연결 실패 시 체크 항목을 "Babel 프리셋 + __REACT_NATIVE_MCP__?.enable()" 확인으로 수정.
  • docs/architecture.md: "cdp-interceptor·Babel preset" → "Babel preset·도구·metro-cdp"로 수정.
  • docs: cdp-interceptor-library-design.mdcdp-event-collection-design.md로 파일명 변경하고 README 링크를 수정. 내용은 그대로(직접 CDP WebSocket 연결 설명).
  • docs/chrome-devtools-mcp-spec-alignment.md: (1) CDP 관련 잘못된 표현 제거 후 "metro-cdp 직접 CDP WebSocket 연결로 수집"으로 수정. (2) list_console_messages는 실제로 CDP를 쓰지 않고 nativeLoggingHook + eval(getConsoleLogs)로 동작하므로, 비고를 "앱의 nativeLoggingHook으로 캡처한 로그를 eval(getConsoleLogs)로 조회. level, since, limit."로 정정.

커밋 후 요약용 MD는 커밋하지 않는다.

- 실제로 사용하지 않는 cdp-interceptor(Metro 로드) 안내 전부 삭제
- README/문서: Babel 프리셋·런타임 활성화만 안내, Metro는 그대로 실행
- cdp-interceptor-library-design.md → cdp-event-collection-design.md로
  파일명 변경 후 링크 수정 (내용은 직접 CDP WebSocket 연결 설명 유지)
- architecture, mcp-usage, chrome-devtools 스펙 문서에서
  interceptor/가로채기(mcp_cdp_events) 표현 제거·수정
@ohah ohah self-assigned this Feb 18, 2026
@ohah ohah added the documentation Improvements or additions to documentation label Feb 18, 2026
- CDP/metro-cdp 사용 설명 제거
- nativeLoggingHook + getConsoleLogs(eval) 조회, 파라미터 level/since/limit으로 정정
@ohah ohah merged commit 1082cba into main Feb 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant