All plugins

dsh-pet

Desktop pet for Hermes: runs the upstream dsh-pet standalone pet (Node + Electron window), maps session/tool activity onto its work status, and adds start/stop/uninstall commands. This entry points at a fork of PC2005-cloud/dsh-pet (MIT, copyright PC2005-cloud): upstream owns the pet runtime, the animation assets and the DSH plugin; the fork adds only the hermes/ adapter, and the pinned dsh-pet@0.4.7 runtime is the unmodified upstream npm package. Catalog installs fetch that runtime on first start (~80 MB, one time) with npm ci from a bundled lockfile (98 packages at exact versions with sha512 integrities), and dsh-pet downloads Electron (~350 MB) unless a local copy is reused. The child process runs with a minimal environment (PATH/temp/user dirs plus DSH_HOME); no inherited Hermes environment or provider keys. The pet listens on 127.0.0.1:3080-3089 and keeps its data in the plugin data directory. Disclosure — on first start this plugin runs npm ci with its bundled lockfile (dsh-pet@0.4.7 and 98 exact, integrity-checked packages from registry.npmjs.org, install scripts off) into its plugin data directory, and the pet downloads Electron 43.3.0 (~350 MB) from npmmirror.com (override: DSH_PET_ELECTRON_MIRROR); when the gateway runs it starts a Node/Electron pet process automatically (turn off with autostart: false) under a minimal environment without Hermes's provider keys, which listens on 127.0.0.1:3080-3089 with a per-run token and receives only a short status line: the current item of the agent's todo list (cut to 40 characters) or, while a tool runs, a one-line description derived from the tool and its main argument (command name, file name, web host, search text or subagent goal, cut to 20 characters) — never the full tool arguments or message text; the pet's optional chat feature sends your chat messages to the AI endpoint and API key you configure in the pet's settings; Electron userData is shared at %APPDATA%\\dsh-pet-electron-helper.

yucode-kkDesktopv0.3.1Updated 10 days ago

About

Desktop pet for Hermes: runs the upstream dsh-pet standalone pet (Node + Electron window), maps session/tool activity onto its work status, and adds start/stop/uninstall commands. This entry points at a fork of PC2005-cloud/dsh-pet (MIT, copyright PC2005-cloud): upstream owns the pet runtime, the animation assets and the DSH plugin; the fork adds only the hermes/ adapter, and the pinned dsh-pet@0.4.7 runtime is the unmodified upstream npm package. Catalog installs fetch that runtime on first start (~80 MB, one time) with npm ci from a bundled lockfile (98 packages at exact versions with sha512 integrities), and dsh-pet downloads Electron (~350 MB) unless a local copy is reused. The child process runs with a minimal environment (PATH/temp/user dirs plus DSH_HOME); no inherited Hermes environment or provider keys. The pet listens on 127.0.0.1:3080-3089 and keeps its data in the plugin data directory. Disclosure — on first start this plugin runs npm ci with its bundled lockfile (dsh-pet@0.4.7 and 98 exact, integrity-checked packages from registry.npmjs.org, install scripts off) into its plugin data directory, and the pet downloads Electron 43.3.0 (~350 MB) from npmmirror.com (override: DSH_PET_ELECTRON_MIRROR); when the gateway runs it starts a Node/Electron pet process automatically (turn off with autostart: false) under a minimal environment without Hermes's provider keys, which listens on 127.0.0.1:3080-3089 with a per-run token and receives only a short status line: the current item of the agent's todo list (cut to 40 characters) or, while a tool runs, a one-line description derived from the tool and its main argument (command name, file name, web host, search text or subagent goal, cut to 20 characters) — never the full tool arguments or message text; the pet's optional chat feature sends your chat messages to the AI endpoint and API key you configure in the pet's settings; Electron userData is shared at %APPDATA%\dsh-pet-electron-helper.

dsh-pet for Hermes

A Hermes plugin that runs dsh-pet — a small
desktop pet — as a native Hermes companion.

Upstream: this repository is a fork of
PC2005-cloud/dsh-pet (the parent project — pet
runtime, animations, asset pipeline and the DSH plugin all originate there, MIT licensed,
copyright PC2005-cloud). This fork adds one thing: the hermes/ subdirectory, which wraps
the same pet as a Hermes plugin. Everything outside hermes/ belongs to upstream; a catalog
install copies only hermes/.

