Files
agent/ui
Cédric VerstraetenandClaude Opus 5.5 23c4c932a9 ui: resolve yarn.lock packages from the public registry
158 entries in ui/yarn.lock were resolved from an Azure DevOps feed
(ms-feed-25.pkgs.visualstudio.com) instead of registry.yarnpkg.com. Point them
back at the public registry. Each entry's sha1 was checked against the npm
registry before it was rewritten, so the tarballs are identical. The 96
sha1-only integrity values are replaced with the registry's sha512.

axios is left as is: #359 moves it to 0.34.0 on the public registry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:11:06 +00:00
..
2022-06-05 21:36:22 +02:00
2022-08-15 22:08:08 +02:00

Kerberos Agent UI

The web interface of the Kerberos Agent: a React app built with Vite and tested with Vitest. Requires Node.js 20.19 or newer.

Scripts

  • yarn start: starts the dev server on http://localhost:3000 with hot reload.
  • yarn build: builds for production and moves the output to ../machinery/www, where the Agent serves it.
  • yarn preview: serves the production build from ../machinery/www on port 3000. Run yarn build first.
  • yarn test: runs the test suite once. yarn test:watch keeps it running.
  • yarn lint: lints src/ with ESLint.
  • yarn format: formats the code with Prettier.

Configuration

In development the UI talks to the Agent API on port 8082 of the same host. Override it with VITE_AGENT_API_PORT:

VITE_AGENT_API_PORT=9090 yarn start

In production builds the UI uses the host and port it was served from.

Runtime settings that differ per deployment (such as demo mode) live in public/env.js, which the Agent can replace without rebuilding the UI.

Layout

  • index.html: the HTML entry point; Vite injects the bundle here.
  • src/: application code. src/index.jsx is the entry module.
  • public/: copied unchanged to the build root (favicons, fonts, locales, env.js).
  • Bundled JS, CSS and assets go to static/ in the build, so they don't mix with the assets/ folder from public/.