HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
feat(console): ship the real console, not a second one
richard-epsillad56c182b9a48
diff --git a/.gitignore b/.gitignoreindex f07c04ce..f0203629 100644--- a/.gitignore+++ b/.gitignore@@ -1,23 +1,9 @@-# Local data — SQLite DBs, blobs, and the secret store all live here. NEVER commit.-.hr-data/-data/-*.db-*.db-wal-*.db-shm--# Secrets / operator config-.env-.env.*-!.env.example-*.pem-*.key-node_modules/.next/-dist/+*.tsbuildinfo+.hr-data/__pycache__/*.pyc+.env+.env.local.DS_Store--# TypeScript incremental build cache-*.tsbuildinfodiff --git a/Dockerfile b/Dockerfileindex ca9db8d8..86b02a10 100644--- a/Dockerfile+++ b/Dockerfile@@ -24,12 +24,23 @@# in the image layer.# ── UI build ──────────────────────────────────────────────────────────────────+# This is the SAME console the hosted product runs. Surfaces with no self-hosted backend+# (billing, marketplace, analytics, sign-in) are hidden by the edition flag rather than removed,+# so the two stay one codebase. See ui/src/lib/edition.ts.FROM node:20-slim AS uiWORKDIR /ui-COPY ui/package.json ui/package-lock.json* ./+# git: the UI depends on the ReifyUI component library straight from its repository.+RUN apt-get update -y && apt-get install -y --no-install-recommends git ca-certificates \+ && rm -rf /var/lib/apt/lists/*+# .npmrc matters at THIS layer: it carries legacy-peer-deps, without which npm refuses the+# tree (several deps still declare React 18 peers while the app runs 19).+COPY ui/package.json ui/package-lock.json* ui/.npmrc ./RUN npm ci --no-audit --no-fund 2>/dev/null || npm install --no-audit --no-fundCOPY ui/ ./-ENV NEXT_TELEMETRY_DISABLED=1+# Inlined into the client bundle at build time, so a self-hosted image can never present a+# hosted-only surface no matter how it is run.+ENV NEXT_TELEMETRY_DISABLED=1 \+ NEXT_PUBLIC_HR_EDITION=selfhostRUN npm run build# ── runtime ───────────────────────────────────────────────────────────────────diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex 8bd74126..819eb636 100644--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -41,7 +41,10 @@ if [ -z "${HARNESS_INTERNAL_KEY:-}" ]; thenexport HARNESS_INTERNAL_KEY="$("$PY" -c 'import secrets; print(secrets.token_hex(32))')"fi-export GATEWAY_URL="${GATEWAY_URL:-http://127.0.0.1:8080}"+# The console reaches the gateway over loopback; it is the only process that can, since only+# the console's port is published.+export HARNESS_GATEWAY_URL="${HARNESS_GATEWAY_URL:-http://127.0.0.1:8080}"+export NEXT_PUBLIC_HR_EDITION=selfhostexport PORT="${PORT:-3000}"# ── agent CLIs: installed here, not shipped in the image ──────────────────────diff --git a/ui/.gitignore b/ui/.gitignorenew file mode 100644index 00000000..5ef6a520--- /dev/null+++ b/ui/.gitignore@@ -0,0 +1,41 @@+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.++# dependencies+/node_modules+/.pnp+.pnp.*+.yarn/*+!.yarn/patches+!.yarn/plugins+!.yarn/releases+!.yarn/versions++# testing+/coverage++# next.js+/.next/+/out/++# production+/build++# misc+.DS_Store+*.pem++# debug+npm-debug.log*+yarn-debug.log*+yarn-error.log*+.pnpm-debug.log*++# env files (can opt-in for committing if needed)+.env*++# vercel+.vercel++# typescript+*.tsbuildinfo+next-env.d.tsdiff --git a/ui/.npmrc b/ui/.npmrcnew file mode 100644index 00000000..521a9f7c--- /dev/null+++ b/ui/.npmrc@@ -0,0 +1 @@+legacy-peer-deps=truediff --git a/ui/PRODUCT.md b/ui/PRODUCT.mdnew file mode 100644index 00000000..e8f0aec3--- /dev/null+++ b/ui/PRODUCT.md@@ -0,0 +1,46 @@+# Harness Router++A new product built on AgentStudio. "Build agent features into your app without building the+backend. One API routes your app to harnesses like Codex, Claude Code, OpenClaw, and Hermes."++Separate frontend app, on its own subdomain (`harnessrouter.epsilla.com`, DNS pointed by the+owner), reusing AgentStudio's design tokens + UI components + auth + Traces. Backed by a new+VectorGraph tenant (schema TBD, iterated with the owner).++## Locked decisions (2026-06-22, with the owner)+- **MVP = core loop first**: Harnesses (clone) → Workbench Config&Preview with LIVE chat → Traces,+ then API tab + landing. Marketplace, MCP/Skills "Add", OpenClaw/Hermes stubbed.+- **Auth = reuse AgentStudio** (same engine, JWT, orgs). Own login form on the subdomain; a Harness+ Router user IS an AgentStudio member. (Separate localStorage origin, so its own session.)+- **Backends v1 = Codex + Claude Code real** (gateway/runner), **OpenClaw + Hermes "coming soon"**.+- **Headline routing API in v1 = yes**, a minimal public key-auth invoke (pick harness → session →+ turn → poll). The value prop ("one API") must be real.+- Brand = deep iris `#42309C` (override the mock's brighter blue). MCP/Skills shown but "Add" disabled+ in v1 (network MCP blocked by sandbox egress; skills wiring undefined). Marketplace/Docs = placeholders.+ Clone = independent copy; Discard = revert unsaved; Save = applies to next run. Per-org API keys.++## Architecture+- `harnessrouter/` is a 2nd Next 15 app (monorepo sibling of `frontend/`), deploy as its own unit on+ the subdomain. Copies the studio design system (`src/studio/styles` tokens, `src/components/ui`,+ `src/studio/lib` dialog/icons, `src/studio/traces`) verbatim for v1 (extract a shared package later).+- BFF proxies: `/api/engine` → workflow-engine (auth), `/api/harness` → harness-gateway (sessions/turn/+ traces). Auth via the copied `src/lib/auth.ts` (login/getSession/authFetch).+- Data: out-of-box catalog is static in `src/lib/harness.ts` (will read runner `/backends`). Custom+ harnesses persist client-side for the skeleton; `src/lib/harness.ts` CRUD is the single seam to swap+ for the VectorGraph-tenant API.++## Status (done)+- App scaffold builds clean + screenshot-verified: landing (deep iris), login, auth-gated shell with+ top nav, Harnesses page (matches wireframe: Codex/Claude Code clonable, OpenClaw/Hermes "soon",+ custom create/clone/delete), Workbench skeleton (Config&Preview 3-pane + API tab + Traces tab),+ Marketplace/Docs/Pricing. Committed.++## Next phases+1. **Deploy** to the VM (systemd service + nginx server block for harnessrouter.epsilla.com); owner points DNS.+2. **VectorGraph tenant** + `CustomHarness` schema + CRUD; swap `src/lib/harness.ts` to the real API.+3. **Live chat** in Workbench: `POST /api/harness/sessions` → `/turn` → poll; inject default model ++ system prompt. SPIKE FIRST: system-prompt injection mechanism (Claude Code has no flag) — the one+ real technical risk.+4. **Traces tab**: tag sessions with harness_id at create; reuse `TracesMain` scoped to the harness.+5. **Public invoke API** + API-key mint/revoke (per-org); the API tab docs reflect it.+6. **"Harness Router" Space** under Epsilla's org with this spec + the wireframes for ops.diff --git a/ui/next.config.ts b/ui/next.config.tsindex 8e75b61d..708f141d 100644--- a/ui/next.config.ts+++ b/ui/next.config.ts@@ -1,6 +1,41 @@-import type { NextConfig } from 'next';+import path from "node:path";+import type { NextConfig } from "next";++const nextConfig: NextConfig = {+ // Blue-green deploys: each slot builds AND serves from its own dist dir, so a build never+ // clobbers the directory the live server is reading (mismatched-chunk 404s) and the new+ // slot boots fully before nginx flips — zero 502s during rollout.+ distDir: process.env.NEXT_DIST_DIR || ".next",+ // Self-hosted ships as one container: emit a server bundle with only the modules it needs.+ output: "standalone",+ // V1C02-007: baseline browser security headers on every response — clickjacking defense+ // (frame-ancestors 'none' + X-Frame-Options DENY), HSTS, MIME-sniff off, tight referrer,+ // and a locked-down permissions policy. The console renders no third-party iframes and is+ // never meant to be embedded, so 'none' is safe and has no functional regression.+ async headers() {+ return [{+ source: "/:path*",+ headers: [+ { key: "X-Frame-Options", value: "DENY" },+ { key: "Content-Security-Policy", value: "frame-ancestors 'none'" },+ { key: "Strict-Transport-Security", value: "max-age=63072000; includeSubDomains; preload" },+ { key: "X-Content-Type-Options", value: "nosniff" },+ { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },+ { key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()" },+ ],+ }];+ },+ webpack: (config) => {+ // NOTE: do NOT alias react/react-dom here — Next.js installs its own layer-aware react+ // aliases (RSC vs client) that must also apply to the out-of-root UI Core source; overriding+ // them breaks server prerender (`null.useContext`).+ // UI Core's CodeBlock lazy-imports highlight.js from outside the app root, where webpack's+ // node_modules walk-up can't find this app's copy. Append this app's node_modules as a+ // FALLBACK dir (not an alias — an alias would also hijack react-syntax-highlighter's nested+ // highlight.js@10 grammar imports, which need v10-only files v11 removed).+ config.resolve.modules = [...(config.resolve.modules ?? ["node_modules"]), path.resolve(__dirname, "node_modules")];+ return config;+ },+};-// Standalone output so the Docker image ships a single self-contained server bundle-// instead of the whole node_modules tree.-const nextConfig: NextConfig = { output: 'standalone', reactStrictMode: true };export default nextConfig;diff --git a/ui/package-lock.json b/ui/package-lock.jsonindex cc1270b9..ed419c5f 100644--- a/ui/package-lock.json+++ b/ui/package-lock.json@@ -1,25 +1,107 @@{- "name": "harnessrouter-ui",+ "name": "harnessrouter-console","version": "0.1.0","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "harnessrouter-ui",+ "name": "harnessrouter-console","version": "0.1.0","dependencies": {+ "@emoji-mart/data": "^1.2.1",+ "@emoji-mart/react": "^1.1.1",+ "@hocuspocus/provider": "^2.13.5",+ "@hookform/resolvers": "^5.2.2",+ "@tiptap/core": "^2.26.4",+ "@tiptap/extension-collaboration": "^2.26.4",+ "@tiptap/extension-collaboration-cursor": "^2.26.4",+ "@tiptap/extension-link": "^2.27.2",+ "@tiptap/extension-mention": "^2.27.2",+ "@tiptap/extension-placeholder": "^2.26.4",+ "@tiptap/pm": "^2.27.2",+ "@tiptap/react": "^2.26.4",+ "@tiptap/starter-kit": "^2.26.4",+ "@tiptap/suggestion": "^2.27.2",+ "@xyflow/react": "^12.8.5",+ "autoprefixer": "^10.4.21",+ "axios": "^1.12.2",+ "chart.js": "^4.5.1",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cytoscape": "^3.34.0",+ "cytoscape-fcose": "^2.2.0",+ "date-fns": "^4.1.0","echarts": "^5.6.0",+ "echarts-for-react": "^3.0.6",+ "emoji-mart": "^5.6.0",+ "framer-motion": "^12.23.16","highlight.js": "^11.11.1",- "mermaid": "^11.16.1",- "next": "^15.1.0",- "react": "^19.0.0",- "react-dom": "^19.0.0",- "reifyui": "^0.3.0"+ "iconify-icon": "^3.0.2",+ "lucide-react": "^0.544.0",+ "mammoth": "^1.12.0",+ "mermaid": "^11.16.0",+ "next": "^15.5.19",+ "react": "19.1.0",+ "react-dom": "19.1.0",+ "react-easy-crop": "^5.5.7",+ "react-file-icon": "^1.6.0",+ "react-grid-layout": "^1.5.3",+ "react-hook-form": "^7.63.0",+ "react-markdown": "^9.1.0",+ "react-syntax-highlighter": "^16.1.1",+ "rehype-sanitize": "^6.0.0",+ "reifyui": "git+https://github.com/epsilla-enterprise/ReifyUI.git#412db80fe217c3ba4a74b5f1255048830f203813",+ "remark-gfm": "^4.0.1",+ "tailwind-merge": "^3.3.1",+ "tailwindcss": "^3.4.1",+ "xlsx": "^0.18.5",+ "y-prosemirror": "^1.3.7",+ "y-protocols": "^1.0.7",+ "yjs": "^13.6.27",+ "zod": "^4.1.9",+ "zustand": "^5.0.8"},"devDependencies": {- "@types/node": "^22",+ "@eslint/eslintrc": "^3",+ "@hocuspocus/server": "^2.13.5",+ "@testing-library/jest-dom": "^6.8.0",+ "@testing-library/react": "^16.3.0",+ "@testing-library/user-event": "^14.6.1",+ "@types/jest": "^29.5.12",+ "@types/node": "^20","@types/react": "^19",- "typescript": "^5"+ "@types/react-dom": "^19",+ "@types/react-file-icon": "^1.0.5",+ "@types/react-syntax-highlighter": "^15.5.13",+ "@types/uuid": "^10.0.0",+ "eslint": "^9",+ "eslint-config-next": "^15.5.19",+ "jest": "^29.7.0",+ "jest-environment-jsdom": "^29.7.0",+ "jest-junit": "^16.0.0",+ "prettier": "^3.6.2",+ "prettier-plugin-tailwindcss": "^0.6.14",+ "typescript": "^5",+ "wait-on": "^9.0.1"+ }+ },+ "node_modules/@adobe/css-tools": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.5.0.tgz",+ "integrity": "sha512-6OzddxPio9UiWTCemp4N8cYLV2ZN1ncRnV1cVGtve7dhPOtRkleRyx32GQCYSwDYgaHU3USMm84tNsvKzRCa1Q==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@alloc/quick-lru": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/@antfu/install-pkg": {@@ -35,2067 +117,14854 @@"url": "https://github.com/sponsors/antfu"}},- "node_modules/@braintree/sanitize-url": {- "version": "7.1.2",- "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.2.tgz",- "integrity": "sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==",- "license": "MIT"+ "node_modules/@babel/code-frame": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",+ "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-validator-identifier": "^7.29.7",+ "js-tokens": "^4.0.0",+ "picocolors": "^1.1.1"+ },+ "engines": {+ "node": ">=6.9.0"+ }},- "node_modules/@chevrotain/types": {- "version": "11.1.2",- "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.1.2.tgz",- "integrity": "sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==",- "license": "Apache-2.0"+ "node_modules/@babel/compat-data": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",+ "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }},- "node_modules/@emnapi/runtime": {- "version": "1.11.3",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",- "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",+ "node_modules/@babel/core": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",+ "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",+ "dev": true,"license": "MIT",- "optional": true,"dependencies": {- "tslib": "^2.4.0"+ "@babel/code-frame": "^7.29.7",+ "@babel/generator": "^7.29.7",+ "@babel/helper-compilation-targets": "^7.29.7",+ "@babel/helper-module-transforms": "^7.29.7",+ "@babel/helpers": "^7.29.7",+ "@babel/parser": "^7.29.7",+ "@babel/template": "^7.29.7",+ "@babel/traverse": "^7.29.7",+ "@babel/types": "^7.29.7",+ "@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/@iconify/types": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",- "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",- "license": "MIT"+ "node_modules/@babel/core/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/@iconify/utils": {- "version": "3.1.4",- "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.4.tgz",- "integrity": "sha512-b1S7B1k9ohZ+iNTi2ATxbRYG9fTrJmUT0rc46bvVnNxqNRGW7dyo/vRREwyniI5IRN2RSJHDcm+s3BjWrSAjHw==",+ "node_modules/@babel/generator": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz",+ "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",+ "dev": true,"license": "MIT","dependencies": {- "@antfu/install-pkg": "^1.1.0",- "@iconify/types": "^2.0.0",- "import-meta-resolve": "^4.2.0"+ "@babel/parser": "^7.29.8",+ "@babel/types": "^7.29.8",+ "@jridgewell/gen-mapping": "^0.3.12",+ "@jridgewell/trace-mapping": "^0.3.28",+ "jsesc": "^3.0.2"+ },+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/colour": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",- "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",+ "node_modules/@babel/helper-compilation-targets": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",+ "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",+ "dev": true,"license": "MIT",- "optional": true,+ "dependencies": {+ "@babel/compat-data": "^7.29.7",+ "@babel/helper-validator-option": "^7.29.7",+ "browserslist": "^4.24.0",+ "lru-cache": "^5.1.1",+ "semver": "^6.3.1"+ },"engines": {- "node": ">=18"+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-darwin-arm64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",- "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "darwin"- ],+ "node_modules/@babel/helper-compilation-targets/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/@babel/helper-globals": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",+ "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",+ "dev": true,+ "license": "MIT","engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-darwin-arm64": "1.2.4"+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-darwin-x64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",- "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",- "cpu": [- "x64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "darwin"- ],+ "node_modules/@babel/helper-module-imports": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",+ "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/traverse": "^7.29.7",+ "@babel/types": "^7.29.7"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/helper-module-transforms": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",+ "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-module-imports": "^7.29.7",+ "@babel/helper-validator-identifier": "^7.29.7",+ "@babel/traverse": "^7.29.7"},- "funding": {- "url": "https://opencollective.com/libvips"+ "engines": {+ "node": ">=6.9.0"},- "optionalDependencies": {- "@img/sharp-libvips-darwin-x64": "1.2.4"+ "peerDependencies": {+ "@babel/core": "^7.0.0"}},- "node_modules/@img/sharp-libvips-darwin-arm64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",- "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",- "cpu": [- "arm64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "darwin"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/helper-plugin-utils": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz",+ "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-libvips-darwin-x64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",- "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",- "cpu": [- "x64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "darwin"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/helper-string-parser": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-libvips-linux-arm": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",- "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",- "cpu": [- "arm"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-libvips-linux-arm64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",- "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",- "cpu": [- "arm64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/helper-validator-option": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",+ "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-libvips-linux-ppc64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",- "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",- "cpu": [- "ppc64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/helpers": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",+ "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/template": "^7.29.7",+ "@babel/types": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"}},- "node_modules/@img/sharp-libvips-linux-riscv64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",- "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",- "cpu": [- "riscv64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/parser": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz",+ "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/types": "^7.29.8"+ },+ "bin": {+ "parser": "bin/babel-parser.js"+ },+ "engines": {+ "node": ">=6.0.0"}},- "node_modules/@img/sharp-libvips-linux-s390x": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",- "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",- "cpu": [- "s390x"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"+ "node_modules/@babel/plugin-syntax-async-generators": {+ "version": "7.8.4",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",+ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"}},- "node_modules/@img/sharp-libvips-linux-x64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",+ "node_modules/@babel/plugin-syntax-bigint": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",+ "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-class-properties": {+ "version": "7.12.13",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.12.13"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-class-static-block": {+ "version": "7.14.5",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",+ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.14.5"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-import-attributes": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.7.tgz",+ "integrity": "sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-import-meta": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",+ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.10.4"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-json-strings": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",+ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-jsx": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz",+ "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-logical-assignment-operators": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",+ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.10.4"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",+ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-numeric-separator": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",+ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.10.4"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-object-rest-spread": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-optional-catch-binding": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",+ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-optional-chaining": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",+ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.8.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-private-property-in-object": {+ "version": "7.14.5",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",+ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.14.5"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-top-level-await": {+ "version": "7.14.5",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",+ "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.14.5"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-syntax-typescript": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz",+ "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/runtime": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz",+ "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/template": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",+ "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/code-frame": "^7.29.7",+ "@babel/parser": "^7.29.7",+ "@babel/types": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/traverse": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz",+ "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/code-frame": "^7.29.7",+ "@babel/generator": "^7.29.8",+ "@babel/helper-globals": "^7.29.7",+ "@babel/parser": "^7.29.8",+ "@babel/template": "^7.29.7",+ "@babel/types": "^7.29.8",+ "debug": "^4.3.1"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/types": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-string-parser": "^7.29.7",+ "@babel/helper-validator-identifier": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@bcoe/v8-coverage": {+ "version": "0.2.3",+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",+ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@braintree/sanitize-url": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.2.tgz",+ "integrity": "sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==",+ "license": "MIT"+ },+ "node_modules/@chevrotain/types": {+ "version": "11.1.2",+ "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.1.2.tgz",+ "integrity": "sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==",+ "license": "Apache-2.0"+ },+ "node_modules/@emnapi/core": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",+ "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/wasi-threads": "1.2.1",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@emnapi/core/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "dev": true,+ "license": "0BSD",+ "optional": true+ },+ "node_modules/@emnapi/runtime": {+ "version": "1.11.3",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@emnapi/runtime/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD",+ "optional": true+ },+ "node_modules/@emnapi/wasi-threads": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",+ "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@emnapi/wasi-threads/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "dev": true,+ "license": "0BSD",+ "optional": true+ },+ "node_modules/@emoji-mart/data": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@emoji-mart/data/-/data-1.2.1.tgz",+ "integrity": "sha512-no2pQMWiBy6gpBEiqGeU77/bFejDqUTRY7KX+0+iur13op3bqUsXdnwoZs6Xb1zbv0gAj5VvS1PWoUUckSr5Dw==",+ "license": "MIT"+ },+ "node_modules/@emoji-mart/react": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@emoji-mart/react/-/react-1.1.1.tgz",+ "integrity": "sha512-NMlFNeWgv1//uPsvLxvGQoIerPuVdXwK/EUek8OOkJ6wVOWPUizRBJU0hDqWZCOROVpfBgCemaC3m6jDOXi03g==",+ "license": "MIT",+ "peerDependencies": {+ "emoji-mart": "^5.2",+ "react": "^16.8 || ^17 || ^18"+ }+ },+ "node_modules/@eslint-community/eslint-utils": {+ "version": "4.10.1",+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz",+ "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz",+ "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==",+ "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.3.0",+ "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/js": {+ "version": "9.39.5",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz",+ "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==",+ "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/@hapi/address": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/@hapi/address/-/address-5.1.1.tgz",+ "integrity": "sha512-A+po2d/dVoY7cYajycYI43ZbYMXukuopIsqCjh5QzsBCipDtdofHntljDlpccMjIfTy6UOkg+5KPriwYch2bXA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@hapi/hoek": "^11.0.2"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@hapi/formula": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@hapi/formula/-/formula-3.0.2.tgz",+ "integrity": "sha512-hY5YPNXzw1He7s0iqkRQi+uMGh383CGdyyIGYtB+W5N3KHPXoqychklvHhKCC9M3Xtv0OCs/IHw+r4dcHtBYWw==",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/@hapi/hoek": {+ "version": "11.0.7",+ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-11.0.7.tgz",+ "integrity": "sha512-HV5undWkKzcB4RZUusqOpcgxOaq6VOAH7zhhIr2g3G8NF/MlFO75SjOr2NfuSx0Mh40+1FqCkagKLJRykUWoFQ==",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/@hapi/pinpoint": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@hapi/pinpoint/-/pinpoint-2.0.1.tgz",+ "integrity": "sha512-EKQmr16tM8s16vTT3cA5L0kZZcTMU5DUOZTuvpnY738m+jyP3JIUj+Mm1xc1rsLkGBQ/gVnfKYPwOmPg1tUR4Q==",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/@hapi/tlds": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@hapi/tlds/-/tlds-1.1.7.tgz",+ "integrity": "sha512-MgNjRwy9Ti92yVAixLmDc8dd1bJIKwO9qlWCfFQRwRmUEDPQHYn4G6hwPFvFGUTzAa0FsS+inMjLin7GnyBRhA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@hapi/topo": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-6.0.2.tgz",+ "integrity": "sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@hapi/hoek": "^11.0.2"+ }+ },+ "node_modules/@hocuspocus/common": {+ "version": "2.15.3",+ "resolved": "https://registry.npmjs.org/@hocuspocus/common/-/common-2.15.3.tgz",+ "integrity": "sha512-Rzh1HF0a2o/tf90A3w2XNdXd9Ym3aQzMDfD3lAUONCX9B9QOdqdyiORrj6M25QEaJrEIbXFy8LtAFcL0wRdWzA==",+ "license": "MIT",+ "dependencies": {+ "lib0": "^0.2.87"+ }+ },+ "node_modules/@hocuspocus/provider": {+ "version": "2.15.3",+ "resolved": "https://registry.npmjs.org/@hocuspocus/provider/-/provider-2.15.3.tgz",+ "integrity": "sha512-oadN05m+KL4ylNKVo5YspNG4MXkT2Y+FUFzrgigpQeTjQibkPUwCNmUnkUxMgrGRgxb+O0lJCfirFIJMxedctA==",+ "license": "MIT",+ "dependencies": {+ "@hocuspocus/common": "^2.15.3",+ "@lifeomic/attempt": "^3.0.2",+ "lib0": "^0.2.87",+ "ws": "^8.17.1"+ },+ "peerDependencies": {+ "y-protocols": "^1.0.6",+ "yjs": "^13.6.8"+ }+ },+ "node_modules/@hocuspocus/server": {+ "version": "2.15.3",+ "resolved": "https://registry.npmjs.org/@hocuspocus/server/-/server-2.15.3.tgz",+ "integrity": "sha512-Ju4ty4/7JtmvivcP7gKReOLf8KrFwN7Yx/5VhXYh4TRULy4kSo2fsDVUaluPp0neZa6PbVhizJuzlOim73IEbQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@hocuspocus/common": "^2.15.3",+ "async-lock": "^1.3.1",+ "kleur": "^4.1.4",+ "lib0": "^0.2.47",+ "uuid": "^11.0.3",+ "ws": "^8.5.0"+ },+ "peerDependencies": {+ "y-protocols": "^1.0.6",+ "yjs": "^13.6.8"+ }+ },+ "node_modules/@hookform/resolvers": {+ "version": "5.7.1",+ "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-5.7.1.tgz",+ "integrity": "sha512-8wS/P4UDr5sQDe4nFaV51TVyfDPrWgNIXweqG0Bs9Z5LSuzKLb+RQNPvkN2oHM5SRrJyWrVH/F+LOUcFjUyvwQ==",+ "license": "MIT",+ "dependencies": {+ "@standard-schema/utils": "^0.3.0"+ },+ "peerDependencies": {+ "@sinclair/typebox": ">=0.25.24",+ "@standard-schema/spec": "^1.0.0",+ "@typeschema/main": ">=0.13.7",+ "@vinejs/vine": "^2.0.0 || ^3.0.0 || ^4.0.0",+ "ajv": "^8.12.0",+ "ajv-errors": "^3.0.0",+ "ajv-formats": "^2.1.1",+ "arktype": "^2.0.0",+ "ata-validator": "^1.2.0",+ "class-transformer": ">=0.4.0",+ "class-validator": ">=0.12.0",+ "computed-types": "^1.0.0",+ "effect": "^3.10.3",+ "fluentvalidation-ts": "^3.0.0",+ "fp-ts": "^2.7.0",+ "io-ts": "^2.0.0",+ "joi": "^17.0.0",+ "nope-validator": ">=0.12.0",+ "react-hook-form": "^7.55.0",+ "superstruct": ">=0.12.0",+ "typanion": "^3.3.2",+ "valibot": ">=0.31.0 || ^1.0.0-beta.4 || ^1.0.0-rc",+ "vest": ">=3.0.0",+ "yup": "^1.0.0",+ "zod": "^3.25.0 || ^4.0.0"+ },+ "peerDependenciesMeta": {+ "@sinclair/typebox": {+ "optional": true+ },+ "@standard-schema/spec": {+ "optional": true+ },+ "@typeschema/main": {+ "optional": true+ },+ "@vinejs/vine": {+ "optional": true+ },+ "ajv": {+ "optional": true+ },+ "ajv-errors": {+ "optional": true+ },+ "ajv-formats": {+ "optional": true+ },+ "arktype": {+ "optional": true+ },+ "ata-validator": {+ "optional": true+ },+ "class-transformer": {+ "optional": true+ },+ "class-validator": {+ "optional": true+ },+ "computed-types": {+ "optional": true+ },+ "effect": {+ "optional": true+ },+ "fluentvalidation-ts": {+ "optional": true+ },+ "fp-ts": {+ "optional": true+ },+ "io-ts": {+ "optional": true+ },+ "joi": {+ "optional": true+ },+ "nope-validator": {+ "optional": true+ },+ "superstruct": {+ "optional": true+ },+ "typanion": {+ "optional": true+ },+ "valibot": {+ "optional": true+ },+ "vest": {+ "optional": true+ },+ "yup": {+ "optional": true+ },+ "zod": {+ "optional": true+ }+ }+ },+ "node_modules/@humanfs/core": {+ "version": "0.19.2",+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz",+ "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@humanfs/types": "^0.15.0"+ },+ "engines": {+ "node": ">=18.18.0"+ }+ },+ "node_modules/@humanfs/node": {+ "version": "0.16.8",+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz",+ "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@humanfs/core": "^0.19.2",+ "@humanfs/types": "^0.15.0",+ "@humanwhocodes/retry": "^0.4.0"+ },+ "engines": {+ "node": ">=18.18.0"+ }+ },+ "node_modules/@humanfs/types": {+ "version": "0.15.0",+ "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz",+ "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==",+ "dev": true,+ "license": "Apache-2.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/@iconify/types": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",+ "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",+ "license": "MIT"+ },+ "node_modules/@iconify/utils": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.4.tgz",+ "integrity": "sha512-b1S7B1k9ohZ+iNTi2ATxbRYG9fTrJmUT0rc46bvVnNxqNRGW7dyo/vRREwyniI5IRN2RSJHDcm+s3BjWrSAjHw==",+ "license": "MIT",+ "dependencies": {+ "@antfu/install-pkg": "^1.1.0",+ "@iconify/types": "^2.0.0",+ "import-meta-resolve": "^4.2.0"+ }+ },+ "node_modules/@img/colour": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@img/sharp-darwin-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-darwin-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",+ "cpu": [+ "arm"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-ppc64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",+ "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",+ "cpu": [+ "ppc64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-riscv64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",+ "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",+ "cpu": [+ "riscv64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-s390x": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",+ "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",+ "cpu": [+ "s390x"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz","integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==","cpu": ["x64"],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-linux-arm": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",+ "cpu": [+ "arm"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-ppc64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",+ "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",+ "cpu": [+ "ppc64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-ppc64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-riscv64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",+ "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",+ "cpu": [+ "riscv64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-riscv64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-s390x": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",+ "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",+ "cpu": [+ "s390x"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-s390x": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-wasm32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",+ "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",+ "cpu": [+ "wasm32"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/runtime": "^1.7.0"+ },+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-ia32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",+ "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",+ "cpu": [+ "ia32"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",+ "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "camelcase": "^5.3.1",+ "find-up": "^4.1.0",+ "get-package-type": "^0.1.0",+ "js-yaml": "^3.13.1",+ "resolve-from": "^5.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "sprintf-js": "~1.0.2"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {+ "version": "3.15.1",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.1.tgz",+ "integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "argparse": "^1.0.7",+ "esprima": "^4.0.0"+ },+ "bin": {+ "js-yaml": "bin/js-yaml.js"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-locate": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-try": "^2.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-limit": "^2.2.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@istanbuljs/schema": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz",+ "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@jest/console": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz",+ "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "jest-message-util": "^29.7.0",+ "jest-util": "^29.7.0",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/core": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz",+ "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/console": "^29.7.0",+ "@jest/reporters": "^29.7.0",+ "@jest/test-result": "^29.7.0",+ "@jest/transform": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "ansi-escapes": "^4.2.1",+ "chalk": "^4.0.0",+ "ci-info": "^3.2.0",+ "exit": "^0.1.2",+ "graceful-fs": "^4.2.9",+ "jest-changed-files": "^29.7.0",+ "jest-config": "^29.7.0",+ "jest-haste-map": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-regex-util": "^29.6.3",+ "jest-resolve": "^29.7.0",+ "jest-resolve-dependencies": "^29.7.0",+ "jest-runner": "^29.7.0",+ "jest-runtime": "^29.7.0",+ "jest-snapshot": "^29.7.0",+ "jest-util": "^29.7.0",+ "jest-validate": "^29.7.0",+ "jest-watcher": "^29.7.0",+ "micromatch": "^4.0.4",+ "pretty-format": "^29.7.0",+ "slash": "^3.0.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"+ },+ "peerDependenciesMeta": {+ "node-notifier": {+ "optional": true+ }+ }+ },+ "node_modules/@jest/environment": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz",+ "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/fake-timers": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "jest-mock": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/expect": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz",+ "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "expect": "^29.7.0",+ "jest-snapshot": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/expect-utils": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz",+ "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "jest-get-type": "^29.6.3"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/fake-timers": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz",+ "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "@sinonjs/fake-timers": "^10.0.2",+ "@types/node": "*",+ "jest-message-util": "^29.7.0",+ "jest-mock": "^29.7.0",+ "jest-util": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/globals": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz",+ "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/environment": "^29.7.0",+ "@jest/expect": "^29.7.0",+ "@jest/types": "^29.6.3",+ "jest-mock": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/reporters": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz",+ "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@bcoe/v8-coverage": "^0.2.3",+ "@jest/console": "^29.7.0",+ "@jest/test-result": "^29.7.0",+ "@jest/transform": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@jridgewell/trace-mapping": "^0.3.18",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "collect-v8-coverage": "^1.0.0",+ "exit": "^0.1.2",+ "glob": "^7.1.3",+ "graceful-fs": "^4.2.9",+ "istanbul-lib-coverage": "^3.0.0",+ "istanbul-lib-instrument": "^6.0.0",+ "istanbul-lib-report": "^3.0.0",+ "istanbul-lib-source-maps": "^4.0.0",+ "istanbul-reports": "^3.1.3",+ "jest-message-util": "^29.7.0",+ "jest-util": "^29.7.0",+ "jest-worker": "^29.7.0",+ "slash": "^3.0.0",+ "string-length": "^4.0.1",+ "strip-ansi": "^6.0.0",+ "v8-to-istanbul": "^9.0.1"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"+ },+ "peerDependenciesMeta": {+ "node-notifier": {+ "optional": true+ }+ }+ },+ "node_modules/@jest/schemas": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",+ "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@sinclair/typebox": "^0.27.8"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/source-map": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz",+ "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/trace-mapping": "^0.3.18",+ "callsites": "^3.0.0",+ "graceful-fs": "^4.2.9"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/test-result": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz",+ "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/console": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/istanbul-lib-coverage": "^2.0.0",+ "collect-v8-coverage": "^1.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/test-sequencer": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz",+ "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/test-result": "^29.7.0",+ "graceful-fs": "^4.2.9",+ "jest-haste-map": "^29.7.0",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/transform": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz",+ "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/core": "^7.11.6",+ "@jest/types": "^29.6.3",+ "@jridgewell/trace-mapping": "^0.3.18",+ "babel-plugin-istanbul": "^6.1.1",+ "chalk": "^4.0.0",+ "convert-source-map": "^2.0.0",+ "fast-json-stable-stringify": "^2.1.0",+ "graceful-fs": "^4.2.9",+ "jest-haste-map": "^29.7.0",+ "jest-regex-util": "^29.6.3",+ "jest-util": "^29.7.0",+ "micromatch": "^4.0.4",+ "pirates": "^4.0.4",+ "slash": "^3.0.0",+ "write-file-atomic": "^4.0.2"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/@jest/types": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz",+ "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/schemas": "^29.6.3",+ "@types/istanbul-lib-coverage": "^2.0.0",+ "@types/istanbul-reports": "^3.0.0",+ "@types/node": "*",+ "@types/yargs": "^17.0.8",+ "chalk": "^4.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "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==",+ "dev": true,+ "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/@kurkle/color": {+ "version": "0.3.4",+ "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz",+ "integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==",+ "license": "MIT"+ },+ "node_modules/@lifeomic/attempt": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@lifeomic/attempt/-/attempt-3.1.0.tgz",+ "integrity": "sha512-QZqem4QuAnAyzfz+Gj5/+SLxqwCAw2qmt7732ZXodr6VDWGeYLG6w1i/vYLa55JQM9wRuBKLmXmiZ2P0LtE5rw==",+ "license": "MIT"+ },+ "node_modules/@mermaid-js/parser": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-1.2.0.tgz",+ "integrity": "sha512-oYPyv8A4As1yH5Bx+04iQEQxXuIQDe0GKCNSRgao6z8AM9jixXIfP0vsppRLvGf+nKIOb9/LdpWA4YuJiVvESA==",+ "license": "MIT",+ "dependencies": {+ "@chevrotain/types": "~11.1.2"+ }+ },+ "node_modules/@napi-rs/wasm-runtime": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.2.tgz",+ "integrity": "sha512-JfB4kuJQjaoHuCTseIINHtHWeJnvgEcxjwA5t/Y00ZgaOO1Crz3fjT/p8kT28zA/Caz7oiUMn3d6H2yOVCVwuw==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@tybys/wasm-util": "^0.10.3"+ },+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=23.5.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/Brooooooklyn"+ },+ "peerDependencies": {+ "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.3",+ "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.3"+ }+ },+ "node_modules/@next/env": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.5.23.tgz",+ "integrity": "sha512-Mv3Z9hVbFcPnoLevsZ6rnX1TBtyHb5E17yN7HTPDXSXxeNsGBjUFrdbjRXKKXIOhfth7/cg6Ay7PZ2UFawaWsQ==",+ "license": "MIT"+ },+ "node_modules/@next/eslint-plugin-next": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.5.23.tgz",+ "integrity": "sha512-0KnCFpiWVIsbwBhByZ0uIcjYM5xqGrFzN2eOPbwru/wuy5Z1dmA+3gP+PRbi4gl1Ny7an66BqAM/NHkX/50rbw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fast-glob": "3.3.1"+ }+ },+ "node_modules/@next/swc-darwin-arm64": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.5.23.tgz",+ "integrity": "sha512-SrEwOROH/rhA03F59hHtdhgtfZMWGzr5duDBWgRQt2rS3mJhqMKOcnNx6txOd0/i3E3D3uFKYFvyHsEiwQxzag==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-darwin-x64": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.5.23.tgz",+ "integrity": "sha512-f0FpFbG2EhDCuptBGcfrLcYMDuQAhe6m1QA4VVfXFrIBoFXvXt/olGbBkYkloKlXQtmhuzvtdYyuu/6zf07GIg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-gnu": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.5.23.tgz",+ "integrity": "sha512-WlNtfepUXKX2u2ZsJZ8c3c8+tJSRZqsYzoMwLOY72A8ucKCCgxgNhiePA3qzFYahVWrwcQd8jOeJmBinc+VFVQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-musl": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.5.23.tgz",+ "integrity": "sha512-W/6qKk7UG93mg14PmQC+2urt69MIdwTBLNQ6MJyeC4wOCIHCjz+VfgssvS1pK7mgYBtLC1g6VKNoHD9xB0WWGg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-gnu": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.5.23.tgz",+ "integrity": "sha512-vzefI32mi6VMk96RaTAyxApgfGbiFzQBXVsekEjsDv1fr48mlABTWx0sUYhaYCBHWqCalxmz3DxbxFcbFvzNtw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-musl": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.5.23.tgz",+ "integrity": "sha512-qppK/3dTGOTI+aoWWBZc3DshFIhrzgL8guATlaN9V6M1QJxbkP/rhEZ22tdICsQ/2WWXopMZ2Jokzj2u3uKY3Q==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-arm64-msvc": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.5.23.tgz",+ "integrity": "sha512-Wc29KFOdT7XBcII3Vtmw7aoU8Uk3Mes/FNJfhFeSHdYBFJWMcR/DsI8U9BCPUhq/uycsUVuqSKGthW15tLsigA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-x64-msvc": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.5.23.tgz",+ "integrity": "sha512-/C7wRW4fa9s/PKA18zGPPpVmx8ycgVpP8yOxro4gzGTzjPJdscbAP3ODeFvgiIovxD176Z2J/SXO9t8PJKHLeQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "license": "MIT",+ "dependencies": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "license": "MIT",+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "license": "MIT",+ "dependencies": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nolyfill/is-core-module": {+ "version": "1.0.39",+ "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",+ "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12.4.0"+ }+ },+ "node_modules/@popperjs/core": {+ "version": "2.11.8",+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/popperjs"+ }+ },+ "node_modules/@remirror/core-constants": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@remirror/core-constants/-/core-constants-3.0.0.tgz",+ "integrity": "sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==",+ "license": "MIT"+ },+ "node_modules/@rtsao/scc": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",+ "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@rushstack/eslint-patch": {+ "version": "1.16.1",+ "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.16.1.tgz",+ "integrity": "sha512-TvZbIpeKqGQQ7X0zSCvPH9riMSFQFSggnfBjFZ1mEoILW+UuXCKwOoPcgjMwiUtRqFZ8jWhPJc4um14vC6I4ag==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@sinclair/typebox": {+ "version": "0.27.12",+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.12.tgz",+ "integrity": "sha512-hhyNJ+nbR6ZR7pToHvllEFun9TL0sbL+tk/ON75lo+Xas054uez98qRbsuNt7MBCyZKK4+8Yli/OAGZhmfBZ/g==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@sinonjs/commons": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",+ "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "type-detect": "4.0.8"+ }+ },+ "node_modules/@sinonjs/fake-timers": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz",+ "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@sinonjs/commons": "^3.0.0"+ }+ },+ "node_modules/@standard-schema/spec": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@standard-schema/utils": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz",+ "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",+ "license": "MIT"+ },+ "node_modules/@swc/helpers": {+ "version": "0.5.15",+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",+ "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.8.0"+ }+ },+ "node_modules/@swc/helpers/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/@testing-library/jest-dom": {+ "version": "6.9.1",+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz",+ "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@adobe/css-tools": "^4.4.0",+ "aria-query": "^5.0.0",+ "css.escape": "^1.5.1",+ "dom-accessibility-api": "^0.6.3",+ "picocolors": "^1.1.1",+ "redent": "^3.0.0"+ },+ "engines": {+ "node": ">=14",+ "npm": ">=6",+ "yarn": ">=1"+ }+ },+ "node_modules/@testing-library/react": {+ "version": "16.3.2",+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz",+ "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.12.5"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@testing-library/dom": "^10.0.0",+ "@types/react": "^18.0.0 || ^19.0.0",+ "@types/react-dom": "^18.0.0 || ^19.0.0",+ "react": "^18.0.0 || ^19.0.0",+ "react-dom": "^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@testing-library/user-event": {+ "version": "14.6.3",+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.3.tgz",+ "integrity": "sha512-6dBq67jT8lE+JTE8Exm02Kt6ze43hz1jdiSpSJwtTZiT1xQQ6b7nZYTTQ9njdArdU8XklOwaDp/AbT/eYSKF4g==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12",+ "npm": ">=6"+ },+ "peerDependencies": {+ "@testing-library/dom": ">=7.21.4"+ }+ },+ "node_modules/@tiptap/core": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.27.2.tgz",+ "integrity": "sha512-ABL1N6eoxzDzC1bYvkMbvyexHacszsKdVPYqhl5GwHLOvpZcv9VE9QaKwDILTyz5voCA0lGcAAXZp+qnXOk5lQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-blockquote": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.27.2.tgz",+ "integrity": "sha512-oIGZgiAeA4tG3YxbTDfrmENL4/CIwGuP3THtHsNhwRqwsl9SfMk58Ucopi2GXTQSdYXpRJ0ahE6nPqB5D6j/Zw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-bold": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.27.2.tgz",+ "integrity": "sha512-bR7J5IwjCGQ0s3CIxyMvOCnMFMzIvsc5OVZKscTN5UkXzFsaY6muUAIqtKxayBUucjtUskm5qZowJITCeCb1/A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-bubble-menu": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.27.2.tgz",+ "integrity": "sha512-VkwlCOcr0abTBGzjPXklJ92FCowG7InU8+Od9FyApdLNmn0utRYGRhw0Zno6VgE9EYr1JY4BRnuSa5f9wlR72w==",+ "license": "MIT",+ "dependencies": {+ "tippy.js": "^6.3.7"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-bullet-list": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.27.2.tgz",+ "integrity": "sha512-gmFuKi97u5f8uFc/GQs+zmezjiulZmFiDYTh3trVoLRoc2SAHOjGEB7qxdx7dsqmMN7gwiAWAEVurLKIi1lnnw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-code": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.27.2.tgz",+ "integrity": "sha512-7X9AgwqiIGXoZX7uvdHQsGsjILnN/JaEVtqfXZnPECzKGaWHeK/Ao4sYvIIIffsyZJA8k5DC7ny2/0sAgr2TuA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-code-block": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.27.2.tgz",+ "integrity": "sha512-KgvdQHS4jXr79aU3wZOGBIZYYl9vCB7uDEuRFV4so2rYrfmiYMw3T8bTnlNEEGe4RUeAms1i4fdwwvQp9nR1Dw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-collaboration": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-collaboration/-/extension-collaboration-2.27.2.tgz",+ "integrity": "sha512-Y61ItHxQ1uc/Ir27mBQRI/wY9JkOui194V+awNv+1YHeaKArTjC2cdSvNzj9+h8JIh5MyfvslSf8hBa7t7PzAg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0",+ "y-prosemirror": "^1.2.11"+ }+ },+ "node_modules/@tiptap/extension-collaboration-cursor": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-collaboration-cursor/-/extension-collaboration-cursor-2.27.2.tgz",+ "integrity": "sha512-ScgoVszsFpYs3EldKze1wLcyumNhZHgiOpAj7DpdTEdfSaFAB2gGvzenPBy1zI/PGcLPFEuC/fdLc5ntD3di4Q==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "y-prosemirror": "^1.2.11"+ }+ },+ "node_modules/@tiptap/extension-document": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.27.2.tgz",+ "integrity": "sha512-CFhAYsPnyYnosDC4639sCJnBUnYH4Cat9qH5NZWHVvdgtDwu8GZgZn2eSzaKSYXWH1vJ9DSlCK+7UyC3SNXIBA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-dropcursor": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.27.2.tgz",+ "integrity": "sha512-oEu/OrktNoQXq1x29NnH/GOIzQZm8ieTQl3FK27nxfBPA89cNoH4mFEUmBL5/OFIENIjiYG3qWpg6voIqzswNw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-floating-menu": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.27.2.tgz",+ "integrity": "sha512-GUN6gPIGXS7ngRJOwdSmtBRBDt9Kt9CM/9pSwKebhLJ+honFoNA+Y6IpVyDvvDMdVNgBchiJLs6qA5H97gAePQ==",+ "license": "MIT",+ "dependencies": {+ "tippy.js": "^6.3.7"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-gapcursor": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.27.2.tgz",+ "integrity": "sha512-/c9VF1HBxj+AP54XGVgCmD9bEGYc5w5OofYCFQgM7l7PB1J00A4vOke0oPkHJnqnOOyPlFaxO/7N6l3XwFcnKA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-hard-break": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.27.2.tgz",+ "integrity": "sha512-kSRVGKlCYK6AGR0h8xRkk0WOFGXHIIndod3GKgWU49APuIGDiXd8sziXsSlniUsWmqgDmDXcNnSzPcV7AQ8YNg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-heading": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.27.2.tgz",+ "integrity": "sha512-iM3yeRWuuQR/IRQ1djwNooJGfn9Jts9zF43qZIUf+U2NY8IlvdNsk2wTOdBgh6E0CamrStPxYGuln3ZS4fuglw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-history": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.27.2.tgz",+ "integrity": "sha512-+hSyqERoFNTWPiZx4/FCyZ/0eFqB9fuMdTB4AC/q9iwu3RNWAQtlsJg5230bf/qmyO6bZxRUc0k8p4hrV6ybAw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-horizontal-rule": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.27.2.tgz",+ "integrity": "sha512-WGWUSgX+jCsbtf9Y9OCUUgRZYuwjVoieW5n6mAUohJ9/6gc6sGIOrUpBShf+HHo6WD+gtQjRd+PssmX3NPWMpg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-italic": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.27.2.tgz",+ "integrity": "sha512-1OFsw2SZqfaqx5Fa5v90iNlPRcqyt+lVSjBwTDzuPxTPFY4Q0mL89mKgkq2gVHYNCiaRkXvFLDxaSvBWbmthgg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-link": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.27.2.tgz",+ "integrity": "sha512-bnP61qkr0Kj9Cgnop1hxn2zbOCBzNtmawxr92bVTOE31fJv6FhtCnQiD6tuPQVGMYhcmAj7eihtvuEMFfqEPcQ==",+ "license": "MIT",+ "dependencies": {+ "linkifyjs": "^4.3.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-list-item": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.27.2.tgz",+ "integrity": "sha512-eJNee7IEGXMnmygM5SdMGDC8m/lMWmwNGf9fPCK6xk0NxuQRgmZHL6uApKcdH6gyNcRPHCqvTTkhEP7pbny/fg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-mention": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-mention/-/extension-mention-2.27.2.tgz",+ "integrity": "sha512-uHxVf8RISscb4xgCEJmDSNcFQmzlBTKJh7fp2QAXWIF4Xtrg3zD08PIXUvvHapoluGD9OdBugW4YCu1PJ3xWNw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0",+ "@tiptap/suggestion": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-ordered-list": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.27.2.tgz",+ "integrity": "sha512-M7A4tLGJcLPYdLC4CI2Gwl8LOrENQW59u3cMVa+KkwG1hzSJyPsbDpa1DI6oXPC2WtYiTf22zrbq3gVvH+KA2w==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-paragraph": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.27.2.tgz",+ "integrity": "sha512-elYVn2wHJJ+zB9LESENWOAfI4TNT0jqEN34sMA/hCtA4im1ZG2DdLHwkHIshj/c4H0dzQhmsS/YmNC5Vbqab/A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-placeholder": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.27.2.tgz",+ "integrity": "sha512-IjsgSVYJRjpAKmIoapU0E2R4E2FPY3kpvU7/1i7PUYisylqejSJxmtJPGYw0FOMQY9oxnEEvfZHMBA610tqKpg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-strike": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.27.2.tgz",+ "integrity": "sha512-HHIjhafLhS2lHgfAsCwC1okqMsQzR4/mkGDm4M583Yftyjri1TNA7lzhzXWRFWiiMfJxKtdjHjUAQaHuteRTZw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-text": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.27.2.tgz",+ "integrity": "sha512-Xk7nYcigljAY0GO9hAQpZ65ZCxqOqaAlTPDFcKerXmlkQZP/8ndx95OgUb1Xf63kmPOh3xypurGS2is3v0MXSA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/extension-text-style": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-text-style/-/extension-text-style-2.27.2.tgz",+ "integrity": "sha512-Omk+uxjJLyEY69KStpCw5fA9asvV+MGcAX2HOxyISDFoLaL49TMrNjhGAuz09P1L1b0KGXo4ml7Q3v/Lfy4WPA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0"+ }+ },+ "node_modules/@tiptap/pm": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.27.2.tgz",+ "integrity": "sha512-kaEg7BfiJPDQMKbjVIzEPO3wlcA+pZb2tlcK9gPrdDnEFaec2QTF1sXz2ak2IIb2curvnIrQ4yrfHgLlVA72wA==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-changeset": "^2.3.0",+ "prosemirror-collab": "^1.3.1",+ "prosemirror-commands": "^1.6.2",+ "prosemirror-dropcursor": "^1.8.1",+ "prosemirror-gapcursor": "^1.3.2",+ "prosemirror-history": "^1.4.1",+ "prosemirror-inputrules": "^1.4.0",+ "prosemirror-keymap": "^1.2.2",+ "prosemirror-markdown": "^1.13.1",+ "prosemirror-menu": "^1.2.4",+ "prosemirror-model": "^1.23.0",+ "prosemirror-schema-basic": "^1.2.3",+ "prosemirror-schema-list": "^1.4.1",+ "prosemirror-state": "^1.4.3",+ "prosemirror-tables": "^1.6.4",+ "prosemirror-trailing-node": "^3.0.0",+ "prosemirror-transform": "^1.10.2",+ "prosemirror-view": "^1.37.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ }+ },+ "node_modules/@tiptap/react": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-2.27.2.tgz",+ "integrity": "sha512-0EAs8Cpkfbvben1PZ34JN2Nd79Dhioynm2jML27DBbf1VWPk+FFWFGTMLUT0bu+Np5iVxio8fqV9t0mc4D6thA==",+ "license": "MIT",+ "dependencies": {+ "@tiptap/extension-bubble-menu": "^2.27.2",+ "@tiptap/extension-floating-menu": "^2.27.2",+ "@types/use-sync-external-store": "^0.0.6",+ "fast-deep-equal": "^3",+ "use-sync-external-store": "^1"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0",+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/@tiptap/starter-kit": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-2.27.2.tgz",+ "integrity": "sha512-bb0gJvPoDuyRUQ/iuN52j1//EtWWttw+RXAv1uJxfR0uKf8X7uAqzaOOgwjknoCIDC97+1YHwpGdnRjpDkOBxw==",+ "license": "MIT",+ "dependencies": {+ "@tiptap/core": "^2.27.2",+ "@tiptap/extension-blockquote": "^2.27.2",+ "@tiptap/extension-bold": "^2.27.2",+ "@tiptap/extension-bullet-list": "^2.27.2",+ "@tiptap/extension-code": "^2.27.2",+ "@tiptap/extension-code-block": "^2.27.2",+ "@tiptap/extension-document": "^2.27.2",+ "@tiptap/extension-dropcursor": "^2.27.2",+ "@tiptap/extension-gapcursor": "^2.27.2",+ "@tiptap/extension-hard-break": "^2.27.2",+ "@tiptap/extension-heading": "^2.27.2",+ "@tiptap/extension-history": "^2.27.2",+ "@tiptap/extension-horizontal-rule": "^2.27.2",+ "@tiptap/extension-italic": "^2.27.2",+ "@tiptap/extension-list-item": "^2.27.2",+ "@tiptap/extension-ordered-list": "^2.27.2",+ "@tiptap/extension-paragraph": "^2.27.2",+ "@tiptap/extension-strike": "^2.27.2",+ "@tiptap/extension-text": "^2.27.2",+ "@tiptap/extension-text-style": "^2.27.2",+ "@tiptap/pm": "^2.27.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ }+ },+ "node_modules/@tiptap/suggestion": {+ "version": "2.27.2",+ "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.27.2.tgz",+ "integrity": "sha512-dQyvCIg0hcAVeh4fCIVCxogvbp+bF+GpbUb8sNlgnGrmHXnapGxzkvrlHnvneXZxLk/j7CxmBPKJNnm4Pbx4zw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.7.0",+ "@tiptap/pm": "^2.7.0"+ }+ },+ "node_modules/@tootallnate/once": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.1.tgz",+ "integrity": "sha512-HqmEUIGRJ5fSXchkVgR5F7qn48bDBzv0kWj/Kfu5e6uci4UlEeng4331LnBkWffb++Ei3FOVLxo8JJWMFBDMeQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@tybys/wasm-util": {+ "version": "0.10.3",+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",+ "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@tybys/wasm-util/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "dev": true,+ "license": "0BSD",+ "optional": true+ },+ "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/d3": {+ "version": "7.4.3",+ "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",+ "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-array": "*",+ "@types/d3-axis": "*",+ "@types/d3-brush": "*",+ "@types/d3-chord": "*",+ "@types/d3-color": "*",+ "@types/d3-contour": "*",+ "@types/d3-delaunay": "*",+ "@types/d3-dispatch": "*",+ "@types/d3-drag": "*",+ "@types/d3-dsv": "*",+ "@types/d3-ease": "*",+ "@types/d3-fetch": "*",+ "@types/d3-force": "*",+ "@types/d3-format": "*",+ "@types/d3-geo": "*",+ "@types/d3-hierarchy": "*",+ "@types/d3-interpolate": "*",+ "@types/d3-path": "*",+ "@types/d3-polygon": "*",+ "@types/d3-quadtree": "*",+ "@types/d3-random": "*",+ "@types/d3-scale": "*",+ "@types/d3-scale-chromatic": "*",+ "@types/d3-selection": "*",+ "@types/d3-shape": "*",+ "@types/d3-time": "*",+ "@types/d3-time-format": "*",+ "@types/d3-timer": "*",+ "@types/d3-transition": "*",+ "@types/d3-zoom": "*"+ }+ },+ "node_modules/@types/d3-array": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",+ "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-axis": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz",+ "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-brush": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz",+ "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-chord": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz",+ "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-color": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",+ "license": "MIT"+ },+ "node_modules/@types/d3-contour": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz",+ "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-array": "*",+ "@types/geojson": "*"+ }+ },+ "node_modules/@types/d3-delaunay": {+ "version": "6.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz",+ "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-dispatch": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz",+ "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-drag": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",+ "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-dsv": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz",+ "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-ease": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-fetch": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz",+ "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-dsv": "*"+ }+ },+ "node_modules/@types/d3-force": {+ "version": "3.0.10",+ "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz",+ "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-format": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz",+ "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-geo": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.1.tgz",+ "integrity": "sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==",+ "license": "MIT",+ "dependencies": {+ "@types/geojson": "*"+ }+ },+ "node_modules/@types/d3-hierarchy": {+ "version": "3.1.7",+ "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz",+ "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-interpolate": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-color": "*"+ }+ },+ "node_modules/@types/d3-path": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",+ "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-polygon": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz",+ "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-quadtree": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz",+ "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-random": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.4.tgz",+ "integrity": "sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-scale": {+ "version": "4.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",+ "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-time": "*"+ }+ },+ "node_modules/@types/d3-scale-chromatic": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",+ "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==",+ "license": "MIT"+ },+ "node_modules/@types/d3-selection": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",+ "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",+ "license": "MIT"+ },+ "node_modules/@types/d3-shape": {+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz",+ "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-path": "*"+ }+ },+ "node_modules/@types/d3-time": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",+ "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-time-format": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz",+ "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-timer": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-transition": {+ "version": "3.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",+ "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-zoom": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",+ "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-interpolate": "*",+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/debug": {+ "version": "4.1.13",+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",+ "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",+ "license": "MIT",+ "dependencies": {+ "@types/ms": "*"+ }+ },+ "node_modules/@types/estree": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",+ "license": "MIT"+ },+ "node_modules/@types/estree-jsx": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree": "*"+ }+ },+ "node_modules/@types/geojson": {+ "version": "7946.0.16",+ "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz",+ "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==",+ "license": "MIT"+ },+ "node_modules/@types/graceful-fs": {+ "version": "4.1.9",+ "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",+ "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/hast": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },+ "node_modules/@types/istanbul-lib-coverage": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",+ "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/istanbul-lib-report": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",+ "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/istanbul-lib-coverage": "*"+ }+ },+ "node_modules/@types/istanbul-reports": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",+ "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/istanbul-lib-report": "*"+ }+ },+ "node_modules/@types/jest": {+ "version": "29.5.14",+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz",+ "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "expect": "^29.0.0",+ "pretty-format": "^29.0.0"+ }+ },+ "node_modules/@types/jsdom": {+ "version": "20.0.1",+ "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-20.0.1.tgz",+ "integrity": "sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/node": "*",+ "@types/tough-cookie": "*",+ "parse5": "^7.0.0"+ }+ },+ "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/json5": {+ "version": "0.0.29",+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/linkify-it": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz",+ "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==",+ "license": "MIT"+ },+ "node_modules/@types/markdown-it": {+ "version": "14.1.2",+ "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz",+ "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==",+ "license": "MIT",+ "dependencies": {+ "@types/linkify-it": "^5",+ "@types/mdurl": "^2"+ }+ },+ "node_modules/@types/mdast": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },+ "node_modules/@types/mdurl": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz",+ "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==",+ "license": "MIT"+ },+ "node_modules/@types/ms": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",+ "license": "MIT"+ },+ "node_modules/@types/node": {+ "version": "20.19.43",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz",+ "integrity": "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "undici-types": "~6.21.0"+ }+ },+ "node_modules/@types/prismjs": {+ "version": "1.26.6",+ "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.6.tgz",+ "integrity": "sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==",+ "license": "MIT"+ },+ "node_modules/@types/react": {+ "version": "19.2.18",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.18.tgz",+ "integrity": "sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "csstype": "^3.2.2"+ }+ },+ "node_modules/@types/react-dom": {+ "version": "19.2.4",+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.4.tgz",+ "integrity": "sha512-Bsc+QHgp+P/F02XDzNCY9jnZNCUuLki36KT7VKrTXXLdHf+vHMNZnW1rVu5DNW/rCK+fya3DATySbLM4yhtKUw==",+ "dev": true,+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "^19.2.0"+ }+ },+ "node_modules/@types/react-file-icon": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/react-file-icon/-/react-file-icon-1.0.5.tgz",+ "integrity": "sha512-2QkghuxsQhwJ7J1QdkFxMEciPyh/H/fX/ShAHAje1iuwcOnCI3AwnMZ3LHYvNv/3XYArV5KCbMHOtqiHIYJg0Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-syntax-highlighter": {+ "version": "15.5.13",+ "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz",+ "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/stack-utils": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",+ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/tough-cookie": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",+ "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/trusted-types": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",+ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",+ "license": "MIT",+ "optional": true+ },+ "node_modules/@types/unist": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",+ "license": "MIT"+ },+ "node_modules/@types/use-sync-external-store": {+ "version": "0.0.6",+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",+ "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==",+ "license": "MIT"+ },+ "node_modules/@types/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/yargs": {+ "version": "17.0.35",+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz",+ "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/yargs-parser": "*"+ }+ },+ "node_modules/@types/yargs-parser": {+ "version": "21.0.3",+ "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",+ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@typescript-eslint/eslint-plugin": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.66.0.tgz",+ "integrity": "sha512-p088eaGrzYz1s+7cov0aMOCkNGTJlVxF4jgubf28c8L0Cv9Rloj8YBHnv4hXLq6IIEE1AsjNWavO+k+8kP2Y0A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@eslint-community/regexpp": "^4.12.2",+ "@typescript-eslint/scope-manager": "8.66.0",+ "@typescript-eslint/type-utils": "8.66.0",+ "@typescript-eslint/utils": "8.66.0",+ "@typescript-eslint/visitor-keys": "8.66.0",+ "ignore": "^7.0.5",+ "natural-compare": "^1.4.0",+ "ts-api-utils": "^2.5.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.66.0",+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"+ }+ },+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {+ "version": "7.0.6",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz",+ "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 4"+ }+ },+ "node_modules/@typescript-eslint/parser": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.66.0.tgz",+ "integrity": "sha512-X6ypGChaWYk6PBtUg2BwuTZEFFcHJAtGTVJ9/lCTOufhZ4i9fNolQNnktq+kkMCwMj7V8Svsq7+TxSDslmhE0g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/scope-manager": "8.66.0",+ "@typescript-eslint/types": "8.66.0",+ "@typescript-eslint/typescript-estree": "8.66.0",+ "@typescript-eslint/visitor-keys": "8.66.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.1.0"+ }+ },+ "node_modules/@typescript-eslint/project-service": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.66.0.tgz",+ "integrity": "sha512-7MthGPTt4BP69lSryqpqq8HQqxuzynssckL/jyDyk3+TNMQ3y2jFWkptCrktWvBrP+EH787Nl5N5Qpw7WZg+5g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/tsconfig-utils": "^8.66.0",+ "@typescript-eslint/types": "^8.66.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.1.0"+ }+ },+ "node_modules/@typescript-eslint/scope-manager": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.66.0.tgz",+ "integrity": "sha512-8TGcH25j9zqJ/IULB/ppyhRvxA8QYfFEZ7nfbg6/BN9spDgb8fPWQXlE5l8TWBL50EtUx007uZ1o9VOwrq2/9g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/types": "8.66.0",+ "@typescript-eslint/visitor-keys": "8.66.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.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.66.0.tgz",+ "integrity": "sha512-9D5gLYZG4rOjcoag8MQ/fWI8WqA9wcPDyOGyWtWFhvM1lHRbliqUSPIY5J3zqCU1tvSwzXxnnjhQhz5Ne7mJ4g==",+ "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.1.0"+ }+ },+ "node_modules/@typescript-eslint/type-utils": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.66.0.tgz",+ "integrity": "sha512-LG2dWfjZQQp0ADtAu/EWJVayefGL2UEZ3CDeI44D9v3rXB/WYUqE/jpO28KrEKul5AySrmI+Zh1v6v+xW2U9+g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/types": "8.66.0",+ "@typescript-eslint/typescript-estree": "8.66.0",+ "@typescript-eslint/utils": "8.66.0",+ "debug": "^4.4.3",+ "ts-api-utils": "^2.5.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.1.0"+ }+ },+ "node_modules/@typescript-eslint/types": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.66.0.tgz",+ "integrity": "sha512-H6gcYaSDOyvL3AD/jHUtUFo2jqGgn/F6nuyuZSu0QTesxL+cP4dQoIMrODRofuJC09g64+WgZ6tE19Y1N2YIFQ==",+ "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.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.66.0.tgz",+ "integrity": "sha512-8/x4INiiQb10jGgXYD7116/zQ+OL84ZIFn0za68wwFHCanT/VLbBEroWht8RV8fn0/ZCAoazHLQgwUC0UQcDfg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/project-service": "8.66.0",+ "@typescript-eslint/tsconfig-utils": "8.66.0",+ "@typescript-eslint/types": "8.66.0",+ "@typescript-eslint/visitor-keys": "8.66.0",+ "debug": "^4.4.3",+ "minimatch": "^10.2.2",+ "semver": "^7.7.3",+ "tinyglobby": "^0.2.15",+ "ts-api-utils": "^2.5.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.1.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.9",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",+ "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^4.0.2"+ },+ "engines": {+ "node": "20 || >=22"+ }+ },+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {+ "version": "10.2.6",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "dependencies": {+ "brace-expansion": "^5.0.8"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/@typescript-eslint/utils": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.66.0.tgz",+ "integrity": "sha512-jasearZPolBw5NJNYGMwxzHMF83niVWmMU1VdHzG1CyfI2VS7f7nZltnKtHcg20hW+7Uo5GfK4MeDPoU3qI8EA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@eslint-community/eslint-utils": "^4.9.1",+ "@typescript-eslint/scope-manager": "8.66.0",+ "@typescript-eslint/types": "8.66.0",+ "@typescript-eslint/typescript-estree": "8.66.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.1.0"+ }+ },+ "node_modules/@typescript-eslint/visitor-keys": {+ "version": "8.66.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.66.0.tgz",+ "integrity": "sha512-dkKR8q+lKciskj1Y3vthHktl+3cMLWGyVUP23bRiPZ5O9BRT++4EqDDV+TVeIKBL1VXVEqrJlz8MYbcnvJcAlg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/types": "8.66.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/@ungap/structured-clone": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.3.tgz",+ "integrity": "sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==",+ "license": "ISC"+ },+ "node_modules/@unrs/resolver-binding-android-arm-eabi": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz",+ "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@unrs/resolver-binding-android-arm64": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz",+ "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@unrs/resolver-binding-darwin-arm64": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz",+ "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@unrs/resolver-binding-darwin-x64": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz",+ "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@unrs/resolver-binding-freebsd-x64": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz",+ "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz",+ "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz",+ "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz",+ "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-arm64-musl": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz",+ "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-loong64-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz",+ "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==",+ "cpu": [+ "loong64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-loong64-musl": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz",+ "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==",+ "cpu": [+ "loong64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz",+ "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz",+ "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz",+ "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz",+ "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-x64-gnu": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz",+ "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-linux-x64-musl": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz",+ "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@unrs/resolver-binding-openharmony-arm64": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz",+ "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "openharmony"+ ]+ },+ "node_modules/@unrs/resolver-binding-wasm32-wasi": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz",+ "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==",+ "cpu": [+ "wasm32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "1.10.0",+ "@emnapi/runtime": "1.10.0",+ "@napi-rs/wasm-runtime": "^1.1.4"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@unrs/resolver-binding-wasm32-wasi/node_modules/@emnapi/runtime": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",+ "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@unrs/resolver-binding-wasm32-wasi/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "dev": true,+ "license": "0BSD",+ "optional": true+ },+ "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz",+ "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz",+ "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@unrs/resolver-binding-win32-x64-msvc": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz",+ "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@upsetjs/venn.js": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@upsetjs/venn.js/-/venn.js-2.0.0.tgz",+ "integrity": "sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==",+ "license": "MIT",+ "optionalDependencies": {+ "d3-selection": "^3.0.0",+ "d3-transition": "^3.0.1"+ }+ },+ "node_modules/@xmldom/xmldom": {+ "version": "0.8.13",+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",+ "integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",+ "license": "MIT",+ "engines": {+ "node": ">=10.0.0"+ }+ },+ "node_modules/@xyflow/react": {+ "version": "12.11.2",+ "resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.11.2.tgz",+ "integrity": "sha512-eLAlDWJfWnQEhJwGMjlWdAXO9eYllKpliUmPQlAmOLxz6mExXuzMVDUKLMquixgkrtmMFFtug3jGKmYYld12cA==",+ "license": "MIT",+ "dependencies": {+ "@xyflow/system": "0.0.79",+ "classcat": "^5.0.3",+ "zustand": "^4.4.0"+ },+ "peerDependencies": {+ "@types/react": ">=17",+ "@types/react-dom": ">=17",+ "react": ">=17",+ "react-dom": ">=17"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@xyflow/react/node_modules/zustand": {+ "version": "4.5.7",+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",+ "license": "MIT",+ "dependencies": {+ "use-sync-external-store": "^1.2.2"+ },+ "engines": {+ "node": ">=12.7.0"+ },+ "peerDependencies": {+ "@types/react": ">=16.8",+ "immer": ">=9.0.6",+ "react": ">=16.8"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "immer": {+ "optional": true+ },+ "react": {+ "optional": true+ }+ }+ },+ "node_modules/@xyflow/system": {+ "version": "0.0.79",+ "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.79.tgz",+ "integrity": "sha512-czLyOh91NF0hIzbNzwi8I6GlqG23BHh2435OddfI6uiaLH3xdrdygO93gqgH1Bv9mhy8XPFQJOBn1FTq4LvEWA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-drag": "^3.0.7",+ "@types/d3-interpolate": "^3.0.4",+ "@types/d3-selection": "^3.0.10",+ "@types/d3-transition": "^3.0.8",+ "@types/d3-zoom": "^3.0.8",+ "d3-drag": "^3.0.0",+ "d3-interpolate": "^3.0.1",+ "d3-selection": "^3.0.0",+ "d3-zoom": "^3.0.0"+ }+ },+ "node_modules/abab": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",+ "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",+ "deprecated": "Use your platform's native atob() and btoa() methods instead",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/acorn": {+ "version": "8.18.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",+ "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/acorn-globals": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz",+ "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "acorn": "^8.1.0",+ "acorn-walk": "^8.0.2"+ }+ },+ "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/acorn-walk": {+ "version": "8.3.5",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz",+ "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "acorn": "^8.11.0"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/adler-32": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz",+ "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=0.8"+ }+ },+ "node_modules/agent-base": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",+ "license": "MIT",+ "dependencies": {+ "debug": "4"+ },+ "engines": {+ "node": ">= 6.0.0"+ }+ },+ "node_modules/ajv": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",+ "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",+ "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-escapes": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "type-fest": "^0.21.3"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "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/any-promise": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",+ "license": "MIT"+ },+ "node_modules/anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "license": "ISC",+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/arg": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",+ "license": "MIT"+ },+ "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==",+ "license": "Python-2.0"+ },+ "node_modules/aria-query": {+ "version": "5.3.2",+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",+ "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/array-buffer-byte-length": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",+ "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "is-array-buffer": "^3.0.5"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array-includes": {+ "version": "3.1.9",+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz",+ "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.4",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.24.0",+ "es-object-atoms": "^1.1.1",+ "get-intrinsic": "^1.3.0",+ "is-string": "^1.1.1",+ "math-intrinsics": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array.prototype.findlast": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",+ "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.2",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.0.0",+ "es-shim-unscopables": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array.prototype.findlastindex": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",+ "integrity": "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.4",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.9",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.1.1",+ "es-shim-unscopables": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array.prototype.flat": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",+ "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.5",+ "es-shim-unscopables": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array.prototype.flatmap": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",+ "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.5",+ "es-shim-unscopables": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/array.prototype.tosorted": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.3",+ "es-errors": "^1.3.0",+ "es-shim-unscopables": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/arraybuffer.prototype.slice": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz",+ "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array-buffer-byte-length": "^1.0.1",+ "call-bind": "^1.0.8",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.5",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.6",+ "is-array-buffer": "^3.0.4"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/ast-types-flow": {+ "version": "0.0.8",+ "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",+ "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/async-function": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz",+ "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/async-lock": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.1.tgz",+ "integrity": "sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/asynckit": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",+ "license": "MIT"+ },+ "node_modules/autoprefixer": {+ "version": "10.5.4",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.4.tgz",+ "integrity": "sha512-MaU0U/za7N3r6brxD4YB/l4NSrFzLPlANv6wEuQVaIPlD3L4W9rFcQPbL/EilY9BHhHvhfcz3gInDLrEtWT4EA==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "browserslist": "^4.28.6",+ "caniuse-lite": "^1.0.30001806",+ "fraction.js": "^5.3.4",+ "picocolors": "^1.1.1",+ "postcss-value-parser": "^4.2.0"+ },+ "bin": {+ "autoprefixer": "bin/autoprefixer"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "peerDependencies": {+ "postcss": "^8.1.0"+ }+ },+ "node_modules/available-typed-arrays": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "possible-typed-array-names": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/axe-core": {+ "version": "4.13.0",+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.13.0.tgz",+ "integrity": "sha512-UzGt8zg7Ny8djbYMhxl2zuEevVa7r2gJjYY5Lwr1xM7+XU2nd6CkIWFTVcCIbAP63vSz71NaVyyuSk9lHKcy0A==",+ "dev": true,+ "license": "MPL-2.0",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/axios": {+ "version": "1.19.0",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.19.0.tgz",+ "integrity": "sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==",+ "license": "MIT",+ "dependencies": {+ "follow-redirects": "^1.16.0",+ "form-data": "^4.0.6",+ "https-proxy-agent": "^5.0.1",+ "proxy-from-env": "^2.1.0"+ }+ },+ "node_modules/axobject-query": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",+ "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/babel-jest": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",+ "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/transform": "^29.7.0",+ "@types/babel__core": "^7.1.14",+ "babel-plugin-istanbul": "^6.1.1",+ "babel-preset-jest": "^29.6.3",+ "chalk": "^4.0.0",+ "graceful-fs": "^4.2.9",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.8.0"+ }+ },+ "node_modules/babel-plugin-istanbul": {+ "version": "6.1.1",+ "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",+ "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.0.0",+ "@istanbuljs/load-nyc-config": "^1.0.0",+ "@istanbuljs/schema": "^0.1.2",+ "istanbul-lib-instrument": "^5.0.4",+ "test-exclude": "^6.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",+ "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@babel/core": "^7.12.3",+ "@babel/parser": "^7.14.7",+ "@istanbuljs/schema": "^0.1.2",+ "istanbul-lib-coverage": "^3.2.0",+ "semver": "^6.3.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/babel-plugin-istanbul/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/babel-plugin-jest-hoist": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz",+ "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/template": "^7.3.3",+ "@babel/types": "^7.3.3",+ "@types/babel__core": "^7.1.14",+ "@types/babel__traverse": "^7.0.6"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/babel-preset-current-node-syntax": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz",+ "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/plugin-syntax-async-generators": "^7.8.4",+ "@babel/plugin-syntax-bigint": "^7.8.3",+ "@babel/plugin-syntax-class-properties": "^7.12.13",+ "@babel/plugin-syntax-class-static-block": "^7.14.5",+ "@babel/plugin-syntax-import-attributes": "^7.24.7",+ "@babel/plugin-syntax-import-meta": "^7.10.4",+ "@babel/plugin-syntax-json-strings": "^7.8.3",+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",+ "@babel/plugin-syntax-optional-chaining": "^7.8.3",+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5",+ "@babel/plugin-syntax-top-level-await": "^7.14.5"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0 || ^8.0.0-0"+ }+ },+ "node_modules/babel-preset-jest": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz",+ "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "babel-plugin-jest-hoist": "^29.6.3",+ "babel-preset-current-node-syntax": "^1.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0"+ }+ },+ "node_modules/bail": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "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/base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT"+ },+ "node_modules/baseline-browser-mapping": {+ "version": "2.11.13",+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.13.tgz",+ "integrity": "sha512-k9HNuUVMlqVjQ9UHzfPjIqiDbWw7WqT1AoT7GL8VwvF3r0ZfArtgiSPAlmupyNquNgOJHTuH4CKYf8ttMTWBTQ==",+ "license": "Apache-2.0",+ "bin": {+ "baseline-browser-mapping": "dist/cli.cjs"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/binary-extensions": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/bluebird": {+ "version": "3.4.7",+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz",+ "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==",+ "license": "MIT"+ },+ "node_modules/brace-expansion": {+ "version": "1.1.18",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",+ "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "node_modules/braces": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",+ "license": "MIT",+ "dependencies": {+ "fill-range": "^7.1.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/browserslist": {+ "version": "4.28.8",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.8.tgz",+ "integrity": "sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==",+ "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.11.12",+ "caniuse-lite": "^1.0.30001809",+ "electron-to-chromium": "^1.5.402",+ "node-releases": "^2.0.53",+ "update-browserslist-db": "^1.3.0"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ }+ },+ "node_modules/bser": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",+ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "node-int64": "^0.4.0"+ }+ },+ "node_modules/buffer-from": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/call-bind": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz",+ "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.2",+ "es-define-property": "^1.0.1",+ "get-intrinsic": "^1.3.0",+ "set-function-length": "^1.2.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/call-bind-apply-helpers": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "function-bind": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/call-bound": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.2",+ "get-intrinsic": "^1.3.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "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/camelcase": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/camelcase-css": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",+ "license": "MIT",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001809",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001809.tgz",+ "integrity": "sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==",+ "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/ccount": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/cfb": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz",+ "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==",+ "license": "Apache-2.0",+ "dependencies": {+ "adler-32": "~1.3.0",+ "crc-32": "~1.2.0"+ },+ "engines": {+ "node": ">=0.8"+ }+ },+ "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/char-regex": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",+ "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/character-entities": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-html4": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-legacy": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-reference-invalid": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/chart.js": {+ "version": "4.5.1",+ "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.1.tgz",+ "integrity": "sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==",+ "license": "MIT",+ "dependencies": {+ "@kurkle/color": "^0.3.0"+ },+ "engines": {+ "pnpm": ">=8"+ }+ },+ "node_modules/chokidar": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",+ "license": "MIT",+ "dependencies": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },+ "node_modules/chokidar/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "license": "ISC",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/ci-info": {+ "version": "3.9.0",+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",+ "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/sibiraj-s"+ }+ ],+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/cjs-module-lexer": {+ "version": "1.4.3",+ "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz",+ "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==",+ "dev": true,+ "license": "MIT"+ },+ "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/classcat": {+ "version": "5.0.5",+ "resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz",+ "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==",+ "license": "MIT"+ },+ "node_modules/client-only": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",+ "license": "MIT"+ },+ "node_modules/cliui": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "string-width": "^4.2.0",+ "strip-ansi": "^6.0.1",+ "wrap-ansi": "^7.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "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/co": {+ "version": "4.6.0",+ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",+ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "iojs": ">= 1.0.0",+ "node": ">= 0.12.0"+ }+ },+ "node_modules/codepage": {+ "version": "1.15.0",+ "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz",+ "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=0.8"+ }+ },+ "node_modules/collect-v8-coverage": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz",+ "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==",+ "dev": true,+ "license": "MIT"+ },+ "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/colord": {+ "version": "2.9.3",+ "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz",+ "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==",+ "license": "MIT"+ },+ "node_modules/combined-stream": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",+ "license": "MIT",+ "dependencies": {+ "delayed-stream": "~1.0.0"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/comma-separated-tokens": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/commander": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",+ "license": "MIT",+ "engines": {+ "node": ">= 10"+ }+ },+ "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/core-util-is": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",+ "license": "MIT"+ },+ "node_modules/cose-base": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",+ "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",+ "license": "MIT",+ "dependencies": {+ "layout-base": "^2.0.0"+ }+ },+ "node_modules/crc-32": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",+ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==",+ "license": "Apache-2.0",+ "bin": {+ "crc32": "bin/crc32.njs"+ },+ "engines": {+ "node": ">=0.8"+ }+ },+ "node_modules/create-jest": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz",+ "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "chalk": "^4.0.0",+ "exit": "^0.1.2",+ "graceful-fs": "^4.2.9",+ "jest-config": "^29.7.0",+ "jest-util": "^29.7.0",+ "prompts": "^2.0.1"+ },+ "bin": {+ "create-jest": "bin/create-jest.js"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/crelt": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.7.tgz",+ "integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==",+ "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/css.escape": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",+ "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "license": "MIT",+ "bin": {+ "cssesc": "bin/cssesc"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/cssom": {+ "version": "0.5.0",+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz",+ "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/cssstyle": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",+ "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "cssom": "~0.3.6"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/cssstyle/node_modules/cssom": {+ "version": "0.3.8",+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",+ "dev": true,+ "license": "MIT"+ },+ "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/cytoscape": {+ "version": "3.34.0",+ "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.34.0.tgz",+ "integrity": "sha512-62rNSrioXw93uliKFBwjukeQyeWwH2PqDrTac31r2P6464u3AUvTk0xS4LVvT251g7IgkFunrI48ZEZGjywSOg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10"+ }+ },+ "node_modules/cytoscape-cose-bilkent": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz",+ "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==",+ "license": "MIT",+ "dependencies": {+ "cose-base": "^1.0.0"+ },+ "peerDependencies": {+ "cytoscape": "^3.2.0"+ }+ },+ "node_modules/cytoscape-cose-bilkent/node_modules/cose-base": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz",+ "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==",+ "license": "MIT",+ "dependencies": {+ "layout-base": "^1.0.0"+ }+ },+ "node_modules/cytoscape-cose-bilkent/node_modules/layout-base": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz",+ "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==",+ "license": "MIT"+ },+ "node_modules/cytoscape-fcose": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",+ "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",+ "license": "MIT",+ "dependencies": {+ "cose-base": "^2.2.0"+ },+ "peerDependencies": {+ "cytoscape": "^3.2.0"+ }+ },+ "node_modules/d3": {+ "version": "7.9.0",+ "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz",+ "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "3",+ "d3-axis": "3",+ "d3-brush": "3",+ "d3-chord": "3",+ "d3-color": "3",+ "d3-contour": "4",+ "d3-delaunay": "6",+ "d3-dispatch": "3",+ "d3-drag": "3",+ "d3-dsv": "3",+ "d3-ease": "3",+ "d3-fetch": "3",+ "d3-force": "3",+ "d3-format": "3",+ "d3-geo": "3",+ "d3-hierarchy": "3",+ "d3-interpolate": "3",+ "d3-path": "3",+ "d3-polygon": "3",+ "d3-quadtree": "3",+ "d3-random": "3",+ "d3-scale": "4",+ "d3-scale-chromatic": "3",+ "d3-selection": "3",+ "d3-shape": "3",+ "d3-time": "3",+ "d3-time-format": "4",+ "d3-timer": "3",+ "d3-transition": "3",+ "d3-zoom": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-array": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",+ "license": "ISC",+ "dependencies": {+ "internmap": "1 - 2"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-axis": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz",+ "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-brush": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz",+ "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-drag": "2 - 3",+ "d3-interpolate": "1 - 3",+ "d3-selection": "3",+ "d3-transition": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-chord": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz",+ "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==",+ "license": "ISC",+ "dependencies": {+ "d3-path": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-color": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-contour": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz",+ "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "^3.2.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-delaunay": {+ "version": "6.0.4",+ "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz",+ "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==",+ "license": "ISC",+ "dependencies": {+ "delaunator": "5"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-dispatch": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",+ "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-drag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",+ "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-selection": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-dsv": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz",+ "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==",+ "license": "ISC",+ "dependencies": {+ "commander": "7",+ "iconv-lite": "0.6",+ "rw": "1"+ },+ "bin": {+ "csv2json": "bin/dsv2json.js",+ "csv2tsv": "bin/dsv2dsv.js",+ "dsv2dsv": "bin/dsv2dsv.js",+ "dsv2json": "bin/dsv2json.js",+ "json2csv": "bin/json2dsv.js",+ "json2dsv": "bin/json2dsv.js",+ "json2tsv": "bin/json2dsv.js",+ "tsv2csv": "bin/dsv2dsv.js",+ "tsv2json": "bin/dsv2json.js"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-ease": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-fetch": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz",+ "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==",+ "license": "ISC",+ "dependencies": {+ "d3-dsv": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-force": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz",+ "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-quadtree": "1 - 3",+ "d3-timer": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-format": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz",+ "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-geo": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz",+ "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2.5.0 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-hierarchy": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz",+ "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-interpolate": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",+ "license": "ISC",+ "dependencies": {+ "d3-color": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-path": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-polygon": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz",+ "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-quadtree": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz",+ "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-random": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz",+ "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-sankey": {+ "version": "0.12.3",+ "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz",+ "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "d3-array": "1 - 2",+ "d3-shape": "^1.2.0"+ }+ },+ "node_modules/d3-sankey/node_modules/d3-array": {+ "version": "2.12.1",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "internmap": "^1.0.0"+ }+ },+ "node_modules/d3-sankey/node_modules/d3-path": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",+ "license": "BSD-3-Clause"+ },+ "node_modules/d3-sankey/node_modules/d3-shape": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "d3-path": "1"+ }+ },+ "node_modules/d3-sankey/node_modules/internmap": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==",+ "license": "ISC"+ },+ "node_modules/d3-scale": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2.10.0 - 3",+ "d3-format": "1 - 3",+ "d3-interpolate": "1.2.0 - 3",+ "d3-time": "2.1.1 - 3",+ "d3-time-format": "2 - 4"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-scale-chromatic": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",+ "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",+ "license": "ISC",+ "dependencies": {+ "d3-color": "1 - 3",+ "d3-interpolate": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-selection": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",+ "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-shape": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",+ "license": "ISC",+ "dependencies": {+ "d3-path": "^3.1.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-time": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-time-format": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",+ "license": "ISC",+ "dependencies": {+ "d3-time": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-timer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-transition": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",+ "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",+ "license": "ISC",+ "dependencies": {+ "d3-color": "1 - 3",+ "d3-dispatch": "1 - 3",+ "d3-ease": "1 - 3",+ "d3-interpolate": "1 - 3",+ "d3-timer": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ },+ "peerDependencies": {+ "d3-selection": "2 - 3"+ }+ },+ "node_modules/d3-zoom": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",+ "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-drag": "2 - 3",+ "d3-interpolate": "1 - 3",+ "d3-selection": "2 - 3",+ "d3-transition": "2 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/dagre-d3-es": {+ "version": "7.0.14",+ "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.14.tgz",+ "integrity": "sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==",+ "license": "MIT",+ "dependencies": {+ "d3": "^7.9.0",+ "lodash-es": "^4.17.21"+ }+ },+ "node_modules/damerau-levenshtein": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",+ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",+ "dev": true,+ "license": "BSD-2-Clause"+ },+ "node_modules/data-urls": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz",+ "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "abab": "^2.0.6",+ "whatwg-mimetype": "^3.0.0",+ "whatwg-url": "^11.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/data-view-buffer": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",+ "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "es-errors": "^1.3.0",+ "is-data-view": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/data-view-byte-length": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz",+ "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "es-errors": "^1.3.0",+ "is-data-view": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/inspect-js"+ }+ },+ "node_modules/data-view-byte-offset": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz",+ "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "is-data-view": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/date-fns": {+ "version": "4.4.0",+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz",+ "integrity": "sha512-+1UMbeh68lH1SegH83CGWwpb6OHHbpSgr3+s5Eww5M4CAgswBpoWS0AjTOfEJ33HiYKz1hdj/KTFprzXHmq/6w==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/kossnocorp"+ }+ },+ "node_modules/dayjs": {+ "version": "1.11.21",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.21.tgz",+ "integrity": "sha512-98IT+HOahAisibz/yjKbzuOBwYcjJ7BCLPzARyHiyEBmRz4fatF+KPJszEHXsGYjUG234aH/cOjW1wwTbKUZlA==",+ "license": "MIT"+ },+ "node_modules/debug": {+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",+ "license": "MIT",+ "dependencies": {+ "ms": "^2.1.3"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },+ "node_modules/decimal.js": {+ "version": "10.6.0",+ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",+ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/decode-named-character-reference": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",+ "license": "MIT",+ "dependencies": {+ "character-entities": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/dedent": {+ "version": "1.7.2",+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz",+ "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==",+ "dev": true,+ "license": "MIT",+ "peerDependencies": {+ "babel-plugin-macros": "^3.1.0"+ },+ "peerDependenciesMeta": {+ "babel-plugin-macros": {+ "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/deepmerge": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/define-data-property": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-define-property": "^1.0.0",+ "es-errors": "^1.3.0",+ "gopd": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/define-properties": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "define-data-property": "^1.0.1",+ "has-property-descriptors": "^1.0.0",+ "object-keys": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/delaunator": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.1.0.tgz",+ "integrity": "sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==",+ "license": "ISC",+ "dependencies": {+ "robust-predicates": "^3.0.2"+ }+ },+ "node_modules/delayed-stream": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/dequal": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "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",+ "optional": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/detect-newline": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",+ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/devlop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",+ "license": "MIT",+ "dependencies": {+ "dequal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/didyoumean": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",+ "license": "Apache-2.0"+ },+ "node_modules/diff-sequences": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",+ "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/dingbat-to-unicode": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz",+ "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==",+ "license": "BSD-2-Clause"+ },+ "node_modules/dlv": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",+ "license": "MIT"+ },+ "node_modules/doctrine": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "esutils": "^2.0.2"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/dom-accessibility-api": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/domexception": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz",+ "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==",+ "deprecated": "Use your platform's native DOMException instead",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "webidl-conversions": "^7.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/dompurify": {+ "version": "3.4.13",+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.13.tgz",+ "integrity": "sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==",+ "license": "(MPL-2.0 OR Apache-2.0)",+ "optionalDependencies": {+ "@types/trusted-types": "^2.0.7"+ }+ },+ "node_modules/duck": {+ "version": "0.1.12",+ "resolved": "https://registry.npmjs.org/duck/-/duck-0.1.12.tgz",+ "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==",+ "license": "BSD",+ "dependencies": {+ "underscore": "^1.13.1"+ }+ },+ "node_modules/dunder-proto": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.1",+ "es-errors": "^1.3.0",+ "gopd": "^1.2.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/echarts": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",+ "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "2.3.0",+ "zrender": "5.6.1"+ }+ },+ "node_modules/echarts-for-react": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/echarts-for-react/-/echarts-for-react-3.0.6.tgz",+ "integrity": "sha512-4zqLgTGWS3JvkQDXjzkR1k1CHRdpd6by0988TWMJgnvDytegWLbeP/VNZmMa+0VJx2eD7Y632bi2JquXDgiGJg==",+ "license": "MIT",+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "size-sensor": "^1.0.1"+ },+ "peerDependencies": {+ "echarts": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0",+ "react": "^15.0.0 || >=16.0.0"+ }+ },+ "node_modules/electron-to-chromium": {+ "version": "1.5.403",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.403.tgz",+ "integrity": "sha512-MQsYmdaLzvaCX5j+ZZBr5Fm6uCCnPQcRtlvmvRlWqrXy+BH2O4ffXIAScF+JQznQWB9brWp4lSD9Z4yNmaf2BA==",+ "license": "ISC"+ },+ "node_modules/emittery": {+ "version": "0.13.1",+ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz",+ "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/emittery?sponsor=1"+ }+ },+ "node_modules/emoji-mart": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/emoji-mart/-/emoji-mart-5.6.0.tgz",+ "integrity": "sha512-eJp3QRe79pjwa+duv+n7+5YsNhRcMl812EcFVwrnRvYKoNPoQb5qxU8DG6Bgwji0akHdp6D4Ln6tYLG58MFSow==",+ "license": "MIT"+ },+ "node_modules/emoji-regex": {+ "version": "9.2.2",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/entities": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",+ "dev": true,+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=0.12"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },+ "node_modules/error-ex": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "is-arrayish": "^0.2.1"+ }+ },+ "node_modules/es-abstract": {+ "version": "1.24.2",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz",+ "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array-buffer-byte-length": "^1.0.2",+ "arraybuffer.prototype.slice": "^1.0.4",+ "available-typed-arrays": "^1.0.7",+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.4",+ "data-view-buffer": "^1.0.2",+ "data-view-byte-length": "^1.0.2",+ "data-view-byte-offset": "^1.0.1",+ "es-define-property": "^1.0.1",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.1.1",+ "es-set-tostringtag": "^2.1.0",+ "es-to-primitive": "^1.3.0",+ "function.prototype.name": "^1.1.8",+ "get-intrinsic": "^1.3.0",+ "get-proto": "^1.0.1",+ "get-symbol-description": "^1.1.0",+ "globalthis": "^1.0.4",+ "gopd": "^1.2.0",+ "has-property-descriptors": "^1.0.2",+ "has-proto": "^1.2.0",+ "has-symbols": "^1.1.0",+ "hasown": "^2.0.2",+ "internal-slot": "^1.1.0",+ "is-array-buffer": "^3.0.5",+ "is-callable": "^1.2.7",+ "is-data-view": "^1.0.2",+ "is-negative-zero": "^2.0.3",+ "is-regex": "^1.2.1",+ "is-set": "^2.0.3",+ "is-shared-array-buffer": "^1.0.4",+ "is-string": "^1.1.1",+ "is-typed-array": "^1.1.15",+ "is-weakref": "^1.1.1",+ "math-intrinsics": "^1.1.0",+ "object-inspect": "^1.13.4",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.7",+ "own-keys": "^1.0.1",+ "regexp.prototype.flags": "^1.5.4",+ "safe-array-concat": "^1.1.3",+ "safe-push-apply": "^1.0.0",+ "safe-regex-test": "^1.1.0",+ "set-proto": "^1.0.0",+ "stop-iteration-iterator": "^1.1.0",+ "string.prototype.trim": "^1.2.10",+ "string.prototype.trimend": "^1.0.9",+ "string.prototype.trimstart": "^1.0.8",+ "typed-array-buffer": "^1.0.3",+ "typed-array-byte-length": "^1.0.3",+ "typed-array-byte-offset": "^1.0.4",+ "typed-array-length": "^1.0.7",+ "unbox-primitive": "^1.1.0",+ "which-typed-array": "^1.1.19"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/es-abstract-get": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz",+ "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.1.2",+ "is-callable": "^1.2.7",+ "object-inspect": "^1.13.4"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/es-define-property": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-errors": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-iterator-helpers": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.4.0.tgz",+ "integrity": "sha512-c/A0P0oxkACDc+cKWw8evLXK83oBKgn0qPOqCYT4x9uolpCIJAcYvJC9QYKNDRPsTeGyCrQ326jrvgZWdCdK5Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.24.2",+ "es-errors": "^1.3.0",+ "es-set-tostringtag": "^2.1.0",+ "function-bind": "^1.1.2",+ "get-intrinsic": "^1.3.0",+ "globalthis": "^1.0.4",+ "gopd": "^1.2.0",+ "has-property-descriptors": "^1.0.2",+ "has-proto": "^1.2.0",+ "has-symbols": "^1.1.0",+ "internal-slot": "^1.1.0",+ "iterator.prototype": "^1.1.5",+ "math-intrinsics": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-object-atoms": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",+ "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-set-tostringtag": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.6",+ "has-tostringtag": "^1.0.2",+ "hasown": "^2.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-shim-unscopables": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz",+ "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "hasown": "^2.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/es-to-primitive": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz",+ "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-abstract-get": "^1.0.0",+ "es-define-property": "^1.0.1",+ "es-errors": "^1.3.0",+ "is-callable": "^1.2.7",+ "is-date-object": "^1.1.0",+ "is-symbol": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/es-toolkit": {+ "version": "1.50.0",+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.50.0.tgz",+ "integrity": "sha512-OyZKhUVvEep9ITEiwHn8GKnMRQIVqoSIX7WnRbkWgJkllCujilqP2rD0u979tkl8wqyc8ICwlc1UBVv/Sl1G6w==",+ "license": "MIT",+ "workspaces": [+ "docs",+ "benchmarks",+ "tests/types"+ ]+ },+ "node_modules/escalade": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",+ "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==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/escodegen": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",+ "dev": true,+ "license": "BSD-2-Clause",+ "dependencies": {+ "esprima": "^4.0.1",+ "estraverse": "^5.2.0",+ "esutils": "^2.0.2"+ },+ "bin": {+ "escodegen": "bin/escodegen.js",+ "esgenerate": "bin/esgenerate.js"+ },+ "engines": {+ "node": ">=6.0"+ },+ "optionalDependencies": {+ "source-map": "~0.6.1"+ }+ },+ "node_modules/eslint": {+ "version": "9.39.5",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz",+ "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==",+ "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.6",+ "@eslint/js": "9.39.5",+ "@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-config-next": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.5.23.tgz",+ "integrity": "sha512-z4WcTXNqFHwMG4V8WHb2xrlEPJvwarZa+H/6CR28vxr53icRnQzGXviO11p748BwrMZGl52itdPRzZfzYo0SKw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@next/eslint-plugin-next": "15.5.23",+ "@rushstack/eslint-patch": "^1.10.3",+ "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",+ "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",+ "eslint-import-resolver-node": "^0.3.6",+ "eslint-import-resolver-typescript": "^3.5.2",+ "eslint-plugin-import": "^2.31.0",+ "eslint-plugin-jsx-a11y": "^6.10.0",+ "eslint-plugin-react": "^7.37.0",+ "eslint-plugin-react-hooks": "^5.0.0"+ },+ "peerDependencies": {+ "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0",+ "typescript": ">=3.3.1"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/eslint-import-resolver-node": {+ "version": "0.3.10",+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.10.tgz",+ "integrity": "sha512-tRrKqFyCaKict5hOd244sL6EQFNycnMQnBe+j8uqGNXYzsImGbGUU4ibtoaBmv5FLwJwcFJNeg1GeVjQfbMrDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "debug": "^3.2.7",+ "is-core-module": "^2.16.1",+ "resolve": "^2.0.0-next.6"+ }+ },+ "node_modules/eslint-import-resolver-node/node_modules/debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ms": "^2.1.1"+ }+ },+ "node_modules/eslint-import-resolver-typescript": {+ "version": "3.10.1",+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",+ "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "@nolyfill/is-core-module": "1.0.39",+ "debug": "^4.4.0",+ "get-tsconfig": "^4.10.0",+ "is-bun-module": "^2.0.0",+ "stable-hash": "^0.0.5",+ "tinyglobby": "^0.2.13",+ "unrs-resolver": "^1.6.2"+ },+ "engines": {+ "node": "^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint-import-resolver-typescript"+ },+ "peerDependencies": {+ "eslint": "*",+ "eslint-plugin-import": "*",+ "eslint-plugin-import-x": "*"+ },+ "peerDependenciesMeta": {+ "eslint-plugin-import": {+ "optional": true+ },+ "eslint-plugin-import-x": {+ "optional": true+ }+ }+ },+ "node_modules/eslint-module-utils": {+ "version": "2.14.0",+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.14.0.tgz",+ "integrity": "sha512-W2WCRZ9Dqntd+2u8jJcVMV2PKulc6RdLgUUoh/yQr3uB6lo/ZOeGx11sv60/8S4QFFKNslAlWhr9u0Ef7ZW6Ig==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "debug": "^3.2.7"+ },+ "engines": {+ "node": ">=4"+ },+ "peerDependenciesMeta": {+ "eslint": {+ "optional": true+ }+ }+ },+ "node_modules/eslint-module-utils/node_modules/debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ms": "^2.1.1"+ }+ },+ "node_modules/eslint-plugin-import": {+ "version": "2.32.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz",+ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@rtsao/scc": "^1.1.0",+ "array-includes": "^3.1.9",+ "array.prototype.findlastindex": "^1.2.6",+ "array.prototype.flat": "^1.3.3",+ "array.prototype.flatmap": "^1.3.3",+ "debug": "^3.2.7",+ "doctrine": "^2.1.0",+ "eslint-import-resolver-node": "^0.3.9",+ "eslint-module-utils": "^2.12.1",+ "hasown": "^2.0.2",+ "is-core-module": "^2.16.1",+ "is-glob": "^4.0.3",+ "minimatch": "^3.1.2",+ "object.fromentries": "^2.0.8",+ "object.groupby": "^1.0.3",+ "object.values": "^1.2.1",+ "semver": "^6.3.1",+ "string.prototype.trimend": "^1.0.9",+ "tsconfig-paths": "^3.15.0"+ },+ "engines": {+ "node": ">=4"+ },+ "peerDependencies": {+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"+ }+ },+ "node_modules/eslint-plugin-import/node_modules/debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ms": "^2.1.1"+ }+ },+ "node_modules/eslint-plugin-import/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/eslint-plugin-jsx-a11y": {+ "version": "6.10.2",+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz",+ "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "aria-query": "^5.3.2",+ "array-includes": "^3.1.8",+ "array.prototype.flatmap": "^1.3.2",+ "ast-types-flow": "^0.0.8",+ "axe-core": "^4.10.0",+ "axobject-query": "^4.1.0",+ "damerau-levenshtein": "^1.0.8",+ "emoji-regex": "^9.2.2",+ "hasown": "^2.0.2",+ "jsx-ast-utils": "^3.3.5",+ "language-tags": "^1.0.9",+ "minimatch": "^3.1.2",+ "object.fromentries": "^2.0.8",+ "safe-regex-test": "^1.0.3",+ "string.prototype.includes": "^2.0.1"+ },+ "engines": {+ "node": ">=4.0"+ },+ "peerDependencies": {+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"+ }+ },+ "node_modules/eslint-plugin-react": {+ "version": "7.37.5",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",+ "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array-includes": "^3.1.8",+ "array.prototype.findlast": "^1.2.5",+ "array.prototype.flatmap": "^1.3.3",+ "array.prototype.tosorted": "^1.1.4",+ "doctrine": "^2.1.0",+ "es-iterator-helpers": "^1.2.1",+ "estraverse": "^5.3.0",+ "hasown": "^2.0.2",+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",+ "minimatch": "^3.1.2",+ "object.entries": "^1.1.9",+ "object.fromentries": "^2.0.8",+ "object.values": "^1.2.1",+ "prop-types": "^15.8.1",+ "resolve": "^2.0.0-next.5",+ "semver": "^6.3.1",+ "string.prototype.matchall": "^4.0.12",+ "string.prototype.repeat": "^1.0.0"+ },+ "engines": {+ "node": ">=4"+ },+ "peerDependencies": {+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"+ }+ },+ "node_modules/eslint-plugin-react-hooks": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",+ "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "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/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/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/esprima": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",+ "dev": true,+ "license": "BSD-2-Clause",+ "bin": {+ "esparse": "bin/esparse.js",+ "esvalidate": "bin/esvalidate.js"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "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/estree-util-is-identifier-name": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "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/execa": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "cross-spawn": "^7.0.3",+ "get-stream": "^6.0.0",+ "human-signals": "^2.1.0",+ "is-stream": "^2.0.0",+ "merge-stream": "^2.0.0",+ "npm-run-path": "^4.0.1",+ "onetime": "^5.1.2",+ "signal-exit": "^3.0.3",+ "strip-final-newline": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/execa?sponsor=1"+ }+ },+ "node_modules/exit": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",+ "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",+ "dev": true,+ "engines": {+ "node": ">= 0.8.0"+ }+ },+ "node_modules/expect": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",+ "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/expect-utils": "^29.7.0",+ "jest-get-type": "^29.6.3",+ "jest-matcher-utils": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-util": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/extend": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",+ "license": "MIT"+ },+ "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==",+ "license": "MIT"+ },+ "node_modules/fast-equals": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-4.0.3.tgz",+ "integrity": "sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==",+ "license": "MIT"+ },+ "node_modules/fast-glob": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ },+ "engines": {+ "node": ">=8.6.0"+ }+ },+ "node_modules/fast-glob/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "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/fastq": {+ "version": "1.20.1",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",+ "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",+ "license": "ISC",+ "dependencies": {+ "reusify": "^1.0.4"+ }+ },+ "node_modules/fault": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",+ "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",+ "license": "MIT",+ "dependencies": {+ "format": "^0.2.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/fb-watchman": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",+ "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "bser": "2.1.1"+ }+ },+ "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/fill-range": {+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",+ "license": "MIT",+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "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.4",+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",+ "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",+ "dev": true,+ "license": "ISC"+ },+ "node_modules/follow-redirects": {+ "version": "1.16.0",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",+ "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==",+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/RubenVerborgh"+ }+ ],+ "license": "MIT",+ "engines": {+ "node": ">=4.0"+ },+ "peerDependenciesMeta": {+ "debug": {+ "optional": true+ }+ }+ },+ "node_modules/for-each": {+ "version": "0.3.5",+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",+ "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "is-callable": "^1.2.7"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/form-data": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz",+ "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==",+ "license": "MIT",+ "dependencies": {+ "asynckit": "^0.4.0",+ "combined-stream": "^1.0.8",+ "es-set-tostringtag": "^2.1.0",+ "hasown": "^2.0.4",+ "mime-types": "^2.1.35"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/format": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",+ "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==",+ "engines": {+ "node": ">=0.4.x"+ }+ },+ "node_modules/frac": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz",+ "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=0.8"+ }+ },+ "node_modules/fraction.js": {+ "version": "5.3.4",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",+ "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",+ "license": "MIT",+ "engines": {+ "node": "*"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/rawify"+ }+ },+ "node_modules/framer-motion": {+ "version": "12.43.0",+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.43.0.tgz",+ "integrity": "sha512-1eaL3RvR/kAlbG7UYcpMptEyzPoENO0c6w7ZnB3/hh2vSAz/6uGAFn6fdoqTBguNstf3MsFhJHsD/0DHiclG+g==",+ "license": "MIT",+ "dependencies": {+ "motion-dom": "^12.43.0",+ "motion-utils": "^12.39.0",+ "tslib": "^2.4.0"+ },+ "peerDependencies": {+ "@emotion/is-prop-valid": "*",+ "react": "^18.0.0 || ^19.0.0",+ "react-dom": "^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "@emotion/is-prop-valid": {+ "optional": true+ },+ "react": {+ "optional": true+ },+ "react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/framer-motion/node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",+ "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/function-bind": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/function.prototype.name": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz",+ "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "es-define-property": "^1.0.1",+ "es-errors": "^1.3.0",+ "functions-have-names": "^1.2.3",+ "has-property-descriptors": "^1.0.2",+ "hasown": "^2.0.4",+ "is-callable": "^1.2.7",+ "is-document.all": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/functions-have-names": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/generator-function": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz",+ "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "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/get-caller-file": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": "6.* || 8.* || >= 10.*"+ }+ },+ "node_modules/get-intrinsic": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",+ "license": "MIT",+ "dependencies": {+ "call-bind-apply-helpers": "^1.0.2",+ "es-define-property": "^1.0.1",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.1.1",+ "function-bind": "^1.1.2",+ "get-proto": "^1.0.1",+ "gopd": "^1.2.0",+ "has-symbols": "^1.1.0",+ "hasown": "^2.0.2",+ "math-intrinsics": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/get-package-type": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",+ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8.0.0"+ }+ },+ "node_modules/get-proto": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",+ "license": "MIT",+ "dependencies": {+ "dunder-proto": "^1.0.1",+ "es-object-atoms": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/get-stream": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/get-symbol-description": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",+ "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.6"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/get-tsconfig": {+ "version": "4.14.1",+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.1.tgz",+ "integrity": "sha512-Dz/6HxkrxgNehhxLVeyv8sad9UzF2xBVeaKBQNDfJ5XiSXmp2gTR0eO0RWiT2NCKS5aGP9jjkOMggTN90qU50A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "resolve-pkg-maps": "^1.0.0"+ },+ "funding": {+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"+ }+ },+ "node_modules/glob": {+ "version": "7.2.3",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",+ "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 [email protected]",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.1.1",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ },+ "engines": {+ "node": "*"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "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==",+ "license": "ISC",+ "dependencies": {+ "is-glob": "^4.0.3"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "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/globalthis": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",+ "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "define-properties": "^1.2.1",+ "gopd": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/gopd": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "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==",+ "dev": true,+ "license": "ISC"+ },+ "node_modules/hachure-fill": {+ "version": "0.5.2",+ "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz",+ "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==",+ "license": "MIT"+ },+ "node_modules/has-bigints": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",+ "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "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/has-property-descriptors": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-define-property": "^1.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-proto": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz",+ "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "dunder-proto": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-symbols": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-tostringtag": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",+ "license": "MIT",+ "dependencies": {+ "has-symbols": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/hasown": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",+ "license": "MIT",+ "dependencies": {+ "function-bind": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/hast-util-parse-selector": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz",+ "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hast-util-sanitize": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/hast-util-sanitize/-/hast-util-sanitize-5.0.2.tgz",+ "integrity": "sha512-3yTWghByc50aGS7JlGhk61SPenfE/p1oaFeNwkOOyrscaOkMGrcW9+Cy/QAIOBpZxP1yqDIzFMR0+Np0i0+usg==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@ungap/structured-clone": "^1.0.0",+ "unist-util-position": "^5.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hast-util-to-jsx-runtime": {+ "version": "2.3.6",+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/unist": "^3.0.0",+ "comma-separated-tokens": "^2.0.0",+ "devlop": "^1.0.0",+ "estree-util-is-identifier-name": "^3.0.0",+ "hast-util-whitespace": "^3.0.0",+ "mdast-util-mdx-expression": "^2.0.0",+ "mdast-util-mdx-jsx": "^3.0.0",+ "mdast-util-mdxjs-esm": "^2.0.0",+ "property-information": "^7.0.0",+ "space-separated-tokens": "^2.0.0",+ "style-to-js": "^1.0.0",+ "unist-util-position": "^5.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hast-util-whitespace": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hastscript": {+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz",+ "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "comma-separated-tokens": "^2.0.0",+ "hast-util-parse-selector": "^4.0.0",+ "property-information": "^7.0.0",+ "space-separated-tokens": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/highlight.js": {+ "version": "11.11.1",+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",+ "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=12.0.0"+ }+ },+ "node_modules/highlightjs-vue": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/highlightjs-vue/-/highlightjs-vue-1.0.0.tgz",+ "integrity": "sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA==",+ "license": "CC0-1.0"+ },+ "node_modules/html-encoding-sniffer": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz",+ "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "whatwg-encoding": "^2.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/html-escaper": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/html-url-attributes": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/http-proxy-agent": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",+ "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@tootallnate/once": "2",+ "agent-base": "6",+ "debug": "4"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/https-proxy-agent": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",+ "license": "MIT",+ "dependencies": {+ "agent-base": "6",+ "debug": "4"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/human-signals": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=10.17.0"+ }+ },+ "node_modules/iconify-icon": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/iconify-icon/-/iconify-icon-3.0.2.tgz",+ "integrity": "sha512-DYPAumiUeUeT/GHT8x2wrAVKn1FqZJqFH0Y5pBefapWRreV1BBvqBVMb0020YQ2njmbR59r/IathL2d2OrDrxA==",+ "license": "MIT",+ "dependencies": {+ "@iconify/types": "^2.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/cyberalien"+ }+ },+ "node_modules/iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "license": "MIT",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "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/immediate": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",+ "license": "MIT"+ },+ "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/import-local": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",+ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "pkg-dir": "^4.2.0",+ "resolve-cwd": "^3.0.0"+ },+ "bin": {+ "import-local-fixture": "fixtures/cli.js"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/import-meta-resolve": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",+ "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "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/indent-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "once": "^1.3.0",+ "wrappy": "1"+ }+ },+ "node_modules/inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",+ "license": "ISC"+ },+ "node_modules/inline-style-parser": {+ "version": "0.2.7",+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",+ "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",+ "license": "MIT"+ },+ "node_modules/internal-slot": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",+ "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "hasown": "^2.0.2",+ "side-channel": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/internmap": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/is-alphabetical": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/is-alphanumerical": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",+ "license": "MIT",+ "dependencies": {+ "is-alphabetical": "^2.0.0",+ "is-decimal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/is-array-buffer": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz",+ "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.3",+ "get-intrinsic": "^1.2.6"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/is-async-function": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz",+ "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "async-function": "^1.0.0",+ "call-bound": "^1.0.3",+ "get-proto": "^1.0.1",+ "has-tostringtag": "^1.0.2",+ "safe-regex-test": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-bigint": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz",+ "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "has-bigints": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "license": "MIT",+ "dependencies": {+ "binary-extensions": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-boolean-object": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",+ "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "has-tostringtag": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-bun-module": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz",+ "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "semver": "^7.7.1"+ }+ },+ "node_modules/is-callable": {+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-core-module": {+ "version": "2.16.2",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",+ "integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==",+ "license": "MIT",+ "dependencies": {+ "hasown": "^2.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-data-view": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz",+ "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "get-intrinsic": "^1.2.6",+ "is-typed-array": "^1.1.13"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-date-object": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",+ "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "has-tostringtag": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-decimal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/is-document.all": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz",+ "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.4"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-finalizationregistry": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz",+ "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-generator-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",+ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/is-generator-function": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz",+ "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.4",+ "generator-function": "^2.0.0",+ "get-proto": "^1.0.1",+ "has-tostringtag": "^1.0.2",+ "safe-regex-test": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "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==",+ "license": "MIT",+ "dependencies": {+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-hexadecimal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/is-map": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",+ "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-negative-zero": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "license": "MIT",+ "engines": {+ "node": ">=0.12.0"+ }+ },+ "node_modules/is-number-object": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz",+ "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "has-tostringtag": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-plain-obj": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/is-potential-custom-element-name": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/is-regex": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",+ "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "gopd": "^1.2.0",+ "has-tostringtag": "^1.0.2",+ "hasown": "^2.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-set": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",+ "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-shared-array-buffer": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz",+ "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-stream": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/is-string": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz",+ "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "has-tostringtag": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-symbol": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz",+ "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "has-symbols": "^1.1.0",+ "safe-regex-test": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-typed-array": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",+ "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "which-typed-array": "^1.1.16"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-weakmap": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",+ "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-weakref": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz",+ "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-weakset": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz",+ "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "get-intrinsic": "^1.2.6"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/isarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",+ "license": "MIT"+ },+ "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/isomorphic.js": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/isomorphic.js/-/isomorphic.js-0.2.5.tgz",+ "integrity": "sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==",+ "license": "MIT",+ "funding": {+ "type": "GitHub Sponsors ❤",+ "url": "https://github.com/sponsors/dmonad"+ }+ },+ "node_modules/istanbul-lib-coverage": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/istanbul-lib-instrument": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz",+ "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@babel/core": "^7.23.9",+ "@babel/parser": "^7.23.9",+ "@istanbuljs/schema": "^0.1.3",+ "istanbul-lib-coverage": "^3.2.0",+ "semver": "^7.5.4"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-lib-report": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "istanbul-lib-coverage": "^3.0.0",+ "make-dir": "^4.0.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-lib-source-maps": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",+ "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "debug": "^4.1.1",+ "istanbul-lib-coverage": "^3.0.0",+ "source-map": "^0.6.1"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-reports": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",+ "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "html-escaper": "^2.0.0",+ "istanbul-lib-report": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/iterator.prototype": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz",+ "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "define-data-property": "^1.1.4",+ "es-object-atoms": "^1.0.0",+ "get-intrinsic": "^1.2.6",+ "get-proto": "^1.0.0",+ "has-symbols": "^1.1.0",+ "set-function-name": "^2.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/jest": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",+ "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/core": "^29.7.0",+ "@jest/types": "^29.6.3",+ "import-local": "^3.0.2",+ "jest-cli": "^29.7.0"+ },+ "bin": {+ "jest": "bin/jest.js"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"+ },+ "peerDependenciesMeta": {+ "node-notifier": {+ "optional": true+ }+ }+ },+ "node_modules/jest-changed-files": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz",+ "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "execa": "^5.0.0",+ "jest-util": "^29.7.0",+ "p-limit": "^3.1.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-circus": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz",+ "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/environment": "^29.7.0",+ "@jest/expect": "^29.7.0",+ "@jest/test-result": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "co": "^4.6.0",+ "dedent": "^1.0.0",+ "is-generator-fn": "^2.0.0",+ "jest-each": "^29.7.0",+ "jest-matcher-utils": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-runtime": "^29.7.0",+ "jest-snapshot": "^29.7.0",+ "jest-util": "^29.7.0",+ "p-limit": "^3.1.0",+ "pretty-format": "^29.7.0",+ "pure-rand": "^6.0.0",+ "slash": "^3.0.0",+ "stack-utils": "^2.0.3"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-cli": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz",+ "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/core": "^29.7.0",+ "@jest/test-result": "^29.7.0",+ "@jest/types": "^29.6.3",+ "chalk": "^4.0.0",+ "create-jest": "^29.7.0",+ "exit": "^0.1.2",+ "import-local": "^3.0.2",+ "jest-config": "^29.7.0",+ "jest-util": "^29.7.0",+ "jest-validate": "^29.7.0",+ "yargs": "^17.3.1"+ },+ "bin": {+ "jest": "bin/jest.js"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"+ },+ "peerDependenciesMeta": {+ "node-notifier": {+ "optional": true+ }+ }+ },+ "node_modules/jest-config": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz",+ "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/core": "^7.11.6",+ "@jest/test-sequencer": "^29.7.0",+ "@jest/types": "^29.6.3",+ "babel-jest": "^29.7.0",+ "chalk": "^4.0.0",+ "ci-info": "^3.2.0",+ "deepmerge": "^4.2.2",+ "glob": "^7.1.3",+ "graceful-fs": "^4.2.9",+ "jest-circus": "^29.7.0",+ "jest-environment-node": "^29.7.0",+ "jest-get-type": "^29.6.3",+ "jest-regex-util": "^29.6.3",+ "jest-resolve": "^29.7.0",+ "jest-runner": "^29.7.0",+ "jest-util": "^29.7.0",+ "jest-validate": "^29.7.0",+ "micromatch": "^4.0.4",+ "parse-json": "^5.2.0",+ "pretty-format": "^29.7.0",+ "slash": "^3.0.0",+ "strip-json-comments": "^3.1.1"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "@types/node": "*",+ "ts-node": ">=9.0.0"+ },+ "peerDependenciesMeta": {+ "@types/node": {+ "optional": true+ },+ "ts-node": {+ "optional": true+ }+ }+ },+ "node_modules/jest-diff": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",+ "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "chalk": "^4.0.0",+ "diff-sequences": "^29.6.3",+ "jest-get-type": "^29.6.3",+ "pretty-format": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-docblock": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz",+ "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "detect-newline": "^3.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-each": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz",+ "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "chalk": "^4.0.0",+ "jest-get-type": "^29.6.3",+ "jest-util": "^29.7.0",+ "pretty-format": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-environment-jsdom": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz",+ "integrity": "sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/environment": "^29.7.0",+ "@jest/fake-timers": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/jsdom": "^20.0.0",+ "@types/node": "*",+ "jest-mock": "^29.7.0",+ "jest-util": "^29.7.0",+ "jsdom": "^20.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "peerDependencies": {+ "canvas": "^2.5.0"+ },+ "peerDependenciesMeta": {+ "canvas": {+ "optional": true+ }+ }+ },+ "node_modules/jest-environment-node": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz",+ "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/environment": "^29.7.0",+ "@jest/fake-timers": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "jest-mock": "^29.7.0",+ "jest-util": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-get-type": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz",+ "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-haste-map": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz",+ "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "@types/graceful-fs": "^4.1.3",+ "@types/node": "*",+ "anymatch": "^3.0.3",+ "fb-watchman": "^2.0.0",+ "graceful-fs": "^4.2.9",+ "jest-regex-util": "^29.6.3",+ "jest-util": "^29.7.0",+ "jest-worker": "^29.7.0",+ "micromatch": "^4.0.4",+ "walker": "^1.0.8"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ },+ "optionalDependencies": {+ "fsevents": "^2.3.2"+ }+ },+ "node_modules/jest-junit": {+ "version": "16.0.0",+ "resolved": "https://registry.npmjs.org/jest-junit/-/jest-junit-16.0.0.tgz",+ "integrity": "sha512-A94mmw6NfJab4Fg/BlvVOUXzXgF0XIH6EmTgJ5NDPp4xoKq0Kr7sErb+4Xs9nZvu58pJojz5RFGpqnZYJTrRfQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "mkdirp": "^1.0.4",+ "strip-ansi": "^6.0.1",+ "uuid": "^8.3.2",+ "xml": "^1.0.1"+ },+ "engines": {+ "node": ">=10.12.0"+ }+ },+ "node_modules/jest-junit/node_modules/uuid": {+ "version": "8.3.2",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",+ "dev": true,+ "license": "MIT",+ "bin": {+ "uuid": "dist/bin/uuid"+ }+ },+ "node_modules/jest-leak-detector": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz",+ "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "jest-get-type": "^29.6.3",+ "pretty-format": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-matcher-utils": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz",+ "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "chalk": "^4.0.0",+ "jest-diff": "^29.7.0",+ "jest-get-type": "^29.6.3",+ "pretty-format": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-message-util": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz",+ "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/code-frame": "^7.12.13",+ "@jest/types": "^29.6.3",+ "@types/stack-utils": "^2.0.0",+ "chalk": "^4.0.0",+ "graceful-fs": "^4.2.9",+ "micromatch": "^4.0.4",+ "pretty-format": "^29.7.0",+ "slash": "^3.0.0",+ "stack-utils": "^2.0.3"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-mock": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz",+ "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "jest-util": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-pnp-resolver": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",+ "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ },+ "peerDependencies": {+ "jest-resolve": "*"+ },+ "peerDependenciesMeta": {+ "jest-resolve": {+ "optional": true+ }+ }+ },+ "node_modules/jest-regex-util": {+ "version": "29.6.3",+ "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz",+ "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-resolve": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz",+ "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "chalk": "^4.0.0",+ "graceful-fs": "^4.2.9",+ "jest-haste-map": "^29.7.0",+ "jest-pnp-resolver": "^1.2.2",+ "jest-util": "^29.7.0",+ "jest-validate": "^29.7.0",+ "resolve": "^1.20.0",+ "resolve.exports": "^2.0.0",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-resolve-dependencies": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz",+ "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "jest-regex-util": "^29.6.3",+ "jest-snapshot": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-resolve/node_modules/resolve": {+ "version": "1.22.12",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "is-core-module": "^2.16.1",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ },+ "bin": {+ "resolve": "bin/resolve"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/jest-runner": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz",+ "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/console": "^29.7.0",+ "@jest/environment": "^29.7.0",+ "@jest/test-result": "^29.7.0",+ "@jest/transform": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "emittery": "^0.13.1",+ "graceful-fs": "^4.2.9",+ "jest-docblock": "^29.7.0",+ "jest-environment-node": "^29.7.0",+ "jest-haste-map": "^29.7.0",+ "jest-leak-detector": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-resolve": "^29.7.0",+ "jest-runtime": "^29.7.0",+ "jest-util": "^29.7.0",+ "jest-watcher": "^29.7.0",+ "jest-worker": "^29.7.0",+ "p-limit": "^3.1.0",+ "source-map-support": "0.5.13"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-runtime": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz",+ "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/environment": "^29.7.0",+ "@jest/fake-timers": "^29.7.0",+ "@jest/globals": "^29.7.0",+ "@jest/source-map": "^29.6.3",+ "@jest/test-result": "^29.7.0",+ "@jest/transform": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "cjs-module-lexer": "^1.0.0",+ "collect-v8-coverage": "^1.0.0",+ "glob": "^7.1.3",+ "graceful-fs": "^4.2.9",+ "jest-haste-map": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-mock": "^29.7.0",+ "jest-regex-util": "^29.6.3",+ "jest-resolve": "^29.7.0",+ "jest-snapshot": "^29.7.0",+ "jest-util": "^29.7.0",+ "slash": "^3.0.0",+ "strip-bom": "^4.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-snapshot": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz",+ "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/core": "^7.11.6",+ "@babel/generator": "^7.7.2",+ "@babel/plugin-syntax-jsx": "^7.7.2",+ "@babel/plugin-syntax-typescript": "^7.7.2",+ "@babel/types": "^7.3.3",+ "@jest/expect-utils": "^29.7.0",+ "@jest/transform": "^29.7.0",+ "@jest/types": "^29.6.3",+ "babel-preset-current-node-syntax": "^1.0.0",+ "chalk": "^4.0.0",+ "expect": "^29.7.0",+ "graceful-fs": "^4.2.9",+ "jest-diff": "^29.7.0",+ "jest-get-type": "^29.6.3",+ "jest-matcher-utils": "^29.7.0",+ "jest-message-util": "^29.7.0",+ "jest-util": "^29.7.0",+ "natural-compare": "^1.4.0",+ "pretty-format": "^29.7.0",+ "semver": "^7.5.3"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-util": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz",+ "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "chalk": "^4.0.0",+ "ci-info": "^3.2.0",+ "graceful-fs": "^4.2.9",+ "picomatch": "^2.2.3"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-validate": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz",+ "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/types": "^29.6.3",+ "camelcase": "^6.2.0",+ "chalk": "^4.0.0",+ "jest-get-type": "^29.6.3",+ "leven": "^3.1.0",+ "pretty-format": "^29.7.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-validate/node_modules/camelcase": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/jest-watcher": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz",+ "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/test-result": "^29.7.0",+ "@jest/types": "^29.6.3",+ "@types/node": "*",+ "ansi-escapes": "^4.2.1",+ "chalk": "^4.0.0",+ "emittery": "^0.13.1",+ "jest-util": "^29.7.0",+ "string-length": "^4.0.1"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-worker": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz",+ "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/node": "*",+ "jest-util": "^29.7.0",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/jest-worker/node_modules/supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/supports-color?sponsor=1"+ }+ },+ "node_modules/jiti": {+ "version": "1.21.7",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",+ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",+ "license": "MIT",+ "bin": {+ "jiti": "bin/jiti.js"+ }+ },+ "node_modules/joi": {+ "version": "18.2.3",+ "resolved": "https://registry.npmjs.org/joi/-/joi-18.2.3.tgz",+ "integrity": "sha512-N5A3KTWQpPWT4ExxxPlUx7WmykGXRzhNidWhV41d6Abu9YfI2NyWCJuxdPnslJCPWtbRpSVOWSnSS6GakLM/Rg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@hapi/address": "^5.1.1",+ "@hapi/formula": "^3.0.2",+ "@hapi/hoek": "^11.0.7",+ "@hapi/pinpoint": "^2.0.1",+ "@hapi/tlds": "^1.1.1",+ "@hapi/topo": "^6.0.2",+ "@standard-schema/spec": "^1.1.0"+ },+ "engines": {+ "node": ">= 20"+ }+ },+ "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==",+ "license": "MIT"+ },+ "node_modules/js-yaml": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz",+ "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/puzrin"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/nodeca"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "argparse": "^2.0.1"+ },+ "bin": {+ "js-yaml": "bin/js-yaml.js"+ }+ },+ "node_modules/jsdom": {+ "version": "20.0.3",+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz",+ "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "abab": "^2.0.6",+ "acorn": "^8.8.1",+ "acorn-globals": "^7.0.0",+ "cssom": "^0.5.0",+ "cssstyle": "^2.3.0",+ "data-urls": "^3.0.2",+ "decimal.js": "^10.4.2",+ "domexception": "^4.0.0",+ "escodegen": "^2.0.0",+ "form-data": "^4.0.0",+ "html-encoding-sniffer": "^3.0.0",+ "http-proxy-agent": "^5.0.0",+ "https-proxy-agent": "^5.0.1",+ "is-potential-custom-element-name": "^1.0.1",+ "nwsapi": "^2.2.2",+ "parse5": "^7.1.1",+ "saxes": "^6.0.0",+ "symbol-tree": "^3.2.4",+ "tough-cookie": "^4.1.2",+ "w3c-xmlserializer": "^4.0.0",+ "webidl-conversions": "^7.0.0",+ "whatwg-encoding": "^2.0.0",+ "whatwg-mimetype": "^3.0.0",+ "whatwg-url": "^11.0.0",+ "ws": "^8.11.0",+ "xml-name-validator": "^4.0.0"+ },+ "engines": {+ "node": ">=14"+ },+ "peerDependencies": {+ "canvas": "^2.5.0"+ },+ "peerDependenciesMeta": {+ "canvas": {+ "optional": true+ }+ }+ },+ "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-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "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/jsx-ast-utils": {+ "version": "3.3.5",+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array-includes": "^3.1.6",+ "array.prototype.flat": "^1.3.1",+ "object.assign": "^4.1.4",+ "object.values": "^1.1.6"+ },+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/jszip": {+ "version": "3.10.1",+ "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",+ "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",+ "license": "(MIT OR GPL-3.0-or-later)",+ "dependencies": {+ "lie": "~3.3.0",+ "pako": "~1.0.2",+ "readable-stream": "~2.3.6",+ "setimmediate": "^1.0.5"+ }+ },+ "node_modules/katex": {+ "version": "0.16.47",+ "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz",+ "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==",+ "funding": [+ "https://opencollective.com/katex",+ "https://github.com/sponsors/katex"+ ],+ "license": "MIT",+ "dependencies": {+ "commander": "^8.3.0"+ },+ "bin": {+ "katex": "cli.js"+ }+ },+ "node_modules/katex/node_modules/commander": {+ "version": "8.3.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",+ "license": "MIT",+ "engines": {+ "node": ">= 12"+ }+ },+ "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/khroma": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz",+ "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw=="+ },+ "node_modules/kleur": {+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/language-subtag-registry": {+ "version": "0.3.23",+ "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",+ "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",+ "dev": true,+ "license": "CC0-1.0"+ },+ "node_modules/language-tags": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",+ "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "language-subtag-registry": "^0.3.20"+ },+ "engines": {+ "node": ">=0.10"+ }+ },+ "node_modules/layout-base": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",+ "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",+ "license": "MIT"+ },+ "node_modules/leven": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",+ "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "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/lib0": {+ "version": "0.2.117",+ "resolved": "https://registry.npmjs.org/lib0/-/lib0-0.2.117.tgz",+ "integrity": "sha512-DeXj9X5xDCjgKLU/7RR+/HQEVzuuEUiwldwOGsHK/sfAfELGWEyTcf0x+uOvCvK3O2zPmZePXWL85vtia6GyZw==",+ "license": "MIT",+ "dependencies": {+ "isomorphic.js": "^0.2.4"+ },+ "bin": {+ "0ecdsa-generate-keypair": "bin/0ecdsa-generate-keypair.js",+ "0gentesthtml": "bin/gentesthtml.js",+ "0serve": "bin/0serve.js"+ },+ "engines": {+ "node": ">=16"+ },+ "funding": {+ "type": "GitHub Sponsors ❤",+ "url": "https://github.com/sponsors/dmonad"+ }+ },+ "node_modules/lie": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",+ "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",+ "license": "MIT",+ "dependencies": {+ "immediate": "~3.0.5"+ }+ },+ "node_modules/lilconfig": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",+ "license": "MIT",+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/antonk52"+ }+ },+ "node_modules/lines-and-columns": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",+ "license": "MIT"+ },+ "node_modules/linkify-it": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz",+ "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/puzrin"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/markdown-it"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "uc.micro": "^2.0.0"+ }+ },+ "node_modules/linkifyjs": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.3.tgz",+ "integrity": "sha512-P8aEP5U/D1/IlTY2OeYsErdwh9bGuLE30NcXtKEjgdHcahveQoQwM2yZNsioQHsWFz0P7KKudisbrzCgR0sDHg==",+ "license": "MIT"+ },+ "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": {+ "version": "4.18.1",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",+ "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/lodash-es": {+ "version": "4.18.1",+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz",+ "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==",+ "license": "MIT"+ },+ "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/longest-streak": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/loose-envify": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",+ "license": "MIT",+ "dependencies": {+ "js-tokens": "^3.0.0 || ^4.0.0"+ },+ "bin": {+ "loose-envify": "cli.js"+ }+ },+ "node_modules/lop": {+ "version": "0.4.2",+ "resolved": "https://registry.npmjs.org/lop/-/lop-0.4.2.tgz",+ "integrity": "sha512-RefILVDQ4DKoRZsJ4Pj22TxE3omDO47yFpkIBoDKzkqPRISs5U1cnAdg/5583YPkWPaLIYHOKRMQSvjFsO26cw==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "duck": "^0.1.12",+ "option": "~0.2.1",+ "underscore": "^1.13.1"+ }+ },+ "node_modules/lowlight": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz",+ "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==",+ "license": "MIT",+ "dependencies": {+ "fault": "^1.0.0",+ "highlight.js": "~10.7.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/lowlight/node_modules/highlight.js": {+ "version": "10.7.3",+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",+ "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": "*"+ }+ },+ "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.544.0",+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.544.0.tgz",+ "integrity": "sha512-t5tS44bqd825zAW45UQxpG2CvcC4urOwn2TrwSH8u+MjeE+1NnWl6QqeQ/6NdjMqdOygyiT9p3Ev0p1NJykxjw==",+ "license": "ISC",+ "peerDependencies": {+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/make-dir": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "semver": "^7.5.3"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/makeerror": {+ "version": "1.0.12",+ "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",+ "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "tmpl": "1.0.5"+ }+ },+ "node_modules/mammoth": {+ "version": "1.12.1",+ "resolved": "https://registry.npmjs.org/mammoth/-/mammoth-1.12.1.tgz",+ "integrity": "sha512-nCH9KKjWi3jQ+i8bUKs7k1yrXtSEGpWgF8IYkzsFMcbn+5S6l4bZEBbyx2hOQErFiXPuAs9RPa6qjXVxhyx/8g==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "@xmldom/xmldom": "^0.8.6",+ "argparse": "~1.0.3",+ "base64-js": "^1.5.1",+ "bluebird": "~3.4.0",+ "dingbat-to-unicode": "^1.0.1",+ "jszip": "^3.7.1",+ "lop": "^0.4.2",+ "path-is-absolute": "^1.0.0",+ "underscore": "^1.13.1",+ "xmlbuilder": "^10.0.0"+ },+ "bin": {+ "mammoth": "bin/mammoth"+ },+ "engines": {+ "node": ">=12.0.0"+ }+ },+ "node_modules/mammoth/node_modules/argparse": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",+ "license": "MIT",+ "dependencies": {+ "sprintf-js": "~1.0.2"+ }+ },+ "node_modules/markdown-it": {+ "version": "14.3.0",+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.0.tgz",+ "integrity": "sha512-RCEsPjR+sr0x+AuYp601tKTkgFG4YEPLCzHST3cQ/fhlJkqAkz1L2/Qbp1j9qw5SBwQHFBoW8+hoN5xssOF0Tw==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/puzrin"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/markdown-it"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "argparse": "^2.0.1",+ "entities": "^4.5.0",+ "linkify-it": "^5.0.2",+ "mdurl": "^2.0.0",+ "punycode.js": "^2.3.1",+ "uc.micro": "^2.1.0"+ },+ "bin": {+ "markdown-it": "bin/markdown-it.mjs"+ }+ },+ "node_modules/markdown-it/node_modules/entities": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=0.12"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },+ "node_modules/markdown-table": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/marked": {+ "version": "16.4.2",+ "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.2.tgz",+ "integrity": "sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==",+ "license": "MIT",+ "bin": {+ "marked": "bin/marked.js"+ },+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/math-intrinsics": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/mdast-util-find-and-replace": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "escape-string-regexp": "^5.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/mdast-util-from-markdown": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz",+ "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "mdast-util-to-string": "^4.0.0",+ "micromark": "^4.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-decode-string": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0",+ "unist-util-stringify-position": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",+ "license": "MIT",+ "dependencies": {+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-gfm-autolink-literal": "^2.0.0",+ "mdast-util-gfm-footnote": "^2.0.0",+ "mdast-util-gfm-strikethrough": "^2.0.0",+ "mdast-util-gfm-table": "^2.0.0",+ "mdast-util-gfm-task-list-item": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-autolink-literal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "ccount": "^2.0.0",+ "devlop": "^1.0.0",+ "mdast-util-find-and-replace": "^3.0.0",+ "micromark-util-character": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-footnote": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.1.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-strikethrough": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-table": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "markdown-table": "^3.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-task-list-item": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdx-expression": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdx-jsx": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "ccount": "^2.0.0",+ "devlop": "^1.1.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "parse-entities": "^4.0.0",+ "stringify-entities": "^4.0.0",+ "unist-util-stringify-position": "^4.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdxjs-esm": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-phrasing": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-hast": {+ "version": "13.2.1",+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@ungap/structured-clone": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "trim-lines": "^3.0.0",+ "unist-util-position": "^5.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-markdown": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "longest-streak": "^3.0.0",+ "mdast-util-phrasing": "^4.0.0",+ "mdast-util-to-string": "^4.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-decode-string": "^2.0.0",+ "unist-util-visit": "^5.0.0",+ "zwitch": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdurl": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.1.0.tgz",+ "integrity": "sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==",+ "license": "MIT"+ },+ "node_modules/merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "license": "MIT",+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/mermaid": {+ "version": "11.16.1",+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.16.1.tgz",+ "integrity": "sha512-TQsq6u22fAn3rek5VOubrhKPo1g5hwC3FXUN9hiyupTckcYiGuuKGkNQrKYwGJkXUxZdojwRG46gsSCFZMDp4g==",+ "license": "MIT",+ "dependencies": {+ "@braintree/sanitize-url": "^7.1.2",+ "@iconify/utils": "^3.0.2",+ "@mermaid-js/parser": "^1.2.0",+ "@types/d3": "^7.4.3",+ "@upsetjs/venn.js": "^2.0.0",+ "cytoscape": "^3.33.3",+ "cytoscape-cose-bilkent": "^4.1.0",+ "cytoscape-fcose": "^2.2.0",+ "d3": "^7.9.0",+ "d3-sankey": "^0.12.3",+ "dagre-d3-es": "7.0.14",+ "dayjs": "^1.11.20",+ "dompurify": "^3.3.3",+ "es-toolkit": "^1.45.1",+ "katex": "^0.16.45",+ "khroma": "^2.1.0",+ "marked": "^16.3.0",+ "roughjs": "^4.6.6",+ "stylis": "^4.3.6",+ "ts-dedent": "^2.2.0",+ "uuid": "^11.1.0 || ^12 || ^13 || ^14.0.0"+ }+ },+ "node_modules/micromark": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "@types/debug": "^4.0.0",+ "debug": "^4.0.0",+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-core-commonmark": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-combine-extensions": "^2.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-subtokenize": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-core-commonmark": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-factory-destination": "^2.0.0",+ "micromark-factory-label": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-factory-title": "^2.0.0",+ "micromark-factory-whitespace": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-html-tag-name": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-subtokenize": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-extension-gfm": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",+ "license": "MIT",+ "dependencies": {+ "micromark-extension-gfm-autolink-literal": "^2.0.0",+ "micromark-extension-gfm-footnote": "^2.0.0",+ "micromark-extension-gfm-strikethrough": "^2.0.0",+ "micromark-extension-gfm-table": "^2.0.0",+ "micromark-extension-gfm-tagfilter": "^2.0.0",+ "micromark-extension-gfm-task-list-item": "^2.0.0",+ "micromark-util-combine-extensions": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-autolink-literal": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-footnote": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-core-commonmark": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-strikethrough": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-table": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-tagfilter": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",+ "license": "MIT",+ "dependencies": {+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-task-list-item": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-factory-destination": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-label": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-space": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-title": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-whitespace": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-character": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-chunked": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-classify-character": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-combine-extensions": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-decode-numeric-character-reference": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-decode-string": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-encode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-html-tag-name": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-normalize-identifier": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-resolve-all": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-sanitize-uri": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-subtokenize": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-symbol": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-types": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromatch": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",+ "license": "MIT",+ "dependencies": {+ "braces": "^3.0.3",+ "picomatch": "^2.3.1"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/mime-db": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "2.1.35",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "1.52.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mimic-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/min-indent": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=4"+ }+ },+ "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/minimist": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/mkdirp": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "mkdirp": "bin/cmd.js"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/motion-dom": {+ "version": "12.43.0",+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.43.0.tgz",+ "integrity": "sha512-azKON4d9S65PEoFUiQTMTgPheEmzf2QngdRc50AKfJp9Q9mmcBVw22c8eMq9k8kxOFHdL7+WZY7N/5F/lwiDag==",+ "license": "MIT",+ "dependencies": {+ "motion-utils": "^12.39.0"+ }+ },+ "node_modules/motion-utils": {+ "version": "12.39.0",+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.39.0.tgz",+ "integrity": "sha512-8nadJAJjTtqRkmRF36FoJTrywK9nnFmnPwnSMyxaOCU7GDjN9RTMJIxx9De8ErM+vpPhMccr/6fo5WciyQLnMQ==",+ "license": "MIT"+ },+ "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==",+ "license": "MIT"+ },+ "node_modules/mz": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",+ "license": "MIT",+ "dependencies": {+ "any-promise": "^1.0.0",+ "object-assign": "^4.0.1",+ "thenify-all": "^1.0.0"+ }+ },+ "node_modules/nanoid": {+ "version": "3.3.18",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",+ "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==",+ "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/napi-postinstall": {+ "version": "0.3.4",+ "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz",+ "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "napi-postinstall": "lib/cli.js"+ },+ "engines": {+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/napi-postinstall"+ }+ },+ "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/next": {+ "version": "15.5.23",+ "resolved": "https://registry.npmjs.org/next/-/next-15.5.23.tgz",+ "integrity": "sha512-Gvd2WKgvxIXCGotxcI1im/Uf3rS3J3oZGw0g/uskg6AVBZhyE3aAbujkYWzS3xLmEPEtTLfkaVQUKK0KMTSIkA==",+ "license": "MIT",+ "dependencies": {+ "@next/env": "15.5.23",+ "@swc/helpers": "0.5.15",+ "caniuse-lite": "^1.0.30001579",+ "postcss": "8.4.31",+ "styled-jsx": "5.1.6"+ },+ "bin": {+ "next": "dist/bin/next"+ },+ "engines": {+ "node": "^18.18.0 || ^19.8.0 || >= 20.0.0"+ },+ "optionalDependencies": {+ "@next/swc-darwin-arm64": "15.5.23",+ "@next/swc-darwin-x64": "15.5.23",+ "@next/swc-linux-arm64-gnu": "15.5.23",+ "@next/swc-linux-arm64-musl": "15.5.23",+ "@next/swc-linux-x64-gnu": "15.5.23",+ "@next/swc-linux-x64-musl": "15.5.23",+ "@next/swc-win32-arm64-msvc": "15.5.23",+ "@next/swc-win32-x64-msvc": "15.5.23",+ "sharp": "^0.34.3"+ },+ "peerDependencies": {+ "@opentelemetry/api": "^1.1.0",+ "@playwright/test": "^1.51.1",+ "babel-plugin-react-compiler": "*",+ "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",+ "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",+ "sass": "^1.3.0"+ },+ "peerDependenciesMeta": {+ "@opentelemetry/api": {+ "optional": true+ },+ "@playwright/test": {+ "optional": true+ },+ "babel-plugin-react-compiler": {+ "optional": true+ },+ "sass": {+ "optional": true+ }+ }+ },+ "node_modules/node-exports-info": {+ "version": "1.6.2",+ "resolved": "https://registry.npmjs.org/node-exports-info/-/node-exports-info-1.6.2.tgz",+ "integrity": "sha512-kXs9Go0cah0qHVV2v389IXQLdLCeE1xfFtjOAF+iobu0OIoG1pje8At2vMHyaPMiPMnG/LWP50twML21eMcAag==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array.prototype.flatmap": "^1.3.3",+ "es-errors": "^1.3.0",+ "object.entries": "^1.1.9",+ "semver": "^6.3.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/node-exports-info/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/node-int64": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",+ "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/node-releases": {+ "version": "2.0.53",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.53.tgz",+ "integrity": "sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/normalize-wheel": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",+ "integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==",+ "license": "BSD-3-Clause"+ },+ "node_modules/npm-run-path": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "path-key": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/nwsapi": {+ "version": "2.2.24",+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.24.tgz",+ "integrity": "sha512-7YRhZ3jS45LwmSCT4b2sVFHt/WuovaktDU07QrtOBY2PXskss5a9jfmR9jptyumwXST+rFjrmppMY1KT/yn35A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-hash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",+ "license": "MIT",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/object-inspect": {+ "version": "1.13.4",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/object.assign": {+ "version": "4.1.7",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",+ "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.3",+ "define-properties": "^1.2.1",+ "es-object-atoms": "^1.0.0",+ "has-symbols": "^1.1.0",+ "object-keys": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/object.entries": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",+ "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.4",+ "define-properties": "^1.2.1",+ "es-object-atoms": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/object.fromentries": {+ "version": "2.0.8",+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",+ "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.2",+ "es-object-atoms": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/object.groupby": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",+ "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/object.values": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz",+ "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.3",+ "define-properties": "^1.2.1",+ "es-object-atoms": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "wrappy": "1"+ }+ },+ "node_modules/onetime": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "mimic-fn": "^2.1.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/option": {+ "version": "0.2.4",+ "resolved": "https://registry.npmjs.org/option/-/option-0.2.4.tgz",+ "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==",+ "license": "BSD-2-Clause"+ },+ "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/orderedmap": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/orderedmap/-/orderedmap-2.1.1.tgz",+ "integrity": "sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==",+ "license": "MIT"+ },+ "node_modules/own-keys": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz",+ "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.4",+ "get-intrinsic": "^1.3.0",+ "object-keys": "^1.1.1",+ "safe-push-apply": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "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/p-try": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/package-manager-detector": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.8.0.tgz",+ "integrity": "sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==",+ "license": "MIT"+ },+ "node_modules/pako": {+ "version": "1.0.11",+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",+ "license": "(MIT AND Zlib)"+ },+ "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/parse-entities": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "character-entities-legacy": "^3.0.0",+ "character-reference-invalid": "^2.0.0",+ "decode-named-character-reference": "^1.0.0",+ "is-alphanumerical": "^2.0.0",+ "is-decimal": "^2.0.0",+ "is-hexadecimal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/parse-entities/node_modules/@types/unist": {+ "version": "2.0.11",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",+ "license": "MIT"+ },+ "node_modules/parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/parse5": {+ "version": "7.3.0",+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "entities": "^6.0.0"+ },+ "funding": {+ "url": "https://github.com/inikulin/parse5?sponsor=1"+ }+ },+ "node_modules/path-data-parser": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz",+ "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==",+ "license": "MIT"+ },+ "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-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "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/path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",+ "license": "MIT"+ },+ "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": "2.3.2",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",+ "license": "MIT",+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/pify": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/pirates": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",+ "license": "MIT",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/pkg-dir": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "find-up": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/pkg-dir/node_modules/find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/pkg-dir/node_modules/locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-locate": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/pkg-dir/node_modules/p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-try": "^2.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/pkg-dir/node_modules/p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "p-limit": "^2.2.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/points-on-curve": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",+ "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==",+ "license": "MIT"+ },+ "node_modules/points-on-path": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz",+ "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==",+ "license": "MIT",+ "dependencies": {+ "path-data-parser": "0.1.0",+ "points-on-curve": "0.2.0"+ }+ },+ "node_modules/possible-typed-array-names": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",+ "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/postcss": {+ "version": "8.4.31",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",+ "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.6",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.0.2"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/postcss-import": {+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",+ "license": "MIT",+ "dependencies": {+ "postcss-value-parser": "^4.0.0",+ "read-cache": "^1.0.0",+ "resolve": "^1.1.7"+ },+ "engines": {+ "node": ">=14.0.0"+ },+ "peerDependencies": {+ "postcss": "^8.0.0"+ }+ },+ "node_modules/postcss-import/node_modules/resolve": {+ "version": "1.22.12",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "is-core-module": "^2.16.1",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ },+ "bin": {+ "resolve": "bin/resolve"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/postcss-js": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",+ "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "camelcase-css": "^2.0.1"+ },+ "engines": {+ "node": "^12 || ^14 || >= 16"+ },+ "peerDependencies": {+ "postcss": "^8.4.21"+ }+ },+ "node_modules/postcss-load-config": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "lilconfig": "^3.1.1"+ },+ "engines": {+ "node": ">= 18"+ },+ "peerDependencies": {+ "jiti": ">=1.21.0",+ "postcss": ">=8.0.9",+ "tsx": "^4.8.1",+ "yaml": "^2.4.2"+ },+ "peerDependenciesMeta": {+ "jiti": {+ "optional": true+ },+ "postcss": {+ "optional": true+ },+ "tsx": {+ "optional": true+ },+ "yaml": {+ "optional": true+ }+ }+ },+ "node_modules/postcss-nested": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",+ "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }],+ "license": "MIT",+ "dependencies": {+ "postcss-selector-parser": "^6.1.1"+ },+ "engines": {+ "node": ">=12.0"+ },+ "peerDependencies": {+ "postcss": "^8.2.14"+ }+ },+ "node_modules/postcss-selector-parser": {+ "version": "6.1.4",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz",+ "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==",+ "license": "MIT",+ "dependencies": {+ "cssesc": "^3.0.0",+ "util-deprecate": "^1.0.2"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-value-parser": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",+ "license": "MIT"+ },+ "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/prettier": {+ "version": "3.9.6",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz",+ "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "prettier": "bin/prettier.cjs"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/prettier/prettier?sponsor=1"+ }+ },+ "node_modules/prettier-plugin-tailwindcss": {+ "version": "0.6.14",+ "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.14.tgz",+ "integrity": "sha512-pi2e/+ZygeIqntN+vC573BcW5Cve8zUB0SSAGxqpB4f96boZF4M3phPVoOFCeypwkpRYdi7+jQ5YJJUwrkGUAg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=14.21.3"+ },+ "peerDependencies": {+ "@ianvs/prettier-plugin-sort-imports": "*",+ "@prettier/plugin-hermes": "*",+ "@prettier/plugin-oxc": "*",+ "@prettier/plugin-pug": "*",+ "@shopify/prettier-plugin-liquid": "*",+ "@trivago/prettier-plugin-sort-imports": "*",+ "@zackad/prettier-plugin-twig": "*",+ "prettier": "^3.0",+ "prettier-plugin-astro": "*",+ "prettier-plugin-css-order": "*",+ "prettier-plugin-import-sort": "*",+ "prettier-plugin-jsdoc": "*",+ "prettier-plugin-marko": "*",+ "prettier-plugin-multiline-arrays": "*",+ "prettier-plugin-organize-attributes": "*",+ "prettier-plugin-organize-imports": "*",+ "prettier-plugin-sort-imports": "*",+ "prettier-plugin-style-order": "*",+ "prettier-plugin-svelte": "*"+ },+ "peerDependenciesMeta": {+ "@ianvs/prettier-plugin-sort-imports": {+ "optional": true+ },+ "@prettier/plugin-hermes": {+ "optional": true+ },+ "@prettier/plugin-oxc": {+ "optional": true+ },+ "@prettier/plugin-pug": {+ "optional": true+ },+ "@shopify/prettier-plugin-liquid": {+ "optional": true+ },+ "@trivago/prettier-plugin-sort-imports": {+ "optional": true+ },+ "@zackad/prettier-plugin-twig": {+ "optional": true+ },+ "prettier-plugin-astro": {+ "optional": true+ },+ "prettier-plugin-css-order": {+ "optional": true+ },+ "prettier-plugin-import-sort": {+ "optional": true+ },+ "prettier-plugin-jsdoc": {+ "optional": true+ },+ "prettier-plugin-marko": {+ "optional": true+ },+ "prettier-plugin-multiline-arrays": {+ "optional": true+ },+ "prettier-plugin-organize-attributes": {+ "optional": true+ },+ "prettier-plugin-organize-imports": {+ "optional": true+ },+ "prettier-plugin-sort-imports": {+ "optional": true+ },+ "prettier-plugin-style-order": {+ "optional": true+ },+ "prettier-plugin-svelte": {+ "optional": true+ }+ }+ },+ "node_modules/pretty-format": {+ "version": "29.7.0",+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jest/schemas": "^29.6.3",+ "ansi-styles": "^5.0.0",+ "react-is": "^18.0.0"+ },+ "engines": {+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"+ }+ },+ "node_modules/pretty-format/node_modules/ansi-styles": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/prismjs": {+ "version": "1.30.0",+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",+ "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/process-nextick-args": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",+ "license": "MIT"+ },+ "node_modules/prompts": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "kleur": "^3.0.3",+ "sisteransi": "^1.0.5"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/prompts/node_modules/kleur": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/prop-types": {+ "version": "15.8.1",+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",+ "license": "MIT",+ "dependencies": {+ "loose-envify": "^1.4.0",+ "object-assign": "^4.1.1",+ "react-is": "^16.13.1"+ }+ },+ "node_modules/prop-types/node_modules/react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",+ "license": "MIT"+ },+ "node_modules/property-information": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",+ "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/prosemirror-changeset": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/prosemirror-changeset/-/prosemirror-changeset-2.4.1.tgz",+ "integrity": "sha512-96WBLhOaYhJ+kPhLg3uW359Tz6I/MfcrQfL4EGv4SrcqKEMC1gmoGrXHecPE8eOwTVCJ4IwgfzM8fFad25wNfw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-transform": "^1.0.0"+ }+ },+ "node_modules/prosemirror-collab": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/prosemirror-collab/-/prosemirror-collab-1.3.1.tgz",+ "integrity": "sha512-4SnynYR9TTYaQVXd/ieUvsVV4PDMBzrq2xPUWutHivDuOshZXqQ5rGbZM84HEaXKbLdItse7weMGOUdDVcLKEQ==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-state": "^1.0.0"+ }+ },+ "node_modules/prosemirror-commands": {+ "version": "1.7.2",+ "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.7.2.tgz",+ "integrity": "sha512-q6Q6szxqdu9Xd6EcdKsqXghu5nQdZTpB4Q9yd04WRc7/jt763e/rT60Owh0L1GYY+T46o5rD+9lEN36dZS43tw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.0.0",+ "prosemirror-state": "^1.0.0",+ "prosemirror-transform": "^1.10.2"+ }+ },+ "node_modules/prosemirror-dropcursor": {+ "version": "1.8.3",+ "resolved": "https://registry.npmjs.org/prosemirror-dropcursor/-/prosemirror-dropcursor-1.8.3.tgz",+ "integrity": "sha512-FoYbsJR8gK+DGlqhNoE29Loa38eIZPzQRIb1VMaDNBoo4OLP6vVof/jR8qFY/6XvUd6Dhug8MDCHl2a/h8RTfQ==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-state": "^1.0.0",+ "prosemirror-transform": "^1.1.0",+ "prosemirror-view": "^1.1.0"+ }+ },+ "node_modules/prosemirror-gapcursor": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/prosemirror-gapcursor/-/prosemirror-gapcursor-1.4.1.tgz",+ "integrity": "sha512-pMdYaEnjNMSwl11yjEGtgTmLkR08m/Vl+Jj443167p9eB3HVQKhYCc4gmHVDsLPODfZfjr/MmirsdyZziXbQKw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-keymap": "^1.0.0",+ "prosemirror-model": "^1.0.0",+ "prosemirror-state": "^1.0.0",+ "prosemirror-view": "^1.0.0"+ }+ },+ "node_modules/prosemirror-history": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/prosemirror-history/-/prosemirror-history-1.5.0.tgz",+ "integrity": "sha512-zlzTiH01eKA55UAf1MEjtssJeHnGxO0j4K4Dpx+gnmX9n+SHNlDqI2oO1Kv1iPN5B1dm5fsljCfqKF9nFL6HRg==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-state": "^1.2.2",+ "prosemirror-transform": "^1.0.0",+ "prosemirror-view": "^1.31.0",+ "rope-sequence": "^1.3.0"+ }+ },+ "node_modules/prosemirror-inputrules": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/prosemirror-inputrules/-/prosemirror-inputrules-1.5.1.tgz",+ "integrity": "sha512-7wj4uMjKaXWAQ1CDgxNzNtR9AlsuwzHfdFH1ygEHA2KHF2DOEaXl1CJfNPAKCg9qNEh4rum975QLaCiQPyY6Fw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-state": "^1.0.0",+ "prosemirror-transform": "^1.0.0"+ }+ },+ "node_modules/prosemirror-keymap": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/prosemirror-keymap/-/prosemirror-keymap-1.2.3.tgz",+ "integrity": "sha512-4HucRlpiLd1IPQQXNqeo81BGtkY8Ai5smHhKW9jjPKRc2wQIxksg7Hl1tTI2IfT2B/LgX6bfYvXxEpJl7aKYKw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-state": "^1.0.0",+ "w3c-keyname": "^2.2.0"+ }+ },+ "node_modules/prosemirror-markdown": {+ "version": "1.13.5",+ "resolved": "https://registry.npmjs.org/prosemirror-markdown/-/prosemirror-markdown-1.13.5.tgz",+ "integrity": "sha512-ac8trNQ01ybKDRTcfUc56LZufG3oYyU4N25qSXgp8dS0U4JtzzCj7oQlKu5v09VSmS5IseYoQ2yDkTbo7f7D8Q==",+ "license": "MIT",+ "dependencies": {+ "@types/markdown-it": "^14.0.0",+ "markdown-it": "^14.0.0",+ "prosemirror-model": "^1.25.0"+ }+ },+ "node_modules/prosemirror-menu": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/prosemirror-menu/-/prosemirror-menu-1.3.2.tgz",+ "integrity": "sha512-6VgUJTYod0nMBlCaYJGhXGLu7Gt4AvcwcOq0YfJCY/6Uh+3S7UsWhpy6rJFCBFOmonq1hD8KyWOtZhkppd4YPg==",+ "license": "MIT",+ "dependencies": {+ "crelt": "^1.0.0",+ "prosemirror-commands": "^1.0.0",+ "prosemirror-history": "^1.0.0",+ "prosemirror-state": "^1.0.0"+ }+ },+ "node_modules/prosemirror-model": {+ "version": "1.25.11",+ "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.25.11.tgz",+ "integrity": "sha512-QWg9RhnpLlogAmp3p96uEFrE5txQpFynd4vhBAELkwgOCWQs/X0yCzB3/hrHqiPwf91RG5KyWq6553zs9JqIOQ==",+ "license": "MIT",+ "dependencies": {+ "orderedmap": "^2.0.0"+ }+ },+ "node_modules/prosemirror-schema-basic": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/prosemirror-schema-basic/-/prosemirror-schema-basic-1.2.4.tgz",+ "integrity": "sha512-ELxP4TlX3yr2v5rM7Sb70SqStq5NvI15c0j9j/gjsrO5vaw+fnnpovCLEGIcpeGfifkuqJwl4fon6b+KdrODYQ==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.25.0"+ }+ },+ "node_modules/prosemirror-schema-list": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.5.1.tgz",+ "integrity": "sha512-927lFx/uwyQaGwJxLWCZRkjXG0p48KpMj6ueoYiu4JX05GGuGcgzAy62dfiV8eFZftgyBUvLx76RsMe20fJl+Q==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.0.0",+ "prosemirror-state": "^1.0.0",+ "prosemirror-transform": "^1.7.3"+ }+ },+ "node_modules/prosemirror-state": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/prosemirror-state/-/prosemirror-state-1.4.4.tgz",+ "integrity": "sha512-6jiYHH2CIGbCfnxdHbXZ12gySFY/fz/ulZE333G6bPqIZ4F+TXo9ifiR86nAHpWnfoNjOb3o5ESi7J8Uz1jXHw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.0.0",+ "prosemirror-transform": "^1.0.0",+ "prosemirror-view": "^1.27.0"+ }+ },+ "node_modules/prosemirror-tables": {+ "version": "1.8.5",+ "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.8.5.tgz",+ "integrity": "sha512-V/0cDCsHKHe/tfWkeCmthNUcEp1IVO3p6vwN8XtwE9PZQLAZJigbw3QoraAdfJPir4NKJtNvOB8oYGKRl+t0Dw==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-keymap": "^1.2.3",+ "prosemirror-model": "^1.25.4",+ "prosemirror-state": "^1.4.4",+ "prosemirror-transform": "^1.10.5",+ "prosemirror-view": "^1.41.4"+ }+ },+ "node_modules/prosemirror-trailing-node": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/prosemirror-trailing-node/-/prosemirror-trailing-node-3.0.0.tgz",+ "integrity": "sha512-xiun5/3q0w5eRnGYfNlW1uU9W6x5MoFKWwq/0TIRgt09lv7Hcser2QYV8t4muXbEr+Fwo0geYn79Xs4GKywrRQ==",+ "license": "MIT",+ "dependencies": {+ "@remirror/core-constants": "3.0.0",+ "escape-string-regexp": "^4.0.0"+ },+ "peerDependencies": {+ "prosemirror-model": "^1.22.1",+ "prosemirror-state": "^1.4.2",+ "prosemirror-view": "^1.33.8"+ }+ },+ "node_modules/prosemirror-transform": {+ "version": "1.12.0",+ "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.12.0.tgz",+ "integrity": "sha512-GxboyN4AMIsoHNtz5uf2r2Ru551i5hWeCMD6E2Ib4Eogqoub0NflniaBPVQ4MrGE5yZ8JV9tUHg9qcZTTrcN4w==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.21.0"+ }+ },+ "node_modules/prosemirror-view": {+ "version": "1.42.2",+ "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.42.2.tgz",+ "integrity": "sha512-Pdg0l5kXm8aLDquFAnQFTCITg0q44sLqBlHlpsVLD9segdOao8TOfQdAhCrCXyVgPSRr6UDDROOIWA3bIrN9YQ==",+ "license": "MIT",+ "dependencies": {+ "prosemirror-model": "^1.25.8",+ "prosemirror-state": "^1.0.0",+ "prosemirror-transform": "^1.1.0"+ }+ },+ "node_modules/proxy-from-env": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",+ "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/psl": {+ "version": "1.15.0",+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",+ "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "punycode": "^2.3.1"+ },"funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/sponsors/lupomontero"}},- "node_modules/@img/sharp-libvips-linuxmusl-arm64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",- "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",- "cpu": [- "arm64"+ "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/punycode.js": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",+ "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/pure-rand": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",+ "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",+ "dev": true,+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/dubzzz"+ },+ {+ "type": "opencollective",+ "url": "https://opencollective.com/fast-check"+ }],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"+ "license": "MIT"+ },+ "node_modules/querystringify": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }],+ "license": "MIT"+ },+ "node_modules/react": {+ "version": "19.1.0",+ "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",+ "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-dom": {+ "version": "19.1.0",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz",+ "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",+ "license": "MIT",+ "dependencies": {+ "scheduler": "^0.26.0"+ },+ "peerDependencies": {+ "react": "^19.1.0"+ }+ },+ "node_modules/react-draggable": {+ "version": "4.7.1",+ "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.7.1.tgz",+ "integrity": "sha512-wa3tzfFnYt3yaZLuyU58fl1TNunfWfBekDgWhZA1+gb2jnp42wZ0ymuopR6M5kqDYmm4hKmzGlcKWjZf3Zb6RQ==",+ "license": "MIT",+ "dependencies": {+ "clsx": "^2.1.1",+ "prop-types": "^15.8.1"+ },+ "peerDependencies": {+ "react": ">= 16.3.0",+ "react-dom": ">= 16.3.0"+ }+ },+ "node_modules/react-easy-crop": {+ "version": "5.5.7",+ "resolved": "https://registry.npmjs.org/react-easy-crop/-/react-easy-crop-5.5.7.tgz",+ "integrity": "sha512-kYo4NtMeXFQB7h1U+h5yhUkE46WQbQdq7if54uDlbMdZHdRgNehfvaFrXnFw5NR1PNoUOJIfTwLnWmEx/MaZnA==",+ "license": "MIT",+ "dependencies": {+ "normalize-wheel": "^1.0.1",+ "tslib": "^2.0.1"+ },+ "peerDependencies": {+ "react": ">=16.4.0",+ "react-dom": ">=16.4.0"+ }+ },+ "node_modules/react-file-icon": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/react-file-icon/-/react-file-icon-1.6.0.tgz",+ "integrity": "sha512-Ba4Qa2ya/kvhcCd4LJja77sV7JD7u1ZXcI1DUz+TII3nGmglG6QY+NZeHizThokgct3qI0glwb9eV8NqRGs5lw==",+ "license": "MIT",+ "dependencies": {+ "colord": "^2.9.3",+ "prop-types": "^15.7.2"+ },+ "peerDependencies": {+ "react": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.2.0",+ "react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.2.0"+ }+ },+ "node_modules/react-grid-layout": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/react-grid-layout/-/react-grid-layout-1.5.4.tgz",+ "integrity": "sha512-AyScMfqhgRfie9ECXddQeaYmTuNlomDj9SIryF/+vtiwXS6IsxX3cI6CCWbSRXqbAePHW397nPxvnekO5gViPg==",+ "license": "MIT",+ "dependencies": {+ "clsx": "^2.1.1",+ "fast-equals": "^4.0.3",+ "prop-types": "^15.8.1",+ "react-draggable": "^4.4.6",+ "react-resizable": "^3.0.5",+ "resize-observer-polyfill": "^1.5.1"+ },+ "peerDependencies": {+ "react": ">= 16.3.0",+ "react-dom": ">= 16.3.0"+ }+ },+ "node_modules/react-hook-form": {+ "version": "7.85.0",+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.85.0.tgz",+ "integrity": "sha512-U2MTriFXnclmV4rOE20p2DcRFv5WEg3FIcBFOKcOLFHDVvGIMPvLTkTWefUsonmlaVy23khVDxDWym6uJVGOzw==",+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ },"funding": {- "url": "https://opencollective.com/libvips"+ "type": "opencollective",+ "url": "https://opencollective.com/react-hook-form"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17 || ^18 || ^19"}},- "node_modules/@img/sharp-libvips-linuxmusl-x64": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",- "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",- "cpu": [- "x64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],+ "node_modules/react-is": {+ "version": "18.3.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/react-markdown": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-9.1.0.tgz",+ "integrity": "sha512-xaijuJB0kzGiUdG7nc2MOMDUDBWPyGAjZtUrow9XxUeua8IqeP+VlIfAZ3bphpcLTnSZXz6z9jcVC/TCwbfgdw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "hast-util-to-jsx-runtime": "^2.0.0",+ "html-url-attributes": "^3.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "remark-parse": "^11.0.0",+ "remark-rehype": "^11.0.0",+ "unified": "^11.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },"funding": {- "url": "https://opencollective.com/libvips"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ },+ "peerDependencies": {+ "@types/react": ">=18",+ "react": ">=18"}},- "node_modules/@img/sharp-linux-arm": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",- "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",- "cpu": [- "arm"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],+ "node_modules/react-resizable": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/react-resizable/-/react-resizable-3.2.0.tgz",+ "integrity": "sha512-3NKQ0SLZV7rs3LQHeXlOzDSRQfFrkX6TVet77/Qk03zqiZyee37b7N8/gwDJAA8UUjRz7PdWCCy49hcso45SMQ==",+ "license": "MIT",+ "dependencies": {+ "prop-types": "15.x",+ "react-draggable": "^4.5.0"+ },+ "peerDependencies": {+ "react": ">= 16.3",+ "react-dom": ">= 16.3"+ }+ },+ "node_modules/react-syntax-highlighter": {+ "version": "16.1.1",+ "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-16.1.1.tgz",+ "integrity": "sha512-PjVawBGy80C6YbC5DDZJeUjBmC7skaoEUdvfFQediQHgCL7aKyVHe57SaJGfQsloGDac+gCpTfRdtxzWWKmCXA==",+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.28.4",+ "highlight.js": "^10.4.1",+ "highlightjs-vue": "^1.0.0",+ "lowlight": "^1.17.0",+ "prismjs": "^1.30.0",+ "refractor": "^5.0.0"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">= 16.20.2"+ },+ "peerDependencies": {+ "react": ">= 0.14.0"+ }+ },+ "node_modules/react-syntax-highlighter/node_modules/highlight.js": {+ "version": "10.7.3",+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",+ "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/read-cache": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",+ "license": "MIT",+ "dependencies": {+ "pify": "^2.3.0"+ }+ },+ "node_modules/readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "license": "MIT",+ "dependencies": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "node_modules/readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "license": "MIT",+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },+ "node_modules/redent": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "indent-string": "^4.0.0",+ "strip-indent": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/reflect.getprototypeof": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",+ "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.9",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.0.0",+ "get-intrinsic": "^1.2.7",+ "get-proto": "^1.0.1",+ "which-builtin-type": "^1.2.1"+ },+ "engines": {+ "node": ">= 0.4"},"funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/refractor": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/refractor/-/refractor-5.0.0.tgz",+ "integrity": "sha512-QXOrHQF5jOpjjLfiNk5GFnWhRXvxjUVnlFxkeDmewR5sXkr3iM46Zo+CnRR8B+MDVqkULW4EcLVcRBNOPXHosw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/prismjs": "^1.0.0",+ "hastscript": "^9.0.0",+ "parse-entities": "^4.0.0"},- "optionalDependencies": {- "@img/sharp-libvips-linux-arm": "1.2.4"+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"}},- "node_modules/@img/sharp-linux-arm64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",- "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],+ "node_modules/regexp.prototype.flags": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz",+ "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.8",+ "define-properties": "^1.2.1",+ "es-errors": "^1.3.0",+ "get-proto": "^1.0.1",+ "gopd": "^1.2.0",+ "set-function-name": "^2.0.2"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">= 0.4"},"funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/rehype-sanitize": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/rehype-sanitize/-/rehype-sanitize-6.0.0.tgz",+ "integrity": "sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "hast-util-sanitize": "^5.0.0"},- "optionalDependencies": {- "@img/sharp-libvips-linux-arm64": "1.2.4"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/@img/sharp-linux-ppc64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",- "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",- "cpu": [- "ppc64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],+ "node_modules/reifyui": {+ "version": "0.4.0",+ "resolved": "git+ssh://[email protected]/epsilla-enterprise/ReifyUI.git#412db80fe217c3ba4a74b5f1255048830f203813",+ "integrity": "sha512-NRsW0AAQw2kZ4yStwE0r1LjuzmUKal4BfoKY5z9jftlMZ2ZYyl+e/Rk4zeJvNm2JG72R6G3hHxHrwfwmSZPl3A==",+ "license": "MIT","engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">=18"+ },+ "peerDependencies": {+ "echarts": "^5 || ^6",+ "highlight.js": "^11",+ "mermaid": "^10 || ^11",+ "react": ">=18",+ "react-dom": ">=18"+ },+ "peerDependenciesMeta": {+ "echarts": {+ "optional": true+ },+ "highlight.js": {+ "optional": true+ },+ "mermaid": {+ "optional": true+ }+ }+ },+ "node_modules/remark-gfm": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-gfm": "^3.0.0",+ "micromark-extension-gfm": "^3.0.0",+ "remark-parse": "^11.0.0",+ "remark-stringify": "^11.0.0",+ "unified": "^11.0.0"},"funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-ppc64": "1.2.4"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/@img/sharp-linux-riscv64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",- "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",- "cpu": [- "riscv64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node_modules/remark-parse": {+ "version": "11.0.0",+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "micromark-util-types": "^2.0.0",+ "unified": "^11.0.0"},"funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-riscv64": "1.2.4"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/@img/sharp-linux-s390x": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",- "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",- "cpu": [- "s390x"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node_modules/remark-rehype": {+ "version": "11.1.2",+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "unified": "^11.0.0",+ "vfile": "^6.0.0"},"funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-s390x": "1.2.4"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/@img/sharp-linux-x64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",- "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",- "cpu": [- "x64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node_modules/remark-stringify": {+ "version": "11.0.0",+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "unified": "^11.0.0"},"funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-x64": "1.2.4"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/@img/sharp-linuxmusl-arm64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",- "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],+ "node_modules/require-directory": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",+ "dev": true,+ "license": "MIT","engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"+ "node": ">=0.10.0"}},- "node_modules/@img/sharp-linuxmusl-x64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",- "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",- "cpu": [- "x64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],+ "node_modules/requires-port": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",+ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/resize-observer-polyfill": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",+ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==",+ "license": "MIT"+ },+ "node_modules/resolve": {+ "version": "2.0.0-next.7",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.7.tgz",+ "integrity": "sha512-tqt+NBWwyaMgw3zDsnygx4CByWjQEJHOPMdslYhppaQSJUtL/D4JO9CcBBlhPoI8lz9oJIDXkwXfhF4aWqP8xQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "is-core-module": "^2.16.2",+ "node-exports-info": "^1.6.0",+ "object-keys": "^1.1.1",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ },+ "bin": {+ "resolve": "bin/resolve"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">= 0.4"},"funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linuxmusl-x64": "1.2.4"+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@img/sharp-wasm32": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",- "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",- "cpu": [- "wasm32"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",- "optional": true,+ "node_modules/resolve-cwd": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",+ "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",+ "dev": true,+ "license": "MIT","dependencies": {- "@emnapi/runtime": "^1.7.0"+ "resolve-from": "^5.0.0"},"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"- },- "funding": {- "url": "https://opencollective.com/libvips"+ "node": ">=8"}},- "node_modules/@img/sharp-win32-arm64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",- "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"- ],+ "node_modules/resolve-cwd/node_modules/resolve-from": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",+ "dev": true,+ "license": "MIT","engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"- },+ "node": ">=8"+ }+ },+ "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/resolve-pkg-maps": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",+ "dev": true,+ "license": "MIT","funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"}},- "node_modules/@img/sharp-win32-ia32": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",- "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",- "cpu": [- "ia32"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"+ "node_modules/resolve.exports": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz",+ "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/reusify": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",+ "license": "MIT",+ "engines": {+ "iojs": ">=1.0.0",+ "node": ">=0.10.0"+ }+ },+ "node_modules/robust-predicates": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",+ "integrity": "sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==",+ "license": "Unlicense"+ },+ "node_modules/rope-sequence": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/rope-sequence/-/rope-sequence-1.3.4.tgz",+ "integrity": "sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==",+ "license": "MIT"+ },+ "node_modules/roughjs": {+ "version": "4.6.6",+ "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz",+ "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==",+ "license": "MIT",+ "dependencies": {+ "hachure-fill": "^0.5.2",+ "path-data-parser": "^0.1.0",+ "points-on-curve": "^0.2.0",+ "points-on-path": "^0.2.1"+ }+ },+ "node_modules/run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }],+ "license": "MIT",+ "dependencies": {+ "queue-microtask": "^1.2.2"+ }+ },+ "node_modules/rw": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",+ "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==",+ "license": "BSD-3-Clause"+ },+ "node_modules/rxjs": {+ "version": "7.8.2",+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",+ "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.1.0"+ }+ },+ "node_modules/safe-array-concat": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz",+ "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "get-intrinsic": "^1.3.0",+ "has-symbols": "^1.1.0",+ "isarray": "^2.0.5"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">=0.4"},"funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@img/sharp-win32-x64": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",- "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",- "cpu": [- "x64"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"- ],+ "node_modules/safe-array-concat/node_modules/isarray": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",+ "license": "MIT"+ },+ "node_modules/safe-push-apply": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",+ "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "isarray": "^2.0.5"+ },"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">= 0.4"},"funding": {- "url": "https://opencollective.com/libvips"+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@mermaid-js/parser": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-1.2.0.tgz",- "integrity": "sha512-oYPyv8A4As1yH5Bx+04iQEQxXuIQDe0GKCNSRgao6z8AM9jixXIfP0vsppRLvGf+nKIOb9/LdpWA4YuJiVvESA==",+ "node_modules/safe-push-apply/node_modules/isarray": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/safe-regex-test": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz",+ "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",+ "dev": true,"license": "MIT","dependencies": {- "@chevrotain/types": "~11.1.2"+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "is-regex": "^1.2.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@next/env": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/env/-/env-15.5.23.tgz",- "integrity": "sha512-Mv3Z9hVbFcPnoLevsZ6rnX1TBtyHb5E17yN7HTPDXSXxeNsGBjUFrdbjRXKKXIOhfth7/cg6Ay7PZ2UFawaWsQ==",+ "node_modules/safer-buffer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==","license": "MIT"},- "node_modules/@next/swc-darwin-arm64": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.5.23.tgz",- "integrity": "sha512-SrEwOROH/rhA03F59hHtdhgtfZMWGzr5duDBWgRQt2rS3mJhqMKOcnNx6txOd0/i3E3D3uFKYFvyHsEiwQxzag==",- "cpu": [- "arm64"- ],- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],+ "node_modules/saxes": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",+ "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "xmlchars": "^2.2.0"+ },"engines": {- "node": ">= 10"+ "node": ">=v12.22.7"}},- "node_modules/@next/swc-darwin-x64": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.5.23.tgz",- "integrity": "sha512-f0FpFbG2EhDCuptBGcfrLcYMDuQAhe6m1QA4VVfXFrIBoFXvXt/olGbBkYkloKlXQtmhuzvtdYyuu/6zf07GIg==",- "cpu": [- "x64"- ],- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 10"- }+ "node_modules/scheduler": {+ "version": "0.26.0",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz",+ "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",+ "license": "MIT"},- "node_modules/@next/swc-linux-arm64-gnu": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.5.23.tgz",- "integrity": "sha512-WlNtfepUXKX2u2ZsJZ8c3c8+tJSRZqsYzoMwLOY72A8ucKCCgxgNhiePA3qzFYahVWrwcQd8jOeJmBinc+VFVQ==",- "cpu": [- "arm64"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],+ "node_modules/semver": {+ "version": "7.8.5",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",+ "devOptional": true,+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },"engines": {- "node": ">= 10"+ "node": ">=10"}},- "node_modules/@next/swc-linux-arm64-musl": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.5.23.tgz",- "integrity": "sha512-W/6qKk7UG93mg14PmQC+2urt69MIdwTBLNQ6MJyeC4wOCIHCjz+VfgssvS1pK7mgYBtLC1g6VKNoHD9xB0WWGg==",- "cpu": [- "arm64"- ],+ "node_modules/set-function-length": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",+ "dev": true,"license": "MIT",- "optional": true,- "os": [- "linux"- ],+ "dependencies": {+ "define-data-property": "^1.1.4",+ "es-errors": "^1.3.0",+ "function-bind": "^1.1.2",+ "get-intrinsic": "^1.2.4",+ "gopd": "^1.0.1",+ "has-property-descriptors": "^1.0.2"+ },"engines": {- "node": ">= 10"+ "node": ">= 0.4"}},- "node_modules/@next/swc-linux-x64-gnu": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.5.23.tgz",- "integrity": "sha512-vzefI32mi6VMk96RaTAyxApgfGbiFzQBXVsekEjsDv1fr48mlABTWx0sUYhaYCBHWqCalxmz3DxbxFcbFvzNtw==",- "cpu": [- "x64"- ],+ "node_modules/set-function-name": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",+ "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",+ "dev": true,"license": "MIT",- "optional": true,- "os": [- "linux"- ],+ "dependencies": {+ "define-data-property": "^1.1.4",+ "es-errors": "^1.3.0",+ "functions-have-names": "^1.2.3",+ "has-property-descriptors": "^1.0.2"+ },"engines": {- "node": ">= 10"+ "node": ">= 0.4"}},- "node_modules/@next/swc-linux-x64-musl": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.5.23.tgz",- "integrity": "sha512-qppK/3dTGOTI+aoWWBZc3DshFIhrzgL8guATlaN9V6M1QJxbkP/rhEZ22tdICsQ/2WWXopMZ2Jokzj2u3uKY3Q==",- "cpu": [- "x64"- ],+ "node_modules/set-proto": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz",+ "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",+ "dev": true,"license": "MIT",- "optional": true,- "os": [- "linux"- ],+ "dependencies": {+ "dunder-proto": "^1.0.1",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.0.0"+ },"engines": {- "node": ">= 10"+ "node": ">= 0.4"}},- "node_modules/@next/swc-win32-arm64-msvc": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.5.23.tgz",- "integrity": "sha512-Wc29KFOdT7XBcII3Vtmw7aoU8Uk3Mes/FNJfhFeSHdYBFJWMcR/DsI8U9BCPUhq/uycsUVuqSKGthW15tLsigA==",- "cpu": [- "arm64"- ],- "license": "MIT",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }+ "node_modules/setimmediate": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",+ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",+ "license": "MIT"},- "node_modules/@next/swc-win32-x64-msvc": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.5.23.tgz",- "integrity": "sha512-/C7wRW4fa9s/PKA18zGPPpVmx8ycgVpP8yOxro4gzGTzjPJdscbAP3ODeFvgiIovxD176Z2J/SXO9t8PJKHLeQ==",- "cpu": [- "x64"- ],- "license": "MIT",+ "node_modules/sharp": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",+ "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",+ "hasInstallScript": true,+ "license": "Apache-2.0","optional": true,- "os": [- "win32"- ],+ "dependencies": {+ "@img/colour": "^1.0.0",+ "detect-libc": "^2.1.2",+ "semver": "^7.7.3"+ },"engines": {- "node": ">= 10"+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-darwin-arm64": "0.34.5",+ "@img/sharp-darwin-x64": "0.34.5",+ "@img/sharp-libvips-darwin-arm64": "1.2.4",+ "@img/sharp-libvips-darwin-x64": "1.2.4",+ "@img/sharp-libvips-linux-arm": "1.2.4",+ "@img/sharp-libvips-linux-arm64": "1.2.4",+ "@img/sharp-libvips-linux-ppc64": "1.2.4",+ "@img/sharp-libvips-linux-riscv64": "1.2.4",+ "@img/sharp-libvips-linux-s390x": "1.2.4",+ "@img/sharp-libvips-linux-x64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4",+ "@img/sharp-linux-arm": "0.34.5",+ "@img/sharp-linux-arm64": "0.34.5",+ "@img/sharp-linux-ppc64": "0.34.5",+ "@img/sharp-linux-riscv64": "0.34.5",+ "@img/sharp-linux-s390x": "0.34.5",+ "@img/sharp-linux-x64": "0.34.5",+ "@img/sharp-linuxmusl-arm64": "0.34.5",+ "@img/sharp-linuxmusl-x64": "0.34.5",+ "@img/sharp-wasm32": "0.34.5",+ "@img/sharp-win32-arm64": "0.34.5",+ "@img/sharp-win32-ia32": "0.34.5",+ "@img/sharp-win32-x64": "0.34.5"}},- "node_modules/@swc/helpers": {- "version": "0.5.15",- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",- "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",- "license": "Apache-2.0",+ "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": {- "tslib": "^2.8.0"+ "shebang-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "node_modules/@types/d3": {- "version": "7.4.3",- "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",- "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==",+ "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",- "dependencies": {- "@types/d3-array": "*",- "@types/d3-axis": "*",- "@types/d3-brush": "*",- "@types/d3-chord": "*",- "@types/d3-color": "*",- "@types/d3-contour": "*",- "@types/d3-delaunay": "*",- "@types/d3-dispatch": "*",- "@types/d3-drag": "*",- "@types/d3-dsv": "*",- "@types/d3-ease": "*",- "@types/d3-fetch": "*",- "@types/d3-force": "*",- "@types/d3-format": "*",- "@types/d3-geo": "*",- "@types/d3-hierarchy": "*",- "@types/d3-interpolate": "*",- "@types/d3-path": "*",- "@types/d3-polygon": "*",- "@types/d3-quadtree": "*",- "@types/d3-random": "*",- "@types/d3-scale": "*",- "@types/d3-scale-chromatic": "*",- "@types/d3-selection": "*",- "@types/d3-shape": "*",- "@types/d3-time": "*",- "@types/d3-time-format": "*",- "@types/d3-timer": "*",- "@types/d3-transition": "*",- "@types/d3-zoom": "*"+ "engines": {+ "node": ">=8"}},- "node_modules/@types/d3-array": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",- "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",- "license": "MIT"- },- "node_modules/@types/d3-axis": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz",- "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==",+ "node_modules/side-channel": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-selection": "*"+ "es-errors": "^1.3.0",+ "object-inspect": "^1.13.4",+ "side-channel-list": "^1.0.1",+ "side-channel-map": "^1.0.1",+ "side-channel-weakmap": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/d3-brush": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz",- "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==",+ "node_modules/side-channel-list": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-selection": "*"+ "es-errors": "^1.3.0",+ "object-inspect": "^1.13.4"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/d3-chord": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz",- "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==",- "license": "MIT"- },- "node_modules/@types/d3-color": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",- "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",- "license": "MIT"- },- "node_modules/@types/d3-contour": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz",- "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==",+ "node_modules/side-channel-map": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-array": "*",- "@types/geojson": "*"+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.5",+ "object-inspect": "^1.13.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/d3-delaunay": {- "version": "6.0.4",- "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz",- "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==",- "license": "MIT"- },- "node_modules/@types/d3-dispatch": {- "version": "3.0.7",- "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz",- "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==",- "license": "MIT"- },- "node_modules/@types/d3-drag": {- "version": "3.0.7",- "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",- "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",+ "node_modules/side-channel-weakmap": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-selection": "*"+ "call-bound": "^1.0.2",+ "es-errors": "^1.3.0",+ "get-intrinsic": "^1.2.5",+ "object-inspect": "^1.13.3",+ "side-channel-map": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/d3-dsv": {+ "node_modules/signal-exit": {"version": "3.0.7",- "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz",- "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==",- "license": "MIT"+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",+ "dev": true,+ "license": "ISC"},- "node_modules/@types/d3-ease": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",- "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",+ "node_modules/sisteransi": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",+ "dev": true,"license": "MIT"},- "node_modules/@types/d3-fetch": {- "version": "3.0.7",- "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz",- "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==",+ "node_modules/size-sensor": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/size-sensor/-/size-sensor-1.0.3.tgz",+ "integrity": "sha512-+k9mJ2/rQMiRmQUcjn+qznch260leIXY8r4FyYKKyRBO/s5UoeMAHGkCJyE1R/4wrIhTJONfyloY55SkE7ve3A==",+ "license": "ISC"+ },+ "node_modules/slash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",+ "dev": true,"license": "MIT",- "dependencies": {- "@types/d3-dsv": "*"+ "engines": {+ "node": ">=8"}},- "node_modules/@types/d3-force": {- "version": "3.0.10",- "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz",- "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==",- "license": "MIT"+ "node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "dev": true,+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=0.10.0"+ }},- "node_modules/@types/d3-format": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz",- "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==",- "license": "MIT"+ "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/@types/d3-geo": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.1.tgz",- "integrity": "sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==",+ "node_modules/source-map-support": {+ "version": "0.5.13",+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",+ "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",+ "dev": true,"license": "MIT","dependencies": {- "@types/geojson": "*"+ "buffer-from": "^1.0.0",+ "source-map": "^0.6.0"}},- "node_modules/@types/d3-hierarchy": {- "version": "3.1.7",- "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz",- "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==",- "license": "MIT"- },- "node_modules/@types/d3-interpolate": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",- "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",+ "node_modules/space-separated-tokens": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==","license": "MIT",- "dependencies": {- "@types/d3-color": "*"+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"}},- "node_modules/@types/d3-path": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",- "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",- "license": "MIT"- },- "node_modules/@types/d3-polygon": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz",- "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==",- "license": "MIT"+ "node_modules/sprintf-js": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",+ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",+ "license": "BSD-3-Clause"},- "node_modules/@types/d3-quadtree": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz",- "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==",- "license": "MIT"+ "node_modules/ssf": {+ "version": "0.11.2",+ "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz",+ "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==",+ "license": "Apache-2.0",+ "dependencies": {+ "frac": "~1.1.2"+ },+ "engines": {+ "node": ">=0.8"+ }},- "node_modules/@types/d3-random": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.4.tgz",- "integrity": "sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==",+ "node_modules/stable-hash": {+ "version": "0.0.5",+ "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz",+ "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==",+ "dev": true,"license": "MIT"},- "node_modules/@types/d3-scale": {- "version": "4.0.9",- "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",- "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",+ "node_modules/stack-utils": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-time": "*"+ "escape-string-regexp": "^2.0.0"+ },+ "engines": {+ "node": ">=10"}},- "node_modules/@types/d3-scale-chromatic": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",- "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==",- "license": "MIT"+ "node_modules/stack-utils/node_modules/escape-string-regexp": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }},- "node_modules/@types/d3-selection": {- "version": "3.0.11",- "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",- "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",- "license": "MIT"+ "node_modules/stop-iteration-iterator": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",+ "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "es-errors": "^1.3.0",+ "internal-slot": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ }},- "node_modules/@types/d3-shape": {- "version": "3.1.8",- "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz",- "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==",+ "node_modules/string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==","license": "MIT","dependencies": {- "@types/d3-path": "*"+ "safe-buffer": "~5.1.0"}},- "node_modules/@types/d3-time": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",- "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",- "license": "MIT"+ "node_modules/string-length": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",+ "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "char-regex": "^1.0.2",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=10"+ }},- "node_modules/@types/d3-time-format": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz",- "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==",- "license": "MIT"+ "node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }},- "node_modules/@types/d3-timer": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",- "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",+ "node_modules/string-width/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,"license": "MIT"},- "node_modules/@types/d3-transition": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",- "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",+ "node_modules/string.prototype.includes": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz",+ "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-selection": "*"+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.3"+ },+ "engines": {+ "node": ">= 0.4"}},- "node_modules/@types/d3-zoom": {- "version": "3.0.8",- "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",- "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",+ "node_modules/string.prototype.matchall": {+ "version": "4.0.12",+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz",+ "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==",+ "dev": true,"license": "MIT","dependencies": {- "@types/d3-interpolate": "*",- "@types/d3-selection": "*"+ "call-bind": "^1.0.8",+ "call-bound": "^1.0.3",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.23.6",+ "es-errors": "^1.3.0",+ "es-object-atoms": "^1.0.0",+ "get-intrinsic": "^1.2.6",+ "gopd": "^1.2.0",+ "has-symbols": "^1.1.0",+ "internal-slot": "^1.1.0",+ "regexp.prototype.flags": "^1.5.3",+ "set-function-name": "^2.0.2",+ "side-channel": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/geojson": {- "version": "7946.0.16",- "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz",- "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==",- "license": "MIT"+ "node_modules/string.prototype.repeat": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",+ "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.5"+ }},- "node_modules/@types/node": {- "version": "22.20.1",- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",- "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",+ "node_modules/string.prototype.trim": {+ "version": "1.2.11",+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz",+ "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==","dev": true,"license": "MIT","dependencies": {- "undici-types": "~6.21.0"+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "define-data-property": "^1.1.4",+ "define-properties": "^1.2.1",+ "es-abstract": "^1.24.2",+ "es-object-atoms": "^1.1.2",+ "has-property-descriptors": "^1.0.2",+ "safe-regex-test": "^1.1.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/react": {- "version": "19.2.18",- "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.18.tgz",- "integrity": "sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==",+ "node_modules/string.prototype.trimend": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz",+ "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==","dev": true,"license": "MIT","dependencies": {- "csstype": "^3.2.2"+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "define-properties": "^1.2.1",+ "es-object-atoms": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/@types/trusted-types": {- "version": "2.0.7",- "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",- "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",+ "node_modules/string.prototype.trimstart": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",+ "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",+ "dev": true,"license": "MIT",- "optional": true+ "dependencies": {+ "call-bind": "^1.0.7",+ "define-properties": "^1.2.1",+ "es-object-atoms": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }},- "node_modules/@upsetjs/venn.js": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/@upsetjs/venn.js/-/venn.js-2.0.0.tgz",- "integrity": "sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==",+ "node_modules/stringify-entities": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==","license": "MIT",- "optionalDependencies": {- "d3-selection": "^3.0.0",- "d3-transition": "^3.0.1"+ "dependencies": {+ "character-entities-html4": "^2.0.0",+ "character-entities-legacy": "^3.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"}},- "node_modules/caniuse-lite": {- "version": "1.0.30001809",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001809.tgz",- "integrity": "sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==",- "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/client-only": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",- "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",- "license": "MIT"- },- "node_modules/commander": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",+ "node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,"license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },"engines": {- "node": ">= 10"+ "node": ">=8"}},- "node_modules/cose-base": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz",- "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==",+ "node_modules/strip-bom": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",+ "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",+ "dev": true,"license": "MIT",- "dependencies": {- "layout-base": "^1.0.0"+ "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==",+ "node_modules/strip-final-newline": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==","dev": true,- "license": "MIT"- },- "node_modules/cytoscape": {- "version": "3.34.0",- "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.34.0.tgz",- "integrity": "sha512-62rNSrioXw93uliKFBwjukeQyeWwH2PqDrTac31r2P6464u3AUvTk0xS4LVvT251g7IgkFunrI48ZEZGjywSOg==","license": "MIT","engines": {- "node": ">=0.10"+ "node": ">=6"}},- "node_modules/cytoscape-cose-bilkent": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz",- "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==",+ "node_modules/strip-indent": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",+ "dev": true,"license": "MIT","dependencies": {- "cose-base": "^1.0.0"+ "min-indent": "^1.0.0"},- "peerDependencies": {- "cytoscape": "^3.2.0"+ "engines": {+ "node": ">=8"}},- "node_modules/cytoscape-fcose": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",- "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",+ "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",- "dependencies": {- "cose-base": "^2.2.0"+ "engines": {+ "node": ">=8"},- "peerDependencies": {- "cytoscape": "^3.2.0"+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/cytoscape-fcose/node_modules/cose-base": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",- "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",+ "node_modules/style-to-js": {+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",+ "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==","license": "MIT","dependencies": {- "layout-base": "^2.0.0"+ "style-to-object": "1.0.14"}},- "node_modules/cytoscape-fcose/node_modules/layout-base": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",- "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",- "license": "MIT"+ "node_modules/style-to-object": {+ "version": "1.0.14",+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",+ "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",+ "license": "MIT",+ "dependencies": {+ "inline-style-parser": "0.2.7"+ }},- "node_modules/d3": {- "version": "7.9.0",- "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz",- "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==",- "license": "ISC",+ "node_modules/styled-jsx": {+ "version": "5.1.6",+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",+ "integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",+ "license": "MIT","dependencies": {- "d3-array": "3",- "d3-axis": "3",- "d3-brush": "3",- "d3-chord": "3",- "d3-color": "3",- "d3-contour": "4",- "d3-delaunay": "6",- "d3-dispatch": "3",- "d3-drag": "3",- "d3-dsv": "3",- "d3-ease": "3",- "d3-fetch": "3",- "d3-force": "3",- "d3-format": "3",- "d3-geo": "3",- "d3-hierarchy": "3",- "d3-interpolate": "3",- "d3-path": "3",- "d3-polygon": "3",- "d3-quadtree": "3",- "d3-random": "3",- "d3-scale": "4",- "d3-scale-chromatic": "3",- "d3-selection": "3",- "d3-shape": "3",- "d3-time": "3",- "d3-time-format": "4",- "d3-timer": "3",- "d3-transition": "3",- "d3-zoom": "3"+ "client-only": "0.0.1"},"engines": {- "node": ">=12"+ "node": ">= 12.0.0"+ },+ "peerDependencies": {+ "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ },+ "babel-plugin-macros": {+ "optional": true+ }}},- "node_modules/d3-array": {- "version": "3.2.4",- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",- "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",- "license": "ISC",+ "node_modules/stylis": {+ "version": "4.4.0",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz",+ "integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==",+ "license": "MIT"+ },+ "node_modules/sucrase": {+ "version": "3.35.1",+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",+ "license": "MIT","dependencies": {- "internmap": "1 - 2"+ "@jridgewell/gen-mapping": "^0.3.2",+ "commander": "^4.0.0",+ "lines-and-columns": "^1.1.6",+ "mz": "^2.7.0",+ "pirates": "^4.0.1",+ "tinyglobby": "^0.2.11",+ "ts-interface-checker": "^0.1.9"+ },+ "bin": {+ "sucrase": "bin/sucrase",+ "sucrase-node": "bin/sucrase-node"},"engines": {- "node": ">=12"+ "node": ">=16 || 14 >=14.17"}},- "node_modules/d3-axis": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz",- "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==",- "license": "ISC",+ "node_modules/sucrase/node_modules/commander": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",+ "license": "MIT","engines": {- "node": ">=12"+ "node": ">= 6"}},- "node_modules/d3-brush": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz",- "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==",- "license": "ISC",+ "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": {- "d3-dispatch": "1 - 3",- "d3-drag": "2 - 3",- "d3-interpolate": "1 - 3",- "d3-selection": "3",- "d3-transition": "3"+ "has-flag": "^4.0.0"},"engines": {- "node": ">=12"+ "node": ">=8"}},- "node_modules/d3-chord": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz",- "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==",- "license": "ISC",- "dependencies": {- "d3-path": "1 - 3"- },+ "node_modules/supports-preserve-symlinks-flag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",+ "license": "MIT","engines": {- "node": ">=12"+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-color": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",- "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",- "license": "ISC",- "engines": {- "node": ">=12"+ "node_modules/symbol-tree": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/tailwind-merge": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.6.0.tgz",+ "integrity": "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/dcastil"}},- "node_modules/d3-contour": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz",- "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==",- "license": "ISC",+ "node_modules/tailwindcss": {+ "version": "3.4.19",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",+ "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",+ "license": "MIT","dependencies": {- "d3-array": "^3.2.0"+ "@alloc/quick-lru": "^5.2.0",+ "arg": "^5.0.2",+ "chokidar": "^3.6.0",+ "didyoumean": "^1.2.2",+ "dlv": "^1.1.3",+ "fast-glob": "^3.3.2",+ "glob-parent": "^6.0.2",+ "is-glob": "^4.0.3",+ "jiti": "^1.21.7",+ "lilconfig": "^3.1.3",+ "micromatch": "^4.0.8",+ "normalize-path": "^3.0.0",+ "object-hash": "^3.0.0",+ "picocolors": "^1.1.1",+ "postcss": "^8.4.47",+ "postcss-import": "^15.1.0",+ "postcss-js": "^4.0.1",+ "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",+ "postcss-nested": "^6.2.0",+ "postcss-selector-parser": "^6.1.2",+ "resolve": "^1.22.8",+ "sucrase": "^3.35.0"+ },+ "bin": {+ "tailwind": "lib/cli.js",+ "tailwindcss": "lib/cli.js"},"engines": {- "node": ">=12"+ "node": ">=14.0.0"}},- "node_modules/d3-delaunay": {- "version": "6.0.4",- "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz",- "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==",- "license": "ISC",+ "node_modules/tailwindcss/node_modules/fast-glob": {+ "version": "3.3.3",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",+ "license": "MIT","dependencies": {- "delaunator": "5"+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.8"},"engines": {- "node": ">=12"+ "node": ">=8.6.0"}},- "node_modules/d3-dispatch": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",- "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",+ "node_modules/tailwindcss/node_modules/fast-glob/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==","license": "ISC",+ "dependencies": {+ "is-glob": "^4.0.1"+ },"engines": {- "node": ">=12"+ "node": ">= 6"}},- "node_modules/d3-drag": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",- "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",- "license": "ISC",+ "node_modules/tailwindcss/node_modules/postcss": {+ "version": "8.5.26",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",+ "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==",+ "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": {- "d3-dispatch": "1 - 3",- "d3-selection": "3"+ "nanoid": "^3.3.17",+ "picocolors": "^1.1.1",+ "source-map-js": "^1.2.1"},"engines": {- "node": ">=12"+ "node": "^10 || ^12 || >=14"}},- "node_modules/d3-dsv": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz",- "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==",- "license": "ISC",+ "node_modules/tailwindcss/node_modules/resolve": {+ "version": "1.22.12",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",+ "license": "MIT","dependencies": {- "commander": "7",- "iconv-lite": "0.6",- "rw": "1"+ "es-errors": "^1.3.0",+ "is-core-module": "^2.16.1",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"},"bin": {- "csv2json": "bin/dsv2json.js",- "csv2tsv": "bin/dsv2dsv.js",- "dsv2dsv": "bin/dsv2dsv.js",- "dsv2json": "bin/dsv2json.js",- "json2csv": "bin/json2dsv.js",- "json2dsv": "bin/json2dsv.js",- "json2tsv": "bin/json2dsv.js",- "tsv2csv": "bin/dsv2dsv.js",- "tsv2json": "bin/dsv2json.js"+ "resolve": "bin/resolve"},"engines": {- "node": ">=12"- }- },- "node_modules/d3-ease": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",- "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",- "license": "BSD-3-Clause",- "engines": {- "node": ">=12"+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-fetch": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz",- "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==",+ "node_modules/test-exclude": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",+ "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",+ "dev": true,"license": "ISC","dependencies": {- "d3-dsv": "1 - 3"+ "@istanbuljs/schema": "^0.1.2",+ "glob": "^7.1.4",+ "minimatch": "^3.0.4"},"engines": {- "node": ">=12"+ "node": ">=8"}},- "node_modules/d3-force": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz",- "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==",- "license": "ISC",+ "node_modules/thenify": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",+ "license": "MIT","dependencies": {- "d3-dispatch": "1 - 3",- "d3-quadtree": "1 - 3",- "d3-timer": "1 - 3"+ "any-promise": "^1.0.0"+ }+ },+ "node_modules/thenify-all": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",+ "license": "MIT",+ "dependencies": {+ "thenify": ">= 3.1.0 < 4"},"engines": {- "node": ">=12"+ "node": ">=0.8"}},- "node_modules/d3-format": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz",- "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==",- "license": "ISC",+ "node_modules/tinyexec": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz",+ "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==",+ "license": "MIT","engines": {- "node": ">=12"+ "node": ">=18"}},- "node_modules/d3-geo": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz",- "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==",- "license": "ISC",+ "node_modules/tinyglobby": {+ "version": "0.2.17",+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",+ "license": "MIT","dependencies": {- "d3-array": "2.5.0 - 3"+ "fdir": "^6.5.0",+ "picomatch": "^4.0.4"},"engines": {- "node": ">=12"+ "node": ">=12.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/SuperchupuDev"}},- "node_modules/d3-hierarchy": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz",- "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==",- "license": "ISC",+ "node_modules/tinyglobby/node_modules/picomatch": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",+ "license": "MIT","engines": {"node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"}},- "node_modules/d3-interpolate": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",- "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",- "license": "ISC",+ "node_modules/tippy.js": {+ "version": "6.3.7",+ "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.7.tgz",+ "integrity": "sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==",+ "license": "MIT","dependencies": {- "d3-color": "1 - 3"+ "@popperjs/core": "^2.9.0"+ }+ },+ "node_modules/tmpl": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",+ "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "license": "MIT",+ "dependencies": {+ "is-number": "^7.0.0"},"engines": {- "node": ">=12"+ "node": ">=8.0"}},- "node_modules/d3-path": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",- "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",- "license": "ISC",+ "node_modules/tough-cookie": {+ "version": "4.1.4",+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",+ "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "psl": "^1.1.33",+ "punycode": "^2.1.1",+ "universalify": "^0.2.0",+ "url-parse": "^1.5.3"+ },"engines": {- "node": ">=12"+ "node": ">=6"}},- "node_modules/d3-polygon": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz",- "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==",- "license": "ISC",+ "node_modules/tr46": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz",+ "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "punycode": "^2.1.1"+ },"engines": {"node": ">=12"}},- "node_modules/d3-quadtree": {+ "node_modules/trim-lines": {"version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz",- "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==",- "license": "ISC",+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/trough": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/ts-api-utils": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",+ "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",+ "dev": true,+ "license": "MIT","engines": {- "node": ">=12"+ "node": ">=18.12"+ },+ "peerDependencies": {+ "typescript": ">=4.8.4"}},- "node_modules/d3-random": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz",- "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==",- "license": "ISC",+ "node_modules/ts-dedent": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.3.0.tgz",+ "integrity": "sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==",+ "license": "MIT","engines": {- "node": ">=12"+ "node": ">=6.10"}},- "node_modules/d3-sankey": {- "version": "0.12.3",- "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz",- "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==",- "license": "BSD-3-Clause",+ "node_modules/ts-interface-checker": {+ "version": "0.1.13",+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",+ "license": "Apache-2.0"+ },+ "node_modules/tsconfig-paths": {+ "version": "3.15.0",+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",+ "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",+ "dev": true,+ "license": "MIT","dependencies": {- "d3-array": "1 - 2",- "d3-shape": "^1.2.0"+ "@types/json5": "^0.0.29",+ "json5": "^1.0.2",+ "minimist": "^1.2.6",+ "strip-bom": "^3.0.0"}},- "node_modules/d3-sankey/node_modules/d3-array": {- "version": "2.12.1",- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",- "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",- "license": "BSD-3-Clause",+ "node_modules/tsconfig-paths/node_modules/json5": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",+ "dev": true,+ "license": "MIT","dependencies": {- "internmap": "^1.0.0"+ "minimist": "^1.2.0"+ },+ "bin": {+ "json5": "lib/cli.js"}},- "node_modules/d3-sankey/node_modules/d3-path": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",- "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",- "license": "BSD-3-Clause"- },- "node_modules/d3-sankey/node_modules/d3-shape": {- "version": "1.3.7",- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",- "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",- "license": "BSD-3-Clause",- "dependencies": {- "d3-path": "1"+ "node_modules/tsconfig-paths/node_modules/strip-bom": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=4"}},- "node_modules/d3-sankey/node_modules/internmap": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",- "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==",- "license": "ISC"+ "node_modules/tslib": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",+ "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",+ "license": "0BSD"},- "node_modules/d3-scale": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",- "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",- "license": "ISC",+ "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": {- "d3-array": "2.10.0 - 3",- "d3-format": "1 - 3",- "d3-interpolate": "1.2.0 - 3",- "d3-time": "2.1.1 - 3",- "d3-time-format": "2 - 4"+ "prelude-ls": "^1.2.1"},"engines": {- "node": ">=12"+ "node": ">= 0.8.0"+ }+ },+ "node_modules/type-detect": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",+ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=4"}},- "node_modules/d3-scale-chromatic": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",- "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",- "license": "ISC",- "dependencies": {- "d3-color": "1 - 3",- "d3-interpolate": "1 - 3"- },+ "node_modules/type-fest": {+ "version": "0.21.3",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",+ "dev": true,+ "license": "(MIT OR CC0-1.0)","engines": {- "node": ">=12"+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/d3-selection": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",- "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",- "license": "ISC",+ "node_modules/typed-array-buffer": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",+ "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.3",+ "es-errors": "^1.3.0",+ "is-typed-array": "^1.1.14"+ },"engines": {- "node": ">=12"+ "node": ">= 0.4"}},- "node_modules/d3-shape": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",- "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",- "license": "ISC",+ "node_modules/typed-array-byte-length": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz",+ "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",+ "dev": true,+ "license": "MIT","dependencies": {- "d3-path": "^3.1.0"+ "call-bind": "^1.0.8",+ "for-each": "^0.3.3",+ "gopd": "^1.2.0",+ "has-proto": "^1.2.0",+ "is-typed-array": "^1.1.14"},"engines": {- "node": ">=12"+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-time": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",- "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",- "license": "ISC",+ "node_modules/typed-array-byte-offset": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz",+ "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==",+ "dev": true,+ "license": "MIT","dependencies": {- "d3-array": "2 - 3"+ "available-typed-arrays": "^1.0.7",+ "call-bind": "^1.0.8",+ "for-each": "^0.3.3",+ "gopd": "^1.2.0",+ "has-proto": "^1.2.0",+ "is-typed-array": "^1.1.15",+ "reflect.getprototypeof": "^1.0.9"},"engines": {- "node": ">=12"+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-time-format": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",- "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",- "license": "ISC",+ "node_modules/typed-array-length": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz",+ "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==",+ "dev": true,+ "license": "MIT","dependencies": {- "d3-time": "1 - 3"+ "call-bind": "^1.0.9",+ "for-each": "^0.3.5",+ "gopd": "^1.2.0",+ "is-typed-array": "^1.1.15",+ "possible-typed-array-names": "^1.1.0",+ "reflect.getprototypeof": "^1.0.10"},"engines": {- "node": ">=12"+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-timer": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",- "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",- "license": "ISC",+ "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": ">=12"+ "node": ">=14.17"}},- "node_modules/d3-transition": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",- "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",- "license": "ISC",+ "node_modules/uc.micro": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",+ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",+ "license": "MIT"+ },+ "node_modules/unbox-primitive": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz",+ "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",+ "dev": true,+ "license": "MIT","dependencies": {- "d3-color": "1 - 3",- "d3-dispatch": "1 - 3",- "d3-ease": "1 - 3",- "d3-interpolate": "1 - 3",- "d3-timer": "1 - 3"+ "call-bound": "^1.0.3",+ "has-bigints": "^1.0.2",+ "has-symbols": "^1.1.0",+ "which-boxed-primitive": "^1.1.1"},"engines": {- "node": ">=12"+ "node": ">= 0.4"},- "peerDependencies": {- "d3-selection": "2 - 3"+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/d3-zoom": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",- "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",- "license": "ISC",+ "node_modules/underscore": {+ "version": "1.13.8",+ "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.8.tgz",+ "integrity": "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==",+ "license": "MIT"+ },+ "node_modules/undici-types": {+ "version": "6.21.0",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/unified": {+ "version": "11.0.5",+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",+ "license": "MIT","dependencies": {- "d3-dispatch": "1 - 3",- "d3-drag": "2 - 3",- "d3-interpolate": "1 - 3",- "d3-selection": "2 - 3",- "d3-transition": "2 - 3"+ "@types/unist": "^3.0.0",+ "bail": "^2.0.0",+ "devlop": "^1.0.0",+ "extend": "^3.0.0",+ "is-plain-obj": "^4.0.0",+ "trough": "^2.0.0",+ "vfile": "^6.0.0"},- "engines": {- "node": ">=12"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/dagre-d3-es": {- "version": "7.0.14",- "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.14.tgz",- "integrity": "sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==",+ "node_modules/unist-util-is": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==","license": "MIT","dependencies": {- "d3": "^7.9.0",- "lodash-es": "^4.17.21"+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/dayjs": {- "version": "1.11.21",- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.21.tgz",- "integrity": "sha512-98IT+HOahAisibz/yjKbzuOBwYcjJ7BCLPzARyHiyEBmRz4fatF+KPJszEHXsGYjUG234aH/cOjW1wwTbKUZlA==",- "license": "MIT"+ "node_modules/unist-util-position": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }},- "node_modules/delaunator": {+ "node_modules/unist-util-stringify-position": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit": {"version": "5.1.0",- "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.1.0.tgz",- "integrity": "sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==",- "license": "ISC",+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",+ "license": "MIT","dependencies": {- "robust-predicates": "^3.0.2"+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "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",- "optional": true,+ "node_modules/unist-util-visit-parents": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/universalify": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",+ "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",+ "dev": true,+ "license": "MIT","engines": {- "node": ">=8"+ "node": ">= 4.0.0"}},- "node_modules/dompurify": {- "version": "3.4.13",- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.13.tgz",- "integrity": "sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==",- "license": "(MPL-2.0 OR Apache-2.0)",+ "node_modules/unrs-resolver": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz",+ "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==",+ "dev": true,+ "hasInstallScript": true,+ "license": "MIT",+ "dependencies": {+ "napi-postinstall": "^0.3.4"+ },+ "funding": {+ "url": "https://opencollective.com/unrs-resolver"+ },"optionalDependencies": {- "@types/trusted-types": "^2.0.7"+ "@unrs/resolver-binding-android-arm-eabi": "1.12.2",+ "@unrs/resolver-binding-android-arm64": "1.12.2",+ "@unrs/resolver-binding-darwin-arm64": "1.12.2",+ "@unrs/resolver-binding-darwin-x64": "1.12.2",+ "@unrs/resolver-binding-freebsd-x64": "1.12.2",+ "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2",+ "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2",+ "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-arm64-musl": "1.12.2",+ "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-loong64-musl": "1.12.2",+ "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2",+ "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-x64-gnu": "1.12.2",+ "@unrs/resolver-binding-linux-x64-musl": "1.12.2",+ "@unrs/resolver-binding-openharmony-arm64": "1.12.2",+ "@unrs/resolver-binding-wasm32-wasi": "1.12.2",+ "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2",+ "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2",+ "@unrs/resolver-binding-win32-x64-msvc": "1.12.2"}},- "node_modules/echarts": {- "version": "5.6.0",- "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",- "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",- "license": "Apache-2.0",+ "node_modules/update-browserslist-db": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.0.tgz",+ "integrity": "sha512-x/M6q3w4Ybp91CNaS4S69UnliqR3BzRpOT6LWbksjth0S/+jhfaPJsWjt/TewpT8j9eLIojUf5jr29WextHroA==",+ "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": {- "tslib": "2.3.0",- "zrender": "5.6.1"+ "escalade": "^3.2.0",+ "picocolors": "^1.1.1"+ },+ "bin": {+ "update-browserslist-db": "cli.js"+ },+ "peerDependencies": {+ "browserslist": ">= 4.21.0"}},- "node_modules/echarts/node_modules/tslib": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",- "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",- "license": "0BSD"+ "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/es-toolkit": {- "version": "1.50.0",- "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.50.0.tgz",- "integrity": "sha512-OyZKhUVvEep9ITEiwHn8GKnMRQIVqoSIX7WnRbkWgJkllCujilqP2rD0u979tkl8wqyc8ICwlc1UBVv/Sl1G6w==",+ "node_modules/url-parse": {+ "version": "1.5.10",+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",+ "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",+ "dev": true,"license": "MIT",- "workspaces": [- "docs",- "benchmarks",- "tests/types"- ]+ "dependencies": {+ "querystringify": "^2.1.1",+ "requires-port": "^1.0.0"+ }},- "node_modules/hachure-fill": {- "version": "0.5.2",- "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz",- "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==",+ "node_modules/use-sync-external-store": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==","license": "MIT"},- "node_modules/highlight.js": {- "version": "11.11.1",- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",- "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",- "license": "BSD-3-Clause",+ "node_modules/uuid": {+ "version": "11.1.1",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",+ "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist/esm/bin/uuid"+ }+ },+ "node_modules/v8-to-istanbul": {+ "version": "9.3.0",+ "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz",+ "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "@jridgewell/trace-mapping": "^0.3.12",+ "@types/istanbul-lib-coverage": "^2.0.1",+ "convert-source-map": "^2.0.0"+ },"engines": {- "node": ">=12.0.0"+ "node": ">=10.12.0"}},- "node_modules/iconv-lite": {- "version": "0.6.3",- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",- "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "node_modules/vfile": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==","license": "MIT","dependencies": {- "safer-buffer": ">= 2.1.2 < 3.0.0"+ "@types/unist": "^3.0.0",+ "vfile-message": "^4.0.0"},- "engines": {- "node": ">=0.10.0"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/import-meta-resolve": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",- "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==",+ "node_modules/vfile-message": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==","license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-stringify-position": "^4.0.0"+ },"funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/internmap": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",- "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",- "license": "ISC",- "engines": {- "node": ">=12"- }+ "node_modules/w3c-keyname": {+ "version": "2.2.8",+ "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",+ "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",+ "license": "MIT"},- "node_modules/katex": {- "version": "0.16.47",- "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz",- "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==",- "funding": [- "https://opencollective.com/katex",- "https://github.com/sponsors/katex"- ],+ "node_modules/w3c-xmlserializer": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz",+ "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==",+ "dev": true,"license": "MIT","dependencies": {- "commander": "^8.3.0"+ "xml-name-validator": "^4.0.0"},- "bin": {- "katex": "cli.js"+ "engines": {+ "node": ">=14"}},- "node_modules/katex/node_modules/commander": {- "version": "8.3.0",- "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",- "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",+ "node_modules/wait-on": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-9.1.0.tgz",+ "integrity": "sha512-PymrLXHLBM1Ju/Xspb2ADUhbPSMvbnuNvy/mN2hWtpbJ3da0h3Ky1LqwKPG5QSVR57liyO0iUpfipYl/s5qNvA==",+ "dev": true,"license": "MIT",+ "dependencies": {+ "axios": "^1.18.1",+ "joi": "^18.2.3",+ "lodash": "^4.18.1",+ "minimist": "^1.2.8",+ "rxjs": "^7.8.2"+ },+ "bin": {+ "wait-on": "bin/wait-on"+ },"engines": {- "node": ">= 12"+ "node": ">=20.0.0"}},- "node_modules/khroma": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz",- "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw=="- },- "node_modules/layout-base": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz",- "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==",- "license": "MIT"+ "node_modules/walker": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",+ "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "makeerror": "1.0.12"+ }},- "node_modules/lodash-es": {- "version": "4.18.1",- "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz",- "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==",- "license": "MIT"+ "node_modules/webidl-conversions": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",+ "dev": true,+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=12"+ }},- "node_modules/marked": {- "version": "16.4.2",- "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.2.tgz",- "integrity": "sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==",+ "node_modules/whatwg-encoding": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz",+ "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==",+ "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",+ "dev": true,"license": "MIT",- "bin": {- "marked": "bin/marked.js"+ "dependencies": {+ "iconv-lite": "0.6.3"},"engines": {- "node": ">= 20"+ "node": ">=12"}},- "node_modules/mermaid": {- "version": "11.16.1",- "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.16.1.tgz",- "integrity": "sha512-TQsq6u22fAn3rek5VOubrhKPo1g5hwC3FXUN9hiyupTckcYiGuuKGkNQrKYwGJkXUxZdojwRG46gsSCFZMDp4g==",+ "node_modules/whatwg-mimetype": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz",+ "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==",+ "dev": true,"license": "MIT",- "dependencies": {- "@braintree/sanitize-url": "^7.1.2",- "@iconify/utils": "^3.0.2",- "@mermaid-js/parser": "^1.2.0",- "@types/d3": "^7.4.3",- "@upsetjs/venn.js": "^2.0.0",- "cytoscape": "^3.33.3",- "cytoscape-cose-bilkent": "^4.1.0",- "cytoscape-fcose": "^2.2.0",- "d3": "^7.9.0",- "d3-sankey": "^0.12.3",- "dagre-d3-es": "7.0.14",- "dayjs": "^1.11.20",- "dompurify": "^3.3.3",- "es-toolkit": "^1.45.1",- "katex": "^0.16.45",- "khroma": "^2.1.0",- "marked": "^16.3.0",- "roughjs": "^4.6.6",- "stylis": "^4.3.6",- "ts-dedent": "^2.2.0",- "uuid": "^11.1.0 || ^12 || ^13 || ^14.0.0"+ "engines": {+ "node": ">=12"}},- "node_modules/nanoid": {- "version": "3.3.18",- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",- "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],+ "node_modules/whatwg-url": {+ "version": "11.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz",+ "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==",+ "dev": true,"license": "MIT",- "bin": {- "nanoid": "bin/nanoid.cjs"+ "dependencies": {+ "tr46": "^3.0.0",+ "webidl-conversions": "^7.0.0"},"engines": {- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ "node": ">=12"}},- "node_modules/next": {- "version": "15.5.23",- "resolved": "https://registry.npmjs.org/next/-/next-15.5.23.tgz",- "integrity": "sha512-Gvd2WKgvxIXCGotxcI1im/Uf3rS3J3oZGw0g/uskg6AVBZhyE3aAbujkYWzS3xLmEPEtTLfkaVQUKK0KMTSIkA==",- "license": "MIT",+ "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": {- "@next/env": "15.5.23",- "@swc/helpers": "0.5.15",- "caniuse-lite": "^1.0.30001579",- "postcss": "8.4.31",- "styled-jsx": "5.1.6"+ "isexe": "^2.0.0"},"bin": {- "next": "dist/bin/next"+ "node-which": "bin/node-which"},"engines": {- "node": "^18.18.0 || ^19.8.0 || >= 20.0.0"- },- "optionalDependencies": {- "@next/swc-darwin-arm64": "15.5.23",- "@next/swc-darwin-x64": "15.5.23",- "@next/swc-linux-arm64-gnu": "15.5.23",- "@next/swc-linux-arm64-musl": "15.5.23",- "@next/swc-linux-x64-gnu": "15.5.23",- "@next/swc-linux-x64-musl": "15.5.23",- "@next/swc-win32-arm64-msvc": "15.5.23",- "@next/swc-win32-x64-msvc": "15.5.23",- "sharp": "^0.34.3"+ "node": ">= 8"+ }+ },+ "node_modules/which-boxed-primitive": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",+ "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "is-bigint": "^1.1.0",+ "is-boolean-object": "^1.2.1",+ "is-number-object": "^1.1.1",+ "is-string": "^1.1.1",+ "is-symbol": "^1.1.1"},- "peerDependencies": {- "@opentelemetry/api": "^1.1.0",- "@playwright/test": "^1.51.1",- "babel-plugin-react-compiler": "*",- "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",- "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",- "sass": "^1.3.0"+ "engines": {+ "node": ">= 0.4"},- "peerDependenciesMeta": {- "@opentelemetry/api": {- "optional": true- },- "@playwright/test": {- "optional": true- },- "babel-plugin-react-compiler": {- "optional": true- },- "sass": {- "optional": true- }+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/package-manager-detector": {- "version": "1.8.0",- "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.8.0.tgz",- "integrity": "sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==",- "license": "MIT"- },- "node_modules/path-data-parser": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz",- "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==",- "license": "MIT"- },- "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/which-builtin-type": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz",+ "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "call-bound": "^1.0.2",+ "function.prototype.name": "^1.1.6",+ "has-tostringtag": "^1.0.2",+ "is-async-function": "^2.0.0",+ "is-date-object": "^1.1.0",+ "is-finalizationregistry": "^1.1.0",+ "is-generator-function": "^1.0.10",+ "is-regex": "^1.2.1",+ "is-weakref": "^1.0.2",+ "isarray": "^2.0.5",+ "which-boxed-primitive": "^1.1.0",+ "which-collection": "^1.0.2",+ "which-typed-array": "^1.1.16"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }},- "node_modules/points-on-curve": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",- "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==",+ "node_modules/which-builtin-type/node_modules/isarray": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "dev": true,"license": "MIT"},- "node_modules/points-on-path": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz",- "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==",+ "node_modules/which-collection": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",+ "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",+ "dev": true,"license": "MIT","dependencies": {- "path-data-parser": "0.1.0",- "points-on-curve": "0.2.0"+ "is-map": "^2.0.3",+ "is-set": "^2.0.3",+ "is-weakmap": "^2.0.2",+ "is-weakset": "^2.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "node_modules/postcss": {- "version": "8.4.31",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",- "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",- "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"- }- ],+ "node_modules/which-typed-array": {+ "version": "1.1.22",+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.22.tgz",+ "integrity": "sha512-fvO4ExWMFsqyhG3AiPAObMuY1lxaqgYcxbc49CNdWDDECOJNgQyvsOWVwbZc+qf3rzRtxojBK+CMEv0Ld5CYpw==",+ "dev": true,"license": "MIT","dependencies": {- "nanoid": "^3.3.6",- "picocolors": "^1.0.0",- "source-map-js": "^1.0.2"+ "available-typed-arrays": "^1.0.7",+ "call-bind": "^1.0.9",+ "call-bound": "^1.0.4",+ "for-each": "^0.3.5",+ "get-proto": "^1.0.1",+ "gopd": "^1.2.0",+ "has-tostringtag": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"},+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/wmf": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz",+ "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==",+ "license": "Apache-2.0","engines": {- "node": "^10 || ^12 || >=14"+ "node": ">=0.8"}},- "node_modules/react": {- "version": "19.2.8",- "resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz",- "integrity": "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==",+ "node_modules/word": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/word/-/word-0.3.0.tgz",+ "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=0.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/react-dom": {- "version": "19.2.8",- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.8.tgz",- "integrity": "sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==",+ "node_modules/wrap-ansi": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",+ "dev": true,"license": "MIT","dependencies": {- "scheduler": "^0.27.0"+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"},- "peerDependencies": {- "react": "^19.2.8"+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},- "node_modules/reifyui": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/reifyui/-/reifyui-0.3.0.tgz",- "integrity": "sha512-9KyyJVROvLHi4welDz5MWkqg5uFraQIZI5Wp+ftKlZvhz2T3PiaQ7eI/uayEnoBtOmJolK9lIk4moDby4rudcg==",+ "node_modules/wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",+ "dev": true,+ "license": "ISC"+ },+ "node_modules/write-file-atomic": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz",+ "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "imurmurhash": "^0.1.4",+ "signal-exit": "^3.0.7"+ },+ "engines": {+ "node": "^12.13.0 || ^14.15.0 || >=16.0.0"+ }+ },+ "node_modules/ws": {+ "version": "8.21.3",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",+ "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==","license": "MIT","engines": {- "node": ">=18"+ "node": ">=10.0.0"},"peerDependencies": {- "echarts": "^5 || ^6",- "highlight.js": "^11",- "mermaid": "^10 || ^11",- "react": ">=18",- "react-dom": ">=18"+ "bufferutil": "^4.0.1",+ "utf-8-validate": ">=5.0.2"},"peerDependenciesMeta": {- "echarts": {+ "bufferutil": {"optional": true},- "highlight.js": {- "optional": true- },- "mermaid": {+ "utf-8-validate": {"optional": true}}},- "node_modules/robust-predicates": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",- "integrity": "sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==",- "license": "Unlicense"- },- "node_modules/roughjs": {- "version": "4.6.6",- "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz",- "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==",- "license": "MIT",+ "node_modules/xlsx": {+ "version": "0.18.5",+ "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz",+ "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==",+ "license": "Apache-2.0","dependencies": {- "hachure-fill": "^0.5.2",- "path-data-parser": "^0.1.0",- "points-on-curve": "^0.2.0",- "points-on-path": "^0.2.1"+ "adler-32": "~1.3.0",+ "cfb": "~1.2.1",+ "codepage": "~1.15.0",+ "crc-32": "~1.2.1",+ "ssf": "~0.11.2",+ "wmf": "~1.0.1",+ "word": "~0.3.0"+ },+ "bin": {+ "xlsx": "bin/xlsx.njs"+ },+ "engines": {+ "node": ">=0.8"}},- "node_modules/rw": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",- "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==",- "license": "BSD-3-Clause"- },- "node_modules/safer-buffer": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",+ "node_modules/xml": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz",+ "integrity": "sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==",+ "dev": true,"license": "MIT"},- "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/xml-name-validator": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz",+ "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=12"+ }},- "node_modules/semver": {- "version": "7.8.5",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",- "license": "ISC",- "optional": true,- "bin": {- "semver": "bin/semver.js"- },+ "node_modules/xmlbuilder": {+ "version": "10.1.1",+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-10.1.1.tgz",+ "integrity": "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==",+ "license": "MIT","engines": {- "node": ">=10"+ "node": ">=4.0"}},- "node_modules/sharp": {- "version": "0.34.5",- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",- "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",- "hasInstallScript": true,- "license": "Apache-2.0",- "optional": true,+ "node_modules/xmlchars": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/y-prosemirror": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/y-prosemirror/-/y-prosemirror-1.3.7.tgz",+ "integrity": "sha512-NpM99WSdD4Fx4if5xOMDpPtU3oAmTSjlzh5U4353ABbRHl1HtAFUx6HlebLZfyFxXN9jzKMDkVbcRjqOZVkYQg==",+ "license": "MIT","dependencies": {- "@img/colour": "^1.0.0",- "detect-libc": "^2.1.2",- "semver": "^7.7.3"+ "lib0": "^0.2.109"},"engines": {- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ "node": ">=16.0.0",+ "npm": ">=8.0.0"},"funding": {- "url": "https://opencollective.com/libvips"+ "type": "GitHub Sponsors ❤",+ "url": "https://github.com/sponsors/dmonad"},- "optionalDependencies": {- "@img/sharp-darwin-arm64": "0.34.5",- "@img/sharp-darwin-x64": "0.34.5",- "@img/sharp-libvips-darwin-arm64": "1.2.4",- "@img/sharp-libvips-darwin-x64": "1.2.4",- "@img/sharp-libvips-linux-arm": "1.2.4",- "@img/sharp-libvips-linux-arm64": "1.2.4",- "@img/sharp-libvips-linux-ppc64": "1.2.4",- "@img/sharp-libvips-linux-riscv64": "1.2.4",- "@img/sharp-libvips-linux-s390x": "1.2.4",- "@img/sharp-libvips-linux-x64": "1.2.4",- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",- "@img/sharp-libvips-linuxmusl-x64": "1.2.4",- "@img/sharp-linux-arm": "0.34.5",- "@img/sharp-linux-arm64": "0.34.5",- "@img/sharp-linux-ppc64": "0.34.5",- "@img/sharp-linux-riscv64": "0.34.5",- "@img/sharp-linux-s390x": "0.34.5",- "@img/sharp-linux-x64": "0.34.5",- "@img/sharp-linuxmusl-arm64": "0.34.5",- "@img/sharp-linuxmusl-x64": "0.34.5",- "@img/sharp-wasm32": "0.34.5",- "@img/sharp-win32-arm64": "0.34.5",- "@img/sharp-win32-ia32": "0.34.5",- "@img/sharp-win32-x64": "0.34.5"- }- },- "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"+ "peerDependencies": {+ "prosemirror-model": "^1.7.1",+ "prosemirror-state": "^1.2.3",+ "prosemirror-view": "^1.9.10",+ "y-protocols": "^1.0.1",+ "yjs": "^13.5.38"}},- "node_modules/styled-jsx": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",- "integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",+ "node_modules/y-protocols": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/y-protocols/-/y-protocols-1.0.7.tgz",+ "integrity": "sha512-YSVsLoXxO67J6eE/nV4AtFtT3QEotZf5sK5BHxFBXso7VDUT3Tx07IfA6hsu5Q5OmBdMkQVmFZ9QOA7fikWvnw==","license": "MIT","dependencies": {- "client-only": "0.0.1"+ "lib0": "^0.2.85"},"engines": {- "node": ">= 12.0.0"+ "node": ">=16.0.0",+ "npm": ">=8.0.0"},- "peerDependencies": {- "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"+ "funding": {+ "type": "GitHub Sponsors ❤",+ "url": "https://github.com/sponsors/dmonad"},- "peerDependenciesMeta": {- "@babel/core": {- "optional": true- },- "babel-plugin-macros": {- "optional": true- }+ "peerDependencies": {+ "yjs": "^13.0.0"}},- "node_modules/stylis": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz",- "integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==",- "license": "MIT"- },- "node_modules/tinyexec": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz",- "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==",- "license": "MIT",+ "node_modules/y18n": {+ "version": "5.0.8",+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",+ "dev": true,+ "license": "ISC","engines": {- "node": ">=18"+ "node": ">=10"}},- "node_modules/ts-dedent": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.3.0.tgz",- "integrity": "sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==",+ "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/yargs": {+ "version": "17.7.3",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz",+ "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==",+ "dev": true,"license": "MIT",+ "dependencies": {+ "cliui": "^8.0.1",+ "escalade": "^3.1.1",+ "get-caller-file": "^2.0.5",+ "require-directory": "^2.1.1",+ "string-width": "^4.2.3",+ "y18n": "^5.0.5",+ "yargs-parser": "^21.1.1"+ },"engines": {- "node": ">=6.10"+ "node": ">=12"}},- "node_modules/tslib": {- "version": "2.8.1",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",- "license": "0BSD"- },- "node_modules/typescript": {- "version": "5.9.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",- "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",+ "node_modules/yargs-parser": {+ "version": "21.1.1",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==","dev": true,- "license": "Apache-2.0",- "bin": {- "tsc": "bin/tsc",- "tsserver": "bin/tsserver"+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/yjs": {+ "version": "13.6.32",+ "resolved": "https://registry.npmjs.org/yjs/-/yjs-13.6.32.tgz",+ "integrity": "sha512-lfiJIIC4Xayt5ItynE407ehlE03pCjeOc4hkR4yxxvvNJ4kuiN25B0g+Qp8XagYz361LLL7DCzR5bvFJ81QKtQ==",+ "license": "MIT",+ "dependencies": {+ "lib0": "^0.2.99"},"engines": {- "node": ">=14.17"+ "node": ">=16.0.0",+ "npm": ">=8.0.0"+ },+ "funding": {+ "type": "GitHub Sponsors ❤",+ "url": "https://github.com/sponsors/dmonad"}},- "node_modules/undici-types": {- "version": "6.21.0",- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",- "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",+ "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"+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }},- "node_modules/uuid": {- "version": "14.0.1",- "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.1.tgz",- "integrity": "sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==",- "funding": [- "https://github.com/sponsors/broofa",- "https://github.com/sponsors/ctavan"- ],+ "node_modules/zod": {+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",+ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==","license": "MIT",- "bin": {- "uuid": "dist-node/bin/uuid"+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"}},"node_modules/zrender": {@@ -2107,11 +14976,44 @@"tslib": "2.3.0"}},- "node_modules/zrender/node_modules/tslib": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",- "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",- "license": "0BSD"+ "node_modules/zustand": {+ "version": "5.0.14",+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",+ "integrity": "sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==",+ "license": "MIT",+ "engines": {+ "node": ">=12.20.0"+ },+ "peerDependencies": {+ "@types/react": ">=18.0.0",+ "immer": ">=9.0.6",+ "react": ">=18.0.0",+ "use-sync-external-store": ">=1.2.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "immer": {+ "optional": true+ },+ "react": {+ "optional": true+ },+ "use-sync-external-store": {+ "optional": true+ }+ }+ },+ "node_modules/zwitch": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }}}}diff --git a/ui/package.json b/ui/package.jsonindex c268a9cf..0e97a4e6 100644--- a/ui/package.json+++ b/ui/package.json@@ -1,25 +1,96 @@{- "name": "harnessrouter-ui",+ "name": "harnessrouter-console","version": "0.1.0","private": true,"scripts": {- "dev": "next dev -p 3000",+ "dev": "next dev","build": "next build",- "start": "next start -p 3000",- "lint": "next lint"+ "start": "next start",+ "lint": "next lint",+ "doc-editor:server": "node ./doc-editor/scripts/collab-server.mjs",+ "doc-editor:e2e": "node ./doc-editor/scripts/run-e2e.mjs",+ "format": "prettier --write .",+ "format:check": "prettier --check .",+ "type-check": "npx tsc --noEmit",+ "test": "jest",+ "test:watch": "jest --watch",+ "test:coverage": "jest --coverage"},"dependencies": {+ "@emoji-mart/data": "^1.2.1",+ "@emoji-mart/react": "^1.1.1",+ "@hocuspocus/provider": "^2.13.5",+ "@hookform/resolvers": "^5.2.2",+ "@tiptap/core": "^2.26.4",+ "@tiptap/extension-collaboration": "^2.26.4",+ "@tiptap/extension-collaboration-cursor": "^2.26.4",+ "@tiptap/extension-link": "^2.27.2",+ "@tiptap/extension-mention": "^2.27.2",+ "@tiptap/extension-placeholder": "^2.26.4",+ "@tiptap/pm": "^2.27.2",+ "@tiptap/react": "^2.26.4",+ "@tiptap/starter-kit": "^2.26.4",+ "@tiptap/suggestion": "^2.27.2",+ "@xyflow/react": "^12.8.5",+ "autoprefixer": "^10.4.21",+ "axios": "^1.12.2",+ "chart.js": "^4.5.1",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cytoscape": "^3.34.0",+ "cytoscape-fcose": "^2.2.0",+ "date-fns": "^4.1.0","echarts": "^5.6.0",+ "echarts-for-react": "^3.0.6",+ "emoji-mart": "^5.6.0",+ "framer-motion": "^12.23.16","highlight.js": "^11.11.1",- "mermaid": "^11.16.1",- "next": "^15.1.0",- "react": "^19.0.0",- "react-dom": "^19.0.0",- "reifyui": "^0.3.0"+ "iconify-icon": "^3.0.2",+ "lucide-react": "^0.544.0",+ "mammoth": "^1.12.0",+ "mermaid": "^11.16.0",+ "next": "^15.5.19",+ "react": "19.1.0",+ "react-dom": "19.1.0",+ "react-easy-crop": "^5.5.7",+ "react-file-icon": "^1.6.0",+ "react-grid-layout": "^1.5.3",+ "react-hook-form": "^7.63.0",+ "react-markdown": "^9.1.0",+ "react-syntax-highlighter": "^16.1.1",+ "rehype-sanitize": "^6.0.0",+ "reifyui": "git+https://github.com/epsilla-enterprise/ReifyUI.git#412db80fe217c3ba4a74b5f1255048830f203813",+ "remark-gfm": "^4.0.1",+ "tailwind-merge": "^3.3.1",+ "tailwindcss": "^3.4.1",+ "xlsx": "^0.18.5",+ "y-prosemirror": "^1.3.7",+ "y-protocols": "^1.0.7",+ "yjs": "^13.6.27",+ "zod": "^4.1.9",+ "zustand": "^5.0.8"},"devDependencies": {- "@types/node": "^22",+ "@eslint/eslintrc": "^3",+ "@hocuspocus/server": "^2.13.5",+ "@testing-library/jest-dom": "^6.8.0",+ "@testing-library/react": "^16.3.0",+ "@testing-library/user-event": "^14.6.1",+ "@types/jest": "^29.5.12",+ "@types/node": "^20","@types/react": "^19",- "typescript": "^5"+ "@types/react-dom": "^19",+ "@types/react-file-icon": "^1.0.5",+ "@types/react-syntax-highlighter": "^15.5.13",+ "@types/uuid": "^10.0.0",+ "eslint": "^9",+ "eslint-config-next": "^15.5.19",+ "jest": "^29.7.0",+ "jest-environment-jsdom": "^29.7.0",+ "jest-junit": "^16.0.0",+ "prettier": "^3.6.2",+ "prettier-plugin-tailwindcss": "^0.6.14",+ "typescript": "^5",+ "wait-on": "^9.0.1"}}diff --git a/ui/postcss.config.mjs b/ui/postcss.config.mjsnew file mode 100644index 00000000..a982c641--- /dev/null+++ b/ui/postcss.config.mjs@@ -0,0 +1,8 @@+const config = {+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ },+};++export default config;diff --git a/ui/public/favicon.svg b/ui/public/favicon.svgdeleted file mode 100644index a9d7c159..00000000--- a/ui/public/favicon.svg+++ /dev/null@@ -1,16 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="HarnessRouter">- <rect width="32" height="32" rx="7" fill="#285AFF"/>- <!-- One input fanning out to three backends: the router, in the smallest form that reads at 16px. -->- <g fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round">- <path d="M7 16h5"/>- <path d="M12 16c4 0 4-7 8-7"/>- <path d="M12 16h8"/>- <path d="M12 16c4 0 4 7 8 7"/>- </g>- <g fill="#fff">- <circle cx="7" cy="16" r="2.6"/>- <circle cx="22" cy="9" r="2.3"/>- <circle cx="22" cy="16" r="2.3"/>- <circle cx="22" cy="23" r="2.3"/>- </g>-</svg>diff --git a/ui/public/harnessrouter-logo.svg b/ui/public/harnessrouter-logo.svgnew file mode 100644index 00000000..8e5a0987--- /dev/null+++ b/ui/public/harnessrouter-logo.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" role="img" aria-labelledby="title description">+ <title id="title">HarnessRouter logo</title>+ <desc id="description">A black lowercase h that routes into a blue right-pointing arrow.</desc>+ <path d="M14 10V46" fill="none" stroke="#111111" stroke-width="6" stroke-linecap="round"/>+ <path d="M14 30Q14 20 24 20Q34 20 34 30V46" fill="none" stroke="#111111" stroke-width="6" stroke-linecap="round"/>+ <path d="M34 36Q34 28 42 28H46" fill="none" stroke="#2247D6" stroke-width="6" stroke-linecap="round"/>+ <path d="M45 20.5L56 28L45 35.5Z" fill="#2247D6"/>+</svg>diff --git a/ui/public/harnessrouter-wordmark.png b/ui/public/harnessrouter-wordmark.pngnew file mode 100644index 00000000..25384910Binary files /dev/null and b/ui/public/harnessrouter-wordmark.png differdiff --git a/ui/public/harnessrouter-wordmark.svg b/ui/public/harnessrouter-wordmark.svgnew file mode 100644index 00000000..269b9865--- /dev/null+++ b/ui/public/harnessrouter-wordmark.svg@@ -0,0 +1,12 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 376 64" role="img" aria-label="HarnessRouter">+ <title>HarnessRouter</title>+ <!-- icon: a lowercase h routing into a right arrow -->+ <path d="M14 10V46" fill="none" stroke="#111111" stroke-width="6" stroke-linecap="round"/>+ <path d="M14 30Q14 20 24 20Q34 20 34 30V46" fill="none" stroke="#111111" stroke-width="6" stroke-linecap="round"/>+ <path d="M34 36Q34 28 42 28H46" fill="none" stroke="#2247D6" stroke-width="6" stroke-linecap="round"/>+ <path d="M45 20.5L56 28L45 35.5Z" fill="#2247D6"/>+ <!-- wordmark: harness (ink) + router (brand blue) -->+ <text x="72" y="42" font-family="'Segoe UI','Helvetica Neue',Arial,sans-serif" font-size="34" font-weight="800" letter-spacing="-0.6" dominant-baseline="alphabetic">+ <tspan fill="#111111">harness</tspan><tspan fill="#2247D6">router.</tspan>+ </text>+</svg>diff --git a/ui/public/logos/claude.png b/ui/public/logos/claude.pngnew file mode 100644index 00000000..a61073d8Binary files /dev/null and b/ui/public/logos/claude.png differdiff --git a/ui/public/logos/codex.png b/ui/public/logos/codex.pngnew file mode 100644index 00000000..912415eaBinary files /dev/null and b/ui/public/logos/codex.png differdiff --git a/ui/public/logos/hermes.png b/ui/public/logos/hermes.pngnew file mode 100644index 00000000..31610c0cBinary files /dev/null and b/ui/public/logos/hermes.png differdiff --git a/ui/public/logos/pi.png b/ui/public/logos/pi.pngnew file mode 100644index 00000000..b1bc0015Binary files /dev/null and b/ui/public/logos/pi.png differdiff --git a/ui/public/tokenrouter-logo.png b/ui/public/tokenrouter-logo.pngnew file mode 100644index 00000000..be6e371dBinary files /dev/null and b/ui/public/tokenrouter-logo.png differdiff --git a/ui/src/app/(app)/account/page.tsx b/ui/src/app/(app)/account/page.tsxnew file mode 100644index 00000000..70a56a64--- /dev/null+++ b/ui/src/app/(app)/account/page.tsx@@ -0,0 +1,96 @@+'use client';++// Account, security settings: change password, delete account.+import { useState } from 'react';+import { useRouter } from 'next/navigation';+import { getSession, changePassword, deleteAccount, logout } from '@/lib/auth';++export default function AccountPage() {+ const router = useRouter();+ const s = getSession();+ const [curPw, setCurPw] = useState('');+ const [newPw, setNewPw] = useState('');+ const [pwMsg, setPwMsg] = useState('');+ const [pwBusy, setPwBusy] = useState(false);+ const [delOpen, setDelOpen] = useState(false);+ const [delPw, setDelPw] = useState('');+ const [delErr, setDelErr] = useState('');+ const [delBusy, setDelBusy] = useState(false);++ async function onChangePassword(e: React.FormEvent) {+ e.preventDefault();+ setPwMsg('');+ setPwBusy(true);+ try {+ await changePassword(curPw, newPw);+ setPwMsg('Password updated.');+ setCurPw(''); setNewPw('');+ } catch (err) {+ setPwMsg(err instanceof Error ? err.message : 'Could not change password.');+ } finally {+ setPwBusy(false);+ }+ }++ async function onDelete() {+ setDelErr('');+ setDelBusy(true);+ try {+ await deleteAccount(delPw, delPw ? '' : 'DELETE');+ logout();+ router.replace('/login');+ } catch (err) {+ setDelErr(err instanceof Error ? err.message : 'Could not delete account.');+ setDelBusy(false);+ }+ }++ return (+ <div className="hr-wrap hrb-content" style={{ maxWidth: 640 }}>+ <div className="hr-card" style={{ padding: 20 }}>+ <h2 className="hr-h2" style={{ marginBottom: 4 }}>Account</h2>+ <div className="hr-meta" style={{ marginBottom: 16 }}>{s?.member?.email}</div>+ <div style={{ fontSize: 14, fontWeight: 600, marginBottom: 10 }}>Change password</div>+ <form onSubmit={onChangePassword} style={{ display: 'flex', flexDirection: 'column', gap: 10, maxWidth: 360 }}>+ <input className="hr-input" type="password" placeholder="Current password" autoComplete="current-password"+ value={curPw} onChange={(e) => setCurPw(e.target.value)} required />+ <input className="hr-input" type="password" placeholder="New password (at least 8 characters)" autoComplete="new-password"+ value={newPw} onChange={(e) => setNewPw(e.target.value)} required minLength={8} />+ {pwMsg ? <div style={{ fontSize: 12.5, color: pwMsg === 'Password updated.' ? '#1F7A3D' : '#B42318' }}>{pwMsg}</div> : null}+ <button className="hr-btn primary" type="submit" disabled={pwBusy} style={{ alignSelf: 'flex-start' }}>+ {pwBusy ? 'Saving...' : 'Change password'}+ </button>+ </form>+ <div style={{ fontSize: 12.5, color: 'var(--mute, #5B5D66)', marginTop: 8 }}>+ Signed up with Google and have no password yet? Use the reset link on the sign-in page to set one.+ </div>+ </div>++ <div className="hr-card" style={{ padding: 20, borderColor: '#FECACA' }}>+ <div style={{ fontSize: 14, fontWeight: 600, color: '#991B1B', marginBottom: 6 }}>Delete account</div>+ <div style={{ fontSize: 13, color: 'var(--mute, #5B5D66)', lineHeight: 1.6, marginBottom: 12 }}>+ Deleting your account signs you out everywhere immediately. Your data is kept for 30 days,+ then permanently removed. To restore within 30 days, email [email protected] from this address.+ </div>+ {delOpen ? (+ <div style={{ display: 'flex', flexDirection: 'column', gap: 10, maxWidth: 360 }}>+ <input className="hr-input" type="password" placeholder="Your password (Google-only accounts: leave blank)"+ autoComplete="current-password" value={delPw} onChange={(e) => setDelPw(e.target.value)} />+ {delErr ? <div style={{ fontSize: 12.5, color: '#B42318' }}>{delErr}</div> : null}+ <div style={{ display: 'flex', gap: 8 }}>+ <button className="hr-btn ghost" onClick={() => setDelOpen(false)} disabled={delBusy}>Cancel</button>+ <button className="hr-btn" style={{ background: '#B42318', borderColor: '#B42318', color: '#fff' }}+ onClick={onDelete} disabled={delBusy}>+ {delBusy ? 'Deleting...' : 'Delete account'}+ </button>+ </div>+ </div>+ ) : (+ <button className="hr-btn ghost" style={{ color: '#991B1B', borderColor: '#FECACA' }} onClick={() => setDelOpen(true)}>+ Delete my account+ </button>+ )}+ </div>+ </div>+ );+}diff --git a/ui/src/app/(app)/agents/page.tsx b/ui/src/app/(app)/agents/page.tsxnew file mode 100644index 00000000..657971be--- /dev/null+++ b/ui/src/app/(app)/agents/page.tsx@@ -0,0 +1,69 @@+'use client';+import React, { useState } from 'react';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';+import { agentMd } from '@/lib/agentmd';+import { ApiReference, CodeBlock } from '@/components/ApiReference';++const API_BASE = 'https://api.harnessrouter.ai';++const MD_COMPONENTS = {+ // Fenced code blocks (always wrapped in <pre><code>) render as the light CodeBlock card; inline+ // code keeps the default .hr-doc <code> chip.+ pre({ children }: { children?: React.ReactNode }) {+ const el = React.Children.toArray(children)[0] as React.ReactElement<{ className?: string; children?: React.ReactNode }> | undefined;+ const className = el?.props?.className || '';+ const m = /language-(\w+)/.exec(className);+ const code = String(el?.props?.children ?? '').replace(/\n$/, '');+ return <CodeBlock code={code} lang={m?.[1] || 'bash'} />;+ },+};++export default function AgentsPage() {+ const md = agentMd(API_BASE);+ const [copied, setCopied] = useState(false);++ // On the PAGE, the markdown's compact "## Runtime integration reference" section is replaced by+ // the premiere ApiReference components (the former workbench Integrate tab, merged here) —+ // rendering both would repeat every endpoint. The prose walkthrough (Step 0 key gate, boundary,+ // classification gate, Steps 1-4) renders in full before it, and the Done conditions after it.+ // The raw markdown keeps everything for Copy/Download, it's the agent-consumable format.+ const cutIdx = md.indexOf('\n## Runtime integration reference');+ const tailIdx = md.indexOf('\n## Done conditions');+ const head = cutIdx > 0 ? md.slice(0, cutIdx) : md;+ const tail = cutIdx > 0 && tailIdx > cutIdx ? md.slice(tailIdx) : '';++ const copy = async () => {+ try { await navigator.clipboard.writeText(md); setCopied(true); setTimeout(() => setCopied(false), 1600); }+ catch { /* clipboard blocked, the Download still works */ }+ };+ const download = () => {+ const blob = new Blob([md], { type: 'text/markdown' });+ const url = URL.createObjectURL(blob);+ const a = document.createElement('a');+ a.href = url; a.download = 'AGENTS.md'; a.click();+ URL.revokeObjectURL(url);+ };++ return (+ <div className="hr-page">+ <div className="hr-doc-head">+ <div>+ <h1 className="hr-doc-title">AGENTS.md</h1>+ <p className="hr-doc-sub">Drop this into your coding agent (Claude Code, Codex, …). It builds the+ agent feature into your product: your app's UI and server routes at build time, a configured+ HarnessRouter agent for the end-user tasks at runtime, then tests the whole thing through your app.</p>+ </div>+ <div className="hr-doc-actions">+ <button className="hr-btn" onClick={copy}>{copied ? 'Copied ✓' : 'Copy'}</button>+ <button className="hr-btn primary" onClick={download}>Download AGENTS.md</button>+ </div>+ </div>+ <div className="hr-doc">+ <ReactMarkdown remarkPlugins={[remarkGfm]} components={MD_COMPONENTS}>{head}</ReactMarkdown>+ <ApiReference />+ {tail && <ReactMarkdown remarkPlugins={[remarkGfm]} components={MD_COMPONENTS}>{tail}</ReactMarkdown>}+ </div>+ </div>+ );+}diff --git a/ui/src/app/(app)/billing/lib.ts b/ui/src/app/(app)/billing/lib.tsnew file mode 100644index 00000000..7f3cb99e--- /dev/null+++ b/ui/src/app/(app)/billing/lib.ts@@ -0,0 +1,122 @@+// Billing helpers, engine /v1/billing/* via the /api/engine BFF (authFetch).+import { authFetch } from '@/lib/auth';++async function jget(path: string) {+ const r = await authFetch(path);+ if (!r.ok) throw new Error(`${r.status} ${await r.text().catch(() => '')}`);+ return r.json();+}+async function jpost(path: string, body: unknown) {+ const r = await authFetch(path, {+ method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(body),+ });+ if (!r.ok) throw new Error(`${r.status} ${await r.text().catch(() => '')}`);+ return r.json();+}++// The pricing endpoint returns the shared rate card across every product on the platform. Only the+// metrics HarnessRouter actually charges may surface here — token rates for the chat models it runs+// (never embeddings, which it doesn't serve), plus its own session-minute and storage rates. Any+// other product's metrics (e.g. a coaching/review unit price) must never appear on a HarnessRouter+// surface. Deny by default so a new product's rows can't leak in.+export function isHrPriceMetric(metric: string): boolean {+ if (metric.startsWith('harness.') || metric.startsWith('storage.')) return true;+ if (metric.startsWith('llm.')) return !/embed/i.test(metric);+ return false;+}++export const billing = {+ balance: () => jget('/v1/billing/balance'),+ packages: () => jget('/v1/billing/packages'),+ pricing: async () => {+ const d = await jget('/v1/billing/pricing');+ return { ...d, items: (d.items || []).filter((i: { metric?: string }) => isHrPriceMetric(i.metric || '')) };+ },+ usage: (q: { from: string; to: string; bucket: string; app?: string }) => {+ const p = new URLSearchParams({ from: q.from, to: q.to, bucket: q.bucket });+ if (q.app) p.set('app', q.app);+ return jget(`/v1/billing/usage?${p.toString()}`);+ },+ checkout: (packageId: string, returnBase: string) =>+ jpost('/v1/billing/checkout', { package_id: packageId, return_base: returnBase }),+ /** Custom-amount top-up against the rate-card package (server recomputes credits + enforces+ * the minimum, the client number is display-only). */+ checkoutTopup: (packageId: string, amountUsd: number, returnBase: string) =>+ jpost('/v1/billing/checkout', { package_id: packageId, amount_usd: amountUsd, return_base: returnBase }),+ /** Card-add flow ($0 today): saves a card for later billing. It grants nothing — the card is+ * recorded so the one-card-one-bonus rule can see it. The only promotion is the subscribe+ * bonus, minted server-side on the first PAID invoice. */+ cardSetup: (returnBase: string) =>+ jpost('/v1/billing/checkout', { package_id: 'card-setup', return_base: returnBase }),+ subscription: () => jget('/v1/billing/subscription'),+ cancelSubscription: (reason: string, feedback: string) =>+ jpost('/v1/billing/subscription/cancel', { reason, feedback }),+ /** Plan switch: an upgrade returns a Stripe checkout url (new purchase now, the paid+ * invoice replaces the old subscription); a downgrade reschedules the same subscription's+ * next purchase. */+ changeSubscription: (packageId: string, returnBase: string) =>+ jpost('/v1/billing/subscription/change', { package_id: packageId, return_base: returnBase }),+};++export const RETURN_BASE = 'https://app.harnessrouter.ai';+export const LOW_CREDITS = 50;++// Invite redemption happens SERVER-SIDE at account creation (the register/Google call carries the+// code, and the engine redeems it against the just-made org). The referral is thus established the+// moment the account exists, independent of which browser later opens the verification email. The+// only client job is to carry the code from the /login?invite=CODE URL to that sign-up request; a+// localStorage bridge keeps it across the sign-in ⇄ register toggle on the login page.+const PENDING_INVITE = 'hr.pending_invite';++/** Stash an invite code seen in the URL so it survives the sign-in ⇄ register toggle on /login. */+export function stashInvite(code: string | null | undefined): void {+ if (!code) return;+ try { localStorage.setItem(PENDING_INVITE, code); } catch { /* private mode, skip */ }+}++/** Read and clear the stashed invite, to hand to the register/Google sign-up request exactly once. */+export function takePendingInvite(): string {+ try {+ const code = localStorage.getItem(PENDING_INVITE) || '';+ if (code) localStorage.removeItem(PENDING_INVITE);+ return code;+ } catch { return ''; }+}++/** The one-time welcome grant is enabled iff its deterministic lot exists (any status —+ * presence means a card was added at least once). */+export function welcomeEnabled(lots: Array<{ id: string }> | undefined): boolean {+ return (lots || []).some((l) => String(l.id || '').startsWith('lot.welcome.'));+}++export function formatCredits(n: unknown): string {+ return new Intl.NumberFormat('en-US').format(Math.round(Number(n) || 0));+}+export function formatSpent(n: unknown): string {+ const v = Number(n) || 0;+ if (v > 0 && v < 1) return v.toFixed(4);+ return new Intl.NumberFormat('en-US', { maximumFractionDigits: 2 }).format(v);+}+export function formatDate(iso?: string): string {+ if (!iso) return 'N/A';+ const d = new Date(iso);+ if (Number.isNaN(d.getTime())) return 'N/A';+ return d.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' });+}+const SOURCE_LABELS: Record<string, string> = {+ signup_bonus: 'Sign Up', referrer_bonus: 'Referral Reward', referee_bonus: 'Invited Bonus',+ referral_bonus: 'Referral Bonus', topup: 'Purchase', subscription: 'Subscription',+ admin_grant: 'Admin Grant', launch_bonus: 'Launch Bonus', deficit: 'Overdraft',+};+export const sourceLabel = (s?: string) => SOURCE_LABELS[s || ''] || s || 'Grant';++export function metricInfo(metric: string): { group: string; label: string; unit: string } {+ if (metric === 'harness.session_minute') return { group: 'Harness', label: 'Harness session', unit: 'credits / minute' };+ if (metric === 'storage.gb_day') return { group: 'Storage', label: 'Storage', unit: 'credits / GB / day' };+ const m = /^llm\.(.+)\.(input_1k|cached_input_1k|cache_read_1k|cache_write_1k|output_1k)$/.exec(metric || '');+ if (m) {+ const kind = { input_1k: 'input', cached_input_1k: 'cached input', cache_read_1k: 'cache read', cache_write_1k: 'cache write', output_1k: 'output' }[m[2] as never];+ return { group: m[1], label: `${m[1]} ${kind}`, unit: 'credits / 1k tokens' };+ }+ return { group: 'Other', label: metric, unit: 'credits / unit' };+}diff --git a/ui/src/app/(app)/billing/page.tsx b/ui/src/app/(app)/billing/page.tsxnew file mode 100644index 00000000..ad15f65a--- /dev/null+++ b/ui/src/app/(app)/billing/page.tsx@@ -0,0 +1,421 @@+'use client';++// Billing, the org's credit center for HarnessRouter. Mirrors the ClawTrace+// credits page (balance, packages, history) on the HR design system.+import { useCallback, useEffect, useMemo, useState } from 'react';+import { SkelRows } from '@/components/Skel';+import Link from 'next/link';+import { billing, RETURN_BASE, LOW_CREDITS, formatCredits, formatDate, sourceLabel, welcomeEnabled } from './lib';+import { WelcomePlansModal } from '@/components/WelcomePlansModal';++type Lot = {+ id: string; source: string; status: string; app_scope: string;+ credits_remaining: string; credits_initial: string;+ granted_at?: string; expires_at?: string; package_id?: string;+ amount_paid_cents?: string; invoice_url?: string; receipt_url?: string;+};+type Pkg = { id: string; name: string; price_usd: string; credits: string; badge?: string; recurring?: string; validity_days?: string; status: string; app_scope?: string };++const PAGE_SIZE = 10;+const STATUS_PILL: Record<string, string> = { active: 'ok', expired: 'mute', exhausted: 'warn', deficit: 'danger' };++export default function BillingPage() {+ const [balance, setBalance] = useState<{ balance: number; is_deficit: boolean; lots: Lot[];+ card?: { brand: string; last4: string; exp_month: string; exp_year: string } | null } | null>(null);+ const [packages, setPackages] = useState<Pkg[]>([]);+ const [loading, setLoading] = useState(true);+ const [purchasing, setPurchasing] = useState('');+ const [notice, setNotice] = useState('');+ const [page, setPage] = useState(1);+ const [sub, setSub] = useState<{ package_id: string; status: string; period_end: string; auto_renew: string } | null>(null);+ const [cancelOpen, setCancelOpen] = useState(false);+ const [cancelReason, setCancelReason] = useState('');+ const [cancelFeedback, setCancelFeedback] = useState('');+ const [cancelBusy, setCancelBusy] = useState(false);+ // Plan-change confirmation (in-app dialog, the action bills or reschedules money).+ const [planChange, setPlanChange] = useState<{ pkg: Pkg; upgrade: boolean } | null>(null);+ const [planBusy, setPlanBusy] = useState(false);+ // Welcome activation: the banner opens THE welcome plan-picker (same dialog as first login).+ const [welcomeOpen, setWelcomeOpen] = useState(false);++ const load = useCallback(async () => {+ setLoading(true);+ try {+ const [b, p, s] = await Promise.all([+ billing.balance(), billing.packages(),+ billing.subscription().catch(() => null),+ ]);+ setBalance(b);+ setPackages((p.packages || []).filter((x: Pkg) => x.status === 'active' && x.app_scope === 'harnessrouter'));+ setSub(s?.subscription || null);+ } catch (e) {+ setNotice(String((e as Error).message || e));+ } finally {+ setLoading(false);+ }+ }, []);++ useEffect(() => {+ const q = new URLSearchParams(window.location.search);+ if (q.get('checkout') === 'success') setNotice('Payment received. Credits are added once Stripe confirms, usually within a few seconds.');+ if (q.get('checkout') === 'cancelled') setNotice('Checkout cancelled.');+ if (q.get('setup') === 'success') setNotice('Card saved. Subscribe to any plan to get your 500 bonus credits.');+ if (q.get('setup') === 'cancelled') setNotice('Card setup cancelled.');+ load();+ }, [load]);++ const total = Number(balance?.balance || 0);+ const isDeficit = Boolean(balance?.is_deficit) && total <= 0;+ const isLow = !isDeficit && total > 0 && total < LOW_CREDITS;++ const lots = useMemo(() => {+ // A deficit lot that netted back to 0 is history, not state, hide it (it reappears only+ // if the org actually overdraws again).+ const ls = (balance?.lots || []).filter((l) =>+ !(l.source === 'deficit' && Number(l.credits_remaining) >= 0));+ ls.sort((a, b) => String(b.granted_at || '').localeCompare(String(a.granted_at || '')));+ return ls;+ }, [balance]);+ const totalPages = Math.max(1, Math.ceil(lots.length / PAGE_SIZE));+ const pageLots = lots.slice((page - 1) * PAGE_SIZE, page * PAGE_SIZE);++ const buy = async (pkg: Pkg) => {+ setPurchasing(pkg.id);+ try {+ const { url } = await billing.checkout(pkg.id, RETURN_BASE);+ if (url) window.location.href = url;+ else setPurchasing('');+ } catch (e) {+ setNotice(String((e as Error).message || e));+ setPurchasing('');+ }+ };++ const hasWelcome = welcomeEnabled(balance?.lots);+ const card = balance?.card || null;+ const cardExp = card && card.exp_month+ ? `${String(card.exp_month).padStart(2, '0')}/${String(card.exp_year).slice(-2)}` : '';+ const [topupAmount, setTopupAmount] = useState('50');+ const plans = packages.filter((p) => p.recurring === 'monthly')+ .sort((a, b) => Number(a.price_usd) - Number(b.price_usd));+ // The single top-up RATE CARD: its price is the minimum, credits/price the flat rate.+ const rateCard = packages.find((p) => p.recurring !== 'monthly');+ const topupMin = rateCard ? Number(rateCard.price_usd) : 0;+ const topupRate = rateCard ? Number(rateCard.credits) / Number(rateCard.price_usd) : 0;+ const topupNum = Number(topupAmount);+ const topupValid = rateCard != null && Number.isFinite(topupNum) && topupNum >= topupMin;+ const topupCredits = topupValid ? Math.round(topupNum * topupRate) : 0;++ const buyTopup = async () => {+ if (!rateCard || !topupValid) return;+ setPurchasing(rateCard.id);+ try {+ const { url } = await billing.checkoutTopup(rateCard.id, topupNum, RETURN_BASE);+ if (url) window.location.href = url;+ else setPurchasing('');+ } catch (e) {+ setNotice(String((e as Error).message || e));+ setPurchasing('');+ }+ };++ const changePlan = (pkg: Pkg, upgrade: boolean) => setPlanChange({ pkg, upgrade });+ const confirmPlanChange = async () => {+ if (!planChange || planBusy) return;+ setPlanBusy(true);+ try {+ const r = await billing.changeSubscription(planChange.pkg.id, RETURN_BASE);+ if (r.applied === 'checkout' && r.url) { window.location.href = r.url; return; }+ setPlanChange(null);+ setNotice(`Plan change scheduled, ${planChange.pkg.name} starts at your next billing cycle.`);+ void load();+ } catch (e) {+ setNotice(String((e as Error).message || e));+ } finally { setPlanBusy(false); }+ };++ const addCard = async () => {+ setPurchasing('card-setup');+ try {+ const { url } = await billing.cardSetup(RETURN_BASE);+ if (url) window.location.href = url;+ else setPurchasing('');+ } catch (e) {+ setNotice(String((e as Error).message || e));+ setPurchasing('');+ }+ };++ return (+ <div className="hr-wrap hrb-content billing-page">+ <div className="page-header" style={{ marginBottom: 18 }}>+ <div><h1 style={{ margin: 0, fontSize: 28, letterSpacing: '-.035em' }}>Credits & Billing</h1>+ <p style={{ margin: '8px 0 0', color: 'var(--muted)', fontSize: 14 }}>Manage your production Credits and payment history.</p></div>+ </div>+ {notice ? <div className="hrb-notice">{notice}</div> : null}++ {/* Top slot: gift stack, the welcome-credits banner (until claimed) above the+ invite-a-friend card, each full width. The saved-card indicator replaces the+ welcome banner once a card is on file. */}+ <div className="hrb-gift-row">+ {!loading && card ? (+ <div className="pay-card-row">+ <div className="pay-card" aria-hidden="true">+ <div className="pay-card-chip" />+ <div className="pay-card-number">**** ****** **{card.last4}</div>+ <div className="pay-card-foot">+ <span className="pay-card-holder">****</span>+ <span className="pay-card-exp"><em>valid thru</em>{cardExp}</span>+ </div>+ </div>+ <div className="pay-card-meta">+ <button className="hr-btn ghost pay-card-update" disabled={Boolean(purchasing)} onClick={addCard}>+ {purchasing === 'card-setup' ? 'Redirecting…' : 'Update Card'}+ </button>+ </div>+ </div>+ ) : !loading && !hasWelcome ? (+ <div className="welcome-banner">+ <div className="welcome-banner-badge"><iconify-icon icon="tabler:gift"></iconify-icon></div>+ <div className="welcome-banner-main">+ <div className="welcome-banner-head">+ <span className="welcome-banner-eyebrow">Launch offer</span>+ <h3 className="welcome-banner-title">Subscribe and get <b>500 bonus credits</b></h3>+ </div>+ <p className="welcome-banner-sub">Start any plan and we'll add <b>500 credits</b> on top of the credits your plan already includes. They arrive with your first payment.</p>+ <div className="welcome-banner-chips">+ <span className="welcome-chip"><iconify-icon icon="tabler:sparkles"></iconify-icon>+500 on any plan</span>+ <span className="welcome-chip"><iconify-icon icon="tabler:refresh"></iconify-icon>Cancel anytime</span>+ <span className="welcome-chip"><iconify-icon icon="tabler:lock"></iconify-icon>Secured by Stripe</span>+ </div>+ </div>+ <button className="welcome-banner-cta" onClick={() => setWelcomeOpen(true)}>+ <iconify-icon icon="tabler:sparkles"></iconify-icon>View plans+ </button>+ </div>+ ) : null}+ </div>++ <div className="billing-balance-panel" aria-label="Credit balance summary">+ <div className="billing-balance-primary"><span>Available balance</span>+ {loading && balance === null+ ? <div className="hrb-skeleton hrb-skeleton-balance" />+ : <strong>{formatCredits(total)} Credits</strong>}+ <small>Shared across all Workspaces</small></div>+ <div className="billing-balance-stat"><span>Usage</span><strong><Link href="/billing/usage" className="hrb-link">View usage</Link></strong><small>Per-day and per-harness detail</small></div>+ <button className="button primary" type="button"+ onClick={() => document.querySelector('.hrb-plans')?.scrollIntoView({ behavior: 'smooth' })}>Add Credits</button>+ </div>+ {isDeficit ? <div className="hrb-alert hrb-alert-deficit">Your credits are exhausted. Top up now to keep your harnesses running.</div> : null}+ {isLow ? <div className="hrb-alert hrb-alert-low">Credits running low. Top up now to avoid interruptions.</div> : null}++ <h2 style={{ margin: '18px 0 8px', fontSize: 17 }}>Subscriptions</h2>+ <div className="hrb-plans">+ {(loading && plans.length === 0 ? Array.from({ length: 3 }) : plans).map((pkg, i) => {+ if (!pkg) return <div className="hrb-skeleton hrb-skeleton-card" key={i} />;+ const p = pkg as Pkg;+ const isCurrent = sub?.package_id === p.id;+ const popular = plans.length >= 3 && p.id === plans[Math.floor(plans.length / 2)].id;+ const perCredit = Number(p.credits) > 0 ? Number(p.price_usd) / Number(p.credits) : 0;+ const isUpgrade = sub ? Number(p.price_usd) > Number(plans.find((x) => x.id === sub.package_id)?.price_usd || 0) : false;+ return (+ <div className={'hrb-plan' + (isCurrent ? ' current' : '') + (popular ? ' popular' : '')} key={p.id}>+ {isCurrent+ ? <span className="hrb-plan-flag on"><iconify-icon icon="tabler:circle-check-filled"></iconify-icon>Your plan</span>+ : popular ? <span className="hrb-plan-flag">Most popular</span> : null}+ <span className="hrb-plan-name">{p.name}</span>+ <span className="hrb-plan-price">${Number(p.price_usd).toLocaleString()}<small>/mo</small></span>+ <span className="hrb-plan-credits">{formatCredits(p.credits)} Credits / month</span>+ <ul className="hrb-plan-feats">+ <li><iconify-icon icon="tabler:check"></iconify-icon>{perCredit ? `$${perCredit.toFixed(perCredit < 0.03 ? 3 : 2)} per credit` : 'Flat monthly rate'}</li>+ <li><iconify-icon icon="tabler:check"></iconify-icon>Credits renew monthly</li>+ <li><iconify-icon icon="tabler:check"></iconify-icon>All harnesses & models</li>+ </ul>+ {isCurrent && sub ? (+ <>+ <span className="hrb-plan-sub-state">+ <iconify-icon icon="tabler:circle-check-filled"></iconify-icon>+ {sub.status === 'trialing' ? 'Free trial' : 'Active'}+ {/* A monthly subscription renews by default — no need to state the obvious.+ Only the CANCELLED state (auto_renew off) carries real, non-obvious info:+ when access actually ends. */}+ {sub.auto_renew === '0' ? ` · ends ${formatDate(sub.period_end)}` : ''}+ </span>+ {sub.auto_renew !== '0' && (+ <button className="hr-btn hrb-plan-cta hrb-plan-cancel" type="button"+ onClick={() => { setCancelReason(''); setCancelFeedback(''); setCancelOpen(true); }}>+ Cancel subscription</button>+ )}+ </>+ ) : sub ? (+ <button className={'hr-btn hrb-plan-cta' + (isUpgrade ? ' primary' : '')} type="button"+ disabled={Boolean(purchasing)}+ onClick={() => changePlan(p, isUpgrade)}>+ {purchasing === p.id ? 'Applying…' : isUpgrade ? 'Upgrade now' : 'Downgrade'}+ </button>+ ) : (+ <button className="hr-btn primary hrb-plan-cta" type="button" disabled={Boolean(purchasing)} onClick={() => buy(p)}>+ {purchasing === p.id ? 'Redirecting…' : 'Subscribe'}+ </button>+ )}+ {!isCurrent && sub ? (+ <span className="hrb-plan-note">+ {isUpgrade ? 'Checkout now · new credits added on payment, current credits keep their expiry'+ : 'Takes effect at the next billing cycle'}+ </span>+ ) : null}+ </div>+ );+ })}+ </div>++ <h2 style={{ margin: '18px 0 8px', fontSize: 17 }}>Top-up</h2>+ <p style={{ margin: '0 0 10px', color: 'var(--muted)', fontSize: 13 }}>+ One-time credits, valid for 1 year, choose any amount{topupMin ? ` (minimum $${topupMin})` : ''}.+ </p>+ {loading && !rateCard ? <div className="hrb-skeleton hrb-skeleton-card" /> : rateCard ? (+ <div className="hr-card" style={{ padding: 18, maxWidth: 440 }}>+ <div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>+ <span style={{ fontSize: 20, color: 'var(--muted)' }}>$</span>+ <input className="hr-input" type="number" inputMode="decimal"+ min={topupMin} step="1" value={topupAmount} style={{ fontSize: 18, width: 140 }}+ aria-label="Top-up amount in dollars"+ onChange={(e) => setTopupAmount(e.target.value)} />+ <span style={{ fontSize: 14, color: 'var(--muted)' }}>+ {topupValid+ ? <>= <strong style={{ color: 'var(--fg)' }}>{formatCredits(topupCredits)} Credits</strong></>+ : `Minimum $${topupMin}`}+ </span>+ </div>+ <div style={{ display: 'flex', alignItems: 'center', gap: 12, marginTop: 14 }}>+ <button className="hr-btn primary" disabled={Boolean(purchasing) || !topupValid} onClick={buyTopup}>+ {purchasing === rateCard.id ? 'Redirecting…' : topupValid ? `Buy ${formatCredits(topupCredits)} Credits` : 'Buy Credits'}+ </button>+ <span style={{ fontSize: 12.5, color: 'var(--muted)' }}>Expires in 1 year</span>+ </div>+ </div>+ ) : null}++ <h2 style={{ margin: '18px 0 8px', fontSize: 17 }}>Credit History</h2>+ <div className="hr-card hrb-table-card">+ <div className="hrb-table-scroll">+ <table className="hrb-table">+ <thead>+ <tr>+ <th>Type</th><th>Credit Balance</th><th>Granted At</th><th>Expires At</th>+ <th>Status</th><th>Amount Paid</th><th>Invoice</th>+ </tr>+ </thead>+ <tbody>+ {loading && lots.length === 0 ? (+ <SkelRows rows={3} cols={7} first={110} />+ ) : pageLots.length === 0 ? (+ <tr><td colSpan={7} className="hrb-table-empty">No credit history yet</td></tr>+ ) : pageLots.map((l) => {+ const od = l.source === 'deficit';+ return (+ <tr key={l.id} className={od ? 'hrb-row-overdraft' : ''}>+ <td>{l.source === 'subscription'+ ? (packages.find((p) => p.id === l.package_id)?.name || sourceLabel(l.source))+ : sourceLabel(l.source)}</td>+ <td>{od ? formatCredits(l.credits_remaining) : `${formatCredits(l.credits_remaining)}/${formatCredits(l.credits_initial)}`}</td>+ <td>{formatDate(l.granted_at)}</td>+ <td>{od ? 'N/A' : formatDate(l.expires_at)}</td>+ <td><span className={`hrb-pill hrb-pill-${STATUS_PILL[od ? 'deficit' : l.status] || 'mute'}`}>+ {od ? 'Overdraft' : (l.status || '').replace(/^./, (c) => c.toUpperCase())}+ </span></td>+ <td>{l.amount_paid_cents ? `$${(Number(l.amount_paid_cents) / 100).toFixed(2)}` : 'N/A'}</td>+ <td>+ {l.invoice_url+ ? <a className="hrb-link" href={l.invoice_url} target="_blank" rel="noopener noreferrer">Download</a>+ : l.receipt_url+ ? <a className="hrb-link" href={l.receipt_url} target="_blank" rel="noopener noreferrer">Receipt</a>+ : 'N/A'}+ </td>+ </tr>+ );+ })}+ </tbody>+ </table>+ </div>+ {totalPages > 1 ? (+ <div className="hrb-pager">+ <button className="hr-btn ghost" disabled={page === 1} onClick={() => setPage(page - 1)}>Prev</button>+ {Array.from({ length: totalPages }).map((_, i) => (+ <button key={i} className={`hr-btn ${page === i + 1 ? 'primary' : 'ghost'}`} onClick={() => setPage(i + 1)}>{i + 1}</button>+ ))}+ <button className="hr-btn ghost" disabled={page === totalPages} onClick={() => setPage(page + 1)}>Next</button>+ </div>+ ) : null}+ </div>+ {welcomeOpen ? <WelcomePlansModal plans={plans} onClose={() => setWelcomeOpen(false)} /> : null}+ {planChange ? (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="planChangeTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="planChangeTitle">{planChange.upgrade ? `Upgrade to ${planChange.pkg.name}?` : `Switch to ${planChange.pkg.name}?`}</h2>+ <p>+ {planChange.upgrade+ ? `You'll be taken to checkout for $${Number(planChange.pkg.price_usd).toLocaleString()}. On payment, ${formatCredits(planChange.pkg.credits)} credits are added immediately and your current plan stops billing. Credits you already have keep their original expiration.`+ : `Nothing changes today, ${planChange.pkg.name} (${formatCredits(planChange.pkg.credits)} credits / month at $${Number(planChange.pkg.price_usd).toLocaleString()}/mo) starts at your next billing cycle.`}+ </p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => !planBusy && setPlanChange(null)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="modal-actions">+ <button className="button" type="button" disabled={planBusy} onClick={() => setPlanChange(null)}>Keep current plan</button>+ <button className="button primary" type="button" disabled={planBusy} onClick={() => void confirmPlanChange()}>+ {planBusy ? (planChange.upgrade ? 'Redirecting…' : 'Applying…') : planChange.upgrade ? 'Continue to checkout' : 'Confirm change'}+ </button>+ </div>+ </div>+ </section>+ </div>+ ) : null}+ {cancelOpen ? (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="cancelSubTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="cancelSubTitle">Cancel subscription</h2>+ <p>You keep your plan and credits until the end of the current period. We’d love to know why you’re leaving.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setCancelOpen(false)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="field-stack">+ <div className="field"><label>Why are you cancelling?</label>+ <div className="hrb-cancel-reasons" role="radiogroup" aria-label="Cancellation reason">+ {['Too expensive', 'Not using it enough', 'Missing features I need', 'Ran into problems or bugs', 'Switching to another tool', 'Other'].map((r) => (+ <label key={r} className={'hrb-cancel-reason' + (cancelReason === r ? ' on' : '')}>+ <input type="radio" name="cancelReason" checked={cancelReason === r} onChange={() => setCancelReason(r)} />+ <span className="hrb-cancel-dot" aria-hidden="true" />+ <span className="hrb-cancel-label">{r}</span>+ </label>+ ))}+ </div>+ </div>+ <div className="field"><label htmlFor="cancelFb">Anything else you’d like us to know? <span className="optional-label">Optional</span></label>+ <textarea id="cancelFb" rows={3} value={cancelFeedback} placeholder="What could we have done better?"+ onChange={(e) => setCancelFeedback(e.target.value)} /></div>+ </div>+ <div className="modal-actions">+ <button className="button" type="button" disabled={cancelBusy} onClick={() => setCancelOpen(false)}>Keep my plan</button>+ <button className="button danger" type="button" disabled={cancelBusy || !cancelReason}+ onClick={async () => {+ setCancelBusy(true);+ try {+ await billing.cancelSubscription(cancelReason, cancelFeedback.trim());+ setCancelOpen(false);+ setNotice('Subscription cancelled, your plan stays active until the end of the current period.');+ void load();+ } catch (e) {+ setNotice(String((e as Error).message || e));+ } finally { setCancelBusy(false); }+ }}>{cancelBusy ? 'Cancelling…' : 'Continue cancel'}</button>+ </div>+ </div>+ </section>+ </div>+ ) : null}+ </div>+ );+}diff --git a/ui/src/app/(app)/billing/usage/page.tsx b/ui/src/app/(app)/billing/usage/page.tsxnew file mode 100644index 00000000..d1d11145--- /dev/null+++ b/ui/src/app/(app)/billing/usage/page.tsx@@ -0,0 +1,172 @@+'use client';++// Billing / Usage, HarnessRouter consumption only (app=harnessrouter):+// range presets, spent total, stacked bars, pricing reference.+import { useCallback, useEffect, useMemo, useState } from 'react';+import Link from 'next/link';+import dynamic from 'next/dynamic';+import { billing, formatSpent, metricInfo } from '../lib';++const ReactECharts = dynamic(() => import('echarts-for-react'), { ssr: false });++const MS_PER_DAY = 24 * 60 * 60 * 1000;+const PRESETS = [+ { label: '1 day', ms: MS_PER_DAY },+ { label: '7 days', ms: 7 * MS_PER_DAY },+ { label: '30 days', ms: 30 * MS_PER_DAY },+];+const SERIES_COLORS = ['#285AFF', '#2E7D5B', '#B26A00', '#8A3FFC', '#A2191F', '#0F62FE', '#5B5D66'];+const CORE_PRICING = ['harness.session_minute', 'llm.gpt-5.4.input_1k', 'llm.gpt-5.4.output_1k',+ 'llm.claude-sonnet-5.input_1k', 'llm.claude-sonnet-5.output_1k'];++type Bucket = { key: string; credits: number; apps: Record<string, Record<string, { units: number; credits: number }>> };+type PricingItem = { metric: string; credits_per_unit: string; status: string };++export default function UsagePage() {+ const [presetIdx, setPresetIdx] = useState(1);+ const [customFrom, setCustomFrom] = useState('');+ const [customTo, setCustomTo] = useState('');+ const [data, setData] = useState<{ buckets: Bucket[]; total_credits: number } | null>(null);+ const [pricing, setPricing] = useState<PricingItem[]>([]);+ const [showAll, setShowAll] = useState(false);+ const [loading, setLoading] = useState(true);++ const range = useMemo(() => {+ const now = Date.now();+ if (presetIdx >= 0) return { from: now - PRESETS[presetIdx].ms, to: now };+ if (customFrom && customTo) return { from: new Date(customFrom).getTime(), to: new Date(customTo).getTime() + MS_PER_DAY - 1 };+ return null;+ }, [presetIdx, customFrom, customTo]);++ const fetchUsage = useCallback(async () => {+ if (!range) return;+ setLoading(true);+ try {+ const bucket = (range.to - range.from) <= 2 * MS_PER_DAY ? 'hour' : 'day';+ setData(await billing.usage({+ from: new Date(range.from).toISOString(), to: new Date(range.to).toISOString(),+ bucket, app: 'harnessrouter',+ }));+ } catch { setData(null); } finally { setLoading(false); }+ }, [range]);++ useEffect(() => { fetchUsage(); }, [fetchUsage]);+ useEffect(() => { billing.pricing().then((p) => setPricing(p.items || [])).catch(() => {}); }, []);++ const { option, hasData, totalSpent } = useMemo(() => {+ const buckets = data?.buckets || [];+ const keys: string[] = [];+ for (const b of buckets) {+ for (const metrics of Object.values(b.apps || {})) {+ for (const m of Object.keys(metrics)) if (!keys.includes(m)) keys.push(m);+ }+ }+ const labels = buckets.map((b) => {+ if (b.key.includes('T')) return new Date(b.key.replace('Z', ':00Z')).toLocaleString('en-US', { month: 'short', day: 'numeric', hour: 'numeric' });+ return new Date(`${b.key}T00:00:00Z`).toLocaleDateString('en-US', { month: 'short', day: 'numeric' });+ });+ const series = keys.map((m, i) => ({+ name: metricInfo(m).label, type: 'bar', stack: 'usage', barWidth: '60%',+ color: SERIES_COLORS[i % SERIES_COLORS.length],+ data: buckets.map((b) => {+ let v = 0;+ for (const metrics of Object.values(b.apps || {})) v += Number(metrics[m]?.credits || 0);+ return v;+ }),+ }));+ return {+ hasData: keys.length > 0,+ totalSpent: Number(data?.total_credits || 0),+ option: {+ animation: false,+ grid: { top: 44, left: 56, right: 16, bottom: 32 },+ legend: { top: 8, right: 12, textStyle: { color: '#5B5D66', fontSize: 11 }, itemWidth: 10, itemHeight: 10 },+ tooltip: { trigger: 'axis' },+ xAxis: { type: 'category', data: labels, axisLabel: { color: '#5B5D66', fontSize: 11 } },+ yAxis: { type: 'value', splitLine: { lineStyle: { color: '#DDDFE6' } } },+ series,+ },+ };+ }, [data]);++ const active = pricing.filter((p) => p.status === 'active');+ const coreCards = CORE_PRICING.map((m) => active.find((p) => p.metric === m)).filter(Boolean) as PricingItem[];+ const grouped = useMemo(() => {+ const g = new Map<string, Array<PricingItem & { info: ReturnType<typeof metricInfo> }>>();+ for (const p of active) {+ const info = metricInfo(p.metric);+ if (!g.has(info.group)) g.set(info.group, []);+ g.get(info.group)!.push({ ...p, info });+ }+ return [...g.entries()];+ }, [active]);++ return (+ <div className="hr-wrap hrb-content">+ <div><Link href="/billing" className="hr-btn ghost">Back to Billing</Link></div>++ <div className="hrb-range">+ {PRESETS.map((p, i) => (+ <button key={p.label} className={`hr-btn ${presetIdx === i ? 'primary' : 'ghost'}`} onClick={() => setPresetIdx(i)}>{p.label}</button>+ ))}+ <button className={`hr-btn ${presetIdx === -1 ? 'primary' : 'ghost'}`} onClick={() => setPresetIdx(-1)}>Custom</button>+ {presetIdx === -1 ? (+ <span className="hrb-range-custom">+ <input type="date" className="hr-input" value={customFrom} onChange={(e) => setCustomFrom(e.target.value)} />+ <span className="hrb-range-sep">to</span>+ <input type="date" className="hr-input" value={customTo} onChange={(e) => setCustomTo(e.target.value)} />+ </span>+ ) : null}+ </div>++ <div className="hr-card hrb-spent">+ <div className="hrb-label">Spent Credits</div>+ {loading ? <div className="hrb-skeleton hrb-skeleton-spent" /> : <div className="hrb-spent-value">{formatSpent(totalSpent)}</div>}+ </div>++ <div className="hr-card hrb-chart-card">+ <h3 className="hrb-section-title">Credits Spent Over Time</h3>+ {loading ? <div className="hrb-skeleton hrb-skeleton-chart" />+ : hasData ? <div className="hrb-chart"><ReactECharts option={option} notMerge style={{ height: '100%', width: '100%' }} /></div>+ : <div className="hrb-chart-empty">No usage data in this time range</div>}+ </div>++ <div className="hr-card hrb-pricing-card">+ <h3 className="hrb-section-title">Pricing</h3>+ <div className="hrb-pricing-grid">+ {coreCards.map((p, i) => {+ const info = metricInfo(p.metric);+ return (+ <div className="hrb-price" key={p.metric}>+ <span className="hrb-price-dot" style={{ background: SERIES_COLORS[i % SERIES_COLORS.length] }} />+ <div>+ <div className="hrb-price-label">{info.label}</div>+ <div className="hrb-price-value">{Number(p.credits_per_unit)} {info.unit}</div>+ </div>+ </div>+ );+ })}+ </div>+ <button className="hr-btn ghost" onClick={() => setShowAll(!showAll)}>+ {showAll ? 'Hide full price list' : 'Show full price list'}+ </button>+ {showAll ? (+ <div className="hrb-table-scroll">+ <table className="hrb-table">+ <thead><tr><th>Group</th><th>Item</th><th>Price</th></tr></thead>+ <tbody>+ {grouped.map(([group, items]) => items.map((p, i) => (+ <tr key={p.metric}>+ <td>{i === 0 ? group : ''}</td>+ <td>{p.info.label}</td>+ <td>{Number(p.credits_per_unit)} {p.info.unit}</td>+ </tr>+ )))}+ </tbody>+ </table>+ </div>+ ) : null}+ </div>+ </div>+ );+}diff --git a/ui/src/app/(app)/dashboard/page.tsx b/ui/src/app/(app)/dashboard/page.tsxnew file mode 100644index 00000000..6cdd8b1c--- /dev/null+++ b/ui/src/app/(app)/dashboard/page.tsx@@ -0,0 +1,111 @@+'use client';+// Dashboard, org level: which Workspace needs attention. Workspaces are first-level children of+// the org's HarnessRouter Space; each row aggregates that workspace's newest trace window+// client-side (server aggregation is a recorded TODO). Credits are org-level (billing has no+// per-workspace attribution yet).+import { useEffect, useState } from 'react';+import { useRouter } from 'next/navigation';+import { useWorkspace, type Workspace } from '@/lib/workspace';+import { fetchTraceWindow, groupByHarness, statsFor, type HarnessStats, type TraceCard } from '@/lib/revamp-data';+import { billing } from '../billing/lib';+import { SkelLine, SkelRows } from '@/components/Skel';++interface WsRow { ws: Workspace; stats: HarnessStats; harnesses: number; cards: TraceCard[];+ degradedHarnesses: number; degradedFailed: number }++export default function DashboardPage() {+ const router = useRouter();+ const { workspaces, defaultId, setCurrent, loading } = useWorkspace();+ const [rows, setRows] = useState<WsRow[] | null>(null);+ const [credits30, setCredits30] = useState<number | null>(null);+ const [search, setSearch] = useState('');++ useEffect(() => {+ if (loading) return;+ let alive = true;+ Promise.all(workspaces.map(async (ws) => {+ const cards = ws.id+ ? await fetchTraceWindow(undefined, { id: ws.id, isDefault: ws.id === defaultId }).catch(() => [] as TraceCard[])+ : await fetchTraceWindow(undefined, null).catch(() => [] as TraceCard[]);+ const harnesses = new Set(cards.map((c) => c.harness_id).filter(Boolean)).size;+ // Per-harness degradation inside this workspace (the mockup's notice is harness-based).+ let degradedHarnesses = 0, degradedFailed = 0;+ for (const [, hc] of groupByHarness(cards)) {+ const s = statsFor(hc);+ if (s.success != null && s.success < 0.9 && s.tasks7d >= 3) { degradedHarnesses += 1; degradedFailed += s.failed7d; }+ }+ return { ws, stats: statsFor(cards), harnesses, cards, degradedHarnesses, degradedFailed };+ })).then((r) => { if (alive) setRows(r); });+ const to = new Date(); const from = new Date(Date.now() - 30 * 86400_000);+ billing.usage({ from: from.toISOString().slice(0, 10), to: to.toISOString().slice(0, 10), bucket: 'day' })+ .then((u) => {+ if (!alive) return;+ const total = (u?.buckets || u?.rows || []).reduce((s: number, b: { credits?: number; total?: number }) => s + Number(b.credits ?? b.total ?? 0), 0);+ setCredits30(Math.round(total));+ }).catch(() => { /* em dash */ });+ return () => { alive = false; };+ }, [loading, workspaces, defaultId]);++ const degradedOf = (r: WsRow) => r.degradedHarnesses > 0;+ const degraded = (rows || []).filter(degradedOf);+ const tasks7d = (rows || []).reduce((s, r) => s + r.stats.tasks7d, 0);++ function openWorkspace(ws: Workspace) {+ if (ws.id) setCurrent(ws.id);+ router.push('/overview');+ }++ return (+ <section className="view is-active" id="view-dashboard">+ <div className="page">+ <div className="page-header">+ <div><h1>Dashboard</h1><p>See which Workspace needs attention, then open it to act.</p></div>+ </div>+ {degraded.length > 0 && (+ <div className="notice">+ <iconify-icon icon="tabler:alert-triangle"></iconify-icon>+ <div><strong>{degraded[0].ws.name} needs attention</strong>+ {degraded[0].degradedHarnesses === 1+ ? `One Harness is degraded after ${degraded[0].degradedFailed} failed Task${degraded[0].degradedFailed === 1 ? '' : 's'} in the last 7 days.`+ : `${degraded[0].degradedHarnesses} Harnesses are degraded in the last 7 days.`}</div>+ </div>+ )}+ <div className="metrics">+ <div className="metric"><span>Workspaces</span><strong>{rows ? rows.length : <SkelLine w={30} h={22} />}</strong><small>{degraded.length === 0 ? 'All healthy' : `${degraded.length} need${degraded.length === 1 ? 's' : ''} attention`}</small></div>+ <div className="metric"><span>Tasks</span><strong>{rows ? tasks7d.toLocaleString() : <SkelLine w={54} h={22} />}</strong><small>Last 7 days</small></div>+ <div className="metric"><span>Credits used</span><strong>{credits30 != null ? credits30.toLocaleString() : <SkelLine w={54} h={22} />}</strong><small>Last 30 days · whole org</small></div>+ </div>+ <div className="section-header"><h2>Workspaces</h2></div>+ <div className="toolbar">+ <input className="search-input" type="search" placeholder="Search workspaces" aria-label="Search workspaces"+ value={search} onChange={(e) => setSearch(e.target.value)} />+ </div>+ <div className="table-wrap">+ <table>+ <thead>+ <tr><th>Workspace</th><th>Harnesses</th><th>Health</th><th>Tasks (7d)</th><th>Credits (30d)</th><th aria-label="Actions"></th></tr>+ </thead>+ <tbody>+ {(rows || [])+ .filter((r) => !search.trim() || r.ws.name.toLowerCase().includes(search.trim().toLowerCase()))+ .map((r) => {+ const bad = degradedOf(r);+ return (+ <tr key={r.ws.id || 'default'} className="object-row" onClick={() => openWorkspace(r.ws)} style={{ cursor: 'pointer' }}>+ <td className="object-cell"><div className="object-title"><span className="object-icon"><iconify-icon icon="tabler:home"></iconify-icon></span><div className="object-copy"><strong>{r.ws.name}</strong><span>{r.ws.description || (r.ws.id === defaultId ? 'All harnesses, tasks, and keys in this organization.' : '')}</span></div></div></td>+ <td className="number">{r.harnesses}</td>+ <td><span className={'status ' + (bad ? 'warning' : 'healthy')}>{bad ? `${r.degradedHarnesses} issue${r.degradedHarnesses > 1 ? 's' : ''}` : 'Healthy'}</span></td>+ <td className="number">{r.stats.tasks7d.toLocaleString()}</td>+ <td className="number">—</td>+ <td><button className="row-action" type="button" aria-label={`Open ${r.ws.name}`}><iconify-icon icon="tabler:chevron-right"></iconify-icon></button></td>+ </tr>+ );+ })}+ {!rows && <SkelRows rows={2} cols={8} first={190} />}+ </tbody>+ </table>+ </div>+ </div>+ </section>+ );+}diff --git a/ui/src/app/(app)/harnesses/[id]/page.tsx b/ui/src/app/(app)/harnesses/[id]/page.tsxnew file mode 100644index 00000000..075bb122--- /dev/null+++ b/ui/src/app/(app)/harnesses/[id]/page.tsx@@ -0,0 +1,360 @@+'use client';+// Harness Settings, the ONE place persistent harness configuration is edited (per the 2026-07-17+// IA review): General → Default model → Agent instructions → Tools → Skills → Runtime limits →+// Request headers, one Save. Built-in harnesses render read-only with a Clone action.+// Reuses the battle-tested SkillEditor + McpModal from the workbench.+import { useEffect, useMemo, useState } from 'react';+import { SkelPage } from '@/components/Skel';+import { useParams, useRouter } from 'next/navigation';+import {+ OOB, oobById, oobDefaultModel, oobModels, useModelCatalog, getCustom, saveCustom, deleteCustom, createCustom, getSkillFiles, storeMcpSecret,+ type CustomHarness, type OobHarness,+} from '@/lib/harness';+import { HarnessLogo } from '@/components/HarnessLogo';+import { CopyId } from '@/components/CopyId';+import { SkillEditor, McpModal, type McpServer } from '@/components/HarnessEditors';+import { fetchTraceWindow, statsFor, p95Of, avgCreditsOf, type TraceCard } from '@/lib/revamp-data';++type Skill = CustomHarness['skills'][number];+const isOwnSkill = (s: Skill) => Boolean((s.files && s.files.length) || (s as { content?: string }).content || s.blob);++export default function HarnessSettingsPage() {+ const params = useParams<{ id: string }>();+ const router = useRouter();+ const id = decodeURIComponent(params.id || '');+ const oob = oobById(id);+ const [saved, setSaved] = useState<CustomHarness | null>(null);+ const [draft, setDraft] = useState<CustomHarness | null>(null);+ const [loaded, setLoaded] = useState(false);+ const [busy, setBusy] = useState(false);+ const [err, setErr] = useState<string | null>(null);+ const [editSkillIdx, setEditSkillIdx] = useState<number | null>(null);+ const [mcpModal, setMcpModal] = useState<{ idx: number | null } | null>(null);+ const [confirmDelete, setConfirmDelete] = useState(false);+ // Draft of a NEW skill being created in the SkillEditor popup (name edited in the same popup).+ const [newSkill, setNewSkill] = useState<{ name: string } | null>(null);+ const [cards, setCards] = useState<TraceCard[]>([]);++ useEffect(() => {+ let alive = true;+ fetchTraceWindow(id).then((cs) => { if (alive) setCards(cs); }).catch(() => { /* metrics show dashes */ });+ return () => { alive = false; };+ }, [id]);++ useEffect(() => {+ if (oob) { setLoaded(true); return; }+ let alive = true;+ getCustom(id).then((c) => { if (alive) { setSaved(c); setDraft(c); setLoaded(true); } });+ return () => { alive = false; };+ }, [id, oob]);++ const dirty = useMemo(() => JSON.stringify(draft) !== JSON.stringify(saved), [draft, saved]);+ useModelCatalog(); // model list comes from the gateway, not a local copy+ const base = oob || oobById(draft?.base || '') || null;+ const models = oobModels(base);+ const upd = (p: Partial<CustomHarness>) => setDraft((d) => (d ? { ...d, ...p } : d));++ async function save() {+ if (!draft || busy) return;+ setBusy(true); setErr(null);+ try {+ const s = await saveCustom(draft);+ setSaved(s); setDraft(s);+ // After a successful save, jump to Tasks with THIS harness selected so the user can+ // immediately run a task on the config they just changed.+ router.push(`/tasks?h=${encodeURIComponent(s.id || id)}`);+ }+ catch (e) { setErr(e instanceof Error ? e.message : String(e)); }+ finally { setBusy(false); }+ }++ async function openSkillEditor(idx: number) {+ if (!draft) return;+ const s = draft.skills[idx];+ if (!(s.files && s.files.length) && s.blob) {+ try {+ const files = await getSkillFiles(draft.id, s.id || s.name);+ upd({ skills: draft.skills.map((x, k) => (k === idx ? { ...x, files } : x)) });+ } catch { setErr('Could not load the skill folder, try again.'); return; }+ }+ setEditSkillIdx(idx);+ }++ if (!loaded) return <section className="view is-active" id="view-harness"><SkelPage /></section>;+ if (!oob && !draft) return <section className="view is-active"><div className="page"><div className="session-empty">Harness not found.</div></div></section>;++ const name = oob ? oob.name : draft!.name;+ const readOnly = Boolean(oob);+ const skills = draft?.skills || [];+ const ownSkills = skills.map((s, idx) => ({ s, idx })).filter(({ s }) => isOwnSkill(s));+ const baseSkillNames = (base?.skills || []).filter((n) => !ownSkills.some(({ s }) => s.name === n));+ const disabledTools = new Set(draft?.disabledTools || []);++ const stats = statsFor(cards);+ const degraded = stats.success != null && stats.success < 0.9 && stats.tasks7d >= 3;+ const p95 = p95Of(cards);+ const creditsPerTask = avgCreditsOf(cards);++ return (+ <section className="view is-active" id="view-harness">+ <div className="page">+ <div className="page-header detail-context">+ <div>+ <button className="back-link" type="button" onClick={() => router.push('/harnesses')}><iconify-icon icon="tabler:arrow-left"></iconify-icon><span>Harnesses</span></button>+ <div className="detail-header">+ <span className="detail-icon"><HarnessLogo id={(base?.id || draft?.base || '')} size={26} /></span>+ <div className="detail-title"><h1>{name}</h1>+ <p><span className={'status ' + (degraded ? 'warning' : 'healthy')}>{degraded ? 'Needs review' : 'Connected and healthy'}</span> · Base Harness: {base?.name || draft?.baseLabel}{readOnly ? ' · built-in' : ''}</p></div>+ </div>+ </div>+ <div className="header-actions">+ {readOnly && (+ <button className="button" type="button" disabled={busy} onClick={async () => {+ setBusy(true);+ try {+ const c = await createCustom({ name: `${oob!.name} (custom)`, base: oob!.id, defaultModel: oobDefaultModel(oob), systemPrompt: oob!.systemPrompt });+ router.push(`/harnesses/${encodeURIComponent(c.id)}`);+ } finally { setBusy(false); }+ }}><iconify-icon icon="tabler:git-fork"></iconify-icon>Fork and Customize</button>+ )}+ <button className="button primary" type="button" onClick={() => router.push(`/tasks?h=${encodeURIComponent(id)}`)}>+ <iconify-icon icon="tabler:list-details"></iconify-icon>Run Task</button>+ </div>+ </div>++ <div className="detail-metrics" aria-label="Selected Harness metrics">+ <div className="detail-metric"><span>Success rate</span><strong>{stats.success != null ? `${(stats.success * 100).toFixed(1)}%` : '—'}</strong><small>Last 7 days</small></div>+ <button className="detail-metric" type="button" onClick={() => router.push(`/tasks?h=${encodeURIComponent(id)}`)}>+ <span>Tasks</span><strong>{stats.tasks7d.toLocaleString()}</strong><small>Last 7 days</small></button>+ <div className="detail-metric"><span>p95 duration</span><strong>{p95 ?? '—'}</strong><small>Recent tasks</small></div>+ <div className="detail-metric"><span>Credits / Task</span><strong>{creditsPerTask ?? '—'}</strong><small>Avg over priced runs</small></div>+ </div>++ <form className="settings-form" onSubmit={(e) => { e.preventDefault(); void save(); }}>+ <div className="settings-form-head">+ <div><h2>Harness Settings</h2><p>Configure the instructions, capabilities, and execution limits inherited by every Task on this Harness.</p></div>+ <div className="header-actions"><span className="save-state">{readOnly ? 'Built-in · read-only' : dirty ? 'Unsaved changes' : 'No unsaved changes'}</span></div>+ </div>++ <section className="form-section">+ <div><h3>General</h3><p>Name this reusable agent configuration and review its runtime foundation.</p></div>+ <div className="field-stack">+ <div className="field"><label htmlFor="hsName">Name</label>+ <input id="hsName" value={name} disabled={readOnly} onChange={(e) => upd({ name: e.target.value })} /></div>+ <div className="field"><label>Base Harness</label>+ <div className="inline-value"><span>{base?.name || draft?.baseLabel || '—'}</span><span className="status healthy">Connected</span></div>+ <span className="field-help">The Base Harness defines compatible capabilities and cannot be changed after creation.</span></div>+ <div className="field"><label>Harness ID</label>+ <CopyId value={id} />+ <span className="field-help">Address this Harness from the API with this ID.</span></div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Default model</h3><p>The model used when a Task does not choose an override.</p></div>+ <div className="field-stack">+ <div className="field"><label htmlFor="hsModel">Model</label>+ <select id="hsModel" disabled={readOnly} value={oob ? oobDefaultModel(oob) : (draft?.defaultModel || oobDefaultModel(oobById(draft?.base || '')) || '')}+ onChange={(e) => upd({ defaultModel: e.target.value })}>+ {models.map((m) => <option key={m} value={m}>{m}</option>)}+ </select>+ <span className="field-help">Tasks may choose another compatible model at runtime.</span></div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Agent instructions</h3><p>Persistent role, conventions, constraints, and output contract loaded on every Task.</p></div>+ <div className="field-stack">+ <div className="field"><label htmlFor="hsInstructions">{['codex', 'hermes'].includes(base?.id || draft?.base || '') ? 'AGENTS.md' : 'CLAUDE.md'}</label>+ <textarea id="hsInstructions" rows={7} disabled={readOnly}+ value={oob ? oob.systemPrompt : (draft?.systemPrompt || '')}+ onChange={(e) => upd({ systemPrompt: e.target.value })} />+ <span className="field-help">These Harness-specific instructions are loaded every turn; the Base Harness system prompt remains unchanged.</span></div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Tools</h3><p>Control inherited tools and add MCP servers for external capabilities.</p></div>+ <div className="field-stack">+ <div className="section-actions"><strong>{(base?.tools?.length || 0) + (draft?.mcpServers?.length || 0)} configured tools</strong>+ {!readOnly && <button className="button small" type="button" onClick={() => setMcpModal({ idx: null })}><iconify-icon icon="tabler:plus"></iconify-icon>Add MCP</button>}</div>+ <div className="capability-list">+ {(base?.tools || []).map((t) => (+ <div key={t} className="capability-row">+ <span className="capability-icon"><iconify-icon icon="tabler:plug"></iconify-icon></span>+ <div className="capability-copy"><strong>{t}</strong><span>Inherited from {base?.name}</span></div>+ <div className="capability-actions">+ <button className="toggle-button" type="button" disabled={readOnly} aria-pressed={!disabledTools.has(t)}+ onClick={() => upd({ disabledTools: disabledTools.has(t) ? (draft?.disabledTools || []).filter((x) => x !== t) : [...(draft?.disabledTools || []), t] })}>+ {disabledTools.has(t) ? 'Disabled' : 'Enabled'}</button>+ </div>+ </div>+ ))}+ {(draft?.mcpServers || []).map((m, idx) => (+ <div key={m.id || idx} className="capability-row">+ <span className="capability-icon"><iconify-icon icon="tabler:world-www"></iconify-icon></span>+ <div className="capability-copy"><strong>{m.name}</strong><span>Custom MCP · {m.url || 'endpoint'}</span></div>+ <div className="capability-actions">+ <button className="button quiet small" type="button" onClick={() => setMcpModal({ idx })}>Edit</button>+ <button className="button quiet small" type="button" onClick={() => upd({ mcpServers: (draft?.mcpServers || []).filter((_, k) => k !== idx) })}>Delete</button>+ <button className="toggle-button" type="button" aria-pressed={m.enabled !== false}+ onClick={() => upd({ mcpServers: (draft?.mcpServers || []).map((x, k) => (k === idx ? { ...x, enabled: !(x.enabled !== false) } : x)) })}>+ {m.enabled !== false ? 'Enabled' : 'Disabled'}</button>+ </div>+ </div>+ ))}+ </div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Skills</h3><p>Add Harness-specific workflows, replace inherited Skills, or disable capabilities this agent should not use.</p></div>+ <div className="field-stack">+ <div className="section-actions"><strong>{ownSkills.length + baseSkillNames.length} configured Skills</strong>+ {!readOnly && <button className="button small" type="button" onClick={() => setNewSkill({ name: '' })}>+ <iconify-icon icon="tabler:plus"></iconify-icon>Add Skill</button>}</div>+ <div className="capability-list">+ {ownSkills.map(({ s, idx }) => (+ <div key={s.id || idx} className="capability-row">+ <span className="capability-icon"><iconify-icon icon="tabler:sparkles"></iconify-icon></span>+ <div className="capability-copy"><strong>{s.name}</strong><span>Custom Skill</span></div>+ <div className="capability-actions">+ <button className="button quiet small" type="button" onClick={() => void openSkillEditor(idx)}>Edit</button>+ <button className="button quiet small" type="button" onClick={() => upd({ skills: skills.filter((_, k) => k !== idx) })}>Delete</button>+ <button className="toggle-button" type="button" aria-pressed={s.enabled !== false}+ onClick={() => upd({ skills: skills.map((x, k) => (k === idx ? { ...x, enabled: !(x.enabled !== false) } : x)) })}>+ {s.enabled !== false ? 'Enabled' : 'Disabled'}</button>+ </div>+ </div>+ ))}+ {baseSkillNames.map((n) => {+ const off = skills.some((s) => s.name === n && s.enabled === false && !isOwnSkill(s));+ return (+ <div key={'inh-' + n} className="capability-row">+ <span className="capability-icon"><iconify-icon icon="tabler:bulb"></iconify-icon></span>+ <div className="capability-copy"><strong>{n}</strong><span>Inherited from {base?.name}</span></div>+ <div className="capability-actions">+ {!readOnly && <button className="button quiet small" type="button" onClick={() => {+ if (!draft) return;+ const rest = skills.filter((s) => s.name !== n);+ const sid = 'skl_' + crypto.randomUUID().replace(/-/g, '');+ const files = [{ path: 'SKILL.md', content: `---\nname: ${n}\ndescription: \n---\n\n# ${n}\n\nReplaces the built-in ${n} skill.\n` }];+ upd({ skills: [...rest, { id: sid, name: n, enabled: true, files }] });+ setEditSkillIdx(rest.length);+ }}>Replace</button>}+ <button className="toggle-button" type="button" disabled={readOnly} aria-pressed={!off}+ onClick={() => upd({ skills: off ? skills.filter((s) => !(s.name === n && s.enabled === false)) : [...skills, { id: 'skl_' + crypto.randomUUID().replace(/-/g, ''), name: n, enabled: false }] })}>+ {off ? 'Disabled' : 'Enabled'}</button>+ </div>+ </div>+ );+ })}+ </div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Runtime limits</h3><p>Stop Tasks that run longer or take more agent steps than expected.</p></div>+ <div className="field-stack">+ <div className="two-column-fields">+ <div className="field"><label htmlFor="hsSteps">Max steps</label>+ <input id="hsSteps" type="number" min={1} placeholder="400" disabled={readOnly}+ value={draft?.maxStep ?? ''} onChange={(e) => upd({ maxStep: e.target.value ? Math.max(1, Number(e.target.value)) : null })} />+ <span className="field-help">Maximum agent steps before the Task stops.</span></div>+ <div className="field"><label htmlFor="hsTimeout">Timeout (minutes)</label>+ <input id="hsTimeout" type="number" min={1} placeholder="120" disabled={readOnly}+ value={draft?.timeoutSeconds ? Math.round(draft.timeoutSeconds / 60) : ''}+ onChange={(e) => upd({ timeoutSeconds: e.target.value ? Math.max(1, Number(e.target.value)) * 60 : null })} />+ <span className="field-help">Maximum wall-clock execution time.</span></div>+ </div>+ </div>+ </section>++ <section className="form-section">+ <div><h3>Request headers</h3><p>Forward approved Task request context to MCP servers used by this Harness.</p></div>+ <div className="field-stack">+ <div className="section-actions"><strong>Dynamic header mappings</strong>+ {!readOnly && <button className="button small" type="button" onClick={() => upd({ additionalHeaders: [...(draft?.additionalHeaders || []), ''] })}><iconify-icon icon="tabler:plus"></iconify-icon>Add header</button>}</div>+ <div>+ {(draft?.additionalHeaders || []).map((h, idx) => (+ <div key={idx} className="header-row">+ <div className="field"><label>Header name</label>+ <input value={h} placeholder="X-App-JWT" onChange={(e) => upd({ additionalHeaders: (draft?.additionalHeaders || []).map((x, k) => (k === idx ? e.target.value : x)) })} /></div>+ <div className="field"><label>Value reference</label>+ <input value={h ? `$headers.${h}` : ''} readOnly /></div>+ <button className="icon-button" type="button" aria-label="Remove header"+ onClick={() => upd({ additionalHeaders: (draft?.additionalHeaders || []).filter((_, k) => k !== idx) })}><iconify-icon icon="tabler:trash"></iconify-icon></button>+ </div>+ ))}+ {!(draft?.additionalHeaders || []).length && <span className="field-help">No headers declared.</span>}+ </div>+ <span className="field-help">Values are resolved from the incoming Task request when the Harness calls an MCP server. Store credentials in a trusted secret manager; never enter literal secrets here.</span>+ </div>+ </section>++ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Save failed</strong>{err}</div></div>}+ {!readOnly && (+ <div className="settings-form-footer settings-footer-sticky">+ <button className="button danger" type="button" onClick={() => setConfirmDelete(true)}>Delete Harness</button>+ <span className="settings-footer-spacer" />+ {dirty && (+ <button className="button" type="button" disabled={busy} onClick={() => setDraft(saved)}>Discard Changes</button>+ )}+ <button className="button primary" type="submit" disabled={!dirty || busy}>{busy ? 'Saving…' : 'Save Changes'}</button>+ </div>+ )}+ </form>+ </div>++ {editSkillIdx !== null && draft?.skills?.[editSkillIdx] && (+ <SkillEditor skill={draft.skills[editSkillIdx]}+ onClose={() => setEditSkillIdx(null)}+ onSave={(files) => {+ upd({ skills: skills.map((x, k) => (k === editSkillIdx ? { ...x, files, blob: undefined } : x)) });+ setEditSkillIdx(null);+ }} />+ )}+ {newSkill && draft && (+ <SkillEditor skill={{ name: newSkill.name, files: [{ path: 'SKILL.md',+ content: `---\nname: \ndescription: \n---\n` }] }}+ nameEditable onName={(n) => setNewSkill({ name: n })}+ onClose={() => setNewSkill(null)}+ onSave={(files) => {+ const nm = newSkill.name.trim().toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '');+ if (!nm) { setErr('Give the skill a name (kebab-case) at the top of the editor.'); return; }+ const sid = 'skl_' + crypto.randomUUID().replace(/-/g, '');+ upd({ skills: [...skills, { id: sid, name: nm, enabled: true, files }] });+ setNewSkill(null);+ }} />+ )}+ {mcpModal && draft && (+ <McpModal server={mcpModal.idx != null ? (draft.mcpServers[mcpModal.idx] as McpServer) : null}+ declaredHeaders={(draft.additionalHeaders || []).filter(Boolean)}+ onClose={() => setMcpModal(null)}+ onSave={async (srv) => {+ let auth = srv.auth;+ if (auth && !auth.startsWith('vault:') && !auth.startsWith('$headers.')) {+ try { auth = await storeMcpSecret(srv.name, auth); } catch { /* keep literal; gateway re-vaults */ }+ }+ const entry = { ...srv, auth };+ upd({ mcpServers: mcpModal.idx != null ? draft.mcpServers.map((x, k) => (k === mcpModal.idx ? entry : x)) : [...draft.mcpServers, entry] });+ setMcpModal(null);+ }} />+ )}+ {confirmDelete && draft && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header"><div><h2>Delete {draft.name}?</h2><p>Removes this Harness configuration. Existing task history stays readable.</p></div></div>+ <div className="modal-body">+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setConfirmDelete(false)}>Cancel</button>+ <button className="button primary" type="button" style={{ background: 'var(--red)', borderColor: 'var(--red)' }}+ onClick={async () => { await deleteCustom(draft.id); router.push('/harnesses'); }}>Delete</button>+ </div>+ </div>+ </section>+ </div>+ )}+ </section>+ );+}diff --git a/ui/src/app/(app)/harnesses/page.tsx b/ui/src/app/(app)/harnesses/page.tsxnew file mode 100644index 00000000..5055991d--- /dev/null+++ b/ui/src/app/(app)/harnesses/page.tsx@@ -0,0 +1,178 @@+'use client';+// Harnesses, per-harness operations + the only entry to configuration. Scannable table+// (purpose, health, runtime, tasks, success, last activity); row click opens the single+// Settings form at /harnesses/[id]. Instructions file names intentionally stay OFF the list.+import { useEffect, useState } from 'react';+import { SkelRows } from '@/components/Skel';+import { useRouter } from 'next/navigation';+import { OOB, oobById, oobDefaultModel, oobModels, useModelCatalog, createCustom } from '@/lib/harness';+import { HarnessLogo } from '@/components/HarnessLogo';+import { CopyId } from '@/components/CopyId';+import { fetchHarnessRows, groupByHarness, timeAgo, p95Of, avgCreditsOf, type HarnessRow, type TraceCard } from '@/lib/revamp-data';++export default function HarnessesPage() {+ useModelCatalog(); // model list comes from the gateway, not a local copy+ const router = useRouter();+ const [rows, setRows] = useState<HarnessRow[] | null>(null);+ const [byHarness, setByHarness] = useState<Map<string, TraceCard[]>>(new Map());+ const [q, setQ] = useState('');+ const [baseFlt, setBaseFlt] = useState('all');+ const [healthFlt, setHealthFlt] = useState('all');+ const [adding, setAdding] = useState(false);+ const [name, setName] = useState('');+ const [base, setBase] = useState('codex');+ const [model, setModel] = useState('');+ const [busy, setBusy] = useState(false);+ const [err, setErr] = useState<string | null>(null);++ useEffect(() => {+ let alive = true;+ fetchHarnessRows().then(({ rows, all }) => {+ if (alive) { setRows(rows); setByHarness(groupByHarness(all)); }+ }).catch(() => setRows([]));+ return () => { alive = false; };+ }, []);++ const baseOf = (r: HarnessRow) => (r.kind === 'builtin' ? r.id : (r.runtime.split(' · ')[0] || ''));+ // Display names: old records store base ids (claude-code) in the runtime label, resolve to the+ // OOB display name; model subtitle keeps the stored value, prettified when it's the default marker.+ const baseDisplay = (r: HarnessRow): { id: string; name: string; model: string } => {+ const [rawBase, rawModel] = r.runtime.split(' · ');+ const o = OOB.find((x) => x.id === rawBase || x.name === rawBase || x.id === rawBase?.toLowerCase().replace(/\s+/g, '-'));+ return { id: o?.id || '', name: o?.name || rawBase || '—',+ model: rawModel === 'backend default' ? 'Backend default' : (rawModel || '') };+ };+ const isDegraded = (r: HarnessRow) => r.stats.success != null && r.stats.success < 0.9 && r.stats.tasks7d >= 3;+ const filtered = (rows || [])+ .filter((r) => !q.trim() || r.name.toLowerCase().includes(q.toLowerCase()) || r.purpose.toLowerCase().includes(q.toLowerCase()))+ .filter((r) => {+ if (baseFlt === 'all') return true;+ const b = baseOf(r).toLowerCase();+ if (baseFlt === 'codex') return b.includes('codex');+ if (baseFlt === 'hermes') return b.includes('hermes');+ return b.includes('claude');+ })+ .filter((r) => healthFlt === 'all' || (healthFlt === 'review') === isDegraded(r));++ async function submitAdd() {+ if (!name.trim() || busy) return;+ setBusy(true); setErr(null);+ try {+ const base0 = OOB.find((o) => o.id === base);+ const c = await createCustom({ name: name.trim(), base, defaultModel: model || oobDefaultModel(base0) });+ router.push(`/harnesses/${encodeURIComponent(c.id)}`);+ } catch (e) {+ setErr(e instanceof Error ? e.message : String(e));+ setBusy(false);+ }+ }++ return (+ <section className="view is-active collection-view" id="view-harnesses">+ <div className="page">+ <div className="page-header">+ <div><h1>Harnesses</h1><p>Create, monitor, and configure the reusable agents in this Workspace.</p></div>+ <button className="button primary" type="button" onClick={() => { setName(''); setAdding(true); }}><iconify-icon icon="tabler:plus"></iconify-icon>Add Harness</button>+ </div>+ <div className="toolbar">+ <div className="collection-tools">+ <input className="search-input" type="search" placeholder="Search Harnesses" aria-label="Search Harnesses"+ value={q} onChange={(e) => setQ(e.target.value)} />+ <select className="select" aria-label="Filter by Base Harness" value={baseFlt} onChange={(e) => setBaseFlt(e.target.value)}>+ <option value="all">All Base Harnesses</option>+ <option value="codex">Codex</option>+ <option value="claude">Claude Code</option>+ <option value="hermes">Hermes</option>+ </select>+ <select className="select" aria-label="Filter Harnesses by health" value={healthFlt} onChange={(e) => setHealthFlt(e.target.value)}>+ <option value="all">All health</option>+ <option value="healthy">Healthy</option>+ <option value="review">Needs review</option>+ </select>+ </div>+ <span className="object-count">{rows ? `${filtered.length} Harness${filtered.length === 1 ? '' : 'es'}` : ''}</span>+ </div>+ <div className="table-wrap">+ <table className="harness-inventory-table">+ <thead><tr><th>Harness</th><th className="harness-desktop-col">Harness ID</th><th>Health</th><th className="harness-desktop-col">Base Harness</th><th className="harness-desktop-col">Tasks (7d)</th><th className="harness-desktop-col">Success</th><th className="harness-desktop-col">p95</th><th className="harness-desktop-col">Credits / Task</th><th className="harness-desktop-col">Last activity</th><th aria-label="Open"></th></tr></thead>+ <tbody>+ {filtered.map((r) => {+ const bad = isDegraded(r);+ const { id: baseId, name: baseName, model: modelName } = baseDisplay(r);+ return (+ <tr key={r.id} className="object-row" style={{ cursor: 'pointer' }}+ onClick={() => router.push(`/harnesses/${encodeURIComponent(r.id)}`)}>+ <td className="object-cell"><div className="object-title">+ <span className="object-icon"><iconify-icon icon={r.kind === 'builtin' ? 'tabler:box' : 'tabler:terminal-2'}></iconify-icon></span>+ <div className="object-copy"><strong>{r.name}</strong><span>{r.kind === 'builtin' ? `Built-in · ${r.purpose}` : r.purpose}</span></div>+ </div></td>+ <td className="harness-desktop-col" onClick={(e) => e.stopPropagation()}><CopyId value={r.id} /></td>+ <td><span className={'status ' + (bad ? 'warning' : 'healthy')}>{bad ? 'Needs review' : 'Healthy'}</span></td>+ <td className="harness-desktop-col"><div className="harness-runtime harness-runtime-logo"><HarnessLogo id={r.kind === 'builtin' ? r.id : baseId} size={22} /><div><strong>{baseName}</strong><span>{modelName || ''}</span></div></div></td>+ <td className="number harness-desktop-col">{r.stats.tasks7d}</td>+ <td className="number harness-desktop-col">{r.stats.success != null ? (r.stats.success * 100).toFixed(1) + '%' : '—'}</td>+ <td className="number harness-desktop-col">{p95Of(byHarness.get(r.id)) ?? '—'}</td>+ <td className="number harness-desktop-col">{avgCreditsOf(byHarness.get(r.id)) ?? '—'}</td>+ <td className="harness-desktop-col">{timeAgo(r.stats.lastActivity)}</td>+ <td><button className="row-action" type="button" aria-label={`Open ${r.name}`}><iconify-icon icon="tabler:chevron-right"></iconify-icon></button></td>+ </tr>+ );+ })}+ {rows && !filtered.length && <tr><td colSpan={10} className="session-empty">No harnesses match.</td></tr>}+ {!rows && <SkelRows rows={4} cols={10} first={200} />}+ </tbody>+ </table>+ </div>+ </div>++ {adding && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="addHarnessTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="addHarnessTitle">Add Harness</h2><p>Choose the Base Harness first. You can configure instructions, Tools, Skills, and limits after creation.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setAdding(false)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="field-stack">+ <div className="field"><label htmlFor="newHarnessName">Name</label>+ <input id="newHarnessName" value={name} placeholder="Customer Support Agent" autoFocus+ onChange={(e) => setName(e.target.value)} onKeyDown={(e) => { if (e.key === 'Enter') void submitAdd(); }} />+ <span className="field-help">Name the reusable agent configuration, not an individual Task.</span></div>+ <fieldset className="field" style={{ margin: 0, padding: 0, border: 0 }}>+ <legend style={{ marginBottom: 6, color: '#55555f', fontSize: 12, fontWeight: 650 }}>Base Harness</legend>+ <div className="base-choice-list">+ {OOB.filter((o) => o.status === 'ready').map((o) => (+ <label key={o.id} className="base-choice">+ <input type="radio" name="baseHarness" value={o.id} checked={base === o.id}+ onChange={() => { setBase(o.id); setModel(''); }} />+ <span className="base-choice-icon"><HarnessLogo id={o.id} size={24} /></span>+ <span className="base-choice-copy"><strong>{o.name}</strong>+ <span>{o.id === 'codex'+ ? 'Best for repository work, code changes, shell commands, and generated files.'+ : o.id === 'hermes'+ ? 'Self-improving agent that builds memory and skills across Tasks, best for evolving, long-running work.'+ : 'Best for long-context analysis, document workflows, and structured review.'}</span></span>+ <span className="base-choice-models">{oobDefaultModel(o)} default</span>+ </label>+ ))}+ </div>+ <span className="field-help">The Base Harness determines compatible models and inherited capabilities. It cannot be changed after creation.</span>+ </fieldset>+ <div className="field"><label htmlFor="newHarnessModel">Default model</label>+ <select id="newHarnessModel" value={model || oobDefaultModel(oobById(base))} onChange={(e) => setModel(e.target.value)}>+ {oobModels(oobById(base)).map((m) => <option key={m} value={m}>{m}</option>)}+ </select></div>+ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not create</strong>{err}</div></div>}+ </div>+ <div className="creation-next"><iconify-icon icon="tabler:arrow-right"></iconify-icon><span>Next, you’ll land in Harness Settings to review inherited Tools and Skills, add instructions, set runtime limits, and save the configuration.</span></div>+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setAdding(false)} disabled={busy}>Cancel</button>+ <button className="button primary" type="button" onClick={() => void submitAdd()} disabled={busy || !name.trim()}>{busy ? 'Creating…' : 'Create and configure'}</button>+ </div>+ </div>+ </section>+ </div>+ )}+ </section>+ );+}diff --git a/ui/src/app/(app)/integrations/page.tsx b/ui/src/app/(app)/integrations/page.tsxnew file mode 100644index 00000000..4b88646b--- /dev/null+++ b/ui/src/app/(app)/integrations/page.tsx@@ -0,0 +1,329 @@+'use client';+// Integrations, token-provider routing console (platform org only for now; the config is+// GLOBAL: it decides which provider serves each model for every harness). Two sections per+// the 2026-07-22 wireframe: (1) named provider integrations, each with credentials and its+// supported-model list (canonical name -> the provider's real model id); (2) the+// Model - Integration Mapping (canonical model -> which integration serves it).+// Server: GET/PUT /v1/admin/integrations (secrets sentinel'd, never round-tripped).+// Later: customer BYOK writes the same schema to the org tenant.+import { harnessFetch } from '@/lib/hfetch';+import { useCallback, useEffect, useMemo, useState } from 'react';+import { useRouter } from 'next/navigation';+import { SkelRows } from '@/components/Skel';+import { getSession } from '@/lib/auth';+import { authHeaders } from '@/lib/chat';++const INTEGRATIONS_ORGS = ['org.founderepsilla'];++interface ModelRow { canonical: string; provider_id: string }+interface Integration { name: string; provider: string; config: Record<string, string>; models: ModelRow[] }+interface Doc { integrations: Integration[]; model_map: Record<string, string>; providers: string[] }++const SECRET = '__secret__';+// Per-provider config fields (which of them is the secret). Shown in the Add/Edit panel.+const PROVIDER_FIELDS: Record<string, { key: string; label: string; secret?: boolean; placeholder?: string }[]> = {+ 'azure-foundry': [+ { key: 'base_url', label: 'Endpoint URL', placeholder: 'https://<resource>.openai.azure.com/openai/v1' },+ { key: 'api_key', label: 'API Key', secret: true },+ ],+ bedrock: [+ { key: 'aws_region', label: 'AWS Region', placeholder: 'us-east-1' },+ { key: 'aws_bearer_token', label: 'API Key (bearer token)', secret: true },+ ],+ openrouter: [+ { key: 'base_url', label: 'Base URL', placeholder: 'https://openrouter.ai/api/v1' },+ { key: 'api_key', label: 'API Key', secret: true },+ ],+ tokenrouter: [+ { key: 'base_url', label: 'Base URL', placeholder: 'https://api.tokenrouter.com/v1' },+ { key: 'api_key', label: 'API Key', secret: true },+ ],+ openai: [+ { key: 'base_url', label: 'Base URL', placeholder: 'https://api.openai.com/v1' },+ { key: 'api_key', label: 'API Key', secret: true },+ ],+ anthropic: [+ { key: 'base_url', label: 'Base URL (optional)', placeholder: 'https://api.anthropic.com' },+ { key: 'api_key', label: 'API Key', secret: true },+ ],+};+const PROVIDER_LABEL: Record<string, string> = {+ 'azure-foundry': 'Azure OpenAI', bedrock: 'AWS Bedrock', openrouter: 'OpenRouter',+ tokenrouter: 'TokenRouter', openai: 'OpenAI', anthropic: 'Anthropic',+};++export default function IntegrationsPage() {+ const router = useRouter();+ const org = getSession()?.orgId || '';+ const allowed = INTEGRATIONS_ORGS.includes(org);+ const [doc, setDoc] = useState<Doc | null>(null);+ const [err, setErr] = useState('');+ const [busy, setBusy] = useState(false);+ const [notice, setNotice] = useState('');+ const [editing, setEditing] = useState<Integration | null>(null); // panel draft+ const [editingOriginal, setEditingOriginal] = useState<string | null>(null); // name being edited, null = new+ const [confirmDelete, setConfirmDelete] = useState<string | null>(null);++ const reload = useCallback(() => {+ harnessFetch('/api/harness/v1/admin/integrations', { headers: authHeaders() })+ .then(async (r) => {+ if (!r.ok) throw new Error((await r.json().catch(() => null))?.detail || `${r.status}`);+ setDoc(await r.json());+ })+ .catch((e) => setErr(e instanceof Error ? e.message : 'load failed'));+ }, []);+ useEffect(() => { if (allowed) reload(); }, [allowed, reload]);++ async function persist(next: { integrations: Integration[]; model_map: Record<string, string> }) {+ setBusy(true); setErr('');+ try {+ const r = await harnessFetch('/api/harness/v1/admin/integrations', {+ method: 'PUT', headers: authHeaders(), body: JSON.stringify(next),+ });+ if (!r.ok) throw new Error((await r.json().catch(() => null))?.detail || `${r.status}`);+ setDoc({ ...(doc as Doc), ...(await r.json()) });+ setNotice('Saved.');+ setTimeout(() => setNotice(''), 2500);+ return true;+ } catch (e) {+ setErr(e instanceof Error ? e.message : 'save failed');+ return false;+ } finally { setBusy(false); }+ }++ // All canonical model names across integrations, the option set for the mapping rows.+ const allCanonicals = useMemo(() => {+ const s = new Set<string>();+ (doc?.integrations || []).forEach((i) => i.models.forEach((m) => s.add(m.canonical)));+ return [...s].sort();+ }, [doc]);++ if (!allowed) {+ return (+ <section className="view is-active"><div className="page">+ <div className="session-empty">This page is not available for your organization.</div>+ </div></section>+ );+ }++ return (+ <section className="view is-active" id="view-integrations">+ <div className="page">+ <div className="page-header">+ <div>+ <button className="back-link" type="button" onClick={() => router.push('/keys')}>+ <iconify-icon icon="tabler:arrow-left"></iconify-icon><span>API Keys</span></button>+ <h1>Integrations</h1>+ <p>Connect model providers and choose which one serves each model, applies to every Harness.</p>+ </div>+ <button className="button primary" type="button"+ onClick={() => { setEditing({ name: '', provider: 'openrouter', config: {}, models: [] }); setEditingOriginal(null); }}>+ <iconify-icon icon="tabler:plus"></iconify-icon>Add Integration</button>+ </div>++ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Something went wrong</strong>{err}</div></div>}+ {notice && <div className="itg-saved"><iconify-icon icon="tabler:check"></iconify-icon>{notice}</div>}++ {!doc ? <SkelRows rows={4} /> : (+ <>+ <div className="table-wrap">+ <table className="itg-table">+ <thead><tr><th>Name</th><th>Provider</th><th className="itg-desktop-col">Supported models</th><th aria-label="Actions"></th></tr></thead>+ <tbody>+ {doc.integrations.length === 0 && (+ <tr><td colSpan={4}><div className="session-empty">No integrations yet, add your first provider.</div></td></tr>+ )}+ {doc.integrations.map((i) => (+ <tr key={i.name} className="object-row" style={{ cursor: 'pointer' }}+ onClick={() => { setEditing(JSON.parse(JSON.stringify(i))); setEditingOriginal(i.name); }}>+ <td><strong>{i.name}</strong></td>+ <td>{PROVIDER_LABEL[i.provider] || i.provider}</td>+ <td className="itg-desktop-col"><span className="itg-models">{i.models.map((m) => m.canonical).join(', ') || '—'}</span></td>+ <td className="itg-row-actions">+ <button className="button danger-ghost" type="button" disabled={busy}+ onClick={(e) => { e.stopPropagation(); setConfirmDelete(i.name); }}>Delete</button>+ </td>+ </tr>+ ))}+ </tbody>+ </table>+ </div>++ <div className="itg-section-head">+ <div><h2>Model, Integration Mapping</h2>+ <p>When a Harness runs a model, this decides which integration serves it. Unmapped models use the built-in provider routing.</p></div>+ </div>+ <div className="table-wrap">+ <table className="itg-table itg-map-table">+ <thead><tr><th>Model</th><th>Integration</th><th aria-label="Actions"></th></tr></thead>+ <tbody>+ {Object.entries(doc.model_map).map(([model, iname]) => (+ <tr key={model}>+ <td>+ <select className="select" value={model} disabled={busy}+ onChange={(e) => {+ const next = { ...doc.model_map };+ delete next[model];+ next[e.target.value] = iname;+ void persist({ integrations: doc.integrations, model_map: next });+ }}>+ {[model, ...allCanonicals.filter((c) => c !== model && !(c in doc.model_map))].map((c) => (+ <option key={c} value={c}>{c}</option>+ ))}+ </select>+ </td>+ <td>+ <select className="select" value={iname} disabled={busy}+ onChange={(e) => void persist({+ integrations: doc.integrations,+ model_map: { ...doc.model_map, [model]: e.target.value },+ })}>+ {doc.integrations.filter((i) => i.models.some((m) => m.canonical === model)).map((i) => (+ <option key={i.name} value={i.name}>{i.name}</option>+ ))}+ {!doc.integrations.some((i) => i.name === iname) && <option value={iname}>{iname}</option>}+ </select>+ </td>+ <td className="itg-row-actions">+ <button className="button danger-ghost" type="button" disabled={busy}+ onClick={() => {+ const next = { ...doc.model_map };+ delete next[model];+ void persist({ integrations: doc.integrations, model_map: next });+ }}>Delete</button>+ </td>+ </tr>+ ))}+ <tr><td colSpan={3}>+ <AddMappingRow doc={doc} allCanonicals={allCanonicals} busy={busy}+ onAdd={(model, iname) => void persist({+ integrations: doc.integrations,+ model_map: { ...doc.model_map, [model]: iname },+ })} />+ </td></tr>+ </tbody>+ </table>+ </div>+ </>+ )}+ </div>++ {editing && doc && (+ <div className="modal-backdrop">+ <section className="modal itg-panel" role="dialog" aria-modal="true" aria-labelledby="itgTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="itgTitle">{editingOriginal ? 'Edit Integration' : 'Add Integration'}</h2>+ <p>A provider connection plus the models it serves.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setEditing(null)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="field-stack">+ <div className="field"><label htmlFor="itgName">Name</label>+ <input id="itgName" value={editing.name} placeholder="OpenRouter production"+ onChange={(e) => setEditing({ ...editing, name: e.target.value })} /></div>+ <div className="field"><label>Provider</label>+ <div className="itg-provider-list">+ {(doc.providers.length ? doc.providers : Object.keys(PROVIDER_FIELDS)).map((p) => (+ <button key={p} type="button"+ className={'itg-provider' + (editing.provider === p ? ' on' : '')}+ disabled={Boolean(editingOriginal)}+ onClick={() => setEditing({ ...editing, provider: p, config: {} })}>+ {PROVIDER_LABEL[p] || p}+ </button>+ ))}+ </div>+ </div>+ <div className="field"><label>Configs</label>+ <div className="field-stack">+ {(PROVIDER_FIELDS[editing.provider] || []).map((f) => (+ <div className="field" key={f.key}>+ <label htmlFor={`itg-${f.key}`} className="itg-sublabel">{f.label}</label>+ <input id={`itg-${f.key}`} type={f.secret ? 'password' : 'text'}+ value={editing.config[f.key] || ''} placeholder={f.secret && editing.config[f.key] === SECRET ? '•••••••• (saved)' : f.placeholder || ''}+ onChange={(e) => setEditing({ ...editing, config: { ...editing.config, [f.key]: e.target.value } })} />+ </div>+ ))}+ </div>+ </div>+ <div className="field"><label>Supported models</label>+ <p className="field-help">Canonical name (what users pick) → this provider’s model id (what the API call uses).</p>+ <div className="itg-modelgrid">+ {editing.models.map((m, idx) => (+ <div className="itg-modelrow" key={idx}>+ <input value={m.canonical} placeholder="claude-opus-4.8" aria-label="Canonical model name"+ onChange={(e) => setEditing({ ...editing, models: editing.models.map((x, k) => k === idx ? { ...x, canonical: e.target.value } : x) })} />+ <span className="itg-arrow">→</span>+ <input value={m.provider_id} placeholder="anthropic/claude-opus-4.8" aria-label="Provider model id"+ onChange={(e) => setEditing({ ...editing, models: editing.models.map((x, k) => k === idx ? { ...x, provider_id: e.target.value } : x) })} />+ <button className="icon-button" type="button" aria-label="Remove model"+ onClick={() => setEditing({ ...editing, models: editing.models.filter((_, k) => k !== idx) })}>+ <iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ ))}+ <button className="button" type="button"+ onClick={() => setEditing({ ...editing, models: [...editing.models, { canonical: '', provider_id: '' }] })}>+ <iconify-icon icon="tabler:plus"></iconify-icon>Add model</button>+ </div>+ </div>+ </div>+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setEditing(null)} disabled={busy}>Cancel</button>+ <button className="button primary" type="button" disabled={busy || !editing.name.trim()}+ onClick={async () => {+ const rest = doc.integrations.filter((i) => i.name !== (editingOriginal ?? editing.name));+ // renames retarget the mapping rows that pointed at the old name+ const mm = Object.fromEntries(Object.entries(doc.model_map).map(([k, v]) =>+ [k, v === editingOriginal ? editing.name.trim() : v]));+ if (await persist({ integrations: [...rest, { ...editing, name: editing.name.trim() }], model_map: mm })) setEditing(null);+ }}>{busy ? 'Saving…' : editingOriginal ? 'Save' : 'Create'}</button>+ </div>+ </div>+ </section>+ </div>+ )}++ {confirmDelete && doc && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header"><div><h2>Delete integration</h2>+ <p>“{confirmDelete}” and any model mappings pointing at it will be removed. Models fall back to the built-in provider routing.</p></div></div>+ <div className="modal-actions" style={{ padding: '0 22px 20px' }}>+ <button className="button" type="button" onClick={() => setConfirmDelete(null)} disabled={busy}>Cancel</button>+ <button className="button danger" type="button" disabled={busy}+ onClick={async () => {+ const mm = Object.fromEntries(Object.entries(doc.model_map).filter(([, v]) => v !== confirmDelete));+ if (await persist({ integrations: doc.integrations.filter((i) => i.name !== confirmDelete), model_map: mm })) setConfirmDelete(null);+ }}>{busy ? 'Deleting…' : 'Delete'}</button>+ </div>+ </section>+ </div>+ )}+ </section>+ );+}++function AddMappingRow({ doc, allCanonicals, busy, onAdd }: {+ doc: Doc; allCanonicals: string[]; busy: boolean; onAdd: (model: string, iname: string) => void;+}) {+ const unmapped = allCanonicals.filter((c) => !(c in doc.model_map));+ const [model, setModel] = useState('');+ const [iname, setIname] = useState('');+ const eligible = doc.integrations.filter((i) => i.models.some((m) => m.canonical === model));+ return (+ <div className="itg-addmap">+ <select className="select" value={model} disabled={busy} aria-label="Model to map"+ onChange={(e) => { setModel(e.target.value); setIname(''); }}>+ <option value="">Choose a model…</option>+ {unmapped.map((c) => <option key={c} value={c}>{c}</option>)}+ </select>+ <select className="select" value={iname} disabled={busy || !model} aria-label="Integration to serve it"+ onChange={(e) => setIname(e.target.value)}>+ <option value="">Choose an integration…</option>+ {eligible.map((i) => <option key={i.name} value={i.name}>{i.name}</option>)}+ </select>+ <button className="button" type="button" disabled={busy || !model || !iname}+ onClick={() => { onAdd(model, iname); setModel(''); setIname(''); }}>+ <iconify-icon icon="tabler:plus"></iconify-icon>Add Mapping</button>+ </div>+ );+}diff --git a/ui/src/app/(app)/keys/page.tsx b/ui/src/app/(app)/keys/page.tsxnew file mode 100644index 00000000..72c122b4--- /dev/null+++ b/ui/src/app/(app)/keys/page.tsx@@ -0,0 +1,193 @@+'use client';+// API Keys, per the finalized 2026-07-19 design revision (prototype view-api-keys):+// page header + Create button, search toolbar with the shown-once security note, table+// (Name / Key / Last used / Created) with a per-row dots menu for Revoke, and the+// create modal with one-time reveal. Keys are workspace-scoped (CT-249). "Last used"+// is not tracked by the gateway yet, it renders "—" rather than a guess.+import { harnessFetch } from '@/lib/hfetch';+import { useCallback, useEffect, useRef, useState } from 'react';+import { SkelRows } from '@/components/Skel';+import { getSession } from '@/lib/auth';+import { useWorkspace } from '@/lib/workspace';++interface Key { id: string; name?: string; created_at?: string; revoked?: boolean; member?: string; workspace?: string; last_used?: string }++function fmtDate(s?: string): string {+ const n = Number(s); if (!n) return '—';+ try { return new Date(n * (n < 1e12 ? 1000 : 1)).toLocaleDateString(undefined, { year: 'numeric', month: 'short', day: 'numeric' }); } catch { return '—'; }+}++export default function KeysPage() {+ const [keys, setKeys] = useState<Key[] | null>(null);+ const [err, setErr] = useState('');+ const [search, setSearch] = useState('');+ const [name, setName] = useState('');+ const [creating, setCreating] = useState(false);+ const [busy, setBusy] = useState(false);+ const [minted, setMinted] = useState<string | null>(null);+ const [copied, setCopied] = useState(false);+ const [menuFor, setMenuFor] = useState<string | null>(null);+ const [revoking, setRevoking] = useState<Key | null>(null);+ const menuRef = useRef<HTMLDivElement>(null);++ const org = getSession()?.orgId || '';+ const member = getSession()?.member?.email || getSession()?.member?.id || '';+ const base = `/api/harness/v1/orgs/${encodeURIComponent(org)}/keys`;+ const { current, defaultId } = useWorkspace();+ const isDefaultWs = !current.id || current.id === defaultId;++ const reload = useCallback(() => {+ if (!org) { setErr('No org in session.'); return; }+ harnessFetch(base)+ .then((r) => r.json())+ .then((d) => setKeys((d.keys || []).filter((k: Key) => !k.revoked)+ // Keys belong to a workspace; unstamped legacy keys belong to the Default Workspace.+ .filter((k: Key) => !current.id || (k.workspace || '') === current.id || (isDefaultWs && !k.workspace))))+ .catch((e) => setErr(e instanceof Error ? e.message : String(e)));+ }, [base, org, current.id, isDefaultWs]);+ useEffect(reload, [reload]);++ useEffect(() => {+ const close = (e: MouseEvent) => {+ if (menuRef.current && !menuRef.current.contains(e.target as Node)) setMenuFor(null);+ };+ document.addEventListener('mousedown', close);+ return () => document.removeEventListener('mousedown', close);+ }, []);++ async function mint() {+ if (busy) return; // name is OPTIONAL, never gate the action on it+ setBusy(true); setErr('');+ try {+ const finalName = name.trim() || 'Untitled key';+ const r = await harnessFetch(base, { method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ name: finalName, member_id: member,+ workspace: current.id || '', workspace_default: isDefaultWs }) });+ const d = await r.json();+ if (!r.ok) throw new Error(d.detail || JSON.stringify(d));+ setMinted(d.key); setCopied(false); setName(''); reload();+ } catch (e) { setErr(e instanceof Error ? e.message : String(e)); }+ finally { setBusy(false); }+ }++ async function revoke(id: string) {+ await harnessFetch(`${base}/${encodeURIComponent(id)}`, { method: 'DELETE' });+ setRevoking(null); setMenuFor(null); reload();+ }++ const shown = (keys || []).filter((k) =>+ !search.trim() || (k.name || '').toLowerCase().includes(search.trim().toLowerCase()));++ return (+ <section className="view is-active" id="view-api-keys">+ <div className="page">+ <div className="page-header">+ <div><h1>API Keys</h1><p>Create and revoke credentials scoped to <span className="workspace-name">{current.name}</span>.</p></div>+ <button className="button primary" type="button" disabled={!org}+ onClick={() => { setName(''); setErr(''); setMinted(null); setCreating(true); }}>+ <iconify-icon icon="tabler:plus"></iconify-icon>Create API Key+ </button>+ </div>+ <div className="api-key-toolbar">+ <label className="api-key-search">+ <span className="sr-only">Search API keys</span>+ <iconify-icon icon="tabler:search"></iconify-icon>+ <input className="search-input" type="search" placeholder="Search keys" autoComplete="off"+ value={search} onChange={(e) => setSearch(e.target.value)} />+ </label>+ <div className="api-key-toolbar-meta">+ <span className="api-key-security"><iconify-icon icon="tabler:shield-lock"></iconify-icon>New secrets are shown once</span>+ </div>+ </div>+ {err && !creating && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not load keys</strong>{err}</div></div>}+ <div className="table-wrap">+ <table><thead><tr><th>Name</th><th>Key</th><th>Last used</th><th>Created</th><th aria-label="Actions"></th></tr></thead><tbody>+ {shown.map((k) => (+ <tr key={k.id}>+ <td><strong>{k.name || 'Untitled key'}</strong></td>+ <td><code>sk-hr-••••{(k.id || '').slice(-4)}</code></td>+ <td>{fmtDate(k.last_used)}</td>+ <td>{fmtDate(k.created_at)}</td>+ <td>+ <div className="api-key-menu-wrap" ref={menuFor === k.id ? menuRef : undefined}>+ <button className="row-action" type="button" aria-label={`Manage ${k.name || 'key'}`}+ aria-expanded={menuFor === k.id}+ onClick={() => setMenuFor(menuFor === k.id ? null : k.id)}>+ <iconify-icon icon="tabler:dots"></iconify-icon>+ </button>+ {menuFor === k.id && (+ <div className="api-key-menu">+ <button className="danger" type="button" onClick={() => { setMenuFor(null); setRevoking(k); }}>Revoke key</button>+ </div>+ )}+ </div>+ </td>+ </tr>+ ))}+ </tbody></table>+ {keys === null && <table><tbody><SkelRows rows={3} cols={5} first={140} /></tbody></table>}+ {keys != null && keys.length === 0 && (+ <div className="api-key-empty">No API keys yet. Use <b>Create API Key</b> to make one and call the API.</div>+ )}+ {keys != null && keys.length > 0 && shown.length === 0 && (+ <div className="api-key-empty">No keys match this search.</div>+ )}+ </div>+ </div>++ {creating && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="newKeyTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="newKeyTitle">Create API Key</h2><p>A secret key for the public API, scoped to <span className="workspace-name">{current.name}</span>. The secret is shown once, right after creation.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setCreating(false)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ {!minted ? (+ <div className="modal-body">+ <div className="field-stack">+ <div className="field"><label htmlFor="newKeyName">Key name <span className="optional-label">Optional</span></label>+ <input id="newKeyName" value={name} placeholder="e.g. production" autoFocus+ onChange={(e) => setName(e.target.value)}+ onKeyDown={(e) => { if (e.key === 'Enter') void mint(); }} /></div>+ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not create</strong>{err}</div></div>}+ </div>+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setCreating(false)} disabled={busy}>Cancel</button>+ <button className="button primary" type="button" onClick={() => void mint()} disabled={busy}>{busy ? 'Creating…' : 'Create API Key'}</button>+ </div>+ </div>+ ) : (+ <div className="modal-body">+ <div className="key-reveal"><code>{minted}</code><span>This key is shown once. Copy it now, for security it is never shown again.</span></div>+ <div className="security-note"><iconify-icon icon="tabler:shield-lock"></iconify-icon><span>Never paste this key into normal chat, source files, browser code, logs, or screenshots.</span></div>+ <div className="modal-actions">+ <span className="copy-state" role="status" aria-live="polite">{copied ? 'Copied' : ''}</span>+ <button className="button" type="button" onClick={async () => { try { await navigator.clipboard.writeText(minted); setCopied(true); } catch { /* blocked */ } }}>+ <iconify-icon icon={copied ? 'tabler:check' : 'tabler:copy'}></iconify-icon>{copied ? 'Copied' : 'Copy API Key'}</button>+ <button className="button primary" type="button" onClick={() => { setCreating(false); setMinted(null); }}>Done</button>+ </div>+ </div>+ )}+ </section>+ </div>+ )}++ {revoking && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="revokeTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="revokeTitle">Revoke “{revoking.name || 'Untitled key'}”?</h2><p>Any integration using this key will immediately stop working. This cannot be undone.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setRevoking(null)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setRevoking(null)}>Cancel</button>+ <button className="button danger" type="button" onClick={() => void revoke(revoking.id)}>Revoke key</button>+ </div>+ </div>+ </section>+ </div>+ )}+ </section>+ );+}diff --git a/ui/src/app/(app)/layout.tsx b/ui/src/app/(app)/layout.tsxnew file mode 100644index 00000000..b7e310dd--- /dev/null+++ b/ui/src/app/(app)/layout.tsx@@ -0,0 +1,141 @@+'use client';+// Revamped IA (2026-07-18 UX/UI revamp): Dashboard (org) + Workspace-scoped sidebar navigation+// (Quickstart / Overview / Harnesses / Tasks / Analytics / API Keys / Settings), replacing the old+// top-nav (AGENTS.md / API Keys / Manage / Playground / Billing). Design source:+// 02-产品与设计/assets/HTML原型/2026-07-17-HIG-UIUX-重构沟通示例.html + the 2026-07-17 IA review.+import '../revamp.css';+import { SkelPage } from '@/components/Skel';+import { useEffect, useState } from 'react';+import { usePathname, useRouter } from 'next/navigation';+import { isAuthed, hasActiveOrg, getSession, refreshToken } from '@/lib/auth';+import { WorkspaceProvider } from '@/lib/workspace';+import { Shell } from '@/components/revamp/Shell';+import { billing } from './billing/lib';+import { SELF_HOSTED } from '@/lib/edition';++// Pages that keep their own full-page chrome (no revamp shell): the AGENTS.md doc page stays a+// standalone doc surface reachable from Docs; everything else lives in the shell.+const BARE: string[] = [];++export default function AppLayout({ children }: { children: React.ReactNode }) {+ const router = useRouter();+ const pathname = usePathname() || '';+ const [ready, setReady] = useState(false);+ const [credits, setCredits] = useState<number | null>(null);+ // First-login welcome, shown ONCE EVER per member (persistent flag keyed by member id).+ // Nothing is granted at signup or on card-add. The only promotion is the subscribe bonus,+ // paid on the first real invoice, so this popup points at the plans. step: 0 = none, 1 = offer.+ // The invite-a-friend popup is intentionally disabled (referral rewards are off).+ const [welcomeStep, setWelcomeStep] = useState(0);++ const welcomeSeenKey = () => `hr-welcome-prompted.${getSession()?.member?.id || getSession()?.member?.email || ''}`;++ useEffect(() => {+ if (SELF_HOSTED) { setReady(true); return; }+ if (!isAuthed()) { router.replace('/login'); return; }+ // Multi-org members land here with an org-less session (no auto-select); every org-scoped+ // page would 400 ("no active organization in session"). Send them to /login to pick an org+ // instead of showing a wall of failing/hanging panels.+ if (!hasActiveOrg()) { router.replace('/login'); return; }+ // Slide the session TTL on every app load: an active user's token never hard-expires.+ // A 401 here (token already dead) redirects to /login via handleAuthExpired.+ void refreshToken();+ setReady(true);+ }, [router]);++ // First-login celebration: run ONCE on ready (not on every balance refresh).+ useEffect(() => {+ if (!ready || SELF_HOSTED) return;+ let alive = true;+ billing.balance().then((b) => {+ if (!alive) return;+ setCredits(Math.round(Number(b?.balance ?? b?.credits ?? 0)));+ // Offer the claim once per member. Skipped on /billing (its own surface has the same CTA).+ // Persistent flag so a returning user is never nagged.+ let seen = true;+ try { seen = !!window.localStorage.getItem(welcomeSeenKey()); } catch { /* private mode */ }+ if (!seen && !pathname.startsWith('/billing')) {+ setWelcomeStep(1);+ try { window.localStorage.setItem(welcomeSeenKey(), '1'); } catch { /* private mode */ }+ }+ }).catch(() => { /* header shows an em dash */ });+ return () => { alive = false; };+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [ready]);++ // Keep the nav credit balance fresh WITHOUT a manual refresh: poll every 60s and on tab refocus,+ // so a just-finished run or a top-up shows up on its own. Balance-only (never re-triggers the+ // welcome popup). Pauses while the tab is hidden to avoid idle churn.+ useEffect(() => {+ if (!ready || SELF_HOSTED) return;+ let alive = true;+ const refresh = () => {+ if (document.visibilityState === 'hidden') return;+ billing.balance().then((b) => {+ if (alive) setCredits(Math.round(Number(b?.balance ?? b?.credits ?? 0)));+ }).catch(() => { /* keep the last shown value */ });+ };+ const iv = setInterval(refresh, 60_000);+ const onFocus = () => refresh();+ window.addEventListener('focus', onFocus);+ document.addEventListener('visibilitychange', onFocus);+ return () => {+ alive = false; clearInterval(iv);+ window.removeEventListener('focus', onFocus);+ document.removeEventListener('visibilitychange', onFocus);+ };+ }, [ready]);++ if (!ready) return <main style={{ marginLeft: 0 }}><SkelPage /></main>;+ if (BARE.some((p) => pathname.startsWith(p))) return <>{children}</>;++ return (+ <WorkspaceProvider>+ <Shell credits={credits}>{children}</Shell>++ {/* ONE promotion, one surface: subscribe to any plan -> 500 bonus credits. The card-add gift+ and the 7-day trial were both removed on 2026-07-31 — they funded a credit-farming ring+ (170 cards attached across the platform, exactly one real payment ever), because+ "attached a card" and "paid us" were treated as the same thing. Shown once per member. */}+ {welcomeStep === 1 ? (+ <div className="welcome-overlay" role="dialog" aria-modal="true" aria-labelledby="welcome-wide-title">+ <div className="welcome-wide">+ <button className="welcome-wide-close" type="button" aria-label="Close" onClick={() => setWelcomeStep(0)}>+ <iconify-icon icon="tabler:x"></iconify-icon>+ </button>+ <div className="welcome-wide-head">+ <div className="welcome-eyebrow"><iconify-icon icon="tabler:gift"></iconify-icon>Launch offer</div>+ <h2 className="welcome-title" id="welcome-wide-title">Subscribe and get <b>500 bonus credits</b></h2>+ <p className="welcome-sub">Start any plan and we'll add <b>500 credits</b> on top of your plan's monthly credits. They land as soon as your first payment goes through.</p>+ </div>+ <div className="welcome-cards">+ {/* Left — launch-partner sponsorship */}+ <div className="welcome-col">+ <div className="welcome-col-badge sponsor">+ {/* eslint-disable-next-line @next/next/no-img-element -- static partner asset */}+ <img src="/tokenrouter-logo.png" alt="TokenRouter" />+ </div>+ <h3 className="welcome-col-title">Sponsored by our Launch Partner</h3>+ <p className="welcome-col-sub">Your bonus credits are made possible by <b>TokenRouter</b>. Their support helps us give every new builder a real head start — thank you.</p>+ <div className="welcome-col-spacer" />+ <button className="welcome-cta" type="button" onClick={() => { router.push('/billing'); setWelcomeStep(0); }}>+ <iconify-icon icon="tabler:sparkles"></iconify-icon>View plans+ </button>+ </div>+ {/* Right — the offer itself */}+ <div className="welcome-col accent">+ <div className="welcome-col-badge"><iconify-icon icon="tabler:sparkles"></iconify-icon></div>+ <h3 className="welcome-col-title">Any plan, <b>500 bonus</b></h3>+ <p className="welcome-col-sub">Pick whichever plan fits. The 500 bonus credits are added once, on your first payment, and stack on top of the credits your plan already includes.</p>+ <div className="welcome-col-spacer" />+ <button className="welcome-cta" type="button" onClick={() => { router.push('/billing'); setWelcomeStep(0); }}>+ <iconify-icon icon="tabler:sparkles"></iconify-icon>Choose a plan+ </button>+ </div>+ </div>+ </div>+ </div>+ ) : null}+ </WorkspaceProvider>+ );+}diff --git a/ui/src/app/(app)/marketplace/page.tsx b/ui/src/app/(app)/marketplace/page.tsxnew file mode 100644index 00000000..68af8a94--- /dev/null+++ b/ui/src/app/(app)/marketplace/page.tsx@@ -0,0 +1,9 @@+export const metadata = { title: 'Marketplace' };+export default function Marketplace() {+ return (+ <div className="hr-wrap">+ <h2 className="hr-h2">Marketplace <span className="hr-soon">soon</span></h2>+ <p className="hr-meta">Discover and share community harnesses, MCP servers, and skills. Coming soon.</p>+ </div>+ );+}diff --git a/ui/src/app/(app)/monetization/page.tsx b/ui/src/app/(app)/monetization/page.tsxnew file mode 100644index 00000000..210ef461--- /dev/null+++ b/ui/src/app/(app)/monetization/page.tsx@@ -0,0 +1,137 @@+'use client';+// Monetization, per the finalized 2026-07-19 design revision (prototype view-monetization):+// Overview / Products & pricing / Customers & access / Payouts tabs.+// The Stripe Connect backend is CT-125 (in progress): every number here is server-provided+// once connected, nothing is invented client-side. Until then each tab shows its real+// not-connected state, and the static explainers (settlement flow, fee policy) render as+// designed so developers understand the contract before onboarding.+import { useState } from 'react';+import { useWorkspace } from '@/lib/workspace';++const TABS = [+ { id: 'overview', label: 'Overview' },+ { id: 'products', label: 'Products & pricing' },+ { id: 'customers', label: 'Customers & access' },+ { id: 'payouts', label: 'Payouts' },+] as const;+type TabId = typeof TABS[number]['id'];++function NotConnected({ children }: { children?: React.ReactNode }) {+ return (+ <div className="dashboard-card" style={{ padding: 28 }}>+ <div style={{ display: 'flex', alignItems: 'flex-start', gap: 14 }}>+ <iconify-icon icon="tabler:building-bank" style={{ fontSize: 26, color: 'var(--accent)' }}></iconify-icon>+ <div>+ <h2 style={{ margin: 0, fontSize: 16 }}>Stripe is not connected yet</h2>+ <p style={{ margin: '6px 0 0', color: 'var(--muted)', fontSize: 13, maxWidth: 640, lineHeight: 1.55 }}>+ Monetization turns on when this Workspace connects a Stripe account. Secure Stripe+ onboarding creates the connected payout account and collects identity and bank+ details, a prior Stripe account is not required.+ </p>+ {children}+ <button className="button primary" type="button" disabled title="Stripe Connect onboarding is being built"+ style={{ marginTop: 14 }}>+ <iconify-icon icon="tabler:plug-connected"></iconify-icon>Connect Stripe, coming soon+ </button>+ </div>+ </div>+ </div>+ );+}++export default function MonetizationPage() {+ const { current } = useWorkspace();+ const [tab, setTab] = useState<TabId>('overview');++ return (+ <section className="view is-active" id="view-monetization">+ <div className="page">+ <div className="page-header">+ <div><h1>Monetization</h1><p>Manage what end users can buy, verify their access, and understand the revenue of <span className="workspace-name">{current.name}</span>.</p></div>+ </div>+ <div className="tabs monetization-tabs" role="tablist" aria-label="Monetization sections">+ {TABS.map((t) => (+ <button key={t.id} className="tab" role="tab" aria-selected={tab === t.id}+ onClick={() => setTab(t.id)}>{t.label}</button>+ ))}+ </div>++ {tab === 'overview' && (+ <div className="tab-panel is-active">+ <div className="dashboard-card-head">+ <div><h2>Business performance</h2><p>Payments from end users of this Workspace.</p></div>+ </div>+ <div className="dashboard-kpis" aria-label="Revenue key metrics">+ <div className="kpi-card green"><span>Gross revenue (MTD, USD)</span><strong>—</strong><small>Successful end-user payments</small><iconify-icon icon="tabler:currency-dollar"></iconify-icon></div>+ <div className="kpi-card"><span>Net sales (MTD, USD)</span><strong>—</strong><small>After fees and refunds</small><iconify-icon icon="tabler:chart-line"></iconify-icon></div>+ <div className="kpi-card primary-tint"><span>Pending balance</span><strong>—</strong><small>Inside the 7-day refund hold</small><iconify-icon icon="tabler:clock-hour-4"></iconify-icon></div>+ <div className="kpi-card blue"><span>Available to payout</span><strong>—</strong><small>Net of fees, refunds, and holds</small><iconify-icon icon="tabler:building-bank"></iconify-icon></div>+ </div>+ <NotConnected>+ <p style={{ margin: '10px 0 0', color: 'var(--muted)', fontSize: 13, maxWidth: 640, lineHeight: 1.55 }}>+ Once connected, this tab shows gross revenue, net sales, the revenue trend, product+ performance, and every payment and refund, all reconciled server-side.+ </p>+ </NotConnected>+ </div>+ )}++ {tab === 'products' && (+ <div className="tab-panel is-active">+ <div className="monetization-panel-head">+ <div><h2>Products & pricing</h2><p>Define what end users buy and the App access each purchase unlocks.</p></div>+ <button className="button primary" type="button" disabled title="Available after Stripe is connected">+ <iconify-icon icon="tabler:plus"></iconify-icon>New product+ </button>+ </div>+ <div className="dashboard-card" style={{ padding: 24 }}>+ <p style={{ margin: 0, color: 'var(--muted)', fontSize: 13, lineHeight: 1.55, maxWidth: 680 }}>+ Products define a price (one-time or monthly) and the App Credits a purchase unlocks+ inside your product. Product prices and App Credits belong to this Workspace business;+ HarnessRouter production Credits remain account-wide under Credits & Billing.+ Product creation opens after Stripe is connected.+ </p>+ <p style={{ margin: '10px 0 0', color: 'var(--muted)', fontSize: 12.5 }}>+ <span className="info-label">Platform fee+ <span className="info-tip" tabIndex={0} aria-label="Platform fee details">+ <iconify-icon icon="tabler:info-circle"></iconify-icon>+ <span className="info-tip-content" role="tooltip">HarnessRouter charges 5% of successful pre-tax payments. Stripe processing and payout fees are separate and vary.</span>+ </span>+ </span>+ </p>+ </div>+ </div>+ )}++ {tab === 'customers' && (+ <div className="tab-panel is-active">+ <div className="monetization-panel-head"><div><h2>Customers & access</h2><p>Confirm which product a customer owns and whether the corresponding App access is available.</p></div></div>+ <div className="dashboard-card" style={{ padding: 24 }}>+ <p style={{ margin: 0, color: 'var(--muted)', fontSize: 13, lineHeight: 1.55, maxWidth: 680 }}>+ Paying customers appear here with their product, access status, remaining App Credits,+ and renewal date, populated from real purchases once Stripe is connected and your+ product sells its first plan.+ </p>+ </div>+ </div>+ )}++ {tab === 'payouts' && (+ <div className="tab-panel is-active">+ <div className="monetization-panel-head"><div><h2>Payouts</h2><p>Understand when end-user revenue becomes available and where HarnessRouter sends it.</p></div></div>+ <NotConnected />+ <div className="section-header"><h2>Settlement flow</h2></div>+ <div className="money-flow" aria-label="End-user payment flow">+ <div className="money-flow-step"><strong>End-user payment</strong><span>Creates product access immediately.</span></div><iconify-icon icon="tabler:arrow-right"></iconify-icon>+ <div className="money-flow-step"><strong>Pending · 7 days</strong><span>Held for the Workspace refund policy.</span></div><iconify-icon icon="tabler:arrow-right"></iconify-icon>+ <div className="money-flow-step"><strong>Available balance</strong><span>Net amount eligible for payout.</span></div><iconify-icon icon="tabler:arrow-right"></iconify-icon>+ <div className="money-flow-step"><strong>Bank payout</strong><span>Transferred according to Stripe payout settings.</span></div>+ </div>+ <div className="payout-guidance"><iconify-icon icon="tabler:info-circle"></iconify-icon><p><strong>Revenue is not immediately withdrawable.</strong> New payments remain pending during the 7-day refund hold. Refunds appear in Monetization Overview and reduce the balance before it becomes available.</p></div>+ <p className="monetization-note">A prior Stripe account is not required. Secure Stripe onboarding creates the connected payout account and collects identity and bank details. Eligible debit cards can support Instant Payouts in selected regions; a standard credit card is not a payout destination.</p>+ </div>+ )}+ </div>+ </section>+ );+}diff --git a/ui/src/app/(app)/overview/page.tsx b/ui/src/app/(app)/overview/page.tsxnew file mode 100644index 00000000..e2aad0ec--- /dev/null+++ b/ui/src/app/(app)/overview/page.tsx@@ -0,0 +1,263 @@+'use client';+// Workspace Overview, the merged Overview + Analytics page, per the finalized 2026-07-19+// design revision (prototype view-workspace): KPI cards, activity chart (Tasks bars ++// success line), needs-attention card, Harness health table, Recent Tasks, readiness strip.+// Aggregates are computed client-side from the newest trace-card window (up to 200), the+// gateway has no server aggregation yet (recorded on the board); the footnote states the+// window. Revenue reads "—" until Stripe Connect lands (CT-125): no invented numbers.+import { useEffect, useMemo, useRef, useState } from 'react';+import { useRouter } from 'next/navigation';+import { Chart, registerables } from 'chart.js';+import { getSession } from '@/lib/auth';+import { useWorkspace } from '@/lib/workspace';+import { fetchHarnessRows, statsFor, timeAgo, statusChip, TERMINAL_BAD, TERMINAL_OK,+ type HarnessRow, type TraceCard } from '@/lib/revamp-data';+import { billing } from '../billing/lib';+import { SkelLine, SkelRows } from '@/components/Skel';++Chart.register(...registerables);++const RANGES = [+ { key: '7d', label: 'Last 7 days', days: 7 },+ { key: '24h', label: 'Last 24 hours', days: 1 },+ { key: '30d', label: 'Last 30 days', days: 30 },+] as const;+type RangeKey = typeof RANGES[number]['key'];+const DAY = 86400_000;++function inRange(c: TraceCard, days: number, endOffsetDays = 0, now = Date.now()): boolean {+ const t = (c.finished_at || 0) * 1000;+ return t > now - (days + endOffsetDays) * DAY && t <= now - endOffsetDays * DAY;+}++/** Per-day buckets over `days` (oldest first): task count + success % of terminal tasks. */+function activityBuckets(cards: TraceCard[], days: number, now = Date.now()) {+ const out: { label: string; count: number; success: number | null }[] = [];+ for (let i = days - 1; i >= 0; i--) {+ const d0 = new Date(now - i * DAY);+ const dayStart = new Date(d0.getFullYear(), d0.getMonth(), d0.getDate()).getTime();+ const inDay = cards.filter((c) => { const t = (c.finished_at || 0) * 1000; return t >= dayStart && t < dayStart + DAY; });+ const term = inDay.filter((c) => TERMINAL_OK.has(c.status || '') || TERMINAL_BAD.has(c.status || ''));+ const ok = term.filter((c) => TERMINAL_OK.has(c.status || '')).length;+ out.push({+ label: d0.toLocaleDateString('en-US', { month: 'short', day: 'numeric' }),+ count: inDay.length,+ success: term.length ? Math.round((ok / term.length) * 1000) / 10 : null,+ });+ }+ return out;+}++function ActivityChart({ cards, days }: { cards: TraceCard[]; days: number }) {+ const ref = useRef<HTMLCanvasElement>(null);+ useEffect(() => {+ if (!ref.current) return;+ const buckets = activityBuckets(cards, Math.max(days, 2));+ // Dynamic success floor like the design (94-100 band): the line floats mid-chart instead of+ // hugging the top, and clip:false keeps the 100% dots from being cut at the plot edge.+ const vals = buckets.map((b) => b.success).filter((x): x is number => x != null);+ const yMin = vals.length ? Math.min(94, Math.max(0, Math.floor(Math.min(...vals)) - 2)) : 94;+ const chart = new Chart(ref.current, {+ type: 'line',+ data: {+ labels: buckets.map((b) => b.label),+ datasets: [+ { type: 'bar', label: 'Tasks', data: buckets.map((b) => b.count), yAxisID: 'y1', order: 2,+ backgroundColor: 'rgba(40,90,255,.13)', borderColor: 'rgba(40,90,255,.22)',+ borderWidth: 1, borderRadius: 4, maxBarThickness: 28 },+ { type: 'line', label: 'Overall success', data: buckets.map((b) => b.success),+ borderColor: '#285aff', backgroundColor: '#285aff', borderWidth: 2.5, pointRadius: 2.5,+ tension: .3, spanGaps: true, clip: false },+ ],+ },+ options: {+ responsive: true, maintainAspectRatio: false, animation: false,+ plugins: { legend: { display: false }, tooltip: { intersect: false, mode: 'index' } },+ scales: {+ x: { grid: { display: false }, ticks: { color: '#777782', font: { size: 10 } } },+ y: { min: yMin, max: 100, grid: { color: '#eeeef2' },+ ticks: { color: '#777782', font: { size: 10 }, callback: (v) => `${v}%` } },+ y1: { position: 'right', beginAtZero: true, grid: { drawOnChartArea: false },+ ticks: { color: '#777782', font: { size: 10 }, precision: 0 } },+ },+ },+ });+ return () => chart.destroy();+ }, [cards, days]);+ return <canvas ref={ref} role="img" aria-label="Daily Task volume and overall success rate" />;+}++export default function OverviewPage() {+ const router = useRouter();+ const { current, loading } = useWorkspace();+ const [rows, setRows] = useState<HarnessRow[] | null>(null);+ const [all, setAll] = useState<TraceCard[]>([]);+ const [credits30, setCredits30] = useState<number | null>(null);+ const [range, setRange] = useState<RangeKey>('7d');+ const days = RANGES.find((r) => r.key === range)!.days;++ useEffect(() => {+ if (loading) return;+ let alive = true;+ fetchHarnessRows().then(({ rows, all }) => { if (alive) { setRows(rows); setAll(all); } }).catch(() => setRows([]));+ const to = new Date(); const from = new Date(Date.now() - 30 * DAY);+ billing.usage({ from: from.toISOString().slice(0, 10), to: to.toISOString().slice(0, 10), bucket: 'day' })+ .then((u) => {+ if (!alive) return;+ const total = (u?.buckets || u?.rows || []).reduce((s: number, b: { credits?: number; total?: number }) => s + Number(b.credits ?? b.total ?? 0), 0);+ setCredits30(Math.round(total));+ }).catch(() => { /* em dash */ });+ return () => { alive = false; };+ }, [loading, current.id]);++ const cur = useMemo(() => all.filter((c) => inRange(c, days)), [all, days]);+ const prev = useMemo(() => all.filter((c) => inRange(c, days, days)), [all, days]);+ const terminal = cur.filter((c) => TERMINAL_OK.has(c.status || '') || TERMINAL_BAD.has(c.status || ''));+ const failed = cur.filter((c) => TERMINAL_BAD.has(c.status || '')).length;+ const success = terminal.length ? (terminal.length - failed) / terminal.length : null;+ // Delta only when the card window plausibly covers both periods (oldest card predates them).+ const oldest = all.length ? Math.min(...all.map((c) => (c.finished_at || 0) * 1000)) : 0;+ const windowCovers = oldest > 0 && oldest < Date.now() - 2 * days * DAY;+ const delta = windowCovers && prev.length > 0 ? ((cur.length - prev.length) / prev.length) * 100 : null;++ const degraded = (rows || []).filter((r) => r.stats.success != null && r.stats.success < 0.9 && r.stats.tasks7d >= 3);+ const recent = all.slice(0, 5);+ // Harness display names for Recent Tasks: cards may predate harness_name stamping and only+ // carry the id, resolve through the harness rows before falling back.+ const harnessName = (c: TraceCard) => {+ const byId = (rows || []).find((r) => r.id === c.harness_id)?.name;+ return byId || c.harness_name || '—';+ };++ const openTasks = (harnessId?: string, sid?: string) => {+ const q = new URLSearchParams();+ if (harnessId) q.set('h', harnessId);+ if (sid) q.set('sid', sid);+ const qs = q.toString();+ router.push(qs ? `/tasks?${qs}` : '/tasks');+ };++ return (+ <section className="view is-active" id="view-workspace">+ <div className="page">+ <div className="page-header">+ <div><h1 className="workspace-name">{current.name}</h1>+ <p>{current.description || 'Workspace overview'}</p></div>+ <div className="header-actions">+ <select className="select operational-range" aria-label="Operational time range" value={range}+ onChange={(e) => setRange(e.target.value as RangeKey)}>+ {RANGES.map((r) => <option key={r.key} value={r.key}>{r.label}</option>)}+ </select>+ </div>+ </div>++ <div className="dashboard-kpis kpis-3" aria-label="Workspace key metrics">+ <button className="kpi-card primary-tint actionable" type="button" onClick={() => openTasks()}>+ <span>Tasks</span><strong>{rows ? cur.length.toLocaleString() : <SkelLine w={54} h={22} />}</strong>+ <small className={delta != null && delta >= 0 ? 'delta-up' : undefined}>+ {delta != null ? `${delta >= 0 ? '↑' : '↓'} ${Math.abs(delta).toFixed(1)}% vs previous period` : RANGES.find((r) => r.key === range)!.label}+ </small>+ <iconify-icon icon="tabler:list-check"></iconify-icon>+ </button>+ <button className="kpi-card green actionable" type="button" onClick={() => openTasks()}>+ <span>Success rate</span><strong>{rows ? (success != null ? `${(success * 100).toFixed(1)}%` : '—') : <SkelLine w={70} h={22} />}</strong>+ <small>{rows ? `${failed} failed Task${failed === 1 ? '' : 's'}` : 'No terminal tasks in range'}</small>+ <iconify-icon icon="tabler:trending-up"></iconify-icon>+ </button>+ <div className="kpi-card blue">+ <span>Credits used</span><strong>{credits30 != null ? credits30.toLocaleString() : <SkelLine w={54} h={22} />}</strong>+ <small>Last 30 days · account-wide</small>+ <iconify-icon icon="tabler:coins"></iconify-icon>+ </div>+ </div>++ <div className="dashboard-main-grid">+ <section className="dashboard-card" aria-labelledby="workspaceActivityTitle">+ <div className="dashboard-card-head">+ <div><h2 id="workspaceActivityTitle">Workspace activity</h2>+ <div className="chart-legend">+ <span className="legend-item"><span className="legend-swatch bar"></span>Tasks</span>+ <span className="legend-item"><span className="legend-swatch"></span>Overall success</span>+ </div></div>+ <button className="button quiet small" type="button" onClick={() => router.push('/harnesses')}>View Harnesses</button>+ </div>+ <div className="chart-wrap"><ActivityChart cards={all} days={days} /></div>+ </section>+ <aside className="dashboard-card attention-card" aria-labelledby="attentionTitle">+ <div className="dashboard-card-head">+ <div className="attention-title"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><h2 id="attentionTitle">Needs attention</h2></div>+ <span>{degraded.length ? `${degraded.length} issue${degraded.length > 1 ? 's' : ''}` : 'All clear'}</span>+ </div>+ {degraded.length ? (+ <>+ <div className="attention-body">+ <h3>{degraded[0].name} · degraded</h3>+ <p>Success under 90% across its recent Tasks.</p>+ </div>+ <div className="attention-meta">+ <div><span>Failed Tasks (7d)</span><strong>{degraded[0].stats.failed7d}</strong></div>+ <div><span>Last activity</span><strong>{timeAgo(degraded[0].stats.lastActivity)}</strong></div>+ </div>+ <button className="button" type="button" onClick={() => openTasks(degraded[0].id)}>View failed Tasks</button>+ </>+ ) : (+ <div className="attention-body">+ <h3>No degraded Harnesses</h3>+ <p>Every Harness with recent activity is above the 90% success threshold.</p>+ </div>+ )}+ </aside>+ </div>++ <div className="dashboard-lower-grid">+ <section className="dashboard-card" aria-labelledby="overviewHarnessesTitle">+ <div className="dashboard-card-head"><div><h2 id="overviewHarnessesTitle">Harnesses</h2><p>Operational health · Last 7 days</p></div></div>+ <table className="dashboard-table"><thead><tr><th>Harness</th><th>Status</th><th>Tasks</th><th>Success</th><th>Last activity</th><th></th></tr></thead><tbody>+ {(rows || []).slice(0, 5).map((r) => {+ const bad = r.stats.success != null && r.stats.success < 0.9 && r.stats.tasks7d >= 3;+ return (+ <tr key={r.id}>+ <td><strong>{r.name}</strong></td>+ <td><span className={'status ' + (bad ? 'warning' : 'healthy')}>{bad ? 'Degraded' : 'Healthy'}</span></td>+ <td className="number">{r.stats.tasks7d.toLocaleString()}</td>+ <td className="number">{r.stats.success != null ? `${(r.stats.success * 100).toFixed(1)}%` : '—'}</td>+ <td>{timeAgo(r.stats.lastActivity)}</td>+ <td><button className="row-action" type="button" aria-label={`Open ${r.name}`}+ onClick={() => router.push(`/harnesses/${encodeURIComponent(r.id)}`)}><iconify-icon icon="tabler:chevron-right"></iconify-icon></button></td>+ </tr>+ );+ })}+ {rows && rows.length === 0 && <tr><td colSpan={6} style={{ color: 'var(--muted)' }}>No Harnesses yet.</td></tr>}+ {!rows && <SkelRows rows={3} cols={6} first={150} />}+ </tbody></table>+ <div className="dashboard-card-foot"><button className="button quiet small" type="button" onClick={() => router.push('/harnesses')}>View all Harnesses</button></div>+ </section>+ <section className="dashboard-card" aria-labelledby="recentTasksTitle">+ <div className="dashboard-card-head"><div><h2 id="recentTasksTitle">Recent Tasks</h2><p>Latest activity across this Workspace</p></div></div>+ <table className="dashboard-table recent-tasks-table"><thead><tr><th>Task</th><th>Harness</th><th>Status</th><th>Updated</th><th></th></tr></thead><tbody>+ {recent.map((c) => {+ const chip = statusChip(c.status);+ const title = c.title || c.session_id;+ const hn = harnessName(c);+ return (+ <tr key={c.session_id}>+ <td className="cell-ellip cell-task" title={title}><strong>{title}</strong></td>+ <td className="cell-ellip cell-harness" title={hn !== '—' ? hn : undefined}>{hn}</td>+ <td><span className={'status ' + chip.cls}>{chip.label}</span></td>+ <td className="cell-nowrap">{c.finished_at ? timeAgo(c.finished_at * 1000) : '—'}</td>+ <td><button className="row-action" type="button" aria-label={`Open ${title}`}+ onClick={() => openTasks(c.harness_id, c.session_id)}><iconify-icon icon="tabler:chevron-right"></iconify-icon></button></td>+ </tr>+ );+ })}+ {rows && recent.length === 0 && <tr><td colSpan={5} style={{ color: 'var(--muted)' }}>No Tasks yet. Open Quickstart to connect a coding agent.</td></tr>}+ {!rows && <SkelRows rows={3} cols={5} first={170} />}+ </tbody></table>+ <div className="dashboard-card-foot"><button className="button quiet small" type="button" onClick={() => openTasks()}>View all Tasks</button></div>+ </section>+ </div>++ </div>+ </section>+ );+}diff --git a/ui/src/app/(app)/quickstart/page.tsx b/ui/src/app/(app)/quickstart/page.tsxnew file mode 100644index 00000000..ab3c231c--- /dev/null+++ b/ui/src/app/(app)/quickstart/page.tsx@@ -0,0 +1,124 @@+'use client';+// Quickstart, "Connect a Coding Agent" in three steps. The AGENTS.md content is the primary+// copyable asset; the API key is created in a light modal HERE (name + one-time reveal), never a+// jump to the management page. The full doc stays at /agents as the single source of truth.+import { harnessFetch } from '@/lib/hfetch';+import { useMemo, useState } from 'react';+import { getSession } from '@/lib/auth';+import { agentMd } from '@/lib/agentmd';+import { useWorkspace } from '@/lib/workspace';++export default function QuickstartPage() {+ const { current, defaultId } = useWorkspace();+ const md = useMemo(() => agentMd(), []);+ const preview = useMemo(() => md.split('\n').slice(0, 8).join('\n') + '\n\nRead the complete guide before implementing the integration…', [md]);+ const [copied, setCopied] = useState(false);+ const [modal, setModal] = useState(false);+ const [keyName, setKeyName] = useState('Quickstart integration');+ const [minted, setMinted] = useState<string | null>(null);+ const [busy, setBusy] = useState(false);+ const [err, setErr] = useState('');+ const [keyCopied, setKeyCopied] = useState(false);++ const copyMd = async () => {+ try { await navigator.clipboard.writeText(md); setCopied(true); setTimeout(() => setCopied(false), 1600); } catch { /* blocked */ }+ };++ async function mint() {+ if (busy) return;+ setBusy(true); setErr('');+ try {+ const s = getSession();+ const org = s?.orgId || '';+ const member = s?.member?.email || s?.member?.id || '';+ const r = await harnessFetch(`/api/harness/v1/orgs/${encodeURIComponent(org)}/keys`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ name: keyName.trim() || 'Quickstart integration', member_id: member,+ workspace: current.id || '', workspace_default: !current.id || current.id === defaultId }),+ });+ const d = await r.json();+ if (!r.ok) throw new Error(d.detail || 'Could not create the key');+ setMinted(d.key);+ } catch (e) { setErr(e instanceof Error ? e.message : String(e)); }+ finally { setBusy(false); }+ }++ return (+ <section className="view is-active" id="view-quickstart">+ <div className="page">+ <div className="page-header">+ <div><h1>Connect a Coding Agent</h1><p>Paste the guide, describe what you want, then provide one Workspace API key through a secure modal.</p></div>+ </div>+ <div className="quickstart">+ <div className="quickstart-steps">+ <section className="quickstart-step">+ <span className="step-number">1</span>+ <h2>Paste into your coding agent</h2>+ <div className="quickstart-copy">+ <p>Copy the official instructions and paste them into Codex, Claude Code, or another coding agent.</p>+ <pre className="agent-preview" aria-label="AGENTS.md preview">{preview}</pre>+ <div className="quickstart-actions">+ <button className="button primary" type="button" onClick={() => void copyMd()}><iconify-icon icon="tabler:copy"></iconify-icon>Copy full AGENTS.md</button>+ <a className="button" href="/agents" target="_blank" rel="noreferrer">View official source</a>+ <span className="copy-state" role="status" aria-live="polite">{copied ? 'Copied' : ''}</span>+ </div>+ </div>+ </section>+ <section className="quickstart-step">+ <span className="step-number">2</span>+ <h2>Ask it to build</h2>+ <div className="quickstart-copy">+ <p>Describe the product or feature you want. The coding agent will build the host product and add the server-side HarnessRouter integration.</p>+ <pre className="agent-preview" aria-label="Example build request">Build a contract-review app that lets users upload an agreement, streams progress, renders the result, and supports follow-up revisions.</pre>+ </div>+ </section>+ <section className="quickstart-step">+ <span className="step-number">3</span>+ <h2>Add your API key securely</h2>+ <div className="quickstart-copy">+ <p>When the coding agent opens a secure secret modal, create an API key for <span className="workspace-name">{current.name}</span> and paste it into that modal. The agent stores it as <code>HR_API_KEY</code> and continues the build.</p>+ <button className="button" type="button" onClick={() => { setMinted(null); setErr(''); setModal(true); }}><iconify-icon icon="tabler:key"></iconify-icon>Create API Key</button>+ <div className="security-note"><iconify-icon icon="tabler:shield-lock"></iconify-icon><span>Paste the key only into the secure modal opened by your coding agent. Never paste it into normal chat, source files, AGENTS.md, browser code, logs, or screenshots.</span></div>+ </div>+ </section>+ </div>+ </div>+ </div>++ {modal && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="qkTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="qkTitle">Create API Key</h2><p>Create a key for <span className="workspace-name">{current.name}</span> without leaving Quickstart.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setModal(false)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ {!minted ? (+ <div className="modal-body">+ <div className="field-stack">+ <div className="field"><label htmlFor="qkName">Key name</label>+ <input id="qkName" value={keyName} onChange={(e) => setKeyName(e.target.value)} autoFocus /></div>+ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not create</strong>{err}</div></div>}+ </div>+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setModal(false)} disabled={busy}>Cancel</button>+ <button className="button primary" type="button" onClick={() => void mint()} disabled={busy}>{busy ? 'Creating…' : 'Create API Key'}</button>+ </div>+ </div>+ ) : (+ <div className="modal-body">+ <div className="key-reveal"><code>{minted}</code><span>This key is shown once. Copy it now, then paste it into the secure modal opened by your coding agent.</span></div>+ <div className="security-note"><iconify-icon icon="tabler:shield-lock"></iconify-icon><span>Never paste this key into normal chat, source files, browser code, logs, or screenshots.</span></div>+ <div className="modal-actions">+ <span className="copy-state" role="status" aria-live="polite">{keyCopied ? 'Copied' : ''}</span>+ <button className="button" type="button" onClick={async () => { try { await navigator.clipboard.writeText(minted); setKeyCopied(true); } catch { /* blocked */ } }}>+ <iconify-icon icon={keyCopied ? 'tabler:check' : 'tabler:copy'}></iconify-icon>{keyCopied ? 'Copied' : 'Copy API Key'}</button>+ <button className="button primary" type="button" onClick={() => setModal(false)}>Done</button>+ </div>+ </div>+ )}+ </section>+ </div>+ )}+ </section>+ );+}diff --git a/ui/src/app/(app)/settings/page.tsx b/ui/src/app/(app)/settings/page.tsxnew file mode 100644index 00000000..b4708abb--- /dev/null+++ b/ui/src/app/(app)/settings/page.tsx@@ -0,0 +1,58 @@+'use client';+// Workspace Settings, name and description of the ACTIVE workspace, persisted onto its+// AgentStudio Space record via the engine (Workspaces ARE Spaces). Members/Connections/+// Revenue-source do NOT get fake placeholder rows (per the IA review); they arrive as real+// manageable flows once the backend supports them. (The old Environment select was removed+// 2026-07-22, a pure label with no runtime effect is noise, not a setting.)+import { useEffect, useState } from 'react';+import { useWorkspace } from '@/lib/workspace';++export default function WorkspaceSettingsPage() {+ const { current, update, loading } = useWorkspace();+ const [name, setName] = useState(current.name);+ const [desc, setDesc] = useState(current.description);+ const [busy, setBusy] = useState(false);+ const [err, setErr] = useState('');+ const [savedTick, setSavedTick] = useState(false);+ useEffect(() => { setName(current.name); setDesc(current.description); }, [current.id]); // eslint-disable-line react-hooks/exhaustive-deps+ const dirty = name !== current.name || desc !== current.description;++ async function save(e: React.FormEvent) {+ e.preventDefault();+ if (busy || !dirty) return;+ setBusy(true); setErr('');+ try {+ await update({ name: name.trim() || current.name, description: desc });+ setSavedTick(true); setTimeout(() => setSavedTick(false), 1500);+ } catch (ex) { setErr(ex instanceof Error ? ex.message : 'save failed'); }+ finally { setBusy(false); }+ }++ return (+ <section className="view is-active" id="view-settings">+ <div className="page">+ <div className="page-header"><div><h1>Workspace Settings</h1><p>Manage the name and description used to identify <span className="workspace-name">{current.name}</span>.</p></div></div>+ <form className="settings-form" onSubmit={save}>+ <div className="settings-form-head">+ <div><h2>Workspace profile</h2><p>Shown in the Workspace selector, Dashboard, and Overview.</p></div>+ <div className="header-actions">+ <span className="save-state">{savedTick ? 'Saved' : dirty ? 'Unsaved changes' : 'No unsaved changes'}</span>+ <button className="button primary" type="submit" disabled={!dirty || busy || loading}>{busy ? 'Saving…' : 'Save changes'}</button>+ </div>+ </div>+ <section className="form-section">+ <div><h3>Name and description</h3><p>Use a stable business name developers can recognize.</p></div>+ <div className="field-stack">+ <div className="field"><label htmlFor="wsName">Name</label>+ <input id="wsName" value={name} onChange={(e) => setName(e.target.value)} /></div>+ <div className="field"><label htmlFor="wsDesc">Description</label>+ <textarea id="wsDesc" rows={3} value={desc} onChange={(e) => setDesc(e.target.value)} />+ <span className="field-help">Shown on Dashboard and Workspace Overview.</span></div>+ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not save</strong>{err}</div></div>}+ </div>+ </section>+ </form>+ </div>+ </section>+ );+}diff --git a/ui/src/app/(app)/tasks/page.tsx b/ui/src/app/(app)/tasks/page.tsxnew file mode 100644index 00000000..9395b5e8--- /dev/null+++ b/ui/src/app/(app)/tasks/page.tsx@@ -0,0 +1,11 @@+'use client';+// Tasks, the Workspace's execution/observation surface, rendered per the HIG prototype's+// run-layout master-detail: page header (title + harness select + New Task), bordered+// list/detail card, task rows with status chips + updated times, detail head with run-meta,+// Conversation | Trace tabs. One unified list (no Live/Test split, product decision+// 2026-07-18); end-user↔session permission modeling belongs to the host application.+import Workbench from '../workbench/page';++export default function TasksPage() {+ return <Workbench />;+}diff --git a/ui/src/app/(app)/workbench/page.tsx b/ui/src/app/(app)/workbench/page.tsxnew file mode 100644index 00000000..80fe7812--- /dev/null+++ b/ui/src/app/(app)/workbench/page.tsx@@ -0,0 +1,1374 @@+'use client';+import { harnessFetch } from '@/lib/hfetch';+import { Children, Suspense, useEffect, useId, useMemo, useRef, useState, isValidElement, type CSSProperties, type ReactElement, type ReactNode } from 'react';+import { SkelListItems, SkelPage } from '@/components/Skel';+import { useSearchParams } from 'next/navigation';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';+import { Mermaid } from '@/components/Mermaid';+import { OOB, oobById, oobDefaultModel, oobModels, useModelCatalog, saveCustom, listCustom, getSkillFiles, storeMcpSecret, testMcp, type CustomHarness, type OobHarness } from '@/lib/harness';+import { HarnessLogo } from '@/components/HarnessLogo';+import { streamResponse, subscribeHarnessEvents, containerFileUrl, downloadFile, loadSessionTurns, cancelSession, authHeaders, type RespFile, type SessionTurn } from '@/lib/chat';+import { getSession } from '@/lib/auth';+import { appendWorkspaceQuery } from '@/lib/workspace';+import { statusChip, timeAgo } from '@/lib/revamp-data';+// Shared Conversational Agent surface (UI Core), extracted from this page; see+// frontend-ui-core/README.md for the token/transport/slot contracts.+import { Svg, Chevron, IcPlug, IcSkill } from 'reifyui';+import { ChatMessages } from 'reifyui';+import { CodeBlock } from 'reifyui';+import { Composer } from 'reifyui';+import { withText, withReasoning, withStep, withResult, asstText } from 'reifyui';+import { createConversationStore } from 'reifyui';+import TracesMain from '@/studio/traces/TracesMain.jsx';+import { traceStore } from '@/studio/traces/store';+import { FilePreview } from '@/components/FilePreview';+import { FileTypeIcon } from '@/components/FileTypeIcon';++type Tab = 'config' | 'traces';++// react-markdown v9 override: a ```mermaid fence renders as a real diagram; every other fenced+// block renders through the shared CodeBlock (language-aware syntax highlighting, lazy+// highlight.js). We override `pre` (not `code`) because in v9 the language class lives on the+// inner <code>, so replacing the block happens at the `pre` level.+const MD_COMPONENTS = {+ pre({ children }: { children?: ReactNode }) {+ const el = Children.toArray(children).find(isValidElement) as+ ReactElement<{ className?: string; children?: React.ReactNode }> | undefined;+ const cls = el?.props?.className || '';+ const lang = /language-([\w#+-]+)/.exec(cls);+ const code = String(el?.props?.children ?? '').replace(/\n$/, '');+ if (lang && lang[1] === 'mermaid') {+ return <Mermaid code={code} />;+ }+ return <CodeBlock code={code} language={lang ? lang[1] : ''} />;+ },+};+const renderWbMarkdown = (t: string) => (+ <ReactMarkdown remarkPlugins={[remarkGfm]} components={MD_COMPONENTS}>{t}</ReactMarkdown>+);++// Agent replies reference workspace files as /workspace/... or sandbox: links, served nowhere as+// written (they 404 on the app origin). This renderer rewrites those hrefs to the authenticated+// by-path artifact route for the CURRENT session, so clicking opens the real file inline.+const WS_LINK_RE = /^(?:sandbox:)?\/?(?:workspace\/)?(.+)$/;+function isWorkspaceHref(href: string): boolean {+ if (!href || href.startsWith('#')) return false;+ if (/^[a-z][a-z0-9+.-]*:/i.test(href) && !href.startsWith('sandbox:')) return false; // http(s), mailto…+ return href.startsWith('sandbox:') || href.startsWith('/workspace/') || href.startsWith('workspace/')+ || (!href.startsWith('/') && /\.[A-Za-z0-9]{1,8}$/.test(href));+}+function makeWbMarkdown(getSid: () => string | null, getHarness?: () => string | null) {+ const components = {+ ...MD_COMPONENTS,+ a: ({ href, children }: { href?: string; children?: React.ReactNode }) => {+ const sid = getSid();+ if (href && sid && isWorkspaceHref(href)) {+ const m = decodeURIComponent(href).match(WS_LINK_RE);+ const path = m ? m[1].replace(/^\/+/, '') : '';+ if (path) {+ const enc = path.split('/').map(encodeURIComponent).join('/');+ const h = getHarness?.();+ // canonical address: /{harness}/{session}/workspace/{path}+ const url = h ? `/${encodeURIComponent(h)}/${encodeURIComponent(sid)}/workspace/${enc}`+ : `/api/harness/a/${encodeURIComponent(sid)}/${enc}`;+ return <a href={url} target="_blank" rel="noreferrer">{children}</a>;+ }+ }+ return <a href={href} target="_blank" rel="noreferrer">{children}</a>;+ },+ };+ return (t: string) => (+ <ReactMarkdown remarkPlugins={[remarkGfm]} components={components}>{t}</ReactMarkdown>+ );+}++const TERMINAL_TURN = new Set(['done', 'completed', 'failed', 'error', 'cancelled', 'incomplete', 'timeout', 'max_turns']);++/** Server turns -> conversation messages (shared by hydration + busy reconciliation). */+function msgsFromTurns(turns: SessionTurn[]): { msgs: Msg[]; running: boolean } {+ const m: Msg[] = [];+ let running = false;+ for (const t of turns) {+ if (t.user || (t.user_files || []).length) {+ m.push({ role: 'user', text: t.user,+ attachments: (t.user_files || []).map((f) => ({ name: f.name })) });+ }+ const steps = (t.tools || []).map((x) => ({ name: x.name, args: x.arguments, result: x.result }));+ const blocks: Block[] = [];+ if (steps.length) blocks.push({ kind: 'tools', reasoning: '', steps });+ if (t.assistant) blocks.push({ kind: 'text', text: t.assistant });+ const st: AsstMsg['status'] = t.status === 'failed' || t.status === 'error' ? 'failed'+ : t.status === 'cancelled' ? 'cancelled'+ : (t.status === 'incomplete' || t.status === 'max_turns' || t.status === 'timeout') ? 'incomplete'+ : (t.status === 'running' || t.status === 'starting' || t.status === 'in_progress') ? 'running' : 'done';+ if (st === 'running') running = true;+ m.push({ role: 'assistant', blocks, files: t.files || [], status: st });+ }+ return { msgs: m, running };+}++// Each base harness gets a stable assigned accent so the badge reads at a glance.+const BASE_TINT: Record<string, string> = {+ codex: '#0E8C6A', 'claude-code': '#C2613D', pi: '#6E55FF', hermes: '#2563EB',+};+function baseTint(id: string): string {+ if (BASE_TINT[id]) return BASE_TINT[id];+ let h = 0;+ for (let i = 0; i < id.length; i++) h = (h * 31 + id.charCodeAt(i)) >>> 0;+ return `hsl(${h % 360} 52% 42%)`;+}++// Svg / Chevron / IcPlug / IcSkill come from UI Core; the icons below are workbench-specific.+const IcCopy = () => <Svg><rect x="9" y="9" width="11" height="11" rx="2" /><path d="M5 15V5a2 2 0 0 1 2-2h10" /></Svg>;+const IcRetry = () => <Svg><path d="M21 12a9 9 0 1 1-3-6.7" /><path d="M21 4v5h-5" /></Svg>;+const IcPlus = () => <Svg s={18}><path d="M12 5v14M5 12h14" /></Svg>;+const IcDl = () => <Svg s={16}><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><path d="M7 10l5 5 5-5" /><path d="M12 15V3" /></Svg>;+const IcTrash = () => <Svg s={15}><path d="M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6" /></Svg>;+const FileGlyph = ({ small }: { small?: boolean }) =>+ <Svg s={small ? 13 : 18}><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><path d="M14 2v6h6" /></Svg>;+// Side-panel toggle (collapse/expand the task-history rail), split-rectangle glyph.+const IcPanel = () => <Svg s={18}><rect x="3" y="4" width="18" height="16" rx="2" /><path d="M9 4v16" /></Svg>;+const IcFolder = () => <Svg s={14}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></Svg>;+const IcFilePlus = () => <Svg s={17}><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><path d="M14 2v6h6" /><path d="M12 12v6M9 15h6" /></Svg>;+const IcFolderPlus = () => <Svg s={17}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /><path d="M12 11v5M9.5 13.5h5" /></Svg>;+const IcUpload = () => <Svg s={17}><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><path d="M7 9l5-5 5 5" /><path d="M12 4v12" /></Svg>;+const IcFolderUp = () => <Svg s={17}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /><path d="M12 16v-5.5" /><path d="M9.5 13 12 10.5 14.5 13" /></Svg>;+const IcPencil = () => <Svg s={14}><path d="M12 20h9" /><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z" /></Svg>;++// Tool-step icons, toolMeta, summarizeSteps and the activity timeline (ToolGroup/ToolRow)+// live in UI Core (frontend-ui-core/src/components/*), rendered via ChatMessages below.++// Drag-to-resize a pane width. fromRight: handle is on the pane's left edge (dragging right shrinks).+function useHResize(initial: number, min: number, max: number, fromRight = false) {+ const [w, setW] = useState(initial);+ const onDown = (e: React.MouseEvent) => {+ e.preventDefault();+ const sx = e.clientX, base = w, dir = fromRight ? -1 : 1;+ // While dragging, neutralize iframes/text-selection so the embedded PDF/preview can't swallow+ // mousemove/mouseup (which would strand the drag and make narrowing impossible).+ document.body.classList.add('hr-resizing');+ const move = (ev: MouseEvent) => setW(Math.min(max, Math.max(min, base + dir * (ev.clientX - sx))));+ const up = () => {+ window.removeEventListener('mousemove', move); window.removeEventListener('mouseup', up);+ document.body.style.cursor = ''; document.body.classList.remove('hr-resizing');+ };+ window.addEventListener('mousemove', move); window.addEventListener('mouseup', up); document.body.style.cursor = 'col-resize';+ };+ return [w, onDown] as const;+}++function Workbench() {+ const sp = useSearchParams();+ const [harnessId, setHarnessId] = useState(sp.get('h') || '');+ const [custom, setCustom] = useState<CustomHarness[]>([]);+ const [customLoaded, setCustomLoaded] = useState(false);+ useEffect(() => { listCustom().then((cs) => { setCustom(cs); setCustomLoaded(true); }).catch(() => setCustomLoaded(true)); }, []);+ // Default selection: the user's newest CUSTOM harness; built-in Codex only when none exist.+ // Gate on customLoaded, defaulting before the list arrives would lock onto the built-in.+ useEffect(() => { if (!harnessId && customLoaded) setHarnessId(custom[0]?.id || OOB[0].id); }, [harnessId, custom, customLoaded]);+ // Reflect the selected harness in the URL (?h=<id>) so a refresh restores the selection.+ useEffect(() => {+ if (!harnessId) return;+ const url = new URL(window.location.href);+ if (url.searchParams.get('h') !== harnessId) {+ url.searchParams.set('h', harnessId);+ window.history.replaceState(null, '', url.toString());+ }+ }, [harnessId]);++ const oob = oobById(harnessId);+ const ch = oob ? null : (custom.find((c) => c.id === harnessId) || null);+ const curName = oob?.name || ch?.name || '';+ // Deep link: /tasks?h=<harness>&sid=<session> opens that exact task. Bad ids surface a+ // visible error instead of silently landing on an empty New Task. Consumed ONCE, switching+ // harness clears it (and the URL param) so the new harness starts on a clean New Task.+ const [deepSid, setDeepSid] = useState(() => sp.get('sid') || '');+ const harnessMissing = customLoaded && !!sp.get('h') && !oob && !ch;++ // Harness selector lives in the task-list panel as a filter (finalized design, no title row).+ const harnessSelect = (+ <select className="select" aria-label="Select Harness" value={harnessId} onChange={(e) => {+ const url = new URL(window.location.href);+ if (url.searchParams.has('sid')) { url.searchParams.delete('sid'); window.history.replaceState(null, '', url.toString()); }+ setDeepSid('');+ setHarnessId(e.target.value);+ }}>+ <optgroup label="My Harnesses">+ {custom.map((c) => <option key={c.id} value={c.id}>{c.name}</option>)}+ </optgroup>+ <optgroup label="System">+ {OOB.map((o) => (+ <option key={o.id} value={o.id} disabled={o.status === 'soon'}>+ {o.name}{o.status === 'soon' ? ' (soon)' : ''}+ </option>+ ))}+ </optgroup>+ </select>+ );++ return (+ <section className="view is-active" id="view-tasks">+ <div className="page tasks-page">+ {harnessMissing && (+ <div className="notice" style={{ marginBottom: 12 }}>+ <iconify-icon icon="tabler:alert-triangle"></iconify-icon>+ <div><strong>Harness not found</strong>+ The linked Harness (<code>{sp.get('h')}</code>) doesn’t exist in this Workspace, it may have been+ deleted or belong to another Workspace. Pick a Harness from the list to continue.</div>+ </div>+ )}+ <ConfigChat key={harnessId} oob={oob} ch={ch} harnessId={harnessId}+ harnessName={curName} harnessSelect={harnessSelect} deepSid={deepSid}+ onClearDeepSid={() => setDeepSid('')}+ onSaved={() => listCustom().then(setCustom)} />+ </div>+ </section>+ );+}++// ── Session sharing (session-level only; artifacts inherit the session's share state) ────────+function ShareModal({ sid, onClose }: { sid: string; onClose: () => void }) {+ const [enabled, setEnabled] = useState<boolean | null>(null);+ const [token, setToken] = useState('');+ const [busy, setBusy] = useState(false);+ const [copied, setCopied] = useState(false);+ const [err, setErr] = useState('');+ useEffect(() => {+ let alive = true;+ harnessFetch(`/api/harness/v1/sessions/${encodeURIComponent(sid)}/share`, { headers: authHeaders() })+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(String(r.status)))))+ .then((d) => { if (alive) { setEnabled(Boolean(d.enabled)); setToken(d.token || ''); } })+ .catch(() => { if (alive) setErr('Could not load sharing state.'); });+ return () => { alive = false; };+ }, [sid]);+ const set = async (on: boolean) => {+ if (busy) return;+ setBusy(true); setErr('');+ try {+ const r = await harnessFetch(`/api/harness/v1/sessions/${encodeURIComponent(sid)}/share`, {+ method: 'POST', headers: authHeaders(), body: JSON.stringify({ enabled: on }),+ });+ const d = await r.json();+ if (!r.ok) throw new Error(d.detail || String(r.status));+ setEnabled(Boolean(d.enabled)); setToken(d.token || '');+ } catch (e) { setErr(e instanceof Error ? e.message : String(e)); }+ finally { setBusy(false); }+ };+ const link = token ? `${window.location.origin}/share/${token}` : '';+ return (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="shareTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="shareTitle">Share Task</h2><p>Anyone with the link sees a read-only view of this conversation and ALL of its artifacts. Turn sharing off at any time to revoke the link.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={onClose}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <div className="share-choice-list">+ <button type="button" className={'share-choice' + (enabled === false ? ' on' : '')} disabled={busy} onClick={() => void set(false)}>+ <iconify-icon icon="tabler:lock"></iconify-icon>+ <span><strong>Keep private</strong><span>Only members of this Workspace’s organization have access</span></span>+ {enabled === false && <iconify-icon icon="tabler:check"></iconify-icon>}+ </button>+ <button type="button" className={'share-choice' + (enabled === true ? ' on' : '')} disabled={busy} onClick={() => void set(true)}>+ <iconify-icon icon="tabler:world"></iconify-icon>+ <span><strong>Create public link</strong><span>Anyone with the link can view the conversation and artifacts</span></span>+ {enabled === true && <iconify-icon icon="tabler:check"></iconify-icon>}+ </button>+ </div>+ {enabled && link && (+ <div className="share-link-row">+ <input readOnly value={link} onClick={(e) => (e.target as HTMLInputElement).select()} />+ <button className="button" type="button" onClick={async () => { try { await navigator.clipboard.writeText(link); setCopied(true); setTimeout(() => setCopied(false), 1400); } catch { /* blocked */ } }}>+ <iconify-icon icon={copied ? 'tabler:check' : 'tabler:copy'}></iconify-icon>{copied ? 'Copied' : 'Copy'}+ </button>+ </div>+ )}+ {err && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Sharing error</strong>{err}</div></div>}+ <div className="modal-actions"><button className="button primary" type="button" onClick={onClose}>Done</button></div>+ </div>+ </section>+ </div>+ );+}++// ── Task list (left) | Task detail (right), the design's run-layout master-detail ────────────+function ConfigChat({ oob, ch, harnessId, harnessName, harnessSelect, deepSid, onClearDeepSid, onSaved }: {+ oob: OobHarness | null; ch: CustomHarness | null; harnessId: string; harnessName: string;+ harnessSelect?: React.ReactNode; deepSid?: string; onClearDeepSid?: () => void; onSaved: () => void;+}) {+ const [draft, setDraft] = useState<CustomHarness | null>(ch);+ useEffect(() => setDraft(ch), [ch?.id]); // eslint-disable-line react-hooks/exhaustive-deps++ useModelCatalog(); // server catalog is the source of truth for the picker+ const models = oobModels(oob).length ? oobModels(oob) : oobModels(oobById(draft?.base || ''));+ // The safe fallback is the BACKEND DEFAULT (gpt-5.4 / sonnet-4.6), never models[0], the lists+ // lead with the newest/priciest entries (gpt-5.6-*, fable-5) and those must never be picked+ // implicitly.+ const fallbackModel = oobDefaultModel(oob) || oobDefaultModel(oobById(draft?.base || '')) || '';+ // Resolve a stored model name against the current option list, tolerate legacy bare names+ // (sonnet-4.6) now that options carry the claude- prefix, so the saved default still applies.+ const normModel = (m: string | undefined): string => {+ if (!m) return fallbackModel || models[0] || '';+ if (models.includes(m)) return m;+ if (models.includes('claude-' + m)) return 'claude-' + m;+ const bare = m.replace(/^claude-/, '');+ if (models.includes(bare)) return bare;+ return fallbackModel || m;+ };+ const [model, setModel] = useState(oob ? (oobDefaultModel(oob) || '') : normModel(ch?.defaultModel));+ // Re-sync the active model to the harness's saved default whenever the config loads or its default+ // changes (ch arrives async after mount; without ch in deps the saved default was never applied).+ // Resolve against the BASE's model list directly so it doesn't depend on draft-render timing.+ // GUARD: skip when a session is open — an existing task's model is what IT ran with (set by the+ // taskModel effect below), and this effect fires LATE on reload (ch loads async) so without the+ // guard it clobbered the session's model back to the harness default (fable-5 → opus-4.8 on reload).+ useEffect(() => {+ if (deepSid) return; // reloading straight into a session → its own model wins, not the default+ if (oob) { setModel(oobDefaultModel(oob) || ''); return; }+ const base0 = oobById(ch?.base || '');+ const ms = oobModels(base0);+ const dm = ch?.defaultModel || '';+ const pick = ms.includes(dm) ? dm+ : ms.includes('claude-' + dm) ? 'claude-' + dm+ : ms.includes(dm.replace(/^claude-/, '')) ? dm.replace(/^claude-/, '')+ : (oobDefaultModel(base0) || dm);+ setModel(pick);+ }, [harnessId, ch?.defaultModel, ch?.base, deepSid]); // eslint-disable-line react-hooks/exhaustive-deps++ const [recentsOpen, setRecentsOpen] = useState(true);+ const [recentsKey, setRecentsKey] = useState(0);+ // Realtime broadcast: subscribe ONCE per harness. Every session's live events flow into the conv+ // store by session id, so any open conversation updates live (no per-tab stream, no hard refresh).+ // Turn start/finish also refreshes Recents so its status dots track in realtime.+ useHarnessBus(harnessId, () => setRecentsKey((k) => k + 1));+ const [selectedSid, setSelectedSid] = useState<string | null>(deepSid || null);+ // activeSid = the session the conversation pane is actually showing (drives the Recents highlight).+ // Kept SEPARATE from selectedSid so a new chat reporting its own session id highlights the row+ // WITHOUT remounting the live conversation (the Conversation is keyed by selectedSid).+ const [activeSid, setActiveSid] = useState<string | null>(deepSid || null);+ const [shareOpen, setShareOpen] = useState(false);+ // Deep-linked session validation: confirm the manifest exists; 404 -> visible error + New Task.+ // A 200 manifest also serves as the title/meta fallback when the session isn't in MY recents+ // (deep links can point at another member's task).+ const [deepErr, setDeepErr] = useState('');+ const [deepCard, setDeepCard] = useState<TraceCard | null>(null);+ useEffect(() => {+ if (!deepSid) return;+ let alive = true;+ harnessFetch(`/api/harness/v1/traces/${encodeURIComponent(deepSid)}`)+ .then(async (r) => {+ if (!alive) return;+ if (r.status === 404) {+ setDeepErr(`The linked Task (${deepSid.slice(0, 18)}…) doesn't exist, it may have been deleted.`);+ setSelectedSid(null); setActiveSid(null); onClearDeepSid?.();+ } else if (!r.ok) {+ setDeepErr(`Could not open the linked Task (HTTP ${r.status}). Try again or pick it from the list.`);+ } else {+ const m = await r.json().catch(() => null);+ if (alive && m?.session_id) {+ setDeepCard({ session_id: m.session_id, title: m.title, status: m.status,+ finished_at: m.finished_at, model: m.model, event_count: m.event_count, elapsed: m.elapsed, credits: m.credits });+ }+ }+ })+ .catch(() => { if (alive) setDeepErr('Could not reach the server to open the linked Task.'); });+ return () => { alive = false; };+ }, [deepSid]);+ // Keep ?sid= in the URL in sync with the shown task so every task view is shareable.+ useEffect(() => {+ const url = new URL(window.location.href);+ const cur = url.searchParams.get('sid');+ const want = activeSid ?? selectedSid;+ if (want && cur !== want) { url.searchParams.set('sid', want); window.history.replaceState(null, '', url.toString()); }+ else if (!want && cur) { url.searchParams.delete('sid'); window.history.replaceState(null, '', url.toString()); }+ }, [activeSid, selectedSid]);+ // Bumped on "New Task" so the conversation fully resets even when selectedSid is already null+ // (a fresh, never-saved task), keys the Conversation to remount it clean.+ const [newTaskNonce, setNewTaskNonce] = useState(0);+ // Trace is a diagnostics TAB of the selected Task (per the IA review), not a separate surface.+ const [detailTab, setDetailTab] = useState<'conversation' | 'trace'>('conversation');+ // Narrow screens alternate between the task list and the detail pane (CSS ≤820px); desktop+ // ignores this. Narrow DEFAULTS to the detail view (list collapsed), the title-row toggle+ // expands the list; picking a task collapses it again.+ const isNarrow = () => typeof window !== 'undefined' && window.matchMedia('(max-width: 820px)').matches;+ const [mobileDetail, setMobileDetail] = useState(() => isNarrow());+ const toggleList = () => { if (isNarrow()) setMobileDetail((v) => !v); else setRecentsOpen((v) => !v); };+ // The task cards (lifted from RecentsPanel) drive the detail header's title + meta row.+ const [cards, setCards] = useState<TraceCard[]>([]);+ const backend = oob?.backend ?? (oobById(draft?.base || '')?.backend ?? null);++ const startNew = () => {+ setSelectedSid(null); setActiveSid(null); setDetailTab('conversation');+ // A New Task must be a BRAND-NEW session: kill the deep-link sid + its error so nothing+ // can rebind the fresh conversation to an old session.+ setDeepErr(''); onClearDeepSid?.();+ setNewTaskNonce((n) => n + 1); setMobileDetail(true);+ };++ const shownSid = activeSid ?? selectedSid;+ const selCard = shownSid+ ? cards.find((c) => c.session_id === shownSid)+ || (deepCard && deepCard.session_id === shownSid ? deepCard : null)+ : null;+ const chip = selCard ? statusChip(selCard.status) : { cls: 'healthy', label: 'Ready' };+ // An existing task's selector shows the model IT actually ran with last turn (from the trace+ // card), not the harness default, resuming a conversation must not silently switch models.+ const taskModel = selCard?.model || '';+ useEffect(() => {+ if (!shownSid || !taskModel) return;+ setModel(normModel(taskModel));+ }, [shownSid, taskModel]); // eslint-disable-line react-hooks/exhaustive-deps+ const fmtDur = (s?: number) => {+ if (!s) return '';+ const m = Math.floor(s / 60), sec = Math.round(s % 60);+ return m ? `${m}m ${sec}s` : `${sec}s`;+ };++ return (+ <div className={'run-layout' + (mobileDetail ? ' m-detail' : '')}+ style={recentsOpen ? undefined : { gridTemplateColumns: 'minmax(0,1fr)' }}>+ {recentsOpen && (+ <RecentsPanel key={`r${harnessId}`} refreshNonce={recentsKey} harnessId={harnessId}+ harnessName={harnessName} selected={activeSid} onCards={setCards} harnessSelect={harnessSelect}+ onSelect={(sid) => { setSelectedSid(sid); setActiveSid(sid); setDetailTab('conversation'); setDeepErr(''); onClearDeepSid?.(); setMobileDetail(true); }}+ onNew={startNew} />+ )}+ <article className="run-detail">+ {deepErr && (+ <div className="notice" style={{ margin: '14px 18px 0' }}>+ <iconify-icon icon="tabler:alert-triangle"></iconify-icon>+ <div><strong>Task not found</strong>{deepErr}</div>+ </div>+ )}+ <div className="task-detail-shell">+ <div className="session-detail-head">+ <div className="session-detail-lead">+ <div className="session-title-row">+ <button className="wbx-panel-tgl" type="button"+ title="Show or hide the task list"+ aria-pressed={recentsOpen} onClick={toggleList}><IcPanel /></button>+ <h2 className="session-title-ellip" title={selCard?.title || undefined}>+ {selCard?.title || (shownSid ? 'Task' : 'New Task')}</h2>+ {shownSid && typeof selCard?.credits === 'number' && selCard.credits > 0 && (+ <span className="run-credits-chip" title="Credits this task has used">+ <iconify-icon icon="tabler:coins"></iconify-icon>+ {selCard.credits < 1 ? selCard.credits.toFixed(2) : selCard.credits.toLocaleString(undefined, { maximumFractionDigits: 1 })} cr+ </span>+ )}+ {shownSid && (+ <button className="wbx-panel-tgl session-share-btn" type="button" title="Share this Task"+ onClick={() => setShareOpen(true)}>+ <iconify-icon icon="tabler:share-2"></iconify-icon>+ </button>+ )}+ </div>+ </div>+ </div>+ <div className="tabs" role="tablist" aria-label="Task detail">+ <button className="tab" type="button" role="tab" aria-selected={detailTab === 'conversation'}+ onClick={() => setDetailTab('conversation')}>Conversation</button>+ <button className="tab" type="button" role="tab" aria-selected={detailTab === 'trace'}+ disabled={!shownSid} onClick={() => shownSid && setDetailTab('trace')}>Trace</button>+ </div>+ </div>+ {/* Conversation stays MOUNTED while the Trace tab shows, its store writes + bus rendering+ must not be interrupted by a diagnostics peek. */}+ <div className="run-detail-fill" style={{ display: detailTab === 'conversation' ? undefined : 'none' }}>+ <Conversation key={`conv-${harnessId}-${selectedSid ?? 'new'}-${newTaskNonce}`} harnessId={harnessId} sessionId={selectedSid}+ target={{ name: harnessName, backend, model, baseId: oob?.id ?? oobById(draft?.base || '')?.id }}+ additionalHeaders={(draft?.additionalHeaders || []).filter(Boolean)}+ models={models} onModel={(m) => setModel(m)}+ recentsOpen={recentsOpen} onToggleRecents={() => setRecentsOpen((v) => !v)} showToggle={false}+ onSession={(sid) => { setActiveSid(sid); setRecentsKey((k) => k + 1); }}+ onRan={() => setRecentsKey((k) => k + 1)} />+ </div>+ {detailTab === 'trace' && <TraceView sid={shownSid} />}+ </article>+ {shareOpen && shownSid && <ShareModal sid={shownSid} onClose={() => setShareOpen(false)} />}+ </div>+ );+}++function AttachCard({ name, dataUri, onRemove }: { name: string; dataUri?: string; onRemove?: () => void }) {+ const ext = (name.split('.').pop() || '').toLowerCase();+ const isImg = /^(png|jpe?g|gif|webp|bmp|svg|avif)$/.test(ext) && !!dataUri && dataUri.startsWith('data:image');+ return (+ <div className={'wbx-attach' + (isImg ? ' img' : '')}>+ {onRemove && <button className="wbx-attach-x" title="Remove" onClick={onRemove}>×</button>}+ {isImg+ ? <img className="wbx-attach-thumb" src={dataUri} alt={name} />+ : <><span className="wbx-attach-ic"><FileTypeIcon name={name} size={26} /></span>+ <span className="wbx-attach-meta"><span className="wbx-attach-name">{name}</span>+ <span className="wbx-attach-ext">{ext.toUpperCase() || 'FILE'}</span></span></>}+ </div>+ );+}++function ModelSelect({ models, value, onChange }: { models: string[]; value: string; onChange: (m: string) => void }) {+ return (+ <div className="wbx-select-wrap block">+ <select className="wbx-select full" value={value} onChange={(e) => onChange(e.target.value)}>+ {models.map((m) => <option key={m} value={m}>{m}</option>)}+ </select>+ <span className="wbx-select-chev"><Chevron dir="down" size={15} /></span>+ </div>+ );+}++// ── Recents: this user's sessions for this harness (clickable → loads its chat history) ─────────+interface TraceCard {+ session_id: string; title?: string; status?: string; finished_at?: number;+ model?: string; event_count?: number; elapsed?: number; credits?: number;+}++// Optimistic Recents entries: a just-sent NEW task shows in the list INSTANTLY. The durable card+// only lands after session allocation + the first trace write (seconds on a cold start), so without+// this the list lags every new send. An entry drops the moment the server list contains its session+// (sid learned from response.created), or after a safety expiry if the send failed before a session+// existed. Module-level (like _runningSids) so it survives panel re-renders.+type PendingCard = { tempId: string; harness: string; title: string; at: number; sid?: string };+let _pendingCards: PendingCard[] = [];+function addPendingCard(harness: string, title: string): string {+ const tempId = 'pend_' + Math.random().toString(36).slice(2);+ _pendingCards.push({ tempId, harness, title, at: Date.now() });+ return tempId;+}+function setPendingSid(tempId: string, sid: string) {+ const p = _pendingCards.find((x) => x.tempId === tempId);+ if (p) p.sid = sid;+}+function dropPending(tempId: string) { _pendingCards = _pendingCards.filter((x) => x.tempId !== tempId); }+/** Pending entries still worth showing for this harness, given the server list; prunes the store. */+function livePending(harness: string, cards: TraceCard[] | null): PendingCard[] {+ const now = Date.now();+ _pendingCards = _pendingCards.filter((p) =>+ now - p.at < 180_000 && !(p.sid && (cards || []).some((c) => c.session_id === p.sid)));+ return _pendingCards.filter((p) => p.harness === harness);+}+function RecentsPanel({ harnessId, harnessName, selected, onSelect, onNew, onCards, harnessSelect, refreshNonce }: {+ harnessId: string; harnessName: string; selected: string | null;+ onSelect: (sid: string) => void; onNew: () => void;+ onCards?: (cards: TraceCard[]) => void; harnessSelect?: React.ReactNode; refreshNonce?: number;+}) {+ const [cards, _setCards] = useState<TraceCard[] | null>(null);+ const setCards = (v: TraceCard[] | null | ((prev: TraceCard[] | null) => TraceCard[] | null)) => {+ _setCards((prev) => (typeof v === 'function' ? v(prev) : v));+ };+ // REAL pagination over the gateway's cursor-paged /v1/traces: `cards` is the polled first+ // page (stays fresh); `tail` accumulates older pages appended by scroll-load; `cursor`+ // points past the last loaded page ('' = exhausted or not yet known).+ const [tail, setTail] = useState<TraceCard[]>([]);+ const [cursor, setCursor] = useState('');+ const [loadingMore, setLoadingMore] = useState(false);+ const merged = useMemo(() => {+ const head = cards || [];+ const seen = new Set(head.map((c) => c.session_id));+ return [...head, ...tail.filter((t) => !seen.has(t.session_id))];+ }, [cards, tail]);+ // The detail header's title derives from the loaded cards (head + tail).+ useEffect(() => { onCards?.(merged); }, [merged]); // eslint-disable-line react-hooks/exhaustive-deps++ const listQuery = () => {+ const s = getSession(); const org = s?.orgId; const member = s?.member?.email || s?.member?.id || '';+ if (!org) return null;+ const q = new URLSearchParams({ org, member, harness: harnessId, limit: '40' });+ appendWorkspaceQuery(q);+ return q;+ };+ const loadMore = () => {+ if (!cursor || loadingMore) return;+ const q = listQuery(); if (!q) return;+ q.set('cursor', cursor);+ setLoadingMore(true);+ harnessFetch(`/api/harness/v1/traces?${q.toString()}`)+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(`traces ${r.status}`))))+ .then((d) => {+ if (Array.isArray(d?.sessions)) setTail((t) => [...t, ...d.sessions]);+ setCursor(d?.cursor || '');+ })+ .catch(() => { /* keep cursor; the next scroll retries */ })+ .finally(() => setLoadingMore(false));+ };+ const onListScroll = (e: React.UIEvent<HTMLDivElement>) => {+ const el = e.currentTarget;+ if (el.scrollTop + el.clientHeight > el.scrollHeight - 140) loadMore();+ };+ const [delTarget, setDelTarget] = useState<TraceCard | null>(null);+ const [flt, setFlt] = useState('');+ const [stFlt, setStFlt] = useState<'all' | 'working' | 'done' | 'failed'>('all');+ const [fltOpen, setFltOpen] = useState(false);+ const fltRef = useRef<HTMLDivElement>(null);+ useEffect(() => {+ const close = (e: MouseEvent) => {+ if (fltRef.current && !fltRef.current.contains(e.target as Node)) setFltOpen(false);+ };+ document.addEventListener('mousedown', close);+ return () => document.removeEventListener('mousedown', close);+ }, []);+ const [deleting, setDeleting] = useState(false);+ // Refresh the list in place (never null it out) so it doesn't flash. Used by the 6s poll AND by+ // refreshNonce bumps (after a turn runs / a session is picked), previously the parent remounted+ // this whole panel via `key`, which blanked the list and caused the visible flash.+ // While nothing is paginated yet, the head page's cursor seeds scroll-load.+ const tailLenRef = useRef(0);+ useEffect(() => { tailLenRef.current = tail.length; }, [tail]);+ const load = () => {+ const q = listQuery();+ if (!q) return Promise.resolve();+ return harnessFetch(`/api/harness/v1/traces?${q.toString()}`)+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(`traces ${r.status}`))))+ // Only overwrite with a genuine array. A transient error / cold-start / gateway rollover must+ // NEVER blank an already-loaded list, that reads to the user as "all my sessions are gone".+ .then((d) => {+ if (Array.isArray(d?.sessions)) setCards(d.sessions);+ if (tailLenRef.current === 0) setCursor(d?.cursor || '');+ })+ .catch(() => { /* keep prior list on error */ });+ };+ useEffect(() => {+ let alive = true;+ const tick = () => {+ const q = listQuery();+ if (!q) return;+ harnessFetch(`/api/harness/v1/traces?${q.toString()}`)+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(`traces ${r.status}`))))+ .then((d) => {+ if (!alive) return;+ if (Array.isArray(d?.sessions)) setCards(d.sessions);+ if (tailLenRef.current === 0) setCursor(d?.cursor || '');+ })+ .catch(() => { /* keep prior list */ });+ };+ tick(); const t = setInterval(tick, 6000); return () => { alive = false; clearInterval(t); };+ }, [harnessId]); // eslint-disable-line react-hooks/exhaustive-deps+ // Refresh-in-place when the parent signals a change (turn ran / session switched), no remount, no flash.+ const firstNonce = useRef(true);+ useEffect(() => {+ if (firstNonce.current) { firstNonce.current = false; return; }+ load();+ }, [refreshNonce]); // eslint-disable-line react-hooks/exhaustive-deps++ const confirmDelete = async () => {+ if (!delTarget) return;+ setDeleting(true);+ const sid = delTarget.session_id;+ try {+ await harnessFetch(`/api/harness/v1/traces/${encodeURIComponent(sid)}`, { method: 'DELETE' });+ } catch { /* surfaced via the list staying put */ }+ setCards((cs) => (cs || []).filter((c) => c.session_id !== sid));+ if (selected === sid) onNew(); // viewing the deleted one -> reset to a fresh task+ setDeleting(false); setDelTarget(null);+ load();+ };++ // Working = the bus says this session has a live turn (instant + accurate), OR its card status is+ // a running-ish state. The card's MANIFEST status is authoritative: once a session is terminal+ // (done/completed/failed/incomplete/…), it isn't "working" even if a stale _runningSids entry+ // lingers from a turn.started whose terminal bus event was missed.+ const _TERMINAL = new Set(['done', 'completed', 'failed', 'incomplete', 'max_turns', 'error', 'timeout', 'cancelled']);+ const isWorking = (sid: string, s?: string) =>+ !_TERMINAL.has((s || '').toLowerCase()) &&+ (_runningSids.has(sid) || s === 'running' || s === 'starting' || s === 'in_progress');+ // Design's .session-state chip: Working (green dot), Done (muted), Failed/Cancelled (amber).+ const stateChip = (sid: string, s?: string): { cls: string; label: string } => {+ if (isWorking(sid, s)) return { cls: '', label: 'Working' };+ const st = (s || '').toLowerCase();+ if (['failed', 'error', 'timeout'].includes(st)) return { cls: ' attention', label: 'Failed' };+ if (st === 'cancelled') return { cls: ' attention', label: 'Cancelled' };+ if (['incomplete', 'max_turns'].includes(st)) return { cls: ' attention', label: 'Incomplete' };+ return { cls: ' completed', label: 'Done' };+ };+ const updatedAt = (c: TraceCard) => (c.finished_at ? `Updated ${timeAgo(c.finished_at * 1000)}` : 'Updated just now');+ return (+ <div className="run-list">+ <div className="run-list-head">+ <span className="run-list-hint">Switch Harness</span>+ {harnessSelect}+ <button className="button primary run-list-new" type="button" onClick={onNew}>+ <iconify-icon icon="tabler:plus"></iconify-icon>New Task+ </button>+ <span className="list-scope">Tasks for <strong>{harnessName}</strong></span>+ <div className="run-filter-row" ref={fltRef}>+ <input className="search-input" type="search" placeholder="Filter tasks…" aria-label="Filter tasks"+ value={flt} onChange={(e) => setFlt(e.target.value)} />+ <button className={'run-flt-btn' + (stFlt !== 'all' ? ' active' : '')} type="button"+ title="Filter by status" aria-haspopup="menu" aria-expanded={fltOpen}+ onClick={() => setFltOpen((v) => !v)}>+ <iconify-icon icon="tabler:filter"></iconify-icon>+ </button>+ {fltOpen && (+ <div className="run-flt-menu" role="menu">+ {(['all', 'working', 'done', 'failed'] as const).map((k) => (+ <button key={k} role="menuitemradio" aria-checked={stFlt === k} type="button"+ className={'run-flt-item' + (stFlt === k ? ' on' : '')}+ onClick={() => { setStFlt(k); setFltOpen(false); }}>+ {k === 'all' ? 'All statuses' : k[0].toUpperCase() + k.slice(1)}+ {stFlt === k && <iconify-icon icon="tabler:check"></iconify-icon>}+ </button>+ ))}+ </div>+ )}+ </div>+ </div>+ <div className="run-list-scroll" onScroll={onListScroll}>+ {(() => { const pend = livePending(harnessId, merged); const shown = merged.filter((c) => !pend.some((p) => p.sid === c.session_id))+ .filter((c) => !flt.trim() || (c.title || c.session_id).toLowerCase().includes(flt.trim().toLowerCase()))+ .filter((c) => {+ if (stFlt === 'all') return true;+ const working = isWorking(c.session_id, c.status);+ if (stFlt === 'working') return working;+ const st = (c.status || '').toLowerCase();+ const failed = ['failed', 'error', 'timeout', 'cancelled'].includes(st);+ return stFlt === 'failed' ? failed : (!working && !failed);+ });+ return (<>+ {pend.map((p) => (+ <button key={p.tempId} className="run-item task-item" type="button" aria-pressed="false">+ <span className="run-item-top"><strong>{p.title}</strong><span className="session-state">Working</span></span>+ <span>Updated just now</span>+ </button>+ ))}+ {cards === null && pend.length === 0 && <SkelListItems rows={6} />}+ {cards && shown.length === 0 && pend.length === 0 && (+ <div className="session-empty">{merged.length === 0 ? 'No Tasks yet. Send a message to start.' : 'No Tasks match this filter.'}</div>+ )}+ {shown.map((c) => { const st = stateChip(c.session_id, c.status); return (+ <button key={c.session_id} type="button" aria-pressed={selected === c.session_id}+ className={'run-item task-item' + (selected === c.session_id ? ' active' : '')}+ onClick={() => onSelect(c.session_id)}>+ <span className="run-item-top">+ <strong>{c.title || c.session_id}</strong>+ <span className={'session-state' + st.cls}>{st.label}</span>+ <span className="run-item-del" role="button" tabIndex={0} title="Delete conversation"+ onClick={(e) => { e.stopPropagation(); setDelTarget(c); }}+ onKeyDown={(e) => { if (e.key === 'Enter') { e.stopPropagation(); setDelTarget(c); } }}><IcTrash /></span>+ </span>+ <span>{updatedAt(c)}</span>+ </button>+ ); })}+ {loadingMore && <SkelListItems rows={2} />}+ </>); })()}+ </div>+ {delTarget && (+ <div className="hr-modal-scrim" onClick={() => !deleting && setDelTarget(null)}>+ <div className="hr-auth-card" style={{ width: 380 }} onClick={(e) => e.stopPropagation()}>+ <h1 style={{ fontSize: 17 }}>Delete conversation</h1>+ <p className="sub">This permanently deletes <b>{delTarget.title || 'this conversation'}</b> and its workspace. This can't be undone.</p>+ <div className="hr-card-actions" style={{ marginTop: 18 }}>+ <button className="hr-btn" disabled={deleting} onClick={() => setDelTarget(null)}>Cancel</button>+ <button className="hr-btn danger" disabled={deleting} onClick={confirmDelete}>{deleting ? 'Deleting…' : 'Delete'}</button>+ </div>+ </div>+ </div>+ )}+ </div>+ );+}++interface ChatTarget { name: string; backend: string | null; model?: string; baseId?: string }+interface UserMsg { role: 'user'; text: string; attachments?: { name: string; dataUri?: string }[] }+interface ToolStep { name: string; args: string; result?: string; callId?: string }+// An assistant turn is an ORDERED list of blocks appended as events arrive, so tool activity is+// interleaved with prose in real time (not all tools hoisted to the top).+type Block = { kind: 'text'; text: string } | { kind: 'tools'; reasoning: string; steps: ToolStep[] };+interface AsstMsg { role: 'assistant'; blocks: Block[]; files: RespFile[]; status: 'running' | 'done' | 'failed' | 'cancelled' | 'incomplete' }+// AGENTS.md / CLAUDE.md are harness-internal instruction files the runner seeds into the workspace+// (they surface installed skills to the agent). They are never user-facing outputs, so they must+// never render as output file cards, including on older sessions that captured them before the+// gateway started excluding them.+const _INTERNAL_OUT = new Set(['AGENTS.md', 'CLAUDE.md']);+const isInternalOutput = (name?: string) =>+ !!name && (_INTERNAL_OUT.has(name) || name.startsWith('.harness/') || name.includes('/.harness/'));+type Msg = UserMsg | AsstMsg;++// The ordered-block state machine (withText/withReasoning/withStep/withResult/asstText) is+// imported from UI Core, identical semantics to the original in-file implementation.++// ── Per-conversation store (module-level, survives panel remount + tab switches) ────────────────+// The Conversation component used to hold msgs/busy/stream in component-local state, so switching+// conversations destroyed the optimistic user message AND the in-flight stream, that's why a+// message "sent" to one conversation vanished when you came back, and why only the turn that had+// already finished (reloadable from the server) ever showed. Hoisting this state here keeps every+// conversation's messages + run status alive in the background; streams write to the store by key,+// so switching is just a re-view and N concurrent turns all keep streaming.+// The store mechanics live in UI Core (createConversationStore); these thin typed wrappers keep+// every call site unchanged.+type ConvState = { msgs: Msg[]; busy: boolean; prevId: string | null; firstTurn: boolean; loaded: boolean };+const convStore = createConversationStore();+function getConvState(key: string): ConvState { return convStore.get(key) as ConvState; }+function setConvState(key: string, patch: Partial<ConvState> | ((s: ConvState) => Partial<ConvState>)): void {+ convStore.set(key, patch);+}+function useConvState(key: string): ConvState { return convStore.use(key) as ConvState; }++// ── realtime broadcast bus → conv store ──────────────────────────────────────────────────────────+// The gateway broadcasts every event of every session of a harness. We apply each event to the+// conv store keyed by the REAL session id, so any conversation renders live regardless of which tab+// (or none) started the turn, fixing "open a running session and see nothing until a hard refresh".+// `_busSuppress` holds session ids whose turn THIS tab is already rendering via its own POST stream+// (convKey === sid), so we don't double-apply deltas for those.+const _busSuppress = new Set<string>();+// Sessions with a turn currently in flight, maintained from the bus (authoritative, no trace-card+// lag) so the Recents "working" dot is accurate the instant a turn starts/ends.+const _runningSids = new Set<string>();+const _busFn: Record<string, { name: string; callId: string }> = {};+function busUpdateLast(sid: string, fn: (a: AsstMsg) => void) {+ setConvState(sid, (s) => {+ const out = s.msgs.slice();+ for (let i = out.length - 1; i >= 0; i--) {+ if (out[i].role === 'assistant') { const a = { ...(out[i] as AsstMsg) }; fn(a); out[i] = a; break; }+ }+ return { msgs: out };+ });+}+function applyBusEvent(sid: string, responseId: string, ev: Record<string, unknown>, replay = false) {+ if (!sid || _busSuppress.has(sid)) return; // initiating tab's POST stream owns this one+ // History catch-up frames are dropped: an in-flight turn's progress-so-far is loaded from the+ // authoritative durable trace via GET /v1/sessions/{sid}/turns (msgsFromTurns). Re-applying the+ // same events off the bus would double-render (append the same text/tools twice). The bus is the+ // live-FORWARD channel only; the trace snapshot + the reconcile poll own history + repair.+ if (replay) return;+ const t = ev.type as string;+ switch (t) {+ case 'harness.turn.started': {+ // Ignore a REPLAYED start of a turn we've already finished (its response_id is our last prevId):+ // a stale/duplicate start would otherwise append a phantom "Working…" turn that never completes.+ if (responseId && getConvState(sid).prevId === responseId) return;+ setConvState(sid, (s) => {+ const last = s.msgs[s.msgs.length - 1];+ if (last && last.role === 'assistant' && (last as AsstMsg).status === 'running') return {}; // already showing it+ const user = String((ev.user_text as string) || '');+ const add: Msg[] = [];+ if (user) add.push({ role: 'user', text: user });+ add.push({ role: 'assistant', blocks: [], files: [], status: 'running' });+ return { msgs: [...s.msgs, ...add], busy: true, loaded: true };+ });+ break;+ }+ case 'response.reasoning_summary_text.delta':+ busUpdateLast(sid, (a) => { a.blocks = withReasoning(a.blocks, ev.delta as string); }); break;+ case 'response.output_item.added': {+ const item = ev.item as Record<string, unknown>;+ if (item?.type === 'function_call') _busFn[`${sid}:${ev.output_index}`] = { name: item.name as string, callId: (item.call_id as string) || '' };+ else if (item?.type === 'function_call_output') busUpdateLast(sid, (a) => { a.blocks = withResult(a.blocks, (item.call_id as string) || '', String(item.output ?? '')); });+ break;+ }+ case 'response.function_call_arguments.done': {+ const fn = _busFn[`${sid}:${ev.output_index}`] || { name: 'tool', callId: '' };+ busUpdateLast(sid, (a) => { a.blocks = withStep(a.blocks, { name: fn.name, args: (ev.arguments as string) || '', callId: fn.callId }); }); break;+ }+ case 'response.output_text.delta':+ busUpdateLast(sid, (a) => { a.blocks = withText(a.blocks, ev.delta as string); }); break;+ case 'response.output_text.annotation.added': {+ const a = ev.annotation as Record<string, unknown>;+ if (a?.type === 'container_file_citation') busUpdateLast(sid, (m) => { m.files = [...m.files, { container_id: a.container_id as string, file_id: a.file_id as string, filename: a.filename as string }]; });+ break;+ }+ case 'response.completed':+ busUpdateLast(sid, (a) => { a.status = 'done'; }); setConvState(sid, { busy: false, prevId: responseId, firstTurn: false }); break;+ case 'response.incomplete':+ busUpdateLast(sid, (a) => { a.status = 'incomplete'; }); setConvState(sid, { busy: false, prevId: responseId, firstTurn: false }); break;+ case 'response.failed': {+ // A user Stop arrives as response.failed with reason/status "cancelled", show it as+ // Cancelled, not Failed (the session card + turn record already say cancelled).+ const wasCancelled = ev.reason === 'cancelled'+ || (ev.response as Record<string, unknown> | undefined)?.status === 'cancelled';+ busUpdateLast(sid, (a) => { a.status = wasCancelled ? 'cancelled' : 'failed'; });+ setConvState(sid, { busy: false, prevId: responseId, firstTurn: false }); break;+ }+ case 'error':+ busUpdateLast(sid, (a) => { a.blocks = withText(a.blocks, '\n\nError: ' + ((ev.message as string) || 'stream error')); }); break;+ }+}+function useHarnessBus(harnessId: string, onActivity?: () => void) {+ useEffect(() => {+ if (!harnessId) return;+ const unsub = subscribeHarnessEvents(harnessId, (m) => {+ const t = (m.event as Record<string, unknown>)?.type as string;+ // track in-flight sessions (authoritative for the Recents dot) regardless of suppress/replay:+ // a replayed start still tells us the session is live (its terminal event clears it).+ if (t === 'harness.turn.started') _runningSids.add(m.session_id);+ else if (t === 'response.completed' || t === 'response.failed' || t === 'response.incomplete') _runningSids.delete(m.session_id);+ applyBusEvent(m.session_id, m.response_id, m.event || {}, Boolean(m.replay));+ if (t === 'harness.turn.started' || t === 'response.completed' || t === 'response.failed' || t === 'response.incomplete') onActivity?.();+ });+ return unsub;+ }, [harnessId]); // eslint-disable-line react-hooks/exhaustive-deps+}++function Conversation({ harnessId, sessionId, target, models, onModel, onRan, onSession, recentsOpen, onToggleRecents, showToggle = true, additionalHeaders }: {+ harnessId: string; sessionId: string | null; target: ChatTarget;+ models: string[]; onModel: (m: string) => void; onRan: () => void; onSession?: (sid: string) => void;+ recentsOpen: boolean; onToggleRecents: () => void; showToggle?: boolean; additionalHeaders?: string[];+}) {+ // Additional Headers (app-level auth): per-harness VALUES for the declared header names, kept+ // client-side only (localStorage) and attached to every Playground call, the same pass-through+ // path an external caller uses, so the Playground exercises real app auth.+ const hdrKey = 'hr.hdrs.' + harnessId;+ const [hdrVals, setHdrVals] = useState<Record<string, string>>(() => {+ try { return JSON.parse(localStorage.getItem(hdrKey) || '{}'); } catch { return {}; }+ });+ const [hdrOpen, setHdrOpen] = useState(false);+ const declared = (additionalHeaders || []).filter(Boolean);+ const saveHdrVals = (vals: Record<string, string>) => {+ setHdrVals(vals);+ try { localStorage.setItem(hdrKey, JSON.stringify(vals)); } catch { /* private mode */ }+ };+ const extraHeaders = () => {+ const out: Record<string, string> = {};+ for (const n of declared) { const v = hdrVals[n]; if (v) out[n] = v; }+ return out;+ };+ // Conversation state lives in the module store (see ConvState) keyed by the session id, or a+ // stable per-mount id for a not-yet-saved new conversation, so it survives switching away/back.+ // Once the gateway allocates the real session id (onSession), a new conversation REBINDS to that+ // key: the local POST stream and the broadcast bus then write to the same entry, so prevId can't+ // split across keys (the split was one way a follow-up forked a brand-new session).+ const genId = useId();+ const [boundSid, setBoundSid] = useState<string | null>(null);+ const sidRef = useRef<string | null>(sessionId);+ // Workspace-file links inside agent replies resolve against the LIVE session id.+ const mdRenderer = useMemo(() => makeWbMarkdown(() => sessionId ?? sidRef.current, () => harnessId || null), [sessionId, harnessId]); // eslint-disable-line react-hooks/exhaustive-deps+ useEffect(() => { if (sessionId) sidRef.current = sessionId; }, [sessionId]);+ const convKey = sessionId ?? boundSid ?? `new-${genId}`;+ const convKeyRef = useRef(convKey);+ convKeyRef.current = convKey;+ const conv = useConvState(convKey);+ const msgs = conv.msgs;+ const setMsgs = (u: Msg[] | ((m: Msg[]) => Msg[])) =>+ setConvState(convKeyRef.current, (s) => ({ msgs: typeof u === 'function' ? (u as (m: Msg[]) => Msg[])(s.msgs) : u }));+ const [input, setInput] = useState('');+ const [copiedIdx, setCopiedIdx] = useState<number | null>(null);+ const taRef = useRef<HTMLTextAreaElement>(null); // shared Composer auto-grows it (15-row cap)+ const busy = conv.busy;+ const setBusy = (b: boolean) => setConvState(convKeyRef.current, { busy: b });+ const prevId = conv.prevId;+ const setPrevId = (id: string | null) => setConvState(convKeyRef.current, { prevId: id });+ const firstTurn = conv.firstTurn;+ const setFirstTurn = (b: boolean) => setConvState(convKeyRef.current, { firstTurn: b });+ const [loading, setLoading] = useState(false);+ const [files, setFiles] = useState<{ name: string; dataUri: string }[]>([]);+ const [preview, setPreview] = useState<{ url: string; name: string } | null>(null);+ // Stop is one-shot: disabled the moment it's clicked so a slow cancel can't be spammed.+ // Re-armed whenever the busy state settles (turn ended) or a new turn starts.+ const [stopping, setStopping] = useState(false);+ useEffect(() => { setStopping(false); }, [busy]);+ const [previewW, onPreviewResize] = useHResize(520, 340, 1100, true);+ const [atBottom, setAtBottom] = useState(true);+ const fileRef = useRef<HTMLInputElement>(null);+ const scrollRef = useRef<HTMLDivElement>(null);+ const jumpToBottom = () => requestAnimationFrame(() => requestAnimationFrame(() => {+ const el = scrollRef.current; if (el) el.scrollTop = el.scrollHeight;+ }));+ // Auto-stick to the newest message only when the user is already near the bottom.+ useEffect(() => { if (atBottom) jumpToBottom(); }, [msgs, atBottom]);+ const onScroll = () => {+ const el = scrollRef.current; if (!el) return;+ setAtBottom(el.scrollHeight - el.scrollTop - el.clientHeight < 60);+ };+ async function pickFiles(list: FileList | null) {+ if (!list) return;+ const out: { name: string; dataUri: string }[] = [];+ for (const f of Array.from(list)) {+ const b64: string = await new Promise((res) => {+ const r = new FileReader(); r.onload = () => res(String(r.result || '').split(',')[1] || ''); r.readAsDataURL(f);+ });+ out.push({ name: f.name, dataUri: `data:${f.type || 'application/octet-stream'};base64,${b64}` });+ }+ setFiles((p) => [...p, ...out]);+ }+ // Drag-and-drop attach: dropping files anywhere on the conversation adds them to the composer.+ // dragCount tracks nested enter/leave pairs (children fire their own events) so the highlight+ // doesn't flicker off while moving across the pane.+ const [dragOver, setDragOver] = useState(false);+ const dragCount = useRef(0);+ const canAttach = !!target.backend && !busy;+ const onDragEnter = (e: React.DragEvent) => {+ if (!canAttach || !Array.from(e.dataTransfer?.types || []).includes('Files')) return;+ e.preventDefault();+ dragCount.current += 1;+ setDragOver(true);+ };+ const onDragOver = (e: React.DragEvent) => {+ if (!canAttach || !Array.from(e.dataTransfer?.types || []).includes('Files')) return;+ e.preventDefault();+ e.dataTransfer.dropEffect = 'copy';+ };+ const onDragLeave = (e: React.DragEvent) => {+ if (!dragOver) return;+ e.preventDefault();+ dragCount.current = Math.max(0, dragCount.current - 1);+ if (dragCount.current === 0) setDragOver(false);+ };+ const onDrop = (e: React.DragEvent) => {+ if (!canAttach) return;+ e.preventDefault();+ dragCount.current = 0;+ setDragOver(false);+ if (e.dataTransfer?.files?.length) void pickFiles(e.dataTransfer.files);+ };++ // Load a session's chat history into the store, reconciling against the AUTHORITATIVE backend.+ // Opening a session always checks the real turn status: a session the backend reports terminal is+ // shown done with its content even if the store was left stuck at busy:true (e.g. a terminal bus+ // event was dropped on a full queue / reconnect race), which previously stranded it at "Working…"+ // until a hard refresh. A genuinely in-flight turn keeps its live placeholder for the bus to stream.+ useEffect(() => {+ const existing = getConvState(convKey);+ if (!sessionId) { if (!existing.loaded) setConvState(convKey, { loaded: true }); return; }+ // Already loaded, idle, and has content → trust it (no refetch on every open).+ if (existing.loaded && !existing.busy && existing.msgs.length) return;+ setLoading(true);+ loadSessionTurns(sessionId).then(({ turns, lastResponseId }) => {+ const { msgs: m, running } = msgsFromTurns(turns);+ const cur = getConvState(convKey);+ if (!running) {+ // Backend is terminal → authoritative. Show its content and clear any stale busy flag.+ setConvState(convKey, { msgs: m, prevId: lastResponseId, firstTurn: false, loaded: true, busy: false });+ } else if (!cur.msgs.length) {+ // In-flight with nothing local yet → load the turn's progress-so-far (the backend+ // reconstructs a running turn's partial output from its durable trace) and let the bus+ // stream new events on top. If the trace was still empty this is just the placeholder.+ setConvState(convKey, { msgs: m, prevId: lastResponseId, firstTurn: false, loaded: true, busy: true });+ } else {+ // In-flight and we already hold live msgs (switched away/back mid-turn) → keep them.+ setConvState(convKey, { loaded: true });+ }+ setLoading(false);+ }).catch(() => setLoading(false));+ }, [convKey, sessionId]);++ // RECONCILIATION: SSE (POST stream or bus) is best-effort delivery, a reconnect gap, a+ // replica switch, or a dropped terminal event must NEVER strand the conversation at+ // "Working…". While busy, poll the authoritative turn state; the moment the backend says+ // the turn is over, rebuild from /turns and settle. This is the load-bearing guarantee;+ // streaming is just the fast path on top of it.+ useEffect(() => {+ if (!busy) return;+ const sid = sessionId ?? sidRef.current;+ if (!sid) return;+ let stop = false;+ const iv = setInterval(async () => {+ if (stop) return;+ try {+ const { turns, lastResponseId } = await loadSessionTurns(sid);+ if (stop || !turns.length) return;+ const last = turns[turns.length - 1];+ if (!TERMINAL_TURN.has(String(last.status || ''))) return;+ const { msgs: m } = msgsFromTurns(turns);+ _busSuppress.delete(sid);+ setConvState(convKeyRef.current, { msgs: m, prevId: lastResponseId, firstTurn: false, loaded: true, busy: false });+ } catch { /* transient, next tick */ }+ }, 4000);+ return () => { stop = true; clearInterval(iv); };+ }, [busy, sessionId]); // eslint-disable-line react-hooks/exhaustive-deps++ const updateLast = (fn: (a: AsstMsg) => void) =>+ setMsgs((m) => { const out = m.slice(); for (let i = out.length - 1; i >= 0; i--) { if (out[i].role === 'assistant') { const a = { ...(out[i] as AsstMsg) }; fn(a); out[i] = a; break; } } return out; });++ async function send(textOverride?: string) {+ const text = (textOverride ?? input).trim();+ if ((!text && files.length === 0) || busy || !target.backend) return;+ const sent = files;+ // OpenAI Responses input: a string, or a user MESSAGE whose content is text + file parts.+ // (The gateway parses {role,content:[…]}, a bare content-part array reads as empty input.)+ const input_payload: string | unknown[] = sent.length+ ? [{ role: 'user', content: [+ ...(text ? [{ type: 'input_text', text }] : []),+ ...sent.map((f) => ({ type: 'input_file', filename: f.name, file_data: f.dataUri })),+ ] }]+ : text;+ setInput(''); setFiles([]); setBusy(true); setAtBottom(true);+ setMsgs((m) => [...m, { role: 'user', text, attachments: sent.map((f) => ({ name: f.name, dataUri: f.dataUri })) }, { role: 'assistant', blocks: [], files: [], status: 'running' }]);+ // NEW task (no session yet): surface it in Recents IMMEDIATELY via an optimistic entry, the+ // durable card takes seconds (session allocation + first trace write). onRan() re-renders the+ // panel now; the entry swaps for the real card as soon as the server list carries this session.+ const pendId = !sessionId ? addPendingCard(harnessId, (text || sent[0]?.name || 'New task').split('\n')[0].slice(0, 120)) : null;+ if (pendId) onRan();+ // This tab renders the turn via its own POST stream below; tell the broadcast bus to NOT also+ // apply deltas to this same session (convKey === sid) to avoid double-rendering. Other tabs /+ // other conversations still get it live from the bus.+ const knownSid = sessionId ?? sidRef.current;+ if (knownSid) _busSuppress.add(knownSid);+ try {+ const id = await streamResponse(+ // No `instructions`: the harness's configured Agent Instructions are written into the+ // workspace as AGENTS.md/CLAUDE.md (server-side, from the saved harness), so the model keeps+ // its default system prompt rather than having instructions prepended to the first message.+ // sessionHint: continuity fallback, the gateway continues this session even if prevId was+ // lost client-side (interrupted stream), instead of forking a new one.+ { input: input_payload, backend: target.backend, model: target.model || undefined, previousResponseId: prevId,+ sessionHint: knownSid, harnessId, harnessName: target.name, extraHeaders: extraHeaders() },+ { onCreated: (rid) => setPrevId(rid),+ onSession: (sid) => {+ if (pendId) setPendingSid(pendId, sid);+ // First turn of a new conversation: rebind the conv store to the real session id so all+ // future writes (this stream, the bus, follow-up turns) land on ONE key.+ if (!sessionId && !sidRef.current && sid) {+ convStore.seed(sid, { ...getConvState(convKeyRef.current) });+ _busSuppress.add(sid);+ sidRef.current = sid;+ setBoundSid(sid);+ }+ onSession?.(sid);+ },+ onReasoningDelta: (d) => updateLast((a) => { a.blocks = withReasoning(a.blocks, d); }),+ onToolCall: (name, args, callId) => updateLast((a) => { a.blocks = withStep(a.blocks, { name, args, callId }); }),+ onToolResult: (callId, output) => updateLast((a) => { a.blocks = withResult(a.blocks, callId, output); }),+ onTextDelta: (d) => updateLast((a) => { a.blocks = withText(a.blocks, d); }),+ onFile: (f) => updateLast((a) => { a.files = [...a.files, f]; }),+ onError: (msg) => updateLast((a) => { a.blocks = withText(a.blocks, '\n\nError: ' + msg); }),+ onDone: (status) => updateLast((a) => {+ a.status = status === 'completed' ? 'done'+ : (['failed', 'cancelled', 'incomplete'].includes(status) ? status as AsstMsg['status'] : 'failed');+ }) },+ );+ if (id) setPrevId(id); setFirstTurn(false);+ } catch (e) {+ // A throw here is a TRANSPORT failure (the POST stream dropped), never an agent failure, which+ // arrives via onError + onDone('failed'). If the turn already reached a session it is STILL+ // running server-side (a gateway redeploy rolling the SSE, a network blip), so painting it+ // "failed" is a lie that strands the user. Leave it running and let the finally hand rendering+ // to the auto-reconnecting broadcast bus. Only a start failure (no session yet) is a real error.+ const sk = sessionId ?? sidRef.current;+ if (!sk) {+ if (pendId) dropPending(pendId);+ updateLast((a) => { a.blocks = withText(a.blocks, '\n\nError: ' + (e instanceof Error ? e.message : String(e))); a.status = 'failed'; });+ }+ } finally {+ const sk = sessionId ?? sidRef.current;+ // If the stream ended (returned or threw) but no terminal event set the assistant status, the+ // turn is still live server-side (transport drop OR a clean drain-close mid-turn). Hand it to the+ // broadcast bus, which auto-reconnects, by releasing suppression, and KEEP the working state so+ // the indicator stands until the bus (or the on-focus reconcile) lands the true terminal status.+ const ms = getConvState(convKeyRef.current).msgs;+ const lastA = ms[ms.length - 1];+ const stillRunning = !!lastA && lastA.role === 'assistant' && (lastA as AsstMsg).status === 'running';+ if (sk && stillRunning) {+ _busSuppress.delete(sk); // bus renders the remainder; keep busy=true (composer stays disabled)+ } else {+ if (sk) _busSuppress.delete(sk);+ setBusy(false);+ }+ onRan();+ }+ }++ return (+ <div className={'wbx-conv' + (preview ? ' split' : '')}+ onDragEnter={onDragEnter} onDragOver={onDragOver} onDragLeave={onDragLeave} onDrop={onDrop}>+ {dragOver && (+ <div className="wbx-droparea" aria-hidden="true">+ <div className="wbx-droparea-inner">+ <iconify-icon icon="tabler:file-upload"></iconify-icon>+ Drop files to attach+ </div>+ </div>+ )}+ <div className="wbx-conv-main">+ <div className="wbx-conv-bar">+ {showToggle && (+ <button className="wbx-panel-tgl" title={recentsOpen ? 'Hide task history' : 'Show task history'}+ aria-pressed={recentsOpen} onClick={onToggleRecents}><IcPanel /></button>+ )}+ <span className="wbx-conv-bar-title">{target.baseId ? <HarnessLogo id={target.baseId} size={18} /> : null}{target.name}</span>+ {declared.length > 0 && (+ <button className="wbx-hdr-gear" title="Header values for this preview"+ aria-haspopup="dialog" aria-expanded={hdrOpen}+ onClick={() => setHdrOpen(true)}>+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"><circle cx="12" cy="12" r="3" /><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z" /></svg>+ {declared.some((n) => !hdrVals[n]) && <span className="wbx-hdr-dot" title="Some header values are not set" />}+ </button>+ )}+ </div>+ {hdrOpen && (+ <div className="hr-modal-scrim" onClick={() => setHdrOpen(false)}>+ <div className="wbx-hdr-pop" role="dialog" aria-label="Preview header values" onClick={(e) => e.stopPropagation()}>+ <div className="wbx-hdr-pop-title">Preview header values</div>+ <div className="hr-meta" style={{ marginBottom: 10 }}>+ Sent with every call from this preview, like your product would. Stored only in this browser.+ </div>+ {declared.map((n) => (+ <label key={n} style={{ display: 'block', marginBottom: 8 }}>+ <div className="wb-label" style={{ marginBottom: 3 }}>{n}</div>+ <input className="wb-input" type="password" autoComplete="off" placeholder="value"+ value={hdrVals[n] || ''}+ onChange={(e) => setHdrVals({ ...hdrVals, [n]: e.target.value })} />+ </label>+ ))}+ <div style={{ display: 'flex', justifyContent: 'flex-end', gap: 8, marginTop: 12 }}>+ <button className="hr-btn" onClick={() => setHdrOpen(false)}>Cancel</button>+ <button className="hr-btn primary" onClick={() => { saveHdrVals(hdrVals); setHdrOpen(false); }}>Save</button>+ </div>+ </div>+ </div>+ )}+ <div className="wbx-conv-msgs" ref={scrollRef} onScroll={onScroll}>+ {loading && <div className="hr-empty" style={{ marginTop: 40 }}>Loading conversation…</div>}+ {!loading && msgs.length === 0 && <div className="hr-empty" style={{ marginTop: 60 }}>Send a message to run a turn on <b>{target.name}</b>.</div>}+ {/* Shared message list (UI Core): blocks render in stream order so tool activity+ interleaves with prose. HR-specific chrome rides the override slots. */}+ {!loading && (+ <ChatMessages+ messages={msgs}+ renderMarkdown={mdRenderer}+ userExtras={(m: UserMsg) => (m.attachments && m.attachments.length > 0 ? (+ <div className="wbx-attach-row">+ {m.attachments.map((f, j) => <AttachCard key={j} name={f.name} dataUri={f.dataUri} />)}+ </div>+ ) : null)}+ assistantFooter={(m: AsstMsg, i: number) => (+ <>+ {m.files.filter((f) => !isInternalOutput(f.filename)).length > 0 && (+ <div className="wbx-files">+ {m.files.filter((f) => !isInternalOutput(f.filename)).map((f, j) => (+ <div key={j} className="wbx-filecard" onClick={() => setPreview({ url: containerFileUrl(f), name: f.filename })}>+ <span className="wbx-filecard-ic"><FileTypeIcon name={f.filename} size={32} /></span>+ <span className="wbx-filecard-meta">+ <span className="wbx-filecard-name">{f.filename}</span>+ <span className="wbx-filecard-sub">{(f.filename.split('.').pop() || 'file').toUpperCase()} · output</span>+ </span>+ {/* Authed download (LIVE-B): a bare href carries no session and is rejected. */}+ <button className="wbx-filecard-dl" title="Download" type="button"+ onClick={(e) => { e.stopPropagation(); downloadFile(containerFileUrl(f), f.filename).catch(() => undefined); }}><IcDl /></button>+ <span className="wbx-filecard-open">Preview</span>+ </div>+ ))}+ {/* One-click zip of THIS turn's outputs (folder hierarchy preserved inside the+ archive). Only worth a row when there's more than one file. */}+ {(() => {+ const outs = m.files.filter((f) => !isInternalOutput(f.filename));+ if (outs.length < 2) return null;+ const zipUrl = `/api/harness/v1/sessions/${encodeURIComponent(outs[0].container_id)}` ++ `/files/archive?files=${encodeURIComponent(outs.map((f) => f.file_id).join(','))}`;+ return (+ <button className="wbx-zipall" type="button"+ onClick={(e) => { e.stopPropagation(); downloadFile(zipUrl, 'outputs.zip').catch(() => undefined); }}>+ <IcDl /> Download all ({outs.length}) as .zip+ </button>+ );+ })()}+ </div>+ )}+ {m.status !== 'running' && asstText(m) && (+ <div className="wbx-actrow">+ <button className="wbx-act-ic" title={copiedIdx === i ? 'Copied' : 'Copy'}+ onClick={async () => {+ try { await navigator.clipboard.writeText(asstText(m)); setCopiedIdx(i); setTimeout(() => setCopiedIdx((x) => (x === i ? null : x)), 1400); } catch { /* blocked */ }+ }}>{copiedIdx === i ? <iconify-icon icon="tabler:check"></iconify-icon> : <iconify-icon icon="tabler:copy"></iconify-icon>}</button>+ {i === msgs.length - 1 && !busy && (+ <>+ {/* Continue = one more turn on the SAME session (prevId threads automatically). */}+ <button className="wbx-act-ic" title="Continue"+ onClick={() => void send('Continue where you left off and finish the remaining work.')}><iconify-icon icon="tabler:arrow-forward"></iconify-icon></button>+ {/* Revise = put the prior prompt back in the composer for editing; sending it+ continues this session rather than forking a new one. */}+ <button className="wbx-act-ic" title="Revise"+ onClick={() => {+ const lu = [...msgs].reverse().find((x) => x.role === 'user');+ if (lu && 'text' in lu && lu.text) { setInput(lu.text); taRef.current?.focus(); }+ }}><iconify-icon icon="tabler:pencil"></iconify-icon></button>+ </>+ )}+ </div>+ )}+ </>+ )}+ />+ )}+ </div>++ {!atBottom && (+ <button className="wbx-jump" title="Jump to latest" onClick={() => { setAtBottom(true); jumpToBottom(); }}>+ <Chevron dir="down" size={18} />+ </button>+ )}++ {/* Shared composer (UI Core): Enter sends, auto-grows to 15 rows; HR chrome via slots. */}+ <Composer+ value={input}+ onChange={setInput}+ onSend={() => send()}+ disabled={!target.backend || busy}+ placeholder={target.backend ? 'Write a message…' : 'This harness is coming soon'}+ inputRef={taRef}+ attachments={files.length > 0 ? (+ <div className="wbx-attach-row in-composer">+ {files.map((f, j) => (+ <AttachCard key={j} name={f.name} dataUri={f.dataUri} onRemove={() => setFiles((p) => p.filter((_, k) => k !== j))} />+ ))}+ </div>+ ) : null}+ accessoriesLeft={(+ <>+ <input ref={fileRef} type="file" multiple hidden onChange={(e) => { pickFiles(e.target.files); e.target.value = ''; }} />+ <button className="wbx-comp-ic" title="Attach file" disabled={!target.backend || busy} onClick={() => fileRef.current?.click()}><IcPlus /></button>+ {models.length > 0 && (+ <div className="wbx-select-wrap mini">+ <select className="wbx-select mini" value={target.model || ''} onChange={(e) => onModel(e.target.value)}>+ {models.map((m) => <option key={m} value={m}>{m}</option>)}+ </select>+ <span className="wbx-select-chev"><Chevron dir="down" size={13} /></span>+ </div>+ )}+ </>+ )}+ renderSend={() => (busy && (sessionId ?? sidRef.current) ? (+ // A running turn can't Send anyway, the slot becomes Stop (square icon).+ <button className="hr-btn primary wbx-send wbx-send-stop" title="Stop this turn" disabled={stopping}+ onClick={() => {+ const sid = sessionId ?? sidRef.current;+ if (!sid || stopping) return;+ setStopping(true);+ // Settle from the server's verdict too, the bus event alone can be missed+ // (dropped SSE, reconnect race), which used to leave Stop looking like a no-op.+ void cancelSession(sid).then((r) => {+ const terminal = ['cancelled', 'failed', 'error', 'done', 'completed', 'incomplete', 'max_turns', 'timeout'];+ if (r.cancelled || terminal.includes(r.status)) {+ updateLast((a) => { a.status = 'cancelled'; });+ setBusy(false);+ } else {+ setStopping(false); // cancel didn't land, let the user retry+ }+ }).catch(() => setStopping(false));+ }}>+ <iconify-icon icon="tabler:player-stop-filled"></iconify-icon>+ {stopping ? 'Stopping…' : 'Stop'}+ </button>+ ) : (+ <button className="hr-btn primary wbx-send" onClick={() => send()} disabled={!target.backend || busy || (!input.trim() && files.length === 0)}>Send</button>+ ))}+ />+ </div>+ {preview && <>+ <div className="wbx-vresize" onMouseDown={onPreviewResize} title="Drag to resize" />+ <div className="wbx-preview-pane" style={{ width: previewW, flex: '0 0 auto' }}>+ <FilePreview file={preview} onClose={() => setPreview(null)} />+ </div>+ </>}+ </div>+ );+}++// ── Trace tab: the ORIGINAL Traces component (TracesMain) scoped to the selected Task, the+// session list is unnecessary here because the task list on the left already selects the session.+function TraceView({ sid }: { sid: string | null }) {+ useEffect(() => {+ traceStore.select(sid || null);+ return () => { traceStore.select(null); };+ }, [sid]);+ if (!sid) {+ return (+ <div className="run-trace-embed"><div className="session-empty">Run the task first, its trace appears here.</div></div>+ );+ }+ return (+ <div className="run-trace-embed">+ <TracesMain />+ </div>+ );+}+export default function WorkbenchPage() {+ return <Suspense fallback={<SkelPage />}><Workbench /></Suspense>;+}diff --git a/ui/src/app/[harness]/[sid]/workspace/[...fpath]/route.ts b/ui/src/app/[harness]/[sid]/workspace/[...fpath]/route.tsnew file mode 100644index 00000000..1e715a0e--- /dev/null+++ b/ui/src/app/[harness]/[sid]/workspace/[...fpath]/route.ts@@ -0,0 +1,31 @@+// Canonical artifact URL: /{harness}/{session}/workspace/{path}, proxies to the gateway's+// same-shaped /w/ route. Access is the gateway's single cached session-level shared flag+// (no auth headers injected; the unguessable session id is the lookup key, the flag is the+// gate). Binary-safe passthrough so html/css/js/img/pdf preview inline with relative assets.+import type { NextRequest } from 'next/server';++export const dynamic = 'force-dynamic';++const GATEWAY = process.env.HARNESS_GATEWAY_URL || 'https://api.harnessrouter.ai';++export async function GET(req: NextRequest,+ ctx: { params: Promise<{ harness: string; sid: string; fpath: string[] }> }) {+ const { harness, sid, fpath } = await ctx.params;+ const target = `${GATEWAY.replace(/\/$/, '')}/w/${encodeURIComponent(harness)}/${encodeURIComponent(sid)}` ++ `/workspace/${(fpath || []).map(encodeURIComponent).join('/')}`;+ try {+ const res = await fetch(target, { cache: 'no-store' });+ const out: Record<string, string> = {+ 'content-type': res.headers.get('content-type') || 'application/octet-stream',+ };+ for (const h of ['content-disposition', 'cache-control', 'x-content-type-options']) {+ const v = res.headers.get(h);+ if (v) out[h] = v;+ }+ return new Response(res.body, { status: res.status, headers: out });+ } catch {+ return new Response(JSON.stringify({ detail: 'workspace upstream unreachable' }), {+ status: 502, headers: { 'content-type': 'application/json' },+ });+ }+}diff --git a/ui/src/app/api/cloud/push/route.ts b/ui/src/app/api/cloud/push/route.tsdeleted file mode 100644index 418268d9..00000000--- a/ui/src/app/api/cloud/push/route.ts+++ /dev/null@@ -1,66 +0,0 @@-// Push local harnesses to a hosted HarnessRouter account.-//-// ONE-WAY BY CONSTRUCTION. This route can only send. There is no pull counterpart anywhere in-// this repo, and that is a design decision rather than an omission: a local instance is a-// scratchpad you iterate in, and letting hosted state flow back would make "which copy is-// real?" a question users have to answer on every edit. Promotion is a deliberate act with one-// direction, so the hosted copy is always the authority once a harness is promoted.-//-// The hosted API key is supplied per request by the browser and used for exactly this call. It-// is never written to disk, never logged, and never stored server-side — if you close the tab,-// it is gone. That is why the key is a parameter here rather than instance configuration.-import { NextRequest } from 'next/server';-import { harnessBody, type Harness } from '@/lib/harness';--const DEFAULT_CLOUD = 'https://api.harnessrouter.ai';--interface PushBody {- apiKey: string;- cloudUrl?: string;- harnesses: Harness[];-}--export const runtime = 'nodejs';--export async function POST(req: NextRequest) {- let body: PushBody;- try {- body = await req.json();- } catch {- return Response.json({ detail: 'invalid request body' }, { status: 400 });- }-- const apiKey = String(body.apiKey || '').trim();- const base = String(body.cloudUrl || DEFAULT_CLOUD).replace(/\/$/, '');- const list = Array.isArray(body.harnesses) ? body.harnesses : [];- if (!apiKey) return Response.json({ detail: 'a hosted API key is required' }, { status: 400 });- if (!list.length) return Response.json({ detail: 'select at least one harness' }, { status: 400 });-- const results: { name: string; ok: boolean; id?: string; error?: string }[] = [];- for (const h of list) {- // The same mapping the local console writes with — the hosted API takes the same body, which- // is what makes promotion a copy rather than a translation. Local bookkeeping (id, timestamps,- // org, workspace) isn't in it, so the hosted side mints its own.- const payload = harnessBody(h);- const name = String(payload.name || 'untitled');- try {- const r = await fetch(`${base}/v1/harnesses`, {- method: 'POST',- headers: { 'content-type': 'application/json', authorization: `Bearer ${apiKey}` },- body: JSON.stringify(payload),- });- if (r.ok) {- const created = await r.json().catch(() => ({}));- results.push({ name, ok: true, id: created?.id });- } else {- // Surface the hosted side's reason (bad key, name clash, quota) but never echo the key.- let detail = `HTTP ${r.status}`;- try { detail = (await r.json())?.detail || detail; } catch { /* keep the status */ }- results.push({ name, ok: false, error: String(detail) });- }- } catch {- results.push({ name, ok: false, error: 'could not reach the hosted API' });- }- }- return Response.json({ results, pushed: results.filter((r) => r.ok).length });-}diff --git a/ui/src/app/api/engine/[...path]/route.ts b/ui/src/app/api/engine/[...path]/route.tsnew file mode 100644index 00000000..c911c541--- /dev/null+++ b/ui/src/app/api/engine/[...path]/route.ts@@ -0,0 +1,81 @@+// BFF proxy to the AgentStudio Workflow Engine (ACA).+//+// Same-origin /api/engine/* from the browser -> the engine, server-side. The+// engine URL (and any future internal key) stay on the server. Used by the auth+// flow (/v1/auth/login, /switch-org, /me) and any other engine call from the UI.+// Authorization: Bearer is forwarded verbatim so the engine verifies the JWT.+//+// WORKFLOW_ENGINE_URL e.g. https://workflow-engine.<env>.eastus2.azurecontainerapps.io+import type { NextRequest } from 'next/server';++export const dynamic = 'force-dynamic';+// Allow long-lived SSE run-progress streams + slow engine calls. On Vercel Hobby+// the function cap is 60s (the studio's EventSource auto-reconnects past that and+// the getRun poll fills any gap); raise on Pro if you want longer single streams.+export const maxDuration = 60;++const ENGINE =+ process.env.WORKFLOW_ENGINE_URL ||+ 'https://workflow-engine.calmrock-23b12d3f.eastus2.azurecontainerapps.io';++async function proxy(req: NextRequest, ctx: { params: Promise<{ path: string[] }> }) {+ const { path } = await ctx.params;+ const target = `${ENGINE.replace(/\/$/, '')}/${(path || []).join('/')}${req.nextUrl.search}`;++ const headers: Record<string, string> = {};+ const ct = req.headers.get('content-type');+ if (ct) headers['content-type'] = ct;+ const auth = req.headers.get('authorization');+ if (auth) headers['authorization'] = auth;+ // Forward the caller's address so the engine can attribute and rate-limit by source. Without+ // this every request looks like it came from this server, which is why a 2026-07-30/31 signup+ // flood was un-attributable and un-throttleable at the app layer. nginx sets these from the+ // real peer; we only relay them (the engine is not publicly reachable, so it can trust us).+ const fwd = req.headers.get('x-forwarded-for');+ if (fwd) headers['x-forwarded-for'] = fwd;+ const realIp = req.headers.get('x-real-ip');+ if (realIp) headers['x-real-ip'] = realIp;++ // Forward the body as raw bytes, not text, multipart/form-data uploads (chat+ // attachments) carry binary that req.text() would corrupt by round-tripping+ // through UTF-8 (0x89… PNG header → U+FFFD). arrayBuffer is byte-exact for JSON+ // too, so it is safe for every method.+ const init: RequestInit = { method: req.method, headers, cache: 'no-store' };+ if (req.method !== 'GET' && req.method !== 'HEAD') init.body = await req.arrayBuffer();++ try {+ const res = await fetch(target, init);+ const ctType = res.headers.get('content-type') || 'application/json';+ // Stream Server-Sent Events (run progress) through WITHOUT buffering, so the+ // studio's EventSource gets live node_run/result events instead of one blob+ // when the run finally ends. Plain JSON is buffered as before.+ if (ctType.includes('text/event-stream') && res.body) {+ return new Response(res.body, {+ status: res.status,+ headers: {+ 'content-type': 'text/event-stream',+ 'cache-control': 'no-cache, no-transform',+ connection: 'keep-alive',+ 'x-accel-buffering': 'no',+ },+ });+ }+ const body = await res.text();+ return new Response(body, {+ status: res.status,+ headers: { 'content-type': ctType },+ });+ } catch (e: unknown) {+ const msg = e instanceof Error ? e.message : String(e);+ return new Response(JSON.stringify({ detail: `workflow-engine unreachable: ${msg}` }), {+ status: 502,+ headers: { 'content-type': 'application/json' },+ });+ }+}++export const GET = proxy;+export const POST = proxy;+export const PUT = proxy;+export const PATCH = proxy;+export const DELETE = proxy;diff --git a/ui/src/app/api/gw/[...path]/route.ts b/ui/src/app/api/gw/[...path]/route.tsdeleted file mode 100644index 2e12d230..00000000--- a/ui/src/app/api/gw/[...path]/route.ts+++ /dev/null@@ -1,85 +0,0 @@-// Same-origin proxy to the local gateway.-//-// Why proxy at all when there is no auth to inject? Two reasons that still apply self-hosted:-// the browser gets one origin (no CORS, no second hostname to configure), and the gateway can-// stay bound to the container's internal network instead of being published to the host. The-// only thing published is this UI.-//-// It carries exactly one credential, and only ever server-side: the gateway's internal key,-// generated per container and never sent to the browser. This is the same service-to-service-// mechanism the hosted deployment uses — the gateway trusts the caller's identity headers only-// when that key is present, which is why they are set HERE and not forwarded from the browser.-// Provider keys are not involved at all: they live in the gateway's secret store and never-// travel this path.-import { NextRequest } from 'next/server';-import { LOCAL_MEMBER, LOCAL_ORG } from '@/lib/identity';--const GATEWAY = (process.env.GATEWAY_URL || 'http://127.0.0.1:8080').replace(/\/$/, '');-const INTERNAL_KEY = process.env.HARNESS_INTERNAL_KEY || '';--// Streaming turns must not be buffered by the runtime, so this runs on Node and pipes the body.-export const runtime = 'nodejs';-export const dynamic = 'force-dynamic';--async function proxy(req: NextRequest, path: string[]) {- // Without the key the gateway rejects everything as unauthenticated, which looks like a bug in- // the console rather than a missing variable. Say what is actually wrong.- if (!INTERNAL_KEY) {- return new Response(- JSON.stringify({ detail: 'HARNESS_INTERNAL_KEY is not set for the console process' }),- { status: 500, headers: { 'content-type': 'application/json' } },- );- }-- const search = req.nextUrl.search || '';- const url = `${GATEWAY}/${path.join('/')}${search}`;-- const headers = new Headers();- // Forward only what the gateway reads. Copying blindly would drag along hop-by-hop headers- // (host, connection, content-length) that break a proxied streaming response.- //- // Note which headers are NOT in this list: org and member. Those are set below from server- // constants, so a request from the browser cannot claim a different identity than the one- // this instance has. Workspace is browser-chosen because it is a user-facing scope the- // operator switches between, not a trust boundary.- for (const k of ['content-type', 'accept', 'x-harness-workspace',- 'x-harness-workspace-default', 'x-harness-id', 'idempotency-key']) {- const v = req.headers.get(k);- if (v) headers.set(k, v);- }- headers.set('x-harness-org', LOCAL_ORG);- headers.set('x-harness-member', LOCAL_MEMBER);- headers.set('x-harness-internal', INTERNAL_KEY);-- const method = req.method.toUpperCase();- const body = method === 'GET' || method === 'HEAD' ? undefined : await req.arrayBuffer();-- let upstream: Response;- try {- upstream = await fetch(url, { method, headers, body, redirect: 'manual',- // @ts-expect-error -- Node fetch streaming duplex- duplex: 'half' });- } catch {- return new Response(JSON.stringify({ detail: 'gateway unreachable' }),- { status: 502, headers: { 'content-type': 'application/json' } });- }-- // Pass the body through untouched so Server-Sent Events stream rather than accumulate.- const out = new Headers();- for (const k of ['content-type', 'cache-control', 'x-harness-session']) {- const v = upstream.headers.get(k);- if (v) out.set(k, v);- }- if (upstream.headers.get('content-type')?.includes('text/event-stream')) {- out.set('cache-control', 'no-cache, no-transform');- out.set('x-accel-buffering', 'no');- }- return new Response(upstream.body, { status: upstream.status, headers: out });-}--type Ctx = { params: Promise<{ path: string[] }> };-export async function GET(req: NextRequest, ctx: Ctx) { return proxy(req, (await ctx.params).path); }-export async function POST(req: NextRequest, ctx: Ctx) { return proxy(req, (await ctx.params).path); }-export async function PUT(req: NextRequest, ctx: Ctx) { return proxy(req, (await ctx.params).path); }-export async function PATCH(req: NextRequest, ctx: Ctx) { return proxy(req, (await ctx.params).path); }-export async function DELETE(req: NextRequest, ctx: Ctx) { return proxy(req, (await ctx.params).path); }diff --git a/ui/src/app/api/harness/[...path]/route.ts b/ui/src/app/api/harness/[...path]/route.tsnew file mode 100644index 00000000..4f8fa1d8--- /dev/null+++ b/ui/src/app/api/harness/[...path]/route.ts@@ -0,0 +1,116 @@+// BFF proxy to the Harness Gateway (ACA), same-origin /api/harness/* -> gateway.+//+// The gateway's OpenAI Responses-compatible /v1 surface authenticates either by a public+// per-org Bearer API key OR by an internal trust header (the web app, already behind the engine+// JWT). The browser is the latter: this BFF injects X-Harness-Internal (HARNESS_INTERNAL_KEY,+// server-only) and forwards the caller's org/member (X-Harness-Org / X-Harness-Member) so the+// gateway resolves the principal without the browser ever holding the internal key.+//+// SSE responses (text/event-stream from /v1/responses?stream) stream through unbuffered so the+// Workbench gets live reasoning/tool/text deltas instead of one blob at turn end.+// HARNESS_GATEWAY_URL e.g. https://harness-gateway.<env>.eastus2.azurecontainerapps.io+// HARNESS_INTERNAL_KEY internal trust key (matches the gateway's secret)+//+// SELF-HOSTED: there is no login, so there is no JWT to gate the key on. The BFF is instead the+// only thing that can reach the gateway (it is bound to the container's loopback, and only this+// UI's port is published), so it presents the key on its own and PINS org/member from server+// constants — a request from the browser cannot claim an identity this box doesn't have.+import type { NextRequest } from 'next/server';+import { LOCAL_MEMBER, LOCAL_ORG, SELF_HOSTED } from '@/lib/edition';++export const dynamic = 'force-dynamic';+export const maxDuration = 800; // long agent turns stream for minutes++const GATEWAY =+ process.env.HARNESS_GATEWAY_URL ||+ 'https://api.harnessrouter.ai';+const INTERNAL_KEY = process.env.HARNESS_INTERNAL_KEY || '';++async function proxy(req: NextRequest, ctx: { params: Promise<{ path: string[] }> }) {+ const { path } = await ctx.params;+ const target = `${GATEWAY.replace(/\/$/, '')}/${(path || []).join('/')}${req.nextUrl.search}`;+ const headers: Record<string, string> = {};+ const ct = req.headers.get('content-type');+ if (ct) headers['content-type'] = ct;+ const auth = req.headers.get('authorization');+ if (auth) headers['authorization'] = auth;+ // Internal trust path (LIVE-B closed): the key is attached ONLY alongside the caller's login+ // JWT, which the console now sends on EVERY /api/harness call via the harnessFetch wrapper. The+ // gateway (HR_IDENTITY_MODE=enforce) VERIFIES that JWT and derives org/member from its signed+ // claims, the forwarded org/member headers are no longer trusted for identity. A request with+ // no bearer (no session) gets no key -> the gateway 401s it, so it can't ride the BFF onto the+ // internal path with self-asserted identity.+ if (INTERNAL_KEY && (auth || SELF_HOSTED)) headers['x-harness-internal'] = INTERNAL_KEY;+ if (SELF_HOSTED) {+ headers['x-harness-org'] = LOCAL_ORG;+ headers['x-harness-member'] = LOCAL_MEMBER;+ } else {+ const org = req.headers.get('x-harness-org');+ if (org) headers['x-harness-org'] = org;+ const member = req.headers.get('x-harness-member');+ if (member) headers['x-harness-member'] = member;+ }++ // Additional Headers (app-level auth pass-through): the Playground sends the harness's declared+ // custom headers as real request headers. Forward anything not hop-by-hop / browser-infra so the+ // gateway can capture declared names and render $headers.{name} refs into MCP configs. Names the+ // gateway hasn't declared on the harness are simply ignored there.+ const HOP: Set<string> = new Set(['host', 'connection', 'content-length', 'accept-encoding',+ 'accept', 'accept-language', 'cookie', 'user-agent', 'referer', 'origin', 'dnt', 'priority',+ 'upgrade-insecure-requests', 'cache-control', 'pragma', 'te', 'trailer', 'transfer-encoding',+ 'keep-alive', 'proxy-authorization', 'proxy-authenticate', 'upgrade']);+ req.headers.forEach((v, k) => {+ const lk = k.toLowerCase();+ if (HOP.has(lk) || lk.startsWith('sec-') || lk.startsWith('x-forwarded') ||+ lk.startsWith('x-vercel') || lk.startsWith('x-real-ip') || lk in headers || headers[lk]) return;+ if (lk === 'x-harness-internal') return; // never let a browser spoof the trust key+ headers[lk] = v;+ });++ const init: RequestInit = { method: req.method, headers, cache: 'no-store' };+ // STREAM the request body straight through (byte-exact, no buffering) so large uploads (up to GBs)+ // never get fully materialized in the BFF's memory. duplex:'half' is required by undici/fetch when+ // body is a ReadableStream. Falls back to arrayBuffer if the runtime didn't expose a body stream.+ if (req.method !== 'GET' && req.method !== 'HEAD') {+ if (req.body) { init.body = req.body; (init as RequestInit & { duplex: 'half' }).duplex = 'half'; }+ else init.body = await req.arrayBuffer();+ }++ try {+ const res = await fetch(target, init);+ const ctType = res.headers.get('content-type') || 'application/json';+ // Stream SSE through without buffering (live deltas).+ if (ctType.includes('text/event-stream') && res.body) {+ return new Response(res.body, {+ status: res.status,+ headers: {+ 'content-type': 'text/event-stream',+ 'cache-control': 'no-cache, no-transform',+ connection: 'keep-alive',+ 'x-accel-buffering': 'no',+ },+ });+ }+ // STREAM the response body straight through (HR-INF-015): traces, workspace artifacts, ZIP+ // archives, and file downloads can be GBs, buffering them in the BFF's memory (the old+ // arrayBuffer()) was a per-request materialization. Pass res.body through byte-exact so peak+ // BFF memory stays O(chunk) regardless of payload size. content-length/disposition are+ // preserved when present so downloads still name + size correctly.+ const out: Record<string, string> = { 'content-type': ctType };+ const cd = res.headers.get('content-disposition');+ if (cd) out['content-disposition'] = cd;+ const cl = res.headers.get('content-length');+ if (cl) out['content-length'] = cl;+ return new Response(res.body, { status: res.status, headers: out });+ } catch (e: unknown) {+ const msg = e instanceof Error ? e.message : String(e);+ return new Response(JSON.stringify({ detail: `harness-gateway unreachable: ${msg}` }), {+ status: 502, headers: { 'content-type': 'application/json' },+ });+ }+}+export const GET = proxy;+export const POST = proxy;+export const PUT = proxy;+export const PATCH = proxy;+export const DELETE = proxy;diff --git a/ui/src/app/api/session/route.ts b/ui/src/app/api/session/route.tsnew file mode 100644index 00000000..98762f6c--- /dev/null+++ b/ui/src/app/api/session/route.ts@@ -0,0 +1,71 @@+// Read-only cross-origin login-state probe for the marketing site header.+//+// The console keeps the login JWT in localStorage (origin-scoped) AND mirrors it into an+// hr_auth cookie scoped to .harnessrouter.ai (see lib/auth.ts). The marketing apex+// (harnessrouter.ai) can't read the app's localStorage or an HttpOnly cookie in JS, so its header+// calls THIS endpoint with credentials:include; the cookie rides along cross-subdomain. We verify+// it server-side via the engine's /v1/auth/me and return ONLY {authed, name, dashboardUrl} — never+// the token. GET + no side effects, so no CSRF surface. CORS is restricted to the apex origins.+import type { NextRequest } from 'next/server';++export const dynamic = 'force-dynamic';+export const maxDuration = 15;++const ENGINE =+ process.env.WORKFLOW_ENGINE_URL ||+ 'https://workflow-engine.calmrock-23b12d3f.eastus2.azurecontainerapps.io';++// Only the marketing site (apex + www) may read cross-origin login state.+const ALLOWED_ORIGINS = new Set([+ 'https://harnessrouter.ai',+ 'https://www.harnessrouter.ai',+]);+const DASHBOARD_URL = 'https://app.harnessrouter.ai/dashboard';++function corsHeaders(origin: string | null): Record<string, string> {+ const h: Record<string, string> = {+ 'Cache-Control': 'no-store',+ 'Vary': 'Origin',+ };+ if (origin && ALLOWED_ORIGINS.has(origin)) {+ h['Access-Control-Allow-Origin'] = origin;+ h['Access-Control-Allow-Credentials'] = 'true';+ }+ return h;+}++export async function OPTIONS(req: NextRequest) {+ const origin = req.headers.get('origin');+ return new Response(null, {+ status: 204,+ headers: { ...corsHeaders(origin), 'Access-Control-Allow-Methods': 'GET, OPTIONS' },+ });+}++export async function GET(req: NextRequest) {+ const origin = req.headers.get('origin');+ const headers = { ...corsHeaders(origin), 'content-type': 'application/json' };+ const token = req.cookies.get('hr_auth')?.value || '';+ if (!token) {+ return new Response(JSON.stringify({ authed: false }), { status: 200, headers });+ }+ try {+ const r = await fetch(`${ENGINE.replace(/\/$/, '')}/v1/auth/me`, {+ headers: { authorization: `Bearer ${token}` },+ cache: 'no-store',+ });+ if (!r.ok) {+ // expired / revoked / invalid → treat as logged out+ return new Response(JSON.stringify({ authed: false }), { status: 200, headers });+ }+ const d = await r.json().catch(() => null);+ const m = d?.member || {};+ return new Response(+ JSON.stringify({ authed: true, name: m.name || m.email || 'Account', dashboardUrl: DASHBOARD_URL }),+ { status: 200, headers },+ );+ } catch {+ // engine unreachable → fail closed to logged-out (header just shows Sign up, never a token)+ return new Response(JSON.stringify({ authed: false }), { status: 200, headers });+ }+}diff --git a/ui/src/app/api/share/[...path]/route.ts b/ui/src/app/api/share/[...path]/route.tsnew file mode 100644index 00000000..4524d947--- /dev/null+++ b/ui/src/app/api/share/[...path]/route.ts@@ -0,0 +1,33 @@+// PUBLIC share proxy, same-origin /api/share/* -> gateway /share/*.+// No auth is injected: the unguessable share token IS the credential, and the gateway only+// serves sessions whose sharing is currently enabled. Binary-safe passthrough so html/css/js/+// images/pdf render inline in the browser.+import type { NextRequest } from 'next/server';++export const dynamic = 'force-dynamic';++const GATEWAY = process.env.HARNESS_GATEWAY_URL || 'https://api.harnessrouter.ai';++export async function GET(req: NextRequest, ctx: { params: Promise<{ path: string[] }> }) {+ const { path } = await ctx.params;+ const target = `${GATEWAY.replace(/\/$/, '')}/share/${(path || []).map(encodeURIComponent).join('/')}`;+ try {+ const res = await fetch(target, { cache: 'no-store' });+ // Stream the body through (HR-INF-015): shared artifacts (rendered sites, PDFs, media) can be+ // large, pass res.body byte-exact so the BFF never materializes the whole payload in memory.+ const out: Record<string, string> = {+ 'content-type': res.headers.get('content-type') || 'application/octet-stream',+ };+ const cd = res.headers.get('content-disposition');+ if (cd) out['content-disposition'] = cd;+ const cc = res.headers.get('cache-control');+ if (cc) out['cache-control'] = cc;+ const cl = res.headers.get('content-length');+ if (cl) out['content-length'] = cl;+ return new Response(res.body, { status: res.status, headers: out });+ } catch {+ return new Response(JSON.stringify({ detail: 'share upstream unreachable' }), {+ status: 502, headers: { 'content-type': 'application/json' },+ });+ }+}diff --git a/ui/src/app/api/version/route.ts b/ui/src/app/api/version/route.tsnew file mode 100644index 00000000..cddc403d--- /dev/null+++ b/ui/src/app/api/version/route.ts@@ -0,0 +1,12 @@+// Deploy fingerprint for the console/BFF — binds this running build to the exact source+// commit it was built from, so release verification can confirm the live env matches the+// tested SHA. The SHA is baked at build time (scripts/vm-deploy.sh reads HR_BUILD_SHA from+// the deploying dev box, since the VM build tree has no .git). Read-only, no auth, no CORS.+export const dynamic = 'force-dynamic';++export async function GET() {+ return new Response(+ JSON.stringify({ build: process.env.HR_BUILD_SHA || 'unknown' }),+ { status: 200, headers: { 'content-type': 'application/json', 'cache-control': 'no-store' } },+ );+}diff --git a/ui/src/app/docs/page.tsx b/ui/src/app/docs/page.tsxnew file mode 100644index 00000000..6130dc4f--- /dev/null+++ b/ui/src/app/docs/page.tsx@@ -0,0 +1,18 @@+import Link from 'next/link';+export const metadata = { title: 'Docs' };+export default function Docs() {+ return (+ <div className="hr-wrap">+ <nav className="lp-nav" style={{ padding: 0, marginBottom: 12 }}>+ {/* eslint-disable-next-line @next/next/no-img-element -- static brand asset */}+ <Link href="/" className="hr-brand" aria-label="HarnessRouter"><img className="hr-brand-logo" src="/harnessrouter-wordmark.png" alt="HarnessRouter" /></Link>+ <span className="sp" /><Link href="/login" className="hr-btn primary">Get API key</Link>+ </nav>+ <h2 className="hr-h2">Docs</h2>+ <p className="hr-meta">Quickstart: get an API key, then route any request to a harness.</p>+ <pre style={{ background: '#0B0F1A', color: '#E6E9F0', padding: 18, borderRadius: 12, fontSize: 13 }}>{`curl https://api.harnessrouter.com/v1/run \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY" \\+ -d '{"harness":"claude-code","input":"Hello"}'`}</pre>+ </div>+ );+}diff --git a/ui/src/app/globals.css b/ui/src/app/globals.cssdeleted file mode 100644index 9a29e529..00000000--- a/ui/src/app/globals.css+++ /dev/null@@ -1,96 +0,0 @@-:root {- --bg: #f7f8fa; --surface: #fff; --border: #e3e5e8;- --text: #1a1a1a; --text-dim: #6b7280; --accent: #285aff;- --ok: #16a34a; --danger: #dc2626;- /* ReifyUI reads these — one palette drives the library and the app. */- --rui-surface: var(--surface); --rui-surface-hover: #f5f6f8; --rui-border: var(--border);- --rui-text: var(--text); --rui-text-dim: var(--text-dim); --rui-accent: var(--accent);- --rui-ok: var(--ok); --rui-danger: var(--danger);-}-* { box-sizing: border-box; }-html, body { height: 100%; }-body {- margin: 0; background: var(--bg); color: var(--text);- font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;-}-.shell { display: flex; height: 100vh; overflow: hidden; }--.nav {- width: 210px; flex: none; background: var(--surface);- border-right: 1px solid var(--border); padding: 16px 12px;- display: flex; flex-direction: column; gap: 4px;-}-.nav-brand { font-weight: 700; font-size: 15px; padding: 4px 10px 14px; letter-spacing: -0.01em; }-.nav a {- display: block; padding: 8px 10px; border-radius: 8px;- color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500;-}-.nav a:hover { background: #f5f6f8; }-.nav a.active { background: #eef2ff; color: var(--accent); }-.nav-ws { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }-.nav-ws label { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 5px; }--.main { flex: 1; min-width: 0; overflow: auto; }-.page { padding: 24px 28px; max-width: 1100px; }-.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }-.page-head h1 { font-size: 20px; margin: 0; font-weight: 650; letter-spacing: -0.01em; }-.spacer { flex: 1; }--.btn {- appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;- padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);- background: var(--surface); color: var(--text);-}-.btn:hover { background: #f5f6f8; }-.btn-primary { background: var(--accent); border-color: transparent; color: #fff; }-.btn-primary:hover { filter: brightness(1.05); }-.btn-danger { color: var(--danger); }-.btn:disabled { opacity: .5; cursor: not-allowed; }--.card {- background: var(--surface); border: 1px solid var(--border);- border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;-}-.card-row { display: flex; align-items: center; gap: 12px; }-.card h3 { margin: 0; font-size: 14px; font-weight: 600; }-.muted { color: var(--text-dim); font-size: 12px; }--.field { margin-bottom: 14px; }-.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }-.input, .select, .textarea {- width: 100%; font: inherit; font-size: 13px; padding: 8px 10px;- border-radius: 8px; border: 1px solid var(--border);- background: var(--surface); color: var(--text);-}-.textarea { min-height: 120px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }-.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }--.modal-back {- position: fixed; inset: 0; background: rgba(15, 18, 25, .45);- display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px;-}-.modal {- background: var(--surface); border-radius: 12px; padding: 20px;- width: 100%; max-width: 520px; max-height: 85vh; overflow: auto;-}-.modal h2 { margin: 0 0 6px; font-size: 16px; }--.task-split { display: flex; height: 100vh; }-.task-list-pane {- width: 300px; flex: none; border-right: 1px solid var(--border);- background: var(--surface); padding: 14px 12px; display: flex; flex-direction: column; min-height: 0;-}-.task-detail { flex: 1; min-width: 0; display: flex; flex-direction: column; }-.task-detail-head {- padding: 12px 18px; border-bottom: 1px solid var(--border);- background: var(--surface); display: flex; align-items: center; gap: 10px;-}-.task-msgs { flex: 1; overflow: auto; padding: 18px; min-height: 0; }-.task-composer { border-top: 1px solid var(--border); background: var(--surface); padding: 12px 18px; }-.empty { padding: 40px; text-align: center; color: var(--text-dim); }-.banner {- padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 14px;- background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;-}-.banner-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }-.banner-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }diff --git a/ui/src/app/harnesses/[id]/page.tsx b/ui/src/app/harnesses/[id]/page.tsxdeleted file mode 100644index 3b0994a1..00000000--- a/ui/src/app/harnesses/[id]/page.tsx+++ /dev/null@@ -1,132 +0,0 @@-'use client';--import { useEffect, useState } from 'react';-import { useParams, useRouter } from 'next/navigation';-import { useDialog } from 'reifyui';-import {- deleteHarness, getHarness, listModels, updateHarness, type Harness, type ModelCatalog,-} from '@/lib/api';--export default function HarnessDetail() {- const { id } = useParams<{ id: string }>();- const router = useRouter();- const dialog = useDialog();- const [h, setH] = useState<Harness | null>(null);- const [draft, setDraft] = useState<Harness | null>(null);- const [catalog, setCatalog] = useState<ModelCatalog>({});- const [msg, setMsg] = useState('');- const [err, setErr] = useState('');- const [saving, setSaving] = useState(false);-- useEffect(() => {- getHarness(id).then((x) => { setH(x); setDraft(x); })- .catch((e) => setErr(String(e.message || e)));- listModels().then(setCatalog).catch(() => { /* free-text fallback */ });- }, [id]);-- if (err && !draft) return <div className="page"><div className="banner banner-err">{err}</div></div>;- if (!draft) return <div className="page"><div className="empty">Loading…</div></div>;-- const models = catalog[String(draft.base)]?.models?.map((m) => m.id) || [];- const dirty = JSON.stringify(draft) !== JSON.stringify(h);- const set = (patch: Partial<Harness>) => setDraft({ ...draft, ...patch });-- const save = async () => {- setSaving(true); setErr(''); setMsg('');- try {- // The whole draft, not the edited subset: a write replaces the record.- const saved = await updateHarness(id, draft);- setH(saved); setDraft(saved); setMsg('Saved.');- } catch (e) {- setErr(String((e as Error).message || e));- } finally {- setSaving(false);- }- };-- const remove = async () => {- const ok = await dialog.confirm({- title: `Delete "${draft.name}"?`,- message: 'Its tasks are kept, but it can no longer run.',- destructive: true,- confirmLabel: 'Delete',- });- if (!ok) return;- try {- await deleteHarness(id);- router.push('/harnesses');- } catch (e) {- setErr(String((e as Error).message || e));- }- };-- return (- <div className="page">- <div className="page-head">- <h1>{h?.name || draft.name}</h1>- <div className="spacer" />- <button className="btn" onClick={() => router.push(`/tasks?h=${encodeURIComponent(id)}`)}>- Run a task- </button>- <button className="btn btn-danger" onClick={remove}>Delete</button>- <button className="btn btn-primary" disabled={!dirty || saving} onClick={save}>- {saving ? 'Saving…' : 'Save'}- </button>- </div>-- {err ? <div className="banner banner-err">{err}</div> : null}- {msg ? <div className="banner banner-ok">{msg}</div> : null}-- <div className="card">- <div className="field">- <label htmlFor="n">Name</label>- <input id="n" className="input" value={String(draft.name || '')}- onChange={(e) => set({ name: e.target.value })} />- </div>-- <div className="field">- <label htmlFor="b">Backend</label>- <input id="b" className="input" value={String(draft.base || '')} disabled />- <div className="muted" style={{ marginTop: 4 }}>- The backend is fixed at creation — it determines which agent runtime executes a turn.- </div>- </div>-- <div className="field">- <label htmlFor="m">Default model</label>- {models.length ? (- <select id="m" className="select" value={String(draft.defaultModel || '')}- onChange={(e) => set({ defaultModel: e.target.value })}>- {models.map((m) => <option key={m} value={m}>{m}</option>)}- </select>- ) : (- <input id="m" className="input" value={String(draft.defaultModel || '')}- onChange={(e) => set({ defaultModel: e.target.value })} />- )}- </div>-- <div className="field">- <label htmlFor="sp">Instructions</label>- <textarea id="sp" className="textarea" value={String(draft.systemPrompt || '')}- placeholder="System prompt / AGENTS.md content for this harness"- onChange={(e) => set({ systemPrompt: e.target.value })} />- </div>-- <div className="card-row">- <div className="field" style={{ flex: 1 }}>- <label htmlFor="ms">Max steps per turn</label>- <input id="ms" className="input" type="number" min={1}- value={draft.maxStep ?? ''} placeholder="default"- onChange={(e) => set({ maxStep: e.target.value ? Number(e.target.value) : null })} />- </div>- <div className="field" style={{ flex: 1 }}>- <label htmlFor="ts">Turn timeout (seconds)</label>- <input id="ts" className="input" type="number" min={1}- value={draft.timeoutSeconds ?? ''} placeholder="default"- onChange={(e) => set({ timeoutSeconds: e.target.value ? Number(e.target.value) : null })} />- </div>- </div>- </div>- </div>- );-}diff --git a/ui/src/app/harnesses/page.tsx b/ui/src/app/harnesses/page.tsxdeleted file mode 100644index 8a65958b..00000000--- a/ui/src/app/harnesses/page.tsx+++ /dev/null@@ -1,141 +0,0 @@-'use client';--import { useEffect, useState } from 'react';-import { useRouter } from 'next/navigation';-import {- createHarness, listHarnesses, listModels, type Harness, type ModelCatalog,-} from '@/lib/api';-import { PushToCloud } from '@/components/PushToCloud';--export default function HarnessesPage() {- const router = useRouter();- const [rows, setRows] = useState<Harness[] | null>(null);- const [catalog, setCatalog] = useState<ModelCatalog>({});- const [err, setErr] = useState('');- const [adding, setAdding] = useState(false);- const [pushing, setPushing] = useState(false);-- const [name, setName] = useState('');- const [base, setBase] = useState('');- const [model, setModel] = useState('');- const [saving, setSaving] = useState(false);-- const reload = () =>- listHarnesses().then(setRows).catch((e) => { setErr(String(e.message || e)); setRows([]); });-- useEffect(() => {- reload();- // The backend catalog is the source of truth for which backends this build actually ships —- // an image built without a backend must not offer it in the picker.- listModels().then((c) => {- setCatalog(c);- const first = Object.keys(c)[0] || '';- setBase((b) => b || first);- setModel((m) => m || (first ? c[first]?.default || '' : ''));- }).catch(() => { /* picker falls back to a free-text model */ });- }, []);-- const backends = Object.keys(catalog);- const models = (base && catalog[base]?.models?.map((m) => m.id)) || [];-- const create = async () => {- if (!name.trim() || !base) return;- setSaving(true); setErr('');- try {- const h = await createHarness({ name: name.trim(), base, defaultModel: model || undefined });- setAdding(false); setName('');- router.push(`/harnesses/${encodeURIComponent(h.id)}`);- } catch (e) {- setErr(String((e as Error).message || e));- } finally {- setSaving(false);- }- };-- return (- <div className="page">- <div className="page-head">- <h1>Harnesses</h1>- <div className="spacer" />- {rows?.length ? (- <button className="btn" onClick={() => setPushing(true)}>Push to cloud</button>- ) : null}- <button className="btn btn-primary" onClick={() => setAdding(true)}>New harness</button>- </div>-- {err ? <div className="banner banner-err">{err}</div> : null}-- {rows === null ? (- <div className="empty">Loading…</div>- ) : rows.length === 0 ? (- <div className="empty">- <p>No harnesses in this workspace yet.</p>- <button className="btn btn-primary" onClick={() => setAdding(true)}>Create your first</button>- </div>- ) : (- rows.map((h) => (- <div key={h.id} className="card">- <div className="card-row">- <div>- <h3>{h.name}</h3>- <div className="muted">{h.base}{h.defaultModel ? ` · ${h.defaultModel}` : ''}</div>- </div>- <div className="spacer" />- <button className="btn" onClick={() => router.push(`/tasks?h=${encodeURIComponent(h.id)}`)}>- Run a task- </button>- <button className="btn" onClick={() => router.push(`/harnesses/${encodeURIComponent(h.id)}`)}>- Configure- </button>- </div>- </div>- ))- )}-- {adding ? (- <div className="modal-back" onClick={() => setAdding(false)}>- <div className="modal" onClick={(e) => e.stopPropagation()}>- <h2>New harness</h2>- <p className="muted">A harness is an agent configuration: a backend, a model, and its instructions.</p>- <div className="field" style={{ marginTop: 14 }}>- <label htmlFor="hname">Name</label>- <input id="hname" className="input" value={name} autoFocus- onChange={(e) => setName(e.target.value)} placeholder="e.g. Code reviewer" />- </div>- <div className="field">- <label htmlFor="hbase">Backend</label>- <select id="hbase" className="select" value={base}- onChange={(e) => {- setBase(e.target.value);- setModel(catalog[e.target.value]?.default || '');- }}>- {backends.length === 0 ? <option value="">(no backends available)</option> : null}- {backends.map((b) => <option key={b} value={b}>{b}</option>)}- </select>- </div>- <div className="field">- <label htmlFor="hmodel">Default model</label>- {models.length ? (- <select id="hmodel" className="select" value={model} onChange={(e) => setModel(e.target.value)}>- {models.map((m) => <option key={m} value={m}>{m}</option>)}- </select>- ) : (- <input id="hmodel" className="input" value={model}- onChange={(e) => setModel(e.target.value)} placeholder="model id" />- )}- </div>- <div className="card-row" style={{ marginTop: 16 }}>- <div className="spacer" />- <button className="btn" onClick={() => setAdding(false)}>Cancel</button>- <button className="btn btn-primary" disabled={!name.trim() || !base || saving} onClick={create}>- {saving ? 'Creating…' : 'Create'}- </button>- </div>- </div>- </div>- ) : null}-- {pushing ? <PushToCloud harnesses={rows || []} onClose={() => setPushing(false)} /> : null}- </div>- );-}diff --git a/ui/src/app/hr-billing.css b/ui/src/app/hr-billing.cssnew file mode 100644index 00000000..aa655a70--- /dev/null+++ b/ui/src/app/hr-billing.css@@ -0,0 +1,126 @@+/* Billing pages — HR design system (blue), layered on hr.css primitives. */++.hrb-content { display: flex; flex-direction: column; gap: 20px; max-width: 960px; margin: 0 auto; padding: 28px 24px 40px; }+.hrb-notice { padding: 10px 14px; border: 1px solid var(--brand-soft); background: var(--brand-50); color: var(--brand-ink); border-radius: 10px; font-size: 13px; }+.hrb-label { font-size: 13px; color: var(--mute, #5B5D66); margin-bottom: 6px; }++.hrb-balance { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px; gap: 16px; }+.hrb-balance-value { font-size: 36px; font-weight: 680; color: var(--ink); line-height: 1.1; }+.hrb-balance-low { border-color: #E3B341; background: #FFFBEB; }+.hrb-balance-deficit { border-color: #DA1E28; background: #FFF1F2; }+.hrb-alert { margin-top: 10px; font-size: 13px; border-radius: 8px; padding: 8px 12px; }+.hrb-alert-low { background: #FEF3C7; color: #92400E; }+.hrb-alert-deficit { background: #FEE2E2; color: #991B1B; }++/* ── Subscription plans: three vertical pricing cards ─────────────────────────── */+.hrb-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;+ max-width: 860px; margin: 4px 0 8px; align-items: stretch; }+.hrb-plan { position: relative; display: flex; flex-direction: column; gap: 6px;+ padding: 26px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px;+ transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }+.hrb-plan:hover { border-color: #cbd8ff; box-shadow: 0 8px 26px rgba(40, 90, 255, .09); transform: translateY(-2px); }+.hrb-plan.popular { border-color: var(--brand); box-shadow: 0 10px 30px rgba(110, 85, 255, .13); }+/* The CURRENT plan must read differently at a glance from the "Most popular" pitch: a green+ double ring + green tinted wash — unmistakably "you are here", not another sales card. */+.hrb-plan.current { border-color: #0E8C6A; box-shadow: 0 0 0 2px rgba(14, 140, 106, .28), 0 10px 26px rgba(14, 140, 106, .12);+ background: linear-gradient(180deg, #ECFDF5 0%, #fff 52%); }+.hrb-plan-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%);+ display: inline-flex; align-items: center; gap: 5px;+ padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #fff;+ font-size: 11px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }+.hrb-plan-flag.on { background: #0E8C6A; }+.hrb-plan-flag iconify-icon { font-size: 13px; }+.hrb-plan-sub-state { margin-top: auto; display: flex; align-items: center; gap: 6px;+ padding: 8px 0 2px; font-size: 12.5px; font-weight: 600; color: #0E8C6A; }+.hrb-plan-sub-state iconify-icon { font-size: 15px; flex: 0 0 auto; }+.hrb-plan-cancel { margin-top: 8px; color: #B91C1C; border-color: #FECACA; }+.hrb-plan-cancel:hover { background: #FEF2F2; border-color: #FCA5A5; }+.hrb-plan.current .hrb-plan-cta.hrb-plan-cancel { margin-top: 8px; }+.hrb-plan.current .hrb-plan-feats + .hrb-plan-sub-state { margin-top: auto; }+.hrb-plan-name { font-size: 12px; font-weight: 700; text-transform: uppercase;+ letter-spacing: .06em; color: var(--brand-ink, var(--brand)); }+.hrb-plan-price { font-size: 30px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); }+.hrb-plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }+.hrb-plan-credits { font-size: 13.5px; font-weight: 600; color: var(--ink); }+.hrb-plan-feats { list-style: none; margin: 10px 0 14px; padding: 12px 0 0; display: grid; gap: 7px;+ border-top: 1px solid var(--line); }+.hrb-plan-feats li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }+.hrb-plan-feats iconify-icon { color: var(--brand); font-size: 15px; flex: 0 0 auto; }+.hrb-plan-cta { margin-top: auto; width: 100%; justify-content: center; }+.hrb-plan-cta:disabled { opacity: .65; }+.hrb-plan-note { margin-top: 8px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.4; }+@media (max-width: 860px) { .hrb-plans { grid-template-columns: 1fr; max-width: 440px; } }++/* ── Gift stack: welcome banner, full width ──────────────────────────────────── */+.hrb-gift-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 18px; }+.hrb-gift-row > * { margin-bottom: 0; } /* children carry their own bottom margins otherwise */++.hrb-table-card { padding: 8px 0 12px; }+.hrb-table-scroll { overflow-x: auto; }+.hrb-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 13px; }+.hrb-table th { text-align: left; padding: 10px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute, #5B5D66); font-weight: 600; }+.hrb-table td { padding: 10px 16px; color: var(--ink); }+.hrb-table tbody tr:hover { background: var(--brand-50); }+.hrb-table-empty { text-align: center; color: var(--mute, #5B5D66); padding: 28px 0 !important; }+.hrb-row-overdraft td { color: #991B1B; }+.hrb-link { color: var(--brand-ink); text-decoration: none; }+.hrb-link:hover { text-decoration: underline; }+.hrb-pager { display: flex; gap: 6px; padding: 12px 16px 4px; align-items: center; }++.hrb-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }+.hrb-pill-ok { background: #E7F6EC; color: #1F7A3D; }+.hrb-pill-mute { background: #EDEEF2; color: #5B5D66; }+.hrb-pill-warn { background: #FEF3C7; color: #92400E; }+.hrb-pill-danger { background: #FEE2E2; color: #991B1B; }++.hrb-range { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }+.hrb-range-custom { display: inline-flex; align-items: center; gap: 6px; }+.hrb-range-custom .hr-input { width: 150px; }+.hrb-range-sep { color: var(--mute, #5B5D66); font-size: 12px; }+.hrb-spent { max-width: 260px; padding: 16px 20px; }+.hrb-spent-value { font-size: 28px; font-weight: 650; color: var(--ink); }+.hrb-chart-card { padding: 16px 20px 12px; }+.hrb-section-title { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }+.hrb-chart { height: 280px; }+.hrb-chart-empty { height: 120px; display: flex; align-items: center; justify-content: center; color: var(--mute, #5B5D66); font-size: 13px; }+.hrb-pricing-card { padding: 16px 20px; }+.hrb-pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }+.hrb-price { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }+.hrb-price-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }+.hrb-price-label { font-size: 13px; font-weight: 600; color: var(--ink); }+.hrb-price-value { font-size: 12px; color: var(--mute, #5B5D66); margin-top: 2px; }++.hrb-skeleton { background: var(--brand-50); border-radius: 8px; animation: hrbPulse 1.4s ease-in-out infinite; }+.hrb-skeleton-balance { width: 140px; height: 36px; }+.hrb-skeleton-card { height: 130px; border: 1px solid var(--line); border-radius: 12px; }+.hrb-skeleton-spent { width: 90px; height: 28px; }+.hrb-skeleton-chart { height: 280px; }+@keyframes hrbPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }+.hr-input { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-input, 8px); font-size: 13px; background: var(--surface); color: var(--ink); }+.hr-input:focus { outline: none; border-color: var(--brand); }++/* current subscription strip + cancel flow */+.hrb-sub-current { display: flex; align-items: center; justify-content: space-between; gap: 14px;+ padding: 13px 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }+.hrb-sub-current > div { display: grid; gap: 2px; }+.hrb-sub-current strong { font-size: 14px; }+.hrb-sub-current span { font-size: 12.5px; color: var(--muted); }+.hrb-cancel-reasons { display: grid; gap: 8px; }+/* The native radio is HIDDEN (same pattern as .base-choice in revamp.css) — the shell's+ `.field label { display:block }` / `.field input { width:100%; min-height:40px }` rules+ otherwise inflate it into a giant block circle. The visible control is our own dot span,+ so alignment and spacing are fully ours and immune to global input styling. */+.field label.hrb-cancel-reason { display: flex; align-items: center; gap: 12px; margin: 0;+ padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;+ font-size: 13px; font-weight: 550; color: var(--ink); cursor: pointer; line-height: 1.35;+ transition: border-color .14s ease, background .14s ease, box-shadow .14s ease; }+.field label.hrb-cancel-reason:hover { border-color: var(--brand); }+.field label.hrb-cancel-reason.on { border-color: var(--brand); background: var(--brand-50);+ box-shadow: 0 0 0 1px var(--brand) inset; }+.field .hrb-cancel-reason input[type='radio'] { position: absolute; width: 1px; height: 1px;+ min-height: 0; opacity: 0; pointer-events: none; margin: 0; }+.hrb-cancel-dot { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; box-sizing: border-box;+ border: 1.6px solid var(--line-strong, #C9CBD3); background: #fff;+ transition: border-color .14s ease, border-width .14s ease; }+.hrb-cancel-reason.on .hrb-cancel-dot { border: 5.5px solid var(--brand); }+.hrb-cancel-label { flex: 1; min-width: 0; }diff --git a/ui/src/app/hr.css b/ui/src/app/hr.cssnew file mode 100644index 00000000..8836dd78--- /dev/null+++ b/ui/src/app/hr.css@@ -0,0 +1,731 @@+/* HarnessRouter app chrome — built on AgentStudio tokens (deep iris --brand #42309C). */++/* UI Core token mapping — the shared conversational surface (frontend-ui-core/styles/chat.css,+ the wbx-* chat rules extracted from this file) reads --uic-*; map them onto HR's palette so+ the extracted surface stays pixel-identical. Unmapped tokens (mono stack, code-block, badge+ palettes, sizes) keep the package fallbacks — those fallbacks ARE the HR values. */+:root {+ --uic-surface: var(--surface);+ --uic-line: var(--line);+ --uic-ink: var(--ink);+ --uic-ink-2: var(--ink-2);+ --uic-mute: var(--sidebar-mute);+ --uic-brand: var(--brand);+ --uic-brand-ink: var(--brand-ink);+ --uic-brand-soft: var(--brand-soft);+ --uic-brand-faint: var(--brand-50);+ --uic-shadow-1: var(--shadow-1);+}++* { box-sizing: border-box; }+html, body { margin: 0; padding: 0; height: 100%; }+body { background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }+a { color: inherit; text-decoration: none; }++/* ---- top nav (app) ---- */+.hr-nav { height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 28px;+ background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }+.hr-brand { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0; color: var(--ink); display: inline-flex; }+.hr-brand .dot { color: var(--brand); }+.hr-brand-logo { height: 26px; width: auto; display: block; }+.hr-nav-links { display: flex; gap: 22px; margin-left: 24px; flex: 1; }+.hr-nav-links a { font-size: 14px; font-weight: 500; color: var(--mute); padding: 4px 2px; transition: color .16s ease; }+.hr-nav-links a.active, .hr-nav-links a:hover { color: var(--ink); }+.hr-av { width: 34px; height: 34px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink);+ display: grid; place-items: center; font-weight: 700; font-size: 13px; cursor: pointer; border: 1px solid var(--line); }++/* ---- generic ---- */+.hr-wrap { max-width: 1240px; margin: 0 auto; padding: 28px; }+.hr-h2 { font-size: 20px; font-weight: 700; margin: 8px 0 16px; }+.hr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }+.hr-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-1);+ display: flex; flex-direction: column; }+.hr-card.dim { opacity: .55; }+.hr-card-head { display: flex; align-items: center; gap: 12px; }+.hr-logo { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); display: grid; place-items: center; flex: 0 0 auto; }+.hr-card-title { font-weight: 700; font-size: 16px; }+.hr-ver { font-size: 11px; color: var(--sidebar-mute); font-weight: 600; }+.hr-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }+.hr-pill { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--brand-50);+ border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }+.hr-meta { font-size: 12px; color: var(--sidebar-mute); margin: 2px 0; }+.hr-meta b { color: var(--ink-2); font-weight: 600; }+.hr-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; justify-content: flex-end; }++.hr-btn { font-size: 13px; font-weight: 600; border-radius: 9px; padding: 7px 14px; cursor: pointer;+ border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: opacity .12s, background .12s; }+.hr-btn:hover:not(:disabled) { background: var(--brand-50); }+.hr-btn.primary { background: var(--brand); color: #fff; border-color: var(--brand);+ box-shadow: 0 10px 22px -6px rgba(40,90,255,.40); }+.hr-btn.primary:hover:not(:disabled) { background: var(--brand-ink); box-shadow: 0 12px 26px -6px rgba(40,90,255,.48); }+.hr-btn.danger { color: #B91C1C; border-color: #FECACA; }+.hr-btn.danger:hover:not(:disabled) { background: #FEF2F2; color: #B91C1C; border-color: #FCA5A5; }+.hr-btn.ghost { border-color: transparent; background: transparent; }+/* Disabled state: every .hr-btn (Send while generating, Save when not dirty, etc.) must LOOK+ disabled, not just be inert. Dim + not-allowed cursor + no hover. */+.hr-btn:disabled, .hr-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }++.hr-add { border: 2px dashed var(--brand-soft); border-radius: 14px; min-height: 150px; display: flex; flex-direction: column;+ align-items: center; justify-content: center; gap: 8px; color: var(--brand); cursor: pointer; background: var(--brand-50);+ font-size: 14px; font-weight: 600; transition: background .12s, border-color .12s; }+.hr-add::after { content: 'New harness'; font-size: 13px; font-weight: 600; color: var(--brand); }+.hr-add-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;+ background: var(--brand); color: #fff; font-size: 26px; line-height: 1; }+.hr-add:hover { border-color: var(--brand); background: var(--brand-100, #EEEAFE); }+.hr-add:hover .hr-add-plus { background: var(--brand-ink); }++/* ---- landing ---- */+.lp-nav { height: 72px; display: flex; align-items: center; padding: 0 40px; gap: 28px; }+.lp-nav .sp { flex: 1; }+.lp-hero { max-width: 1240px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }+.lp-h1 { font-size: 68px; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--ink); }+.lp-h1 .accent { color: var(--brand); }+.lp-sub { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 24px 0 32px; line-height: 1.5; }+.lp-cta { display: flex; gap: 18px; align-items: center; }+.lp-diagram { display: flex; flex-direction: column; align-items: center; gap: 10px; }+.lp-node { border-radius: 14px; padding: 16px 22px; text-align: center; min-width: 220px; }+.lp-node.product { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }+.lp-node.router { background: #0B0F1A; color: #fff; }+.lp-node .t { font-weight: 700; }+.lp-node .s { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--sidebar-mute); }+.lp-node.router .s { color: #8189A1; }+.lp-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }+.lp-leaf { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-1); }+.lp-dash { color: var(--brand); font-family: ui-monospace, monospace; font-size: 12px; }++/* ---- auth ---- */+/* Auth: a clean centered floating card over a soft, blurred backdrop. */+.hr-auth { min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden;+ background:+ radial-gradient(60rem 40rem at 18% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),+ radial-gradient(50rem 38rem at 110% 110%, color-mix(in srgb, var(--accent-bright) 20%, transparent), transparent 55%),+ var(--bg); }+.hr-auth::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(60px); -webkit-backdrop-filter: blur(60px); pointer-events: none; }+.hr-auth-card { position: relative; z-index: 1; width: 380px; max-width: calc(100vw - 32px);+ background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line);+ border-radius: 18px; padding: 32px; box-shadow: 0 24px 60px -18px rgba(17,19,23,.28), 0 2px 8px rgba(17,19,23,.06);+ backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }+.hr-auth-card h1 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 4px; }+.hr-auth-card .sub { color: var(--mute); font-size: 13px; margin-bottom: 20px; }+.hr-field { margin-bottom: 14px; }+.hr-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }+.hr-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }+.hr-field input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }+.hr-err { color: #B91C1C; font-size: 13px; margin: 8px 0; }+.hr-gwrap { display: flex; justify-content: center; margin: 4px 0 2px; min-height: 44px; }+.hr-gbtn { display: flex; justify-content: center; }+.hr-or { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 12px; margin: 14px 0; }+.hr-or::before, .hr-or::after { content: ''; height: 1px; flex: 1; background: var(--line); }+.hr-auth-switch { font-size: 13px; color: var(--mute); text-align: center; margin: 16px 0 0; }+.hr-auth-switch button { color: var(--brand); font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; font-size: 13px; }+.hr-auth-switch button:hover { text-decoration: underline; }++/* ---- workbench ---- */+.wb { display: grid; grid-template-columns: 380px 240px 1fr; height: calc(100vh - 60px); }+.wb-col { border-right: 1px solid var(--line); overflow: auto; padding: 18px; }+.wb-col:last-child { border-right: none; }+.wb-tabs { display: flex; gap: 4px; background: var(--brand-50); border: 1px solid var(--line); border-radius: 10px; padding: 4px; width: fit-content; margin: 0 auto; }+.wb-tab { font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 7px; cursor: pointer; color: var(--sidebar-mute); border: none; background: transparent; }+.wb-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }+.wb-label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin: 16px 0 6px; }+.wb-input, .wb-textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 13px; font-family: inherit; }+.wb-textarea { min-height: 160px; resize: vertical; }+.wb-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: var(--surface); }+.wb-toast { font-size: 12px; }+.hr-empty { color: var(--sidebar-mute); font-size: 14px; padding: 40px; text-align: center; }+.hr-soon { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;+ color: var(--brand-ink); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }++/* ════════ app shell: fixed nav, content fills (list pages scroll inside main) ════════ */+.hr-nav { height: 52px; gap: 22px; padding: 0 22px; }+.hr-brand { font-size: 17px; }+.hr-nav-links a { font-size: 13px; }+.app-shell { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }+.app-main { flex: 1; min-height: 0; overflow: auto; }++/* ── custom select: chevron never hugs the border (GLOBAL rule — keep ≥30px right pad) ── */+.wbx-select-wrap { position: relative; display: inline-block; }+.wbx-select-wrap.block { display: block; }+.wbx-select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 9px;+ padding: 7px 34px 7px 12px; font-size: 13px; font-weight: 600; background: var(--surface); color: var(--ink);+ cursor: pointer; min-width: 210px; line-height: 1.3;+ /* long harness names must not push the picker into the topbar tabs */+ max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.wbx-select:focus { outline: none; border-color: var(--brand); }+.wbx-select.full { width: 100%; min-width: 0; max-width: none; }+.wbx-select.mini { min-width: 0; font-size: 12px; padding: 5px 26px 5px 10px; font-weight: 600; }+.wbx-select-chev { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--sidebar-mute); display: flex; }+.wbx-select-wrap.mini .wbx-select-chev { right: 8px; }++/* ════════ Workbench shell ════════ */+.wbx { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }+.wbx-bar { height: 48px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 16px;+ background: transparent; position: relative; }+/* 3-chip toggle dead-centered in the bar (not biased by the left harness selector) */+.wbx-tabs-center { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }+.wbx-bar-label { font-size: 12px; font-weight: 600; color: var(--sidebar-mute); }+.wbx-body { flex: 1; min-height: 0; overflow: hidden; }+.wbx-scroll { height: 100%; overflow: auto; }++/* rounded-square panel toggle (expand/collapse) */+.wbx-toggle { width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px;+ background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }+.wbx-toggle:hover { background: var(--brand-50); color: var(--ink); border-color: var(--brand-soft); }+.wbx-toggle.as-rail { border: none; background: transparent; }++/* two-area layout: Config | Chat-workspace — each a contained, rounded card on the page bg */+.wbx2 { height: 100%; display: flex; overflow: hidden; gap: 10px; padding: 10px; background: var(--bg); }+.wbx-pane { height: 100%; display: flex; flex-direction: column; min-height: 0; background: var(--surface);+ border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); position: relative; }+.wbx-pane-head { height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 4px 12px 0 16px; }+.wbx-pane-title { flex: 1; font-size: 13px; font-weight: 700; color: var(--ink); }+.wbx-pane-scroll { flex: 1; min-height: 0; overflow: auto; padding: 16px; }+.wbx-config-foot { flex-shrink: 0; display: flex; justify-content: flex-end; gap: 8px; padding: 12px 14px;+ background: var(--surface); }+.wbx-resizer { position: absolute; top: 0; right: -3px; width: 6px; height: 100%; cursor: col-resize; z-index: 5; }+.wbx-resizer:hover { background: var(--brand-soft); }+.wbx-note { font-size: 12px; color: var(--sidebar-mute); background: var(--brand-50); border-radius: 8px; padding: 8px 11px; margin-bottom: 4px; }+.wbx-base-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;+ padding: 3px 10px; border-radius: 999px; color: var(--bc);+ background: color-mix(in srgb, var(--bc) 12%, transparent);+ border: 1px solid color-mix(in srgb, var(--bc) 26%, transparent); }+.wbx-ro { font-size: 9px; font-weight: 700; color: var(--sidebar-mute); background: var(--line); border-radius: 5px;+ padding: 1px 6px; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }+.wbx-doc-hint { font-size: 10px; font-weight: 700; color: var(--brand); background: var(--brand-50);+ border-radius: 5px; padding: 1px 7px; margin-left: 7px; vertical-align: middle;+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }+.wbx-sec-head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }++/* collapsed rail (vertical) */+.wbx-rail { width: 42px; flex-shrink: 0; border: none; border-right: 1px solid var(--line); background: var(--brand-50);+ cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 9px; }+.wbx-rail.wbx-rail-right { border-right: none; border-left: 1px solid var(--line); }+.wbx-rail-txt { writing-mode: vertical-rl; font-size: 12px; font-weight: 700; color: var(--brand-ink); letter-spacing: .03em; }++/* chat workspace = Recents | Conversation — a contained, rounded card */+.wbx-ws { flex: 1; min-width: 0; height: 100%; display: flex; overflow: hidden; background: var(--surface);+ border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); }+.wbx-recents { width: 248px; flex-shrink: 0; height: 100%; display: flex; flex-direction: column; min-height: 0;+ background: var(--surface); border-right: 1px solid var(--line); }+.wbx-recents-head { height: 44px; flex-shrink: 0; display: flex; align-items: center; padding: 0 16px;+ border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }+.wbx-recents-list { flex: 1; min-height: 0; overflow: auto; padding: 6px; }+.wbx-recent { width: 100%; text-align: left; display: flex; align-items: center; gap: 9px; padding: 9px 11px;+ border-radius: 8px; border: none; background: transparent; cursor: pointer; }+.wbx-recent:hover { background: var(--brand-50); }+.wbx-recent.sel { background: var(--brand-soft); }+.wbx-recent-dot { width: 7px; height: 7px; border-radius: 7px; flex-shrink: 0; }+.wbx-recent-title { font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }+.wbx-recent-del { flex: 0 0 auto; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;+ border: none; background: transparent; color: var(--sidebar-mute); border-radius: 6px; cursor: pointer;+ opacity: 0; transition: opacity .12s, background .12s, color .12s; }+.wbx-recent:hover .wbx-recent-del { opacity: 1; }+.wbx-recent-del:hover { background: color-mix(in srgb, #DC2626 12%, transparent); color: #DC2626; }++/* conversation */+.wbx-conv { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; min-height: 0; }+.wbx-conv-head { height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px;+ border-bottom: 1px solid var(--line); background: var(--surface); }+.wbx-conv-title { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink);+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.wbx-conv-msgs { flex: 1; min-height: 0; overflow: auto; padding: 24px 0; display: flex; flex-direction: column; gap: 22px; }+/* .wbx-turn / .wbx-bubble-user / .wbx-md live in UI Core (frontend-ui-core/styles/chat.css). */+.wbx-av-asst { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--brand);+ color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }+.wbx-asst { min-width: 0; flex: 1; max-width: calc(100% - 90px); display: flex; flex-direction: column; gap: 8px; }+.wbx-sender { font-size: 13px; font-weight: 700; color: var(--ink); }+/* Typing indicator while a turn streams with no text yet (wbxblink keyframes come from UI Core) */+.wbx-typing { display: inline-flex; gap: 4px; padding: 4px 0; }+.wbx-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--sidebar-mute); opacity: .4;+ animation: wbxblink 1.2s infinite both; }+.wbx-typing span:nth-child(2) { animation-delay: .2s; } .wbx-typing span:nth-child(3) { animation-delay: .4s; }+.wbx-think { font-size: 12.5px; color: var(--sidebar-mute); }+.wbx-think summary { cursor: pointer; }+.wbx-think > div { white-space: pre-wrap; padding: 6px 0 0 10px; border-left: 2px solid var(--line); margin-top: 5px; }+.wbx-tool { font-size: 12px; font-family: ui-monospace, monospace; background: var(--brand-50); border: 1px solid var(--line);+ border-radius: 8px; padding: 6px 10px; align-self: flex-start; }+.wbx-tool-name { color: var(--brand); font-weight: 600; }+.wbx-tool-args { color: var(--sidebar-mute); }+.wbx-file { font-size: 12.5px; color: var(--brand); align-self: flex-start; }++/* Cowork-style composer chrome lives in UI Core; only the HR-specific hint pill stays here. */+.wbx-composer-hint { font-size: 12px; font-weight: 600; color: var(--sidebar-mute); border: 1px solid var(--line);+ border-radius: 999px; padding: 3px 11px; }++/* traces embed */+.wbx-traces { height: 100%; display: flex; overflow: hidden; }+.wbx-traces-side { width: 300px; flex-shrink: 0; border-right: 1px solid var(--line); overflow: hidden; display: flex; }+.wbx-traces-side > aside { width: 100%; }+.wbx-traces-main { flex: 1; min-width: 0; overflow: hidden; display: flex; }+.wbx-traces-main > * { flex: 1; min-width: 0; }++/* Modal scrim for the harness create/clone/rename dialog */+.hr-modal-scrim { position: fixed; inset: 0; background: rgba(17,24,39,.38); display: grid; place-items: center; z-index: 50; }++/* ════════ Workbench Cowork chat + recents polish (no avatar/name; collapsible timeline) ════════ */+/* Recents: New Task on top, then a quiet "Recents" label (no divider) */+.wbx-recents-top { display: flex; align-items: center; gap: 8px; padding: 12px 12px 6px; }+.wbx-newtask { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;+ font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); border: none; border-radius: 10px;+ padding: 9px 12px; cursor: pointer; box-shadow: var(--shadow-1); }+.wbx-newtask:hover { background: var(--brand-ink); }+.wbx-recents-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;+ color: var(--sidebar-mute); padding: 6px 16px 4px; }+.wbx-toggle.sm { width: 28px; height: 28px; }++/* Agent activity timeline (.wbx-acts / .wbx-act-*) lives in UI Core. */++/* Per-message action row (copy, etc.) */+.wbx-actrow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }+.wbx-iconbtn { font-size: 12px; color: var(--sidebar-mute); background: transparent; border: none; cursor: pointer;+ display: inline-flex; align-items: center; gap: 5px; padding: 2px 4px; border-radius: 6px; }+.wbx-iconbtn:hover { color: var(--ink); background: var(--brand-50); }+.wbx-act-fail { font-size: 12px; color: #dc2626; font-weight: 600; }++/* "new harness" add card: a single large, vertically-centered + (no label) */+.hr-add { min-height: 168px; display: grid; place-items: center; }+.hr-add-plus { font-size: 46px; line-height: 1; font-weight: 300; }++/* Inline rename: click the card title to edit (no Rename button) */+.hr-card-title.editable { cursor: text; border-radius: 6px; padding: 1px 5px; margin: -1px -5px; }+.hr-card-title.editable:hover { background: var(--brand-50); }+.hr-card-title-edit { font-weight: 700; font-size: 16px; color: var(--ink); border: 1px solid var(--brand);+ border-radius: 7px; padding: 2px 7px; outline: none; width: 100%; font-family: inherit; }++/* ════════ API reference (Swagger-style) ════════ */+.apidoc { max-width: 880px; }+/* inline code reads as quiet monospace, NOT a boxed badge (badges everywhere = visual noise) */+.apidoc code, .apidoc-tok { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;+ color: var(--brand-ink); background: none; border: none; padding: 0; }+/* elegant code card: quiet header (lang + copy) over a light syntax-highlighted body */+.apidoc-code { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FBFBFD; box-shadow: var(--shadow-1); }+.apidoc-code-head { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px;+ border-bottom: 1px solid var(--line); background: var(--bg); }+.apidoc-code-lang { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sidebar-mute); }+.apidoc-code-copy { font-size: 12px; font-weight: 600; color: var(--brand); background: none; border: none; cursor: pointer; padding: 2px 6px; border-radius: 6px; }+.apidoc-code-copy:hover { background: var(--brand-50); }+.apidoc-kv { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line);+ border-radius: 12px; padding: 14px 16px; margin: 16px 0 4px; box-shadow: var(--shadow-1); }+.apidoc-kv > div { display: flex; align-items: center; gap: 12px; }+.apidoc-kv-k { width: 110px; flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--sidebar-mute);+ text-transform: uppercase; letter-spacing: .03em; }+.apidoc-h3 { font-size: 16px; font-weight: 700; margin: 30px 0 8px; }+.apidoc-sub { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 14px 0 2px; }+.apidoc-ep { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 14px 0; background: var(--surface); }+.apidoc-ep-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }+.apidoc-m { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; border-radius: 6px; padding: 3px 8px; }+.apidoc-m-post { background: #16a34a; } .apidoc-m-get { background: #2563eb; }+.apidoc-m-delete { background: #dc2626; } .apidoc-m-put { background: #d97706; }+.apidoc-path { font-size: 13.5px; font-weight: 700; background: none; border: none; padding: 0; color: var(--ink); }+.apidoc-tbl { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 13px; }+.apidoc-tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .03em;+ color: var(--sidebar-mute); padding: 6px 10px; border-bottom: 1px solid var(--line); }+.apidoc-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }+.apidoc-tbl tr:last-child td { border-bottom: none; }+.apidoc-ty { color: var(--sidebar-mute); font-family: ui-monospace, monospace; font-size: 12px; }+.apidoc-req { font-size: 11px; font-weight: 700; color: #b91c1c; }+.apidoc-opt { font-size: 11px; color: var(--sidebar-mute); }++/* ════════ Cowork-faithful chat polish ════════ */+.wbx-conv { position: relative; }++/* Drag-and-drop attach overlay: shown while files hover the conversation pane. */+.wbx-droparea { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center;+ justify-content: center; background: rgba(110, 85, 255, .06); pointer-events: none;+ border: 2px dashed var(--brand); border-radius: 12px; }+.wbx-droparea-inner { display: flex; align-items: center; gap: 10px; padding: 14px 22px;+ border-radius: 12px; background: #fff; border: 1px solid var(--line);+ box-shadow: 0 8px 28px rgba(15, 23, 42, .14); font-size: 14px; font-weight: 700; color: var(--ink); }+.wbx-droparea-inner iconify-icon { font-size: 20px; color: var(--brand); }+/* align the two header chevrons: config head + recents top share a height, centered */+.wbx-pane-head { height: 52px; padding: 0 12px 0 16px; }+.wbx-recents-top { height: 52px; padding: 0 12px; gap: 10px; align-items: center; }++/* Recents: hollow ring (idle/done) vs filled brand dot (active) */+.wbx-recent-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;+ border: 1.5px solid var(--sidebar-mute); background: transparent; box-sizing: border-box; }+.wbx-recent-dot.on { background: var(--brand); border-color: var(--brand); animation: wbxdotpulse 1.4s ease-in-out infinite; }+@keyframes wbxdotpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(110,85,255,.45); } 50% { box-shadow: 0 0 0 4px rgba(110,85,255,0); } }+/* In-conversation "working" indicator (.wbx-working) lives in UI Core. */+.wbx-recents-label { display: flex; align-items: center; }++/* per-message action row (hover-revealed, muted line icons) */+.wbx-actrow { display: flex; align-items: center; gap: 2px; margin-top: 10px; opacity: 0; transition: opacity .12s; }+.wbx-turn.asst:hover .wbx-actrow, .wbx-actrow:focus-within { opacity: 1; }+.wbx-act-ic { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;+ border-radius: 7px; color: var(--sidebar-mute); background: transparent; border: none; cursor: pointer; }+.wbx-act-ic:hover { background: var(--brand-50); color: var(--ink); }+.wbx-act-txt { height: 28px; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 600;+ color: var(--sidebar-mute); background: transparent; border: none; cursor: pointer; font-family: inherit; }+.wbx-act-txt:hover { background: var(--brand-50); color: var(--ink); }+.wbx-act-fail { font-size: 12px; color: #dc2626; font-weight: 600; margin-left: 8px; }++/* output file cards (under the answer) */+.wbx-files { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; max-width: 560px; }+/* One-click "everything from this turn" zip row under the file cards. */+.wbx-zipall { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;+ font-size: 12.5px; font-weight: 600; font-family: inherit; color: var(--brand); padding: 6px 12px;+ border-radius: 9px; border: 1px solid var(--brand-soft); background: var(--brand-50); cursor: pointer; }+.wbx-zipall:hover { border-color: var(--brand); background: var(--brand-100, #EEEAFE); }+.wbx-filecard { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; min-width: 0; border: 1px solid var(--line);+ border-radius: 12px; padding: 10px 12px; background: var(--surface); box-shadow: var(--shadow-1); }+.wbx-filecard:hover { border-color: var(--brand-soft); }+.wbx-filecard-ic { width: 30px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }+.wbx-filecard-meta { flex: 1 1 auto; min-width: 0; }+.wbx-filecard-name { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.wbx-filecard-sub { display: block; font-size: 12px; color: var(--sidebar-mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.wbx-filecard-open { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--brand); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; white-space: nowrap; }++/* composer controls (attach / Ask / model / send) */+.wbx-comp-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }+.wbx-comp-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2);+ background: var(--brand-50); border: 1px solid var(--line); border-radius: 8px; padding: 3px 6px 3px 9px; }+.wbx-comp-chip-x { border: none; background: none; cursor: pointer; color: var(--sidebar-mute); font-size: 15px; line-height: 1; padding: 0 2px; }+.wbx-comp-ic { width: 32px; height: 32px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;+ border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--sidebar-mute); cursor: pointer; }+.wbx-comp-ic:hover:not(:disabled) { background: var(--brand-50); color: var(--ink); }+.wbx-comp-ic:disabled { opacity: .5; cursor: default; }+.wbx-comp-ask { font-size: 13px; font-weight: 600; color: var(--sidebar-mute); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }+.wbx-send { padding: 7px 18px; }++/* jump-to-latest floating button */+.wbx-jump { position: absolute; left: 50%; transform: translateX(-50%); bottom: 104px; width: 36px; height: 36px;+ border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);+ display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; z-index: 5; }+.wbx-jump:hover { background: var(--brand-50); }++/* ════════ Tools / MCP / Skills row cards (config tab) ════════ */+.wbx-rows { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 0; }+.wbx-rowcard { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px;+ padding: 10px 13px; background: var(--surface); }+.wbx-rowcard.ro { background: var(--brand-50); }+.wbx-rowcard-ic { color: var(--sidebar-mute); flex: 0 0 auto; display: flex; align-items: center; }+.wbx-rowcard-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink);+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.wbx-rowcard-act { font-size: 12.5px; font-weight: 600; color: var(--sidebar-mute); background: none; border: none;+ cursor: pointer; padding: 2px 5px; border-radius: 6px; }+.wbx-rowcard-act:hover { color: var(--ink); background: var(--brand-50); }+.wbx-tgl { width: 38px; height: 22px; border-radius: 999px; border: none; background: var(--line);+ position: relative; cursor: pointer; flex: 0 0 auto; transition: background .15s; }+.wbx-tgl > span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;+ background: #fff; box-shadow: var(--shadow-1); transition: left .15s; }+.wbx-tgl.on { background: var(--brand); }+.wbx-tgl.on > span { left: 18px; }++/* Traces empty-state (harness with no sessions) */+.wbx-traces-empty { flex: 1; position: relative; display: grid; place-items: center; background: var(--bg); overflow: hidden; }+.wbx-empty-art { position: absolute; width: min(560px, 70%); max-height: 60%; opacity: .07; pointer-events: none; }+.wbx-traces-empty-card { position: relative; text-align: center; padding: 32px 40px; max-width: 420px; }+.wbx-traces-empty-h { font-size: 18px; font-weight: 700; color: var(--ink); }+/* done terminal row color lives in UI Core (--uic-ok). */++/* ════════ Output file preview (right split panel) ════════ */+/* container-type lets the float breakpoint below key off the CONVERSATION width, not the viewport:+ the config + recents rails eat horizontal space, so a 1440px window can leave the chat area far+ narrower — a viewport media query misses that and the docked preview clips its close button. */+.wbx-conv { display: flex; flex-direction: row; container-type: inline-size; }+.wbx-conv-main { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; min-height: 0; position: relative; }+.wbx-conv.split .wbx-conv-main { flex: 1 1 auto; }+/* When the file preview is open the chat stays readable via the preview's max-width:62% cap (chat+ always keeps >=38%). Content min-width must be 0 so the preview can honor its dragged width and+ grow — a non-zero floor here blocks resize and pushes the pane (close button) off-screen. */+.wbx-conv.split .wbx-conv-main { min-width: 0; }+/* Preview pane is flex:0 0 auto in the markup (width is authoritative, so drag-to-resize works);+ min-width 280 floor + max-width 62% cap keep it from squeezing the chat or clipping its close+ button. Below 680px conversation width the @container rule floats it as an overlay instead. */+.wbx-preview-pane { min-width: 280px; max-width: 62%; height: 100%; display: flex; position: relative; }+.fp-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--surface); }+/* Narrow CONVERSATION area (rails open on a normal laptop): float the preview over the chat instead+ of squeezing it, so its close button is never pushed off-screen. Keyed to the conversation width via+ the container query above, so it fires correctly regardless of how much the config/recents rails eat. */+@container (max-width: 680px) {+ .wbx-conv.split .wbx-conv-main { min-width: 0; }+ .wbx-conv.split .wbx-preview-pane {+ position: absolute; top: 0; right: 0; bottom: 0;+ width: min(480px, 92%) !important; max-width: none; flex: none !important;+ z-index: 30; box-shadow: -10px 0 30px rgba(17, 19, 23, 0.14);+ }+ .wbx-conv.split .wbx-vresize { display: none; }+}+.fp-head { height: 50px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 14px; border-bottom: 1px solid var(--line); }+.fp-ic { flex-shrink: 0; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--brand-50, #f2f0ff); }+.fp-name { flex: 1; min-width: 0; font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.fp-dl { font-size: 12.5px; font-weight: 600; color: var(--brand); }+.fp-close { width: 30px; height: 30px; border: none; background: transparent; font-size: 22px; line-height: 1; color: var(--sidebar-mute); cursor: pointer; border-radius: 8px; }+.fp-close:hover { background: var(--brand-50); color: var(--ink); }+.fp-body { flex: 1; min-height: 0; overflow: auto; background: var(--bg); }+.fp-center { display: grid; place-items: center; min-height: 100%; padding: 16px; }+.fp-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }+.fp-pdf { width: 100%; height: 100%; border: none; }+.fp-media { max-width: 100%; }+.fp-text { margin: 0; padding: 18px; font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; line-height: 1.55; color: var(--ink); }++/* ════════ Skill folder editor (folder tree + md/code editor + upload) ════════ */+.skl-editor { width: min(960px, 92vw); height: min(680px, 88vh); background: var(--surface); border-radius: 16px;+ display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 64px rgba(20,16,50,.28); }+.skl-head { height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;+ padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }+.skl-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 14px; color: var(--ink); }+.skl-body { flex: 1; min-height: 0; display: flex; }+.skl-tree { width: 230px; flex-shrink: 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: var(--bg); }+.skl-tree-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }+.skl-tree-acts { display: inline-flex; gap: 4px; }+.skl-icbtn { width: 26px; height: 26px; border: none; background: transparent; color: var(--sidebar-mute); cursor: pointer;+ border-radius: 7px; display: grid; place-items: center; }+.skl-icbtn:hover { background: var(--brand-50); color: var(--brand); }+.skl-newfile { padding: 0 10px 8px; }+.skl-newfile input { width: 100%; font-size: 12.5px; padding: 6px 9px; border: 1px solid var(--brand); border-radius: 8px; background: var(--surface); color: var(--ink); }+.skl-filelist { flex: 1; overflow: auto; padding: 2px 6px 10px; }+.skl-fileitem { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px; cursor: pointer; color: var(--ink-2); font-size: 12.5px; }+.skl-fileitem:hover { background: var(--brand-50); }+.skl-fileitem.sel { background: var(--brand-50); color: var(--ink); font-weight: 600; }+.skl-fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.skl-ic { flex-shrink: 0; display: inline-flex; align-items: center; color: var(--sidebar-mute); }+.skl-del { border: none; background: transparent; color: var(--sidebar-mute); cursor: pointer; font-size: 16px; line-height: 1; width: 18px; }+.skl-del:hover { color: var(--danger, #d23); }+/* per-row hover actions: rename (pencil) + delete (trash), revealed on hover */+.skl-row-acts { display: inline-flex; gap: 2px; margin-left: auto; opacity: 0; transition: opacity .12s; flex-shrink: 0; }+.skl-fileitem:hover .skl-row-acts { opacity: 1; }+.skl-row-acts button { border: none; background: transparent; color: var(--sidebar-mute); cursor: pointer; padding: 3px; border-radius: 6px; display: inline-flex; }+.skl-row-acts button:hover { background: rgba(0,0,0,.06); color: var(--ink); }+.skl-row-acts button:last-child:hover { color: var(--danger, #d23); }+.skl-rename { flex: 1; min-width: 0; font-size: 12.5px; padding: 2px 6px; border: 1px solid var(--brand); border-radius: 6px; background: var(--surface); color: var(--ink); }+/* drag-and-drop dropzone + upload progress */+.skl-tree { position: relative; }+.skl-tree.dragover { outline: 2px dashed var(--brand); outline-offset: -4px; background: var(--brand-50); }+.skl-droptip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;+ padding: 16px; font-size: 12.5px; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--brand-50) 88%, transparent);+ pointer-events: none; }+.skl-prog { padding: 8px 12px; display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); }+.skl-prog-bar { height: 5px; border-radius: 999px; background: var(--brand-50); overflow: hidden; }+.skl-prog-fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width .15s ease; }+.skl-edit { flex: 1; min-width: 0; display: flex; flex-direction: column; }+.skl-edit-path { height: 34px; flex-shrink: 0; display: flex; align-items: center; padding: 0 16px; font-size: 12px;+ color: var(--sidebar-mute); border-bottom: 1px solid var(--line); font-family: ui-monospace, Menlo, monospace; }+.skl-textarea { flex: 1; min-height: 0; resize: none; border: none; outline: none; padding: 16px; background: var(--surface);+ color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.6; }+.skl-foot { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px;+ padding: 10px 16px; border-top: 1px solid var(--line); }+.skl-foot-acts { display: inline-flex; gap: 8px; }++/* ════════ Conversation top bar: single task-history toggle (top-left) ════════ */+/* Floating bar over the scroll surface: translucent fade so content scrolls under it; the toggle+ sits left, the harness name is centered. */+.wbx-conv-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 4; height: 48px; display: flex; align-items: flex-start;+ padding: 8px; pointer-events: none;+ background: linear-gradient(to bottom, var(--surface) 60%, color-mix(in srgb, var(--surface) 40%, transparent)); }+.wbx-conv-bar > * { pointer-events: auto; }+.wbx-conv-bar-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13.5px; font-weight: 600;+ display: inline-flex; align-items: center; gap: 7px;+ color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }+.wbx-panel-tgl { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;+ border: none; background: transparent; color: var(--sidebar-mute); border-radius: 9px; cursor: pointer; transition: background .12s, color .12s; }+.wbx-panel-tgl:hover { background: var(--brand-50); color: var(--brand); }+.wbx-panel-tgl[aria-pressed="true"] { color: var(--brand); }+/* messages clear the floating bar */+.wbx-conv-msgs { padding-top: 50px; }++/* ════════ MCP modal: test connection + tools list ════════ */+.mcp-test-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; }+/* quiet status: a small colored dot + neutral ink text (not a wall of green) */+.mcp-test-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }+.mcp-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }+.mcp-test-status.ok .mcp-dot { background: #16a34a; }+.mcp-test-status.err { color: #b91c1c; } .mcp-test-status.err .mcp-dot { background: #dc2626; }+/* tools as a scrollable list of cards */+.mcp-tools { margin-top: 10px; max-height: 240px; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }+.mcp-tool-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }+.mcp-tool-card:hover { border-color: var(--brand-soft); }+.mcp-tool-n { font-size: 12.5px; font-weight: 700; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.mcp-tool-d { font-size: 12px; color: var(--sidebar-mute); margin-top: 4px; line-height: 1.5;+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }++/* ════════ file cards: type icon + download icon button ════════ */+.wbx-filecard { cursor: pointer; }+.wbx-filecard-dl { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;+ border-radius: 8px; color: var(--sidebar-mute); border: 1px solid transparent; flex: 0 0 auto;+ background: transparent; cursor: pointer; }+.wbx-filecard-dl:hover { background: var(--brand-50); color: var(--brand); }+/* preview header icon buttons (download / close) */+.fp-icbtn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;+ border: none; background: transparent; color: var(--sidebar-mute); border-radius: 8px; cursor: pointer; flex: 0 0 auto; }+.fp-icbtn:hover { background: var(--brand-50); color: var(--ink); }+/* office / sheet / doc renderers */+.fp-doc { padding: 24px 28px; color: var(--ink); font-size: 14px; line-height: 1.6; max-width: 820px; margin: 0 auto; }+.fp-doc h1, .fp-doc h2, .fp-doc h3 { font-weight: 700; margin: 1em 0 .4em; }+.fp-doc p { margin: 0 0 .7em; } .fp-doc table { border-collapse: collapse; margin: 0 0 1em; }+.fp-doc td, .fp-doc th { border: 1px solid var(--line); padding: 5px 9px; }+.fp-doc img { max-width: 100%; }+.fp-sheet { padding: 16px; overflow: auto; }+.fp-sheet table { border-collapse: collapse; font-size: 12.5px; margin-bottom: 18px; }+.fp-sheet td, .fp-sheet th { border: 1px solid var(--line); padding: 4px 8px; white-space: nowrap; }+.fp-sheet tr:first-child td, .fp-sheet th { background: var(--bg); font-weight: 600; }+.fp-sheet-name { font-size: 13px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; }+/* xlsx interactive grid (SheetJS) with bottom sheet tabs */+.fp-xlsx { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--surface); }+.fp-xlsx .fp-sheet { flex: 1; min-height: 0; }+.fp-xlsx .fp-sheet table { border-collapse: collapse; font-size: 12.5px; width: max-content; }+.fp-xlsx .fp-sheet td, .fp-xlsx .fp-sheet th { border: 1px solid var(--line); padding: 4px 10px; white-space: nowrap; min-width: 56px; height: 22px; color: var(--ink-2); }+.fp-sheet-tabs { flex-shrink: 0; display: flex; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--line);+ background: var(--surface-2); overflow-x: auto; }+.fp-sheet-tab { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--mute); background: transparent;+ border: 1px solid transparent; border-radius: 7px 7px 0 0; padding: 5px 12px; cursor: pointer; max-width: 180px;+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.fp-sheet-tab.on { color: var(--brand); background: var(--surface); border-color: var(--line); border-bottom-color: var(--surface); }+.fp-sheet-tab:hover:not(.on) { color: var(--ink); }+.fp-fallback { text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; }++/* inline (flex-item) vertical resize handle — between recents|chat and chat|preview */+.wbx-vresize { flex: 0 0 5px; align-self: stretch; cursor: col-resize; background: transparent; }+.wbx-vresize:hover { background: var(--brand-soft); }++/* ════════ attachment cards (user bubble + composer) ════════ */+.wbx-attach-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }+.wbx-attach-row.in-composer { margin: 0 0 10px; }+.wbx-attach { position: relative; display: flex; align-items: center; gap: 9px; background: var(--surface);+ border: 1px solid var(--line); border-radius: 11px; padding: 8px 11px; max-width: 220px; box-shadow: var(--shadow-1); }+.wbx-attach.img { padding: 0; width: 64px; height: 64px; }+.wbx-attach-thumb { width: 64px; height: 64px; object-fit: cover; display: block; border-radius: 11px; }+.wbx-attach-ic { flex: 0 0 auto; display: flex; }+.wbx-attach-meta { min-width: 0; display: flex; flex-direction: column; }+.wbx-attach-name { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }+.wbx-attach-ext { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; color: var(--sidebar-mute); margin-top: 2px; }+.wbx-attach-x { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--surface);+ background: var(--ink); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(20,16,50,.3); z-index: 3; }+.wbx-attach:hover .wbx-attach-x { display: flex; }++/* While dragging a resizer, neutralize embedded iframes + selection so mouseup always lands. */+body.hr-resizing { user-select: none; cursor: col-resize; }+body.hr-resizing iframe { pointer-events: none; }+.wbx-vresize { flex-basis: 7px; }++/* ════════ API Keys page ════════ */+.keys-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }+.keys-create-btn { flex: 0 0 auto; white-space: nowrap; }+.keys-list { margin-top: 22px; }+.keys-empty { display: flex; align-items: center; gap: 12px; padding: 28px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); }+.keys-empty-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }+.keys-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }+.keys-thead, .keys-row { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr auto; align-items: center; gap: 16px; padding: 12px 18px; }+.keys-thead { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sidebar-mute); background: var(--bg); border-bottom: 1px solid var(--line); }+.keys-row + .keys-row { border-top: 1px solid var(--line); }+.keys-row:hover { background: var(--bg); }+.keys-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }+.keys-name-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }+.keys-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--sidebar-mute); }+.keys-date { font-size: 13px; color: var(--ink-2); }+.keys-revoke { justify-self: end; }+/* reveal-once secret */+.keys-secret { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }+.keys-secret code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--ink); }+.keys-copy { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; cursor: pointer; }+.keys-copy:hover { background: var(--brand-50); }++/* API Reference header: title + Copy-to-Agent / Download-SKILL actions */+.apidoc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 14px; flex-wrap: wrap; }+.apidoc-top-acts { display: inline-flex; gap: 8px; }++/* ── AGENTS.md doc page ─────────────────────────────────────────────────────── */+.hr-page { max-width: 920px; margin: 0 auto; padding: 28px 28px 80px; }+.hr-doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }+.hr-doc-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink); }+.hr-doc-sub { margin: 0; max-width: 620px; font-size: 14px; line-height: 1.6; color: var(--mute); }+.hr-doc-actions { display: inline-flex; gap: 8px; flex-shrink: 0; }+.hr-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); padding: 28px 32px; }+.hr-doc h1 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 4px 0 14px; color: var(--ink); }+.hr-doc h2 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; color: var(--ink); }+.hr-doc h3 { font-size: 14px; font-weight: 700; margin: 18px 0 8px; color: var(--ink); }+.hr-doc p, .hr-doc li { font-size: 14px; line-height: 1.65; color: var(--ink-2); }+.hr-doc ul, .hr-doc ol { padding-left: 22px; margin: 8px 0; }+.hr-doc li { margin: 4px 0; }+.hr-doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }+.hr-doc strong { color: var(--ink); font-weight: 700; }+.hr-doc hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }+.hr-doc blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--brand); background: var(--brand-50); border-radius: 0 8px 8px 0; color: var(--ink-2); }+.hr-doc code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--brand-ink); }+.hr-doc pre { background: #0f1320; border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 12px 0; }+.hr-doc pre code { font-family: var(--mono); font-size: 12.5px; background: transparent; border: 0; padding: 0; color: #d6deeb; }+.hr-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }+.hr-doc th, .hr-doc td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; }+.hr-doc th { background: var(--surface-2); font-weight: 600; color: var(--ink); }++/* ── auth: forgot-password link + reset note ── */+.hr-field-row { display: flex; align-items: center; justify-content: space-between; }+.hr-link-sm { background: none; border: none; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--brand); cursor: pointer; }+.hr-link-sm:hover { text-decoration: underline; }+.hr-note { font-size: 13.5px; color: var(--ink); line-height: 1.55; background: var(--brand-50, #eef1ff); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }++/* terminal-state badges (.wbx-turnbadge) live in UI Core. */++/* recents filter */+.wbx-recents-flt { padding: 0 10px 6px; display: flex; flex-direction: column; gap: 6px; }+.wbx-recents-search { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; font-size: 12px; font-family: inherit; }+.wbx-recents-chips { display: flex; gap: 4px; }+.wbx-fltchip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;+ border: 1px solid var(--line); background: transparent; color: var(--sidebar-mute); cursor: pointer; }+.wbx-fltchip.on { background: var(--brand-50); color: var(--brand); border-color: var(--brand); }++/* Additional Headers — preview gear (upper-right of the conversation bar) + values popup */+.wbx-hdr-gear { margin-left: auto; position: relative; width: 30px; height: 30px; display: inline-flex;+ align-items: center; justify-content: center; border-radius: 8px; border: none; background: transparent;+ color: var(--sidebar-mute); cursor: pointer; }+.wbx-hdr-gear:hover { background: var(--brand-50); color: var(--ink); }+.wbx-hdr-dot { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%;+ background: #d97706; border: 1.5px solid #fff; }+.wbx-hdr-pop { background: #fff; border-radius: 14px; padding: 18px 20px; width: 380px; max-width: 92vw;+ box-shadow: 0 18px 50px rgba(15, 23, 42, .22); }+.wbx-hdr-pop-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }++/* MCP auth kind chips: explicit "per-request header" ($headers ref) vs stored "token" */+.mcp-authkind { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600;+ padding: 2px 8px; border-radius: 999px; margin-left: 8px; white-space: nowrap;+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.mcp-authkind.hdr { color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; }++/* MCP modal: one-click insert chips for declared Additional Headers */+.mcp-hdr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }+.mcp-hdr-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;+ border: 1px solid var(--line); background: var(--brand-50); color: var(--brand); cursor: pointer;+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.mcp-hdr-chip:hover { border-color: var(--brand); }++/* API reference embedded in the AGENTS.md doc card: same column as the prose, and its+ section heads sit one rank below the doc's h2s (no equal-weight heading soup). */+.hr-doc .apidoc { max-width: none; }+.hr-doc .apidoc-h3 { font-size: 14.5px; margin: 26px 0 8px; }++/* ── Tasks revamp: detail column with Conversation | Trace tabs ─────────────────── */+.wbx-detail-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; min-height: 0; }+.wbx-detail-tabs { flex-shrink: 0; display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--surface); }+.wbx-detail-tabs .wb-tab { padding: 10px 2px; }+.wbx-detail-fill { flex: 1; min-height: 0; display: flex; flex-direction: column; }+.wbx-detail-fill > .wbx-conv { height: 100%; }+.wbx-trace-pane { flex: 1; min-height: 0; overflow: auto; padding: 14px 18px 28px; background: var(--surface); }+.wbx-trace-row { display: grid; grid-template-columns: 44px 10px minmax(120px, 240px) minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line-soft, #f0f0f3); font-size: 12.5px; }+.wbx-trace-time { color: var(--sidebar-mute); font-variant-numeric: tabular-nums; }+.wbx-trace-dot { width: 8px; height: 8px; border-radius: 99px; align-self: center; }+.wbx-trace-label { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.wbx-trace-label em { font-style: normal; font-weight: 400; color: var(--sidebar-mute); }+.wbx-trace-text { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.wbx-bar-title { font-size: 15px; font-weight: 700; margin-right: 14px; }++/* ---- Tasks on narrow screens: list and detail alternate as full-width views ---- */+.wbx-mob-back { display: none; }+@media (max-width: 820px) {+ .wbx2 { padding: 6px; }+ .wbx-bar { padding: 0 10px; gap: 8px; }+ .wbx-bar .wbx-select { max-width: calc(100vw - 160px); }+ .wbx-ws:not(.m-detail) .wbx-detail-col, .wbx-ws:not(.m-detail) .wbx-vresize { display: none; }+ .wbx-ws:not(.m-detail) .wbx-recents { width: 100% !important; flex: 1 1 auto !important; }+ .wbx-ws.m-detail .wbx-recents, .wbx-ws.m-detail .wbx-vresize { display: none; }+ .wbx-mob-back { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; flex-shrink: 0;+ margin: 8px 0 2px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px;+ padding: 5px 10px 5px 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; }+ .wbx-mob-back:hover { background: var(--brand-50); }+ .wbx-asst { max-width: 100%; }+}++/* signup terms clickwrap */+.hr-consent { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 2px; font-size: 13px; color: var(--ink-2, #4b4b55); cursor: pointer; line-height: 1.45; }+.hr-consent input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 auto; cursor: pointer; }+.hr-consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }diff --git a/ui/src/app/icon.png b/ui/src/app/icon.pngnew file mode 100644index 00000000..c2223e0fBinary files /dev/null and b/ui/src/app/icon.png differdiff --git a/ui/src/app/layout.tsx b/ui/src/app/layout.tsxindex 9d4f231b..0f2a6313 100644--- a/ui/src/app/layout.tsx+++ b/ui/src/app/layout.tsx@@ -1,29 +1,49 @@import type { Metadata } from 'next';-import 'reifyui/styles/themes/light.css';+import { IBM_Plex_Sans, IBM_Plex_Mono, Schibsted_Grotesk } from 'next/font/google';++// Unified with the HarnessRouter marketing landing: paper theme + accent blue (#285AFF)+// and IBM Plex Sans/Mono with a Schibsted Grotesk display face for the wordmark.+import '@/studio/styles/tokens.css';+import '@/studio/styles/chrome.css';+import '@/studio/styles/page.css';+import '@/studio/styles/dialog.css';+import '@/studio/styles/traces.css';import 'reifyui/styles/chat.css';-import 'reifyui/styles/tasks.css';-import 'reifyui/styles/dialog.css';-import './globals.css';-import { Providers } from '@/components/Providers';-import { Nav } from '@/components/Nav';+import './hr.css';+import './hr-billing.css';++const sans = IBM_Plex_Sans({ variable: '--font-ibm-sans', subsets: ['latin'], weight: ['400', '500', '600', '700'] });+const mono = IBM_Plex_Mono({ variable: '--font-ibm-mono', subsets: ['latin'], weight: ['400', '500', '600'] });+const display = Schibsted_Grotesk({ variable: '--font-grotesk', subsets: ['latin'], weight: 'variable' });++const SITE = 'https://app.harnessrouter.ai';+// Self-hosted bills nothing and indexes nothing — a private box must not describe itself in+// hosted terms, and must not invite a crawler.+const SELF_HOSTED = process.env.NEXT_PUBLIC_HR_EDITION === 'selfhost';+const DESC = SELF_HOSTED+ ? 'Run coding agents like Codex, Claude Code and Hermes on your own machine, with your own keys.'+ : 'One API routes your app to coding agents like Codex, Claude Code, Hermes, and Pi: '+ + 'run tasks, stream results, and pay per use with credits.';export const metadata: Metadata = {- title: 'HarnessRouter',- description: 'Self-hosted harness management',- icons: { icon: '/favicon.svg' },+ metadataBase: new URL(SITE),+ title: { default: 'HarnessRouter: one API for every coding agent', template: '%s · HarnessRouter' },+ description: DESC,+ applicationName: 'HarnessRouter',+ keywords: ['coding agent API', 'Codex', 'Claude Code', 'Hermes', 'agent harness', 'AI agent router'],+ openGraph: {+ type: 'website', siteName: 'HarnessRouter', url: SITE,+ title: 'HarnessRouter, one API for every coding agent', description: DESC,+ images: ['/icon.png'],+ },+ twitter: { card: 'summary', title: 'HarnessRouter', description: DESC, images: ['/icon.png'] },+ robots: SELF_HOSTED ? { index: false, follow: false } : { index: true, follow: true },};export default function RootLayout({ children }: { children: React.ReactNode }) {return (- <html lang="en">- <body>- <Providers>- <div className="shell">- <Nav />- <main className="main">{children}</main>- </div>- </Providers>- </body>+ <html lang="en" className={`${sans.variable} ${mono.variable} ${display.variable}`}>+ <body>{children}</body></html>);}diff --git a/ui/src/app/login/page.tsx b/ui/src/app/login/page.tsxnew file mode 100644index 00000000..c6105f1f--- /dev/null+++ b/ui/src/app/login/page.tsx@@ -0,0 +1,223 @@+'use client';+import { useEffect, useState } from 'react';+import { login, register, googleSignIn, requestPasswordReset, resendVerification, switchOrg, getSession, type Org, type Session } from '@/lib/auth';+import { GoogleButton, GOOGLE_ENABLED } from '@/components/GoogleButton';+import { stashInvite, takePendingInvite } from '@/app/(app)/billing/lib';++// HarnessRouter is a subscribable product over AgentStudio orgs. The sign-in org picker lists ONLY+// orgs that subscribed to HR (hr_subscribed flag). The account itself is the shared AgentStudio user.+function hrSubscribed(orgs: Org[]): Org[] {+ return (orgs || []).filter((o) => (o as { hr_subscribed?: unknown }).hr_subscribed === '1');+}++export default function LoginPage() {+ const [mode, setMode] = useState<'signin' | 'register' | 'forgot'>('signin');+ const [email, setEmail] = useState('');+ const [password, setPassword] = useState('');+ const [name, setName] = useState('');+ const [err, setErr] = useState('');+ const [busy, setBusy] = useState(false);+ const [choices, setChoices] = useState<Org[] | null>(null);+ const [resetSent, setResetSent] = useState(false);+ // Email-verification hand-off: set after a sign-up (or an unverified sign-in), shows the+ // check-your-email screen with a resend action.+ const [verifyEmailAddr, setVerifyEmailAddr] = useState('');+ const [resent, setResent] = useState(false);+ // Terms clickwrap, gates account CREATION (email register + Google, which auto-creates on+ // first sign-in). Returning sign-in is not re-gated.+ const [agreed, setAgreed] = useState(false);++ // Capture an invite code from the link (/login?invite=CODE) so it survives the sign-up flow+ // (register -> verify email -> land in app); the app layout redeems it once a session exists.+ useEffect(() => {+ const q = new URLSearchParams(window.location.search);+ stashInvite(q.get('invite'));+ // Landed here from handleAuthExpired (dead/expired session): say why, in the existing notice slot.+ if (q.get('expired') === '1') setErr('Your session has expired. Please sign in again.');+ }, []);++ // Already signed in with an active org → straight to the dashboard (visiting /login while+ // authenticated should never show the sign-in form again). An authenticated but ORG-LESS+ // session (a multi-org member whose login didn't auto-select) gets the org picker straight+ // away instead, so they can pick without re-entering credentials.+ useEffect(() => {+ const s = getSession();+ if (!s?.token) return;+ if (s.orgId) { window.location.replace('/dashboard'); return; }+ const subscribed = hrSubscribed(s.orgs || []);+ if (subscribed.length > 0) setChoices(subscribed);+ }, []);++ async function enter(orgId: string, dest = '/dashboard') {+ await switchOrg(orgId);+ window.location.assign(dest); // hard nav so (app) remounts+ }++ // Route a freshly-authenticated session: into the single HR org, or to the org picker, or a notice.+ // A brand-new account (dest '/quickstart') lands on Quickstart to set up its first harness; returning+ // sign-ins land on the Dashboard. Matches the verify-email landing, which also opens Quickstart.+ async function afterAuth(session: Session, dest = '/dashboard') {+ const orgs = hrSubscribed(session.orgs);+ if (orgs.length === 0) setErr('This account has no HarnessRouter workspace yet. Ask an admin to add you, or subscribe an org.');+ else if (orgs.length === 1) await enter(orgs[0].id, dest);+ else setChoices(orgs);+ }++ async function submit(e: React.FormEvent) {+ e.preventDefault();+ setErr(''); setBusy(true);+ try {+ if (mode === 'forgot') {+ await requestPasswordReset(email.trim());+ setResetSent(true);+ } else if (mode === 'register') {+ // Carry the referral code into the sign-up request, the engine redeems it against the+ // new org, so the credit lands at account creation regardless of the verification device.+ const r = await register(email.trim(), password, name.trim(), takePendingInvite());+ if ('verifyRequired' in r) setVerifyEmailAddr(r.email); // check-your-email screen+ else await afterAuth(r, '/quickstart'); // fail-open immediate session+ } else {+ await afterAuth(await login(email.trim(), password));+ }+ } catch (ex) {+ const msg = ex instanceof Error ? ex.message : `${mode === 'register' ? 'Sign up' : 'Sign in'} failed`;+ if (msg === 'email_not_verified') { setVerifyEmailAddr(email.trim()); }+ else setErr(msg);+ } finally { setBusy(false); }+ }++ async function onGoogle(credential: string) {+ setErr(''); setBusy(true);+ // Google auto-creates an account on first sign-in, on the register form, require the same+ // terms consent as the email path before running the credential.+ if (mode === 'register' && !agreed) {+ setErr('Please agree to the Terms of Service and Privacy Policy first.');+ setBusy(false);+ return;+ }+ try {+ const { session, newAccount } = await googleSignIn(credential, takePendingInvite());+ await afterAuth(session, newAccount ? '/quickstart' : '/dashboard');+ }+ catch (ex) { setErr(ex instanceof Error ? ex.message : 'Google sign-in failed'); }+ finally { setBusy(false); }+ }++ return (+ <div className="hr-auth">+ <div className="hr-auth-card">+ {/* eslint-disable-next-line @next/next/no-img-element -- static brand asset */}+ <a className="hr-brand" href="https://harnessrouter.ai"><img className="hr-brand-logo" src="/harnessrouter-wordmark.png" alt="HarnessRouter" /></a>+ {verifyEmailAddr ? (+ <>+ <h1 style={{ marginTop: 14 }}>Check your email</h1>+ <p className="sub">+ We sent a verification link to <strong>{verifyEmailAddr}</strong>. Click it to+ activate your account, the link signs you in.+ </p>+ <button type="button" className="hr-btn" style={{ width: '100%', marginTop: 14 }}+ disabled={resent}+ onClick={() => { resendVerification(verifyEmailAddr); setResent(true); setTimeout(() => setResent(false), 30000); }}>+ {resent ? 'Sent, check your inbox' : 'Resend email'}+ </button>+ <p className="hr-auth-switch">+ Wrong address?{' '}+ <button type="button" onClick={() => { setVerifyEmailAddr(''); setErr(''); setMode('register'); }}>Sign up again</button>+ </p>+ </>+ ) : !choices ? (+ <form onSubmit={submit}>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>{mode === 'register' ? 'Create your account' : mode === 'forgot' ? 'Reset password' : 'Sign in'}</h1>+ <p className="sub" style={{ marginBottom: 18 }}>{mode === 'register' ? 'Get started in seconds.' : mode === 'forgot' ? 'We’ll email you a reset link.' : 'Welcome back.'}</p>++ {mode === 'forgot' ? (+ resetSent ? (+ <>+ <div className="hr-note">If an account exists for <b>{email.trim()}</b>, a password-reset link is on its way. It’s valid for 1 hour.</div>+ <button type="button" className="hr-btn primary" style={{ width: '100%', marginTop: 14 }}+ onClick={() => { setErr(''); setResetSent(false); setMode('signin'); }}>Back to sign in</button>+ </>+ ) : (+ <>+ <div className="hr-field">+ <label>Email</label>+ <input type="email" value={email} onChange={(e) => setEmail(e.target.value)} autoFocus required autoComplete="email" />+ </div>+ {err && <div className="hr-err">{err}</div>}+ <button type="submit" className="hr-btn primary" style={{ width: '100%', marginTop: 8 }} disabled={busy}>+ {busy ? 'Please wait…' : 'Send reset link'}+ </button>+ <p className="hr-auth-switch">+ <button type="button" onClick={() => { setErr(''); setMode('signin'); }}>Back to sign in</button>+ </p>+ </>+ )+ ) : (+ <>+ {GOOGLE_ENABLED && (+ <>+ <div className="hr-gwrap"><GoogleButton onCredential={onGoogle} onError={setErr} /></div>+ <div className="hr-or"><span>or</span></div>+ </>+ )}++ {mode === 'register' && (+ <div className="hr-field">+ <label>Name</label>+ <input value={name} onChange={(e) => setName(e.target.value)} autoComplete="name" placeholder="Jane Doe" />+ </div>+ )}+ <div className="hr-field">+ <label>Email</label>+ <input type="email" value={email} onChange={(e) => setEmail(e.target.value)} autoFocus required autoComplete="email" />+ </div>+ <div className="hr-field">+ <div className="hr-field-row">+ <label>Password</label>+ {mode === 'signin' && (+ <button type="button" className="hr-link-sm" onClick={() => { setErr(''); setResetSent(false); setMode('forgot'); }}>Forgot password?</button>+ )}+ </div>+ <input type="password" value={password} onChange={(e) => setPassword(e.target.value)} required+ autoComplete={mode === 'register' ? 'new-password' : 'current-password'}+ placeholder={mode === 'register' ? 'At least 8 characters' : ''} />+ </div>+ {mode === 'register' && (+ <label className="hr-consent">+ <input type="checkbox" checked={agreed} onChange={(e) => setAgreed(e.target.checked)} />+ <span>I agree to the <a href="https://harnessrouter.ai/tos" target="_blank" rel="noreferrer">Terms of Service</a> and <a href="https://harnessrouter.ai/privacy" target="_blank" rel="noreferrer">Privacy Policy</a>.</span>+ </label>+ )}+ {err && <div className="hr-err">{err}</div>}+ <button type="submit" className="hr-btn primary" style={{ width: '100%', marginTop: 8 }}+ disabled={busy || (mode === 'register' && !agreed)}>+ {busy ? 'Please wait…' : mode === 'register' ? 'Create account' : 'Sign in'}+ </button>+ <p className="hr-auth-switch">+ {mode === 'register' ? 'Already have an account?' : 'New to HarnessRouter?'}{' '}+ <button type="button" onClick={() => { setErr(''); setMode(mode === 'register' ? 'signin' : 'register'); }}>+ {mode === 'register' ? 'Sign in' : 'Create one'}+ </button>+ </p>+ </>+ )}+ </form>+ ) : (+ <>+ <h1 style={{ marginTop: 14 }}>Choose workspace</h1>+ <p className="sub">These workspaces have HarnessRouter.</p>+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8, marginTop: 8 }}>+ {choices.map((o) => (+ <button key={o.id} type="button" className="hr-btn" style={{ width: '100%', justifyContent: 'flex-start' }}+ disabled={busy} onClick={() => { setBusy(true); enter(o.id).catch(() => setBusy(false)); }}>+ {(o.name as string) || o.id}+ </button>+ ))}+ </div>+ {err && <div className="hr-err">{err}</div>}+ </>+ )}+ </div>+ </div>+ );+}diff --git a/ui/src/app/page.tsx b/ui/src/app/page.tsxindex 0b40b061..3d2fdccf 100644--- a/ui/src/app/page.tsx+++ b/ui/src/app/page.tsx@@ -1,4 +1,19 @@-import { redirect } from 'next/navigation';+'use client';+import { useEffect } from 'react';+import { useRouter } from 'next/navigation';+import { isAuthed } from '@/lib/auth';+import { SELF_HOSTED } from '@/lib/edition';-// The console has two surfaces; harnesses is where you start (a task needs one to run on).-export default function Home() { redirect('/harnesses'); }+// app.harnessrouter.ai is the product surface only, no marketing here. The landing+// page lives at the apex (https://harnessrouter.ai). Hitting the app root sends a+// signed-in user to their workbench and everyone else to sign in. Auth is held in+// localStorage, so this resolves client-side.+export default function Root() {+ const router = useRouter();+ useEffect(() => {+ // Self-hosted has no sign-in and no workbench surface — harnesses is the front door.+ if (SELF_HOSTED) { router.replace('/harnesses'); return; }+ router.replace(isAuthed() ? '/workbench' : '/login');+ }, [router]);+ return null;+}diff --git a/ui/src/app/pricing/page.tsx b/ui/src/app/pricing/page.tsxnew file mode 100644index 00000000..d865a927--- /dev/null+++ b/ui/src/app/pricing/page.tsx@@ -0,0 +1,15 @@+import Link from 'next/link';+export const metadata = { title: 'Pricing' };+export default function Pricing() {+ return (+ <div className="hr-wrap">+ <nav className="lp-nav" style={{ padding: 0, marginBottom: 12 }}>+ {/* eslint-disable-next-line @next/next/no-img-element -- static brand asset */}+ <Link href="/" className="hr-brand" aria-label="HarnessRouter"><img className="hr-brand-logo" src="/harnessrouter-wordmark.png" alt="HarnessRouter" /></Link>+ <span className="sp" /><Link href="/login" className="hr-btn primary">Get API key</Link>+ </nav>+ <h2 className="hr-h2">Pricing</h2>+ <p className="hr-meta">Usage-based pricing. Details coming soon.</p>+ </div>+ );+}diff --git a/ui/src/app/reset/page.tsx b/ui/src/app/reset/page.tsxnew file mode 100644index 00000000..90dd97f0--- /dev/null+++ b/ui/src/app/reset/page.tsx@@ -0,0 +1,88 @@+'use client';+import { Suspense, useState } from 'react';+import { useSearchParams } from 'next/navigation';+import { resetPassword, switchOrg, type Org, type Session } from '@/lib/auth';++function hrSubscribed(orgs: Org[]): Org[] {+ return (orgs || []).filter((o) => (o as { hr_subscribed?: unknown }).hr_subscribed === '1');+}++function ResetInner() {+ const token = useSearchParams().get('token') || '';+ const [password, setPassword] = useState('');+ const [confirm, setConfirm] = useState('');+ const [err, setErr] = useState('');+ const [busy, setBusy] = useState(false);+ const [choices, setChoices] = useState<Org[] | null>(null);++ async function enter(orgId: string) {+ await switchOrg(orgId);+ window.location.assign('/workbench');+ }+ async function afterAuth(s: Session) {+ const orgs = hrSubscribed(s.orgs);+ if (orgs.length === 1) await enter(orgs[0].id);+ else if (orgs.length > 1) setChoices(orgs);+ else window.location.assign('/login');+ }+ async function submit(e: React.FormEvent) {+ e.preventDefault();+ setErr('');+ if (password.length < 8) { setErr('Password must be at least 8 characters.'); return; }+ if (password !== confirm) { setErr('Passwords don’t match.'); return; }+ setBusy(true);+ try { await afterAuth(await resetPassword(token, password)); }+ catch (ex) { setErr(ex instanceof Error ? ex.message : 'Could not reset password'); }+ finally { setBusy(false); }+ }++ return (+ <div className="hr-auth">+ <div className="hr-auth-card">+ {/* eslint-disable-next-line @next/next/no-img-element -- static brand asset */}+ <a className="hr-brand" href="https://harnessrouter.ai"><img className="hr-brand-logo" src="/harnessrouter-wordmark.png" alt="HarnessRouter" /></a>+ {choices ? (+ <>+ <h1 style={{ marginTop: 14 }}>Choose workspace</h1>+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8, marginTop: 8 }}>+ {choices.map((o) => (+ <button key={o.id} type="button" className="hr-btn" style={{ width: '100%', justifyContent: 'flex-start' }}+ disabled={busy} onClick={() => { setBusy(true); enter(o.id).catch(() => setBusy(false)); }}>+ {(o.name as string) || o.id}+ </button>+ ))}+ </div>+ </>+ ) : !token ? (+ <>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>Reset password</h1>+ <div className="hr-err">This reset link is missing its token. Request a new one from the sign-in page.</div>+ <a className="hr-btn primary" style={{ width: '100%', marginTop: 14, textAlign: 'center' }} href="/login">Back to sign in</a>+ </>+ ) : (+ <form onSubmit={submit}>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>Set a new password</h1>+ <p className="sub" style={{ marginBottom: 18 }}>Choose a strong password for your account.</p>+ <div className="hr-field">+ <label>New password</label>+ <input type="password" value={password} onChange={(e) => setPassword(e.target.value)} autoFocus required+ autoComplete="new-password" placeholder="At least 8 characters" />+ </div>+ <div className="hr-field">+ <label>Confirm password</label>+ <input type="password" value={confirm} onChange={(e) => setConfirm(e.target.value)} required autoComplete="new-password" />+ </div>+ {err && <div className="hr-err">{err}</div>}+ <button type="submit" className="hr-btn primary" style={{ width: '100%', marginTop: 8 }} disabled={busy}>+ {busy ? 'Please wait…' : 'Reset password & sign in'}+ </button>+ </form>+ )}+ </div>+ </div>+ );+}++export default function ResetPage() {+ return <Suspense fallback={<div className="hr-auth"><div className="hr-auth-card" /></div>}><ResetInner /></Suspense>;+}diff --git a/ui/src/app/revamp.css b/ui/src/app/revamp.cssnew file mode 100644index 00000000..17952718--- /dev/null+++ b/ui/src/app/revamp.css@@ -0,0 +1,1881 @@+/* HarnessRouter UX/UI revamp — extracted verbatim from the design prototype+ (02-产品与设计/assets/HTML原型/2026-07-17-HIG-UIUX-重构沟通示例.html, origin/main 266a599 —+ incl. Connect footer + brand logo). Do not hand-edit the extracted block; glue lives after+ the marker at the end. */++ :root {+ --bg: #fbfbfc;+ --surface: #fff;+ --surface-subtle: #f7f7f9;+ --surface-active: #eef3ff;+ --ink: #17171a;+ --muted: #6f6f78;+ --faint: #9696a0;+ --line: #e7e7eb;+ --line-strong: #d8d8df;+ --accent: #285aff;+ --accent-hover: #1641d8;+ --accent-soft: #eef3ff;+ --teal: #0f766e;+ --green: #16824b;+ --green-soft: #ebf8f0;+ --amber: #9a6500;+ --amber-soft: #fff7df;+ --red: #b4232d;+ --red-soft: #fff0f1;+ --header-h: 64px;+ --sidebar-w: 224px;+ --radius: 10px;+ --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;+ color: var(--ink);+ background: var(--bg);+ font-family: var(--font);+ }++ * { box-sizing: border-box; }+ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }+ html { min-width: 320px; background: var(--bg); }+ body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }+ button, input, select { font: inherit; }+ button, a { -webkit-tap-highlight-color: transparent; }+ button { color: inherit; }+ a { color: inherit; }+ [hidden] { display: none !important; }+ :focus-visible { outline: 2px solid rgba(40, 90, 255, .28); outline-offset: 1px; }+ iconify-icon { font-size: 18px; }++ .app-header {+ position: sticky;+ top: 0;+ z-index: 30;+ height: var(--header-h);+ display: grid;+ grid-template-columns: var(--sidebar-w) minmax(260px, 420px) minmax(0, 1fr);+ align-items: center;+ border-bottom: 1px solid var(--line);+ background: rgba(255,255,255,.95);+ backdrop-filter: blur(16px);+ }+ .brand {+ height: 100%;+ display: flex;+ align-items: center;+ gap: 10px;+ padding: 0 20px;+ border: 0;+ background: transparent;+ cursor: pointer;+ font-size: 17px;+ font-weight: 760;+ letter-spacing: -.025em;+ }+ .brand-full { height: 30px; width: auto; display: block; }+ .brand-icon { height: 30px; width: 30px; display: none; }+ .global-search { position: relative; margin-left: 24px; }+ .global-search > iconify-icon { position: absolute; left: 12px; top: 19px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }+ .global-search input {+ width: 100%;+ height: 38px;+ padding: 0 46px 0 38px;+ border: 1px solid var(--line);+ border-radius: 8px;+ background: var(--surface-subtle);+ color: var(--ink);+ }+ .search-key { position: absolute; right: 9px; top: 8px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--faint); background: #fff; font-size: 10px; }++ /* Global search results dropdown (workspaces / harnesses / tasks). */+ .search-panel {+ position: absolute; top: calc(100% + 8px); left: 0; right: 0;+ max-height: min(70vh, 470px); overflow-y: auto;+ padding: 6px; border: 1px solid var(--line); border-radius: 12px;+ background: var(--surface); box-shadow: 0 18px 44px rgba(20,20,40,.16);+ z-index: 40;+ }+ .search-empty { padding: 20px 14px; color: var(--faint); font-size: 13px; text-align: center; }+ .search-group + .search-group { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 4px; }+ .search-group-label { margin: 0; padding: 8px 10px 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }+ .search-item {+ width: 100%; display: flex; align-items: center; gap: 10px;+ padding: 8px 10px; border: 0; border-radius: 8px; background: transparent;+ color: var(--ink); cursor: pointer; text-align: left;+ }+ .search-item.is-active { background: var(--surface-subtle); }+ .search-item > iconify-icon:first-child { flex: none; color: var(--faint); font-size: 17px; }+ .search-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }+ .search-item-label { font-size: 13.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+ .search-item-label mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 1px; font-weight: 700; }+ .search-item-sub { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+ .search-item-tag { flex: none; font-size: 10.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }+ .search-item-go { flex: none; color: var(--faint); font-size: 14px; }+ /* On mobile the search field is squeezed by the header — break the results out to a+ readable, viewport-width dropdown instead of inheriting the tiny field width. */+ @media (max-width: 760px) {+ .search-panel {+ position: fixed; left: 8px; right: 8px; top: calc(var(--header-h) + 6px);+ max-height: calc(100dvh - var(--header-h) - 16px);+ }+ }+ .header-utils { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 20px; }+ .utility-link, .icon-button, .account-button, .balance-button {+ height: 36px;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 7px;+ border: 0;+ border-radius: 8px;+ background: transparent;+ color: var(--muted);+ cursor: pointer;+ text-decoration: none;+ font-size: 13px;+ }+ .utility-link, .balance-button { padding: 0 10px; }+ .utility-link:hover, .icon-button:hover, .balance-button:hover { color: var(--ink); background: var(--surface-subtle); }+ .balance-button strong { color: var(--ink); font-weight: 650; }+ .balance-button.low { color: var(--amber); background: var(--amber-soft); }+ .balance-button.low strong { color: var(--amber); }+ .icon-button { width: 36px; }+ .account-wrap { position: relative; }+ .account-button { width: 36px; border-radius: 50%; background: #eeeef2; color: #4c4c56; font-weight: 700; overflow: hidden; padding: 0; }+ .account-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }+ .account-menu {+ position: absolute;+ right: 0;+ top: 44px;+ width: 250px;+ padding: 8px;+ border: 1px solid var(--line);+ border-radius: 11px;+ background: #fff;+ box-shadow: 0 18px 45px rgba(20,20,30,.13);+ }+ .account-meta { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); }+ .account-meta strong, .account-meta span { display: block; }+ .account-meta span { margin-top: 3px; color: var(--muted); font-size: 12px; }+ .account-balance { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 12px; }+ .account-balance b { color: var(--ink); }+ .menu-item {+ width: 100%;+ min-height: 38px;+ display: flex;+ align-items: center;+ gap: 9px;+ margin-top: 3px;+ padding: 0 9px;+ border: 0;+ border-radius: 7px;+ background: transparent;+ cursor: pointer;+ text-align: left;+ font-size: 13px;+ }+ .menu-item:hover { background: var(--surface-subtle); }++ .sidebar {+ position: fixed;+ top: var(--header-h);+ bottom: 0;+ left: 0;+ z-index: 20;+ width: var(--sidebar-w);+ display: flex;+ flex-direction: column;+ padding: 12px 12px 22px;+ border-right: 1px solid var(--line);+ background: #fafafa;+ overflow-y: auto;+ }+ .switcher-wrap { position: relative; }+ .workspace-switcher {+ width: 100%;+ min-height: 40px;+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 10px;+ padding: 0 11px;+ border: 1px solid var(--line-strong);+ border-radius: 8px;+ background: #fff;+ cursor: pointer;+ font-size: 13px;+ font-weight: 650;+ }+ .workspace-switcher span { display: flex; align-items: center; gap: 8px; min-width: 0; }+ .workspace-switcher .switcher-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+ .workspace-menu {+ position: absolute;+ z-index: 25;+ top: 46px;+ left: 0;+ width: 100%;+ padding: 6px;+ border: 1px solid var(--line);+ border-radius: 9px;+ background: #fff;+ box-shadow: 0 16px 36px rgba(20,20,30,.13);+ }+ .workspace-menu-item {+ width: 100%;+ min-height: 38px;+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 8px;+ padding: 0 9px;+ border: 0;+ border-radius: 7px;+ background: transparent;+ cursor: pointer;+ font-size: 12.5px;+ text-align: left;+ }+ .workspace-menu-item > span { display: inline-flex; align-items: center; gap: 7px; }+ .workspace-menu-item iconify-icon { font-size: 16px; }+ .workspace-menu-item:hover { background: var(--surface-subtle); }+ .workspace-menu-item[aria-current="true"] { color: var(--accent); background: var(--surface-active); font-weight: 650; }+ .workspace-menu-separator { height: 1px; margin: 5px 3px; background: var(--line); }+ .side-section { margin-top: 18px; }+ .side-label { margin: 0 10px 7px; color: var(--faint); font-size: 10px; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }+ .side-nav {+ width: 100%;+ min-height: 38px;+ display: flex;+ align-items: center;+ gap: 10px;+ padding: 0 10px;+ border: 0;+ border-radius: 7px;+ background: transparent;+ color: #55555f;+ cursor: pointer;+ font-size: 13.5px;+ text-align: left;+ }+ .side-nav:hover { color: var(--ink); background: #f1f1f4; }+ .side-nav[aria-current="page"] { color: var(--accent); background: var(--surface-active); font-weight: 620; }+ .side-nav iconify-icon { color: #777782; }+ .side-nav[aria-current="page"] iconify-icon { color: var(--accent); }+ .sidebar-foot { position: relative; margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }+ /* Credits card — the wallet lives in the nav now. Clean white surface consistent with the+ workspace switcher (NOT a garish gold panel); a small refined coin chip carries the "money"+ cue, the balance leads. Whole card clicks to Billing. */+ .credits-card {+ display: flex; align-items: center; gap: 10px;+ width: 100%; padding: 9px 11px; border-radius: 11px; cursor: pointer; text-align: left;+ border: 1px solid var(--line); background: var(--surface);+ box-shadow: 0 1px 2px rgba(20,30,60,.04);+ transition: box-shadow .16s ease, border-color .16s ease, background .16s ease;+ }+ .credits-card:hover { border-color: #d5dced; background: #fcfdff; box-shadow: 0 3px 10px rgba(40,90,255,.08); }+ .credits-card-coin {+ flex: none; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center;+ /* tasteful brushed-gold chip, small enough to read as an accent not a toy */+ background: linear-gradient(145deg, #fde7a6 0%, #f0c24e 48%, #d9a12a 100%);+ box-shadow: inset 0 1px 1.5px rgba(255,255,255,.85), inset 0 -1.5px 2px rgba(150,95,0,.32), 0 1px 1.5px rgba(120,80,0,.2);+ }+ .credits-card-coin iconify-icon { font-size: 15px; color: #7a5200; }+ .credits-card-body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }+ .credits-card-label { font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }+ .credits-card-value { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }+ .credits-card-go { margin-left: auto; font-size: 15px; color: #b9c1d4; transition: transform .14s ease, color .14s ease; }+ .credits-card:hover .credits-card-go { transform: translateX(2px); color: var(--accent); }+ .connect-trigger { min-height: 44px; }+ .connect-trigger .connect-chevron { margin-left: auto; font-size: 14px; transition: transform .16s ease; }+ .connect-trigger[aria-expanded="true"] .connect-chevron { transform: rotate(180deg); }+ .connect-menu {+ position: absolute;+ z-index: 30;+ right: 0;+ bottom: calc(100% + 8px);+ left: 0;+ padding: 6px;+ border: 1px solid var(--line);+ border-radius: 9px;+ background: #fff;+ box-shadow: 0 16px 36px rgba(20,20,30,.13);+ }+ .connect-item {+ min-height: 44px;+ display: flex;+ align-items: center;+ gap: 9px;+ padding: 0 9px;+ border-radius: 7px;+ color: #55555f;+ text-decoration: none;+ font-size: 13px;+ }+ .connect-item:hover { color: var(--ink); background: var(--surface-subtle); }+ .connect-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }+ .connect-item iconify-icon { color: #777782; font-size: 16px; }+ .connect-item .connect-external { margin-left: auto; color: var(--faint); font-size: 13px; }++ main { min-height: calc(100vh - var(--header-h)); margin-left: var(--sidebar-w); }+ .view { display: none; }+ .view.is-active { display: block; }+ .page { max-width: 1320px; margin: 0 auto; padding: 28px 32px 64px; }+ .page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }+ .page-header h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }+ .page-header p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }+ .header-actions { display: flex; align-items: center; gap: 8px; }+ .button {+ min-height: 38px;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 7px;+ padding: 0 13px;+ border: 1px solid var(--line-strong);+ border-radius: 8px;+ background: #fff;+ color: var(--ink);+ cursor: pointer;+ font-size: 13px;+ font-weight: 620;+ }+ .button:hover { background: var(--surface-subtle); }+ .button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }+ .button.primary:hover { background: var(--accent-hover); }+ .button:disabled { cursor: default; opacity: .45; }+ .button:disabled:hover { background: inherit; }+ .button.quiet { border-color: transparent; background: transparent; color: var(--accent); }+ .button.small { min-height: 32px; padding: 0 10px; font-size: 12px; }+ .segmented {+ display: inline-flex;+ align-items: center;+ gap: 2px;+ padding: 3px;+ border-radius: 9px;+ background: #f0f0f3;+ }+ .segmented button {+ min-height: 38px;+ padding: 0 12px;+ border: 0;+ border-radius: 7px;+ background: transparent;+ color: var(--muted);+ cursor: pointer;+ font-size: 12px;+ font-weight: 620;+ white-space: nowrap;+ }+ .segmented button:hover { color: var(--ink); }+ .segmented button[aria-pressed="true"] {+ background: #fff;+ color: var(--ink);+ box-shadow: 0 1px 3px rgba(20,20,30,.12);+ }+ .segmented.compact button { min-height: 36px; }+ .select, .search-input {+ height: 38px;+ padding: 0 11px;+ border: 1px solid var(--line);+ border-radius: 8px;+ background: #fff;+ color: var(--ink);+ font-size: 13px;+ }+ .search-input { width: 280px; }+ .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }+ .toolbar-group { display: flex; align-items: center; gap: 8px; }++ .table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }+ table { width: 100%; border-collapse: collapse; font-size: 13px; }+ th { padding: 12px 14px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .02em; text-align: left; white-space: nowrap; }+ td { padding: 15px 14px; border-top: 1px solid var(--line); color: #4b4b54; vertical-align: middle; }+ td strong { color: var(--ink); font-weight: 650; }+ .object-row { cursor: pointer; }+ .object-row:hover { background: #f7f9ff; }+ .object-row:focus-visible { position: relative; outline: 2px solid rgba(40,90,255,.35); outline-offset: -2px; }+ .object-row .row-disclosure { width: 42px; color: var(--faint); text-align: right; }+ .object-row:hover .row-disclosure { color: var(--accent); }+ .object-cell { min-width: 190px; }+ .object-title { display: flex; align-items: center; gap: 10px; }+ .object-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-subtle); color: #5e5e68; }+ .object-copy strong, .object-copy span { display: block; }+ .object-copy span { max-width: 350px; margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.35; }+ .number { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }+ .revenue { color: var(--green); font-weight: 650; }+ .status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; }+ .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }+ .status.healthy { color: var(--green); }+ .status.healthy::before { background: #2ebd6b; }+ .status.running { color: var(--accent); }+ .status.running::before { background: var(--accent); }+ .status.neutral { color: var(--muted); }+ .status.neutral::before { background: var(--faint); }+ .status.warning { color: var(--amber); }+ .status.warning::before { background: #f5b82e; }+ .status.failed { color: var(--red); }+ .status.failed::before { background: #dc4450; }+ .row-action { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }+ .row-action:hover { background: var(--surface-subtle); color: var(--ink); }++ .notice {+ display: flex;+ align-items: flex-start;+ gap: 11px;+ margin-bottom: 22px;+ padding: 13px 14px;+ border: 1px solid #f0d287;+ border-radius: 8px;+ background: var(--amber-soft);+ color: #6f4a00;+ font-size: 13px;+ line-height: 1.45;+ }+ .notice strong { display: block; margin-bottom: 2px; }+ .metrics {+ display: grid;+ /* auto-fit: however many metric cards render, they share the full row — adding or+ removing a card never leaves an empty grid hole */+ grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));+ margin-bottom: 28px;+ border-top: 1px solid var(--line);+ border-bottom: 1px solid var(--line);+ }+ .metric { padding: 17px 18px; border-right: 1px solid var(--line); }+ .metric:first-child { padding-left: 0; }+ .metric:last-child { border-right: 0; }+ .metric span, .metric small { display: block; color: var(--muted); font-size: 11.5px; }+ .metric strong { display: block; margin: 6px 0 5px; font-size: 23px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }+ .dashboard-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }+ .dashboard-kpis.kpis-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }+ .kpi-card { position: relative; min-height: 112px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; font: inherit; text-align: left; }+ .kpi-card.actionable { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }+ .kpi-card.actionable:hover { border-color: #cbd8ff; box-shadow: 0 5px 16px rgba(40,90,255,.08); transform: translateY(-1px); }+ .kpi-card.primary-tint { background: #f7f9ff; }+ .kpi-card.green { background: #f7fcf9; }+ .kpi-card.blue { background: #f8fbfd; }+ .kpi-card span, .kpi-card small { display: block; color: var(--muted); font-size: 11.5px; }+ .kpi-card strong { display: block; margin: 8px 0 6px; font-size: 24px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }+ .kpi-card > iconify-icon { position: absolute; top: 50%; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--accent-soft); color: var(--accent); }+ .kpi-card.green > iconify-icon { background: var(--green-soft); color: var(--green); }+ .kpi-card.blue > iconify-icon { background: #eaf5fb; color: #207aaa; }+ .info-label { display: inline-flex !important; align-items: center; gap: 5px; }+ .info-tip {+ position: relative;+ display: inline-flex !important;+ align-items: center;+ justify-content: center;+ width: 16px;+ height: 16px;+ color: var(--muted);+ cursor: help;+ vertical-align: middle;+ }+ .info-tip > iconify-icon { font-size: 14px; }+ .info-tip-content {+ position: fixed;+ z-index: 1000;+ top: var(--tip-top, -9999px);+ left: var(--tip-left, -9999px);+ width: 250px;+ max-width: calc(100vw - 24px);+ padding: 10px 11px;+ border-radius: 8px;+ background: #22232a;+ box-shadow: 0 8px 24px rgba(20,20,30,.16);+ color: #fff !important;+ font-size: 10.5px !important;+ font-weight: 450;+ line-height: 1.45;+ opacity: 0;+ pointer-events: none;+ transform: translateY(3px);+ transition: opacity .14s ease, transform .14s ease;+ }+ .info-tip:hover .info-tip-content,+ .info-tip:focus-visible .info-tip-content { opacity: 1; transform: translateY(0); }+ .delta-up { color: var(--accent) !important; font-weight: 620; }+ .dashboard-main-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(270px,.7fr); gap: 18px; margin-bottom: 18px; }+ .dashboard-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }+ .dashboard-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(20,20,30,.025); }+ .dashboard-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }+ .dashboard-card-head h2 { margin: 0; font-size: 15px; letter-spacing: -.015em; }+ .dashboard-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 11.5px; }+ .chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 8px; color: var(--muted); font-size: 11px; }+ .legend-item { display: inline-flex; align-items: center; gap: 6px; }+ .legend-swatch { width: 14px; height: 3px; border-radius: 999px; background: var(--accent); }+ .legend-swatch.green { background: var(--green); }+ .legend-swatch.teal { background: var(--teal); }+ .legend-swatch.bar { width: 10px; height: 7px; border: 1px solid #b8b8c2; border-radius: 2px; background: rgba(123,123,140,.16); }+ .chart-wrap { position: relative; height: 244px; }+ .attention-card { border: 0; background: #fff7e5; box-shadow: none !important; }+ .attention-title { display: flex; align-items: center; gap: 9px; color: #6f4a00; }+ .attention-title iconify-icon { font-size: 20px; }+ .attention-body { margin-top: 14px; }+ .attention-body h3 { margin: 0; font-size: 15px; }+ .attention-body p { margin: 7px 0 16px; color: #5e5136; font-size: 12px; line-height: 1.5; }+ .attention-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }+ .attention-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(154,101,0,.14); color: #6f6044; font-size: 11.5px; }+ .attention-card .button { width: auto; }+ .dashboard-table { width: 100%; border-collapse: collapse; font-size: 12px; }+ .dashboard-table th { padding: 9px 7px; font-size: 10px; }+ .dashboard-table td { padding: 12px 7px; }+ .dashboard-table th:first-child, .dashboard-table td:first-child { padding-left: 0; }+ .dashboard-table th:last-child, .dashboard-table td:last-child { padding-right: 0; }+ .dashboard-card-foot { display: flex; justify-content: center; padding-top: 10px; }+ .readiness-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }+ .readiness-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 11px; align-items: center; min-height: 68px; padding: 13px 16px; }+ .readiness-item + .readiness-item { border-left: 1px solid var(--line); }+ .readiness-item > iconify-icon { color: var(--muted); font-size: 22px; }+ .readiness-item strong, .readiness-item span { display: block; }+ .readiness-item strong { font-size: 12.5px; }+ .readiness-item span { margin-top: 4px; color: var(--muted); font-size: 11px; }+ .analytics-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,.65fr); gap: 18px; margin-bottom: 18px; }+ .analytics-side h3 { margin: 0; font-size: 14px; }+ .analytics-side > p { margin: 5px 0 16px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }+ .mix-list { display: grid; gap: 14px; }+ .mix-row-head { display: flex; justify-content: space-between; gap: 12px; color: #4d4d56; font-size: 11.5px; }+ .mix-track { height: 6px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #eeeef2; }+ .mix-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }+ .mix-track.green span { background: var(--green); }+ .mix-track.teal span { background: var(--teal); }+ .analytics-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.45; }+ .analytics-note iconify-icon { flex: 0 0 auto; color: var(--accent); }+ .section { margin-top: 28px; }+ .section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }+ .section-header h2 { margin: 0; font-size: 16px; letter-spacing: -.015em; }+ .section-header span, .section-header a { color: var(--muted); font-size: 12px; }+ .section-header a { color: var(--accent); text-decoration: none; }+ .tabs { display: flex; gap: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }+ .tab { min-height: 42px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 620; }+ .tab[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }+ .tab-panel { display: none; }+ .tab-panel.is-active { display: block; }+ .detail-header { display: flex; align-items: center; gap: 13px; }+ .back-link {+ min-height: 32px;+ display: inline-flex;+ align-items: center;+ gap: 6px;+ margin: 0 0 13px;+ padding: 0;+ border: 0;+ background: transparent;+ color: var(--muted);+ cursor: pointer;+ font: 620 12px/1 var(--font);+ }+ .back-link:hover { color: var(--accent); }+ .back-link iconify-icon { font-size: 17px; }+ .detail-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }+ .detail-title h1 { margin: 0; font-size: 30px; font-weight: 720; line-height: 1.15; letter-spacing: -.035em; }+ .detail-title p { margin: 5px 0 0; }++ /* Monospace identifier chip with click-to-copy (Harness ID). */+ .mono-id { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px;+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 12px;+ color: var(--ink); background: var(--surface-subtle); border: 1px solid var(--line); border-radius: 6px;+ cursor: pointer; line-height: 1.3; transition: background .12s, border-color .12s, color .12s; }+ .mono-id:hover { background: var(--accent-soft); border-color: rgba(40,90,255,.28); color: var(--accent); }+ .mono-id:focus-visible { outline: 2px solid rgba(40,90,255,.35); outline-offset: 1px; }+ .mono-id.is-empty { color: var(--faint); background: none; border: none; padding: 0; cursor: default; }+ .mono-id-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+ .mono-id-icon { flex: none; font-size: 13px; opacity: .7; }+ .mono-id:hover .mono-id-icon { opacity: 1; }+ /* In the inventory table the id cell is width-bounded so long chrn_ ids ellipsize, not wrap. */+ #view-harnesses .mono-id { max-width: 190px; }+ .run-layout { display: grid; grid-template-columns: 330px minmax(0,1fr); height: calc(100vh - 204px); min-height: 500px; max-height: 760px; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }+ .run-list { overflow-y: auto; }+ .run-list { border-right: 1px solid var(--line); }+ .run-list-head { padding: 14px; border-bottom: 1px solid var(--line); }+ .run-list-head .search-input { width: 100%; }+ .run-list-head .filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }+ .run-list-head .select { width: 100%; min-width: 0; }+ .run-list-head > .select { margin-top: 8px; }+ .list-scope { display: block; margin-top: 11px; color: var(--muted); font-size: 10.5px; }+ .task-mode-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-subtle); }+ .task-mode-button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font: 620 11.5px/1 var(--font); }+ .task-mode-button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(28,28,35,.1); }+ .task-mode-button[data-task-mode="test"][aria-selected="true"] { color: var(--accent); }+ .task-mode-context { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; align-items: center; margin-bottom: 12px; padding: 11px 13px; border: 1px solid #dcefe4; border-radius: 8px; background: #f7fcf9; }+ .task-mode-context > iconify-icon { color: var(--green); font-size: 19px; }+ .task-mode-context strong, .task-mode-context span { display: block; }+ .task-mode-context strong { font-size: 11.5px; }+ .task-mode-context span { margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.4; }+ .task-mode-context.test { border-color: #cbd8ff; background: #f7f9ff; }+ .task-mode-context.test > iconify-icon { color: var(--accent); }+ .mode-badge { justify-self: end; padding: 5px 8px; border-radius: 999px; background: #e7f5ec; color: #25633e !important; font-size: 10px !important; font-weight: 680; }+ .task-mode-context.test .mode-badge { background: var(--accent-soft); color: var(--accent-hover) !important; }+ .run-item { width: 100%; display: block; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; }+ .run-item:hover, .run-item.active { background: #f7f9ff; }+ .run-item.active { box-shadow: inset 3px 0 var(--accent); }+ .run-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }+ .run-item strong { display: block; font-size: 13px; }+ .run-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; }+ .run-item .session-state { display: inline-flex; flex: 0 0 auto; align-items: center; margin: 0; color: var(--muted); font-size: 10.5px; font-weight: 650; }+ .run-item .session-state::before { width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; content: ""; }+ .run-item .session-state.completed { color: var(--green); }+ .run-item .session-state.working { color: var(--accent); }+ .run-item .session-state.attention { color: var(--red); }+ .session-empty { padding: 24px 16px; color: var(--muted); font-size: 12px; text-align: center; }+ .run-row.is-selected td { background: #f7f9ff; }+ .run-detail { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; }+ .run-detail h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }+ .session-detail-head, .inspector-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }+ .session-detail-head .button { flex: 0 0 auto; }+ .run-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 9px; color: var(--muted); font-size: 11.5px; }+ .run-meta .meta-label { color: var(--faint); }+ .result-box { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }+ .result-box h3 { margin: 0 0 9px; font-size: 14px; }+ .result-box p { color: #41414a; font-size: 13px; line-height: 1.6; }+ .file-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 11px; margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }+ .file-row iconify-icon { color: var(--accent); font-size: 24px; }+ .file-row div { min-width: 0; flex: 1; }+ .file-row strong, .file-row span { display: block; }+ .file-row strong { overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.35; }+ .file-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }+ .file-row > .toolbar-group { width: 100%; flex: 0 0 100%; justify-content: flex-end; }+ .task-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }+ .task-mutation-actions { display: flex; flex-wrap: wrap; gap: 8px; }+ .task-detail-shell { padding: 20px 22px 0; }+ .task-detail-shell .tabs { margin: 16px 0 0; }+ .conversation { display: grid; gap: 18px; padding: 20px 22px 24px; }+ #task-conversation.is-active { min-height: 0; display: flex; flex: 1; flex-direction: column; overflow: hidden; }+ #task-conversation.is-active > .conversation { min-height: 0; flex: 1; overflow-y: auto; }+ #task-trace.is-active { min-height: 0; flex: 1; overflow-y: auto; }+ .message { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 11px; align-items: start; }+ .message-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-subtle); color: var(--muted); }+ .message.agent .message-avatar { background: var(--accent-soft); color: var(--accent); }+ .message-avatar iconify-icon { font-size: 16px; }+ .message-body { min-width: 0; }+ .message-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }+ .message-head strong { font-size: 12.5px; }+ .message-head span { color: var(--muted); font-size: 10.5px; }+ .message-copy { color: #3f3f48; font-size: 13px; line-height: 1.62; }+ .message-copy p { margin: 0; }+ .user-prompt { padding: 12px 14px; border-radius: 9px; background: var(--surface-subtle); }+ .activity-disclosure { width: 100%; display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4b4b54; cursor: pointer; text-align: left; font-size: 11.5px; font-weight: 650; }+ .activity-disclosure iconify-icon:last-child { margin-left: auto; transition: transform .16s ease; }+ .activity-disclosure[aria-expanded="true"] iconify-icon:last-child { transform: rotate(180deg); }+ .activity-detail { display: grid; gap: 7px; margin: -4px 0 12px; padding: 11px 12px; border-left: 2px solid #bfd0ff; background: #f7f9ff; color: var(--muted); font-size: 11px; }+ .activity-detail span { display: flex; align-items: center; gap: 8px; }+ .task-state { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 9px 11px; border: 1px solid #dcefe4; border-radius: 8px; background: #f7fcf9; color: #276640; font-size: 11.5px; font-weight: 650; }+ .task-feedback { display: flex; gap: 4px; margin-left: 2px; }+ .task-feedback .icon-button { width: 34px; height: 34px; }+ .composer { margin-top: auto; padding: 12px 22px 20px; border-top: 0; background: #fff; }+ .composer-box { padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }+ .composer textarea { width: 100%; min-height: 54px; padding: 2px 3px 8px; resize: vertical; border: 0; outline: 0; color: var(--ink); font: 13px/1.5 var(--font); }+ .composer-actions { display: flex; align-items: center; gap: 8px; }+ .composer-actions .select { margin-left: auto; }+ .composer-hint { margin-top: 8px; color: var(--muted); font-size: 10.5px; }+ .live-observer-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 11px; border-radius: 8px; background: var(--surface-subtle); color: var(--muted); font-size: 11px; }+ .live-observer-note iconify-icon { flex: 0 0 auto; color: var(--green); }++ .run-inspector { margin-top: 24px; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }+ .inspector-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }+ .inspector-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }+ .run-inspector .tabs { margin-top: 20px; margin-bottom: 18px; }+ .run-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }+ .run-summary-stat { padding: 14px 16px; border-right: 1px solid var(--line); }+ .run-summary-stat:first-child { padding-left: 0; }+ .run-summary-stat:last-child { border-right: 0; }+ .run-summary-stat span, .run-summary-stat small { display: block; color: var(--muted); font-size: 11px; }+ .run-summary-stat strong { display: block; margin: 5px 0 4px; font-size: 17px; font-variant-numeric: tabular-nums; }+ .summary-copy { max-width: 780px; margin-top: 18px; color: #41414a; font-size: 13px; line-height: 1.6; }+ .trace-panel { padding: 18px 22px 24px; }+ .trace-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }+ .trace-toolbar strong, .trace-toolbar span { display: block; }+ .trace-toolbar strong { font-size: 13px; }+ .trace-toolbar span { margin-top: 4px; color: var(--muted); font-size: 11.5px; }+ .trace-slowest { flex: 0 0 auto; color: var(--amber) !important; font-size: 11px !important; font-weight: 650; }+ .trace-overview { position: relative; height: 5px; margin: 16px 4px 20px; border-radius: 999px; background: #e9ebf0; }+ .trace-overview span { position: absolute; top: -3px; width: 3px; height: 11px; margin-left: -1px; border-radius: 999px; background: var(--accent); }+ .trace-overview span.is-result { background: var(--green); }+ .trace-overview span.is-error { background: var(--red); }+ .trace-list { position: relative; display: grid; gap: 3px; }+ .trace-list::before { position: absolute; top: 16px; bottom: 16px; left: 85px; width: 1px; background: #e3e5ea; content: ""; }+ .trace-event { position: relative; display: grid; grid-template-columns: 68px 12px minmax(0,1fr) auto; gap: 11px; align-items: start; padding: 10px 0; }+ .trace-time, .trace-duration { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }+ .trace-mark { z-index: 1; width: 9px; height: 9px; margin-top: 3px; border: 2px solid var(--accent); border-radius: 50%; background: #fff; }+ .trace-event.is-result .trace-mark { border-color: var(--green); background: var(--green); }+ .trace-event.is-error .trace-mark { border-color: var(--red); background: var(--red); }+ .trace-copy strong, .trace-copy span { display: block; }+ .trace-copy strong { font-size: 12.5px; }+ .trace-copy span { margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ .trace-event-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }+ .trace-event-head .trace-slow-badge { margin: 0; color: var(--amber); font-size: 10px; font-weight: 680; }+ .output-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.55fr); gap: 26px; }+ .output-layout h3 { margin: 0 0 8px; font-size: 14px; }+ .output-layout p { margin: 0; color: #41414a; font-size: 13px; line-height: 1.6; }++ .settings-list { max-width: 820px; border-top: 1px solid var(--line); }+ .settings-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }+ .settings-row > iconify-icon { color: var(--muted); font-size: 22px; }+ .settings-row strong, .settings-row span { display: block; }+ .settings-row span { margin-top: 4px; color: var(--muted); font-size: 12px; }+ .billing-page { max-width: 1040px; margin: 0; }+ .billing-scope { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--muted); font-size: 12px; }+ .billing-scope iconify-icon { font-size: 15px; }+ .billing-page .settings-list { max-width: 100%; }+ .billing-page .settings-row { min-height: 74px; }+ .billing-page .settings-row span { max-width: 670px; line-height: 1.45; }+ .billing-page .button.small { min-height: 36px; }+ .billing-page .section-header { margin-top: 30px; }+ .billing-page .section-header > span { white-space: nowrap; }+ .billing-plan-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0 22px; }+ .billing-plan-line strong, .billing-plan-line span { display: block; }+ .billing-plan-line strong { font-size: 14px; }+ .billing-plan-line span { margin-top: 4px; color: var(--muted); font-size: 12px; }+ .billing-balance-panel { display: grid; grid-template-columns: minmax(220px,1.35fr) repeat(2,minmax(150px,.72fr)) auto; align-items: center; gap: 28px; margin-bottom: 30px; padding: 22px 24px; border-radius: 12px; background: #f4f6fa; }+ .billing-balance-primary span, .billing-balance-stat span { display: block; color: var(--muted); font-size: 11.5px; }+ .billing-balance-primary strong { display: block; margin: 6px 0 4px; font-size: 25px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }+ .billing-balance-primary small, .billing-balance-stat small { color: var(--muted); font-size: 11.5px; }+ .billing-balance-stat strong { display: block; margin: 5px 0 3px; font-size: 17px; font-variant-numeric: tabular-nums; }+ #view-billing .billing-flat-list { display: grid; gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }+ .overview-summary { margin-top: 28px; }+ .overview-summary-list .settings-row { min-height: 70px; }+ .summary-value { min-width: 160px; text-align: right; }+ .summary-value strong { font-size: 13px; }+ .summary-value span { white-space: nowrap; }+ .settings-form { max-width: 980px; }+ .settings-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }+ .settings-form-head h2 { margin: 0; font-size: 18px; }+ .settings-form-head p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }+ .form-section { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }+ .form-section h3 { margin: 0; font-size: 14px; }+ .form-section > div:first-child p { margin: 6px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }+ .field-stack { display: grid; gap: 16px; }+ .field label { display: block; margin-bottom: 6px; color: #55555f; font-size: 12px; font-weight: 650; }+ .field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }+ .field input, .field select { min-height: 40px; padding: 0 11px; }+ .field textarea { min-height: 112px; padding: 10px 11px; resize: vertical; line-height: 1.5; }+ .field input[readonly], .field textarea[readonly] { background: var(--surface-subtle); color: #55555f; }+ .field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ .inline-value { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-subtle); font-size: 12.5px; }+ .tag-list { display: flex; flex-wrap: wrap; gap: 7px; }+ .tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-subtle); color: #4d4d57; font-size: 11.5px; }+ .section-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }+ .section-actions strong { font-size: 12px; }+ .capability-list { display: grid; gap: 8px; }+ .capability-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }+ .capability-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-subtle); color: var(--muted); }+ .capability-copy strong, .capability-copy span { display: block; }+ .capability-copy strong { font-size: 12.5px; }+ .capability-copy span { margin-top: 3px; color: var(--muted); font-size: 10.5px; }+ .capability-actions { display: flex; align-items: center; gap: 6px; }+ .toggle-button { min-width: 78px; min-height: 30px; padding: 0 10px; border: 1px solid #c9ead8; border-radius: 999px; background: var(--green-soft); color: var(--green); cursor: pointer; font-size: 10.5px; font-weight: 700; }+ .toggle-button[aria-pressed="false"] { border-color: var(--line); background: var(--surface-subtle); color: var(--muted); }+ .two-column-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }+ .header-row { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr) auto; gap: 8px; align-items: end; }+ .header-row .field input { min-height: 36px; }+ .header-row .icon-button { margin-bottom: 1px; }+ .settings-form-footer { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); background: rgba(251,251,252,.94); backdrop-filter: blur(8px); }+ .save-state { color: var(--muted); font-size: 11.5px; }+ .quickstart { max-width: 860px; }+ .quickstart-steps { margin-top: 10px; border-top: 1px solid var(--line); }+ .quickstart-step { display: grid; grid-template-columns: 32px 180px minmax(0,1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }+ .step-number { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }+ .quickstart-step h2 { margin: 3px 0 0; font-size: 14px; }+ .quickstart-copy > p { max-width: 600px; margin: 1px 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }+ .agent-preview { margin: 0 0 14px; padding: 14px 16px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-subtle); color: #3d3d47; font: 11.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; }+ .quickstart-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }+ .modal-backdrop {+ position: fixed;+ inset: 0;+ z-index: 80;+ display: grid;+ place-items: center;+ padding: 20px;+ background: rgba(20,20,28,.42);+ backdrop-filter: blur(3px);+ }+ .modal {+ width: min(100%, 480px);+ max-height: calc(100vh - 40px);+ overflow-y: auto;+ border: 1px solid var(--line);+ border-radius: 13px;+ background: #fff;+ box-shadow: 0 24px 70px rgba(20,20,30,.24);+ }+ .modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 22px 0; }+ .modal-header h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }+ .modal-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }+ .modal-close { flex: 0 0 auto; }+ .modal-body { padding: 22px; }+ .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }+ .key-reveal { padding: 13px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-subtle); }+ .key-reveal code { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; }+ .key-reveal span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }+ .copy-state { color: var(--green); font-size: 11.5px; }+ .optional-label { color: var(--muted); font-weight: 500; }+ .security-note { display: flex; align-items: flex-start; gap: 9px; max-width: 620px; margin: 14px 0 0; color: #6c4a0a; font-size: 11.5px; line-height: 1.5; }+ .security-note iconify-icon { flex: 0 0 auto; margin-top: 1px; color: var(--amber); font-size: 16px; }++ .mobile-menu { display: none; }++ /* HIG refinement: content carries hierarchy; chrome only explains structure. */+ .page { max-width: 1240px; padding-top: 36px; }+ .page-header { margin-bottom: 30px; }+ .page-header h1 { font-size: 30px; font-weight: 720; }+ .page-header p { max-width: 650px; margin-top: 7px; font-size: 13.5px; }+ .button, .select, .search-input, .global-search input { border-radius: 7px; }+ .button { min-height: 40px; }+ .button.primary { box-shadow: none; }+ th { padding-top: 11px; padding-bottom: 11px; }+ td { padding-top: 16px; padding-bottom: 16px; }+ .object-row:hover { background: #f5f8ff; }+ .metrics { margin-bottom: 34px; }+ .metric { padding-top: 19px; padding-bottom: 19px; }+ .metric strong { font-size: 25px; }+ .notice { border-radius: 8px; }++ /* Restore contained dashboard surfaces. The prior flat override left dividers+ without visual grouping, which made Overview and Analytics read as wireframes. */+ #view-workspace .dashboard-card,+ #view-analytics .dashboard-card,+ #view-monetization .dashboard-card,+ #view-workspace .kpi-card,+ #view-analytics .kpi-card,+ #view-monetization .kpi-card {+ box-shadow: 0 1px 2px rgba(20,20,30,.03), 0 8px 24px rgba(20,20,30,.035);+ }+ #view-workspace .dashboard-card { border-color: transparent; }+ #view-workspace .readiness-strip { display: none; }++ #view-harnesses .object-copy span { max-width: 270px; }++ #view-harness .settings-form-head { padding-bottom: 8px; }+ #view-harness .form-section { grid-template-columns: 210px minmax(0, 720px); gap: 38px; padding: 20px 0; border-top: 0; }+ #view-harness .form-section.form-group-break { margin-top: 10px; padding-top: 30px; border-top: 1px solid var(--line); }+ #view-harness .inline-value { border: 0; }+ #view-harness .capability-list { gap: 0; padding: 0 12px; border-radius: 9px; background: var(--surface-subtle); }+ #view-harness .capability-row { padding: 10px 0; border: 0; border-radius: 0; background: transparent; }+ #view-harness .capability-row + .capability-row { border-top: 1px solid var(--line); }++ #view-quickstart .quickstart-steps,+ #view-settings .form-section,+ #view-billing .settings-list { border-color: var(--line); }+ #view-api-keys .page { max-width: 1120px; }+ #view-api-keys .page-header { margin-bottom: 22px; }+ .api-key-toolbar {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 18px;+ margin-bottom: 12px;+ }+ .api-key-search { position: relative; width: min(320px, 100%); }+ .api-key-search iconify-icon {+ position: absolute;+ top: 50%;+ left: 12px;+ transform: translateY(-50%);+ color: var(--muted);+ font-size: 17px;+ pointer-events: none;+ }+ .api-key-search .search-input { width: 100%; padding-left: 37px; }+ .api-key-toolbar-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11.5px; }+ .api-key-security { display: inline-flex; align-items: center; gap: 7px; }+ .api-key-security iconify-icon { color: #696973; font-size: 16px; }+ #view-api-keys .table-wrap { overflow: visible; border: 0; }+ #view-api-keys thead { background: #f6f6f8; }+ #view-api-keys th { border: 0; color: #65656e; }+ #view-api-keys td { border-top: 0; border-bottom: 1px solid var(--line); }+ #view-api-keys tbody tr:last-child td { border-bottom: 0; }+ #view-api-keys tbody tr:hover { background: #fafbfe; }+ #view-api-keys code { color: #555560; font-size: 12px; }+ .api-key-empty { padding: 30px 14px; color: var(--muted); text-align: center; }+ .api-key-menu-wrap { position: relative; display: flex; justify-content: flex-end; }+ .api-key-menu {+ position: absolute;+ z-index: 8;+ top: 34px;+ right: 0;+ width: 142px;+ padding: 5px;+ border: 1px solid var(--line);+ border-radius: 8px;+ background: #fff;+ box-shadow: 0 10px 28px rgba(20,20,30,.12);+ }+ .api-key-menu button { width: 100%; padding: 8px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; font-size: 12px; }+ .api-key-menu button:hover { background: var(--surface-subtle); }+ .api-key-menu .danger { color: var(--red); }+ #view-billing .settings-row { grid-template-columns: 32px minmax(0,1fr) auto; }++ /* Intent-led component grammar. Keep boundaries only where they explain+ comparison, containment, editing, or live/test isolation. */+ #view-dashboard .notice {+ border: 0;+ background: #fff7e5;+ }+ #view-dashboard .metrics {+ gap: 12px;+ border: 0;+ }+ #view-dashboard .metric {+ min-height: 106px;+ padding: 17px 18px;+ border: 0;+ border-radius: 10px;+ background: #fff;+ box-shadow: 0 1px 2px rgba(20,20,30,.035), 0 7px 22px rgba(20,20,30,.03);+ }+ #view-dashboard .metric:first-child { padding-left: 18px; }+ #view-dashboard .table-wrap,+ #view-harnesses .table-wrap { border: 0; }+ #view-dashboard thead,+ #view-harnesses thead { background: #f6f6f8; }+ #view-dashboard th,+ #view-harnesses th { border: 0; color: #65656e; }+ #view-dashboard td,+ #view-harnesses td { border-top: 0; border-bottom: 1px solid var(--line); }+ #view-dashboard tbody tr:last-child td,+ #view-harnesses tbody tr:last-child td { border-bottom: 0; }++ #view-harnesses .toolbar { margin: 8px 0 14px; }+ .collection-tools { display: flex; align-items: center; gap: 10px; min-width: 0; }+ .filter-chips { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 8px; background: #f0f1f4; }+ .filter-chip {+ min-height: 32px;+ padding: 0 10px;+ border: 0;+ border-radius: 6px;+ background: transparent;+ color: var(--muted);+ cursor: pointer;+ font-size: 12px;+ font-weight: 620;+ white-space: nowrap;+ }+ .filter-chip:hover { color: var(--ink); }+ .filter-chip[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,20,30,.09); }+ .object-count { color: var(--muted); font-size: 11.5px; }++ /* Cross-page grammar: collection views stay flat, supervision uses contained+ metrics, and mutation is isolated in explicit configuration or test modes. */+ .collection-view .table-wrap { overflow-x: auto; border: 0; }+ .collection-view thead { background: #f6f6f8; }+ .collection-view th { border: 0; color: #65656e; }+ .collection-view td { border-top: 0; border-bottom: 1px solid var(--line); }+ .collection-view tbody tr:last-child td { border-bottom: 0; }+ .detail-context { display: flex; align-items: center; justify-content: space-between; gap: 18px; }++ #view-quickstart .quickstart-steps { margin-top: 4px; border: 0; }+ #view-quickstart .quickstart-step { position: relative; padding: 4px 0 34px; border: 0; }+ #view-quickstart .quickstart-step:not(:last-child)::after {+ position: absolute;+ top: 31px;+ bottom: 7px;+ left: 12px;+ width: 2px;+ border-radius: 999px;+ background: #e5e9f2;+ content: "";+ }+ #view-quickstart .agent-preview { border: 0; background: #f3f4f7; }++ #view-harness .capability-list {+ gap: 0;+ overflow: hidden;+ padding: 0 12px;+ border-radius: 10px;+ background: #f5f6f8;+ }+ #view-harness .capability-row {+ min-height: 56px;+ padding: 9px 0;+ border: 0;+ border-bottom: 1px solid rgba(111,111,125,.13);+ border-radius: 0;+ background: transparent;+ }+ #view-harness .capability-row:last-child { border-bottom: 0; }+ #view-harness .capability-icon { background: rgba(255,255,255,.72); }+ #view-harness .inline-value { border: 0; background: #f3f4f7; }++ #view-tasks .task-mode-context { border: 0; }+ #view-tasks .page-header {+ display: grid;+ grid-template-columns: minmax(0,1fr) max-content;+ align-items: start;+ column-gap: 28px;+ }+ #view-tasks .page-header > div:first-child { min-width: 0; }+ #view-tasks .page-header .header-actions {+ display: grid;+ grid-template-columns: max-content 220px max-content;+ align-items: center;+ gap: 8px;+ }+ #view-tasks .task-mode-switch,+ #view-tasks .task-mode-button,+ #view-tasks #newTestTask { white-space: nowrap; }+ #view-tasks #taskHarness { width: 220px; min-width: 0; }+ #view-tasks .run-layout {+ border: 0;+ gap: 18px;+ border-radius: 0;+ background: transparent;+ box-shadow: none;+ overflow: visible;+ }+ #view-tasks .run-list {+ border-right: 0;+ border-radius: 12px;+ background: #f4f5f7;+ scrollbar-width: thin;+ }+ #view-tasks .run-list-head { padding: 14px 14px 10px; border-bottom: 0; background: transparent; }+ #view-tasks .run-item {+ width: calc(100% - 16px);+ margin: 4px 8px;+ padding: 13px 12px;+ border: 0;+ border-radius: 9px;+ background: transparent;+ }+ #view-tasks .run-item:hover { background: rgba(255,255,255,.68); }+ #view-tasks .run-item.active { background: #fff; box-shadow: 0 1px 4px rgba(20,20,30,.08); }+ #view-tasks .run-detail {+ border-radius: 12px;+ background: #fff;+ box-shadow: 0 1px 2px rgba(20,20,30,.04), 0 10px 30px rgba(20,20,30,.035);+ }+ #view-tasks .tabs { border-bottom-color: rgba(111,111,125,.12); }+ #view-tasks .activity-disclosure { border: 0; background: #f4f5f7; }+ #view-tasks .task-state { border: 0; }+ #view-tasks .file-row { padding: 12px; border: 0; border-radius: 9px; background: #f7f8fa; }++ #view-analytics .dashboard-card .table-wrap { border: 0; }+ #view-analytics .dashboard-card thead { background: #f6f6f8; }+ #view-analytics .dashboard-card th { border: 0; }+ #view-analytics .dashboard-card td { border-top: 0; border-bottom: 1px solid var(--line); }+ #view-analytics .dashboard-card tbody tr:last-child td { border-bottom: 0; }+ #view-monetization .dashboard-card .table-wrap { border: 0; }+ #view-monetization .dashboard-card thead { background: #f6f6f8; }+ #view-monetization .dashboard-card th { border: 0; }+ #view-monetization .dashboard-card td { border-top: 0; border-bottom: 1px solid var(--line); }+ #view-monetization .dashboard-card tbody tr:last-child td { border-bottom: 0; }++ /* Monetization is one Workspace business loop: observe revenue, define what is+ sold, verify customer access, and keep the payment connection healthy. */+ #view-monetization .page-header { margin-bottom: 20px; }+ .monetization-tabs { margin-bottom: 12px; }+ .monetization-panel-head {+ display: flex;+ align-items: flex-start;+ justify-content: space-between;+ gap: 22px;+ margin-bottom: 18px;+ }+ .monetization-panel-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }+ .monetization-panel-head p { max-width: 650px; margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }+ .monetization-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }+ .monetization-toolbar .toolbar-group { min-width: 0; }+ .monetization-table { min-width: 940px; }+ .monetization-table .product-copy strong,+ .monetization-table .product-copy span { display: block; }+ .monetization-table .product-copy span { margin-top: 3px; color: var(--muted); font-size: 11px; }+ .entitlement-meter { width: 118px; }+ .entitlement-meter span { display: block; margin-bottom: 6px; color: #4d4d56; font-size: 11.5px; white-space: nowrap; }+ .entitlement-meter-track { height: 5px; overflow: hidden; border-radius: 999px; background: #eceef3; }+ .entitlement-meter-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }+ .connection-summary {+ display: grid;+ grid-template-columns: repeat(4,minmax(0,1fr));+ gap: 0;+ margin: 4px 0 28px;+ padding: 4px;+ border-radius: 10px;+ background: #f4f6fa;+ }+ .connection-summary > div { min-height: 92px; padding: 16px; }+ .connection-summary span,+ .connection-summary small { display: block; color: var(--muted); font-size: 11.5px; }+ .connection-summary strong { display: block; margin: 8px 0 5px; font-size: 15px; }+ .money-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 0; }+ .money-flow-step strong, .money-flow-step span { display: block; }+ .money-flow-step strong { font-size: 13px; }+ .money-flow-step span { margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ .money-flow > iconify-icon { color: var(--faint); font-size: 20px; }+ .monetization-note { max-width: 920px; margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }+ .monetization-activity { margin-top: 20px; }+ .table-subcopy { color: var(--muted); font-size: 10.5px; }+ .number.negative { color: var(--danger); }+ .payout-guidance { display: flex; align-items: flex-start; gap: 10px; max-width: 920px; margin: 2px 0 14px; padding: 12px 14px; border-radius: 9px; background: #f4f6fa; }+ .payout-guidance iconify-icon { flex: 0 0 auto; margin-top: 2px; color: var(--accent); font-size: 17px; }+ .payout-guidance p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }+ .payout-guidance strong { color: var(--text); }+ .product-modal-summary { margin: 2px 0 16px; padding: 12px 13px; border-radius: 8px; background: #f4f6fa; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ #monetization-overview.is-active { display: grid; gap: 20px; }+ #monetization-overview > .dashboard-card-head,+ #monetization-overview > .dashboard-kpis,+ #monetization-overview > .dashboard-card { margin: 0; }+++ .workspace-pulse .dashboard-card-head { margin-bottom: 6px; }+ .pulse-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }+ .pulse-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }+ .pulse-list > div:nth-child(odd) { padding-right: 24px; }+ .pulse-list > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }+ .pulse-list > div:nth-last-child(-n+2) { border-bottom: 0; }+ .pulse-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }+ .pulse-list span iconify-icon { font-size: 18px; }+ .pulse-list strong { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }+ .pulse-list strong small { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }++ .harness-inventory-table { min-width: 980px; }+ .harness-runtime { display: grid; gap: 3px; }+ .harness-runtime span { color: var(--muted); font-size: 11.5px; }+ .detail-metrics {+ display: grid;+ grid-template-columns: repeat(4,minmax(0,1fr));+ margin-bottom: 22px;+ gap: 4px;+ padding: 4px;+ border: 0;+ border-radius: 10px;+ background: #f4f6fa;+ }+ .detail-metric {+ display: grid;+ gap: 5px;+ min-width: 0;+ padding: 15px 16px;+ border: 0;+ background: transparent;+ color: var(--ink);+ text-align: left;+ font: inherit;+ }+ button.detail-metric { cursor: pointer; }+ button.detail-metric:hover { border-radius: 7px; background: #fff; }+ .detail-metric span, .detail-metric small { color: var(--muted); }+ .detail-metric span { font-size: 11.5px; font-weight: 600; }+ .detail-metric strong { font-size: 24px; line-height: 1.08; font-variant-numeric: tabular-nums; }+ .detail-metric small { font-size: 11.5px; }+ .harness-activity { padding-top: 2px; }+ .harness-activity .dashboard-card-head { margin-bottom: 10px; }+ .harness-activity-feed { display: grid; }+ #recentHarnessFailures { display: grid; border-top: 1px solid rgba(111,111,125,.13); }+ .harness-activity-row {+ display: grid;+ grid-template-columns: 22px minmax(0,1fr) auto;+ gap: 11px;+ align-items: start;+ width: 100%;+ padding: 13px 0;+ border: 0;+ background: transparent;+ color: var(--ink);+ font: inherit;+ text-align: left;+ }+ button.harness-activity-row { cursor: pointer; }+ button.harness-activity-row:hover { background: rgba(48,95,255,.035); }+ button.harness-activity-row:focus-visible { border-radius: 7px; outline: 2px solid var(--accent); outline-offset: 2px; }+ .harness-activity-row + .harness-activity-row { border-top: 1px solid rgba(111,111,125,.13); }+ .harness-activity-node { width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); }+ .harness-activity-node iconify-icon { font-size: 16px; }+ .harness-activity-row.is-failure .harness-activity-node { color: var(--red); }+ .harness-activity-copy { min-width: 0; }+ .harness-activity-copy strong, .harness-activity-copy small, .harness-activity-copy span { display: block; }+ .harness-activity-copy strong { font-size: 13px; }+ .harness-activity-copy small { margin-top: 4px; color: var(--muted); font-size: 11.5px; }+ .harness-activity-copy span { margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ .simple-list > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }+ .simple-list > div:last-child { border-bottom: 0; }+ .simple-list span:first-child { display: grid; gap: 4px; }+ .simple-list small { color: var(--muted); }+ .definition-list { margin: 0; }+ .definition-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }+ .definition-list > div:last-child { border-bottom: 0; }+ .definition-list dt { color: var(--muted); }+ .definition-list dd { margin: 0; font-weight: 650; text-align: right; }++ #view-billing .billing-flat-list .settings-row { padding: 14px 8px; border: 0; border-radius: 8px; }+ #view-billing .billing-flat-list .settings-row:hover { background: rgba(48,95,255,.025); }++ .harness-sheet { width: min(100%, 720px); max-height: calc(100vh - 24px); }+ .harness-sheet .modal-header { padding: 18px 20px 0; }+ .harness-sheet .modal-header p { margin-top: 4px; }+ .harness-sheet .modal-body { padding: 14px 20px 16px; }+ .harness-sheet .field-stack { gap: 13px; }+ .harness-sheet .modal-actions { position: sticky; bottom: -16px; margin: 12px -2px 0; padding: 10px 2px 0; background: #fff; }+ .base-choice-list { display: grid; gap: 8px; margin-top: 8px; }+ .field .base-choice {+ position: relative;+ display: grid;+ grid-template-columns: 36px minmax(0,1fr) auto;+ gap: 12px;+ align-items: center;+ min-height: 60px;+ padding: 8px 12px;+ border: 1px solid var(--line);+ border-radius: 9px;+ cursor: pointer;+ }+ .field .base-choice:hover { background: var(--surface-subtle); }+ .field .base-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }+ /* the checked card state (accent border + soft fill) IS the selection indicator */+ .base-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }+ .base-choice-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); }+ .base-choice-copy strong, .base-choice-copy span { display: block; }+ .base-choice-copy strong { font-size: 13.5px; }+ .base-choice-copy span { margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.4; }+ .base-choice-models { color: var(--muted); font-size: 11px; white-space: nowrap; }+ .base-choice.disabled { cursor: default; opacity: .55; }+ .base-choice.disabled:hover { background: transparent; }+ .soon-label { padding: 3px 6px; border-radius: 5px; background: var(--surface-subtle); font-size: 10px; font-weight: 650; }+ .creation-next { display: flex; gap: 9px; margin-top: 10px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }+ .creation-next iconify-icon { flex: 0 0 auto; margin-top: 1px; color: var(--accent); }+ .harness-sheet .base-choice-list { gap: 0; padding: 4px; border-radius: 10px; background: #f3f4f7; }+ .harness-sheet .field .base-choice { border: 0; border-radius: 7px; }+ .harness-sheet .field .base-choice:has(input:checked) { border-color: transparent; background: #fff; box-shadow: 0 1px 4px rgba(20,20,30,.10); }++ @media (max-width: 1180px) {+ #view-tasks .page-header { grid-template-columns: 1fr; row-gap: 18px; }+ #view-tasks .page-header .header-actions { justify-content: start; }+ }++ @media (max-width: 980px) {+ :root { --sidebar-w: 204px; }+ .app-header { grid-template-columns: var(--sidebar-w) minmax(200px, 360px) minmax(0,1fr); }+ .utility-link { display: none; }+ .metrics { grid-template-columns: repeat(2,1fr); }+ .metric:nth-child(2) { border-right: 0; }+ .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }+ .run-layout { grid-template-columns: 280px minmax(0,1fr); }+ .run-detail { min-width: 0; }+ .task-actions { justify-content: flex-start; }+ .quickstart-step { grid-template-columns: 32px minmax(0,1fr); }+ .quickstart-copy { grid-column: 2; }+ .summary-value { min-width: 0; text-align: left; }+ .dashboard-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }+ .detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }+ #view-dashboard .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }+ .dashboard-main-grid, .analytics-grid { grid-template-columns: 1fr; }+ .billing-balance-panel { grid-template-columns: repeat(3,minmax(0,1fr)); }+ .billing-balance-panel .button { grid-column: 1 / -1; justify-self: start; }+ .connection-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }+ }+ @media (max-width: 760px) {+ :root { --sidebar-w: 0px; }+ .concept-bar { text-align: center; }+ .app-header { grid-template-columns: auto minmax(0,1fr) auto; padding: 0 10px; }+ .brand { padding: 0 4px; }+ .brand-full { display: none; }+ .brand-icon { display: block; }+ .global-search { margin-left: 4px; }+ .balance-button span { display: none; }+ .utility-link, .header-utils .icon-button { display: none; }+ .header-utils .mobile-menu { display: inline-flex; }+ .sidebar { display: none; top: var(--header-h); width: 250px; box-shadow: 16px 0 35px rgba(20,20,30,.12); }+ .sidebar.is-open { display: block; }+ main { margin-left: 0; }+ .page { padding: 24px 16px 50px; }+ .page-header { align-items: stretch; flex-direction: column; }+ #view-tasks .page-header .header-actions { width: 100%; }+ .settings-form-head { align-items: stretch; flex-direction: column; }+ .settings-form-head .header-actions { justify-content: space-between; }+ .page-header .button.primary { align-self: flex-start; }+ .toolbar { align-items: stretch; flex-direction: column; }+ .pulse-list { grid-template-columns: 1fr; }+ .pulse-list > div:nth-child(odd), .pulse-list > div:nth-child(even) { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }+ .pulse-list > div:last-child { border-bottom: 0; }+ .toolbar-group { flex-wrap: wrap; }+ .search-input { width: 100%; }+ .api-key-toolbar { align-items: stretch; flex-direction: column; }+ .api-key-search { width: 100%; }+ .api-key-toolbar-meta { justify-content: space-between; }+ .run-layout { grid-template-columns: 1fr; }+ .run-layout { height: auto; max-height: none; }+ .task-mode-context { grid-template-columns: 24px minmax(0,1fr); }+ .mode-badge { grid-column: 2; justify-self: start; }+ .run-list { border-right: 0; }+ .run-detail { min-height: 420px; }+ .run-summary-grid { grid-template-columns: repeat(2,1fr); }+ .run-summary-stat:nth-child(2) { border-right: 0; }+ .run-summary-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }+ .output-layout { grid-template-columns: 1fr; }+ .form-section { grid-template-columns: 1fr; gap: 14px; }+ #view-harness .form-section { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }+ .two-column-fields { grid-template-columns: 1fr; }+ .overview-summary-list .settings-row { grid-template-columns: 32px minmax(0,1fr); }+ .overview-summary-list .settings-row > :last-child { grid-column: 2; justify-self: start; }+ .billing-page .settings-row { grid-template-columns: 32px minmax(0,1fr); }+ .billing-page .settings-row > :last-child { grid-column: 2; justify-self: start; }+ .modal-actions { flex-wrap: wrap; }+ .modal { max-height: calc(100dvh - 24px); }+ .dashboard-lower-grid { grid-template-columns: 1fr; }+ .monetization-tabs { gap: 18px; overflow-x: auto; }+ .monetization-panel-head, .monetization-toolbar { align-items: stretch; flex-direction: column; }+ .monetization-activity .dashboard-card-head { align-items: stretch; flex-direction: column; }+ .monetization-activity .segmented { align-self: flex-start; }+ .monetization-toolbar .toolbar-group { align-items: stretch; flex-direction: column; }+ .monetization-toolbar .search-input, .monetization-toolbar .select { width: 100%; }+ .money-flow { grid-template-columns: 1fr; gap: 8px; }+ .money-flow > iconify-icon { transform: rotate(90deg); }+ .detail-metrics { grid-template-columns: 1fr; }+ .harness-inventory-table { min-width: 0; }+ .harness-inventory-table .harness-desktop-col { display: none; }+ .readiness-strip { grid-template-columns: 1fr; }+ .readiness-item + .readiness-item { border-top: 1px solid var(--line); border-left: 0; }+ .collection-tools { width: 100%; align-items: stretch; flex-direction: column; }+ .filter-chips { align-self: flex-start; overflow-x: auto; max-width: 100%; }+ .collection-tools .search-input, .collection-tools .select { width: 100%; }+ .collection-view .table-wrap { max-width: 100%; overflow-x: auto; }+ #view-harnesses table { min-width: 0; }+ .detail-context { align-items: flex-start; flex-direction: column; }+ .detail-header { align-items: flex-start; }+ .detail-title { min-width: 0; }+ .detail-title h1 { overflow-wrap: anywhere; }+ .detail-title p { line-height: 1.45; }+ .attention-meta { grid-template-columns: 1fr; gap: 0; }+ .attention-card .button { width: 100%; }+ #view-workspace .dashboard-table { width: 100%; table-layout: fixed; }+ #view-workspace .dashboard-lower-grid > section:first-child .dashboard-table :is(th,td):nth-child(3),+ #view-workspace .dashboard-lower-grid > section:first-child .dashboard-table :is(th,td):nth-child(4),+ #view-workspace .dashboard-lower-grid > section:first-child .dashboard-table :is(th,td):nth-child(5),+ #view-workspace .dashboard-lower-grid > section:nth-child(2) .dashboard-table :is(th,td):nth-child(2),+ #view-workspace .dashboard-lower-grid > section:nth-child(2) .dashboard-table :is(th,td):nth-child(4) { display: none; }+ #view-workspace .dashboard-table :is(th,td):last-child { width: 42px; }+ #view-workspace .dashboard-lower-grid > section:first-child .dashboard-table :is(th,td):nth-child(2) { width: 104px; }+ #view-workspace .dashboard-lower-grid > section:nth-child(2) .dashboard-table :is(th,td):nth-child(3) { width: 92px; }+ }+ @media (max-width: 460px) {+ #view-tasks .page-header .header-actions { grid-template-columns: 1fr; }+ #view-tasks .task-mode-switch { width: max-content; }+ #view-tasks #taskHarness { width: 100%; }+ .global-search input { padding-right: 12px; }+ .search-key { display: none; }+ .page-header h1, .detail-title h1 { font-size: 25px; }+ .metrics { grid-template-columns: 1fr 1fr; }+ .metric { padding: 14px 10px; }+ .metric:first-child { padding-left: 10px; }+ .metric strong { font-size: 20px; }+ th, td { padding-left: 10px; padding-right: 10px; }+ .run-detail { padding: 18px 16px; }+ .run-detail { padding: 0; }+ .task-detail-shell, .conversation { padding-left: 16px; padding-right: 16px; }+ .composer { padding-left: 16px; padding-right: 16px; }+ .capability-row { grid-template-columns: 30px minmax(0,1fr); }+ .capability-actions { grid-column: 2; justify-content: flex-start; }+ .header-row { grid-template-columns: 1fr; }+ .session-detail-head, .inspector-head { align-items: stretch; flex-direction: column; }+ .run-inspector { padding: 18px 16px; }+ .run-inspector .tabs { gap: 18px; overflow-x: auto; }+ .trace-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }+ .trace-list::before { left: 67px; }+ .trace-event { grid-template-columns: 52px 12px minmax(0,1fr); }+ .trace-duration { display: none; }+ .dashboard-kpis { grid-template-columns: 1fr; }+ .billing-plan-line { align-items: flex-start; flex-direction: column; gap: 12px; }+ .billing-balance-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px; }+ .billing-balance-panel .button { grid-column: auto; width: 100%; }+ .connection-summary { grid-template-columns: 1fr; }+ .billing-page .section-header { align-items: flex-start; flex-direction: column; gap: 4px; }+ .billing-page .button.small { min-height: 44px; }+ #view-api-keys th:nth-child(3), #view-api-keys td:nth-child(3),+ #view-api-keys th:nth-child(4), #view-api-keys td:nth-child(4) { display: none; }+ #view-api-keys th, #view-api-keys td { padding-left: 8px; padding-right: 8px; }+ #view-api-keys th:first-child, #view-api-keys td:first-child { width: 34%; }+ #view-api-keys code { font-size: 10px; white-space: nowrap; }+ .chart-wrap { height: 220px; }+ .field .base-choice { grid-template-columns: 30px minmax(0,1fr); }+ .base-choice-models { grid-column: 3; white-space: normal; }+ .readiness-item { grid-template-columns: 30px minmax(0,1fr); }+ .readiness-item .button, .readiness-item .row-action { grid-column: 2; justify-self: start; }+ }++/* ── Revamp glue: existing pages hosted inside the new shell ─────────────────── */+/* main is the ONE scroll container (header banner + sidebar pinned forever; the document never+ scrolls — hr.css pins body height, which broke the sticky header past 100vh). Overrides the+ extracted prototype's document-scroll assumption. */+main { height: calc(100vh - var(--header-h)); overflow-y: auto; min-height: 0; margin-left: var(--sidebar-w); }+body { overflow: hidden; }+@media (max-width: 760px) { main { margin-left: 0; } }++/* Legacy hr-wrap pages (keys, billing, account, agents) get prototype page gutters. */+main .hr-wrap { max-width: 1320px; margin: 0 auto; padding: 28px 32px 64px; }++/* ── Tasks page (run-layout master-detail per the HIG prototype) ─────────────── */+/* The card height: main scrolls, header (64) + page paddings/page-header ≈ 204px above the card,+ same arithmetic as the prototype. Bottom page padding lets short screens scroll to it whole. */+/* Tasks has NO title row (finalized design): full-width page, card fills the viewport. */+.tasks-page { max-width: none; padding: 20px 24px 24px; }+.tasks-page .run-layout { height: calc(100vh - 108px); max-height: none; }+.run-list-hint { display: block; margin-bottom: 5px; color: var(--faint); font-size: 10.5px;+ font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }+.run-list-new { width: 100%; justify-content: center; margin-top: 10px; }+.run-list-head .select { width: 100%; min-width: 0; }+.run-list-head .search-input { margin-top: 10px; }+/* Tightened title-to-content rhythm (user: prototype reads tighter than our render). */+.page { padding-top: 24px; }+.page-header { margin-bottom: 18px; }+.page-header p { margin-top: 5px; }+/* Recent-tasks cells: fixed layout + ellipsis with hover hint via title attr. */+.recent-tasks-table { table-layout: fixed; width: 100%; }+.recent-tasks-table .cell-ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.recent-tasks-table .cell-task { width: 38%; }+.recent-tasks-table .cell-harness { width: 26%; }+.recent-tasks-table .cell-nowrap { white-space: nowrap; }+.recent-tasks-table th:nth-child(1) { width: 38%; }+.recent-tasks-table th:nth-child(2) { width: 26%; }+.recent-tasks-table th:nth-child(5), .recent-tasks-table td:last-child { width: 44px; }+/* Conversation fills the detail column below the tabs; its inner panes own the scrolls. */+.run-detail-fill { flex: 1; min-height: 0; display: flex; flex-direction: column; }+.run-detail-fill > .wbx-conv, .run-detail-fill .wbx-conv { height: 100%; }+.run-trace-scroll { flex: 1; min-height: 0; overflow-y: auto; }+/* Prototype CSS bug fix: `.run-item span` (display:block) outweighs `.run-item-top`+ (display:flex) by specificity, stacking the title and status chip. The design intent is+ one row with the chip right-aligned — enforce it with a stronger selector. */+.run-item .run-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 0; }+/* Row delete affordance: hidden until the row is hovered, like the old recents list. */+.run-item-del { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;+ flex: 0 0 auto; border-radius: 6px; color: var(--faint); opacity: 0; cursor: pointer; }+.run-item:hover .run-item-del, .run-item-del:focus { opacity: 1; }+.run-item-del:hover { background: color-mix(in srgb, #DC2626 12%, transparent); color: #DC2626; }+.run-item-top strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+/* Narrow screens: list and detail alternate as full-width views (state class from the page). */+@media (max-width: 820px) {+ .tasks-page .run-layout { grid-template-columns: 1fr; height: calc(100vh - 120px); min-height: 420px; }+ .tasks-page .run-layout:not(.m-detail) .run-detail { display: none; }+ .tasks-page .run-layout.m-detail .run-list { display: none; }+ .tasks-page .page-header .header-actions { flex-wrap: wrap; }+}++/* Destructive confirm button (revoke/delete modals) — the prototype only styles menu-item+ .danger; give the standalone button an equivalent treatment. */+.button.danger { border-color: #f3c6c6; background: #fff5f5; color: #b4232d; }+.button.danger:hover { background: #fdeaea; }++/* ── Tasks detail head: toggle beside the session title; one-line ellipsis title ── */+.session-detail-lead { min-width: 0; flex: 1; }+.session-title-row { display: flex; align-items: center; gap: 10px; min-width: 0; }+.session-title-row .wbx-panel-tgl { flex: 0 0 auto; }+.run-credits-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;+ padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line);+ background: var(--surface-subtle, #f7f9ff); color: var(--muted); font-size: 12px; font-weight: 600;+ white-space: nowrap; }+.run-credits-chip iconify-icon { font-size: 13px; color: var(--accent, #285aff); }+.session-title-ellip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+/* Trace tab embeds the ORIGINAL Traces component (no session list — the task list selects). */+.run-trace-embed { flex: 1; min-height: 0; display: flex; overflow: hidden; }+.run-trace-embed > * { flex: 1; min-width: 0; }+.run-trace-embed .session-empty { align-self: center; width: 100%; }+/* Harness settings: sticky action bar pinned to the viewport bottom of the scrolling main. */+.settings-footer-sticky { position: sticky; bottom: 0; z-index: 5; margin-top: 0;+ padding: 12px 0; background: var(--bg); border-top: 1px solid var(--line); }+/* SkillEditor create-flow: editable name in the header. */+.skl-title-edit { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }+.skl-name-input { min-width: 220px; border: 1px solid var(--line); border-radius: 7px;+ padding: 5px 9px; font-size: 13px; font-weight: 600; font-family: inherit; }++/* ── Task-list status filter: funnel icon beside the search bar with a dropdown menu ── */+.run-list-head .list-scope { margin: 10px 0 0; }+.run-filter-row { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 8px; }+.run-filter-row .search-input { flex: 1; min-width: 0; margin-top: 0; }+.run-flt-btn { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;+ border: 1px solid var(--line-strong, #d5d5dc); border-radius: 9px; background: #fff;+ color: var(--muted); cursor: pointer; font-size: 17px; }+.run-flt-btn:hover { color: var(--ink); }+.run-flt-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }+.run-flt-menu { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 160px;+ padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #fff;+ box-shadow: 0 14px 32px rgba(20,20,30,.14); }+.run-flt-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;+ min-height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent;+ color: var(--ink); cursor: pointer; font-size: 13px; text-align: left; }+.run-flt-item:hover { background: #f4f4f7; }+.run-flt-item.on { color: var(--accent); font-weight: 640; }++/* ── Task-list head hierarchy: both hints share one label style; clearer rhythm ── */+.run-list-head { padding: 16px 14px 14px; }+.run-list-head .list-scope,+.run-list-hint { display: block; margin: 0 0 6px; color: var(--faint); font-size: 10.5px;+ font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }+.run-list-head .list-scope { margin: 16px 0 6px; }+.run-list-head .list-scope strong { color: var(--muted); font-weight: 740; }+.run-list-new { margin-top: 10px; }+.run-filter-row { margin-top: 0; }+/* Trace embed: the task name already sits in the detail head — hide the inner duplicate. */+.run-trace-embed .tr-mtitle { display: none; }+.run-trace-embed .tr-mhead { padding-top: 4px; }+/* Harness settings action bar: FIXED to the viewport bottom (not just sticky at content end). */+#view-harness .settings-footer-sticky { position: fixed; left: var(--sidebar-w); right: 0; bottom: 0;+ margin: 0; padding: 12px 32px; background: #fff; border-top: 1px solid var(--line); z-index: 20; }+#view-harness .settings-form { padding-bottom: 88px; }+@media (max-width: 760px) { #view-harness .settings-footer-sticky { left: 0; } }+/* Composer + file cards must never overflow a narrow conversation pane (preview split, mobile). */+.wbx-conv, .wbx-conv-main, .wbx-composer, .wbx-composer-row { min-width: 0; }+.wbx-composer-row > * { min-width: 0; }+.wbx-composer-row .wbx-select-wrap { flex: 0 1 auto; min-width: 0; position: relative; }+.wbx-composer-row .wbx-select-wrap .wbx-select { width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.wbx-composer-row .uic-send { flex: 0 0 auto; }++/* ── Settings footer: Delete pinned left, actions right; no idle state label ── */+.settings-footer-sticky { display: flex; align-items: center; gap: 10px; }+.settings-footer-spacer { flex: 1; }+/* Disabled buttons keep their face on hover — the prototype's `background: inherit` made a+ hovered disabled primary render as an empty pill. Global. */+.button:disabled:hover { background: var(--surface, #fff); }+.button.primary:disabled, .button.primary:disabled:hover { background: var(--accent); border-color: var(--accent); color: #fff; }+.button.danger:disabled:hover { background: #fff5f5; }+/* ── Sidebar rhythm: Dashboard sits higher with clear space before WORKSPACE; the switcher+ groups with the nav items below it. ── */+.sidebar .global-nav { margin-top: 8px; margin-bottom: 18px; }+.sidebar .switcher-wrap { margin-bottom: 6px; }+.sidebar .switcher-wrap .side-label { margin-bottom: 6px; }+.sidebar .workspace-nav { margin-top: 0; padding-top: 0; }++/* ── Skeleton loading primitives (ALL loading states render content-shaped shimmer) ── */+@keyframes sk-shimmer { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } }+.sk { display: inline-block; border-radius: 6px;+ background: linear-gradient(90deg, #ececf1 0px, #f7f7fa 60px, #ececf1 120px);+ background-size: 200px 100%; animation: sk-shimmer 1.3s ease-in-out infinite; }+.sk-tr td { padding: 15px 14px; border-top: 1px solid var(--line); }+.sk-item { padding: 13px 14px; border-bottom: 1px solid var(--line); }+.sk-page-head { margin: 4px 0 24px; }+.sk-blocks { display: grid; gap: 14px; }+.sk-block { display: block; width: 100%; height: 96px; border-radius: 10px; }+.sk-block.tall { height: 260px; }+.sk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }+.sk-kpi { display: block; height: 112px; border-radius: 10px; }++/* ── Task list: pinned head + independently scrolling sessions (cursor-paged scroll-load) ── */+.run-list { display: flex; flex-direction: column; overflow: hidden; }+.run-list-head { flex: 0 0 auto; }+.run-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }+/* Composer textarea: no focus ring — the composer card is the affordance. */+.wbx-composer-input:focus, .wbx-composer-input:focus-visible { outline: none !important; box-shadow: none; }+/* Stop replaces Send while a turn runs. */+.wbx-send-stop { display: inline-flex; align-items: center; gap: 6px; }+.wbx-act-ic iconify-icon { font-size: 16px; }++/* ── Session sharing: modal choices + public read-only share page ── */+.session-share-btn { margin-left: 2px; }+.share-choice-list { display: grid; gap: 8px; }+.share-choice { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px;+ border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: left; }+.share-choice:hover { background: var(--surface-subtle); }+.share-choice.on { border-color: var(--accent); background: var(--accent-soft); }+.share-choice > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }+.share-choice strong { font-size: 13.5px; }+.share-choice span span { color: var(--muted); font-size: 12px; }+.share-choice > iconify-icon:last-child { color: var(--accent); }+.share-link-row { display: flex; gap: 8px; margin-top: 14px; }+.share-link-row input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 8px;+ padding: 8px 10px; font: 12.5px/1.4 ui-monospace, monospace; color: var(--ink); background: var(--surface-subtle); }+.share-brand { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }+.share-conv { display: grid; gap: 18px; }+.share-turn { display: grid; gap: 12px; }+.share-user { display: flex; justify-content: flex-end; }+.share-user-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px;+ background: var(--accent-soft); color: var(--ink); font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; }+.share-asst { font-size: 13.5px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }+.share-asst pre { overflow-x: auto; padding: 12px; border-radius: 8px; background: #f6f6f8; font-size: 12px; }+.share-asst code { background: #f2f2f5; border-radius: 4px; padding: 1px 4px; font-size: 12px; }+.share-asst pre code { background: transparent; padding: 0; }+.share-page { padding-bottom: 80px; }++/* Share page meta badges — same look as the trace pane's labels (.tr-tag) */+.share-meta { display: flex; align-items: center; gap: 7px; margin-top: 9px; flex-wrap: wrap; }+.share-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2, #3f3f46);+ background: var(--surface-2, #f6f6f8); border: 1px solid var(--line, #e4e4e7); padding: 2.5px 9px;+ border-radius: 999px; white-space: nowrap; }+.share-tag iconify-icon { color: var(--muted); font-size: 13px; }++/* Send/Stop content centered even when the composer is narrow */+.wbx-send { justify-content: center; }++/* ── GLOBAL dropdown rule: the chevron must NEVER hug the right border (≥30px right pad). ──+ The prototype's .select / .field select keep the native browser arrow at the very edge;+ replace it with our own chevron at right 12px on every native select in the product.+ (.wbx-select already follows this rule with its own positioned chevron.) */+.select, .field select, .modal select {+ appearance: none; -webkit-appearance: none;+ padding-right: 34px !important;+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");+ background-repeat: no-repeat;+ background-position: right 12px center;+ background-size: 14px;+}++/* Share button sits at the far right of the session title row */+.session-share-btn { margin-left: auto; }++/* SWITCH HARNESS label hugs its dropdown like the sidebar's WORKSPACE label does;+ the larger separation lives BELOW the picker group instead. */+.run-list-head > .select { margin-top: 0; }+.run-list-hint { margin-bottom: 6px; }+.run-list-head .list-scope { margin-top: 14px; }++/* ── Welcome / activate-credits modal — premium first-impression surface ─────────── */+@keyframes welcomeIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }+@keyframes welcomeOverlayIn { from { opacity: 0; } to { opacity: 1; } }+@keyframes welcomeShine { 0% { transform: translateX(-120%) rotate(8deg); } 60%,100% { transform: translateX(220%) rotate(8deg); } }+.welcome-overlay {+ position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;+ background: radial-gradient(120% 120% at 50% 0%, rgba(40,90,255,.16), rgba(16,18,26,.55) 60%);+ backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);+ animation: welcomeOverlayIn .18s ease both;+}+.welcome-card {+ width: min(100%, 416px); position: relative; overflow: hidden;+ border: 1px solid rgba(40,90,255,.14); border-radius: 22px; background: var(--surface);+ box-shadow: 0 2px 4px rgba(20,20,30,.04), 0 30px 60px -18px rgba(30,50,120,.34), 0 0 0 6px rgba(40,90,255,.05);+ animation: welcomeIn .34s cubic-bezier(.2,.8,.2,1) both;+}+.welcome-hero {+ position: relative; overflow: hidden; padding: 30px 28px 20px; text-align: center;+ background:+ radial-gradient(90% 130% at 50% -30%, rgba(40,90,255,.16), rgba(40,90,255,0) 62%),+ linear-gradient(180deg, #f3f6ff 0%, var(--surface) 100%);+ border-bottom: 1px solid var(--line);+}+.welcome-badge {+ position: relative; width: 64px; height: 64px; margin: 2px auto 16px; display: grid; place-items: center;+ border-radius: 19px; overflow: hidden; background: #fff;+ border: 1px solid var(--line);+ box-shadow: 0 10px 26px -10px rgba(30,50,120,.28), 0 0 0 5px rgba(40,90,255,.07), inset 0 1px 0 rgba(255,255,255,.9);+}+.welcome-badge img { width: 36px; height: 36px; display: block; }++/* ── Wide launch popup: header + two side-by-side cards (sponsor | subscribe) ─────── */+.welcome-wide {+ position: relative; width: min(100%, 760px);+ border: 1px solid rgba(40,90,255,.14); border-radius: 22px; background: var(--surface);+ box-shadow: 0 2px 4px rgba(20,20,30,.04), 0 30px 60px -18px rgba(30,50,120,.34), 0 0 0 6px rgba(40,90,255,.05);+ padding: 34px 30px 30px; animation: welcomeIn .34s cubic-bezier(.2,.8,.2,1) both;+}+.welcome-wide-close {+ position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; display: grid; place-items: center;+ border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;+ transition: background .12s, color .12s;+}+.welcome-wide-close:hover { background: var(--surface-subtle); color: var(--ink); }+.welcome-wide-close iconify-icon { font-size: 18px; }+.welcome-wide-head { text-align: center; margin-bottom: 22px; }+.welcome-wide-head .welcome-title { font-size: 27px; }+.welcome-wide-head .welcome-sub { max-width: 460px; }+.welcome-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }+.welcome-col {+ display: flex; flex-direction: column; text-align: left;+ padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);+}+.welcome-col.accent { background: #f4f7ff; border-color: rgba(40,90,255,.18); }+.welcome-col-badge {+ width: 44px; height: 44px; margin-bottom: 14px; display: grid; place-items: center;+ border-radius: 12px; background: rgba(40,90,255,.1); color: var(--accent); font-size: 22px;+}+.welcome-col-badge.sponsor {+ width: auto; height: 44px; padding: 0 14px; justify-self: start; background: #fff; border: 1px solid var(--line);+}+.welcome-col-badge.sponsor img { height: 22px; width: auto; max-width: 180px; object-fit: contain; display: block; }+.welcome-col-title { margin: 0 0 8px; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }+.welcome-col-title b { color: var(--accent); }+.welcome-col-sub { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }+.welcome-col-sub b { color: var(--ink); font-weight: 650; }+.welcome-col-spacer { flex: 1 1 auto; min-height: 16px; }+.welcome-col .welcome-cta { margin-top: 4px; }+@media (max-width: 620px) {+ .welcome-cards { grid-template-columns: 1fr; }+ .welcome-wide { padding: 30px 20px 24px; }+}+.welcome-badge::after {+ content: ""; position: absolute; top: -30%; left: 0; width: 40%; height: 160%;+ background: linear-gradient(90deg, transparent, rgba(40,90,255,.1), transparent);+ animation: welcomeShine 3.6s ease-in-out 0.8s infinite;+}+.welcome-eyebrow {+ display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 11px;+ border-radius: 999px; background: rgba(40,90,255,.1); color: var(--accent);+ font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;+}+.welcome-eyebrow iconify-icon { font-size: 13px; }+.welcome-title { margin: 0; font-size: 23px; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); font-weight: 700; }+.welcome-title b { color: var(--accent); font-weight: 700; }+.welcome-sub { margin: 9px auto 0; max-width: 300px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }+.welcome-body { padding: 18px 24px 22px; }+.welcome-benefits { display: grid; gap: 11px; margin: 0 0 20px; }+.welcome-benefit { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--ink); line-height: 1.4; }+.welcome-benefit .wb-ic {+ flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center;+ border-radius: 7px; background: var(--green-soft); color: var(--green); font-size: 14px;+}+.welcome-benefit b { font-weight: 650; }+.welcome-benefit span { color: var(--muted); }+.welcome-actions { display: flex; flex-direction: column; gap: 8px; }+.welcome-cta {+ width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;+ border: 0; border-radius: 12px; cursor: pointer; font-size: 14.5px; font-weight: 650; color: #fff;+ background: linear-gradient(135deg, #3f6bff 0%, #285aff 60%, #1f4ae6 100%);+ box-shadow: 0 8px 20px -6px rgba(40,90,255,.55), inset 0 1px 0 rgba(255,255,255,.28);+ transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;+}+.welcome-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(40,90,255,.62); filter: brightness(1.03); }+.welcome-cta:active:not(:disabled) { transform: translateY(0); }+.welcome-cta:disabled { cursor: default; opacity: .6; }+.welcome-later {+ width: 100%; min-height: 38px; border: 0; background: transparent; cursor: pointer;+ color: var(--muted); font-size: 13px; font-weight: 500; border-radius: 10px; transition: color .12s, background .12s;+}+.welcome-later:hover:not(:disabled) { color: var(--ink); background: var(--surface-subtle); }+.welcome-trust {+ display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px;+ color: var(--faint); font-size: 11.5px;+}+.welcome-trust iconify-icon { font-size: 13px; }++/* ── Welcome-credits banner (billing page) — premium activation strip ────────────── */+.welcome-banner {+ position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px;+ margin-bottom: 18px; padding: 20px 22px; border-radius: 16px;+ border: 1px solid rgba(40,90,255,.16);+ background:+ radial-gradient(120% 200% at 0% 0%, rgba(40,90,255,.09), rgba(40,90,255,0) 42%),+ linear-gradient(180deg, #f6f8ff 0%, var(--surface) 70%);+ box-shadow: 0 1px 2px rgba(20,20,30,.03), 0 14px 32px -18px rgba(30,50,120,.28);+}+.welcome-banner-badge {+ flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; color: #fff;+ border-radius: 15px; background: linear-gradient(140deg, #4c78ff 0%, #285aff 55%, #1b3fd8 100%);+ box-shadow: 0 8px 18px -6px rgba(40,90,255,.55), inset 0 1px 0 rgba(255,255,255,.35);+}+.welcome-banner-badge iconify-icon { font-size: 25px; }+.welcome-banner-main { flex: 1 1 auto; min-width: 0; }+.welcome-banner-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }+.welcome-banner-eyebrow {+ padding: 3px 9px; border-radius: 999px; background: rgba(40,90,255,.1); color: var(--accent);+ font-size: 10.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;+}+.welcome-banner-title { margin: 0; font-size: 17px; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }+.welcome-banner-title b { color: var(--accent); }+.welcome-banner-sub { margin: 6px 0 0; max-width: 640px; color: var(--muted); font-size: 13px; line-height: 1.5; }+.welcome-banner-sub b { color: var(--ink); font-weight: 600; }+.welcome-banner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }+.welcome-chip {+ display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;+ border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 550;+}+.welcome-chip iconify-icon { font-size: 13px; color: var(--accent); }+.welcome-banner-cta {+ flex: 0 0 auto; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px;+ border: 0; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 650; color: #fff; white-space: nowrap;+ background: linear-gradient(135deg, #3f6bff 0%, #285aff 60%, #1f4ae6 100%);+ box-shadow: 0 8px 20px -6px rgba(40,90,255,.5), inset 0 1px 0 rgba(255,255,255,.28);+ transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;+}+.welcome-banner-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(40,90,255,.6); filter: brightness(1.03); }+.welcome-banner-cta:disabled { cursor: default; opacity: .6; }+@media (max-width: 640px) {+ .welcome-banner { flex-direction: column; align-items: flex-start; }+ .welcome-banner-cta { width: 100%; justify-content: center; }+}++/* ── Saved payment-method indicator (billing top slot) ──────────────────────────── */+.pay-card-row { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }+.pay-card {+ flex: 0 0 auto; width: 300px; height: 174px; position: relative; padding: 20px;+ border-radius: 15px; color: rgba(255,255,255,.92); overflow: hidden;+ background: linear-gradient(145deg, #9a9aa3 0%, #7c7c85 40%, #5f5f68 100%);+ box-shadow: 0 14px 30px -12px rgba(30,30,40,.5), inset 0 1px 0 rgba(255,255,255,.18);+}+.pay-card::before {+ content: ""; position: absolute; inset: 0;+ background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.14), transparent 55%);+}+.pay-card-chip {+ width: 40px; height: 30px; border-radius: 6px;+ background: linear-gradient(135deg, #f4d27a 0%, #d9ad4f 60%, #c79a3c 100%);+ box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);+}+.pay-card-chip::after {+ content: ""; display: block; margin: 9px auto 0; width: 24px; height: 12px; border-radius: 3px;+ border: 1px solid rgba(0,0,0,.22);+}+.pay-card-number {+ position: absolute; left: 20px; right: 20px; top: 88px;+ font-family: "SFMono-Regular", ui-monospace, Menlo, monospace; font-size: 17px; letter-spacing: 2px;+}+.pay-card-foot {+ position: absolute; left: 20px; right: 20px; bottom: 18px;+ display: flex; align-items: flex-end; justify-content: space-between;+ font-family: "SFMono-Regular", ui-monospace, Menlo, monospace; font-size: 14px; letter-spacing: 1px;+}+.pay-card-exp { text-align: right; line-height: 1.3; }+.pay-card-exp em { display: block; font-style: normal; font-size: 8.5px; letter-spacing: .12em;+ text-transform: uppercase; opacity: .8; font-family: var(--font); }+.pay-card-meta { flex: 1 1 240px; min-width: 220px; display: flex; align-items: flex-end; }+.pay-card-update:disabled { cursor: default; opacity: .6; }++ .harness-runtime-logo { display: flex; align-items: center; gap: 9px; }+ /* name on row 1, model on row 2 (the outer flex is logo | text-stack) */+ .harness-runtime-logo > div { display: grid; gap: 3px; min-width: 0; }+ .harness-runtime-logo strong, .harness-runtime-logo span { display: block; }++ /* ── Integrations console (token-provider routing) ─────────────────────────── */+ .itg-table { width: 100%; }+ .itg-table td { vertical-align: middle; }+ .itg-models { color: var(--muted); font-size: 12.5px; }+ .itg-row-actions { text-align: right; width: 90px; }+ .itg-section-head { margin: 34px 0 12px; }+ .itg-section-head h2 { font-size: 18px; margin: 0 0 4px; }+ .itg-section-head p { color: var(--muted); font-size: 13px; margin: 0; }+ .itg-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--green);+ font-size: 13px; font-weight: 600; margin-bottom: 10px; }+ /* mapping table: pin the two content columns so header, rows, and the add-row align */+ .itg-map-table { table-layout: fixed; }+ .itg-map-table th:nth-child(1), .itg-map-table td:nth-child(1) { width: 300px; }+ .itg-map-table th:nth-child(2), .itg-map-table td:nth-child(2) { width: 300px; }+ .itg-map-table .select { width: 100%; max-width: 260px; }+ .itg-addmap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 4px 0; }+ .itg-addmap .select { width: 260px; }+ .itg-panel { max-width: 560px; }+ .itg-provider-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }+ .itg-provider { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px;+ background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }+ .itg-provider.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }+ .itg-provider:disabled { opacity: .55; cursor: default; }+ .itg-sublabel { font-size: 12px; color: var(--muted); }+ .itg-modelgrid { display: grid; gap: 8px; }+ .itg-modelrow { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1.4fr) auto;+ gap: 8px; align-items: center; }+ .itg-modelrow input { min-width: 0; }+ .itg-arrow { color: var(--faint); }+ .button.danger-ghost { color: var(--red); border-color: transparent; background: transparent; }+ .button.danger-ghost:hover { background: var(--red-soft); border-color: var(--red-soft); }+ @media (max-width: 760px) {+ .itg-desktop-col { display: none; }+ .itg-modelrow { grid-template-columns: minmax(0,1fr) auto; }+ .itg-modelrow .itg-arrow { display: none; }+ .itg-addmap .select { width: 100%; }+ .itg-map-table th:nth-child(1), .itg-map-table td:nth-child(1),+ .itg-map-table th:nth-child(2), .itg-map-table td:nth-child(2) { width: auto; }+ .itg-map-table .select { max-width: none; }+ }++ /* welcome popup — plan picker */+ .welcome-plans { display: grid; gap: 8px; margin-bottom: 14px; }+ .welcome-plan { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto;+ gap: 2px 10px; text-align: left; padding: 11px 14px; border: 1px solid var(--line);+ border-radius: 10px; background: var(--surface); cursor: pointer; font-family: inherit; }+ .welcome-plan.on { border-color: var(--accent); background: var(--accent-soft); }+ /* explicit placement: name + credits stack LEFT, price pinned RIGHT (auto-placement put+ the row-spanning price in column 1, right-aligning the text stack) */+ .welcome-plan .wp-name { grid-column: 1; grid-row: 1; justify-self: start;+ font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }+ .welcome-plan .wp-name em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--accent);+ background: #fff; border: 1px solid var(--accent-soft); padding: 1px 7px; border-radius: 999px; }+ .welcome-plan .wp-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end;+ font-size: 16px; font-weight: 800; }+ .welcome-plan .wp-price small { font-size: 11px; font-weight: 600; color: var(--muted); }+ .welcome-plan .wp-credits { grid-column: 1; grid-row: 2; justify-self: start;+ font-size: 12px; color: var(--muted); }++ /* invite-a-friend popup */+ .invite-linkrow { display: flex; gap: 8px; margin-bottom: 14px; }+ .invite-linkrow input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line);+ border-radius: 9px; background: var(--surface-subtle); color: var(--ink); font-size: 12.5px; }+ .invite-copy { flex: 0 0 auto; width: auto !important; padding: 0 16px; }diff --git a/ui/src/app/share/[token]/page.tsx b/ui/src/app/share/[token]/page.tsxnew file mode 100644index 00000000..972d57f1--- /dev/null+++ b/ui/src/app/share/[token]/page.tsx@@ -0,0 +1,138 @@+'use client';+// PUBLIC read-only Task view (session share). No auth: the unguessable token is the credential;+// the gateway serves it only while sharing is enabled. Shows the conversation (user/assistant+// turns, markdown-rendered) and every workspace artifact, files open inline via the public+// share file route, so html pages render in the browser with their relative assets loading.+import '@/app/revamp.css';+import 'iconify-icon'; // registers the web component, this page renders outside the app Shell+import { useEffect, useMemo, useState } from 'react';+import { useParams } from 'next/navigation';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';+import { FileTypeIcon } from '@/components/FileTypeIcon';++interface ShareMeta { session_id?: string; title?: string; status?: string; model?: string;+ backend?: string; harness_id?: string; harness_name?: string; event_count?: number; elapsed?: number; finished_at?: number }+interface ShareTurn { id: string; status?: string; user?: string; assistant?: string;+ tools?: { name?: string; arguments?: string }[]; files?: { filename?: string }[] }+interface ShareFile { path: string; bytes?: number; media_type?: string }++function fmtDur(s?: number): string {+ if (!s) return '';+ const m = Math.floor(s / 60), sec = Math.round(s % 60);+ return m ? `${m}m ${String(sec).padStart(2, '0')}s` : `${sec}s`;+}+function fmtBytes(n?: number): string {+ if (n == null) return '';+ return n < 1024 ? `${n} B` : n < 1048576 ? `${(n / 1024).toFixed(1)} KB` : `${(n / 1048576).toFixed(1)} MB`;+}++export default function SharePage() {+ const params = useParams<{ token: string }>();+ const token = params.token || '';+ const [meta, setMeta] = useState<ShareMeta | null>(null);+ const [turns, setTurns] = useState<ShareTurn[] | null>(null);+ const [files, setFiles] = useState<ShareFile[] | null>(null);+ const [gone, setGone] = useState(false);++ useEffect(() => {+ if (!token) return;+ let alive = true;+ fetch(`/api/share/${encodeURIComponent(token)}/meta`, { cache: 'no-store' })+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(String(r.status)))))+ .then((d) => { if (alive) setMeta(d); })+ .catch(() => { if (alive) setGone(true); });+ fetch(`/api/share/${encodeURIComponent(token)}/turns`, { cache: 'no-store' })+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(String(r.status)))))+ .then((d) => { if (alive) setTurns(d.turns || []); })+ .catch(() => { if (alive) setTurns([]); });+ fetch(`/api/share/${encodeURIComponent(token)}/files`, { cache: 'no-store' })+ .then((r) => (r.ok ? r.json() : Promise.reject(new Error(String(r.status)))))+ .then((d) => { if (alive) setFiles(d.files || []); })+ .catch(() => { if (alive) setFiles([]); });+ return () => { alive = false; };+ }, [token]);++ // Canonical artifact address: /{harness}/{session}/workspace/{path} (single cached+ // shared-flag check server-side). Token route stays as the fallback while meta loads.+ const fileUrl = useMemo(() => (path: string) => {+ const enc = path.split('/').map(encodeURIComponent).join('/');+ if (meta?.harness_id && meta?.session_id)+ return `/${encodeURIComponent(meta.harness_id)}/${encodeURIComponent(meta.session_id)}/workspace/${enc}`;+ return `/api/share/${encodeURIComponent(token)}/f/${enc}`;+ }, [token, meta]);++ if (gone) {+ return (+ <main style={{ marginLeft: 0, height: '100vh', overflowY: 'auto' }}>+ <div className="page" style={{ maxWidth: 720 }}>+ <div className="page-header"><div><h1>This shared Task is unavailable</h1>+ <p>The link may have been revoked by its owner, or it never existed.</p></div></div>+ </div>+ </main>+ );+ }++ return (+ // The app chrome locks body scroll (main is the app's scroll surface). This page has no+ // sidebar, so main must be its OWN full-height scroll container or the page can't scroll.+ <main style={{ marginLeft: 0, height: '100vh', overflowY: 'auto' }}>+ <div className="page share-page" style={{ maxWidth: 860 }}>+ <div className="page-header">+ <div>+ <p className="share-brand"><img src="/harnessrouter-logo.svg" alt="" width={20} height={20} /> Shared from <strong>HarnessRouter</strong></p>+ <h1 style={{ fontSize: 24 }}>{meta?.title || 'Shared Task'}</h1>+ <div className="share-meta">+ {meta?.harness_name && <span className="share-tag"><iconify-icon icon="tabler:route"></iconify-icon>{meta.harness_name}</span>}+ {meta?.model && <span className="share-tag"><iconify-icon icon="tabler:box"></iconify-icon>{meta.model}</span>}+ {!!meta?.event_count && <span className="share-tag"><iconify-icon icon="tabler:list-tree"></iconify-icon>{meta.event_count} events</span>}+ {!!meta?.elapsed && <span className="share-tag"><iconify-icon icon="tabler:clock"></iconify-icon>{fmtDur(meta.elapsed)}</span>}+ {!meta && <span className="sk" style={{ display: 'inline-block', width: 220, height: 22, borderRadius: 999 }} />}+ </div>+ </div>+ </div>++ <div className="share-conv">+ {turns === null && <span className="sk" style={{ display: 'block', height: 120, borderRadius: 10 }} />}+ {turns?.map((t) => (+ <div key={t.id} className="share-turn">+ {t.user && <div className="share-user"><div className="share-user-bubble">{t.user}</div></div>}+ {t.assistant && (+ <div className="share-asst">+ <ReactMarkdown remarkPlugins={[remarkGfm]}>{t.assistant}</ReactMarkdown>+ </div>+ )}+ </div>+ ))}+ {turns && turns.length === 0 && <div className="session-empty">No conversation content.</div>}+ </div>++ <div className="section-header" style={{ marginTop: 26 }}><h2>Artifacts</h2>+ <span>{files ? `${files.length} file${files.length === 1 ? '' : 's'}` : ''}</span></div>+ {/* Same cards as the chat panel's outputs, except clicking opens the file in a new tab+ (there is no preview side panel on the public page). */}+ <div className="wbx-files" style={{ maxWidth: 'none' }}>+ {(files || []).map((f) => (+ <div key={f.path} className="wbx-filecard" role="link" tabIndex={0}+ onClick={() => window.open(fileUrl(f.path), '_blank', 'noopener')}+ onKeyDown={(e) => { if (e.key === 'Enter') window.open(fileUrl(f.path), '_blank', 'noopener'); }}>+ <span className="wbx-filecard-ic"><FileTypeIcon name={f.path} size={32} /></span>+ <span className="wbx-filecard-meta">+ <span className="wbx-filecard-name">{f.path}</span>+ <span className="wbx-filecard-sub">{(f.path.split('.').pop() || 'file').toUpperCase()} · output{f.bytes != null ? ` · ${fmtBytes(f.bytes)}` : ''}</span>+ </span>+ <a className="wbx-filecard-dl" href={fileUrl(f.path)} download={f.path.split('/').pop()} target="_blank" rel="noreferrer"+ title="Download" onClick={(e) => e.stopPropagation()}>+ <iconify-icon icon="tabler:download"></iconify-icon></a>+ <span className="wbx-filecard-open">Open</span>+ </div>+ ))}+ {files && files.length === 0 && <p style={{ color: 'var(--muted)', fontSize: 13 }}>No artifacts in this Task.</p>}+ </div>+ <p style={{ color: 'var(--faint)', fontSize: 12, marginTop: 14 }}>+ Shared read-only. The owner can revoke this link at any time.+ </p>+ </div>+ </main>+ );+}diff --git a/ui/src/app/tasks/page.tsx b/ui/src/app/tasks/page.tsxdeleted file mode 100644index 10f40ddc..00000000--- a/ui/src/app/tasks/page.tsx+++ /dev/null@@ -1,155 +0,0 @@-'use client';--import { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';-import { useSearchParams } from 'next/navigation';-import {- ChatMessages, Composer, TaskList, createConversationStore, pumpResponsesStream, useDialog,-} from 'reifyui';-import {- cancelTask, deleteTask, listHarnesses, listTasks, loadTurns, streamTurn,- type Harness, type TaskCard,-} from '@/lib/api';--function TasksInner() {- const params = useSearchParams();- const dialog = useDialog();- const [harnesses, setHarnesses] = useState<Harness[]>([]);- const [harnessId, setHarnessId] = useState(params.get('h') || '');- const [sid, setSid] = useState<string | null>(null);- const [nonce, setNonce] = useState(0);- const [busy, setBusy] = useState(false);- const [err, setErr] = useState('');-- // One conversation store per session id. ReifyUI owns the block state machine; we only feed- // it the stream and re-render when it changes.- const store = useMemo(() => createConversationStore(), []);- const [, force] = useState(0);- useEffect(() => store.subscribe(() => force((n) => n + 1)), [store]);-- useEffect(() => {- listHarnesses().then((hs) => {- setHarnesses(hs);- setHarnessId((cur) => cur || hs[0]?.id || '');- }).catch((e) => setErr(String(e.message || e)));- }, []);-- // Load an existing conversation when a task is selected.- useEffect(() => {- if (!sid) { store.setState({ blocks: [], turns: [] }); return; }- loadTurns(sid)- .then((turns) => store.setState({ turns, blocks: [] }))- .catch(() => setErr('could not load this task'));- }, [sid, store]);-- const fetchPage = useCallback(- (cursor: string) => listTasks(harnessId, cursor),- [harnessId],- );-- const send = async (text: string) => {- if (!text.trim() || !harnessId) return;- setBusy(true); setErr('');- try {- const res = await streamTurn({- model: harnesses.find((h) => h.id === harnessId)?.defaultModel,- input: text,- metadata: { harness_id: harnessId },- ...(sid ? { session_hint: sid } : {}),- });- if (!res.ok) throw new Error(`turn failed (${res.status})`);- const newSid = res.headers.get('x-harness-session');- if (newSid && newSid !== sid) setSid(newSid);- await pumpResponsesStream({ response: res, store });- } catch (e) {- setErr(String((e as Error).message || e));- } finally {- setBusy(false);- setNonce((n) => n + 1); // refresh the list so the new/updated task appears- }- };-- const stop = async () => {- if (!sid) return;- try { await cancelTask(sid); } catch { /* the turn may have just finished */ }- setNonce((n) => n + 1);- };-- const removeTask = async (t: TaskCard) => {- const ok = await dialog.confirm({- title: 'Delete this task?',- message: `"${t.title || 'Untitled task'}" and its conversation will be removed. This cannot be undone.`,- destructive: true,- confirmLabel: 'Delete',- });- if (!ok) return;- try {- await deleteTask(t.session_id);- if (t.session_id === sid) setSid(null);- setNonce((n) => n + 1);- } catch (e) {- setErr(String((e as Error).message || e));- }- };-- const harnessSelect = (- <select className="select" value={harnessId}- onChange={(e) => { setHarnessId(e.target.value); setSid(null); }}>- {harnesses.length === 0 ? <option value="">No harnesses yet</option> : null}- {harnesses.map((h) => <option key={h.id} value={h.id}>{h.name}</option>)}- </select>- );-- return (- <div className="task-split">- <div className="task-list-pane">- <TaskList- fetchPage={fetchPage}- selected={sid}- onSelect={(id: string) => setSid(id)}- onNew={() => setSid(null)}- onDelete={removeTask}- header={harnessSelect}- refreshNonce={nonce}- idKey="session_id"- newLabel="New task"- emptyLabel="No tasks on this harness yet"- />- </div>-- <div className="task-detail">- <div className="task-detail-head">- <strong style={{ fontSize: 13 }}>{sid ? 'Task' : 'New task'}</strong>- <div className="spacer" />- {busy ? <button className="btn" onClick={stop}>Stop</button> : null}- </div>-- {err ? <div style={{ padding: '10px 18px' }}><div className="banner banner-err">{err}</div></div> : null}-- <div className="task-msgs">- {harnesses.length === 0 ? (- <div className="empty">Create a harness first — a task runs on one.</div>- ) : (- <ChatMessages store={store} />- )}- </div>-- <div className="task-composer">- <Composer- onSend={send}- disabled={!harnessId || busy}- placeholder={harnessId ? 'Describe the task…' : 'Create a harness first'}- />- </div>- </div>- </div>- );-}--export default function TasksPage() {- // useSearchParams needs a Suspense boundary under the app router.- return (- <Suspense fallback={<div className="empty">Loading…</div>}>- <TasksInner />- </Suspense>- );-}diff --git a/ui/src/app/verify/page.tsx b/ui/src/app/verify/page.tsxnew file mode 100644index 00000000..6bc3e8c9--- /dev/null+++ b/ui/src/app/verify/page.tsx@@ -0,0 +1,82 @@+'use client';+// Email-verification landing: consumes the emailed token, which flips the account verified AND+// signs the user in (the link doubles as first login). Mirrors /reset's structure.+import { Suspense, useEffect, useRef, useState } from 'react';+import { useSearchParams } from 'next/navigation';+import { switchOrg, verifyEmail, type Org, type Session } from '@/lib/auth';++function hrSubscribed(orgs: Org[]): Org[] {+ return (orgs || []).filter((o) => (o as { hr_subscribed?: unknown }).hr_subscribed === '1');+}++function VerifyInner() {+ const token = useSearchParams().get('token') || '';+ const [err, setErr] = useState('');+ const [busy, setBusy] = useState(true);+ const [choices, setChoices] = useState<Org[] | null>(null);+ const ran = useRef(false);++ async function enter(orgId: string) {+ await switchOrg(orgId);+ window.location.assign('/quickstart'); // fresh account -> start at Quickstart+ }+ async function afterAuth(s: Session) {+ const orgs = hrSubscribed(s.orgs);+ if (orgs.length === 1) await enter(orgs[0].id);+ else if (orgs.length > 1) { setChoices(orgs); setBusy(false); }+ else window.location.assign('/login');+ }+ useEffect(() => {+ if (!token || ran.current) { setBusy(false); return; }+ ran.current = true; // strict-mode double-invoke guard+ verifyEmail(token).then(afterAuth).catch((ex) => {+ setErr(ex instanceof Error ? ex.message : 'Verification failed');+ setBusy(false);+ });+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [token]);++ return (+ <div className="hr-auth">+ <div className="hr-auth-card">+ {/* eslint-disable-next-line @next/next/no-img-element -- static brand asset */}+ <a className="hr-brand" href="https://harnessrouter.ai"><img className="hr-brand-logo" src="/harnessrouter-wordmark.png" alt="HarnessRouter" /></a>+ {choices ? (+ <>+ <h1 style={{ marginTop: 14 }}>Choose workspace</h1>+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8, marginTop: 8 }}>+ {choices.map((o) => (+ <button key={o.id} type="button" className="hr-btn" style={{ width: '100%', justifyContent: 'flex-start' }}+ onClick={() => { enter(o.id).catch(() => undefined); }}>+ {(o.name as string) || o.id}+ </button>+ ))}+ </div>+ </>+ ) : !token ? (+ <>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>Verify email</h1>+ <div className="hr-err">This verification link is missing its token. Use the link from your email, or request a new one from the sign-in page.</div>+ <a className="hr-btn primary" style={{ width: '100%', marginTop: 14, textAlign: 'center' }} href="/login">Back to sign in</a>+ </>+ ) : busy ? (+ <>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>Verifying…</h1>+ <p className="sub">Confirming your email address.</p>+ </>+ ) : err ? (+ <>+ <h1 style={{ marginTop: 14, marginBottom: 4 }}>Verify email</h1>+ <div className="hr-err">{err}</div>+ <p className="sub" style={{ marginTop: 10 }}>The link may have expired (valid for 24 hours). Sign in to request a fresh one.</p>+ <a className="hr-btn primary" style={{ width: '100%', marginTop: 14, textAlign: 'center' }} href="/login">Back to sign in</a>+ </>+ ) : null}+ </div>+ </div>+ );+}++export default function VerifyPage() {+ return <Suspense fallback={null}><VerifyInner /></Suspense>;+}diff --git a/ui/src/components/ApiReference.tsx b/ui/src/components/ApiReference.tsxnew file mode 100644index 00000000..4ba87959--- /dev/null+++ b/ui/src/components/ApiReference.tsx@@ -0,0 +1,385 @@+'use client';+// The full HarnessRouter API reference, rendered with the premiere apidoc components+// (method chips, param tables, syntax-highlighted code cards). Lives on the AGENTS.md+// page; the old per-harness workbench Integrate tab was merged into this and removed.+// Pass harnessId/additionalHeaders to scope the examples to one harness; omit them for+// the generic {harness_id} form.+import React, { useState } from 'react';+import { PrismAsync as SyntaxHL } from 'react-syntax-highlighter';+import oneLightTheme from 'react-syntax-highlighter/dist/esm/styles/prism/one-light';++export function CodeBlock({ code, lang = 'bash' }: { code: string; lang?: string }) {+ const [copied, setCopied] = useState(false);+ const label = lang === 'bash' || lang === 'sh' ? 'cURL' : lang === 'json' ? 'JSON'+ : lang === 'python' ? 'Python' : lang === 'javascript' || lang === 'js' ? 'Node' : lang.toUpperCase();+ return (+ <div className="apidoc-code">+ <div className="apidoc-code-head">+ <span className="apidoc-code-lang">{label}</span>+ <button className="apidoc-code-copy" onClick={() => { navigator.clipboard?.writeText(code); setCopied(true); setTimeout(() => setCopied(false), 1200); }}>{copied ? 'Copied' : 'Copy'}</button>+ </div>+ <SyntaxHL language={lang} style={oneLightTheme}+ customStyle={{ margin: 0, padding: '14px 16px', background: 'transparent', fontSize: 12.5, lineHeight: 1.6, whiteSpace: 'pre', overflowX: 'auto' }}+ codeTagProps={{ style: { fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace', color: '#383A42' } }}>{code}</SyntaxHL>+ </div>+ );+}++function Param({ name, type, req, children }: { name: string; type: string; req?: boolean; children: React.ReactNode }) {+ return (+ <tr>+ <td><code>{name}</code></td>+ <td className="apidoc-ty">{type}</td>+ <td>{req ? <span className="apidoc-req">required</span> : <span className="apidoc-opt">optional</span>}</td>+ <td>{children}</td>+ </tr>+ );+}+function ParamTable({ children }: { children: React.ReactNode }) {+ return (+ <table className="apidoc-tbl"><thead><tr><th>Field</th><th>Type</th><th></th><th>Description</th></tr></thead>+ <tbody>{children}</tbody></table>+ );+}+function Endpoint({ method, path, children }: { method: string; path: string; children: React.ReactNode }) {+ return (+ <section className="apidoc-ep">+ <div className="apidoc-ep-head"><span className={'apidoc-m apidoc-m-' + method.toLowerCase()}>{method}</span><code className="apidoc-path">{path}</code></div>+ {children}+ </section>+ );+}++export function ApiReference({ harnessId, additionalHeaders, model: modelIn }: {+ harnessId?: string; additionalHeaders?: string[]; model?: string;+}) {+ const addHdrs = (additionalHeaders || []).filter(Boolean);+ const hid = harnessId || '{harness_id}';+ const apiBase = `https://api.harnessrouter.ai/${hid}/v1`; // task runs (per-agent)+ const mgmtBase = 'https://api.harnessrouter.ai/v1'; // everything else+ const model = modelIn || 'gpt-5.5';++ return (+ <div className="apidoc">+ <h2>API reference</h2>+ <p className="hr-meta" style={{ maxWidth: 760 }}>+ HarnessRouter speaks the <b>OpenAI Responses API</b>. Point any OpenAI SDK's base URL at your+ harness endpoint and it works unmodified, streaming, multi-turn chaining, and file in/out. The+ model field selects the paired LLM; the harness itself is the path.+ </p>++ <div className="apidoc-kv">+ <div><span className="apidoc-kv-k">Task base URL</span><code>{apiBase}</code></div>+ <div><span className="apidoc-kv-k">Management base URL</span><code>{mgmtBase}</code></div>+ <div><span className="apidoc-kv-k">Auth</span><code>Authorization: Bearer <HARNESSROUTER_API_KEY></code></div>+ <div><span className="apidoc-kv-k">Content type</span><code>application/json</code></div>+ </div>++ <h3 className="apidoc-h3">Authentication</h3>+ <p className="hr-meta">Every request carries a per-org API key (mint one under API Keys) as a Bearer+ token. Keys are scoped to your organization; the harness is chosen by the path, the LLM by the+ model field. Task runs use the per-agent form <code>/{'{harness_id}'}/v1/…</code>; management+ routes (harness CRUD, secrets, sessions) are plain <code>/v1/…</code>. Wire all of this behind a+ server route in your product so the key stays on the server, then surface the answer and file+ download links in your UI.</p>+ <CodeBlock lang="bash" code={`curl ${apiBase}/responses \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY" \\+ -H "Content-Type: application/json" \\+${addHdrs.map((h) => ` -H "${h}: <value>" \\\n`).join('')} -d '{ "model": "${model}", "input": "Summarize this contract." }'`} />++ <h3 className="apidoc-h3">Additional headers (app-level auth)</h3>+ <p className="hr-meta">+ A harness can declare custom request headers your product sends on every call, typically a+ per-user JWT. At task start their values are injected into the harness's tool connections+ (referenced in the MCP config as <code>$headers.{Name}</code>), so each task acts with+ your end user's authority. Values live for one turn only and are never stored. A request+ that omits a header referenced by an enabled tool connection fails fast with a 400 naming the+ missing header. Declare the names in the harness config (Config & Preview, Additional+ Headers) or via <code>additional_headers</code> on the harness API.+ </p>+ {addHdrs.length > 0 && (+ <div className="apidoc-kv">+ {addHdrs.map((h) => (+ <div key={h}><span className="apidoc-kv-k">{h}</span><code>{'$headers.' + h}</code></div>+ ))}+ </div>+ )}++ {/* ── Run a task ──────────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Run a task</h3>+ <Endpoint method="POST" path="/{harness_id}/v1/responses">+ <p className="hr-meta">Run one turn of a harness. Returns a response object, or a stream of+ Server-Sent Events when stream is true. Chain turns with previous_response_id.</p>+ <div className="apidoc-sub">Request body</div>+ <ParamTable>+ <Param name="model" type="string" req>The underlying LLM to run this harness on (e.g. <code>{model}</code>, <code>claude-opus-4.8</code>). The harness itself is selected by the <code>{'{harness_id}'}</code> path segment, not here.</Param>+ <Param name="input" type="string | array" req>The user message, or an array of input items (<code>input_text</code>, <code>input_file</code>, <code>input_image</code>).</Param>+ <Param name="stream" type="boolean">Stream the answer as SSE events as they are produced (recommended for anything over a minute; keepalives flow every ~15s). Default <code>false</code>.</Param>+ <Param name="store" type="boolean">Persist the response so it can be retrieved / chained. Default <code>true</code>.</Param>+ <Param name="previous_response_id" type="string">Continue a prior turn, the server reconstructs the full context.</Param>+ <Param name="instructions" type="string">System/developer instructions prepended to this turn (first turn only).</Param>+ <Param name="metadata" type="object">Up to 16 key/value string pairs attached to the response. <code>metadata.session_id</code> doubles as a continuation fallback (send it together with <code>previous_response_id</code>).</Param>+ <Param name="max_step" type="integer">Per-request override of the agent's step budget (harness default, else 400).</Param>+ <Param name="timeout_seconds" type="integer">Per-request override of the per-task wall-clock cap (harness default, else 1800).</Param>+ </ParamTable>+ <div className="apidoc-sub">Response (200)</div>+ <CodeBlock lang="json" code={`{+ "id": "resp_8f1c…",+ "object": "response",+ "created_at": 1782154510,+ "status": "completed",+ "model": "${model}",+ "output": [+ { "type": "message", "role": "assistant",+ "content": [ { "type": "output_text", "text": "…" } ] }+ ],+ "usage": { "input_tokens": 412, "output_tokens": 88, "total_tokens": 500 },+ "metadata": { "session_id": "hsn_…" },+ "previous_response_id": null+}`} />+ <p className="hr-meta"><code>output[]</code> is the FULL transcript, tool items first, then the+ answer. Filter for <code>type === "message"</code> and read its <code>output_text</code> blocks;+ never render <code>output[0]</code> blindly. Files the agent produced appear on those text blocks+ as <code>container_file_citation</code> annotations, each with a ready-to-use+ <code> download_url</code>. Save <code>metadata.session_id</code>, it identifies the agent's+ working folder.</p>+ <div className="apidoc-sub">Streaming (SSE)</div>+ <p className="hr-meta">With stream enabled the body is a <span className="apidoc-tok">text/event-stream</span> in+ the OpenAI Responses style: <b><code>data:</code>-only frames, no <code>event:</code> lines</b>, the event name+ is the <code>type</code> field inside the JSON. Dispatch on <code>data.type</code> (a parser keyed on the SSE+ event name sees every frame as <code>message</code> and matches nothing), and ignore unknown types, the set is+ open. A real first frame:</p>+ <CodeBlock lang="text" code={`data: {"type": "response.created", "sequence_number": 0, "response": {"id": "resp_…", "status": "in_progress", "metadata": {"session_id": "hsess…"}, …}}`} />+ <p className="hr-meta">Recovery identifiers are <b>nested</b>: <code>data.response.id</code> and+ <code> data.response.metadata.session_id</code>, save both the moment <code>response.created</code> arrives.</p>+ <CodeBlock lang="text" code={`response.created # save response.id + response.metadata.session_id NOW+response.output_text.delta+response.reasoning_summary_text.delta+response.output_item.added+response.function_call_arguments.done+response.output_text.annotation.added # container file citations+response.completed | response.failed | response.incomplete # terminal`} />+ <p className="hr-meta">If the stream drops mid-run, the task is still running, recover instead+ of retrying: poll <code>GET /v1/sessions/{session_id}</code> until <code>status</code> is+ terminal, then read the answer from <code>/turns</code> and outputs from+ <code> /files?changed=true</code>. Only re-POST (same <code>Idempotency-Key</code>) if the run+ never emitted <code>response.created</code>. <code>incomplete</code> is not failure, the agent+ hit its step/time budget; offer a Continue action that sends a follow-up with+ <code> previous_response_id</code>. Vocabulary trap: the session object reports SUCCESS as+ <code> status: "done"</code>, not <code>completed</code> (failure-side names match), so poll until+ <code> status</code> leaves <code>running</code>/<code>starting</code> and treat <code>done</code> as success.</p>+ <div className="apidoc-sub">Timing</div>+ <p className="hr-meta">A brand-new session normally starts within a few seconds (a pool of warm+ sandboxes is kept ready). Under a burst that drains the warm pool, a fresh sandbox can take 1-2+ minutes to spin up; the request waits and then runs, it never times out from this. Keep+ streaming on and treat "no first event yet" as startup, not failure. Follow-up turns on an+ existing session skip startup entirely.</p>+ <div className="apidoc-sub">Idempotency</div>+ <p className="hr-meta">Send an <code>Idempotency-Key</code> header (any unique string per logical+ request) to make retries safe: if a request with the same key is retried, after a network+ drop or a timeout, the gateway returns the <em>first</em> request's response instead of+ starting a second run. Reuse the same key only for retries of the same request; use a fresh+ key for each new one.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/responses/{response_id}">+ <p className="hr-meta">Retrieve a stored response by id.</p>+ <CodeBlock lang="bash" code={`curl ${mgmtBase}/responses/resp_8f1c… \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY"`} />+ </Endpoint>++ <Endpoint method="DELETE" path="/v1/responses/{response_id}">+ <p className="hr-meta">Delete a stored response. Returns <code>{`{ "id": "…", "deleted": true }`}</code>.</p>+ </Endpoint>++ <Endpoint method="POST" path="/v1/sessions/{session_id}/cancel">+ <p className="hr-meta">Hard-cancel the running turn: the agent process is killed inside the+ sandbox immediately, the turn is marked <code>cancelled</code>, and a terminal+ <code> response.failed</code> event (reason <code>cancelled</code>) is emitted to any open+ stream. Idempotent: safe to call twice, or when no turn is running (returns+ <code> {`"cancelled": false`}</code>). The session itself survives, send a new message to+ continue from the last completed state of the workspace. Wire your Stop button to this.</p>+ <CodeBlock lang="bash" code={`curl -X POST ${mgmtBase}/sessions/{session_id}/cancel \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY"+# -> { "session_id": "…", "status": "cancelled", "cancelled": true, "runner_killed": true }`} />+ </Endpoint>++ {/* ── Files ───────────────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Files</h3>+ <Endpoint method="POST" path="/v1/files">+ <p className="hr-meta">Upload a file (multipart/form-data) to reference from <code>input_file</code> in a later turn.+ The file lands in the agent's working folder with its original name before the run starts.+ Returns <code>{`{ "id": "file_…", "filename": "…", "bytes": 12345 }`}</code>.</p>+ <CodeBlock lang="bash" code={`curl ${mgmtBase}/files \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY" \\+ -F purpose=input -F [email protected]`} />+ </Endpoint>++ <Endpoint method="GET" path="/v1/sessions/{session_id}/files">+ <p className="hr-meta">List the session workspace. Two views of the same working folder:+ the default is the FULL accumulated list (every user-visible file across all turns);+ <code> ?changed=true</code> returns only the files created or modified in the MOST RECENT turn+ (use it for "what this run produced"). Each entry carries <code>path</code>, <code>bytes</code>,+ <code> media_type</code>, <code>file_id</code>, <code>download_url</code>, snake_case, unlike harness+ records. <code>download_url</code> is an API-key-protected endpoint, <b>not</b> a pre-signed public+ link: fetch it server-side with the Bearer header and relay the bytes from your own authenticated+ route. <code>file_id</code> is opaque (<code>cfile_…</code>), the user-facing filename comes from+ <code> path</code> (sanitize to a basename for <code>Content-Disposition</code>).</p>+ <CodeBlock lang="bash" code={`curl ${mgmtBase}/sessions/{session_id}/files \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY"+curl "${mgmtBase}/sessions/{session_id}/files?changed=true" \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY"+# -> { "count": 2, "files": [ { "path": "report.docx", "bytes": 18244, "file_id": "…", "download_url": "…" } ] }`} />+ </Endpoint>++ <Endpoint method="GET" path="/v1/containers/{session_id}/files/{file_id}/content">+ <p className="hr-meta">Download any workspace file by <code>file_id</code>, from the files listing+ above, or from a <code>container_file_citation</code> annotation on a response. Returns the raw+ bytes with a <code>Content-Disposition</code> filename, so you can stream it straight to the+ user as a download.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/sessions/{session_id}/files/archive">+ <p className="hr-meta">Every artifact as ONE zip, with the workspace folder hierarchy preserved —+ each zip entry's path is the file's relative path (<code>slide_png/deck.png</code> stays in its+ folder). Scopes: default = the whole workspace; <code>?changed=true</code> = only the most recent+ turn's outputs; <code>?files=fid1,fid2</code> = exactly those file ids (one specific turn's+ citations). Responds <code>application/zip</code> with a <code>Content-Disposition</code> filename —+ wire "Download all" buttons straight to it. Workspaces over 512 MB return 413+ (download files individually).</p>+ <CodeBlock lang="bash" code={`curl -o files.zip "${mgmtBase}/sessions/{session_id}/files/archive?changed=true" \\+ -H "Authorization: Bearer $HARNESSROUTER_API_KEY"`} />+ </Endpoint>++ {/* ── Sessions ────────────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Sessions (task runs)</h3>+ <Endpoint method="GET" path="/v1/sessions?harness={id}&limit=20">+ <p className="hr-meta">Newest-first run cards: <code>session_id</code>, <code>title</code>,+ <code> status</code> (card vocabulary: <code>running</code> | <code>done</code> |+ <code> incomplete</code> | <code>failed</code> | <code>cancelled</code>, <code>done</code> here+ corresponds to <code>completed</code> on /responses), <code>model</code>, <code>elapsed</code>,+ <code> finished_at</code>, <code>last_response_id</code>. Build your "recent tasks" UI from+ this, no local storage needed. Ignore extra fields you don't recognize.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/sessions/{session_id}">+ <p className="hr-meta">One run's full state: status, timestamps, harness, last ids.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/sessions/{session_id}/turns">+ <p className="hr-meta">The full conversation (user + assistant per turn) for rendering history,+ plus <code>last_response_id</code> for continuation.</p>+ </Endpoint>++ {/* ── Manage agents ───────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Manage agents (harnesses)</h3>+ <Endpoint method="POST" path="/v1/harnesses">+ <p className="hr-meta">Create an agent. Returns the agent with its <code>id</code> (looks like+ <code> chrn_…</code>), that id is the task path segment.</p>+ <div className="apidoc-sub">Request body</div>+ <ParamTable>+ <Param name="name" type="string" req>Display name.</Param>+ <Param name="base" type="string" req><code>"codex"</code> | <code>"claude-code"</code>.</Param>+ <Param name="default_model" type="string">Model used when a run omits <code>model</code>.</Param>+ <Param name="system_prompt" type="string">The agent's instructions (written into its workspace as AGENTS.md / CLAUDE.md).</Param>+ <Param name="mcp_servers" type="array">Tool connections: <code>{`{name, url, auth?, enabled}`}</code>. For <code>auth</code>, pass a secrets ref (below) or a <code>$headers.{Name}</code> per-request reference.</Param>+ <Param name="skills" type="array"><code>{`{name, files:[{path, content|content_b64}]}`}</code>, a bundle MUST include a <code>SKILL.md</code>; invalid bundles are rejected with 400. Skills can be whole folders: <code>path</code> is the file's relative path inside the skill (nested layouts like <code>guides/SKILL.md</code> install as-is); the root <code>SKILL.md</code> needs YAML frontmatter (<code>name</code>, <code>description</code>). Bundles over ~48 KB are offloaded server-side and the saved agent returns that skill as <code>{`{name, enabled, blob}`}</code> with no <code>files</code>, normal; the folder still mounts into every run. On later updates pass such entries back unchanged; only include <code>files</code> when changing content.</Param>+ <Param name="disabled_tools" type="array">Inherited/built-in tool names to disable.</Param>+ <Param name="additional_headers" type="array">Header NAMES your product passes per request for app-level auth (see Additional headers above).</Param>+ <Param name="max_step" type="integer">Default agent step budget (default 400).</Param>+ <Param name="timeout_seconds" type="integer">Default per-task wall-clock cap (default 1800).</Param>+ </ParamTable>+ <p className="hr-meta">Casing note: request bodies are snake_case (<code>default_model</code>,+ <code> mcp_servers</code>, <code>max_step</code>); responses come back camelCase+ (<code>defaultModel</code>, <code>mcpServers</code>, <code>maxStep</code>). A <code>null</code>+ <code> maxStep</code>/<code>timeoutSeconds</code> means unset, server defaults apply at run time.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/harnesses">+ <p className="hr-meta">List every agent in the account.</p>+ </Endpoint>++ <Endpoint method="PUT" path="/v1/harnesses/{id}">+ <p className="hr-meta">Read (<code>GET</code>), update (<code>PUT</code>, same body as create), or+ delete (<code>DELETE</code>) one agent. PUT returns the stored canonical record.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/harnesses/{id}/skills/{name}/files">+ <p className="hr-meta">Read one skill's full files back (resolves the server-side offload of+ large bundles), for verification or editing. <code>{`{name}`}</code> matches the skill's+ <code> id</code> or <code>name</code>; returns <code>{`{ id, name, files: [{path, content|content_b64}] }`}</code>.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/models">+ <p className="hr-meta">The current model catalog per engine, each with its default. Build model+ pickers from this, don't hardcode model names. The map is keyed by <b>backend</b>, not+ base-harness name: base <code>claude-code</code> corresponds to the key <code>claude</code>. An+ empty-string <code>defaultModel</code> on a harness means the backend default applies.</p>+ </Endpoint>++ <Endpoint method="GET" path="/v1/harnesses/{id}/models">+ <p className="hr-meta">The models this agent may run, its default, and the fallback. A run+ requesting a model outside this set executes on the fallback, and the substitution is recorded+ in <code>response.metadata</code> (<code>requested_model</code>, <code>model_fallback</code>).</p>+ </Endpoint>++ {/* ── Rendering results ───────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Render results in your product</h3>+ <p className="hr-meta">Don't stop at download buttons. <code>download_url</code> serves bytes with+ <code> Content-Disposition: attachment</code>, right for download links, wrong for inline display —+ so for inline rendering fetch the bytes through your server route and hand your UI a blob / text.+ Then by type: <b>markdown/text</b> → render as markdown; <b>images</b> → inline <code><img></code>;+ <b> PDF</b> → <code><iframe></code> on the blob; <b>DOCX/PPTX/XLSX</b> → download link, inline preview+ via the server-converted PDF (replace <code>/content</code> with <code>/pdf</code> in the same URL);+ <b> CSV</b> → table; <b>code</b> → monospace block with its <code>path</code>; <b>HTML app/game</b> →+ instruct the agent to emit one self-contained <code>index.html</code> and render it in a sandboxed+ <code> <iframe srcdoc></code>; <b>multi-file project</b> → group by directory (paths keep folders) and+ offer "Download all" via the archive endpoint below; <b>anything else</b> → filename ++ size + download. Never render nothing.</p>++ <Endpoint method="PUT" path="/v1/mcp-secrets/{short-name}">+ <p className="hr-meta">Store a tool-connection access key: body <code>{`{ "token": "..." }`}</code>;+ returns <code>{`{ "ref": "..." }`}</code>, an opaque reference to use as the connection's+ <code> auth</code>. The raw key is never stored in config and never travels through+ conversation history.</p>+ </Endpoint>++ {/* ── SDKs ────────────────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">SDKs</h3>+ <div className="apidoc-sub">Python (OpenAI SDK, drop-in)</div>+ <CodeBlock lang="python" code={`from openai import OpenAI+client = OpenAI(api_key="$HARNESSROUTER_API_KEY", base_url="${apiBase}")++r = client.responses.create(model="${model}", input="Summarize this contract.")+print(r.output_text)++# multi-turn (context is reconstructed server-side):+r2 = client.responses.create(model="${model}", previous_response_id=r.id,+ input="Now list the risky clauses.")++# streaming:+with client.responses.stream(model="${model}", input="Draft an NDA.") as stream:+ for event in stream:+ if event.type == "response.output_text.delta":+ print(event.delta, end="")`} />+ <div className="apidoc-sub">Node (OpenAI SDK)</div>+ <CodeBlock lang="javascript" code={`import OpenAI from "openai";+const client = new OpenAI({ apiKey: process.env.HARNESSROUTER_API_KEY, baseURL: "${apiBase}" });++const r = await client.responses.create({ model: "${model}", input: "Summarize this contract." });+console.log(r.output_text);`} />++ {/* ── Errors ──────────────────────────────────────────────────────── */}+ <h3 className="apidoc-h3">Errors</h3>+ <p className="hr-meta">Errors use standard HTTP status codes with an OpenAI-style body. Streaming failures arrive as a terminal <code>response.failed</code> event.</p>+ <ParamTable>+ <Param name="401" type="error" >Missing or invalid API key.</Param>+ <Param name="404" type="error" >Unknown harness or response id.</Param>+ <Param name="400" type="error" >Malformed request, e.g. empty input, an invalid skill bundle, or a missing declared header referenced by a tool connection (the message names it).</Param>+ <Param name="429" type="error" >Rate limited, retry with backoff.</Param>+ <Param name="500" type="error" >Harness execution error (details in error.message).</Param>+ </ParamTable>+ <CodeBlock lang="json" code={`{ "error": { "type": "harness_error", "message": "…", "code": null } }`} />+ </div>+ );+}diff --git a/ui/src/components/CopyId.tsx b/ui/src/components/CopyId.tsxnew file mode 100644index 00000000..60a6483c--- /dev/null+++ b/ui/src/components/CopyId.tsx@@ -0,0 +1,31 @@+'use client';+// Monospace identifier chip with click-to-copy. Used for a Harness ID (chrn_… / built-in slug)+// wherever a user needs the value to paste into an integration. Stops row-navigation clicks so+// copying from inside a clickable table row never also opens the row.+import { useState } from 'react';++export function CopyId({ value, className = '' }: { value: string; className?: string }) {+ const [copied, setCopied] = useState(false);+ if (!value) return <span className="mono-id is-empty">—</span>;+ const copy = async (e: React.MouseEvent) => {+ e.stopPropagation();+ e.preventDefault();+ try {+ await navigator.clipboard.writeText(value);+ setCopied(true);+ setTimeout(() => setCopied(false), 1400);+ } catch { /* clipboard blocked; the id text is still selectable */ }+ };+ return (+ <button+ type="button"+ className={`mono-id${className ? ' ' + className : ''}`}+ onClick={copy}+ title={copied ? 'Copied' : `Copy ${value}`}+ aria-label={copied ? 'Copied Harness ID' : `Copy Harness ID ${value}`}+ >+ <span className="mono-id-text">{value}</span>+ <iconify-icon className="mono-id-icon" icon={copied ? 'tabler:check' : 'tabler:copy'}></iconify-icon>+ </button>+ );+}diff --git a/ui/src/components/FilePreview.tsx b/ui/src/components/FilePreview.tsxnew file mode 100644index 00000000..c2b3e941--- /dev/null+++ b/ui/src/components/FilePreview.tsx@@ -0,0 +1,165 @@+// Right-pane preview for an output file. Renders inline for every common working file type:+// images, pdf, video, audio, Markdown, docx (mammoth), xlsx/xls/csv (SheetJS), code (Prism syntax+// highlight by extension), and Office docs with no browser renderer (pptx/ppt/odp/doc) via a+// server-side LibreOffice→PDF conversion (the /pdf sibling endpoint).+'use client';+import React, { useEffect, useState } from 'react';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';+import { PrismAsync as SyntaxHighlighter } from 'react-syntax-highlighter';+import oneLight from 'react-syntax-highlighter/dist/esm/styles/prism/one-light';+import { FileTypeIcon, extOf } from './FileTypeIcon';+import { harnessFetch } from '@/lib/hfetch';+import { authHeaders, downloadFile, fetchFileBlob } from '@/lib/chat';++const LANG: Record<string, string> = {+ js: 'javascript', mjs: 'javascript', cjs: 'javascript', jsx: 'jsx', ts: 'typescript', tsx: 'tsx',+ py: 'python', rb: 'ruby', go: 'go', rs: 'rust', java: 'java', c: 'c', h: 'c', cpp: 'cpp', hpp: 'cpp',+ cs: 'csharp', php: 'php', swift: 'swift', kt: 'kotlin', scala: 'scala', sh: 'bash', bash: 'bash', zsh: 'bash',+ sql: 'sql', css: 'css', scss: 'scss', less: 'less', html: 'markup', htm: 'markup', xml: 'markup', svg: 'markup',+ json: 'json', yaml: 'yaml', yml: 'yaml', toml: 'toml', ini: 'ini', r: 'r', jl: 'julia', lua: 'lua',+ pl: 'perl', dockerfile: 'docker', makefile: 'makefile', graphql: 'graphql', proto: 'protobuf', diff: 'diff',+};+function langOf(name: string): string { return LANG[extOf(name)] || 'text'; }++// Presentations / word docs render faithfully (colors/fonts/layout) via the server LibreOffice->PDF+// path. Spreadsheets render as a REAL interactive grid (SheetJS) with sheet tabs, a PDF of a sheet+// is the wrong mental model. CSV/TSV → a table (lossless).+const OFFICE_PDF = new Set(['pptx', 'ppt', 'pptm', 'odp', 'doc', 'docx', 'odt', 'rtf']);+const SHEET = new Set(['xls', 'xlsx', 'xlsm', 'xlsb', 'ods']);++function kindOf(name: string, mime: string): string {+ const e = extOf(name);+ if (mime.startsWith('image/') || /(png|jpe?g|gif|webp|svg|bmp|ico|avif)/.test(e)) return 'image';+ if (mime === 'application/pdf' || e === 'pdf') return 'pdf';+ if (mime.startsWith('video/') || ['mp4', 'webm', 'mov', 'm4v'].includes(e)) return 'video';+ if (mime.startsWith('audio/') || ['mp3', 'wav', 'ogg', 'm4a', 'flac'].includes(e)) return 'audio';+ if (e === 'csv' || e === 'tsv') return 'csv';+ if (e === 'md' || e === 'markdown') return 'markdown';+ if (SHEET.has(e)) return 'sheet'; // real spreadsheet grid (SheetJS), with sheet tabs+ if (OFFICE_PDF.has(e)) return 'office'; // server converts to pdf for a faithful render+ if (mime.startsWith('text/') || LANG[e] || /(txt|log|env|conf|cfg|gitignore)/.test(e)) return 'code';+ return 'binary';+}++const pdfUrlFor = (url: string) => url.replace(/\/content(\?|$)/, '/pdf$1');++export function FilePreview({ file, onClose }: { file: { url: string; name: string }; onClose: () => void }) {+ const { url, name } = file;+ const [st, setSt] = useState<{ kind: string; objUrl?: string; text?: string; html?: string; error?: string; sheets?: { name: string; html: string }[] }>({ kind: 'loading' });+ const [activeSheet, setActiveSheet] = useState(0);+ useEffect(() => {+ let alive = true; let obj: string | undefined;+ setSt({ kind: 'loading' }); setActiveSheet(0);+ // Authenticated fetch (LIVE-B): a bare fetch carries no session, and the server rejects+ // headerless file reads, which used to render the error JSON as the "file content".+ harnessFetch(url, { headers: authHeaders() }).then(async (r) => {+ if (!r.ok) { if (alive) setSt({ kind: 'binary', error: 'Could not load this file.' }); return; }+ const mime = (r.headers.get('content-type') || '').toLowerCase();+ const kind = kindOf(name, mime);+ if (kind === 'office') {+ // The PDF rendition needs the same auth an <iframe src> can't carry, fetch to a blob URL.+ try {+ const b = await fetchFileBlob(pdfUrlFor(url)); obj = URL.createObjectURL(b);+ if (alive) setSt({ kind: 'office', objUrl: obj });+ } catch { if (alive) setSt({ kind: 'binary', error: 'Could not load this file.' }); }+ return;+ }+ if (kind === 'sheet') {+ try {+ const buf = await r.arrayBuffer();+ const XLSX = await import('xlsx');+ const wb = XLSX.read(buf, { type: 'array' });+ const sheets = wb.SheetNames.map((n) => ({ name: n, html: XLSX.utils.sheet_to_html(wb.Sheets[n], { id: '' }) }));+ if (alive) setSt({ kind: 'sheet', sheets: sheets.length ? sheets : [{ name: 'Sheet1', html: '<table></table>' }] });+ } catch {+ if (alive) setSt({ kind: 'office' }); // fall back to server PDF if parsing fails+ }+ return;+ }+ if (kind === 'code' || kind === 'markdown' || kind === 'csv') {+ const t = await r.text();+ if (!alive) return;+ if (kind === 'csv') setSt({ kind: 'csv', html: csvToTable(t) });+ else setSt({ kind, text: t.slice(0, 400000) });+ } else if (kind === 'binary') {+ if (alive) setSt({ kind: 'binary' });+ } else {+ const b = await r.blob(); obj = URL.createObjectURL(b);+ if (alive) setSt({ kind, objUrl: obj });+ }+ }).catch(() => { if (alive) setSt({ kind: 'binary', error: 'Could not load this file.' }); });+ return () => { alive = false; if (obj) URL.revokeObjectURL(obj); };+ }, [url, name]);++ return (+ <div className="fp-panel">+ <header className="fp-head">+ <span className="fp-ic"><FileTypeIcon name={name} size={18} /></span>+ <span className="fp-name" title={name}>{name}</span>+ <button className="fp-icbtn" title="Download" onClick={() => { downloadFile(url, name).catch(() => undefined); }}><IcDownload /></button>+ <button className="fp-icbtn" title="Close" onClick={onClose}><IcX /></button>+ </header>+ <div className="fp-body">+ {st.kind === 'loading' && <div style={{ padding: 18 }}><span className="sk" style={{ display: 'block', width: '100%', height: 220, borderRadius: 10 }} /></div>}+ {st.kind === 'image' && st.objUrl && <div className="fp-center"><img className="fp-img" src={st.objUrl} alt={name} /></div>}+ {st.kind === 'pdf' && st.objUrl && <iframe className="fp-pdf" src={st.objUrl} title={name} />}+ {st.kind === 'office' && st.objUrl && <iframe className="fp-pdf" src={st.objUrl} title={name} />}+ {st.kind === 'video' && st.objUrl && <div className="fp-center"><video className="fp-media" src={st.objUrl} controls /></div>}+ {st.kind === 'audio' && st.objUrl && <div className="fp-center"><audio src={st.objUrl} controls /></div>}+ {st.kind === 'markdown' && <div className="fp-doc"><ReactMarkdown remarkPlugins={[remarkGfm]}>{st.text || ''}</ReactMarkdown></div>}+ {st.kind === 'code' && (+ <SyntaxHighlighter language={langOf(name)} style={oneLight} showLineNumbers+ customStyle={{ margin: 0, padding: '16px 18px', background: '#FBFBFD', color: '#383A42', fontSize: 12.5, lineHeight: 1.6, whiteSpace: 'pre', overflowX: 'auto' }}+ lineNumberStyle={{ color: '#B0B4C0', minWidth: '2.4em', paddingRight: '14px' }}+ codeTagProps={{ style: { fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace', color: '#383A42', whiteSpace: 'pre' } }}>+ {st.text || ''}+ </SyntaxHighlighter>+ )}+ {st.kind === 'csv' && <div className="fp-sheet" dangerouslySetInnerHTML={{ __html: st.html || '' }} />}+ {st.kind === 'sheet' && st.sheets && (+ <div className="fp-xlsx">+ <div className="fp-sheet" dangerouslySetInnerHTML={{ __html: st.sheets[activeSheet]?.html || '' }} />+ {st.sheets.length > 1 && (+ <div className="fp-sheet-tabs">+ {st.sheets.map((s, i) => (+ <button key={i} className={'fp-sheet-tab' + (i === activeSheet ? ' on' : '')}+ onClick={() => setActiveSheet(i)} title={s.name}>{s.name}</button>+ ))}+ </div>+ )}+ </div>+ )}+ {st.kind === 'binary' && (+ <div className="fp-center"><div className="fp-fallback">+ <FileTypeIcon name={name} size={64} />+ <p className="hr-meta" style={{ marginTop: 14 }}>{st.error || 'No inline preview for this file type.'}</p>+ <button className="hr-btn primary" style={{ marginTop: 8 }}+ onClick={() => { downloadFile(url, name).catch(() => undefined); }}>Download</button>+ </div></div>+ )}+ </div>+ </div>+ );+}++function csvToTable(text: string): string {+ const rows = text.split(/\r?\n/).filter((r) => r.length).slice(0, 1000);+ const esc = (s: string) => s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');+ const split = (line: string) => {+ const out: string[] = []; let cur = ''; let q = false;+ for (const ch of line) {+ if (ch === '"') q = !q;+ else if ((ch === ',' || ch === '\t') && !q) { out.push(cur); cur = ''; }+ else cur += ch;+ }+ out.push(cur); return out;+ };+ return '<table>' + rows.map((r, i) => {+ const cells = split(r).map((c) => `<${i === 0 ? 'th' : 'td'}>${esc(c.replace(/^"|"$/g, ''))}</${i === 0 ? 'th' : 'td'}>`).join('');+ return `<tr>${cells}</tr>`;+ }).join('') + '</table>';+}++const IcDownload = () => <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.9" strokeLinecap="round" strokeLinejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><path d="M7 10l5 5 5-5" /><path d="M12 15V3" /></svg>;+const IcX = () => <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.9" strokeLinecap="round" strokeLinejoin="round"><path d="M18 6 6 18M6 6l12 12" /></svg>;diff --git a/ui/src/components/FileTypeIcon.tsx b/ui/src/components/FileTypeIcon.tsxnew file mode 100644index 00000000..04e98756--- /dev/null+++ b/ui/src/components/FileTypeIcon.tsx@@ -0,0 +1,20 @@+// Tasteful colored file-type glyphs (pdf red, docx blue, xlsx green, pptx orange, …) via+// react-file-icon, the standard library for this. One wrapper used by file cards + preview.+'use client';+import React from 'react';+import { FileIcon, defaultStyles } from 'react-file-icon';++export function extOf(name: string): string {+ const m = (name || '').toLowerCase().match(/\.([a-z0-9]+)$/);+ return m ? m[1] : '';+}++export function FileTypeIcon({ name, size = 36 }: { name: string; size?: number }) {+ const ext = extOf(name);+ const style = (defaultStyles as Record<string, object>)[ext] || {};+ return (+ <span style={{ width: size, height: Math.round(size * 1.16), display: 'inline-block', flex: '0 0 auto' }}>+ <FileIcon extension={ext || undefined} {...style} />+ </span>+ );+}diff --git a/ui/src/components/GoogleButton.tsx b/ui/src/components/GoogleButton.tsxnew file mode 100644index 00000000..9a9f6206--- /dev/null+++ b/ui/src/components/GoogleButton.tsx@@ -0,0 +1,55 @@+'use client';+import { useEffect, useRef } from 'react';++// Google Identity Services button. Renders only when NEXT_PUBLIC_GOOGLE_CLIENT_ID is set; on a+// successful sign-in it hands the id_token (credential) back to the caller, which exchanges it for a+// session via /v1/auth/google. The Google consent screen shows the brand "Wrapper" (set in GCP).+const CLIENT_ID = process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || '';++declare global {+ interface Window { google?: any } // eslint-disable-line @typescript-eslint/no-explicit-any+}++export function GoogleButton({ onCredential, onError }: { onCredential: (credential: string) => void; onError?: (m: string) => void }) {+ const ref = useRef<HTMLDivElement>(null);+ // Keep the latest callbacks in a ref so the GIS button mounts EXACTLY ONCE and never re-renders+ // when the parent re-renders (e.g. on every keystroke in the email/password fields). Re-running+ // the init/renderButton on each render is what caused the visible flicker.+ const cb = useRef({ onCredential, onError });+ cb.current = { onCredential, onError };++ useEffect(() => {+ if (!CLIENT_ID || !ref.current) return;+ const SRC = 'https://accounts.google.com/gsi/client';+ let done = false;+ const render = () => {+ if (done) return;+ const g = window.google;+ if (!g?.accounts?.id || !ref.current) return;+ done = true;+ try {+ g.accounts.id.initialize({+ client_id: CLIENT_ID,+ callback: (resp: { credential?: string }) => {+ if (resp?.credential) cb.current.onCredential(resp.credential);+ else cb.current.onError?.('Google sign-in was cancelled.');+ },+ });+ ref.current.innerHTML = '';+ g.accounts.id.renderButton(ref.current, {+ theme: 'outline', size: 'large', shape: 'pill', text: 'continue_with', width: 320,+ });+ } catch { cb.current.onError?.('Could not start Google sign-in.'); }+ };+ let s = document.querySelector<HTMLScriptElement>(`script[src="${SRC}"]`);+ if (s && window.google) { render(); return; }+ if (!s) { s = document.createElement('script'); s.src = SRC; s.async = true; s.defer = true; document.head.appendChild(s); }+ s.addEventListener('load', render);+ return () => s?.removeEventListener('load', render);+ }, []); // mount once, never re-render on parent state changes++ if (!CLIENT_ID) return null;+ return <div ref={ref} className="hr-gbtn" />;+}++export const GOOGLE_ENABLED = !!CLIENT_ID;diff --git a/ui/src/components/HarnessEditors.tsx b/ui/src/components/HarnessEditors.tsxnew file mode 100644index 00000000..1b980656--- /dev/null+++ b/ui/src/components/HarnessEditors.tsx@@ -0,0 +1,408 @@+'use client';+// Harness capability editors, shared by the Harness Settings page and the Tasks workbench:+// SkillEditor, Agent Skills folder editor (tree + md/code editor + uploads)+// McpModal , MCP server add/edit with live Test connection+// Extracted from workbench/page.tsx (page files must not carry extra named exports).+import { useRef, useState } from 'react';+import { testMcp, storeMcpSecret } from '@/lib/harness';+import { Svg, Chevron, IcSkill } from 'reifyui';++const IcTrash = () => <Svg s={15}><path d="M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6" /></Svg>;+const FileGlyph = ({ small }: { small?: boolean }) =>+ <Svg s={small ? 13 : 18}><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><path d="M14 2v6h6" /></Svg>;+// Side-panel toggle (collapse/expand the task-history rail), split-rectangle glyph.+const IcPanel = () => <Svg s={18}><rect x="3" y="4" width="18" height="16" rx="2" /><path d="M9 4v16" /></Svg>;+const IcFolder = () => <Svg s={14}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></Svg>;+const IcFilePlus = () => <Svg s={17}><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><path d="M14 2v6h6" /><path d="M12 12v6M9 15h6" /></Svg>;+const IcFolderPlus = () => <Svg s={17}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /><path d="M12 11v5M9.5 13.5h5" /></Svg>;+const IcUpload = () => <Svg s={17}><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><path d="M7 9l5-5 5 5" /><path d="M12 4v12" /></Svg>;+const IcFolderUp = () => <Svg s={17}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /><path d="M12 16v-5.5" /><path d="M9.5 13 12 10.5 14.5 13" /></Svg>;+const IcPencil = () => <Svg s={14}><path d="M12 20h9" /><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z" /></Svg>;++++// ── Skill folder editor (Agent Skills spec): folder tree + md/code editor + file upload ─────────+export type SkillFile = { path: string; content?: string; content_b64?: string };++// Read an uploaded file as a skill file. Valid UTF-8 text (no NUL) is kept as editable `content`;+// anything else (binaries like .exe/.png, or text with embedded NULs) is base64-encoded into+// `content_b64`. This keeps binary bytes intact AND keeps NUL out of any JSON string, a literal+// in skill content otherwise aborts the harness PUT at the Postgres layer.+async function readSkillUpload(file: File, path: string): Promise<SkillFile> {+ try {+ const bytes = new Uint8Array(await file.arrayBuffer());+ try {+ const text = new TextDecoder('utf-8', { fatal: true }).decode(bytes);+ if (text.indexOf(String.fromCharCode(0)) === -1) return { path, content: text };+ } catch { /* not valid UTF-8 → binary */ }+ let bin = '';+ const CH = 0x8000;+ for (let i = 0; i < bytes.length; i += CH) bin += String.fromCharCode(...bytes.subarray(i, i + CH));+ return { path, content_b64: btoa(bin) };+ } catch {+ return { path, content: '' };+ }+}++// Human bytes from a base64 string length (4 b64 chars ≈ 3 bytes).+const b64Bytes = (b64: string) => Math.floor((b64?.length || 0) * 3 / 4);+const fmtBytes = (n: number) => n < 1024 ? `${n} B` : n < 1048576 ? `${(n / 1024).toFixed(1)} KB` : `${(n / 1048576).toFixed(1)} MB`;+export function SkillEditor({ skill, onClose, onSave, nameEditable = false, onName }: {+ skill: { name: string; files?: SkillFile[] }; onClose: () => void; onSave: (files: SkillFile[]) => void;+ // Create-flow: the skill name is edited at the top of the SAME popup (no separate step).+ nameEditable?: boolean; onName?: (name: string) => void;+}) {+ const initial: SkillFile[] = (skill.files && skill.files.length) ? skill.files : [{ path: 'SKILL.md', content: '' }];+ const [files, setFiles] = useState<SkillFile[]>(initial);+ const [selPath, setSelPath] = useState(initial[0]?.path || 'SKILL.md');+ const [collapsed, setCollapsed] = useState<Set<string>>(new Set());+ const [emptyDirs, setEmptyDirs] = useState<Set<string>>(new Set()); // folders with no files yet+ const [adding, setAdding] = useState<null | 'file' | 'folder'>(null);+ const [newPath, setNewPath] = useState('');+ const [renaming, setRenaming] = useState<string | null>(null);+ const [renameVal, setRenameVal] = useState('');+ const upRef = useRef<HTMLInputElement>(null);+ const upDirRef = useRef<HTMLInputElement>(null);+ const cur = files.find((f) => f.path === selPath) || files[0];+ const dirty = JSON.stringify(files) !== JSON.stringify(initial);++ const setContent = (content: string) =>+ setFiles((fs) => fs.map((f) => f.path === cur?.path ? { ...f, content } : f));+ const addFile = (path: string, content = '') => {+ const p = path.trim().replace(/^\/+/, '');+ if (!p || files.some((f) => f.path === p)) { setAdding(null); setNewPath(''); return; }+ setFiles((fs) => [...fs, { path: p, content }]); setSelPath(p); setAdding(null); setNewPath('');+ };+ const addFolder = (path: string) => {+ const p = path.trim().replace(/^\/+|\/+$/g, '');+ if (p) setEmptyDirs((s) => new Set(s).add(p));+ setAdding(null); setNewPath('');+ };+ const delFile = (path: string) => {+ if (files.length <= 1) return;+ setFiles((fs) => fs.filter((f) => f.path !== path));+ if (selPath === path) setSelPath((files.find((f) => f.path !== path) || files[0]).path);+ };+ const delDir = (dir: string) => {+ setFiles((fs) => { const rem = fs.filter((f) => !(f.path === dir || f.path.startsWith(dir + '/'))); return rem.length ? rem : fs; });+ setEmptyDirs((s) => new Set([...s].filter((d) => !(d === dir || d.startsWith(dir + '/')))));+ };+ const beginRename = (path: string) => { setRenaming(path); setRenameVal(path.split('/').pop() || path); };+ const applyRename = (oldPath: string, isDir: boolean) => {+ const nn = renameVal.trim(); setRenaming(null);+ if (!nn || nn.includes('/')) return;+ const parent = oldPath.includes('/') ? oldPath.slice(0, oldPath.lastIndexOf('/') + 1) : '';+ const np = (parent + nn).replace(/^\/+|\/+$/g, '');+ if (np === oldPath) return;+ if (isDir) {+ setFiles((fs) => fs.map((f) => (f.path === oldPath || f.path.startsWith(oldPath + '/')) ? { ...f, path: np + f.path.slice(oldPath.length) } : f));+ setEmptyDirs((s) => new Set([...s].map((d) => (d === oldPath || d.startsWith(oldPath + '/')) ? np + d.slice(oldPath.length) : d)));+ } else {+ if (files.some((f) => f.path === np)) return;+ setFiles((fs) => fs.map((f) => f.path === oldPath ? { ...f, path: np } : f));+ if (selPath === oldPath) setSelPath(np);+ }+ };+ const toggle = (dir: string) => setCollapsed((s) => { const n = new Set(s); n.has(dir) ? n.delete(dir) : n.add(dir); return n; });+ const [dragOver, setDragOver] = useState(false);+ const [prog, setProg] = useState<{ done: number; total: number } | null>(null);++ // Merge a batch of {path, content} into the skill, overwrite same-path, append new.+ const mergeFiles = (adds: SkillFile[]) => setFiles((fs) => {+ const map = new Map(fs.map((f) => [f.path, f]));+ for (const a of adds) map.set(a.path.replace(/^\/+/, ''), a);+ return Array.from(map.values());+ });++ // Build a folder tree from the flat path list (+ empty folders) for rendering.+ type TNode = { name: string; path: string; dir: boolean; children: TNode[] };+ const tree: TNode[] = (() => {+ const root: TNode = { name: '', path: '', dir: true, children: [] };+ const ensure = (parts: string[]): TNode => {+ let node = root, acc = '';+ for (const part of parts) {+ acc = acc ? `${acc}/${part}` : part;+ let c = node.children.find((x) => x.dir && x.name === part);+ if (!c) { c = { name: part, path: acc, dir: true, children: [] }; node.children.push(c); }+ node = c;+ }+ return node;+ };+ for (const d of emptyDirs) ensure(d.split('/').filter(Boolean));+ for (const f of files) {+ const parts = f.path.split('/').filter(Boolean);+ const fname = parts.pop() as string;+ (parts.length ? ensure(parts) : root).children.push({ name: fname, path: f.path, dir: false, children: [] });+ }+ const sortRec = (n: TNode) => { n.children.sort((a, b) => a.dir === b.dir ? a.name.localeCompare(b.name) : (a.dir ? -1 : 1)); n.children.forEach(sortRec); };+ sortRec(root);+ return root.children;+ })();++ const onUpload = async (e: React.ChangeEvent<HTMLInputElement>) => {+ const list = Array.from(e.target.files || []);+ if (!list.length) return;+ setProg({ done: 0, total: list.length });+ const adds: SkillFile[] = [];+ for (let i = 0; i < list.length; i++) {+ // a <input webkitdirectory> upload carries the folder path in webkitRelativePath+ const rel = (list[i] as File & { webkitRelativePath?: string }).webkitRelativePath || list[i].name;+ adds.push(await readSkillUpload(list[i], rel));+ setProg({ done: i + 1, total: list.length });+ }+ mergeFiles(adds);+ setProg(null);+ if (upRef.current) upRef.current.value = '';+ if (upDirRef.current) upDirRef.current.value = '';+ };++ // Drag-drop files OR folders into the editor: recurse the dropped tree (webkitGetAsEntry),+ // preserve relative paths, read text with a progress bar. Entries must be captured SYNCHRONOUSLY+ // in the drop handler (the DataTransferItemList is invalidated once the event returns).+ type FsEntry = { isFile: boolean; isDirectory: boolean; name: string;+ file: (cb: (f: File) => void, err?: (e: unknown) => void) => void;+ createReader: () => { readEntries: (cb: (e: FsEntry[]) => void, err?: (e: unknown) => void) => void } };+ const walkEntry = async (entry: FsEntry, prefix: string, out: { file: File; path: string }[]) => {+ const here = prefix ? `${prefix}/${entry.name}` : entry.name;+ if (entry.isFile) {+ const f = await new Promise<File>((res, rej) => entry.file(res, rej)).catch(() => null);+ if (f) out.push({ file: f, path: here });+ } else if (entry.isDirectory) {+ const reader = entry.createReader();+ for (;;) {+ const batch = await new Promise<FsEntry[]>((res) => reader.readEntries(res, () => res([])));+ if (!batch.length) break;+ for (const e of batch) await walkEntry(e, here, out);+ }+ }+ };+ const ingest = async (roots: FsEntry[], plain: File[]) => {+ const collected: { file: File; path: string }[] = [];+ for (const r of roots) await walkEntry(r, '', collected);+ for (const f of plain) collected.push({ file: f, path: (f as File & { webkitRelativePath?: string }).webkitRelativePath || f.name });+ if (!collected.length) return;+ setProg({ done: 0, total: collected.length });+ const adds: SkillFile[] = [];+ for (let i = 0; i < collected.length; i++) {+ adds.push(await readSkillUpload(collected[i].file, collected[i].path));+ setProg({ done: i + 1, total: collected.length });+ }+ mergeFiles(adds);+ setProg(null);+ };+ const onDrop = (e: React.DragEvent) => {+ e.preventDefault(); e.stopPropagation(); setDragOver(false);+ const dt = e.dataTransfer;+ const roots: FsEntry[] = [];+ if (dt.items) {+ for (const it of Array.from(dt.items)) {+ const en = (it as DataTransferItem & { webkitGetAsEntry?: () => unknown }).webkitGetAsEntry?.();+ if (en) roots.push(en as unknown as FsEntry);+ }+ }+ const plain = roots.length ? [] : Array.from(dt.files || []);+ if (roots.length || plain.length) ingest(roots, plain);+ };++ return (+ <div className="hr-modal-scrim" onClick={onClose}>+ <div className="skl-editor" onClick={(e) => e.stopPropagation()}>+ <header className="skl-head">+ {nameEditable ? (+ <span className="skl-title skl-title-edit"><IcSkill />+ <input className="skl-name-input" value={skill.name} placeholder="skill-name (kebab-case)"+ autoFocus onChange={(e) => onName?.(e.target.value)} /></span>+ ) : (+ <span className="skl-title"><IcSkill /> {skill.name}</span>+ )}+ <button className="fp-close" title="Close" onClick={onClose}>×</button>+ </header>+ <div className="skl-body">+ <aside className={'skl-tree' + (dragOver ? ' dragover' : '')}+ onDragOver={(e) => { e.preventDefault(); if (!dragOver) setDragOver(true); }}+ onDragLeave={(e) => { if (e.currentTarget === e.target) setDragOver(false); }}+ onDrop={onDrop}>+ <div className="skl-tree-top">+ <span className="hr-meta">Files</span>+ <div className="skl-tree-acts">+ <button className="skl-icbtn" title="New file" onClick={() => { setAdding('file'); setNewPath(''); }}><IcFilePlus /></button>+ <button className="skl-icbtn" title="New folder" onClick={() => { setAdding('folder'); setNewPath(''); }}><IcFolderPlus /></button>+ <button className="skl-icbtn" title="Upload files" onClick={() => upRef.current?.click()}><IcUpload /></button>+ <button className="skl-icbtn" title="Upload folder" onClick={() => upDirRef.current?.click()}><IcFolderUp /></button>+ <input ref={upRef} type="file" multiple hidden onChange={onUpload} />+ {/* the picker only offers folders when the input carries webkitdirectory, the+ "upload a skill bundle folder" path was dead without it (drag-drop worked) */}+ <input ref={upDirRef} type="file" hidden onChange={onUpload}+ {...({ webkitdirectory: '', directory: '' } as Record<string, string>)} />+ </div>+ </div>+ {adding && (+ <div className="skl-newfile">+ <input autoFocus value={newPath}+ placeholder={adding === 'folder' ? 'folder name' : 'path/to/file.md'}+ onChange={(e) => setNewPath(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === 'Enter') (adding === 'folder' ? addFolder(newPath) : addFile(newPath));+ if (e.key === 'Escape') { setAdding(null); setNewPath(''); }+ }} onBlur={() => { if (!newPath.trim()) { setAdding(null); } }} />+ </div>+ )}+ <div className="skl-filelist">+ {(function render(nodes: TNode[], depth: number): React.ReactNode {+ return nodes.map((n) => n.dir ? (+ <div key={'d:' + n.path}>+ <div className="skl-fileitem" style={{ paddingLeft: 6 + depth * 13 }} onClick={() => toggle(n.path)}>+ <Chevron dir={collapsed.has(n.path) ? 'right' : 'down'} size={12} />+ <span className="skl-ic"><IcFolder /></span>+ {renaming === n.path+ ? <input className="skl-rename" autoFocus value={renameVal} onClick={(e) => e.stopPropagation()}+ onChange={(e) => setRenameVal(e.target.value)}+ onKeyDown={(e) => { if (e.key === 'Enter') applyRename(n.path, true); if (e.key === 'Escape') setRenaming(null); }}+ onBlur={() => applyRename(n.path, true)} />+ : <span className="skl-fname">{n.name}</span>}+ <span className="skl-row-acts">+ <button title="Rename" onClick={(e) => { e.stopPropagation(); beginRename(n.path); }}><IcPencil /></button>+ <button title="Delete folder" onClick={(e) => { e.stopPropagation(); delDir(n.path); }}><IcTrash /></button>+ </span>+ </div>+ {!collapsed.has(n.path) && render(n.children, depth + 1)}+ </div>+ ) : (+ <div key={'f:' + n.path} className={'skl-fileitem' + (selPath === n.path ? ' sel' : '')}+ style={{ paddingLeft: 6 + depth * 13 + 14 }} onClick={() => setSelPath(n.path)}>+ <span className="skl-ic"><FileGlyph small /></span>+ {renaming === n.path+ ? <input className="skl-rename" autoFocus value={renameVal} onClick={(e) => e.stopPropagation()}+ onChange={(e) => setRenameVal(e.target.value)}+ onKeyDown={(e) => { if (e.key === 'Enter') applyRename(n.path, false); if (e.key === 'Escape') setRenaming(null); }}+ onBlur={() => applyRename(n.path, false)} />+ : <span className="skl-fname">{n.name}</span>}+ <span className="skl-row-acts">+ <button title="Rename" onClick={(e) => { e.stopPropagation(); beginRename(n.path); }}><IcPencil /></button>+ {files.length > 1 && <button title="Delete" onClick={(e) => { e.stopPropagation(); delFile(n.path); }}><IcTrash /></button>}+ </span>+ </div>+ ));+ })(tree, 0)}+ </div>+ {prog && (+ <div className="skl-prog"><div className="skl-prog-bar"><div className="skl-prog-fill" style={{ width: `${Math.round((prog.done / Math.max(prog.total, 1)) * 100)}%` }} /></div>+ <span className="hr-meta">Uploading {prog.done}/{prog.total}…</span></div>+ )}+ {dragOver && <div className="skl-droptip">Drop files or folders to upload</div>}+ </aside>+ <div className="skl-edit">+ <div className="skl-edit-path">{cur?.path}</div>+ {cur?.content_b64 !== undefined && cur?.content === undefined ? (+ <div className="skl-binary hr-meta">+ Binary file · {fmtBytes(b64Bytes(cur.content_b64))}. Stored as-is and mounted into the+ run workspace unchanged; not editable here.+ </div>+ ) : (+ <textarea className="skl-textarea" spellCheck={false} value={cur?.content || ''}+ onChange={(e) => setContent(e.target.value)} placeholder="File contents…" />+ )}+ </div>+ </div>+ <footer className="skl-foot">+ <span className="hr-meta">SKILL.md needs YAML frontmatter (name, description). Enabled skills mount into the run.</span>+ <div className="skl-foot-acts">+ <button className="hr-btn" onClick={onClose}>Cancel</button>+ <button className="hr-btn primary" disabled={!dirty} onClick={() => onSave(files)}>Save folder</button>+ </div>+ </footer>+ </div>+ </div>+ );+}++// ── MCP server add/edit modal: name + endpoint + bearer token, with a live Test connection+// that lists the server's tools (handshake runs server-side via the gateway). ─────────────────+export type McpServer = { id: string; name: string; enabled: boolean; url?: string; auth?: string; transport?: string };+export function McpModal({ server, declaredHeaders = [], onClose, onSave }: {+ server: McpServer | null; declaredHeaders?: string[]; onClose: () => void; onSave: (s: McpServer) => void;+}) {+ const [name, setName] = useState(server?.name || '');+ const [url, setUrl] = useState(server?.url || '');+ // A $headers.{name} ref is not a secret, show it plainly + editable. A stored vault secret+ // stays blank (masked, 'keep current').+ const _headerRef = !!server?.auth && String(server.auth).startsWith('$headers.');+ const [token, setToken] = useState(_headerRef ? String(server!.auth) : '');+ const [busy, setBusy] = useState(false);+ const [test, setTest] = useState<null | { busy?: boolean; ok?: boolean; error?: string; server?: string; tools?: { name: string; description?: string }[] }>(null);+ const id = server?.id || ('mcp.' + (typeof crypto !== 'undefined' && crypto.randomUUID ? crypto.randomUUID().slice(0, 8) : String(Date.now())));++ async function runTest() {+ if (!url.trim()) return;+ setTest({ busy: true });+ const auth = token.trim() || server?.auth || '';+ setTest(await testMcp(url.trim(), auth));+ }+ async function save() {+ setBusy(true);+ let auth = server?.auth;+ const tok = token.trim();+ try {+ // A $headers.{Name} ref is a per-request app-auth placeholder resolved at task start, store it+ // inline (NOT in the vault; it's not a static secret). A plain token is vaulted as before.+ if (tok) auth = tok.startsWith('$headers.') ? tok : await storeMcpSecret(id, tok);+ } catch { setBusy(false); return; }+ onSave({ id, name: name.trim() || 'mcp', url: url.trim(), transport: 'http', enabled: server?.enabled !== false, ...(auth ? { auth } : {}) });+ setBusy(false);+ }++ return (+ <div className="hr-modal-scrim" onClick={() => !busy && onClose()}>+ <div className="hr-auth-card" style={{ width: 480 }} onClick={(e) => e.stopPropagation()}>+ <h1>{server ? 'Edit MCP server' : 'Add MCP server'}</h1>+ <p className="sub">Connect a remote MCP server (a set of tools) by endpoint and an optional bearer token. Tokens are encrypted at rest and never shown again.</p>+ <div className="hr-field"><label>Name</label>+ <input value={name} autoFocus onChange={(e) => setName(e.target.value)} placeholder="stanford-sis" /></div>+ <div className="hr-field"><label>Endpoint URL</label>+ <input value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://…/mcp" /></div>+ <div className="hr-field">+ <label>Bearer token{' '}+ {token.startsWith('$headers.')+ ? <span className="mcp-authkind hdr">per-request header</span>+ : <span className="hr-meta">{server?.auth ? '(leave blank to keep current)' : '(optional)'}</span>}+ </label>+ <input value={token} type={token.startsWith('$headers.') ? 'text' : 'password'} onChange={(e) => setToken(e.target.value)}+ placeholder={(server?.auth && !token.startsWith('$headers.')) ? '•••••••• stored' : 'token, or $headers.X-App-JWT'} />+ {token.startsWith('$headers.')+ ? <span className="hr-meta">Not stored. The value of the <code>{token.slice('$headers.'.length) || '{Name}'}</code> request header is forwarded to this server on every call.</span>+ : <span className="hr-meta">A static token is stored securely. To forward a per-user token from each request, use a declared Additional Header instead.</span>}+ {declaredHeaders.length > 0 && !token.startsWith('$headers.') && (+ <div className="mcp-hdr-chips">+ {declaredHeaders.map((h) => (+ <button key={h} type="button" className="mcp-hdr-chip"+ onClick={() => setToken('$headers.' + h)}>+ Use per-request {h}+ </button>+ ))}+ </div>+ )}+ </div>+ <div className="mcp-test-row">+ <button className="hr-btn" disabled={!url.trim() || test?.busy} onClick={runTest}>{test?.busy ? 'Testing…' : 'Test connection'}</button>+ {test && !test.busy && (test.ok+ ? <span className="mcp-test-status ok"><span className="mcp-dot" />Connected{test.server ? ` · ${test.server}` : ''} · {test.tools?.length || 0} tools</span>+ : <span className="mcp-test-status err"><span className="mcp-dot" />{test.error || 'Failed'}</span>)}+ </div>+ {test?.ok && (test.tools?.length || 0) > 0 && (+ <div className="mcp-tools">{test.tools!.map((t) => (+ <div key={t.name} className="mcp-tool-card">+ <div className="mcp-tool-n">{t.name}</div>+ {t.description && <div className="mcp-tool-d">{t.description}</div>}+ </div>+ ))}</div>+ )}+ <div className="hr-card-actions" style={{ marginTop: 14 }}>+ <button className="hr-btn" disabled={busy} onClick={onClose}>Cancel</button>+ <button className="hr-btn primary" disabled={busy || !url.trim()} onClick={save}>{busy ? 'Saving…' : 'Save'}</button>+ </div>+ </div>+ </div>+ );+}++// Attachment card, image thumbnail or a typed file icon + name + type chip; × remove on hover.diff --git a/ui/src/components/HarnessLogo.tsx b/ui/src/components/HarnessLogo.tsxnew file mode 100644index 00000000..760a50bd--- /dev/null+++ b/ui/src/components/HarnessLogo.tsx@@ -0,0 +1,18 @@+// Official brand marks for the default (OOB) harnesses, served from /public/logos.+// claude-code -> claude.png (Anthropic), codex -> codex.png, pi -> pi.png,+// hermes -> hermes.png. Custom harnesses fall back to a generic glyph.+import React from 'react';++const LOGO: Record<string, string> = {+ 'claude-code': '/logos/claude.png',+ codex: '/logos/codex.png',+ pi: '/logos/pi.png',+ hermes: '/logos/hermes.png',+};++export function HarnessLogo({ id, size = 26 }: { id: string; size?: number }) {+ const src = LOGO[id];+ if (!src) return <span style={{ fontSize: size * 0.7 }}>◍</span>;+ return <img src={src} alt="" width={size} height={size}+ style={{ width: size, height: size, objectFit: 'contain', borderRadius: 6 }} />;+}diff --git a/ui/src/components/Mermaid.tsx b/ui/src/components/Mermaid.tsxnew file mode 100644index 00000000..a4f3fbc0--- /dev/null+++ b/ui/src/components/Mermaid.tsx@@ -0,0 +1,56 @@+// Mermaid diagram block, renders a ```mermaid fenced code block as an SVG diagram.+//+// Wired into the workbench markdown renderer so the model can emit a real diagram instead of a wall+// of `graph LR ...` source. mermaid is LAZY-loaded (dynamic import → its own chunk, only fetched when+// a diagram actually appears). Rendering is DEBOUNCED so a streaming fence renders once it settles+// (partial mermaid source throws until complete); on any parse error we fall back to the raw source.+'use client';+import React from 'react';++let mermaidPromise: Promise<typeof import('mermaid').default> | null = null;+function loadMermaid() {+ if (!mermaidPromise) {+ mermaidPromise = import('mermaid').then((mod) => {+ const mermaid = mod.default;+ mermaid.initialize({+ startOnLoad: false,+ securityLevel: 'strict', // sanitize labels, diagrams come from model output+ theme: 'default',+ fontFamily: 'inherit',+ flowchart: { useMaxWidth: true, htmlLabels: true },+ });+ return mermaid;+ });+ }+ return mermaidPromise;+}++let seq = 0;++export function Mermaid({ code }: { code: string }) {+ const hostRef = React.useRef<HTMLDivElement>(null);+ const [failed, setFailed] = React.useState(false);+ const idRef = React.useRef('mmd-' + (seq += 1));++ React.useEffect(() => {+ const src = (code || '').trim();+ if (!src) return undefined;+ let cancelled = false;+ const timer = setTimeout(() => {+ loadMermaid()+ .then((mermaid) => mermaid.render(`${idRef.current}-${seq += 1}`, src))+ .then(({ svg }) => {+ if (cancelled || !hostRef.current) return;+ hostRef.current.innerHTML = svg;+ setFailed(false);+ })+ .catch(() => { if (!cancelled) setFailed(true); });+ }, 250);+ return () => { cancelled = true; clearTimeout(timer); };+ }, [code]);++ if (failed) {+ return <pre className="wbx-mermaid-fallback"><code>{code}</code></pre>;+ }+ return <div className="wbx-mermaid" ref={hostRef} aria-label="diagram" />;+}diff --git a/ui/src/components/Nav.tsx b/ui/src/components/Nav.tsxdeleted file mode 100644index 23fe0dfb..00000000--- a/ui/src/components/Nav.tsx+++ /dev/null@@ -1,72 +0,0 @@-'use client';--import Link from 'next/link';-import { usePathname } from 'next/navigation';-import { useEffect, useState } from 'react';-import { useDialog } from 'reifyui';-import {- DEFAULT_WORKSPACE, currentWorkspace, listWorkspaces, saveWorkspaces, setCurrentWorkspace,- type Workspace,-} from '@/lib/api';--/** Sidebar: the two surfaces, plus the workspace switcher.- *- * Switching workspace changes the scope of every gateway call, so it forces a reload rather- * than trying to invalidate each page's state — cheap here, and it removes a whole class of- * "stale list from the previous workspace" bugs. */-export function Nav() {- const path = usePathname();- const dialog = useDialog();- const [list, setList] = useState<Workspace[]>([DEFAULT_WORKSPACE]);- const [ws, setWs] = useState(DEFAULT_WORKSPACE.id);-- useEffect(() => { setList(listWorkspaces()); setWs(currentWorkspace()); }, []);-- const onSwitch = async (id: string) => {- if (id === '__new') {- // Keep the select showing the workspace we're actually in while the dialog is open, so a- // cancel doesn't leave "+ New workspace…" selected.- setWs(currentWorkspace());- const name = await dialog.prompt({- title: 'New workspace',- label: 'Name',- placeholder: 'Backend rewrite',- help: 'A workspace scopes its own harnesses and tasks.',- validate: (v) => {- const t = v.trim();- if (!t) return 'Give the workspace a name.';- const slug = t.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '');- if (!slug) return 'Use at least one letter or number.';- if (listWorkspaces().some((w) => w.id === slug)) return 'A workspace with that name already exists.';- return null;- },- });- if (!name?.trim()) return;- const slug = name.trim().toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '');- saveWorkspaces([...listWorkspaces(), { id: slug, name: name.trim() }]);- setCurrentWorkspace(slug);- window.location.reload();- return;- }- setCurrentWorkspace(id);- window.location.reload();- };-- const is = (p: string) => (path === p || path.startsWith(p + '/') ? 'active' : '');-- return (- <nav className="nav">- <div className="nav-brand">HarnessRouter</div>- <Link href="/harnesses" className={is('/harnesses')}>Harnesses</Link>- <Link href="/tasks" className={is('/tasks')}>Tasks</Link>-- <div className="nav-ws">- <label htmlFor="ws">Workspace</label>- <select id="ws" className="select" value={ws} onChange={(e) => onSwitch(e.target.value)}>- {list.map((w) => <option key={w.id} value={w.id}>{w.name}</option>)}- <option value="__new">+ New workspace…</option>- </select>- </div>- </nav>- );-}diff --git a/ui/src/components/Providers.tsx b/ui/src/components/Providers.tsxdeleted file mode 100644index 1d91a689..00000000--- a/ui/src/components/Providers.tsx+++ /dev/null@@ -1,12 +0,0 @@-'use client';--import { DialogHost } from 'reifyui';--/** Client-side context that has to wrap the whole tree.- *- * The root layout is a server component, so anything using React context lives here instead.- * DialogHost is what lets any page `await confirm(...)` for destructive actions — deleting a- * harness, deleting a task — without a browser popup. */-export function Providers({ children }: { children: React.ReactNode }) {- return <DialogHost>{children}</DialogHost>;-}diff --git a/ui/src/components/PushToCloud.tsx b/ui/src/components/PushToCloud.tsxdeleted file mode 100644index 0496a878..00000000--- a/ui/src/components/PushToCloud.tsx+++ /dev/null@@ -1,117 +0,0 @@-'use client';--import { useState } from 'react';-import type { Harness } from '@/lib/api';--/** Promote local harnesses to a hosted HarnessRouter account.- *- * Deliberately one-way. Local is where you iterate; the hosted copy becomes the authority once- * promoted. There is no "pull from cloud" here or anywhere in this repo, so a harness can never- * be edited in two places with each claiming to be current.- *- * The hosted key is held in component state for the duration of the request and nothing else —- * not localStorage, not the local secret store, not the server. Close the dialog and it's gone. */-export function PushToCloud({ harnesses, onClose }: { harnesses: Harness[]; onClose: () => void }) {- const [apiKey, setApiKey] = useState('');- const [cloudUrl, setCloudUrl] = useState('');- const [picked, setPicked] = useState<Set<string>>(new Set(harnesses.map((h) => h.id)));- const [busy, setBusy] = useState(false);- const [done, setDone] = useState<{ name: string; ok: boolean; error?: string }[] | null>(null);- const [err, setErr] = useState('');-- const toggle = (id: string) => {- const next = new Set(picked);- if (next.has(id)) next.delete(id); else next.add(id);- setPicked(next);- };-- const push = async () => {- setBusy(true); setErr('');- try {- const r = await fetch('/api/cloud/push', {- method: 'POST',- headers: { 'content-type': 'application/json' },- body: JSON.stringify({- apiKey: apiKey.trim(),- cloudUrl: cloudUrl.trim() || undefined,- harnesses: harnesses.filter((h) => picked.has(h.id)),- }),- });- const d = await r.json();- if (!r.ok) { setErr(String(d?.detail || `HTTP ${r.status}`)); return; }- setDone(d.results || []);- } catch (e) {- setErr(String((e as Error).message || e));- } finally {- setBusy(false);- }- };-- const okCount = done?.filter((d) => d.ok).length ?? 0;-- return (- <div className="modal-back" onClick={onClose}>- <div className="modal" onClick={(e) => e.stopPropagation()}>- <h2>Push to cloud</h2>- <p className="muted">- Copy these harnesses into your hosted HarnessRouter account. This is one-way — hosted- harnesses are never copied back down, so the cloud copy stays the source of truth once- promoted.- </p>-- {done ? (- <>- <div className={`banner ${okCount === done.length ? 'banner-ok' : 'banner-err'}`} style={{ marginTop: 14 }}>- Pushed {okCount} of {done.length}.- </div>- {done.filter((d) => !d.ok).map((d) => (- <div key={d.name} className="muted">· {d.name}: {d.error}</div>- ))}- <div className="card-row" style={{ marginTop: 16 }}>- <div className="spacer" />- <button className="btn btn-primary" onClick={onClose}>Done</button>- </div>- </>- ) : (- <>- {err ? <div className="banner banner-err" style={{ marginTop: 12 }}>{err}</div> : null}-- <div className="field" style={{ marginTop: 14 }}>- <label htmlFor="ck">Hosted API key</label>- <input id="ck" className="input" type="password" value={apiKey} autoFocus- placeholder="sk-hr-…" onChange={(e) => setApiKey(e.target.value)} />- <div className="muted" style={{ marginTop: 4 }}>- Used for this request only — never stored on this machine.- </div>- </div>-- <div className="field">- <label htmlFor="cu">Hosted API URL (optional)</label>- <input id="cu" className="input" value={cloudUrl} placeholder="https://api.harnessrouter.ai"- onChange={(e) => setCloudUrl(e.target.value)} />- </div>-- <div className="field">- <label>Harnesses ({picked.size} selected)</label>- {harnesses.map((h) => (- <label key={h.id} style={{ display: 'flex', gap: 8, alignItems: 'center', padding: '4px 0' }}>- <input type="checkbox" checked={picked.has(h.id)} onChange={() => toggle(h.id)} />- <span style={{ fontSize: 13 }}>{h.name}</span>- <span className="muted">{h.base}</span>- </label>- ))}- </div>-- <div className="card-row" style={{ marginTop: 16 }}>- <div className="spacer" />- <button className="btn" onClick={onClose}>Cancel</button>- <button className="btn btn-primary" disabled={!apiKey.trim() || !picked.size || busy} onClick={push}>- {busy ? 'Pushing…' : `Push ${picked.size}`}- </button>- </div>- </>- )}- </div>- </div>- );-}diff --git a/ui/src/components/Skel.tsx b/ui/src/components/Skel.tsxnew file mode 100644index 00000000..e71ec4d9--- /dev/null+++ b/ui/src/components/Skel.tsx@@ -0,0 +1,54 @@+'use client';+// Shared shimmer-skeleton primitives, every loading state renders content-shaped skeletons+// instead of "Loading…" text (standing design rule). Styles live in revamp.css glue (.sk*).++/** One shimmering line. */+export function SkelLine({ w = '100%', h = 12, style }: { w?: number | string; h?: number; style?: React.CSSProperties }) {+ return <span className="sk" style={{ width: w, height: h, ...style }} />;+}++/** Table-body skeleton: `rows` rows of `cols` shimmering cells. */+export function SkelRows({ rows = 4, cols = 5, first = 160 }: { rows?: number; cols?: number; first?: number }) {+ return (+ <>+ {Array.from({ length: rows }).map((_, r) => (+ <tr key={r} className="sk-tr">+ {Array.from({ length: cols }).map((__, c) => (+ <td key={c}><SkelLine w={c === 0 ? first : c === cols - 1 ? 28 : 64} /></td>+ ))}+ </tr>+ ))}+ </>+ );+}++/** List-item skeleton for the task list (title + sub line). */+export function SkelListItems({ rows = 5 }: { rows?: number }) {+ return (+ <>+ {Array.from({ length: rows }).map((_, i) => (+ <div key={i} className="sk-item">+ <SkelLine w={`${62 + ((i * 13) % 26)}%`} h={13} />+ <SkelLine w={90} h={10} style={{ marginTop: 8 }} />+ </div>+ ))}+ </>+ );+}++/** Full-page skeleton (header + blocks) for page-level gates. */+export function SkelPage() {+ return (+ <div className="page" aria-busy="true" aria-label="Loading">+ <div className="sk-page-head">+ <SkelLine w={260} h={26} />+ <SkelLine w={420} h={12} style={{ marginTop: 12 }} />+ </div>+ <div className="sk-blocks">+ <span className="sk sk-block" />+ <span className="sk sk-block" />+ <span className="sk sk-block tall" />+ </div>+ </div>+ );+}diff --git a/ui/src/components/WelcomePlansModal.tsx b/ui/src/components/WelcomePlansModal.tsxnew file mode 100644index 00000000..42b50b48--- /dev/null+++ b/ui/src/components/WelcomePlansModal.tsx@@ -0,0 +1,78 @@+'use client';+// THE plan-activation dialog, and the single way an org earns the 500 bonus credits: pick a plan+// and pay for it. There is no free trial — the bonus mints server-side on the FIRST PAID invoice,+// because "subscribed" and "paid us" being different things is exactly what a credit-farming ring+// monetised (170 cards attached platform-wide, one real payment). Used by the app layout's+// first-login prompt AND the billing page's banner, so there is exactly one flow.+import { useEffect, useState } from 'react';+import { billing, RETURN_BASE, formatCredits } from '@/app/(app)/billing/lib';++export type WelcomePlan = { id: string; name: string; price_usd: string; credits: string; badge?: string };++export function useWelcomePlans(): WelcomePlan[] {+ const [plans, setPlans] = useState<WelcomePlan[]>([]);+ useEffect(() => {+ let alive = true;+ billing.packages().then((p) => {+ if (!alive) return;+ setPlans((p?.packages || []).filter((x: { recurring?: string; status?: string; app_scope?: string }) =>+ x.recurring === 'monthly' && x.status === 'active' && x.app_scope === 'harnessrouter'));+ }).catch(() => { /* no plans -> empty picker */ });+ return () => { alive = false; };+ }, []);+ return plans;+}++export function WelcomePlansModal({ plans, onClose }: { plans: WelcomePlan[]; onClose: () => void }) {+ const [plan, setPlan] = useState(plans[0]?.id || '');+ const [busy, setBusy] = useState(false);+ useEffect(() => { if (!plan && plans.length) setPlan(plans[0].id); }, [plans, plan]);++ const subscribe = async () => {+ if (!plan) return;+ setBusy(true);+ try {+ // Plain subscription checkout — charged today, no trial. The 500 bonus mints server-side+ // on the paid invoice.+ const { url } = await billing.checkout(plan, RETURN_BASE);+ if (url) { window.location.href = url; return; }+ } catch { /* fall through */ }+ setBusy(false);+ };++ return (+ <div className="welcome-overlay" role="dialog" aria-modal="true" aria-labelledby="welcome-title">+ <div className="welcome-card">+ <div className="welcome-hero">+ {/* eslint-disable-next-line @next/next/no-img-element -- small static brand asset */}+ <div className="welcome-badge"><img src="/harnessrouter-logo.svg" alt="HarnessRouter" /></div>+ <div className="welcome-eyebrow"><iconify-icon icon="tabler:sparkles"></iconify-icon>Launch offer</div>+ <h2 className="welcome-title" id="welcome-title">Subscribe, get <b>500 bonus credits</b></h2>+ <p className="welcome-sub">Pick a plan to activate your account. The 500 bonus credits are added on top of your plan's monthly credits.</p>+ </div>+ <div className="welcome-body">+ <div className="welcome-plans" role="radiogroup" aria-label="Choose a plan">+ {plans.map((p) => (+ <button key={p.id} type="button" role="radio" aria-checked={plan === p.id}+ className={'welcome-plan' + (plan === p.id ? ' on' : '')}+ disabled={busy} onClick={() => setPlan(p.id)}>+ <span className="wp-name">{p.name}{p.badge ? <em>{p.badge}</em> : null}</span>+ <span className="wp-price">${Number(p.price_usd).toLocaleString()}<small>/mo</small></span>+ <span className="wp-credits">{formatCredits(p.credits)} credits / month</span>+ </button>+ ))}+ </div>+ <div className="welcome-actions">+ <button className="welcome-cta" disabled={busy || !plan} onClick={() => void subscribe()}>+ {busy ? 'Redirecting…' : <><iconify-icon icon="tabler:sparkles"></iconify-icon>Subscribe & get 500 bonus</>}+ </button>+ <button className="welcome-later" disabled={busy} onClick={onClose}>Maybe later</button>+ </div>+ <div className="welcome-trust">+ <iconify-icon icon="tabler:lock"></iconify-icon>Secured by Stripe · cancel anytime+ </div>+ </div>+ </div>+ </div>+ );+}diff --git a/ui/src/components/revamp/Shell.tsx b/ui/src/components/revamp/Shell.tsxnew file mode 100644index 00000000..5bdd62d5--- /dev/null+++ b/ui/src/components/revamp/Shell.tsx@@ -0,0 +1,420 @@+'use client';+// Revamped app shell, header + sidebar per the HIG UI/UX prototype+// (02-产品与设计/assets/HTML原型/2026-07-17-HIG-UIUX-重构沟通示例.html).+// Header: brand · global search · Docs · Credits · notifications · account.+// Sidebar: Dashboard (org level) → Workspace switcher → Quickstart / Overview / Harnesses /+// Tasks / Analytics / API Keys / Settings, with Support/Feedback footer.+import 'iconify-icon';+import { useCallback, useEffect, useMemo, useRef, useState } from 'react';+import Link from 'next/link';+import { usePathname, useRouter } from 'next/navigation';+import { getSession, logout } from '@/lib/auth';+import { useWorkspace } from '@/lib/workspace';+import { listCustom, OOB } from '@/lib/harness';+import { fetchTraceWindow, type TraceCard } from '@/lib/revamp-data';+import { SELF_HOSTED, SELF_HOSTED_NAV } from '@/lib/edition';++// Global search result, a workspace to switch to, a harness to open, or a task to jump into.+type SearchItem =+ | { kind: 'workspace'; id: string; label: string; sub?: string; current: boolean }+ | { kind: 'harness'; id: string; label: string; sub?: string }+ | { kind: 'task'; sid: string; harnessId?: string; label: string; sub?: string };++const MAX_PER_GROUP = 6;++/** A task's display name, its title, falling back to a short session handle. */+function taskLabel(t: TraceCard): string {+ return (t.title && t.title.trim()) || `Task ${(t.session_id || '').slice(0, 8)}`;+}++/** Wrap the first case-insensitive occurrence of `q` in <mark> for match highlighting. */+function highlight(text: string, q: string): React.ReactNode {+ if (!q) return text;+ const i = text.toLowerCase().indexOf(q);+ if (i < 0) return text;+ return (<>{text.slice(0, i)}<mark>{text.slice(i, i + q.length)}</mark>{text.slice(i + q.length)}</>);+}++// Finalized IA (2026-07-19 prototype revision): Monetization joins the workspace nav;+// Workspace Settings moves INTO the workspace switcher menu (no standalone sidebar entry).+const WORKSPACE_NAV = [+ { href: '/quickstart', icon: 'tabler:rocket', label: 'Quickstart' },+ { href: '/overview', icon: 'tabler:home', label: 'Overview' },+ { href: '/harnesses', icon: 'tabler:assembly', label: 'Harnesses' },+ { href: '/tasks', icon: 'tabler:list-details', label: 'Tasks' },+ // Monetization (builder revenue / Stripe Connect) hidden until the backend ships, owner+ // decision 2026-07-21; the route stays for direct links, only the nav entry is removed.+ { href: '/keys', icon: 'tabler:key', label: 'API Keys' },+].filter((n) => !SELF_HOSTED || SELF_HOSTED_NAV.includes(n.href));+// Platform-org-only surfaces (the Integrations console configures GLOBAL model routing).+// Customer BYOK later widens this to every org.+const PLATFORM_NAV = [+ { href: '/integrations', icon: 'tabler:plug-connected', label: 'Integrations', orgs: ['org.founderepsilla'] },+];++export function Shell({ children, credits }: { children: React.ReactNode; credits?: number | null }) {+ const pathname = usePathname() || '';+ const router = useRouter();+ const { workspaces, current, setCurrent, create } = useWorkspace();+ const [wsMenu, setWsMenu] = useState(false);+ const [wsCreate, setWsCreate] = useState(false);+ const [wsName, setWsName] = useState('');+ const [wsDesc, setWsDesc] = useState('');+ const [wsBusy, setWsBusy] = useState(false);+ const [wsErr, setWsErr] = useState('');+ const [acctMenu, setAcctMenu] = useState(false);+ const [mobileNav, setMobileNav] = useState(false);+ const [connectOpen, setConnectOpen] = useState(false);+ const wsRef = useRef<HTMLDivElement>(null);+ const acctRef = useRef<HTMLDivElement>(null);+ const connectRef = useRef<HTMLDivElement>(null);+ const mainRef = useRef<HTMLElement>(null);++ // Global search, matches workspaces (from context), and this workspace's harnesses + tasks+ // (loaded lazily on first focus, then filtered client-side). Substring, case-insensitive.+ const [searchOpen, setSearchOpen] = useState(false);+ const [query, setQuery] = useState('');+ const [activeIdx, setActiveIdx] = useState(0);+ const [harnesses, setHarnesses] = useState<{ id: string; name: string }[] | null>(null);+ const [tasks, setTasks] = useState<TraceCard[] | null>(null);+ const [searchLoading, setSearchLoading] = useState(false);+ const searchRef = useRef<HTMLDivElement>(null);+ const searchInputRef = useRef<HTMLInputElement>(null);+ const searchLoaded = useRef(false);++ const ensureSearchData = useCallback(async () => {+ if (searchLoaded.current) return;+ searchLoaded.current = true;+ setSearchLoading(true);+ try {+ const [h, t] = await Promise.all([+ listCustom().catch(() => []),+ fetchTraceWindow().catch(() => []),+ ]);+ // Search spans the built-in (default) harnesses AND the workspace's custom ones; the base+ // catalog also names tasks whose trace card carries only a base harness id (e.g. Codex).+ setHarnesses([...OOB.map((o) => ({ id: o.id, name: o.name })), ...h.map((c) => ({ id: c.id, name: c.name }))]);+ setTasks(t);+ } finally { setSearchLoading(false); }+ }, []);++ const q = query.trim().toLowerCase();+ const groups = useMemo(() => {+ if (!q) return null;+ // harness_name is missing on older trace cards; resolve it from the loaded harness list+ // (id -> name), which is how the Overview tables label tasks too.+ const hname = new Map((harnesses || []).map((h) => [h.id, h.name]));+ const ws = workspaces+ .filter((w) => w.name.toLowerCase().includes(q))+ .slice(0, MAX_PER_GROUP)+ .map((w): SearchItem => ({ kind: 'workspace', id: w.id, label: w.name, sub: w.description, current: w.id === current.id }));+ const hs = (harnesses || [])+ .filter((h) => h.name.toLowerCase().includes(q))+ .slice(0, MAX_PER_GROUP)+ .map((h): SearchItem => ({ kind: 'harness', id: h.id, label: h.name }));+ const ts = (tasks || [])+ .filter((t) => taskLabel(t).toLowerCase().includes(q) || (t.session_id || '').toLowerCase().includes(q))+ .slice(0, MAX_PER_GROUP)+ .map((t): SearchItem => ({ kind: 'task', sid: t.session_id, harnessId: t.harness_id, label: taskLabel(t), sub: (t.harness_id && hname.get(t.harness_id)) || t.harness_name || undefined }));+ return { ws, hs, ts };+ }, [q, workspaces, harnesses, tasks, current.id]);+ const flat = useMemo(() => (groups ? [...groups.ws, ...groups.hs, ...groups.ts] : []), [groups]);++ // Reset the keyboard cursor whenever the result set changes.+ useEffect(() => { setActiveIdx(0); }, [q, flat.length]);++ const openItem = useCallback((it: SearchItem) => {+ setSearchOpen(false);+ setQuery('');+ searchInputRef.current?.blur();+ if (it.kind === 'workspace') {+ if (it.current) return;+ setCurrent(it.id);+ // Match the switcher: hard reload so every workspace-scoped surface re-queries.+ window.location.reload();+ return;+ }+ if (it.kind === 'harness') { router.push(`/harnesses/${encodeURIComponent(it.id)}`); return; }+ const p = new URLSearchParams();+ if (it.harnessId) p.set('h', it.harnessId);+ p.set('sid', it.sid);+ // Hard nav (not router.push): the workbench binds its deep-linked task on mount, so when the+ // user is already on /tasks a client-side query swap changes the URL but doesn't reopen the+ // task. A full load remounts the workbench and opens the exact task every time.+ window.location.assign(`/tasks?${p.toString()}`);+ }, [router, setCurrent]);++ const onSearchKey = (e: React.KeyboardEvent) => {+ if (e.key === 'ArrowDown') { e.preventDefault(); setSearchOpen(true); setActiveIdx((i) => Math.min(i + 1, flat.length - 1)); }+ else if (e.key === 'ArrowUp') { e.preventDefault(); setActiveIdx((i) => Math.max(i - 1, 0)); }+ else if (e.key === 'Enter') { const it = flat[activeIdx]; if (it) { e.preventDefault(); openItem(it); } }+ else if (e.key === 'Escape') { setSearchOpen(false); searchInputRef.current?.blur(); }+ };++ // ⌘K / Ctrl+K focuses search from anywhere.+ useEffect(() => {+ const onKey = (e: KeyboardEvent) => {+ if ((e.metaKey || e.ctrlKey) && (e.key === 'k' || e.key === 'K')) {+ e.preventDefault();+ setSearchOpen(true);+ searchInputRef.current?.focus();+ void ensureSearchData();+ }+ };+ window.addEventListener('keydown', onKey);+ return () => window.removeEventListener('keydown', onKey);+ }, [ensureSearchData]);++ // main is the scroll container (not the document), start each page at its top,+ // otherwise client-side nav lands mid-scroll on the next page.+ useEffect(() => { mainRef.current?.scrollTo(0, 0); }, [pathname]);++ async function submitCreate(e: React.FormEvent) {+ e.preventDefault();+ if (!wsName.trim() || wsBusy) return;+ setWsBusy(true); setWsErr('');+ try {+ await create(wsName.trim(), wsDesc.trim());+ setWsCreate(false); setWsName(''); setWsDesc('');+ // Per the design: after creation, Quickstart opens so the user connects a coding agent+ // and mints the first Workspace API Key. Hard nav so every surface re-queries under the+ // new workspace scope.+ window.location.assign('/quickstart');+ } catch (ex) { setWsErr(ex instanceof Error ? ex.message : 'create failed'); }+ finally { setWsBusy(false); }+ }++ useEffect(() => {+ const close = (e: MouseEvent) => {+ if (wsRef.current && !wsRef.current.contains(e.target as Node)) setWsMenu(false);+ if (acctRef.current && !acctRef.current.contains(e.target as Node)) setAcctMenu(false);+ if (connectRef.current && !connectRef.current.contains(e.target as Node)) setConnectOpen(false);+ if (searchRef.current && !searchRef.current.contains(e.target as Node)) setSearchOpen(false);+ };+ document.addEventListener('mousedown', close);+ return () => document.removeEventListener('mousedown', close);+ }, []);+ useEffect(() => { setMobileNav(false); setSearchOpen(false); }, [pathname]);++ const s = getSession();+ const initials = (s?.member?.name || s?.member?.email || '?').slice(0, 2).toUpperCase();+ const avatarUrl = (s?.member?.avatar_url as string) || '';+ const isActive = (href: string) => pathname === href || pathname.startsWith(href + '/');++ const renderGroup = (title: string, icon: string, items: SearchItem[], offset: number) => {+ if (!items.length) return null;+ return (+ <div className="search-group">+ <p className="search-group-label">{title}</p>+ {items.map((it, i) => {+ const idx = offset + i;+ const active = idx === activeIdx;+ const key = it.kind === 'task' ? `task:${it.sid}` : `${it.kind}:${it.id}`;+ const isCurrentWs = it.kind === 'workspace' && it.current;+ return (+ <button key={key} type="button" role="option" aria-selected={active}+ className={'search-item' + (active ? ' is-active' : '')}+ onMouseEnter={() => setActiveIdx(idx)}+ onMouseDown={(e) => e.preventDefault()}+ onClick={() => openItem(it)}>+ <iconify-icon icon={icon} aria-hidden="true"></iconify-icon>+ <span className="search-item-main">+ <span className="search-item-label">{highlight(it.label, q)}</span>+ {it.sub ? <span className="search-item-sub">{it.sub}</span> : null}+ </span>+ {isCurrentWs+ ? <span className="search-item-tag">Current</span>+ : active ? <iconify-icon className="search-item-go" icon="tabler:corner-down-left" aria-hidden="true"></iconify-icon> : null}+ </button>+ );+ })}+ </div>+ );+ };++ return (+ <>+ <header className="app-header">+ <Link className="brand" href="/dashboard" aria-label="Open Dashboard">+ {/* Full wordmark on roomy headers; the icon alone once space gets tight. */}+ {/* eslint-disable-next-line @next/next/no-img-element -- small static brand asset */}+ <img className="brand-full" src="/harnessrouter-wordmark.png" alt="HarnessRouter" />+ {/* eslint-disable-next-line @next/next/no-img-element -- small static brand asset */}+ <img className="brand-icon" src="/harnessrouter-logo.svg" alt="HarnessRouter" />+ </Link>+ <div className="global-search" ref={searchRef}>+ <iconify-icon icon="tabler:search" aria-hidden="true"></iconify-icon>+ <input type="search" placeholder="Search workspaces, harnesses, tasks"+ aria-label="Search workspaces, harnesses, and tasks" role="combobox"+ aria-expanded={searchOpen} aria-controls="global-search-panel" autoComplete="off"+ ref={searchInputRef} value={query}+ onFocus={() => { setSearchOpen(true); void ensureSearchData(); }}+ onChange={(e) => { setQuery(e.target.value); setSearchOpen(true); void ensureSearchData(); }}+ onKeyDown={onSearchKey} />+ <span className="search-key">⌘ K</span>+ {searchOpen && q ? (+ <div className="search-panel" id="global-search-panel" role="listbox" aria-label="Search results">+ {flat.length === 0 ? (+ <div className="search-empty">{searchLoading ? 'Searching…' : `No matches for “${query.trim()}”`}</div>+ ) : (+ <>+ {renderGroup('Workspaces', 'tabler:building', groups!.ws, 0)}+ {renderGroup('Harnesses', 'tabler:assembly', groups!.hs, groups!.ws.length)}+ {renderGroup('Tasks', 'tabler:list-details', groups!.ts, groups!.ws.length + groups!.hs.length)}+ </>+ )}+ </div>+ ) : null}+ </div>+ <div className="header-utils">+ <a className="utility-link" href="https://harnessrouter.ai/docs" target="_blank" rel="noreferrer"><iconify-icon icon="tabler:book-2"></iconify-icon>Docs</a>+ {SELF_HOSTED ? null : (+ <div className="account-wrap" ref={acctRef}>+ <button className="account-button" type="button" aria-expanded={acctMenu} onClick={() => setAcctMenu((v) => !v)}>+ {avatarUrl+ /* eslint-disable-next-line @next/next/no-img-element -- external OAuth photo, not a local asset */+ ? <img className="account-avatar" src={avatarUrl} alt="" referrerPolicy="no-referrer" />+ : initials}+ </button>+ {acctMenu && (+ <div className="account-menu">+ <div className="account-meta"><strong>{s?.member?.name || 'Account'}</strong><span>{s?.member?.email || ''}</span></div>+ <button className="menu-item" type="button" onClick={() => { setAcctMenu(false); router.push('/billing'); }}><iconify-icon icon="tabler:credit-card"></iconify-icon>Billing & plan</button>+ <button className="menu-item" type="button" onClick={() => { setAcctMenu(false); router.push('/account'); }}><iconify-icon icon="tabler:settings"></iconify-icon>Account settings</button>+ <button className="menu-item" type="button" onClick={() => { logout(); router.replace('/login'); }}><iconify-icon icon="tabler:logout"></iconify-icon>Sign out</button>+ </div>+ )}+ </div>+ )}+ <button className="icon-button mobile-menu" type="button" aria-label="Open navigation" aria-expanded={mobileNav}+ onClick={() => setMobileNav((v) => !v)}><iconify-icon icon="tabler:menu-2"></iconify-icon></button>+ </div>+ </header>++ <aside className={'sidebar' + (mobileNav ? ' is-open' : '')} aria-label="Product navigation">+ {SELF_HOSTED ? null : (+ <div className="side-section global-nav">+ <Link className="side-nav" href="/dashboard" aria-current={isActive('/dashboard') ? 'page' : undefined}>+ <iconify-icon icon="tabler:layout-dashboard"></iconify-icon>Dashboard+ </Link>+ </div>+ )}+ <div className="switcher-wrap" ref={wsRef}>+ <p className="side-label">Workspace</p>+ <button className="workspace-switcher" type="button" aria-expanded={wsMenu} onClick={() => setWsMenu((v) => !v)}>+ <span><iconify-icon icon="tabler:building"></iconify-icon><span className="switcher-label">{current.name}</span></span>+ <iconify-icon icon="tabler:chevron-down"></iconify-icon>+ </button>+ {wsMenu && (+ <div className="workspace-menu">+ {workspaces.map((w) => (+ <button key={w.id} className="workspace-menu-item" type="button"+ aria-current={w.id === current.id}+ onClick={() => {+ setWsMenu(false);+ if (w.id !== current.id) {+ setCurrent(w.id);+ // Every data surface scopes reads by the active workspace, hard refresh so+ // long-lived client caches (recents polls, dashboards) re-query cleanly.+ window.location.reload();+ }+ }}>+ <span>{w.name}</span>+ {w.id === current.id && <iconify-icon icon="tabler:check"></iconify-icon>}+ </button>+ ))}+ <div className="workspace-menu-separator"></div>+ <button className="workspace-menu-item" type="button"+ onClick={() => { setWsMenu(false); router.push('/settings'); }}>+ <span><iconify-icon icon="tabler:settings"></iconify-icon> Workspace settings</span>+ </button>+ <button className="workspace-menu-item" type="button"+ onClick={() => { setWsMenu(false); setWsCreate(true); setWsErr(''); }}>+ <span><iconify-icon icon="tabler:plus"></iconify-icon> Create Workspace</span>+ </button>+ </div>+ )}+ </div>+ <div className="side-section workspace-nav">+ {WORKSPACE_NAV.map((n) => (+ <Link key={n.href} className="side-nav" href={n.href} aria-current={isActive(n.href) ? 'page' : undefined}>+ <iconify-icon icon={n.icon}></iconify-icon>{n.label}+ </Link>+ ))}+ {PLATFORM_NAV.filter((n) => n.orgs.includes(s?.orgId || '')).map((n) => (+ <Link key={n.href} className="side-nav" href={n.href} aria-current={isActive(n.href) ? 'page' : undefined}>+ <iconify-icon icon={n.icon}></iconify-icon>{n.label}+ </Link>+ ))}+ </div>+ <div className="sidebar-foot" ref={connectRef}>+ {SELF_HOSTED ? null : (+ <button className="credits-card" type="button" onClick={() => router.push('/billing')}+ aria-label={credits != null ? `Credit balance, ${credits} credits — manage billing` : 'Billing'}>+ <span className="credits-card-coin" aria-hidden="true"><iconify-icon icon="tabler:currency-dollar"></iconify-icon></span>+ <span className="credits-card-body">+ <span className="credits-card-label">Credits</span>+ <span className="credits-card-value">{credits != null ? credits.toLocaleString() : '—'}</span>+ </span>+ <iconify-icon className="credits-card-go" icon="tabler:chevron-right" aria-hidden="true"></iconify-icon>+ </button>+ )}+ <button className="side-nav connect-trigger" type="button" aria-expanded={connectOpen}+ onClick={() => setConnectOpen((v) => !v)}>+ <iconify-icon icon="tabler:world" aria-hidden="true"></iconify-icon>+ <span>Connect</span>+ <iconify-icon className="connect-chevron" icon="tabler:chevron-up" aria-hidden="true"></iconify-icon>+ </button>+ {connectOpen && (+ <div className="connect-menu">+ <a className="connect-item" href="https://discord.gg/nPcbwqVPb2" target="_blank" rel="noopener noreferrer" aria-label="Open the public HarnessRouter Discord community in a new tab">+ <iconify-icon icon="tabler:brand-discord" aria-hidden="true"></iconify-icon><span>Discord</span><iconify-icon className="connect-external" icon="tabler:external-link" aria-hidden="true"></iconify-icon>+ </a>+ <a className="connect-item" href="https://github.com/HarnessRouter" target="_blank" rel="noopener noreferrer" aria-label="Open HarnessRouter on GitHub in a new tab">+ <iconify-icon icon="tabler:brand-github" aria-hidden="true"></iconify-icon><span>GitHub</span><iconify-icon className="connect-external" icon="tabler:external-link" aria-hidden="true"></iconify-icon>+ </a>+ <a className="connect-item" href="https://linkedin.com/company/harnessrouter/" target="_blank" rel="noopener noreferrer" aria-label="Open HarnessRouter on LinkedIn in a new tab">+ <iconify-icon icon="tabler:brand-linkedin" aria-hidden="true"></iconify-icon><span>LinkedIn</span><iconify-icon className="connect-external" icon="tabler:external-link" aria-hidden="true"></iconify-icon>+ </a>+ <a className="connect-item" href="https://x.com/HARNESSROUTER" target="_blank" rel="noopener noreferrer" aria-label="Open HarnessRouter on X in a new tab">+ <iconify-icon icon="tabler:brand-x" aria-hidden="true"></iconify-icon><span>X</span><iconify-icon className="connect-external" icon="tabler:external-link" aria-hidden="true"></iconify-icon>+ </a>+ </div>+ )}+ </div>+ </aside>++ <main ref={mainRef}>{children}</main>++ {wsCreate && (+ <div className="modal-backdrop">+ <section className="modal" role="dialog" aria-modal="true" aria-labelledby="newWsTitle" onClick={(e) => e.stopPropagation()}>+ <div className="modal-header">+ <div><h2 id="newWsTitle">Create Workspace</h2><p>Create a business or environment boundary for its Harnesses, Tasks, API Keys, and Revenue.</p></div>+ <button className="icon-button modal-close" type="button" aria-label="Close dialog" onClick={() => setWsCreate(false)}><iconify-icon icon="tabler:x"></iconify-icon></button>+ </div>+ <div className="modal-body">+ <form onSubmit={submitCreate}>+ <div className="field-stack">+ <div className="field"><label htmlFor="newWsName">Name</label>+ <input id="newWsName" value={wsName} placeholder="Customer Support" autoFocus+ onChange={(e) => setWsName(e.target.value)} />+ <span className="field-help">Use a product, customer, or environment name your team will recognize.</span></div>+ <div className="field"><label htmlFor="newWsDesc">Description <span className="optional-label">Optional</span></label>+ <textarea id="newWsDesc" value={wsDesc} placeholder="Customer-facing support workflows."+ onChange={(e) => setWsDesc(e.target.value)} /></div>+ {wsErr && <div className="notice"><iconify-icon icon="tabler:alert-triangle"></iconify-icon><div><strong>Could not create</strong>{wsErr}</div></div>}+ </div>+ <div className="creation-next"><iconify-icon icon="tabler:arrow-right"></iconify-icon><span>After creation, Quickstart opens so you can connect a coding agent and create the first Workspace API Key.</span></div>+ <div className="modal-actions">+ <button className="button" type="button" onClick={() => setWsCreate(false)} disabled={wsBusy}>Cancel</button>+ <button className="button primary" type="submit" disabled={wsBusy || !wsName.trim()}>{wsBusy ? 'Creating…' : 'Create Workspace'}</button>+ </div>+ </form>+ </div>+ </section>+ </div>+ )}+ </>+ );+}diff --git a/ui/src/lib/agentmd.ts b/ui/src/lib/agentmd.tsnew file mode 100644index 00000000..42760f4c--- /dev/null+++ b/ui/src/lib/agentmd.ts@@ -0,0 +1,642 @@+// The interactive AGENTS.md a vibe coder drops into their own coding agent (Claude Code / Codex).+// Key-Tool-Gate revision (2026-07-18 candidate, adopted): the API-key setup is Step 0, a state+// machine (KEY_SETUP_STATUS / KEY_SOURCE) executed as the FIRST tool call, before product planning:+// 0.1 resolve server env / secret file, 0.2 secret-input tool or wrapped OS-native password dialog+// (osascript hidden answer / PowerShell / zenity), 0.3 open-the-env-file fallback, 0.4 verify with+// classified statuses only. Steps renumbered (understand=1, agent=2, build=3, test=4); Step 1 adds+// the feature-key inventory + Workspace mapping. Retains the trace-audit fixes (data:-only frames,+// done≠completed, verbatim schemas) and the workspace-scoped-key note.+// NOTE: the /agents page renders this markdown in two prose slices around a rich React+// API reference: it splits on the literal anchors '\n## Runtime integration reference' and+// '\n## Done conditions'. Keep those headings verbatim (or update agents/page.tsx) when editing.+export function agentMd(apiBase = 'https://api.harnessrouter.ai'): string {+ return `# HarnessRouter, Add an AI agent feature to a product++You are a coding agent helping the user build or modify a product that uses HarnessRouter for+runtime agent capabilities.++HarnessRouter runs configured agents. The user's product keeps its own UI, authentication,+authorization, product data, and user experience.++## Step 0, Execute the API-key setup++Complete this step before product planning or implementation. The first tool call for this guide+must execute the Key setup flow. Track its result as \`KEY_SETUP_STATUS\`.++### 0.1 Prepare the secret destination and resolve the current state++Use a Coding Agent execution tool to perform this sequence before any input tool can save a Key.+Track the selected source as \`KEY_SOURCE\`:++1. Resolve the project root.+2. Check trusted server environment sources already available to the product server, including its+ process environment, deployment environment, or configured secret manager, only for whether+ \`HR_API_KEY\` is present and non-empty. If present, set \`KEY_SOURCE=SERVER_ENV\`, set+ \`KEY_SETUP_STATUS=READY\`, and immediately execute Step 0.4 without creating a local secret file.+3. Otherwise resolve one server-only secret file as \`KEY_ENV_FILE\`. Use \`.env\` when it is not tracked by Git.+ When \`.env\` is already tracked, preserve it unchanged and use a project-supported ignored secret+ file, preferring \`.env.local\`; verify or configure the product server to load that file.+4. Add \`KEY_ENV_FILE\` to \`.gitignore\` if it is not already covered, then create the file if it does+ not exist.+5. Add \`HR_API_KEY=\` if that variable is not already present, preserving all other content.+6. Create or update the committed \`.env.example\` with an empty \`HR_API_KEY=\` entry while+ preserving its other content.+7. Set \`KEY_ENV_FILE\` to owner read/write permissions where the platform supports it.+8. Check only whether \`HR_API_KEY\` is present and non-empty in \`KEY_ENV_FILE\`. Return a Boolean+ status, not the value.++- If present, set \`KEY_SOURCE=FILE\`, set \`KEY_SETUP_STATUS=READY\`, and continue to Step 0.4.+- If absent, immediately continue to Step 0.2 in the same setup flow.++### 0.2 Collect the Key with a tool++Select and execute the first available tool path automatically:++1. Use a Coding Agent secret-input tool when it masks the value, excludes it from the transcript,+ and writes it directly to a trusted local secret destination.+2. Otherwise, use the Coding Agent execution tool to run a wrapper around an OS-native password+ dialog. The wrapper captures the submitted value inside the process, writes it directly to the+ prepared \`KEY_ENV_FILE\`, suppresses the dialog's stdout and stderr from the execution transcript, clears+ the in-process value, and emits only one status. On macOS, wrap \`osascript\` with a hidden answer;+ on Windows, wrap the native PowerShell password input; on Linux desktop, wrap+ \`zenity --password\` or the available native equivalent.+3. If neither path is available or succeeds, immediately execute Step 0.3.++Label the input \`HarnessRouter API key\` and mention that it starts with \`sk-hr-\`. The tool+handler writes the submitted value directly to the project's \`KEY_ENV_FILE\` as+\`HR_API_KEY\`. Its result contains exactly one status:++- \`KEY_SAVED\`+- \`KEY_CANCELLED\`+- \`KEY_INPUT_UNAVAILABLE\`++When the result is \`KEY_SAVED\`, verify only that \`HR_API_KEY\` is present and non-empty, set+\`KEY_SOURCE=FILE\`, set \`KEY_SETUP_STATUS=READY\`, and immediately execute Step 0.4.++When the result is \`KEY_CANCELLED\`, set \`KEY_SETUP_STATUS=CANCELLED\` and continue only with work+that does not require authenticated HarnessRouter requests.++When the result is \`KEY_INPUT_UNAVAILABLE\`, immediately execute Step 0.3.++### 0.3 Open the local \`.env\` fallback++Use the Coding Agent's file or execution tool to open the \`KEY_ENV_FILE\` prepared in Step 0.1 in the+user's trusted local editor. Place the cursor after \`HR_API_KEY=\` when the editor integration+supports it.++Then tell the user:++> The local server environment file is open. Paste your HarnessRouter API key after+> \`HR_API_KEY=\`, save the+> file, then reply \`ready\`.++Set \`KEY_SETUP_STATUS=WAITING_FOR_ENV\` and wait for the user's response.++When the user replies \`ready\`, verify only whether \`HR_API_KEY\` is present and non-empty.++- If present, set \`KEY_SOURCE=FILE\`, set \`KEY_SETUP_STATUS=READY\`, and immediately execute Step 0.4.+- If absent, reopen the same \`KEY_ENV_FILE\` and keep \`KEY_SETUP_STATUS=WAITING_FOR_ENV\`.++If the local editor cannot be opened automatically, report the resolved absolute \`KEY_ENV_FILE\` path,+keep \`KEY_SETUP_STATUS=WAITING_FOR_ENV\`, and ask the user to open that exact file, paste the Key+after \`HR_API_KEY=\`, save it, and reply \`ready\`.++### 0.4 Verify the connection++Authenticated HarnessRouter operations may begin only when \`KEY_SETUP_STATUS=READY\`.++Use an execution wrapper in the server context selected by \`KEY_SOURCE\`. For \`SERVER_ENV\`, read the+existing trusted environment value in the context that already has access to it. For \`FILE\`, read+\`HR_API_KEY\` from \`KEY_ENV_FILE\` directly into the request process. Send the header without placing+the Key in command arguments or tool output, suppress response headers and bodies from the+transcript, clear the in-process value, and emit only the classified status for this server-side+request:++\`\`\`http+GET ${apiBase}/v1/models+Authorization: Bearer $HR_API_KEY+\`\`\`++Apply the result as follows:++- HTTP 200: report \`HarnessRouter connection verified\`, keep \`KEY_SETUP_STATUS=READY\`, and+ continue to Step 1.+- HTTP 401 or 403: report \`HarnessRouter rejected the Key\` and set \`KEY_SETUP_STATUS=REJECTED\`.+ For \`KEY_SOURCE=FILE\`, replace only the \`HR_API_KEY\` value in \`KEY_ENV_FILE\` with an empty value+ and execute Step 0.2 again. For \`KEY_SOURCE=SERVER_ENV\`, ask the user to update that same trusted+ server environment source and wait for \`ready\` before retrying Step 0.4.+- HTTP 429: report \`HarnessRouter rate limited verification\`, set \`KEY_SETUP_STATUS=RATE_LIMITED\`,+ wait for \`Retry-After\` when supplied, and retry Step 0.4.+- HTTP 500–599: report \`HarnessRouter service is unavailable\`, set+ \`KEY_SETUP_STATUS=SERVICE_UNAVAILABLE\`, and wait or retry Step 0.4.+- Any other HTTP response: report only its status code as a configuration failure, set+ \`KEY_SETUP_STATUS=CONFIGURATION_ERROR\`, and wait for the configuration to be corrected before+ retrying Step 0.4.+- Network failure: report \`HarnessRouter could not be reached\`, set+ \`KEY_SETUP_STATUS=CONNECTION_UNAVAILABLE\`, and wait without making another authenticated call.+ Retry Step 0.4 only after the user explicitly requests it or confirms that network access changed.++The Key remains in the server-side secret destination. Verification and later tool results expose+only status. Every server-side HarnessRouter request uses:++\`\`\`http+Authorization: Bearer $HR_API_KEY+\`\`\`++HarnessRouter base URL:++\`\`\`text+${apiBase}+\`\`\`++Third-party access tokens use the same tool-selection flow and are stored through the HarnessRouter+secrets endpoint.+The Key also carries its scope: a key created inside a HarnessRouter Workspace sees and creates+agents and sessions in that Workspace only. That is normal, one product integration lives in one+Workspace. If an expected agent is missing from \`GET /v1/harnesses\`, the Key likely belongs to a+different Workspace; ask the user to create the Key from the intended Workspace in the dashboard.++---++## The most important boundary++There are two different jobs. Never collapse them into one.++1. **Build-time product work** is done by you, the current coding agent, in the user's project.+ Examples: create the app, build its UI, add server routes, implement authentication, connect+ HarnessRouter, render results, and add tests.+2. **Runtime end-user work** is done by a configured HarnessRouter agent after the product+ integration exists. Examples: generate one game from a game brief, review one uploaded contract,+ fix one submitted codebase, or create one slide deck.++When the user asks you to build an app or product feature whose end users will use AI to perform a+task, implement the host product in the user's project. Configure HarnessRouter to perform the+future end-user task at runtime.++Do not send the host-product request itself to the HarnessRouter agent. Only send representative+end-user tasks after the host product and its server-side integration exist.++### Example++User request:++> Build an app that lets users generate playable games.++Build-time responsibility:++- Build the game-generation product, UI, server routes, authentication, result renderer, and+ HarnessRouter integration.++Runtime-agent responsibility:++- Receive a specific end-user game brief and return playable game files.++Incorrect runtime input:++> Build an app that generates games.++Correct runtime input:++> Create a playable two-player space rescue game with scoring, win/loss states, and restart.++## Request classification gate++Before calling HarnessRouter, classify the current request:++- **Host-product request:** asks to build, add, integrate, design, or modify an app or product.+ Implement it locally in the user's project. Extract the future runtime capability as the+ HarnessRouter agent's purpose, but do not forward the host-product request as runtime input.+- **Runtime task:** asks the already-integrated product agent to perform one end-user job. Send it+ through the product's authenticated server route to the configured HarnessRouter agent.+- **Harness administration:** asks to create, update, inspect, or test agent configuration. Use the+ HarnessRouter management API, but do not treat configuration work as an end-user task.+- **Unclear request:** ask one short question: "Should I build the product feature, or run one task+ with an agent that is already connected?" Suggest the likely answer.++Do not call \`POST /{harness_id}/v1/responses\` until this classification is complete.++## Standing rule, runtime agent capability goes through HarnessRouter++For product features that perform multi-step reasoning, tool use, code execution, file reading or+generation, browsing, or other autonomous work, use a purpose-configured HarnessRouter agent.++- Do not hand-roll an agent loop, tool dispatcher, planner/executor, sandbox, retry manager, or+ separate agent orchestration framework.+- One product can use many purpose-configured agents. Reuse an existing agent when its purpose and+ permissions genuinely match; otherwise create a new one.+- HarnessRouter owns runtime execution, tools, sandboxing, files, retries, and session continuity.+- The product owns UI, authentication, tenant authorization, product records, policy, and rendering.+- A plain single-shot text transformation with no tools, files, or multi-step work may use a raw+ model call if that matches the user's existing architecture.++This rule governs runtime implementation. It does not authorize replacing unrelated existing+architecture or ignoring a later explicit user instruction.++## Vocabulary++- **Host app:** the user's product being built or modified.+- **Coding agent:** you, working on the host app at build time.+- **Base harness:** the execution engine, currently \`codex\`, \`claude-code\`, or \`hermes\`.+- **Configured agent:** a HarnessRouter harness record with a purpose, instructions, tools, skills,+ model policy, and limits. Its ID is the \`harness_id\` used to run tasks.+- **Runtime task:** one end-user request executed by the configured agent.+- **Session:** the persistent conversation and working folder used across related runtime turns.+- **Response:** one runtime turn inside a session.++Use user-friendly language in the product UI. Use the exact API terms in code and technical notes.++## How to work with the user++- Keep explanations short and use plain language unless the user asks for technical detail.+- Ask one question at a time only when the answer is required.+- Make reversible implementation choices yourself. Explain choices that affect cost, permissions,+ data access, security, or long-term product architecture.+- Never claim the integration works because a direct API call succeeded. The generated host app+ must be started and tested as an end user.++---++## Step 1, Understand the product feature++If the request is already clear, proceed without repeating these questions. Otherwise ask, one at+a time:++1. What should the host app let its end users accomplish?+2. Should the feature appear as a conversation, a button/action, or a background job? Suggest the+ natural default.+3. What product data or external tools may the runtime agent use?+4. What rules, permissions, output formats, or prohibited actions apply?+5. Which agent-powered feature keys exist, and which Workspace and configured agent should serve+ each one?++Write down two separate statements:++- **Host-app goal:** what you will build in the user's project.+- **Runtime-agent purpose:** what the configured HarnessRouter agent will do for an end user.++Example:++\`\`\`text+Host-app goal: Build a responsive game-generation app with an idea form, progress stream,+playable preview, saved sessions, downloads, and Continue/Revise.++Runtime-agent purpose: Turn one end-user game brief into verified, playable browser-game files.+\`\`\`++Never use the host-app goal as the runtime task.++Create a feature inventory before configuring agents:++| Feature key | Runtime job | Inputs | Outputs | Data/Tools | Permission boundary |+|---|---|---|---|---|---|++Group feature keys into one configured agent only when their runtime purpose, data access, tools,+permissions, and output contract all match. Use separate configured agents when any of those+boundaries differ. Select or create the project Workspace through the deployed API or official+HarnessRouter product surface, then record every approved \`feature_key → harness_id\` mapping in+the authenticated product server configuration.++---++## Step 2, Find, create, or update the configured agent++For each feature group from Step 1, first call \`GET /v1/harnesses\` in the selected Workspace and+look for an existing agent whose purpose, tool permissions, skills, model policy, and output+contract match the group.++- Reuse it only when those boundaries match.+- Update it when it is the canonical agent for this feature and the requested change is compatible.+- Otherwise create a new agent with \`POST /v1/harnesses\`.+- Do not create duplicate agents merely because this guide is run twice.++Get the current model catalog from \`GET /v1/models\` and the allowed models for an existing agent+from \`GET /v1/harnesses/{id}/models\`. Do not hardcode a model name as permanent policy.++\`GET /v1/models\` returns a map keyed by **backend**, not by base-harness name:++\`\`\`json+{+ "backends": {+ "codex": { "default": "<id>", "models": [ { "id": "...", "label": "...", "backend": "codex", "available": true, "default": true } ] },+ "claude": { "default": "<id>", "models": [ { "id": "...", "label": "...", "backend": "claude", "available": true, "default": false } ] },+ "hermes": { "default": "<id>", "models": [ { "id": "...", "label": "...", "backend": "hermes", "available": true, "default": false } ] }+ }+}+\`\`\`++Note the naming mismatch: the base harness \`claude-code\` corresponds to the backend key+\`claude\` (\`codex\` and \`hermes\` match their backend keys). A harness record with+\`defaultModel: ""\` (empty string) means "use the backend's default model", treat empty and+null alike.++Choose a sensible default when the product has no model-selection requirement. If the product lets+users select a model, fetch the allowed set server-side, apply product or tenant policy, validate+the selection on the server, and record the requested and actual model.++Create example:++\`\`\`bash+curl -sS ${apiBase}/v1/harnesses \\+ -H "Authorization: Bearer $HR_API_KEY" \\+ -H "Content-Type: application/json" \\+ -d '{+ "name": "Playable Game Generator",+ "base": "codex",+ "default_model": "<allowed model from the models API>",+ "system_prompt": "<runtime-agent instructions, not the host-app request>",+ "mcp_servers": [],+ "skills": []+ }'+\`\`\`++The configured agent's instructions must:++1. Define the runtime job and reject host-product or HarnessRouter-integration work as a role+ mismatch when the agent is purpose-limited.+2. Save every deliverable as a real file in the working directory.+3. Define the expected output and Artifact structure, including the primary file, supporting files,+ entry point, relationships, and verification result when applicable.+4. Never return \`localhost\` or \`127.0.0.1\` as a user-facing link.+5. Avoid secrets, private services, and actions outside the configured permissions.++For a game generator, include a boundary such as:++\`\`\`text+You generate one playable game from an end-user game brief. You do not build the host+game-generation product, integrate HarnessRouter, create API routes, or redesign the caller's app.+If asked to do host-product or integration work, return role_mismatch with a short explanation.+\`\`\`++**Verify a skill actually landed** after configuring custom skills: run one narrow diagnostic that+lists the installed skill files and reads the first line of every root \`SKILL.md\`. Every configured+skill must appear before the host app relies on it.++---++## Step 3, Build the host app before running a task++Implement the product feature in the user's project. At minimum:++1. Build the native product UI for the requested experience.+2. Add an authenticated server route that accepts a trusted \`feature_key\`, resolves the+ allowlisted \`harness_id\` from the current user's or tenant's server-side mapping, and calls+ HarnessRouter. The browser sends the feature key and product input; the server selects the+ configured agent and keeps the HarnessRouter call server-side.+3. Map every created \`session_id\` and response/run identifier to the authenticated product user or+ tenant. Authorize list, detail, continue, cancel, file, preview, and download operations.+4. Generate a fresh \`Idempotency-Key\` for every new runtime request (a UUID is fine). Reuse the+ same key only when retrying that exact request.+5. Stream long tasks. As soon as the \`response.created\` event arrives, save the two recovery+ identifiers from its payload, exact JSON paths: \`response.id\` and+ \`response.metadata.session_id\` (the metadata object is **nested inside \`response\`**, not at+ the frame's top level).+6. If a stream drops after \`response.created\`, recover from the saved session. Do not start a+ second runtime task. Closing or losing the SSE connection does **not** stop the run, the+ agent keeps working server-side; stopping it requires an explicit+ \`POST /v1/sessions/{session_id}/cancel\`.+7. Support terminal states explicitly: completed, incomplete, failed, and cancelled. Offer+ Continue for incomplete work when appropriate.+8. Proxy file download and inline preview through an authenticated product server route. The+ browser must never receive the HarnessRouter API key, this includes \`download_url\` values+ from the files API, which point at the HarnessRouter API and require the Bearer key.+9. Render outputs according to trusted media type plus Artifact metadata. Safely handle Markdown,+ structured JSON, code, Diff/Patch, directory trees, HTML previews, images, PDF, Office files,+ CSV/XLSX, multi-file projects, and unknown types.+10. Isolate untrusted HTML and code previews. Do not give generated content access to the parent+ page, product credentials, or privileged browser APIs.++The host app must retain its own product-level ownership and authorization records even when+HarnessRouter provides session history. Do not expose account-wide session listings directly to+end users.++---++## Step 4, Test through the host app++Only after Step 3 is complete, run a representative end-user task.++The preferred path is:++\`\`\`text+Test user+ → host app UI+ → authenticated host-app server route+ → configured HarnessRouter agent+ → streamed status, response, and files+ → host app renderer+\`\`\`++A direct \`POST /{harness_id}/v1/responses\` call may be used only as a narrow diagnostic to isolate+an integration failure. It does not prove the host app works and cannot satisfy completion.++For the game-generation example:++- Incorrect test input: "Build an app that generates games."+- Correct runtime test input: "Create a playable two-player space rescue game with keyboard+ controls, scoring, win/loss states, and restart."++The test passes only if:++- the host app itself is present and starts successfully;+- the runtime request originates through the host app;+- the expected configured agent receives the end-user task;+- streaming, recovery identifiers, and terminal status are handled;+- returned files are rendered or downloaded through authorized product routes;+- the main Artifact is usable, not just described;+- Session Recall and Continue/Revise work;+- a second product user cannot see, download, cancel, or continue the first user's task.++---++## Runtime integration reference++### Run a task++Use the configured agent ID as the first path segment:++\`\`\`http+POST /{harness_id}/v1/responses+\`\`\`++Send \`Idempotency-Key\` on the initial request, not only on retries. Prefer streaming for agent work.++\`\`\`json+{+ "input": "Create a playable two-player space rescue game.",+ "stream": true+}+\`\`\`++### Stream wire format, read this before writing a parser++The stream is Server-Sent Events, but in the **OpenAI Responses style: \`data:\`-only frames.+There are no \`event:\` lines.** The event name is the \`type\` field *inside* the JSON payload.+A parser that dispatches on the SSE event name will see every frame as \`message\` and match+nothing, dispatch on \`data.type\` instead.++A real first frame (one \`data:\` line, frames separated by a blank line):++\`\`\`text+data: {"type": "response.created", "sequence_number": 0, "response": {"id": "resp_…", "object": "response", "created_at": 1784410449, "status": "in_progress", "error": null, "incomplete_details": null, "previous_response_id": null, "model": "…", "output": [], "store": true, "usage": null, "metadata": {"session_id": "hsess…"}}}+\`\`\`++- Recovery identifiers live at \`data.response.id\` and \`data.response.metadata.session_id\`.+- Frames carry a \`sequence_number\` you can use for ordering/debugging.+- Lifecycle frames not listed in the table below also appear (for example+ \`response.in_progress\`, roughly one heartbeat-style frame per step). **Ignore unknown+ \`type\` values instead of erroring**, the set is open.+- Payloads for the delta/item events follow the OpenAI Responses streaming schema for that+ \`type\`.++Important stream events:++| \`data.type\` | Product behavior |+|---|---|+| \`response.created\` | Save \`response.id\` and \`response.metadata.session_id\` immediately |+| \`response.in_progress\` | Liveness signal; no UI change needed |+| \`response.output_text.delta\` | Append visible answer text |+| \`response.reasoning_summary_text.delta\` | Optional progress summary |+| \`response.output_item.added\` | Show sanitized tool/activity status |+| \`response.output_text.annotation.added\` | Record returned file metadata |+| \`response.completed\` | Finalize successful UI state |+| \`response.incomplete\` | Show partial result and Continue action |+| \`response.failed\` | Show the classified failure or cancellation state |++If the stream drops after \`response.created\`, poll \`GET /v1/sessions/{session_id}\` until terminal,+then recover the final answer from \`/turns\` and recent files from \`/files?changed=true\`.++**The session record's SUCCESS status differs from the stream's event name.** A successfully+finished turn reports \`status: "done"\` (plus \`turn_status: "done"\`), **not** \`completed\`;+failure-side states (\`failed\`, \`cancelled\`, \`incomplete\`) match the stream's names. Code that+polls for the literal string \`completed\` will never see success terminate. Poll until \`status\`+leaves \`running\`/\`starting\`, treat \`"done"\` as success-side terminal, and read the actual answer+text from \`/turns\`. Useful fields on the session object: \`status\`, \`turn_status\`,+\`last_response_id\`, \`harness_id\`, \`harness_name\`, \`model\`, \`backend\`, \`user_prompt\`, \`title\`,+\`elapsed\`, \`finished_at\`, \`event_count\`.++A brand-new session normally starts within seconds (warm sandbox pool); under a burst a fresh+sandbox can take 1-2 minutes, the request waits and then runs, so treat "no first event yet" as+startup, not failure. Errors are JSON \`{ "detail": "..." }\` with standard HTTP codes (400 invalid+body, the detail says what, 401 bad key, 404 not yours or missing).++### Continue++\`\`\`json+{+ "input": "Continue where you left off and finish the remaining work.",+ "previous_response_id": "<response id>",+ "metadata": { "session_id": "<session id>" }+}+\`\`\`++### Upload a file++Upload with \`POST /v1/files\`, then reference the returned \`file_id\` in an \`input_file\` content+block. The upload, runtime request, Session, and returned files must all remain associated with the+same authorized product user or tenant.++### Sessions and files++- \`GET /v1/sessions?harness={id}&limit=20\`+- \`GET /v1/sessions/{session_id}\`+- \`GET /v1/sessions/{session_id}/turns\`+- \`POST /v1/sessions/{session_id}/cancel\`+- \`GET /v1/sessions/{session_id}/files\`+- \`GET /v1/sessions/{session_id}/files?changed=true\`+- \`GET /v1/containers/{session_id}/files/{file_id}/content\`+- \`GET /v1/sessions/{session_id}/files/archive\`, every artifact as ONE zip, folder hierarchy+ preserved (each zip entry's path is the file's relative path). Scopes: default = the whole+ workspace; \`?changed=true\` = only the most recent turn's outputs; \`?files=fid1,fid2\` = exactly+ those file ids (one specific turn's citations). Same auth rule as \`download_url\`: fetch it+ server-side and relay the bytes from your own authenticated route. Wire "Download all" to this.++Call these only from authenticated product server routes after verifying product-level ownership.++\`GET /v1/sessions/{session_id}/files\` returns:++\`\`\`json+{+ "session_id": "hsess…",+ "count": 1,+ "files": [+ {+ "path": "index.html",+ "bytes": 12117,+ "media_type": "text/html",+ "file_id": "cfile_…",+ "download_url": "${apiBase}/v1/containers/hsess…/files/cfile_…/content"+ }+ ]+}+\`\`\`++- Field names are snake_case here (\`file_id\`, \`media_type\`), the same convention as request+ bodies, unlike harness records which come back camelCase.+- \`download_url\` is simply the \`/containers/…/content\` URL for that file. It is an+ **API-key-protected endpoint, not a pre-signed public link**, it must be fetched+ server-side with the Bearer header and must never be handed to the browser. Serve the bytes+ from your own authenticated product route with \`Content-Disposition: attachment\` for+ downloads or \`inline\` for previews.+- \`file_id\` values (\`cfile_…\`) are opaque, use \`path\` for the user-facing filename+ (sanitize it to a basename before putting it in a \`Content-Disposition\` header).+- Use \`media_type\` to pick the renderer for inline display.+- Office files (DOCX/PPTX/XLSX) have a server-converted PDF preview: replace \`/content\` with+ \`/pdf\` on the same URL.++### Agent configuration and models++- \`GET /v1/harnesses\`+- \`POST /v1/harnesses\`+- \`GET | PUT | DELETE /v1/harnesses/{id}\`+- \`GET /v1/models\`+- \`GET /v1/harnesses/{id}/models\`+- \`PUT /v1/mcp-secrets/{short-name}\`+- \`GET /v1/harnesses/{id}/skills/{name}/files\`++Facts the schema will not tell you:++- Request bodies are snake_case (\`default_model\`, \`max_step\`); harness records in responses+ return camelCase (\`defaultModel\`, \`maxStep\`), but session and file objects return+ snake_case (\`session_id\`, \`file_id\`). Check each payload rather than assuming one+ convention. A \`null\` \`maxStep\`/\`timeoutSeconds\` (or an empty-string \`defaultModel\`) means+ the server defaults apply at run time (400 steps / 1800 s / backend default model).+- Skills install as folders: \`skills[]\` entries are \`{name, files:[{path, content|content_b64}]}\`;+ \`path\` keeps relative directories and the root \`SKILL.md\` needs YAML frontmatter (\`name\`,+ \`description\`). Bundles over ~48 KB round-trip as \`{name, enabled, blob}\` with no \`files\` —+ this is normal; pass such entries back unchanged on update, and read the real files back with+ \`GET /v1/harnesses/{id}/skills/{name}/files\`.+- Every base agent already includes document skills (docx, pdf, pptx, xlsx), Office+ deliverables need no custom skill.+- \`additional_headers[]\` declares header NAMES the product forwards on each run for app-level+ auth (for example a per-user JWT): declare \`"X-App-JWT"\`, send that header on each+ \`/responses\` call, and reference it in an MCP server's \`auth\` as \`"$headers.X-App-JWT"\` —+ injected per request, never stored. This is the supported path for per-tenant downstream+ identity.++Treat the deployed API schema as the source of truth for exact fields and capability metadata;+do not invent unsupported behavior.++---++## Done conditions++Before finishing, confirm all of these conditions:++- The request was classified as host-product work, runtime work, or Harness administration.+- The host-app goal and runtime-agent purpose are written separately.+- No host-product request was forwarded to the runtime agent.+- When the task required an authenticated HarnessRouter operation, \`KEY_SETUP_STATUS\` reached+ \`READY\` through Step 0 before the first authenticated request. Otherwise, the non-ready status+ was recorded and no authenticated request was made.+- An appropriate configured agent was reused, updated, or created without duplication.+- The host app contains authenticated, tenant-authorized server routes for run, recovery,+ Continue, cancel, files, previews, and downloads as required by the feature.+- Every initial runtime request includes a unique \`Idempotency-Key\`.+- The stream parser dispatches on \`data.type\` rather than the SSE event name and accepts unknown+ types.+- The host app was started and a representative end-user task was submitted through it.+- Streaming, terminal state, files, rendering, Recall, and Continue/Revise were verified.+- Cross-user access to Session and files was rejected.+- The final result is a working product integration, not merely a successful direct Harness run.+`;+}diff --git a/ui/src/lib/api.ts b/ui/src/lib/api.tsdeleted file mode 100644index b918a65f..00000000--- a/ui/src/lib/api.ts+++ /dev/null@@ -1,146 +0,0 @@-// Gateway client for the self-hosted console.-//-// No auth. A self-hosted instance is a single-tenant box the operator already controls — the-// hosted product's login, org switching and JWTs would be ceremony with nothing behind it. So-// identity is a constant here, and the gateway runs with its identity mode off.-//-// Everything else is deliberately the SAME wire protocol as the hosted deployment: the same-// /v1 routes, the same workspace headers, the same Responses SSE shape. That is what makes-// "push my harnesses to the cloud" a straight copy later rather than a translation.--import { LOCAL_ORG } from './identity';-import { harnessBody, type Harness } from './harness';--export type { Harness };--const BASE = '/api/gw';--// ── workspaces ────────────────────────────────────────────────────────────────-// Workspaces are a first-class local concept: one instance, many isolated sets of harnesses-// and tasks. The hosted product models them as spaces in a separate service; self-hosted keeps-// the same header contract but stores the list locally, so no external service is involved.-const WS_KEY = 'hr.workspace';-const WS_LIST_KEY = 'hr.workspaces';--export interface Workspace { id: string; name: string }--export const DEFAULT_WORKSPACE: Workspace = { id: 'default', name: 'Default Workspace' };--export function listWorkspaces(): Workspace[] {- if (typeof window === 'undefined') return [DEFAULT_WORKSPACE];- try {- const raw = window.localStorage.getItem(WS_LIST_KEY);- const arr = raw ? (JSON.parse(raw) as Workspace[]) : null;- return Array.isArray(arr) && arr.length ? arr : [DEFAULT_WORKSPACE];- } catch {- return [DEFAULT_WORKSPACE];- }-}--export function saveWorkspaces(list: Workspace[]): void {- try { window.localStorage.setItem(WS_LIST_KEY, JSON.stringify(list)); } catch { /* private mode */ }-}--export function currentWorkspace(): string {- if (typeof window === 'undefined') return DEFAULT_WORKSPACE.id;- try { return window.localStorage.getItem(WS_KEY) || DEFAULT_WORKSPACE.id; } catch { return DEFAULT_WORKSPACE.id; }-}--export function setCurrentWorkspace(id: string): void {- try { window.localStorage.setItem(WS_KEY, id); } catch { /* private mode */ }-}--/** Headers every gateway call carries: which workspace we're scoped to.- *- * Identity is deliberately absent — the proxy pins org and member server-side, so the browser- * cannot name a different one. */-export function gwHeaders(extra: Record<string, string> = {}): Record<string, string> {- const ws = currentWorkspace();- return {- 'content-type': 'application/json',- 'x-harness-workspace': ws,- ...(ws === DEFAULT_WORKSPACE.id ? { 'x-harness-workspace-default': '1' } : {}),- ...extra,- };-}--function qs(params: Record<string, string | number | undefined>): string {- const q = new URLSearchParams();- for (const [k, v] of Object.entries(params)) if (v !== undefined && v !== '') q.set(k, String(v));- q.set('org', LOCAL_ORG);- q.set('workspace', currentWorkspace());- return q.toString();-}--async function gw<T>(path: string, init: RequestInit = {}): Promise<T> {- const r = await fetch(`${BASE}${path}`, {- ...init,- headers: gwHeaders((init.headers as Record<string, string>) || {}),- cache: 'no-store',- });- if (!r.ok) {- let detail = `${r.status}`;- try { detail = (await r.json())?.detail || detail; } catch { /* keep the status */ }- throw new Error(String(detail));- }- return r.json() as Promise<T>;-}--// ── harnesses ─────────────────────────────────────────────────────────────────-export const listHarnesses = () =>- gw<{ harnesses?: Harness[] }>(`/v1/harnesses?${qs({})}`).then((d) => d.harnesses || []);--export const getHarness = (id: string) => gw<Harness>(`/v1/harnesses/${encodeURIComponent(id)}`);--export const createHarness = (h: Partial<Harness> & { name: string; base: string }) =>- gw<Harness>('/v1/harnesses', { method: 'POST', body: JSON.stringify(harnessBody(h)) });--export const updateHarness = (id: string, h: Harness) =>- gw<Harness>(`/v1/harnesses/${encodeURIComponent(id)}`,- { method: 'PUT', body: JSON.stringify(harnessBody(h)) });--export const deleteHarness = (id: string) =>- gw<{ ok?: boolean }>(`/v1/harnesses/${encodeURIComponent(id)}`, { method: 'DELETE' });--export interface ModelCatalog {- [backend: string]: { default: string; models: { id: string }[] };-}-export const listModels = () =>- gw<{ backends?: ModelCatalog }>('/v1/models').then((d) => d.backends || {});--// ── tasks (runs/sessions) ─────────────────────────────────────────────────────-export interface TaskCard {- session_id: string;- title?: string;- status?: string;- updated_at?: number;- harness_id?: string;- [k: string]: unknown;-}--/** One page of tasks. `cursor` is opaque; '' means no more pages. */-export async function listTasks(harnessId: string, cursor = ''):- Promise<{ items: TaskCard[]; cursor: string }> {- const d = await gw<{ sessions?: TaskCard[]; cursor?: string }>(- `/v1/traces?${qs({ harness: harnessId, limit: 40, cursor })}`);- return { items: d.sessions || [], cursor: d.cursor || '' };-}--export const deleteTask = (sid: string) =>- gw<{ ok?: boolean }>(`/v1/traces/${encodeURIComponent(sid)}`, { method: 'DELETE' });--export const loadTurns = (sid: string) =>- gw<{ turns?: unknown[] }>(`/v1/sessions/${encodeURIComponent(sid)}/turns?limit=200`)- .then((d) => d.turns || []);--export const cancelTask = (sid: string) =>- gw<{ ok?: boolean }>(`/v1/sessions/${encodeURIComponent(sid)}/cancel`, { method: 'POST' });--/** Start a turn. Returns the raw Response so the caller can hand it to ReifyUI's SSE parser. */-export function streamTurn(body: Record<string, unknown>): Promise<Response> {- return fetch(`${BASE}/v1/responses`, {- method: 'POST',- headers: gwHeaders({ accept: 'text/event-stream' }),- body: JSON.stringify({ ...body, stream: true }),- });-}diff --git a/ui/src/lib/auth.ts b/ui/src/lib/auth.tsnew file mode 100644index 00000000..c75d39e4--- /dev/null+++ b/ui/src/lib/auth.ts@@ -0,0 +1,373 @@+// Client-side auth: a thin wrapper over the engine's /v1/auth endpoints (via the+// /api/engine BFF) plus a localStorage-backed session. The JWT is the source of+// truth; we keep the decoded principal (member/orgs/org_id) alongside it for the+// UI. Stateless on the server, every request just carries the Bearer token.++import { LOCAL_MEMBER, LOCAL_ORG, SELF_HOSTED } from '@/lib/edition';++const SESSION_KEY = 'agentstudio.session';+const ENGINE = '/api/engine';++export interface Org {+ id: string;+ name?: string;+ [k: string]: unknown;+}++export interface Member {+ id: string;+ email?: string;+ name?: string;+ display_name?: string;+ avatar_url?: string; // external OAuth profile photo (e.g. Google), when available+ [k: string]: unknown;+}++export interface Session {+ token: string;+ member: Member;+ orgs: Org[];+ orgId: string | null;+}++/** A self-hosted box has no accounts service, so the principal is a constant rather than+ * something signed in. The token is empty on purpose: there is nothing to verify it against,+ * and the BFF — not the browser — is what authenticates to the gateway. */+const LOCAL_SESSION: Session = {+ token: '',+ member: { id: LOCAL_MEMBER, email: LOCAL_MEMBER, name: 'Local' },+ orgs: [{ id: LOCAL_ORG, name: 'Local' }],+ orgId: LOCAL_ORG,+};++export function getSession(): Session | null {+ if (SELF_HOSTED) return LOCAL_SESSION;+ if (typeof window === 'undefined') return null;+ try {+ const raw = window.localStorage.getItem(SESSION_KEY);+ return raw ? (JSON.parse(raw) as Session) : null;+ } catch {+ return null;+ }+}++/** Event fired on every session write so components holding a getSession()+ * snapshot (e.g. the dock avatar) can re-read without a reload. */+export const SESSION_EVENT = 'agentstudio:session';++// Cross-subdomain login-state cookie. The JWT lives in localStorage (origin-scoped, so the+// marketing apex can't read it). To let harnessrouter.ai's header reflect login without exposing+// the app's storage, we ALSO mirror the token into a cookie scoped to the registrable domain+// (Domain=.harnessrouter.ai) — sent to both app. and the apex. The apex never reads this cookie in+// JS; it calls GET /api/session on the app origin, which reads the cookie server-side and returns+// only {authed, name}. On localhost/preview (not *.harnessrouter.ai) the Domain attribute is+// omitted so the cookie still works same-origin.+const AUTH_COOKIE = 'hr_auth';+function _cookieDomain(): string {+ if (typeof window === 'undefined') return '';+ return window.location.hostname.endsWith('harnessrouter.ai') ? '; Domain=.harnessrouter.ai' : '';+}+function setAuthCookie(token: string): void {+ if (typeof window === 'undefined') return;+ const secure = window.location.protocol === 'https:' ? '; Secure' : '';+ // 7-day lifetime matches the session; SameSite=Lax so top-level navigations from the apex carry it.+ document.cookie = `${AUTH_COOKIE}=${encodeURIComponent(token)}; Path=/; Max-Age=604800${_cookieDomain()}; SameSite=Lax${secure}`;+}+function clearAuthCookie(): void {+ if (typeof window === 'undefined') return;+ document.cookie = `${AUTH_COOKIE}=; Path=/; Max-Age=0${_cookieDomain()}; SameSite=Lax`;+}++function setSession(s: Session): void {+ if (typeof window !== 'undefined') {+ window.localStorage.setItem(SESSION_KEY, JSON.stringify(s));+ if (s.token) setAuthCookie(s.token);+ window.dispatchEvent(new CustomEvent(SESSION_EVENT));+ }+}++export function clearSession(): void {+ if (typeof window !== 'undefined') {+ window.localStorage.removeItem(SESSION_KEY);+ clearAuthCookie();+ }+}++export function getToken(): string | null {+ return getSession()?.token ?? null;+}++export function isAuthed(): boolean {+ // Self-hosted has no sign-in, so there is nothing to be signed out of.+ return SELF_HOSTED || !!getToken();+}++/** True when there's a token AND an active org selected. A multi-org member's login mints an+ * org-less session (they must pick via the /login org picker); until then every org-scoped+ * page 400s ("no active organization in session"), so the app guard sends them back to pick. */+export function hasActiveOrg(): boolean {+ if (SELF_HOSTED) return true; // one implicit org, never picked+ const s = getSession();+ return !!s?.token && !!s.orgId;+}++async function readError(res: Response): Promise<string> {+ try {+ const body = await res.json();+ return typeof body?.detail === 'string' ? body.detail : `request failed (${res.status})`;+ } catch {+ return `request failed (${res.status})`;+ }+}++/** Authenticate. Stores the session (org-less when the member has >1 org). */+export async function login(email: string, password: string): Promise<Session> {+ const res = await fetch(`${ENGINE}/v1/auth/login`, {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ email, password }),+ });+ if (!res.ok) throw new Error(await readError(res));+ return _store(await res.json());+}++function _store(body: { token: string; member: Member; orgs?: Org[]; org_id?: string | null }): Session {+ const session: Session = { token: body.token, member: body.member, orgs: body.orgs ?? [], orgId: body.org_id ?? null };+ setSession(session);+ return session;+}++/** Sign-up outcome: either a live session (mail infra down -> engine fail-opens) or a+ * verification hand-off, the user must click the emailed link before signing in. */+export type RegisterResult = { verifyRequired: true; email: string } | Session;++/** Email+password sign-up. Email is the single user id; a later Google login on the same email+ * signs into the same account. A session is only issued after email verification. */+export async function register(email: string, password: string, name = '', inviteCode = ''): Promise<RegisterResult> {+ const res = await fetch(`${ENGINE}/v1/auth/register`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ // product tells the engine to onboard the new account into HarnessRouter (creates the+ // workspace + subscription) so the user lands straight in the app, not an empty wall.+ // invite_code (from /login?invite=) is redeemed server-side against the new org.+ body: JSON.stringify({ email, password, name, product: 'harnessrouter', invite_code: inviteCode }),+ });+ if (!res.ok) throw new Error(await readError(res));+ const body = await res.json();+ if (body.verify_required) return { verifyRequired: true, email: body.email as string };+ return _store(body);+}++/** Consume the emailed verification token, flips the account verified and signs in. */+export async function verifyEmail(token: string): Promise<Session> {+ const res = await fetch(`${ENGINE}/v1/auth/verify-email`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ token, product: 'harnessrouter' }),+ });+ if (!res.ok) throw new Error(await readError(res));+ return _store(await res.json());+}++/** Re-send the verification mail. Always resolves (never reveals whether the email exists). */+export async function resendVerification(email: string): Promise<void> {+ await fetch(`${ENGINE}/v1/auth/resend-verification`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ email, product: 'harnessrouter' }),+ }).catch(() => {});+}++/** Exchange a Google Identity Services credential (id_token) for a session. */+export async function googleSignIn(credential: string, inviteCode = ''): Promise<{ session: Session; newAccount: boolean }> {+ const res = await fetch(`${ENGINE}/v1/auth/google`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ credential, product: 'harnessrouter', invite_code: inviteCode }),+ });+ if (!res.ok) throw new Error(await readError(res));+ const body = await res.json();+ return { session: _store(body), newAccount: !!body.new_account };+}++/** Request a password-reset email. Always resolves (the server never reveals if the email exists). */+export async function requestPasswordReset(email: string): Promise<void> {+ await fetch(`${ENGINE}/v1/auth/request-password-reset`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ email, product: 'harnessrouter' }),+ }).catch(() => {});+}++/** Complete a password reset with the emailed token; returns a signed-in session. */+export async function resetPassword(token: string, password: string): Promise<Session> {+ const res = await fetch(`${ENGINE}/v1/auth/reset-password`, {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ token, password, product: 'harnessrouter' }),+ });+ if (!res.ok) throw new Error(await readError(res));+ return _store(await res.json());+}++/** Switch the active org (re-mints an org-scoped token). */+export async function changePassword(currentPassword: string, newPassword: string): Promise<void> {+ const res = await authFetch('/v1/auth/change-password', {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ current_password: currentPassword, new_password: newPassword }),+ });+ if (!res.ok) throw new Error(await readError(res));+}++export async function deleteAccount(password: string, confirm = ''): Promise<void> {+ const res = await authFetch('/v1/auth/delete-account', {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ password, confirm }),+ });+ if (!res.ok) throw new Error(await readError(res));+ clearSession();+}++export async function switchOrg(orgId: string): Promise<Session> {+ const current = getSession();+ if (!current) throw new Error('not authenticated');+ const res = await fetch(`${ENGINE}/v1/auth/switch-org`, {+ method: 'POST',+ headers: { 'content-type': 'application/json', authorization: `Bearer ${current.token}` },+ body: JSON.stringify({ org_id: orgId }),+ });+ if (!res.ok) throw new Error(await readError(res));+ const body = await res.json();+ const next: Session = { ...current, token: body.token, orgId: body.org_id };+ setSession(next);+ return next;+}++/** Refresh the principal from the engine (also validates the token). */+export async function fetchMe(): Promise<{ member: Member; orgId: string | null; orgs: Org[] }> {+ const token = getToken();+ if (!token) throw new Error('not authenticated');+ const res = await fetch(`${ENGINE}/v1/auth/me`, {+ headers: { authorization: `Bearer ${token}` },+ });+ if (!res.ok) throw new Error(await readError(res));+ const body = await res.json();+ return { member: body.member, orgId: body.org_id ?? null, orgs: body.orgs ?? [] };+}++/** Merge a patch into the stored session's member (optimistic UI, e.g. a new+ * avatar) without a round-trip. No-op when signed out. */+export function patchSessionMember(patch: Partial<Member>): void {+ const current = getSession();+ if (!current) return;+ setSession({ ...current, member: { ...current.member, ...patch } });+}++/** Re-fetch the principal and merge it into the stored session so getSession()+ * reflects server-side changes (e.g. avatar). Offline-tolerant. */+export async function refreshMe(): Promise<Session | null> {+ const current = getSession();+ if (!current) return null;+ try {+ const fresh = await fetchMe();+ const next: Session = { ...current, member: fresh.member, orgs: fresh.orgs ?? current.orgs };+ setSession(next);+ return next;+ } catch {+ return current;+ }+}++/**+ * Refresh the org list from the server and repair a stale active org.+ *+ * The active org is stored in localStorage; it can become invalid if that org+ * was deleted or the member's access was revoked while they were away. This+ * re-fetches the authoritative membership and, if the stored org is gone,+ * erases it and falls back to the next available org (re-minting an org-scoped+ * token). If no orgs remain, the session is left org-less. On a network/auth+ * error it leaves the session untouched (offline-tolerant). Returns the+ * reconciled session, or null if not authenticated.+ */+export async function reconcileSession(): Promise<Session | null> {+ const current = getSession();+ if (!current) return null;+ let fresh: { member: Member; orgId: string | null; orgs: Org[] };+ try {+ fresh = await fetchMe();+ } catch {+ return current; // offline or token issue, don't destroy the session here+ }+ const orgs = fresh.orgs ?? [];+ const stillValid = !!current.orgId && orgs.some((o) => o.id === current.orgId);++ if (!stillValid && orgs.length > 0) {+ // Active org was deleted/revoked, fall back to the next available org.+ try {+ const switched = await switchOrg(orgs[0].id);+ const next: Session = { ...switched, member: fresh.member, orgs };+ setSession(next);+ return next;+ } catch {+ /* fall through to org-less below */+ }+ }++ const next: Session = {+ ...current,+ member: fresh.member,+ orgs,+ orgId: stillValid ? current.orgId : null,+ };+ setSession(next);+ return next;+}++export function logout(): void {+ clearSession();+}++/** Slide the session: ask the engine for a fresh full-TTL token from the current+ * (still-valid) one and store it. Keeps an active user signed in indefinitely.+ * A 401 means the token is truly dead -> hand off to handleAuthExpired. */+export async function refreshToken(): Promise<boolean> {+ if (SELF_HOSTED) return true; // no token, nothing to slide+ const cur = getSession();+ if (!cur?.token) return false;+ try {+ const res = await fetch(`${ENGINE}/v1/auth/refresh`, {+ method: 'POST',+ headers: { authorization: `Bearer ${cur.token}` },+ });+ if (res.status === 401) { handleAuthExpired(); return false; }+ if (!res.ok) return false;+ const body = await res.json();+ const now = getSession();+ if (body?.token && now) setSession({ ...now, token: body.token });+ return true;+ } catch {+ return false; // offline, keep the session, retry later+ }+}++let _redirecting = false;+/** The token is invalid/expired: clear the session and show the login page.+ * Idempotent + loop-safe (no-op when already on /login). With refresh active+ * this should rarely fire, it's the safety net the product requires. */+export function handleAuthExpired(): void {+ // Nothing expires without a session, and there is no /login to land on — a 401 self-hosted+ // means a real error, which the caller surfaces instead of being bounced off the page.+ if (SELF_HOSTED) return;+ if (typeof window === 'undefined' || _redirecting) return;+ if (window.location.pathname === '/login') return;+ _redirecting = true;+ clearSession();+ window.location.assign('/login?expired=1');+}++/** fetch() with the Bearer token attached, for authenticated engine calls.+ * A 401 with a token attached means the session is dead — same hand-off as harnessFetch. */+export async function authFetch(path: string, init: RequestInit = {}): Promise<Response> {+ const token = getToken();+ const headers = new Headers(init.headers);+ if (token) headers.set('authorization', `Bearer ${token}`);+ const res = await fetch(`${ENGINE}${path}`, { ...init, headers });+ if (res.status === 401 && token) handleAuthExpired();+ return res;+}diff --git a/ui/src/lib/chat.ts b/ui/src/lib/chat.tsnew file mode 100644index 00000000..8d80bad1--- /dev/null+++ b/ui/src/lib/chat.ts@@ -0,0 +1,194 @@+// Live chat against the harness gateway's OpenAI Responses-compatible surface (via the+// /api/harness BFF). One POST /v1/responses with stream:true returns an SSE stream of native+// Responses events; we dispatch reasoning / tool-call / tool-output / text deltas + file+// citations to the caller. previous_response_id chains turns (server reconstructs context).+//+// Auth: the BFF injects the internal trust key; we pass the signed-in org/member as headers so+// the gateway resolves the principal (the browser never holds a key).+//+// SSE framing + native-Responses event dispatch live in the shared UI Core package+// (frontend-ui-core/src/stream/responses.js), this file owns only the HR transport+// (BFF endpoints, auth headers, request body shape).+import { harnessFetch } from '@/lib/hfetch';+import { getSession } from '@/lib/auth';+import { workspaceHeaders } from '@/lib/workspace';+import { pumpResponsesStream, readSSEStream } from 'reifyui';++const BASE = '/api/harness';++export interface RespFile { container_id: string; file_id: string; filename: string }++export interface StreamHandlers {+ onCreated?(responseId: string): void;+ onSession?(sessionId: string): void; // the server-side session id (for Recents highlight + refresh)+ onReasoningDelta?(text: string): void;+ onToolCall?(name: string, args: string, callId: string): void;+ onToolResult?(callId: string, output: string): void;+ onTextDelta?(text: string): void;+ onFile?(f: RespFile): void;+ onDone?(status: string, response: unknown): void;+ onError?(message: string): void;+}++export interface StreamOpts {+ input: string | unknown[];+ model?: string;+ backend?: string | null;+ previousResponseId?: string | null;+ sessionHint?: string | null; // known active session, fallback continuity signal so a+ // follow-up never forks a new session when the response id+ // was lost client-side (interrupted stream, tab switch)+ instructions?: string;+ harnessId?: string; // tags the session/trace (per-harness Recents + Traces)+ harnessName?: string;+ extraHeaders?: Record<string, string>; // Additional Headers (app-level auth) sent on this call+}++export function authHeaders(): Record<string, string> {+ const s = getSession();+ return {+ 'content-type': 'application/json',+ 'x-harness-org': s?.orgId || '',+ 'x-harness-member': s?.member?.email || s?.member?.id || '',+ // Active workspace: new sessions/turns are stamped with it gateway-side.+ ...workspaceHeaders(),+ };+}++/** A file_data data-URI for an input_file content block. */+export function fileToDataUri(mediaType: string, base64: string): string {+ return `data:${mediaType || 'application/octet-stream'};base64,${base64}`;+}++/** Download URL for a turn-produced container file (served by the BFF -> gateway). */+export function containerFileUrl(f: RespFile): string {+ return `${BASE}/v1/containers/${encodeURIComponent(f.container_id)}/files/${encodeURIComponent(f.file_id)}/content`;+}++/** Authenticated fetch of a container/archive file. Since LIVE-B the gateway verifies the login+ * JWT on every file read, so bare <a href>/<iframe src>/fetch (headerless) 401, THE way to load+ * artifact bytes is this helper; renderers turn the Blob into an object URL. */+export async function fetchFileBlob(url: string): Promise<Blob> {+ const r = await harnessFetch(url, { headers: authHeaders() });+ if (!r.ok) throw new Error(`${r.status}`);+ return r.blob();+}++/** Authenticated download: fetch to a Blob, then trigger a client-side save. */+export async function downloadFile(url: string, filename: string): Promise<void> {+ const b = await fetchFileBlob(url);+ const obj = URL.createObjectURL(b);+ const a = document.createElement('a');+ a.href = obj;+ a.download = filename || 'download';+ document.body.appendChild(a);+ a.click();+ a.remove();+ setTimeout(() => URL.revokeObjectURL(obj), 4000);+}++export interface SessionTurn {+ id: string; status: string; user: string; assistant: string;+ user_files?: { name: string }[]; // caller-attached input files (names; bytes live in the workspace)+ tools: { name: string; arguments: string; result?: string }[]; files: RespFile[];+}++/** Load a past session's conversation (user + assistant per turn) to show its chat history.+ * Bounded to the last 200 turns, far beyond any real session, but it keeps a pathological+ * long-horizon history from fanning out hundreds of storage reads on every open. */+export async function loadSessionTurns(sid: string): Promise<{ turns: SessionTurn[]; lastResponseId: string | null }> {+ const res = await harnessFetch(`${BASE}/v1/sessions/${encodeURIComponent(sid)}/turns?limit=200`, { headers: authHeaders() });+ if (!res.ok) return { turns: [], lastResponseId: null };+ const d = await res.json();+ return { turns: d.turns || [], lastResponseId: d.last_response_id || null };+}++/** Stop a running session's turn (kills the CLI in the sandbox; terminal event follows on the bus).+ * Returns the server's verdict so the caller can settle its UI even if the bus event is missed:+ * cancelled=true means the turn was stopped NOW; a terminal status with cancelled=false means+ * there was no running turn to stop (already settled, treat as terminal too). */+export async function cancelSession(sid: string): Promise<{ cancelled: boolean; status: string }> {+ const res = await harnessFetch(`${BASE}/v1/sessions/${encodeURIComponent(sid)}/cancel`, {+ method: 'POST', headers: authHeaders(), cache: 'no-store',+ });+ if (!res.ok) return { cancelled: false, status: '' };+ const d = await res.json().catch(() => ({} as Record<string, unknown>));+ return { cancelled: Boolean(d.cancelled), status: String(d.status || '') };+}++export interface BusMsg { session_id: string; response_id: string; member?: string; event: Record<string, unknown>; replay?: boolean }++/**+ * Subscribe to a harness's realtime broadcast bus: every event of every one of this harness's+ * sessions (per-user filtered server-side), tagged with session_id. This is the UI's source of+ * truth for live updates, independent of which tab/POST started the turn, so switching+ * conversations, opening a session started elsewhere, or reconnecting never misses an update.+ * Auto-reconnects with backoff. Returns an unsubscribe fn.+ */+export function subscribeHarnessEvents(harnessId: string, onMsg: (m: BusMsg) => void): () => void {+ let stopped = false;+ let ctrl: AbortController | null = null;+ const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));+ (async () => {+ while (!stopped) {+ ctrl = new AbortController();+ try {+ const res = await harnessFetch(`${BASE}/v1/harnesses/${encodeURIComponent(harnessId)}/events`, {+ headers: authHeaders(), cache: 'no-store', signal: ctrl.signal,+ });+ if (!res.ok || !res.body) { await sleep(2000); continue; }+ await readSSEStream(res.body, (data: string) => {+ try { onMsg(JSON.parse(data) as BusMsg); } catch { /* ignore malformed frame */ }+ });+ } catch { /* network drop / abort, fall through to reconnect */ }+ if (!stopped) await sleep(1500);+ }+ })();+ return () => { stopped = true; ctrl?.abort(); };+}++/**+ * Run one turn, streaming native Responses events to `h`. Returns the new response id (for+ * chaining the next turn via previousResponseId). Throws only on transport/HTTP failure; agent+ * failures arrive as onError + a final onDone('failed', ...).+ */+export async function streamResponse(+ opts: StreamOpts, h: StreamHandlers, signal?: AbortSignal,+): Promise<string | null> {+ const body: Record<string, unknown> = {+ input: opts.input,+ stream: true,+ store: true,+ };+ // Send a real model only, NEVER the bare backend name ("claude"/"codex"), which isn't a valid+ // provider model id and 400s on e.g. Bedrock. Routing still works via `backend`; when no model is+ // set the gateway inherits the previous round's model / harness default.+ if (opts.model) body.model = opts.model;+ if (opts.backend) body.backend = opts.backend;+ if (opts.previousResponseId) body.previous_response_id = opts.previousResponseId;+ if (opts.instructions) body.instructions = opts.instructions;+ const metadata: Record<string, string> = {};+ if (opts.harnessId) metadata.harness_id = opts.harnessId;+ if (opts.harnessName) metadata.harness_name = opts.harnessName;+ if (opts.sessionHint) metadata.session_id = opts.sessionHint;+ if (opts.model) metadata.model = opts.model; // gateway honors this real model over the connection default+ if (Object.keys(metadata).length) body.metadata = metadata;++ const res = await harnessFetch(`${BASE}/v1/responses`, {+ method: 'POST', headers: { ...authHeaders(), ...(opts.extraHeaders || {}) },+ body: JSON.stringify(body), signal, cache: 'no-store',+ });+ if (!res.ok || !res.body) {+ const t = await res.text().catch(() => '');+ // Surface the server's own message when it sent one (e.g. the out-of-credits 402) instead of+ // raw status + JSON, the user sees the actionable sentence, not a transport artifact.+ let detail = '';+ try { detail = String((JSON.parse(t) as { detail?: unknown })?.detail || ''); } catch { /* not JSON */ }+ throw new Error(detail || `responses failed: ${res.status} ${t.slice(0, 200)}`);+ }++ // Shared parser: SSE framing + native-Responses dispatch (tool-call pairing by output_index)+ // live in UI Core; resolves to the response id for previousResponseId chaining.+ const responseId: string | null = await pumpResponsesStream(res.body, h);+ return responseId;+}diff --git a/ui/src/lib/edition.ts b/ui/src/lib/edition.tsnew file mode 100644index 00000000..bfdd3e2e--- /dev/null+++ b/ui/src/lib/edition.ts@@ -0,0 +1,27 @@+// Which edition of the console this build is.+//+// This is the SAME console the hosted product runs — same components, same styles, same API+// client. It is not a fork or a reimplementation, because two consoles that drift are two+// products, and the whole point of open-core is that they are one.+//+// What differs self-hosted is only what a single box HAS. There is no accounts service, so there+// is no login; no billing service, so there are no credits; no marketplace and no analytics+// pipeline, so those surfaces have nothing behind them. Rather than delete that code (which is+// how a fork starts), this flag hides the surfaces whose backend isn't present. The routes still+// exist and still compile — they simply aren't reachable from the navigation.+//+// Set at build time so it can be tree-shaken and so a self-hosted image can never accidentally+// present a hosted-only surface.+export const SELF_HOSTED = process.env.NEXT_PUBLIC_HR_EDITION === 'selfhost';++/** The implicit single tenant of a self-hosted instance.+ *+ * There is no login, but the gateway still scopes every record by org and member. Keeping real+ * values (rather than empty ones) means the storage layout is identical to the hosted one, which+ * is what makes promoting a harness to the cloud a copy rather than a translation. */+export const LOCAL_ORG = 'local';+export const LOCAL_MEMBER = 'local@localhost';++/** Sidebar entries a self-hosted box can actually serve. Everything else in the nav needs a+ * service that isn't in the container. */+export const SELF_HOSTED_NAV = ['/harnesses', '/tasks'];diff --git a/ui/src/lib/harness.ts b/ui/src/lib/harness.tsindex 608f41bd..7da89893 100644--- a/ui/src/lib/harness.ts+++ b/ui/src/lib/harness.ts@@ -1,53 +1,276 @@-// The harness shape, and the one place that converts it for the wire.-//-// The API is deliberately asymmetric and it matters: it RETURNS camelCase (the shape the console-// renders) but ACCEPTS snake_case, and it ignores unknown fields instead of rejecting them. Send-// the returned shape straight back and the write succeeds while quietly persisting an empty model-// and empty instructions.-//-// Shared by the console client and the server-side cloud-push route so there is exactly one-// definition of what a harness is on the wire. The local gateway and the hosted API take the same-// body, which is the whole point of the open-core split — a promotion is a copy, not a-// translation.+// Harness data layer. Out-of-box catalog is static for v1 (will read the runner /backends+// metadata next). Custom harnesses are persisted server-side per-org in the VectorGraph tenant+// via the gateway (/api/harness/v1/orgs/{org}/harnesses); the BFF injects the internal trust key.+import { useEffect, useState } from 'react';++import { harnessFetch } from '@/lib/hfetch';+import { getSession } from '@/lib/auth';+import { appendWorkspaceQuery, workspaceHeaders } from '@/lib/workspace';++export interface OobHarness {+ id: string;+ name: string;+ version: string;+ models: string[]; // shown as pills (display order; newest first)+ defaultModel?: string; // the backend default, NOT necessarily models[0]+ moreModels?: number; // "+N" pill+ status: 'ready' | 'soon';+ backend: 'claude' | 'codex' | 'hermes' | null; // gateway backend; null = coming soon+ systemPrompt: string; // the harness's built-in system prompt (shown read-only)+ tools: string[]; // built-in tools (read-only)+ skills: string[]; // built-in skills (read-only)+}-export interface Harness {+export interface CustomHarness {id: string;name: string;- base: string;- baseLabel?: string;- defaultModel?: string;- systemPrompt?: string;- mcpServers?: unknown[];- skills?: unknown[];- disabledTools?: string[];- additionalHeaders?: string[];- maxStep?: number | null;- timeoutSeconds?: number | null;- createdAt?: number;- [k: string]: unknown;-}--/** Console shape -> wire body.- *- * Always the COMPLETE harness, never a patch: a write replaces the record, so any field left- * out comes back empty. Editors pass the whole object they loaded with their edits applied, and- * fields the console doesn't expose survive the round trip.- *- * Local bookkeeping — id, timestamps, org, workspace, member — is dropped by construction- * rather than by a deny-list, which is also what makes this safe to push to a hosted account:- * the destination mints its own. */-export function harnessBody(h: Partial<Harness> & { name: string; base: string }) {+ base: string; // base harness id (codex / claude-code)+ baseLabel: string;+ defaultModel: string;+ systemPrompt: string;+ mcpServers: { id: string; name: string; enabled: boolean; url?: string; auth?: string; transport?: string }[];+ // A skill carries its bundle inline as `files`; bundles over the gateway's inline cap are+ // offloaded server-side and round-trip as {name, enabled, blob}, `blob` is an opaque pointer,+ // resolved back to files via getSkillFiles() when editing. Either shape is a REAL own skill.+ skills: { id: string; name: string; enabled: boolean; files?: { path: string; content?: string; content_b64?: string }[]; blob?: string }[];+ disabledTools?: string[]; // inherited/built-in tool names disabled for this harness+ maxStep?: number | null; // default agent step budget per turn (blank = 40)+ timeoutSeconds?: number | null; // default per-turn wall-clock cap (blank = server default)+ additionalHeaders?: string[]; // declared header NAMES callers pass per request (app-level auth)+ createdAt: number;+}++export const OOB: OobHarness[] = [+ { id: 'codex', name: 'Codex', version: 'v1.0.1', backend: 'codex', status: 'ready',+ models: ['gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna', 'gpt-5.5', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.2'], defaultModel: 'gpt-5.5', moreModels: 0,+ systemPrompt: 'You are Codex, an autonomous software-engineering agent. You operate on a real git workspace with shell access, reading and editing files and running commands to complete the task, returning reviewable diffs and results.',+ tools: ['Shell', 'Apply Patch', 'File Read/Write', 'Git', 'Network (sandboxed)'],+ skills: ['docx', 'pdf', 'pptx', 'xlsx'] },+ { id: 'claude-code', name: 'Claude Code', version: 'v1.0.1', backend: 'claude', status: 'ready',+ models: ['claude-opus-5', 'claude-fable-5', 'claude-opus-4.8', 'claude-sonnet-5', 'claude-opus-4.7', 'claude-sonnet-4.6', 'claude-haiku-4.5'], defaultModel: 'claude-opus-4.8', moreModels: 0,+ systemPrompt: 'You are Claude Code, an agentic coding assistant. You work on a real local git working tree with bash, edit files, run tests, and use sub-agents to complete engineering tasks end to end.',+ tools: ['Bash', 'Read', 'Edit', 'Write', 'Grep', 'Glob', 'WebFetch', 'Task (subagents)'],+ skills: ['docx', 'pdf', 'pptx', 'xlsx'] },+ { id: 'pi', name: 'Pi', version: 'v1.0.1', backend: null, status: 'soon',+ models: [], moreModels: 0,+ systemPrompt: 'Pi harness, coming soon.', tools: [], skills: [] },+ { id: 'hermes', name: 'Hermes', version: 'v0.19.0', backend: 'hermes', status: 'ready',+ // Multi-family: Hermes runs any frontier model, the gpt + claude catalogs, default gpt-5.5.+ models: ['gpt-5.5', 'gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.2', 'claude-opus-5', 'claude-fable-5', 'claude-opus-4.8', 'claude-sonnet-5', 'claude-opus-4.7', 'claude-sonnet-4.6', 'claude-haiku-4.5', 'gemini-3.6-flash', 'deepseek-v4-pro', 'kimi-k3', 'glm-5.2', 'qwen3.7-max'], defaultModel: 'gpt-5.5', moreModels: 0,+ systemPrompt: 'You are Hermes, a self-improving autonomous agent. You work on a real project workspace with shell and file access, complete tasks end to end, and build a persistent memory and skill library from what you learn, getting more capable the longer you run.',+ tools: ['Terminal', 'File Read/Write', 'Patch', 'Search', 'Web Search', 'Web Extract', 'Browser'],+ skills: ['docx', 'pdf', 'pptx', 'xlsx'] },+];++export const oobById = (id: string) => OOB.find((o) => o.id === id) || null;++// ── model catalog: the GATEWAY owns it, this file does not ────────────────────────────+// The `models` / `defaultModel` fields above used to be the console's own copy of the+// gateway's _MODEL_CATALOG. Two lists meant two places to edit, and only one of them got+// edited: adding deepseek-v4-flash to the gateway left it invisible in every picker here,+// and grok-4.5 has been wired in the TokenRouter integration all along without ever+// appearing in the UI. A picker that disagrees with what the server will accept is worse+// than a slow picker.+//+// So the catalog is fetched from GET /v1/models (same shape the gateway serves) and cached+// for the tab. The literals above remain ONLY as the pre-fetch placeholder so first paint+// isn't empty; once the fetch lands the server's list wins. Never add a model here — add it+// to _MODEL_CATALOG in the gateway and it shows up everywhere.+export type ModelCatalog = Record<string, { default: string; models: string[] }>;++let _catalog: ModelCatalog | null = null;+let _catalogInflight: Promise<ModelCatalog> | null = null;++export async function fetchModelCatalog(): Promise<ModelCatalog> {+ if (_catalog) return _catalog;+ if (_catalogInflight) return _catalogInflight;+ _catalogInflight = (async () => {+ try {+ const r = await harnessFetch('/api/harness/v1/models', { headers: gwHeaders(), cache: 'no-store' });+ if (!r.ok) throw new Error(String(r.status));+ const j = await r.json();+ const out: ModelCatalog = {};+ for (const [backend, c] of Object.entries((j?.backends || {}) as Record<string, {+ default?: string; models?: Array<{ id?: string }> }>)) {+ out[backend] = { default: String(c?.default || ''),+ models: (c?.models || []).map((m) => String(m?.id || '')).filter(Boolean) };+ }+ if (Object.keys(out).length) _catalog = out;+ return _catalog || {};+ } catch {+ return {}; // keep the placeholder; a picker that renders beats one that throws+ } finally {+ _catalogInflight = null;+ }+ })();+ return _catalogInflight;+}++/** Models for a base harness — server catalog when loaded, placeholder literals until then. */+export const oobModels = (o: OobHarness | null | undefined): string[] => {+ if (!o) return [];+ const fromServer = o.backend ? _catalog?.[o.backend]?.models : undefined;+ return (fromServer && fromServer.length) ? fromServer : o.models;+};++export const oobDefaultModel = (o: OobHarness | null | undefined): string => {+ if (!o) return '';+ const fromServer = o.backend ? _catalog?.[o.backend]?.default : '';+ return o.defaultModel || fromServer || oobModels(o)[0] || '';+};++/** Load the server catalog once per tab and re-render when it lands. Any surface that shows a+ * model picker calls this; without it the placeholder literals would be what the user sees. */+export function useModelCatalog(): ModelCatalog | null {+ const [cat, setCat] = useState<ModelCatalog | null>(_catalog);+ useEffect(() => {+ let alive = true;+ fetchModelCatalog().then((c) => { if (alive && Object.keys(c).length) setCat(c); });+ return () => { alive = false; };+ }, []);+ return cat;+}++// HarnessRouter business logic is VISUAL WORKFLOWS in the engine (the HarnessRouter+// Space), not a bespoke backend. Every CRUD op runs hr.harness.* against HR's own+// VectorGraph tenant via the engine run API; the JWT carries the principal.+const ENGINE = '/api/engine';++/** Shadow User vertex id (HR tenant), sanitized email; '@' can't be a vertex id. */+function memberUid(email: string): string {+ return 'usr.' + email.toLowerCase().replace(/[^a-z0-9]+/g, '.').replace(/^\.|\.$/g, '');+}+/** Shadow Account vertex id (HR tenant), HR-local; org_id kept as the link prop. */+function orgUid(orgId: string): string {+ return 'acct.' + orgId;+}++function principal() {+ const s = getSession();+ const orgId = s?.orgId || '';+ const org = (s?.orgs || []).find((o) => o.id === orgId);+ return {+ token: s?.token || '',+ orgId,+ orgName: (org?.name as string) || orgId,+ member: s?.member?.email || s?.member?.id || '',+ memberName: (s?.member?.name as string) || (s?.member?.display_name as string) || '',+ };+}++/** Gateway CRUD via the same-origin BFF (/api/harness injects the trust headers).+ * All harness writes go through the gateway so config validation (skills need a+ * SKILL.md) and large-bundle offloading apply no matter which surface saved. The+ * gateway returns the camelCase CustomHarness shape directly. */+function gwHeaders(): Record<string, string> {+ const p = principal();+ return { 'content-type': 'application/json', 'x-harness-org': p.orgId, 'x-harness-member': p.member,+ ...workspaceHeaders() };+}++async function gw<T>(method: string, path: string, body?: unknown): Promise<T> {+ const r = await harnessFetch(`/api/harness${path}`, {+ method, headers: gwHeaders(), cache: 'no-store',+ body: body === undefined ? undefined : JSON.stringify(body),+ });+ if (!r.ok) {+ let detail = `${r.status}`;+ try { detail = (await r.json())?.detail || detail; } catch { /* keep the status */ }+ throw new Error(String(detail));+ }+ return r.json() as Promise<T>;+}++function harnessBody(input: Partial<CustomHarness> & { name: string; base: string }) {+ const base = oobById(input.base);return {- name: h.name,- base: h.base,- base_label: h.baseLabel || h.base,- default_model: h.defaultModel || '',- system_prompt: h.systemPrompt || '',- mcp_servers: h.mcpServers || [],- skills: h.skills || [],- disabled_tools: h.disabledTools || [],- additional_headers: h.additionalHeaders || [],- max_step: h.maxStep ?? null,- timeout_seconds: h.timeoutSeconds ?? null,+ name: input.name, base: input.base,+ base_label: input.baseLabel || base?.name || input.base,+ default_model: input.defaultModel || oobDefaultModel(base) || '',+ system_prompt: input.systemPrompt || '',+ mcp_servers: input.mcpServers || [],+ skills: input.skills || [],+ disabled_tools: input.disabledTools || [],+ max_step: input.maxStep || null,+ timeout_seconds: input.timeoutSeconds || null,+ additional_headers: input.additionalHeaders || [],};}++export async function listCustom(): Promise<CustomHarness[]> {+ if (!principal().orgId) return [];+ // Workspace scoping rides the request headers (gwHeaders); the query params make the+ // filter explicit for the gateway's list handler as well.+ const q = new URLSearchParams();+ appendWorkspaceQuery(q);+ const qs = q.toString();+ return (await gw<{ harnesses: CustomHarness[] }>('GET', `/v1/harnesses${qs ? `?${qs}` : ''}`)).harnesses || [];+}++export async function getCustom(id: string): Promise<CustomHarness | null> {+ try { return await gw<CustomHarness>('GET', `/v1/harnesses/${encodeURIComponent(id)}`); }+ catch { return null; }+}++export async function createCustom(input: Partial<CustomHarness> & { name: string; base: string }): Promise<CustomHarness> {+ return gw<CustomHarness>('POST', '/v1/harnesses', harnessBody(input));+}++export async function saveCustom(c: CustomHarness): Promise<CustomHarness> {+ // Return the gateway's canonical record so the caller can reset its draft to it, otherwise the+ // edited draft never structurally equals the reloaded harness and the Save button stays "changed".+ return gw<CustomHarness>('PUT', `/v1/harnesses/${encodeURIComponent(c.id)}`, harnessBody(c));+}++export async function deleteCustom(id: string): Promise<void> {+ await gw<{ deleted: boolean }>('DELETE', `/v1/harnesses/${encodeURIComponent(id)}`);+}++/** Full files of one skill on a harness, resolving the server-side blob offload, used to+ * hydrate a folder skill for editing when the record only carries {name, enabled, blob}. */+export async function getSkillFiles(harnessId: string, skillId: string):+ Promise<{ path: string; content?: string; content_b64?: string }[]> {+ const r = await gw<{ files: { path: string; content?: string; content_b64?: string }[] }>(+ 'GET', `/v1/harnesses/${encodeURIComponent(harnessId)}/skills/${encodeURIComponent(skillId)}/files`);+ return r.files || [];+}++export async function cloneCustom(id: string): Promise<CustomHarness | null> {+ const c = await getCustom(id);+ if (!c) return null;+ return createCustom({ ...c, name: c.name + ' (copy)' });+}++export async function cloneFromOob(oobId: string): Promise<CustomHarness | null> {+ const o = oobById(oobId);+ if (!o) return null;+ return createCustom({ name: o.name + ' (custom)', base: o.id, defaultModel: oobDefaultModel(o) });+}++/** Probe an MCP server (server-side handshake via the gateway) and return its tools. `auth` may+ * be a literal bearer token or an existing 'vault:<ref>'. */+export async function testMcp(url: string, auth?: string): Promise<{ ok: boolean; error?: string; server?: string; tools?: { name: string; description?: string }[] }> {+ const p = principal();+ const r = await harnessFetch(`/api/harness/v1/orgs/${encodeURIComponent(p.orgId)}/mcp-test`, {+ method: 'POST',+ headers: { 'content-type': 'application/json', 'x-harness-org': p.orgId, 'x-harness-member': p.member },+ body: JSON.stringify({ url, auth: auth || '' }),+ cache: 'no-store',+ });+ if (!r.ok) return { ok: false, error: `test failed: ${r.status}` };+ return r.json();+}++/** Store an MCP bearer token in the vault and return a 'vault:<ref>' reference. The token never+ * lands in the graph, only the ref is persisted on the harness config. */+export async function storeMcpSecret(serverId: string, token: string): Promise<string> {+ const p = principal();+ const r = await harnessFetch(`/api/harness/v1/orgs/${encodeURIComponent(p.orgId)}/mcp-secrets/${encodeURIComponent(serverId)}`, {+ method: 'PUT',+ headers: { 'content-type': 'application/json', 'x-harness-org': p.orgId, 'x-harness-member': p.member },+ body: JSON.stringify({ token }),+ cache: 'no-store',+ });+ if (!r.ok) throw new Error(`mcp-secret store failed: ${r.status}`);+ return (await r.json()).ref as string;+}diff --git a/ui/src/lib/hfetch.ts b/ui/src/lib/hfetch.tsnew file mode 100644index 00000000..49410d26--- /dev/null+++ b/ui/src/lib/hfetch.ts@@ -0,0 +1,24 @@+// THE single way the console talks to the harness BFF (/api/harness/*).+//+// LIVE-B: every call carries the login JWT (Authorization: Bearer <token>) so the gateway can+// verify identity from the signed claims instead of trusting self-asserted org/member headers.+// Attaching it in ONE place makes it impossible for a call site to forget (the failure that broke+// the console when the key was gated on an Authorization the client wasn't sending). The wrapper+// only ADDS the bearer, each caller keeps whatever other headers it already sets.+//+// A 401 WITH a token attached means the session is dead (expired/invalid JWT) — hand off to+// handleAuthExpired (clear session, /login?expired=1) instead of surfacing a raw gateway error+// like "invalid session token" in whatever dialog happened to make the call. Without a token the+// layout guard owns the redirect.+import { getSession, handleAuthExpired } from '@/lib/auth';++export async function harnessFetch(path: string, init: RequestInit = {}): Promise<Response> {+ const token = getSession()?.token;+ const headers: Record<string, string> = {+ ...(token ? { authorization: `Bearer ${token}` } : {}),+ ...(init.headers as Record<string, string> | undefined),+ };+ const res = await fetch(path, { cache: 'no-store', ...init, headers });+ if (res.status === 401 && token) handleAuthExpired();+ return res;+}diff --git a/ui/src/lib/identity.ts b/ui/src/lib/identity.tsdeleted file mode 100644index 3cbff43f..00000000--- a/ui/src/lib/identity.ts+++ /dev/null@@ -1,12 +0,0 @@-// The implicit single tenant of a self-hosted instance.-//-// A self-hosted box has one operator, so there is no login and no org switching — but the-// gateway still scopes every record by org and member. Keeping real values (rather than empty-// ones) means the storage layout is identical to the hosted deployment's, which is what makes-// "push this harness to the cloud" a copy rather than a translation.-//-// Defined here rather than in lib/api.ts because both sides need them: the browser puts the org-// in query strings, and the server-side proxy pins the identity headers. One definition, so the-// two can never disagree.-export const LOCAL_ORG = 'local';-export const LOCAL_MEMBER = 'local@localhost';diff --git a/ui/src/lib/revamp-data.ts b/ui/src/lib/revamp-data.tsnew file mode 100644index 00000000..1f2af99d--- /dev/null+++ b/ui/src/lib/revamp-data.ts@@ -0,0 +1,173 @@+// Shared data layer for the revamped IA pages (Dashboard / Overview / Harnesses / Analytics).+//+// Aggregates are computed client-side from the newest trace cards (up to WINDOW per scope), the+// gateway has no server-side aggregation API yet. That approximation is labeled in the UI where it+// matters. TODO(board): server-side aggregation endpoints (tasks/success by day, per-harness) so+// dashboards stop being window-limited.+import { harnessFetch } from '@/lib/hfetch';+import { getSession } from '@/lib/auth';+import { OOB, listCustom, type CustomHarness, type OobHarness } from '@/lib/harness';+import { appendWorkspaceQuery } from '@/lib/workspace';++export interface TraceCard {+ session_id: string;+ title?: string;+ status?: string;+ model?: string;+ backend?: string;+ elapsed?: number;+ finished_at?: number;+ harness_id?: string;+ harness_name?: string;+ member_id?: string;+ last_response_id?: string;+ workspace?: string;+ credits?: number;+}++const WINDOW = 200;++/** Newest trace cards, scoped to the ACTIVE workspace by default. Pass `ws` to target a+ * specific workspace (Dashboard's comparison rows), or `ws: null` for the org-wide view. */+export async function fetchTraceWindow(harness?: string,+ ws?: { id: string; isDefault: boolean } | null): Promise<TraceCard[]> {+ const org = getSession()?.orgId;+ if (!org) return [];+ const q = new URLSearchParams({ org, limit: String(WINDOW) });+ if (harness) q.set('harness', harness);+ if (ws === undefined) appendWorkspaceQuery(q);+ else if (ws) { q.set('workspace', ws.id); if (ws.isDefault) q.set('workspace_default', '1'); }+ const r = await harnessFetch(`/api/harness/v1/traces?${q.toString()}`);+ if (!r.ok) return [];+ const d = await r.json().catch(() => null);+ return Array.isArray(d?.sessions) ? d.sessions : [];+}++export const TERMINAL_OK = new Set(['done', 'completed']);+export const TERMINAL_BAD = new Set(['failed', 'error']);+export const RUNNING = new Set(['running', 'starting', 'in_progress']);++export interface HarnessStats {+ tasks7d: number;+ success: number | null; // 0..1 over terminal tasks in the window; null = no terminal tasks+ lastActivity: number | null;+ running: number;+ failed7d: number;+}++const DAY = 86400_000;++export function statsFor(cards: TraceCard[], now = Date.now()): HarnessStats {+ const wk = cards.filter((c) => ((c.finished_at || 0) * 1000) > now - 7 * DAY);+ const terminal = wk.filter((c) => TERMINAL_OK.has(c.status || '') || TERMINAL_BAD.has(c.status || ''));+ const ok = terminal.filter((c) => TERMINAL_OK.has(c.status || '')).length;+ return {+ tasks7d: wk.length,+ success: terminal.length ? ok / terminal.length : null,+ lastActivity: cards.length ? Math.max(...cards.map((c) => (c.finished_at || 0) * 1000)) : null,+ running: cards.filter((c) => RUNNING.has(c.status || '')).length,+ failed7d: wk.filter((c) => TERMINAL_BAD.has(c.status || '')).length,+ };+}++/** p95 wall-clock duration over a harness's recent terminal cards; null when too few. */+export function p95Of(cards: TraceCard[] | undefined): string | null {+ const el = (cards || []).map((c) => c.elapsed || 0).filter((x) => x > 0).sort((a, b) => a - b);+ if (el.length < 3) return null;+ const v = el[Math.min(el.length - 1, Math.floor(el.length * 0.95))];+ const m = Math.floor(v / 60), s = Math.round(v % 60);+ return m ? `${m}m ${String(s).padStart(2, '0')}s` : `${s}s`;+}++/** Average credits per task for a harness (over the runs that carry a credit total — older runs+ * from before per-run metering have none, so we average only the priced ones). Null when none. */+export function avgCreditsOf(cards: TraceCard[] | undefined): string | null {+ const c = (cards || []).map((x) => x.credits).filter((v): v is number => typeof v === 'number' && v > 0);+ if (!c.length) return null;+ const avg = c.reduce((s, v) => s + v, 0) / c.length;+ return avg >= 100 ? Math.round(avg).toLocaleString() : avg.toFixed(avg < 10 ? 2 : 1);+}++export function groupByHarness(cards: TraceCard[]): Map<string, TraceCard[]> {+ const m = new Map<string, TraceCard[]>();+ for (const c of cards) {+ const k = c.harness_id || 'unknown';+ if (!m.has(k)) m.set(k, []);+ m.get(k)!.push(c);+ }+ return m;+}++/** Tasks-per-day buckets for the last `days`, oldest first. */+export function dailyBuckets(cards: TraceCard[], days = 7, now = Date.now()): { label: string; count: number; ok: number; bad: number }[] {+ const out: { label: string; count: number; ok: number; bad: number }[] = [];+ for (let i = days - 1; i >= 0; i--) {+ const d0 = new Date(now - i * DAY);+ const label = d0.toLocaleDateString('en-US', { month: 'short', day: 'numeric' });+ const dayStart = new Date(d0.getFullYear(), d0.getMonth(), d0.getDate()).getTime();+ const inDay = cards.filter((c) => {+ const t = (c.finished_at || 0) * 1000;+ return t >= dayStart && t < dayStart + DAY;+ });+ out.push({+ label,+ count: inDay.length,+ ok: inDay.filter((c) => TERMINAL_OK.has(c.status || '')).length,+ bad: inDay.filter((c) => TERMINAL_BAD.has(c.status || '')).length,+ });+ }+ return out;+}++export interface HarnessRow {+ id: string;+ name: string;+ purpose: string;+ kind: 'builtin' | 'custom';+ runtime: string;+ stats: HarnessStats;+}++export async function fetchHarnessRows(): Promise<{ rows: HarnessRow[]; all: TraceCard[] }> {+ const [custom, all] = await Promise.all([+ listCustom().catch(() => [] as CustomHarness[]),+ fetchTraceWindow(),+ ]);+ const byHarness = groupByHarness(all);+ const rows: HarnessRow[] = [];+ for (const o of OOB.filter((x: OobHarness) => x.status === 'ready')) {+ rows.push({+ id: o.id, name: o.name, purpose: o.systemPrompt?.split('.')[0] || 'Built-in harness', kind: 'builtin',+ runtime: `${o.name} · ${o.defaultModel || o.models[0] || ''}`,+ stats: statsFor(byHarness.get(o.id) || []),+ });+ }+ for (const c of custom) {+ rows.push({+ id: c.id, name: c.name, purpose: c.systemPrompt?.split('.')[0]?.slice(0, 90) || 'Custom harness', kind: 'custom',+ runtime: `${c.baseLabel || c.base} · ${c.defaultModel || 'backend default'}`,+ stats: statsFor(byHarness.get(c.id) || []),+ });+ }+ rows.sort((a, b) => (b.stats.lastActivity || 0) - (a.stats.lastActivity || 0));+ return { rows, all };+}++export function timeAgo(ts: number | null): string {+ if (!ts) return '—';+ const s = Math.max(0, (Date.now() - ts) / 1000);+ if (s < 60) return 'just now';+ if (s < 3600) return `${Math.round(s / 60)} min ago`;+ if (s < 86400) return `${Math.round(s / 3600)} hr ago`;+ return `${Math.round(s / 86400)}d ago`;+}++export function statusChip(status?: string): { cls: string; label: string } {+ const s = (status || '').toLowerCase();+ if (TERMINAL_OK.has(s)) return { cls: 'healthy', label: 'Done' };+ if (TERMINAL_BAD.has(s)) return { cls: 'failed', label: 'Failed' };+ if (RUNNING.has(s)) return { cls: 'running', label: 'Working' };+ if (s === 'cancelled') return { cls: 'warning', label: 'Cancelled' };+ if (s === 'incomplete' || s === 'timeout' || s === 'max_turns') return { cls: 'warning', label: 'Incomplete' };+ return { cls: 'healthy', label: status || '—' };+}diff --git a/ui/src/lib/utils.ts b/ui/src/lib/utils.tsnew file mode 100644index 00000000..5ac38469--- /dev/null+++ b/ui/src/lib/utils.ts@@ -0,0 +1,73 @@+import { type ClassValue, clsx } from 'clsx';+import { twMerge } from 'tailwind-merge';++export function cn(...inputs: ClassValue[]) {+ return twMerge(clsx(inputs));+}++export function formatDate(date: string | Date): string {+ return new Intl.DateTimeFormat('en-US', {+ year: 'numeric',+ month: 'long',+ day: 'numeric',+ }).format(new Date(date));+}++export function formatCurrency(amount: number): string {+ return new Intl.NumberFormat('en-US', {+ style: 'currency',+ currency: 'USD',+ }).format(amount);+}++export function formatNumber(num: number): string {+ if (num >= 1000000) {+ return (num / 1000000).toFixed(1) + 'M';+ }+ if (num >= 1000) {+ return (num / 1000).toFixed(1) + 'K';+ }+ return num.toString();+}++export function truncateText(text: string, maxLength: number): string {+ if (text.length <= maxLength) return text;+ return text.slice(0, maxLength) + '...';+}++export function slugify(text: string): string {+ return text+ .toLowerCase()+ .replace(/[^\w\s-]/g, '')+ .replace(/[\s_-]+/g, '-')+ .replace(/^-+|-+$/g, '');+}++export function debounce<T extends (...args: any[]) => any>(+ func: T,+ wait: number+): (...args: Parameters<T>) => void {+ let timeout: NodeJS.Timeout | null = null;+ return (...args: Parameters<T>) => {+ if (timeout) clearTimeout(timeout);+ timeout = setTimeout(() => func(...args), wait);+ };+}++export function sanitizeUrl(url: string): string {+ if (!url || typeof url !== 'string') {+ return '';+ }++ try {+ const parsed = new URL(url.trim());+ // Only allow http and https protocols+ if (!['http:', 'https:'].includes(parsed.protocol)) {+ return '';+ }+ return parsed.href;+ } catch {+ // Invalid URL+ return '';+ }+}diff --git a/ui/src/lib/workspace-local.ts b/ui/src/lib/workspace-local.tsnew file mode 100644index 00000000..5e9ff685--- /dev/null+++ b/ui/src/lib/workspace-local.ts@@ -0,0 +1,86 @@+// Local workspace store for the self-hosted edition.+//+// Hosted, workspaces are Spaces in a separate service. A self-hosted box has no such service —+// but workspaces are still wanted: one instance, several isolated sets of harnesses and tasks.+//+// So this is a STORE swap, not a second implementation. It answers the exact three requests the+// workspace provider makes, with the exact JSON the hosted API returns, from localStorage. The+// provider, the switcher UI, the scoping headers and every consumer stay identical — which is+// the same adapter seam the backend uses to run on SQLite instead of the hosted graph.+const KEY = 'hr.selfhost.workspaces';+const DEFAULT_ID = 'default';++export interface StoredWorkspace { id: string; name: string; description: string }++const seed = (): StoredWorkspace[] => [{+ id: DEFAULT_ID,+ name: 'Default Workspace',+ description: 'All harnesses and tasks on this instance.',+}];++function read(): StoredWorkspace[] {+ if (typeof window === 'undefined') return seed();+ try {+ const raw = JSON.parse(window.localStorage.getItem(KEY) || 'null');+ return Array.isArray(raw) && raw.length ? (raw as StoredWorkspace[]) : seed();+ } catch {+ return seed();+ }+}++function write(rows: StoredWorkspace[]): void {+ try { window.localStorage.setItem(KEY, JSON.stringify(rows)); } catch { /* private mode */ }+}++/** Turn a name into a stable id. Ids scope stored records, so they must not change when a+ * workspace is renamed — this only runs at creation. */+function mint(name: string, taken: Set<string>): string {+ const base = name.trim().toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '') || 'workspace';+ if (!taken.has(base)) return base;+ for (let n = 2; ; n++) if (!taken.has(`${base}-${n}`)) return `${base}-${n}`;+}++const json = (body: unknown, status = 200) =>+ new Response(JSON.stringify(body), { status, headers: { 'content-type': 'application/json' } });++/** Drop-in for authFetch over /v1/hr/workspaces, serving the same shapes from localStorage. */+export async function localWorkspaceFetch(path: string, init: RequestInit = {}): Promise<Response> {+ const method = (init.method || 'GET').toUpperCase();+ const rows = read();++ if (method === 'GET') {+ return json({ workspaces: rows, default_workspace_id: DEFAULT_ID });+ }++ const body = (() => {+ try { return JSON.parse(String(init.body || '{}')) as Partial<StoredWorkspace>; }+ catch { return {} as Partial<StoredWorkspace>; }+ })();++ if (method === 'POST') {+ const name = String(body.name || '').trim();+ if (!name) return json({ detail: 'a workspace needs a name' }, 400);+ const created: StoredWorkspace = {+ id: mint(name, new Set(rows.map((w) => w.id))),+ name,+ description: String(body.description || ''),+ };+ write([...rows, created]);+ return json(created);+ }++ if (method === 'PATCH') {+ const id = decodeURIComponent(path.split('/').pop() || '');+ const idx = rows.findIndex((w) => w.id === id);+ if (idx < 0) return json({ detail: 'workspace not found' }, 404);+ rows[idx] = {+ ...rows[idx],+ ...(body.name !== undefined ? { name: String(body.name) } : {}),+ ...(body.description !== undefined ? { description: String(body.description) } : {}),+ };+ write(rows);+ return json(rows[idx]);+ }++ return json({ detail: `unsupported method ${method}` }, 405);+}diff --git a/ui/src/lib/workspace.tsx b/ui/src/lib/workspace.tsxnew file mode 100644index 00000000..8539da6c--- /dev/null+++ b/ui/src/lib/workspace.tsx@@ -0,0 +1,170 @@+'use client';+// Workspace context, Workspaces ARE AgentStudio Spaces (product decision 2026-07-18):+// org root -> 'HarnessRouter' container Space -> one child Space per workspace, with a+// 'Default Workspace' child always present (created at subscription; the engine's+// GET /v1/hr/workspaces ensures it idempotently, which also lazily backfills old orgs).+//+// The current selection is persisted per-org in localStorage and exposed to non-React+// callers (harness.ts gwHeaders, revamp-data fetches) via getCurrentWorkspaceRef() /+// workspaceHeaders() so every gateway call is workspace-scoped without prop drilling.+import { createContext, useCallback, useContext, useEffect, useMemo, useState } from 'react';+import { authFetch, getSession } from '@/lib/auth';+import { SELF_HOSTED } from '@/lib/edition';+import { localWorkspaceFetch } from '@/lib/workspace-local';++/** Where workspaces live. Hosted, that's the Spaces service behind the engine; self-hosted,+ * localStorage — same requests, same shapes, so everything below is unchanged either way. */+const wsFetch = SELF_HOSTED ? localWorkspaceFetch : authFetch;++export interface Workspace {+ id: string;+ name: string;+ description: string;+}++const LS_CURRENT = 'hr.workspace.current.'; // + orgId -> JSON {id, def}++export interface WorkspaceRef { id: string; isDefault: boolean }++/** The active workspace for gateway scoping, readable outside React (module consumers). */+export function getCurrentWorkspaceRef(): WorkspaceRef | null {+ if (typeof window === 'undefined') return null;+ const org = getSession()?.orgId;+ if (!org) return null;+ try {+ const raw = JSON.parse(localStorage.getItem(LS_CURRENT + org) || 'null');+ if (raw?.id) return { id: String(raw.id), isDefault: !!raw.def };+ } catch { /* unset */ }+ return null;+}++function setCurrentWorkspaceRef(orgId: string, ref: WorkspaceRef): void {+ try { localStorage.setItem(LS_CURRENT + orgId, JSON.stringify({ id: ref.id, def: ref.isDefault })); } catch { /* private mode */ }+}++/** Gateway scoping headers for the active workspace ({} when none resolved yet). */+export function workspaceHeaders(): Record<string, string> {+ const ref = getCurrentWorkspaceRef();+ if (!ref) return {};+ const h: Record<string, string> = { 'x-harness-workspace': ref.id };+ if (ref.isDefault) h['x-harness-workspace-default'] = '1';+ return h;+}++/** Append the workspace filter params to a gateway list query. */+export function appendWorkspaceQuery(q: URLSearchParams): void {+ const ref = getCurrentWorkspaceRef();+ if (!ref) return;+ q.set('workspace', ref.id);+ if (ref.isDefault) q.set('workspace_default', '1');+}++interface WorkspaceCtx {+ workspaces: Workspace[];+ current: Workspace;+ defaultId: string;+ loading: boolean;+ setCurrent: (id: string) => void;+ create: (name: string, description?: string) => Promise<Workspace>;+ update: (patch: Partial<Pick<Workspace, 'name' | 'description'>>) => Promise<void>;+ refresh: () => Promise<void>;+}++const FALLBACK: Workspace = {+ id: '', name: 'Default Workspace',+ description: 'All harnesses, tasks, and keys in this organization.',+};++const Ctx = createContext<WorkspaceCtx | null>(null);++export function WorkspaceProvider({ children }: { children: React.ReactNode }) {+ const [workspaces, setWorkspaces] = useState<Workspace[]>([FALLBACK]);+ const [defaultId, setDefaultId] = useState('');+ const [currentId, setCurrentId] = useState<string>(() => getCurrentWorkspaceRef()?.id || '');+ const [loading, setLoading] = useState(true);++ const refresh = useCallback(async () => {+ const org = getSession()?.orgId;+ if (!org) { setLoading(false); return; }+ try {+ const wanted = getCurrentWorkspaceRef()?.id || '';+ let rows: Workspace[] = [];+ let def = '';+ // A just-created Space can lag the list read (graph read-after-write); retry briefly+ // before concluding the stored selection is gone, so creating a workspace doesn't+ // snap the switcher back to Default.+ for (let attempt = 0; attempt < 3; attempt++) {+ const r = await wsFetch('/v1/hr/workspaces');+ if (!r.ok) throw new Error(String(r.status));+ const d = await r.json();+ rows = (d.workspaces || []).map((w: Record<string, string>) => ({+ id: w.id, name: w.name || 'Untitled',+ description: w.description || '',+ }));+ def = String(d.default_workspace_id || rows[0]?.id || '');+ if (!wanted || rows.some((w) => w.id === wanted)) break;+ await new Promise((res) => setTimeout(res, 1200));+ }+ setDefaultId(def);+ setWorkspaces(rows.length ? rows : [FALLBACK]);+ setCurrentId((prev) => {+ const keep = prev || wanted;+ const next = rows.some((w) => w.id === keep) ? keep : def;+ if (next) setCurrentWorkspaceRef(org, { id: next, isDefault: next === def });+ return next;+ });+ } catch { /* keep fallback, pages degrade to org-wide views */ }+ finally { setLoading(false); }+ }, []);++ useEffect(() => { refresh(); }, [refresh]);++ const value = useMemo<WorkspaceCtx>(() => {+ const current = workspaces.find((w) => w.id === currentId) || workspaces[0] || FALLBACK;+ return {+ workspaces, current, defaultId, loading,+ setCurrent: (id) => {+ const org = getSession()?.orgId;+ if (!workspaces.some((w) => w.id === id)) return;+ setCurrentId(id);+ if (org) setCurrentWorkspaceRef(org, { id, isDefault: id === defaultId });+ },+ create: async (name, description = '') => {+ const r = await wsFetch('/v1/hr/workspaces', {+ method: 'POST', headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ name, description }),+ });+ if (!r.ok) throw new Error((await r.json().catch(() => null))?.detail || `create failed (${r.status})`);+ const w = await r.json();+ // Auto-switch to the just-created workspace. Persist the selection FIRST (before refresh+ // and before any hard-nav) so it survives the graph read-after-write lag: refresh()'s retry+ // loop keys on the stored ref and waits for the new Space to appear, and a subsequent page+ // reload re-reads this same ref instead of snapping back to Default. A new workspace is+ // never the default one, so isDefault=false.+ const org = getSession()?.orgId;+ if (org) setCurrentWorkspaceRef(org, { id: w.id, isDefault: false });+ setCurrentId(w.id);+ await refresh();+ return { id: w.id, name: w.name, description: w.description || '' };+ },+ update: async (patch) => {+ if (!current.id) return;+ const r = await wsFetch(`/v1/hr/workspaces/${encodeURIComponent(current.id)}`, {+ method: 'PATCH', headers: { 'content-type': 'application/json' },+ body: JSON.stringify(patch),+ });+ if (!r.ok) throw new Error((await r.json().catch(() => null))?.detail || `save failed (${r.status})`);+ await refresh();+ },+ refresh,+ };+ }, [workspaces, currentId, defaultId, loading, refresh]);++ return <Ctx.Provider value={value}>{children}</Ctx.Provider>;+}++export function useWorkspace(): WorkspaceCtx {+ const v = useContext(Ctx);+ if (!v) throw new Error('useWorkspace outside WorkspaceProvider');+ return v;+}diff --git a/ui/src/studio/lib/iconCatalog.jsx b/ui/src/studio/lib/iconCatalog.jsxnew file mode 100644index 00000000..63979e83--- /dev/null+++ b/ui/src/studio/lib/iconCatalog.jsx@@ -0,0 +1,121 @@+// Lucide icon catalog — 1700+ icons.+//+// Public surface:+// ICON_KEYS — sorted PascalCase keys (e.g. "Workflow", "Bell")+// IconByName — React component that renders a Lucide icon by name+// getIconUrl — returns a data:image/svg+xml URI for the named icon+// with the stroke color INLINED (so Cytoscape can use+// it as a background-image; currentColor wouldn't+// resolve once the SVG is detached from the DOM)+// searchIcons — case-insensitive token-prefix search over a+// human-readable form of each key++import React from 'react';+import { renderToStaticMarkup } from 'react-dom/server';+import { icons as LucideIcons } from 'lucide-react';++export const ICON_KEYS = Object.keys(LucideIcons).sort();++// PascalCase -> "pascal case" so search can match on whole words.+function humanize(key) {+ return key+ .replace(/([a-z])([A-Z])/g, '$1 $2')+ .replace(/([A-Z]+)([A-Z][a-z])/g, '$1 $2')+ .toLowerCase();+}++// Pre-compute the searchable form for every key.+const SEARCH_INDEX = ICON_KEYS.map((k) => [k, humanize(k)]);++export function searchIcons(query, limit = 80) {+ const q = (query || '').trim().toLowerCase();+ if (!q) return ICON_KEYS.slice(0, limit);+ const tokens = q.split(/\s+/).filter(Boolean);+ const out = [];+ for (const [key, human] of SEARCH_INDEX) {+ if (tokens.every((t) => human.includes(t) || key.toLowerCase().includes(t))) {+ out.push(key);+ if (out.length >= limit) break;+ }+ }+ return out;+}++// Inline "HTTP" text glyph — there is no Lucide icon for "HTTP", and+// the http_post node is meant to read at a glance as a literal HTTP+// call. Rendered as an SVG <text> element so it scales with `size`+// and respects `color`.+function HttpTextIcon({ size = 16, color = 'currentColor', strokeWidth = 2 }) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width={size}+ height={size}+ viewBox="0 0 24 24"+ fill="none"+ stroke={color}+ strokeWidth={strokeWidth}+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <text+ x="12"+ y="13"+ textAnchor="middle"+ dominantBaseline="middle"+ fill={color}+ stroke="none"+ fontFamily="ui-sans-serif, -apple-system, BlinkMacSystemFont, system-ui, sans-serif"+ fontSize="9.5"+ fontWeight="700"+ letterSpacing="0.3"+ >HTTP</text>+ </svg>+ );+}++export function IconByName({ name, size = 16, color, strokeWidth = 2, ...rest }) {+ if (name === 'HTTP') {+ return <HttpTextIcon size={size} color={color || 'currentColor'} strokeWidth={strokeWidth}/>;+ }+ const Comp = LucideIcons[name];+ if (!Comp) return null;+ return <Comp size={size} color={color} strokeWidth={strokeWidth} {...rest}/>;+}++// Cache of fully-rendered SVG data URIs per (name|color).+const URL_CACHE = new Map();++export function getIconUrl(name, color = '#FFFFFF') {+ if (!name) return null;+ const cacheKey = `${name}|${color}`;+ const hit = URL_CACHE.get(cacheKey);+ if (hit) return hit;+ // Custom "HTTP" text glyph (no Lucide equivalent) — render via the+ // local HttpTextIcon so canvas nodes and pickers all show the same+ // mark.+ if (name === 'HTTP') {+ const markup = renderToStaticMarkup(+ <HttpTextIcon size={24} color={color} strokeWidth={1.75}/>+ );+ const url = `data:image/svg+xml;utf8,${encodeURIComponent(markup)}`;+ URL_CACHE.set(cacheKey, url);+ return url;+ }+ const Comp = LucideIcons[name];+ if (!Comp) return null;+ // Render to SVG markup. Lucide accepts `color` and emits the stroke+ // attribute inline -- but the React server renderer doesn't run CSS+ // inheritance, so we still belt-and-suspenders any `currentColor` that+ // survives by substituting the literal color.+ // Render at 24px (Lucide's native viewBox) with a slightly thinner+ // stroke so the glyph reads cleanly when scaled down inside small+ // canvas nodes. Stroke-width 1.75 keeps it crisp without looking heavy.+ const markup = renderToStaticMarkup(+ <Comp size={24} color={color} strokeWidth={1.75}/>+ );+ const inlined = markup.replace(/currentColor/g, color);+ const url = `data:image/svg+xml;utf8,${encodeURIComponent(inlined)}`;+ URL_CACHE.set(cacheKey, url);+ return url;+}diff --git a/ui/src/studio/lib/markdown.jsx b/ui/src/studio/lib/markdown.jsxnew file mode 100644index 00000000..2ae90380--- /dev/null+++ b/ui/src/studio/lib/markdown.jsx@@ -0,0 +1,16 @@+'use client';++// Beautiful markdown rendering for trace messages + seeded docs — full GitHub-flavored markdown+// (tables, task lists, strikethrough, autolinks, fenced code) via react-markdown + remark-gfm,+// the same renderer the workbench chat uses, so message content reads as rich text everywhere.+import React from 'react';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';++export function Markdown({ text, className }) {+ return (+ <div className={'md' + (className ? ' ' + className : '')}>+ <ReactMarkdown remarkPlugins={[remarkGfm]}>{String(text || '')}</ReactMarkdown>+ </div>+ );+}diff --git a/ui/src/studio/styles/ap-audit.css b/ui/src/studio/styles/ap-audit.cssnew file mode 100644index 00000000..6fee7286--- /dev/null+++ b/ui/src/studio/styles/ap-audit.css@@ -0,0 +1,52 @@+/* Audit page */++.audit-grid {+ display: grid; grid-template-columns: 1fr 440px;+ gap: 14px;+ flex: 1; min-height: 0;+ padding: 16px 20px 20px;+}+.audit-grid > * { min-height: 0; }++.audit-tbl { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }+.audit-tbl-head, .audit-tbl-row {+ display: flex; align-items: center; gap: 12px;+ padding: 8px 16px;+ font-size: 12px;+}+.audit-tbl-head {+ font-size: 11px; color: var(--mute);+ text-transform: uppercase; letter-spacing: .04em;+ background: var(--surface-2);+ border-bottom: 1px solid var(--line);+ position: sticky; top: 0; z-index: 1;+}+.audit-tbl-row {+ border-bottom: 1px solid var(--line-soft);+ cursor: pointer;+}+.audit-tbl-row:hover { background: var(--surface-2); }+.audit-tbl-row.selected { background: var(--brand-50); }+.audit-tbl-head > *, .audit-tbl-row > * {+ flex-shrink: 0; min-width: 0;+}+.audit-tbl-row > span:has(.pill) { overflow: visible; }++.audit-r {+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ display: flex; flex-direction: column;+ min-height: 0; overflow: hidden;+}+.audit-r-h {+ display: flex; align-items: center; gap: 8px;+ padding: 12px 14px; border-bottom: 1px solid var(--line-soft);+}+.audit-r-b {+ flex: 1; min-height: 0; overflow-y: auto;+ padding: 14px;+}+.audit-r-f {+ padding: 10px 14px; border-top: 1px solid var(--line-soft);+ background: var(--surface-2);+ display: flex; align-items: center; gap: 6px;+}diff --git a/ui/src/studio/styles/ap-graph.css b/ui/src/studio/styles/ap-graph.cssnew file mode 100644index 00000000..f184a093--- /dev/null+++ b/ui/src/studio/styles/ap-graph.css@@ -0,0 +1,626 @@+/* Graph page — dual-pane visual graph */++.dg-shell {+ display: flex; flex: 1; min-height: 0;+ background: var(--bg);+}++.dg-pane {+ display: flex; flex-direction: column;+ min-height: 0; min-width: 0;+ background: #fff;+ border-right: 1px solid var(--line);+ flex: 1 1 50%;+ transition: flex-basis 180ms ease;+}+.dg-pane:last-child { border-right: 0; }+.dg-pane.expanded { flex: 1 1 100%; }+.dg-pane.collapsed { flex: 0 0 44px; }++/* Resize handle between the two panes. Visually invisible (no color+ or border) but it captures clicks across a slim hit area and shows+ the col-resize cursor on hover. */+.dg-divider {+ width: 6px;+ margin: 0 -3px; /* overlap the panes so there's no visible gap */+ cursor: col-resize;+ background: transparent;+ flex-shrink: 0;+ z-index: 5;+}+.dg-divider.dragging,+.dg-shell.dragging * { cursor: col-resize !important; }+.dg-shell.dragging { user-select: none; }+.dg-pane.collapsed .dg-body { display: none; }+.dg-pane.collapsed .dg-pane-h { writing-mode: vertical-rl; padding: 14px 8px; gap: 14px; }++.dg-pane-h {+ display: flex; align-items: center; gap: 10px;+ padding: 8px 16px; flex-shrink: 0;+ height: 52px;+ box-sizing: border-box;+ background: var(--surface);+ border-bottom: 1px solid var(--line-soft);+ min-width: 0;+}+/* Floating action toolbar inside the canvas, top-center. Pencil / chev+ / expand sit here; Save / Discard appear to their right when dirty.+ Out of the banner so the banner can stay clean. */+.dg-canvas { position: relative; }+.dg-canvas-tools {+ position: absolute; top: 12px; left: 50%;+ transform: translateX(-50%);+ z-index: 10;+ display: flex; align-items: center; gap: 6px;+ pointer-events: none;+}+.dg-canvas-tools > * { pointer-events: auto; }+.dg-pane-label {+ font-size: 11px; color: var(--mute);+ text-transform: uppercase; letter-spacing: .06em; font-weight: 600;+ flex-shrink: 0;+}+.dg-seg { flex-shrink: 0; }+.dg-pane-h .sbar { flex: 1 1 auto; min-width: 0; max-width: 400px; margin-left: auto; }+.dg-pane-h .pane-tools { flex-shrink: 0; margin-left: auto; gap: 6px; }+.dg-pane-h .sbar + .pane-tools { margin-left: 0; }+/* Normalize control heights inside the banner so the schema seg buttons+ and the explore search bar both sit at the same row height. */+.dg-pane-h .sbar,+.dg-pane-h .seg,+.dg-pane-h .btn.sm,+.dg-pane-h .pane-btn { height: 32px; box-sizing: border-box; }+.dg-pane-h .sbar { padding: 4px 8px; }++.dg-body {+ flex: 1; min-height: 0; min-width: 0;+ display: flex;+ position: relative;+}++.dg-canvas {+ flex: 1; min-width: 0; min-height: 0;+ position: relative;+ background: #FAFBFD;+ overflow: hidden;+}++.dg-grid {+ position: absolute; inset: 0;+ background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px);+ background-size: 22px 22px;+ pointer-events: none;+}++/* Schema (type) node */+.sg-node {+ position: absolute;+ width: 94px;+ display: flex; flex-direction: column; align-items: center; gap: 2px;+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ padding: 8px 10px;+ box-shadow: var(--shadow-1);+ cursor: pointer;+ z-index: 2;+ transition: box-shadow 120ms, border-color 120ms;+}+.sg-node:hover { border-color: var(--brand); }+.sg-node.selected { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }+.sg-node-dot { width: 12px; height: 12px; border-radius: 99px; background: var(--mute-2); }+.sg-node-name { font-weight: 600; font-size: 12px; color: var(--ink); }+.sg-node-count { font-size: 10px; color: var(--mute); font-family: var(--mono); }++/* Data (instance) node */+.dg-node {+ position: absolute;+ width: 86px;+ display: flex; flex-direction: column; align-items: center;+ background: #fff; border: 1.5px solid var(--line); border-radius: 12px;+ padding: 6px 8px;+ font-size: 11px; line-height: 1.3;+ cursor: pointer;+ z-index: 2;+ transition: box-shadow 120ms, border-color 120ms;+}+.dg-node:hover { border-color: var(--brand); }+.dg-node.selected { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }+.dg-n-av {+ width: 22px; height: 22px; border-radius: 99px;+ display: inline-flex; align-items: center; justify-content: center;+ color: #fff; font-weight: 600; font-size: 11px;+ margin-bottom: 4px;+}+.dg-n-name { font-weight: 600; font-size: 11px; color: var(--ink); }+.dg-n-sub { color: var(--mute); font-size: 10px; }++/* Edges between graph nodes */+.g-edge {+ position: absolute;+ height: 1.5px;+ background: var(--mute-2);+ transform-origin: 0 50%;+ z-index: 1;+}+.g-edge-label {+ position: absolute;+ background: #fff; border: 1px solid var(--line); border-radius: 999px;+ padding: 0 6px; height: 16px; line-height: 16px;+ font-size: 10px; color: var(--mute);+ white-space: nowrap;+ z-index: 1;+ transform: translate(-50%, -50%);+}++/* Zoom controls */+.dg-zoom {+ position: absolute; right: 14px; bottom: 14px;+ display: flex; flex-direction: column; gap: 4px;+ background: #fff; border: 1px solid var(--line); border-radius: 8px;+ padding: 4px;+ box-shadow: var(--shadow-1);+ z-index: 3;+}++.dg-canvas-hint {+ position: absolute; left: 14px; bottom: 14px;+ font-size: 10px; color: var(--mute);+ background: #fff; border: 1px dashed var(--line); border-radius: 6px;+ padding: 4px 10px;+ z-index: 3;+}++/* Detail panel inside a pane */+.dg-detail {+ width: 400px; flex-shrink: 0;+ background: #fff;+ border-left: 1px solid var(--line);+ display: flex; flex-direction: column;+ min-height: 0;+}+/* Container-local responsive: when the pane is narrower than 2× the+ editor's default width, the editor floats over the canvas at full+ pane width instead of squeezing it. The close button in the header+ restores the canvas view. */+.dg-detail.compact {+ position: absolute;+ top: 0; right: 0; bottom: 0; left: 0;+ width: auto;+ border-left: 0;+ box-shadow: -8px 0 24px rgba(15,23,42,.04);+ z-index: 9;+}+.dg-detail-h {+ display: flex; align-items: center; gap: 10px;+ padding: 12px 14px;+ border-bottom: 1px solid var(--line-soft);+}+.dg-detail-close {+ flex-shrink: 0;+ align-self: flex-start;+}+.dg-detail-b {+ flex: 1; min-height: 0; overflow-y: auto;+ padding: 14px;+}+.dg-detail-f {+ padding: 10px 14px;+ border-top: 1px solid var(--line-soft);+ background: var(--surface-2);+ display: flex; align-items: center; gap: 6px;+}++/* Property editor table inside schema detail. Header + row share the+ same grid template so columns line up; the type cell gets enough room+ for the longest data-type token ("double precision", "timestamptz"). */+.prop-table { display: flex; flex-direction: column; margin: 0 -14px; }+.prop-grid {+ display: grid;+ grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) 36px 36px;+ gap: 8px;+ align-items: center;+ padding: 6px 14px;+}+.prop-head {+ composes: prop-grid;+ display: grid;+ grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) 36px 36px;+ gap: 8px;+ padding: 4px 14px 6px;+ font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em;+ font-weight: 600;+ border-bottom: 1px solid var(--line-soft);+}+.prop-row {+ display: grid;+ grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) 36px 36px;+ gap: 8px; align-items: center;+ padding: 6px 14px;+ border-bottom: 1px solid var(--line-soft);+}+.prop-row .input.sm { height: 28px; padding: 4px 8px; font-size: 11px; min-width: 0; }+/* Native select chevron has its own horizontal whitespace; pad the+ text side so chars never collide with it on "timestamptz" etc. */+.prop-row select.input.sm { padding-right: 22px; }++/* Editor field labels (Color / Icon / Properties). Single visual+ treatment everywhere instead of one-off inline styles. */+.dg-field-label {+ font-size: 11px; font-weight: 600; color: var(--mute);+ text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px;+}++/* Inline-editable text and textarea inside the editor header. They+ read as plain text but reveal a subtle background + border on hover+ / focus so users discover them. */+.dg-inline-input {+ width: 100%;+ padding: 4px 6px;+ background: transparent;+ border: 1px solid transparent;+ border-radius: 6px;+ font-family: inherit;+ color: inherit;+ outline: none;+ resize: none;+}+.dg-inline-input:hover:not(:disabled) { background: var(--surface-2); }+.dg-inline-input:focus:not(:disabled) {+ background: #fff; border-color: var(--line); box-shadow: 0 0 0 3px rgba(94,78,190,.08);+}+.dg-inline-input:disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); cursor: default; }++/* ── Icon combobox ─────────────────────────────────────────────── */+.icon-combo { position: relative; }+.icon-combo-trigger {+ display: flex; align-items: center; gap: 8px;+ width: 100%; height: 32px;+ padding: 0 10px;+ background: #fff;+ border: 1px solid var(--line);+ border-radius: 6px;+ cursor: pointer;+ font-family: inherit; font-size: 12px; color: var(--ink);+ text-align: left;+}+.icon-combo-trigger:hover { border-color: var(--brand); }+.icon-combo-glyph {+ width: 18px; height: 18px;+ display: inline-flex; align-items: center; justify-content: center;+ color: var(--ink-2); flex-shrink: 0;+}+.icon-combo-name {+ flex: 1; min-width: 0;+ font-family: 'SF Mono', Consolas, monospace; font-size: 11px;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;+}+.icon-combo-caret { font-size: 10px; color: var(--mute); }+.icon-combo-popover {+ position: absolute; left: 0; right: 0; top: calc(100% + 4px);+ z-index: 50;+ background: #fff;+ border: 1px solid var(--line);+ border-radius: 8px;+ box-shadow: 0 8px 24px rgba(15,23,42,.12);+ overflow: hidden;+ display: flex; flex-direction: column;+}+.icon-combo-search {+ width: 100%;+ padding: 8px 10px;+ border: 0; border-bottom: 1px solid var(--line-soft);+ outline: 0; font: inherit; font-size: 12px;+}+.icon-combo-list {+ max-height: 240px;+ overflow-y: auto;+ padding: 4px 0;+}+.icon-combo-item {+ display: flex; align-items: center; gap: 10px;+ width: 100%;+ padding: 6px 10px;+ background: transparent;+ border: 0;+ text-align: left;+ cursor: pointer;+ font: inherit;+}+.icon-combo-item:hover { background: var(--surface-2); }+.icon-combo-item.active { background: var(--brand-soft); color: var(--brand-ink); }+.icon-combo-item .icon-combo-glyph { color: var(--ink-2); }+.icon-combo-item.active .icon-combo-glyph { color: var(--brand-ink); }+.icon-combo-empty {+ padding: 16px 12px; font-size: 12px; color: var(--mute);+}++/* ── Custom color slot at the end of the swatch row ───────────── */+/* Same vertical footprint as a preset swatch (22px high incl. 2px+ border) so the row never breaks. */+.color-custom {+ position: relative;+ display: inline-flex; align-items: center; gap: 6px;+ box-sizing: border-box;+ height: 22px; padding: 0 6px 0 4px;+ background: #fff;+ border: 2px solid rgba(0,0,0,.08);+ border-radius: 6px;+ cursor: pointer;+ font-family: 'SF Mono', Consolas, monospace; font-size: 10px; line-height: 1;+ color: var(--ink);+}+.color-custom:hover { border-color: var(--brand); }+/* When the active color is custom (not one of the presets), put the+ focus ring on this slot -- same treatment the preset swatches use. */+.color-custom.active {+ border-color: #111827;+ box-shadow: 0 0 0 2px #fff inset;+}+.color-custom-sample {+ width: 10px; height: 10px; border-radius: 2px;+ border-width: 1px;+ border-color: rgba(0,0,0,.25);+ border-style: solid;+ flex-shrink: 0;+}+.color-custom input[type="color"] {+ position: absolute; inset: 0;+ opacity: 0; cursor: pointer;+ border: 0; padding: 0; width: 100%; height: 100%;+}++/* ── Endpoint table (edge source/target pairs) ──────────────── */+.endpoint-table { display: flex; flex-direction: column; margin: 0 -14px; }+.endpoint-head {+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;+ gap: 8px;+ padding: 4px 14px 6px;+ font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em;+ font-weight: 600;+ border-bottom: 1px solid var(--line-soft);+}+.endpoint-head > :last-child { text-align: center; }+.endpoint-row {+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;+ gap: 8px; align-items: center;+ padding: 6px 14px;+ font-size: 11px;+ border-bottom: 1px solid var(--line-soft);+}+.endpoint-row .mono { font-family: 'SF Mono', Consolas, monospace; }+.endpoint-row select.input.sm { padding-right: 22px; min-width: 0; }+.endpoint-row .dg-conn-x { justify-self: center; }+.endpoint-add .endpoint-add-btn {+ color: var(--brand-ink);+ border-color: var(--brand-50);+ background: #fff;+ font-size: 16px; line-height: 1;+}+.endpoint-add .endpoint-add-btn:hover:not(:disabled) {+ background: var(--brand-50); border-color: var(--brand);+}++/* ── Connections (edge endpoint pairs) list ──────────────────── */+.dg-conn-list { display: flex; flex-direction: column; gap: 6px; }+.dg-conn-row {+ display: flex; align-items: center; gap: 8px;+ padding: 6px 8px;+ background: var(--surface-2);+ border: 1px solid var(--line-soft);+ border-radius: 6px;+ font-size: 11px;+}+.dg-conn-row .mono { font-family: 'SF Mono', Consolas, monospace; }+.dg-conn-row select.input.sm { padding-right: 22px; min-width: 0; flex: 1; }+.dg-conn-arrow { color: var(--mute); }+.dg-conn-x {+ margin-left: auto;+ width: 22px; height: 22px;+ display: inline-flex; align-items: center; justify-content: center;+ background: transparent;+ border: 1px solid transparent;+ border-radius: 4px;+ cursor: pointer;+ color: var(--mute);+}+.dg-conn-x:hover { color: #B91C1C; border-color: #FECACA; background: #FEF2F2; }+.dg-conn-x:disabled { opacity: .3; cursor: not-allowed; }++.prop-edge-row {+ display: flex; gap: 8px; align-items: center;+ background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 6px;+ padding: 6px 10px; font-size: 11px;+}++.kv-grid {+ display: grid; grid-template-columns: 1fr;+ gap: 4px;+}+.kv-grid > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }+.kv-grid .kv-k { color: var(--mute); font-size: 11px; }+.kv-grid .kv-v { color: var(--ink); }++/* "Show on explorer label" per-property eye toggle in the schema editor. */+.dg-label-eye {+ width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px;+ background: var(--surface); color: var(--mute-2); cursor: pointer;+ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;+}+.dg-label-eye:hover { color: var(--ink); border-color: var(--mute-2); }+.dg-label-eye.on { color: #fff; background: var(--brand, #42309C); border-color: var(--brand, #42309C); }++/* Flat per-property list (one row per property) for the node/edge detail. */+.dg-prop-list { display: flex; flex-direction: column; }+.dg-prop-item {+ display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: baseline;+ padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px;+}+.dg-prop-item:last-child { border-bottom: 0; }+.dg-prop-name { color: var(--mute); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }+.dg-prop-val { color: var(--ink); }++.dg-edge-list { display: flex; flex-direction: column; gap: 6px; }+.dg-edge-row {+ display: flex; gap: 8px; align-items: center;+ background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 6px;+ padding: 6px 10px; font-size: 11px;+}++.ap-pre {+ background: #0F1320; color: #A89DE0;+ border-radius: 8px; padding: 12px;+ font-family: var(--mono); font-size: 11px; line-height: 1.6;+ margin: 0;+ white-space: pre-wrap;+ overflow: auto;+}++/* Search-with-badge */+.sbar {+ display: flex; align-items: center; gap: 8px;+ background: #fff; border: 1px solid var(--line); border-radius: 8px;+ padding: 4px 8px;+ flex: 1; min-width: 0; max-width: 380px;+ position: relative;+}+.sbar.is-open { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94,78,190,.12); }+.sbar-input {+ flex: 1; min-width: 0;+ border: 0; outline: 0;+ font-family: inherit; font-size: 12px;+ background: transparent;+ padding: 4px 0;+}+.sbar-badge {+ display: inline-flex; align-items: center; gap: 4px;+ padding: 2px 4px 2px 8px; height: 22px;+ font-size: 11px; font-weight: 500;+ border-radius: 6px;+ background: var(--brand-50); color: var(--brand-ink);+ border: 1px solid var(--brand);+}+.sbar-dot { width: 8px; height: 8px; border-radius: 99px; }+.sbar-x {+ width: 16px; height: 16px;+ display: inline-flex; align-items: center; justify-content: center;+ border-radius: 4px; cursor: pointer; color: var(--brand-ink);+ font-size: 12px; line-height: 1;+}+.sbar-x:hover { background: rgba(94,78,190,.16); }++.sb-drop {+ position: absolute; left: 0; right: 0; top: calc(100% + 6px);+ background: #fff; border: 1px solid var(--line); border-radius: 8px;+ box-shadow: var(--shadow-2);+ z-index: 10; padding: 6px;+ max-height: 360px; overflow-y: auto;+ min-width: 320px;+}+.sb-drop-h {+ font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600;+ color: var(--mute);+ padding: 6px 8px 4px;+}+.sb-drop-item {+ display: flex; align-items: center; gap: 8px;+ padding: 6px 8px; border-radius: 6px;+ cursor: pointer; font-size: 12px;+}+.sb-drop-item:hover { background: var(--surface-2); }++/* Switch (used on Graph header) */+.switch { position: relative; display: inline-block; width: 32px; height: 18px; }+.switch input { display: none; }+.switch .slider {+ position: absolute; inset: 0; cursor: pointer;+ background: var(--mute-2); border-radius: 99px; transition: background 120ms;+}+.switch .slider::before {+ content: ""; position: absolute; left: 2px; top: 2px;+ width: 14px; height: 14px; background: #fff; border-radius: 99px;+ transition: transform 120ms;+}+.switch input:checked + .slider { background: var(--brand); }+.switch input:checked + .slider::before { transform: translateX(14px); }++/* ── Cytoscape right-click context menu ─────────────────────────────── */+.cy-ctx-menu {+ min-width: 180px;+ background: #fff;+ border: 1px solid var(--line, #E5E7EB);+ border-radius: 8px;+ box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);+ padding: 4px;+ font-size: 13px;+ user-select: none;+}+.cy-ctx-item {+ position: relative;+ display: flex; align-items: center; justify-content: space-between;+ width: 100%;+ padding: 6px 10px;+ background: transparent;+ border: 0;+ border-radius: 6px;+ color: var(--ink, #111827);+ cursor: pointer;+ text-align: left;+ white-space: nowrap;+}+.cy-ctx-item:hover,+.cy-ctx-item.open { background: var(--bg-soft, #F3F4F6); }+.cy-ctx-has-sub { padding-right: 22px; }+.cy-ctx-chev { color: var(--mute, #6B7280); font-size: 14px; line-height: 1; margin-left: 8px; }+.cy-ctx-sub {+ position: absolute;+ top: -4px; left: 100%;+ margin-left: 2px;+ min-width: 240px;+ background: #fff;+ border: 1px solid var(--line, #E5E7EB);+ border-radius: 8px;+ box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);+ padding: 4px;+}+.cy-ctx-empty { padding: 6px 10px; color: var(--mute, #6B7280); font-size: 12px; }++/* Edge → target leaf items in the 2nd-level submenu */+.cy-ctx-leaf {+ display: grid;+ grid-template-columns: auto auto auto 1fr;+ gap: 6px;+ align-items: center;+ padding-right: 10px;+}+.cy-ctx-edge-pill {+ font-size: 10px; font-weight: 600;+ color: #fff;+ padding: 1px 6px;+ border-radius: 4px;+ letter-spacing: 0.2px;+ max-width: 130px;+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;+}+.cy-ctx-arrow { font-size: 13px; line-height: 1; opacity: 0.9; }+.cy-ctx-node-chip {+ width: 18px; height: 18px;+ border-radius: 99px;+ display: inline-flex; align-items: center; justify-content: center;+ flex: 0 0 18px;+}+.cy-ctx-target-label { font-size: 12px; color: var(--ink, #111827); }++/* ── Collapsed-neighbor badge on a node ─────────────────────────────── */+.cy-badge {+ min-width: 18px; height: 18px;+ padding: 0 5px;+ border-radius: 999px;+ background: var(--brand, #42309C);+ color: #fff;+ font-size: 11px;+ font-weight: 600;+ display: inline-flex; align-items: center; justify-content: center;+ box-shadow: 0 0 0 2px #fff;+ z-index: 5;+}diff --git a/ui/src/studio/styles/ap-graphs.css b/ui/src/studio/styles/ap-graphs.cssnew file mode 100644index 00000000..41a36dd1--- /dev/null+++ b/ui/src/studio/styles/ap-graphs.css@@ -0,0 +1,16 @@+/* Graphs landing — adds a stats row to the wfl-card pattern */++.gph-stats {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 4px 12px;+ padding: 10px 0 2px;+ border-top: 1px dashed var(--line-soft);+}+.gph-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }+.gph-stat .stat-lbl {+ font-size: 9px; text-transform: uppercase; letter-spacing: .04em;+ font-weight: 600; color: var(--mute);+}+.gph-stat .num { font-size: 13px; }+.gph-stat .num b { color: var(--ink); font-weight: 600; }diff --git a/ui/src/studio/styles/ap-integrations.css b/ui/src/studio/styles/ap-integrations.cssnew file mode 100644index 00000000..479e2751--- /dev/null+++ b/ui/src/studio/styles/ap-integrations.css@@ -0,0 +1,58 @@+/* Integrations page */++.int-tabs {+ display: flex; align-items: center; gap: 4px;+ padding: 4px;+ border-bottom: 1px solid var(--line-soft);+ overflow-x: auto;+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+}+.int-tab {+ padding: 8px 14px; font-size: 13px; color: var(--mute);+ border: 1px solid transparent; border-radius: 8px; cursor: pointer;+ white-space: nowrap;+ display: inline-flex; align-items: center; gap: 6px;+}+.int-tab:hover { color: var(--ink); background: var(--surface-2); }+.int-tab.active { color: var(--brand-ink); background: var(--brand-50); border-color: var(--brand); font-weight: 600; }++.int-section-h {+ display: flex; align-items: baseline; gap: 12px;+ padding: 14px 4px 8px;+}+.int-section-t {+ font-size: 12px; font-weight: 600; color: var(--ink);+ text-transform: uppercase; letter-spacing: .06em;+}++.int-grid {+ display: grid; gap: 12px;+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));+}++.int-card {+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ padding: 14px;+ display: flex; flex-direction: column; gap: 10px;+ cursor: pointer;+ transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;+}+.int-card:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-1px); }+.int-card.available { background: var(--surface-2); }+.int-card.available:hover { background: #fff; }++.int-c-top { display: flex; align-items: flex-start; gap: 10px; }+.int-logo {+ width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ font-size: 13px; font-weight: 700; letter-spacing: -.01em;+}+.int-c-name { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink); }+.int-c-tag { font-size: 11px; color: var(--mute); margin-top: 4px; }+.int-c-tag.mono { font-family: var(--mono); }++.int-c-meta {+ display: flex; align-items: center; gap: 10px;+ padding-top: 10px; border-top: 1px dashed var(--line-soft);+}+.int-c-meta .stat-lbl { font-size: 11px; }diff --git a/ui/src/studio/styles/ap-runs.css b/ui/src/studio/styles/ap-runs.cssnew file mode 100644index 00000000..76113042--- /dev/null+++ b/ui/src/studio/styles/ap-runs.css@@ -0,0 +1,30 @@+/* Runs page */++.runs-tbl { display: flex; flex-direction: column; }+.runs-tbl-head, .runs-tbl-row {+ display: flex; align-items: center; gap: 12px;+ padding: 10px 16px;+ font-size: 12px;+}+.runs-tbl-head {+ font-size: 11px; color: var(--mute);+ text-transform: uppercase; letter-spacing: .04em;+ background: var(--surface-2);+ border-bottom: 1px solid var(--line);+}+.runs-tbl-row {+ border-bottom: 1px solid var(--line-soft);+ cursor: pointer;+}+.runs-tbl-row:hover { background: var(--surface-2); }+.runs-tbl-row.row-warm { background: #FEF7EB; }+.runs-tbl-row.row-warm:hover { background: #FCEAC8; }+.runs-tbl-row.row-hot { background: #FEF2F2; }+.runs-tbl-row.row-hot:hover { background: #FBE4E4; }+.runs-tbl-row.row-dim { opacity: 0.6; }++.runs-tbl-head > *, .runs-tbl-row > * {+ flex-shrink: 0; min-width: 0;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;+}+.runs-tbl-row > span:has(.pill), .runs-tbl-row > span:has(.btn) { overflow: visible; }diff --git a/ui/src/studio/styles/ap-shell.css b/ui/src/studio/styles/ap-shell.cssnew file mode 100644index 00000000..b5e3bb16--- /dev/null+++ b/ui/src/studio/styles/ap-shell.css@@ -0,0 +1,62 @@+/* AdminPortal-specific shell tweaks */++/* The shell-body for full-bleed pages (Workflow editor, Graph) */+.ap-shell-full { padding: 0; overflow: hidden; flex: 1; min-height: 0; display: flex; flex-direction: column; }++/* AdminPortal topbar: 3-region layout so toggle can sit visually centered */+.shell .top { position: relative; min-height: 52px; }+.shell .top .top-crumbs { flex: 1 1 auto; min-width: 0; }+.top-center {+ position: absolute;+ left: 50%; top: 50%;+ transform: translate(-50%, -50%);+ z-index: 1;+}++/* Common page wrapper for table-y pages */+.ap-page { display: flex; flex-direction: column; gap: 14px; }++/* Top sub-caption next to crumb */+.top-crumbs .mono { font-family: var(--mono); }++/* Brand mark monogram used on workflow / integration cards */+.mono-mark {+ width: 36px; height: 36px; border-radius: 8px;+ color: #fff; font-weight: 700; font-size: 13px;+ display: inline-flex; align-items: center; justify-content: center;+ letter-spacing: -.01em; flex-shrink: 0;+}++/* Polished selects — custom caret, more breathing room */+.ap-app select,+.filt-row .filt-grp > select,+.filt-row > .filt-search {+ appearance: none;+ -webkit-appearance: none;+}+.filt-row .filt-grp > select {+ height: 34px;+ padding: 0 34px 0 12px;+ font-size: 13.5px; color: var(--ink); font-weight: 500;+ background-color: #fff;+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");+ background-repeat: no-repeat;+ background-position: right 10px center;+ border: 1px solid var(--line); border-radius: 8px;+ cursor: pointer;+ transition: border-color 120ms, box-shadow 120ms;+}+.filt-row .filt-grp > select:hover { border-color: var(--mute-2); }+.filt-row .filt-grp > select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94,78,190,.12); }+.filt-row .filt-grp > label {+ font-size: 11.5px; color: var(--mute);+ text-transform: uppercase; letter-spacing: .06em; font-weight: 600;+ margin-right: 2px;+}++.filt-row > .filt-search {+ height: 34px;+ padding: 0 14px;+ font-size: 13.5px;+}+.filt-row > .filt-search:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94,78,190,.12); }diff --git a/ui/src/studio/styles/ap-tokens.css b/ui/src/studio/styles/ap-tokens.cssnew file mode 100644index 00000000..ce881afb--- /dev/null+++ b/ui/src/studio/styles/ap-tokens.css@@ -0,0 +1,104 @@+/* AdminPortal — design tokens layered on top of AutoMarketing tokens.css+ - Run-state palette (queued / running / success / failed / skipped / suspended)+ - State pill variants+ - Mono font helper for slugs / IDs+*/++:root {+ --state-queued: #94A3B8;+ --state-running: #42309C;+ --state-success: #10B981;+ --state-failed: #EF4444;+ --state-skipped: #CBD0DA;+ --state-suspended: #F59E0B;+}++.pill.state-queued { background: #EEF1F5; color: #475569; }+.pill.state-running { background: #ECE9F7; color: #332578; }+.pill.state-success { background: #DFF6EC; color: #047857; }+.pill.state-failed { background: #FEE4E4; color: #B91C1C; }+.pill.state-skipped { background: #EEF1F5; color: #6B7280; }+.pill.state-suspended { background: #FEF1D6; color: #92400E; }++/* AdminPortal is English-first; bump density a hair from the Chinese console */+.ap-app, .ap-app body { font-size: 13px; }+.ap-app .mono { font-family: var(--mono); }++/* Tabular nums on numeric cells */+.num { font-variant-numeric: tabular-nums; }++/* Workspace tab strip — used in Workflow detail */+.ws-tabs {+ display: flex; align-items: center; gap: 4px;+ padding: 0 16px;+ background: var(--surface);+ border-bottom: 1px solid var(--line);+ flex-shrink: 0;+}+.ws-tab {+ padding: 10px 12px; font-size: 13px; color: var(--mute);+ border-bottom: 2px solid transparent; cursor: pointer;+ display: inline-flex; align-items: center; gap: 6px;+ white-space: nowrap;+}+.ws-tab:hover { color: var(--ink); }+.ws-tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }++/* Filter row — used on Runs / Audit */+.filt-row {+ display: flex; align-items: center; gap: 10px;+ padding: 10px 14px; flex-wrap: wrap;+}+.filt-row > .filt-search { flex: 1 1 240px; min-width: 200px; max-width: 360px; }+.filt-row .filt-grp { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }+.filt-row .filt-grp > label {+ font-size: 11px; color: var(--mute);+ text-transform: uppercase; letter-spacing: .04em;+}+.filt-row .filt-grp > select, .filt-row > .filt-search {+ height: 30px; padding: 0 10px;+ font-family: inherit; font-size: 12px; color: var(--ink);+ background: #fff; border: 1px solid var(--line); border-radius: 6px;+}+.filt-row .filt-grp > select { padding-right: 22px; min-width: 110px; max-width: 200px; }+.filt-row .filt-spacer { flex: 1 1 auto; min-width: 0; }+.filt-row .filt-chip {+ display: inline-flex; align-items: center; gap: 6px;+ padding: 0 12px; height: 30px;+ font-size: 13px; color: var(--ink-2); font-weight: 500;+ border: 1px solid var(--line); border-radius: 999px;+ background: #fff; cursor: pointer;+ white-space: nowrap;+}+.filt-row .filt-chip:hover { border-color: var(--mute-2); }+.filt-row .filt-chip.active { color: #fff; background: var(--brand); border-color: var(--brand); font-weight: 600; }+.filt-row .filt-chip .dot { width: 6px; height: 6px; border-radius: 99px; }++/* Segmented control (Diagram / List) */+.seg {+ display: inline-flex; align-items: stretch;+ border: 1px solid var(--line); border-radius: 8px; overflow: hidden;+ background: #fff;+}+.seg > * {+ padding: 4px 12px; font-size: 12px; color: var(--mute);+ cursor: pointer; border-right: 1px solid var(--line);+ display: inline-flex; align-items: center; gap: 6px;+}+.seg > *:last-child { border-right: 0; }+.seg > .active { color: var(--brand-ink); background: var(--brand-50); font-weight: 600; }++/* Pane tools (expand / collapse) */+.pane-tools {+ display: inline-flex; align-items: center; gap: 6px;+ flex-shrink: 0;+}+.pane-btn {+ width: 28px; height: 28px;+ display: inline-flex; align-items: center; justify-content: center;+ border: 1px solid var(--line); border-radius: 6px;+ background: #fff; color: var(--mute); cursor: pointer;+ transition: color 120ms, border-color 120ms, background 120ms;+}+.pane-btn:hover { color: var(--brand); border-color: var(--brand); }+.pane-btn.active { color: var(--brand-ink); background: var(--brand-50); border-color: var(--brand); }diff --git a/ui/src/studio/styles/ap-wftoggle.css b/ui/src/studio/styles/ap-wftoggle.cssnew file mode 100644index 00000000..0a7b869c--- /dev/null+++ b/ui/src/studio/styles/ap-wftoggle.css@@ -0,0 +1,49 @@+/* Workflows toggle — segmented pill in the topbar */++.wf-toggle {+ display: inline-flex;+ background: var(--bg);+ border: 1px solid var(--line);+ border-radius: 999px;+ padding: 3px;+ gap: 2px;+}++.wf-toggle-opt {+ display: inline-flex; align-items: center; gap: 7px;+ position: relative;+ padding: 4px 16px;+ height: 32px;+ border-radius: 999px;+ border: 0;+ background: transparent;+ font-family: inherit; font-size: 13.5px; font-weight: 500;+ color: var(--mute);+ cursor: pointer;+ transition: color 120ms, background 120ms;+ white-space: nowrap;+}++.wf-toggle-opt:hover { color: var(--ink); }++.wf-toggle-opt.active {+ background: #fff;+ color: var(--ink);+ font-weight: 600;+ box-shadow: 0 1px 2px rgba(17,24,39,.08), 0 0 0 1px var(--line);+}+.wf-toggle-opt.active svg { color: var(--brand); }++.wf-toggle-num {+ font-size: 12px;+ color: var(--mute);+ font-weight: 500;+}+.wf-toggle-opt.active .wf-toggle-num { color: var(--mute-2); }++.wf-toggle-dot {+ width: 6px; height: 6px;+ border-radius: 99px;+ background: var(--hot);+ margin-left: 2px;+}diff --git a/ui/src/studio/styles/ap-workflow.css b/ui/src/studio/styles/ap-workflow.cssnew file mode 100644index 00000000..049828ed--- /dev/null+++ b/ui/src/studio/styles/ap-workflow.css@@ -0,0 +1,434 @@+/* Workflow editor — React Flow canvas + left palette + right inspector.+ The previous mock-driven styles for absolute-positioned nodes have+ been retired; this rewrite tracks the actual editor.+*/++.wf-editor {+ flex: 1; min-height: 0;+ display: flex;+ background: var(--bg);+}++/* ── Left palette ─────────────────────────────────────────────────── */+.wf-palette {+ width: 248px; flex-shrink: 0;+ display: flex; flex-direction: column;+ background: #fff;+ border-right: 1px solid var(--line);+ min-height: 0;+}+.wf-palette-search {+ display: flex; align-items: center; gap: 8px;+ padding: 10px 12px;+ border-bottom: 1px solid var(--line-soft);+ flex-shrink: 0;+}+.wf-palette-search input {+ flex: 1; min-width: 0;+ border: 0; outline: 0;+ font: inherit; font-size: 12px;+ background: transparent;+}+.wf-palette-list {+ flex: 1; min-height: 0;+ overflow-y: auto;+ padding: 8px 6px;+}+.wf-palette-group { margin-bottom: 10px; }+.wf-palette-group-h {+ font-size: 10px; font-weight: 600; color: var(--mute);+ text-transform: uppercase; letter-spacing: .06em;+ padding: 6px 8px 4px;+}+.wf-palette-item {+ display: flex; align-items: center; gap: 10px;+ width: 100%;+ padding: 7px 8px;+ background: transparent;+ border: 1px solid transparent;+ border-radius: 6px;+ cursor: pointer;+ text-align: left;+ font: inherit; font-size: 12px;+ color: var(--ink);+}+.wf-palette-item:hover { background: var(--surface-2); border-color: var(--line-soft); }+.wf-palette-badge {+ width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;+ display: inline-flex; align-items: center; justify-content: center;+ color: #fff;+}+.wf-palette-name { flex: 1; min-width: 0; }++/* ── Canvas ───────────────────────────────────────────────────────── */+.wf-canvas {+ flex: 1; min-width: 0; min-height: 0;+ position: relative;+ background: #FAFBFD;+}++/* Floating action bar on top of the canvas. No parent container —+ each button is its own free-floating chip, matching the graph+ schema toolbar pattern. */+.wf-canvas-tools {+ position: absolute; top: 12px; left: 50%;+ transform: translateX(-50%);+ z-index: 10;+ display: flex; align-items: center; gap: 6px;+ pointer-events: none;+ font-size: 12px;+}+.wf-canvas-tools > * { pointer-events: auto; }+.wf-slug { font-weight: 600; color: var(--ink); }+.wf-saved-at { font-size: 10px; color: var(--mute); }+.wf-title-block { display: flex; flex-direction: column; gap: 2px; min-width: 260px; }+.wf-title-input {+ font-size: 13px; font-weight: 600; color: var(--ink);+ border: 1px solid transparent; background: transparent;+ padding: 2px 6px; border-radius: 4px; outline: none;+ width: 320px;+}+.wf-title-input:hover { border-color: var(--line); }+.wf-title-input:focus { border-color: var(--brand); background: #fff; }+.wf-title-meta { display: flex; align-items: center; gap: 8px; }+.wf-title-meta .wf-slug { font-size: 10px; color: var(--mute); font-weight: 500; }+.wf-desc-input {+ font-size: 11px; color: var(--mute);+ border: 1px solid transparent; background: transparent;+ padding: 1px 6px; border-radius: 4px; outline: none;+ flex: 1; min-width: 200px;+}+.wf-desc-input:hover { border-color: var(--line); }+.wf-desc-input:focus { border-color: var(--brand); background: #fff; color: var(--ink); }+.wf-run-pill {+ font-size: 10px; font-weight: 600;+ padding: 2px 8px; border-radius: 999px;+ text-transform: uppercase; letter-spacing: .04em;+}+.wf-run-queued { background: #E2E8F0; color: #475569; }+.wf-run-running { background: #DBEAFE; color: #1E40AF; }+.wf-run-succeeded { background: #D1FAE5; color: #047857; }+.wf-run-failed { background: #FEE2E2; color: #B91C1C; }+.wf-run-suspended { background: #FEF3C7; color: #92400E; }+.wf-run-err {+ font-size: 10px; font-weight: 600; color: #B91C1C;+ padding: 2px 6px; border-radius: 4px; background: #FEF2F2;+}++/* Node status overlays — set by the SSE-driven run status effect. */+.wf-node-status-queued { opacity: .7; }++/* Rainbow border for actively running or recently-pulsed nodes.+ *+ * Why both selectors get the same animation: an SSE node_run event for+ * a fast node (chunk, advance_position) may flip running → succeeded+ * within 200ms, so the running-status overlay misses it on a single+ * React render. .wf-node-pulse is applied for ~1.5s after ANY event+ * (running OR succeeded) and triggers the same border so even+ * fast nodes visibly light up. Lesson from healthcare-agent 50a7d21.+ *+ * Why border-width is in longhand here: React dev-mode warns when+ * `border: 0` (shorthand) and per-side overrides coexist on the+ * same element, and our base `.wf-node` uses `border: 1px solid ...`+ * shorthand. Setting *only* `border-color: ...` in the keyframe and+ * leaving width to the base rule avoids the conflict.+ * (Lesson from healthcare-agent 000f197.)+ *+ * Why 1s linear cycle and not 2s: at the 200ms engine poll cadence,+ * a 2s cycle moves the gradient by 10% per node-tick which looks+ * stuck-on-red even though pulses are firing. 1s spans ~20%/tick,+ * giving distinguishable color slices for back-to-back nodes.+ * (Lesson from healthcare-agent 92ee5d6.)+ */+.wf-node-status-running,+.wf-node-pulse {+ animation: wf-rainbow-border 1s linear infinite;+ /* Visual weight comes from a thick solid color ring (4px) plus a+ * soft outer glow (12px) that cycle together. Earlier version used+ * a 1px border-color tween + faint static halo which read as a+ * "vague tint" against the white canvas — user couldn't tell at a+ * glance which node was running. The box-shadow approach also+ * sidesteps the React border-shorthand-vs-override warning that+ * blocked making the actual border-width any larger. */+}+@keyframes wf-rainbow-border {+ 0% { box-shadow: 0 0 0 4px #EF4444, 0 0 12px 2px rgba(239, 68, 68,.55); }+ 17% { box-shadow: 0 0 0 4px #F59E0B, 0 0 12px 2px rgba(245,158, 11,.55); }+ 33% { box-shadow: 0 0 0 4px #EAB308, 0 0 12px 2px rgba(234,179, 8,.55); }+ 50% { box-shadow: 0 0 0 4px #22C55E, 0 0 12px 2px rgba( 34,197, 94,.55); }+ 67% { box-shadow: 0 0 0 4px #06B6D4, 0 0 12px 2px rgba( 6,182,212,.55); }+ 83% { box-shadow: 0 0 0 4px #6366F1, 0 0 12px 2px rgba( 99,102,241,.55); }+ 100% { box-shadow: 0 0 0 4px #EF4444, 0 0 12px 2px rgba(239, 68, 68,.55); }+}+.wf-canvas .react-flow__renderer { background: #FAFBFD; }+.wf-empty {+ position: absolute; left: 50%; top: 40%;+ transform: translate(-50%, -50%);+ text-align: center;+ pointer-events: none;+ color: var(--mute);+ max-width: 360px;+}+.wf-empty-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }+.wf-empty-sub { font-size: 12px; margin-top: 4px; line-height: 1.5; }++/* React Flow control overrides — match our light theme */+.wf-canvas .react-flow__controls {+ box-shadow: var(--shadow-1);+ border: 1px solid var(--line);+ border-radius: 8px;+ overflow: hidden;+}+.wf-canvas .react-flow__controls-button {+ background: #fff;+ border-bottom: 1px solid var(--line-soft);+ color: var(--ink-2);+ width: 26px; height: 26px;+}+.wf-canvas .react-flow__controls-button:hover { background: var(--surface-2); }+.wf-canvas .react-flow__controls-button svg { fill: currentColor; }+.wf-canvas .react-flow__minimap { box-shadow: var(--shadow-1); }+.wf-canvas .react-flow__edge-path { stroke: #94A3B8; }+.wf-canvas .react-flow__edge.selected .react-flow__edge-path,+.wf-canvas .react-flow__edge:focus .react-flow__edge-path {+ stroke: #42309C; stroke-width: 2;+}+.wf-canvas .react-flow__arrowhead { fill: #94A3B8; }+.wf-canvas .react-flow__edge.selected .react-flow__arrowhead { fill: #42309C; }++/* ── Sticky-note annotation ────────────────────────────────────────── */+.wf-note {+ min-width: 180px;+ max-width: 280px;+ padding: 14px 16px;+ background: #FEF6C7;+ border: 1px solid #F2DD83;+ border-radius: 10px;+ box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06);+ color: #5C4A04;+ font-family: var(--ui-font, inherit);+ font-size: 12px;+ line-height: 1.5;+ white-space: pre-wrap;+ word-break: break-word;+}+.wf-note:hover { border-color: #E5C24A; }+.wf-note-selected {+ border-color: #C99707;+ box-shadow: 0 0 0 3px rgba(201,151,7,.18);+}+.wf-note-placeholder { color: #9A8740; font-style: italic; }++/* ── Node ──────────────────────────────────────────────────────────── */+.wf-node {+ display: flex; align-items: center; gap: 10px;+ min-width: 180px;+ padding: 10px 12px;+ background: #fff;+ border: 1px solid var(--line);+ border-radius: 10px;+ box-shadow: var(--shadow-1);+ font-family: var(--ui-font, inherit);+}+.wf-node:hover { border-color: var(--brand); }+.wf-node-selected {+ border-color: var(--brand);+ box-shadow: 0 0 0 3px rgba(94,78,190,.15);+}+.wf-node-badge {+ width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;+ display: inline-flex; align-items: center; justify-content: center;+ color: #fff;+}+.wf-node-body { flex: 1; min-width: 0; }+.wf-node-label { font-size: 12px; font-weight: 600; color: var(--ink); }+.wf-node-sub { font-size: 10px; color: var(--mute); margin-top: 1px; line-height: 1.35;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }++/* Agent nodes that carry tools expand vertically: a head row (the+ usual badge + label) plus a stack of inner pill-shaped sub-cards+ listing each tool. The whole thing is still one React Flow node so+ edges anchor cleanly at the top/bottom of the agent block. */+.wf-node-agent {+ flex-direction: column;+ align-items: stretch;+ gap: 8px;+ padding: 10px 12px 8px;+ min-width: 220px;+}+.wf-node-head {+ display: flex; align-items: center; gap: 10px;+}+.wf-node-tools {+ display: flex; flex-direction: column; gap: 4px;+ padding-left: 36px;+}+.wf-node-tool {+ display: flex; align-items: center; gap: 6px;+ padding: 4px 8px;+ background: var(--brand-soft, #F4F1FF);+ border: 1px solid rgba(94,78,190,.18);+ border-radius: 6px;+ font-size: 10px;+}+.wf-node-tool-dot {+ width: 5px; height: 5px; border-radius: 50%;+ background: var(--brand, #42309C);+ flex-shrink: 0;+}+.wf-node-tool-name { color: var(--ink); font-weight: 600; }+.wf-node-tool-slug {+ color: var(--mute); font-size: 9px;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;+ min-width: 0; flex: 1;+}+/* Handles stay functional (React Flow needs them to anchor edges) but+ are visually hidden. Connections drag from any edge of the node. */+.wf-handle {+ width: 10px !important; height: 10px !important;+ background: transparent !important;+ border: 0 !important;+ opacity: 0;+}+.wf-handle:hover { opacity: 0.5; background: var(--brand-soft) !important; border: 1.5px solid var(--brand) !important; }++/* ── Right inspector ──────────────────────────────────────────────── */+.wf-inspector {+ width: 320px; flex-shrink: 0;+ display: flex; flex-direction: column;+ background: #fff;+ border-left: 1px solid var(--line);+ min-height: 0;+}+.wf-inspector-h {+ display: flex; align-items: center; gap: 10px;+ padding: 12px 14px;+ border-bottom: 1px solid var(--line-soft);+}+.wf-inspector-badge {+ width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;+ display: inline-flex; align-items: center; justify-content: center;+ color: #fff;+}+.wf-inspector-b {+ flex: 1; min-height: 0; overflow-y: auto;+ padding: 14px;+}+.wf-inspector-f {+ padding: 10px 14px;+ border-top: 1px solid var(--line-soft);+ background: var(--surface-2);+}++/* Segmented toggle (used by the edge inspector for forward/back) */+.wf-seg {+ display: grid; grid-template-columns: 1fr 1fr; gap: 0;+ border: 1px solid var(--line); border-radius: 8px;+ overflow: hidden;+ background: var(--surface-2);+}+.wf-seg-btn {+ appearance: none; background: transparent; border: 0;+ padding: 8px 10px; cursor: pointer;+ display: flex; flex-direction: column; align-items: flex-start; gap: 1px;+ font-family: inherit; color: var(--mute);+ border-right: 1px solid var(--line);+}+.wf-seg-btn:last-child { border-right: 0; }+.wf-seg-btn:hover { background: rgba(94,78,190,.06); color: var(--ink); }+.wf-seg-active {+ background: #fff; color: var(--brand);+ box-shadow: inset 0 -2px 0 0 var(--brand);+}+.wf-seg-active .wf-seg-d { color: var(--mute); }+.wf-seg-l { font-size: 12px; font-weight: 600; }+.wf-seg-d { font-size: 10px; color: var(--mute); }++/* KV / list editors inside the inspector */+.wf-kv-list { display: flex; flex-direction: column; gap: 4px; }+.wf-kv-row {+ display: flex; align-items: center; gap: 6px;+ font-size: 11px;+}+.wf-kv-eq { color: var(--mute); font-weight: 600; }+.wf-kv-x {+ width: 22px; height: 22px;+ display: inline-flex; align-items: center; justify-content: center;+ border: 1px solid transparent; border-radius: 4px;+ background: transparent; color: var(--mute);+ cursor: pointer; font-size: 14px; line-height: 1;+}+.wf-kv-x:hover { color: #B91C1C; border-color: #FECACA; background: #FEF2F2; }+.wf-kv-add { align-self: flex-start; margin-top: 2px; }+.wf-cond-row { display: flex; align-items: center; gap: 6px; }++/* Runs rail */+.wf-rail {+ width: 320px; flex-shrink: 0;+ display: flex; flex-direction: column;+ background: #fff;+ border-left: 1px solid var(--line);+ min-height: 0;+}+.wf-rail-collapsed { width: 32px; align-items: center; padding-top: 8px; }+.wf-rail-h {+ display: flex; align-items: center; gap: 8px;+ padding: 10px 12px;+ border-bottom: 1px solid var(--line-soft);+}+.wf-rail-list {+ flex: 1; min-height: 0;+ overflow-y: auto;+ padding: 6px 4px;+}+.wf-rail-item {+ display: flex; align-items: center; gap: 8px;+ width: 100%; padding: 7px 10px;+ background: transparent; border: 1px solid transparent;+ border-radius: 6px; cursor: pointer;+ font-size: 11px;+ text-align: left;+}+.wf-rail-item:hover { background: var(--surface-2); }+.wf-rail-item.active { background: var(--brand-soft); border-color: var(--brand); }+.wf-rail-when {+ color: var(--ink); font-weight: 500;+ font-size: 11px;+ white-space: nowrap;+}+.wf-rail-badge {+ font-size: 9px; font-weight: 600;+ padding: 2px 7px; border-radius: 999px;+ text-transform: uppercase; letter-spacing: .04em;+ background: #E2E8F0; color: #475569;+ flex-shrink: 0;+}+.wf-rail-badge.wf-run-queued { background: #E2E8F0; color: #475569; }+.wf-rail-badge.wf-run-running { background: #DBEAFE; color: #1E40AF; animation: wf-running-pulse 1.2s ease-in-out infinite; }+.wf-rail-badge.wf-run-succeeded { background: #D1FAE5; color: #047857; }+.wf-rail-badge.wf-run-failed { background: #FEE2E2; color: #B91C1C; }+.wf-rail-badge.wf-run-suspended { background: #FEF3C7; color: #92400E; }+.wf-rail-dur { font-size: 10px; }++/* Run-inputs modal — opened by the Run button when the workflow+ declares a non-empty inputs schema. */+.wf-run-modal-bg {+ position: fixed; inset: 0;+ background: rgba(15, 23, 42, .45);+ display: flex; align-items: center; justify-content: center;+ z-index: 1000;+}+.wf-run-modal {+ width: 480px; max-height: 80vh; display: flex; flex-direction: column;+ background: #fff; border-radius: 10px; box-shadow: var(--shadow-2, 0 16px 40px rgba(15,23,42,.18));+ overflow: hidden;+}+.wf-run-modal-h {+ display: flex; align-items: center; gap: 8px;+ padding: 14px 16px; border-bottom: 1px solid var(--line);+}+.wf-run-modal-b { padding: 16px; overflow: auto; }+.wf-run-modal-f {+ display: flex; gap: 8px; justify-content: flex-end;+ padding: 12px 16px; border-top: 1px solid var(--line);+}diff --git a/ui/src/studio/styles/ap-workflows.css b/ui/src/studio/styles/ap-workflows.cssnew file mode 100644index 00000000..18d4b487--- /dev/null+++ b/ui/src/studio/styles/ap-workflows.css@@ -0,0 +1,62 @@+/* Workflows landing styles */++.wfl-grid {+ display: grid; gap: 14px;+ grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));+}++.wfl-card {+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ padding: 18px;+ display: flex; flex-direction: column; gap: 14px;+ cursor: pointer;+ transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;+}+.wfl-card:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-1px); }++.wfl-c-h { display: flex; align-items: flex-start; gap: 12px; }+.wfl-c-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -.005em; }+.wfl-c-sub { font-size: 12.5px; color: var(--mute); margin-top: 5px; line-height: 1.55; }++.wfl-c-spark {+ height: 28px; border-radius: 6px;+ background: var(--brand-50);+ overflow: hidden;+}++.wfl-c-meta {+ display: flex; flex-wrap: wrap; align-items: center; gap: 14px;+ font-size: 12.5px; color: var(--ink-2);+ padding-top: 12px; border-top: 1px dashed var(--line-soft);+}+.wfl-c-meta b { font-weight: 600; }+.wfl-c-meta .dot { width: 7px; height: 7px; border-radius: 99px; display: inline-block; margin-right: 5px; vertical-align: middle; }++/* New workflow placeholder card */+.wfl-new {+ border-style: dashed;+ background: transparent;+ align-items: center; justify-content: center; text-align: center;+ gap: 8px;+ color: var(--mute);+}+.wfl-new:hover { background: var(--brand-50); color: var(--brand-ink); }+.wfl-new .mono-mark { font-size: 20px; width: 40px; height: 40px; }+.wfl-new-t { font-size: 14px; font-weight: 600; }+.wfl-new-s { font-size: 12px; color: var(--mute-2); line-height: 1.5; }++/* Approvals page */+.appr-grid {+ display: grid;+ grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));+ gap: 12px;+ margin-top: 14px;+}+.appr-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; }+.appr-h { display: flex; align-items: center; gap: 6px; font-size: 12px; }+.appr-slug { font-weight: 600; }+.appr-sep { color: var(--mute); }+.appr-node { color: var(--ink-2); }+.appr-draft .ap-pre { max-height: 200px; overflow-y: auto; }+.appr-f { display: flex; align-items: center; gap: 6px; padding-top: 4px; border-top: 1px solid var(--line-soft); margin: 4px -14px -14px -14px; padding: 10px 14px 0; }+.appr-f .btn { padding: 4px 10px; }diff --git a/ui/src/studio/styles/app.css b/ui/src/studio/styles/app.cssnew file mode 100644index 00000000..737b902d--- /dev/null+++ b/ui/src/studio/styles/app.css@@ -0,0 +1,78 @@+/* AdminPortal · app-level typography + spacing.+ *+ * Why this layer exists: the shared design tokens are tuned for the+ * Chinese user-facing console (PingFang first, 13 px base, denser+ * cadence). AdminPortal is English-only and wants the substance of+ * Linear / Vercel / Stripe — a 14 px base, Western-first font stack,+ * and slightly more generous breathing room. Everything here is+ * scoped to AdminPortal; the shared CSS stays untouched. */++html, body, #root { height: 100%; margin: 0; }+body {+ background: var(--bg);+ font-family:+ -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", "Segoe UI",+ Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;+ color: var(--ink);+ font-size: 14px;+ line-height: 1.45;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+}++/* ── Sidebar ───────────────────────────────────────────────────────────── */+.side-brand-1 { font-size: 15px; font-weight: 600; }+.side-brand-2 { font-size: 11.5px; margin-top: 2px; }++.side-link { font-size: 13.5px; height: 36px; }+.side-link .lbl { font-weight: 500; letter-spacing: -.005em; }+.side-link.active .lbl { font-weight: 600; }++.side-badge { font-size: 10.5px; min-width: 18px; height: 18px; }++.side-foot { padding: 14px; font-size: 12.5px; }++/* ── Topbar ────────────────────────────────────────────────────────────── */+.top { padding: 12px 24px; min-height: 56px; }+.top-crumbs { font-size: 14px; }+.crumb { font-size: 14px; }+.crumb.active { font-weight: 600; letter-spacing: -.005em; }++/* Editable workflow breadcrumb — click to rename in place. */+.wf-crumb-name {+ cursor: text;+ padding: 2px 6px;+ margin: -2px -6px;+ border-radius: 4px;+ border: 1px solid transparent;+ transition: background .12s ease, border-color .12s ease;+}+.wf-crumb-name:hover { background: var(--brand-soft, #ede9fe); border-color: var(--line); }+.wf-crumb-edit { display: inline-flex; align-items: center; gap: 6px; }+.wf-crumb-input {+ font-size: 14px; font-weight: 600; letter-spacing: -.005em;+ color: var(--ink); background: #fff;+ border: 1px solid var(--brand, #42309C); border-radius: 4px;+ padding: 2px 6px; outline: none;+ min-width: 240px;+}+.wf-crumb-err {+ display: inline-flex; align-items: center; justify-content: center;+ width: 16px; height: 16px; border-radius: 50%;+ background: #FEE2E2; color: #B91C1C; font-weight: 700; font-size: 11px;+}++/* ── Body / shell ─────────────────────────────────────────────────────── */+.shell-body { padding: 20px 24px 24px; }+.shell-body.ap-shell-full { padding: 0; }++/* ── Button polish — slightly more substantial than the shared baseline ─ */+.btn { font-size: 13.5px; height: 34px; padding: 0 14px; gap: 6px; }+.btn.sm { font-size: 12.5px; height: 28px; padding: 0 10px; }+.btn.lg { font-size: 14px; height: 40px; padding: 0 18px; }++/* ── Pills sit a hair larger so they read at body weight ───────────────── */+.pill { font-size: 12px; height: 22px; padding: 0 9px; }++/* ── Cards — give them more presence ─────────────────────────────────── */+.card-h h3 { font-size: 14.5px; }diff --git a/ui/src/studio/styles/calendar.css b/ui/src/studio/styles/calendar.cssnew file mode 100644index 00000000..5c308864--- /dev/null+++ b/ui/src/studio/styles/calendar.css@@ -0,0 +1,214 @@+/* Calendar app + embedded Calendar resource. Iris design system (tokens.css).+ Layout is flex-based so day/week/month all share one column model regardless+ of how many day columns are visible. Event color comes in via --evt inline. */++:root { --cal-gutter: 56px; --cal-wf: #0EA5E9; }++.cal-root { height: 100%; display: flex; flex-direction: column; min-height: 0; background: #fff; }+.cal-root.is-embedded { height: 640px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-1); }++.cal-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }++/* ── Toolbar ─────────────────────────────────────────────────────────────── */+.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }+.cal-tb-left { display: flex; align-items: center; gap: 8px; }+.cal-nav { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: var(--r-input); color: var(--ink-2); cursor: pointer; }+.cal-nav:hover { background: var(--brand-50); border-color: var(--brand-soft); color: var(--brand); }+.cal-title { font-size: 16px; font-weight: 650; color: var(--ink); margin-left: 4px; }+.cal-viewswitch { display: inline-flex; background: var(--line-soft); border-radius: var(--r-input); padding: 2px; }+.cal-vbtn { height: 26px; padding: 0 12px; border: 0; background: transparent; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--mute); cursor: pointer; }+.cal-vbtn.on { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }++/* ── Day / week time grid ────────────────────────────────────────────────── */+.cal-grid { flex: 1; display: flex; flex-direction: column; min-height: 0; }+/* All three rows reserve the scrollbar gutter so their day columns line up+ whether the platform uses classic or overlay scrollbars. */+.cal-head, .cal-allday { display: flex; flex-shrink: 0; border-bottom: 1px solid var(--line); overflow: hidden; scrollbar-gutter: stable; }+.cal-gutter { width: var(--cal-gutter); flex-shrink: 0; }+.cal-tz { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: 10px; color: var(--mute-2); text-transform: uppercase; letter-spacing: .04em; }+.cal-dhead { flex: 1; text-align: center; padding: 8px 4px; border-left: 1px solid var(--line-soft); }+.cal-dh-wd { font-size: 11px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .03em; }+.cal-dh-num { font-size: 18px; font-weight: 650; color: var(--ink-2); line-height: 1.2; margin-top: 2px; }+.cal-dhead.is-today .cal-dh-wd { color: var(--brand); }+.cal-dhead.is-today .cal-dh-num { color: #fff; background: var(--brand); width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }++.cal-allday-lbl { display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font-size: 10px; color: var(--mute-2); text-transform: uppercase; letter-spacing: .03em; }+.cal-allday-cell { flex: 1; min-height: 26px; padding: 3px 4px; border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 2px; cursor: pointer; }++/* No scrollbar-gutter: it reserves space on the body only (even with macOS overlay+ scrollbars), desyncing the all-day row / header from the scrolling grid below. */+.cal-body { flex: 1; display: flex; align-items: flex-start; overflow-y: auto; overflow-x: hidden; position: relative; scrollbar-gutter: stable; }+.cal-hours { display: flex; flex-direction: column; flex-shrink: 0; }+.cal-hour { position: relative; flex-shrink: 0; } /* must NOT shrink, or labels desync from the day columns */+.cal-hour span { position: absolute; top: -7px; right: 8px; font-size: 10px; color: var(--mute-2); }+.cal-col { flex: 1; position: relative; border-left: 1px solid var(--line-soft); }+.cal-hline { border-top: 1px solid var(--line-soft); box-sizing: border-box; flex-shrink: 0; }+/* Drag cursors by mode (no '+' cell cursor at rest). */+.cal-grid.is-dragging { user-select: none; }+.cal-grid.is-create, .cal-grid.is-resize { cursor: ns-resize; }+.cal-grid.is-move, .cal-grid.is-move .cal-evt { cursor: grabbing !important; }+/* Drag-to-select range preview */+.cal-selbox { position: absolute; left: 2px; right: 2px; background: color-mix(in srgb, var(--brand) 18%, #fff); border: 1px solid var(--brand); border-radius: 5px; z-index: 6; pointer-events: none; }+.cal-selbox-t { position: absolute; top: 2px; left: 6px; font-size: 10px; font-weight: 600; color: var(--brand-ink); }+.cal-now { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid #EF4444; z-index: 5; pointer-events: none; }+.cal-now::before { content: ''; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; border-radius: 999px; background: #EF4444; }++/* ── Event chip ──────────────────────────────────────────────────────────── */+.cal-evt { --evt: var(--brand); display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; overflow: hidden; border: 0; cursor: pointer;+ background: color-mix(in srgb, var(--evt) 14%, #fff); color: color-mix(in srgb, var(--evt) 72%, #111); border-left: 3px solid var(--evt);+ border-radius: 5px; padding: 2px 6px; font-size: 12px; line-height: 1.25; box-sizing: border-box; }+.cal-evt:hover { background: color-mix(in srgb, var(--evt) 22%, #fff); }+.cal-evt.is-compact { padding: 1px 6px; font-size: 11px; }+.cal-evt-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }+.cal-evt-time { font-size: 10px; opacity: .8; flex-shrink: 0; }+/* Workflow tasks: dashed border, tinted by their RUN STATUS color (--evt set per+ event by the backend: green=succeeded, red=failed, amber=running, slate=scheduled). */+.cal-evt.is-wf { background: color-mix(in srgb, var(--evt) 13%, #fff); color: color-mix(in srgb, var(--evt) 72%, #111); border-left-style: dashed; }+.cal-evt-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--evt); flex-shrink: 0; }+/* Draggable timed events: grab to move, ns-resize on the bottom grip. */+.cal-body .cal-evt { cursor: grab; }+.cal-body .cal-evt.is-wf { cursor: pointer; } /* workflow tasks are read-only */+.cal-evt.is-past { opacity: .45; } /* past events fade, like Google */+/* A past workflow run should read EXACTLY like a normal past calendar item: solid left+ border + the SAME faded .45 opacity (inherited from .is-past). Don't force full+ opacity — at 1.0 it looked over-saturated/high-contrast next to the faded native+ events. Future scheduled runs keep the dashed look (is-wf without is-past). */+.cal-evt.is-wf.is-past {+ background: color-mix(in srgb, var(--evt) 14%, #fff);+ border-left-style: solid;+}+.cal-evt-resize { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; cursor: ns-resize; }+.cal-evt.is-ghost { position: absolute; left: 2px; right: 2px; z-index: 7; box-shadow: var(--shadow-2); opacity: .96; pointer-events: none; }++/* ── Month grid ──────────────────────────────────────────────────────────── */+.cal-month { flex: 1; display: flex; flex-direction: column; min-height: 0; }+.cal-month-head { display: flex; border-bottom: 1px solid var(--line); flex-shrink: 0; }+.cal-mh { flex: 1; text-align: right; padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .03em; }+.cal-month-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }+.cal-week { flex: 1; display: flex; min-height: 0; border-bottom: 1px solid var(--line-soft); }+.cal-week:last-child { border-bottom: 0; }+.cal-mcell { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 4px 5px; border-left: 1px solid var(--line-soft); overflow: hidden; cursor: pointer; }+.cal-mcell:first-child { border-left: 0; }+.cal-mcell:hover { background: var(--brand-50); }+.cal-mcell.is-dim { background: #FAFAFC; }+.cal-mcell.is-dim .cal-mnum { color: var(--mute-2); }+.cal-mnum { align-self: flex-end; font-size: 12px; font-weight: 600; color: var(--ink-2); width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }+.cal-mcell.is-today .cal-mnum { background: var(--brand); color: #fff; border-radius: 999px; }+.cal-mevts { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }+.cal-more { font-size: 11px; color: var(--mute); font-weight: 600; padding-left: 6px; }++/* ── Event popover ───────────────────────────────────────────────────────── */+.cal-pop-back { position: fixed; inset: 0; background: rgba(17,24,39,.28); display: flex; align-items: center; justify-content: center; z-index: 1000; }+.cal-pop { width: 420px; max-width: calc(100vw - 32px); max-height: calc(100vh - 64px); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-2); overflow: hidden; }+.cal-pop-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }+.cal-pop-badge { width: 10px; height: 10px; border-radius: 3px; background: var(--evt, var(--brand)); }+.cal-pop-kind { font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .03em; flex: 1; }+.cal-pop-x { width: 26px; height: 26px; border: 0; background: transparent; border-radius: 6px; font-size: 18px; line-height: 1; color: var(--mute); cursor: pointer; }+.cal-pop-x:hover { background: var(--line-soft); color: var(--ink); }+.cal-pop-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }+.cal-pop-title-ro { font-size: 17px; font-weight: 650; color: var(--ink); }+.cal-pop-titlelink { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; cursor: pointer; }+.cal-pop-titlelink:hover { color: var(--brand); }+.cal-pop-titlelink svg { opacity: .6; flex-shrink: 0; }+/* Grouped-run list inside the workflow popover */+.cal-runs { display: flex; flex-direction: column; max-height: 240px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: var(--r-input); }+.cal-run-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }+.cal-run-row:last-child { border-bottom: 0; }+.cal-run-time { color: var(--ink-2); }+.cal-run-st { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: color-mix(in srgb, var(--evt) 78%, #111); }+.cal-run-st::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--evt); }+.cal-run-view { font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none; padding: 2px 8px; border-radius: 6px; }+.cal-run-view:hover { background: var(--brand-50); }+.cal-run-view.is-dim { color: var(--mute-2); pointer-events: none; }+/* Run-count badge on a grouped workflow chip */+.cal-evt-count { flex-shrink: 0; font-size: 10px; font-weight: 700; background: color-mix(in srgb, var(--evt) 26%, #fff); color: color-mix(in srgb, var(--evt) 80%, #111); border-radius: 999px; padding: 0 6px; min-width: 16px; text-align: center; }+.cal-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; margin-top: 3px;+ color: color-mix(in srgb, var(--evt) 78%, #111); background: color-mix(in srgb, var(--evt) 15%, #fff); }+.cal-st::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--evt); }+.cal-pop-ro-note { font-size: 12px; color: var(--mute); padding-left: 25px; }+.cal-pop-row { display: flex; align-items: flex-start; gap: 10px; color: var(--mute); }+.cal-pop-row > svg { margin-top: 7px; flex-shrink: 0; }+.cal-pop-row span:not([class]) { padding-top: 5px; color: var(--ink-2); font-size: 13px; }+.cal-in { width: 100%; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-input); font-size: 13px; color: var(--ink); background: #fff; box-sizing: border-box; }+.cal-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }+.cal-pop-title { height: 38px; font-size: 16px; font-weight: 600; }+.cal-pop-times { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }+.cal-pop-times .cal-in { width: auto; flex: 1; min-width: 130px; }+.cal-pop-times > span { color: var(--mute-2); }+.cal-pop-allday { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding-left: 25px; cursor: pointer; }+.cal-pop-people { align-items: flex-start; }+.cal-pop-pcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }+.cal-pop-plist { display: flex; flex-direction: column; gap: 2px; max-height: 168px; overflow-y: auto; }+.cal-pop-prow { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }+.cal-pop-prow:hover { background: var(--brand-50); }+.cal-pop-pname { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; min-width: 0; }+/* AI-agent tag uses the shared .ai-tag (page.css) */+.cal-ta { height: auto; padding: 7px 10px; resize: vertical; font-family: inherit; line-height: 1.5; }+.cal-pop-colors { align-items: center; gap: 8px; }+.cal-swatch { width: 20px; height: 20px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }+.cal-swatch.on { box-shadow: 0 0 0 2px var(--brand); }+.cal-pop-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid var(--line-soft); }+.cal-pop-foot-r { display: flex; gap: 8px; }+.cal-del { color: #B91C1C; border-color: #FECACA; }+.cal-del:hover { background: #FEF2F2; }++/* ── Sidebar (dock app left rail) — sits on the DARK app sidebar (--sidebar-2),+ so text/controls use light-on-dark colors, not the light-theme ink tokens. ── */+.cal-side { display: flex; flex-direction: column; min-height: 0; padding: 12px; gap: 14px; --cal-fg: #E7E9F2; --cal-hover: rgba(255,255,255,.07); }+/* Custom checkbox — the native white box looks harsh on the dark rail. */+.cal-side input[type=checkbox] {+ appearance: none; -webkit-appearance: none; width: 15px; height: 15px; flex-shrink: 0;+ border: 1.5px solid rgba(255,255,255,.28); border-radius: 4px; background: transparent;+ cursor: pointer; position: relative; margin: 0;+}+.cal-side input[type=checkbox]:checked { background: var(--brand); border-color: var(--brand); }+.cal-side input[type=checkbox]:checked::after {+ content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;+ border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);+}+.cal-side-head { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }+.cal-side-title { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.01em; padding: 2px 2px 0; }+.cal-create { width: 100%; height: 38px; justify-content: center; gap: 8px; font-size: 14px; }+.cal-mini { flex-shrink: 0; }+.cal-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }+.cal-mini-title { font-size: 13px; font-weight: 650; color: var(--cal-fg); }+.cal-mini-nav { display: flex; gap: 2px; }+.cal-mini-nav button { width: 24px; height: 24px; border: 0; background: transparent; border-radius: 6px; color: var(--sidebar-mute); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }+.cal-mini-nav button:hover { background: var(--cal-hover); color: var(--cal-fg); }+.cal-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }+.cal-mini-wd { text-align: center; font-size: 10px; color: var(--sidebar-mute); font-weight: 600; padding-bottom: 2px; }+.cal-mini-day { aspect-ratio: 1; border: 0; background: transparent; border-radius: 999px; font-size: 11px; color: #C7CBDA; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }+.cal-mini-day:hover { background: var(--cal-hover); }+.cal-mini-day.is-dim { color: #5B6178; }+.cal-mini-day.is-today { color: var(--sidebar-active); font-weight: 700; }+.cal-mini-day.is-sel { background: var(--brand); color: #fff; font-weight: 700; }++.cal-side-views { display: flex; background: rgba(0,0,0,.25); border-radius: var(--r-input); padding: 2px; flex-shrink: 0; }+.cal-side-vbtn { flex: 1; height: 26px; border: 0; background: transparent; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--sidebar-mute); cursor: pointer; }+.cal-side-vbtn:hover { color: var(--cal-fg); }+.cal-side-vbtn.on { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }++.cal-side-sec { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }+.cal-side-cap { font-size: 11px; font-weight: 700; color: var(--sidebar-mute); text-transform: uppercase; letter-spacing: .04em; padding: 0 2px 2px; }+.cal-cal-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--cal-fg); }+.cal-cal-row:hover { background: var(--cal-hover); }+.cal-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }+.cal-cal-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.cal-cal-tag { color: var(--cal-wf); flex-shrink: 0; }++.cal-side-people { flex: 1; min-height: 0; }+.cal-side-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 32px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.06); border-radius: 9px; color: var(--sidebar-mute); margin-bottom: 6px; }+.cal-side-search:focus-within { border-color: rgba(183,172,255,.55); background: rgba(255,255,255,.09); }+.cal-side-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13px; color: var(--cal-fg); }+.cal-side-search input::placeholder { color: var(--sidebar-mute); }+.cal-people-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }+.cal-people-list::-webkit-scrollbar { width: 8px; }+.cal-people-list::-webkit-scrollbar-track { background: transparent; }+.cal-people-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 4px; }+.cal-people-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }+.cal-people-empty { font-size: 12px; color: var(--sidebar-mute); padding: 8px 6px; }+.cal-person { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--cal-fg); }+.cal-person:hover { background: var(--cal-hover); }+.cal-person.on { background: var(--cal-hover); }+.cal-person-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.cal-person input { flex-shrink: 0; }diff --git a/ui/src/studio/styles/chat.css b/ui/src/studio/styles/chat.cssnew file mode 100644index 00000000..d4647e31--- /dev/null+++ b/ui/src/studio/styles/chat.css@@ -0,0 +1,485 @@+/* Chat app — Slack/Lark layout. Left = sectioned conversation list (ChatSidebar,+ a .side.app-side). Center = thread + composer (ChatPage inside .shell-main). */++/* ── Sidebar ─────────────────────────────────────────────────────────────── */+.ch-side { background: var(--sidebar-2); }+.ch-head {+ display: flex; align-items: center; justify-content: space-between;+ padding: 14px 14px 8px; flex-shrink: 0;+}+.ch-head-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; }+.ch-new-wrap { position: relative; }+.ch-new {+ width: 30px; height: 30px; border-radius: 7px; border: none; cursor: pointer;+ background: rgba(255,255,255,.08); color: #C7CCDA;+ display: inline-flex; align-items: center; justify-content: center;+}+.ch-new:hover { background: rgba(255,255,255,.16); color: #fff; }+.ch-menu {+ position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 180px;+ background: #fff; border: 1px solid var(--line); border-radius: 10px;+ box-shadow: 0 16px 40px -12px rgba(17,24,39,.4); padding: 5px;+}+.ch-menu-item {+ display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px;+ border: 0; background: none; border-radius: 7px; cursor: pointer; font-family: inherit;+ font-size: 13px; color: var(--ink-2); text-align: left;+}+.ch-menu-item:hover { background: var(--line-soft); color: var(--ink); }+.ch-menu-item svg { color: var(--mute); }++.ch-search {+ display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; height: 32px; padding: 0 10px;+ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);+ border-radius: 9px; color: var(--sidebar-mute); flex-shrink: 0;+}+.ch-search:focus-within { border-color: rgba(183,172,255,.55); background: rgba(255,255,255,.09); }+.ch-search-input {+ flex: 1; min-width: 0; border: 0; background: none; outline: none;+ color: #E5E7EB; font-size: 13px; font-family: inherit;+}+.ch-search-input::placeholder { color: var(--sidebar-mute); }+.ch-search-clear { border: 0; background: none; color: var(--sidebar-mute); cursor: pointer; display: inline-flex; }+.ch-search-clear:hover { color: #fff; }++.ch-list {+ flex: 1; overflow: auto; padding: 4px 8px 14px; min-height: 0;+ /* match the Spaces tree scrollbar: thin + subtle, not a bright gutter */+ scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.45) transparent;+}+.ch-list::-webkit-scrollbar { width: 8px; }+.ch-list::-webkit-scrollbar-track { background: transparent; }+.ch-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,.45); border-radius: 4px; }+.ch-list::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.6); }+.ch-empty { padding: 16px; color: var(--sidebar-mute); font-size: 12.5px; }++/* Loading skeleton — shimmer placeholders that mirror the section header + rows so+ the list never flashes the empty state before conversations/teammates arrive. */+.ch-skel-group { margin-bottom: 6px; }+.ch-skel-h { display: block; height: 9px; width: 64px; margin: 12px 8px 8px; border-radius: 4px; }+.ch-skel-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; }+.ch-skel-av { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }+.ch-skel-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }+.ch-skel-line { height: 9px; border-radius: 5px; }+.ch-skel-h, .ch-skel-av, .ch-skel-line {+ background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.13) 37%, rgba(255,255,255,.05) 63%);+ background-size: 400% 100%;+ animation: ch-shimmer 1.4s ease-in-out infinite;+}+@keyframes ch-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }+@media (prefers-reduced-motion: reduce) { .ch-skel-h, .ch-skel-av, .ch-skel-line { animation: none; } }+.ch-section { margin-bottom: 6px; }+.ch-section-h {+ font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;+ color: var(--sidebar-mute); padding: 10px 8px 4px;+}+.ch-row {+ display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;+ padding: 7px 8px; border: 0; background: none; border-radius: 8px; cursor: pointer;+ color: #C7CCDA; font-family: inherit;+}+.ch-row:hover { background: rgba(255,255,255,.05); }+.ch-row.active { background: rgba(94,78,190,.22); }+.ch-row.active .ch-row-title { color: #fff; }+.ch-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }+.ch-row-top { display: flex; align-items: baseline; gap: 6px; }+.ch-row-title {+ flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: #E5E7EB;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;+ display: flex; align-items: center; gap: 4px;+}+.ch-hash { color: var(--sidebar-mute); font-weight: 700; }+.ch-row-time { font-size: 10.5px; color: var(--sidebar-mute); flex-shrink: 0; }+.ch-row-bottom { display: flex; align-items: center; gap: 8px; }+.ch-row-prev { flex: 1; min-width: 0; font-size: 12px; color: var(--sidebar-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+/* Unread: brighten the row + a count pill (Slack style). */+.ch-row.unread .ch-row-title { color: #fff; font-weight: 700; }+.ch-row.unread .ch-row-prev { color: #C7CCDA; }+.ch-unread {+ flex-shrink: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;+ background: var(--brand, #42309C); color: #fff; font-size: 11px; font-weight: 700;+ line-height: 18px; text-align: center;+}++/* Dock unread badge (Chat app icon). */+.os-app-ic { position: relative; }+.os-app-badge {+ position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;+ box-sizing: border-box;+ display: inline-flex; align-items: center; justify-content: center;+ border-radius: 9px; background: #EF4444; color: #fff; font-size: 10.5px; font-weight: 700;+ line-height: 1; border: 2px solid var(--dock-bg, #1B1530);+ box-shadow: 0 0 0 .5px rgba(0,0,0,.3);+}+/* AI-agent tag is the shared .ai-tag (page.css) — single source of truth across+ chat / tasks / calendar / org. */++/* Avatars + channel badge */+.ch-av-wrap { position: relative; display: inline-flex; flex-shrink: 0; }+.ch-av {+ border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff;+ font-size: 12px; font-weight: 600;+}+.ch-av.bot { background: #0E9488; }+.ch-badge {+ position: absolute; right: -3px; bottom: -3px; min-width: 15px; height: 15px; padding: 0 3px;+ border-radius: 5px; color: #fff; font-size: 8px; font-weight: 700; line-height: 15px;+ text-align: center; border: 2px solid var(--sidebar-2); box-shadow: 0 0 0 .5px rgba(0,0,0,.2);+}++/* ── Thread (center) ─────────────────────────────────────────────────────── */+.ch-blank {+ flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;+ gap: 8px; color: var(--mute); text-align: center;+}+.ch-blank svg { color: var(--line); }+.ch-blank h2 { font-size: 17px; color: var(--ink); margin-top: 6px; }+.ch-blank p { font-size: 13px; color: var(--mute); }++.ch-agent-chip {+ display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;+ background: var(--brand-soft, #ECE9F7); color: var(--brand-ink, #332578); font-size: 12px; font-weight: 600;+}+/* the agent "AI Agent" pill is the shared .ai-tag; .ch-agent-chip .ai-tag in page.css+ makes it solid so it reads on the soft chip. */++.ch-extbar {+ display: flex; align-items: center; gap: 8px; flex-shrink: 0;+ padding: 8px 24px; background: #FFFBEB; color: #92400E; font-size: 12.5px;+ border-bottom: 1px solid #FDE68A;+}+.ch-extbar-badge {+ min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; color: #fff;+ font-size: 9px; font-weight: 700; line-height: 18px; text-align: center;+}++/* ── Center split: timeline column + optional thread pane ─────────────────── */+/* The message surface is pure white (Slack); the app chrome keeps --bg. */+.ch-main-split { flex: 1; min-height: 0; display: flex; background: #fff; }+.ch-main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }++.ch-thread { flex: 1; overflow: auto; min-height: 0; background: #fff; }+.ch-timeline { padding: 14px 0 10px; display: flex; flex-direction: column; }+.ch-thread-empty { color: var(--mute); font-size: 13px; padding: 24px; text-align: center; }++.ch-day {+ display: flex; align-items: center; justify-content: center; margin: 14px 0 6px; position: relative;+ font-size: 12px; font-weight: 700; color: var(--ink-2);+}+.ch-day::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-soft, #EFF1F4); }+.ch-day span { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 13px; box-shadow: 0 1px 2px rgba(17,24,39,.04); }+.ch-new-divider {+ display: flex; align-items: center; margin: 8px 0; padding: 0 20px;+ font-size: 11px; font-weight: 700; color: #E0245E; gap: 8px;+}+.ch-new-divider::before { content: ''; flex: 1; height: 1px; background: #F4B8C7; }+.ch-new-divider span { background: #FDECEF; border-radius: 999px; padding: 1px 9px; }++/* System/event line (joined / left a channel): centered, muted, actor highlighted. */+.ch-event { display: flex; justify-content: center; padding: 9px 16px; }+.ch-event-line { font-size: 13px; color: var(--mute, #8b919b); text-align: center; line-height: 1.5; }+.ch-event-actor { color: var(--brand, #42309C); font-weight: 600; }++/* ── Message row (Slack-style left-aligned) ──────────────────────────────── */+.ch-m {+ position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 9px;+ padding: 4px 20px; align-items: flex-start;+}+.ch-m:hover { background: #F8F8FA; }+.ch-m.grouped { padding-top: 1px; padding-bottom: 1px; }+.ch-m.deleted:hover { background: transparent; }+.ch-m-gutter { width: 36px; display: flex; justify-content: center; padding-top: 2px; }+.ch-m-av {+ width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0;+ display: inline-flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff; font-size: 12px; font-weight: 600;+}+.ch-m-av.bot { background: #0E9488; }+.ch-m-time-hover {+ font-size: 10px; color: var(--mute-2); opacity: 0; line-height: 21px; user-select: none;+}+.ch-m:hover .ch-m-time-hover { opacity: 1; }+.ch-m-main { min-width: 0; }+.ch-m-head { display: flex; align-items: baseline; gap: 7px; margin-bottom: 1px; }+.ch-m-name { font-size: 14px; font-weight: 800; color: var(--ink); }+.ch-m-time { font-size: 11px; color: var(--mute-2); }+.ch-cust-tag {+ font-size: 8.5px; font-weight: 700; letter-spacing: .03em; padding: 1px 5px; border-radius: 4px;+ background: #FEF3C7; color: #92400E;+}+/* Body + "(edited)" share a baseline flow: short messages get the marker inline+ to the right (Slack); long wrapped text degrades to the next line. */+.ch-body-flex { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; }+.ch-body-flex .ch-rich { min-width: 0; max-width: 100%; }+.ch-edited { font-size: 11px; color: var(--mute-2); }+.ch-deleted { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); font-style: italic; padding: 2px 0; }+.ch-deleted svg { color: var(--mute-2); }++/* ── Rich markdown body ──────────────────────────────────────────────────── */+.ch-rich { font-size: 14.5px; line-height: 1.46; color: var(--ink); word-break: break-word; }+.ch-rich > :first-child { margin-top: 0; }+.ch-rich > :last-child { margin-bottom: 0; }+.ch-rich p { margin: 0 0 4px; }+.ch-rich ul, .ch-rich ol { margin: 2px 0 4px; padding-left: 22px; }+.ch-rich li { margin: 1px 0; }+.ch-rich a.ch-link { color: var(--brand, #42309C); text-decoration: none; }+.ch-rich a.ch-link:hover { text-decoration: underline; }+.ch-rich code {+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;+ background: #F1F0F7; color: #C7254E; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line);+}+.ch-rich pre {+ background: #1E1B2E; color: #E6E1FF; border-radius: 9px; padding: 11px 13px; margin: 5px 0;+ overflow: auto; border: 1px solid #2A2540;+}+.ch-rich pre code { background: none; border: 0; color: inherit; padding: 0; font-size: 12.5px; }+.ch-rich blockquote { margin: 4px 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--line); color: var(--ink-2); }+.ch-rich table { border-collapse: collapse; margin: 5px 0; font-size: 13px; }+.ch-rich th, .ch-rich td { border: 1px solid var(--line); padding: 4px 9px; }+.ch-rich img { max-width: 100%; border-radius: 8px; }+.ch-rich hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }+.ch-mention {+ background: #E3DFF3; color: #332578; font-weight: 600; border-radius: 4px; padding: 0 3px; white-space: nowrap;+}+.ch-mention.me { background: #FDECC8; color: #92400E; }++/* ── Attachments ─────────────────────────────────────────────────────────── */+.ch-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }+.ch-img-thumb {+ border: 1px solid var(--line); border-radius: 11px; overflow: hidden; cursor: zoom-in; padding: 0;+ background: var(--surface); display: block; max-width: 360px; max-height: 260px;+}+.ch-img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }+.ch-att-video { max-width: 380px; max-height: 280px; border-radius: 11px; border: 1px solid var(--line); background: #000; }+.ch-att-audio {+ display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border: 1px solid var(--line);+ border-radius: 11px; background: var(--surface); min-width: 260px;+}+.ch-att-audio-name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }+.ch-att-audio audio { width: 100%; height: 32px; }+.ch-file-card {+ display: flex; align-items: center; gap: 10px; padding: 8px 11px; min-width: 218px; max-width: 320px;+ border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: inherit;+ transition: box-shadow .12s ease, border-color .12s ease;+}+.ch-file-card:hover { border-color: #D5D7DE; box-shadow: 0 2px 8px -2px rgba(17,24,39,.1); }+/* Type-coded icon chips (Slack): PDF red, sheets green, code indigo, … so a+ row of attachments reads at a glance instead of one wall of brand purple. */+.ch-file-ico {+ width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; display: inline-flex;+ align-items: center; justify-content: center; background: #EEF1F5; color: #5A6472;+}+.ch-file-ico.tone-red { background: #FDEBEC; color: #D8373F; }+.ch-file-ico.tone-green { background: #E5F3EC; color: #1F845A; }+.ch-file-ico.tone-amber { background: #FBF0D7; color: #A66B00; }+.ch-file-ico.tone-violet { background: #F1ECFF; color: #5F4DC7; }+.ch-file-ico.tone-pink { background: #FBEAF3; color: #C4357F; }+.ch-file-ico.tone-indigo { background: #E9EEFC; color: #3E63DD; }+.ch-file-ico.tone-blue { background: #E7F0FA; color: #2674BA; }+.ch-file-ico.tone-slate { background: #EEF1F5; color: #5A6472; }+.ch-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }+.ch-file-name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.ch-file-sub { font-size: 11px; color: var(--mute); }+.ch-file-dl { color: var(--mute-2); flex-shrink: 0; opacity: 0; transition: opacity .12s ease; }+.ch-file-card:hover .ch-file-dl { opacity: 1; color: var(--ink-2); }++.ch-lightbox {+ position: fixed; inset: 0; z-index: 200; background: rgba(15,12,28,.86); cursor: zoom-out;+ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px;+}+.ch-lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); cursor: default; }+.ch-lightbox-x { position: absolute; top: 22px; right: 26px; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }+.ch-lightbox-x:hover { background: rgba(255,255,255,.24); }+.ch-lightbox-dl { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; text-decoration: none; background: rgba(255,255,255,.1); padding: 7px 13px; border-radius: 9px; }+.ch-lightbox-dl:hover { background: rgba(255,255,255,.2); }++/* ── Reactions ───────────────────────────────────────────────────────────── */+.ch-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; align-items: center; }+.ch-react-pill {+ display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; cursor: pointer;+ border: 1px solid transparent; border-radius: 11px; background: #F2F2F6; font-family: inherit;+ transition: background .1s ease, border-color .1s ease;+}+.ch-react-pill:hover { background: #fff; border-color: #C9C9D6; }+.ch-react-pill.mine { background: var(--brand-soft, #ECE9F7); border-color: #B0A6DE; }+.ch-react-pill.mine:hover { border-color: var(--brand, #42309C); }+.ch-react-emoji { font-size: 13px; line-height: 1; }+.ch-react-count { font-size: 11.5px; font-weight: 700; color: #55555E; }+.ch-react-pill.mine .ch-react-count { color: var(--brand-ink, #332578); }+/* The bare add-reaction button only shows while hovering the message — at rest+ the row is just content (Slack). */+.ch-react-add-wrap { position: relative; }+.ch-react-add {+ width: 26px; height: 22px; border: 1px solid transparent; border-radius: 11px; cursor: pointer;+ background: #F2F2F6; color: var(--mute); display: inline-flex; align-items: center; justify-content: center;+ opacity: 0; transition: opacity .1s ease;+}+.ch-m:hover .ch-react-add { opacity: 1; }+.ch-react-add:hover { background: #fff; border-color: #C9C9D6; color: var(--ink-2); }++/* ── Hover toolbar ───────────────────────────────────────────────────────── */+.ch-msg-tools {+ position: absolute; top: -14px; right: 20px; display: none; align-items: center; gap: 1px;+ background: #fff; border: 1px solid #E2E2E8; border-radius: 8px; padding: 2px;+ box-shadow: 0 4px 12px -4px rgba(17,24,39,.16); z-index: 5;+}+.ch-m:hover > .ch-msg-tools { display: inline-flex; }+.ch-tool-btn {+ width: 30px; height: 28px; border: 0; background: none; border-radius: 6px; cursor: pointer;+ color: #5C5C66; display: inline-flex; align-items: center; justify-content: center; font-size: 15px;+}+.ch-tool-btn:hover { background: #F2F2F6; color: var(--ink); }+.ch-tool-emoji { font-size: 15px; }+.ch-tool-anchor { position: relative; display: inline-flex; }+.ch-tool-menu {+ position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; min-width: 178px;+ background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 5px;+ box-shadow: 0 16px 40px -12px rgba(17,24,39,.4);+}+.ch-tool-menu button {+ display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 9px; border: 0; background: none;+ border-radius: 7px; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--ink-2); text-align: left;+}+.ch-tool-menu button:hover { background: var(--line-soft); color: var(--ink); }+.ch-tool-menu button svg { color: var(--mute); }+.ch-tool-menu button.danger { color: #DC2626; }+.ch-tool-menu button.danger svg { color: #DC2626; }+.ch-tool-menu button.danger:hover { background: #FEF2F2; }++/* ── Thread chip + read receipts ─────────────────────────────────────────── */+/* Slack's reply bar: brand count + gray time at rest; hovering reveals a card+ border and a right-aligned "View thread" affordance. */+.ch-thread-chip {+ display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; padding: 4px 9px 4px 7px;+ min-width: 240px; max-width: 480px;+ border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer; font-family: inherit;+ font-size: 12.5px; font-weight: 600; color: var(--brand, #42309C); text-align: left;+}+.ch-thread-chip:hover { background: #fff; border-color: var(--line); box-shadow: 0 1px 3px rgba(17,24,39,.07); }+.ch-thread-chip-time { color: var(--mute); font-weight: 500; }+.ch-thread-chip-view { display: none; margin-left: auto; color: var(--mute); font-weight: 500; }+.ch-thread-chip:hover .ch-thread-chip-view { display: inline; }+.ch-thread-chip > svg:last-child { color: var(--mute-2); }+.ch-thread-chip:not(:hover) > svg:last-child { display: none; }+/* Read cursors sit tucked at the bottom-right of the content column (Lark),+ not stranded under the message like debris. */+.ch-reads { display: flex; align-items: center; justify-content: flex-end; gap: 0; margin-top: 3px; opacity: .85; }+.ch-read-av {+ width: 15px; height: 15px; border-radius: 4px; overflow: hidden; margin-left: -3px;+ border: 1.5px solid #fff; display: inline-flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff; font-size: 7px; font-weight: 700;+}+.ch-read-av:first-child { margin-left: 0; }+.ch-read-av.bot { background: #0E9488; }+.ch-read-more { font-size: 10px; color: var(--mute); margin-left: 4px; }++/* ── Typing indicator ────────────────────────────────────────────────────── */+.ch-typing { display: flex; align-items: center; gap: 8px; padding: 4px 20px 8px 65px; color: var(--mute); font-size: 12px; }+.ch-typing-dots { display: inline-flex; gap: 3px; }+.ch-typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--mute); animation: ch-typing 1.2s infinite ease-in-out; }+.ch-typing-dots i:nth-child(2) { animation-delay: .15s; }+.ch-typing-dots i:nth-child(3) { animation-delay: .3s; }+@keyframes ch-typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }++/* ── Rich composer ───────────────────────────────────────────────────────── */+.ch-composer-dock { flex-shrink: 0; padding: 4px 20px 16px; background: #fff; }+.ch-composer-rich {+ border: 1px solid #D5D7DE; border-radius: 12px; background: #fff;+ display: flex; flex-direction: column; overflow: hidden;+ transition: border-color .12s ease;+}+/* Focus = a slightly darker border, no glow. Neon focus rings on a chat input+ read as template, not product. */+.ch-composer-rich:focus-within { border-color: #A3A6B3; box-shadow: none; }+.ch-composer-rich.inline { border-radius: 10px; margin: 2px 0; }+.ch-fmt-bar { display: flex; align-items: center; gap: 1px; padding: 4px 6px; border-bottom: 1px solid var(--line-soft, #EFF1F4); }+.ch-fmt-btn {+ width: 28px; height: 26px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: #71717C;+ display: inline-flex; align-items: center; justify-content: center;+}+.ch-fmt-btn:hover { background: #F2F2F6; color: var(--ink); }+.ch-fmt-btn.active { background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C); }+.ch-editor-wrap { max-height: 220px; overflow: auto; }+.ch-editor .ProseMirror {+ padding: 10px 13px; min-height: 22px; outline: none; font-size: 14.5px; line-height: 1.46; color: var(--ink);+}+.ch-editor .ProseMirror p { margin: 0 0 4px; }+.ch-editor .ProseMirror > :last-child { margin-bottom: 0; }+.ch-editor .ProseMirror p.is-editor-empty:first-child::before {+ content: attr(data-placeholder); float: left; height: 0; pointer-events: none; color: var(--mute);+}+.ch-editor .ProseMirror code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: #F1F0F7; padding: 1px 5px; border-radius: 5px; }+.ch-editor .ProseMirror pre { background: #1E1B2E; color: #E6E1FF; border-radius: 8px; padding: 9px 11px; }+.ch-editor .ProseMirror ul, .ch-editor .ProseMirror ol { padding-left: 20px; margin: 2px 0; }+.ch-editor .ProseMirror blockquote { border-left: 3px solid var(--line); padding-left: 10px; color: var(--ink-2); }+.ch-editor .ProseMirror .ch-mention { background: #E3DFF3; color: #332578; font-weight: 600; border-radius: 4px; padding: 0 3px; }++.ch-attach-tray { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 11px 7px; }+.ch-attach-chip {+ display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line);+ border-radius: 8px; background: var(--surface); font-size: 12px; color: var(--ink-2); max-width: 220px;+}+.ch-attach-chip.up { opacity: .7; }+.ch-attach-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.ch-attach-x { border: 0; background: none; cursor: pointer; color: var(--mute); display: inline-flex; padding: 0; }+.ch-attach-x:hover { color: #DC2626; }+.ch-attach-spin { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: ch-spin .7s linear infinite; }+@keyframes ch-spin { to { transform: rotate(360deg); } }++.ch-composer-actions { display: flex; align-items: center; justify-content: space-between; padding: 4px 7px 6px; }+.ch-composer-left { display: flex; align-items: center; gap: 2px; }+.ch-composer-right { display: flex; align-items: center; gap: 7px; }+.ch-ca-btn {+ width: 30px; height: 28px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: #71717C;+ display: inline-flex; align-items: center; justify-content: center;+}+.ch-ca-btn:hover { background: #F2F2F6; color: var(--ink); }+.ch-ca-btn.on { background: var(--brand-soft, #ECE9F7); color: var(--brand); }+.ch-emoji-anchor { position: relative; display: inline-flex; }+.ch-btn-ghost { border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--mute); padding: 6px 10px; border-radius: 8px; }+.ch-btn-ghost:hover { background: #F2F2F6; color: var(--ink); }+/* Send: gray ghost while empty, brand fill once there is content (Slack). */+.ch-send {+ height: 28px; min-width: 32px; padding: 0 8px; border-radius: 7px; border: 0; cursor: pointer; flex-shrink: 0;+ background: var(--brand, #42309C); color: #fff; display: inline-flex; align-items: center; justify-content: center;+ transition: background .12s ease, color .12s ease;+}+.ch-send:disabled { background: transparent; color: #B6B6C0; cursor: default; }+.ch-send:not(:disabled):hover { background: var(--brand-ink, #332578); }++/* ── Emoji popover + mention list ────────────────────────────────────────── */+.ch-emoji-pop { position: absolute; bottom: calc(100% + 8px); z-index: 80; }+.ch-emoji-pop.left { left: 0; }+.ch-emoji-pop.right { right: 0; }+.ch-emoji-loading { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--mute); font-size: 12px; }+em-emoji-picker { --rgb-background: 255,255,255; --border-radius: 12px; box-shadow: 0 20px 50px -16px rgba(17,24,39,.45); border: 1px solid var(--line); }++.ch-mention-list {+ background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 5px; min-width: 220px;+ box-shadow: 0 18px 44px -14px rgba(17,24,39,.42); max-height: 280px; overflow: auto;+}+.ch-mention-empty { color: var(--mute); font-size: 12.5px; padding: 9px 11px; }+.ch-mention-item {+ display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 9px; border: 0; background: none;+ border-radius: 7px; cursor: pointer; font-family: inherit; text-align: left;+}+.ch-mention-item.active { background: #ECE9F7; }+.ch-mention-av {+ width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: inline-flex; align-items: center;+ justify-content: center; background: #42309C; color: #fff; font-size: 9.5px; font-weight: 700;+}+.ch-mention-av.bot { background: #0E9488; }+.ch-mention-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); }++/* ── Thread side-pane ────────────────────────────────────────────────────── */+.ch-thread-panel { width: 400px; flex-shrink: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }+.ch-thread-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }+.ch-thread-title { font-size: 15px; font-weight: 800; color: var(--ink); }+.ch-thread-x { width: 30px; height: 30px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; }+.ch-thread-x:hover { background: var(--line-soft); color: var(--ink); }+.ch-thread-scroll { flex: 1; overflow: auto; min-height: 0; padding: 8px 0; }+.ch-thread-count { font-size: 11.5px; font-weight: 600; color: var(--mute); padding: 8px 20px 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }+.ch-thread-composer { flex-shrink: 0; padding: 8px 16px 12px; border-top: 1px solid var(--line); }+.ch-also-send { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 12px; color: var(--mute); cursor: pointer; }+.ch-also-send input { accent-color: var(--brand, #42309C); }diff --git a/ui/src/studio/styles/chrome.css b/ui/src/studio/styles/chrome.cssnew file mode 100644index 00000000..b8ad76be--- /dev/null+++ b/ui/src/studio/styles/chrome.css@@ -0,0 +1,152 @@+/* Chrome layout — sidebar + topbar + funnel breadcrumb */++.shell {+ display: grid;+ grid-template-columns: 224px 1fr;+ height: 100vh; /* lock to viewport so nothing escapes */+ overflow: hidden; /* clip any descendant that tries to grow past */+ background: var(--bg);+}+.shell-main {+ display: flex;+ flex-direction: column;+ min-width: 0;+ min-height: 0; /* required for flex children to honor overflow */+ overflow: hidden;+}+.shell-body {+ flex: 1;+ padding: 16px 24px 24px;+ min-width: 0;+ min-height: 0;+ overflow: hidden; /* fullscreen pages: inner panes scroll */+}+.shell-body-scroll { overflow: auto; } /* scrollable pages opt in */++/* Sidebar — independent vertical scroll within .side-nav, never on the shell */+.side {+ background: var(--sidebar);+ color: #E5E7EB;+ display: flex; flex-direction: column;+ min-height: 0;+ overflow: hidden;+}+.side-brand {+ display: flex; align-items: center; gap: 10px;+ padding: 16px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.06);+}+.side-logo {+ width: 32px; height: 32px; border-radius: 8px; background: rgba(183,172,255,.12);+ display: flex; align-items: center; justify-content: center;+}+.side-brand-1 { font-size: 14px; font-weight: 600; color: #fff; }+.side-brand-2 { font-size: 11px; color: var(--sidebar-mute); margin-top: 1px; }++.side-nav {+ flex: 1; overflow: auto; padding: 8px 0 12px;+ /* Scrollbar darker than the sidebar so it reads as a recessed+ channel instead of a bright light-gray gutter that fights the+ panel. Thumb is a near-black tint of the panel; track is the+ panel itself. */+ scrollbar-width: thin;+ scrollbar-color: rgba(0,0,0,.45) transparent;+}+.side-nav::-webkit-scrollbar { width: 8px; }+.side-nav::-webkit-scrollbar-track { background: transparent; }+.side-nav::-webkit-scrollbar-thumb {+ background: rgba(0,0,0,.45);+ border-radius: 4px;+}+.side-nav::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.6); }+.side-cap {+ font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;+ color: var(--sidebar-mute); padding: 12px 16px 6px; display:flex; align-items:center; justify-content: space-between;+}+.side-tag {+ font-size: 9px; letter-spacing: .04em; padding: 2px 6px; border-radius: 999px;+ background: rgba(255,255,255,.06); color: #C0C7D8; font-weight: 500; text-transform: uppercase;+}++.side-scope {+ margin-left: auto;+ height: 16px; padding: 0 5px;+ font-size: 9px; font-weight: 600;+ letter-spacing: .04em;+}+.side-link.locked { opacity: .55; cursor: not-allowed; }+.side-link.locked .ic { opacity: .35; }+.side-link {+ display: flex; align-items: center; gap: 10px;+ height: 32px; padding: 0 16px; font-size: 13px; color: #C7CCDA;+ cursor: pointer; position: relative;+}+.side-link .ic { display:inline-flex; opacity: .75; }+.side-link .lbl { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.side-link:hover { background: rgba(255,255,255,.04); color: #fff; }+.side-link.active {+ color: #fff; background: rgba(40,90,255,.22);+}+.side-link.active::before {+ content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;+ background: var(--sidebar-active); border-radius: 0 3px 3px 0;+}+.side-link.active .ic { color: var(--sidebar-active); opacity: 1; }+.side-badge {+ font-size: 10px; min-width: 16px; height: 16px; padding: 0 5px;+ border-radius: 999px; background: var(--hot); color: #fff;+ display:inline-flex; align-items:center; justify-content:center; font-weight: 600;+}++.side-foot {+ display: flex; align-items: center; gap: 10px; padding: 12px 14px;+ border-top: 1px solid rgba(255,255,255,.06);+}++/* Topbar — pinned by sitting outside the scroll surface */+.top {+ display: flex; align-items: center; gap: 16px;+ padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line);+ flex-shrink: 0;+}+/* Sidebar show/hide toggle, at the left of the topbar. */+.top-side-toggle {+ display: inline-flex; align-items: center; justify-content: center;+ width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0; margin-right: -4px;+ border: none; background: none; cursor: pointer; color: var(--mute);+}+.top-side-toggle:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }+.top-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); white-space: nowrap; flex-shrink: 0; }+.crumb { color: var(--mute); white-space: nowrap; }+.crumb.active { color: var(--ink); font-weight: 600; }+.crumb-sep { color: var(--mute-2); }+.top-search {+ display: flex; align-items: center; gap: 8px; max-width: 480px;+ padding: 4px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;+ flex: 1 1 240px; min-width: 0;+}+.top-search input { min-width: 0; flex: 1; }+.top-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }+.top-right .btn { white-space: nowrap; }++/* Funnel — also pinned (above the scroll surface) */+.funnel {+ display: flex; align-items: center; gap: 6px;+ padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line);+ font-size: 12px; color: var(--mute);+ flex-wrap: wrap;+ flex-shrink: 0;+}+.funnel-step, .funnel-step .ic, .funnel-step .no { white-space: nowrap; }+.funnel-step {+ display: inline-flex; align-items: center; gap: 6px;+ padding: 6px 10px; border-radius: 999px; background: #fff;+ border: 1px solid var(--line); color: var(--ink-2);+}+.funnel-step .ic { color: var(--mute-2); display:inline-flex; }+.funnel-step .no { color: var(--mute); }+.funnel-step.on {+ background: var(--brand); border-color: var(--brand); color: #fff;+}+.funnel-step.on .ic, .funnel-step.on .no { color: #fff; opacity: .85; }+.funnel-sep { color: var(--mute-2); display:inline-flex; }+.funnel-hint { margin-left: 8px; }diff --git a/ui/src/studio/styles/dashboard.css b/ui/src/studio/styles/dashboard.cssnew file mode 100644index 00000000..303acd56--- /dev/null+++ b/ui/src/studio/styles/dashboard.css@@ -0,0 +1,123 @@+/* Generative-BI dashboard — flat, on-brand (bright iris #6E55FF), matches studio tokens.+ Buttons reuse the studio `.btn` / `.btn.sm` / `.btn.primary` primitives. */+.db-root { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #FBFAFF; }++.db-toolbar {+ display: flex; align-items: center; justify-content: space-between;+ padding: 10px 16px; gap: 12px; flex-shrink: 0;+ border-bottom: 1px solid #EFECFB;+}+.db-toolbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }+.db-toolbar-right { display: flex; gap: 8px; }+.db-stamp { font-size: 12px; color: #8A82A6; }+.db-edit-badge {+ font-size: 11.5px; font-weight: 600; color: #6E55FF; background: #EEEBFF;+ padding: 3px 10px; border-radius: 999px; letter-spacing: .02em;+}+.db-note { font-size: 12px; color: #5B47D6; background: #EEEBFF; padding: 3px 10px; border-radius: 999px; }++/* ── canvas + inspector row ── */+.db-main { flex: 1; min-height: 0; display: flex; }+.db-canvas-wrap { flex: 1; min-height: 0; min-width: 0; overflow: auto; padding: 14px 14px 32px; }+.db-grid-measure { width: 100%; } /* stable measurement target for the grid width */+.db-grid { width: 100%; }++/* ── panels ── */+.db-panel {+ background: #fff; border-radius: 16px;+ box-shadow: 0 1px 2px rgba(64,46,156,.05), 0 0 0 1px #EEEBF8;+ display: flex; flex-direction: column; overflow: hidden; height: 100%;+ transition: box-shadow .12s ease;+}+.db-panel.is-edit { cursor: pointer; }+.db-panel.is-edit:hover { box-shadow: 0 4px 16px rgba(110,85,255,.10), 0 0 0 1px #D9D1FB; }+.db-panel.is-sel { box-shadow: 0 6px 22px rgba(110,85,255,.16), 0 0 0 2px #6E55FF; }+.db-panel-head {+ display: flex; align-items: center; justify-content: space-between;+ padding: 12px 15px 5px; flex-shrink: 0; gap: 8px;+}+.db-panel.is-edit .db-panel-head { cursor: move; }+.db-panel-title {+ font-size: 12.5px; font-weight: 600; color: #2A2350; letter-spacing: .01em;+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;+}+.db-panel-body { flex: 1; min-height: 0; padding: 4px 14px 14px; position: relative; }+.db-panel-err { color: #E0407A; font-size: 12px; padding: 8px; }++.db-panel-actions { display: flex; gap: 2px; flex-shrink: 0; }+.db-panel-act {+ border: none; background: transparent; color: #A79FC6; cursor: pointer;+ width: 24px; height: 24px; border-radius: 7px; display: inline-flex;+ align-items: center; justify-content: center;+}+.db-panel-act:hover { background: #EEEBFF; color: #6E55FF; }+.db-panel-act-del:hover { background: #FCE9F1; color: #E0407A; }++/* ── tiles ── */+.db-stat { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 4px 4px 10px; }+.db-stat-value { font-size: 36px; font-weight: 700; line-height: 1.04; letter-spacing: -.015em; }+.db-stat-sub { font-size: 12px; color: #8A82A6; margin-top: 5px; }++.db-table-wrap { height: 100%; overflow: auto; }+.db-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }+.db-table th { text-align: left; color: #8A82A6; font-weight: 600; padding: 6px 8px; position: sticky; top: 0; background: #fff; }+.db-table td { padding: 6px 8px; color: #2A2350; border-top: 1px solid #F3F0FC; }++.db-loading, .db-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #8A82A6; gap: 6px; }+.db-empty-title { font-size: 16px; font-weight: 600; color: #2A2350; }+.db-empty-sub { font-size: 13px; }++/* react-grid-layout on-brand */+.react-grid-item.react-grid-placeholder { background: #6E55FF !important; opacity: .14; border-radius: 16px; }+.react-grid-item > .react-resizable-handle::after { border-color: #C5BAF5; }++/* ── inline inspector (mirrors the workflow editor's right panel) ── */+.db-insp {+ width: 320px; flex-shrink: 0; background: #fff; border-left: 1px solid #EAE6F6;+ display: flex; flex-direction: column; min-height: 0;+}+.db-insp-h {+ display: flex; align-items: center; gap: 9px; padding: 13px 16px;+ border-bottom: 1px solid #F1EEFA; flex-shrink: 0;+}+.db-insp-badge {+ width: 24px; height: 24px; border-radius: 7px; background: #EEEBFF; color: #6E55FF;+ display: inline-flex; align-items: center; justify-content: center;+}+.db-insp-title { font-size: 13px; font-weight: 600; color: #2A2350; flex: 1; }+.db-insp-x { border: none; background: transparent; font-size: 20px; line-height: 1; color: #A79FC6; cursor: pointer; padding: 0 2px; }+.db-insp-x:hover { color: #6E55FF; }+.db-insp-b { flex: 1; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 13px; }+.db-insp-sec {+ font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;+ color: #A79FC6; margin: 4px 0 -2px;+}+.db-insp-fld { display: flex; flex-direction: column; gap: 5px; }+.db-insp-fld .dg-field-label { font-size: 11.5px; font-weight: 600; color: #6B6385; }+.db-insp-hint { font-size: 10.5px; color: #B3ABCC; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }+.db-insp-f {+ display: flex; align-items: center; gap: 8px; padding: 12px 16px;+ border-top: 1px solid #F1EEFA; flex-shrink: 0;+}+.db-insp-del { color: #E0407A; margin-right: auto; }+.db-insp-del:hover { background: #FCE9F1; border-color: #F6C9DC; }++/* inputs */+.db-in {+ width: 100%; font: inherit; font-size: 13px; color: #2A2350; background: #fff;+ border: 1px solid #E6E2F3; border-radius: 8px; padding: 7px 10px; outline: none;+ transition: border-color .12s ease, box-shadow .12s ease;+}+.db-in:focus { border-color: #6E55FF; box-shadow: 0 0 0 3px rgba(110,85,255,.12); }+select.db-in { cursor: pointer; }+.db-ta { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }++/* KV editor */+.db-kv { display: flex; flex-direction: column; gap: 6px; }+.db-kv-row { display: flex; align-items: center; gap: 6px; }+.db-kv-k { flex: 0 0 38%; }+.db-kv-v { flex: 1; }+.wf-kv-eq { color: #B3ABCC; font-size: 13px; }+.wf-kv-x { border: none; background: transparent; color: #B3ABCC; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }+.wf-kv-x:hover { color: #E0407A; }+.wf-kv-add { margin-top: 2px; align-self: flex-start; }diff --git a/ui/src/studio/styles/dialog.css b/ui/src/studio/styles/dialog.cssnew file mode 100644index 00000000..c81bacd9--- /dev/null+++ b/ui/src/studio/styles/dialog.css@@ -0,0 +1,177 @@+/* Shared modal/dialog styles — consumed by both consoles via+ * the @shared alias. Sits on top of tokens.css, so colors come+ * from CSS variables. */++.dlg-root {+ position: fixed; inset: 0;+ z-index: 9000;+ pointer-events: none;+}+.dlg-backdrop {+ position: fixed; inset: 0;+ display: flex; align-items: center; justify-content: center;+ background: rgba(15, 23, 42, 0.34);+ backdrop-filter: blur(2px);+ pointer-events: auto;+ animation: dlg-fade-in 120ms ease-out;+}+@keyframes dlg-fade-in {+ from { opacity: 0; }+ to { opacity: 1; }+}+.dlg-card {+ width: min(440px, 92vw);+ max-height: 90vh;+ display: flex; flex-direction: column;+ background: var(--surface, #fff);+ border: 1px solid var(--line, rgba(15,23,42,.08));+ border-radius: 14px;+ box-shadow: 0 24px 60px rgba(15,23,42,.18), 0 4px 16px rgba(15,23,42,.08);+ overflow: hidden;+ animation: dlg-pop-in 140ms cubic-bezier(.2,.7,.2,1.05);+}+@keyframes dlg-pop-in {+ from { transform: translateY(8px) scale(.97); opacity: 0; }+ to { transform: translateY(0) scale(1); opacity: 1; }+}++.dlg-card-wide { width: min(540px, 94vw); }++/* create dialog: resource-type picker grid */+.dlg-typegrid {+ display: grid;+ grid-template-columns: repeat(4, 1fr);+ gap: 8px;+ margin: 2px 0 8px;+}+.dlg-type {+ display: flex; flex-direction: column; align-items: center; gap: 8px;+ padding: 14px 8px 11px;+ border: 1px solid var(--line, rgba(15,23,42,.12));+ border-radius: 11px;+ background: var(--surface, #fff);+ cursor: pointer;+ transition: border-color .12s, background .12s, transform .04s;+}+.dlg-type:hover { background: var(--surface-2, #F8FAFC); }+.dlg-type.on { border-color: var(--brand, #42309C); box-shadow: 0 0 0 2px rgba(40,90,255,.16); }+.dlg-type:active { transform: translateY(1px); }+.dlg-type-ic {+ width: 38px; height: 38px; border-radius: 10px;+ display: inline-flex; align-items: center; justify-content: center;+}+.dlg-type-lbl {+ font-size: 12px; font-weight: 550; color: var(--ink, #0f172a);+ text-align: center; line-height: 1.25;+}++.dlg-h {+ padding: 16px 20px 0;+}+.dlg-title {+ font-size: 15px; font-weight: 600;+ color: var(--ink, #0f172a);+ line-height: 1.4;+}+.dlg-h-destructive .dlg-title { color: #B91C1C; }+.dlg-h-error .dlg-title { color: #B91C1C; }+.dlg-h-warning .dlg-title { color: #B45309; }+.dlg-h-success .dlg-title { color: #047857; }++.dlg-b {+ padding: 12px 20px 4px;+ overflow-y: auto;+}+.dlg-msg {+ font-size: 13px; line-height: 1.55;+ color: var(--mute, #475569);+ margin-bottom: 8px;+ white-space: pre-wrap;+ word-break: break-word;+}+.dlg-label {+ display: block;+ font-size: 11px; font-weight: 600;+ color: var(--mute, #475569);+ text-transform: uppercase;+ letter-spacing: .04em;+ margin: 10px 0 6px;+}+.dlg-input {+ width: 100%;+ padding: 9px 11px;+ font-size: 13px;+ font-family: inherit;+ color: var(--ink, #0f172a);+ background: var(--surface, #fff);+ border: 1px solid var(--line, rgba(15,23,42,.16));+ border-radius: 8px;+ outline: none;+ transition: border-color .12s ease, box-shadow .12s ease;+}+.dlg-input:focus {+ border-color: var(--brand, #42309C);+ box-shadow: 0 0 0 3px rgba(40,90,255,.14);+}+.dlg-input-err {+ border-color: #DC2626;+}+.dlg-input-err:focus {+ box-shadow: 0 0 0 3px rgba(220,38,38,.12);+}+textarea.dlg-input { resize: vertical; min-height: 80px; line-height: 1.5; }+.dlg-help {+ font-size: 11px; color: var(--mute, #475569);+ margin-top: 6px; line-height: 1.5;+}+.dlg-err {+ font-size: 11px; color: #B91C1C;+ margin-top: 6px; line-height: 1.5;+}++.dlg-f {+ display: flex; justify-content: flex-end;+ gap: 8px;+ padding: 14px 20px 16px;+ border-top: 1px solid transparent;+}++.dlg-btn {+ appearance: none; cursor: pointer;+ font-family: inherit; font-size: 13px; font-weight: 500;+ padding: 8px 16px;+ min-width: 76px;+ border-radius: 8px;+ border: 1px solid transparent;+ background: transparent;+ color: var(--ink, #0f172a);+ transition: background .12s, border-color .12s, color .12s, transform .04s;+}+.dlg-btn:focus-visible { outline: 2px solid var(--brand, #42309C); outline-offset: 2px; }+.dlg-btn:active { transform: translateY(1px); }++.dlg-secondary {+ border-color: var(--line, rgba(15,23,42,.18));+ color: var(--ink, #0f172a);+ background: var(--surface, #fff);+}+.dlg-secondary:hover { background: var(--surface-2, #F8FAFC); }++.dlg-primary {+ background: var(--brand, #42309C);+ border-color: var(--brand, #42309C);+ color: #fff;+}+.dlg-primary:hover {+ background: var(--brand-ink, #5840E0);+ border-color: var(--brand-ink, #5840E0);+}++.dlg-destructive {+ background: #DC2626;+ border-color: #DC2626;+}+.dlg-destructive:hover {+ background: #B91C1C;+ border-color: #B91C1C;+}diff --git a/ui/src/studio/styles/org.css b/ui/src/studio/styles/org.cssnew file mode 100644index 00000000..f05654d5--- /dev/null+++ b/ui/src/studio/styles/org.css@@ -0,0 +1,120 @@+/* Org settings (members + teams) — account-level page. */+.org-page { padding: 28px 32px 64px; }+.org-head { max-width: 760px; margin: 0 auto 22px; }+.org-title { font-size: 24px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 4px; color: var(--ink); }+.org-sub { font-size: 13.5px; color: var(--mute); margin: 0; }++.org-err {+ max-width: 760px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 10px;+ background: #fdecec; color: #b42318; font-size: 13px; border: 1px solid #f6c9c6;+}++.org-card { max-width: 760px; margin: 0 auto 20px; padding: 20px 22px; }+.org-card-h { margin-bottom: 14px; }+.org-card-h h2 { font-size: 16px; font-weight: 600; margin: 0; color: var(--ink); }+.org-count {+ display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px;+ padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--brand-soft, #ECE9F7);+ color: var(--brand, #42309C); font-size: 12px; font-weight: 600;+}++.org-form { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }+.org-form .input { flex: 1; min-width: 180px; }+.org-form .btn { flex-shrink: 0; }++.org-ok {+ margin-bottom: 14px; padding: 10px 14px; border-radius: 10px; font-size: 13px;+ background: #ecfdf3; color: #027a48; border: 1px solid #bbf0d2;+}+.org-ok code {+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;+ background: #fff; padding: 1px 6px; border-radius: 5px; border: 1px solid #bbf0d2;+}++.org-empty { color: var(--mute); font-size: 13px; padding: 8px 0; }+.org-empty-inline { color: var(--mute); font-size: 12.5px; }++/* Members */+.org-list { display: flex; flex-direction: column; }+.org-member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }+.org-member:first-child { border-top: 0; }+.org-av {+ width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff; font-size: 12px; font-weight: 600;+}+.org-member-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }+.org-member-name { font-size: 14px; font-weight: 550; color: var(--ink); }+.org-member-email { font-size: 12px; color: var(--mute); }+.org-member-teams { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }+.org-kind {+ font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;+ color: var(--mute); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;+}++.org-chip {+ display: inline-flex; align-items: center; gap: 5px; font-size: 12px;+ background: var(--brand-soft, #ECE9F7); color: var(--brand-ink, #332578);+ border-radius: 999px; padding: 3px 9px; white-space: nowrap;+}+.org-chip.member { background: var(--surface-2, #f4f5f8); color: var(--ink); border: 1px solid var(--line); }+.org-chip-x {+ display: inline-flex; align-items: center; justify-content: center; border: 0; background: none;+ color: var(--mute); cursor: pointer; padding: 0; margin: 0 -2px 0 1px; border-radius: 50%;+}+.org-chip-x:hover { color: #b42318; }++/* Teams */+.org-teams { display: flex; flex-direction: column; gap: 14px; }+.org-team { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }+.org-team-h { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }+.org-team-ic {+ width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C);+}+.org-team-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }+.org-team-count { margin-left: auto; font-size: 12px; color: var(--mute); }+.org-team-members { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }+.org-team-add { margin-top: 10px; }+.org-team-add select {+ font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px;+ background: var(--surface); color: var(--ink); cursor: pointer; max-width: 240px;+}++/* ── Avatar image fill (image variant of any initials chip) ───────────────── */+.av-fill { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }+.os-dock-avatar, .os-acct-av, .share-av, .org-av, .pf-av { overflow: hidden; }++/* ── Profile page ─────────────────────────────────────────────────────────── */+.pf-card { max-width: 560px; padding: 24px; }+.pf-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }+.pf-av {+ width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff; font-size: 24px; font-weight: 600;+}+.pf-id { min-width: 0; }+.pf-name { font-size: 18px; font-weight: 600; color: var(--ink); }+.pf-email { font-size: 13px; color: var(--mute); margin-top: 1px; }+.pf-change { margin-top: 9px; }+.pf-err { max-width: none; margin: 0 0 16px; }+.pf-dl { display: grid; grid-template-columns: 130px 1fr; row-gap: 12px; column-gap: 16px; margin: 0; }+.pf-dl dt { color: var(--mute); font-size: 13px; }+.pf-dl dd { margin: 0; font-size: 13px; color: var(--ink-2); }+.pf-mono { font-size: 12.5px; word-break: break-all; }++/* ── Crop modal ───────────────────────────────────────────────────────────── */+.pf-modal {+ position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;+ background: rgba(20, 18, 40, 0.55);+}+.pf-modal-card {+ width: 380px; max-width: calc(100vw - 32px); background: var(--surface);+ border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);+}+.pf-modal-h { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }+.pf-cropper { position: relative; width: 100%; height: 300px; background: #1a1830; border-radius: 12px; overflow: hidden; }+.pf-zoom { padding: 14px 2px 4px; }+.pf-zoom input { width: 100%; accent-color: var(--brand, #42309C); }+.pf-modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }diff --git a/ui/src/studio/styles/os.css b/ui/src/studio/styles/os.cssnew file mode 100644index 00000000..469b7701--- /dev/null+++ b/ui/src/studio/styles/os.css@@ -0,0 +1,320 @@+/* Business OS shell — a narrow app dock (Slack-style) to the left of the+ active app's own sidebar. Dock keeps the AdminPortal navbar color+ (--sidebar); the app sidebar sits one shade lighter (--sidebar-2) so the+ two read as distinct tiers. */++.os-shell {+ display: flex;+ height: 100vh;+ overflow: hidden;+ background: var(--bg);+}++/* The existing two-column app shell now lives inside the OS shell, so it+ fills the remaining width instead of the whole viewport. */+.os-shell .shell {+ flex: 1;+ height: 100%;+ min-width: 0;+}++/* App sidebar — one shade lighter than the dock. */+.os-shell .app-side { background: var(--sidebar-2); }++/* Account pages (profile / billing) have no app sidebar — single column. */+.os-shell .shell.shell-no-side { grid-template-columns: 1fr; }++/* Draggable resize handle on the sidebar/main boundary. */+.app-side-resize {+ position: absolute; top: 0; bottom: 0; width: 9px; margin-left: -4px;+ cursor: col-resize; z-index: 20;+}+.app-side-resize::after {+ content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px;+ background: transparent; transition: background .12s ease;+}+.app-side-resize:hover::after { background: var(--brand, #42309C); }++/* ── Dock ─────────────────────────────────────────────────────────────── */+.os-dock {+ width: 72px;+ flex-shrink: 0;+ background: var(--sidebar);+ border-right: 1px solid rgba(0, 0, 0, .35);+ display: flex;+ flex-direction: column;+ align-items: center;+ padding: 10px 0 14px;+}++/* Epsilla mark, pinned at the very top of the dock above the apps. Brightened+ so the brand colors read on the dark navy nav. */+.os-dock-logo {+ flex-shrink: 0;+ width: 100%;+ display: flex;+ align-items: center;+ justify-content: center;+ padding: 2px 0 10px;+ margin-bottom: 6px;+}+.os-dock-logo img {+ width: 34px;+ height: 34px;+ object-fit: contain;+ filter: brightness(1.18) saturate(1.3) drop-shadow(0 0 6px rgba(140, 120, 255, .5));+ transition: filter .14s ease, transform .14s ease;+}+.os-dock-logo:hover img {+ filter: brightness(1.32) saturate(1.4) drop-shadow(0 0 10px rgba(150, 125, 255, .78));+ transform: scale(1.06);+}++.os-dock-apps {+ flex: 1;+ width: 100%;+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 2px;+ overflow-y: auto;+ overflow-x: hidden;+ scrollbar-width: none;+}+.os-dock-apps::-webkit-scrollbar { width: 0; }++.os-app {+ width: 100%;+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 4px;+ padding: 7px 2px;+ border: none;+ background: none;+ cursor: pointer;+ text-decoration: none;+ color: var(--sidebar-mute);+}+.os-app-ic {+ width: 42px;+ height: 42px;+ border-radius: 14px;+ display: flex;+ align-items: center;+ justify-content: center;+ background: rgba(255, 255, 255, .06);+ color: #C7CCDA;+ transition: background .14s ease, color .14s ease, border-radius .14s ease;+}+.os-app:hover .os-app-ic {+ background: rgba(255, 255, 255, .12);+ color: #fff;+ border-radius: 12px;+}+.os-app-lbl {+ font-size: 10px;+ line-height: 1.15;+ text-align: center;+ color: var(--sidebar-mute);+ max-width: 68px;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+}+.os-app.active .os-app-ic {+ background: #42309C;+ color: #fff;+ box-shadow: 0 4px 12px rgba(74, 55, 204, .4);+}+.os-app.active .os-app-lbl { color: #fff; font-weight: 600; }++.os-app-add .os-app-ic {+ background: transparent;+ border: 1px dashed rgba(255, 255, 255, .22);+ color: var(--sidebar-mute);+}+.os-app-add:hover .os-app-ic {+ background: rgba(255, 255, 255, .06);+ border-color: rgba(255, 255, 255, .4);+ color: #fff;+}++.os-dock-foot {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 10px;+ padding-top: 10px;+ width: 100%;+ margin-top: 6px;+}+.os-dock-btn {+ width: 36px;+ height: 36px;+ border-radius: 50%;+ border: none;+ cursor: pointer;+ display: flex;+ align-items: center;+ justify-content: center;+ background: rgba(255, 255, 255, .06);+ color: #C7CCDA;+}+.os-dock-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }+.os-dock-avatar {+ width: 36px;+ height: 36px;+ border-radius: 50%;+ border: none;+ cursor: pointer;+ display: flex;+ align-items: center;+ justify-content: center;+ background: #42309C;+ color: #fff;+ font-size: 14px;+ font-weight: 600;+ position: relative;+}+/* Avatar + online dot. The avatar clips its image with overflow:hidden, so the+ dot is a SIBLING (not an ::after on the avatar) — otherwise it gets cut by the+ circle. It sits on the circle's lower-right edge and renders on top. */+.os-dock-avatar-wrap {+ position: relative;+ display: inline-flex;+}+.os-dock-status {+ position: absolute;+ right: -1px;+ bottom: -1px;+ width: 11px;+ height: 11px;+ border-radius: 50%;+ background: #22C55E;+ border: 2px solid var(--sidebar);+ box-shadow: 0 0 0 0.5px rgba(0, 0, 0, .25);+ z-index: 3;+ pointer-events: none;+}+.os-dock-foot { position: relative; }++/* Account popup menu — a light card popping out to the right of the dock. */+.os-acct-menu {+ position: absolute;+ left: calc(100% + 10px);+ bottom: 0;+ width: 248px;+ background: #fff;+ border: 1px solid var(--line);+ border-radius: 12px;+ box-shadow: 0 16px 40px -12px rgba(17, 24, 39, .28), 0 4px 12px -4px rgba(17, 24, 39, .12);+ padding: 6px;+ z-index: 60;+ animation: os-acct-in .12s ease-out;+}+@keyframes os-acct-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }+.os-acct-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 10px; }+.os-acct-av {+ width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff;+ font-size: 13px; font-weight: 600;+}+.os-acct-id { min-width: 0; }+.os-acct-name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.os-acct-email { font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.os-acct-org {+ display: flex; align-items: center; gap: 6px;+ margin: 0 8px 6px; padding: 5px 8px; border-radius: 7px;+ background: var(--brand-50); color: var(--brand-ink);+ font-size: 11.5px; font-weight: 600;+}+.os-acct-org > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.os-acct-sep { height: 1px; background: var(--line-soft); margin: 4px 6px; }+.os-acct-item {+ display: flex; align-items: center; gap: 10px; width: 100%;+ padding: 8px 10px; border: 0; background: none; cursor: pointer;+ border-radius: 8px; font-size: 13px; color: var(--ink-2); text-align: left;+ font-family: inherit;+}+.os-acct-item:hover { background: var(--line-soft); color: var(--ink); }+.os-acct-item > span { flex: 1; }+.os-acct-item.os-acct-item-static { color: var(--mute-2); cursor: default; }+.os-acct-item.os-acct-item-static:hover { background: none; }+.os-acct-caret { color: var(--mute-2); flex: 0 0 auto !important; }+.os-acct-danger { color: #DC2626; }+.os-acct-danger:hover { background: var(--hot-soft); color: #B91C1C; }+.os-acct-orglist { padding: 2px 6px 4px; }+.os-acct-orgrow {+ display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;+ padding: 7px 10px 7px 34px; border: 0; background: none; cursor: pointer;+ border-radius: 7px; font-size: 12.5px; color: var(--ink-2); text-align: left; font-family: inherit;+}+.os-acct-orgrow:hover { background: var(--line-soft); }+.os-acct-orgrow.active { color: var(--brand-ink); font-weight: 600; }+.os-acct-orgname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.os-acct-orgrow:disabled { opacity: .5; cursor: default; }++/* Coming-soon app body */+.os-soon-wrap {+ display: grid;+ place-items: center;+ min-height: 62vh;+ text-align: center;+}+.os-soon-card { padding: 40px 48px; max-width: 460px; }+.os-soon-ic {+ width: 56px;+ height: 56px;+ border-radius: 16px;+ margin: 0 auto 16px;+ display: flex;+ align-items: center;+ justify-content: center;+ background: var(--brand-soft, #ECE9F7);+ color: var(--brand, #42309C);+}++/* ── Help → Chatra modal ──────────────────────────────────────────────────+ Centered on the viewport, with Chatra embedded (mode 'frame') inside the+ white card via #chatra-wrapper. */+.os-help-overlay {+ position: fixed;+ inset: 0;+ z-index: 1000;+ background: rgba(17, 24, 39, .45);+ display: flex;+ align-items: center;+ justify-content: center;+ padding: 24px;+}+.os-help-modal {+ position: relative;+ width: 480px;+ max-width: calc(100vw - 48px);+ height: calc(100vh - 200px);+ max-height: 760px;+ background: #fff;+ border-radius: 16px;+ box-shadow: 0 24px 60px -16px rgba(17, 24, 39, .45);+ padding: 14px;+}+.os-help-close {+ position: absolute;+ top: -14px;+ right: -14px;+ width: 36px;+ height: 36px;+ border-radius: 50%;+ background: #fff;+ border: 1px solid var(--line);+ box-shadow: 0 4px 14px rgba(17, 24, 39, .2);+ display: flex;+ align-items: center;+ justify-content: center;+ cursor: pointer;+ color: var(--ink);+}+.os-help-close:hover { background: var(--bg); }+.os-help-chatra { width: 100%; height: 100%; }diff --git a/ui/src/studio/styles/page.css b/ui/src/studio/styles/page.cssnew file mode 100644index 00000000..e0333a39--- /dev/null+++ b/ui/src/studio/styles/page.css@@ -0,0 +1,116 @@+/* Shared page styles — page headers, KPI strips, tables, filters */++.page { padding: 0; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }++.page-h {+ display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;+ background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;+}+.page-t { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.005em; }+.page-sub { font-size: 12px; color: var(--mute); margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }+.page-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }++/* KPI strip */+.kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }+.kpi-card {+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;+}+.kpi-h { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--mute); }+.kpi-h .ic { color: var(--mute-2); }+.kpi-bar { height: 4px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }+.kpi-fill { height: 100%; border-radius: 999px; }+.kpi-sub { font-size: 11px; color: var(--mute); }+.kpi-sub.ok { color: var(--ok); }+.kpi-card .stat-num { font-size: 22px; }++/* Filter chips */+.filt-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }+.filt-chip {+ display: inline-flex; align-items: center; gap: 4px;+ height: 26px; padding: 0 10px; border-radius: 999px;+ font-size: 12px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; color: var(--ink-2);+ font-family: inherit;+}+.filt-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }+.filt-chip:hover:not(.active) { border-color: var(--mute-2); }++/* Generic table */+.tbl { display: flex; flex-direction: column; }+.tbl-head, .tbl-row {+ display: flex; align-items: center; gap: 12px;+ padding: 10px 16px;+ font-size: 12px;+}+.tbl-head {+ color: var(--mute); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 11px;+ background: var(--surface-2); border-bottom: 1px solid var(--line);+}+.tbl-row {+ border-bottom: 1px solid var(--line-soft);+ font-size: 13px; color: var(--ink-2);+}+.tbl-row:hover { background: var(--surface-2); }+.tbl-head > span, .tbl-row > span { flex: 1; }++.tbl-foot {+ display: flex; align-items: center; justify-content: space-between;+ padding: 12px 16px; font-size: 12px; color: var(--mute);+ border-top: 1px solid var(--line-soft);+}+.pg { display: flex; gap: 4px; align-items: center; }+.pg-num {+ min-width: 26px; height: 26px; padding: 0 8px; border-radius: 6px;+ border: 1px solid var(--line); background: #fff;+ display: inline-flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer;+ color: var(--ink-2);+}+.pg-num.active { background: var(--brand); border-color: var(--brand); color: #fff; }++/* Dispatch banner */+.dispatch { background: #fff; }+.dispatch-row {+ display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.7fr; gap: 18px;+ padding: 14px 20px; align-items: stretch;+}+.dispatch-progress { display: flex; flex-direction: column; gap: 6px; min-width: 0; }+.dispatch-bar { display: flex; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }+.dispatch-fill { height: 100%; }+.dispatch-fill.ok { background: var(--ok); }+.dispatch-fill.info { background: var(--info); }+.dispatch-fill.warm { background: var(--warm); }+.dispatch-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 11px; color: var(--mute); }+.dispatch-legend .dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; margin-right: 4px; vertical-align: middle; }++.dispatch-w {+ border-left: 1px dashed var(--line); padding-left: 18px;+ display: flex; flex-direction: column; justify-content: center; gap: 6px;+}+.dispatch-w-h { display: flex; align-items: center; gap: 6px; font-size: 13px; }+.dispatch-w-meta { display: flex; gap: 12px; font-size: 11px; color: var(--mute); }+.dispatch-w-meta .ok { color: var(--ok); }++.dispatch-eta {+ border-left: 1px dashed var(--line); padding-left: 18px;+ display: flex; flex-direction: column; justify-content: center;+}++/* Empty-state shells used by some pages */+.empty {+ display: flex; flex-direction: column; align-items: center; justify-content: center;+ padding: 40px; color: var(--mute); font-size: 12px;+}++/* ── Shared "AI Agent" tag ────────────────────────────────────────────────────+ ONE style for the AI-agent label everywhere (chat sidebar/mentions/messages,+ tasks assignees, calendar people + event popover, org members). On-brand iris+ pill, mixed case. Light surfaces use brand-soft; the dark app rails (.app-side)+ get the lavender tint; inside the brand-soft agent chip it goes solid so it stays+ readable. Single source of truth — don't reintroduce per-page AI tag styles. */+.ai-tag {+ font-size: 9px; font-weight: 700; letter-spacing: .05em; line-height: 1.6;+ padding: 1.5px 5px; border-radius: 5px; white-space: nowrap; margin-left: 2px;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C);+}+.app-side .ai-tag { background: rgba(40,90,255, .3); color: #9FC0FF; }+.ch-agent-chip .ai-tag { background: var(--brand, #42309C); color: #fff; }diff --git a/ui/src/studio/styles/spaces.css b/ui/src/studio/styles/spaces.cssnew file mode 100644index 00000000..16ec2cc1--- /dev/null+++ b/ui/src/studio/styles/spaces.css@@ -0,0 +1,674 @@+/* Spaces — collaborative docs app. Document tree (in the app sidebar) ++ editor pane. Styled with the studio design system tokens. */++/* ── Document tree (app sidebar) ──────────────────────────────────────── */+.sp-ws { padding: 2px 0; }+.sp-ws-head {+ display: flex; align-items: center; gap: 6px;+ padding: 6px 12px 6px 10px;+ font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;+ color: var(--sidebar-mute); cursor: pointer; user-select: none;+}+.sp-ws-head:hover { color: #C7CCDA; }+.sp-ws-chev { display: inline-flex; opacity: .8; }+.sp-ws-chev svg { width: 13px; height: 13px; }+.sp-ws-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.sp-ws-actions { display: none; gap: 2px; }+.sp-ws-head:hover .sp-ws-actions { display: inline-flex; }++.sp-pages { display: flex; flex-direction: column; }+.sp-page { position: relative; }+.sp-page .lbl { font-size: 13px; }+.sp-page-actions {+ display: none; gap: 2px; margin-left: auto; padding-left: 4px;+}+.sp-page:hover .sp-page-actions { display: inline-flex; }++.sp-icon-btn {+ width: 22px; height: 22px; border-radius: 6px; border: none; background: none;+ display: inline-flex; align-items: center; justify-content: center;+ color: var(--sidebar-mute); cursor: pointer; padding: 0;+}+.sp-icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }+.sp-icon-btn svg { width: 13px; height: 13px; }++.sp-new-inline {+ display: flex; align-items: center; gap: 6px;+ padding: 6px 16px; font-size: 12px; color: var(--sidebar-mute);+ background: none; border: none; cursor: pointer; width: 100%;+}+.sp-new-inline:hover { color: #fff; }+.sp-new-inline svg { width: 13px; height: 13px; }++/* ── Editor pane ──────────────────────────────────────────────────────── */+.sp-editor-wrap {+ flex: 1; min-height: 0; min-width: 0;+ display: flex; flex-direction: column;+ background: var(--surface);+ overflow: hidden;+}++/* Empty state when no document is selected */+.sp-empty {+ flex: 1; display: grid; place-items: center; text-align: center; padding: 40px;+}+.sp-empty-card { max-width: 420px; padding: 40px 44px; }+.sp-empty-ic {+ width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;+ display: flex; align-items: center; justify-content: center;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C);+}+.sp-empty-ic svg { width: 26px; height: 26px; }++/* ── "+ New" asset type picker ─────────────────────────────────────────── */+.sp-picker {+ position: absolute; top: 24px; right: 0; z-index: 50; width: 180px;+ background: var(--surface); color: var(--ink);+ border: 1px solid var(--line); border-radius: 10px;+ box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 4px;+}+.sp-picker-h {+ font-size: 10px; text-transform: uppercase; letter-spacing: .06em;+ color: var(--mute); padding: 6px 8px 4px;+}+.sp-picker-item {+ display: flex; align-items: center; gap: 8px; width: 100%;+ padding: 7px 8px; border: none; background: none; cursor: pointer;+ border-radius: 7px; font-size: 13px; color: var(--ink); text-align: left;+}+.sp-picker-item:hover { background: var(--bg); }+.sp-picker-item .ic { display: inline-flex; color: var(--mute); }+.sp-picker-item .lbl { flex: 1; }+.sp-picker-item.disabled { opacity: .5; cursor: default; }+.sp-picker-item.disabled:hover { background: none; }+.sp-soon {+ font-size: 9px; text-transform: uppercase; letter-spacing: .04em;+ color: var(--mute-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 5px;+}++/* ── Graph asset view (VectorGraph-backed schema) ──────────────────────── */+.sp-graph { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; }+.sp-graph-bar {+ display: flex; align-items: center; gap: 10px; flex-shrink: 0;+ padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--surface);+}+.sp-graph-title { font-weight: 600; font-size: 13px; }+.sp-graph-meta { font-size: 11px; color: var(--mute); }+.sp-graph-bind { font-size: 11px; color: var(--mute); }+.sp-graph-body { flex: 1; min-height: 0; display: flex; }+.sp-graph-canvas { flex: 1; min-width: 0; position: relative; }+.sp-graph-rail {+ width: 320px; flex-shrink: 0; border-left: 1px solid var(--line);+ background: var(--surface); overflow: auto;+ position: relative; /* contain the absolutely-positioned .dg-detail.compact */+}+.sp-graph-msg {+ flex: 1; display: grid; place-items: center; text-align: center;+ padding: 40px; color: var(--mute);+}+.sp-graph-addtype-wrap { position: absolute; top: 12px; left: 12px; z-index: 20; }+.sp-graph-addtype { width: 240px; padding: 14px; box-shadow: 0 12px 32px rgba(15,23,42,.14); }+.sp-inst-row {+ display: flex; align-items: center; gap: 8px; padding: 6px 8px;+ border: 1px solid var(--line); border-radius: 7px; margin-bottom: 5px; background: var(--bg);+}+.sp-inst-title { flex: 1; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.sp-inst-id { font-size: 10px; color: var(--mute); }+.sp-inst-add { margin-top: 8px; padding: 10px; border: 1px dashed var(--line); border-radius: 8px; }++/* Floating explore search bar + tools (mirrors the schema pane's floating tools) */+.sp-explore-bar {+ position: absolute; top: 12px; left: 16px; right: 16px; z-index: 12;+ display: flex; align-items: center; gap: 6px; pointer-events: none;+}+.sp-explore-bar > * { pointer-events: auto; }+.sp-explore-bar .sbar { flex: 1; max-width: none; }+/* Uniform 32px control height across BOTH floating toolbars (schema tools ++ explore search) so the two bars align vertically. */+.dg-canvas-tools .pane-btn, .dg-canvas-tools .btn,+.sp-explore-bar .pane-btn, .sp-explore-bar .btn,+.sp-explore-bar .sbar { height: 32px; box-sizing: border-box; }+.dg-canvas-tools .pane-btn, .sp-explore-bar .pane-btn { width: 32px; }+.sp-explore-bar .sbar { padding-top: 0; padding-bottom: 0; }+.sp-query-msg {+ position: absolute; top: 58px; left: 16px; z-index: 12;+ background: #fff; border: 1px solid var(--line); border-radius: 7px;+ padding: 4px 10px; font-size: 12px; color: var(--mute);+ box-shadow: 0 4px 14px rgba(15,23,42,.08);+}+/* Gremlin++ result panel (table / json) over the explore canvas */+.sp-query-panel {+ position: absolute; left: 16px; right: 16px; top: 58px; bottom: 16px; z-index: 11;+ background: #fff; border: 1px solid var(--line); border-radius: 10px;+ display: flex; flex-direction: column; overflow: hidden;+ box-shadow: 0 12px 32px rgba(15,23,42,.14);+}+/* Loading skeleton — a gentle opacity pulse (subtle, not a strong moving gradient) */+.sp-skel {+ display: inline-block; border-radius: 6px;+ background: var(--line); animation: sp-pulse 1.5s ease-in-out infinite;+}+@keyframes sp-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.75; } }+.sp-skel-toolbar { position: absolute; top: 12px; left: 16px; right: 16px; display: flex; gap: 6px; z-index: 5; }+/* Tabular skeleton rows (no graph mimicry) */+.sp-skel-rows { position: absolute; top: 60px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px; }++.sp-query-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }+.sp-query-body { flex: 1; min-height: 0; overflow: auto; padding: 8px 12px; }+.sp-qtable { width: 100%; border-collapse: collapse; font-size: 12px; }+.sp-qtable th, .sp-qtable td {+ text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap;+ max-width: 320px; overflow: hidden; text-overflow: ellipsis;+}+.sp-qtable th { color: var(--mute); font-weight: 600; position: sticky; top: 0; background: #fff; }+.sp-qjson { font-size: 11px; white-space: pre-wrap; word-break: break-word; margin: 0; color: var(--ink); }+.sp-inst-exp {+ border: none; background: none; cursor: pointer; padding: 0; width: 14px;+ color: var(--mute); font-size: 11px; line-height: 1; flex-shrink: 0;+}+.sp-inst-exp:hover { color: var(--ink); }+.sp-inst-nb { margin: -2px 0 6px 18px; display: flex; flex-direction: column; gap: 3px; }+.sp-inst-nb-row {+ display: flex; align-items: center; gap: 6px; padding: 4px 8px;+ border-left: 2px solid var(--line); font-size: 12px;+}+.sp-inst-nb-arrow { color: var(--mute-2); }+.sp-inst-nb-label {+ font-size: 9px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute);+ border: 1px solid var(--line); border-radius: 999px; padding: 1px 5px;+}+.sp-inst-nb-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }++/* ── ReBAC granted-space tree (sidebar) ───────────────────────────────────── */+.sp-tree-chev {+ display: inline-flex; align-items: center; justify-content: center;+ width: 14px; flex-shrink: 0; color: var(--sidebar-mute); cursor: pointer;+}+.sp-tree-chev:hover { color: #fff; }++/* ── Flat tree rows (GitBook-style) ──────────────────────────────────────────+ Chevron on the right; sections are bold + icon-less; documents carry an icon+ that provides the only left offset. */+.sp-row { padding-right: 6px; }+/* Row icons read at full strength, the same color as the label (no fade). */+.sp-row .ic { flex-shrink: 0; opacity: 1; color: inherit; }+.sp-section .lbl { font-weight: 600; color: #C7CCDA; letter-spacing: .01em; }+.sp-section:hover .lbl { color: #fff; }+.sp-row-right {+ margin-left: auto; display: inline-flex; align-items: center; gap: 1px;+ flex-shrink: 0; padding-left: 4px;+}+.sp-chev {+ width: 20px; height: 20px; border-radius: 5px; border: none; background: none;+ display: inline-flex; align-items: center; justify-content: center;+ color: var(--sidebar-mute); cursor: pointer; padding: 0;+}+.sp-chev:hover { background: rgba(255, 255, 255, .1); color: #fff; }+.sp-chev svg { width: 13px; height: 13px; }+.sp-row .sp-ro { color: var(--sidebar-mute); display: inline-flex; align-items: center; }+.sp-empty { padding: 14px 16px; color: var(--sidebar-mute); font-size: 12px; line-height: 1.5; }++/* Hover-reveal row actions: the add-child (+) button and the … menu toggle.+ Hidden until the row is hovered (or its menu is open) — the chevron and the+ Lock / Eye badges stay visible at all times. */+.sp-row-right { position: relative; }+.sp-rowact {+ width: 20px; height: 20px; border-radius: 5px; border: none; background: none;+ display: none; align-items: center; justify-content: center;+ color: var(--sidebar-mute); cursor: pointer; padding: 0; flex-shrink: 0;+}+.sp-row:hover .sp-rowact, .sp-rowact.on { display: inline-flex; }+.sp-rowact:hover { background: rgba(255, 255, 255, .1); color: #fff; }+.sp-rowact.on { background: rgba(255, 255, 255, .12); color: #fff; }++/* The … popover (Rename / Move to… / Delete) — a light card over the dark tree,+ the same family as the Share popover. */+.sp-rowmenu {+ position: absolute; top: calc(100% + 4px); right: 0; z-index: 80; min-width: 170px;+ background: #fff; border: 1px solid var(--line); border-radius: 9px;+ box-shadow: 0 14px 34px -12px rgba(17, 24, 39, .4), 0 3px 10px -4px rgba(17, 24, 39, .2);+ padding: 4px; color: var(--ink); cursor: default;+}+.sp-rowmenu-h {+ font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;+ color: var(--mute-2); padding: 5px 8px 3px;+}+.sp-rowmenu-scroll { max-height: 220px; overflow: auto; }+.sp-rowmenu-item {+ display: flex; align-items: center; gap: 9px; width: 100%;+ padding: 7px 9px; border: 0; background: none; cursor: pointer;+ border-radius: 6px; font-size: 12.5px; color: var(--ink-2); text-align: left; font-family: inherit;+}+.sp-rowmenu-item:hover { background: var(--line-soft); color: var(--ink); }+.sp-rowmenu-item svg { flex-shrink: 0; color: var(--mute); }+.sp-rowmenu-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.sp-rowmenu-item.danger, .sp-rowmenu-item.danger svg { color: #DC2626; }+.sp-rowmenu-item.danger:hover { background: var(--hot-soft); color: #B91C1C; }+.sp-rowmenu-empty { font-size: 12px; color: var(--mute-2); padding: 6px 9px; }++/* ── Resource breadcrumb (light topbar) ───────────────────────────────────── */+/* Fill the topbar (minus the Share button on the right). Parent crumbs keep+ their natural size; the last segment (the resource name) flexes to take the+ remaining width and ellipsizes only when it actually runs out of room. */+.rb { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }+.rb a.crumb { cursor: pointer; }+.rb a.crumb:hover { color: var(--ink); text-decoration: none; }+.rb-trunc { max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+/* Parent crumbs, separators and the collapsed "…" never flex. */+.rb a.crumb.rb-trunc,+.rb .crumb-sep,+.rb-ellipsis { flex: 0 0 auto; }+/* Last crumb (always .active) is the responsive one: fill remaining, adaptive ellipsis. */+.rb .crumb.active.rb-trunc { flex: 1 1 auto; min-width: 0; max-width: none; }+.rb-ellipsis { cursor: default; letter-spacing: 1px; }++/* ── Share popover ────────────────────────────────────────────────────────── */+.share { position: relative; }+.share-trigger { display: inline-flex; align-items: center; gap: 7px; }+.share-avs { display: inline-flex; }+.share-avs .share-av { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }+.share-avs .share-av:first-child { margin-left: 0; }+.share-av {+ width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;+ display: inline-flex; align-items: center; justify-content: center;+ background: #42309C; color: #fff;+ font-size: 9.5px; font-weight: 600;+}+.share-av.team { background: #10B981; }+.share-av.lock { background: var(--line-soft); color: var(--mute); }+.share-av.inherit { background: var(--brand-soft); color: var(--brand-ink); }++.share-pop {+ position: absolute; top: calc(100% + 8px); right: 0; width: 372px;+ background: #fff; border: 1px solid var(--line); border-radius: 12px;+ box-shadow: 0 18px 48px -16px rgba(17,24,39,.3), 0 4px 12px -4px rgba(17,24,39,.12);+ padding: 14px; z-index: 70;+}+.share-pop-h { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }+.share-invite { display: flex; gap: 8px; margin-bottom: 8px; }+.share-input {+ flex: 1; min-width: 0; height: 34px; padding: 0 10px;+ border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit;+ color: var(--ink); background: var(--surface-2);+}+.share-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(94,78,190,.12); }+.share-msg { font-size: 12px; color: #B45309; background: #FEF3C7; border-radius: 7px; padding: 6px 9px; margin-bottom: 8px; }++.share-list { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; max-height: 240px; overflow: auto; }+.share-empty { font-size: 12.5px; color: var(--mute); padding: 8px 2px; }+.share-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; }+.share-row:hover { background: var(--line-soft); }+.share-id { flex: 1; min-width: 0; display: flex; flex-direction: column; }+.share-name { font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 6px; }+.share-you {+ font-size: 10px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft);+ border-radius: 999px; padding: 1px 7px;+}+.share-email { font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.share-priv { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }+.share-priv select {+ height: 28px; border: 1px solid transparent; border-radius: 7px; background: transparent;+ font-size: 12.5px; color: var(--mute); font-family: inherit; cursor: pointer; padding: 0 4px;+}+.share-priv select:hover { border-color: var(--line); color: var(--ink); }+.share-remove {+ width: 24px; height: 24px; border: 0; background: none; border-radius: 6px; cursor: pointer;+ color: var(--mute-2); display: inline-flex; align-items: center; justify-content: center;+}+.share-remove:hover { background: var(--hot-soft); color: #B91C1C; }+.share-inherited { display: flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--mute); font-size: 12px; }+/* Read-only role for an inherited grant (managed at the ancestor it came from). */+.share-priv-ro { display: inline-flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; line-height: 1.25; }+.share-ro-role { font-size: 12px; color: var(--mute); }+.share-ro-src { font-size: 10.5px; color: var(--mute-2); }++.share-general { border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 10px; }+.share-cap { font-size: 11px; font-weight: 600; color: var(--mute-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }+.share-foot { border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 10px; display: flex; justify-content: flex-end; }+.share-copy {+ display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line);+ background: #fff; border-radius: 8px; padding: 6px 12px; font-size: 12.5px; color: var(--ink-2);+ cursor: pointer; font-family: inherit;+}+.share-copy:hover { border-color: var(--mute-2); }++/* ── Spaces sidebar loading skeleton (dark) ───────────────────────────────── */+.sp-skel-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }+.sp-skel-ic, .sp-skel-bar {+ border-radius: 5px;+ background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);+ background-size: 400% 100%;+ animation: sp-skel 1.4s ease-in-out infinite;+}+.sp-skel-ic { width: 15px; height: 15px; flex-shrink: 0; border-radius: 4px; }+.sp-skel-bar { height: 9px; }+@keyframes sp-skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }+@media (prefers-reduced-motion: reduce) { .sp-skel-ic, .sp-skel-bar { animation: none; } }++/* ── Breadcrumb padding (Notion-style spacing between segments) ─────────────── */+.rb .crumb-sep { margin: 0 8px; color: var(--mute-2); }+.rb .crumb { padding: 2px 0; }+/* Headerless space tree: a little breathing room at the top of the nav. */+.side-nav.sp-tree { padding-top: 2px; }++/* ── Sidebar asset rows (leaf Document/Graph/Workflow under a folder) ─────── */+.sp-asset.active .ic { color: inherit; }++/* ── Folder (Space) landing view: README + subpages ──────────────────────── */+.folder-view {+ flex: 1; min-height: 0; overflow-y: auto;+ padding: 30px 36px 48px;+}+.folder-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }+.folder-head-ic {+ width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C);+}+.folder-title { font-size: 24px; font-weight: 650; letter-spacing: -0.01em; margin: 0; color: var(--ink); }++.folder-readme { max-width: 760px; }++/* Collaborative README landing: editor fills, Pages strip pinned below. */+.folder-view-collab { flex: 1; min-height: 0; display: flex; flex-direction: column; }+.folder-collab-editor { flex: 1; min-height: 0; display: flex; }+.folder-collab-pages {+ flex-shrink: 0; max-height: 34%; overflow-y: auto;+ border-top: 1px solid var(--line); padding: 18px 36px 24px;+}+.folder-collab-pages .folder-pages { margin-top: 0; }++.folder-pages { margin-top: 30px; max-width: 760px; }+.folder-pages-h {+ font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;+ color: var(--mute); margin: 0 0 12px;+}+.folder-empty { color: var(--mute); font-size: 13px; }+.folder-grid { display: flex; flex-direction: column; gap: 8px; }+.folder-card {+ display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;+ padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;+ background: var(--surface); color: var(--ink); cursor: pointer;+ transition: border-color .15s, background .15s, box-shadow .15s;+}+.folder-card:hover {+ border-color: var(--brand, #42309C);+ box-shadow: 0 1px 0 var(--brand-soft, #ECE9F7), 0 6px 18px -12px rgba(94,78,190, .5);+}+.folder-card-ic {+ width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;+ display: flex; align-items: center; justify-content: center;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C);+}+.folder-card-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }+.folder-card-name { font-size: 14px; font-weight: 550; color: var(--ink); }+.folder-card-kind { font-size: 11.5px; color: var(--mute); }+.folder-card-go { color: var(--mute); display: flex; }+.folder-card:hover .folder-card-go { color: var(--brand, #42309C); }++/* ── Minimal markdown (README bodies) ────────────────────────────────────── */+.md { color: var(--ink); font-size: 14.5px; line-height: 1.7; }+.md-h { font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; margin: 1.4em 0 .5em; color: var(--ink); }+.md-h:first-child { margin-top: 0; }+.md-h1 { font-size: 24px; }+.md-h2 { font-size: 19px; }+.md-h3 { font-size: 16px; }+.md-h4, .md-h5, .md-h6 { font-size: 14px; }+.md-p { margin: 0 0 .9em; }+.md-ul, .md-ol { margin: 0 0 .9em; padding-left: 1.5em; }+.md-ul li, .md-ol li { margin: .25em 0; }+.md-code {+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em;+ background: var(--brand-soft, #ECE9F7); color: var(--brand-ink, #332578);+ padding: 1px 5px; border-radius: 5px;+}+.md-pre {+ background: var(--code-bg, #0f1117); color: #e6e6e6; border-radius: 10px;+ padding: 14px 16px; overflow-x: auto; margin: 0 0 1em; font-size: 13px; line-height: 1.55;+}+.md-pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: none; color: inherit; padding: 0; }+.md-hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }+.md-quote { margin: 0 0 1em; padding: 4px 0 4px 14px; border-left: 3px solid var(--line); color: var(--mute); }+.md a { color: var(--brand, #42309C); text-decoration: none; }+.md a:hover { text-decoration: underline; }++/* ── Prev / next page links (GitBook-style), at the foot of a resource ─────── */+.sp-pn {+ display: flex;+ gap: 16px;+ /* Balanced: the content's own bottom padding (~28px) + this small top margin+ reads about even with the bottom margin below the cards. */+ margin: 12px var(--content-inline-padding, 68px) 40px;+}+.sp-pn-card {+ flex: 1;+ min-width: 0;+ display: flex;+ align-items: center;+ justify-content: space-between; /* text hugs the outer edge; chevron the inner */+ gap: 14px;+ padding: 14px 18px;+ border: 1px solid var(--line);+ border-radius: 10px;+ background: #fff;+ cursor: pointer;+ color: var(--ink);+ transition: border-color .14s ease, box-shadow .14s ease;+}+.sp-pn-card:hover { border-color: var(--brand, #42309C); box-shadow: 0 2px 12px -5px rgba(94,78,190, .35); }+.sp-pn-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }+.sp-pn-prev .sp-pn-body { align-items: flex-end; text-align: right; } /* Previous: text right-aligned */+.sp-pn-next .sp-pn-body { align-items: flex-start; text-align: left; } /* Next: text left-aligned */+.sp-pn-dir { font-size: 13px; color: var(--mute); }+.sp-pn-name { font-size: 15px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }+.sp-pn-card svg { color: var(--mute-2); flex-shrink: 0; }+.sp-pn-card:hover svg { color: var(--brand, #42309C); }++/* ── Pinned app header + filter at the top of the Spaces sidebar ───────────── */+.app-side { display: flex; flex-direction: column; min-height: 0; }+.app-side .sp-tree { flex: 1; min-height: 0; }+.sp-head { flex-shrink: 0; padding: 14px 12px 8px; }+.sp-head-title { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.01em; padding: 0 4px 12px; }+.sp-search {+ display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px;+ background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);+ border-radius: 9px; color: var(--sidebar-mute);+}+.sp-search:focus-within { border-color: rgba(183, 172, 255, .55); background: rgba(255, 255, 255, .09); }+.sp-search-input { flex: 1; min-width: 0; border: none; background: none; outline: none; color: #E6E9F2; font-size: 13px; }+.sp-search-input::placeholder { color: var(--sidebar-mute); }+.sp-search-clear {+ border: none; background: none; cursor: pointer; color: var(--sidebar-mute);+ display: flex; align-items: center; padding: 2px; border-radius: 4px;+}+.sp-search-clear:hover { color: #fff; background: rgba(255, 255, 255, .1); }++/* ── Empty space → add-resource grid ──────────────────────────────────────── */+.sp-es { padding: 52px 68px; max-width: 820px; overflow-y: auto; }+.sp-es-title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }+.sp-es-sub { font-size: 14px; color: var(--mute); margin: 0 0 26px; }+.sp-es-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }+.sp-es-card {+ display: flex; flex-direction: column; align-items: flex-start; gap: 5px;+ padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;+ cursor: pointer; text-align: left; transition: border-color .14s ease, box-shadow .14s ease;+}+.sp-es-card:hover { border-color: var(--brand, #42309C); box-shadow: 0 2px 12px -5px rgba(94,78,190, .35); }+.sp-es-ic {+ width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;+ background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C); margin-bottom: 6px;+}+.sp-es-name { font-size: 15px; font-weight: 600; color: var(--ink); }+.sp-es-desc { font-size: 12.5px; color: var(--mute); }++/* ── Drive (网盘) view — folder + file browser inside a Space ───────────────── */+.dv { padding: 22px 28px 40px; max-width: 920px; width: 100%; margin: 0 auto; }+.dv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }+.dv-count { font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 7px; }+.dv-dot { color: var(--line); }+.dv-muted { color: var(--mute-2); }+.dv-actions { display: flex; align-items: center; gap: 8px; }+.dv-btn {+ display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; cursor: pointer;+ border: 1px solid var(--line); border-radius: 8px; background: #fff; font-family: inherit;+ font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color .12s, background .12s;+}+.dv-btn:hover { border-color: #C9C9D6; background: var(--line-soft, #F2F2F6); }+.dv-btn.primary { background: var(--brand, #42309C); border-color: var(--brand, #42309C); color: #fff; }+.dv-btn.primary:hover { background: var(--brand-ink, #332578); }+.dv-btn:disabled { opacity: .6; cursor: default; }+.dv-err { font-size: 12.5px; color: #C0392B; background: #FDECEC; border: 1px solid #F6C9C5; border-radius: 8px; padding: 7px 11px; margin-bottom: 12px; }++.dv-drop {+ width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;+ padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg, #F7F8FB);+ color: var(--mute); cursor: pointer; font-family: inherit; transition: border-color .12s, background .12s;+}+.dv-drop:hover:not(:disabled) { border-color: var(--brand, #42309C); background: var(--brand-50, #F5F4FA); color: var(--brand-ink, #332578); }+.dv-drop:disabled { cursor: default; }+.dv-drop svg { color: var(--mute-2); }+.dv-drop:hover:not(:disabled) svg { color: var(--brand, #42309C); }+.dv-drop-1 { font-size: 14px; font-weight: 600; color: var(--ink-2); }+.dv-drop-2 { font-size: 12.5px; color: var(--mute); }++.dv-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }+.dv-row {+ display: flex; align-items: center; gap: 0; background: #fff; border-bottom: 1px solid var(--line-soft, #EFF1F4);+ font-family: inherit; text-align: left;+}+.dv-row:last-child { border-bottom: 0; }+.dv-row:hover { background: #FAFAFC; }+.dv-row.folder { border: 0; border-bottom: 1px solid var(--line-soft, #EFF1F4); cursor: pointer; padding: 0; width: 100%; }+.dv-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 11px 14px; text-decoration: none; color: inherit; }+.dv-row.folder { gap: 11px; padding: 11px 14px; }+.dv-ico {+ width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: inline-flex; align-items: center;+ justify-content: center; background: #EEF1F5; color: #5A6472;+}+.dv-ico.tone-folder { background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C); }+.dv-ico.tone-red { background: #FDEBEC; color: #D8373F; }+.dv-ico.tone-green { background: #E5F3EC; color: #1F845A; }+.dv-ico.tone-amber { background: #FBF0D7; color: #A66B00; }+.dv-ico.tone-violet { background: #F1ECFF; color: #7C5CFF; }+.dv-ico.tone-pink { background: #FBEAF3; color: #C4357F; }+.dv-ico.tone-indigo { background: #E9EEFC; color: #3E63DD; }+.dv-ico.tone-slate { background: #EEF1F5; color: #5A6472; }+.dv-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.dv-sub { font-size: 12px; color: var(--mute); flex-shrink: 0; }+.dv-act { color: var(--mute-2); padding-right: 14px; }+.dv-rowacts { display: flex; align-items: center; gap: 2px; padding-right: 10px; opacity: 0; transition: opacity .1s; }+.dv-row:hover .dv-rowacts { opacity: 1; }+.dv-iconbtn { width: 30px; height: 30px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; }+.dv-iconbtn:hover { background: var(--line-soft, #F2F2F6); color: var(--ink); }+.dv-iconbtn.danger:hover { background: #FDECEC; color: #C0392B; }++/* Drive folder file-count badge in the sidebar tree (a populated folder reads as+ non-empty even though individual files aren't listed in the tree). */+.sp-count {+ font-size: 10.5px; font-weight: 600; color: var(--sidebar-mute); flex-shrink: 0;+ padding: 0 6px; height: 16px; line-height: 16px; border-radius: 8px; background: rgba(255,255,255,.07);+}++/* "Load more" pager at the foot of a long file list. */+.dv-more {+ display: flex; flex-direction: column; align-items: center; gap: 1px; width: 100%;+ padding: 12px; border: 0; border-top: 1px solid var(--line-soft, #EFF1F4); background: #fff;+ cursor: pointer; font-family: inherit; transition: background .12s;+}+.dv-more:hover { background: var(--brand-50, #F5F4FA); }+.dv-more-main { font-size: 13px; font-weight: 600; color: var(--brand, #42309C); }+.dv-more-sub { font-size: 11.5px; color: var(--mute); }++/* ── Folder browser — unified card-grid view for any folder (scrollable) ────── */+.fb { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }+.fb-toolbar { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 16px 24px 10px; }+.fb-search { flex: 1; max-width: 440px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--mute); background: #fff; }+.fb-search:focus-within { border-color: #A3A6B3; }+.fb-search-input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-family: inherit; font-size: 13.5px; color: var(--ink); }+.fb-search-clear { border: 0; background: none; cursor: pointer; color: var(--mute); display: inline-flex; }+.fb-sort { position: relative; }+.fb-sort-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); }+.fb-sort-btn:hover { border-color: #C9C9D6; }+.fb-sort-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 20; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 36px -12px rgba(17,24,39,.34); padding: 5px; }+.fb-sort-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px; border: 0; background: none; border-radius: 7px; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--ink-2); }+.fb-sort-item:hover { background: var(--line-soft, #F2F2F6); }+.fb-sort-item.active { color: var(--brand, #42309C); font-weight: 600; }+.fb-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }+.fb-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; cursor: pointer; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); }+.fb-btn:hover { border-color: #C9C9D6; background: var(--line-soft, #F2F2F6); }+.fb-btn.primary { background: var(--brand, #42309C); border-color: var(--brand, #42309C); color: #fff; }+.fb-btn.primary:hover { background: var(--brand-ink, #332578); }+.fb-btn:disabled { opacity: .6; cursor: default; }+.fb-meta { flex-shrink: 0; padding: 0 24px 8px; font-size: 12.5px; color: var(--mute); }+.fb-err { flex-shrink: 0; margin: 0 24px 8px; font-size: 12.5px; color: #C0392B; background: #FDECEC; border: 1px solid #F6C9C5; border-radius: 8px; padding: 7px 11px; }+.fb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 24px 32px; }+.fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }+.fb-card { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .12s, box-shadow .12s; min-width: 0; }+.fb-card:hover { border-color: #D5D7DE; box-shadow: 0 2px 10px -3px rgba(17,24,39,.1); }+.fb-ic { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #EEF1F5; color: #5A6472; }+.fb-ic.tone-folder { background: var(--brand-soft, #ECE9F7); color: var(--brand, #42309C); }+.fb-ic.tone-blue { background: #E7F0FA; color: #2674BA; }+.fb-ic.tone-violet { background: #F1ECFF; color: #7C5CFF; }+.fb-ic.tone-amber { background: #FBF0D7; color: #A66B00; }+.fb-ic.tone-red { background: #FDEBEC; color: #D8373F; }+.fb-ic.tone-green { background: #E5F3EC; color: #1F845A; }+.fb-ic.tone-pink { background: #FBEAF3; color: #C4357F; }+.fb-ic.tone-indigo { background: #E9EEFC; color: #3E63DD; }+.fb-ic.tone-slate { background: #EEF1F5; color: #5A6472; }+.fb-card-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }+.fb-card-name { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.fb-card-sub { font-size: 11.5px; color: var(--mute); }+.fb-card-chev { color: var(--mute-2); flex-shrink: 0; }+/* Hover actions overlay the right edge (absolute) so they never reserve width+ from the filename when hidden — that was truncating every "pubmed26n0001…" to+ the same "pubmed26n0…". */+.fb-card-acts {+ position: absolute; top: 50%; right: 8px; transform: translateY(-50%);+ display: flex; align-items: center; gap: 1px; opacity: 0; transition: opacity .1s;+ background: #fff; border-radius: 8px; padding-left: 12px;+ box-shadow: -14px 0 12px -6px #fff;+}+.fb-card:hover .fb-card-acts { opacity: 1; }+.fb-iconbtn { width: 28px; height: 28px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }+.fb-iconbtn:hover { background: var(--line-soft, #F2F2F6); color: var(--ink); }+.fb-iconbtn.danger:hover { background: #FDECEC; color: #C0392B; }+.fb-more { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 100%; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--brand, #42309C); }+.fb-more:hover { background: var(--brand-50, #F5F4FA); }+.fb-more-sub { font-size: 11.5px; font-weight: 500; color: var(--mute); }+.fb-drop { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg, #F7F8FB); color: var(--mute); cursor: pointer; font-family: inherit; }+.fb-drop:hover:not(:disabled) { border-color: var(--brand, #42309C); background: var(--brand-50, #F5F4FA); color: var(--brand-ink, #332578); }+.fb-drop-1 { font-size: 14px; font-weight: 600; color: var(--ink-2); }+.fb-drop-2 { font-size: 12.5px; color: var(--mute); }+.fb-empty { padding: 48px; text-align: center; color: var(--mute); font-size: 13px; }++/* ── File content preview ─────────────────────────────────────────────────── */+.fp { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }+.fp-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 24px; border-bottom: 1px solid var(--line); }+.fp-title { min-width: 0; display: flex; flex-direction: column; gap: 1px; }+.fp-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.fp-meta { font-size: 12px; color: var(--mute); }+.fp-dl { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; flex-shrink: 0; }+.fp-dl:hover { border-color: #C9C9D6; background: var(--line-soft, #F2F2F6); }+.fp-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }+.fp-status { display: flex; align-items: center; gap: 9px; padding: 24px; color: var(--mute); font-size: 13px; }+.fp-status a { color: var(--brand, #42309C); font-weight: 600; }+.fp-status.fp-err { color: #C0392B; }+.fp-spin { width: 15px; height: 15px; border: 2px solid var(--line); border-top-color: var(--brand, #42309C); border-radius: 50%; animation: fp-spin .7s linear infinite; }+@keyframes fp-spin { to { transform: rotate(360deg); } }+.fp-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 0; }+.fp-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }+.fp-media { max-width: 100%; max-height: 78vh; border-radius: 8px; background: #000; }+.fp-audio { width: min(560px, 90%); }+.fp-pdf { flex: 1; width: 100%; border: 0; min-height: 0; }+.fp-text { flex: 1; margin: 0; padding: 18px 24px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }+.fp-archive { padding: 12px 24px 32px; }+.fp-archive-head { font-size: 12.5px; font-weight: 600; color: var(--mute); margin-bottom: 8px; }+.fp-entry { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; font-size: 13px; color: var(--ink-2); }+.fp-entry:hover { background: var(--line-soft, #F2F2F6); }+.fp-entry svg { color: var(--mute); flex-shrink: 0; }+.fp-entry-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.fp-entry-size { font-size: 11.5px; color: var(--mute); flex-shrink: 0; }++/* "N more — open folder" row at the bottom of a capped file list in the tree. */+.sp-more-row .lbl { font-size: 12px; color: var(--sidebar-mute); font-weight: 500; font-style: italic; }+.sp-more-row:hover .lbl { color: #C7CCDA; }diff --git a/ui/src/studio/styles/tasks.css b/ui/src/studio/styles/tasks.cssnew file mode 100644index 00000000..d9dd5f80--- /dev/null+++ b/ui/src/studio/styles/tasks.css@@ -0,0 +1,301 @@+/* Tasks app — Linear-grade. Flat iris (#42309C) on studio tokens. */++.tk-root { display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0; background: var(--bg); }+.tk-embed { position: relative; height: 100%; min-height: 0; }+.tk-embed .tk-root { height: 100%; }++/* ── sidebar header (name only, matches Chat/Calendar) ─────────────────── */+.tk-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px; flex-shrink: 0; }+.tk-head-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; }+.tk-side-top { padding: 4px 14px 6px; }+.tk-side-new { width: 100%; height: 38px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }+.tk-side-empty { padding: 8px 16px; color: var(--sidebar-mute); font-size: 12px; }+/* Match the Spaces tree: the highlight spans the FULL width of the bar. These are+ <button>s, which shrink to content, so force full width; the active background ++ left accent then come from the shared .side-link.active base. */+.tk-side .side-link { width: 100%; box-sizing: border-box; text-align: left; }++/* ── toolbar ───────────────────────────────────────────────────────────── */+.tk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;+ padding: 12px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; min-height: 56px; }+.tk-toolbar-l { display: flex; align-items: baseline; gap: 8px; min-width: 0; }+.tk-title { font-size: 15px; font-weight: 650; color: var(--ink); }+.tk-count { font-size: 12px; color: var(--mute); font-weight: 500; }+.tk-toolbar-r { display: flex; align-items: center; gap: 10px; }+/* Segmented toggle — matches the Calendar Day/Week/Month switch (.cal-viewswitch). */+.tk-viewtoggle { display: inline-flex; align-items: center; background: var(--line-soft); border-radius: var(--r-input); padding: 2px; }+.tk-vt { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--mute);+ font-size: 12px; font-weight: 600; padding: 0 12px; height: 26px; border-radius: 6px; cursor: pointer; }+.tk-vt.on { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }+.tk-vt:hover:not(.on) { color: var(--ink-2); }+.tk-new { display: inline-flex; align-items: center; gap: 6px; height: 34px; }++/* surface owns the scroll; min-height/width:0 = clean single scrollbar (no half bar) */+.tk-surface { flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; display: flex; }++/* ── Kanban board ──────────────────────────────────────────────────────── */+.tk-board { flex: 1 1 auto; min-height: 0; min-width: 0; display: flex; gap: 12px;+ padding: 16px 20px 8px; align-items: flex-start; overflow-x: auto; overflow-y: hidden; }+.tk-col { width: 300px; flex: 0 0 300px; max-height: 100%; display: flex; flex-direction: column;+ background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); }+.tk-col.is-over { outline: 2px solid var(--brand); outline-offset: -1px; }+.tk-col.col-dragging { opacity: .5; }+.tk-col-head { display: flex; align-items: center; gap: 7px; padding: 11px 10px 8px; flex-shrink: 0; cursor: grab; }+.tk-col-head:active { cursor: grabbing; }+.tk-col-name { font-size: 13px; font-weight: 650; color: var(--ink); }+.tk-col-count { font-size: 12px; color: var(--mute); }+/* Always visible so the stage settings (rename / color / delete) + new-task buttons+ are discoverable without hovering. */+.tk-col-actions { margin-left: auto; display: flex; gap: 2px; }+.tk-col-btn { border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 3px; border-radius: 6px; display: inline-flex; }+.tk-col-btn:hover { background: var(--surface); color: var(--ink); }+.tk-col-body { display: flex; flex-direction: column; gap: 8px; padding: 2px 8px 10px; overflow-y: auto; min-height: 24px; }+.tk-col-newcard { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; background: transparent;+ color: var(--mute); font-size: 12.5px; padding: 8px; border-radius: 8px; cursor: pointer; opacity: 0; transition: opacity .12s; }+.tk-col:hover .tk-col-newcard { opacity: 1; }+.tk-col-newcard:hover { background: var(--surface); color: var(--ink); }+.tk-addstage { flex: 0 0 auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;+ border: 1px dashed var(--line); background: transparent; color: var(--mute); font-size: 12.5px; font-weight: 550;+ padding: 8px 14px; border-radius: 10px; cursor: pointer; }+.tk-addstage:hover { color: var(--brand); border-color: var(--brand); }++/* per-stage settings popover: rename + recolor + delete */+.tk-stage-edit { display: flex; flex-direction: column; gap: 10px; padding: 4px 2px; }+.tk-stage-name { border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; font-size: 13px; font-weight: 600;+ background: var(--surface); color: var(--ink); width: 100%; }+.tk-stage-name:focus { outline: none; border-color: var(--brand); }+.tk-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 0 2px; }+.tk-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }+.tk-swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }+.tk-stage-del { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--hot, #EB5757);+ font-size: 13px; font-weight: 550; padding: 7px 8px; border-radius: 7px; cursor: pointer; }+.tk-stage-del:hover { background: rgba(235, 87, 87, .1); }+.tk-stage-note { font-size: 12px; color: var(--mute); line-height: 1.4; padding: 4px 2px 2px; }++/* Loading skeletons (shown while switching views, so no stale flash). */+.tk-skel-line { display: inline-block; height: 10px; border-radius: 5px; background: var(--surface-2, #EEF0F4); animation: tk-pulse 1.3s infinite; }+.tk-skel-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2, #EEF0F4); animation: tk-pulse 1.3s infinite; flex-shrink: 0; }+.tk-skel-card { display: flex; flex-direction: column; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 13px 11px; }+.tk-skel-row { display: flex; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line-soft, #F0F1F4); }+.tk-skel .tk-col-head { gap: 8px; }+.tk-skel .tk-lgroup-head { gap: 8px; }+.tk-title-skel { display: inline-block; width: 128px; height: 18px; border-radius: 6px; background: var(--surface-2, #EEF0F4); animation: tk-pulse 1.3s infinite; }++/* Label picker: shared registry options + create */+.tk-label-opts { display: flex; flex-direction: column; gap: 1px; margin-top: 6px; max-height: 200px; overflow-y: auto; }+.tk-label-opt { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent;+ padding: 7px 8px; border-radius: 7px; font-size: 13px; color: var(--ink); cursor: pointer; text-align: left; }+.tk-label-opt:hover { background: var(--surface-2); }+.tk-label-opt.create { color: var(--brand); font-weight: 550; }+.tk-label-opt .tk-label-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }++/* Comment replies */+.tk-comment-reply-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none;+ color: var(--mute); font-size: 12px; cursor: pointer; padding: 3px 0; margin-top: 2px; }+.tk-comment-reply-btn:hover { color: var(--brand); }+.tk-reply { margin-top: 8px; margin-left: 2px; padding-left: 12px; border-left: 2px solid var(--line); }+.tk-reply-box { display: flex; align-items: center; gap: 6px; margin-top: 8px; }+.tk-reply-box input { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px;+ font: inherit; font-size: 13px; background: var(--surface); color: var(--ink); outline: none; }+.tk-reply-box input:focus { border-color: var(--brand); }+.tk-send.sm { width: 26px; height: 26px; }++/* Sidebar custom boards (saved filters) */+.side-cap-add { border: 0; background: transparent; color: var(--sidebar-mute); cursor: pointer; display: inline-flex; padding: 2px; border-radius: 5px; }+.side-cap-add:hover { color: #fff; background: rgba(255,255,255,.08); }+.tk-board-row { cursor: pointer; }+.tk-board-acts { margin-left: auto; display: flex; gap: 1px; opacity: 0; transition: opacity .12s; }+.tk-board-row:hover .tk-board-acts, .tk-board-row.active .tk-board-acts { opacity: 1; }+.tk-board-act { border: 0; background: transparent; color: var(--sidebar-mute); cursor: pointer; padding: 3px; border-radius: 5px; display: inline-flex; }+.tk-board-act:hover { color: #fff; background: rgba(255,255,255,.14); }+.tk-board-empty { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; color: var(--sidebar-mute); font-size: 13px; padding: 7px 16px; cursor: pointer; }+.tk-board-empty:hover { color: #fff; }++/* Board builder modal (saved-filter editor) */+.tk-bb { max-height: 88vh; overflow-y: auto; }+.tk-bb-hint { font-size: 12.5px; color: var(--mute); margin: 2px 0 14px; line-height: 1.5; }+.tk-bb-sec { margin-bottom: 14px; }+.tk-bb-label { font-size: 11px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px; display: block; }+.tk-bb-opts { display: flex; flex-wrap: wrap; gap: 6px; }+.tk-bb-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);+ color: var(--ink); border-radius: 999px; padding: 5px 11px 5px 7px; font-size: 12.5px; cursor: pointer; }+.tk-bb-chip:hover { background: var(--surface-2); }+.tk-bb-chip.on { border-color: var(--brand); background: var(--brand-soft, #ECE9F7); color: var(--brand); font-weight: 550; }+.tk-bb-chip .tk-label-dot { width: 9px; height: 9px; border-radius: 50%; }+.tk-bb-empty { font-size: 12.5px; color: var(--mute); }+.tk-bb-dates { display: flex; gap: 16px; }+.tk-bb-dates label { display: flex; flex-direction: column; gap: 6px; }+.tk-bb-dates input { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; color: var(--ink); background: var(--surface); }+.tk-bb-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; padding-top: 12px; }++.tk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px 8px;+ cursor: pointer; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-1); transition: border-color .12s, box-shadow .12s; }+.tk-card:hover { border-color: #C9C2EE; box-shadow: var(--shadow-2); }+.tk-card.is-dragging { opacity: .35; }+.tk-card-parent { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--mute);+ font-family: var(--mono); letter-spacing: .02em; margin-bottom: -1px; }+.tk-card-parent svg { flex-shrink: 0; opacity: .8; }+.tk-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }+.tk-card-key { font-size: 11px; color: var(--mute); font-family: var(--mono); letter-spacing: .02em; }+.tk-card-main { display: flex; align-items: flex-start; gap: 8px; }+.tk-card-title { font-size: 13.5px; line-height: 1.4; color: var(--ink); font-weight: 500; }+.tk-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }+.tk-card-foot { font-size: 11px; color: var(--mute); margin-top: 1px; }++/* ── List view ─────────────────────────────────────────────────────────── */+.tk-list { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; padding-bottom: 40px; }+.tk-lgroup { }+.tk-lgroup-head { display: flex; align-items: center; gap: 8px; padding: 8px 20px; background: var(--surface-2);+ position: sticky; top: 0; z-index: 1; }+.tk-lgroup-name { font-size: 12.5px; font-weight: 650; color: var(--ink); }+.tk-lgroup-count { font-size: 12px; color: var(--mute); }+.tk-lgroup-add { margin-left: auto; border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 3px; border-radius: 6px; opacity: 0; }+.tk-lgroup-head:hover .tk-lgroup-add { opacity: 1; }+.tk-lgroup-add:hover { background: var(--surface); color: var(--ink); }+.tk-lgroup-empty { padding: 8px 20px 8px 44px; font-size: 12.5px; color: var(--mute); }+.tk-lrow { display: flex; align-items: center; gap: 10px; padding: 9px 20px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }+.tk-lrow:hover { background: var(--surface-2); }+.tk-lrow-prio { width: 16px; display: inline-flex; justify-content: center; flex-shrink: 0; }+.tk-lrow-key { font-size: 11.5px; color: var(--mute); font-family: var(--mono); min-width: 52px; flex-shrink: 0; }+.tk-lrow-title { flex: 1; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.tk-lrow-sub { display: inline-flex; vertical-align: middle; margin-right: 5px; color: var(--mute); }+.tk-lrow-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }+.tk-lrow-date { font-size: 12px; color: var(--mute); min-width: 48px; text-align: right; }+.tk-lrow-noav { width: 20px; height: 20px; }++/* ── atoms ─────────────────────────────────────────────────────────────── */+.tk-sicon { flex-shrink: 0; display: block; }+.tk-av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 650; flex-shrink: 0; aspect-ratio: 1; overflow: hidden; }+.tk-av.ai { border-radius: 6px; }+.tk-av-img { object-fit: cover; }+.tk-av-stack { display: inline-flex; }+.tk-av-stack .tk-av { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }+.tk-av-stack .tk-av:first-child { margin-left: 0; }+.tk-av-more { background: var(--mute-2); color: var(--ink-2); font-size: 10px; }+.tk-prio { display: inline-flex; align-items: center; gap: 4px; }+.tk-prio-none { color: var(--mute); }+.tk-prio-lbl { font-size: 12.5px; color: var(--ink-2); }+.tk-label { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-2);+ background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 8px; }+.tk-label-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lc, var(--mute)); }+.tk-label-x { border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 0 0 0 2px; font-size: 13px; }++/* ── controls (pickers + popovers) ─────────────────────────────────────── */+.tk-pop-wrap { position: relative; display: inline-flex; }+.tk-pop { position: absolute; top: calc(100% + 4px); z-index: 60; background: var(--surface); border: 1px solid var(--line);+ border-radius: 10px; box-shadow: var(--shadow-2); padding: 5px; min-width: 180px; }+.tk-pop-left { left: 0; } .tk-pop-right { right: 0; }+.tk-ctl-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);+ color: var(--ink-2); font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); cursor: pointer; }+.tk-ctl-pill:hover { border-color: var(--brand); }+.tk-ctl-bare { border: 0; background: transparent; cursor: pointer; padding: 2px; display: inline-flex; border-radius: 6px; }+.tk-ctl-bare:hover { background: var(--surface-2); }+.tk-menu { display: flex; flex-direction: column; gap: 1px; }+.tk-menu-scroll { max-height: 280px; overflow-y: auto; }+.tk-menu-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 0; background: transparent;+ border-radius: 7px; cursor: pointer; font-size: 13px; color: var(--ink); text-align: left; width: 100%; }+.tk-menu-item:hover { background: var(--surface-2); }+.tk-menu-item.on { color: var(--brand-ink); }+.tk-menu-name { flex: 1; min-width: 0; }+.tk-menu-check { width: 14px; display: inline-flex; color: var(--brand); flex-shrink: 0; }+.tk-menu-empty { padding: 8px; font-size: 12.5px; color: var(--mute); }+/* AI-agent tag uses the shared .ai-tag (page.css) */+.tk-mini-more { font-size: 10px; color: var(--mute); }+.tk-assign-add { width: 22px; height: 22px; border-radius: 50%; border: 1px dashed var(--line); background: var(--surface-2);+ color: var(--mute); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }+.tk-assign-add:hover { border-color: var(--brand); color: var(--brand); }+.tk-label-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }+.tk-label-in { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-size: 13px; background: var(--surface); color: var(--ink); }+.tk-label-in:focus { outline: none; border-color: var(--brand); }++/* ── create modal ──────────────────────────────────────────────────────── */+.tk-modal-back { position: fixed; inset: 0; background: rgba(20, 18, 40, .42); z-index: 200;+ display: flex; align-items: flex-start; justify-content: center; padding: 10vh 24px 24px; }+.tk-embed .tk-modal-back { position: absolute; padding: 24px; align-items: center; }+.tk-cm { width: min(680px, 96%); background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-2); padding: 18px 20px 14px; }+.tk-cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }+.tk-cm-crumb { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--mute); font-weight: 500; }+.tk-cm-x { border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 4px; border-radius: 6px; }+.tk-cm-x:hover { background: var(--surface-2); color: var(--ink); }+.tk-cm-title { width: 100%; border: 0; font-size: 19px; font-weight: 650; color: var(--ink); background: transparent; padding: 6px 0; }+.tk-cm-title:focus { outline: none; }+.tk-cm-props { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 14px; }+.tk-cm-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }+.tk-cm-hint { font-size: 11.5px; color: var(--mute); }+.tk-cm-foot-r { display: flex; gap: 8px; }++/* ── detail ────────────────────────────────────────────────────────────── */+.tk-detail { height: 100%; min-height: 0; display: flex; flex-direction: column; background: var(--surface); }+.tk-detail.is-modal { border-radius: 14px; overflow: hidden; }+.tk-detail-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }+.tk-detail-bar-title { font-weight: 600; color: var(--ink); flex: 1; }+.tk-detail-x { border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 4px; border-radius: 6px; }+.tk-detail-x:hover { background: var(--surface-2); color: var(--ink); }+.tk-detail-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; }+.tk-detail-main { min-width: 0; overflow-y: auto; padding: 26px 32px 48px; }+.tk-detail-keyline { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mute); font-family: var(--mono); margin-bottom: 6px; }+.tk-detail-title { width: 100%; border: 0; font-size: 24px; font-weight: 680; color: var(--ink); background: transparent; padding: 0 0 4px; line-height: 1.25; }+.tk-detail-title:focus { outline: none; }+.tk-ext-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--brand); margin-bottom: 6px; }+/* body editor — bounded height so the editor renders; overflow visible so the slash menu isn't clipped */+.tk-detail-body { min-height: 60px; margin: 8px 0 12px; overflow: visible; }+.tk-body-skel { height: 120px; border-radius: 10px; background: var(--surface-2); animation: tk-pulse 1.3s infinite; }+@keyframes tk-pulse { 0%, 100% { opacity: .6 } 50% { opacity: 1 } }++/* reuse the doc editor but: hide its CONTENTS/TOC (#6), un-clip the slash menu (#7),+ remove the reading-width indentation so content is FULL WIDTH (#38), and let it GROW+ with content with no inner scroll/max-height (#42). className 'tk-md' is forwarded onto+ the editor root .shell; CSS-modules hash inner classes → target them structurally. */+.tk-md { overflow: visible !important; height: auto !important; --content-inline-padding: 0px !important; }+.tk-md aside { display: none !important; }+.tk-md [class*="layout"] { grid-template-columns: 1fr !important; gap: 0 !important; height: auto !important; }+.tk-md [class*="main"] { grid-column: 1 / -1 !important; max-width: 100% !important; }+.tk-md [class*="editorSurface"] { height: auto !important; max-height: none !important; overflow: visible !important; flex: 0 0 auto !important; padding-right: 0 !important; }+.tk-md [class*="header"] { display: none !important; }+/* full-width content has no left gutter → hide the block add/drag handles that would+ otherwise overlap the text (slash menu + Enter still add blocks). */+.tk-md [class*="rowControls"] { display: none !important; }++.tk-section { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }+.tk-section-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 12px; }+.tk-section-count { color: var(--mute); font-weight: 500; }+.tk-sub-row { display: flex; align-items: center; gap: 9px; padding: 7px 8px; margin: 0 -8px; border-radius: 7px;+ border-bottom: 1px solid var(--line-soft); cursor: pointer; transition: background .12s; }+.tk-sub-row:hover { background: var(--surface-2); }+.tk-sub-key { font-size: 11px; color: var(--mute); font-family: var(--mono); }+.tk-sub-title { flex: 1; font-size: 13px; color: var(--ink); }+.tk-sub-add { display: flex; align-items: center; gap: 8px; padding: 9px 2px; color: var(--mute); }+.tk-sub-add input { flex: 1; border: 0; background: transparent; font-size: 13px; color: var(--ink); }+.tk-sub-add input:focus { outline: none; }+.tk-sub-add input::placeholder { color: var(--mute); }++.tk-timeline { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }+.tk-act { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mute); padding-left: 9px; }+.tk-act-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); flex-shrink: 0; }+.tk-act-text { color: var(--ink-2); }+.tk-act-when { margin-left: auto; font-size: 11.5px; }+.tk-comment { display: flex; gap: 10px; }+.tk-comment-body { flex: 1; }+.tk-comment-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }+.tk-comment-meta b { font-size: 13px; color: var(--ink); font-weight: 600; }+.tk-comment-meta span { font-size: 11.5px; color: var(--mute); }+.tk-comment-text { font-size: 13.5px; color: var(--ink); line-height: 1.5; white-space: pre-wrap; }+.tk-composer-c { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }+.tk-composer-box { flex: 1; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px 6px 12px; background: var(--surface); }+.tk-composer-box:focus-within { border-color: var(--brand); }+.tk-composer-box textarea { flex: 1; border: 0; resize: none; font: inherit; font-size: 13.5px; background: transparent; color: var(--ink); max-height: none; overflow: hidden; line-height: 1.5; padding: 3px 0; display: block; }+.tk-composer-box textarea:focus { outline: none; }+.tk-send { width: 28px; height: 28px; border-radius: 8px; border: 0; background: var(--brand); color: #fff; cursor: pointer;+ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }+.tk-send:disabled { background: var(--mute-2); color: var(--surface); cursor: default; }++.tk-detail-side { border-left: 1px solid var(--line); padding: 24px 18px; overflow-y: auto; overflow-x: hidden; background: var(--surface); }+.tk-prop { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }+.tk-prop-k { font-size: 11px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }+.tk-prop-v { display: flex; }+.tk-side-assignees { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }+.tk-muted { color: var(--mute); font-size: 12.5px; }+.tk-key { font-size: 12px; color: var(--mute); font-family: var(--mono); }+.tk-back { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 550; cursor: pointer; }+.tk-back:hover { color: var(--brand); }+.tk-modal { width: min(960px, 96%); height: min(86%, 760px); background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-2); overflow: hidden; }diff --git a/ui/src/studio/styles/tokens.css b/ui/src/studio/styles/tokens.cssnew file mode 100644index 00000000..1fcf4839--- /dev/null+++ b/ui/src/studio/styles/tokens.css@@ -0,0 +1,170 @@+/* HarnessRouter app tokens — unified with the marketing landing (paper + accent blue #285AFF). */+:root {+ --brand: #285AFF;+ --brand-ink: #1641D8;+ --brand-soft: #E1E9FF;+ --brand-50: #EFF3FF;+ --accent-bright: #58A9FF;++ --hot: #EF4444;+ --hot-soft: #FEE4E4;+ --warm: #F59E0B;+ --warm-soft: #FEF1D6;+ --cold: #94A3B8;+ --cold-soft: #EEF1F5;+ --ok: #10B981;+ --ok-soft: #DFF6EC;+ --info: #0EA5E9;+ --info-soft: #DCF1FB;++ --bg: #EDEEF2;+ --surface: #FFFFFF;+ --surface-2: #F5F7FB;+ --sidebar: #1F2433;+ --sidebar-2: #2A3145;+ --sidebar-mute: #5B5D66;+ --sidebar-active: #285AFF;++ --ink: #111317;+ --ink-2: #3A3D45;+ --mute: #5B5D66;+ --mute-2: #8A8D96;+ --line: #DDDFE6;+ --line-soft: #E9EAEF;++ --r-card: 12px;+ --r-input: 8px;+ --r-pill: 999px;++ --shadow-1: 0 1px 2px rgba(17,24,39,.04), 0 1px 1px rgba(17,24,39,.03);+ --shadow-2: 0 8px 24px -12px rgba(17,24,39,.12), 0 2px 6px -2px rgba(17,24,39,.06);++ --font: var(--font-ibm-sans), "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;+ --mono: var(--font-ibm-mono), "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;+ --font-display: var(--font-grotesk), var(--font-ibm-sans), "IBM Plex Sans", system-ui, sans-serif;+}++* { box-sizing: border-box; }+html, body { margin:0; padding:0; }+body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }++.num { font-variant-numeric: tabular-nums; }+.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }++/* Pill / chip */+.pill {+ display:inline-flex; align-items:center; gap:6px;+ height:22px; padding: 0 8px; border-radius: var(--r-pill);+ font-size: 12px; line-height: 1; font-weight: 500;+ background: var(--line-soft); color: var(--ink-2);+ border: 1px solid transparent;+}+.pill .dot { width:6px; height:6px; border-radius: 999px; background: currentColor; }+.pill.hot { background: var(--hot-soft); color: #B91C1C; }+.pill.warm { background: var(--warm-soft); color: #92400E; }+.pill.cold { background: var(--cold-soft); color: #475569; }+.pill.ok { background: var(--ok-soft); color: #047857; }+.pill.info { background: var(--info-soft); color: #075985; }+.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }++/* Buttons */+.btn {+ display: inline-flex; align-items: center; gap: 6px;+ height: 32px; padding: 0 12px; border-radius: var(--r-input);+ font-size: 13px; font-weight: 500; color: var(--ink-2);+ background: #fff; border: 1px solid var(--line); cursor: pointer;+ font-family: inherit;+ white-space: nowrap;+}+.btn:hover { border-color: #CBD0DA; }+.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }+.btn.primary:hover { background: var(--brand-ink); }+.btn.ghost { background: transparent; border-color: transparent; color: var(--mute); }+.btn.ghost:hover { background: var(--line-soft); color: var(--ink-2); }+.btn.sm { height: 26px; padding: 0 8px; font-size: 12px; }+.btn.lg { height: 38px; padding: 0 16px; font-size: 14px; }+/* Disabled state: drop opacity, swap cursor, AND override the :hover+ rules above so a disabled primary doesn't darken to brand-ink on+ mouseover (which made it look interactive even when blocked). */+.btn:disabled,+.btn[disabled] {+ opacity: .5;+ cursor: not-allowed;+ pointer-events: none;+}+.btn:disabled:hover,+.btn[disabled]:hover {+ border-color: var(--line);+}+.btn.primary:disabled,+.btn.primary[disabled] {+ background: var(--brand);+ border-color: var(--brand);+}++/* Inputs */+.input, .select, .textarea {+ width:100%; font-family: inherit; font-size: 13px; color: var(--ink);+ background: #fff; border: 1px solid var(--line); border-radius: var(--r-input);+ padding: 8px 10px;+}+.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(40,90,255,.14); }+.input.sm { padding: 6px 8px; font-size: 12px; }++/* Card */+.card {+ background: var(--surface);+ border: 1px solid var(--line);+ border-radius: var(--r-card);+ box-shadow: var(--shadow-1);+}+.card-h { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); display:flex; align-items:center; justify-content:space-between; gap:8px; }+.card-h h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }+.card-h .sub { color: var(--mute); font-size: 12px; margin-top: 2px; }++/* Intent dots */+.intent-dot { width: 8px; height: 8px; border-radius: 999px; display:inline-block; }+.intent-dot.hot { background: var(--hot); }+.intent-dot.warm { background: var(--warm); }+.intent-dot.cold { background: var(--cold); }+.intent-dot.new { background: var(--mute-2); }++/* Avatar circle */+.av {+ width: 32px; height: 32px; border-radius: 999px;+ background: var(--brand);+ color: #fff; font-size: 12px; font-weight: 600;+ display:inline-flex; align-items:center; justify-content:center;+ flex-shrink: 0;+}+.av.sm { width: 24px; height: 24px; font-size: 10px; }+.av.lg { width: 40px; height: 40px; font-size: 14px; }+.av.client { background: #F59E0B; }+.av.ai { background: #10B981; }+.av.me { background: #3B82F6; }++/* Striped placeholder backdrop */+.placeholder-stripe {+ background-image: repeating-linear-gradient(135deg, #EEF1F5 0 8px, #F7F8FB 8px 16px);+ border-radius: 8px;+}++/* Generic divider line */+.hr { height: 1px; background: var(--line-soft); margin: 12px 0; border: 0; }++/* Tabs */+.tabs { display:flex; gap: 18px; border-bottom: 1px solid var(--line); padding: 0 4px; }+.tab { padding: 10px 2px; font-size: 13px; color: var(--mute); cursor: pointer; border-bottom: 2px solid transparent; }+.tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }++/* Stat number scale */+.stat-num { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }+.stat-lbl { font-size: 12px; color: var(--mute); }++/* Mini sparkline placeholder */+.sparkline { height: 28px; width: 100%; }++/* Scrollbars (used inside artboards) */+.scroll::-webkit-scrollbar { width: 8px; height: 8px; }+.scroll::-webkit-scrollbar-thumb { background: #D7DBE3; border-radius: 999px; }+.scroll::-webkit-scrollbar-track { background: transparent; }diff --git a/ui/src/studio/styles/traces.css b/ui/src/studio/styles/traces.cssnew file mode 100644index 00000000..1cd018b9--- /dev/null+++ b/ui/src/studio/styles/traces.css@@ -0,0 +1,180 @@+/* Traces app — agent run trace viewer. Left session-history rail + right timeline/steps/detail.+ Aligned to the studio deep-iris tokens (var(--brand) #42309C …); role colors re-skinned. */++/* ── per-role accent palette (dots / badges / timeline segments) ── */+.tr-side, .tr-main {+ --r-user: #285AFF; --r-agent: #2563EB; --r-tool: #64748B; --r-bash: #334155;+ --r-write: #B45309; --r-thinking: #7C6FB0; --r-result: #15803D; --r-toolresult: #64748B;+ --r-error: #DC2626; --r-system: #94A3B8;+}++/* ── LEFT RAIL ── */+.tr-side { display: flex; flex-direction: column; min-height: 0; background: var(--sidebar-2); }+.tr-head { padding: 14px 14px 8px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }+.tr-head-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; }+.tr-search {+ display: flex; align-items: center; gap: 8px; margin: 0 12px 8px;+ height: 32px; padding: 0 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);+ border-radius: 9px; color: var(--sidebar-mute); flex-shrink: 0;+}+.tr-search:focus-within { border-color: rgba(183,172,255,.55); background: rgba(255,255,255,.09); }+.tr-search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 13px; color: #E5E7EB; font-family: inherit; }+.tr-search input::placeholder { color: var(--sidebar-mute); }+.tr-list { flex: 1; min-height: 0; overflow: auto; padding: 0 8px 8px; }+.tr-empty { padding: 18px 12px; color: var(--sidebar-mute); font-size: 13px; }++/* session cards — dark rail (light-surface tokens are wrong here) */+.tr-card {+ display: block; width: 100%; text-align: left; cursor: pointer;+ padding: 10px 11px; margin: 4px 0; border: 1px solid transparent; border-radius: 10px;+ background: transparent; transition: background .12s ease;+}+.tr-card:hover { background: rgba(255,255,255,.05); }+.tr-card:focus, .tr-card:focus-visible { outline: none; }+.tr-card.active { background: rgba(255,255,255,.09); }+/* row 1: the user question (2-line clamp); row 2: time (left) + harness + status badges (right) */+.tr-card-q { font-size: 13px; font-weight: 600; color: #E5E7EB; line-height: 1.4;+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }+.tr-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }+.tr-card-ago { font-size: 11px; color: var(--sidebar-mute); }+.tr-card-badges { display: flex; align-items: center; gap: 6px; }+.tr-card-be { font-size: 10.5px; font-weight: 600; color: #C9C2EE; background: rgba(255,255,255,.08);+ padding: 1.5px 8px; border-radius: 999px; text-transform: capitalize; letter-spacing: .01em; }++.tr-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 12px; border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }+.tr-pg { font-size: 12px; color: #C9C2EE; background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; padding: 4px 9px; cursor: pointer; }+.tr-pg:hover:not(:disabled) { background: rgba(255,255,255,.06); }+.tr-pg:disabled { color: var(--sidebar-mute); cursor: default; opacity: .45; }+.tr-pg-lbl { font-size: 11px; color: var(--sidebar-mute); }++/* ── STATUS PILLS ── */+/* base pill carries a neutral chip so ANY status (incl. ones we didn't special-case) reads as a+ styled badge, never an unstyled bare word */+.tr-pill { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; text-transform: capitalize;+ color: #C9C2EE; background: rgba(255,255,255,.10); }+.tr-done, .tr-completed { color: #15803D; background: #DCFCE7; }+.tr-running, .tr-starting, .tr-in_progress { color: #1D4ED8; background: #DBEAFE; }+.tr-failed, .tr-timeout, .tr-error { color: #B91C1C; background: #FEE2E2; }+.tr-max_turns, .tr-incomplete { color: #B45309; background: #FEF3C7; }++/* ── RIGHT PANE ── */+.tr-main { display: flex; min-height: 0; height: 100%; }+.tr-blank { align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }+.tr-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; }+.tr-mhead { padding: 18px 22px 12px; border-bottom: 1px solid var(--line-soft); }+.tr-mtitle { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }+.tr-mmeta { display: flex; align-items: center; gap: 7px; margin-top: 9px; flex-wrap: wrap; }+.tr-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2);+ background: var(--surface-2); border: 1px solid var(--line); padding: 2.5px 9px; border-radius: 999px; white-space: nowrap; }+.tr-tag svg { color: var(--muted); }++/* timeline — main lane + one stacked lane per subagent, segments coloured by kind */+.tr-strips { margin: 14px 22px 8px; display: flex; flex-direction: column; gap: 3px; }+.tr-strip { position: relative; height: 18px; background: #EEF0F4; border-radius: 5px; overflow: hidden; }+.tr-strip.lane { height: 13px; }+.tr-seg { position: absolute; top: 2px; bottom: 2px; border-radius: 2px; cursor: pointer; opacity: .85; min-width: 3px; }+.tr-seg:hover, .tr-seg.hot { opacity: 1; top: 1px; bottom: 1px; box-shadow: 0 0 0 1px #fff; }+/* idle / waiting gap between events — hatched, behind the segments */+.tr-seg-idle { position: absolute; top: 0; bottom: 0; pointer-events: none;+ background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(110,120,140,.12) 5px 10px); }++/* COMPACT event list — one clean line per event (pill | name/param or message | tokens · dur · clock) */+.tr-rows { flex: 1; min-height: 0; overflow: auto; padding: 4px 0 40px; }+.tr-row { display: flex; align-items: center; gap: 12px; padding: 7px 22px; cursor: pointer; border-left: 2px solid transparent; }+.tr-row:hover, .tr-row.hot { background: var(--surface-2); }+.tr-row.active { background: var(--brand-50); border-left-color: var(--brand); }+.tr-row.sub { padding-left: 40px; }+.tr-badge { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 46px; font-size: 11px; font-weight: 600;+ padding: 2px 9px; border-radius: 999px; line-height: 1.5; letter-spacing: .01em; }+.tr-row-main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 9px; overflow: hidden; white-space: nowrap; }+.tr-tname { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--ink); }+.tr-tparam { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; color: var(--muted);+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.tr-rmsg { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--ink-2); }+.tr-errbadge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600;+ color: #B91C1C; background: #FEE2E2; padding: 1px 7px; border-radius: 999px; }+.tr-row-stats { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }+.tr-stat { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted);+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.tr-stat svg { color: #B6BDC9; }+.tr-rts { font-size: 11.5px; color: #9AA3B2; min-width: 58px; text-align: right;+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }++/* "Session idle" boundary between turns (hatched band, centered label) */+.tr-idle { display: flex; align-items: center; justify-content: center; height: 26px; margin: 8px 22px;+ background: repeating-linear-gradient(45deg, #F7F8FB 0 7px, #EEF0F4 7px 14px); border-radius: 7px; }+.tr-idle span { font-size: 11px; color: var(--muted); font-weight: 500; }++/* detail-pane content blocks (NOT shown inline in the list anymore) */+.tr-text { font-size: 13px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.55; word-break: break-word; }+.tr-text.italic { font-style: italic; color: var(--muted); }+.tr-bash { background: #0F1A2B; color: #E2E8F0; padding: 9px 11px; border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.tr-code { background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--ink-2); padding: 9px 11px; border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.55; }+.tr-code.err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }+.tr-json { background: var(--surface-2); border: 1px solid var(--line-soft); padding: 10px 12px; border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.55; color: var(--ink-2); }+.tr-json .j-key { color: #B45309; } .tr-json .j-str { color: #2563EB; } .tr-json .j-num { color: #15803D; } .tr-json .j-bool { color: #9333EA; }+.tr-tooldetail + .tr-tooldetail { margin-top: 16px; border-top: 1px solid var(--line-soft); padding-top: 12px; }+.tr-tool-sep { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }++.tr-subgroup { margin-top: 6px; }+.tr-sub-boundary { display: flex; align-items: center; gap: 6px; margin: 8px 22px 2px; padding: 4px 10px;+ font-size: 11.5px; font-weight: 600; color: #0F766E; background: #CCFBF1; border-radius: 7px; }++/* role pills (badge bg+text) + timeline segments + detail header pill */+.tr-seg.tr-user { background: var(--r-user); } .tr-badge.tr-user { color: #6D28D9; background: #EDE9FE; }+.tr-seg.tr-agent { background: var(--r-agent); } .tr-badge.tr-agent { color: #1D4ED8; background: #DBEAFE; }+.tr-seg.tr-tool { background: var(--r-tool); } .tr-badge.tr-tool { color: #475569; background: #EEF2F6; }+.tr-seg.tr-bash { background: var(--r-bash); } .tr-badge.tr-bash { color: #E2E8F0; background: #334155; }+.tr-seg.tr-write { background: var(--r-write); } .tr-badge.tr-write { color: #B45309; background: #FEF3C7; }+.tr-seg.tr-thinking { background: var(--r-thinking); } .tr-badge.tr-thinking { color: #6D5BA6; background: #F1EEFA; }+.tr-seg.tr-result { background: var(--r-result); } .tr-badge.tr-result { color: #15803D; background: #DCFCE7; }+.tr-seg.tr-toolresult { background: var(--r-toolresult); } .tr-badge.tr-toolresult { color: #475569; background: #EEF2F6; }+.tr-seg.tr-error { background: var(--r-error); } .tr-badge.tr-error { color: #B91C1C; background: #FEE2E2; }+.tr-seg.tr-system { background: var(--r-system); } .tr-badge.tr-system { color: #64748B; background: #F1F5F9; }++/* detail panel (click a step / segment) */+.tr-detail { width: 440px; flex: 0 0 440px; border-left: 1px solid var(--line); overflow: auto; padding: 18px 20px 40px; background: #fff; }+.tr-detail-head { display: flex; align-items: center; gap: 9px; }+.tr-detail-title { font-size: 14px; font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }+.tr-detail-head .tr-x { margin-left: auto; }+.tr-x { border: 0; background: transparent; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 7px; display: inline-flex; }+.tr-x:hover { background: var(--surface-2); color: var(--ink); }+.tr-detail-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); }+.tr-detail-sub { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); word-break: break-word; line-height: 1.5;+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+.tr-detail-cap { margin-top: 16px; margin-bottom: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }+/* rendered markdown content in the detail pane */+.tr-md { font-size: 13.5px; color: var(--ink); line-height: 1.6; word-break: break-word; }+.tr-md h1, .tr-md h2 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; color: var(--ink); }+.tr-md h3 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }+.tr-md p { margin: 8px 0; }+.tr-md ul, .tr-md ol { margin: 8px 0; padding-left: 20px; }+.tr-md li { margin: 3px 0; }+.tr-md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line-soft); padding: 1px 5px; border-radius: 5px; }+.tr-md pre, .tr-md .md-pre { background: var(--surface-2); border: 1px solid var(--line-soft); color: #1E293B; padding: 10px 12px; border-radius: 8px; overflow-x: auto; }+.tr-md pre code, .tr-md .md-pre code { background: none; border: 0; padding: 0; color: inherit; }+.tr-md strong { font-weight: 700; }+.tr-md table { border-collapse: collapse; margin: 10px 0; font-size: 12.5px; display: block; overflow-x: auto; }+.tr-md th, .tr-md td { border: 1px solid var(--line-soft); padding: 5px 9px; text-align: left; }+.tr-md th { background: var(--surface-2); font-weight: 700; }+.tr-md a { color: var(--brand, #42309C); text-decoration: underline; }+.tr-md blockquote { margin: 8px 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--line-soft); color: var(--ink-2, #475569); }+.tr-md ul li::marker { color: var(--ink-2, #475569); }+.tr-md a { color: var(--brand); text-decoration: none; }+@media (max-width: 1200px) { .tr-detail { width: 340px; flex-basis: 340px; } }++/* draggable divider between the event list and the detail pane */+.tr-vresize { flex: 0 0 7px; align-self: stretch; cursor: col-resize; background: transparent; }+.tr-vresize:hover { background: var(--brand-soft, rgba(110,85,255,.18)); }++/* loading skeleton for a session transcript */+@keyframes tr-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }+.tr-skel { background: linear-gradient(90deg, #EEF0F4 25%, #F6F7FA 37%, #EEF0F4 63%); background-size: 800px 100%;+ animation: tr-shimmer 1.3s ease-in-out infinite; border-radius: 6px; }+.tr-skel-title { height: 20px; width: 46%; margin: 18px 22px 0; }+.tr-skel-pill { height: 20px; width: 84px; border-radius: 999px; }+.tr-mhead .tr-mmeta { margin-left: 22px; }+.tr-skel-strip { height: 18px; border-radius: 5px; }+.tr-skel-rowline { display: flex; align-items: center; gap: 12px; padding: 9px 22px; }+.tr-skel-badge { height: 18px; width: 46px; border-radius: 999px; flex: 0 0 auto; }+.tr-skel-line { height: 12px; }diff --git a/ui/src/studio/traces/TracesMain.jsx b/ui/src/studio/traces/TracesMain.jsxnew file mode 100644index 00000000..200a7225--- /dev/null+++ b/ui/src/studio/traces/TracesMain.jsx@@ -0,0 +1,296 @@+'use client';+import { useEffect, useMemo, useRef, useState } from 'react';+import { IconByName } from '@/studio/lib/iconCatalog.jsx';+import { Markdown } from '@/studio/lib/markdown.jsx';+import { tracesApi } from './api';+import { flatten, lanes, fmtK } from './flatten';+import { useTraces } from './store';++const clip = (s, n) => (s && s.length > n ? s.slice(0, n) + '…' : s || '');+const PILL = { user: 'User', agent: 'Agent', tool: 'Tool', result: 'Result', thinking: 'Thinking', system: 'System' };+const IDLE_GAP = 20; // seconds between events that counts as a "Session idle" boundary++// H:MM:SS offset from session start+const fmtClock = (s) => {+ if (s == null || !isFinite(s)) return '';+ const t = Math.max(0, Math.round(s));+ return `${Math.floor(t / 3600)}:${String(Math.floor((t % 3600) / 60)).padStart(2, '0')}:${String(t % 60).padStart(2, '0')}`;+};+const fmtDur = (sec) => {+ if (sec == null) return '';+ const s = Number(sec);+ if (s < 1) return `${Math.round(s * 1000)}ms`;+ if (s < 60) return `${s.toFixed(1)}s`;+ return `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;+};+const fmtAgo = (sec) => {+ if (!sec) return '';+ const d = Math.max(0, Date.now() / 1000 - Number(sec));+ if (d < 60) return `${Math.floor(d)}s ago`;+ if (d < 3600) return `${Math.floor(d / 60)}m ago`;+ if (d < 86400) return `${Math.floor(d / 3600)}h ago`;+ return `${Math.floor(d / 86400)}d ago`;+};+const fmtTok = (t) => (t ? `${fmtK(t.in)} / ${fmtK(t.out)}` : '');++// thin proportional timeline; one segment per event coloured by kind, plus a cursor at the end+function Strip({ rows, t0, span, hover, setHover, onJump, lane }) {+ if (!rows.length || !span) return <div className={'tr-strip' + (lane ? ' lane' : '')} />;+ const segs = [];+ rows.forEach((r, k) => {+ const left = ((r.ts - t0) / span) * 100;+ const dur = r.kind === 'tool' && r.dur ? r.dur : 0; // bar = tool execution; messages = thin tick+ const w = Math.max(0.5, (dur / span) * 100);+ segs.push(+ <span key={`s${r.i}`} className={`tr-seg tr-${r.kind}` + (hover === r.i ? ' hot' : '')}+ style={{ left: `${left}%`, width: `${w}%` }}+ title={`${PILL[r.kind] || r.kind} +${(r.ts - t0).toFixed(1)}s${dur ? ` · ${fmtDur(dur)}` : ''}`}+ onMouseEnter={() => setHover(r.i)} onMouseLeave={() => setHover(null)}+ onClick={() => onJump(r.i)} />+ );+ if (k + 1 < rows.length) { // gap to next event = waiting time+ const g = rows[k + 1].ts - r.ts;+ if (g > IDLE_GAP) segs.push(+ <span key={`i${r.i}`} className="tr-seg-idle"+ style={{ left: `${left + w}%`, width: `${Math.max(0.5, (g / span) * 100 - w)}%` }} />);+ }+ });+ return <div className={'tr-strip' + (lane ? ' lane' : '')}>{segs}</div>;+}++// one clean line per event: pill | (tool name bold + lighter param | message text) … | tokens | dur | clock+function Row({ r, t0, active, hover, setHover, onOpen }) {+ const rel = r.ts != null && t0 != null ? fmtClock(r.ts - t0) : '';+ return (+ <div id={`tr-step-${r.i}`}+ className={'tr-row' + (active ? ' active' : '') + (hover === r.i ? ' hot' : '') + (r.sub ? ' sub' : '')}+ onMouseEnter={() => setHover(r.i)} onMouseLeave={() => setHover(null)}+ onClick={() => onOpen(r)}>+ <span className={`tr-badge tr-${r.kind}`}>{PILL[r.kind] || r.kind}</span>+ <span className="tr-row-main">+ {r.kind === 'tool'+ ? <><span className="tr-tname">{r.label}</span>{r.param && <span className="tr-tparam">{clip(r.param, 90)}</span>}</>+ : <span className="tr-rmsg">{clip(r.text, 140)}</span>}+ </span>+ {r.is_error && <span className="tr-errbadge"><IconByName name="XCircle" size={12} /> Error</span>}+ <span className="tr-row-stats">+ {r.tokens && (r.tokens.in != null || r.tokens.out != null) && <span className="tr-stat"><IconByName name="Database" size={12} />{fmtTok(r.tokens)}</span>}+ {r.dur != null && <span className="tr-stat"><IconByName name="Timer" size={12} />{fmtDur(r.dur)}</span>}+ {rel && <span className="tr-rts">{rel}</span>}+ </span>+ </div>+ );+}++function JsonBlock({ obj }) {+ let s; try { s = JSON.stringify(obj, null, 2); } catch { s = String(obj); }+ const parts = []; const re = /("(?:[^"\\]|\\.)*")(\s*:)?|(-?\b\d+(?:\.\d+)?\b)|(\btrue\b|\bfalse\b|\bnull\b)/g;+ let last = 0; let m; let i = 0;+ while ((m = re.exec(s)) !== null) {+ if (m.index > last) parts.push(s.slice(last, m.index));+ if (m[1]) {+ if (m[2]) { parts.push(<span key={i++} className="j-key">{m[1]}</span>); parts.push(m[2]); }+ else parts.push(<span key={i++} className="j-str">{m[1]}</span>);+ } else if (m[3]) parts.push(<span key={i++} className="j-num">{m[3]}</span>);+ else if (m[4]) parts.push(<span key={i++} className="j-bool">{m[4]}</span>);+ last = m.index + m[0].length;+ }+ if (last < s.length) parts.push(s.slice(last));+ return <pre className="tr-json">{parts}</pre>;+}++// Skeleton shown while a session's transcript loads — no stale rows, no placeholder text.+function TraceSkeleton() {+ return (+ <>+ <div className="tr-mhead">+ <div className="tr-skel tr-skel-title" />+ <div className="tr-mmeta">+ <div className="tr-skel tr-skel-pill" /><div className="tr-skel tr-skel-pill" /><div className="tr-skel tr-skel-pill" />+ </div>+ </div>+ <div className="tr-strips"><div className="tr-skel tr-skel-strip" /></div>+ <div className="tr-rows">+ {Array.from({ length: 8 }).map((_, i) => (+ <div key={i} className="tr-skel-rowline">+ <div className="tr-skel tr-skel-badge" />+ <div className="tr-skel tr-skel-line" style={{ width: `${38 + ((i * 11) % 48)}%` }} />+ </div>+ ))}+ </div>+ </>+ );+}++function Detail({ r, t0, width, onClose, loadingFull }) {+ if (!r) return null;+ const id = r.tool_use_id ? String(r.tool_use_id).slice(0, 18) : `step ${r.i + 1}`;+ const rel = r.ts != null && t0 != null ? fmtClock(r.ts - t0) : '';+ const sub = [id, rel, r.dur != null ? fmtDur(r.dur) : ''].filter(Boolean).join(' · ');+ const isMsg = r.kind === 'agent' || r.kind === 'user' || r.kind === 'result' || r.kind === 'thinking';+ return (+ <div className="tr-detail" style={width ? { width, flex: `0 0 ${width}px` } : undefined}>+ <div className="tr-detail-head">+ <span className={`tr-badge tr-${r.kind}`}>{PILL[r.kind] || r.kind}</span>+ <span className="tr-detail-title">{r.kind === 'tool' ? r.label : 'Message'}</span>+ {r.is_error && <span className="tr-errbadge"><IconByName name="XCircle" size={12} /> Error</span>}+ <button className="tr-x" onClick={onClose} aria-label="Close"><IconByName name="X" size={16} /></button>+ </div>+ <div className="tr-detail-id">{sub}</div>+ {loadingFull && <div className="tr-detail-loading">Loading full content…</div>}+ {isMsg && (<>+ <div className="tr-detail-cap">Content</div>+ {r.md ? <Markdown text={r.text} className="tr-md" /> : <div className={'tr-text' + (r.kind === 'thinking' ? ' italic' : '')}>{r.text}</div>}+ </>)}+ {r.kind === 'tool' && (r.tools || []).map((t, k) => (+ <div key={k} className="tr-tooldetail">+ {r.tools.length > 1 && <div className="tr-tool-sep">{t.name}</div>}+ <div className="tr-detail-cap">Tool use</div>+ <JsonBlock obj={t.input} />+ {t.result != null && <>+ <div className="tr-detail-cap">Tool result</div>+ <pre className={'tr-code' + (t.is_error ? ' err' : '')}>{clip(t.result, 6000)}</pre>+ </>}+ </div>+ ))}+ </div>+ );+}++function IdleBoundary({ secs }) {+ return <div className="tr-idle"><span>Session idle · {fmtDur(secs)}</span></div>;+}++export default function TracesMain() {+ const { selected } = useTraces();+ const [manifest, setManifest] = useState(null);+ const [rows, setRows] = useState([]);+ const [loading, setLoading] = useState(false);+ const [hover, setHover] = useState(null);+ const [sel, setSel] = useState(null);+ // Lazy full transcript: the timeline loads a COMPACT transcript (long strings truncated) so even a+ // 30 MB trace renders instantly. The first time a clipped event is opened we fetch the full+ // (un-clipped) transcript once; its flatten() rows align positionally, so full[r.i] is r's full text.+ const [full, setFull] = useState(null);+ const [loadingFull, setLoadingFull] = useState(false);+ const [detailW, setDetailW] = useState(440);+ const startDetailResize = (e) => {+ e.preventDefault();+ const sx = e.clientX, base = detailW;+ document.body.classList.add('hr-resizing');+ const move = (ev) => setDetailW(Math.min(900, Math.max(300, base - (ev.clientX - sx))));+ const up = () => { window.removeEventListener('mousemove', move); window.removeEventListener('mouseup', up); document.body.style.cursor = ''; document.body.classList.remove('hr-resizing'); };+ window.addEventListener('mousemove', move); window.addEventListener('mouseup', up); document.body.style.cursor = 'col-resize';+ };+ const scrollRef = useRef(null);++ useEffect(() => {+ if (!selected) { setManifest(null); setRows([]); setSel(null); setFull(null); return; }+ let live = true;+ let timer = null;+ setLoading(true); setSel(null); setRows([]); setManifest(null); setFull(null); // drop the prior session's data while loading+ const isRunning = (m) => { const s = m?.status; return !s || s === 'running' || s === 'starting' || s === 'in_progress'; };+ const load = async (first) => {+ try {+ const m = await tracesApi.manifest(selected).catch(() => null);+ if (!live) return;+ if (m) setManifest(m);+ // /all?compact=1 now returns ALL chunks flushed so far (incl. a still-running turn), so each+ // poll grows the live transcript.+ const evs = await tracesApi.events(selected, (m && m.chunks) || []);+ if (!live) return;+ setRows(flatten(evs));+ if (first) setLoading(false);+ // Live-tail a running session: re-load on an interval until it reaches a terminal state.+ if (isRunning(m)) { timer = setTimeout(() => load(false), 2500); }+ } catch { if (live && first) { setManifest(null); setRows([]); setLoading(false); } }+ };+ load(true);+ return () => { live = false; if (timer) clearTimeout(timer); };+ }, [selected]);++ // When a clipped event is opened, fetch the full (un-clipped) transcript once and cache it.+ useEffect(() => {+ if (!sel || !sel.clipped || full || loadingFull || !selected) return;+ let live = true;+ setLoadingFull(true);+ (async () => {+ try {+ const evs = await tracesApi.fullEvents(selected);+ if (live) setFull(flatten(evs));+ } catch { /* keep the clipped preview if the full fetch fails */ }+ if (live) setLoadingFull(false);+ })();+ return () => { live = false; };+ }, [sel, full, loadingFull, selected]);++ const { main, subs } = useMemo(() => lanes(rows), [rows]);+ const tsAll = rows.map((r) => r.ts).filter((x) => x != null);+ const t0 = tsAll.length ? Math.min(...tsAll) : 0;+ const t1 = tsAll.length ? Math.max(...tsAll) : 0;+ const span = t1 - t0 || 1;++ const jump = (i) => { const el = document.getElementById(`tr-step-${i}`); if (el) el.scrollIntoView({ behavior: 'smooth', block: 'center' }); };++ if (!selected) return <div className="tr-main tr-blank">Select a session to view its trace.</div>;+ if (loading) return <div className="tr-main"><div className="tr-pane"><TraceSkeleton /></div></div>;++ return (+ <div className={'tr-main' + (sel ? ' with-detail' : '')}>+ <div className="tr-pane">+ <div className="tr-mhead">+ <div className="tr-mtitle">{manifest?.title || selected}</div>+ <div className="tr-mmeta">+ {manifest?.status && <span className={`tr-pill tr-${manifest.status}`}>{manifest.status}</span>}+ {manifest?.backend && <span className="tr-tag"><IconByName name="Cpu" size={13} />{manifest.backend}</span>}+ {manifest?.model && <span className="tr-tag"><IconByName name="Box" size={13} />{manifest.model}</span>}+ <span className="tr-tag"><IconByName name="ListTree" size={13} />{rows.length} events</span>+ {manifest?.elapsed != null && <span className="tr-tag"><IconByName name="Timer" size={13} />{fmtDur(manifest.elapsed)}</span>}+ {manifest?.finished_at && <span className="tr-tag"><IconByName name="Clock" size={13} />{fmtAgo(manifest.finished_at)}</span>}+ </div>+ </div>+ <div className="tr-strips">+ <Strip rows={main} t0={t0} span={span} hover={hover} setHover={setHover} onJump={jump} />+ {[...subs.entries()].map(([id, lane]) => (+ <Strip key={id} rows={lane} t0={t0} span={span} hover={hover} setHover={setHover} onJump={jump} lane />+ ))}+ </div>+ <div className="tr-rows scroll" ref={scrollRef}>+ {loading && <div className="tr-empty">Loading transcript…</div>}+ {!loading && !rows.length && <div className="tr-empty">No events recorded.</div>}+ {(() => {+ const shownSubs = new Set();+ const subGroup = (id) => (+ <div className="tr-subgroup">+ <div className="tr-sub-boundary"><IconByName name="GitBranch" size={13} /> Subagent · {String(id).slice(0, 14)}</div>+ {subs.get(id).map((r) => <Row key={r.i} r={r} t0={t0} active={sel?.i === r.i} hover={hover} setHover={setHover} onOpen={setSel} />)}+ </div>+ );+ const els = main.map((r, k) => {+ const prev = main[k - 1];+ const gap = prev && r.ts != null && prev.ts != null ? r.ts - prev.ts : 0;+ // the Task tool that spawned a subagent -> nest that subagent's events right here+ const subId = r.kind === 'tool' ? (r.tools || []).map((t) => t.id).find((id) => subs.has(id)) : null;+ if (subId) shownSubs.add(subId);+ return (+ <div key={r.i}>+ {gap > IDLE_GAP && <IdleBoundary secs={gap} />}+ <Row r={r} t0={t0} active={sel?.i === r.i} hover={hover} setHover={setHover} onOpen={setSel} />+ {subId && subGroup(subId)}+ </div>+ );+ });+ // any subagents whose parent tool we couldn't match -> append at the end+ const orphans = [...subs.keys()].filter((id) => !shownSubs.has(id))+ .map((id) => <div key={`orphan-${id}`}>{subGroup(id)}</div>);+ return [...els, ...orphans];+ })()}+ </div>+ </div>+ {sel && <div className="tr-vresize" onMouseDown={startDetailResize} title="Drag to resize" />}+ {sel && <Detail r={(sel.clipped && full && full[sel.i]) ? full[sel.i] : sel}+ loadingFull={sel.clipped && !full && loadingFull}+ t0={t0} width={detailW} onClose={() => setSel(null)} />}+ </div>+ );+}diff --git a/ui/src/studio/traces/TracesPage.jsx b/ui/src/studio/traces/TracesPage.jsxnew file mode 100644index 00000000..58357698--- /dev/null+++ b/ui/src/studio/traces/TracesPage.jsx@@ -0,0 +1,8 @@+'use client';+import TracesMain from './TracesMain.jsx';++// Standalone dock Traces app. The left rail (TracesSidebar, rendered by OsShell) selects a+// session into the shared store; TracesMain renders that session's timeline + steps + detail.+export default function TracesPage() {+ return <TracesMain />;+}diff --git a/ui/src/studio/traces/TracesSidebar.jsx b/ui/src/studio/traces/TracesSidebar.jsxnew file mode 100644index 00000000..09d2fdc2--- /dev/null+++ b/ui/src/studio/traces/TracesSidebar.jsx@@ -0,0 +1,97 @@+'use client';+import { useEffect, useRef, useState } from 'react';+import { IconByName } from '@/studio/lib/iconCatalog.jsx';+import { tracesApi } from './api';+import { traceStore, useTraces } from './store';++const PAGE = 25;++function relTime(sec) {+ if (!sec) return '';+ const d = Math.max(0, Date.now() / 1000 - Number(sec));+ if (d < 60) return `${Math.floor(d)}s ago`;+ if (d < 3600) return `${Math.floor(d / 60)}m ago`;+ if (d < 86400) return `${Math.floor(d / 3600)}h ago`;+ return `${Math.floor(d / 86400)}d ago`;+}+const shortId = (s) => (s || '').replace(/^hsess/, '').slice(0, 10);++function StatusPill({ status }) {+ const s = status || 'done';+ return <span className={`tr-pill tr-${s}`}>{s}</span>;+}++export function TracesSidebar() {+ const { selected } = useTraces();+ const [cards, setCards] = useState([]);+ const [q, setQ] = useState('');+ const [loading, setLoading] = useState(true);+ const [cursor, setCursor] = useState(''); // next-page token from the API+ const [stack, setStack] = useState([]); // cursors of previous pages (for Prev)+ const [page, setPage] = useState(0);+ const cur = useRef(''); // cursor used to load the current page++ async function load(c) {+ setLoading(true);+ try {+ const r = await tracesApi.list({ limit: PAGE, cursor: c || '' });+ const list = r.sessions || [];+ setCards(list);+ setCursor(r.cursor || '');+ cur.current = c || '';+ // auto-select the first session of THIS list when nothing valid is selected (the store's+ // selection is global, so on entering a harness it may hold another harness's stale session).+ const sel = traceStore.get().selected;+ if (!sel || !list.some((s) => s.session_id === sel)) traceStore.select(list[0]?.session_id || null);+ } catch { setCards([]); setCursor(''); }+ setLoading(false);+ }+ useEffect(() => { load(''); /* first page */ }, []); // eslint-disable-line react-hooks/exhaustive-deps+ // light auto-refresh of the first page so new/running sessions appear+ useEffect(() => {+ if (page !== 0) return undefined;+ const t = setInterval(() => load(''), 8000);+ return () => clearInterval(t);+ }, [page]); // eslint-disable-line react-hooks/exhaustive-deps++ const next = () => { if (!cursor) return; setStack((s) => [...s, cur.current]); setPage((p) => p + 1); load(cursor); };+ const prev = () => { if (!stack.length) return; const s = [...stack]; const c = s.pop(); setStack(s); setPage((p) => Math.max(0, p - 1)); load(c); };++ const ql = q.trim().toLowerCase();+ const shown = ql+ ? cards.filter((c) => `${c.title} ${c.model} ${c.status} ${c.backend}`.toLowerCase().includes(ql))+ : cards;++ return (+ <aside className="side app-side tr-side">+ <div className="tr-head"><div className="tr-head-title">Traces</div></div>+ <div className="tr-search">+ <IconByName name="Search" size={15} />+ <input value={q} onChange={(e) => setQ(e.target.value)} placeholder="Search sessions" aria-label="Search sessions" />+ </div>+ <nav className="side-nav scroll tr-list">+ {loading && !cards.length && <div className="tr-empty">Loading sessions…</div>}+ {!loading && !shown.length && <div className="tr-empty">No sessions yet.</div>}+ {shown.map((c) => (+ <button key={c.session_id}+ className={'tr-card' + (selected === c.session_id ? ' active' : '')}+ onClick={() => traceStore.select(c.session_id)}>+ <div className="tr-card-q">{c.title || c.user_prompt || shortId(c.session_id)}</div>+ <div className="tr-card-foot">+ <span className="tr-card-ago">{relTime(c.finished_at)}</span>+ <span className="tr-card-badges">+ {c.backend && <span className="tr-card-be">{c.backend}</span>}+ <StatusPill status={c.status} />+ </span>+ </div>+ </button>+ ))}+ </nav>+ <div className="tr-foot">+ <button className="tr-pg" disabled={!stack.length} onClick={prev}>‹ Prev</button>+ <span className="tr-pg-lbl">Page {page + 1}</span>+ <button className="tr-pg" disabled={!cursor} onClick={next}>Next ›</button>+ </div>+ </aside>+ );+}diff --git a/ui/src/studio/traces/api.js b/ui/src/studio/traces/api.jsnew file mode 100644index 00000000..91ef8ede--- /dev/null+++ b/ui/src/studio/traces/api.js@@ -0,0 +1,64 @@+// Traces client — harness-gateway read APIs via the same-origin /api/harness BFF (which injects the+// internal trust key + forwards org/member). Scoped to the signed-in org + member (per-user+// isolation) and, when set, filtered to one harness (the Workbench Traces tab).+import { harnessFetch } from '@/lib/hfetch';+import { getSession } from '@/lib/auth';++function org() { return getSession()?.orgId || 'global'; }+function member() { return getSession()?.member?.email || getSession()?.member?.id || ''; }++let _harness = '';+export function setTraceHarness(h) { _harness = h || ''; }++async function jget(path) {+ const res = await harnessFetch('/api/harness' + path);+ if (!res.ok) throw new Error(`traces ${res.status} ${path}`);+ return res.json();+}++const enc = encodeURIComponent;++export const tracesApi = {+ // Paginated session cards, newest-first, scoped to org + member (+ harness when set).+ list({ limit = 25, cursor = '' } = {}) {+ const q = new URLSearchParams({ org: org(), member: member(), limit: String(limit) });+ if (_harness) q.set('harness', _harness);+ if (cursor) q.set('cursor', cursor);+ return jget(`/v1/traces?${q.toString()}`);+ },+ manifest(sid) { return jget(`/v1/traces/${enc(sid)}`); },+ async events(sid, chunks) {+ // COMPACT load: the gateway returns the transcript with long strings truncated, so even a+ // 30 MB long-horizon trace ships as a few hundred KB and renders instantly. Full event content+ // is fetched lazily (fullEvents) only when the user opens an event. Clipped events carry+ // _clipped:true; structure is identical so flatten() rows align positionally with the full load.+ try {+ const res = await harnessFetch(`/api/harness/v1/traces/${enc(sid)}/all?compact=1`);+ if (res.ok) return parseNdjson(await res.text());+ } catch { /* fall through to per-chunk for older gateways */ }+ const ns = chunks && chunks.length ? chunks.map((_, i) => i) : [0];+ const out = [];+ for (const i of ns) {+ const res = await harnessFetch(`/api/harness/v1/traces/${enc(sid)}/events?chunk=${i}`);+ if (!res.ok) break;+ out.push(...parseNdjson(await res.text()));+ }+ return out;+ },+ // FULL (un-clipped) transcript — fetched lazily the first time a clipped event's detail is opened.+ async fullEvents(sid) {+ const res = await harnessFetch(`/api/harness/v1/traces/${enc(sid)}/all`);+ if (!res.ok) throw new Error(`traces ${res.status} /all`);+ return parseNdjson(await res.text());+ },+};++function parseNdjson(text) {+ const out = [];+ for (const line of text.split('\n')) {+ const t = line.trim();+ if (!t) continue;+ try { out.push(JSON.parse(t)); } catch { /* skip malformed */ }+ }+ return out;+}diff --git a/ui/src/studio/traces/flatten.js b/ui/src/studio/traces/flatten.jsnew file mode 100644index 00000000..d1c1806a--- /dev/null+++ b/ui/src/studio/traces/flatten.js@@ -0,0 +1,163 @@+// flatten — canonical stream-json events -> ONE compact row per event, matching the managed-agent+// trace IA. The runner emits the Claude stream-json contract (codex normalized to it server-side),+// each event carrying a server-stamped `_ts`. We pair tool_use<->tool_result by id (the result is+// shown in the row's detail, never as its own row), group a message's parallel tool_uses into a+// single row, and drop scaffolding noise (init / turn.started / item.started). Content (markdown+// essay, tool-use JSON, tool-result) lives in the detail pane, not the list.++export function fmtK(n) {+ if (n == null) return '';+ const v = Number(n);+ return v >= 1000 ? `${(v / 1000).toFixed(1)}k` : String(v);+}+const pretty = (o) => { try { return JSON.stringify(o, null, 2); } catch { return String(o); } };+function resultText(content) {+ if (typeof content === 'string') return content;+ if (Array.isArray(content)) return content.map((c) => (typeof c === 'string' ? c : c.text || pretty(c))).join('\n');+ return content != null ? pretty(content) : '';+}+function toolRole(name) {+ const n = (name || '').toLowerCase();+ if (n === 'bash') return 'bash';+ if (n === 'write' || n === 'edit' || n === 'multiedit') return 'write';+ return 'tool';+}+// the lighter parameter preview shown after a single tool's name+function toolParam(input) {+ const inp = input || {};+ if (inp.command) return String(inp.command);+ if (Array.isArray(inp.changes))+ return inp.changes.map((ch) => `${ch.kind || 'edit'} ${ch.path || ''}`.trim()).filter(Boolean).join(', ');+ if (inp.file_path) return String(inp.file_path);+ if (inp.path) return String(inp.path);+ if (inp.question) return String(inp.question);+ if (inp.query) return String(inp.query);+ const k = Object.keys(inp)[0];+ if (!k) return '';+ const v = inp[k];+ return `${typeof v === 'object' ? JSON.stringify(v) : String(v)}`;+}+// distinct tool names with ×N for repeats, order-preserving: ["A","A","B"] -> "A ×2, B"+function toolNames(tools) {+ const order = [];+ const count = new Map();+ for (const t of tools) {+ const n = t.name || 'Tool';+ if (!count.has(n)) order.push(n);+ count.set(n, (count.get(n) || 0) + 1);+ }+ return order.map((n) => (count.get(n) > 1 ? `${n} ×${count.get(n)}` : n)).join(', ');+}++export function flatten(events) {+ // 1) index tool_results by tool_use_id (shown in the tool row's detail, not as a row)+ const results = new Map();+ for (const ev of events || []) {+ if (ev.type !== 'user') continue;+ const msg = ev.message || {};+ if (!Array.isArray(msg.content)) continue;+ for (const c of msg.content) {+ if (c.type === 'tool_result')+ results.set(c.tool_use_id, { text: resultText(c.content), is_error: !!c.is_error, ts: ev._ts, clipped: !!ev._clipped });+ }+ }+ // 2) build one compact row per event+ const rows = [];+ let lastAgentText = ''; // to suppress the result row's duplicate of the final agent message+ for (const ev of events || []) {+ const ts = ev._ts;+ const sub = ev.parent_tool_use_id || null;+ const side = !!ev.isSidechain;+ const clip = !!ev._clipped; // this event's long strings were truncated by the compact load+ switch (ev.type) {+ case 'assistant': {+ const msg = ev.message || {};+ const u = msg.usage || {};+ const tokens = (u.input_tokens != null || u.output_tokens != null)+ ? { in: u.input_tokens, out: u.output_tokens } : null;+ const tools = [];+ for (const c of msg.content || []) {+ if (c.type === 'text' && (c.text || '').trim()) {+ lastAgentText = c.text;+ rows.push({ kind: 'agent', role: 'agent', label: 'Agent', text: c.text, md: true, tokens, ts, sub, side, clipped: clip });+ }+ else if (c.type === 'thinking' && (c.thinking || '').trim())+ rows.push({ kind: 'thinking', role: 'thinking', label: 'Thinking', text: c.thinking, md: false, ts, sub, side, clipped: clip });+ else if (c.type === 'tool_use') {+ const res = results.get(c.id);+ tools.push({ name: c.name || 'Tool', role: toolRole(c.name), input: c.input || {},+ result: res?.text, is_error: !!res?.is_error, id: c.id, rts: res?.ts, clipped: !!res?.clipped });+ }+ }+ if (tools.length) {+ const anyErr = tools.some((t) => t.is_error);+ const durs = tools.map((t) => (t.rts != null && ts != null ? t.rts - ts : null)).filter((x) => x != null);+ rows.push({+ kind: 'tool', role: anyErr ? 'tool' : (tools.length === 1 ? tools[0].role : 'tool'),+ label: toolNames(tools), param: tools.length === 1 ? toolParam(tools[0].input) : '',+ tools, is_error: anyErr, tokens, dur: durs.length ? Math.max(...durs) : null,+ ts, sub, side, tool_use_id: tools[0].id, clipped: clip || tools.some((t) => t.clipped),+ });+ }+ break;+ }+ case 'user': {+ const msg = ev.message || {};+ if (typeof msg.content === 'string') {+ if (msg.content.trim()) rows.push({ kind: 'user', role: 'user', label: 'User', text: msg.content, md: true, ts, sub, clipped: clip });+ break;+ }+ for (const c of msg.content || []) {+ if (c.type === 'text' && (c.text || '').trim())+ rows.push({ kind: 'user', role: 'user', label: 'User', text: c.text, md: true, ts, sub, clipped: clip });+ // tool_result is folded into its tool row (results map) — never its own row+ }+ break;+ }+ case 'result': {+ // The result event is the turn's terminal record (final text + usage + duration).+ const u = ev.usage || {};+ rows.push({+ kind: 'result', role: ev.is_error ? 'error' : 'result', label: ev.is_error ? 'Error' : 'Result',+ text: ev.result || '', md: true, is_error: !!ev.is_error,+ tokens: (u.input_tokens != null || u.output_tokens != null) ? { in: u.input_tokens, out: u.output_tokens } : null,+ dur: ev.duration_ms != null ? ev.duration_ms / 1000 : null, ts, clipped: clip,+ });+ break;+ }+ default:+ break; // drop system/init/turn.started/item.started scaffolding — not part of the clean IA+ }+ }+ // Coalesce consecutive agent/thinking rows into one. Token-level streaming emits many small+ // text-delta events (each an assistant text event), which would otherwise render as dozens of+ // one-word Agent rows; merge adjacent same-kind rows (same lane) back into the whole message.+ const merged = [];+ for (const r of rows) {+ const prev = merged[merged.length - 1];+ if (prev && (r.kind === 'agent' || r.kind === 'thinking') && prev.kind === r.kind+ && prev.sub === r.sub && prev.side === r.side) {+ prev.text = (prev.text || '') + (r.text || '');+ if (r.tokens) prev.tokens = r.tokens; // keep the last usage stamp+ prev.clipped = prev.clipped || r.clipped;+ } else {+ merged.push({ ...r });+ }+ }+ return merged.map((r, i) => ({ ...r, i }));+}++// Group rows into a main lane + one lane per subagent (parent_tool_use_id), preserving order.+export function lanes(rows) {+ const main = [];+ const subs = new Map();+ for (const r of rows) {+ if (r.sub) {+ if (!subs.has(r.sub)) subs.set(r.sub, []);+ subs.get(r.sub).push(r);+ } else {+ main.push(r);+ }+ }+ return { main, subs };+}diff --git a/ui/src/studio/traces/store.js b/ui/src/studio/traces/store.jsnew file mode 100644index 00000000..bec5de1e--- /dev/null+++ b/ui/src/studio/traces/store.js@@ -0,0 +1,20 @@+// Minimal shared store for the Traces app (mirrors tasks/store.js shape): the selected+// session id drives the right pane; the sidebar owns the paginated list + search.+import { useSyncExternalStore } from 'react';++let state = { selected: null };+const subs = new Set();+const emit = () => subs.forEach((f) => f());++export const traceStore = {+ select(sid) { state = { ...state, selected: sid }; emit(); },+ get() { return state; },+};++export function useTraces() {+ return useSyncExternalStore(+ (f) => { subs.add(f); return () => subs.delete(f); },+ () => state,+ () => state,+ );+}diff --git a/ui/src/types/iconify.d.ts b/ui/src/types/iconify.d.tsnew file mode 100644index 00000000..7754f57b--- /dev/null+++ b/ui/src/types/iconify.d.ts@@ -0,0 +1,15 @@+// iconify-icon web component (loaded client-side in the revamp Shell). React 19 moved the JSX+// namespace under the react module, so augment it there (the global JSX namespace is gone).+import 'react';++declare module 'react' {+ namespace JSX {+ interface IntrinsicElements {+ 'iconify-icon': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {+ icon: string;+ width?: string | number;+ height?: string | number;+ };+ }+ }+}diff --git a/ui/tailwind.config.ts b/ui/tailwind.config.tsnew file mode 100644index 00000000..bfd92cef--- /dev/null+++ b/ui/tailwind.config.ts@@ -0,0 +1,135 @@+import type { Config } from 'tailwindcss';++const config: Config = {+ content: [+ './src/**/*.{js,ts,jsx,tsx,mdx}',+ ],+ theme: {+ extend: {+ colors: {+ // Primary brand colors — Epsilla / AgentStudio brand purple.+ // Source of truth: frontend/src/studio/styles/tokens.css+ // (--brand #6E55FF, --brand-ink #4A37CC). Do not reintroduce the+ // old #a855f7/#d946ef palette — that was a deprecated design draft.+ primary: {+ 50: '#f5f2ff',+ 100: '#eeeaff',+ 200: '#ddd5ff',+ 300: '#c3b5ff',+ 400: '#9d86ff',+ 500: '#6e55ff', // Brand purple (--brand)+ 600: '#5a40e6',+ 700: '#4a37cc', // --brand-ink+ 800: '#392ba0',+ 900: '#2b2178',+ 950: '#1a1450',+ },+ secondary: {+ 50: '#eff6ff',+ 100: '#dbeafe',+ 200: '#bfdbfe',+ 300: '#93c5fd',+ 400: '#60a5fa',+ 500: '#3b82f6', // Base blue+ 600: '#2563eb',+ 700: '#1d4ed8',+ 800: '#1e40af',+ 900: '#1e3a8a',+ 950: '#172554',+ },+ // Semantic colors+ success: {+ 50: '#f0fdf4',+ 100: '#dcfce7',+ 200: '#bbf7d0',+ 300: '#86efac',+ 400: '#4ade80',+ 500: '#22c55e',+ 600: '#16a34a',+ 700: '#15803d',+ 800: '#166534',+ 900: '#14532d',+ 950: '#052e16',+ },+ warning: {+ 50: '#fffbeb',+ 100: '#fef3c7',+ 200: '#fde68a',+ 300: '#fcd34d',+ 400: '#fbbf24',+ 500: '#f59e0b',+ 600: '#d97706',+ 700: '#b45309',+ 800: '#92400e',+ 900: '#78350f',+ 950: '#451a03',+ },+ danger: {+ 50: '#fef2f2',+ 100: '#fee2e2',+ 200: '#fecaca',+ 300: '#fca5a5',+ 400: '#f87171',+ 500: '#ef4444',+ 600: '#dc2626',+ 700: '#b91c1c',+ 800: '#991b1b',+ 900: '#7f1d1d',+ 950: '#450a0a',+ },+ // Neutral grays+ gray: {+ 50: '#f9fafb',+ 100: '#f3f4f6',+ 200: '#e5e7eb',+ 300: '#d1d5db',+ 400: '#9ca3af',+ 500: '#6b7280',+ 600: '#4b5563',+ 700: '#374151',+ 800: '#1f2937',+ 900: '#111827',+ 950: '#030712',+ },+ },+ boxShadow: {+ 'purple': '0 10px 25px -3px rgba(168, 85, 247, 0.2), 0 4px 6px -2px rgba(168, 85, 247, 0.1)',+ 'blue': '0 10px 25px -3px rgba(59, 130, 246, 0.2), 0 4px 6px -2px rgba(59, 130, 246, 0.1)',+ 'glow': '0 0 20px rgba(168, 85, 247, 0.3)',+ },+ animation: {+ 'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',+ 'fade-in': 'fadeIn 0.5s ease-in-out',+ 'slide-up': 'slideUp 0.3s ease-out',+ 'bounce-gentle': 'bounceGentle 0.6s ease-out',+ },+ keyframes: {+ fadeIn: {+ '0%': { opacity: '0' },+ '100%': { opacity: '1' },+ },+ slideUp: {+ '0%': { transform: 'translateY(10px)', opacity: '0' },+ '100%': { transform: 'translateY(0)', opacity: '1' },+ },+ bounceGentle: {+ '0%, 20%, 53%, 80%, 100%': { transform: 'translate3d(0,0,0)' },+ '40%, 43%': { transform: 'translate3d(0,-5px,0)' },+ '70%': { transform: 'translate3d(0,-3px,0)' },+ '90%': { transform: 'translate3d(0,-1px,0)' },+ },+ },+ fontFamily: {+ sans: ['Inter', 'system-ui', 'sans-serif'],+ mono: ['JetBrains Mono', 'Monaco', 'monospace'],+ display: ['Clash Display', 'Inter', 'system-ui', 'sans-serif'],+ },+ backdropBlur: {+ xs: '2px',+ },+ },+ },+ plugins: [],+};++export default config;diff --git a/ui/tsconfig.json b/ui/tsconfig.jsonindex 7cef1e2a..a34a3b60 100644--- a/ui/tsconfig.json+++ b/ui/tsconfig.json@@ -1,12 +1,42 @@{"compilerOptions": {- "target": "ES2022", "lib": ["dom", "dom.iterable", "esnext"],- "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true,- "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler",- "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve",- "incremental": true, "plugins": [{ "name": "next" }],- "paths": { "@/*": ["./src/*"] }+ "target": "ES2017",+ "lib": [+ "dom",+ "dom.iterable",+ "esnext"+ ],+ "allowJs": true,+ "skipLibCheck": true,+ "strict": true,+ "noEmit": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "node",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "preserve",+ "incremental": true,+ "baseUrl": ".",+ "plugins": [+ {+ "name": "next"+ }+ ],+ "paths": {+ "@/*": [+ "./src/*"+ ]+ }},- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],- "exclude": ["node_modules"]+ "include": [+ "**/*.ts",+ "**/*.tsx",+ "next-env.d.ts",+ ".next/types/**/*.ts"+ ],+ "exclude": [+ "node_modules",+ ".next"+ ]}