What it does

  • Starts a standalone dsh-pet window (a Node process + an Electron window) when the
    Hermes gateway starts, and stops it on unload.
  • Maps Hermes activity to the pet's work status: session start → thinking,
    tool finished → working (the tool name goes into the pet's speech bubble),
    turn end → idle. A watchdog clears thinking/working/result/waiting back to idle
    after 120s without new events, so a background skill review can't leave the pet
    looping a work animation forever.
  • Adds hermes dsh-pet status|start|stop|uninstall for day-to-day control.

Configuration (plugins.entries.dsh-pet.settings): autostart (default true),
node_path, port (default 3080, next free port is used), and dsh_pet_path
(explicit path to a dsh-pet package; leave empty for the plugin-managed runtime).

Requirements

  • Node.js >= 22.12 and npm on PATH (the plugin installs/starts a Node runtime).
  • Hermes >= 0.22.0.
  • Windows 10/11 is verified; macOS and Linux are untested.

Install

  • Catalog: hermes plugins install dsh-pet --enable. The plugin directory contains
    only this adapter; the runtime is fetched on first start (see below).
  • From this repository: run scripts\hermes-plugin-install.ps1 (add -Force to
    update). That path copies dsh-pet/ into the plugin directory, runs
    npm install --omit=dev there, and produces a self-contained ~160 MB install that
    works offline afterwards.

Runtime fetching (disclosure)

  • Catalog installs fetch a pinned runtime on first start. It is not
    npm install dsh-pet@0.4.7: the plugin ships a lockfile (hermes/runtime-lock/,
    lockfileVersion 3) pinning dsh-pet@0.4.7 plus all 98 transitive packages to exact
    versions with sha512 integrities resolved from registry.npmjs.org, and installs it with
    npm ci --omit=dev --ignore-scripts --no-audit --no-fund into
    <HERMES_HOME>/plugin-data/dsh-pet/runtime (~80 MB, one time). Upstream's own manifest uses
    ^ ranges, so npm install would resolve a fresh dependency tree on every first start;
    npm ci fails loudly if the lock and the manifest ever disagree. Both the version constant
    (RUNTIME_VERSION) and the lockfile are hard-coded and are not a self-updater — updates
    arrive through a catalog SHA bump in the Hermes repo plus hermes plugins update.
  • The Node/Electron child gets a minimal environment, never the inherited one: PATH,
    PATHEXT, COMSPEC, SYSTEMROOT/WINDIR/SYSTEMDRIVE, TEMP/TMP/TMPDIR,
    USERPROFILE/HOMEDRIVE/HOMEPATH/HOME, APPDATA/LOCALAPPDATA/PROGRAMDATA,
    PROGRAMFILES/PROGRAMFILES(X86), NUMBER_OF_PROCESSORS, PROCESSOR_ARCHITECTURE,
    LANG/LC_ALL, plus DSH_HOME and the explicit DSH_PET_ELECTRON_PATH /
    DSH_PET_ELECTRON_MIRROR opt-ins. Hermes provider keys (OPENAI_API_KEY, …) are never
    passed to code fetched at install time. npm ci gets the same base plus NPM_CONFIG_*
    (registry/proxy/cache are tool configuration, not credentials).
  • dsh-pet itself downloads Electron (~350 MB) into
    <HERMES_HOME>/plugin-data/dsh-pet/runtime-home/electron on first launch, unless a
    local %USERPROFILE%\.dsh\electron (or DSH_PET_ELECTRON_PATH) is found and reused.

Local state and network

  • The pet listens on 127.0.0.1 only, on the first free port in 3080..3089.
  • Its data (settings, AI config, chat memory, todos, logs) lives under
    <HERMES_HOME>/plugin-data/dsh-pet, separate from a DSH install's ~/.dsh.
  • Electron's userData directory is shared with any DSH install of dsh-pet
    (%APPDATA%\dsh-pet-electron-helper); the adapter does not rewrite it.
  • No telemetry. Model calls happen only if the user configures a provider in the pet's
    own settings page.
  • Uninstalling the plugin removes the plugin directory; hermes dsh-pet uninstall -y --purge also deletes the data directory.

More detail (in Chinese): docs/hermes-plugin.md.

README from the reviewed commit b251255; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section