fix(nix): build web dashboard frontend in Nix package#12194
Merged
Conversation
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
Blazenetic
added a commit
to Blazenetic/hermes-agent
that referenced
this pull request
Apr 19, 2026
- Add repeat count field to cron job creation - Add skills field with multi-select capability - Add model override dropdown - Add toolset toggle endpoint - Add skill detail inspection modal - Fix pre-existing bug: @api.post > @app.post for cron jobs - Add toggle switches to toolset cards in SkillsPage - Add skill inspection modal with description, tags, path, linked files Closes NousResearch#12180, NousResearch#12194 Includes comprehensive documentation and testing setup
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
The web dashboard (Vite/React frontend) is now built as a separate Nix derivation and baked into the Hermes package. The build output is installed to a standard location and exposed via the `HERMES_WEB_DIST` environment variable, allowing the dashboard command to use pre-built assets when available (e.g., in packaged releases) instead of rebuilding on every invocation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Nix package (
nix/packages.nix) doesn't build the Vite/React web frontend, sohermes dashboardreturns{"error":"Frontend not built"}from a Nix install.nix/web.nix— builds the web dashboard frontend viabuildNpmPackage(mirrors thetui.nixpattern withfetchNpmDeps+update_web_lockfilehelper)HERMES_WEB_DISTenv varnpm run buildincmd_dashboardwhenHERMES_WEB_DISTis set.#webas a standalone Nix packageAcknowledgements
Thanks to @lvnilesh for the detailed bug report and workarounds in #9305, and to @boozedog for the
HERMES_WEB_DISTenv var approach in #11621 which this PR adopts.Fixes #9305
Closes #9307
Closes #11621
Type of Change
Changes Made
nix/web.nix— new derivation for web frontend build (mirrorstui.nixpattern)nix/packages.nix— wirehermesWebinto the package, setHERMES_WEB_DISTenv var, expose.#webhermes_cli/web_server.py— readHERMES_WEB_DISTenv var for pre-built asset pathhermes_cli/main.py— skip runtime build whenHERMES_WEB_DISTis setHow to Test
nix build .#web— produces the built SPA (index.html, assets/, fonts/)nix build— full package succeedshermes dashboard --host 0.0.0.0— serves the React UI from a Nix installChecklist
Code
fix(scope):,feat(scope):, etc.)