- 등록 모델 실행 프로파일을 검증 게이트, 문서 fallback, post-tool verification까지 확장 적용 - Cowork/Code 진행 카드에 계획/도구/검증/압축/폴백/재시도 단계 메타를 추가해 대기 상태 가시성 강화 - OpenAI/vLLM tool 요청에 병렬 도구 호출 힌트를 추가하고 회귀 프롬프트 문서를 프로파일 기준으로 전면 정리 - 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0 / 오류 0)
85 lines
4.8 KiB
XML
85 lines
4.8 KiB
XML
<Application x:Class="AxCopilot.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:converters="clr-namespace:AxCopilot.Themes"
|
|
ShutdownMode="OnExplicitShutdown">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<!-- 기본 테마 (Dark) - ApplyTheme()에서 교체됨 -->
|
|
<ResourceDictionary Source="Themes/Dark.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
|
|
<converters:InverseBoolToVisibilityConverter x:Key="InverseBoolToVisibilityConverter"/>
|
|
<converters:CountToVisibilityConverter x:Key="CountToVisibilityConverter"/>
|
|
<converters:SymbolToBackgroundConverter x:Key="SymbolToBackgroundConverter"/>
|
|
<converters:NullToCollapsedConverter x:Key="NullToCollapsedConverter"/>
|
|
<converters:IndexToNumberConverter x:Key="IndexToNumberConverter"/>
|
|
<converters:WarningSubtitleColorConverter x:Key="WarningSubtitleColorConverter"/>
|
|
<converters:ClipboardThumbnailConverter x:Key="ClipboardThumbnailConverter"/>
|
|
<converters:ClipboardHasImageConverter x:Key="ClipboardHasImageConverter"/>
|
|
|
|
<!-- 전역 토글 스위치: 창별 리소스 누락 시에도 동일 스타일 보장 -->
|
|
<Style x:Key="ToggleSwitch" TargetType="CheckBox">
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="CheckBox">
|
|
<Grid Width="46" Height="26" VerticalAlignment="Center">
|
|
<Border x:Name="Track"
|
|
Width="46"
|
|
Height="26"
|
|
CornerRadius="13"
|
|
Background="#D0D0E0"/>
|
|
<Ellipse x:Name="Thumb"
|
|
Width="20"
|
|
Height="20"
|
|
Margin="3,0,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
Fill="White">
|
|
<Ellipse.Effect>
|
|
<DropShadowEffect BlurRadius="5" ShadowDepth="1" Opacity="0.25" Direction="270"/>
|
|
</Ellipse.Effect>
|
|
</Ellipse>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="Track" Property="Background" Value="{DynamicResource AccentColor}"/>
|
|
<Setter TargetName="Thumb" Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter TargetName="Thumb" Property="Margin" Value="0,0,3,0"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- 전역 도움말 툴팁: Chat/Settings/AgentSettings 어디서든 동일하게 사용 -->
|
|
<Style x:Key="HelpTooltipStyle" TargetType="ToolTip">
|
|
<Setter Property="OverridesDefaultStyle" Value="True"/>
|
|
<Setter Property="HasDropShadow" Value="False"/>
|
|
<Setter Property="MaxWidth" Value="320"/>
|
|
<Setter Property="Placement" Value="Bottom"/>
|
|
<Setter Property="Background" Value="#1F2440"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="TextElement.Foreground" Value="White"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ToolTip">
|
|
<Border Background="{TemplateBinding Background}"
|
|
CornerRadius="10"
|
|
Padding="14,10"
|
|
BorderBrush="{DynamicResource AccentColor}"
|
|
BorderThickness="1">
|
|
<ContentPresenter/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application>
|