diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 9a9530df..258d5428 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -68,4 +68,3 @@ jobs: fi echo "✅ No obvious secret patterns found" - diff --git a/.gitignore b/.gitignore index a7b854b2..6d027539 100644 --- a/.gitignore +++ b/.gitignore @@ -136,3 +136,5 @@ __pycache__/ .env.docker .env.bak +.runtime/ +workspace-final-markdown-review.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ae04c3cb..630e6c5a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,4 +50,3 @@ See `.env.example` for all options. Key ones: - **Describe what you changed** — clear PR title + description - **No secrets** — never commit API keys, tokens, or passwords - **Follow existing patterns** — match the code style you see - diff --git a/FEATURES-INVENTORY.md b/FEATURES-INVENTORY.md new file mode 100644 index 00000000..96ed9646 --- /dev/null +++ b/FEATURES-INVENTORY.md @@ -0,0 +1,735 @@ +# Hermes Workspace — Comprehensive Features Inventory + +> **Version:** 1.0.0 | **Stack:** React 19 + TanStack Start/Router + Vite 7 + Tailwind CSS 4 + Zustand + xterm.js + Monaco Editor +> **Description:** Desktop workspace for Hermes Agent — chat, orchestration, and multi-agent coding pipelines + +--- + +## Table of Contents + +1. [Frontend Screens & Features](#1-frontend-screens--features) +2. [Backend API Endpoints](#2-backend-api-endpoints) +3. [UI Components Library](#3-ui-components-library) +4. [Configuration & Settings](#4-configuration--settings) +5. [Server-Side Architecture](#5-server-side-architecture) +6. [Integrations & Provider Support](#6-integrations--provider-support) +7. [UX Features & Interactions](#7-ux-features--interactions) +8. [Security Features](#8-security-features) +9. [Mobile & PWA Features](#9-mobile--pwa-features) +10. [Deployment Options](#10-deployment-options) + +--- + +## 1. Frontend Screens & Features + +### 1.1 Chat Screen (`/chat`, `/chat/$sessionKey`) + +- **Real-time SSE streaming** with tool call rendering +- **Multi-session management** — create, rename, delete, fork sessions +- **Dual chat backend modes:** + - **Enhanced Hermes** — full session API with persistent history via Hermes gateway + - **Portable** — OpenAI-compatible `/v1/chat/completions` (works with Ollama, LM Studio, vLLM, etc.) +- **Chat sidebar** — session list with search, pin, rename, delete dialogs +- **Message rendering:** + - Markdown with GFM support (`react-markdown` + `remark-gfm` + `remark-breaks`) + - Syntax highlighting via Shiki + - Tool call pill rendering with expandable details + - Thinking/reasoning content display + - Message timestamps + - Message actions bar (copy, etc.) +- **Chat composer** — multi-line input with: + - Slash command menu (`/new`, `/clear`, `/model`, `/save`, `/skills`, `/skin`, `/help`) + - File attachment support (images via base64, multimodal content) + - Voice input (Web Speech API) + - Context meter showing token usage percentage +- **Session management features:** + - Auto-generated session titles + - Session forking + - Session search across history + - Pinned sessions + - Session tombstones for deleted session cleanup +- **Inspector panel** — sidebar showing session activity, memory, and skills +- **Research card** — embedded research display +- **Connection status messaging** — real-time gateway connectivity indicators +- **Scroll-to-bottom button** for long conversations +- **Chat empty state** — onboarding content when no messages exist +- **Provider selection dialog** — model/provider chooser inline in chat +- **Smooth streaming text** — progressive text reveal for streaming responses +- **Context alert system** — warnings when approaching token limits + +### 1.2 Dashboard Screen (`/dashboard`) + +- Overview dashboard for workspace metrics +- Dashboard overflow panel for expanded views + +### 1.3 Files Screen (`/files`) + +- **Full workspace file browser** with directory tree navigation +- **File preview dialog** — inline file viewing +- **Monaco Editor integration** — full code editing +- **File operations:** create, read, write, rename, delete, mkdir +- **File upload** — multipart form upload support +- **Image preview** — base64 rendering for image files +- **Glob pattern support** — filter files by pattern +- **Path traversal prevention** — sandboxed to workspace root +- **Ignored directories:** `node_modules`, `.git`, `.next`, `.turbo`, `.cache`, `__pycache__`, `.venv`, `dist` +- **Max depth/entries limits** — configurable tree depth (default 3), max 20K entries + +### 1.4 Terminal Screen (`/terminal`) + +- **Full PTY terminal** via Python pty-helper +- **xterm.js** with addons: fit, search, web-links +- **256-color support** (TERM=xterm-256color, COLORTERM=truecolor) +- **Persistent shell sessions** — create, input, resize, close +- **SSE-based terminal streaming** — real-time output +- **Keepalive pings** every 8 seconds +- **Terminal workspace** component with debug panel +- **Mobile terminal input** — adapted for touch devices +- **Platform-aware default shell:** zsh (macOS), bash (Linux), PowerShell (Windows) + +### 1.5 Memory Browser Screen (`/memory`) + +- **Browse agent memory files** in `~/.hermes/` (MEMORY.md, memory/, memories/) +- **Search across memory entries** — text search with line-level results (max 200 matches) +- **Markdown preview** with live editing via MemoryEditor +- **Memory file list** — sorted with MEMORY.md first, daily files by date +- **Memory components:** MemoryFileList, MemorySearch, MemoryEditor, MemoryPreview + +### 1.6 Skills Browser Screen (`/skills`) + +- **Browse 2,000+ skills** from the Hermes skill registry +- **Tabbed view:** Installed, Marketplace, Featured +- **Skill categories:** All, Web & Frontend, Coding Agents, Git & GitHub, DevOps & Cloud, Browser & Automation, Image & Video, Search & Research, AI & LLMs, Productivity, Marketing & Sales, Communication, Data & Analytics, Finance & Crypto +- **Search and filter** — by name, description, author, tags, triggers +- **Sort options:** by name, by category +- **Featured skills** curation with groups (Most Popular, New This Week, Developer Tools, Productivity) +- **Security risk display** — safe/low/medium/high levels with flags and scores +- **Workspace skills screen** — per-session skill management + +### 1.7 Jobs Screen (`/jobs`) + +- **Scheduled job management** — cron-style agent automation +- **Create job dialog** — schedule, prompt, name, delivery, skills, repeat config +- **Edit job dialog** — modify existing jobs +- **Job operations:** create, update, delete, pause, resume, trigger +- **Job output viewer** — view execution results +- **Job state tracking** — enabled/disabled, next/last run, success status + +### 1.8 Settings Screens (`/settings`, `/settings/providers`) + +- **Settings dialog** — centralized configuration panel +- **Providers screen** — manage AI provider connections +- **Provider wizard** — guided setup for new providers + +--- + +## 2. Backend API Endpoints + +### 2.1 Chat & Messaging + +| Endpoint | Method | Description | +| -------------------- | ------ | -------------------------------------------------------------------------------- | +| `/api/send-stream` | POST | Main streaming chat endpoint — routes to enhanced Hermes or portable OpenAI mode | +| `/api/send` | POST | Non-streaming chat send | +| `/api/sessions/send` | POST | Session-specific send | +| `/api/chat-events` | GET | SSE chat event stream | +| `/api/events` | GET | Global SSE event bus (keepalive, real-time updates) | +| `/api/history` | GET | Chat history retrieval | + +### 2.2 Sessions + +| Endpoint | Method | Description | +| -------------------------------------- | ------ | ------------------------------------- | +| `/api/sessions` | GET | List all sessions (paginated, max 50) | +| `/api/sessions` | POST | Create new session | +| `/api/sessions` | PATCH | Update session (rename) | +| `/api/sessions` | DELETE | Delete session | +| `/api/sessions/$sessionKey/status` | GET | Session status | +| `/api/sessions/$sessionKey/active-run` | GET | Active run for session | +| `/api/session-status` | GET | Session connection status | + +### 2.3 Files + +| Endpoint | Method | Description | +| ---------------------------- | ------ | ------------------------------------------- | +| `/api/files?action=list` | GET | List directory tree with depth/entry limits | +| `/api/files?action=read` | GET | Read file content (text or base64 image) | +| `/api/files?action=download` | GET | Download file with Content-Disposition | +| `/api/files` | POST | Write/upload/mkdir/rename/delete files | +| `/api/paths` | GET | Path resolution and workspace info | + +### 2.4 Memory + +| Endpoint | Method | Description | +| -------------------- | ------ | -------------------------------- | +| `/api/memory` | GET | Get memory from Hermes gateway | +| `/api/memory/list` | GET | List local memory markdown files | +| `/api/memory/read` | GET | Read specific memory file | +| `/api/memory/search` | GET | Search across memory files | +| `/api/memory/write` | POST | Write/update memory file | + +### 2.5 Skills + +| Endpoint | Method | Description | +| ------------- | ------ | ----------------------------------------- | +| `/api/skills` | GET | List skills (paginated, filtered, sorted) | +| `/api/skills` | POST | Skill installation (currently disabled) | + +### 2.6 Models & Config + +| Endpoint | Method | Description | +| -------------------- | ------ | -------------------------------------------- | +| `/api/models` | GET | List available models (gateway + auth store) | +| `/api/hermes-config` | GET | Read Hermes config.yaml and .env | +| `/api/hermes-config` | PATCH | Update config.yaml and .env | +| `/api/context-usage` | GET | Token/context usage for a session | + +### 2.7 Jobs + +| Endpoint | Method | Description | +| ------------------------- | --------------------- | ---------------------------------------------- | +| `/api/hermes-jobs` | GET | List all jobs | +| `/api/hermes-jobs` | POST | Create new job | +| `/api/hermes-jobs/$jobId` | GET/POST/PATCH/DELETE | Job CRUD and actions (pause/resume/run/output) | + +### 2.8 Terminal + +| Endpoint | Method | Description | +| ---------------------- | ------ | ---------------------------------------- | +| `/api/terminal-stream` | POST | Create PTY session and stream SSE output | +| `/api/terminal-input` | POST | Send input to terminal session | +| `/api/terminal-resize` | POST | Resize terminal dimensions | +| `/api/terminal-close` | POST | Close terminal session | + +### 2.9 Auth & Infrastructure + +| Endpoint | Method | Description | +| ------------------------ | ------ | --------------------------------------------- | +| `/api/auth` | POST | Password authentication (rate-limited: 5/min) | +| `/api/auth-check` | GET | Check authentication status | +| `/api/ping` | GET | Server ping/health | +| `/api/connection-status` | GET | Gateway connection status with capabilities | +| `/api/gateway-status` | GET | Detailed gateway capabilities | +| `/api/start-agent` | POST | Auto-start Hermes agent process | +| `/api/start-hermes` | POST | Start Hermes gateway | +| `/api/workspace` | GET | Workspace auto-detection | + +### 2.10 OAuth + +| Endpoint | Method | Description | +| ------------------------ | ------ | ------------------------------- | +| `/api/oauth/device-code` | POST | Device code flow (Nous Portal) | +| `/api/oauth/poll-token` | POST | Poll for OAuth token completion | + +--- + +## 3. UI Components Library + +### 3.1 Core UI Primitives (`src/components/ui/`) + +- **alert-dialog** — confirmation dialogs +- **autocomplete** — filterable autocomplete input +- **braille-spinner** — loading indicator with braille animation +- **button** — button variants (class-variance-authority) +- **collapsible** — expandable/collapsible sections +- **command** — command palette UI (cmdk-style) +- **dialog** — modal dialogs +- **input** — text input fields +- **menu** — dropdown menus +- **preview-card** — content preview cards +- **scroll-area** — custom scrollable areas +- **switch** — toggle switches +- **tabs** — tabbed interfaces +- **three-dots-spinner** — loading animation +- **toast** — notification toasts +- **tooltip** — hover tooltips + +### 3.2 Prompt Kit (`src/components/prompt-kit/`) + +- **chat-container** — main chat layout wrapper +- **message** — individual message rendering +- **markdown** — rich markdown rendering +- **code-block** — syntax-highlighted code with copy +- **prompt-input** — chat input component +- **tool** — tool call display +- **tool-indicator** — tool execution status +- **thinking** — thinking/reasoning block +- **thinking-indicator** — animated thinking state +- **typing-indicator** — typing animation +- **text-shimmer** — text loading shimmer effect +- **scroll-button** — scroll-to-bottom control + +### 3.3 Feature Components + +- **workspace-shell** — main app layout shell +- **chat-panel** — persistent side chat panel +- **chat-panel-toggle** — show/hide chat panel +- **command-palette** — global `⌘K` command palette +- **slash-command-menu** — `/` command autocomplete in chat +- **attachment-button** — file attachment trigger +- **attachment-preview** — attached file preview +- **export-menu** — export chat as Markdown/JSON/Text +- **context-meter** — token usage visualization +- **mode-selector** — preset mode selection +- **save-mode-dialog** / **apply-mode-dialog** / **rename-mode-dialog** / **manage-modes-modal** — full mode management UI +- **model-suggestion-toast** — smart model recommendations +- **keyboard-shortcuts-modal** — keyboard shortcut reference +- **global-shortcut-listener** — system-wide keyboard shortcuts +- **terminal-shortcut-listener** — terminal-specific shortcuts +- **connection-overlay** — full-screen connection status +- **connection-startup-screen** — initial loading/connection screen +- **backend-unavailable-state** — offline fallback UI +- **hermes-health-banner** — gateway health indicator +- **hermes-reconnect-banner** — reconnection prompt +- **error-boundary** — React error boundary +- **error-toast** — error notification +- **loading-indicator** — generic loading state +- **logo-loader** — branded loading animation +- **status-indicator** — colored status dots +- **empty-state** — empty content placeholder +- **theme-toggle** — light/dark theme switcher + +### 3.4 Navigation & Layout + +- **mobile-tab-bar** — bottom navigation for mobile +- **mobile-hamburger-menu** — hamburger menu for mobile +- **mobile-sessions-panel** — mobile session browser +- **mobile-page-header** — mobile header bar +- **mobile-prompt** — MobileSetupModal, MobilePromptTrigger + +### 3.5 Specialized Components + +- **memory-viewer/** — MemoryFileList, MemorySearch, MemoryEditor, MemoryPreview +- **file-explorer/** — file-explorer-sidebar, file-preview-dialog +- **terminal/** — terminal-panel, terminal-workspace, debug-panel, mobile-terminal-input +- **inspector/** — inspector-panel, activity-store +- **usage-meter/** — usage-meter, usage-meter-compact, usage-details-modal, context-alert-modal +- **search/** — search-modal, search-input, search-results, search-result-item, quick-actions +- **settings-dialog/** — settings-dialog +- **onboarding/** — hermes-onboarding, onboarding-wizard, onboarding-tour, tour-steps, setup-step-content, provider-select-step +- **agent-chat/** — AgentChatModal, AgentChatHeader, AgentChatInput, AgentChatMessages +- **avatars/** — user-avatar, assistant-avatar +- **auth/** — login-screen + +### 3.6 Provider & Model Components + +- **provider-logo** — provider brand logos +- **provider-model-icon** — model-specific icons +- **agent-avatar** — AI agent avatar +- **agent-card** — agent info card + +--- + +## 4. Configuration & Settings + +### 4.1 User Settings (persisted via Zustand + localStorage) + +| Setting | Type | Default | Description | +| ------------------------- | ------------------------------- | -------- | --------------------------- | +| `hermesUrl` | string | `''` | Hermes API URL | +| `hermesToken` | string | `''` | Bearer token | +| `theme` | `system\|light\|dark` | `system` | Color mode | +| `accentColor` | `orange\|purple\|blue\|green` | `blue` | Accent color | +| `editorFontSize` | number | `13` | Monaco editor font size | +| `editorWordWrap` | boolean | `true` | Editor word wrap | +| `editorMinimap` | boolean | `false` | Editor minimap | +| `notificationsEnabled` | boolean | `true` | Sound/notifications | +| `usageThreshold` | number | `80` | Context usage warning % | +| `smartSuggestionsEnabled` | boolean | `false` | Smart model suggestions | +| `preferredBudgetModel` | string | `''` | Preferred cheap model | +| `preferredPremiumModel` | string | `''` | Preferred premium model | +| `onlySuggestCheaper` | boolean | `false` | Only suggest cheaper models | +| `showSystemMetricsFooter` | boolean | `false` | System metrics display | +| `mobileChatNavMode` | `dock\|integrated\|scroll-hide` | `dock` | Mobile nav behavior | + +### 4.2 Theme System — 8 Themes + +| Theme | Description | Mode | +| --------------------- | ------------------------------- | ----- | +| Hermes Official | Navy and indigo flagship | Dark | +| Hermes Official Light | Soft indigo light palette | Light | +| Hermes Classic | Bronze accents on dark charcoal | Dark | +| Classic Light | Warm parchment with bronze | Light | +| Slate | Cool blue developer theme | Dark | +| Slate Light | GitHub-light with blue accents | Light | +| Mono | Clean monochrome grayscale | Dark | +| Mono Light | Bright monochrome grayscale | Light | + +### 4.3 Workspace State (Zustand, persisted) + +- Sidebar collapsed/expanded +- File explorer collapsed/expanded +- Chat focus mode +- Active sub-page route +- Chat panel open/closed + session key +- Mobile keyboard state + +### 4.4 Modes System + +- **Custom presets** — save/load named configurations +- Each mode stores: name, preferred model, smart suggestions toggle, budget/premium model prefs +- Drift detection — alerts when settings diverge from applied mode + +### 4.5 Environment Variables + +| Variable | Description | +| ---------------------- | -------------------------------------------------- | +| `HERMES_API_URL` | Backend API URL (default: `http://127.0.0.1:8642`) | +| `HERMES_PASSWORD` | Optional password protection for web UI | +| `HERMES_WORKSPACE_DIR` | Workspace root directory (default: `~/.hermes`) | +| `HERMES_AGENT_PATH` | Path to hermes-agent directory | +| `HERMES_DEFAULT_MODEL` | Default model override | +| `HERMES_ALLOWED_HOSTS` | Allowed hosts (default: `.ts.net`) | +| `ANTHROPIC_API_KEY` | Anthropic API key passthrough | +| `BEARER_TOKEN` | Bearer token for backend auth | +| `PORT` | Server port (default: 3002 dev, 3000 prod) | + +### 4.6 Hermes Config Management + +- **Read/write `~/.hermes/config.yaml`** — YAML config via web UI +- **Read/write `~/.hermes/.env`** — environment variables +- **Provider status** with masked API keys +- **Auth store integration** — reads from `~/.hermes/auth-profiles.json` and `~/.openclaw/agents/main/agent/auth-profiles.json` + +--- + +## 5. Server-Side Architecture + +### 5.1 Gateway Capability Probing + +- **Two-tier capability model:** + - **Core:** health, chatCompletions, models, streaming + - **Enhanced:** sessions, skills, memory, config, jobs +- **Three chat modes:** + - `enhanced-hermes` — full Hermes session API + - `portable` — OpenAI-compatible /v1/chat/completions + - `disconnected` — no usable backend +- **Auto-detection** with port fallback (8642 → 8643) +- **Probe TTL** — 30 second cache, periodic refresh +- **Feature gates** — graceful degradation per capability + +### 5.2 Chat Event Bus + +- Server-side event bus for real-time updates +- SSE broadcasting to all connected clients +- Chat events: chunk, done, error, thinking, tool calls + +### 5.3 Run Store (Persistence) + +- Persisted run state at `~/.hermes/webui-mvp/runs/` +- Run lifecycle: accepted → active → handoff → stalled → complete → error +- Tool call tracking with phase management +- Lifecycle event logging (max 40 per run) +- Run timeout: 15 minutes + +### 5.4 Terminal Sessions + +- Python PTY helper (`pty-helper.py`) — real PTY without native node-pty addon +- Session management: create, input, resize (SIGWINCH), close (SIGTERM → SIGKILL) +- Event emitter pattern with early buffer for pre-listener output + +### 5.5 Memory Browser (Server) + +- Filesystem-based memory browsing in `~/.hermes/` +- File filters: MEMORY.md, memory/_, memories/_ +- Markdown-only restriction +- Path traversal prevention +- Sort: MEMORY.md first, daily files by date descending, then by modification time + +### 5.6 OpenAI-Compatible API Client + +- Streaming parser for `/v1/chat/completions` SSE +- Support for reasoning/thinking content (DeepSeek, QwQ, etc.) +- Automatic default model detection from `/v1/models` +- Multimodal support (image_url content parts) + +### 5.7 Hermes Agent Auto-Start + +- Auto-detects sibling `hermes-agent/` directory +- Resolves Python virtualenv (`.venv`, `venv`, system `python3`) +- Spawns uvicorn with health polling (15 attempts, 1s interval) +- Reads `~/.hermes/.env` for agent configuration + +### 5.8 Workspace Daemon (Optional) + +- Separate workspace daemon process on port 3099 +- Auto-restart with exponential backoff (max 20 retries) +- Provides workspace-level APIs (checkpoints, agents, etc.) + +--- + +## 6. Integrations & Provider Support + +### 6.1 AI Providers (Provider Catalog) + +| Provider | Auth Types | Description | +| ---------- | ------------------ | ----------------------------------- | +| Anthropic | API Key, CLI Token | Claude models — Haiku, Sonnet, Opus | +| OpenAI | API Key | GPT and reasoning models | +| Google | API Key, OAuth | Gemini models | +| OpenRouter | API Key | Unified multi-provider access | +| MiniMax | API Key | Foundation models | +| Ollama | Local (no auth) | Local models | +| Custom | API Key | Any OpenAI-compatible server | + +### 6.2 Known Gateway Providers (Hermes Config) + +- Nous Portal (OAuth device code flow) +- OpenAI Codex (OAuth) +- Anthropic (API key) +- OpenRouter (API key) +- Z.AI / GLM (API key) +- Kimi / Moonshot (API key) +- MiniMax / MiniMax CN (API key) +- Ollama (local, no auth) +- Custom OpenAI-compatible + +### 6.3 Well-Known Models + +- **Anthropic:** Claude Sonnet 4, Claude Opus 4 +- **OpenAI:** GPT-4o +- **xAI:** Grok 3 +- **Context window database:** Claude 4 (1M), Claude 3.x (200K), GPT-4o (128K), Gemini 2.x (1M), Qwen (32K–131K), Llama 3 (8K–128K), Mistral (32K–128K), DeepSeek (64K–128K) + +### 6.4 OAuth Integration + +- **Device code flow** for Nous Portal +- Token polling mechanism +- Auth profile storage in `~/.hermes/auth-profiles.json` + +### 6.5 Workspace Agents + +- Multi-agent directory with capabilities tracking +- Agent properties: model, provider, status (online/away/offline), avatar, system prompt +- Agent capabilities: repo write, shell commands, git operations, browser, network +- Agent stats: runs/tokens/cost today, success rate, avg response time + +### 6.6 Workspace Checkpoints + +- Code review checkpoint system +- Review actions: approve, approve-and-commit, approve-and-pr, approve-and-merge, reject, revise +- Diff viewing with file-level additions/deletions +- Verification checks: TypeScript (tsc), tests, lint, e2e +- Run event timeline + +--- + +## 7. UX Features & Interactions + +### 7.1 Sound Notification System + +Web Audio API synthesized sounds (no audio files): + +- **Agent Spawned** — ascending C5→E5 chime +- **Agent Complete** — satisfying G5 ding +- **Agent Failed** — low C3→A2 error tone +- **Chat Notification** — soft E5 ping +- **Chat Complete** — gentle E5→C5 descend +- **Alert** — attention-grab A4→E5→A4 +- **Thinking** — subtle C6 tick +- Configurable volume (0–1) and enable/disable + +### 7.2 Keyboard Shortcuts + +- **⌘K** — Command palette +- **Global shortcuts** via `global-shortcut-listener` +- **Terminal shortcuts** via `terminal-shortcut-listener` +- **Session shortcuts** — navigate between sessions +- **Keyboard shortcuts modal** — discoverable reference + +### 7.3 Voice Input + +- Web Speech API integration +- Languages: configurable (default: en-US) +- States: idle, listening, processing, error +- Interim (partial) results support +- Toggle on/off + +### 7.4 Haptic Feedback + +- `navigator.vibrate(8)` for mobile tap feedback + +### 7.5 Search + +- **Global search modal** with quick actions +- **Search input** with keyboard navigation +- **Search results** with highlighted matches +- **Session search** across all chat history + +### 7.6 Onboarding + +- **Onboarding wizard** — first-run setup flow +- **Onboarding tour** — interactive guided tour (react-joyride) +- **Setup steps** — provider selection, connection verification +- **Tour steps** — feature highlights + +### 7.7 Export + +- Export conversations as Markdown, JSON, or Plain Text + +### 7.8 Auto-Generated Session Titles + +- Automatic title generation from conversation content + +### 7.9 Pinned Sessions & Models + +- Pin frequently used sessions for quick access +- Pin preferred models + +### 7.10 Smart Model Suggestions + +- Automatic model recommendations based on task +- Budget vs premium model preferences +- Model suggestion toast notifications + +--- + +## 8. Security Features + +### 8.1 Authentication + +- Optional password protection via `HERMES_PASSWORD` env var +- Timing-safe password comparison +- Cryptographic session tokens (32 bytes hex) +- HTTP-only, SameSite=Strict cookies (30-day expiry) +- Rate-limited login: 5 attempts/minute per IP +- 1-second delay on failed auth (brute force prevention) + +### 8.2 Authorization + +- Auth middleware on all API routes +- Local request detection (127.0.0.1, ::1, Tailscale 100.x, LAN 192.168.x, 10.x) +- `requireLocalOrAuth` for sensitive operations (file delete, terminal) + +### 8.3 Input Validation + +- CSRF protection via `Content-Type: application/json` requirement +- Path traversal prevention on file and memory routes +- Zod schema validation on auth endpoints +- Input sanitization on all user inputs + +### 8.4 Rate Limiting + +- Sliding window rate limiter (in-memory, no external deps) +- Per-endpoint limits: auth (5/min), files (30/min), terminal (10/min) +- Auto-cleanup every 5 minutes +- 429 Too Many Requests responses + +### 8.5 Error Handling + +- Safe error messages in production (hides internals) +- Error boundaries in React +- Graceful degradation on gateway unavailability + +--- + +## 9. Mobile & PWA Features + +### 9.1 Progressive Web App + +- Full PWA with install prompts +- iOS Safari "Add to Home Screen" support +- Android Chrome install support +- Desktop Chrome/Edge install support + +### 9.2 Mobile-Specific Components + +- Mobile tab bar (bottom navigation) +- Mobile hamburger menu +- Mobile sessions panel +- Mobile page header +- Mobile terminal input +- Mobile setup modal & prompt trigger +- Mobile keyboard handling & inset tracking +- Swipe navigation + +### 9.3 Mobile Chat Nav Modes + +- **Dock** — iMessage-style (no nav in chat) +- **Integrated** — chat input in nav pill +- **Scroll-hide** — nav shows on scroll up + +### 9.4 Tailscale Integration + +- First-class support for Tailscale remote access +- Default allowed hosts include `.ts.net` +- End-to-end encrypted mobile access + +--- + +## 10. Deployment Options + +### 10.1 Local Development + +```bash +pnpm dev # Vite dev server with HMR on port 3002 +``` + +### 10.2 Production Build + +```bash +pnpm build && pnpm start # Node.js server on port 3000 +``` + +### 10.3 Stable Mode + +```bash +pnpm start:stable # Background process via scripts/start-stable.sh +pnpm stop:stable # Stop via scripts/stop-stable.sh +``` + +### 10.4 Docker Compose + +- **hermes-agent** container — Python FastAPI gateway on port 8642 +- **hermes-workspace** container — Node.js web UI on port 3000 +- Health checks with retries +- Environment file passthrough + +### 10.5 Auto-Start Features + +- Hermes agent auto-start from sibling directory +- Workspace daemon auto-start with crash recovery +- Port fallback detection (8642 → 8643) + +--- + +## File/Directory Statistics + +| Category | Count | +| ------------------ | ----- | +| Total source files | ~287 | +| API route files | ~35 | +| React components | ~100+ | +| Custom hooks | ~25 | +| Server modules | ~12 | +| Library utilities | ~20 | +| Store files | 3 | +| Screen files | 8 | + +--- + +## Technology Stack + +| Layer | Technology | +| ------------- | ------------------------------- | +| Framework | TanStack Start (React 19 + SSR) | +| Routing | TanStack Router (file-based) | +| Build | Vite 7 | +| Styling | Tailwind CSS 4 | +| State | Zustand 5 (persisted) | +| Data Fetching | TanStack React Query 5 | +| Terminal | xterm.js 5 + Python PTY | +| Editor | Monaco Editor | +| Markdown | react-markdown + Shiki | +| Charts | Recharts 3 | +| Animation | Motion (Framer Motion) | +| Validation | Zod | +| Icons | Hugeicons + Lobehub Icons | +| Tour | react-joyride | +| WebSocket | ws library | +| Config | YAML parser | +| Testing | Vitest + Testing Library | + +--- + +_Generated from codebase analysis of `/Users/aurora/hermes-workspace/`_ diff --git a/FUTURE-FEATURES.md b/FUTURE-FEATURES.md index 1f0bb8ff..ce2b9048 100644 --- a/FUTURE-FEATURES.md +++ b/FUTURE-FEATURES.md @@ -1,4 +1,5 @@ # FUTURE-FEATURES.md — Post-Roadmap Development + _Added: 2026-03-09 | Source: Framework research (Anthropic Skills guide, OpenAI Agents SDK, Google ADK)_ These features are NOT part of the initial roadmap. Build them AFTER the v4 mockup is 100% complete and verified. @@ -8,44 +9,51 @@ These features are NOT part of the initial roadmap. Build them AFTER the v4 mock ## 🔴 High Priority (unlocks "App Factory" overnight runs) ### 1. Iterative Refinement Loop + **What:** Verification doesn't stop at one tsc pass. Loop: run tsc → errors? → send back to agent → fix → re-run. Max 3 iterations before escalating to human review. **Why:** Anthropic explicitly identifies this as the pattern that makes agents reliable. Current single-pass fails silently. **Where:** `workspace-daemon/src/verification.ts` + `checkpoint-builder.ts` **Pattern source:** Anthropic Skills Guide — "Iterative Refinement" design pattern ### 2. Agent Handoffs (Context Passing Between Agents) + **What:** When one agent finishes a wave, it passes structured context (git diff, error log, what it built, what it skipped) to the next agent. No more blind starts. **Why:** Current agents start each task cold. Handoffs are first-class in OpenAI Agents SDK — explicit control transfer with context. This is what keeps overnight runs coherent. **Where:** New `workspace-daemon/src/handoff.ts`, update adapter interfaces **Pattern source:** OpenAI Agents SDK — "Handoffs" primitive ### 3. Specialized Agent Roles + **What:** Replace generic Codex adapter with role-specific agents: + - **Researcher** — reads codebase, produces spec/context doc - **Planner** — takes spec, produces task breakdown with deps - **Builder** — executes tasks (Codex) - **Validator** — runs tsc, tests, reviews diff - **Deployer** — git ops, PR creation, notifications -**Why:** The "App Factory" screenshot runs specialized roles. Generic agents miss domain context. -**Where:** `workspace-daemon/src/adapters/` — one file per role -**Pattern source:** Anthropic Skills — "Domain-specific intelligence" + App Factory pattern + **Why:** The "App Factory" screenshot runs specialized roles. Generic agents miss domain context. + **Where:** `workspace-daemon/src/adapters/` — one file per role + **Pattern source:** Anthropic Skills — "Domain-specific intelligence" + App Factory pattern --- ## 🟡 Medium Priority ### 4. Parallel Guardrails (tsc watcher during agent run) + **What:** Run tsc in watch mode alongside Codex, not just after. Flag errors in real-time without waiting for checkpoint. **Why:** OpenAI SDK runs guardrails in parallel with the agent — catches issues without blocking the main flow. **Where:** New process spawned alongside agent in `agent-runner.ts` **Pattern source:** OpenAI Agents SDK — "Guardrails" primitive ### 5. Rollback on Checkpoint Rejection + **What:** When a checkpoint is rejected, auto-revert to pre-task git state rather than leaving dirty code in tree. **Why:** Currently a rejection leaves broken code that the next agent inherits. **Where:** `workspace-daemon/src/git-ops.ts` — add `revertToCheckpoint()` method ### 6. Context-Aware Tool Selection + **What:** Agent routing logic that picks different tools based on file size, task type, and context. Large refactors → Codex. Small surgical fixes → Claude ACP session. Research tasks → Claude with web search. **Pattern source:** Anthropic Skills — "Context-aware tool selection" pattern @@ -54,15 +62,18 @@ These features are NOT part of the initial roadmap. Build them AFTER the v4 mock ## 🔵 Lower Priority (Enterprise / Scale) ### 7. Session Persistence Surfaced to Agents + **What:** Pass previous run context (what worked, what failed, git history) to agent at start of each task. Agents currently start blind even when re-running. **Where:** Update adapter `buildPrompt()` to include run history from SQLite ### 8. Progressive Skill Loading for Agent Prompts + **What:** Agent system prompts use Anthropic's 3-level progressive disclosure — minimal header always loaded, full instructions only when triggered, reference docs on demand. **Why:** Keeps context lean when running many agents in parallel. **Pattern source:** Anthropic Skills Guide — core architecture ### 9. Skills Marketplace / Agent Skill Definitions + **What:** Define agent "skills" as portable SKILL.md-style files that can be shared, versioned, and swapped. A "React Builder" skill vs "Python API Builder" skill. **Pattern source:** Anthropic agentskills.io open standard @@ -70,14 +81,14 @@ These features are NOT part of the initial roadmap. Build them AFTER the v4 mock ## Summary Table -| Feature | Impact | Effort | Priority | -|---------|--------|--------|----------| -| Iterative refinement loop | 🔥 High | Low | Do first | -| Agent handoffs | 🔥 High | Med | Do second | -| Specialized agent roles | 🔥 High | High | Do third | -| Parallel guardrails | Med | Med | After roles | -| Rollback on rejection | Med | Low | After roles | -| Context-aware tool selection | Med | High | Later | -| Session persistence | Low | Low | Later | -| Progressive skill loading | Low | Med | Later | -| Skills marketplace | Low | High | Much later | +| Feature | Impact | Effort | Priority | +| ---------------------------- | ------- | ------ | ----------- | +| Iterative refinement loop | 🔥 High | Low | Do first | +| Agent handoffs | 🔥 High | Med | Do second | +| Specialized agent roles | 🔥 High | High | Do third | +| Parallel guardrails | Med | Med | After roles | +| Rollback on rejection | Med | Low | After roles | +| Context-aware tool selection | Med | High | Later | +| Session persistence | Low | Low | Later | +| Progressive skill loading | Low | Med | Later | +| Skills marketplace | Low | High | Much later | diff --git a/README.md b/README.md index 9660cdb7..f45e0d32 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ **Your AI agent's command center — chat, files, memory, skills, and terminal in one place.** -[](CHANGELOG.md) +[](CHANGELOG.md) [](LICENSE) [](https://nodejs.org/) [](CONTRIBUTING.md) @@ -132,7 +132,7 @@ Route through the Hermes gateway for sessions, memory, skills, jobs, and tools: ```yaml provider: ollama -model: qwen2.5:7b # or any model you have pulled +model: qwen2.5:7b # or any model you have pulled custom_providers: - name: ollama base_url: http://127.0.0.1:11434/v1 diff --git a/SECURITY.md b/SECURITY.md index 26359355..ae4d85c6 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ If you discover a security vulnerability in Hermes Workspace, please report it r **Do NOT open a public GitHub issue for security vulnerabilities.** -Instead, email: **security@hermesworkspace.app** +Instead, report via [GitHub Security Advisories](https://github.com/outsourc-e/hermes-workspace/security/advisories) or DM [@ericousodev on X](https://x.com/ericousodev). We will acknowledge your report within 48 hours and aim to provide a fix within 7 days for critical issues. @@ -28,17 +28,20 @@ We will acknowledge your report within 48 hours and aim to provide a fix within ## Security Measures (v3.0.0+) **Authentication** + - All API routes require authentication as of v3.0.0 - Session tokens use timing-safe comparison to prevent timing attacks - httpOnly + SameSite=Strict cookies - Token revocation on logout **Network** + - `Access-Control-Allow-Origin` restricted to localhost — no wildcard CORS - Browser proxy and screenshot endpoints locked to same-origin only - Rate limiting on high-risk endpoints (file access, debug, exec) **Data & File Access** + - Path traversal prevention on all file and memory routes (`ensureWorkspacePath()`) - `.md`-only restriction on memory write routes - No API keys or secrets ever exposed to client-side code @@ -46,10 +49,12 @@ We will acknowledge your report within 48 hours and aim to provide a fix within - Diagnostic output scrubbed of sensitive data **Agent Safety** + - Exec approval workflow — sensitive Hermes exec commands require explicit human approval via in-UI modal - Skills security scanning — every skill from the marketplace is scanned for suspicious patterns before install **Configuration** + - Environment files are gitignored - Config endpoints redact credentials in responses - Example configs use placeholder keys only @@ -69,9 +74,8 @@ We will acknowledge your report within 48 hours and aim to provide a fix within ## Supported Versions -| Version | Supported | -|---------|-----------| -| v3.x (main) | ✅ Active | -| v2.x | ⚠️ Security fixes only | -| < v2.0 | ❌ Unsupported | - +| Version | Supported | +| ----------- | ---------------------- | +| v3.x (main) | ✅ Active | +| v2.x | ⚠️ Security fixes only | +| < v2.0 | ❌ Unsupported | diff --git a/docker/agent/Dockerfile b/docker/agent/Dockerfile index 16050b03..7494ba85 100644 --- a/docker/agent/Dockerfile +++ b/docker/agent/Dockerfile @@ -12,4 +12,4 @@ RUN pip install --no-cache-dir -e . EXPOSE 8642 -CMD ["hermes", "--gateway"] +CMD ["hermes", "gateway", "run"] diff --git a/docs/hermes-openai-compat-spec.md b/docs/hermes-openai-compat-spec.md index 0e2fc22e..068fe46d 100644 --- a/docs/hermes-openai-compat-spec.md +++ b/docs/hermes-openai-compat-spec.md @@ -37,7 +37,7 @@ We want to reverse that. This is the decision to lock in: > **Hermes Workspace must work standalone against any OpenAI-compatible backend.** -> +> > Hermes-specific workspace features may enhance the experience when the full Hermes API is available, but the product must remain usable without those endpoints. Non-negotiable implication: @@ -365,9 +365,9 @@ This is not the detailed task plan, but the engineering direction should be: Lock this in: > Hermes Workspace is a standalone frontend for OpenAI-compatible chat backends. -> +> > Hermes-native APIs are an enhancement layer, not a requirement. -> +> > Step 1 is portable compatibility now. -> +> > Step 2 is upstreaming the enhanced Hermes APIs so no fork is needed ever again. diff --git a/eslint.config.js b/eslint.config.js index e5d8e235..46ab5953 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,5 +8,3 @@ export default [ ignores: ['eslint.config.js', 'prettier.config.js', 'vite.config.ts'], }, ] - - diff --git a/package.json b/package.json index 0ebd6871..dac7f3b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hermes-workspace", - "version": "0.1.0", + "version": "1.0.0", "description": "Desktop workspace for Hermes Agent — chat, orchestration, and multi-agent coding pipelines", "author": "Eric (https://github.com/outsourc-e)", "license": "MIT", @@ -67,6 +67,7 @@ "@types/react": "^19.2.0", "@types/react-dom": "^19.2.0", "@vitejs/plugin-react": "^5.0.4", + "eslint": "^10.2.0", "jsdom": "^27.0.0", "prettier": "^3.5.3", "tsx": "^4.21.0", @@ -76,4 +77,3 @@ "web-vitals": "^5.1.0" } } - diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51125c6f..e3b20869 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,7 +131,7 @@ importers: devDependencies: '@tanstack/eslint-config': specifier: ^0.3.0 - version: 0.3.4(@typescript-eslint/utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + version: 0.3.4(@typescript-eslint/utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) '@testing-library/dom': specifier: ^10.4.0 version: 10.4.1 @@ -150,6 +150,9 @@ importers: '@vitejs/plugin-react': specifier: ^5.0.4 version: 5.2.0(vite@7.3.1(@types/node@22.19.15)(jiti@2.6.1)(lightningcss@1.31.1)(tsx@4.21.0)(yaml@2.8.2)) + eslint: + specifier: ^10.2.0 + version: 10.2.0(jiti@2.6.1) jsdom: specifier: ^27.0.0 version: 27.4.0 @@ -683,33 +686,29 @@ packages: resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/config-array@0.21.2': - resolution: {integrity: sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/config-array@0.23.5': + resolution: {integrity: sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@eslint/config-helpers@0.4.2': - resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/config-helpers@0.5.5': + resolution: {integrity: sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@eslint/core@0.17.0': - resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - - '@eslint/eslintrc@3.3.5': - resolution: {integrity: sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/core@1.2.1': + resolution: {integrity: sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} '@eslint/js@9.39.4': resolution: {integrity: sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/object-schema@2.1.7': - resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/object-schema@3.0.5': + resolution: {integrity: sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@eslint/plugin-kit@0.4.1': - resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/plugin-kit@0.7.1': + resolution: {integrity: sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} '@exodus/bytes@1.15.0': resolution: {integrity: sha512-UY0nlA+feH81UGSHv92sLEPLCeZFjXOuHhrIo0HQydScuQc8s0A7kL/UdgwgDq8g8ilksmuoF35YVTNphV2aBQ==} @@ -1480,66 +1479,79 @@ packages: resolution: {integrity: sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.59.0': resolution: {integrity: sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.59.0': resolution: {integrity: sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.59.0': resolution: {integrity: sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loong64-gnu@4.59.0': resolution: {integrity: sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-loong64-musl@4.59.0': resolution: {integrity: sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==} cpu: [loong64] os: [linux] + libc: [musl] '@rollup/rollup-linux-ppc64-gnu@4.59.0': resolution: {integrity: sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-ppc64-musl@4.59.0': resolution: {integrity: sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==} cpu: [ppc64] os: [linux] + libc: [musl] '@rollup/rollup-linux-riscv64-gnu@4.59.0': resolution: {integrity: sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.59.0': resolution: {integrity: sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.59.0': resolution: {integrity: sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.59.0': resolution: {integrity: sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.59.0': resolution: {integrity: sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-openbsd-x64@4.59.0': resolution: {integrity: sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==} @@ -1653,24 +1665,28 @@ packages: engines: {node: '>= 20'} cpu: [arm64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-arm64-musl@4.2.1': resolution: {integrity: sha512-WZA0CHRL/SP1TRbA5mp9htsppSEkWuQ4KsSUumYQnyl8ZdT39ntwqmz4IUHGN6p4XdSlYfJwM4rRzZLShHsGAQ==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] + libc: [musl] '@tailwindcss/oxide-linux-x64-gnu@4.2.1': resolution: {integrity: sha512-qMFzxI2YlBOLW5PhblzuSWlWfwLHaneBE0xHzLrBgNtqN6mWfs+qYbhryGSXQjFYB1Dzf5w+LN5qbUTPhW7Y5g==} engines: {node: '>= 20'} cpu: [x64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-x64-musl@4.2.1': resolution: {integrity: sha512-5r1X2FKnCMUPlXTWRYpHdPYUY6a1Ar/t7P24OuiEdEOmms5lyqjDRvVY1yy9Rmioh+AunQ0rWiOTPE8F9A3v5g==} engines: {node: '>= 20'} cpu: [x64] os: [linux] + libc: [musl] '@tailwindcss/oxide-wasm32-wasi@4.2.1': resolution: {integrity: sha512-MGFB5cVPvshR85MTJkEvqDUnuNoysrsRxd6vnk1Lf2tbiqNlXpHYZqkqOQalydienEWOHHFyyuTSYRsLfxFJ2Q==} @@ -2161,41 +2177,49 @@ packages: resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==} cpu: [arm64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-arm64-musl@1.11.1': resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==} cpu: [arm64] os: [linux] + libc: [musl] '@unrs/resolver-binding-linux-ppc64-gnu@1.11.1': resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-riscv64-gnu@1.11.1': resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==} cpu: [riscv64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-riscv64-musl@1.11.1': resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==} cpu: [riscv64] os: [linux] + libc: [musl] '@unrs/resolver-binding-linux-s390x-gnu@1.11.1': resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==} cpu: [s390x] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-x64-gnu@1.11.1': resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==} cpu: [x64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-x64-musl@1.11.1': resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==} cpu: [x64] os: [linux] + libc: [musl] '@unrs/resolver-binding-wasm32-wasi@1.11.1': resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==} @@ -2290,10 +2314,6 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - ansi-styles@5.2.0: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} @@ -2414,10 +2434,6 @@ packages: resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} engines: {node: '>=18'} - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - character-entities-html4@2.1.0: resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} @@ -2473,13 +2489,6 @@ packages: collapse-white-space@2.1.0: resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} - color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - - color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - colord@2.9.3: resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} @@ -2888,10 +2897,6 @@ packages: peerDependencies: eslint: '>=8.23.0' - eslint-scope@8.4.0: - resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-scope@9.1.2: resolution: {integrity: sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} @@ -2908,9 +2913,9 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - eslint@9.39.4: - resolution: {integrity: sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@10.2.0: + resolution: {integrity: sha512-+L0vBFYGIpSNIt/KWTpFonPrqYvgKw1eUI5Vn7mEogrQcWtWYtNQ7dNqC+px/J0idT3BAkiWrhfS7k+Tum8TUA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true peerDependencies: jiti: '*' @@ -3113,10 +3118,6 @@ packages: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me - globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} - globals@15.15.0: resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==} engines: {node: '>=18'} @@ -3149,10 +3150,6 @@ packages: hachure-fill@0.5.2: resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==} - has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - hasown@2.0.2: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} @@ -3483,24 +3480,28 @@ packages: engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] lightningcss-linux-arm64-musl@1.31.1: resolution: {integrity: sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [musl] lightningcss-linux-x64-gnu@1.31.1: resolution: {integrity: sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [glibc] lightningcss-linux-x64-musl@1.31.1: resolution: {integrity: sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [musl] lightningcss-win32-arm64-msvc@1.31.1: resolution: {integrity: sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==} @@ -3537,9 +3538,6 @@ packages: lodash-es@4.17.23: resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==} - lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - lodash@4.17.23: resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==} @@ -4546,10 +4544,6 @@ packages: stringify-entities@4.0.4: resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - strip-literal@3.1.0: resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} @@ -4565,10 +4559,6 @@ packages: stylis@4.3.6: resolution: {integrity: sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -5603,50 +5593,36 @@ snapshots: '@esbuild/win32-x64@0.27.4': optional: true - '@eslint-community/eslint-utils@4.9.1(eslint@9.39.4(jiti@2.6.1))': + '@eslint-community/eslint-utils@4.9.1(eslint@10.2.0(jiti@2.6.1))': dependencies: - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} - '@eslint/config-array@0.21.2': + '@eslint/config-array@0.23.5': dependencies: - '@eslint/object-schema': 2.1.7 + '@eslint/object-schema': 3.0.5 debug: 4.4.3 - minimatch: 3.1.5 + minimatch: 10.2.4 transitivePeerDependencies: - supports-color - '@eslint/config-helpers@0.4.2': + '@eslint/config-helpers@0.5.5': dependencies: - '@eslint/core': 0.17.0 + '@eslint/core': 1.2.1 - '@eslint/core@0.17.0': + '@eslint/core@1.2.1': dependencies: '@types/json-schema': 7.0.15 - '@eslint/eslintrc@3.3.5': - dependencies: - ajv: 6.14.0 - debug: 4.4.3 - espree: 10.4.0 - globals: 14.0.0 - ignore: 5.3.2 - import-fresh: 3.3.1 - js-yaml: 4.1.1 - minimatch: 3.1.5 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - '@eslint/js@9.39.4': {} - '@eslint/object-schema@2.1.7': {} + '@eslint/object-schema@3.0.5': {} - '@eslint/plugin-kit@0.4.1': + '@eslint/plugin-kit@0.7.1': dependencies: - '@eslint/core': 0.17.0 + '@eslint/core': 1.2.1 levn: 0.4.1 '@exodus/bytes@1.15.0': {} @@ -6656,11 +6632,11 @@ snapshots: dependencies: react: 19.2.4 - '@stylistic/eslint-plugin@5.10.0(eslint@9.39.4(jiti@2.6.1))': + '@stylistic/eslint-plugin@5.10.0(eslint@10.2.0(jiti@2.6.1))': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.2.0(jiti@2.6.1)) '@typescript-eslint/types': 8.57.0 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) eslint-visitor-keys: 4.2.1 espree: 10.4.0 estraverse: 5.3.0 @@ -6734,16 +6710,16 @@ snapshots: tailwindcss: 4.2.1 vite: 7.3.1(@types/node@22.19.15)(jiti@2.6.1)(lightningcss@1.31.1)(tsx@4.21.0)(yaml@2.8.2) - '@tanstack/eslint-config@0.3.4(@typescript-eslint/utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@tanstack/eslint-config@0.3.4(@typescript-eslint/utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3)': dependencies: '@eslint/js': 9.39.4 - '@stylistic/eslint-plugin': 5.10.0(eslint@9.39.4(jiti@2.6.1)) - eslint: 9.39.4(jiti@2.6.1) - eslint-plugin-import-x: 4.16.2(@typescript-eslint/utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1)) - eslint-plugin-n: 17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@stylistic/eslint-plugin': 5.10.0(eslint@10.2.0(jiti@2.6.1)) + eslint: 10.2.0(jiti@2.6.1) + eslint-plugin-import-x: 4.16.2(@typescript-eslint/utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1)) + eslint-plugin-n: 17.24.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) globals: 16.5.0 - typescript-eslint: 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - vue-eslint-parser: 10.4.0(eslint@9.39.4(jiti@2.6.1)) + typescript-eslint: 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) + vue-eslint-parser: 10.4.0(eslint@10.2.0(jiti@2.6.1)) transitivePeerDependencies: - '@typescript-eslint/utils' - eslint-import-resolver-node @@ -7207,15 +7183,15 @@ snapshots: '@types/use-sync-external-store@0.0.6': {} - '@typescript-eslint/eslint-plugin@8.57.0(@typescript-eslint/parser@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.57.0(@typescript-eslint/parser@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/parser': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) '@typescript-eslint/scope-manager': 8.57.0 - '@typescript-eslint/type-utils': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - '@typescript-eslint/utils': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/type-utils': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/utils': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.57.0 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) ignore: 7.0.5 natural-compare: 1.4.0 ts-api-utils: 2.4.0(typescript@5.9.3) @@ -7223,14 +7199,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/parser@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3)': dependencies: '@typescript-eslint/scope-manager': 8.57.0 '@typescript-eslint/types': 8.57.0 '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.57.0 debug: 4.4.3 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -7253,13 +7229,13 @@ snapshots: dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3)': dependencies: '@typescript-eslint/types': 8.57.0 '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/utils': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) debug: 4.4.3 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) ts-api-utils: 2.4.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: @@ -7282,13 +7258,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)': + '@typescript-eslint/utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.2.0(jiti@2.6.1)) '@typescript-eslint/scope-manager': 8.57.0 '@typescript-eslint/types': 8.57.0 '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -7457,10 +7433,6 @@ snapshots: ansi-regex@5.0.1: {} - ansi-styles@4.3.0: - dependencies: - color-convert: 2.0.1 - ansi-styles@5.2.0: {} ansis@4.2.0: {} @@ -7632,11 +7604,6 @@ snapshots: loupe: 3.2.1 pathval: 2.0.1 - chalk@4.1.2: - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - character-entities-html4@2.1.0: {} character-entities-legacy@3.0.0: {} @@ -7716,12 +7683,6 @@ snapshots: collapse-white-space@2.1.0: {} - color-convert@2.0.1: - dependencies: - color-name: 1.1.4 - - color-name@1.1.4: {} - colord@2.9.3: {} comma-separated-tokens@2.0.3: {} @@ -8124,9 +8085,9 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-compat-utils@0.5.1(eslint@9.39.4(jiti@2.6.1)): + eslint-compat-utils@0.5.1(eslint@10.2.0(jiti@2.6.1)): dependencies: - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) semver: 7.7.4 eslint-import-context@0.1.9(unrs-resolver@1.11.1): @@ -8136,20 +8097,20 @@ snapshots: optionalDependencies: unrs-resolver: 1.11.1 - eslint-plugin-es-x@7.8.0(eslint@9.39.4(jiti@2.6.1)): + eslint-plugin-es-x@7.8.0(eslint@10.2.0(jiti@2.6.1)): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.2.0(jiti@2.6.1)) '@eslint-community/regexpp': 4.12.2 - eslint: 9.39.4(jiti@2.6.1) - eslint-compat-utils: 0.5.1(eslint@9.39.4(jiti@2.6.1)) + eslint: 10.2.0(jiti@2.6.1) + eslint-compat-utils: 0.5.1(eslint@10.2.0(jiti@2.6.1)) - eslint-plugin-import-x@4.16.2(@typescript-eslint/utils@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1)): + eslint-plugin-import-x@4.16.2(@typescript-eslint/utils@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1)): dependencies: '@package-json/types': 0.0.12 '@typescript-eslint/types': 8.57.0 comment-parser: 1.4.5 debug: 4.4.3 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) eslint-import-context: 0.1.9(unrs-resolver@1.11.1) is-glob: 4.0.3 minimatch: 10.2.4 @@ -8157,16 +8118,16 @@ snapshots: stable-hash-x: 0.2.0 unrs-resolver: 1.11.1 optionalDependencies: - '@typescript-eslint/utils': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/utils': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) transitivePeerDependencies: - supports-color - eslint-plugin-n@17.24.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3): + eslint-plugin-n@17.24.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.2.0(jiti@2.6.1)) enhanced-resolve: 5.20.0 - eslint: 9.39.4(jiti@2.6.1) - eslint-plugin-es-x: 7.8.0(eslint@9.39.4(jiti@2.6.1)) + eslint: 10.2.0(jiti@2.6.1) + eslint-plugin-es-x: 7.8.0(eslint@10.2.0(jiti@2.6.1)) get-tsconfig: 4.13.6 globals: 15.15.0 globrex: 0.1.2 @@ -8176,11 +8137,6 @@ snapshots: transitivePeerDependencies: - typescript - eslint-scope@8.4.0: - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - eslint-scope@9.1.2: dependencies: '@types/esrecurse': 4.3.1 @@ -8194,28 +8150,25 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@9.39.4(jiti@2.6.1): + eslint@10.2.0(jiti@2.6.1): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.4(jiti@2.6.1)) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.2.0(jiti@2.6.1)) '@eslint-community/regexpp': 4.12.2 - '@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 + '@eslint/config-array': 0.23.5 + '@eslint/config-helpers': 0.5.5 + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.1 '@humanfs/node': 0.16.7 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.4.3 '@types/estree': 1.0.8 ajv: 6.14.0 - chalk: 4.1.2 cross-spawn: 7.0.6 debug: 4.4.3 escape-string-regexp: 4.0.0 - eslint-scope: 8.4.0 - eslint-visitor-keys: 4.2.1 - espree: 10.4.0 + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 esquery: 1.7.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -8226,8 +8179,7 @@ snapshots: imurmurhash: 0.1.4 is-glob: 4.0.3 json-stable-stringify-without-jsonify: 1.0.1 - lodash.merge: 4.6.2 - minimatch: 3.1.5 + minimatch: 10.2.4 natural-compare: 1.4.0 optionator: 0.9.4 optionalDependencies: @@ -8414,8 +8366,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - globals@14.0.0: {} - globals@15.15.0: {} globals@16.5.0: {} @@ -8435,8 +8385,6 @@ snapshots: hachure-fill@0.5.2: {} - has-flag@4.0.0: {} - hasown@2.0.2: dependencies: function-bind: 1.1.2 @@ -8901,8 +8849,6 @@ snapshots: lodash-es@4.17.23: {} - lodash.merge@4.6.2: {} - lodash@4.17.23: {} longest-streak@3.1.0: {} @@ -10311,8 +10257,6 @@ snapshots: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 - strip-json-comments@3.1.1: {} - strip-literal@3.1.0: dependencies: js-tokens: 9.0.1 @@ -10329,10 +10273,6 @@ snapshots: stylis@4.3.6: {} - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 - supports-preserve-symlinks-flag@1.0.0: {} swr@2.4.1(react@19.2.4): @@ -10444,13 +10384,13 @@ snapshots: type-fest@4.41.0: {} - typescript-eslint@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3): + typescript-eslint@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.57.0(@typescript-eslint/parser@8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - '@typescript-eslint/parser': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 8.57.0(@typescript-eslint/parser@8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3))(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) + '@typescript-eslint/parser': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.57.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3) - eslint: 9.39.4(jiti@2.6.1) + '@typescript-eslint/utils': 8.57.0(eslint@10.2.0(jiti@2.6.1))(typescript@5.9.3) + eslint: 10.2.0(jiti@2.6.1) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -10717,10 +10657,10 @@ snapshots: vscode-uri@3.1.0: {} - vue-eslint-parser@10.4.0(eslint@9.39.4(jiti@2.6.1)): + vue-eslint-parser@10.4.0(eslint@10.2.0(jiti@2.6.1)): dependencies: debug: 4.4.3 - eslint: 9.39.4(jiti@2.6.1) + eslint: 10.2.0(jiti@2.6.1) eslint-scope: 9.1.2 eslint-visitor-keys: 5.0.1 espree: 11.2.0 diff --git a/prettier.config.js b/prettier.config.js index 7a56bd0e..f7279f7b 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -8,5 +8,3 @@ const config = { } export default config - - diff --git a/public/manifest.json b/public/manifest.json index a53b6eb3..557948b3 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -6,10 +6,7 @@ "display": "standalone", "background_color": "#0A0E1A", "theme_color": "#6366F1", - "categories": [ - "productivity", - "utilities" - ], + "categories": ["productivity", "utilities"], "icons": [ { "src": "/hermes-icon-192.png", @@ -24,4 +21,4 @@ "purpose": "any maskable" } ] -} \ No newline at end of file +} diff --git a/public/sw.js b/public/sw.js index 4de28e8f..8d1adb41 100644 --- a/public/sw.js +++ b/public/sw.js @@ -8,15 +8,16 @@ self.addEventListener('install', () => { self.addEventListener('activate', (event) => { event.waitUntil( - caches.keys().then((names) => - Promise.all(names.map((name) => caches.delete(name))) - ).then(() => self.clients.claim()) - .then(() => { - // Tell all open tabs to reload so they get fresh assets - self.clients.matchAll({ type: 'window' }).then((clients) => { - clients.forEach((client) => client.navigate(client.url)) - }) - }) + caches + .keys() + .then((names) => Promise.all(names.map((name) => caches.delete(name)))) + .then(() => self.clients.claim()) + .then(() => { + // Tell all open tabs to reload so they get fresh assets + self.clients.matchAll({ type: 'window' }).then((clients) => { + clients.forEach((client) => client.navigate(client.url)) + }) + }), ) }) diff --git a/public/test-streaming.html b/public/test-streaming.html index e5a03fbf..7f02fb74 100644 --- a/public/test-streaming.html +++ b/public/test-streaming.html @@ -1,66 +1,82 @@ - + -