Haldwani Times
Haldwani Times
Technology

deskhand 0.10.3

deskhand 0.10.3
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version Yanked This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified. Reason given by maintainers: Project withdrawn; no longer published.

MCP server that lets Claude Code and other AI agents use your KDE Plasma (Wayland) desktop safely, on your screen or on an invisible second desktop

pip install deskhand==0.10.3 Copy PIP instructions

Türkçe: README.tr.md

Latest: 0.10.3 (Nov 2026) · GPL-3.0-or-later · free, no account · 20 MCP tools

Deskhand for KDE is an MCP server that lets AI agents (Claude Code and other MCP clients) use your KDE Plasma desktop on Wayland safely — on your screen, or on an invisible second desktop (a KWin session) while you watch a movie.

An agent can read windows, click on visible text, type and open apps. Every input is checked against what is actually on screen at that moment. Buy/Pay buttons and payment pages wait for your approval in a dialog the agent cannot reach. It stops the moment you touch the mouse, and one click on STOP halts everything. When you are busy, the work moves to a hidden desktop that can reuse some of your logged-in sessions, so your film or game is never interrupted.

It is a safety layer for well-meaning agents, not a sandbox (see Security model).

Screenshots are rendered from sample data.

These are enforced in the tool itself, on both desktops, whatever the agent or its permission mode says:

Forbidden windows. Windows whose title or class matches a pattern in ~/.config/deskhand/yasak-pencereler.txt never receive input, and their apps are never started (for example an online game whose rules forbid automation, or a password manager). Over MCP they are also blacked out in screenshots and left out of OCR.

Sensitive buttons and payment pages need a human. Buy, Pay, Place order, Authorize, Allow, Delete account (Turkish and English wording) and any click or Enter on a page whose title looks like checkout/payment trigger an approval dialog in the Deskhand panel: Allow once or Deny, with a small picture of the target. Only the panel can write the answer; the dialog itself is a forbidden window, so the agent cannot click it. No answer, timeout or panel not running = denied.

Window/tab title lock. With -b PATTERN (CLI) or a window pattern (MCP) the title is re-checked right before every input. If a browser switched tabs, typing stops mid-word.

Human priority. If you are using the mouse or keyboard (Wayland idle notification, no extra permissions), Deskhand waits for 1.5 s of quiet, up to 8 s, then gives up. Keys it is holding are released as soon as you touch anything.

