- 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>
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
# DevDesk defaults, shipped by the package. Don't edit: put your changes in
|
|
# /etc/devdesk/env.local (same KEY=value format, read after this file), so
|
|
# package upgrades never prompt about this file.
|
|
# Read by systemd (EnvironmentFile=) and by the devdesk scripts. Plain KEY=value
|
|
# lines only: systemd does not support inline comments.
|
|
# The ttyd credential lives in /etc/devdesk/secret.env (generated on install).
|
|
|
|
# Port ttyd listens on (NPM proxies dev.lotusguild.org here).
|
|
DEVDESK_PORT=7681
|
|
|
|
# Optional interface name or IP for ttyd to bind; empty = all interfaces.
|
|
DEVDESK_BIND=
|
|
|
|
# Sessions map to project directories under this root; the default session uses the root itself.
|
|
DEVDESK_PROJECTS_ROOT=/root/code
|
|
DEVDESK_DEFAULT_SESSION=main
|
|
|
|
# Where sessions that are not a project folder start (e.g. ops sessions); empty = projects root.
|
|
DEVDESK_DEFAULT_DIR=
|
|
|
|
# Gitea for the Repo/CI panel. Public repos need no token; for private ones put a
|
|
# read:repository token in /etc/devdesk/gitea-token (mode 600).
|
|
DEVDESK_GITEA_URL=https://code.lotusguild.org
|
|
DEVDESK_GITEA_ALIASES=10.10.10.63
|
|
|
|
# Grafana for the Ops Alerts panel (firing/pending alert rules). A Viewer
|
|
# service-account token goes in DEVDESK_GRAFANA_TOKEN_FILE (mode 600).
|
|
DEVDESK_GRAFANA_URL=http://10.10.10.49:3000
|
|
DEVDESK_GRAFANA_PUBLIC_URL=https://dashboard.lotusguild.org
|
|
DEVDESK_GRAFANA_TOKEN_FILE=/etc/devdesk/grafana-token
|
|
|
|
# Claude Code binary and extra arguments for every session.
|
|
CLAUDE_BIN=/root/.local/bin/claude
|
|
CLAUDE_ARGS=
|
|
|
|
# 1 = also enable Remote Control so sessions can be continued from the Claude app.
|
|
DEVDESK_REMOTE_CONTROL=0
|