appsok/agent-ui/definition/components/adb-diagnostics/index.md

72 lines
1.5 KiB
Markdown

---
ui_doc_type: component
component_id: adb-diagnostics
status: 구현됨
source_evidence:
- type: code
path: lib/src/features/settings/settings_page.dart
notes: "_AdbDiagnosticsSection, _DiagRows, _DiagRow"
- type: docs
path: README.md
notes: "ADB 실행과 USB device 접근 scope"
- type: user
path: null
notes: "agent-ui 생성 요청"
---
# ADB Diagnostics
Component ID: `adb-diagnostics`
Status: `구현됨`
## Source Evidence
| Type | Path | Notes |
|------|------|-------|
| code | `lib/src/features/settings/settings_page.dart` | `_AdbDiagnosticsSection`, `_DiagRows`, `_DiagRow` |
| docs | `README.md` | ADB 실행과 USB device 접근 scope |
| user | 없음 | agent-ui 생성 요청 |
## Purpose
현재 ADB runtime source, executable path, server port, version, version error, SHA-256 요약을 설정 화면에서 확인한다.
## Used By
- `settings`: `settings.adb-diagnostics`
## Anatomy
- diagnostics title label
- loading/refresh icon
- source row
- path row
- server port row
- optional version row
- optional version error row
- optional hash row
## Variants
- default: diagnostics rows 표시
- loading: hourglass icon
- empty: 진단 정보 없음
- error: 진단 로드 실패
## States
- default
- loading
- empty
- error
- disabled
## Rules
- path/version/hash 값은 길어질 수 있으므로 한 줄 ellipsis를 사용한다.
- version error row는 error color로 표시한다.
## Decision History
- 2026-06-25: ADB runtime diagnostics rows를 component로 기록했다.