refactor(restructure): update infrastructure for hermes_agent package

Update pyproject.toml entry points, packages.find, and package-data.
Delete py-modules (all top-level modules moved into hermes_agent/).
Add hermes-skills-sync console_script entry point.
Update Dockerfile HERMES_WEB_DIST path.
Update docker/entrypoint.sh, scripts/install.sh, setup-hermes.sh
to use hermes-skills-sync console_script.
Update web/vite.config.ts output directory.
Update MANIFEST.in to graft hermes_agent.
Update AGENTS.md project structure to reflect new layout.

Part of #14182, #14183
This commit is contained in:
alt-glitch 2026-04-23 12:10:25 +05:30
parent a1e667b9f2
commit 76aebd73c3
8 changed files with 78 additions and 88 deletions

View file

@ -7,7 +7,7 @@ const BACKEND = process.env.HERMES_DASHBOARD_URL ?? "http://127.0.0.1:9119";
/**
* In production the Python `hermes dashboard` server injects a one-shot
* session token into `index.html` (see `hermes_cli/web_server.py`). The
* session token into `index.html` (see `hermes_agent/cli/web_server.py`). The
* Vite dev server serves its own `index.html`, so unless we forward that
* token, every protected `/api/*` call 401s.
*
@ -59,7 +59,7 @@ export default defineConfig({
},
},
build: {
outDir: "../hermes_cli/web_dist",
outDir: "../hermes_agent/cli/web_dist",
emptyOutDir: true,
},
server: {