A finite `hermes chat -q` (or `hermes -z` one-shot) launched from inside a TUI or Desktop session inherits HERMES_SESSION_SOURCE=tui/desktop — the terminal tool bridges the session env into child processes — and `_session_source_for_agent` honoured that inherited transport label over the child's own platform. The row was persisted as a `tui` chat, so it appeared in the TUI/WebUI session pickers as a resumable conversation and `hermes -c` in the TUI could continue it. The resolver now drops an inherited UI-transport source (`tui`, `desktop`) when the finite-chat marker HERMES_SINGLE_QUERY_SESSION=1 is set, falling back to the child's platform (`cli`). Automation sources (kanban, tool, cron, a2a, ...) are still inherited on purpose — kanban dispatch relies on it. `run_oneshot` sets the same marker as `hermes chat -q` already does. Deliberately NOT a new `oneshot` source and NOT a forced `tool` source: `tool` is the documented opt-in (`--source tool`) for integrations that must stay out of session lists, `hermes -c` resolves the latest session by source=cli, and every picker (TUI gateway deny list, dashboard automation category, session_search, `hermes sessions list`) already filters on the existing sources. Whether plain one-shot runs should be hidden by default is a product call left to the maintainer (see PR body). Part of #112550 Co-authored-by: KoNit-K <124019182+KoNit-K@users.noreply.github.com> Co-authored-by: fangliquan <fangliquan@qq.com>
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.