diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..872621689
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Auto-generated files — collapse diffs and exclude from language stats
+web/package-lock.json linguist-generated=true
diff --git a/.gitignore b/.gitignore
index 73132e4f4..137793bb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,6 +51,9 @@ ignored/
.worktrees/
environments/benchmarks/evals/
+# Web UI build output
+hermes_cli/web_dist/
+
# Release script temp files
.release_notes.md
mini-swe-agent/
diff --git a/cli.py b/cli.py
index c76ec217d..5951327d0 100644
--- a/cli.py
+++ b/cli.py
@@ -5419,6 +5419,10 @@ class HermesCLI:
self._handle_paste_command()
elif canonical == "image":
self._handle_image_command(cmd_original)
+ elif canonical == "reload":
+ from hermes_cli.config import reload_env
+ count = reload_env()
+ print(f" Reloaded .env ({count} var(s) updated)")
elif canonical == "reload-mcp":
with self._busy_command(self._slow_command_status(cmd_original)):
self._reload_mcp()
diff --git a/hermes_cli/commands.py b/hermes_cli/commands.py
index b44a8aa8f..66b770f2a 100644
--- a/hermes_cli/commands.py
+++ b/hermes_cli/commands.py
@@ -129,6 +129,7 @@ COMMAND_REGISTRY: list[CommandDef] = [
CommandDef("cron", "Manage scheduled tasks", "Tools & Skills",
cli_only=True, args_hint="[subcommand]",
subcommands=("list", "add", "create", "edit", "pause", "resume", "run", "remove")),
+ CommandDef("reload", "Reload .env variables into the running session", "Tools & Skills"),
CommandDef("reload-mcp", "Reload MCP servers from config", "Tools & Skills",
aliases=("reload_mcp",)),
CommandDef("browser", "Connect browser tools to your live Chrome via CDP", "Tools & Skills",
diff --git a/hermes_cli/config.py b/hermes_cli/config.py
index b9c8106be..fc5bc929d 100644
--- a/hermes_cli/config.py
+++ b/hermes_cli/config.py
@@ -2636,6 +2636,28 @@ def save_env_value_secure(key: str, value: str) -> Dict[str, Any]:
+def reload_env() -> int:
+ """Re-read ~/.hermes/.env into os.environ. Returns count of vars updated.
+
+ Adds/updates vars that changed and removes vars that were deleted from
+ the .env file (but only vars known to Hermes — OPTIONAL_ENV_VARS and
+ _EXTRA_ENV_KEYS — to avoid clobbering unrelated environment).
+ """
+ env_vars = load_env()
+ known_keys = set(OPTIONAL_ENV_VARS.keys()) | _EXTRA_ENV_KEYS
+ count = 0
+ for key, value in env_vars.items():
+ if os.environ.get(key) != value:
+ os.environ[key] = value
+ count += 1
+ # Remove known Hermes vars that are no longer in .env
+ for key in known_keys:
+ if key not in env_vars and key in os.environ:
+ del os.environ[key]
+ count += 1
+ return count
+
+
def get_env_value(key: str) -> Optional[str]:
"""Get a value from ~/.hermes/.env or environment."""
# Check environment first
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index aacd8efad..ad2a66710 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -2976,6 +2976,44 @@ def _gateway_prompt(prompt_text: str, default: str = "", timeout: float = 300.0)
return default
+def _build_web_ui(web_dir: Path, *, fatal: bool = False) -> bool:
+ """Build the web UI frontend if npm is available.
+
+ Args:
+ web_dir: Path to the ``web/`` source directory.
+ fatal: If True, print error guidance and return False on failure
+ instead of a soft warning (used by ``hermes web``).
+
+ Returns True if the build succeeded or was skipped (no package.json).
+ """
+ if not (web_dir / "package.json").exists():
+ return True
+ import shutil
+ npm = shutil.which("npm")
+ if not npm:
+ if fatal:
+ print("Web UI frontend not built and npm is not available.")
+ print("Install Node.js, then run: cd web && npm install && npm run build")
+ return not fatal
+ print("→ Building web UI...")
+ r1 = subprocess.run([npm, "install", "--silent"], cwd=web_dir, capture_output=True)
+ if r1.returncode != 0:
+ print(f" {'✗' if fatal else '⚠'} Web UI npm install failed"
+ + ("" if fatal else " (hermes web will not be available)"))
+ if fatal:
+ print(" Run manually: cd web && npm install && npm run build")
+ return False
+ r2 = subprocess.run([npm, "run", "build"], cwd=web_dir, capture_output=True)
+ if r2.returncode != 0:
+ print(f" {'✗' if fatal else '⚠'} Web UI build failed"
+ + ("" if fatal else " (hermes web will not be available)"))
+ if fatal:
+ print(" Run manually: cd web && npm install && npm run build")
+ return False
+ print(" ✓ Web UI built")
+ return True
+
+
def _update_via_zip(args):
"""Update Hermes Agent by downloading a ZIP archive.
@@ -3070,7 +3108,10 @@ def _update_via_zip(args):
check=True,
)
_install_python_dependencies_with_optional_fallback(pip_cmd)
-
+
+ # Build web UI frontend (optional — requires npm)
+ _build_web_ui(PROJECT_ROOT / "web")
+
# Sync skills
try:
from tools.skills_sync import sync_skills
@@ -3817,7 +3858,10 @@ def cmd_update(args):
if shutil.which("npm"):
print("→ Updating Node.js dependencies...")
subprocess.run(["npm", "install", "--silent"], cwd=PROJECT_ROOT, check=False)
-
+
+ # Build web UI frontend (optional — requires npm)
+ _build_web_ui(PROJECT_ROOT / "web")
+
print()
print("✓ Code updated!")
@@ -4099,7 +4143,7 @@ def _coalesce_session_name_args(argv: list) -> list:
"chat", "model", "gateway", "setup", "whatsapp", "login", "logout", "auth",
"status", "cron", "doctor", "config", "pairing", "skills", "tools",
"mcp", "sessions", "insights", "version", "update", "uninstall",
- "profile",
+ "profile", "dashboard",
}
_SESSION_FLAGS = {"-c", "--continue", "-r", "--resume"}
@@ -4377,6 +4421,27 @@ def cmd_profile(args):
sys.exit(1)
+def cmd_dashboard(args):
+ """Start the web UI server."""
+ try:
+ import fastapi # noqa: F401
+ import uvicorn # noqa: F401
+ except ImportError:
+ print("Web UI dependencies not installed.")
+ print("Install them with: pip install hermes-agent[web]")
+ sys.exit(1)
+
+ if not _build_web_ui(PROJECT_ROOT / "web", fatal=True):
+ sys.exit(1)
+
+ from hermes_cli.web_server import start_server
+ start_server(
+ host=args.host,
+ port=args.port,
+ open_browser=not args.no_open,
+ )
+
+
def cmd_completion(args):
"""Print shell completion script."""
from hermes_cli.profiles import generate_bash_completion, generate_zsh_completion
@@ -5862,6 +5927,19 @@ Examples:
)
completion_parser.set_defaults(func=cmd_completion)
+ # =========================================================================
+ # dashboard command
+ # =========================================================================
+ dashboard_parser = subparsers.add_parser(
+ "dashboard",
+ help="Start the web UI dashboard",
+ description="Launch the Hermes Agent web dashboard for managing config, API keys, and sessions",
+ )
+ dashboard_parser.add_argument("--port", type=int, default=9119, help="Port (default 9119)")
+ dashboard_parser.add_argument("--host", default="127.0.0.1", help="Host (default 127.0.0.1)")
+ dashboard_parser.add_argument("--no-open", action="store_true", help="Don't open browser automatically")
+ dashboard_parser.set_defaults(func=cmd_dashboard)
+
# =========================================================================
# logs command
# =========================================================================
diff --git a/hermes_cli/web_server.py b/hermes_cli/web_server.py
new file mode 100644
index 000000000..bd77798ca
--- /dev/null
+++ b/hermes_cli/web_server.py
@@ -0,0 +1,929 @@
+"""
+Hermes Agent — Web UI server.
+
+Provides a FastAPI backend serving the Vite/React frontend and REST API
+endpoints for managing configuration, environment variables, and sessions.
+
+Usage:
+ python -m hermes_cli.main web # Start on http://127.0.0.1:9119
+ python -m hermes_cli.main web --port 8080
+"""
+
+import logging
+import os
+import secrets
+import sys
+import time
+from pathlib import Path
+from typing import Any, Dict, List, Optional
+
+import yaml
+
+PROJECT_ROOT = Path(__file__).parent.parent.resolve()
+if str(PROJECT_ROOT) not in sys.path:
+ sys.path.insert(0, str(PROJECT_ROOT))
+
+from hermes_cli import __version__, __release_date__
+from hermes_cli.config import (
+ DEFAULT_CONFIG,
+ OPTIONAL_ENV_VARS,
+ get_config_path,
+ get_env_path,
+ get_hermes_home,
+ load_config,
+ load_env,
+ save_config,
+ save_env_value,
+ remove_env_value,
+ check_config_version,
+ redact_key,
+)
+from gateway.status import get_running_pid, read_runtime_status
+
+try:
+ from fastapi import FastAPI, HTTPException, Request
+ from fastapi.middleware.cors import CORSMiddleware
+ from fastapi.responses import FileResponse, JSONResponse
+ from fastapi.staticfiles import StaticFiles
+ from pydantic import BaseModel
+except ImportError:
+ raise SystemExit(
+ "Web UI requires fastapi and uvicorn.\n"
+ "Run 'hermes web' to auto-install, or: pip install hermes-agent[web]"
+ )
+
+WEB_DIST = Path(__file__).parent / "web_dist"
+_log = logging.getLogger(__name__)
+
+app = FastAPI(title="Hermes Agent", version=__version__)
+
+# ---------------------------------------------------------------------------
+# Session token for protecting sensitive endpoints (reveal).
+# Generated fresh on every server start — dies when the process exits.
+# Injected into the SPA HTML so only the legitimate web UI can use it.
+# ---------------------------------------------------------------------------
+_SESSION_TOKEN = secrets.token_urlsafe(32)
+
+# Simple rate limiter for the reveal endpoint
+_reveal_timestamps: List[float] = []
+_REVEAL_MAX_PER_WINDOW = 5
+_REVEAL_WINDOW_SECONDS = 30
+
+# CORS: restrict to localhost origins only. The web UI is intended to run
+# locally; binding to 0.0.0.0 with allow_origins=["*"] would let any website
+# read/modify config and secrets.
+
+app.add_middleware(
+ CORSMiddleware,
+ allow_origin_regex=r"^https?://(localhost|127\.0\.0\.1)(:\d+)?$",
+ allow_methods=["*"],
+ allow_headers=["*"],
+)
+
+
+# ---------------------------------------------------------------------------
+# Config schema — auto-generated from DEFAULT_CONFIG
+# ---------------------------------------------------------------------------
+
+# Manual overrides for fields that need select options or custom types
+_SCHEMA_OVERRIDES: Dict[str, Dict[str, Any]] = {
+ "model": {
+ "type": "string",
+ "description": "Default model (e.g. anthropic/claude-sonnet-4.6)",
+ "category": "general",
+ },
+ "terminal.backend": {
+ "type": "select",
+ "description": "Terminal execution backend",
+ "options": ["local", "docker", "ssh", "modal", "daytona", "singularity"],
+ },
+ "terminal.modal_mode": {
+ "type": "select",
+ "description": "Modal sandbox mode",
+ "options": ["sandbox", "function"],
+ },
+ "tts.provider": {
+ "type": "select",
+ "description": "Text-to-speech provider",
+ "options": ["edge", "elevenlabs", "openai", "neutts"],
+ },
+ "stt.provider": {
+ "type": "select",
+ "description": "Speech-to-text provider",
+ "options": ["local", "openai", "mistral"],
+ },
+ "display.skin": {
+ "type": "select",
+ "description": "CLI visual theme",
+ "options": ["default", "ares", "mono", "slate"],
+ },
+ "display.resume_display": {
+ "type": "select",
+ "description": "How resumed sessions display history",
+ "options": ["minimal", "full", "off"],
+ },
+ "display.busy_input_mode": {
+ "type": "select",
+ "description": "Input behavior while agent is running",
+ "options": ["queue", "interrupt", "block"],
+ },
+ "memory.provider": {
+ "type": "select",
+ "description": "Memory provider plugin",
+ "options": ["builtin", "honcho"],
+ },
+ "approvals.mode": {
+ "type": "select",
+ "description": "Dangerous command approval mode",
+ "options": ["ask", "yolo", "deny"],
+ },
+ "context.engine": {
+ "type": "select",
+ "description": "Context management engine",
+ "options": ["default", "custom"],
+ },
+ "human_delay.mode": {
+ "type": "select",
+ "description": "Simulated typing delay mode",
+ "options": ["off", "typing", "fixed"],
+ },
+ "logging.level": {
+ "type": "select",
+ "description": "Log level for agent.log",
+ "options": ["DEBUG", "INFO", "WARNING", "ERROR"],
+ },
+ "agent.service_tier": {
+ "type": "select",
+ "description": "API service tier (OpenAI/Anthropic)",
+ "options": ["", "auto", "default", "flex"],
+ },
+ "delegation.reasoning_effort": {
+ "type": "select",
+ "description": "Reasoning effort for delegated subagents",
+ "options": ["", "low", "medium", "high"],
+ },
+}
+
+# Categories with fewer fields get merged into "general" to avoid tab sprawl.
+_CATEGORY_MERGE: Dict[str, str] = {
+ "privacy": "security",
+ "context": "agent",
+ "skills": "agent",
+ "cron": "agent",
+ "network": "agent",
+ "checkpoints": "agent",
+ "approvals": "security",
+ "human_delay": "display",
+ "smart_model_routing": "agent",
+}
+
+# Display order for tabs — unlisted categories sort alphabetically after these.
+_CATEGORY_ORDER = [
+ "general", "agent", "terminal", "display", "delegation",
+ "memory", "compression", "security", "browser", "voice",
+ "tts", "stt", "logging", "discord", "auxiliary",
+]
+
+
+def _infer_type(value: Any) -> str:
+ """Infer a UI field type from a Python value."""
+ if isinstance(value, bool):
+ return "boolean"
+ if isinstance(value, int):
+ return "number"
+ if isinstance(value, float):
+ return "number"
+ if isinstance(value, list):
+ return "list"
+ if isinstance(value, dict):
+ return "object"
+ return "string"
+
+
+def _build_schema_from_config(
+ config: Dict[str, Any],
+ prefix: str = "",
+) -> Dict[str, Dict[str, Any]]:
+ """Walk DEFAULT_CONFIG and produce a flat dot-path → field schema dict."""
+ schema: Dict[str, Dict[str, Any]] = {}
+ for key, value in config.items():
+ full_key = f"{prefix}.{key}" if prefix else key
+
+ # Skip internal / version keys
+ if full_key in ("_config_version",):
+ continue
+
+ # Category is the first path component for nested keys, or "general"
+ # for top-level scalar fields (model, toolsets, timezone, etc.).
+ if prefix:
+ category = prefix.split(".")[0]
+ elif isinstance(value, dict):
+ category = key
+ else:
+ category = "general"
+
+ if isinstance(value, dict):
+ # Recurse into nested dicts
+ schema.update(_build_schema_from_config(value, full_key))
+ else:
+ entry: Dict[str, Any] = {
+ "type": _infer_type(value),
+ "description": full_key.replace(".", " → ").replace("_", " ").title(),
+ "category": category,
+ }
+ # Apply manual overrides
+ if full_key in _SCHEMA_OVERRIDES:
+ entry.update(_SCHEMA_OVERRIDES[full_key])
+ # Merge small categories
+ entry["category"] = _CATEGORY_MERGE.get(entry["category"], entry["category"])
+ schema[full_key] = entry
+ return schema
+
+
+CONFIG_SCHEMA = _build_schema_from_config(DEFAULT_CONFIG)
+
+
+class ConfigUpdate(BaseModel):
+ config: dict
+
+
+class EnvVarUpdate(BaseModel):
+ key: str
+ value: str
+
+
+class EnvVarDelete(BaseModel):
+ key: str
+
+
+class EnvVarReveal(BaseModel):
+ key: str
+
+
+@app.get("/api/status")
+async def get_status():
+ current_ver, latest_ver = check_config_version()
+
+ gateway_pid = get_running_pid()
+ gateway_running = gateway_pid is not None
+
+ gateway_state = None
+ gateway_platforms: dict = {}
+ gateway_exit_reason = None
+ gateway_updated_at = None
+ configured_gateway_platforms: set[str] | None = None
+ try:
+ from gateway.config import load_gateway_config
+
+ gateway_config = load_gateway_config()
+ configured_gateway_platforms = {
+ platform.value for platform in gateway_config.get_connected_platforms()
+ }
+ except Exception:
+ configured_gateway_platforms = None
+
+ runtime = read_runtime_status()
+ if runtime:
+ gateway_state = runtime.get("gateway_state")
+ gateway_platforms = runtime.get("platforms") or {}
+ if configured_gateway_platforms is not None:
+ gateway_platforms = {
+ key: value
+ for key, value in gateway_platforms.items()
+ if key in configured_gateway_platforms
+ }
+ gateway_exit_reason = runtime.get("exit_reason")
+ gateway_updated_at = runtime.get("updated_at")
+ if not gateway_running:
+ gateway_state = gateway_state if gateway_state in ("stopped", "startup_failed") else "stopped"
+ gateway_platforms = {}
+
+ active_sessions = 0
+ try:
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ sessions = db.list_sessions_rich(limit=50)
+ now = time.time()
+ active_sessions = sum(
+ 1 for s in sessions
+ if s.get("ended_at") is None
+ and (now - s.get("last_active", s.get("started_at", 0))) < 300
+ )
+ finally:
+ db.close()
+ except Exception:
+ pass
+
+ return {
+ "version": __version__,
+ "release_date": __release_date__,
+ "hermes_home": str(get_hermes_home()),
+ "config_path": str(get_config_path()),
+ "env_path": str(get_env_path()),
+ "config_version": current_ver,
+ "latest_config_version": latest_ver,
+ "gateway_running": gateway_running,
+ "gateway_pid": gateway_pid,
+ "gateway_state": gateway_state,
+ "gateway_platforms": gateway_platforms,
+ "gateway_exit_reason": gateway_exit_reason,
+ "gateway_updated_at": gateway_updated_at,
+ "active_sessions": active_sessions,
+ }
+
+
+@app.get("/api/sessions")
+async def get_sessions():
+ try:
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ sessions = db.list_sessions_rich(limit=20)
+ now = time.time()
+ for s in sessions:
+ s["is_active"] = (
+ s.get("ended_at") is None
+ and (now - s.get("last_active", s.get("started_at", 0))) < 300
+ )
+ return sessions
+ finally:
+ db.close()
+ except Exception as e:
+ _log.exception("GET /api/sessions failed")
+ raise HTTPException(status_code=500, detail="Internal server error")
+
+
+@app.get("/api/sessions/search")
+async def search_sessions(q: str = "", limit: int = 20):
+ """Full-text search across session message content using FTS5."""
+ if not q or not q.strip():
+ return {"results": []}
+ try:
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ # Auto-add prefix wildcards so partial words match
+ # e.g. "nimb" → "nimb*" matches "nimby"
+ # Preserve quoted phrases and existing wildcards as-is
+ import re
+ terms = []
+ for token in re.findall(r'"[^"]*"|\S+', q.strip()):
+ if token.startswith('"') or token.endswith("*"):
+ terms.append(token)
+ else:
+ terms.append(token + "*")
+ prefix_query = " ".join(terms)
+ matches = db.search_messages(query=prefix_query, limit=limit)
+ # Group by session_id — return unique sessions with their best snippet
+ seen: dict = {}
+ for m in matches:
+ sid = m["session_id"]
+ if sid not in seen:
+ seen[sid] = {
+ "session_id": sid,
+ "snippet": m.get("snippet", ""),
+ "role": m.get("role"),
+ "source": m.get("source"),
+ "model": m.get("model"),
+ "session_started": m.get("session_started"),
+ }
+ return {"results": list(seen.values())}
+ finally:
+ db.close()
+ except Exception:
+ _log.exception("GET /api/sessions/search failed")
+ raise HTTPException(status_code=500, detail="Search failed")
+
+
+def _normalize_config_for_web(config: Dict[str, Any]) -> Dict[str, Any]:
+ """Normalize config for the web UI.
+
+ Hermes supports ``model`` as either a bare string (``"anthropic/claude-sonnet-4"``)
+ or a dict (``{default: ..., provider: ..., base_url: ...}``). The schema is built
+ from DEFAULT_CONFIG where ``model`` is a string, but user configs often have the
+ dict form. Normalize to the string form so the frontend schema matches.
+ """
+ config = dict(config) # shallow copy
+ model_val = config.get("model")
+ if isinstance(model_val, dict):
+ config["model"] = model_val.get("default", model_val.get("name", ""))
+ return config
+
+
+@app.get("/api/config")
+async def get_config():
+ config = _normalize_config_for_web(load_config())
+ # Strip internal keys that the frontend shouldn't see or send back
+ return {k: v for k, v in config.items() if not k.startswith("_")}
+
+
+@app.get("/api/config/defaults")
+async def get_defaults():
+ return DEFAULT_CONFIG
+
+
+@app.get("/api/config/schema")
+async def get_schema():
+ return {"fields": CONFIG_SCHEMA, "category_order": _CATEGORY_ORDER}
+
+
+def _denormalize_config_from_web(config: Dict[str, Any]) -> Dict[str, Any]:
+ """Reverse _normalize_config_for_web before saving.
+
+ Reconstructs ``model`` as a dict by reading the current on-disk config
+ to recover model subkeys (provider, base_url, api_mode, etc.) that were
+ stripped from the GET response. The frontend only sees model as a flat
+ string; the rest is preserved transparently.
+ """
+ config = dict(config)
+ # Remove any _model_meta that might have leaked in (shouldn't happen
+ # with the stripped GET response, but be defensive)
+ config.pop("_model_meta", None)
+
+ model_val = config.get("model")
+ if isinstance(model_val, str) and model_val:
+ # Read the current disk config to recover model subkeys
+ try:
+ disk_config = load_config()
+ disk_model = disk_config.get("model")
+ if isinstance(disk_model, dict):
+ # Preserve all subkeys, update default with the new value
+ disk_model["default"] = model_val
+ config["model"] = disk_model
+ except Exception:
+ pass # can't read disk config — just use the string form
+ return config
+
+
+@app.put("/api/config")
+async def update_config(body: ConfigUpdate):
+ try:
+ save_config(_denormalize_config_from_web(body.config))
+ return {"ok": True}
+ except Exception as e:
+ _log.exception("PUT /api/config failed")
+ raise HTTPException(status_code=500, detail="Internal server error")
+
+
+@app.get("/api/auth/session-token")
+async def get_session_token():
+ """Return the ephemeral session token for this server instance.
+
+ The token protects sensitive endpoints (reveal). It's served to the SPA
+ which stores it in memory — it's never persisted and dies when the server
+ process exits. CORS already restricts this to localhost origins.
+ """
+ return {"token": _SESSION_TOKEN}
+
+
+@app.get("/api/env")
+async def get_env_vars():
+ env_on_disk = load_env()
+ result = {}
+ for var_name, info in OPTIONAL_ENV_VARS.items():
+ value = env_on_disk.get(var_name)
+ result[var_name] = {
+ "is_set": bool(value),
+ "redacted_value": redact_key(value) if value else None,
+ "description": info.get("description", ""),
+ "url": info.get("url"),
+ "category": info.get("category", ""),
+ "is_password": info.get("password", False),
+ "tools": info.get("tools", []),
+ "advanced": info.get("advanced", False),
+ }
+ return result
+
+
+@app.put("/api/env")
+async def set_env_var(body: EnvVarUpdate):
+ try:
+ save_env_value(body.key, body.value)
+ return {"ok": True, "key": body.key}
+ except Exception as e:
+ _log.exception("PUT /api/env failed")
+ raise HTTPException(status_code=500, detail="Internal server error")
+
+
+@app.delete("/api/env")
+async def remove_env_var(body: EnvVarDelete):
+ try:
+ removed = remove_env_value(body.key)
+ if not removed:
+ raise HTTPException(status_code=404, detail=f"{body.key} not found in .env")
+ return {"ok": True, "key": body.key}
+ except HTTPException:
+ raise
+ except Exception as e:
+ _log.exception("DELETE /api/env failed")
+ raise HTTPException(status_code=500, detail="Internal server error")
+
+
+@app.post("/api/env/reveal")
+async def reveal_env_var(body: EnvVarReveal, request: Request):
+ """Return the real (unredacted) value of a single env var.
+
+ Protected by:
+ - Ephemeral session token (generated per server start, injected into SPA)
+ - Rate limiting (max 5 reveals per 30s window)
+ - Audit logging
+ """
+ # --- Token check ---
+ auth = request.headers.get("authorization", "")
+ if auth != f"Bearer {_SESSION_TOKEN}":
+ raise HTTPException(status_code=401, detail="Unauthorized")
+
+ # --- Rate limit ---
+ now = time.time()
+ cutoff = now - _REVEAL_WINDOW_SECONDS
+ _reveal_timestamps[:] = [t for t in _reveal_timestamps if t > cutoff]
+ if len(_reveal_timestamps) >= _REVEAL_MAX_PER_WINDOW:
+ raise HTTPException(status_code=429, detail="Too many reveal requests. Try again shortly.")
+ _reveal_timestamps.append(now)
+
+ # --- Reveal ---
+ env_on_disk = load_env()
+ value = env_on_disk.get(body.key)
+ if value is None:
+ raise HTTPException(status_code=404, detail=f"{body.key} not found in .env")
+
+ _log.info("env/reveal: %s", body.key)
+ return {"key": body.key, "value": value}
+
+
+# ---------------------------------------------------------------------------
+# Session detail endpoints
+# ---------------------------------------------------------------------------
+
+
+@app.get("/api/sessions/{session_id}")
+async def get_session_detail(session_id: str):
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ sid = db.resolve_session_id(session_id)
+ session = db.get_session(sid) if sid else None
+ if not session:
+ raise HTTPException(status_code=404, detail="Session not found")
+ return session
+ finally:
+ db.close()
+
+
+@app.get("/api/sessions/{session_id}/messages")
+async def get_session_messages(session_id: str):
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ sid = db.resolve_session_id(session_id)
+ if not sid:
+ raise HTTPException(status_code=404, detail="Session not found")
+ messages = db.get_messages(sid)
+ return {"session_id": sid, "messages": messages}
+ finally:
+ db.close()
+
+
+@app.delete("/api/sessions/{session_id}")
+async def delete_session_endpoint(session_id: str):
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ if not db.delete_session(session_id):
+ raise HTTPException(status_code=404, detail="Session not found")
+ return {"ok": True}
+ finally:
+ db.close()
+
+
+# ---------------------------------------------------------------------------
+# Log viewer endpoint
+# ---------------------------------------------------------------------------
+
+
+@app.get("/api/logs")
+async def get_logs(
+ file: str = "agent",
+ lines: int = 100,
+ level: Optional[str] = None,
+ component: Optional[str] = None,
+):
+ from hermes_cli.logs import _read_tail, LOG_FILES
+
+ log_name = LOG_FILES.get(file)
+ if not log_name:
+ raise HTTPException(status_code=400, detail=f"Unknown log file: {file}")
+ log_path = get_hermes_home() / "logs" / log_name
+ if not log_path.exists():
+ return {"file": file, "lines": []}
+
+ try:
+ from hermes_logging import COMPONENT_PREFIXES
+ except ImportError:
+ COMPONENT_PREFIXES = {}
+
+ has_filters = bool(level or component)
+ comp_prefixes = COMPONENT_PREFIXES.get(component, ()) if component else ()
+ result = _read_tail(
+ log_path, min(lines, 500),
+ has_filters=has_filters,
+ min_level=level,
+ component_prefixes=comp_prefixes,
+ )
+ return {"file": file, "lines": result}
+
+
+# ---------------------------------------------------------------------------
+# Cron job management endpoints
+# ---------------------------------------------------------------------------
+
+
+class CronJobCreate(BaseModel):
+ prompt: str
+ schedule: str
+ name: str = ""
+ deliver: str = "local"
+
+
+class CronJobUpdate(BaseModel):
+ updates: dict
+
+
+@app.get("/api/cron/jobs")
+async def list_cron_jobs():
+ from cron.jobs import list_jobs
+ return list_jobs(include_disabled=True)
+
+
+@app.get("/api/cron/jobs/{job_id}")
+async def get_cron_job(job_id: str):
+ from cron.jobs import get_job
+ job = get_job(job_id)
+ if not job:
+ raise HTTPException(status_code=404, detail="Job not found")
+ return job
+
+
+@app.post("/api/cron/jobs")
+async def create_cron_job(body: CronJobCreate):
+ from cron.jobs import create_job
+ try:
+ job = create_job(prompt=body.prompt, schedule=body.schedule,
+ name=body.name, deliver=body.deliver)
+ return job
+ except Exception as e:
+ _log.exception("POST /api/cron/jobs failed")
+ raise HTTPException(status_code=400, detail=str(e))
+
+
+@app.put("/api/cron/jobs/{job_id}")
+async def update_cron_job(job_id: str, body: CronJobUpdate):
+ from cron.jobs import update_job
+ job = update_job(job_id, body.updates)
+ if not job:
+ raise HTTPException(status_code=404, detail="Job not found")
+ return job
+
+
+@app.post("/api/cron/jobs/{job_id}/pause")
+async def pause_cron_job(job_id: str):
+ from cron.jobs import pause_job
+ job = pause_job(job_id)
+ if not job:
+ raise HTTPException(status_code=404, detail="Job not found")
+ return job
+
+
+@app.post("/api/cron/jobs/{job_id}/resume")
+async def resume_cron_job(job_id: str):
+ from cron.jobs import resume_job
+ job = resume_job(job_id)
+ if not job:
+ raise HTTPException(status_code=404, detail="Job not found")
+ return job
+
+
+@app.post("/api/cron/jobs/{job_id}/trigger")
+async def trigger_cron_job(job_id: str):
+ from cron.jobs import trigger_job
+ job = trigger_job(job_id)
+ if not job:
+ raise HTTPException(status_code=404, detail="Job not found")
+ return job
+
+
+@app.delete("/api/cron/jobs/{job_id}")
+async def delete_cron_job(job_id: str):
+ from cron.jobs import remove_job
+ if not remove_job(job_id):
+ raise HTTPException(status_code=404, detail="Job not found")
+ return {"ok": True}
+
+
+# ---------------------------------------------------------------------------
+# Skills & Tools endpoints
+# ---------------------------------------------------------------------------
+
+
+class SkillToggle(BaseModel):
+ name: str
+ enabled: bool
+
+
+@app.get("/api/skills")
+async def get_skills():
+ from tools.skills_tool import _find_all_skills
+ from hermes_cli.skills_config import get_disabled_skills
+ config = load_config()
+ disabled = get_disabled_skills(config)
+ skills = _find_all_skills(skip_disabled=True)
+ for s in skills:
+ s["enabled"] = s["name"] not in disabled
+ return skills
+
+
+@app.put("/api/skills/toggle")
+async def toggle_skill(body: SkillToggle):
+ from hermes_cli.skills_config import get_disabled_skills, save_disabled_skills
+ config = load_config()
+ disabled = get_disabled_skills(config)
+ if body.enabled:
+ disabled.discard(body.name)
+ else:
+ disabled.add(body.name)
+ save_disabled_skills(config, disabled)
+ return {"ok": True, "name": body.name, "enabled": body.enabled}
+
+
+@app.get("/api/tools/toolsets")
+async def get_toolsets():
+ from hermes_cli.tools_config import (
+ _get_effective_configurable_toolsets,
+ _get_platform_tools,
+ _toolset_has_keys,
+ )
+ from toolsets import resolve_toolset
+
+ config = load_config()
+ enabled_toolsets = _get_platform_tools(
+ config,
+ "cli",
+ include_default_mcp_servers=False,
+ )
+ result = []
+ for name, label, desc in _get_effective_configurable_toolsets():
+ try:
+ tools = sorted(set(resolve_toolset(name)))
+ except Exception:
+ tools = []
+ is_enabled = name in enabled_toolsets
+ result.append({
+ "name": name, "label": label, "description": desc,
+ "enabled": is_enabled,
+ "available": is_enabled,
+ "configured": _toolset_has_keys(name, config),
+ "tools": tools,
+ })
+ return result
+
+
+# ---------------------------------------------------------------------------
+# Raw YAML config endpoint
+# ---------------------------------------------------------------------------
+
+
+class RawConfigUpdate(BaseModel):
+ yaml_text: str
+
+
+@app.get("/api/config/raw")
+async def get_config_raw():
+ path = get_config_path()
+ if not path.exists():
+ return {"yaml": ""}
+ return {"yaml": path.read_text(encoding="utf-8")}
+
+
+@app.put("/api/config/raw")
+async def update_config_raw(body: RawConfigUpdate):
+ try:
+ parsed = yaml.safe_load(body.yaml_text)
+ if not isinstance(parsed, dict):
+ raise HTTPException(status_code=400, detail="YAML must be a mapping")
+ save_config(parsed)
+ return {"ok": True}
+ except yaml.YAMLError as e:
+ raise HTTPException(status_code=400, detail=f"Invalid YAML: {e}")
+
+
+# ---------------------------------------------------------------------------
+# Token / cost analytics endpoint
+# ---------------------------------------------------------------------------
+
+
+@app.get("/api/analytics/usage")
+async def get_usage_analytics(days: int = 30):
+ from hermes_state import SessionDB
+ db = SessionDB()
+ try:
+ cutoff = time.time() - (days * 86400)
+ cur = db._conn.execute("""
+ SELECT date(started_at, 'unixepoch') as day,
+ SUM(input_tokens) as input_tokens,
+ SUM(output_tokens) as output_tokens,
+ SUM(cache_read_tokens) as cache_read_tokens,
+ SUM(reasoning_tokens) as reasoning_tokens,
+ COALESCE(SUM(estimated_cost_usd), 0) as estimated_cost,
+ COALESCE(SUM(actual_cost_usd), 0) as actual_cost,
+ COUNT(*) as sessions
+ FROM sessions WHERE started_at > ?
+ GROUP BY day ORDER BY day
+ """, (cutoff,))
+ daily = [dict(r) for r in cur.fetchall()]
+
+ cur2 = db._conn.execute("""
+ SELECT model,
+ SUM(input_tokens) as input_tokens,
+ SUM(output_tokens) as output_tokens,
+ COALESCE(SUM(estimated_cost_usd), 0) as estimated_cost,
+ COUNT(*) as sessions
+ FROM sessions WHERE started_at > ? AND model IS NOT NULL
+ GROUP BY model ORDER BY SUM(input_tokens) + SUM(output_tokens) DESC
+ """, (cutoff,))
+ by_model = [dict(r) for r in cur2.fetchall()]
+
+ cur3 = db._conn.execute("""
+ SELECT SUM(input_tokens) as total_input,
+ SUM(output_tokens) as total_output,
+ SUM(cache_read_tokens) as total_cache_read,
+ SUM(reasoning_tokens) as total_reasoning,
+ COALESCE(SUM(estimated_cost_usd), 0) as total_estimated_cost,
+ COALESCE(SUM(actual_cost_usd), 0) as total_actual_cost,
+ COUNT(*) as total_sessions
+ FROM sessions WHERE started_at > ?
+ """, (cutoff,))
+ totals = dict(cur3.fetchone())
+
+ return {"daily": daily, "by_model": by_model, "totals": totals, "period_days": days}
+ finally:
+ db.close()
+
+
+def mount_spa(application: FastAPI):
+ """Mount the built SPA. Falls back to index.html for client-side routing."""
+ if not WEB_DIST.exists():
+ @application.get("/{full_path:path}")
+ async def no_frontend(full_path: str):
+ return JSONResponse(
+ {"error": "Frontend not built. Run: cd web && npm run build"},
+ status_code=404,
+ )
+ return
+
+ application.mount("/assets", StaticFiles(directory=WEB_DIST / "assets"), name="assets")
+
+ @application.get("/{full_path:path}")
+ async def serve_spa(full_path: str):
+ file_path = WEB_DIST / full_path
+ # Prevent path traversal via url-encoded sequences (%2e%2e/)
+ if (
+ full_path
+ and file_path.resolve().is_relative_to(WEB_DIST.resolve())
+ and file_path.exists()
+ and file_path.is_file()
+ ):
+ return FileResponse(file_path)
+ return FileResponse(
+ WEB_DIST / "index.html",
+ headers={"Cache-Control": "no-store, no-cache, must-revalidate"},
+ )
+
+
+mount_spa(app)
+
+
+def start_server(host: str = "127.0.0.1", port: int = 9119, open_browser: bool = True):
+ """Start the web UI server."""
+ import uvicorn
+
+ if host not in ("127.0.0.1", "localhost", "::1"):
+ import logging
+ logging.warning(
+ "Binding to %s — the web UI exposes config and API keys. "
+ "Only bind to non-localhost if you trust all users on the network.", host,
+ )
+
+ if open_browser:
+ import threading
+ import webbrowser
+
+ def _open():
+ import time as _t
+ _t.sleep(1.0)
+ webbrowser.open(f"http://{host}:{port}")
+
+ threading.Thread(target=_open, daemon=True).start()
+
+ print(f" Hermes Web UI → http://{host}:{port}")
+ uvicorn.run(app, host=host, port=port, log_level="warning")
diff --git a/pyproject.toml b/pyproject.toml
index 95a1dfddd..a8d479391 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -76,6 +76,7 @@ termux = [
]
dingtalk = ["dingtalk-stream>=0.1.0,<1"]
feishu = ["lark-oapi>=1.5.3,<2"]
+web = ["fastapi>=0.104.0,<1", "uvicorn[standard]>=0.24.0,<1"]
rl = [
"atroposlib @ git+https://github.com/NousResearch/atropos.git",
"tinker @ git+https://github.com/thinking-machines-lab/tinker.git",
@@ -107,6 +108,7 @@ all = [
"hermes-agent[dingtalk]",
"hermes-agent[feishu]",
"hermes-agent[mistral]",
+ "hermes-agent[web]",
]
[project.scripts]
@@ -117,6 +119,9 @@ hermes-acp = "acp_adapter.entry:main"
[tool.setuptools]
py-modules = ["run_agent", "model_tools", "toolsets", "batch_runner", "trajectory_compressor", "toolset_distributions", "cli", "hermes_constants", "hermes_state", "hermes_time", "hermes_logging", "rl_cli", "utils"]
+[tool.setuptools.package-data]
+hermes_cli = ["web_dist/**/*"]
+
[tool.setuptools.packages.find]
include = ["agent", "tools", "tools.*", "hermes_cli", "gateway", "gateway.*", "cron", "acp_adapter", "plugins", "plugins.*"]
diff --git a/tests/hermes_cli/test_web_server.py b/tests/hermes_cli/test_web_server.py
new file mode 100644
index 000000000..ffa614cd9
--- /dev/null
+++ b/tests/hermes_cli/test_web_server.py
@@ -0,0 +1,675 @@
+"""Tests for hermes_cli.web_server and related config utilities."""
+
+import os
+import json
+import tempfile
+from pathlib import Path
+from unittest.mock import patch, MagicMock
+
+import pytest
+
+from hermes_cli.config import (
+ DEFAULT_CONFIG,
+ reload_env,
+ redact_key,
+ _EXTRA_ENV_KEYS,
+ OPTIONAL_ENV_VARS,
+)
+
+
+# ---------------------------------------------------------------------------
+# reload_env tests
+# ---------------------------------------------------------------------------
+
+
+class TestReloadEnv:
+ """Tests for reload_env() — re-reads .env into os.environ."""
+
+ def test_adds_new_vars(self, tmp_path):
+ """reload_env() adds vars from .env that are not in os.environ."""
+ env_file = tmp_path / ".env"
+ env_file.write_text("TEST_RELOAD_VAR=hello123\n")
+ with patch("hermes_cli.config.get_env_path", return_value=env_file):
+ os.environ.pop("TEST_RELOAD_VAR", None)
+ count = reload_env()
+ assert count >= 1
+ assert os.environ.get("TEST_RELOAD_VAR") == "hello123"
+ os.environ.pop("TEST_RELOAD_VAR", None)
+
+ def test_updates_changed_vars(self, tmp_path):
+ """reload_env() updates vars whose value changed on disk."""
+ env_file = tmp_path / ".env"
+ env_file.write_text("TEST_RELOAD_VAR=old_value\n")
+ with patch("hermes_cli.config.get_env_path", return_value=env_file):
+ os.environ["TEST_RELOAD_VAR"] = "old_value"
+ # Now change the file
+ env_file.write_text("TEST_RELOAD_VAR=new_value\n")
+ count = reload_env()
+ assert count >= 1
+ assert os.environ.get("TEST_RELOAD_VAR") == "new_value"
+ os.environ.pop("TEST_RELOAD_VAR", None)
+
+ def test_removes_deleted_known_vars(self, tmp_path):
+ """reload_env() removes known Hermes vars not present in .env."""
+ env_file = tmp_path / ".env"
+ env_file.write_text("") # empty .env
+ # Pick a known key from OPTIONAL_ENV_VARS
+ known_key = next(iter(OPTIONAL_ENV_VARS.keys()))
+ with patch("hermes_cli.config.get_env_path", return_value=env_file):
+ os.environ[known_key] = "stale_value"
+ count = reload_env()
+ assert known_key not in os.environ
+ assert count >= 1
+
+ def test_does_not_remove_unknown_vars(self, tmp_path):
+ """reload_env() preserves non-Hermes env vars even when absent from .env."""
+ env_file = tmp_path / ".env"
+ env_file.write_text("")
+ with patch("hermes_cli.config.get_env_path", return_value=env_file):
+ os.environ["MY_CUSTOM_UNRELATED_VAR"] = "keep_me"
+ reload_env()
+ assert os.environ.get("MY_CUSTOM_UNRELATED_VAR") == "keep_me"
+ os.environ.pop("MY_CUSTOM_UNRELATED_VAR", None)
+
+
+# ---------------------------------------------------------------------------
+# redact_key tests
+# ---------------------------------------------------------------------------
+
+
+class TestRedactKey:
+ def test_long_key_shows_prefix_suffix(self):
+ result = redact_key("sk-1234567890abcdef")
+ assert result.startswith("sk-1")
+ assert result.endswith("cdef")
+ assert "..." in result
+
+ def test_short_key_fully_masked(self):
+ assert redact_key("short") == "***"
+
+ def test_empty_key(self):
+ result = redact_key("")
+ assert "not set" in result.lower() or result == "***" or "\x1b" in result
+
+
+# ---------------------------------------------------------------------------
+# web_server tests (FastAPI endpoints)
+# ---------------------------------------------------------------------------
+
+
+class TestWebServerEndpoints:
+ """Test the FastAPI REST endpoints using Starlette TestClient."""
+
+ @pytest.fixture(autouse=True)
+ def _setup_test_client(self):
+ """Create a TestClient — import is deferred to avoid requiring fastapi."""
+ try:
+ from starlette.testclient import TestClient
+ except ImportError:
+ pytest.skip("fastapi/starlette not installed")
+
+ from hermes_cli.web_server import app
+ self.client = TestClient(app)
+
+ def test_get_status(self):
+ resp = self.client.get("/api/status")
+ assert resp.status_code == 200
+ data = resp.json()
+ assert "version" in data
+ assert "hermes_home" in data
+ assert "active_sessions" in data
+
+ def test_get_status_filters_unconfigured_gateway_platforms(self, monkeypatch):
+ import gateway.config as gateway_config
+ import hermes_cli.web_server as web_server
+
+ class _Platform:
+ def __init__(self, value):
+ self.value = value
+
+ class _GatewayConfig:
+ def get_connected_platforms(self):
+ return [_Platform("telegram")]
+
+ monkeypatch.setattr(web_server, "get_running_pid", lambda: 1234)
+ monkeypatch.setattr(
+ web_server,
+ "read_runtime_status",
+ lambda: {
+ "gateway_state": "running",
+ "updated_at": "2026-04-12T00:00:00+00:00",
+ "platforms": {
+ "telegram": {"state": "connected", "updated_at": "2026-04-12T00:00:00+00:00"},
+ "whatsapp": {"state": "retrying", "updated_at": "2026-04-12T00:00:00+00:00"},
+ "feishu": {"state": "connected", "updated_at": "2026-04-12T00:00:00+00:00"},
+ },
+ },
+ )
+ monkeypatch.setattr(web_server, "check_config_version", lambda: (1, 1))
+ monkeypatch.setattr(gateway_config, "load_gateway_config", lambda: _GatewayConfig())
+
+ resp = self.client.get("/api/status")
+
+ assert resp.status_code == 200
+ assert resp.json()["gateway_platforms"] == {
+ "telegram": {"state": "connected", "updated_at": "2026-04-12T00:00:00+00:00"},
+ }
+
+ def test_get_status_hides_stale_platforms_when_gateway_not_running(self, monkeypatch):
+ import gateway.config as gateway_config
+ import hermes_cli.web_server as web_server
+
+ class _GatewayConfig:
+ def get_connected_platforms(self):
+ return []
+
+ monkeypatch.setattr(web_server, "get_running_pid", lambda: None)
+ monkeypatch.setattr(
+ web_server,
+ "read_runtime_status",
+ lambda: {
+ "gateway_state": "startup_failed",
+ "updated_at": "2026-04-12T00:00:00+00:00",
+ "platforms": {
+ "whatsapp": {"state": "retrying", "updated_at": "2026-04-12T00:00:00+00:00"},
+ "feishu": {"state": "connected", "updated_at": "2026-04-12T00:00:00+00:00"},
+ },
+ },
+ )
+ monkeypatch.setattr(web_server, "check_config_version", lambda: (1, 1))
+ monkeypatch.setattr(gateway_config, "load_gateway_config", lambda: _GatewayConfig())
+
+ resp = self.client.get("/api/status")
+
+ assert resp.status_code == 200
+ assert resp.json()["gateway_state"] == "startup_failed"
+ assert resp.json()["gateway_platforms"] == {}
+
+ def test_get_config_schema(self):
+ resp = self.client.get("/api/config/schema")
+ assert resp.status_code == 200
+ data = resp.json()
+ assert "fields" in data
+ assert "category_order" in data
+ schema = data["fields"]
+ assert len(schema) > 100 # Should have 150+ fields
+ assert "model" in schema
+ # Verify category_order is a non-empty list
+ assert isinstance(data["category_order"], list)
+ assert len(data["category_order"]) > 0
+ assert "general" in data["category_order"]
+
+ def test_get_config_defaults(self):
+ resp = self.client.get("/api/config/defaults")
+ assert resp.status_code == 200
+ defaults = resp.json()
+ assert "model" in defaults
+
+ def test_get_env_vars(self):
+ resp = self.client.get("/api/env")
+ assert resp.status_code == 200
+ data = resp.json()
+ # Should contain known env var names
+ assert any(k.endswith("_API_KEY") or k.endswith("_TOKEN") for k in data.keys())
+
+ def test_reveal_env_var(self, tmp_path):
+ """POST /api/env/reveal should return the real unredacted value."""
+ from hermes_cli.config import save_env_value
+ from hermes_cli.web_server import _SESSION_TOKEN
+ save_env_value("TEST_REVEAL_KEY", "super-secret-value-12345")
+ resp = self.client.post(
+ "/api/env/reveal",
+ json={"key": "TEST_REVEAL_KEY"},
+ headers={"Authorization": f"Bearer {_SESSION_TOKEN}"},
+ )
+ assert resp.status_code == 200
+ data = resp.json()
+ assert data["key"] == "TEST_REVEAL_KEY"
+ assert data["value"] == "super-secret-value-12345"
+
+ def test_reveal_env_var_not_found(self):
+ """POST /api/env/reveal should 404 for unknown keys."""
+ from hermes_cli.web_server import _SESSION_TOKEN
+ resp = self.client.post(
+ "/api/env/reveal",
+ json={"key": "NONEXISTENT_KEY_XYZ"},
+ headers={"Authorization": f"Bearer {_SESSION_TOKEN}"},
+ )
+ assert resp.status_code == 404
+
+ def test_reveal_env_var_no_token(self, tmp_path):
+ """POST /api/env/reveal without token should return 401."""
+ from hermes_cli.config import save_env_value
+ save_env_value("TEST_REVEAL_NOAUTH", "secret-value")
+ resp = self.client.post(
+ "/api/env/reveal",
+ json={"key": "TEST_REVEAL_NOAUTH"},
+ )
+ assert resp.status_code == 401
+
+ def test_reveal_env_var_bad_token(self, tmp_path):
+ """POST /api/env/reveal with wrong token should return 401."""
+ from hermes_cli.config import save_env_value
+ save_env_value("TEST_REVEAL_BADAUTH", "secret-value")
+ resp = self.client.post(
+ "/api/env/reveal",
+ json={"key": "TEST_REVEAL_BADAUTH"},
+ headers={"Authorization": "Bearer wrong-token-here"},
+ )
+ assert resp.status_code == 401
+
+ def test_session_token_endpoint(self):
+ """GET /api/auth/session-token should return a token."""
+ from hermes_cli.web_server import _SESSION_TOKEN
+ resp = self.client.get("/api/auth/session-token")
+ assert resp.status_code == 200
+ assert resp.json()["token"] == _SESSION_TOKEN
+
+ def test_path_traversal_blocked(self):
+ """Verify URL-encoded path traversal is blocked."""
+ # %2e%2e = ..
+ resp = self.client.get("/%2e%2e/%2e%2e/etc/passwd")
+ # Should return 200 with index.html (SPA fallback), not the actual file
+ assert resp.status_code in (200, 404)
+ if resp.status_code == 200:
+ # Should be the SPA fallback, not the system file
+ assert "root:" not in resp.text
+
+ def test_path_traversal_dotdot_blocked(self):
+ """Direct .. path traversal via encoded sequences."""
+ resp = self.client.get("/%2e%2e/hermes_cli/web_server.py")
+ assert resp.status_code in (200, 404)
+ if resp.status_code == 200:
+ assert "FastAPI" not in resp.text # Should not serve the actual source
+
+
+# ---------------------------------------------------------------------------
+# _build_schema_from_config tests
+# ---------------------------------------------------------------------------
+
+
+class TestBuildSchemaFromConfig:
+ def test_produces_expected_field_count(self):
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ # DEFAULT_CONFIG has ~150+ leaf fields
+ assert len(CONFIG_SCHEMA) > 100
+
+ def test_schema_entries_have_required_fields(self):
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ for key, entry in list(CONFIG_SCHEMA.items())[:10]:
+ assert "type" in entry, f"Missing type for {key}"
+ assert "category" in entry, f"Missing category for {key}"
+
+ def test_overrides_applied(self):
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ # terminal.backend should be a select with options
+ if "terminal.backend" in CONFIG_SCHEMA:
+ entry = CONFIG_SCHEMA["terminal.backend"]
+ assert entry["type"] == "select"
+ assert "options" in entry
+ assert "local" in entry["options"]
+
+ def test_empty_prefix_produces_correct_keys(self):
+ from hermes_cli.web_server import _build_schema_from_config
+ test_config = {"model": "test", "nested": {"key": "val"}}
+ schema = _build_schema_from_config(test_config)
+ assert "model" in schema
+ assert "nested.key" in schema
+
+ def test_top_level_scalars_get_general_category(self):
+ """Top-level scalar fields should be in 'general' category."""
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ assert CONFIG_SCHEMA["model"]["category"] == "general"
+
+ def test_nested_keys_get_parent_category(self):
+ """Nested fields should use the top-level parent as their category."""
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ if "agent.max_turns" in CONFIG_SCHEMA:
+ assert CONFIG_SCHEMA["agent.max_turns"]["category"] == "agent"
+
+ def test_category_merge_applied(self):
+ """Small categories should be merged into larger ones."""
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ categories = {e["category"] for e in CONFIG_SCHEMA.values()}
+ # These should be merged away
+ assert "privacy" not in categories # merged into security
+ assert "context" not in categories # merged into agent
+
+ def test_no_single_field_categories(self):
+ """After merging, no category should have just 1 field."""
+ from hermes_cli.web_server import CONFIG_SCHEMA
+ from collections import Counter
+ cats = Counter(e["category"] for e in CONFIG_SCHEMA.values())
+ for cat, count in cats.items():
+ assert count >= 2, f"Category '{cat}' has only {count} field(s) — should be merged"
+
+
+# ---------------------------------------------------------------------------
+# Config round-trip tests
+# ---------------------------------------------------------------------------
+
+
+class TestConfigRoundTrip:
+ """Verify config survives GET → edit → PUT without data loss."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self):
+ try:
+ from starlette.testclient import TestClient
+ except ImportError:
+ pytest.skip("fastapi/starlette not installed")
+ from hermes_cli.web_server import app
+ self.client = TestClient(app)
+
+ def test_get_config_no_internal_keys(self):
+ """GET /api/config should not expose _config_version or _model_meta."""
+ config = self.client.get("/api/config").json()
+ internal = [k for k in config if k.startswith("_")]
+ assert not internal, f"Internal keys leaked to frontend: {internal}"
+
+ def test_get_config_model_is_string(self):
+ """GET /api/config should normalize model dict to a string."""
+ config = self.client.get("/api/config").json()
+ assert isinstance(config.get("model"), str), \
+ f"model should be string, got {type(config.get('model'))}"
+
+ def test_round_trip_preserves_model_subkeys(self):
+ """Save and reload should not lose model.provider, model.base_url, etc."""
+ from hermes_cli.config import load_config, save_config
+
+ # Set up a config with model as a dict (the common user config form)
+ save_config({
+ "model": {
+ "default": "anthropic/claude-sonnet-4",
+ "provider": "openrouter",
+ "base_url": "https://openrouter.ai/api/v1",
+ "api_mode": "openai",
+ }
+ })
+
+ before = load_config()
+ assert isinstance(before.get("model"), dict)
+ original_keys = set(before["model"].keys())
+
+ # GET → PUT unchanged
+ web_config = self.client.get("/api/config").json()
+ assert isinstance(web_config.get("model"), str), "GET should normalize model to string"
+
+ self.client.put("/api/config", json={"config": web_config})
+
+ after = load_config()
+ assert isinstance(after.get("model"), dict), "model should still be a dict after save"
+ assert set(after["model"].keys()) >= original_keys, \
+ f"Lost model subkeys: {original_keys - set(after['model'].keys())}"
+
+ def test_edit_model_name_preserved(self):
+ """Changing the model string should update model.default on disk."""
+ from hermes_cli.config import load_config
+
+ web_config = self.client.get("/api/config").json()
+ original_model = web_config["model"]
+
+ # Change model
+ web_config["model"] = "test/editing-model"
+ self.client.put("/api/config", json={"config": web_config})
+
+ after = load_config()
+ if isinstance(after.get("model"), dict):
+ assert after["model"]["default"] == "test/editing-model"
+ else:
+ assert after["model"] == "test/editing-model"
+
+ # Restore
+ web_config["model"] = original_model
+ self.client.put("/api/config", json={"config": web_config})
+
+ def test_edit_nested_value(self):
+ """Editing a nested config value should persist correctly."""
+ from hermes_cli.config import load_config
+
+ web_config = self.client.get("/api/config").json()
+ original_turns = web_config.get("agent", {}).get("max_turns")
+
+ # Change max_turns
+ if "agent" not in web_config:
+ web_config["agent"] = {}
+ web_config["agent"]["max_turns"] = 42
+
+ self.client.put("/api/config", json={"config": web_config})
+
+ after = load_config()
+ assert after.get("agent", {}).get("max_turns") == 42
+
+ # Restore
+ web_config["agent"]["max_turns"] = original_turns
+ self.client.put("/api/config", json={"config": web_config})
+
+ def test_schema_types_match_config_values(self):
+ """Every schema field should have a matching-type value in the config."""
+ config = self.client.get("/api/config").json()
+ schema_resp = self.client.get("/api/config/schema").json()
+ schema = schema_resp["fields"]
+
+ def get_nested(obj, path):
+ parts = path.split(".")
+ cur = obj
+ for p in parts:
+ if cur is None or not isinstance(cur, dict):
+ return None
+ cur = cur.get(p)
+ return cur
+
+ mismatches = []
+ for key, entry in schema.items():
+ val = get_nested(config, key)
+ if val is None:
+ continue # not set in user config — fine
+ expected = entry["type"]
+ if expected in ("string", "select") and not isinstance(val, str):
+ mismatches.append(f"{key}: expected str, got {type(val).__name__}")
+ elif expected == "number" and not isinstance(val, (int, float)):
+ mismatches.append(f"{key}: expected number, got {type(val).__name__}")
+ elif expected == "boolean" and not isinstance(val, bool):
+ mismatches.append(f"{key}: expected bool, got {type(val).__name__}")
+ elif expected == "list" and not isinstance(val, list):
+ mismatches.append(f"{key}: expected list, got {type(val).__name__}")
+ assert not mismatches, f"Type mismatches:\n" + "\n".join(mismatches)
+
+
+# ---------------------------------------------------------------------------
+# New feature endpoint tests
+# ---------------------------------------------------------------------------
+
+
+class TestNewEndpoints:
+ """Tests for session detail, logs, cron, skills, tools, raw config, analytics."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self):
+ try:
+ from starlette.testclient import TestClient
+ except ImportError:
+ pytest.skip("fastapi/starlette not installed")
+ from hermes_cli.web_server import app
+ self.client = TestClient(app)
+
+ def test_get_logs_default(self):
+ resp = self.client.get("/api/logs")
+ assert resp.status_code == 200
+ data = resp.json()
+ assert "file" in data
+ assert "lines" in data
+ assert isinstance(data["lines"], list)
+
+ def test_get_logs_invalid_file(self):
+ resp = self.client.get("/api/logs?file=nonexistent")
+ assert resp.status_code == 400
+
+ def test_cron_list(self):
+ resp = self.client.get("/api/cron/jobs")
+ assert resp.status_code == 200
+ assert isinstance(resp.json(), list)
+
+ def test_cron_job_not_found(self):
+ resp = self.client.get("/api/cron/jobs/nonexistent-id")
+ assert resp.status_code == 404
+
+ def test_skills_list(self):
+ resp = self.client.get("/api/skills")
+ assert resp.status_code == 200
+ skills = resp.json()
+ assert isinstance(skills, list)
+ if skills:
+ assert "name" in skills[0]
+ assert "enabled" in skills[0]
+
+ def test_skills_list_includes_disabled_skills(self, monkeypatch):
+ import tools.skills_tool as skills_tool
+ import hermes_cli.skills_config as skills_config
+ import hermes_cli.web_server as web_server
+
+ def _fake_find_all_skills(*, skip_disabled=False):
+ if skip_disabled:
+ return [
+ {"name": "active-skill", "description": "active", "category": "demo"},
+ {"name": "disabled-skill", "description": "disabled", "category": "demo"},
+ ]
+ return [
+ {"name": "active-skill", "description": "active", "category": "demo"},
+ ]
+
+ monkeypatch.setattr(skills_tool, "_find_all_skills", _fake_find_all_skills)
+ monkeypatch.setattr(skills_config, "get_disabled_skills", lambda config: {"disabled-skill"})
+ monkeypatch.setattr(web_server, "load_config", lambda: {"skills": {"disabled": ["disabled-skill"]}})
+
+ resp = self.client.get("/api/skills")
+
+ assert resp.status_code == 200
+ assert resp.json() == [
+ {
+ "name": "active-skill",
+ "description": "active",
+ "category": "demo",
+ "enabled": True,
+ },
+ {
+ "name": "disabled-skill",
+ "description": "disabled",
+ "category": "demo",
+ "enabled": False,
+ },
+ ]
+
+ def test_toolsets_list(self):
+ resp = self.client.get("/api/tools/toolsets")
+ assert resp.status_code == 200
+ toolsets = resp.json()
+ assert isinstance(toolsets, list)
+ if toolsets:
+ assert "name" in toolsets[0]
+ assert "label" in toolsets[0]
+ assert "enabled" in toolsets[0]
+
+ def test_toolsets_list_matches_cli_enabled_state(self, monkeypatch):
+ import hermes_cli.tools_config as tools_config
+ import toolsets as toolsets_module
+ import hermes_cli.web_server as web_server
+
+ monkeypatch.setattr(
+ tools_config,
+ "_get_effective_configurable_toolsets",
+ lambda: [
+ ("web", "🔍 Web Search & Scraping", "web_search, web_extract"),
+ ("skills", "📚 Skills", "list, view, manage"),
+ ("memory", "💾 Memory", "persistent memory across sessions"),
+ ],
+ )
+ monkeypatch.setattr(
+ tools_config,
+ "_get_platform_tools",
+ lambda config, platform, include_default_mcp_servers=False: {"web", "skills"},
+ )
+ monkeypatch.setattr(
+ tools_config,
+ "_toolset_has_keys",
+ lambda ts_key, config=None: ts_key != "web",
+ )
+ monkeypatch.setattr(
+ toolsets_module,
+ "resolve_toolset",
+ lambda name: {
+ "web": ["web_search", "web_extract"],
+ "skills": ["skills_list", "skill_view"],
+ "memory": ["memory_read"],
+ }[name],
+ )
+ monkeypatch.setattr(web_server, "load_config", lambda: {"platform_toolsets": {"cli": ["web", "skills"]}})
+
+ resp = self.client.get("/api/tools/toolsets")
+
+ assert resp.status_code == 200
+ assert resp.json() == [
+ {
+ "name": "web",
+ "label": "🔍 Web Search & Scraping",
+ "description": "web_search, web_extract",
+ "enabled": True,
+ "available": True,
+ "configured": False,
+ "tools": ["web_extract", "web_search"],
+ },
+ {
+ "name": "skills",
+ "label": "📚 Skills",
+ "description": "list, view, manage",
+ "enabled": True,
+ "available": True,
+ "configured": True,
+ "tools": ["skill_view", "skills_list"],
+ },
+ {
+ "name": "memory",
+ "label": "💾 Memory",
+ "description": "persistent memory across sessions",
+ "enabled": False,
+ "available": False,
+ "configured": True,
+ "tools": ["memory_read"],
+ },
+ ]
+
+ def test_config_raw_get(self):
+ resp = self.client.get("/api/config/raw")
+ assert resp.status_code == 200
+ assert "yaml" in resp.json()
+
+ def test_config_raw_put_valid(self):
+ resp = self.client.put(
+ "/api/config/raw",
+ json={"yaml_text": "model: test\ntoolsets:\n - all\n"},
+ )
+ assert resp.status_code == 200
+ assert resp.json()["ok"] is True
+
+ def test_config_raw_put_invalid(self):
+ resp = self.client.put(
+ "/api/config/raw",
+ json={"yaml_text": "- this is a list not a dict"},
+ )
+ assert resp.status_code == 400
+
+ def test_analytics_usage(self):
+ resp = self.client.get("/api/analytics/usage?days=7")
+ assert resp.status_code == 200
+ data = resp.json()
+ assert "daily" in data
+ assert "by_model" in data
+ assert "totals" in data
+ assert isinstance(data["daily"], list)
+ assert "total_sessions" in data["totals"]
+
+ def test_session_token_endpoint(self):
+ from hermes_cli.web_server import _SESSION_TOKEN
+ resp = self.client.get("/api/auth/session-token")
+ assert resp.status_code == 200
+ assert resp.json()["token"] == _SESSION_TOKEN
diff --git a/web/README.md b/web/README.md
new file mode 100644
index 000000000..d8127f96e
--- /dev/null
+++ b/web/README.md
@@ -0,0 +1,48 @@
+# Hermes Agent — Web UI
+
+Browser-based dashboard for managing Hermes Agent configuration, API keys, and monitoring active sessions.
+
+## Stack
+
+- **Vite** + **React 19** + **TypeScript**
+- **Tailwind CSS v4** with custom dark theme
+- **shadcn/ui**-style components (hand-rolled, no CLI dependency)
+
+## Development
+
+```bash
+# Start the backend API server
+cd ../
+python -m hermes_cli.main web --no-open
+
+# In another terminal, start the Vite dev server (with HMR + API proxy)
+cd web/
+npm run dev
+```
+
+The Vite dev server proxies `/api` requests to `http://127.0.0.1:9119` (the FastAPI backend).
+
+## Build
+
+```bash
+npm run build
+```
+
+This outputs to `../hermes_cli/web_dist/`, which the FastAPI server serves as a static SPA. The built assets are included in the Python package via `pyproject.toml` package-data.
+
+## Structure
+
+```
+src/
+├── components/ui/ # Reusable UI primitives (Card, Badge, Button, Input, etc.)
+├── lib/
+│ ├── api.ts # API client — typed fetch wrappers for all backend endpoints
+│ └── utils.ts # cn() helper for Tailwind class merging
+├── pages/
+│ ├── StatusPage # Agent status, active/recent sessions
+│ ├── ConfigPage # Dynamic config editor (reads schema from backend)
+│ └── EnvPage # API key management with save/clear
+├── App.tsx # Main layout and navigation
+├── main.tsx # React entry point
+└── index.css # Tailwind imports and theme variables
+```
diff --git a/web/eslint.config.js b/web/eslint.config.js
new file mode 100644
index 000000000..5e6b472f5
--- /dev/null
+++ b/web/eslint.config.js
@@ -0,0 +1,23 @@
+import js from '@eslint/js'
+import globals from 'globals'
+import reactHooks from 'eslint-plugin-react-hooks'
+import reactRefresh from 'eslint-plugin-react-refresh'
+import tseslint from 'typescript-eslint'
+import { defineConfig, globalIgnores } from 'eslint/config'
+
+export default defineConfig([
+ globalIgnores(['dist']),
+ {
+ files: ['**/*.{ts,tsx}'],
+ extends: [
+ js.configs.recommended,
+ tseslint.configs.recommended,
+ reactHooks.configs.flat.recommended,
+ reactRefresh.configs.vite,
+ ],
+ languageOptions: {
+ ecmaVersion: 2020,
+ globals: globals.browser,
+ },
+ },
+])
diff --git a/web/index.html b/web/index.html
new file mode 100644
index 000000000..c9f0d18e1
--- /dev/null
+++ b/web/index.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+ Hermes Agent
+
+
+
+
+
+
diff --git a/web/package-lock.json b/web/package-lock.json
new file mode 100644
index 000000000..d9aa7a951
--- /dev/null
+++ b/web/package-lock.json
@@ -0,0 +1,3835 @@
+{
+ "name": "web",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "web",
+ "version": "0.0.0",
+ "dependencies": {
+ "@tailwindcss/vite": "^4.2.1",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "lucide-react": "^0.577.0",
+ "react": "^19.2.4",
+ "react-dom": "^19.2.4",
+ "tailwind-merge": "^3.5.0",
+ "tailwindcss": "^4.2.1"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@types/node": "^24.12.0",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^5.2.0",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "typescript": "~5.9.3",
+ "typescript-eslint": "^8.56.1",
+ "vite": "^7.3.1"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-validator-option": "^7.27.1",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz",
+ "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.6.tgz",
+ "integrity": "sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.0.tgz",
+ "integrity": "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.0"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
+ "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",
+ "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.4.tgz",
+ "integrity": "sha512-cQPwL2mp2nSmHHJlCyoXgHGhbEPMrEEU5xhkcy3Hs/O7nGZqEpZ2sUtLaL9MORLtDfRvVl2/3PAuEkYZH0Ty8Q==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.4.tgz",
+ "integrity": "sha512-X9bUgvxiC8CHAGKYufLIHGXPJWnr0OCdR0anD2e21vdvgCI8lIfqFbnoeOz7lBjdrAGUhqLZLcQo6MLhTO2DKQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.4.tgz",
+ "integrity": "sha512-gdLscB7v75wRfu7QSm/zg6Rx29VLdy9eTr2t44sfTW7CxwAtQghZ4ZnqHk3/ogz7xao0QAgrkradbBzcqFPasw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.4.tgz",
+ "integrity": "sha512-PzPFnBNVF292sfpfhiyiXCGSn9HZg5BcAz+ivBuSsl6Rk4ga1oEXAamhOXRFyMcjwr2DVtm40G65N3GLeH1Lvw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.4.tgz",
+ "integrity": "sha512-b7xaGIwdJlht8ZFCvMkpDN6uiSmnxxK56N2GDTMYPr2/gzvfdQN8rTfBsvVKmIVY/X7EM+/hJKEIbbHs9oA4tQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.4.tgz",
+ "integrity": "sha512-sR+OiKLwd15nmCdqpXMnuJ9W2kpy0KigzqScqHI3Hqwr7IXxBp3Yva+yJwoqh7rE8V77tdoheRYataNKL4QrPw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.4.tgz",
+ "integrity": "sha512-jnfpKe+p79tCnm4GVav68A7tUFeKQwQyLgESwEAUzyxk/TJr4QdGog9sqWNcUbr/bZt/O/HXouspuQDd9JxFSw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.4.tgz",
+ "integrity": "sha512-2kb4ceA/CpfUrIcTUl1wrP/9ad9Atrp5J94Lq69w7UwOMolPIGrfLSvAKJp0RTvkPPyn6CIWrNy13kyLikZRZQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.4.tgz",
+ "integrity": "sha512-aBYgcIxX/wd5n2ys0yESGeYMGF+pv6g0DhZr3G1ZG4jMfruU9Tl1i2Z+Wnj9/KjGz1lTLCcorqE2viePZqj4Eg==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.4.tgz",
+ "integrity": "sha512-7nQOttdzVGth1iz57kxg9uCz57dxQLHWxopL6mYuYthohPKEK0vU0C3O21CcBK6KDlkYVcnDXY099HcCDXd9dA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.4.tgz",
+ "integrity": "sha512-oPtixtAIzgvzYcKBQM/qZ3R+9TEUd1aNJQu0HhGyqtx6oS7qTpvjheIWBbes4+qu1bNlo2V4cbkISr8q6gRBFA==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.4.tgz",
+ "integrity": "sha512-8mL/vh8qeCoRcFH2nM8wm5uJP+ZcVYGGayMavi8GmRJjuI3g1v6Z7Ni0JJKAJW+m0EtUuARb6Lmp4hMjzCBWzA==",
+ "cpu": [
+ "loong64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.4.tgz",
+ "integrity": "sha512-1RdrWFFiiLIW7LQq9Q2NES+HiD4NyT8Itj9AUeCl0IVCA459WnPhREKgwrpaIfTOe+/2rdntisegiPWn/r/aAw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.4.tgz",
+ "integrity": "sha512-tLCwNG47l3sd9lpfyx9LAGEGItCUeRCWeAx6x2Jmbav65nAwoPXfewtAdtbtit/pJFLUWOhpv0FpS6GQAmPrHA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.4.tgz",
+ "integrity": "sha512-BnASypppbUWyqjd1KIpU4AUBiIhVr6YlHx/cnPgqEkNoVOhHg+YiSVxM1RLfiy4t9cAulbRGTNCKOcqHrEQLIw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.4.tgz",
+ "integrity": "sha512-+eUqgb/Z7vxVLezG8bVB9SfBie89gMueS+I0xYh2tJdw3vqA/0ImZJ2ROeWwVJN59ihBeZ7Tu92dF/5dy5FttA==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.4.tgz",
+ "integrity": "sha512-S5qOXrKV8BQEzJPVxAwnryi2+Iq5pB40gTEIT69BQONqR7JH1EPIcQ/Uiv9mCnn05jff9umq/5nqzxlqTOg9NA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.4.tgz",
+ "integrity": "sha512-xHT8X4sb0GS8qTqiwzHqpY00C95DPAq7nAwX35Ie/s+LO9830hrMd3oX0ZMKLvy7vsonee73x0lmcdOVXFzd6Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.4.tgz",
+ "integrity": "sha512-RugOvOdXfdyi5Tyv40kgQnI0byv66BFgAqjdgtAKqHoZTbTF2QqfQrFwa7cHEORJf6X2ht+l9ABLMP0dnKYsgg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.4.tgz",
+ "integrity": "sha512-2MyL3IAaTX+1/qP0O1SwskwcwCoOI4kV2IBX1xYnDDqthmq5ArrW94qSIKCAuRraMgPOmG0RDTA74mzYNQA9ow==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.4.tgz",
+ "integrity": "sha512-u8fg/jQ5aQDfsnIV6+KwLOf1CmJnfu1ShpwqdwC0uA7ZPwFws55Ngc12vBdeUdnuWoQYx/SOQLGDcdlfXhYmXQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.4.tgz",
+ "integrity": "sha512-JkTZrl6VbyO8lDQO3yv26nNr2RM2yZzNrNHEsj9bm6dOwwu9OYN28CjzZkH57bh4w0I2F7IodpQvUAEd1mbWXg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.4.tgz",
+ "integrity": "sha512-/gOzgaewZJfeJTlsWhvUEmUG4tWEY2Spp5M20INYRg2ZKl9QPO3QEEgPeRtLjEWSW8FilRNacPOg8R1uaYkA6g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.4.tgz",
+ "integrity": "sha512-Z9SExBg2y32smoDQdf1HRwHRt6vAHLXcxD2uGgO/v2jK7Y718Ix4ndsbNMU/+1Qiem9OiOdaqitioZwxivhXYg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.4.tgz",
+ "integrity": "sha512-DAyGLS0Jz5G5iixEbMHi5KdiApqHBWMGzTtMiJ72ZOLhbu/bzxgAe8Ue8CTS3n3HbIUHQz/L51yMdGMeoxXNJw==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.4.tgz",
+ "integrity": "sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
+ "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
+ "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.7",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
+ "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.14.0",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.1",
+ "minimatch": "^3.1.5",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
+ "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.7",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz",
+ "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-rc.3",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.3.tgz",
+ "integrity": "sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz",
+ "integrity": "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz",
+ "integrity": "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz",
+ "integrity": "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz",
+ "integrity": "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz",
+ "integrity": "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz",
+ "integrity": "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz",
+ "integrity": "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz",
+ "integrity": "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz",
+ "integrity": "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz",
+ "integrity": "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz",
+ "integrity": "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==",
+ "cpu": [
+ "loong64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz",
+ "integrity": "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz",
+ "integrity": "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz",
+ "integrity": "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz",
+ "integrity": "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz",
+ "integrity": "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz",
+ "integrity": "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz",
+ "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz",
+ "integrity": "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz",
+ "integrity": "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz",
+ "integrity": "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz",
+ "integrity": "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz",
+ "integrity": "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz",
+ "integrity": "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz",
+ "integrity": "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.1.tgz",
+ "integrity": "sha512-jlx6sLk4EOwO6hHe1oCGm1Q4AN/s0rSrTTPBGPM0/RQ6Uylwq17FuU8IeJJKEjtc6K6O07zsvP+gDO6MMWo7pg==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "^5.19.0",
+ "jiti": "^2.6.1",
+ "lightningcss": "1.31.1",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.2.1"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.1.tgz",
+ "integrity": "sha512-yv9jeEFWnjKCI6/T3Oq50yQEOqmpmpfzG1hcZsAOaXFQPfzWprWrlHSdGPEF3WQTi8zu8ohC9Mh9J470nT5pUw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.2.1",
+ "@tailwindcss/oxide-darwin-arm64": "4.2.1",
+ "@tailwindcss/oxide-darwin-x64": "4.2.1",
+ "@tailwindcss/oxide-freebsd-x64": "4.2.1",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.1",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.2.1",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.2.1",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.2.1",
+ "@tailwindcss/oxide-linux-x64-musl": "4.2.1",
+ "@tailwindcss/oxide-wasm32-wasi": "4.2.1",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.2.1",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.2.1"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.1.tgz",
+ "integrity": "sha512-eZ7G1Zm5EC8OOKaesIKuw77jw++QJ2lL9N+dDpdQiAB/c/B2wDh0QPFHbkBVrXnwNugvrbJFk1gK2SsVjwWReg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.1.tgz",
+ "integrity": "sha512-q/LHkOstoJ7pI1J0q6djesLzRvQSIfEto148ppAd+BVQK0JYjQIFSK3JgYZJa+Yzi0DDa52ZsQx2rqytBnf8Hw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.1.tgz",
+ "integrity": "sha512-/f/ozlaXGY6QLbpvd/kFTro2l18f7dHKpB+ieXz+Cijl4Mt9AI2rTrpq7V+t04nK+j9XBQHnSMdeQRhbGyt6fw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.1.tgz",
+ "integrity": "sha512-5e/AkgYJT/cpbkys/OU2Ei2jdETCLlifwm7ogMC7/hksI2fC3iiq6OcXwjibcIjPung0kRtR3TxEITkqgn0TcA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.1.tgz",
+ "integrity": "sha512-Uny1EcVTTmerCKt/1ZuKTkb0x8ZaiuYucg2/kImO5A5Y/kBz41/+j0gxUZl+hTF3xkWpDmHX+TaWhOtba2Fyuw==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.1.tgz",
+ "integrity": "sha512-CTrwomI+c7n6aSSQlsPL0roRiNMDQ/YzMD9EjcR+H4f0I1SQ8QqIuPnsVp7QgMkC1Qi8rtkekLkOFjo7OlEFRQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.1.tgz",
+ "integrity": "sha512-WZA0CHRL/SP1TRbA5mp9htsppSEkWuQ4KsSUumYQnyl8ZdT39ntwqmz4IUHGN6p4XdSlYfJwM4rRzZLShHsGAQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.1.tgz",
+ "integrity": "sha512-qMFzxI2YlBOLW5PhblzuSWlWfwLHaneBE0xHzLrBgNtqN6mWfs+qYbhryGSXQjFYB1Dzf5w+LN5qbUTPhW7Y5g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.1.tgz",
+ "integrity": "sha512-5r1X2FKnCMUPlXTWRYpHdPYUY6a1Ar/t7P24OuiEdEOmms5lyqjDRvVY1yy9Rmioh+AunQ0rWiOTPE8F9A3v5g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.1.tgz",
+ "integrity": "sha512-MGFB5cVPvshR85MTJkEvqDUnuNoysrsRxd6vnk1Lf2tbiqNlXpHYZqkqOQalydienEWOHHFyyuTSYRsLfxFJ2Q==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.8.1",
+ "@emnapi/runtime": "^1.8.1",
+ "@emnapi/wasi-threads": "^1.1.0",
+ "@napi-rs/wasm-runtime": "^1.1.1",
+ "@tybys/wasm-util": "^0.10.1",
+ "tslib": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.1.tgz",
+ "integrity": "sha512-YlUEHRHBGnCMh4Nj4GnqQyBtsshUPdiNroZj8VPkvTZSoHsilRCwXcVKnG9kyi0ZFAS/3u+qKHBdDc81SADTRA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.1.tgz",
+ "integrity": "sha512-rbO34G5sMWWyrN/idLeVxAZgAKWrn5LiR3/I90Q9MkA67s6T1oB0xtTe+0heoBvHSpbU9Mk7i6uwJnpo4u21XQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/vite": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.2.1.tgz",
+ "integrity": "sha512-TBf2sJjYeb28jD2U/OhwdW0bbOsxkWPwQ7SrqGf9sVcoYwZj7rkXljroBO9wKBut9XnmQLXanuDUeqQK0lGg/w==",
+ "license": "MIT",
+ "dependencies": {
+ "@tailwindcss/node": "4.2.1",
+ "@tailwindcss/oxide": "4.2.1",
+ "tailwindcss": "4.2.1"
+ },
+ "peerDependencies": {
+ "vite": "^5.2.0 || ^6 || ^7"
+ }
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.27.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
+ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.2"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.12.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
+ "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.16.0"
+ }
+ },
+ "node_modules/@types/react": {
+ "version": "19.2.14",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
+ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
+ "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^19.2.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.0.tgz",
+ "integrity": "sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.12.2",
+ "@typescript-eslint/scope-manager": "8.57.0",
+ "@typescript-eslint/type-utils": "8.57.0",
+ "@typescript-eslint/utils": "8.57.0",
+ "@typescript-eslint/visitor-keys": "8.57.0",
+ "ignore": "^7.0.5",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.4.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.57.0",
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.0.tgz",
+ "integrity": "sha512-XZzOmihLIr8AD1b9hL9ccNMzEMWt/dE2u7NyTY9jJG6YNiNthaD5XtUHVF2uCXZ15ng+z2hT3MVuxnUYhq6k1g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.57.0",
+ "@typescript-eslint/types": "8.57.0",
+ "@typescript-eslint/typescript-estree": "8.57.0",
+ "@typescript-eslint/visitor-keys": "8.57.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.0.tgz",
+ "integrity": "sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.57.0",
+ "@typescript-eslint/types": "^8.57.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.0.tgz",
+ "integrity": "sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.0",
+ "@typescript-eslint/visitor-keys": "8.57.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.0.tgz",
+ "integrity": "sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.0.tgz",
+ "integrity": "sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.0",
+ "@typescript-eslint/typescript-estree": "8.57.0",
+ "@typescript-eslint/utils": "8.57.0",
+ "debug": "^4.4.3",
+ "ts-api-utils": "^2.4.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.0.tgz",
+ "integrity": "sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.0.tgz",
+ "integrity": "sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.57.0",
+ "@typescript-eslint/tsconfig-utils": "8.57.0",
+ "@typescript-eslint/types": "8.57.0",
+ "@typescript-eslint/visitor-keys": "8.57.0",
+ "debug": "^4.4.3",
+ "minimatch": "^10.2.2",
+ "semver": "^7.7.3",
+ "tinyglobby": "^0.2.15",
+ "ts-api-utils": "^2.4.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
+ "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "10.2.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.0.tgz",
+ "integrity": "sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.9.1",
+ "@typescript-eslint/scope-manager": "8.57.0",
+ "@typescript-eslint/types": "8.57.0",
+ "@typescript-eslint/typescript-estree": "8.57.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.0.tgz",
+ "integrity": "sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.0",
+ "eslint-visitor-keys": "^5.0.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^20.19.0 || ^22.13.0 || >=24"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.2.0.tgz",
+ "integrity": "sha512-YmKkfhOAi3wsB1PhJq5Scj3GXMn3WvtQ/JC0xoopuHoXSdmtdStOpFrYaT1kie2YgFBcIe64ROzMYRjCrYOdYw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.29.0",
+ "@babel/plugin-transform-react-jsx-self": "^7.27.1",
+ "@babel/plugin-transform-react-jsx-source": "^7.27.1",
+ "@rolldown/pluginutils": "1.0.0-rc.3",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.18.0"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.16.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
+ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
+ "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.10.7",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.7.tgz",
+ "integrity": "sha512-1ghYO3HnxGec0TCGBXiDLVns4eCSx4zJpxnHrlqFQajmhfKMQBzUGDdkMK7fUW7PTHTeLf+j87aTuKuuwWzMGw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.28.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
+ "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.9.0",
+ "caniuse-lite": "^1.0.30001759",
+ "electron-to-chromium": "^1.5.263",
+ "node-releases": "^2.0.27",
+ "update-browserslist-db": "^1.2.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001778",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001778.tgz",
+ "integrity": "sha512-PN7uxFL+ExFJO61aVmP1aIEG4i9whQd4eoSCebav62UwDyp5OHh06zN4jqKSMePVgxHifCw1QJxdRkA1Pisekg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/class-variance-authority": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
+ "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "clsx": "^2.1.1"
+ },
+ "funding": {
+ "url": "https://polar.sh/cva"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.313",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.313.tgz",
+ "integrity": "sha512-QBMrTWEf00GXZmJyx2lbYD45jpI3TUFnNIzJ5BBc8piGUDwMPa1GV6HJWTZVvY/eiN3fSopl7NRbgGp9sZ9LTA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.20.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz",
+ "integrity": "sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.4.tgz",
+ "integrity": "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.4",
+ "@esbuild/android-arm": "0.27.4",
+ "@esbuild/android-arm64": "0.27.4",
+ "@esbuild/android-x64": "0.27.4",
+ "@esbuild/darwin-arm64": "0.27.4",
+ "@esbuild/darwin-x64": "0.27.4",
+ "@esbuild/freebsd-arm64": "0.27.4",
+ "@esbuild/freebsd-x64": "0.27.4",
+ "@esbuild/linux-arm": "0.27.4",
+ "@esbuild/linux-arm64": "0.27.4",
+ "@esbuild/linux-ia32": "0.27.4",
+ "@esbuild/linux-loong64": "0.27.4",
+ "@esbuild/linux-mips64el": "0.27.4",
+ "@esbuild/linux-ppc64": "0.27.4",
+ "@esbuild/linux-riscv64": "0.27.4",
+ "@esbuild/linux-s390x": "0.27.4",
+ "@esbuild/linux-x64": "0.27.4",
+ "@esbuild/netbsd-arm64": "0.27.4",
+ "@esbuild/netbsd-x64": "0.27.4",
+ "@esbuild/openbsd-arm64": "0.27.4",
+ "@esbuild/openbsd-x64": "0.27.4",
+ "@esbuild/openharmony-arm64": "0.27.4",
+ "@esbuild/sunos-x64": "0.27.4",
+ "@esbuild/win32-arm64": "0.27.4",
+ "@esbuild/win32-ia32": "0.27.4",
+ "@esbuild/win32-x64": "0.27.4"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
+ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.8.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.21.2",
+ "@eslint/config-helpers": "^0.4.2",
+ "@eslint/core": "^0.17.0",
+ "@eslint/eslintrc": "^3.3.5",
+ "@eslint/js": "9.39.4",
+ "@eslint/plugin-kit": "^0.4.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "ajv": "^6.14.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.5",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz",
+ "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.24.4",
+ "@babel/parser": "^7.24.4",
+ "hermes-parser": "^0.25.1",
+ "zod": "^3.25.0 || ^4.0.0",
+ "zod-validation-error": "^3.5.0 || ^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz",
+ "integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": "^9 || ^10"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
+ "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "17.4.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
+ "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "license": "ISC"
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hermes-estree": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",
+ "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/hermes-parser": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",
+ "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.25.1"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/jiti": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",
+ "license": "MIT",
+ "bin": {
+ "jiti": "lib/jiti-cli.mjs"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lightningcss": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.31.1.tgz",
+ "integrity": "sha512-l51N2r93WmGUye3WuFoN5k10zyvrVs0qfKBhyC5ogUQ6Ew6JUSswh78mbSO+IU3nTWsyOArqPCcShdQSadghBQ==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.31.1",
+ "lightningcss-darwin-arm64": "1.31.1",
+ "lightningcss-darwin-x64": "1.31.1",
+ "lightningcss-freebsd-x64": "1.31.1",
+ "lightningcss-linux-arm-gnueabihf": "1.31.1",
+ "lightningcss-linux-arm64-gnu": "1.31.1",
+ "lightningcss-linux-arm64-musl": "1.31.1",
+ "lightningcss-linux-x64-gnu": "1.31.1",
+ "lightningcss-linux-x64-musl": "1.31.1",
+ "lightningcss-win32-arm64-msvc": "1.31.1",
+ "lightningcss-win32-x64-msvc": "1.31.1"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-android-arm64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.31.1.tgz",
+ "integrity": "sha512-HXJF3x8w9nQ4jbXRiNppBCqeZPIAfUo8zE/kOEGbW5NZvGc/K7nMxbhIr+YlFlHW5mpbg/YFPdbnCh1wAXCKFg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-darwin-arm64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.31.1.tgz",
+ "integrity": "sha512-02uTEqf3vIfNMq3h/z2cJfcOXnQ0GRwQrkmPafhueLb2h7mqEidiCzkE4gBMEH65abHRiQvhdcQ+aP0D0g67sg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-darwin-x64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.31.1.tgz",
+ "integrity": "sha512-1ObhyoCY+tGxtsz1lSx5NXCj3nirk0Y0kB/g8B8DT+sSx4G9djitg9ejFnjb3gJNWo7qXH4DIy2SUHvpoFwfTA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-freebsd-x64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.31.1.tgz",
+ "integrity": "sha512-1RINmQKAItO6ISxYgPwszQE1BrsVU5aB45ho6O42mu96UiZBxEXsuQ7cJW4zs4CEodPUioj/QrXW1r9pLUM74A==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.31.1.tgz",
+ "integrity": "sha512-OOCm2//MZJ87CdDK62rZIu+aw9gBv4azMJuA8/KB74wmfS3lnC4yoPHm0uXZ/dvNNHmnZnB8XLAZzObeG0nS1g==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.31.1.tgz",
+ "integrity": "sha512-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.31.1.tgz",
+ "integrity": "sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.31.1.tgz",
+ "integrity": "sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.31.1.tgz",
+ "integrity": "sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.31.1.tgz",
+ "integrity": "sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss/node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.31.1.tgz",
+ "integrity": "sha512-I9aiFrbd7oYHwlnQDqr1Roz+fTz61oDDJX7n9tYF9FJymH1cIN1DtKw3iYt6b8WZgEjoNwVSncwF4wx/ZedMhw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lucide-react": {
+ "version": "0.577.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.577.0.tgz",
+ "integrity": "sha512-4LjoFv2eEPwYDPg/CUdBJQSDfPyzXCRrVW1X7jrx/trgxnxkHFjnVZINbzvzxjN70dxychOfg+FTYwBiS3pQ5A==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.36",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.36.tgz",
+ "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.8",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
+ "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/react": {
+ "version": "19.2.4",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",
+ "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.2.4",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",
+ "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "scheduler": "^0.27.0"
+ },
+ "peerDependencies": {
+ "react": "^19.2.4"
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.18.0",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz",
+ "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.59.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz",
+ "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.8"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.59.0",
+ "@rollup/rollup-android-arm64": "4.59.0",
+ "@rollup/rollup-darwin-arm64": "4.59.0",
+ "@rollup/rollup-darwin-x64": "4.59.0",
+ "@rollup/rollup-freebsd-arm64": "4.59.0",
+ "@rollup/rollup-freebsd-x64": "4.59.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.59.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.59.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.59.0",
+ "@rollup/rollup-linux-arm64-musl": "4.59.0",
+ "@rollup/rollup-linux-loong64-gnu": "4.59.0",
+ "@rollup/rollup-linux-loong64-musl": "4.59.0",
+ "@rollup/rollup-linux-ppc64-gnu": "4.59.0",
+ "@rollup/rollup-linux-ppc64-musl": "4.59.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.59.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.59.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.59.0",
+ "@rollup/rollup-linux-x64-gnu": "4.59.0",
+ "@rollup/rollup-linux-x64-musl": "4.59.0",
+ "@rollup/rollup-openbsd-x64": "4.59.0",
+ "@rollup/rollup-openharmony-arm64": "4.59.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.59.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.59.0",
+ "@rollup/rollup-win32-x64-gnu": "4.59.0",
+ "@rollup/rollup-win32-x64-msvc": "4.59.0",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
+ "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/tailwind-merge": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz",
+ "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.1.tgz",
+ "integrity": "sha512-/tBrSQ36vCleJkAOsy9kbNTgaxvGbyOamC30PRePTQe/o1MFwEKHQk4Cn7BNGaPtjp+PuUrByJehM1hgxfq4sw==",
+ "license": "MIT"
+ },
+ "node_modules/tapable": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz",
+ "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.4.0.tgz",
+ "integrity": "sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.57.0.tgz",
+ "integrity": "sha512-W8GcigEMEeB07xEZol8oJ26rigm3+bfPHxHvwbYUlu1fUDsGuQ7Hiskx5xGW/xM4USc9Ephe3jtv7ZYPQntHeA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.57.0",
+ "@typescript-eslint/parser": "8.57.0",
+ "@typescript-eslint/typescript-estree": "8.57.0",
+ "@typescript-eslint/utils": "8.57.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "7.16.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
+ "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.1.tgz",
+ "integrity": "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==",
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
+ "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-validation-error": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.0 || ^4.0.0"
+ }
+ }
+ }
+}
diff --git a/web/package.json b/web/package.json
new file mode 100644
index 000000000..87dbfdb79
--- /dev/null
+++ b/web/package.json
@@ -0,0 +1,36 @@
+{
+ "name": "web",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "tsc -b && vite build",
+ "lint": "eslint .",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@tailwindcss/vite": "^4.2.1",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "lucide-react": "^0.577.0",
+ "react": "^19.2.4",
+ "react-dom": "^19.2.4",
+ "tailwind-merge": "^3.5.0",
+ "tailwindcss": "^4.2.1"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@types/node": "^24.12.0",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^5.2.0",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "typescript": "~5.9.3",
+ "typescript-eslint": "^8.56.1",
+ "vite": "^7.3.1"
+ }
+}
diff --git a/web/public/favicon.ico b/web/public/favicon.ico
new file mode 100644
index 000000000..7a949324d
Binary files /dev/null and b/web/public/favicon.ico differ
diff --git a/web/public/fonts/Collapse-Bold.woff2 b/web/public/fonts/Collapse-Bold.woff2
new file mode 100644
index 000000000..262321038
Binary files /dev/null and b/web/public/fonts/Collapse-Bold.woff2 differ
diff --git a/web/public/fonts/Collapse-Regular.woff2 b/web/public/fonts/Collapse-Regular.woff2
new file mode 100644
index 000000000..0d2e477cc
Binary files /dev/null and b/web/public/fonts/Collapse-Regular.woff2 differ
diff --git a/web/public/fonts/CourierPrime-Bold.woff2 b/web/public/fonts/CourierPrime-Bold.woff2
new file mode 100644
index 000000000..4f6d5e9c8
Binary files /dev/null and b/web/public/fonts/CourierPrime-Bold.woff2 differ
diff --git a/web/public/fonts/CourierPrime-Regular.woff2 b/web/public/fonts/CourierPrime-Regular.woff2
new file mode 100644
index 000000000..feae1f758
Binary files /dev/null and b/web/public/fonts/CourierPrime-Regular.woff2 differ
diff --git a/web/public/fonts/Mondwest-Regular.woff2 b/web/public/fonts/Mondwest-Regular.woff2
new file mode 100644
index 000000000..02a3658cf
Binary files /dev/null and b/web/public/fonts/Mondwest-Regular.woff2 differ
diff --git a/web/public/fonts/RulesCompressed-Medium.woff2 b/web/public/fonts/RulesCompressed-Medium.woff2
new file mode 100644
index 000000000..1a352536b
Binary files /dev/null and b/web/public/fonts/RulesCompressed-Medium.woff2 differ
diff --git a/web/public/fonts/RulesCompressed-Regular.woff2 b/web/public/fonts/RulesCompressed-Regular.woff2
new file mode 100644
index 000000000..25dabcc97
Binary files /dev/null and b/web/public/fonts/RulesCompressed-Regular.woff2 differ
diff --git a/web/public/fonts/RulesExpanded-Bold.woff2 b/web/public/fonts/RulesExpanded-Bold.woff2
new file mode 100644
index 000000000..d85515dbd
Binary files /dev/null and b/web/public/fonts/RulesExpanded-Bold.woff2 differ
diff --git a/web/public/fonts/RulesExpanded-Regular.woff2 b/web/public/fonts/RulesExpanded-Regular.woff2
new file mode 100644
index 000000000..41e6a49e8
Binary files /dev/null and b/web/public/fonts/RulesExpanded-Regular.woff2 differ
diff --git a/web/src/App.tsx b/web/src/App.tsx
new file mode 100644
index 000000000..6a3073224
--- /dev/null
+++ b/web/src/App.tsx
@@ -0,0 +1,117 @@
+import { useState, useEffect } from "react";
+import { Activity, BarChart3, Clock, FileText, KeyRound, MessageSquare, Package, Settings } from "lucide-react";
+import StatusPage from "@/pages/StatusPage";
+import ConfigPage from "@/pages/ConfigPage";
+import EnvPage from "@/pages/EnvPage";
+import SessionsPage from "@/pages/SessionsPage";
+import LogsPage from "@/pages/LogsPage";
+import AnalyticsPage from "@/pages/AnalyticsPage";
+import CronPage from "@/pages/CronPage";
+import SkillsPage from "@/pages/SkillsPage";
+
+const NAV_ITEMS = [
+ { id: "status", label: "Status", icon: Activity },
+ { id: "sessions", label: "Sessions", icon: MessageSquare },
+ { id: "analytics", label: "Analytics", icon: BarChart3 },
+ { id: "logs", label: "Logs", icon: FileText },
+ { id: "cron", label: "Cron", icon: Clock },
+ { id: "skills", label: "Skills", icon: Package },
+ { id: "config", label: "Config", icon: Settings },
+ { id: "env", label: "Keys", icon: KeyRound },
+] as const;
+
+type PageId = (typeof NAV_ITEMS)[number]["id"];
+
+const PAGE_COMPONENTS: Record = {
+ status: StatusPage,
+ sessions: SessionsPage,
+ analytics: AnalyticsPage,
+ logs: LogsPage,
+ cron: CronPage,
+ skills: SkillsPage,
+ config: ConfigPage,
+ env: EnvPage,
+};
+
+export default function App() {
+ const [page, setPage] = useState("status");
+ const [animKey, setAnimKey] = useState(0);
+
+ useEffect(() => {
+ setAnimKey((k) => k + 1);
+ }, [page]);
+
+ const PageComponent = PAGE_COMPONENTS[page];
+
+ return (
+
+ {/* Global grain + warm glow (matches landing page) */}
+
+
+
+ {/* ---- Header with grid-border nav ---- */}
+
+
+
+
+
+
+ {/* ---- Footer ---- */}
+
+
+ );
+}
diff --git a/web/src/components/AutoField.tsx b/web/src/components/AutoField.tsx
new file mode 100644
index 000000000..67f6739e9
--- /dev/null
+++ b/web/src/components/AutoField.tsx
@@ -0,0 +1,151 @@
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import { Select } from "@/components/ui/select";
+import { Switch } from "@/components/ui/switch";
+
+function FieldHint({ schema, schemaKey }: { schema: Record; schemaKey: string }) {
+ const keyPath = schemaKey.includes(".") ? schemaKey : "";
+ const description = schema.description ? String(schema.description) : "";
+
+ if (!keyPath && !description) return null;
+
+ return (
+
+ {keyPath && {keyPath}}
+ {description && {description}}
+
+ );
+}
+
+export function AutoField({
+ schemaKey,
+ schema,
+ value,
+ onChange,
+}: AutoFieldProps) {
+ const rawLabel = schemaKey.split(".").pop() ?? schemaKey;
+ const label = rawLabel.replace(/_/g, " ").replace(/\b\w/g, (c) => c.toUpperCase());
+
+ if (schema.type === "boolean") {
+ return (
+
+ );
+ }
+
+ if (schema.type === "select") {
+ const options = (schema.options as string[]) ?? [];
+ return (
+
+
+
+
+
+ );
+ }
+
+ if (schema.type === "number") {
+ return (
+
+
+
+ {
+ const raw = e.target.value;
+ if (raw === "") {
+ onChange(0);
+ return;
+ }
+ const n = Number(raw);
+ if (!Number.isNaN(n)) {
+ onChange(n);
+ }
+ }}
+ />
+
+ );
+ }
+
+ if (schema.type === "text") {
+ return (
+
+
+
+
+ );
+ }
+
+ if (schema.type === "list") {
+ return (
+
+
+
+
+ onChange(
+ e.target.value
+ .split(",")
+ .map((s) => s.trim())
+ .filter(Boolean),
+ )
+ }
+ placeholder="comma-separated values"
+ />
+
+ );
+ }
+
+ if (typeof value === "object" && value !== null && !Array.isArray(value)) {
+ const obj = value as Record;
+ return (
+
+
+
+ {Object.entries(obj).map(([subKey, subVal]) => (
+
+
+ onChange({ ...obj, [subKey]: e.target.value })}
+ className="text-xs"
+ />
+
+ ))}
+
+ );
+ }
+
+ return (
+
+
+
+ onChange(e.target.value)} />
+
+ );
+}
+
+interface AutoFieldProps {
+ schemaKey: string;
+ schema: Record;
+ value: unknown;
+ onChange: (v: unknown) => void;
+}
diff --git a/web/src/components/Markdown.tsx b/web/src/components/Markdown.tsx
new file mode 100644
index 000000000..990f5422b
--- /dev/null
+++ b/web/src/components/Markdown.tsx
@@ -0,0 +1,279 @@
+import { useMemo } from "react";
+
+/**
+ * Lightweight markdown renderer for LLM output.
+ * Handles: code blocks, inline code, bold, italic, headers, links, lists, horizontal rules.
+ * NOT a full CommonMark parser — optimized for typical assistant message patterns.
+ */
+export function Markdown({ content, highlightTerms }: { content: string; highlightTerms?: string[] }) {
+ const blocks = useMemo(() => parseBlocks(content), [content]);
+
+ return (
+
+ {blocks.map((block, i) => (
+
+ ))}
+
+ );
+}
+
+/* ------------------------------------------------------------------ */
+/* Types */
+/* ------------------------------------------------------------------ */
+
+type BlockNode =
+ | { type: "code"; lang: string; content: string }
+ | { type: "heading"; level: number; content: string }
+ | { type: "hr" }
+ | { type: "list"; ordered: boolean; items: string[] }
+ | { type: "paragraph"; content: string };
+
+/* ------------------------------------------------------------------ */
+/* Block parser */
+/* ------------------------------------------------------------------ */
+
+function parseBlocks(text: string): BlockNode[] {
+ const lines = text.split("\n");
+ const blocks: BlockNode[] = [];
+ let i = 0;
+
+ while (i < lines.length) {
+ const line = lines[i];
+
+ // Fenced code block
+ const fenceMatch = line.match(/^```(\w*)/);
+ if (fenceMatch) {
+ const lang = fenceMatch[1] || "";
+ const codeLines: string[] = [];
+ i++;
+ while (i < lines.length && !lines[i].startsWith("```")) {
+ codeLines.push(lines[i]);
+ i++;
+ }
+ i++; // skip closing ```
+ blocks.push({ type: "code", lang, content: codeLines.join("\n") });
+ continue;
+ }
+
+ // Heading
+ const headingMatch = line.match(/^(#{1,4})\s+(.+)/);
+ if (headingMatch) {
+ blocks.push({ type: "heading", level: headingMatch[1].length, content: headingMatch[2] });
+ i++;
+ continue;
+ }
+
+ // Horizontal rule
+ if (/^[-*_]{3,}\s*$/.test(line)) {
+ blocks.push({ type: "hr" });
+ i++;
+ continue;
+ }
+
+ // Unordered list
+ if (/^[-*+]\s/.test(line)) {
+ const items: string[] = [];
+ while (i < lines.length && /^[-*+]\s/.test(lines[i])) {
+ items.push(lines[i].replace(/^[-*+]\s/, ""));
+ i++;
+ }
+ blocks.push({ type: "list", ordered: false, items });
+ continue;
+ }
+
+ // Ordered list
+ if (/^\d+[.)]\s/.test(line)) {
+ const items: string[] = [];
+ while (i < lines.length && /^\d+[.)]\s/.test(lines[i])) {
+ items.push(lines[i].replace(/^\d+[.)]\s/, ""));
+ i++;
+ }
+ blocks.push({ type: "list", ordered: true, items });
+ continue;
+ }
+
+ // Empty line
+ if (line.trim() === "") {
+ i++;
+ continue;
+ }
+
+ // Paragraph — collect consecutive non-empty, non-special lines
+ const paraLines: string[] = [];
+ while (
+ i < lines.length &&
+ lines[i].trim() !== "" &&
+ !lines[i].match(/^```/) &&
+ !lines[i].match(/^#{1,4}\s/) &&
+ !lines[i].match(/^[-*+]\s/) &&
+ !lines[i].match(/^\d+[.)]\s/) &&
+ !lines[i].match(/^[-*_]{3,}\s*$/)
+ ) {
+ paraLines.push(lines[i]);
+ i++;
+ }
+ if (paraLines.length > 0) {
+ blocks.push({ type: "paragraph", content: paraLines.join("\n") });
+ }
+ }
+
+ return blocks;
+}
+
+/* ------------------------------------------------------------------ */
+/* Block renderer */
+/* ------------------------------------------------------------------ */
+
+function Block({ block, highlightTerms }: { block: BlockNode; highlightTerms?: string[] }) {
+ switch (block.type) {
+ case "code":
+ return (
+
+ {block.content}
+
+ );
+
+ case "heading": {
+ const Tag = `h${Math.min(block.level, 4)}` as "h1" | "h2" | "h3" | "h4";
+ const sizes: Record = {
+ h1: "text-base font-bold",
+ h2: "text-sm font-bold",
+ h3: "text-sm font-semibold",
+ h4: "text-sm font-medium",
+ };
+ return ;
+ }
+
+ case "hr":
+ return
;
+
+ case "list": {
+ const Tag = block.ordered ? "ol" : "ul";
+ return (
+
+ {block.items.map((item, i) => (
+
+ ))}
+
+ );
+ }
+
+ case "paragraph":
+ return
;
+ }
+}
+
+/* ------------------------------------------------------------------ */
+/* Inline parser + renderer */
+/* ------------------------------------------------------------------ */
+
+type InlineNode =
+ | { type: "text"; content: string }
+ | { type: "code"; content: string }
+ | { type: "bold"; content: string }
+ | { type: "italic"; content: string }
+ | { type: "link"; text: string; href: string }
+ | { type: "br" };
+
+function parseInline(text: string): InlineNode[] {
+ const nodes: InlineNode[] = [];
+ // Pattern priority: code > link > bold > italic > bare URL > line break
+ const pattern = /(`[^`]+`)|(\[([^\]]+)\]\(([^)]+)\))|(\*\*([^*]+)\*\*)|(\*([^*]+)\*)|(\bhttps?:\/\/[^\s<>)\]]+)|(\n)/g;
+ let lastIndex = 0;
+ let match: RegExpExecArray | null;
+
+ while ((match = pattern.exec(text)) !== null) {
+ if (match.index > lastIndex) {
+ nodes.push({ type: "text", content: text.slice(lastIndex, match.index) });
+ }
+
+ if (match[1]) {
+ // Inline code
+ nodes.push({ type: "code", content: match[1].slice(1, -1) });
+ } else if (match[2]) {
+ // [text](url) link
+ nodes.push({ type: "link", text: match[3], href: match[4] });
+ } else if (match[5]) {
+ // **bold**
+ nodes.push({ type: "bold", content: match[6] });
+ } else if (match[7]) {
+ // *italic*
+ nodes.push({ type: "italic", content: match[8] });
+ } else if (match[9]) {
+ // Bare URL
+ nodes.push({ type: "link", text: match[9], href: match[9] });
+ } else if (match[10]) {
+ // Line break within paragraph
+ nodes.push({ type: "br" });
+ }
+
+ lastIndex = match.index + match[0].length;
+ }
+
+ if (lastIndex < text.length) {
+ nodes.push({ type: "text", content: text.slice(lastIndex) });
+ }
+
+ return nodes;
+}
+
+function InlineContent({ text, highlightTerms }: { text: string; highlightTerms?: string[] }) {
+ const nodes = useMemo(() => parseInline(text), [text]);
+
+ return (
+ <>
+ {nodes.map((node, i) => {
+ switch (node.type) {
+ case "text":
+ return ;
+ case "code":
+ return (
+
+ {node.content}
+
+ );
+ case "bold":
+ return ;
+ case "italic":
+ return ;
+ case "link":
+ return (
+
+ {node.text}
+
+ );
+ case "br":
+ return
;
+ }
+ })}
+ >
+ );
+}
+
+/** Highlight search terms within a plain text string. */
+function HighlightedText({ text, terms }: { text: string; terms?: string[] }) {
+ if (!terms || terms.length === 0) return <>{text}>;
+
+ // Build a regex that matches any of the search terms (case-insensitive)
+ const escaped = terms.map((t) => t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
+ const regex = new RegExp(`(${escaped.join("|")})`, "gi");
+ const parts = text.split(regex);
+
+ return (
+ <>
+ {parts.map((part, i) =>
+ regex.test(part) ? (
+ {part}
+ ) : (
+ {part}
+ )
+ )}
+ >
+ );
+}
diff --git a/web/src/components/Toast.tsx b/web/src/components/Toast.tsx
new file mode 100644
index 000000000..f97c5b773
--- /dev/null
+++ b/web/src/components/Toast.tsx
@@ -0,0 +1,36 @@
+import { useEffect, useState } from "react";
+
+export function Toast({ toast }: { toast: { message: string; type: "success" | "error" } | null }) {
+ const [visible, setVisible] = useState(false);
+ const [current, setCurrent] = useState(toast);
+
+ useEffect(() => {
+ if (toast) {
+ setCurrent(toast);
+ setVisible(true);
+ } else {
+ setVisible(false);
+ const timer = setTimeout(() => setCurrent(null), 200);
+ return () => clearTimeout(timer);
+ }
+ }, [toast]);
+
+ if (!current) return null;
+
+ return (
+
+ {current.message}
+
+ );
+}
diff --git a/web/src/components/ui/badge.tsx b/web/src/components/ui/badge.tsx
new file mode 100644
index 000000000..2f180510e
--- /dev/null
+++ b/web/src/components/ui/badge.tsx
@@ -0,0 +1,29 @@
+import { cva, type VariantProps } from "class-variance-authority";
+import { cn } from "@/lib/utils";
+
+const badgeVariants = cva(
+ "inline-flex items-center border px-2 py-0.5 font-compressed text-[0.65rem] tracking-[0.15em] uppercase transition-colors",
+ {
+ variants: {
+ variant: {
+ default: "border-foreground/20 bg-foreground/10 text-foreground",
+ secondary: "border-border bg-secondary text-secondary-foreground",
+ destructive: "border-destructive/30 bg-destructive/15 text-destructive",
+ outline: "border-border text-muted-foreground",
+ success: "grain border-emerald-600/30 bg-emerald-950/70 text-emerald-400",
+ warning: "border-warning/30 bg-warning/15 text-warning",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ },
+);
+
+export function Badge({
+ className,
+ variant,
+ ...props
+}: React.HTMLAttributes & VariantProps) {
+ return ;
+}
diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx
new file mode 100644
index 000000000..38ca71017
--- /dev/null
+++ b/web/src/components/ui/button.tsx
@@ -0,0 +1,38 @@
+import { cva, type VariantProps } from "class-variance-authority";
+import { cn } from "@/lib/utils";
+
+const buttonVariants = cva(
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap font-display text-xs tracking-[0.1em] uppercase transition-colors cursor-pointer"
+ + " disabled:pointer-events-none disabled:opacity-50",
+ {
+ variants: {
+ variant: {
+ default: "bg-foreground/90 text-background hover:bg-foreground",
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
+ outline: "border border-border bg-transparent hover:bg-foreground/10 hover:text-foreground",
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ ghost: "hover:bg-foreground/10 hover:text-foreground",
+ link: "text-foreground underline-offset-4 hover:underline",
+ },
+ size: {
+ default: "h-9 px-4 py-2",
+ sm: "h-8 px-3 text-[0.65rem]",
+ lg: "h-10 px-8",
+ icon: "h-9 w-9",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ size: "default",
+ },
+ },
+);
+
+export function Button({
+ className,
+ variant,
+ size,
+ ...props
+}: React.ButtonHTMLAttributes & VariantProps) {
+ return ;
+}
diff --git a/web/src/components/ui/card.tsx b/web/src/components/ui/card.tsx
new file mode 100644
index 000000000..7ff6a9aec
--- /dev/null
+++ b/web/src/components/ui/card.tsx
@@ -0,0 +1,29 @@
+import { cn } from "@/lib/utils";
+
+export function Card({ className, ...props }: React.HTMLAttributes) {
+ return (
+
+ );
+}
+
+export function CardHeader({ className, ...props }: React.HTMLAttributes) {
+ return ;
+}
+
+export function CardTitle({ className, ...props }: React.HTMLAttributes) {
+ return ;
+}
+
+export function CardDescription({ className, ...props }: React.HTMLAttributes) {
+ return ;
+}
+
+export function CardContent({ className, ...props }: React.HTMLAttributes) {
+ return ;
+}
diff --git a/web/src/components/ui/input.tsx b/web/src/components/ui/input.tsx
new file mode 100644
index 000000000..1e1199e64
--- /dev/null
+++ b/web/src/components/ui/input.tsx
@@ -0,0 +1,16 @@
+import { cn } from "@/lib/utils";
+
+export function Input({ className, ...props }: React.InputHTMLAttributes) {
+ return (
+
+ );
+}
diff --git a/web/src/components/ui/label.tsx b/web/src/components/ui/label.tsx
new file mode 100644
index 000000000..a18b2e5d4
--- /dev/null
+++ b/web/src/components/ui/label.tsx
@@ -0,0 +1,13 @@
+import { cn } from "@/lib/utils";
+
+export function Label({ className, ...props }: React.LabelHTMLAttributes) {
+ return (
+
+ );
+}
diff --git a/web/src/components/ui/select.tsx b/web/src/components/ui/select.tsx
new file mode 100644
index 000000000..0f42ef914
--- /dev/null
+++ b/web/src/components/ui/select.tsx
@@ -0,0 +1,15 @@
+import { cn } from "@/lib/utils";
+
+export function Select({ className, ...props }: React.SelectHTMLAttributes) {
+ return (
+
+ );
+}
diff --git a/web/src/components/ui/separator.tsx b/web/src/components/ui/separator.tsx
new file mode 100644
index 000000000..f432df730
--- /dev/null
+++ b/web/src/components/ui/separator.tsx
@@ -0,0 +1,19 @@
+import { cn } from "@/lib/utils";
+
+export function Separator({
+ className,
+ orientation = "horizontal",
+ ...props
+}: React.HTMLAttributes & { orientation?: "horizontal" | "vertical" }) {
+ return (
+
+ );
+}
diff --git a/web/src/components/ui/switch.tsx b/web/src/components/ui/switch.tsx
new file mode 100644
index 000000000..fe36c7755
--- /dev/null
+++ b/web/src/components/ui/switch.tsx
@@ -0,0 +1,37 @@
+import { cn } from "@/lib/utils";
+
+export function Switch({
+ checked,
+ onCheckedChange,
+ className,
+ disabled,
+}: {
+ checked: boolean;
+ onCheckedChange: (v: boolean) => void;
+ className?: string;
+ disabled?: boolean;
+}) {
+ return (
+
+ );
+}
diff --git a/web/src/components/ui/tabs.tsx b/web/src/components/ui/tabs.tsx
new file mode 100644
index 000000000..039af02f3
--- /dev/null
+++ b/web/src/components/ui/tabs.tsx
@@ -0,0 +1,51 @@
+import { useState } from "react";
+import { cn } from "@/lib/utils";
+
+export function Tabs({
+ defaultValue,
+ children,
+ className,
+}: {
+ defaultValue: string;
+ children: (active: string, setActive: (v: string) => void) => React.ReactNode;
+ className?: string;
+}) {
+ const [active, setActive] = useState(defaultValue);
+ return {children(active, setActive)}
;
+}
+
+export function TabsList({ className, ...props }: React.HTMLAttributes) {
+ return (
+
+ );
+}
+
+export function TabsTrigger({
+ active,
+ value,
+ onClick,
+ className,
+ ...props
+}: React.ButtonHTMLAttributes & { active: boolean; value: string }) {
+ return (
+
+ );
+}
diff --git a/web/src/hooks/useToast.ts b/web/src/hooks/useToast.ts
new file mode 100644
index 000000000..ce82372f4
--- /dev/null
+++ b/web/src/hooks/useToast.ts
@@ -0,0 +1,15 @@
+import { useCallback, useState } from "react";
+
+export function useToast(duration = 3000) {
+ const [toast, setToast] = useState<{ message: string; type: "success" | "error" } | null>(null);
+
+ const showToast = useCallback(
+ (message: string, type: "success" | "error") => {
+ setToast({ message, type });
+ setTimeout(() => setToast(null), duration);
+ },
+ [duration],
+ );
+
+ return { toast, showToast };
+}
diff --git a/web/src/index.css b/web/src/index.css
new file mode 100644
index 000000000..7846e9f90
--- /dev/null
+++ b/web/src/index.css
@@ -0,0 +1,197 @@
+@import "tailwindcss";
+
+/* ------------------------------------------------------------------ */
+/* Hermes Agent — Design tokens */
+/* Matched to hermes-agent.nousresearch.com (dark teal theme) */
+/* ------------------------------------------------------------------ */
+
+/* --- Font faces --- */
+@font-face { font-family: "Collapse"; src: url("/fonts/Collapse-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
+@font-face { font-family: "Collapse"; src: url("/fonts/Collapse-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
+@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
+@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
+@font-face { font-family: "RulesCompressed"; src: url("/fonts/RulesCompressed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
+@font-face { font-family: "RulesCompressed"; src: url("/fonts/RulesCompressed-Medium.woff2") format("woff2"); font-weight: 600; font-display: swap; }
+@font-face { font-family: "RulesExpanded"; src: url("/fonts/RulesExpanded-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
+@font-face { font-family: "RulesExpanded"; src: url("/fonts/RulesExpanded-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
+@font-face { font-family: "Mondwest"; src: url("/fonts/Mondwest-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
+
+@theme {
+ /* ---- Hermes palette (dark teal, from live site) ---- */
+ --color-background: #041C1C;
+ --color-foreground: #ffe6cb;
+ --color-card: #062424;
+ --color-card-foreground: #ffe6cb;
+ --color-primary: #ffe6cb;
+ --color-primary-foreground: #041C1C;
+ --color-secondary: #0a2e2e;
+ --color-secondary-foreground: #ffe6cb;
+ --color-muted: #083030;
+ --color-muted-foreground: #8aaa9a;
+ --color-accent: #0c3838;
+ --color-accent-foreground: #ffe6cb;
+ --color-destructive: #fb2c36;
+ --color-destructive-foreground: #fff;
+ --color-success: #4ade80;
+ --color-warning: #ffbd38;
+ --color-border: color-mix(in srgb, #ffe6cb 15%, transparent);
+ --color-input: color-mix(in srgb, #ffe6cb 15%, transparent);
+ --color-ring: #ffe6cb;
+ --color-popover: #062424;
+ --color-popover-foreground: #ffe6cb;
+
+ /* ---- Font stacks ---- */
+ --font-sans: "Mondwest", Arial, sans-serif;
+ --font-mono: "Courier Prime", "Courier New", monospace;
+ --font-display: "Mondwest", Arial, sans-serif;
+ --font-expanded: "RulesExpanded", Arial, sans-serif;
+ --font-compressed: "RulesCompressed", Arial, sans-serif;
+}
+
+/* ---- Global body ---- */
+body {
+ margin: 0;
+ font-family: "Mondwest", Arial, sans-serif;
+ background: var(--color-background);
+ color: var(--color-foreground);
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ text-rendering: optimizeLegibility;
+}
+
+/* ---- Selection ---- */
+::selection {
+ background: var(--color-foreground);
+ color: var(--color-background);
+}
+
+/* ---- Scrollbars (thin, subtle) ---- */
+* {
+ scrollbar-width: thin;
+ scrollbar-color: transparent transparent;
+}
+*:hover {
+ scrollbar-color: color-mix(in srgb, var(--color-foreground) 15%, transparent) transparent;
+}
+html, body {
+ scrollbar-color: color-mix(in srgb, var(--color-foreground) 25%, transparent) transparent;
+}
+::-webkit-scrollbar { width: 4px; height: 4px; }
+::-webkit-scrollbar-track { background: transparent; }
+::-webkit-scrollbar-thumb {
+ background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
+ border-radius: 2px;
+}
+::-webkit-scrollbar-thumb:hover {
+ background: color-mix(in srgb, var(--color-foreground) 35%, transparent);
+}
+
+/* ---- Hide scrollbar utility ---- */
+.scrollbar-none {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
+.scrollbar-none::-webkit-scrollbar {
+ display: none;
+}
+
+/* ---- Code blocks ---- */
+code {
+ font-family: "Courier Prime", "Courier New", monospace;
+ font-size: 0.85em;
+ padding: 0.15em 0.4em;
+ border-radius: 0;
+ background: color-mix(in srgb, var(--color-foreground) 8%, transparent);
+}
+
+/* ---- Dither texture ---- */
+.dither {
+ background: repeating-conic-gradient(currentColor 0% 25%, #0000 0% 50%) 0 0 / 2px 2px;
+}
+
+/* ---- Blink cursor (only on group hover, like canonical) ---- */
+@keyframes blink {
+ 0%, 100% { opacity: 1; }
+ 50% { opacity: 0; }
+}
+.blink {
+ display: none;
+}
+.group:hover .blink {
+ display: inline-block;
+ animation: blink 1s step-end infinite;
+}
+
+/* ---- Page transitions ---- */
+@keyframes fade-in {
+ from { opacity: 0; transform: translateY(4px); }
+ to { opacity: 1; transform: translateY(0); }
+}
+@keyframes toast-in {
+ from { opacity: 0; transform: translateX(16px); }
+ to { opacity: 1; transform: translateX(0); }
+}
+@keyframes toast-out {
+ from { opacity: 1; transform: translateX(0); }
+ to { opacity: 0; transform: translateX(16px); }
+}
+
+/* ---- Plus-lighter blend for headings ---- */
+.blend-lighter {
+ mix-blend-mode: plus-lighter;
+}
+
+/* ---- Font utilities ---- */
+.font-display { font-family: "Mondwest", Arial, sans-serif; }
+.font-expanded { font-family: "RulesExpanded", Arial, sans-serif; }
+.font-compressed { font-family: "RulesCompressed", Arial, sans-serif; }
+.font-courier { font-family: "Courier Prime", "Courier New", monospace; }
+.font-collapse { font-family: "Collapse", Arial, sans-serif; }
+.font-mono-ui { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace; }
+
+/* ---- Subtle grain overlay for badges ---- */
+.grain {
+ position: relative;
+}
+.grain::after {
+ content: "";
+ position: absolute;
+ inset: 0;
+ opacity: 0.12;
+ pointer-events: none;
+ background: repeating-conic-gradient(currentColor 0% 25%, #0000 0% 50%) 0 0 / 2px 2px;
+}
+
+/* ---- Global noise grain (canonical: color-dodge, #eaeaea, high density) ---- */
+.noise-overlay {
+ pointer-events: none;
+ position: fixed;
+ inset: 0;
+ z-index: 101;
+ mix-blend-mode: color-dodge;
+ opacity: 0.10;
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23eaeaea' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
+ background-size: 512px 512px;
+}
+
+/* ---- Vignette (canonical: top-left amber radial, lighten blend) ---- */
+.warm-glow {
+ pointer-events: none;
+ position: fixed;
+ inset: 0;
+ z-index: 99;
+ mix-blend-mode: lighten;
+ opacity: 0.22;
+ background: radial-gradient(ellipse at 0% 0%, rgba(255,189,56,0.35) 0%, rgba(255,189,56,0) 60%);
+}
+
+/* ---- Reduced motion ---- */
+@media (prefers-reduced-motion: reduce) {
+ *,
+ *::before,
+ *::after {
+ animation-duration: 0.01ms !important;
+ animation-iteration-count: 1 !important;
+ transition-duration: 0.01ms !important;
+ }
+}
diff --git a/web/src/lib/api.ts b/web/src/lib/api.ts
new file mode 100644
index 000000000..8e0340325
--- /dev/null
+++ b/web/src/lib/api.ts
@@ -0,0 +1,260 @@
+const BASE = "";
+
+// Ephemeral session token for protected endpoints (reveal).
+// Fetched once on first reveal request and cached in memory.
+let _sessionToken: string | null = null;
+
+async function fetchJSON(url: string, init?: RequestInit): Promise {
+ const res = await fetch(`${BASE}${url}`, init);
+ if (!res.ok) {
+ const text = await res.text().catch(() => res.statusText);
+ throw new Error(`${res.status}: ${text}`);
+ }
+ return res.json();
+}
+
+async function getSessionToken(): Promise {
+ if (_sessionToken) return _sessionToken;
+ const resp = await fetchJSON<{ token: string }>("/api/auth/session-token");
+ _sessionToken = resp.token;
+ return _sessionToken;
+}
+
+export const api = {
+ getStatus: () => fetchJSON("/api/status"),
+ getSessions: () => fetchJSON("/api/sessions"),
+ getSessionMessages: (id: string) =>
+ fetchJSON(`/api/sessions/${encodeURIComponent(id)}/messages`),
+ deleteSession: (id: string) =>
+ fetchJSON<{ ok: boolean }>(`/api/sessions/${encodeURIComponent(id)}`, {
+ method: "DELETE",
+ }),
+ getLogs: (params: { file?: string; lines?: number; level?: string; component?: string }) => {
+ const qs = new URLSearchParams();
+ if (params.file) qs.set("file", params.file);
+ if (params.lines) qs.set("lines", String(params.lines));
+ if (params.level && params.level !== "ALL") qs.set("level", params.level);
+ if (params.component && params.component !== "all") qs.set("component", params.component);
+ return fetchJSON(`/api/logs?${qs.toString()}`);
+ },
+ getAnalytics: (days: number) =>
+ fetchJSON(`/api/analytics/usage?days=${days}`),
+ getConfig: () => fetchJSON>("/api/config"),
+ getDefaults: () => fetchJSON>("/api/config/defaults"),
+ getSchema: () => fetchJSON<{ fields: Record; category_order: string[] }>("/api/config/schema"),
+ saveConfig: (config: Record) =>
+ fetchJSON<{ ok: boolean }>("/api/config", {
+ method: "PUT",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ config }),
+ }),
+ getConfigRaw: () => fetchJSON<{ yaml: string }>("/api/config/raw"),
+ saveConfigRaw: (yaml_text: string) =>
+ fetchJSON<{ ok: boolean }>("/api/config/raw", {
+ method: "PUT",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ yaml_text }),
+ }),
+ getEnvVars: () => fetchJSON>("/api/env"),
+ setEnvVar: (key: string, value: string) =>
+ fetchJSON<{ ok: boolean }>("/api/env", {
+ method: "PUT",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ key, value }),
+ }),
+ deleteEnvVar: (key: string) =>
+ fetchJSON<{ ok: boolean }>("/api/env", {
+ method: "DELETE",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ key }),
+ }),
+ revealEnvVar: async (key: string) => {
+ const token = await getSessionToken();
+ return fetchJSON<{ key: string; value: string }>("/api/env/reveal", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Authorization: `Bearer ${token}`,
+ },
+ body: JSON.stringify({ key }),
+ });
+ },
+
+ // Cron jobs
+ getCronJobs: () => fetchJSON("/api/cron/jobs"),
+ createCronJob: (job: { prompt: string; schedule: string; name?: string; deliver?: string }) =>
+ fetchJSON("/api/cron/jobs", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(job),
+ }),
+ pauseCronJob: (id: string) =>
+ fetchJSON<{ ok: boolean }>(`/api/cron/jobs/${id}/pause`, { method: "POST" }),
+ resumeCronJob: (id: string) =>
+ fetchJSON<{ ok: boolean }>(`/api/cron/jobs/${id}/resume`, { method: "POST" }),
+ triggerCronJob: (id: string) =>
+ fetchJSON<{ ok: boolean }>(`/api/cron/jobs/${id}/trigger`, { method: "POST" }),
+ deleteCronJob: (id: string) =>
+ fetchJSON<{ ok: boolean }>(`/api/cron/jobs/${id}`, { method: "DELETE" }),
+
+ // Skills & Toolsets
+ getSkills: () => fetchJSON("/api/skills"),
+ toggleSkill: (name: string, enabled: boolean) =>
+ fetchJSON<{ ok: boolean }>("/api/skills/toggle", {
+ method: "PUT",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ name, enabled }),
+ }),
+ getToolsets: () => fetchJSON("/api/tools/toolsets"),
+
+ // Session search (FTS5)
+ searchSessions: (q: string) =>
+ fetchJSON(`/api/sessions/search?q=${encodeURIComponent(q)}`),
+};
+
+export interface PlatformStatus {
+ error_code?: string;
+ error_message?: string;
+ state: string;
+ updated_at: string;
+}
+
+export interface StatusResponse {
+ active_sessions: number;
+ config_path: string;
+ config_version: number;
+ env_path: string;
+ gateway_exit_reason: string | null;
+ gateway_pid: number | null;
+ gateway_platforms: Record;
+ gateway_running: boolean;
+ gateway_state: string | null;
+ gateway_updated_at: string | null;
+ hermes_home: string;
+ latest_config_version: number;
+ release_date: string;
+ version: string;
+}
+
+export interface SessionInfo {
+ id: string;
+ source: string | null;
+ model: string | null;
+ title: string | null;
+ started_at: number;
+ ended_at: number | null;
+ last_active: number;
+ is_active: boolean;
+ message_count: number;
+ tool_call_count: number;
+ input_tokens: number;
+ output_tokens: number;
+ preview: string | null;
+}
+
+export interface EnvVarInfo {
+ is_set: boolean;
+ redacted_value: string | null;
+ description: string;
+ url: string | null;
+ category: string;
+ is_password: boolean;
+ tools: string[];
+ advanced: boolean;
+}
+
+export interface SessionMessage {
+ role: "user" | "assistant" | "system" | "tool";
+ content: string | null;
+ tool_calls?: Array<{
+ id: string;
+ function: { name: string; arguments: string };
+ }>;
+ tool_name?: string;
+ tool_call_id?: string;
+ timestamp?: number;
+}
+
+export interface SessionMessagesResponse {
+ session_id: string;
+ messages: SessionMessage[];
+}
+
+export interface LogsResponse {
+ file: string;
+ lines: string[];
+}
+
+export interface AnalyticsDailyEntry {
+ day: string;
+ input_tokens: number;
+ output_tokens: number;
+ cache_read_tokens: number;
+ reasoning_tokens: number;
+ estimated_cost: number;
+ actual_cost: number;
+ sessions: number;
+}
+
+export interface AnalyticsModelEntry {
+ model: string;
+ input_tokens: number;
+ output_tokens: number;
+ estimated_cost: number;
+ sessions: number;
+}
+
+export interface AnalyticsResponse {
+ daily: AnalyticsDailyEntry[];
+ by_model: AnalyticsModelEntry[];
+ totals: {
+ total_input: number;
+ total_output: number;
+ total_cache_read: number;
+ total_reasoning: number;
+ total_estimated_cost: number;
+ total_actual_cost: number;
+ total_sessions: number;
+ };
+}
+
+export interface CronJob {
+ id: string;
+ name?: string;
+ prompt: string;
+ schedule: string;
+ status: "enabled" | "paused" | "error";
+ deliver?: string;
+ last_run_at?: string | null;
+ next_run_at?: string | null;
+ error?: string | null;
+}
+
+export interface SkillInfo {
+ name: string;
+ description: string;
+ category: string;
+ enabled: boolean;
+}
+
+export interface ToolsetInfo {
+ name: string;
+ label: string;
+ description: string;
+ enabled: boolean;
+ configured: boolean;
+ tools: string[];
+}
+
+export interface SessionSearchResult {
+ session_id: string;
+ snippet: string;
+ role: string | null;
+ source: string | null;
+ model: string | null;
+ session_started: number | null;
+}
+
+export interface SessionSearchResponse {
+ results: SessionSearchResult[];
+}
diff --git a/web/src/lib/nested.ts b/web/src/lib/nested.ts
new file mode 100644
index 000000000..3a30cb651
--- /dev/null
+++ b/web/src/lib/nested.ts
@@ -0,0 +1,23 @@
+export function getNestedValue(obj: Record, path: string): unknown {
+ const parts = path.split(".");
+ let cur: unknown = obj;
+ for (const p of parts) {
+ if (cur == null || typeof cur !== "object") return undefined;
+ cur = (cur as Record)[p];
+ }
+ return cur;
+}
+
+export function setNestedValue(obj: Record, path: string, value: unknown): Record {
+ const clone = structuredClone(obj);
+ const parts = path.split(".");
+ let cur: Record = clone;
+ for (let i = 0; i < parts.length - 1; i++) {
+ if (cur[parts[i]] == null || typeof cur[parts[i]] !== "object") {
+ cur[parts[i]] = {};
+ }
+ cur = cur[parts[i]] as Record;
+ }
+ cur[parts[parts.length - 1]] = value;
+ return clone;
+}
diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts
new file mode 100644
index 000000000..d4433e48e
--- /dev/null
+++ b/web/src/lib/utils.ts
@@ -0,0 +1,26 @@
+import { type ClassValue, clsx } from "clsx";
+import { twMerge } from "tailwind-merge";
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs));
+}
+
+/** Relative time from a Unix epoch timestamp (seconds). */
+export function timeAgo(ts: number): string {
+ const delta = Date.now() / 1000 - ts;
+ if (delta < 60) return "just now";
+ if (delta < 3600) return `${Math.floor(delta / 60)}m ago`;
+ if (delta < 86400) return `${Math.floor(delta / 3600)}h ago`;
+ if (delta < 172800) return "yesterday";
+ return `${Math.floor(delta / 86400)}d ago`;
+}
+
+/** Relative time from an ISO-8601 timestamp string. */
+export function isoTimeAgo(iso: string): string {
+ const delta = (Date.now() - new Date(iso).getTime()) / 1000;
+ if (delta < 0 || Number.isNaN(delta)) return "unknown";
+ if (delta < 60) return "just now";
+ if (delta < 3600) return `${Math.floor(delta / 60)}m ago`;
+ if (delta < 86400) return `${Math.floor(delta / 3600)}h ago`;
+ return `${Math.floor(delta / 86400)}d ago`;
+}
diff --git a/web/src/main.tsx b/web/src/main.tsx
new file mode 100644
index 000000000..15753afa9
--- /dev/null
+++ b/web/src/main.tsx
@@ -0,0 +1,10 @@
+import { StrictMode } from "react";
+import { createRoot } from "react-dom/client";
+import "./index.css";
+import App from "./App";
+
+createRoot(document.getElementById("root")!).render(
+
+
+ ,
+);
diff --git a/web/src/pages/AnalyticsPage.tsx b/web/src/pages/AnalyticsPage.tsx
new file mode 100644
index 000000000..5c9e8d605
--- /dev/null
+++ b/web/src/pages/AnalyticsPage.tsx
@@ -0,0 +1,370 @@
+import { useEffect, useState, useCallback } from "react";
+import {
+ BarChart3,
+ Coins,
+ Cpu,
+ Database,
+ Hash,
+ TrendingUp,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import type { AnalyticsResponse, AnalyticsDailyEntry, AnalyticsModelEntry } from "@/lib/api";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Button } from "@/components/ui/button";
+
+const PERIODS = [
+ { label: "7d", days: 7 },
+ { label: "30d", days: 30 },
+ { label: "90d", days: 90 },
+] as const;
+
+const CHART_HEIGHT_PX = 160;
+
+function formatTokens(n: number): string {
+ if (n >= 1_000_000) return `${(n / 1_000_000).toFixed(1)}M`;
+ if (n >= 1_000) return `${(n / 1_000).toFixed(1)}K`;
+ return String(n);
+}
+
+function formatCost(n: number): string {
+ if (n < 0.01) return `$${n.toFixed(4)}`;
+ return `$${n.toFixed(2)}`;
+}
+
+/** Pick the best cost value: actual > estimated > 0 */
+function bestCost(entry: { estimated_cost: number; actual_cost?: number }): number {
+ if (entry.actual_cost && entry.actual_cost > 0) return entry.actual_cost;
+ return entry.estimated_cost;
+}
+
+function formatDate(day: string): string {
+ try {
+ const d = new Date(day + "T00:00:00");
+ return d.toLocaleDateString(undefined, { month: "short", day: "numeric" });
+ } catch {
+ return day;
+ }
+}
+
+function SummaryCard({
+ icon: Icon,
+ label,
+ value,
+ sub,
+}: {
+ icon: React.ComponentType<{ className?: string }>;
+ label: string;
+ value: string;
+ sub?: string;
+}) {
+ return (
+
+
+ {label}
+
+
+
+ {value}
+ {sub && {sub}
}
+
+
+ );
+}
+
+function TokenBarChart({ daily }: { daily: AnalyticsDailyEntry[] }) {
+ if (daily.length === 0) return null;
+
+ const maxTokens = Math.max(...daily.map((d) => d.input_tokens + d.output_tokens), 1);
+
+ return (
+
+
+
+
+ Daily Token Usage
+
+
+
+
+
+ {daily.map((d) => {
+ const total = d.input_tokens + d.output_tokens;
+ const inputH = Math.round((d.input_tokens / maxTokens) * CHART_HEIGHT_PX);
+ const outputH = Math.round((d.output_tokens / maxTokens) * CHART_HEIGHT_PX);
+ const cacheReadPct = d.cache_read_tokens > 0
+ ? Math.round((d.cache_read_tokens / (d.input_tokens + d.cache_read_tokens)) * 100)
+ : 0;
+ return (
+
+ {/* Tooltip */}
+
+
+
{formatDate(d.day)}
+
Input: {formatTokens(d.input_tokens)}
+
Output: {formatTokens(d.output_tokens)}
+ {cacheReadPct > 0 &&
Cache hit: {cacheReadPct}%
}
+
Total: {formatTokens(total)}
+ {bestCost(d) > 0 &&
Cost: {formatCost(bestCost(d))}
}
+
+
+ {/* Input bar */}
+
0 ? 1 : 0) }}
+ />
+ {/* Output bar */}
+
0 ? 1 : 0) }}
+ />
+
+ );
+ })}
+
+ {/* X-axis labels */}
+
+ {daily.length > 0 ? formatDate(daily[0].day) : ""}
+ {daily.length > 2 && (
+ {formatDate(daily[Math.floor(daily.length / 2)].day)}
+ )}
+ {daily.length > 1 ? formatDate(daily[daily.length - 1].day) : ""}
+
+
+
+ );
+}
+
+function DailyTable({ daily }: { daily: AnalyticsDailyEntry[] }) {
+ if (daily.length === 0) return null;
+
+ const sorted = [...daily].reverse();
+
+ return (
+
+
+
+
+ Daily Breakdown
+
+
+
+
+
+
+
+ | Date |
+ Sessions |
+ Input |
+ Output |
+ Cache Hit |
+ Cost |
+
+
+
+ {sorted.map((d) => {
+ const cost = bestCost(d);
+ const cacheHitPct = d.cache_read_tokens > 0 && d.input_tokens > 0
+ ? Math.round((d.cache_read_tokens / d.input_tokens) * 100)
+ : 0;
+ return (
+
+ | {formatDate(d.day)} |
+ {d.sessions} |
+
+ {formatTokens(d.input_tokens)}
+ |
+
+ {formatTokens(d.output_tokens)}
+ |
+
+ {cacheHitPct > 0 ? `${cacheHitPct}%` : "—"}
+ |
+
+ {cost > 0 ? formatCost(cost) : "—"}
+ |
+
+ );
+ })}
+
+
+
+
+
+ );
+}
+
+function ModelTable({ models }: { models: AnalyticsModelEntry[] }) {
+ if (models.length === 0) return null;
+
+ const sorted = [...models].sort(
+ (a, b) => b.input_tokens + b.output_tokens - (a.input_tokens + a.output_tokens),
+ );
+
+ return (
+
+
+
+
+ Per-Model Breakdown
+
+
+
+
+
+
+
+ | Model |
+ Sessions |
+ Tokens |
+ Cost |
+
+
+
+ {sorted.map((m) => (
+
+ |
+ {m.model}
+ |
+ {m.sessions} |
+
+ {formatTokens(m.input_tokens)}
+ {" / "}
+ {formatTokens(m.output_tokens)}
+ |
+
+ {m.estimated_cost > 0 ? formatCost(m.estimated_cost) : "—"}
+ |
+
+ ))}
+
+
+
+
+
+ );
+}
+
+export default function AnalyticsPage() {
+ const [days, setDays] = useState(30);
+ const [data, setData] = useState
(null);
+ const [loading, setLoading] = useState(true);
+ const [error, setError] = useState(null);
+
+ const load = useCallback(() => {
+ setLoading(true);
+ setError(null);
+ api
+ .getAnalytics(days)
+ .then(setData)
+ .catch((err) => setError(String(err)))
+ .finally(() => setLoading(false));
+ }, [days]);
+
+ useEffect(() => {
+ load();
+ }, [load]);
+
+ return (
+
+ {/* Period selector */}
+
+ Period:
+ {PERIODS.map((p) => (
+
+ ))}
+
+
+ {loading && !data && (
+
+ )}
+
+ {error && (
+
+
+ {error}
+
+
+ )}
+
+ {data && (
+ <>
+ {/* Summary cards — matches hermes's token model */}
+
+
+ 0
+ ? `${Math.round((data.totals.total_cache_read / (data.totals.total_input + data.totals.total_cache_read)) * 100)}%`
+ : "—"}
+ sub={`${formatTokens(data.totals.total_cache_read)} tokens from cache`}
+ />
+ 0
+ ? data.totals.total_actual_cost
+ : data.totals.total_estimated_cost
+ )}
+ sub={data.totals.total_actual_cost > 0 ? "actual" : `estimated · last ${days}d`}
+ />
+
+
+
+ {/* Bar chart */}
+
+
+ {/* Tables */}
+
+
+ >
+ )}
+
+ {data && data.daily.length === 0 && data.by_model.length === 0 && (
+
+
+
+
+
No usage data for this period
+
Start a session to see analytics here
+
+
+
+ )}
+
+ );
+}
diff --git a/web/src/pages/ConfigPage.tsx b/web/src/pages/ConfigPage.tsx
new file mode 100644
index 000000000..2e75e1d1c
--- /dev/null
+++ b/web/src/pages/ConfigPage.tsx
@@ -0,0 +1,451 @@
+import { useEffect, useRef, useState, useMemo } from "react";
+import {
+ Code,
+ Download,
+ FormInput,
+ RotateCcw,
+ Save,
+ Search,
+ Upload,
+ X,
+ ChevronRight,
+ Settings2,
+ FileText,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import { getNestedValue, setNestedValue } from "@/lib/nested";
+import { useToast } from "@/hooks/useToast";
+import { Toast } from "@/components/Toast";
+import { AutoField } from "@/components/AutoField";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Badge } from "@/components/ui/badge";
+
+/* ------------------------------------------------------------------ */
+/* Helpers */
+/* ------------------------------------------------------------------ */
+
+const CATEGORY_ICONS: Record = {
+ general: "⚙️",
+ agent: "🤖",
+ terminal: "💻",
+ display: "🎨",
+ delegation: "👥",
+ memory: "🧠",
+ compression: "📦",
+ security: "🔒",
+ browser: "🌐",
+ voice: "🎙️",
+ tts: "🔊",
+ stt: "👂",
+ logging: "📋",
+ discord: "💬",
+ auxiliary: "🔧",
+};
+
+function prettyCategoryName(cat: string): string {
+ if (cat === "tts") return "Text-to-Speech";
+ if (cat === "stt") return "Speech-to-Text";
+ return cat.charAt(0).toUpperCase() + cat.slice(1);
+}
+
+/* ------------------------------------------------------------------ */
+/* Component */
+/* ------------------------------------------------------------------ */
+
+export default function ConfigPage() {
+ const [config, setConfig] = useState | null>(null);
+ const [schema, setSchema] = useState> | null>(null);
+ const [categoryOrder, setCategoryOrder] = useState([]);
+ const [defaults, setDefaults] = useState | null>(null);
+ const [saving, setSaving] = useState(false);
+ const [searchQuery, setSearchQuery] = useState("");
+ const [yamlMode, setYamlMode] = useState(false);
+ const [yamlText, setYamlText] = useState("");
+ const [yamlLoading, setYamlLoading] = useState(false);
+ const [yamlSaving, setYamlSaving] = useState(false);
+ const [activeCategory, setActiveCategory] = useState("");
+ const { toast, showToast } = useToast();
+ const fileInputRef = useRef(null);
+
+ useEffect(() => {
+ api.getConfig().then(setConfig).catch(() => {});
+ api
+ .getSchema()
+ .then((resp) => {
+ setSchema(resp.fields as Record>);
+ setCategoryOrder(resp.category_order ?? []);
+ })
+ .catch(() => {});
+ api.getDefaults().then(setDefaults).catch(() => {});
+ }, []);
+
+ // Set active category when categories load
+ useEffect(() => {
+ if (categoryOrder.length > 0 && !activeCategory) {
+ setActiveCategory(categoryOrder[0]);
+ }
+ }, [categoryOrder, activeCategory]);
+
+ // Load YAML when switching to YAML mode
+ useEffect(() => {
+ if (yamlMode) {
+ setYamlLoading(true);
+ api
+ .getConfigRaw()
+ .then((resp) => setYamlText(resp.yaml))
+ .catch(() => showToast("Failed to load raw config", "error"))
+ .finally(() => setYamlLoading(false));
+ }
+ }, [yamlMode]);
+
+ /* ---- Categories ---- */
+ const categories = useMemo(() => {
+ if (!schema) return [];
+ const allCats = [...new Set(Object.values(schema).map((s) => String(s.category ?? "general")))];
+ const ordered = categoryOrder.filter((c) => allCats.includes(c));
+ const extra = allCats.filter((c) => !categoryOrder.includes(c)).sort();
+ return [...ordered, ...extra];
+ }, [schema, categoryOrder]);
+
+ /* ---- Category field counts ---- */
+ const categoryCounts = useMemo(() => {
+ if (!schema) return {};
+ const counts: Record = {};
+ for (const s of Object.values(schema)) {
+ const cat = String(s.category ?? "general");
+ counts[cat] = (counts[cat] || 0) + 1;
+ }
+ return counts;
+ }, [schema]);
+
+ /* ---- Search ---- */
+ const isSearching = searchQuery.trim().length > 0;
+ const lowerSearch = searchQuery.toLowerCase();
+
+ const searchMatchedFields = useMemo(() => {
+ if (!isSearching || !schema) return [];
+ return Object.entries(schema).filter(([key, s]) => {
+ const label = key.split(".").pop() ?? key;
+ const humanLabel = label.replace(/_/g, " ");
+ return (
+ key.toLowerCase().includes(lowerSearch) ||
+ humanLabel.toLowerCase().includes(lowerSearch) ||
+ String(s.category ?? "").toLowerCase().includes(lowerSearch) ||
+ String(s.description ?? "").toLowerCase().includes(lowerSearch)
+ );
+ });
+ }, [isSearching, lowerSearch, schema]);
+
+ /* ---- Active tab fields ---- */
+ const activeFields = useMemo(() => {
+ if (!schema || isSearching) return [];
+ return Object.entries(schema).filter(
+ ([, s]) => String(s.category ?? "general") === activeCategory
+ );
+ }, [schema, activeCategory, isSearching]);
+
+ /* ---- Handlers ---- */
+ const handleSave = async () => {
+ if (!config) return;
+ setSaving(true);
+ try {
+ await api.saveConfig(config);
+ showToast("Configuration saved", "success");
+ } catch (e) {
+ showToast(`Failed to save: ${e}`, "error");
+ } finally {
+ setSaving(false);
+ }
+ };
+
+ const handleYamlSave = async () => {
+ setYamlSaving(true);
+ try {
+ await api.saveConfigRaw(yamlText);
+ showToast("YAML config saved", "success");
+ api.getConfig().then(setConfig).catch(() => {});
+ } catch (e) {
+ showToast(`Failed to save YAML: ${e}`, "error");
+ } finally {
+ setYamlSaving(false);
+ }
+ };
+
+ const handleReset = () => {
+ if (defaults) setConfig(structuredClone(defaults));
+ };
+
+ const handleExport = () => {
+ if (!config) return;
+ const blob = new Blob([JSON.stringify(config, null, 2)], { type: "application/json" });
+ const url = URL.createObjectURL(blob);
+ const a = document.createElement("a");
+ a.href = url;
+ a.download = "hermes-config.json";
+ a.click();
+ URL.revokeObjectURL(url);
+ };
+
+ const handleImport = (e: React.ChangeEvent) => {
+ const file = e.target.files?.[0];
+ if (!file) return;
+ const reader = new FileReader();
+ reader.onload = () => {
+ try {
+ const imported = JSON.parse(reader.result as string);
+ setConfig(imported);
+ showToast("Config imported — review and save", "success");
+ } catch {
+ showToast("Invalid JSON file", "error");
+ }
+ };
+ reader.readAsText(file);
+ };
+
+ /* ---- Loading ---- */
+ if (!config || !schema) {
+ return (
+
+ );
+ }
+
+ /* ---- Render field list (shared between search & normal) ---- */
+ const renderFields = (fields: [string, Record][], showCategory = false) => {
+ let lastSection = "";
+ let lastCat = "";
+ return fields.map(([key, s]) => {
+ const parts = key.split(".");
+ const section = parts.length > 1 ? parts[0] : "";
+ const cat = String(s.category ?? "general");
+ const showCatBadge = showCategory && cat !== lastCat;
+ const showSection = !showCategory && section && section !== lastSection && section !== activeCategory;
+ lastSection = section;
+ lastCat = cat;
+
+ return (
+
+ {showCatBadge && (
+
+
{CATEGORY_ICONS[cat] || "📄"}
+
+ {prettyCategoryName(cat)}
+
+
+
+ )}
+ {showSection && (
+
+
+ {section.replace(/_/g, " ")}
+
+
+
+ )}
+
+
setConfig(setNestedValue(config, key, v))}
+ />
+
+
+ );
+ });
+ };
+
+ return (
+
+
+
+ {/* ═══════════════ Header Bar ═══════════════ */}
+
+
+
+
+ ~/.hermes/config.yaml
+
+
+
+
+
+
+
+
+
+
+
+
+ {yamlMode ? (
+
+ ) : (
+
+ )}
+
+
+
+ {/* ═══════════════ YAML Mode ═══════════════ */}
+ {yamlMode ? (
+
+
+
+
+ Raw YAML Configuration
+
+
+
+ {yamlLoading ? (
+
+ ) : (
+
+
+ ) : (
+ /* ═══════════════ Form Mode ═══════════════ */
+
+ {/* ---- Sidebar ---- */}
+
+
+ {/* Search */}
+
+
+ setSearchQuery(e.target.value)}
+ />
+ {searchQuery && (
+
+ )}
+
+
+ {/* Category nav */}
+ {categories.map((cat) => {
+ const isActive = !isSearching && activeCategory === cat;
+ return (
+
+ );
+ })}
+
+
+
+ {/* ---- Content ---- */}
+
+ {isSearching ? (
+ /* Search results */
+
+
+
+
+
+ Search Results
+
+
+ {searchMatchedFields.length} field{searchMatchedFields.length !== 1 ? "s" : ""}
+
+
+
+
+ {searchMatchedFields.length === 0 ? (
+
+ No fields match "{searchQuery}"
+
+ ) : (
+ renderFields(searchMatchedFields, true)
+ )}
+
+
+ ) : (
+ /* Active category */
+
+
+
+
+ {CATEGORY_ICONS[activeCategory] || "📄"}
+ {prettyCategoryName(activeCategory)}
+
+
+ {activeFields.length} field{activeFields.length !== 1 ? "s" : ""}
+
+
+
+
+ {renderFields(activeFields)}
+
+
+ )}
+
+
+ )}
+
+ );
+}
diff --git a/web/src/pages/CronPage.tsx b/web/src/pages/CronPage.tsx
new file mode 100644
index 000000000..20b13a84a
--- /dev/null
+++ b/web/src/pages/CronPage.tsx
@@ -0,0 +1,279 @@
+import { useEffect, useState } from "react";
+import { Clock, Pause, Play, Plus, Trash2, Zap } from "lucide-react";
+import { api } from "@/lib/api";
+import type { CronJob } from "@/lib/api";
+import { useToast } from "@/hooks/useToast";
+import { Toast } from "@/components/Toast";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import { Select } from "@/components/ui/select";
+
+function formatTime(iso?: string | null): string {
+ if (!iso) return "—";
+ const d = new Date(iso);
+ return d.toLocaleString();
+}
+
+const STATUS_VARIANT: Record = {
+ enabled: "success",
+ paused: "warning",
+ error: "destructive",
+};
+
+export default function CronPage() {
+ const [jobs, setJobs] = useState([]);
+ const [loading, setLoading] = useState(true);
+ const { toast, showToast } = useToast();
+
+ // New job form state
+ const [prompt, setPrompt] = useState("");
+ const [schedule, setSchedule] = useState("");
+ const [name, setName] = useState("");
+ const [deliver, setDeliver] = useState("local");
+ const [creating, setCreating] = useState(false);
+
+ const loadJobs = () => {
+ api
+ .getCronJobs()
+ .then(setJobs)
+ .catch(() => showToast("Failed to load cron jobs", "error"))
+ .finally(() => setLoading(false));
+ };
+
+ useEffect(() => {
+ loadJobs();
+ }, []);
+
+ const handleCreate = async () => {
+ if (!prompt.trim() || !schedule.trim()) {
+ showToast("Prompt and schedule are required", "error");
+ return;
+ }
+ setCreating(true);
+ try {
+ await api.createCronJob({
+ prompt: prompt.trim(),
+ schedule: schedule.trim(),
+ name: name.trim() || undefined,
+ deliver,
+ });
+ showToast("Cron job created", "success");
+ setPrompt("");
+ setSchedule("");
+ setName("");
+ setDeliver("local");
+ loadJobs();
+ } catch (e) {
+ showToast(`Failed to create job: ${e}`, "error");
+ } finally {
+ setCreating(false);
+ }
+ };
+
+ const handlePauseResume = async (job: CronJob) => {
+ try {
+ if (job.status === "paused") {
+ await api.resumeCronJob(job.id);
+ showToast(`Resumed "${job.name || job.prompt.slice(0, 30)}"`, "success");
+ } else {
+ await api.pauseCronJob(job.id);
+ showToast(`Paused "${job.name || job.prompt.slice(0, 30)}"`, "success");
+ }
+ loadJobs();
+ } catch (e) {
+ showToast(`Action failed: ${e}`, "error");
+ }
+ };
+
+ const handleTrigger = async (job: CronJob) => {
+ try {
+ await api.triggerCronJob(job.id);
+ showToast(`Triggered "${job.name || job.prompt.slice(0, 30)}"`, "success");
+ loadJobs();
+ } catch (e) {
+ showToast(`Trigger failed: ${e}`, "error");
+ }
+ };
+
+ const handleDelete = async (job: CronJob) => {
+ try {
+ await api.deleteCronJob(job.id);
+ showToast(`Deleted "${job.name || job.prompt.slice(0, 30)}"`, "success");
+ loadJobs();
+ } catch (e) {
+ showToast(`Delete failed: ${e}`, "error");
+ }
+ };
+
+ if (loading) {
+ return (
+
+ );
+ }
+
+ return (
+
+
+
+ {/* Create new job form */}
+
+
+
+
+ New Cron Job
+
+
+
+
+
+
+ setName(e.target.value)}
+ />
+
+
+
+
+
+
+
+
+
+ setSchedule(e.target.value)}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Jobs list */}
+
+
+
+ Scheduled Jobs ({jobs.length})
+
+
+ {jobs.length === 0 && (
+
+
+ No cron jobs configured. Create one above.
+
+
+ )}
+
+ {jobs.map((job) => (
+
+
+ {/* Info */}
+
+
+
+ {job.name || job.prompt.slice(0, 60) + (job.prompt.length > 60 ? "..." : "")}
+
+
+ {job.status}
+
+ {job.deliver && job.deliver !== "local" && (
+ {job.deliver}
+ )}
+
+ {job.name && (
+
+ {job.prompt.slice(0, 100)}{job.prompt.length > 100 ? "..." : ""}
+
+ )}
+
+ {job.schedule}
+ Last: {formatTime(job.last_run_at)}
+ Next: {formatTime(job.next_run_at)}
+
+ {job.error && (
+
{job.error}
+ )}
+
+
+ {/* Actions */}
+
+
+
+
+
+
+
+
+
+ ))}
+
+
+ );
+}
diff --git a/web/src/pages/EnvPage.tsx b/web/src/pages/EnvPage.tsx
new file mode 100644
index 000000000..f3b54d647
--- /dev/null
+++ b/web/src/pages/EnvPage.tsx
@@ -0,0 +1,614 @@
+import { useEffect, useState, useMemo } from "react";
+import {
+ Eye,
+ EyeOff,
+ ExternalLink,
+ KeyRound,
+ MessageSquare,
+ Pencil,
+ Save,
+ Settings,
+ Trash2,
+ X,
+ Zap,
+ ChevronDown,
+ ChevronRight,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import type { EnvVarInfo } from "@/lib/api";
+import { useToast } from "@/hooks/useToast";
+import { Toast } from "@/components/Toast";
+import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
+import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+
+/* ------------------------------------------------------------------ */
+/* Provider grouping */
+/* ------------------------------------------------------------------ */
+
+/** Map env-var key prefixes to a human-friendly provider name + ordering. */
+const PROVIDER_GROUPS: { prefix: string; name: string; priority: number }[] = [
+ // Nous Portal first
+ { prefix: "NOUS_", name: "Nous Portal", priority: 0 },
+ // Then alphabetical by display name
+ { prefix: "ANTHROPIC_", name: "Anthropic", priority: 1 },
+ { prefix: "DASHSCOPE_", name: "DashScope (Qwen)", priority: 2 },
+ { prefix: "HERMES_QWEN_", name: "DashScope (Qwen)", priority: 2 },
+ { prefix: "DEEPSEEK_", name: "DeepSeek", priority: 3 },
+ { prefix: "GOOGLE_", name: "Gemini", priority: 4 },
+ { prefix: "GEMINI_", name: "Gemini", priority: 4 },
+ { prefix: "GLM_", name: "GLM / Z.AI", priority: 5 },
+ { prefix: "ZAI_", name: "GLM / Z.AI", priority: 5 },
+ { prefix: "Z_AI_", name: "GLM / Z.AI", priority: 5 },
+ { prefix: "HF_", name: "Hugging Face", priority: 6 },
+ { prefix: "KIMI_", name: "Kimi / Moonshot", priority: 7 },
+ { prefix: "MINIMAX_CN_", name: "MiniMax (China)", priority: 9 },
+ { prefix: "MINIMAX_", name: "MiniMax", priority: 8 },
+ { prefix: "OPENCODE_GO_", name: "OpenCode Go", priority: 10 },
+ { prefix: "OPENCODE_ZEN_", name: "OpenCode Zen", priority: 11 },
+ { prefix: "OPENROUTER_", name: "OpenRouter", priority: 12 },
+ { prefix: "XIAOMI_", name: "Xiaomi MiMo", priority: 13 },
+];
+
+function getProviderGroup(key: string): string {
+ for (const g of PROVIDER_GROUPS) {
+ if (key.startsWith(g.prefix)) return g.name;
+ }
+ return "Other";
+}
+
+function getProviderPriority(groupName: string): number {
+ const entry = PROVIDER_GROUPS.find((g) => g.name === groupName);
+ return entry?.priority ?? 99;
+}
+
+interface ProviderGroup {
+ name: string;
+ priority: number;
+ entries: [string, EnvVarInfo][];
+ hasAnySet: boolean;
+}
+
+const CATEGORY_META: Record = {
+ provider: { label: "LLM Providers", icon: Zap },
+ tool: { label: "Tool API Keys", icon: KeyRound },
+ messaging: { label: "Messaging Platforms", icon: MessageSquare },
+ setting: { label: "Agent Settings", icon: Settings },
+};
+
+/* ------------------------------------------------------------------ */
+/* EnvVarRow — single key edit row */
+/* ------------------------------------------------------------------ */
+
+function EnvVarRow({
+ varKey,
+ info,
+ edits,
+ setEdits,
+ revealed,
+ saving,
+ onSave,
+ onClear,
+ onReveal,
+ onCancelEdit,
+ compact = false,
+}: {
+ varKey: string;
+ info: EnvVarInfo;
+ edits: Record;
+ setEdits: React.Dispatch>>;
+ revealed: Record;
+ saving: string | null;
+ onSave: (key: string) => void;
+ onClear: (key: string) => void;
+ onReveal: (key: string) => void;
+ onCancelEdit: (key: string) => void;
+ compact?: boolean;
+}) {
+ const isEditing = edits[varKey] !== undefined;
+ const isRevealed = !!revealed[varKey];
+ const displayValue = isRevealed ? revealed[varKey] : (info.redacted_value ?? "---");
+
+ // Compact inline row for unset, non-editing keys (used inside provider groups)
+ if (compact && !info.is_set && !isEditing) {
+ return (
+
+
+ {varKey}
+ {info.description}
+
+
+ {info.url && (
+
+ Get key
+
+ )}
+
+
+
+ );
+ }
+
+ // Non-compact unset row
+ if (!info.is_set && !isEditing) {
+ return (
+
+
+
+ {info.description}
+
+
+ {info.url && (
+
+ Get key
+
+ )}
+
+
+
+ );
+ }
+
+ // Full expanded row for set keys or keys being edited
+ return (
+
+
+
+
+
+ {info.is_set ? "Set" : "Not set"}
+
+
+ {info.url && (
+
+ Get key
+
+ )}
+
+
+
{info.description}
+
+ {info.tools.length > 0 && (
+
+ {info.tools.map((tool) => (
+ {tool}
+ ))}
+
+ )}
+
+ {!isEditing && (
+
+
+ {info.is_set ? displayValue : "---"}
+
+
+ {info.is_set && (
+
+ )}
+
+
+
+ {info.is_set && (
+
+ )}
+
+ )}
+
+ {isEditing && (
+
+ setEdits((prev) => ({ ...prev, [varKey]: e.target.value }))}
+ placeholder={info.is_set ? `Replace current value (${info.redacted_value ?? "---"})` : "Enter value..."}
+ className="flex-1 font-mono-ui text-xs" />
+
+
+
+ )}
+
+ );
+}
+
+/* ------------------------------------------------------------------ */
+/* ProviderGroupCard — groups API key + base URL per provider */
+/* ------------------------------------------------------------------ */
+
+function ProviderGroupCard({
+ group,
+ edits,
+ setEdits,
+ revealed,
+ saving,
+ onSave,
+ onClear,
+ onReveal,
+ onCancelEdit,
+}: {
+ group: ProviderGroup;
+ edits: Record;
+ setEdits: React.Dispatch>>;
+ revealed: Record;
+ saving: string | null;
+ onSave: (key: string) => void;
+ onClear: (key: string) => void;
+ onReveal: (key: string) => void;
+ onCancelEdit: (key: string) => void;
+}) {
+ const [expanded, setExpanded] = useState(false);
+
+ // Separate API keys from base URLs and other settings
+ const apiKeys = group.entries.filter(([k]) => k.endsWith("_API_KEY") || k.endsWith("_TOKEN"));
+ const baseUrls = group.entries.filter(([k]) => k.endsWith("_BASE_URL"));
+ const other = group.entries.filter(([k]) => !k.endsWith("_API_KEY") && !k.endsWith("_TOKEN") && !k.endsWith("_BASE_URL"));
+ const hasAnyConfigured = group.entries.some(([, info]) => info.is_set);
+ const configuredCount = group.entries.filter(([, info]) => info.is_set).length;
+
+ // Get a representative URL for "Get key" link
+ const keyUrl = apiKeys.find(([, info]) => info.url)?.[1]?.url ?? null;
+
+ return (
+
+ {/* Header — always visible */}
+
+
+ {/* Expanded content */}
+ {expanded && (
+
+ {/* API keys first (most important) */}
+ {apiKeys.map(([key, info]) => (
+
+ ))}
+ {/* Base URLs (secondary) */}
+ {baseUrls.map(([key, info]) => (
+
+ ))}
+ {/* Anything else */}
+ {other.map(([key, info]) => (
+
+ ))}
+
+ )}
+
+ );
+}
+
+/* ------------------------------------------------------------------ */
+/* Main page */
+/* ------------------------------------------------------------------ */
+
+export default function EnvPage() {
+ const [vars, setVars] = useState | null>(null);
+ const [edits, setEdits] = useState>({});
+ const [revealed, setRevealed] = useState>({});
+ const [saving, setSaving] = useState(null);
+ const [showAdvanced, setShowAdvanced] = useState(true); // Show all providers by default
+ const { toast, showToast } = useToast();
+
+ useEffect(() => {
+ api.getEnvVars().then(setVars).catch(() => {});
+ }, []);
+
+ const handleSave = async (key: string) => {
+ const value = edits[key];
+ if (!value) return;
+ setSaving(key);
+ try {
+ await api.setEnvVar(key, value);
+ setVars((prev) =>
+ prev
+ ? {
+ ...prev,
+ [key]: { ...prev[key], is_set: true, redacted_value: value.slice(0, 4) + "..." + value.slice(-4) },
+ }
+ : prev,
+ );
+ setEdits((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ setRevealed((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ showToast(`${key} saved`, "success");
+ } catch (e) {
+ showToast(`Failed to save ${key}: ${e}`, "error");
+ } finally {
+ setSaving(null);
+ }
+ };
+
+ const handleClear = async (key: string) => {
+ setSaving(key);
+ try {
+ await api.deleteEnvVar(key);
+ setVars((prev) =>
+ prev
+ ? { ...prev, [key]: { ...prev[key], is_set: false, redacted_value: null } }
+ : prev,
+ );
+ setEdits((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ setRevealed((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ showToast(`${key} removed`, "success");
+ } catch (e) {
+ showToast(`Failed to remove ${key}: ${e}`, "error");
+ } finally {
+ setSaving(null);
+ }
+ };
+
+ const handleReveal = async (key: string) => {
+ if (revealed[key]) {
+ setRevealed((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ return;
+ }
+ try {
+ const resp = await api.revealEnvVar(key);
+ setRevealed((prev) => ({ ...prev, [key]: resp.value }));
+ } catch {
+ showToast(`Failed to reveal ${key}`, "error");
+ }
+ };
+
+ const cancelEdit = (key: string) => {
+ setEdits((prev) => { const n = { ...prev }; delete n[key]; return n; });
+ };
+
+ /* ---- Build provider groups ---- */
+ const { providerGroups, nonProviderGrouped } = useMemo(() => {
+ if (!vars) return { providerGroups: [], nonProviderGrouped: [] };
+
+ const providerEntries = Object.entries(vars).filter(
+ ([, info]) => info.category === "provider" && (showAdvanced || !info.advanced),
+ );
+
+ // Group by provider
+ const groupMap = new Map();
+ for (const entry of providerEntries) {
+ const groupName = getProviderGroup(entry[0]);
+ if (!groupMap.has(groupName)) groupMap.set(groupName, []);
+ groupMap.get(groupName)!.push(entry);
+ }
+
+ const groups: ProviderGroup[] = Array.from(groupMap.entries())
+ .map(([name, entries]) => ({
+ name,
+ priority: getProviderPriority(name),
+ entries,
+ hasAnySet: entries.some(([, info]) => info.is_set),
+ }))
+ .sort((a, b) => a.priority - b.priority);
+
+ // Non-provider categories
+ const otherCategories = ["tool", "messaging", "setting"];
+ const nonProvider = otherCategories.map((cat) => {
+ const entries = Object.entries(vars).filter(
+ ([, info]) => info.category === cat && (showAdvanced || !info.advanced),
+ );
+ const setEntries = entries.filter(([, info]) => info.is_set);
+ const unsetEntries = entries.filter(([, info]) => !info.is_set);
+ return {
+ ...CATEGORY_META[cat],
+ category: cat,
+ setEntries,
+ unsetEntries,
+ totalEntries: entries.length,
+ };
+ });
+
+ return { providerGroups: groups, nonProviderGrouped: nonProvider };
+ }, [vars, showAdvanced]);
+
+ if (!vars) {
+ return (
+
+ );
+ }
+
+ const totalProviders = providerGroups.length;
+ const configuredProviders = providerGroups.filter((g) => g.hasAnySet).length;
+
+ return (
+
+
+
+
+
+
+ Manage API keys and secrets stored in ~/.hermes/.env
+
+
+ Changes are saved to disk immediately. Active sessions pick up new keys automatically.
+
+
+
+
+
+ {/* ═══════════════ LLM Providers (grouped) ═══════════════ */}
+
+
+
+
+ LLM Providers
+
+
+ {configuredProviders} of {totalProviders} providers configured
+
+
+
+
+ {providerGroups.map((group) => (
+
+ ))}
+
+
+
+ {/* ═══════════════ Other categories (flat) ═══════════════ */}
+ {nonProviderGrouped.map(({ label, icon: Icon, setEntries, unsetEntries, totalEntries, category }) => {
+ if (totalEntries === 0) return null;
+
+ return (
+
+
+
+
+ {label}
+
+
+ {setEntries.length} of {totalEntries} configured
+
+
+
+
+ {setEntries.map(([key, info]) => (
+
+ ))}
+
+ {unsetEntries.length > 0 && (
+
+ )}
+
+
+ );
+ })}
+
+ );
+}
+
+/* ------------------------------------------------------------------ */
+/* CollapsibleUnset — for non-provider categories */
+/* ------------------------------------------------------------------ */
+
+function CollapsibleUnset({
+ category: _category,
+ unsetEntries,
+ edits,
+ setEdits,
+ revealed,
+ saving,
+ onSave,
+ onClear,
+ onReveal,
+ onCancelEdit,
+}: {
+ category: string;
+ unsetEntries: [string, EnvVarInfo][];
+ edits: Record;
+ setEdits: React.Dispatch>>;
+ revealed: Record;
+ saving: string | null;
+ onSave: (key: string) => void;
+ onClear: (key: string) => void;
+ onReveal: (key: string) => void;
+ onCancelEdit: (key: string) => void;
+}) {
+ const [collapsed, setCollapsed] = useState(true);
+
+ return (
+ <>
+
+
+ {!collapsed && unsetEntries.map(([key, info]) => (
+
+ ))}
+ >
+ );
+}
diff --git a/web/src/pages/LogsPage.tsx b/web/src/pages/LogsPage.tsx
new file mode 100644
index 000000000..09b22274a
--- /dev/null
+++ b/web/src/pages/LogsPage.tsx
@@ -0,0 +1,175 @@
+import { useEffect, useState, useCallback, useRef } from "react";
+import { FileText, RefreshCw } from "lucide-react";
+import { api } from "@/lib/api";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Button } from "@/components/ui/button";
+import { Badge } from "@/components/ui/badge";
+import { Switch } from "@/components/ui/switch";
+import { Label } from "@/components/ui/label";
+
+const FILES = ["agent", "errors", "gateway"] as const;
+const LEVELS = ["ALL", "DEBUG", "INFO", "WARNING", "ERROR"] as const;
+const COMPONENTS = ["all", "gateway", "agent", "tools", "cli", "cron"] as const;
+const LINE_COUNTS = [50, 100, 200, 500] as const;
+
+function classifyLine(line: string): "error" | "warning" | "info" | "debug" {
+ const upper = line.toUpperCase();
+ if (upper.includes("ERROR") || upper.includes("CRITICAL") || upper.includes("FATAL")) return "error";
+ if (upper.includes("WARNING") || upper.includes("WARN")) return "warning";
+ if (upper.includes("DEBUG")) return "debug";
+ return "info";
+}
+
+const LINE_COLORS: Record = {
+ error: "text-destructive",
+ warning: "text-warning",
+ info: "text-foreground",
+ debug: "text-muted-foreground/60",
+};
+
+function FilterBar({
+ label,
+ options,
+ value,
+ onChange,
+}: {
+ label: string;
+ options: readonly T[];
+ value: T;
+ onChange: (v: T) => void;
+}) {
+ return (
+
+
{label}
+
+ {options.map((opt) => (
+
+ ))}
+
+
+ );
+}
+
+export default function LogsPage() {
+ const [file, setFile] = useState<(typeof FILES)[number]>("agent");
+ const [level, setLevel] = useState<(typeof LEVELS)[number]>("ALL");
+ const [component, setComponent] = useState<(typeof COMPONENTS)[number]>("all");
+ const [lineCount, setLineCount] = useState<(typeof LINE_COUNTS)[number]>(100);
+ const [autoRefresh, setAutoRefresh] = useState(false);
+ const [lines, setLines] = useState([]);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState(null);
+ const scrollRef = useRef(null);
+
+ const fetchLogs = useCallback(() => {
+ setLoading(true);
+ setError(null);
+ api
+ .getLogs({ file, lines: lineCount, level, component })
+ .then((resp) => {
+ setLines(resp.lines);
+ // Auto-scroll to bottom
+ setTimeout(() => {
+ if (scrollRef.current) {
+ scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
+ }
+ }, 50);
+ })
+ .catch((err) => setError(String(err)))
+ .finally(() => setLoading(false));
+ }, [file, lineCount, level, component]);
+
+ // Initial load + refetch on filter change
+ useEffect(() => {
+ fetchLogs();
+ }, [fetchLogs]);
+
+ // Auto-refresh polling
+ useEffect(() => {
+ if (!autoRefresh) return;
+ const interval = setInterval(fetchLogs, 5000);
+ return () => clearInterval(interval);
+ }, [autoRefresh, fetchLogs]);
+
+ return (
+
+
+
+
+
+
+
Logs
+ {loading && (
+
+ )}
+
+
+
+
+
+ {autoRefresh && (
+
+
+ Live
+
+ )}
+
+
+
+
+
+
+
+
+
+
+
+ setLineCount(Number(v) as (typeof LINE_COUNTS)[number])}
+ />
+
+
+ {error && (
+
+ )}
+
+
+ {lines.length === 0 && !loading && (
+
No log lines found
+ )}
+ {lines.map((line, i) => {
+ const cls = classifyLine(line);
+ return (
+
+ {line}
+
+ );
+ })}
+
+
+
+
+ );
+}
diff --git a/web/src/pages/SessionsPage.tsx b/web/src/pages/SessionsPage.tsx
new file mode 100644
index 000000000..2d25f6ca6
--- /dev/null
+++ b/web/src/pages/SessionsPage.tsx
@@ -0,0 +1,429 @@
+import { useEffect, useState, useCallback, useRef } from "react";
+import {
+ ChevronDown,
+ ChevronRight,
+ MessageSquare,
+ Search,
+ Trash2,
+ Clock,
+ Terminal,
+ Globe,
+ MessageCircle,
+ Hash,
+ X,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import type { SessionInfo, SessionMessage, SessionSearchResult } from "@/lib/api";
+import { timeAgo } from "@/lib/utils";
+import { Markdown } from "@/components/Markdown";
+import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+
+const ROLE_STYLES: Record = {
+ user: { bg: "bg-primary/10", text: "text-primary", label: "User" },
+ assistant: { bg: "bg-success/10", text: "text-success", label: "Assistant" },
+ system: { bg: "bg-muted", text: "text-muted-foreground", label: "System" },
+ tool: { bg: "bg-warning/10", text: "text-warning", label: "Tool" },
+};
+
+const SOURCE_CONFIG: Record = {
+ cli: { icon: Terminal, color: "text-primary" },
+ telegram: { icon: MessageCircle, color: "text-[oklch(0.65_0.15_250)]" },
+ discord: { icon: Hash, color: "text-[oklch(0.65_0.15_280)]" },
+ slack: { icon: MessageSquare, color: "text-[oklch(0.7_0.15_155)]" },
+ whatsapp: { icon: Globe, color: "text-success" },
+ cron: { icon: Clock, color: "text-warning" },
+};
+
+/** Render an FTS5 snippet with highlighted matches.
+ * The backend wraps matches in >>> and <<< delimiters. */
+function SnippetHighlight({ snippet }: { snippet: string }) {
+ const parts: React.ReactNode[] = [];
+ const regex = />>>(.*?)<< last) {
+ parts.push(snippet.slice(last, match.index));
+ }
+ parts.push(
+
+ {match[1]}
+
+ );
+ last = regex.lastIndex;
+ }
+ if (last < snippet.length) {
+ parts.push(snippet.slice(last));
+ }
+ return (
+
+ {parts}
+
+ );
+}
+
+function ToolCallBlock({ toolCall }: { toolCall: { id: string; function: { name: string; arguments: string } } }) {
+ const [open, setOpen] = useState(false);
+
+ let args = toolCall.function.arguments;
+ try {
+ args = JSON.stringify(JSON.parse(args), null, 2);
+ } catch {
+ // keep as-is
+ }
+
+ return (
+
+
+ {open && (
+
+ {args}
+
+ )}
+
+ );
+}
+
+function MessageBubble({ msg, highlight }: { msg: SessionMessage; highlight?: string }) {
+ const style = ROLE_STYLES[msg.role] ?? ROLE_STYLES.system;
+ const label = msg.tool_name ? `Tool: ${msg.tool_name}` : style.label;
+
+ // Check if any search term appears as a prefix of any word in content
+ const isHit = (() => {
+ if (!highlight || !msg.content) return false;
+ const content = msg.content.toLowerCase();
+ const terms = highlight.toLowerCase().split(/\s+/).filter(Boolean);
+ return terms.some((term) => content.includes(term));
+ })();
+
+ // Split search query into terms for inline highlighting
+ const highlightTerms = isHit && highlight
+ ? highlight.split(/\s+/).filter(Boolean)
+ : undefined;
+
+ return (
+
+
+ {label}
+ {isHit && (
+ match
+ )}
+ {msg.timestamp && (
+ {timeAgo(msg.timestamp)}
+ )}
+
+ {msg.content && (
+ msg.role === "system"
+ ?
{msg.content}
+ :
+ )}
+ {msg.tool_calls && msg.tool_calls.length > 0 && (
+
+ {msg.tool_calls.map((tc) => (
+
+ ))}
+
+ )}
+
+ );
+}
+
+/** Message list with auto-scroll to first search hit. */
+function MessageList({ messages, highlight }: { messages: SessionMessage[]; highlight?: string }) {
+ const containerRef = useRef(null);
+
+ useEffect(() => {
+ if (!highlight || !containerRef.current) return;
+ // Scroll to first hit after render
+ const timer = setTimeout(() => {
+ const hit = containerRef.current?.querySelector("[data-search-hit]");
+ if (hit) {
+ hit.scrollIntoView({ behavior: "smooth", block: "center" });
+ }
+ }, 50);
+ return () => clearTimeout(timer);
+ }, [messages, highlight]);
+
+ return (
+
+ {messages.map((msg, i) => (
+
+ ))}
+
+ );
+}
+
+function SessionRow({
+ session,
+ snippet,
+ searchQuery,
+ isExpanded,
+ onToggle,
+ onDelete,
+}: {
+ session: SessionInfo;
+ snippet?: string;
+ searchQuery?: string;
+ isExpanded: boolean;
+ onToggle: () => void;
+ onDelete: () => void;
+}) {
+ const [messages, setMessages] = useState(null);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState(null);
+
+ useEffect(() => {
+ if (isExpanded && messages === null && !loading) {
+ setLoading(true);
+ api
+ .getSessionMessages(session.id)
+ .then((resp) => setMessages(resp.messages))
+ .catch((err) => setError(String(err)))
+ .finally(() => setLoading(false));
+ }
+ }, [isExpanded, session.id, messages, loading]);
+
+ const sourceInfo = (session.source ? SOURCE_CONFIG[session.source] : null) ?? { icon: Globe, color: "text-muted-foreground" };
+ const SourceIcon = sourceInfo.icon;
+ const hasTitle = session.title && session.title !== "Untitled";
+
+ return (
+
+
+
+
+
+
+
+
+
+ {hasTitle ? session.title : (session.preview ? session.preview.slice(0, 60) : "Untitled session")}
+
+ {session.is_active && (
+
+
+ Live
+
+ )}
+
+
+ {(session.model ?? "unknown").split("/").pop()}
+ ·
+ {session.message_count} msgs
+ {session.tool_call_count > 0 && (
+ <>
+ ·
+ {session.tool_call_count} tools
+ >
+ )}
+ ·
+ {timeAgo(session.last_active)}
+
+ {snippet && (
+
+ )}
+
+
+
+
+
+ {session.source ?? "local"}
+
+
+
+
+
+ {isExpanded && (
+
+ {loading && (
+
+ )}
+ {error && (
+
{error}
+ )}
+ {messages && messages.length === 0 && (
+
No messages
+ )}
+ {messages && messages.length > 0 && (
+
+ )}
+
+ )}
+
+ );
+}
+
+export default function SessionsPage() {
+ const [sessions, setSessions] = useState([]);
+ const [loading, setLoading] = useState(true);
+ const [search, setSearch] = useState("");
+ const [expandedId, setExpandedId] = useState(null);
+ const [searchResults, setSearchResults] = useState(null);
+ const [searching, setSearching] = useState(false);
+ const debounceRef = useRef>(null);
+
+ const loadSessions = useCallback(() => {
+ api
+ .getSessions()
+ .then(setSessions)
+ .catch(() => {})
+ .finally(() => setLoading(false));
+ }, []);
+
+ useEffect(() => {
+ loadSessions();
+ }, [loadSessions]);
+
+ // Debounced FTS search
+ useEffect(() => {
+ if (debounceRef.current) clearTimeout(debounceRef.current);
+
+ if (!search.trim()) {
+ setSearchResults(null);
+ setSearching(false);
+ return;
+ }
+
+ setSearching(true);
+ debounceRef.current = setTimeout(() => {
+ api
+ .searchSessions(search.trim())
+ .then((resp) => setSearchResults(resp.results))
+ .catch(() => setSearchResults(null))
+ .finally(() => setSearching(false));
+ }, 300);
+
+ return () => {
+ if (debounceRef.current) clearTimeout(debounceRef.current);
+ };
+ }, [search]);
+
+ const handleDelete = async (id: string) => {
+ try {
+ await api.deleteSession(id);
+ setSessions((prev) => prev.filter((s) => s.id !== id));
+ if (expandedId === id) setExpandedId(null);
+ } catch {
+ // ignore
+ }
+ };
+
+ // Build snippet map from search results (session_id → snippet)
+ const snippetMap = new Map();
+ if (searchResults) {
+ for (const r of searchResults) {
+ snippetMap.set(r.session_id, r.snippet);
+ }
+ }
+
+ // When searching, filter sessions to those with FTS matches;
+ // when not searching, show all sessions
+ const filtered = searchResults
+ ? sessions.filter((s) => snippetMap.has(s.id))
+ : sessions;
+
+ if (loading) {
+ return (
+
+ );
+ }
+
+ return (
+
+ {/* Header outside card for lighter feel */}
+
+
+
+
Sessions
+
+ {sessions.length}
+
+
+
+ {searching ? (
+
+ ) : (
+
+ )}
+
setSearch(e.target.value)}
+ className="pl-8 pr-7 h-8 text-xs"
+ />
+ {search && (
+
+ )}
+
+
+
+ {filtered.length === 0 ? (
+
+
+
+ {search ? "No sessions match your search" : "No sessions yet"}
+
+ {!search && (
+
Start a conversation to see it here
+ )}
+
+ ) : (
+
+ {filtered.map((s) => (
+
+ setExpandedId((prev) => (prev === s.id ? null : s.id))
+ }
+ onDelete={() => handleDelete(s.id)}
+ />
+ ))}
+
+ )}
+
+ );
+}
diff --git a/web/src/pages/SkillsPage.tsx b/web/src/pages/SkillsPage.tsx
new file mode 100644
index 000000000..ab601c9f5
--- /dev/null
+++ b/web/src/pages/SkillsPage.tsx
@@ -0,0 +1,439 @@
+import { useEffect, useState, useMemo } from "react";
+import {
+ Package,
+ Search,
+ Wrench,
+ ChevronDown,
+ ChevronRight,
+ Filter,
+ X,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import type { SkillInfo, ToolsetInfo } from "@/lib/api";
+import { useToast } from "@/hooks/useToast";
+import { Toast } from "@/components/Toast";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Badge } from "@/components/ui/badge";
+import { Input } from "@/components/ui/input";
+import { Switch } from "@/components/ui/switch";
+
+/* ------------------------------------------------------------------ */
+/* Types & helpers */
+/* ------------------------------------------------------------------ */
+
+interface CategoryGroup {
+ name: string; // display name
+ key: string; // raw key (or "__none__")
+ skills: SkillInfo[];
+ enabledCount: number;
+}
+
+const CATEGORY_LABELS: Record = {
+ mlops: "MLOps",
+ "mlops/cloud": "MLOps / Cloud",
+ "mlops/evaluation": "MLOps / Evaluation",
+ "mlops/inference": "MLOps / Inference",
+ "mlops/models": "MLOps / Models",
+ "mlops/training": "MLOps / Training",
+ "mlops/vector-databases": "MLOps / Vector DBs",
+ mcp: "MCP",
+ "red-teaming": "Red Teaming",
+ ocr: "OCR",
+ p5js: "p5.js",
+ ai: "AI",
+ ux: "UX",
+ ui: "UI",
+};
+
+function prettyCategory(raw: string | null | undefined): string {
+ if (!raw) return "General";
+ if (CATEGORY_LABELS[raw]) return CATEGORY_LABELS[raw];
+ return raw
+ .split(/[-_/]/)
+ .map((w) => w.charAt(0).toUpperCase() + w.slice(1))
+ .join(" ");
+}
+
+
+
+/* ------------------------------------------------------------------ */
+/* Component */
+/* ------------------------------------------------------------------ */
+
+export default function SkillsPage() {
+ const [skills, setSkills] = useState([]);
+ const [toolsets, setToolsets] = useState([]);
+ const [loading, setLoading] = useState(true);
+ const [search, setSearch] = useState("");
+ const [activeCategory, setActiveCategory] = useState(null);
+ const [togglingSkills, setTogglingSkills] = useState>(new Set());
+ // Start collapsed by default
+ const [collapsedCategories, setCollapsedCategories] = useState | "all">("all");
+ const { toast, showToast } = useToast();
+
+ useEffect(() => {
+ Promise.all([api.getSkills(), api.getToolsets()])
+ .then(([s, t]) => {
+ setSkills(s);
+ setToolsets(t);
+ })
+ .catch(() => showToast("Failed to load skills/toolsets", "error"))
+ .finally(() => setLoading(false));
+ }, []);
+
+ /* ---- Toggle skill ---- */
+ const handleToggleSkill = async (skill: SkillInfo) => {
+ setTogglingSkills((prev) => new Set(prev).add(skill.name));
+ try {
+ await api.toggleSkill(skill.name, !skill.enabled);
+ setSkills((prev) =>
+ prev.map((s) =>
+ s.name === skill.name ? { ...s, enabled: !s.enabled } : s
+ )
+ );
+ showToast(
+ `${skill.name} ${skill.enabled ? "disabled" : "enabled"}`,
+ "success"
+ );
+ } catch {
+ showToast(`Failed to toggle ${skill.name}`, "error");
+ } finally {
+ setTogglingSkills((prev) => {
+ const next = new Set(prev);
+ next.delete(skill.name);
+ return next;
+ });
+ }
+ };
+
+ /* ---- Derived data ---- */
+ const lowerSearch = search.toLowerCase();
+
+ const filteredSkills = useMemo(() => {
+ return skills.filter((s) => {
+ const matchesSearch =
+ !search ||
+ s.name.toLowerCase().includes(lowerSearch) ||
+ s.description.toLowerCase().includes(lowerSearch) ||
+ (s.category ?? "").toLowerCase().includes(lowerSearch);
+ const matchesCategory =
+ !activeCategory ||
+ (activeCategory === "__none__" ? !s.category : s.category === activeCategory);
+ return matchesSearch && matchesCategory;
+ });
+ }, [skills, search, lowerSearch, activeCategory]);
+
+ const categoryGroups: CategoryGroup[] = useMemo(() => {
+ const map = new Map();
+ for (const s of filteredSkills) {
+ const key = s.category || "__none__";
+ if (!map.has(key)) map.set(key, []);
+ map.get(key)!.push(s);
+ }
+ // Sort: General first, then alphabetical
+ const entries = [...map.entries()].sort((a, b) => {
+ if (a[0] === "__none__") return -1;
+ if (b[0] === "__none__") return 1;
+ return a[0].localeCompare(b[0]);
+ });
+ return entries.map(([key, list]) => ({
+ key,
+ name: prettyCategory(key === "__none__" ? null : key),
+ skills: list.sort((a, b) => a.name.localeCompare(b.name)),
+ enabledCount: list.filter((s) => s.enabled).length,
+ }));
+ }, [filteredSkills]);
+
+ const allCategories = useMemo(() => {
+ const cats = new Map();
+ for (const s of skills) {
+ const key = s.category || "__none__";
+ cats.set(key, (cats.get(key) || 0) + 1);
+ }
+ return [...cats.entries()]
+ .sort((a, b) => {
+ if (a[0] === "__none__") return -1;
+ if (b[0] === "__none__") return 1;
+ return a[0].localeCompare(b[0]);
+ })
+ .map(([key, count]) => ({ key, name: prettyCategory(key === "__none__" ? null : key), count }));
+ }, [skills]);
+
+ const enabledCount = skills.filter((s) => s.enabled).length;
+
+ const filteredToolsets = useMemo(() => {
+ return toolsets.filter(
+ (t) =>
+ !search ||
+ t.name.toLowerCase().includes(lowerSearch) ||
+ t.label.toLowerCase().includes(lowerSearch) ||
+ t.description.toLowerCase().includes(lowerSearch)
+ );
+ }, [toolsets, search, lowerSearch]);
+
+ const isCollapsed = (key: string): boolean => {
+ if (collapsedCategories === "all") return true;
+ return collapsedCategories.has(key);
+ };
+
+ const toggleCollapse = (key: string) => {
+ setCollapsedCategories((prev) => {
+ if (prev === "all") {
+ // Switching from "all collapsed" → expand just this one
+ const allKeys = new Set(categoryGroups.map((g) => g.key));
+ allKeys.delete(key);
+ return allKeys;
+ }
+ const next = new Set(prev);
+ if (next.has(key)) next.delete(key);
+ else next.add(key);
+ return next;
+ });
+ };
+
+ /* ---- Loading ---- */
+ if (loading) {
+ return (
+
+ );
+ }
+
+ return (
+
+
+
+ {/* ═══════════════ Header + Search ═══════════════ */}
+
+
+
+
Skills
+
+ {enabledCount}/{skills.length} enabled
+
+
+
+
+ {/* ═══════════════ Search + Category Filter ═══════════════ */}
+
+
+
+ setSearch(e.target.value)}
+ />
+ {search && (
+
+ )}
+
+
+
+ {/* Category pills */}
+ {allCategories.length > 1 && (
+
+
+
+ {allCategories.map(({ key, name, count }) => (
+
+ ))}
+
+ )}
+
+ {/* ═══════════════ Skills by Category ═══════════════ */}
+
+
+ {filteredSkills.length === 0 ? (
+
+
+ {skills.length === 0
+ ? "No skills found. Skills are loaded from ~/.hermes/skills/"
+ : "No skills match your search or filter."}
+
+
+ ) : (
+ categoryGroups.map(({ key, name, skills: catSkills, enabledCount: catEnabled }) => {
+ const collapsed = isCollapsed(key);
+ return (
+
+ toggleCollapse(key)}
+ >
+
+
+ {collapsed ? (
+
+ ) : (
+
+ )}
+ {name}
+
+ {catSkills.length} skill{catSkills.length !== 1 ? "s" : ""}
+
+
+
+ {catEnabled}/{catSkills.length} enabled
+
+
+
+
+ {collapsed ? (
+ /* Peek: show first few skill names so collapsed isn't blank */
+
+
+ {catSkills.slice(0, 4).map((s) => s.name).join(", ")}
+ {catSkills.length > 4 && `, +${catSkills.length - 4} more`}
+
+
+ ) : (
+
+
+ {catSkills.map((skill) => (
+
+
+ handleToggleSkill(skill)}
+ disabled={togglingSkills.has(skill.name)}
+ />
+
+
+
+
+
+ {skill.name}
+
+
+
+ {skill.description || "No description available."}
+
+
+
+ ))}
+
+
+ )}
+
+ );
+ })
+ )}
+
+
+ {/* ═══════════════ Toolsets ═══════════════ */}
+
+
+
+ Toolsets ({filteredToolsets.length})
+
+
+ {filteredToolsets.length === 0 ? (
+
+
+ No toolsets match the search.
+
+
+ ) : (
+
+ {filteredToolsets.map((ts) => {
+ // Strip emoji prefix from label for cleaner display
+ const labelText = ts.label.replace(/^[\p{Emoji}\s]+/u, "").trim() || ts.name;
+ const emoji = ts.label.match(/^[\p{Emoji}]+/u)?.[0] || "🔧";
+
+ return (
+
+
+
+
{emoji}
+
+
+ {labelText}
+
+ {ts.enabled ? "active" : "inactive"}
+
+
+
+ {ts.description}
+
+ {ts.enabled && !ts.configured && (
+
+ Setup needed
+
+ )}
+ {ts.tools.length > 0 && (
+
+ {ts.tools.map((tool) => (
+
+ {tool}
+
+ ))}
+
+ )}
+ {ts.tools.length === 0 && (
+
+ {ts.enabled ? `${ts.name} toolset` : "Disabled for CLI"}
+
+ )}
+
+
+
+
+ );
+ })}
+
+ )}
+
+
+ );
+}
diff --git a/web/src/pages/StatusPage.tsx b/web/src/pages/StatusPage.tsx
new file mode 100644
index 000000000..680f8dad7
--- /dev/null
+++ b/web/src/pages/StatusPage.tsx
@@ -0,0 +1,303 @@
+import { useEffect, useState } from "react";
+import {
+ Activity,
+ AlertTriangle,
+ Clock,
+ Cpu,
+ Database,
+ Radio,
+ Wifi,
+ WifiOff,
+} from "lucide-react";
+import { api } from "@/lib/api";
+import type { PlatformStatus, SessionInfo, StatusResponse } from "@/lib/api";
+import { timeAgo, isoTimeAgo } from "@/lib/utils";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Badge } from "@/components/ui/badge";
+
+const PLATFORM_STATE_BADGE: Record = {
+ connected: { variant: "success", label: "Connected" },
+ disconnected: { variant: "warning", label: "Disconnected" },
+ fatal: { variant: "destructive", label: "Error" },
+};
+
+const GATEWAY_STATE_DISPLAY: Record = {
+ running: { badge: "success", label: "Running" },
+ starting: { badge: "warning", label: "Starting" },
+ startup_failed: { badge: "destructive", label: "Failed" },
+ stopped: { badge: "outline", label: "Stopped" },
+};
+
+function gatewayValue(status: StatusResponse): string {
+ if (status.gateway_running) return `PID ${status.gateway_pid}`;
+ if (status.gateway_state === "startup_failed") return "Start failed";
+ return "Not running";
+}
+
+function gatewayBadge(status: StatusResponse) {
+ const info = status.gateway_state ? GATEWAY_STATE_DISPLAY[status.gateway_state] : null;
+ if (info) return info;
+ return status.gateway_running
+ ? { badge: "success" as const, label: "Running" }
+ : { badge: "outline" as const, label: "Off" };
+}
+
+export default function StatusPage() {
+ const [status, setStatus] = useState(null);
+ const [sessions, setSessions] = useState([]);
+
+ useEffect(() => {
+ const load = () => {
+ api.getStatus().then(setStatus).catch(() => {});
+ api.getSessions().then(setSessions).catch(() => {});
+ };
+ load();
+ const interval = setInterval(load, 5000);
+ return () => clearInterval(interval);
+ }, []);
+
+ if (!status) {
+ return (
+
+ );
+ }
+
+ const gwBadge = gatewayBadge(status);
+
+ const items = [
+ {
+ icon: Cpu,
+ label: "Agent",
+ value: `v${status.version}`,
+ badgeText: "Live",
+ badgeVariant: "success" as const,
+ },
+ {
+ icon: Radio,
+ label: "Gateway",
+ value: gatewayValue(status),
+ badgeText: gwBadge.label,
+ badgeVariant: gwBadge.badge,
+ },
+ {
+ icon: Activity,
+ label: "Active Sessions",
+ value: status.active_sessions > 0 ? `${status.active_sessions} running` : "None",
+ badgeText: status.active_sessions > 0 ? "Live" : "Off",
+ badgeVariant: (status.active_sessions > 0 ? "success" : "outline") as "success" | "outline",
+ },
+ ];
+
+ const platforms = Object.entries(status.gateway_platforms ?? {});
+ const activeSessions = sessions.filter((s) => s.is_active);
+ const recentSessions = sessions.filter((s) => !s.is_active).slice(0, 5);
+
+ // Collect alerts that need attention
+ const alerts: { message: string; detail?: string }[] = [];
+ if (status.gateway_state === "startup_failed") {
+ alerts.push({
+ message: "Gateway failed to start",
+ detail: status.gateway_exit_reason ?? undefined,
+ });
+ }
+ const failedPlatforms = platforms.filter(([, info]) => info.state === "fatal" || info.state === "disconnected");
+ for (const [name, info] of failedPlatforms) {
+ alerts.push({
+ message: `${name.charAt(0).toUpperCase() + name.slice(1)} ${info.state === "fatal" ? "error" : "disconnected"}`,
+ detail: info.error_message ?? undefined,
+ });
+ }
+
+
+ return (
+
+ {/* Alert banner — breaks grid monotony for critical states */}
+ {alerts.length > 0 && (
+
+
+
+
+ {alerts.map((alert, i) => (
+
+
{alert.message}
+ {alert.detail && (
+
{alert.detail}
+ )}
+
+ ))}
+
+
+
+ )}
+
+
+ {items.map(({ icon: Icon, label, value, badgeText, badgeVariant }) => (
+
+
+ {label}
+
+
+
+
+ {value}
+
+ {badgeText && (
+
+ {badgeVariant === "success" && (
+
+ )}
+ {badgeText}
+
+ )}
+
+
+ ))}
+
+
+ {platforms.length > 0 && (
+
+ )}
+
+ {activeSessions.length > 0 && (
+
+
+
+
+
+
+ {activeSessions.map((s) => (
+
+
+
+ {s.title ?? "Untitled"}
+
+
+
+ Live
+
+
+
+
+ {s.model ?? "unknown"} · {s.message_count} msgs · {timeAgo(s.last_active)}
+
+
+
+ ))}
+
+
+ )}
+
+ {recentSessions.length > 0 && (
+
+
+
+
+ Recent Sessions
+
+
+
+
+ {recentSessions.map((s) => (
+
+
+ {s.title ?? "Untitled"}
+
+
+ {s.model ?? "unknown"} · {s.message_count} msgs · {timeAgo(s.last_active)}
+
+
+ {s.preview && (
+
+ {s.preview}
+
+ )}
+
+
+
+
+ {s.source ?? "local"}
+
+
+ ))}
+
+
+ )}
+
+ );
+}
+
+function PlatformsCard({ platforms }: PlatformsCardProps) {
+ return (
+
+
+
+
+ Connected Platforms
+
+
+
+
+ {platforms.map(([name, info]) => {
+ const display = PLATFORM_STATE_BADGE[info.state] ?? {
+ variant: "outline" as const,
+ label: info.state,
+ };
+ const IconComponent = info.state === "connected" ? Wifi : info.state === "fatal" ? AlertTriangle : WifiOff;
+
+ return (
+
+
+
+
+
+ {name}
+
+ {info.error_message && (
+ {info.error_message}
+ )}
+
+ {info.updated_at && (
+
+ Last update: {isoTimeAgo(info.updated_at)}
+
+ )}
+
+
+
+
+ {display.variant === "success" && (
+
+ )}
+ {display.label}
+
+
+ );
+ })}
+
+
+ );
+}
+
+interface PlatformsCardProps {
+ platforms: [string, PlatformStatus][];
+}
diff --git a/web/tsconfig.app.json b/web/tsconfig.app.json
new file mode 100644
index 000000000..dfd66951d
--- /dev/null
+++ b/web/tsconfig.app.json
@@ -0,0 +1,34 @@
+{
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
+ "target": "ES2023",
+ "useDefineForClassFields": true,
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "types": ["vite/client"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "moduleDetection": "force",
+ "noEmit": true,
+ "jsx": "react-jsx",
+
+ /* Path aliases */
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "erasableSyntaxOnly": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUncheckedSideEffectImports": true
+ },
+ "include": ["src"]
+}
diff --git a/web/tsconfig.json b/web/tsconfig.json
new file mode 100644
index 000000000..1ffef600d
--- /dev/null
+++ b/web/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "files": [],
+ "references": [
+ { "path": "./tsconfig.app.json" },
+ { "path": "./tsconfig.node.json" }
+ ]
+}
diff --git a/web/tsconfig.node.json b/web/tsconfig.node.json
new file mode 100644
index 000000000..8a67f62f4
--- /dev/null
+++ b/web/tsconfig.node.json
@@ -0,0 +1,26 @@
+{
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
+ "target": "ES2023",
+ "lib": ["ES2023"],
+ "module": "ESNext",
+ "types": ["node"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "moduleDetection": "force",
+ "noEmit": true,
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "erasableSyntaxOnly": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUncheckedSideEffectImports": true
+ },
+ "include": ["vite.config.ts"]
+}
diff --git a/web/vite.config.ts b/web/vite.config.ts
new file mode 100644
index 000000000..0ed9f1ccb
--- /dev/null
+++ b/web/vite.config.ts
@@ -0,0 +1,22 @@
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react";
+import tailwindcss from "@tailwindcss/vite";
+import path from "path";
+
+export default defineConfig({
+ plugins: [react(), tailwindcss()],
+ resolve: {
+ alias: {
+ "@": path.resolve(__dirname, "./src"),
+ },
+ },
+ build: {
+ outDir: "../hermes_cli/web_dist",
+ emptyOutDir: true,
+ },
+ server: {
+ proxy: {
+ "/api": "http://127.0.0.1:9119",
+ },
+ },
+});