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
Self-hosted console: Harnesses + Tasks, built on ReifyUI
richard-epsilla27ee478bee93
diff --git a/ui/next-env.d.ts b/ui/next-env.d.tsnew file mode 100644index 00000000..830fb594--- /dev/null+++ b/ui/next-env.d.ts@@ -0,0 +1,6 @@+/// <reference types="next" />+/// <reference types="next/image-types/global" />+/// <reference path="./.next/types/routes.d.ts" />++// NOTE: This file should not be edited+// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/ui/next.config.ts b/ui/next.config.tsnew file mode 100644index 00000000..8e75b61d--- /dev/null+++ b/ui/next.config.ts@@ -0,0 +1,6 @@+import type { NextConfig } from 'next';++// 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.jsonnew file mode 100644index 00000000..e22506e9--- /dev/null+++ b/ui/package-lock.json@@ -0,0 +1,2117 @@+{+ "name": "harnessrouter-ui",+ "version": "0.1.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "harnessrouter-ui",+ "version": "0.1.0",+ "dependencies": {+ "echarts": "^5.6.0",+ "highlight.js": "^11.11.1",+ "mermaid": "^11.16.1",+ "next": "^15.1.0",+ "react": "^19.0.0",+ "react-dom": "^19.0.0",+ "reifyui": "^0.2.0"+ },+ "devDependencies": {+ "@types/node": "^22",+ "@types/react": "^19",+ "typescript": "^5"+ }+ },+ "node_modules/@antfu/install-pkg": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.1.0.tgz",+ "integrity": "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==",+ "license": "MIT",+ "dependencies": {+ "package-manager-detector": "^1.3.0",+ "tinyexec": "^1.0.1"+ },+ "funding": {+ "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/@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/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/@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"+ ],+ "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/@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/@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/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/@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/@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/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/node": {+ "version": "22.20.1",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",+ "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "undici-types": "~6.21.0"+ }+ },+ "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/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/@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/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==",+ "license": "MIT",+ "engines": {+ "node": ">= 10"+ }+ },+ "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/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-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/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==",+ "license": "MIT",+ "dependencies": {+ "layout-base": "^2.0.0"+ }+ },+ "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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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==",+ "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==",+ "license": "MIT",+ "dependencies": {+ "scheduler": "^0.27.0"+ },+ "peerDependencies": {+ "react": "^19.2.8"+ }+ },+ "node_modules/reifyui": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/reifyui/-/reifyui-0.2.0.tgz",+ "integrity": "sha512-UZRx8Hm4zhS53vvm62r1P7+/Uxi+C+4MgYRxoG6JERFKbZYjPorilMH3kzi6A7xVRhaPfNGdCCvGzoyWV4mA+g==",+ "license": "MIT",+ "engines": {+ "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/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",+ "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/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==",+ "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/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"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "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,+ "dependencies": {+ "@img/colour": "^1.0.0",+ "detect-libc": "^2.1.2",+ "semver": "^7.7.3"+ },+ "engines": {+ "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/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/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": {+ "client-only": "0.0.1"+ },+ "engines": {+ "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/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",+ "engines": {+ "node": ">=18"+ }+ },+ "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": ">=6.10"+ }+ },+ "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==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "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/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"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist-node/bin/uuid"+ }+ },+ "node_modules/zrender": {+ "version": "5.6.1",+ "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",+ "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "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"+ }+ }+}diff --git a/ui/package.json b/ui/package.jsonnew file mode 100644index 00000000..84f0f082--- /dev/null+++ b/ui/package.json@@ -0,0 +1,25 @@+{+ "name": "harnessrouter-ui",+ "version": "0.1.0",+ "private": true,+ "scripts": {+ "dev": "next dev -p 3000",+ "build": "next build",+ "start": "next start -p 3000",+ "lint": "next lint"+ },+ "dependencies": {+ "echarts": "^5.6.0",+ "highlight.js": "^11.11.1",+ "mermaid": "^11.16.1",+ "next": "^15.1.0",+ "react": "^19.0.0",+ "react-dom": "^19.0.0",+ "reifyui": "^0.2.0"+ },+ "devDependencies": {+ "@types/node": "^22",+ "@types/react": "^19",+ "typescript": "^5"+ }+}diff --git a/ui/src/app/api/cloud/push/route.ts b/ui/src/app/api/cloud/push/route.tsnew file mode 100644index 00000000..d00bedbe--- /dev/null+++ b/ui/src/app/api/cloud/push/route.ts@@ -0,0 +1,69 @@+// 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';++const DEFAULT_CLOUD = 'https://api.harnessrouter.ai';++interface PushBody {+ apiKey: string;+ cloudUrl?: string;+ harnesses: Record<string, unknown>[];+}++/** Fields that describe a harness's behaviour. Local-only bookkeeping (ids, timestamps,+ * workspace, org) is intentionally dropped so the hosted side mints its own. */+const PORTABLE = ['name', 'base', 'defaultModel', 'systemPrompt', 'tools', 'skills',+ 'mcpServers', 'maxStep', 'timeoutSeconds', 'additionalHeaders',+ 'baseLabel', 'instructions'];++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) {+ const payload: Record<string, unknown> = {};+ for (const k of PORTABLE) if (h[k] !== undefined && h[k] !== null) payload[k] = h[k];+ 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/gw/[...path]/route.ts b/ui/src/app/api/gw/[...path]/route.tsnew file mode 100644index 00000000..2c9ef643--- /dev/null+++ b/ui/src/app/api/gw/[...path]/route.ts@@ -0,0 +1,64 @@+// 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 adds NO credentials. There is nothing to add: the gateway runs with identity off, and the+// provider keys live server-side in the gateway's secret store — they never reach the browser+// and therefore never pass through here.+import { NextRequest } from 'next/server';++const GATEWAY = (process.env.GATEWAY_URL || 'http://127.0.0.1:8080').replace(/\/$/, '');++// 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[]) {+ 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.+ for (const k of ['content-type', 'accept', 'x-harness-org', 'x-harness-member',+ 'x-harness-workspace', 'x-harness-workspace-default', 'x-harness-id',+ 'idempotency-key']) {+ const v = req.headers.get(k);+ if (v) headers.set(k, v);+ }++ 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/globals.css b/ui/src/app/globals.cssnew file mode 100644index 00000000..9a29e529--- /dev/null+++ b/ui/src/app/globals.css@@ -0,0 +1,96 @@+: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.tsxnew file mode 100644index 00000000..90a7fafc--- /dev/null+++ b/ui/src/app/harnesses/[id]/page.tsx@@ -0,0 +1,129 @@+'use client';++import { useEffect, useState } from 'react';+import { useParams, useRouter } from 'next/navigation';+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 [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 {+ const saved = await updateHarness(id, {+ name: draft.name,+ defaultModel: draft.defaultModel,+ systemPrompt: draft.systemPrompt,+ maxStep: draft.maxStep,+ timeoutSeconds: draft.timeoutSeconds,+ });+ setH(saved); setDraft(saved); setMsg('Saved.');+ } catch (e) {+ setErr(String((e as Error).message || e));+ } finally {+ setSaving(false);+ }+ };++ const remove = async () => {+ if (!window.confirm(`Delete "${draft.name}"? Its tasks are kept but it can no longer run.`)) 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.tsxnew file mode 100644index 00000000..8a65958b--- /dev/null+++ b/ui/src/app/harnesses/page.tsx@@ -0,0 +1,141 @@+'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/layout.tsx b/ui/src/app/layout.tsxnew file mode 100644index 00000000..a91a0ad1--- /dev/null+++ b/ui/src/app/layout.tsx@@ -0,0 +1,24 @@+import type { Metadata } from 'next';+import 'reifyui/styles/themes/light.css';+import 'reifyui/styles/chat.css';+import 'reifyui/styles/tasks.css';+import './globals.css';+import { Nav } from '@/components/Nav';++export const metadata: Metadata = {+ title: 'HarnessRouter',+ description: 'Self-hosted harness management',+};++export default function RootLayout({ children }: { children: React.ReactNode }) {+ return (+ <html lang="en">+ <body>+ <div className="shell">+ <Nav />+ <main className="main">{children}</main>+ </div>+ </body>+ </html>+ );+}diff --git a/ui/src/app/page.tsx b/ui/src/app/page.tsxnew file mode 100644index 00000000..0b40b061--- /dev/null+++ b/ui/src/app/page.tsx@@ -0,0 +1,4 @@+import { redirect } from 'next/navigation';++// The console has two surfaces; harnesses is where you start (a task needs one to run on).+export default function Home() { redirect('/harnesses'); }diff --git a/ui/src/app/tasks/page.tsx b/ui/src/app/tasks/page.tsxnew file mode 100644index 00000000..51075bb4--- /dev/null+++ b/ui/src/app/tasks/page.tsx@@ -0,0 +1,148 @@+'use client';++import { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';+import { useSearchParams } from 'next/navigation';+import {+ ChatMessages, Composer, TaskList, createConversationStore, pumpResponsesStream,+} from 'reifyui';+import {+ cancelTask, deleteTask, listHarnesses, listTasks, loadTurns, streamTurn,+ type Harness, type TaskCard,+} from '@/lib/api';++function TasksInner() {+ const params = useSearchParams();+ 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) => {+ if (!window.confirm('Delete this task?')) 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/components/Nav.tsx b/ui/src/components/Nav.tsxnew file mode 100644index 00000000..b40c2796--- /dev/null+++ b/ui/src/components/Nav.tsx@@ -0,0 +1,56 @@+'use client';++import Link from 'next/link';+import { usePathname } from 'next/navigation';+import { useEffect, useState } from 'react';+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 [list, setList] = useState<Workspace[]>([DEFAULT_WORKSPACE]);+ const [ws, setWs] = useState(DEFAULT_WORKSPACE.id);++ useEffect(() => { setList(listWorkspaces()); setWs(currentWorkspace()); }, []);++ const onSwitch = (id: string) => {+ if (id === '__new') {+ const name = window.prompt('New workspace name');+ if (!name?.trim()) return;+ const id2 = name.trim().toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '')+ || `ws-${Date.now()}`;+ const next = [...listWorkspaces(), { id: id2, name: name.trim() }];+ saveWorkspaces(next);+ setCurrentWorkspace(id2);+ 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/PushToCloud.tsx b/ui/src/components/PushToCloud.tsxnew file mode 100644index 00000000..0496a878--- /dev/null+++ b/ui/src/components/PushToCloud.tsx@@ -0,0 +1,117 @@+'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/lib/api.ts b/ui/src/lib/api.tsnew file mode 100644index 00000000..8925b46c--- /dev/null+++ b/ui/src/lib/api.ts@@ -0,0 +1,157 @@+// 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.++/** The implicit single tenant. The gateway still scopes every record by org, so keeping a real+ * value (rather than empty) means the same storage layout works if this instance is ever+ * pointed at a multi-tenant backing. */+export const LOCAL_ORG = 'local';+export const LOCAL_MEMBER = 'local@localhost';++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: who we are, and which workspace we're scoped to. */+export function gwHeaders(extra: Record<string, string> = {}): Record<string, string> {+ const ws = currentWorkspace();+ return {+ 'content-type': 'application/json',+ 'x-harness-org': LOCAL_ORG,+ 'x-harness-member': LOCAL_MEMBER,+ '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 interface Harness {+ id: string;+ name: string;+ base: string;+ defaultModel?: string;+ systemPrompt?: string;+ maxStep?: number | null;+ timeoutSeconds?: number | null;+ createdAt?: number;+ [k: string]: unknown;+}++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 = (body: Partial<Harness> & { name: string; base: string }) =>+ gw<Harness>('/v1/harnesses', { method: 'POST', body: JSON.stringify(body) });++export const updateHarness = (id: string, body: Partial<Harness>) =>+ gw<Harness>(`/v1/harnesses/${encodeURIComponent(id)}`, { method: 'PUT', body: JSON.stringify(body) });++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/tsconfig.json b/ui/tsconfig.jsonnew file mode 100644index 00000000..7cef1e2a--- /dev/null+++ b/ui/tsconfig.json@@ -0,0 +1,12 @@+{+ "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/*"] }+ },+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],+ "exclude": ["node_modules"]+}