# RAWP-DPS 1.0.1 TOC - [1. 개요 (Introduction)](./sections/001.md) - [1.1. 요구사항 표기 규약](./sections/001-001.md) - [1.2. RAWP 1.0과의 관계](./sections/001-002.md) - [1.3. RAWP-1.0-Legacy (지원 종료)](./sections/001-003.md) - [1.4. 용어 정의](./sections/001-004.md) - [2. Envelope 구조 (Frame Envelope)](./sections/002.md) - [2.1. 공통 Envelope](./sections/002-001.md) - [필드 상세](./sections/002-002.md) - [2.2. 파싱 규약](./sections/002-003.md) - [2.3. 프레임 순서 보장](./sections/002-004.md) - [2.4. 다중 마스터 환경 (Multi-Master Fan-out)](./sections/002-005.md) - [3. 이벤트 타입 시스템 (Event Type System)](./sections/003.md) - [3.1. 네임스페이스 구조](./sections/003-001.md) - [3.1.1. 확장 네임스페이스](./sections/003-001-001.md) - [3.2. 레거시 타입 매핑 (지원 종료)](./sections/003-002.md) - [4. 에이전트 출력 이벤트 (`agent.*`)](./sections/004.md) - [4.1. 텍스트 스트리밍](./sections/004-001.md) - [4.1.1. `agent.text.delta` (Client → Master)](./sections/004-001-001.md) - [4.1.2. `agent.text.done` (Client → Master)](./sections/004-001-002.md) - [4.2. 추론/사고 스트리밍 (Thinking)](./sections/004-002.md) - [4.2.1. `agent.thinking.delta` (Client → Master)](./sections/004-002-001.md) - [4.2.2. `agent.thinking.done` (Client → Master)](./sections/004-002-002.md) - [4.3. 상호작용 요청 (Interaction Request)](./sections/004-003.md) - [4.3.1. `agent.interaction.request` (Client → Master)](./sections/004-003-001.md) - [4.4. 에러 보고](./sections/004-004.md) - [4.4.1. `agent.error` (Client → Master)](./sections/004-004-001.md) - [4.5. 파일 전송](./sections/004-005.md) - [4.5.1. `agent.file.transfer` (양방향)](./sections/004-005-001.md) - [4.6. 에이전트 상태 변경](./sections/004-006.md) - [4.6.1. `agent.state.changed` (Client → Master)](./sections/004-006-001.md) - [5. 도구 호출 이벤트 (`tool.*`)](./sections/005.md) - [5.1. 설계 원칙](./sections/005-001.md) - [5.2. 도구 호출 요청](./sections/005-002.md) - [5.2.1. `tool.invoke.request` (Client → Master)](./sections/005-002-001.md) - [5.3. 도구 실행 결과](./sections/005-003.md) - [5.3.1. `tool.invoke.result` (Client → Master)](./sections/005-003-001.md) - [5.3.2. `tool.invoke.stream` (Client → Master)](./sections/005-003-002.md) - [5.3.3. `output_type` 결정 규칙](./sections/005-003-003.md) - [5.4. 도구 사용 가능 목록 고지 (Tool Catalog)](./sections/005-004.md) - [5.4.1. `tool.catalog.publish` (Client → Master)](./sections/005-004-001.md) - [6. 제어 이벤트 (`control.*`)](./sections/006.md) - [6.1. 프롬프트/입력 전달](./sections/006-001.md) - [6.1.1. `control.prompt.request` (Master → Client)](./sections/006-001-001.md) - [6.1.2. `control.prompt.cancel` (Master → Client)](./sections/006-001-002.md) - [6.2. 상호작용 응답](./sections/006-002.md) - [6.2.1. `control.interaction.response` (Master → Client)](./sections/006-002-001.md) - [6.2.2. `control.interaction.timeout` (Master → Client)](./sections/006-002-002.md) - [6.3. 세션 제어 명령](./sections/006-003.md) - [6.3.1. `control.session.compact` (Master → Client)](./sections/006-003-001.md) - [6.3.2. `control.mode.switch` (Master → Client)](./sections/006-003-002.md) - [7. 세션 이벤트 (`session.*`)](./sections/007.md) - [7.1. 이력 복구](./sections/007-001.md) - [7.1.1. `session.history` (Client → Master)](./sections/007-001-001.md) - [7.2. 컨텍스트 압축 보고](./sections/007-002.md) - [7.2.1. `session.compacted` (Client → Master)](./sections/007-002-001.md) - [7.3. 사용량 지표](./sections/007-003.md) - [7.3.1. `session.usage` (양방향, 주로 Client → Master)](./sections/007-003-001.md) - [7.4. 세션 에러](./sections/007-004.md) - [7.4.1. `session.error` (양방향)](./sections/007-004-001.md) - [7.5. Turn 라이프사이클](./sections/007-005.md) - [7.5.1. `session.turn.start` (Client → Master)](./sections/007-005-001.md) - [7.5.2. `session.turn.end` (Client → Master)](./sections/007-005-002.md) - [7.5.3. 세션 종료 시 진행 중 항목 처리](./sections/007-005-003.md) - [7.6. 세션 이름 변경](./sections/007-006.md) - [7.6.1. `session.renamed` (양방향)](./sections/007-006-001.md) - [7.7. 세션 삭제](./sections/007-007.md) - [7.7.1. `session.deleted` (양방향)](./sections/007-007-001.md) - [7.8. WSS 연결 단절 복구 (Disconnect Recovery)](./sections/007-008.md) - [7.8.1. Finalization (미완료 메시지 정리)](./sections/007-008-001.md) - [7.8.2. Finalization 트리거 시점](./sections/007-008-002.md) - [7.8.3. Unfinalization (재연결 복구)](./sections/007-008-003.md) - [8. 태스크 관리 규격 (Task Management)](./sections/008.md) - [8.1. 태스크 객체 스키마](./sections/008-001.md) - [8.2. 도구 결과 내 태스크 전달](./sections/008-002.md) - [9. 계획 문서 규격 (Planning Document)](./sections/009.md) - [9.1. 계획 문서 전달](./sections/009-001.md) - [9.2. 계획 확정/거부](./sections/009-002.md) - [10. 서브에이전트 위임 규격 (Subagent Delegation)](./sections/010.md) - [10.1. 서브에이전트 호출](./sections/010-001.md) - [10.2. 서브에이전트 컨텍스트 (`metadata.subagent_context`)](./sections/010-002.md) - [10.3. 서브에이전트 생명주기 이벤트](./sections/010-003.md) - [10.3.1. `agent.subagent.started` (Client → Master)](./sections/010-003-001.md) - [10.3.2. `agent.subagent.ended` (Client → Master)](./sections/010-003-002.md) - [10.4. 서브에이전트 출력](./sections/010-004.md) - [10.5. 사용량 보고 규칙](./sections/010-005.md) - [10.6. 능력 협상](./sections/010-006.md) - [10.7. 서브에이전트 미지원 폴백](./sections/010-007.md) - [11. 구조화 출력 규격 (Structured Output)](./sections/011.md) - [11.1. 구조화 출력 완료](./sections/011-001.md) - [12. 명령어 및 능력 고지 (Command & Capability Negotiation)](./sections/012.md) - [12.1. 명령어 목록 조회](./sections/012-001.md) - [12.1.1. `agent.commands.publish` (Client → Master)](./sections/012-001-001.md) - [12.2. 능력 협상](./sections/012-002.md) - [12.2.1. `session.capabilities` (양방향)](./sections/012-002-001.md) - [13. 프레임 시퀀스 예시](./sections/013.md) - [13.1. 초기 세션 수립 흐름](./sections/013-001.md) - [13.2. 기본 프롬프트-응답 흐름](./sections/013-002.md) - [13.3. 도구 사용 흐름 (승인 포함)](./sections/013-003.md) - [13.4. 병렬 도구 호출 흐름](./sections/013-004.md) - [13.5. 서브에이전트 위임 흐름](./sections/013-005.md) - [13.6. 컨텍스트 압축 흐름](./sections/013-006.md) - [13.7. 재연결(Reattach) 후 이력 복구 흐름](./sections/013-007.md) - [13.8. 파일 참조 검색 흐름](./sections/013-008.md) - [14. 하위 호환성 (Backward Compatibility)](./sections/014.md) - [14.1. RAWP-1.0-Legacy (지원 종료)](./sections/014-001.md) - [14.2. 정방향 호환성 규칙](./sections/014-002.md) - [15. 보안 고려사항](./sections/015.md) - [16. 파일 참조 규격 (File Reference)](./sections/016.md) - [16.1. 파일 검색 이벤트](./sections/016-001.md) - [16.1.1. `control.file.search` (Master → Client)](./sections/016-001-001.md) - [16.1.2. `session.file.candidates` (Client → Master)](./sections/016-001-002.md) - [16.1.3. `control.file.search.cancel` (Master → Client)](./sections/016-001-003.md) - [16.2. 파일 참조 인라인 토큰 포맷 (File Reference Token)](./sections/016-002.md) - [16.2.1. 토큰 형식](./sections/016-002-001.md) - [16.2.2. 토큰 이스케이프 규칙 (Token Escaping)](./sections/016-002-002.md) - [16.3. 어댑터별 변환 규칙 (Adapter Conversion)](./sections/016-003.md) - [16.4. `control.prompt.request` 확장](./sections/016-004.md) - [16.5. 능력 협상 (Capability Negotiation)](./sections/016-005.md) - [17. 에이전트 어댑터 프로토콜 (Agent Adapter Protocol)](./sections/017.md) - [17.1. 어댑터 유형 분류](./sections/017-001.md) - [17.2. 프로세스 어댑터 프로토콜 계약](./sections/017-002.md) - [17.2.1. 환경 변수](./sections/017-002-001.md) - [17.2.2. Exit Code → DPS 이벤트 매핑](./sections/017-002-002.md) - [17.2.3. 종료 시그널 순서](./sections/017-002-003.md) - [17.3. SDK 어댑터 프로토콜 계약](./sections/017-003.md) - [17.3.1. 도구 승인 콜백 브릿지](./sections/017-003-001.md) - [17.3.2. 동시 프롬프트 방지](./sections/017-003-002.md) - [17.4. 공통 규칙](./sections/017-004.md) - [18. 단일 턴 프로세스 재생성 (Single-Turn Process Respawn)](./sections/018.md) - [18.1. 어댑터 플래그](./sections/018-001.md) - [18.2. Exit Code별 동작](./sections/018-002.md) - [18.3. 세션 ID 전달](./sections/018-003.md) - [18.4. 상태 전이](./sections/018-004.md) - [부록 A. Claude Code 출력 유형 전수 조사 및 매핑](./sections/019.md) - [A.1. 핵심 도구 출력](./sections/019-001.md) - [A.2. 확장 도구 출력](./sections/019-002.md) - [A.3. 비도구 출력](./sections/019-003.md) - [A.4. RAWP-1.0-Legacy (지원 종료)](./sections/019-004.md) - [부록 B. 이벤트 타입 전체 목록 (Quick Reference)](./sections/020.md)