AX Agent 진행 메시지 폭·정렬 및 인코딩 표시 문제 수정

- 앱 생성 진행/도구/완료 카드에 전용 최대폭을 도입하고 좌측 정렬로 통일
- 라이브 진행 카드와 검증 게이트 문구에서 깨져 보이던 문자열을 정상화
- build_run/process 도구가 Windows 기본 출력 인코딩을 우선 사용하도록 조정
- README와 DEVELOPMENT 문서에 2026-04-16 00:57 (KST) 기준 이력 반영

검증:
- dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\verify_agent_ui_layout_encoding\ -p:IntermediateOutputPath=obj\verify_agent_ui_layout_encoding\ (경고 0 / 오류 0)
- dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "ChatWindowSlashPolicyTests|AgentLoopCodeQualityTests" -p:OutputPath=bin\verify_agent_ui_layout_encoding_tests\ -p:IntermediateOutputPath=obj\verify_agent_ui_layout_encoding_tests\ (통과 194)
This commit is contained in:
2026-04-16 01:02:13 +09:00
parent db4ccd5df4
commit e2278eec24
9 changed files with 98 additions and 45 deletions

View File

@@ -75,8 +75,8 @@ public class ProcessTool : IAgentTool
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
StandardOutputEncoding = Encoding.UTF8,
StandardErrorEncoding = Encoding.UTF8,
StandardOutputEncoding = ResolveProcessOutputEncoding(),
StandardErrorEncoding = ResolveProcessOutputEncoding(),
};
// 작업 폴더 설정
@@ -130,4 +130,7 @@ public class ProcessTool : IAgentTool
return ToolResult.Fail($"명령 실행 실패: {ex.Message}");
}
}
private static Encoding ResolveProcessOutputEncoding()
=> OperatingSystem.IsWindows() ? Encoding.Default : Encoding.UTF8;
}