STOP switch. Panel button, tray menu or an optional global shortcut. While it is on, nothing sends input and held keys are released. An agent may set STOP itself, but it cannot lift a STOP that you set. STOP comes off only with your Yes in the panel (the panel's Resume, the shortcut, or the question deskhand resume asks there, default No); --approved does not count as an answer. If the panel cannot read its signed STOP record at start (locked wallet, no Secret Service, unreadable or old-format record), it sets a STOP of its own. It removes only that one itself, once it reads a signed record that says STOP is off; a record from an older version needs your Resume once. An agent's resume never removes a STOP it did not set.

Activity log. Every input is logged (~/.local/state/deskhand, kept 7 days, readable only by you: folder 0700, files 0600) and shown live in the panel. Text typed without secret shows up there in pieces, so type passwords, codes and personal data with secret=true (--secret). Limits of secret: the text is typed key by key and never goes through the clipboard, and the active window is checked before and after every key. The one check that cannot run is after the submit key (Enter), because a closing dialog or a moved focus is the normal outcome. The text and window titles are left out of the result, the log and the panel feed. Typing by window id or ref is locked to the window and its app class, not its title, so a tab or page switch inside the same window is not noticed. The focus is also checked right before each Enter, but a window change in the few milliseconds between that check and the key is not caught. A separate observe or screenshot call after the typing can still show a window title that contains the text. Type secrets into masked fields (password fields). Text sent to a terminal ends up in the shell's own history, outside Deskhand.

deskhand desktop start starts an invisible desktop, separate from your session, 1920×1080 by default. It is an isolated, GPU-accelerated KWin session (kwin_wayland) when its helpers are built; otherwise it falls back to Xvfb + openbox (X11 apps only, no GPU). Every app there runs inside bubblewrap. You can run several desktops at once (--desktop-name NAME, up to 3 by default): each Claude/MCP session gets its own and cannot reach another session's desktop.

For product images and sharp screenshots use deskhand desktop start --scale 2 (MCP: manage_desktop(action="start", scale=2); KWin type only). Apps keep the same layout and the same coordinates but are drawn with twice the pixels: deskhand screenshot --out product.png saves the full resolution (for example 3840×2160 on a 1920×1080 desktop), --width 1280 scales it down. Firefox and Chromium render at 2× too. deskhand desktop status shows the scale; to change it, stop the desktop and start it again.

Nothing reaches you. No input goes to your screen (the background backend can only talk to its own display). Apps there get a private D-Bus, so their notifications are captured to a log instead of popping up, and their audio goes to a silent sink. Wayland variables are removed from the Xvfb fallback so an app cannot escape to your screen. Inside the sandbox an app sees an empty home folder: only theme and appearance settings, XDG folder names, file associations and Flatpak installs of your real home are visible, read-only.

Light. Low CPU/IO priority and a memory cap (systemd scope, 8 GB by default). Starting it takes about 0.2 s; an empty desktop uses about 30 MiB. An idle desktop closes itself after 30 minutes (bosta_kapat_dk in ayarlar.toml, 0 = off).

Memory watch. Tool results carry a memory_warning field when the desktop uses 80% or more of its cap (anonymous + shared memory; page cache is not counted). When the desktop has been idle for 2 minutes and usage is at 85% or more, Deskhand restarts only Firefox with its session restored; other apps and the desktop stay open. Tabs come back from Firefox's own recovery file, written about every 15 seconds, so a tab opened in the last ~15 seconds can be lost, and window ids change (observe again). Firefox is left alone if the recovery file is missing or older than the running Firefox. At most one restart per 10 minutes and 3 per 24 hours; if a restart frees less than 10%, the next one waits 60 minutes (doubling each time, up to 24 hours). If a restart fails, the warning names the session backup (sessionstore-backups/deskhand-yedek.jsonlz4 in the session copy) and the copy is kept for up to 24 hours, also across a desktop stop. At 60% or more (when no restart is due), memory.reclaim runs at most every 10 minutes. DESKHAND_FF_YENIDEN=off (also false, 0, no, kapali) turns the restart off; the warning stays. While you or a task are using the desktop only the warning is given.

Per-app session policy. Some apps can open there already logged in: Firefox: a consistent, one-way snapshot copy of your profile (cookies, logins, site storage for the task's sites). Nothing is ever written back. Sync identity is left out; cookies and saved passwords of banking/payment/government sites (including Turkish banks and e-Devlet) and central login pages (Google, Microsoft) are not copied, so Google/YouTube are not signed in there. Camera, microphone, location and notification permissions are removed from the copy. If you want, panel → Settings → Account sessions lets a Microsoft, Google or e-Devlet session into the copy (off by default; it can only be turned on from the panel; bank and payment sites never open with any setting; not applied in task mode). While it is on, the background browser can reach that account's mail and files.

Flatpak apps that do not use the keyring (for example Discord, Spotify): snapshot copy.

Apps that need the keyring (VS Code and similar) and apps that write to real files (Obsidian vaults) run only on your screen.

Chromium: the native chromium opens on the background desktop with an empty profile: no saved logins, no password store. A second window opens in the same process. Flatpak Chrome does not start there (exit code 16 with the reason); use native chromium or your screen.

Apps that break with two clients (Telegram, Signal, WhatsApp wrappers, Element, Steam, Thunderbird and similar) are never cloned and never started in the background: the agent is told to wait for you. Mail/sync daemons (KMail/Akonadi, Nextcloud) are never started either.

The policy is matched on the resolved app (desktop entry, executable, Flatpak id), so a different name or path cannot bypass it; the strictest match wins. Password managers are never started.

Unknown apps start normally only when they are certainly not running for you (otherwise their single-instance lock could open the window on your screen); if that cannot be known, the agent waits. Policy file: ~/.config/deskhand/oturum.toml.

Persistent background sessions (opt-in). For a site where you log in only on the background desktop, the panel can keep its session between copies: encrypted (AES-256-GCM) with a key in your KDE Wallet, fail-closed, never for banking/payment/government sites, and removable with deskhand sessions forget . Details: docs/SESSIONS.md §3.8.

Watch and take over. The panel shows a live preview of any running background desktop. Take over sends your mouse and keyboard into the background desktop while the agent waits.

Busy detection: "Background / My screen / Later"

deskhand busy checks, read-only, whether you are busy: a fullscreen window, a playing media player (MPRIS), recent keyboard/mouse input, a game or forbidden window, a locked screen.

deskhand decide "task summary" turns that into a decision. If you are not busy, the answer is my screen. If you are, by default a notification asks Background / My screen / Later (no answer in 45 s = background). Over a fullscreen film or game it does not interrupt you at all and goes straight to the background. All of this is configurable in the panel.

Clicking by text (OCR first)

Agents click on what they can read, not on guessed coordinates: click-text "Save". Tesseract reads Turkish and English. With a graphics card, a second reader (EasyOCR on the GPU) joins in by itself: it finds coloured web buttons and faint or small text that tesseract misses (measured: 55/55 test phrases instead of 49/55, ~0.15 s per read). It only adds lines; tesseract's reading is kept. It is never started while you play a game or watch something full screen, and it frees the graphics memory after 5 idle minutes. Turkish letters are matched loosely (ş/s, ı/i…) and an ambiguous match stops instead of guessing. Also available: the accessibility tree (AT-SPI, click by button name), saved icon templates, colour areas, and screen-recognition flows for repetitive tasks.

What's new since 0.5.4

See CHANGELOG.md for the details.

Observe and batch: observe lists a window's elements with numbered refs; click/type_text/scroll/drag work on those refs and are refused, with nothing sent, if the screen changed. batch runs up to 20 steps, wait_for waits for a condition.

Web elements: the buttons/links/fields of a browser page are read from the accessibility tree; no remote-control port is opened on the browser.

Invisible desktop: an isolated, GPU-accelerated KWin session (inside bubblewrap); Xvfb fallback when it is not available.

Approval scope "card payments only": can only be turned on from the panel (Settings → Approval questions); only money buttons and typing card data ask. The default is "all".

Deskhand vault or KDE Wallet (new in 0.10.0): saved passwords and the panel's signed settings record live in one of two stores. The Deskhand vault (default for new installs) keeps items as files sealed with systemd-creds (to the TPM2 when there is one, otherwise to the machine key) and makes no D-Bus or wallet call, so no wallet prompt appears at login. KDE Wallet is the Secret Service path used before. Switching asks you and moves the items. An install that already used the wallet stays on it until you choose the vault.

Settings → Advanced → Secrets (new in 0.10.0): pick the store, see a status badge for it (ready with TPM / ready with the machine key / open / locked / unavailable and why), add or delete named saved passwords (values are never shown), and switch on Open KDE Wallet at login.

Saved passwords with per-site binding and per-use approval (new in 0.10.0): deskhand secret set NAME [--site DOMAIN] [--app WINDOW_CLASS] (value from stdin, never from the command line), secret list, secret rm, secret status. An agent types one with deskhand type --secret-ref NAME or the MCP type_text argument secret_ref. The value goes from the store straight to the keyboard layer and never appears in a result, the log or the panel feed. It is typed only into a password field (accessibility must be on, deskhand a11y on), and every use asks in the panel (name, window class, site; never the value). A password bound to a site or app is refused anywhere else.

Unlock KDE Wallet at login (new in 0.10.0): deskhand wallet open|status|remove. Deskhand stores the wallet's derived key, not your password, sealed in the vault, and a user service (deskhand-cuzdan-ac.service) hands it to ksecretd at login, the way kwallet-pam does. If the wallet was already started and is locked when the service runs, nothing is forced: it logs one line and tries again at the next login, and Settings says so.

Persistent background sessions, account sessions, several desktops, --scale 2, file upload, doctor: see the sections above and below.

MCP server (20 tools)

deskhand mcp is a stdio MCP server with 20 tools: get_status, choose_desktop, manage_desktop, observe, screenshot, read_text, listen, find, click, type_text, clipboard, press_key, scroll, drag, open_app, manage_window, run_flow, batch, wait_for, request_human. type_text also takes secret_ref (the name of a saved password, see above) instead of text. Screenshots are scaled to 1280 px on the long edge. Coordinates are checked against a shot_id, so a click on a stale screenshot is refused. There is no "approved" flag on the MCP surface: sensitive actions always go through the panel.

Monitoring panel and tray

Activity (live log, filter), background desktops (picker, live view, stop, take over), task (give the panel's own agent a job on the invisible desktop), approvals (pending + history), settings (busy behaviour, forbidden windows, STOP shortcut, approval scope, account sessions, secrets), saved icons and a health check of all dependencies. The tray icon shows idle / on your screen / in the background / STOP, with a badge when an approval is waiting.

There are good projects in this space; pick what fits you.

agent-sh/agent-workspace-linux is the closest: a hidden desktop on six backends (including a native KWin Wayland virtual compositor), keyring and Chrome profile import, app allow-list, a live viewer, 82 tools. It is broader and more portable than Deskhand.

ahmetadakli/kde-desktop-mcp has the closest safety model on KDE: app allow-list with levels, confirmation list, password-field protection, user-takeover pause, stop shortcut. It works through the accessibility tree.

isac322/kwin-mcp is for KDE Plasma 6 Wayland: it sends input through KWin's EIS interface and opens an isolated kwin_wayland --virtual for each session; it has accessibility-tree, clipboard and touch-gesture tools. It has no approval or human-priority layer.

agent-sh/computer-use-linux (GNOME-first, many backends), Samthesurf/kwin-mcp (KDE Wayland), alex-oleshkevich/wayland-mcp (niri/wlroots, nested sandbox, local OCR) are other options.

What Deskhand puts together, which we have not seen combined elsewhere:

Checks based on what is on screen, not only on which app: forbidden windows, sensitive buttons, payment-page detection, title/class lock.

Busy detection and the Background / My screen / Later loop.

Session policy per app for the background desktop (copy / wait / never), including the apps that must not run twice.

Click by visible text with Turkish OCR, also where there is no accessibility tree.

A Plasma panel: tray, STOP, live preview, take over, human-only approvals.

It is also smaller in scope: KDE Plasma only, and no GPU on the Xvfb fallback.

KDE Plasma 6 on Wayland for the foreground (your own screen). The background desktop is an isolated, GPU-accelerated KWin session (kwin_wayland) when the helpers are built; if they are not, or KWin is unavailable, it starts with Xvfb and runs only apps that support X11.

Foreground: kdotool, dotool, spectacle, access to /dev/uinput

Both: tesseract with Turkish and English data

Background (required): bubblewrap (bwrap): every app on the background desktop is isolated with it; without it no app opens in the background

Background: Xvfb, openbox, python-xlib; recommended xdotool, pactl (silent audio sink; without it background apps get no audio at all), systemd-run (memory cap)

Python modules: PyQt6, python-xlib, numpy, scipy, pillow, jeepney, mcp ≥ 2.3

To build the small keyboard-activity helper: a C compiler, make, pkg-config, wayland (without it, human priority watches only the mouse)

With an AMD or NVIDIA graphics card, for text recognition on the GPU: PyTorch for your card, torchvision, OpenCV, scikit-image, shapely, pyclipper, and EasyOCR in a small venv with its models (~100 MB). Without a GPU nothing extra is needed. install.sh checks all of it and prints the commands

make -C deskhand/yardimci builds three helpers: deskhand-etkinlik, deskhand-goruntu (KWin's screenshot interface, about 8 ms a shot) and deskhand-eis (input for the KWin background desktop). The last one needs the libei, libxkbcommon and libsystemd development packages; without it the background desktop starts with Xvfb. install.sh builds them and registers the desktop input; deskhand doctor and the panel's Health tab show which one is missing

sudo pacman -S --needed spectacle tesseract tesseract-data-tur tesseract-data-eng \ xorg-server-xvfb openbox xdotool libpulse bubblewrap libei libxkbcommon python-pyqt6 python-xlib python-numpy \ python-scipy python-pillow python-jeepney python-mcp base-devel wayland paru -S kdotool-bin dotool # AUR (or yay, or by hand) # with a graphics card (NVIDIA: python-pytorch-opt-cuda instead of -rocm) sudo pacman -S --needed python-pytorch-opt-rocm python-torchvision python-opencv \ python-scikit-image python-shapely python-pyclipper python3 -m venv --system-site-packages ~/.local/share/deskhand/ocr-venv ~/.local/share/deskhand/ocr-venv/bin/python -m pip install --no-deps easyocr python-bidi cd ~/.local/src/deskhand && ~/.local/share/deskhand/ocr-venv/bin/python -m deskhand.ocr_gpu indir # models dotool needs to write to /dev/uinput. Its package installs a udev rule for the input group, so:

sudo usermod -aG input "$USER" # then log out and back in sudo modprobe uinput # if /dev/uinput does not exist echo uinput | sudo tee /etc/modules-load.d/uinput.conf # load it at boot Supported systems

Helpers (kdotool, dotool, bwrap) are looked up only in /usr/bin and /bin, and the Python module mcp must be 2.3 or newer and importable by the system python3.

Want your distribution supported? Open an issue with your deskhand doctor output: testing on other systems takes real time, and reports from other setups are the fastest way to get them covered.

Clone it anywhere and run the installer as your normal user (not with sudo):

git clone https://github.com/sobelendimm/deskhand.git ~/.local/src/deskhand cd ~/.local/src/deskhand ./install.sh --dry-run # see what it will do ./install.sh # install (safe to re-run) The installer does not install packages. It lists what is missing and prints the command. It then builds the helpers and installs:

the deskhand command in ~/.local/bin (points at this folder; if you move the folder, run ./install.sh again),

a menu entry and icon,

panel autostart (tray only) at login, because approvals need the panel running (./install.sh --no-autostart to skip).

Nothing is installed system-wide. Update: git pull && ./install.sh. Uninstall: ./uninstall.sh (keeps settings, saved icons and flows) or ./uninstall.sh --purge.

pipx install deskhand deskhand doctor # lists missing system tools with Arch / Debian / Fedora package names pipx installs the Python side only. System tools come from your distribution (kdotool, dotool, tesseract with English/Turkish data, Xvfb, openbox, bubblewrap). To build the small C helpers, install a C compiler, make, pkg-config and the wayland-client, libsystemd, libei (>= 1.3.901) and xkbcommon development files, then run the make -C … command that deskhand doctor prints (run it again after pipx upgrade). Without libei the background desktop uses Xvfb. For the menu entry, the icon and the panel at login (approvals need the panel running), run deskhand install-desktop (--no-autostart to skip the login entry, --remove to take back only what it wrote). With a graphics card, deskhand doctor also prints the commands for GPU text recognition (its own venv and models).

deskhand panel # monitoring panel + tray deskhand busy # are you busy? (read-only) deskhand windows [firefox] # find windows: id | title | geometry (no pattern: all) deskhand screenshot --out screen.png --width 800 # no id: active window (--background: the whole invisible desktop) deskhand read firefox # read the window's text with coordinates (OCR) deskhand -b "Example" click-text firefox "Sign in" # click visible text, title locked deskhand --background open firefox --site github.com # signed-in Firefox on the invisible desktop deskhand --background open firefox https://example.com # starts the desktop if it is off; http/https only deskhand goto https://example.com # go to an address in a browser (ctrl+l → address → Return) deskhand stop # STOP: no input from now on deskhand resume # ask the panel to lift a STOP (needs your Yes there) Cheat sheet (deskhand --help lists the subcommands as a table, deskhand help shows the full syntax; the Turkish names work too, in parentheses):

Common options: -b/--title PATTERN title lock, -s/--class PATTERN class lock, --background run on the invisible desktop, --desktop-name NAME pick one of several invisible desktops (it also means --background), --on-my-screen work on your screen even during a game or movie (only when you said so). The Turkish option names (--baslik, --arka, --ekranimda…) and the old ekran command keep working.

Use with Claude Code (MCP)

Register two entries in user scope (never project scope: desktop control should not travel with a repository). Claude Code permission rules cannot match tool parameters, so the desktop split is done by server name:

claude mcp add --scope user --transport stdio deskhand -- ~/.local/bin/deskhand mcp claude mcp add --scope user --transport stdio deskhand-bg -- ~/.local/bin/deskhand mcp --desktop background claude mcp get deskhand # inside a session: /mcp Name Can touch Suggested permission deskhand your screen and the background desktop (desktop=auto by default) ask deskhand-bg the background desktop only (foreground requests are refused) can be more relaxed Example ~/.claude/settings.json:

{ "permissions": { "allow": ["mcp__deskhand__get_status", "mcp__deskhand__read_text", "mcp__deskhand__find", "mcp__deskhand-bg__get_status", "mcp__deskhand-bg__read_text", "mcp__deskhand-bg__screenshot"], "ask": ["mcp__deskhand__screenshot", "mcp__deskhand__click", "mcp__deskhand__type_text", "mcp__deskhand__press_key", "mcp__deskhand__scroll", "mcp__deskhand__open_app", "mcp__deskhand__run_flow", "mcp__deskhand__manage_desktop"] } } The example lists a few tools only; list the other tools of the server (observe, batch, drag, clipboard, …) the same way, or they follow your client's default. Permission prompts are a second layer; Deskhand's own checks run in every permission mode. The server needs WAYLAND_DISPLAY, DBUS_SESSION_BUS_ADDRESS and XDG_RUNTIME_DIR for the foreground; if your client starts it with an empty environment, pass them with --env.

A typical session: get_status → (busy?) choose_desktop → manage_desktop start → open_app → read_text → click(text="Save", verify=true) → type_text → read_text to check → manage_desktop stop.

Agent usage pattern (CLI)

Ask first, then run every command on the chosen desktop:

deskhand decide "Save the invoice as PDF" case $? in 0) WHERE="" ;; # my screen 20) WHERE="--background" ;; # background desktop 21) exit 0 ;; # later: tell the user, do nothing now esac deskhand $WHERE open --command "okular ~/invoice.pdf" The global options (--desktop-name NAME, --background) go before the command, and they also come first when you use --: deskhand --desktop-name w1 --background tree . zsh does not split a variable that holds spaces ($WHERE="--a --b"); use the environment instead: export DESKHAND_HEDEF=arka DESKHAND_MASAUSTU=w1, then plain deskhand tree . The hints in error messages give complete commands in this form, ready to run as they are.

Uploading files (file chooser)

A "Choose file" button on a page opens the GTK file chooser. Do not type the path by hand (ctrl+l → path → Enter): if the location entry does not open, the typed path goes to the list's type-ahead search and Enter can pick the wrong file. Use this instead:

Rules for agents: stop on exit codes 10, 12, 13, 15, 16 and 18 and tell the user; read before you click and verify after; pass --approved only when the user has approved that exact step in the chat. Without it, Deskhand asks the user in the panel.

Every directory can be moved with DESKHAND_CONFIG_DIR, DESKHAND_STATE_DIR, DESKHAND_CACHE_DIR, DESKHAND_DATA_DIR, DESKHAND_RUNTIME_DIR. Other variables: DESKHAND_HEDEF=on|arka|oto (default desktop), DESKHAND_SANAL_BOYUT=1920x1080 (background size), DESKHAND_SANAL_BELLEK=8G (memory cap, 0 = off). DESKHAND_GERCEK_EKRAN=kapali locks your real screen for that process at the lowest layer (input, window actions, app launch, clipboard write, notifications, screenshots all fail with exit code 17; salt-okuma still allows reading screenshots and the clipboard): set it in test and measurement scripts so a forgotten background target cannot touch your desktop.

Over MCP the same codes appear as [code] name: detail errors.

A lone web button can be missing from the full read listing; searching for its text (read "", click-text) uses extra readings and finds it.

No GPU on the Xvfb fallback. If the KWin background desktop is not available, Xvfb draws in software: WebGL, games and video decoding are slow there.

Wayland-only apps cannot run on the Xvfb fallback (it is X11).

Without bubblewrap no app opens in the background.

Keyring apps are foreground-only. VS Code and anything that keeps its secrets in KWallet/Secret Service do not open logged in on the background desktop. Native chromium opens there with an empty profile; Flatpak Chrome does not open there.

Up to 3 background desktops at a time ([masaustu] azami, 1..6).

OCR can misread. Ambiguous matches stop rather than guess, and clicks can be verified, but small or low-contrast text may be read wrong or not found.

Approvals need the panel running. If it is closed, every sensitive action is denied.

Foreground needs Plasma 6 on Wayland (kdotool + KWin scripting).

More detailed and current limits (card-number capture, panel-marker forgery, no sandbox, overlapping elements, …): "Known limitations" in CHANGELOG.md.

The activity log is written in Turkish (the panel shows it translated); messages, help and the panel follow your system language (Turkish or English), or the choice in Settings.

Deskhand protects you from an agent's mistakes and from a confused or deceived agent: prompt injection (a web page or document telling the agent to buy something or delete an account), wrong targets, runaway loops. The agent has no tool or command that approves its own request or lifts your STOP. That is what the approval dialog, STOP, the forbidden-window list and the busy checks are for.

It is not a sandbox, and it does not defend against code that already runs as you:

A malicious process under the same user account can act like the panel. The panel is recognised by its process identity (socket peer, start time, executable, command line, working directory). That is a check against a misbehaving agent, not against another program running as the same user, which can imitate the panel, answer approvals, or edit your files directly. This is a known design limit; a same-user process can also drive the desktop without Deskhand.

The settings that only the panel may loosen are in the same class. The forbidden-window list, the app access levels, the approval scope "card payments only", account sessions, persistent sessions and your STOP are anchored in a record the panel keeps in your Secret Service (KDE Wallet) and signs with a key stored there. Tightening a setting in the file is accepted; loosening it applies only after your Yes in the panel (default No), so an agent that edits the settings file by hand gains nothing. Every such question shows the exact entries Deskhand will apply, and a Yes counts only for that text. If the panel cannot read its record (locked wallet, no Secret Service) and it is not a first start, the forbidden-window list and access levels are asked in one dialog; on No they count as not verified, and clients stop with exit code 10 until the wallet can be read. Settings shows an unverified list read-only. This does not cover code running as you that deliberately reads or changes the wallet item (KDE Wallet has no per-application access control), or that deletes the item while the wallet is open (that looks like a first start).

The Deskhand vault is not stronger than an unlocked wallet against code running as you. A process under your user account can run systemd-creds --user decrypt on a vault item, just as it could read an unlocked KDE Wallet with secret-tool; a locked wallet is the stronger choice against that. The vault detects a rolled-back copy of the panel's record only while some Deskhand process has seen the newer one; with no Deskhand process running, restoring an old copy is not noticed (a TPM counter was not available to anchor it). secret_ref is an extra: each use needs your Yes in the panel and the value goes only into a password field.

An agent that can run arbitrary shell commands as your user can edit files, kill the panel or drive the desktop without Deskhand. Keep shell access behind your client's permission prompts.

Apps on the background desktop run inside bubblewrap (read-only root, empty home, masked secret paths). That limits what those apps see; it is not a promise about what a hostile app can do.

See SECURITY.md for how to report a problem.

for t in tests/test_*.py; do python3 "$t" || break; done test_mantik, test_ocr, test_ocr_gpu, test_onay, test_oturum, test_entegrasyon, test_mesgul, test_guvenlik, test_i18n and test_gui (offscreen Qt) need no screen (test_ocr_gpu also runs the real GPU reader when it is installed and you are not in a game). test_sanal and test_mcp start their own background desktop; nothing goes to your screen.

Tests redirect every Deskhand directory to a temporary folder and never touch your real config. The suites in tests/ekranli/ drive your real screen; run them only when you are not using the computer: tests/ekranli/hepsi.sh runs them all (~15 min; it opens its own Firefox with a temporary profile, never yours; --insansiz skips the two steps that ask you to click in the approval dialog). See CONTRIBUTING.md.

Deskhand is free software, written and maintained by one person. If it saves you time, a star on GitHub helps other people find it, and bug reports, tests on other Plasma setups and pull requests help the project the most. A GitHub Sponsors page is on the way.

GPL-3.0-or-later © 2026 sobelendimm.

Released: Nov 29, 2026

Yanked: Nov 29, 2026

Both files in this release have provenance metadata.

View provenance details

GPL-3.0-or-later View SPDX License List

MCP server Claude Code KDE Plasma Wayland mcp claude ai-agent computer-use kde plasma xvfb ocr automation

Development Status 3 - Alpha

Environment X11 Applications :: Qt

Intended Audience End Users/Desktop

Natural Language English

Operating System POSIX :: Linux

Programming Language Python :: 3

Topic Desktop Environment :: K Desktop Environment (KDE)

Scientific/Engineering :: Artificial Intelligence

Release files for deskhand 0.10.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Built distribution (wheel)

Total release size: 3.0 MB

Release files / deskhand-0.10.3.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Release files / deskhand-0.10.3-py3-none-any.whl

Security for deskhand 0.10.3

Both files in this release have been uploaded with provenance metadata.

With provenance deskhand-0.10.3.tar.gz Nov 29, 2026

With provenance deskhand-0.10.3-py3-none-any.whl Nov 29, 2026

Attestation for deskhand-0.10.3.tar.gz

Attestation for deskhand-0.10.3-py3-none-any.whl

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Nov 29, 2026 2 release files Full provenance

Yanked reason: Project withdrawn; no longer published.

Nov 28, 2026 2 release files Full provenance

Nov 27, 2026 2 release files No provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from fc0d8e6

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.