The usage ping now treats "away" like the needs-you notifier: no DevDesk
tab in view for ~2 minutes. The test sets a presence marker instead of
attaching a tmux client, which never attached in CI. 0.10.0 was never
published.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHRLCCdXYm41Qx5kNhehaP
- Matrix "needs you": ignore Claude's idle reminder (no red, no post); post
only when no tab is in view, after 60 s, once per session per 10 min, and
say what is asked. Closes#50
- devdesk new NAME PROJECT --worktree: own checkout on devdesk/NAME,
cleaned up on end when clean/merged. Closes#44
- Usage meters: reset time, pace warning; Matrix ping past 90% when away.
Closes#45
- Repo panel lists changed files; click opens the diff. Closes#46
- Copy Claude's last reply (--last-reply). Closes#47
- Turn timer in chip, title and cards. Closes#48
- Compact button at 80% context when idle. Closes#49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHRLCCdXYm41Qx5kNhehaP
- Ops Alerts → Ask Claude now calls `devdesk attach --investigate SESSION UID`.
The server looks the alert up, writes the prompt and starts Claude in a new
alert-<name> session with it as the first prompt, already sent. Prompts are
stored in prompts/<session>.txt and consumed once by devdesk-claude-run.
A session that is already running is just opened.
- The prompt has the rule, query, summary, details and labels, and where it
runs: the CT/VM id, the node it is on now, status and HA state, and
`ssh <node> pct exec <id> --`. It reminds Claude that HA guests move
(`devdesk guests <id>`), and gives aggregate rules a hint.
- `devdesk guests`: Proxmox inventory over SSH (DEVDESK_PVE_NODES). pvesh
gives the cluster view; each node gives lxc-info and guest-agent IPs.
Cached in guests.json, keeping last-seen IPs for stopped guests; --alerts
refreshes it in the background every 5 minutes.
- Alerts carry uid, query, description and targets, matched by instance
IP/host or by name; each card shows the target.
- cmd_alerts moves to libexec/devdesk-ops.sh.
Closes#39
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- run_resume falls back to a new conversation only when the transcript file
is gone; other failures end at the menu with the recorded id intact.
- The SessionStart hook resolves the session name under the registry lock;
rename holds it across tmux rename-session and the registry move
(dd_registry_locked, nestable).
- dd_load_env parses KEY=value like systemd instead of sourcing the files.
- devdesk-deploy: DPkg::Lock::Timeout, explicit FAILED lines on stdout and in
the log; the hook answers synchronously and CI checks the HTTP status.
logrotate for the deploy log.
- postinst drops duplicate terminal-features entries; hooks sweep stale
temp files.
Closes#12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Terminal link provider: printed paths that are files of the session open
in Files (at the line); the file list is preloaded so the first hover works.
- Alerts: "In a new session" opens alert-<name> and types the prompt once
Claude is up.
- devdesk-guard PreToolUse(Bash) hook: permissionDecision "ask" for
destructive commands (verified to prompt in auto mode); DEVDESK_GUARD and
guard.local.
- State hook logs Bash commands and derives host tags (ssh targets, CT/VM
ids); --list carries tags, --peek the last commands; UI shows both.
Closes#21Closes#18Closes#27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Header: no SSO chip ("Sign in again" only on expiry), state dot on the
session chip, LIVE as a dot, ⋯ menu for text size/notifications/fullscreen,
Panels badge for waiting sessions and alerts.
- Session switcher on the chip; bare URL reattaches the last session; + New
opens the panel form with project folders.
- Notifications when other sessions start waiting; alerts polled with the
panels closed; one tab polls for all tabs over BroadcastChannel.
- Sidebar: context bar per session instead of the Context panel; compact
Repo/CI with "Ask Claude to fix CI"; legible labels.
- Phone: key bar, drawer with backdrop, visualViewport-aware layout, DOM
renderer on touch, compact connection dot.
- devdesk-notify-matrix: one Matrix message per wait that lasts
DEVDESK_MATRIX_DELAY seconds with nobody attached.
Closes#8Closes#13Closes#14Closes#15Closes#16Closes#17Closes#28
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- devdesk-state-hook (Claude UserPromptSubmit/PostToolUse/Notification/Stop/
SessionStart/SessionEnd) records whether each session is working, waiting on
you or idle; --list carries it. The sidebar shows it, the header shows the
current session's state, and a pulsing "needs you" chip jumps to sessions
waiting for input. Session refresh no longer depends on the sidebar being open.
- `devdesk attach --upload SESSION FILE BYTES` receives a file as base64
terminal input (raw mode, exact length, size-checked, sanitised name) into
/var/lib/devdesk/uploads/<session>/. The UI uploads dropped or pasted files and
pastes the path into Claude, which attaches images itself.
- `devdesk alerts` / `--alerts`: firing and pending Grafana alert rules with
severity, instances, summary and a link. The panel's "Ask Claude" types an
investigation prompt into the current session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- `devdesk attach --repo NAME` / `devdesk repo NAME`: git state of the session's
folder (branch, ahead/behind, uncommitted changes) plus the Gitea commit
status of HEAD and open PR count. Uses the anonymous API for public repos,
or /etc/devdesk/gitea-token when present. Runs over the ttyd channel, so no
sidecar is needed. The panel links to the repo, the CI run and PRs, and a
notification fires when HEAD's CI finishes while the tab is in the background.
- /etc/devdesk/env.local is read after the packaged env and never shipped, so
upgrades no longer stop at a conffile prompt.
- Hooks and status line only record for panes on DevDesk's own tmux server; the
Claude wrapper re-reads env before every launch (so the Remote Control toggle
applies on the next Claude restart).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Sessions no longer need a project folder: any name works and starts in
DEVDESK_DEFAULT_DIR unless it matches a project; `devdesk new NAME [PROJECT]`.
- Rename (✎) and end/forget (×) sessions from the Sessions panel, plus
`devdesk rename`. The browser runs them as `devdesk attach --new|--rename|--end`
through ttyd. Renames keep the running Claude and its recorded conversation:
the hook, the run-wrapper and the statusline ask tmux for the current name.
- Claude Context panel is live: devdesk-statusline snapshots model,
context-window use, cost and edits per session, which --list reports;
Claude's footer gets a one-line summary. The panel now sits under Sessions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ttyd serves a single-file xterm.js UI styled with the LotusGuild TDS
(web_template base.css). Sessions live in a dedicated tmux server unit
(devdesk-tmux.service), so restarting or upgrading the web unit never
stops Claude. Each named session maps to a project directory. A Claude
SessionStart hook records the conversation ID, so after a reboot the
session resumes that exact conversation.
- bin/devdesk: attach / new / ls / end / pick, with an fzf picker
- ttyd requires a credential that NPM injects; origin check enabled
- debian/: dh 13 with --no-stop-on-upgrade for the tmux unit, bundled
sha256-verified ttyd 1.7.7, lintian overrides, man page
- CI: lint, test, build, smoke-test, artifact; v* tags publish to the
Gitea apt registry and create a release
Refs: tinker ticket 887531976
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>