Reorder (↑/↓) and inline edit were only wired up in the running-agent
branch; the idle-agent branch rendered QueueList without those handlers,
silently disabling the features when no agent was running.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
usePromptQueue gains reorder() and edit() operations.
QueueList in control panel: up/down chevron buttons to move items;
click item text to edit inline (Enter to save, Escape to cancel).
Beacon popup queue: same reorder/edit pattern — double-click text to
edit, ↑/↓ to reorder, X to remove without sending, click text to
send-and-remove. All writes go directly to localStorage so control
panel reacts via the storage event listener added earlier.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
usePromptQueue now listens for storage events so the control panel
reacts instantly when the beacon popup modifies the queue.
Beacon popup queue now matches control panel QueueList style (numbered,
first item highlighted, X to remove). Clicking a queue item removes it
from localStorage before submitting — prevents double-fire on next
auto-inject.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
BeaconSettings "Use web UI beacon" label was backwards — enabling it
skips the popup entirely (control panel only). Renamed to "Control panel
only (skip popup)" with accurate description.
Also syncs mic status messages between beacon popup and control panel:
"No audio detected" → "No audio — speak closer…", "Processing…" → "Transcribing…".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reads control:auto-continue and control:queue localStorage keys (same
origin, same SSOT as the control panel) — 2s poll + storage event.
Queue items appear above primary buttons; paused state shows ⏸ badge
on slot-1 and updated controls-row text.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
renderTaskForAdapter built prompts without the session file content.
buildPromptWithSession was already imported but unused in the claude path.
Wrapping the rendered prompt with session context means next_best, quality,
test_and_fix, etc. now see done/next/health from the last run before choosing work.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1. beacon popup countdown is now display-only (Cockpit is sole auto-injector)
– shows "Cockpit continues in Xs · click to choose" so user knows what's happening
– no independent auto-inject; web popup just closes when control panel fires
2. dismissed resets per cycle so ReadyBanner fires once per agent run
– prevAgentRunning ref tracks false→true transition; setDismissed(false) on new run
3. orchestration/run cancels open beacon sessions (same as /api/inject)
– missing cancel caused lock file to persist, blocking every subsequent stop hook
UX: replace MicOff (mute icon) with square stop icon + waveform bars in
control panel prompt input, matching beacon popup style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
**Pause bug fix:**
- /api/beacon/cancel endpoint cancels active beacon sessions for a project
- Clicking pause in the control panel now calls this endpoint so the beacon
popup's independent 30s countdown can't fire after the user pauses
**Prompt queue:**
- usePromptQueue hook (localStorage-backed) for per-project queued prompts
- Queue button (ListPlus) in the prompt input + Alt+Enter keyboard shortcut
- QueueList shows numbered items with × removal in running and idle states
- ReadyBanner auto-inject drains the queue first, falls back to next_best
- ReadyBanner shows "Queue N" tag when items are waiting
**Session summary restored:**
- SessionSummary (up next / done) is now visible while agent is running
- RunningBanner clearly labels the active task; session.next below it shows
what comes after — no more confusion between current and upcoming work
**SSOT / DRY:**
- lib/session-content.ts: shared parseSessionText() for session file parsing
- beacon popup page, beacon [id] API route both use the shared parser
- useWhisperMic extended: exposes waveformBars + recordingSeconds
- beacon popup replaced ~150 lines of custom mic code with useWhisperMic hook
- ReadyBanner uses stable refs for onSend/onAutoInject to prevent re-injection
from unstable parent function references on every SSE render
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- RunningBanner: add "RUNNING" kicker, show "Custom prompt" title with prompt text as subtitle
so users see exactly what the agent is executing, not a truncated prose fragment
- Hide SessionSummary (session.next arrow) while agent is running to eliminate confusion
between "what's being done now" vs "what comes next"
- Pause/play toggle button added beside interrupt input in running state for auto-continue control
- Prompt input upgraded from single-line <input> to auto-expanding <textarea> (fieldSizing:content)
with Shift+Enter for newlines and Enter to send
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bug Five: the SSE stream resolved each project's canonical tab name to its
live Zellij casing once when the EventSource connected. If a new Claude
session opened (adding a suffix like " Claude") or a tab was renamed, the
stream continued reading /tmp sentinel files under the stale name. The
project appeared frozen in the control panel until the connection dropped
and reconnected.
Fix: maintain a zellijTabCache variable and fire getZellijTabs() in the
background when the cache is older than 10s. Each tick re-runs
resolveEffectiveTab against the freshest known tab list before reading the
/tmp files. Max staleness is now ~12s (10s TTL + up to 2s tick).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
_poll_choice used `if data.get("choice")` — Python truthiness — which
silently skips an empty string. When cancelActiveBeaconSessions writes
choice:"" to the session file, the poll loop would see "" and keep waiting
until the full timeout, then exit with code 1. The bash caller then falls
into the "native popup failed → fallback slot 1" branch and injects a
second prompt on top of the one already sent by the control panel.
Fix: use `is not None` so empty string is returned immediately. The
caller also switches from `if choice` to `if choice is not None` so ""
is printed to stdout and bash correctly exits via [ -z "$choice" ] && exit 0.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
use-speech-recognition.ts is now unreferenced — AskIvyModal was the
last consumer and was migrated to useWhisperMic in the previous commit.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
useSpeechRecognition (Google's cloud STT, unreliable on Linux) swapped
out for useWhisperMic (local Whisper via /api/beacon/transcribe).
Mic button now has three explicit states: recording (pulsing red MicOff),
processing (spinner, disabled), and idle (Mic). Input ring and placeholder
update to match. Error message renders below the input on permission or
hardware failure. Mic is always shown — no 'supported' guard needed since
Whisper runs locally without browser API detection.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Part 1 — atomic bash lock: replace TOCTOU check-then-write on
agent-stop-active-<tab> with POSIX noclobber `( set -C; : > lock ) 2>/dev/null`.
Concurrent stop hooks that both used to pass the test-before-write now
race atomically; only one wins. Stale locks (>90s) are overwritten.
Part 2 — cancel open beacons on panel inject: cancelActiveBeaconSessions()
scans /tmp/cockpit-beacon/*.json for active sessions matching the tab and
sets choice="" — the empty-string sentinel that causes beacon.py's polling
loop to return "" and bash to `exit 0` cleanly.
/api/inject calls this immediately after injectIntoTab() succeeds.
Part 3 — beacon popup auto-closes on cancellation: polls GET /api/beacon/:id
every 2 s; calls window.close() as soon as choice !== null (set by Part 2).
Clears on unmount or when the user submits their own choice first.
Together these three parts prevent the popup and the control panel from
both injecting prompts into the same Zellij tab.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
go-to-tab-name is fire-and-forget — it returns before Zellij has switched
the visible tab. Under load the 0.3s sleep was too short, causing write-chars
to type the prompt into whichever pane happened to be focused at that moment.
Both inject paths now poll zellij action dump-layout after go-to-tab-name and
wait until the focused tab matches the target (up to 1s, 50ms intervals).
In the common case the switch completes in <50ms, so typical injection is
faster than before; the edge case where it was silently misfiring is fixed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Path A (beacon popup → bash inject) was telling Claude to write only
'done' and 'next', while Path B (control panel → TypeScript inject)
told it to write all five: done, next, tests, todos, health.
The control panel and SSE stream read all five fields; the missing
three caused projects injected via popup to show no test count,
no TODO count, and no health status until the next TypeScript inject.
Both paths now use identical wording:
'When done, update {file} with exactly these lines:
done / next / tests / todos / health'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- System topology diagram: shows Claude→Bridge→Beacon→Cockpit→Zellij→Claude
flow with /tmp filesystem bus as the shared IPC layer
- Three-paths diagram: shows Path A/B/C diverging from the stop event and
reconverging at zellij write-chars, highlighting the 2-field vs 5-field
format divergence that is Bug Four
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Parser: new 'image' block () and 'code' block (fenced backtick blocks)
Paragraph accumulator breaks on backtick fences and ![ so neither leaks into prose
- MermaidDiagram client component: dynamic mermaid import, dark theme matching
Cockpit surface colors; SVG inline; falls back to raw text on render error
- Page: Next.js Image for image blocks with figcaption; MermaidDiagram for mermaid
fenced blocks; pre/code for all other lang tags
- Images convention: /public/thoughts/{slug}/, referenced as /thoughts/{slug}/file
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: beacon.py called _cockpit_ready() using /api/control (slow DB+git
endpoint, 4+ seconds cold) with a 2s timeout. When OrangeCat fired rapid
consecutive stop hooks, this check failed even with Cockpit running, so
_start_cockpit() spawned extra npm run dev processes that inherited the bash
command substitution pipe (stdout). Their startup output flooded the captured
`choice`, jq parsing failed, and the script exited silently with no injection.
Fix 1: Add /api/health endpoint (instant response) — beacon.py now uses this
instead of /api/control for all liveness checks; also fixes the curl check
in agent-hook-bridge.sh.
Fix 2: Redirect _start_cockpit() subprocess stdout/stderr to DEVNULL — like
_open_browser() already does. Prevents npm run dev from inheriting the pipe
and polluting the captured choice.
Fix 3: Add concurrent stop guard at top of handle_stop — skips the popup if
another stop is already active for the same tab (within 90s). Prevents
beacon storms from rapid turn completions.
Also increased _poll_choice timeout from 3s to 8s to tolerate cold route
compilation without dropping choices.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
If the claude process crashes before the stop hook fires, the currentPrompt
/tmp file is never cleaned up. With the new !currentPrompt guard for isReady,
this left projects stuck on "Running: <stale task>" indefinitely.
Fix: in the display layer, treat currentPrompt as null whenever agentRunning
is false — if there's no process, there's no active turn, regardless of what
the file says. Uses agentRunning (now accurate after the argv0-basename fix)
as the authority on whether a process is alive.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The DB currentPromptKey was used as a fallback when the /tmp file was absent.
After a system reboot, /tmp files are gone but DB still has the old value →
every project with a prior injection showed "Running: <stale task>" indefinitely.
currentPrompt is transient turn state — the stop hook always clears the /tmp file
when a turn ends, so the file's presence is the only reliable signal. The DB column
is still written by the inject route (for lifecycle event timing via currentPromptStartedAt)
but is no longer read back into the UI state.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- getAgentCwds: match argv[0] basename only, not full cmdline — prevents
bash shell-snapshot processes (/home/g/.claude/shell-snapshots/...) from
matching the 'claude' processMatcher and permanently setting agentRunning
- isReady: replace !agentRunning guard with !currentPrompt — the claude
binary stays alive between turns, so agentRunning is always true while
a session is open; currentPrompt is the reliable turn-tracking sentinel
- isOrchestrationReady: same !currentPrompt guard
- showRunningBanner: no longer requires isRunning — fires on currentPrompt
alone so the banner appears even before the process shows up in /proc
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Three fixes for the wrong-monitor popup problem:
- beacon.py: fallback uses primary screen instead of cursor position —
cursor can be on any screen but the terminal is usually on primary
- agent-hook-bridge.sh: writes claude-screen-<PANE_ID> from xrandr at
stop hook time if missing (context-limit continuations bypass the
claude() bash wrapper which normally writes it at launch)
- ProjectCard.tsx: auto-continue defaults OFF — require explicit opt-in
to prevent the Cockpit UI from auto-injecting a second prompt while
the user is already typing their own message in the same terminal tab
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
WindowDoesNotAcceptFocus is an X11 WM hint that blocks keyboard focus
even on deliberate clicks — so typing went to the terminal, the input
stayed empty, and the countdown/dismiss fired as if nothing was typed.
Fix: FocusCancelInput.mousePressEvent strips the flag and re-shows the
window so the WM routes keystrokes here. Track _input_engaged so _tick,
_choose, and _dismiss all respect a click (not just non-empty text).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When an agent is running but no currentPrompt sentinel exists (e.g. agent
was running before Cockpit opened, or prompt wasn't injected via the UI),
the banner now shows session.next as a "Next:" hint — or session.done as
"Last:" if next is empty. Also aligns padding and font-weight with
RunningBanner for visual consistency across all active-agent states.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The 2-second SSE tick was reading /tmp/agent-ready-<conf_name> but bash writes
/tmp/agent-ready-<zellij_exact_name>. On case mismatch the stream never saw
state updates and the Control panel lagged by the 30s polling fallback.
Fix: resolve each project's tab name to its exact zellij casing once at stream
startup (same getZellijTabs + resolveEffectiveTab that the main GET route uses).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root disconnect: when a choice was injected via bash (web beacon or PyQt popup),
the /tmp state files were never updated — agent-ready-<TAB> stayed written
(UI showed "waiting for input"), agent-current-prompt-<TAB> was never written
(no "running" banner), and the Control panel stayed stale until the NEXT stop
hook fired.
Fixes:
- agent-hook-lib.sh: add write_inject_state(tab, key, label) that clears the
ready/closed sentinels and writes the current-prompt sentinel immediately
after injection — same state update that /api/inject does for Control panel
inject button flows
- agent-hook-bridge.sh: extract inject_key and inject_label from the resolved
choice, then call write_inject_state after emit_or_inject_prompt
- agent-hook-lib.sh: add -- before prompt in write-chars call to prevent
prompts starting with - from being parsed as flags
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: resolveEffectiveTab returned conf-file casing ('OrangeCat') while
zellij may store the tab as 'orangecat'. go-to-tab-name is case-sensitive —
navigation silently failed and write-chars landed on whichever tab was focused.
Fixes:
- resolveEffectiveTab now always returns the exact casing from activeTabs
(zellij's ground truth), never from the conf file
- injectIntoTab uses shellEscape() for the tab name argument so spaces and
quotes in tab names no longer break the shell command
These two bugs together explain the "prompts go to the wrong tab" report from
the Control panel UX.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the bare check-mark + "Running…" with a confirmation card that shows:
- The exact action that was dispatched (prompt icon + label, or custom text)
- Which project the agent is now running on
- A prompt to watch progress in the Control panel
- An "Open Control panel" button as an escape hatch
The window still auto-closes after 400ms; the screen is just visible during
the brief moment before it disappears.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Explicitly request audio/webm;codecs=opus from MediaRecorder (prevents Chrome
from picking video/webm even on audio-only streams)
- Use recorder.mimeType on the assembled Blob so the MIME label matches actual codec
- Bail client-side when blob < 100 bytes (tap-and-immediately-release)
- Expose execFile stderr in the error response instead of the generic
"Command failed: python3 ..." so the UI shows the actual Python traceback
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Expose the prefer_browser_ready_ui flag (read by agent-hook-bridge.sh to
decide between native PyQt popup and the web beacon) as a checkbox in the
Settings → Beacon section. GET returns the current value, PATCH persists it
to ~/.config/agent-dashboard-settings.json alongside countdown/model.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove hardcoded .dark wrapper from beacon layout — root ThemeProvider
already manages the class on <html> via next-themes + localStorage, so
the beacon now inherits the user's theme preference like any other route.
Add ThemeToggle (compact) to the beacon header so the user can switch
modes directly from the popup. Upgrade 11px hint text from text-text-muted
to text-text-tertiary for WCAG AA legibility at small sizes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previously the only way to change countdown_seconds or whisper_model was
to hand-edit ~/.config/agent-dashboard-settings.json.
- /api/beacon-settings GET+PATCH: reads/writes the settings JSON file,
validates countdown (5–300s) and model (tiny/base/small/medium/large)
- BeaconSettings component: self-loading client component matching the
existing ProfileSettings/ProjectsSettings pattern
- Settings page: BeaconSettings placed between Profile and Projects
Verified round-trip: GET returns {countdown_seconds:12, whisper_model:"base"},
PATCH updates the file and subsequent GET reflects the change.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both were SSOT violations — PyQt respected ~/.config/agent-dashboard-settings.json
but the web beacon hardcoded its own values.
- beacon.py _web_stop: reads countdown_seconds from settings, passes as
?countdown=N query param when opening the Chrome app URL
- beacon page: reads ?countdown from window.location.search on load
(lazy useState initializer, SSR-safe via typeof window guard)
- /api/beacon/transcribe: reads whisper_model from settings file before
invoking transcribe.py, falls back to "base" if missing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each beacon completion already writes a DevLogEntry to userProjects.dev_log.
That history was only shown in the Control panel's project profile sidebar.
- /api/projects/[id] now joins userProjects by name and returns devLog (20
most recent entries, newest first) alongside the entity data
- ProjectData type gains devLog: DevLogEntry[]
- Projects overview tab shows a collapsible "Session Log (N)" section using
the same entry cards as Control
- Extracted shared DevLogList component so both views stay in sync without
copy-pasting the rendering logic
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace Web Speech API (cloud, silent failures) with MediaRecorder →
POST audio blob → Python Whisper (local, no internet) pipeline. Adds
real-time waveform visualisation, recording timer, and a clear
idle/recording/processing state machine with never-silent error display.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Mic: interimResults=true shows live text as you speak (italic overlay
in the input field while result is still forming)
- Mic: pulsing ring animation on the button while recording
- Mic: "Recording…" status line + word·char count once text is entered
- Mic: aborted error is now silent (user stopped it, not a failure)
- Add "Cockpit" button in header — opens /control in a new tab so you
can see the full project/process panel without losing the beacon
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Record the terminal's screen at claude startup (cursor is in terminal then)
via record-terminal-screen.py using ctypes+libX11 on XWayland DISPLAY=:1.
_terminal_screen_position() reads /tmp/claude-screen-<ZELLIJ_PANE_ID> as
the primary source — drops the unreliable xdotool path that never worked
on KDE Wayland with Kitty.
Both PyQt popup and Chrome web beacon use this path, so neither will
appear on the movie screen when cursor drifts there mid-session.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: WA_TranslucentBackground + QGraphicsDropShadowEffect causes
fully-transparent windows on Linux without compositor support (common on
NVIDIA/X11 setups). Both the stop and confirm popups were affected.
Fix:
- Remove WA_TranslucentBackground from BasePopup
- Use QPalette to paint solid card-color background on the window itself
(window bg = card bg = seamless visual, rounded border still visible)
- Remove QGraphicsDropShadowEffect — only meaningful with transparency
- Collapse outer layout margins 16→0 (were shadow bleed space only)
- Remove QGraphicsDropShadowEffect import (unused)
Applies to both ContinuePopup (stop mode) and ConfirmPopup (destructive
command confirmations). Both inherit from BasePopup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Countdown bug root cause: cancelCountdown set pausedRef=false, so the
next interval tick saw c=0≤1 and called submit. Fix: set both
pausedRef=true and cancelledRef=true — two independent guards.
Three-layer defence matching PyQt _tick/_choose pattern:
1. pausedRef.current check at interval entry
2. cancelledRef.current check inside setCountdown callback (race-safe)
3. Live input value check (mirrors PyQt: if custom text → cancel)
Additional: onFocus on input cancels countdown on click, not just on
first keystroke. handleCustomChange cancels on any change (not just
non-empty). Mic: explicit error messages for permission-denied, network,
no-speech; try/catch around rec.start(); continuous=false explicit.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove min-h-screen so the page doesn't expand to fill fixed height
- On load: resizeTo(520, scrollHeight) + moveTo to keep bottom-right
anchor (reads screenLeft/screenTop before resize to reposition)
- Reduce initial Chrome window from 820→640px so less blank area before
JS fires; loading/submitted states use compact fixed heights
- Sync _terminal_screen_position default height to match
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
scripts/export-beacon-theme.py reads Cockpit's oklch design tokens,
converts them to hex, and writes ~/.config/agent-dashboard-theme.json
so beacon.py's PyQt palette stays pixel-identical to the web UI.
Run after any colour change in globals.css:
python3 scripts/export-beacon-theme.py
beacon.py: fix _load_theme to read nested {dark/light} JSON structure.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use $WINDOWID or xdotool getactivewindow to find the terminal's screen
geometry, then position at bottom-right of that screen. Falls back to
cursor position if xdotool is unavailable.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Web Speech API mic button appends transcript to custom input
- Pause/Play button halts the 30s countdown; Space key toggles
- Number keys 1–9 pick slots directly from keyboard (Esc closes)
- Typing in custom input cancels auto-countdown
- Inline style in layout prevents white FOUC before hydration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- beacon.py: main() now calls _web_stop (Cockpit web page) instead of PyQt6 for stop
mode — eliminates WA_TranslucentBackground transparency bug on Linux compositors
- _cursor_screen_position(): calculates bottom-right of cursor's screen via PyQt and
passes --window-position to Chrome so the app window opens in the right place
- user_projects: add devLog JSONB column (array of DevLogEntry: date/done/next/tests/
todos/health); schema pushed to DB
- beacon PATCH API: appends a DevLogEntry to the matched project when a choice is set —
fire-and-forget so it never blocks the beacon response
- GET /api/user-projects/[id]: new endpoint so ProjectProfile can fetch devLog
- ProjectProfile: new DevLogSection (collapsed by default) shows last 12 entries with
date, health badge, done summary, and next step — auto-populated from beacon sessions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mouse events on the card are consumed by child widgets (buttons, labels)
before reaching BasePopup, so drag on BasePopup never fires. DraggableCard
puts the drag handler on the card itself; clicks on non-interactive areas
(margins, dividers, labels) call windowHandle().startSystemMove() which
asks the X11 WM to move the window natively — works through any compositor.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Position popup on whichever screen the cursor is on (was always primary screen)
- Add mouse drag support (LeftButton drag to move — no title bar needed)
- Delete ~/.config/agent-dashboard-theme.json which hardcoded dark colors,
overriding the system light/dark detection added in previous commit
- Softer drop shadow in light mode (60 alpha vs 200) to match Cockpit CSS shadows
- Card border-radius 24→16px to match Cockpit panel radius
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Header was hidden when profileOpen=true, making the profile impossible to close.
Always render ProjectCardHeader; toggle profile vs content below it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>