Files
OCTOPUS_TWIN-Demo/.claude/settings.local.json
wsh 85f4a959af CompletionResult 기반 UI 색상 매핑 및 파이프라인 완료 검증 추가
- TwinAgentAutoProcessor에 _completionResults 저장소 추가하여 단계별 완료 결과를 UI에 전달
- EntityPropertyAdapter의 색상 결정을 문자열 매칭에서 CompletionResult 기반으로 변경
  - Complete → 초록, Warning → 주황, Error → 빨강, SubStep → 흰색
- 터미널 로그 및 상태 복원에도 동일한 색상 매핑 적용
- 파이프라인 중단 시 completeTerminal 메시지를 "Process stopped"으로 구분
- MachineInfoItemManager에서 IsFullPipelineCompleted 체크 추가하여 에러 중단 시 UI 바인딩 방지

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 18:14:36 +09:00

17 lines
1.9 KiB
JSON

{
"permissions": {
"allow": [
"Bash(git log:*)",
"mcp__UnityMCP__refresh_unity",
"mcp__UnityMCP__read_console",
"Bash(find:*)",
"Bash(xxd:*)",
"Bash(powershell -Command \"\\(Get-Content ''Assets\\\\DownloadAssets\\\\XRLib\\\\Scripts\\\\UVC\\\\Entity\\\\Processors\\\\TwinAgentAutoProcessor.cs'' -Raw\\) -replace ''Completions\\\\[Completions\\\\.Length - 1\\\\]'',''Completions[^1]'' | Set-Content ''Assets\\\\DownloadAssets\\\\XRLib\\\\Scripts\\\\UVC\\\\Entity\\\\Processors\\\\TwinAgentAutoProcessor.cs'' -NoNewline\")",
"Bash(powershell -Command \"\\(Get-Content ''Assets\\\\DownloadAssets\\\\XRLib\\\\Scripts\\\\UVC\\\\Entity\\\\Processors\\\\TwinAgentAutoProcessor.cs'' -Raw\\) -replace ''public struct StepProgressInfo'',''public readonly struct StepProgressInfo'' | Set-Content ''Assets\\\\DownloadAssets\\\\XRLib\\\\Scripts\\\\UVC\\\\Entity\\\\Processors\\\\TwinAgentAutoProcessor.cs'' -NoNewline\")",
"Bash(git add:*)",
"Bash(git commit -m \"$\\(cat <<''EOF''\nTwinAgentAutoProcessor 가중치 완료조건 및 Entity별 터미널 로그 분리\n\n- CompletionResult enum 추가 \\(Complete/Warning/Error\\)로 완료 상태 분류\n- WeightedCompletion으로 SubStep별 가중치 기반 랜덤 완료 조건 구현\n - Server: OctopusHub 75% / NotFound 25%\\(Error, 중지\\)\n - Protocol: API 75% / MQTT 25%\n - ServerStatusCheck: Done 85% / Busy 10%\\(Warning, 중지\\) / Error 5%\\(중지\\)\n - Speed: 5~120ms 80% / \"300ms~\" 20%\n- IsFullPipelineCompleted 속성으로 전체 파이프라인 완료 여부 판별\n- MessageHistory 버퍼로 Entity별 터미널 로그 이력 관리\n- Entity 전환 시 ClearAllProcessorScopedBindings\\(\\)로 이전 UI 바인딩 해제\n- EntityPropertyAdapter에서 PropertyItem 복원과 터미널 복원 순서 분리\n\nCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>\nEOF\n\\)\")",
"Bash(dir:*)"
]
}
}