Skip to content

Code Editor & Artifacts

AvalonEdit Integration

WPF AvalonEdit hosted via ElementHost in WinForms. Provides:

  • Syntax highlighting via SemanticColorizer (Roslyn-based)
  • Line numbers and folding margins
  • Minimap for large files
  • Bracket matching and auto-indentation
  • Multi-cursor editing (Alt+Click)
  • Theme integration with application color scheme

The editor opens in artifact panels, not as a full IDE replacement.

Artifact Types

Agents produce structured artifacts displayed in the right sidebar:

TypePurposeRendering
TaskPlanChecklist of sub-tasks with completion trackingInteractive checkbox list
ImplementationPlanDetailed proposal for multi-file changesStructured markdown with file tree
WalkthroughFinal summary of changes madeFormatted report with links
DiffCode diff output from apply_diffSide-by-side or unified diff view
GeneralFreeform content (search results, explanations)Markdown rendering

Artifacts can be pinned, minimized, or closed. Pinned artifacts persist across sessions.

Diff Visualization

Unified diffs render with color-coded additions/deletions:

  • + Added lines - Green background
  • - Removed lines - Red background
  • ~ Modified lines - Yellow background
  • Context lines - Default background

Inline diff mode shows character-level changes within modified lines.