/* built-in widgets */
A curated palette the orchestrator can place anywhere.
Splits, panels, sizes — the orchestrator emits a declarative spec and the engine swaps
widgets in place. When the curated library doesn't fit, it can ship a custom Python
widget at runtime in the same call.
OrchestratorChat
Rich transcript + input for the top-level Claude session.
AgentTable
Sortable list of children: name, status, elapsed, cost.
AgentTranscript
One agent's conversation, with a direct-message input.
Terminal
Real PTY — drop into the actual claude CLI or your shell.
FileEditor
Editable, syntax-highlighted; ctrl-s saves; warns on external changes.
DiffViewer
Unified-diff viewer (precomputed diff or before + after).
FileTree
Directory tree; emits FileSelected events on the bus.
SystemUsage
Compact CPU + RAM gauges with threshold-colored bars.
Plus
ActivityFeed,
FileViewer,
LogTail,
Markdown,
Notebook
— and any
.py
file you drop into ~/.config/patchfeld/widgets/.