Merged
Conversation
- 실제로 사용하지 않는 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) 표현 제거·수정
- CDP/metro-cdp 사용 설명 제거 - nativeLoggingHook + getConsoleLogs(eval) 조회, 파라미터 level/since/limit으로 정정
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문서: CDP interceptor 관련 잘못된 내용 제거
제목(목적)
실제로 사용하지 않는 "CDP interceptor"(Metro에서 require하는 모듈) 관련 문서를 정리하고, 현재 구현(직접 CDP WebSocket 연결)에 맞게 수정한다.
작업 내용
문서에는 Metro에
cdp-interceptor를 로드하거나node -r ... cdp-interceptor로 실행하라는 안내가 있었으나, 패키지에는 해당 진입점이 없고 현재는 MCP 서버가 Metro/json→webSocketDebuggerUrl로 직접 CDP 연결한다. 이에 따라 다음을 반영했다.__REACT_NATIVE_MCP__?.enable()" 확인으로 수정.cdp-interceptor-library-design.md를cdp-event-collection-design.md로 파일명 변경하고 README 링크를 수정. 내용은 그대로(직접 CDP WebSocket 연결 설명).list_console_messages는 실제로 CDP를 쓰지 않고 nativeLoggingHook + eval(getConsoleLogs)로 동작하므로, 비고를 "앱의 nativeLoggingHook으로 캡처한 로그를 eval(getConsoleLogs)로 조회.level,since,limit."로 정정.커밋 후 요약용 MD는 커밋하지 않는다.