an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
fix(ui): buttons stop painting over the agent name, and the pen sits on the pad
Chaitanya Giri9e17dfe16149
diff --git a/src/renderer/src/components/AgentDetailPanel.tsx b/src/renderer/src/components/AgentDetailPanel.tsxindex 4ab40000..12513c73 100644--- a/src/renderer/src/components/AgentDetailPanel.tsx+++ b/src/renderer/src/components/AgentDetailPanel.tsx@@ -114,7 +114,8 @@ export function AgentDetailPanel({ agent }: AgentDetailPanelProps) {/></div><div style={{- display: 'flex', gap: 6, alignItems: 'center', marginTop: 1+ display: 'flex', gap: 6, alignItems: 'center', marginTop: 1,+ minWidth: 0, overflow: 'hidden'}}><PixelBadge status={agent.status} /><span style={{diff --git a/src/renderer/src/components/Icon.tsx b/src/renderer/src/components/Icon.tsxindex 3bf34202..7350ae08 100644--- a/src/renderer/src/components/Icon.tsx+++ b/src/renderer/src/components/Icon.tsx@@ -43,9 +43,13 @@ const paths: Record<IconName, IconDef> = {// as a blob at 16px; this sits next to `code` and `terminal` in the same row,// so it is drawn the way they are — hairline outlines, one colour, two whole// objects with a clear gap between them rather than one overlapping the other.+ // Notepad with the pen laid ACROSS its top-right corner, not parked beside it.+ // The pen breaks the pad's outline where it crosses, and that broken edge is+ // the whole trick — two shapes sharing one ink colour only read as "over" if+ // the lower one visibly stops. Same hairline weight as code/terminal/git.edit: {accentColor: 'var(--cth-lilac)',- ink: 'M13 1h1v1h-1zM12 2h1v1h-1zM14 2h1v1h-1zM11 3h1v1h-1zM15 3h1v1h-1zM10 4h1v1h-1zM14 4h1v1h-1zM1 5h8v1h-8zM10 5h2v1h-2zM13 5h1v1h-1zM1 6h1v1h-1zM8 6h1v1h-1zM10 6h3v1h-3zM1 7h1v1h-1zM8 7h1v1h-1zM1 8h1v1h-1zM3 8h4v1h-4zM8 8h1v1h-1zM1 9h1v1h-1zM8 9h1v1h-1zM1 10h1v1h-1zM3 10h4v1h-4zM8 10h1v1h-1zM1 11h1v1h-1zM8 11h1v1h-1zM1 12h1v1h-1zM3 12h4v1h-4zM8 12h1v1h-1zM1 13h1v1h-1zM8 13h1v1h-1zM1 14h8v1h-8z'+ ink: 'M13 1h2v1h-2zM1 2h10v1h-10zM12 2h2v1h-2zM1 3h1v1h-1zM11 3h2v1h-2zM1 4h1v1h-1zM10 4h2v1h-2zM1 5h1v1h-1zM9 5h2v1h-2zM1 6h1v1h-1zM3 6h5v1h-5zM9 6h1v1h-1zM1 7h1v1h-1zM10 7h1v1h-1zM1 8h1v1h-1zM10 8h1v1h-1zM1 9h1v1h-1zM3 9h5v1h-5zM10 9h1v1h-1zM1 10h1v1h-1zM10 10h1v1h-1zM1 11h1v1h-1zM10 11h1v1h-1zM1 12h1v1h-1zM3 12h5v1h-5zM10 12h1v1h-1zM1 13h1v1h-1zM10 13h1v1h-1zM1 14h1v1h-1zM10 14h1v1h-1zM1 15h10v1h-10z'},pause: {accentColor: 'var(--cth-lemon)',diff --git a/src/renderer/src/components/PixelBadge.tsx b/src/renderer/src/components/PixelBadge.tsxindex cc30d95a..6bd88af4 100644--- a/src/renderer/src/components/PixelBadge.tsx+++ b/src/renderer/src/components/PixelBadge.tsx@@ -55,6 +55,9 @@ export function PixelBadge({ status, label, style }: PixelBadgeProps) {style={{display: 'inline-flex',alignItems: 'center',+ // Same reason as PixelButton: a status chip that shrinks spills its text+ // under the controls beside it instead of holding its own width.+ flexShrink: 0,gap: 6,padding: '2px 8px 0',background: 'var(--cth-cream-100)',diff --git a/src/renderer/src/components/PixelButton.tsx b/src/renderer/src/components/PixelButton.tsxindex 45c2d049..6fa7db87 100644--- a/src/renderer/src/components/PixelButton.tsx+++ b/src/renderer/src/components/PixelButton.tsx@@ -106,6 +106,12 @@ export function PixelButton({// Kill descender-driven drift: with the height fixed above, an inherited// line-height only moves the text off centre.lineHeight: 1,+ // A button never shrinks below its own label. The default flex-shrink is+ // 1, and with `whiteSpace: nowrap` below, a squeezed button keeps drawing+ // its full-width text out of a narrowed box — so in a tight row the+ // labels paint straight over whatever sits to their left. That is not a+ // clipped button, it is two controls on top of each other.+ flexShrink: 0,height: heightBySize[size],padding: padBySize[size],background: palette.fill,