Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
feat(explorer): add Semantica Knowledge Explorer UI with full feature set
KaifAhmad13ea1283626c7
diff --git a/semantica-explorer/.gitignore b/explorer/.gitignoresimilarity index 100%rename from semantica-explorer/.gitignorerename to explorer/.gitignorediff --git a/semantica-explorer/README.md b/explorer/README.mdsimilarity index 100%rename from semantica-explorer/README.mdrename to explorer/README.mddiff --git a/semantica-explorer/eslint.config.js b/explorer/eslint.config.jssimilarity index 100%rename from semantica-explorer/eslint.config.jsrename to explorer/eslint.config.jsdiff --git a/semantica-explorer/index.html b/explorer/index.htmlsimilarity index 87%rename from semantica-explorer/index.htmlrename to explorer/index.htmlindex 5ec53a70..b2f08fac 100644--- a/semantica-explorer/index.html+++ b/explorer/index.html@@ -4,7 +4,7 @@<meta charset="UTF-8" /><link rel="icon" type="image/svg+xml" href="/favicon.svg" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>semantica-explorer</title>+ <title>Semantica Knowledge Explorer</title></head><body><div id="root"></div>diff --git a/semantica-explorer/package-lock.json b/explorer/package-lock.jsonsimilarity index 78%rename from semantica-explorer/package-lock.jsonrename to explorer/package-lock.jsonindex 48e61227..8bab8f57 100644--- a/semantica-explorer/package-lock.json+++ b/explorer/package-lock.json@@ -30,12 +30,11 @@"devDependencies": {"@babel/core": "^7.29.0","@eslint/js": "^9.39.4",- "@rolldown/plugin-babel": "^0.2.1","@types/babel__core": "^7.20.5","@types/node": "^24.12.0","@types/react": "^19.2.14","@types/react-dom": "^19.2.3",- "@vitejs/plugin-react": "^6.0.1",+ "@vitejs/plugin-react": "^4.3.0","babel-plugin-react-compiler": "^1.0.0","eslint": "^9.39.4","eslint-plugin-react-hooks": "^7.0.1",@@ -43,7 +42,7 @@"globals": "^17.4.0","typescript": "~5.9.3","typescript-eslint": "^8.57.0",- "vite": "^8.0.1"+ "vite": "^5.4.0"}},"node_modules/@babel/code-frame": {@@ -178,6 +177,16 @@"@babel/core": "^7.0.0"}},+ "node_modules/@babel/helper-plugin-utils": {+ "version": "7.28.6",+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz",+ "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },"node_modules/@babel/helper-string-parser": {"version": "7.27.1","resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",@@ -238,6 +247,38 @@"node": ">=6.0.0"}},+ "node_modules/@babel/plugin-transform-react-jsx-self": {+ "version": "7.27.1",+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",+ "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.27.1"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },+ "node_modules/@babel/plugin-transform-react-jsx-source": {+ "version": "7.27.1",+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",+ "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-plugin-utils": "^7.27.1"+ },+ "engines": {+ "node": ">=6.9.0"+ },+ "peerDependencies": {+ "@babel/core": "^7.0.0-0"+ }+ },"node_modules/@babel/runtime": {"version": "7.29.2","resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",@@ -308,41 +349,395 @@"node": ">=0.8.0"}},- "node_modules/@emnapi/core": {- "version": "1.9.2",- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.2.tgz",- "integrity": "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==",+ "node_modules/@esbuild/aix-ppc64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",+ "cpu": [+ "ppc64"+ ],"dev": true,"license": "MIT","optional": true,- "peer": true,- "dependencies": {- "@emnapi/wasi-threads": "1.2.1",- "tslib": "^2.4.0"+ "os": [+ "aix"+ ],+ "engines": {+ "node": ">=12"}},- "node_modules/@emnapi/runtime": {- "version": "1.9.2",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",- "integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",+ "node_modules/@esbuild/android-arm": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",+ "cpu": [+ "arm"+ ],"dev": true,"license": "MIT","optional": true,- "peer": true,- "dependencies": {- "tslib": "^2.4.0"+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"}},- "node_modules/@emnapi/wasi-threads": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",+ "node_modules/@esbuild/android-arm64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",+ "cpu": [+ "arm64"+ ],"dev": true,"license": "MIT","optional": true,- "peer": true,- "dependencies": {- "tslib": "^2.4.0"+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/android-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/darwin-arm64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/darwin-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/freebsd-arm64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/freebsd-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-arm": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-arm64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-ia32": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-loong64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",+ "cpu": [+ "loong64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-mips64el": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",+ "cpu": [+ "mips64el"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-ppc64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-riscv64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-s390x": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/netbsd-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "netbsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/openbsd-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "openbsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/sunos-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "sunos"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-arm64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-ia32": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-x64": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"}},"node_modules/@eslint-community/eslint-utils": {@@ -627,35 +1022,6 @@"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"}},- "node_modules/@napi-rs/wasm-runtime": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.2.tgz",- "integrity": "sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@tybys/wasm-util": "^0.10.1"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/Brooooooklyn"- },- "peerDependencies": {- "@emnapi/core": "^1.7.1",- "@emnapi/runtime": "^1.7.1"- }- },- "node_modules/@oxc-project/types": {- "version": "0.122.0",- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.122.0.tgz",- "integrity": "sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/Boshen"- }- },"node_modules/@react-dnd/asap": {"version": "4.0.1","resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-4.0.1.tgz",@@ -674,27 +1040,45 @@"integrity": "sha512-Pc/AFTdwZwEKJxFJvlxrSmGe/di+aAOBn60sremrpLo6VI/6cmiUYNNwlI5KNYttg7uypzA3ILPMPgxB2GYZEg==","license": "MIT"},- "node_modules/@rolldown/binding-android-arm64": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.12.tgz",- "integrity": "sha512-pv1y2Fv0JybcykuiiD3qBOBdz6RteYojRFY1d+b95WVuzx211CRh+ytI/+9iVyWQ6koTh5dawe4S/yRfOFjgaA==",+ "node_modules/@rolldown/pluginutils": {+ "version": "1.0.0-beta.27",+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@rollup/rollup-android-arm-eabi": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz",+ "integrity": "sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA==","cpu": [- "arm64"+ "arm"],"dev": true,"license": "MIT","optional": true,"os": ["android"+ ]+ },+ "node_modules/@rollup/rollup-android-arm64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.1.tgz",+ "integrity": "sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA==",+ "cpu": [+ "arm64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]},- "node_modules/@rolldown/binding-darwin-arm64": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.12.tgz",- "integrity": "sha512-cFYr6zTG/3PXXF3pUO+umXxt1wkRK/0AYT8lDwuqvRC+LuKYWSAQAQZjCWDQpAH172ZV6ieYrNnFzVVcnSflAg==",+ "node_modules/@rollup/rollup-darwin-arm64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.1.tgz",+ "integrity": "sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw==","cpu": ["arm64"],@@ -703,15 +1087,12 @@"optional": true,"os": ["darwin"- ],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ ]},- "node_modules/@rolldown/binding-darwin-x64": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.12.tgz",- "integrity": "sha512-ZCsYknnHzeXYps0lGBz8JrF37GpE9bFVefrlmDrAQhOEi4IOIlcoU1+FwHEtyXGx2VkYAvhu7dyBf75EJQffBw==",+ "node_modules/@rollup/rollup-darwin-x64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.1.tgz",+ "integrity": "sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew==","cpu": ["x64"],@@ -720,15 +1101,26 @@"optional": true,"os": ["darwin"+ ]+ },+ "node_modules/@rollup/rollup-freebsd-arm64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.1.tgz",+ "integrity": "sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w==",+ "cpu": [+ "arm64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ]},- "node_modules/@rolldown/binding-freebsd-x64": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.12.tgz",- "integrity": "sha512-dMLeprcVsyJsKolRXyoTH3NL6qtsT0Y2xeuEA8WQJquWFXkEC4bcu1rLZZSnZRMtAqwtrF/Ib9Ddtpa/Gkge9Q==",+ "node_modules/@rollup/rollup-freebsd-x64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.1.tgz",+ "integrity": "sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g==","cpu": ["x64"],@@ -737,15 +1129,26 @@"optional": true,"os": ["freebsd"+ ]+ },+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.1.tgz",+ "integrity": "sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g==",+ "cpu": [+ "arm"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-arm-gnueabihf": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.12.tgz",- "integrity": "sha512-YqWjAgGC/9M1lz3GR1r1rP79nMgo3mQiiA+Hfo+pvKFK1fAJ1bCi0ZQVh8noOqNacuY1qIcfyVfP6HoyBRZ85Q==",+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.1.tgz",+ "integrity": "sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg==","cpu": ["arm"],@@ -754,15 +1157,26 @@"optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-arm64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.1.tgz",+ "integrity": "sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ==",+ "cpu": [+ "arm64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-arm64-gnu": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.12.tgz",- "integrity": "sha512-/I5AS4cIroLpslsmzXfwbe5OmWvSsrFuEw3mwvbQ1kDxJ822hFHIx+vsN/TAzNVyepI/j/GSzrtCIwQPeKCLIg==",+ "node_modules/@rollup/rollup-linux-arm64-musl": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.1.tgz",+ "integrity": "sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA==","cpu": ["arm64"],@@ -771,32 +1185,54 @@"optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-loong64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.1.tgz",+ "integrity": "sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ==",+ "cpu": [+ "loong64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-arm64-musl": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.12.tgz",- "integrity": "sha512-V6/wZztnBqlx5hJQqNWwFdxIKN0m38p8Jas+VoSfgH54HSj9tKTt1dZvG6JRHcjh6D7TvrJPWFGaY9UBVOaWPw==",+ "node_modules/@rollup/rollup-linux-loong64-musl": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.1.tgz",+ "integrity": "sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw==","cpu": [- "arm64"+ "loong64"],"dev": true,"license": "MIT","optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.1.tgz",+ "integrity": "sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw==",+ "cpu": [+ "ppc64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-ppc64-gnu": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.12.tgz",- "integrity": "sha512-AP3E9BpcUYliZCxa3w5Kwj9OtEVDYK6sVoUzy4vTOJsjPOgdaJZKFmN4oOlX0Wp0RPV2ETfmIra9x1xuayFB7g==",+ "node_modules/@rollup/rollup-linux-ppc64-musl": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.1.tgz",+ "integrity": "sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg==","cpu": ["ppc64"],@@ -805,32 +1241,54 @@"optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.1.tgz",+ "integrity": "sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg==",+ "cpu": [+ "riscv64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-s390x-gnu": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.12.tgz",- "integrity": "sha512-nWwpvUSPkoFmZo0kQazZYOrT7J5DGOJ/+QHHzjvNlooDZED8oH82Yg67HvehPPLAg5fUff7TfWFHQS8IV1n3og==",+ "node_modules/@rollup/rollup-linux-riscv64-musl": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.1.tgz",+ "integrity": "sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg==","cpu": [- "s390x"+ "riscv64"],"dev": true,"license": "MIT","optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-s390x-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.1.tgz",+ "integrity": "sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ==",+ "cpu": [+ "s390x"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]},- "node_modules/@rolldown/binding-linux-x64-gnu": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.12.tgz",- "integrity": "sha512-RNrafz5bcwRy+O9e6P8Z/OCAJW/A+qtBczIqVYwTs14pf4iV1/+eKEjdOUta93q2TsT/FI0XYDP3TCky38LMAg==",+ "node_modules/@rollup/rollup-linux-x64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.1.tgz",+ "integrity": "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==","cpu": ["x64"],@@ -839,15 +1297,12 @@"optional": true,"os": ["linux"- ],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ ]},- "node_modules/@rolldown/binding-linux-x64-musl": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.12.tgz",- "integrity": "sha512-Jpw/0iwoKWx3LJ2rc1yjFrj+T7iHZn2JDg1Yny1ma0luviFS4mhAIcd1LFNxK3EYu3DHWCps0ydXQ5i/rrJ2ig==",+ "node_modules/@rollup/rollup-linux-x64-musl": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.1.tgz",+ "integrity": "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==","cpu": ["x64"],@@ -856,15 +1311,26 @@"optional": true,"os": ["linux"+ ]+ },+ "node_modules/@rollup/rollup-openbsd-x64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.1.tgz",+ "integrity": "sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw==",+ "cpu": [+ "x64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "openbsd"+ ]},- "node_modules/@rolldown/binding-openharmony-arm64": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.12.tgz",- "integrity": "sha512-vRugONE4yMfVn0+7lUKdKvN4D5YusEiPilaoO2sgUWpCvrncvWgPMzK00ZFFJuiPgLwgFNP5eSiUlv2tfc+lpA==",+ "node_modules/@rollup/rollup-openharmony-arm64": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.1.tgz",+ "integrity": "sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA==","cpu": ["arm64"],@@ -873,49 +1339,54 @@"optional": true,"os": ["openharmony"+ ]+ },+ "node_modules/@rollup/rollup-win32-arm64-msvc": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.1.tgz",+ "integrity": "sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g==",+ "cpu": [+ "arm64"],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]},- "node_modules/@rolldown/binding-wasm32-wasi": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.12.tgz",- "integrity": "sha512-ykGiLr/6kkiHc0XnBfmFJuCjr5ZYKKofkx+chJWDjitX+KsJuAmrzWhwyOMSHzPhzOHOy7u9HlFoa5MoAOJ/Zg==",+ "node_modules/@rollup/rollup-win32-ia32-msvc": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.1.tgz",+ "integrity": "sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg==","cpu": [- "wasm32"+ "ia32"],"dev": true,"license": "MIT","optional": true,- "dependencies": {- "@napi-rs/wasm-runtime": "^1.1.1"- },- "engines": {- "node": ">=14.0.0"- }+ "os": [+ "win32"+ ]},- "node_modules/@rolldown/binding-win32-arm64-msvc": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.12.tgz",- "integrity": "sha512-5eOND4duWkwx1AzCxadcOrNeighiLwMInEADT0YM7xeEOOFcovWZCq8dadXgcRHSf3Ulh1kFo/qvzoFiCLOL1Q==",+ "node_modules/@rollup/rollup-win32-x64-gnu": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.1.tgz",+ "integrity": "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==","cpu": [- "arm64"+ "x64"],"dev": true,"license": "MIT","optional": true,"os": ["win32"- ],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }+ ]},- "node_modules/@rolldown/binding-win32-x64-msvc": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.12.tgz",- "integrity": "sha512-PyqoipaswDLAZtot351MLhrlrh6lcZPo2LSYE+VDxbVk24LVKAGOuE4hb8xZQmrPAuEtTZW8E6D2zc5EUZX4Lw==",+ "node_modules/@rollup/rollup-win32-x64-msvc": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz",+ "integrity": "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==","cpu": ["x64"],@@ -924,48 +1395,7 @@"optional": true,"os": ["win32"- ],- "engines": {- "node": "^20.19.0 || >=22.12.0"- }- },- "node_modules/@rolldown/plugin-babel": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.2.tgz",- "integrity": "sha512-q9pE8+47bQNHb5eWVcE6oXppA+JTSwvnrhH53m0ZuHuK5MLvwsLoWrWzBTFQqQ06BVxz1gp0HblLsch8o6pvZw==",- "dev": true,- "license": "MIT",- "dependencies": {- "picomatch": "^4.0.3"- },- "engines": {- "node": ">=22.12.0 || ^24.0.0"- },- "peerDependencies": {- "@babel/core": "^7.29.0 || ^8.0.0-rc.1",- "@babel/plugin-transform-runtime": "^7.29.0 || ^8.0.0-rc.1",- "@babel/runtime": "^7.27.0 || ^8.0.0-rc.1",- "rolldown": "^1.0.0-rc.5",- "vite": "^8.0.0"- },- "peerDependenciesMeta": {- "@babel/plugin-transform-runtime": {- "optional": true- },- "@babel/runtime": {- "optional": true- },- "vite": {- "optional": true- }- }- },- "node_modules/@rolldown/pluginutils": {- "version": "1.0.0-rc.7",- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.7.tgz",- "integrity": "sha512-qujRfC8sFVInYSPPMLQByRh7zhwkGFS4+tyMQ83srV1qrxL4g8E2tyxVVyxd0+8QeBM1mIk9KbWxkegRr76XzA==",- "dev": true,- "license": "MIT"+ ]},"node_modules/@sigma/edge-curve": {"version": "3.1.0",@@ -986,9 +1416,9 @@}},"node_modules/@tanstack/query-core": {- "version": "5.95.2",- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.95.2.tgz",- "integrity": "sha512-o4T8vZHZET4Bib3jZ/tCW9/7080urD4c+0/AUaYVpIqOsr7y0reBc1oX3ttNaSW5mYyvZHctiQ/UOP2PfdmFEQ==",+ "version": "5.99.0",+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.99.0.tgz",+ "integrity": "sha512-3Jv3WQG0BCcH7G+7lf/bP8QyBfJOXeY+T08Rin3GZ1bshvwlbPt7NrDHMEzGdKIOmOzvIQmxjk28YEQX60k7pQ==","license": "MIT","funding": {"type": "github",@@ -996,12 +1426,12 @@}},"node_modules/@tanstack/react-query": {- "version": "5.95.2",- "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.95.2.tgz",- "integrity": "sha512-/wGkvLj/st5Ud1Q76KF1uFxScV7WeqN1slQx5280ycwAyYkIPGaRZAEgHxe3bjirSd5Zpwkj6zNcR4cqYni/ZA==",+ "version": "5.99.0",+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.99.0.tgz",+ "integrity": "sha512-OY2bCqPemT1LlqJ8Y2CUau4KELnIhhG9Ol3ZndPbdnB095pRbPo1cHuXTndg8iIwtoHTgwZjyaDnQ0xD0mYwAw==","license": "MIT","dependencies": {- "@tanstack/query-core": "5.95.2"+ "@tanstack/query-core": "5.99.0"},"funding": {"type": "github",@@ -1011,17 +1441,6 @@"react": "^18 || ^19"}},- "node_modules/@tybys/wasm-util": {- "version": "0.10.1",- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",- "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },"node_modules/@types/babel__core": {"version": "7.20.5","resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",@@ -1138,9 +1557,9 @@"license": "MIT"},"node_modules/@types/node": {- "version": "24.12.0",- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",- "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",+ "version": "24.12.2",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz",+ "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==","devOptional": true,"license": "MIT","dependencies": {@@ -1176,20 +1595,20 @@"peer": true},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.2.tgz",- "integrity": "sha512-NZZgp0Fm2IkD+La5PR81sd+g+8oS6JwJje+aRWsDocxHkjyRw0J5L5ZTlN3LI1LlOcGL7ph3eaIUmTXMIjLk0w==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.1.tgz",+ "integrity": "sha512-eSkwoemjo76bdXl2MYqtxg51HNwUSkWfODUOQ3PaTLZGh9uIWWFZIjyjaJnex7wXDu+TRx+ATsnSxdN9YWfRTQ==","dev": true,"license": "MIT","dependencies": {"@eslint-community/regexpp": "^4.12.2",- "@typescript-eslint/scope-manager": "8.57.2",- "@typescript-eslint/type-utils": "8.57.2",- "@typescript-eslint/utils": "8.57.2",- "@typescript-eslint/visitor-keys": "8.57.2",+ "@typescript-eslint/scope-manager": "8.58.1",+ "@typescript-eslint/type-utils": "8.58.1",+ "@typescript-eslint/utils": "8.58.1",+ "@typescript-eslint/visitor-keys": "8.58.1","ignore": "^7.0.5","natural-compare": "^1.4.0",- "ts-api-utils": "^2.4.0"+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1199,9 +1618,9 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.57.2",+ "@typescript-eslint/parser": "^8.58.1","eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {@@ -1215,16 +1634,16 @@}},"node_modules/@typescript-eslint/parser": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.2.tgz",- "integrity": "sha512-30ScMRHIAD33JJQkgfGW1t8CURZtjc2JpTrq5n2HFhOefbAhb7ucc7xJwdWcrEtqUIYJ73Nybpsggii6GtAHjA==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.1.tgz",+ "integrity": "sha512-gGkiNMPqerb2cJSVcruigx9eHBlLG14fSdPdqMoOcBfh+vvn4iCq2C8MzUB89PrxOXk0y3GZ1yIWb9aOzL93bw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.57.2",- "@typescript-eslint/types": "8.57.2",- "@typescript-eslint/typescript-estree": "8.57.2",- "@typescript-eslint/visitor-keys": "8.57.2",+ "@typescript-eslint/scope-manager": "8.58.1",+ "@typescript-eslint/types": "8.58.1",+ "@typescript-eslint/typescript-estree": "8.58.1",+ "@typescript-eslint/visitor-keys": "8.58.1","debug": "^4.4.3"},"engines": {@@ -1236,18 +1655,18 @@},"peerDependencies": {"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/project-service": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.2.tgz",- "integrity": "sha512-FuH0wipFywXRTHf+bTTjNyuNQQsQC3qh/dYzaM4I4W0jrCqjCVuUh99+xd9KamUfmCGPvbO8NDngo/vsnNVqgw==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.1.tgz",+ "integrity": "sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.57.2",- "@typescript-eslint/types": "^8.57.2",+ "@typescript-eslint/tsconfig-utils": "^8.58.1",+ "@typescript-eslint/types": "^8.58.1","debug": "^4.4.3"},"engines": {@@ -1258,18 +1677,18 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.2.tgz",- "integrity": "sha512-snZKH+W4WbWkrBqj4gUNRIGb/jipDW3qMqVJ4C9rzdFc+wLwruxk+2a5D+uoFcKPAqyqEnSb4l2ULuZf95eSkw==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.1.tgz",+ "integrity": "sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.57.2",- "@typescript-eslint/visitor-keys": "8.57.2"+ "@typescript-eslint/types": "8.58.1",+ "@typescript-eslint/visitor-keys": "8.58.1"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1280,9 +1699,9 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.2.tgz",- "integrity": "sha512-3Lm5DSM+DCowsUOJC+YqHHnKEfFh5CoGkj5Z31NQSNF4l5wdOwqGn99wmwN/LImhfY3KJnmordBq/4+VDe2eKw==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.1.tgz",+ "integrity": "sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw==","dev": true,"license": "MIT","engines": {@@ -1293,21 +1712,21 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.2.tgz",- "integrity": "sha512-Co6ZCShm6kIbAM/s+oYVpKFfW7LBc6FXoPXjTRQ449PPNBY8U0KZXuevz5IFuuUj2H9ss40atTaf9dlGLzbWZg==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.1.tgz",+ "integrity": "sha512-HUFxvTJVroT+0rXVJC7eD5zol6ID+Sn5npVPWoFuHGg9Ncq5Q4EYstqR+UOqaNRFXi5TYkpXXkLhoCHe3G0+7w==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.57.2",- "@typescript-eslint/typescript-estree": "8.57.2",- "@typescript-eslint/utils": "8.57.2",+ "@typescript-eslint/types": "8.58.1",+ "@typescript-eslint/typescript-estree": "8.58.1",+ "@typescript-eslint/utils": "8.58.1","debug": "^4.4.3",- "ts-api-utils": "^2.4.0"+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1318,13 +1737,13 @@},"peerDependencies": {"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/types": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.2.tgz",- "integrity": "sha512-/iZM6FnM4tnx9csuTxspMW4BOSegshwX5oBDznJ7S4WggL7Vczz5d2W11ecc4vRrQMQHXRSxzrCsyG5EsPPTbA==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.1.tgz",+ "integrity": "sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw==","dev": true,"license": "MIT","engines": {@@ -1336,21 +1755,21 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.2.tgz",- "integrity": "sha512-2MKM+I6g8tJxfSmFKOnHv2t8Sk3T6rF20A1Puk0svLK+uVapDZB/4pfAeB7nE83uAZrU6OxW+HmOd5wHVdXwXA==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.1.tgz",+ "integrity": "sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.57.2",- "@typescript-eslint/tsconfig-utils": "8.57.2",- "@typescript-eslint/types": "8.57.2",- "@typescript-eslint/visitor-keys": "8.57.2",+ "@typescript-eslint/project-service": "8.58.1",+ "@typescript-eslint/tsconfig-utils": "8.58.1",+ "@typescript-eslint/types": "8.58.1",+ "@typescript-eslint/visitor-keys": "8.58.1","debug": "^4.4.3","minimatch": "^10.2.2","semver": "^7.7.3","tinyglobby": "^0.2.15",- "ts-api-utils": "^2.4.0"+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1360,7 +1779,7 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {@@ -1387,13 +1806,13 @@}},"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {- "version": "10.2.4",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",- "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",+ "version": "10.2.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==","dev": true,"license": "BlueOak-1.0.0","dependencies": {- "brace-expansion": "^5.0.2"+ "brace-expansion": "^5.0.5"},"engines": {"node": "18 || 20 || >=22"@@ -1416,16 +1835,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.2.tgz",- "integrity": "sha512-krRIbvPK1ju1WBKIefiX+bngPs+odIQUtR7kymzPfo1POVw3jlF+nLkmexdSSd4UCbDcQn+wMBATOOmpBbqgKg==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.1.tgz",+ "integrity": "sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ==","dev": true,"license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.9.1",- "@typescript-eslint/scope-manager": "8.57.2",- "@typescript-eslint/types": "8.57.2",- "@typescript-eslint/typescript-estree": "8.57.2"+ "@typescript-eslint/scope-manager": "8.58.1",+ "@typescript-eslint/types": "8.58.1",+ "@typescript-eslint/typescript-estree": "8.58.1"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -1436,17 +1855,17 @@},"peerDependencies": {"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.2.tgz",- "integrity": "sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.1.tgz",+ "integrity": "sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.57.2",+ "@typescript-eslint/types": "8.58.1","eslint-visitor-keys": "^5.0.0"},"engines": {@@ -1471,29 +1890,24 @@}},"node_modules/@vitejs/plugin-react": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.1.tgz",- "integrity": "sha512-l9X/E3cDb+xY3SWzlG1MOGt2usfEHGMNIaegaUGFsLkb3RCn/k8/TOXBcab+OndDI4TBtktT8/9BwwW8Vi9KUQ==",+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",+ "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==","dev": true,"license": "MIT","dependencies": {- "@rolldown/pluginutils": "1.0.0-rc.7"+ "@babel/core": "^7.28.0",+ "@babel/plugin-transform-react-jsx-self": "^7.27.1",+ "@babel/plugin-transform-react-jsx-source": "^7.27.1",+ "@rolldown/pluginutils": "1.0.0-beta.27",+ "@types/babel__core": "^7.20.5",+ "react-refresh": "^0.17.0"},"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": "^14.18.0 || >=16.0.0"},"peerDependencies": {- "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",- "babel-plugin-react-compiler": "^1.0.0",- "vite": "^8.0.0"- },- "peerDependenciesMeta": {- "@rolldown/plugin-babel": {- "optional": true- },- "babel-plugin-react-compiler": {- "optional": true- }+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"}},"node_modules/@xyflow/react": {@@ -1624,9 +2038,9 @@"license": "MIT"},"node_modules/baseline-browser-mapping": {- "version": "2.10.12",- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.12.tgz",- "integrity": "sha512-qyq26DxfY4awP2gIRXhhLWfwzwI+N5Nxk6iQi8EFizIaWIjqicQTE4sLnZZVdeKPRcVNoJOkkpfzoIYuvCKaIQ==",+ "version": "2.10.18",+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.18.tgz",+ "integrity": "sha512-VSnGQAOLtP5mib/DPyg2/t+Tlv65NTBz83BJBJvmLVHHuKJVaDOBvJJykiT5TR++em5nfAySPccDZDa4oSrn8A==","dev": true,"license": "Apache-2.0","bin": {@@ -1637,9 +2051,9 @@}},"node_modules/brace-expansion": {- "version": "1.1.13",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz",- "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==",+ "version": "1.1.14",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",+ "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==","dev": true,"license": "MIT","dependencies": {@@ -1648,9 +2062,9 @@}},"node_modules/browserslist": {- "version": "4.28.1",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",- "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",+ "version": "4.28.2",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",+ "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==","dev": true,"funding": [{@@ -1668,11 +2082,11 @@],"license": "MIT","dependencies": {- "baseline-browser-mapping": "^2.9.0",- "caniuse-lite": "^1.0.30001759",- "electron-to-chromium": "^1.5.263",- "node-releases": "^2.0.27",- "update-browserslist-db": "^1.2.0"+ "baseline-browser-mapping": "^2.10.12",+ "caniuse-lite": "^1.0.30001782",+ "electron-to-chromium": "^1.5.328",+ "node-releases": "^2.0.36",+ "update-browserslist-db": "^1.2.3"},"bin": {"browserslist": "cli.js"@@ -1692,9 +2106,9 @@}},"node_modules/caniuse-lite": {- "version": "1.0.30001781",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001781.tgz",- "integrity": "sha512-RdwNCyMsNBftLjW6w01z8bKEvT6e/5tpPVEgtn22TiLGlstHOVecsX2KHFkD5e/vRnIE4EGzpuIODb3mtswtkw==",+ "version": "1.0.30001787",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001787.tgz",+ "integrity": "sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg==","dev": true,"funding": [{@@ -1945,16 +2359,6 @@"dev": true,"license": "MIT"},- "node_modules/detect-libc": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",- "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">=8"- }- },"node_modules/dnd-core": {"version": "14.0.1","resolved": "https://registry.npmjs.org/dnd-core/-/dnd-core-14.0.1.tgz",@@ -1986,12 +2390,51 @@}},"node_modules/electron-to-chromium": {- "version": "1.5.328",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.328.tgz",- "integrity": "sha512-QNQ5l45DzYytThO21403XN3FvK0hOkWDG8viNf6jqS42msJ8I4tGDSpBCgvDRRPnkffafiwAym2X2eHeGD2V0w==",+ "version": "1.5.335",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.335.tgz",+ "integrity": "sha512-q9n5T4BR4Xwa2cwbrwcsDJtHD/enpQ5S1xF1IAtdqf5AAgqDFmR/aakqH3ChFdqd/QXJhS3rnnXFtexU7rax6Q==","dev": true,"license": "ISC"},+ "node_modules/esbuild": {+ "version": "0.21.5",+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",+ "dev": true,+ "hasInstallScript": true,+ "license": "MIT",+ "bin": {+ "esbuild": "bin/esbuild"+ },+ "engines": {+ "node": ">=12"+ },+ "optionalDependencies": {+ "@esbuild/aix-ppc64": "0.21.5",+ "@esbuild/android-arm": "0.21.5",+ "@esbuild/android-arm64": "0.21.5",+ "@esbuild/android-x64": "0.21.5",+ "@esbuild/darwin-arm64": "0.21.5",+ "@esbuild/darwin-x64": "0.21.5",+ "@esbuild/freebsd-arm64": "0.21.5",+ "@esbuild/freebsd-x64": "0.21.5",+ "@esbuild/linux-arm": "0.21.5",+ "@esbuild/linux-arm64": "0.21.5",+ "@esbuild/linux-ia32": "0.21.5",+ "@esbuild/linux-loong64": "0.21.5",+ "@esbuild/linux-mips64el": "0.21.5",+ "@esbuild/linux-ppc64": "0.21.5",+ "@esbuild/linux-riscv64": "0.21.5",+ "@esbuild/linux-s390x": "0.21.5",+ "@esbuild/linux-x64": "0.21.5",+ "@esbuild/netbsd-x64": "0.21.5",+ "@esbuild/openbsd-x64": "0.21.5",+ "@esbuild/sunos-x64": "0.21.5",+ "@esbuild/win32-arm64": "0.21.5",+ "@esbuild/win32-ia32": "0.21.5",+ "@esbuild/win32-x64": "0.21.5"+ }+ },"node_modules/escalade": {"version": "3.2.0","resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",@@ -2348,9 +2791,9 @@}},"node_modules/globals": {- "version": "17.4.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",- "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",+ "version": "17.5.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.5.0.tgz",+ "integrity": "sha512-qoV+HK2yFl/366t2/Cb3+xxPUo5BuMynomoDmiaZBIdbs+0pYbjfZU+twLhGKp4uCZ/+NbtpVepH5bGCxRyy2g==","dev": true,"license": "MIT","engines": {@@ -2659,267 +3102,6 @@"node": ">= 0.8.0"}},- "node_modules/lightningcss": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",- "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",- "dev": true,- "license": "MPL-2.0",- "dependencies": {- "detect-libc": "^2.0.3"- },- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- },- "optionalDependencies": {- "lightningcss-android-arm64": "1.32.0",- "lightningcss-darwin-arm64": "1.32.0",- "lightningcss-darwin-x64": "1.32.0",- "lightningcss-freebsd-x64": "1.32.0",- "lightningcss-linux-arm-gnueabihf": "1.32.0",- "lightningcss-linux-arm64-gnu": "1.32.0",- "lightningcss-linux-arm64-musl": "1.32.0",- "lightningcss-linux-x64-gnu": "1.32.0",- "lightningcss-linux-x64-musl": "1.32.0",- "lightningcss-win32-arm64-msvc": "1.32.0",- "lightningcss-win32-x64-msvc": "1.32.0"- }- },- "node_modules/lightningcss-android-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",- "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "android"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-darwin-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",- "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-darwin-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",- "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-freebsd-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",- "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "freebsd"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm-gnueabihf": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",- "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",- "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",- "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-x64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",- "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-x64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",- "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-win32-arm64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",- "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-win32-x64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",- "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },"node_modules/locate-path": {"version": "6.0.0","resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",@@ -2966,9 +3148,9 @@}},"node_modules/lucide-react": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.7.0.tgz",- "integrity": "sha512-yI7BeItCLZJTXikmK4KNUGCKoGzSvbKlfCvw44bU4fXAL6v3gYS4uHD1jzsLkfwODYwI6Drw5Tu9Z5ulDe0TSg==",+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.8.0.tgz",+ "integrity": "sha512-WuvlsjngSk7TnTBJ1hsCy3ql9V9VOdcPkd3PKcSmM34vJD8KG6molxz7m7zbYFgICwsanQWmJ13JlYs4Zp7Arw==","license": "ISC","peerDependencies": {"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"@@ -3070,9 +3252,9 @@"license": "MIT"},"node_modules/node-releases": {- "version": "2.0.36",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.36.tgz",- "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==",+ "version": "2.0.37",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz",+ "integrity": "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==","dev": true,"license": "MIT"},@@ -3204,9 +3386,9 @@}},"node_modules/postcss": {- "version": "8.5.8",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",- "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",+ "version": "8.5.9",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.9.tgz",+ "integrity": "sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw==","dev": true,"funding": [{@@ -3274,9 +3456,9 @@}},"node_modules/react": {- "version": "19.2.4",- "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",- "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",+ "version": "19.2.5",+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.5.tgz",+ "integrity": "sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==","license": "MIT","engines": {"node": ">=0.10.0"@@ -3339,15 +3521,15 @@}},"node_modules/react-dom": {- "version": "19.2.4",- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",- "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",+ "version": "19.2.5",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.5.tgz",+ "integrity": "sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==","license": "MIT","dependencies": {"scheduler": "^0.27.0"},"peerDependencies": {- "react": "^19.2.4"+ "react": "^19.2.5"}},"node_modules/react-dropzone": {@@ -3373,6 +3555,16 @@"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==","license": "MIT"},+ "node_modules/react-refresh": {+ "version": "0.17.0",+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",+ "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },"node_modules/react-window": {"version": "1.8.11","resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.11.tgz",@@ -3406,46 +3598,50 @@"node": ">=4"}},- "node_modules/rolldown": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.12.tgz",- "integrity": "sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==",+ "node_modules/rollup": {+ "version": "4.60.1",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.1.tgz",+ "integrity": "sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w==","dev": true,"license": "MIT","dependencies": {- "@oxc-project/types": "=0.122.0",- "@rolldown/pluginutils": "1.0.0-rc.12"+ "@types/estree": "1.0.8"},"bin": {- "rolldown": "bin/cli.mjs"+ "rollup": "dist/bin/rollup"},"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">=18.0.0",+ "npm": ">=8.0.0"},"optionalDependencies": {- "@rolldown/binding-android-arm64": "1.0.0-rc.12",- "@rolldown/binding-darwin-arm64": "1.0.0-rc.12",- "@rolldown/binding-darwin-x64": "1.0.0-rc.12",- "@rolldown/binding-freebsd-x64": "1.0.0-rc.12",- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.12",- "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.12",- "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.12",- "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.12",- "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.12",- "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.12",- "@rolldown/binding-linux-x64-musl": "1.0.0-rc.12",- "@rolldown/binding-openharmony-arm64": "1.0.0-rc.12",- "@rolldown/binding-wasm32-wasi": "1.0.0-rc.12",- "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.12",- "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.12"- }- },- "node_modules/rolldown/node_modules/@rolldown/pluginutils": {- "version": "1.0.0-rc.12",- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.12.tgz",- "integrity": "sha512-HHMwmarRKvoFsJorqYlFeFRzXZqCt2ETQlEDOb9aqssrnVBB1/+xgTGtuTrIk5vzLNX1MjMtTf7W9z3tsSbrxw==",- "dev": true,- "license": "MIT"+ "@rollup/rollup-android-arm-eabi": "4.60.1",+ "@rollup/rollup-android-arm64": "4.60.1",+ "@rollup/rollup-darwin-arm64": "4.60.1",+ "@rollup/rollup-darwin-x64": "4.60.1",+ "@rollup/rollup-freebsd-arm64": "4.60.1",+ "@rollup/rollup-freebsd-x64": "4.60.1",+ "@rollup/rollup-linux-arm-gnueabihf": "4.60.1",+ "@rollup/rollup-linux-arm-musleabihf": "4.60.1",+ "@rollup/rollup-linux-arm64-gnu": "4.60.1",+ "@rollup/rollup-linux-arm64-musl": "4.60.1",+ "@rollup/rollup-linux-loong64-gnu": "4.60.1",+ "@rollup/rollup-linux-loong64-musl": "4.60.1",+ "@rollup/rollup-linux-ppc64-gnu": "4.60.1",+ "@rollup/rollup-linux-ppc64-musl": "4.60.1",+ "@rollup/rollup-linux-riscv64-gnu": "4.60.1",+ "@rollup/rollup-linux-riscv64-musl": "4.60.1",+ "@rollup/rollup-linux-s390x-gnu": "4.60.1",+ "@rollup/rollup-linux-x64-gnu": "4.60.1",+ "@rollup/rollup-linux-x64-musl": "4.60.1",+ "@rollup/rollup-openbsd-x64": "4.60.1",+ "@rollup/rollup-openharmony-arm64": "4.60.1",+ "@rollup/rollup-win32-arm64-msvc": "4.60.1",+ "@rollup/rollup-win32-ia32-msvc": "4.60.1",+ "@rollup/rollup-win32-x64-gnu": "4.60.1",+ "@rollup/rollup-win32-x64-msvc": "4.60.1",+ "fsevents": "~2.3.2"+ }},"node_modules/scheduler": {"version": "0.27.0",@@ -3539,14 +3735,14 @@}},"node_modules/tinyglobby": {- "version": "0.2.15",- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",- "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",+ "version": "0.2.16",+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",+ "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==","dev": true,"license": "MIT","dependencies": {"fdir": "^6.5.0",- "picomatch": "^4.0.3"+ "picomatch": "^4.0.4"},"engines": {"node": ">=12.0.0"@@ -3602,16 +3798,16 @@}},"node_modules/typescript-eslint": {- "version": "8.57.2",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.57.2.tgz",- "integrity": "sha512-VEPQ0iPgWO/sBaZOU1xo4nuNdODVOajPnTIbog2GKYr31nIlZ0fWPoCQgGfF3ETyBl1vn63F/p50Um9Z4J8O8A==",+ "version": "8.58.1",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.58.1.tgz",+ "integrity": "sha512-gf6/oHChByg9HJvhMO1iBexJh12AqqTfnuxscMDOVqfJW3htsdRJI/GfPpHTTcyeB8cSTUY2JcZmVgoyPqcrDg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/eslint-plugin": "8.57.2",- "@typescript-eslint/parser": "8.57.2",- "@typescript-eslint/typescript-estree": "8.57.2",- "@typescript-eslint/utils": "8.57.2"+ "@typescript-eslint/eslint-plugin": "8.58.1",+ "@typescript-eslint/parser": "8.58.1",+ "@typescript-eslint/typescript-estree": "8.58.1",+ "@typescript-eslint/utils": "8.58.1"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -3622,7 +3818,7 @@},"peerDependencies": {"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/undici-types": {@@ -3750,23 +3946,21 @@}},"node_modules/vite": {- "version": "8.0.3",- "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.3.tgz",- "integrity": "sha512-B9ifbFudT1TFhfltfaIPgjo9Z3mDynBTJSUYxTjOQruf/zHH+ezCQKcoqO+h7a9Pw9Nm/OtlXAiGT1axBgwqrQ==",+ "version": "5.4.21",+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==","dev": true,"license": "MIT","dependencies": {- "lightningcss": "^1.32.0",- "picomatch": "^4.0.4",- "postcss": "^8.5.8",- "rolldown": "1.0.0-rc.12",- "tinyglobby": "^0.2.15"+ "esbuild": "^0.21.3",+ "postcss": "^8.4.43",+ "rollup": "^4.20.0"},"bin": {"vite": "bin/vite.js"},"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": "^18.0.0 || >=20.0.0"},"funding": {"url": "https://github.com/vitejs/vite?sponsor=1"@@ -3775,33 +3969,23 @@"fsevents": "~2.3.3"},"peerDependencies": {- "@types/node": "^20.19.0 || >=22.12.0",- "@vitejs/devtools": "^0.1.0",- "esbuild": "^0.27.0",- "jiti": ">=1.21.0",- "less": "^4.0.0",- "sass": "^1.70.0",- "sass-embedded": "^1.70.0",- "stylus": ">=0.54.8",- "sugarss": "^5.0.0",- "terser": "^5.16.0",- "tsx": "^4.8.1",- "yaml": "^2.4.2"+ "@types/node": "^18.0.0 || >=20.0.0",+ "less": "*",+ "lightningcss": "^1.21.0",+ "sass": "*",+ "sass-embedded": "*",+ "stylus": "*",+ "sugarss": "*",+ "terser": "^5.4.0"},"peerDependenciesMeta": {"@types/node": {"optional": true},- "@vitejs/devtools": {- "optional": true- },- "esbuild": {- "optional": true- },- "jiti": {+ "less": {"optional": true},- "less": {+ "lightningcss": {"optional": true},"sass": {@@ -3818,12 +4002,6 @@},"terser": {"optional": true- },- "tsx": {- "optional": true- },- "yaml": {- "optional": true}}},diff --git a/semantica-explorer/package.json b/explorer/package.jsonsimilarity index 91%rename from semantica-explorer/package.jsonrename to explorer/package.jsonindex 61e69892..7c31fdaf 100644--- a/semantica-explorer/package.json+++ b/explorer/package.json@@ -1,5 +1,5 @@{- "name": "semantica-explorer",+ "name": "semantica-knowledge-explorer","private": true,"version": "0.0.0","type": "module",@@ -33,12 +33,11 @@"devDependencies": {"@babel/core": "^7.29.0","@eslint/js": "^9.39.4",- "@rolldown/plugin-babel": "^0.2.1","@types/babel__core": "^7.20.5","@types/node": "^24.12.0","@types/react": "^19.2.14","@types/react-dom": "^19.2.3",- "@vitejs/plugin-react": "^6.0.1",+ "@vitejs/plugin-react": "^4.3.0","babel-plugin-react-compiler": "^1.0.0","eslint": "^9.39.4","eslint-plugin-react-hooks": "^7.0.1",@@ -46,6 +45,6 @@"globals": "^17.4.0","typescript": "~5.9.3","typescript-eslint": "^8.57.0",- "vite": "^8.0.1"+ "vite": "^5.4.0"}}diff --git a/semantica-explorer/public/favicon.svg b/explorer/public/favicon.svgsimilarity index 100%rename from semantica-explorer/public/favicon.svgrename to explorer/public/favicon.svgdiff --git a/semantica-explorer/public/icons.svg b/explorer/public/icons.svgsimilarity index 100%rename from semantica-explorer/public/icons.svgrename to explorer/public/icons.svgdiff --git a/semantica-explorer/src/App.css b/explorer/src/App.csssimilarity index 100%rename from semantica-explorer/src/App.cssrename to explorer/src/App.cssdiff --git a/semantica-explorer/src/App.tsx b/explorer/src/App.tsxsimilarity index 81%rename from semantica-explorer/src/App.tsxrename to explorer/src/App.tsxindex 1e44b247..17d8bc78 100644--- a/semantica-explorer/src/App.tsx+++ b/explorer/src/App.tsx@@ -10,11 +10,16 @@ const LineageDiagram = lazy(() => import('./workspaces/LineageWorkspace/LineageDconst ReasoningWorkspace = lazy(() => import('./workspaces/ReasoningWorkspace').then((module) => ({ default: module.ReasoningWorkspace })));const SparqlWorkspace = lazy(() => import('./workspaces/SparqlWorkspace/SparqlWorkspace').then((module) => ({ default: module.SparqlWorkspace })));const VocabularyWorkspace = lazy(() => import('./workspaces/VocabularyWorkspace/VocabularyWorkspace').then((module) => ({ default: module.VocabularyWorkspace })));+const RegistryTab = lazy(() => import('./workspaces/EnrichWorkspace/RegistryTab').then((module) => ({ default: module.RegistryTab })));+const EntityResolutionTab = lazy(() => import('./workspaces/EnrichWorkspace/EntityResolutionTab').then((module) => ({ default: module.EntityResolutionTab })));+const KGOverviewTab = lazy(() => import('./workspaces/ManageWorkspace/KGOverviewTab').then((module) => ({ default: module.KGOverviewTab })));+const OntologySummaryTab = lazy(() => import('./workspaces/ManageWorkspace/OntologySummaryTab').then((module) => ({ default: module.OntologySummaryTab })));type WorkspaceId = 'explore' | 'analyze' | 'decisions' | 'enrich' | 'manage';type ExploreView = 'graph' | 'vocabulary';type AnalyzeView = 'sparql' | 'reasoning';-type EnrichView = 'import' | 'merge';+type EnrichView = 'import' | 'merge' | 'registry' | 'resolve';+type ManageView = 'lineage' | 'kg-overview' | 'ontology';type NavItem = {id: WorkspaceId;@@ -26,7 +31,7 @@ type NavItem = {const queryClient = new QueryClient();const navItems: NavItem[] = [- { id: 'explore', label: 'Explore', hint: 'Graph and vocabulary browsing', icon: Database },+ { id: 'explore', label: 'Knowledge Explorer', hint: 'Graph and vocabulary browsing', icon: Database },{ id: 'analyze', label: 'Analyze', hint: 'Query and inspect the dataset', icon: FileSearch },{ id: 'decisions', label: 'Decisions', hint: 'Decision chains and precedent review', icon: Scale },{ id: 'enrich', label: 'Enrich', hint: 'Import, export, and merge workflows', icon: GitBranchPlus },@@ -275,19 +280,21 @@ function WorkspaceShell({subtitle,tabs,compact = false,+ kicker = 'Workspace',children,}: {title: string;subtitle?: string;tabs?: ReactNode;compact?: boolean;+ kicker?: string;children: ReactNode;}) {return (<section className="workspace-shell"><header className={`workspace-header${compact ? " workspace-header--compact" : ""}`}><div className="workspace-header-main">- <div className="workspace-kicker">Workspace</div>+ <div className="workspace-kicker">{kicker}</div><div className="workspace-title-block"><h1 className="workspace-title">{title}</h1>{subtitle ? <div className="workspace-subtitle">{subtitle}</div> : null}@@ -309,6 +316,7 @@ export default function App() {const [exploreView, setExploreView] = useState<ExploreView>('graph');const [analyzeView, setAnalyzeView] = useState<AnalyzeView>('reasoning');const [enrichView, setEnrichView] = useState<EnrichView>('import');+ const [manageView, setManageView] = useState<ManageView>('lineage');const renderWorkspace = () => {if (activeWorkspace === 'explore') {@@ -316,6 +324,7 @@ export default function App() {<WorkspaceShelltitle="Explore"subtitle={exploreView === 'graph' ? undefined : "Browse the graph and switch views without leaving the workspace."}+ kicker={exploreView === 'graph' ? 'Graph Studio' : 'Vocabulary Browser'}compacttabs={<>@@ -340,6 +349,7 @@ export default function App() {<WorkspaceShelltitle="Analyze"subtitle="Query the active graph and test inference rules."+ kicker={analyzeView === 'reasoning' ? 'Reasoning Engine' : 'SPARQL Query'}tabs={<><button className="workspace-tab" data-active={analyzeView === 'reasoning'} onClick={() => setAnalyzeView('reasoning')}>@@ -363,6 +373,7 @@ export default function App() {<WorkspaceShelltitle="Decisions"subtitle="Inspect decision chains, causal context, and precedent matches."+ kicker="Decision Intelligence"><Suspense fallback={<WorkspaceFallback />}><DecisionWorkspace />@@ -375,7 +386,8 @@ export default function App() {return (<WorkspaceShelltitle="Enrich"- subtitle="Import, export, and reconcile graph entities."+ subtitle="Import, export, reconcile, and audit graph entities."+ kicker="Knowledge Audit"tabs={<><button className="workspace-tab" data-active={enrichView === 'import'} onClick={() => setEnrichView('import')}>@@ -384,11 +396,20 @@ export default function App() {<button className="workspace-tab" data-active={enrichView === 'merge'} onClick={() => setEnrichView('merge')}>Diff and Merge</button>+ <button className="workspace-tab" data-active={enrichView === 'resolve'} onClick={() => setEnrichView('resolve')}>+ Entity Resolution+ </button>+ <button className="workspace-tab" data-active={enrichView === 'registry'} onClick={() => setEnrichView('registry')}>+ Registry+ </button></>}><Suspense fallback={<WorkspaceFallback />}>- {enrichView === 'import' ? <ImportExportWorkspace /> : <DiffMergeWorkspace />}+ {enrichView === 'import' ? <ImportExportWorkspace /> :+ enrichView === 'merge' ? <DiffMergeWorkspace /> :+ enrichView === 'resolve' ? <EntityResolutionTab /> :+ <RegistryTab />}</Suspense></WorkspaceShell>);@@ -397,10 +418,29 @@ export default function App() {return (<WorkspaceShelltitle="Manage"- subtitle="Review provenance, lineage, and governance context."+ subtitle="Review provenance, lineage, ontology, and governance context."+ kicker="Graph Governance"+ tabs={+ <>+ <button className="workspace-tab" data-active={manageView === 'lineage'} onClick={() => setManageView('lineage')}>+ PROV-O Lineage+ </button>+ <button className="workspace-tab" data-active={manageView === 'kg-overview'} onClick={() => setManageView('kg-overview')}>+ KG Overview+ </button>+ <button className="workspace-tab" data-active={manageView === 'ontology'} onClick={() => setManageView('ontology')}>+ Ontology Summary+ </button>+ </>+ }><Suspense fallback={<WorkspaceFallback />}>- <LineageDiagram />+ {manageView === 'lineage' ? <LineageDiagram /> :+ manageView === 'kg-overview' ? <KGOverviewTab /> :+ <OntologySummaryTab onOpenVocabularyBrowser={() => {+ setActiveWorkspace('explore');+ setExploreView('vocabulary');+ }} />}</Suspense></WorkspaceShell>);@@ -411,7 +451,7 @@ export default function App() {<style>{shellStyles}</style><div className="app-shell"><aside className="app-rail">- <div className="brand-pill">SEM</div>+ <div className="brand-pill" title="Semantica Knowledge Explorer">SKE</div>{navItems.map(({ id, label, hint, icon: Icon }) => (<buttonkey={id}diff --git a/semantica-explorer/src/assets/hero.png b/explorer/src/assets/hero.pngsimilarity index 100%rename from semantica-explorer/src/assets/hero.pngrename to explorer/src/assets/hero.pngdiff --git a/semantica-explorer/src/assets/react.svg b/explorer/src/assets/react.svgsimilarity index 100%rename from semantica-explorer/src/assets/react.svgrename to explorer/src/assets/react.svgdiff --git a/semantica-explorer/src/assets/vite.svg b/explorer/src/assets/vite.svgsimilarity index 100%rename from semantica-explorer/src/assets/vite.svgrename to explorer/src/assets/vite.svgdiff --git a/semantica-explorer/src/index.css b/explorer/src/index.csssimilarity index 100%rename from semantica-explorer/src/index.cssrename to explorer/src/index.cssdiff --git a/semantica-explorer/src/main.tsx b/explorer/src/main.tsxsimilarity index 100%rename from semantica-explorer/src/main.tsxrename to explorer/src/main.tsxdiff --git a/semantica-explorer/src/store/edgePairKeys.d.ts b/explorer/src/store/edgePairKeys.d.tssimilarity index 100%rename from semantica-explorer/src/store/edgePairKeys.d.tsrename to explorer/src/store/edgePairKeys.d.tsdiff --git a/semantica-explorer/src/store/edgePairKeys.js b/explorer/src/store/edgePairKeys.jssimilarity index 100%rename from semantica-explorer/src/store/edgePairKeys.jsrename to explorer/src/store/edgePairKeys.jsdiff --git a/semantica-explorer/src/store/graphStore.ts b/explorer/src/store/graphStore.tssimilarity index 100%rename from semantica-explorer/src/store/graphStore.tsrename to explorer/src/store/graphStore.tsdiff --git a/explorer/src/store/registryStore.ts b/explorer/src/store/registryStore.tsnew file mode 100644index 00000000..3620d809--- /dev/null+++ b/explorer/src/store/registryStore.ts@@ -0,0 +1,77 @@+/**+ * src/store/registryStore.ts+ *+ * Lightweight client-side audit log for all KG / Ontology mutations.+ * No backend required — events are dispatched by each workspace after+ * a successful API call or WebSocket mutation.+ *+ * Any component can call logEvent() from anywhere (including non-React code).+ * React components subscribe via the useRegistry() hook.+ */+import { useState, useEffect } from "react";++export type RegistryEntryOp =+ | "import"+ | "export"+ | "merge"+ | "add-node"+ | "add-edge"+ | "delete"+ | "infer"+ | "vocab-import";++export interface RegistryEntry {+ id: string;+ op: RegistryEntryOp;+ timestamp: Date;+ summary: string;+ detail?: Record<string, unknown>;+}++type Listener = (entries: readonly RegistryEntry[]) => void;++let _entries: RegistryEntry[] = [];+const _listeners = new Set<Listener>();+const MAX_ENTRIES = 500;++function _notify(): void {+ _listeners.forEach((fn) => fn(_entries));+}++export function logEvent(+ op: RegistryEntryOp,+ summary: string,+ detail?: Record<string, unknown>,+): void {+ const entry: RegistryEntry = {+ id: `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`,+ op,+ timestamp: new Date(),+ summary,+ detail,+ };+ _entries = [entry, ..._entries].slice(0, MAX_ENTRIES);+ _notify();+}++export function clearRegistry(): void {+ _entries = [];+ _notify();+}++export function getRegistryEntries(): readonly RegistryEntry[] {+ return _entries;+}++export function useRegistry(): readonly RegistryEntry[] {+ const [snapshot, setSnapshot] = useState<readonly RegistryEntry[]>(_entries);+ useEffect(() => {+ // Sync any events that arrived between render and subscribe+ setSnapshot(_entries);+ _listeners.add(setSnapshot);+ return () => {+ _listeners.delete(setSnapshot);+ };+ }, []);+ return snapshot;+}diff --git a/semantica-explorer/src/types.d.ts b/explorer/src/types.d.tssimilarity index 100%rename from semantica-explorer/src/types.d.tsrename to explorer/src/types.d.tsdiff --git a/semantica-explorer/src/ui/primitives.css b/explorer/src/ui/primitives.csssimilarity index 100%rename from semantica-explorer/src/ui/primitives.cssrename to explorer/src/ui/primitives.cssdiff --git a/semantica-explorer/src/ui/primitives.tsx b/explorer/src/ui/primitives.tsxsimilarity index 100%rename from semantica-explorer/src/ui/primitives.tsxrename to explorer/src/ui/primitives.tsxdiff --git a/explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx b/explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsxnew file mode 100644index 00000000..f5e4790d--- /dev/null+++ b/explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx@@ -0,0 +1,398 @@+/**+ * src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx+ */+import { useState, useEffect, useMemo } from "react";+import { Scale, Search } from "lucide-react";++const THEME_CSS = `+ .glass-panel {+ background: linear-gradient(135deg, rgba(13,17,23,0.75), rgba(22,27,34,0.6));+ backdrop-filter: blur(16px) saturate(1.2);+ -webkit-backdrop-filter: blur(16px) saturate(1.2);+ border: 1px solid rgba(88,166,255,0.2);+ box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 1px 1px 0 rgba(255,255,255,0.05);+ }++ @keyframes skeleton-shimmer {+ 0% { opacity: 0.45; }+ 50% { opacity: 0.85; }+ 100% { opacity: 0.45; }+ }+ .skeleton-item {+ border-radius: 8px;+ background: rgba(255,255,255,0.05);+ animation: skeleton-shimmer 1.4s ease-in-out infinite;+ }+`;++type OutcomeKind = "approved" | "rejected" | "deferred" | "pending" | string;++function outcomeStyle(outcome: string): { color: string; bg: string; border: string } {+ const lower = (outcome ?? "").toLowerCase();+ if (lower.includes("approv") || lower.includes("accept"))+ return { color: "#4cc38a", bg: "rgba(76,195,138,0.12)", border: "rgba(76,195,138,0.28)" };+ if (lower.includes("reject") || lower.includes("denied") || lower.includes("fail"))+ return { color: "#ff7b72", bg: "rgba(255,123,114,0.12)", border: "rgba(255,123,114,0.28)" };+ if (lower.includes("defer") || lower.includes("pending") || lower.includes("review"))+ return { color: "#f2b66d", bg: "rgba(242,182,109,0.12)", border: "rgba(242,182,109,0.28)" };+ return { color: "#8fa8c6", bg: "rgba(143,168,198,0.08)", border: "rgba(143,168,198,0.18)" };+}++function OutcomeBadge({ outcome }: { outcome: OutcomeKind }) {+ const style = outcomeStyle(outcome);+ return (+ <span+ style={{+ display: "inline-block",+ padding: "2px 8px",+ borderRadius: 999,+ fontSize: 10,+ fontWeight: 800,+ letterSpacing: "0.06em",+ textTransform: "uppercase",+ color: style.color,+ background: style.bg,+ border: `1px solid ${style.border}`,+ }}+ >+ {outcome || "unknown"}+ </span>+ );+}++function SkeletonList() {+ return (+ <div style={{ display: "flex", flexDirection: "column", gap: 8 }}>+ {[1, 2, 3, 4].map((i) => (+ <div key={i} className="skeleton-item" style={{ height: 62 }} />+ ))}+ </div>+ );+}++/* ─── Causal Flow Diagram ──────────────────────────────────────────── */++interface ChainStep {+ id: string;+ relationship: string;+ content?: string;+ type?: string;+ [key: string]: unknown;+}++function RelationshipPill({ label }: { label: string }) {+ return (+ <div style={{ display: "flex", flexDirection: "column", alignItems: "center", gap: 0, position: "relative", margin: "0 auto" }}>+ {/* Connector line top */}+ <div style={{ width: 2, height: 12, background: "rgba(88,166,255,0.25)" }} />+ {/* Pill */}+ <div+ style={{+ padding: "3px 10px",+ borderRadius: 999,+ fontSize: 10,+ fontWeight: 700,+ letterSpacing: "0.06em",+ textTransform: "uppercase",+ color: "#79c0ff",+ background: "rgba(88,166,255,0.1)",+ border: "1px solid rgba(88,166,255,0.22)",+ whiteSpace: "nowrap",+ maxWidth: 260,+ overflow: "hidden",+ textOverflow: "ellipsis",+ }}+ title={label}+ >+ {label}+ </div>+ {/* Connector line bottom + arrow */}+ <div style={{ width: 2, height: 10, background: "rgba(88,166,255,0.25)" }} />+ <div style={{ width: 0, height: 0, borderLeft: "5px solid transparent", borderRight: "5px solid transparent", borderTop: "6px solid rgba(88,166,255,0.4)" }} />+ </div>+ );+}++function ChainNodeCard({ step, index }: { step: ChainStep; index: number }) {+ const COLORS = ["#3E79F2", "#149287", "#2F9F61", "#555FD6", "#8A56D8", "#B65473", "#C9922E", "#4aa3ff"];+ const color = COLORS[index % COLORS.length];++ return (+ <div+ style={{+ position: "relative",+ padding: "14px 16px",+ borderRadius: 12,+ background: "linear-gradient(135deg, rgba(13,17,23,0.75), rgba(22,27,34,0.5))",+ border: `1px solid ${color}33`,+ boxShadow: `0 0 0 1px ${color}11, inset 0 1px 0 rgba(255,255,255,0.04)`,+ borderLeft: `3px solid ${color}`,+ }}+ >+ <div style={{ display: "flex", alignItems: "center", gap: 8, marginBottom: 4 }}>+ <span+ style={{+ width: 8, height: 8, borderRadius: "50%",+ background: color,+ boxShadow: `0 0 8px ${color}`,+ flexShrink: 0,+ }}+ />+ {step.type ? (+ <span+ style={{+ fontSize: 10, fontWeight: 700, letterSpacing: "0.06em",+ textTransform: "uppercase", color,+ }}+ >+ {step.type}+ </span>+ ) : null}+ </div>+ <div style={{ color: "#e6edf3", fontSize: 14, fontWeight: 600 }}>+ {step.content || step.id}+ </div>+ {step.id && step.id !== step.content ? (+ <div style={{ color: "#6a7f97", fontSize: 11, fontFamily: "monospace", marginTop: 3 }}>{step.id}</div>+ ) : null}+ </div>+ );+}++function CausalFlowDiagram({ chain, loading }: { chain: ChainStep[]; loading: boolean }) {+ if (loading) {+ return (+ <div style={{ display: "flex", flexDirection: "column", gap: 4 }}>+ {[1, 2, 3].map((i) => (+ <div key={i} className="skeleton-item" style={{ height: 68 }} />+ ))}+ </div>+ );+ }++ if (chain.length === 0) {+ return (+ <div style={{ textAlign: "center", padding: "40px 24px", color: "#8b949e", fontSize: 13 }}>+ No causal chain steps found for this decision.+ </div>+ );+ }++ return (+ <div style={{ display: "flex", flexDirection: "column", alignItems: "stretch" }}>+ {chain.map((step, index) => (+ <div key={`${step.id}-${index}`} style={{ display: "flex", flexDirection: "column" }}>+ <ChainNodeCard step={step} index={index} />+ {index < chain.length - 1 ? (+ <RelationshipPill label={chain[index + 1]?.relationship || "→"} />+ ) : null}+ </div>+ ))}+ </div>+ );+}++/* ─── Main Workspace ──────────────────────────────────────────────── */++export function DecisionWorkspace() {+ const [decisions, setDecisions] = useState<any[]>([]);+ const [selectedDecision, setSelectedDecision] = useState<any | null>(null);+ const [chain, setChain] = useState<ChainStep[]>([]);+ const [loading, setLoading] = useState(false);+ const [listLoading, setListLoading] = useState(true);+ const [filterQuery, setFilterQuery] = useState("");++ useEffect(() => {+ setListLoading(true);+ fetch("/api/decisions")+ .then((res) => res.json())+ .then((data) => {+ setDecisions(data);+ if (data.length > 0) void handleSelectDecision(data[0]);+ })+ .catch(console.error)+ .finally(() => setListLoading(false));+ }, []);++ const filteredDecisions = useMemo(() => {+ if (!filterQuery.trim()) return decisions;+ const q = filterQuery.toLowerCase();+ return decisions.filter(+ (d) =>+ String(d.decision_id ?? "").toLowerCase().includes(q) ||+ String(d.category ?? "").toLowerCase().includes(q) ||+ String(d.outcome ?? "").toLowerCase().includes(q),+ );+ }, [decisions, filterQuery]);++ const handleSelectDecision = async (d: any) => {+ setSelectedDecision(d);+ setLoading(true);+ setChain([]);+ try {+ const res = await fetch(`/api/decisions/${d.decision_id}/chain`);+ const data = await res.json();+ setChain(data.chain || []);+ } catch (e) {+ console.error(e);+ } finally {+ setLoading(false);+ }+ };++ return (+ <div style={{ display: "flex", width: "100%", height: "100%", background: "#0d1117", overflow: "hidden" }}>+ <style>{THEME_CSS}</style>++ {/* Left Column — Decision List */}+ <div+ className="glass-panel"+ style={{+ width: 300,+ display: "flex",+ flexDirection: "column",+ borderRadius: 0,+ border: "none",+ borderRight: "1px solid rgba(88,166,255,0.16)",+ }}+ >+ {/* List header */}+ <div style={{ padding: "20px 20px 14px", borderBottom: "1px solid rgba(255,255,255,0.06)", flexShrink: 0 }}>+ <div style={{ display: "flex", alignItems: "center", gap: 8, marginBottom: 12 }}>+ <Scale size={16} color="#4aa3ff" />+ <h2 style={{ color: "#ebf3ff", margin: 0, fontSize: 15, fontWeight: 700 }}>Decisions</h2>+ {decisions.length > 0 ? (+ <span style={{ color: "#6a7f97", fontSize: 11, marginLeft: "auto" }}>{decisions.length}</span>+ ) : null}+ </div>++ {/* Filter input */}+ <div style={{ position: "relative" }}>+ <Search+ size={13}+ color="#8b949e"+ style={{ position: "absolute", left: 10, top: "50%", transform: "translateY(-50%)", pointerEvents: "none" }}+ />+ <input+ type="text"+ placeholder="Filter decisions…"+ value={filterQuery}+ onChange={(e) => setFilterQuery(e.target.value)}+ style={filterInputStyle}+ />+ </div>+ </div>++ {/* Decision list */}+ <div style={{ flex: 1, overflowY: "auto", padding: "12px 14px" }}>+ {listLoading ? (+ <SkeletonList />+ ) : filteredDecisions.length === 0 ? (+ <div style={{ color: "#6a7f97", fontSize: 13, textAlign: "center", padding: "32px 12px" }}>+ {decisions.length === 0 ? "No decisions available." : "No decisions match your filter."}+ </div>+ ) : (+ <div style={{ display: "flex", flexDirection: "column", gap: 6 }}>+ {filteredDecisions.map((d) => {+ const isActive = selectedDecision?.decision_id === d.decision_id;+ return (+ <button+ key={d.decision_id}+ onClick={() => void handleSelectDecision(d)}+ style={{+ textAlign: "left",+ padding: "10px 12px",+ borderRadius: 10,+ cursor: "pointer",+ background: isActive+ ? "rgba(74,163,255,0.15)"+ : "rgba(255,255,255,0.02)",+ border: isActive+ ? "1px solid rgba(74,163,255,0.32)"+ : "1px solid rgba(255,255,255,0.06)",+ color: isActive ? "#ffffff" : "#c6d4e3",+ transition: "all 160ms ease",+ }}+ >+ <div style={{ fontWeight: 700, fontSize: 13, marginBottom: 4 }}>{d.decision_id}</div>+ <div style={{ display: "flex", alignItems: "center", gap: 6, flexWrap: "wrap" }}>+ {d.category ? (+ <span style={{ fontSize: 11, color: "#8b949e" }}>{d.category}</span>+ ) : null}+ {d.outcome ? <OutcomeBadge outcome={d.outcome} /> : null}+ </div>+ </button>+ );+ })}+ </div>+ )}+ </div>+ </div>++ {/* Right Column — Decision Detail */}+ <div style={{ flex: 1, display: "flex", flexDirection: "column", overflow: "hidden" }}>+ {/* Radial accent */}+ <div style={{ position: "absolute", inset: 0, background: "radial-gradient(ellipse at top right, rgba(88,166,255,0.04), transparent 55%)", pointerEvents: "none", zIndex: 0 }} />++ {selectedDecision ? (+ <div style={{ flex: 1, overflowY: "auto", padding: "28px 32px", position: "relative", zIndex: 1 }}>+ {/* Decision header */}+ <div style={{ marginBottom: 28 }}>+ <div style={{ display: "flex", alignItems: "flex-start", gap: 14, flexWrap: "wrap" }}>+ <div style={{ flex: 1, minWidth: 0 }}>+ <div style={{ color: "#8b949e", fontSize: 11, fontWeight: 700, textTransform: "uppercase", letterSpacing: "0.07em", marginBottom: 6 }}>+ Decision ID+ </div>+ <h1 style={{ color: "#ffffff", fontSize: 24, fontWeight: 800, letterSpacing: "-0.03em", margin: "0 0 8px 0", wordBreak: "break-word" }}>+ {selectedDecision.decision_id}+ </h1>+ </div>+ {selectedDecision.outcome ? <OutcomeBadge outcome={selectedDecision.outcome} /> : null}+ </div>++ {selectedDecision.category ? (+ <div style={{ display: "inline-flex", alignItems: "center", gap: 6, padding: "4px 10px", borderRadius: 999, background: "rgba(255,255,255,0.04)", border: "1px solid rgba(255,255,255,0.08)", color: "#8b949e", fontSize: 12 }}>+ {selectedDecision.category}+ </div>+ ) : null}+ </div>++ {/* Causal Chain */}+ <div className="glass-panel" style={{ padding: 24, borderRadius: 16 }}>+ <div style={{ display: "flex", alignItems: "center", gap: 8, marginBottom: 20 }}>+ <div style={{ width: 6, height: 6, borderRadius: "50%", background: "linear-gradient(135deg, #4aa3ff, #f2b66d)", boxShadow: "0 0 10px rgba(74,163,255,0.4)" }} />+ <h3 style={{ color: "#e6edf3", margin: 0, fontSize: 14, fontWeight: 700, letterSpacing: "0.02em" }}>+ Causal Chain+ </h3>+ {chain.length > 0 && !loading ? (+ <span style={{ color: "#6a7f97", fontSize: 11, marginLeft: "auto" }}>+ {chain.length} step{chain.length !== 1 ? "s" : ""}+ </span>+ ) : null}+ </div>+ <CausalFlowDiagram chain={chain} loading={loading} />+ </div>+ </div>+ ) : (+ <div style={{ flex: 1, display: "flex", alignItems: "center", justifyContent: "center", color: "#8b949e", fontSize: 14 }}>+ Select a decision to inspect its causal chain.+ </div>+ )}+ </div>+ </div>+ );+}++/* ─── styles ─────────────────────────────────────────────────────── */++const filterInputStyle: React.CSSProperties = {+ width: "100%",+ padding: "7px 10px 7px 30px",+ background: "rgba(0,0,0,0.25)",+ border: "1px solid rgba(88,166,255,0.16)",+ borderRadius: 8,+ color: "#c6d4e3",+ fontSize: 12,+ outline: "none",+ boxSizing: "border-box",+};diff --git a/semantica-explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsx b/explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsxsimilarity index 93%rename from semantica-explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsxrename to explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsxindex 1d71c33c..e27e758f 100644--- a/semantica-explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsx+++ b/explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsx@@ -2,6 +2,7 @@* src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsx*/import { useState } from "react";+import { logEvent } from "../../store/registryStore";const THEME_CSS = `.glass-panel {@@ -29,6 +30,11 @@ export function DiffMergeWorkspace() {const data = await res.json();if (data.merged_into) {setMsg(`Merge success: redirected ${data.edges_updated} edges to ${data.merged_into}`);+ logEvent("merge", `Merged ${duplicateId} → ${data.merged_into} · ${data.edges_updated} edges redirected`, {+ primary: data.merged_into,+ duplicate: duplicateId,+ edgesUpdated: data.edges_updated,+ });} else {setMsg("Merge failed...");}diff --git a/explorer/src/workspaces/EnrichWorkspace/EntityResolutionTab.tsx b/explorer/src/workspaces/EnrichWorkspace/EntityResolutionTab.tsxnew file mode 100644index 00000000..5d1c9151--- /dev/null+++ b/explorer/src/workspaces/EnrichWorkspace/EntityResolutionTab.tsx@@ -0,0 +1,450 @@+/**+ * src/workspaces/EnrichWorkspace/EntityResolutionTab.tsx+ *+ * Entity Resolution — run duplicate detection, review flagged pairs,+ * perform one-click merges, and view merge history from the Registry.+ */+import { useState, useCallback } from "react";+import { ScanSearch, GitMerge, X, ChevronDown, ChevronRight, Loader2 } from "lucide-react";+import { logEvent, useRegistry } from "../../store/registryStore";++interface DedupPair {+ a: { id: string; label: string; type: string };+ b: { id: string; label: string; type: string };+ score: number;+ dismissed?: boolean;+}++interface RawDuplicateItem {+ entity_a?: string | Record<string, unknown>;+ entity_b?: string | Record<string, unknown>;+ similarity?: number;+ score?: number;+ [key: string]: unknown;+}++function extractId(entity: string | Record<string, unknown> | undefined): string {+ if (!entity) return "";+ if (typeof entity === "string") return entity;+ return String(entity.id ?? entity.text ?? JSON.stringify(entity));+}++function extractLabel(entity: string | Record<string, unknown> | undefined): string {+ if (!entity) return "";+ if (typeof entity === "string") return entity;+ return String(entity.text ?? entity.label ?? entity.content ?? entity.id ?? "");+}++function extractType(entity: string | Record<string, unknown> | undefined): string {+ if (!entity || typeof entity === "string") return "entity";+ return String(entity.type ?? "entity");+}++function parseDuplicates(raw: RawDuplicateItem[]): DedupPair[] {+ return raw.map((item) => ({+ a: {+ id: extractId(item.entity_a as string | Record<string, unknown>),+ label: extractLabel(item.entity_a as string | Record<string, unknown>),+ type: extractType(item.entity_a as string | Record<string, unknown>),+ },+ b: {+ id: extractId(item.entity_b as string | Record<string, unknown>),+ label: extractLabel(item.entity_b as string | Record<string, unknown>),+ type: extractType(item.entity_b as string | Record<string, unknown>),+ },+ score: Number(item.similarity ?? item.score ?? 0),+ }));+}++function ScoreBar({ score }: { score: number }) {+ const pct = Math.min(100, Math.round(score * 100));+ const color = score >= 0.9 ? "#ff7b72" : score >= 0.75 ? "#f2b66d" : "#4cc38a";+ return (+ <div style={{ display: "flex", alignItems: "center", gap: 8 }}>+ <div style={{ flex: 1, height: 4, borderRadius: 999, background: "rgba(255,255,255,0.06)", overflow: "hidden" }}>+ <div style={{ width: `${pct}%`, height: "100%", borderRadius: 999, background: color, transition: "width 300ms ease" }} />+ </div>+ <span style={{ fontSize: 11, fontWeight: 700, color, minWidth: 34, textAlign: "right" }}>+ {pct}%+ </span>+ </div>+ );+}++function PairRow({+ pair,+ onMerge,+ onDismiss,+}: {+ pair: DedupPair;+ onMerge: (primaryId: string, duplicateId: string) => Promise<void>;+ onDismiss: () => void;+}) {+ const [expanded, setExpanded] = useState(false);+ const [merging, setMerging] = useState(false);++ const handleMerge = async () => {+ setMerging(true);+ await onMerge(pair.a.id, pair.b.id);+ setMerging(false);+ };++ return (+ <div style={pairCardStyle}>+ <div style={{ display: "flex", alignItems: "flex-start", gap: 12 }}>+ {/* Expand */}+ <button onClick={() => setExpanded((v) => !v)} style={iconBtnStyle}>+ {expanded ? <ChevronDown size={13} /> : <ChevronRight size={13} />}+ </button>++ {/* Entity Labels */}+ <div style={{ flex: 1, minWidth: 0 }}>+ <div style={{ display: "flex", alignItems: "center", gap: 8, flexWrap: "wrap" }}>+ <span style={entityChipStyle}>{pair.a.label || pair.a.id}</span>+ <span style={{ color: "#f2b66d", fontSize: 12, fontWeight: 700 }}>≈</span>+ <span style={entityChipStyle}>{pair.b.label || pair.b.id}</span>+ </div>+ <div style={{ marginTop: 8 }}>+ <ScoreBar score={pair.score} />+ </div>+ </div>++ {/* Actions */}+ <div style={{ display: "flex", gap: 6, flexShrink: 0 }}>+ <button+ onClick={() => void handleMerge()}+ disabled={merging}+ style={{+ ...actionBtnStyle,+ background: "rgba(76,195,138,0.12)",+ border: "1px solid rgba(76,195,138,0.28)",+ color: "#4cc38a",+ }}+ >+ {merging ? <Loader2 size={12} className="animate-spin" /> : <GitMerge size={12} />}+ <span>Merge</span>+ </button>+ <button onClick={onDismiss} style={iconBtnStyle} title="Dismiss">+ <X size={13} />+ </button>+ </div>+ </div>++ {/* Expanded diff */}+ {expanded ? (+ <div style={{ marginTop: 12, display: "grid", gridTemplateColumns: "1fr 1fr", gap: 10 }}>+ {[+ { label: "Primary (keep)", entity: pair.a, accentColor: "#4aa3ff" },+ { label: "Duplicate (remove)", entity: pair.b, accentColor: "#ff7b72" },+ ].map(({ label, entity, accentColor }) => (+ <div key={entity.id} style={{ ...diffCardStyle, borderColor: `${accentColor}33` }}>+ <div style={{ color: accentColor, fontSize: 10, fontWeight: 700, letterSpacing: "0.06em", textTransform: "uppercase", marginBottom: 6 }}>+ {label}+ </div>+ <div style={{ color: "#e6edf3", fontSize: 13, fontWeight: 600 }}>{entity.label || entity.id}</div>+ <div style={{ color: "#8b949e", fontSize: 11, marginTop: 3 }}>{entity.type}</div>+ <div style={{ color: "#6a7f97", fontSize: 10, marginTop: 4, fontFamily: "monospace" }}>{entity.id}</div>+ </div>+ ))}+ </div>+ ) : null}+ </div>+ );+}++export function EntityResolutionTab() {+ const [threshold, setThreshold] = useState(0.82);+ const [scanning, setScanning] = useState(false);+ const [pairs, setPairs] = useState<DedupPair[]>([]);+ const [scanError, setScanError] = useState("");+ const registryEntries = useRegistry();++ const mergeHistory = registryEntries.filter((e) => e.op === "merge");++ const handleScan = useCallback(async () => {+ setScanning(true);+ setScanError("");+ try {+ const res = await fetch("/api/enrich/dedup", {+ method: "POST",+ headers: { "Content-Type": "application/json" },+ body: JSON.stringify({ threshold }),+ });+ if (!res.ok) {+ const err = await res.json().catch(() => ({}));+ throw new Error((err as Record<string, string>).detail ?? `Scan failed (${res.status})`);+ }+ const data = await res.json();+ const rawDuplicates: RawDuplicateItem[] = Array.isArray(data.duplicates)+ ? (data.duplicates as RawDuplicateItem[])+ : [];+ const parsed = parseDuplicates(rawDuplicates);+ setPairs(parsed);+ logEvent("import", `Dedup scan found ${parsed.length} flagged pair${parsed.length !== 1 ? "s" : ""} (threshold ${threshold.toFixed(2)})`, {+ threshold,+ flagged: parsed.length,+ });+ } catch (err) {+ setScanError(err instanceof Error ? err.message : "Scan failed");+ } finally {+ setScanning(false);+ }+ }, [threshold]);++ const handleMerge = useCallback(async (primaryId: string, duplicateId: string) => {+ try {+ const res = await fetch("/api/enrich/merge", {+ method: "POST",+ headers: { "Content-Type": "application/json" },+ body: JSON.stringify({ primary_id: primaryId, duplicate_ids: [duplicateId] }),+ });+ if (!res.ok) throw new Error(`Merge failed (${res.status})`);+ const data = await res.json();+ logEvent("merge", `Merged ${duplicateId} → ${primaryId} · ${data.edges_updated ?? 0} edges redirected`, {+ primary: primaryId,+ duplicate: duplicateId,+ edgesUpdated: data.edges_updated,+ });+ setPairs((prev) => prev.filter((p) => !(p.a.id === primaryId && p.b.id === duplicateId)));+ } catch (err) {+ console.error("[EntityResolution] merge failed", err);+ }+ }, []);++ const handleDismiss = useCallback((index: number) => {+ setPairs((prev) => prev.filter((_, i) => i !== index));+ }, []);++ return (+ <div style={shellStyle}>+ {/* Header */}+ <div style={headerStyle}>+ <div style={{ display: "flex", alignItems: "center", gap: 10 }}>+ <ScanSearch size={18} color="#f2b66d" />+ <div>+ <div style={{ color: "#ebf3ff", fontSize: 16, fontWeight: 700 }}>Entity Resolution</div>+ <div style={{ color: "#8b949e", fontSize: 12 }}>Detect and merge duplicate entities in the knowledge graph</div>+ </div>+ </div>+ </div>++ {/* Scan controls */}+ <div style={controlsCardStyle}>+ <div style={{ display: "flex", alignItems: "center", gap: 16, flexWrap: "wrap" }}>+ <div style={{ flex: 1, minWidth: 240 }}>+ <div style={{ display: "flex", justifyContent: "space-between", marginBottom: 6 }}>+ <label style={{ color: "#c6d4e3", fontSize: 12, fontWeight: 600 }}>Similarity Threshold</label>+ <span style={{ color: "#f2b66d", fontSize: 12, fontWeight: 700 }}>{threshold.toFixed(2)}</span>+ </div>+ <input+ type="range"+ min={0.5}+ max={0.99}+ step={0.01}+ value={threshold}+ onChange={(e) => setThreshold(parseFloat(e.target.value))}+ style={{ width: "100%", accentColor: "#f2b66d", cursor: "pointer" }}+ />+ <div style={{ display: "flex", justifyContent: "space-between", color: "#6a7f97", fontSize: 10, marginTop: 2 }}>+ <span>More results (0.50)</span>+ <span>Fewer, higher confidence (0.99)</span>+ </div>+ </div>+ <button+ onClick={() => void handleScan()}+ disabled={scanning}+ style={scanBtnStyle}+ >+ {scanning ? <Loader2 size={14} className="animate-spin" /> : <ScanSearch size={14} />}+ <span>{scanning ? "Scanning…" : "Run Dedup Scan"}</span>+ </button>+ </div>+ {scanError ? (+ <div style={{ color: "#ff7b72", fontSize: 12, marginTop: 8 }}>{scanError}</div>+ ) : null}+ </div>++ <div style={{ flex: 1, overflow: "hidden", display: "flex", gap: 0 }}>+ {/* Flagged pairs */}+ <div style={{ flex: 1, overflowY: "auto", padding: "16px 24px", display: "flex", flexDirection: "column", gap: 10 }}>+ {pairs.length > 0 ? (+ <>+ <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: 4 }}>+ <div style={{ color: "#8b949e", fontSize: 12, fontWeight: 600 }}>+ {pairs.length} flagged pair{pairs.length !== 1 ? "s" : ""}+ </div>+ <button onClick={() => setPairs([])} style={clearAllBtnStyle}>Clear all</button>+ </div>+ {pairs.map((pair, index) => (+ <PairRow+ key={`${pair.a.id}:${pair.b.id}`}+ pair={pair}+ onMerge={handleMerge}+ onDismiss={() => handleDismiss(index)}+ />+ ))}+ </>+ ) : (+ <div style={emptyStateStyle}>+ <ScanSearch size={36} color="rgba(242,182,109,0.15)" />+ <div style={{ color: "#8b949e", fontSize: 14, marginTop: 12, fontWeight: 500 }}>+ No flagged pairs+ </div>+ <div style={{ color: "#6a7f97", fontSize: 12, marginTop: 4, textAlign: "center", maxWidth: 280 }}>+ Set a similarity threshold and run a dedup scan to detect potential duplicates.+ </div>+ </div>+ )}+ </div>++ {/* Merge history sidebar */}+ {mergeHistory.length > 0 ? (+ <div style={historyPanelStyle}>+ <div style={{ color: "#8b949e", fontSize: 11, fontWeight: 700, letterSpacing: "0.06em", textTransform: "uppercase", marginBottom: 10 }}>+ Merge History+ </div>+ <div style={{ display: "flex", flexDirection: "column", gap: 6 }}>+ {mergeHistory.map((entry) => (+ <div key={entry.id} style={historyRowStyle}>+ <GitMerge size={11} color="#f2b66d" />+ <div style={{ flex: 1, minWidth: 0 }}>+ <div style={{ color: "#c6d4e3", fontSize: 11, fontWeight: 500, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>+ {entry.summary}+ </div>+ <div style={{ color: "#6a7f97", fontSize: 10 }}>+ {entry.timestamp.toLocaleTimeString()}+ </div>+ </div>+ </div>+ ))}+ </div>+ </div>+ ) : null}+ </div>+ </div>+ );+}++/* ─── styles ─────────────────────────────────────────────────────── */++const shellStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ width: "100%",+ height: "100%",+ background: "#0d1117",+ overflow: "hidden",+};++const headerStyle: React.CSSProperties = {+ padding: "20px 24px 16px",+ borderBottom: "1px solid rgba(88,166,255,0.1)",+ flexShrink: 0,+};++const controlsCardStyle: React.CSSProperties = {+ margin: "16px 24px",+ padding: "16px 20px",+ borderRadius: 14,+ background: "linear-gradient(135deg, rgba(13,17,23,0.75), rgba(22,27,34,0.6))",+ border: "1px solid rgba(242,182,109,0.18)",+ flexShrink: 0,+};++const scanBtnStyle: React.CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 7,+ padding: "10px 18px",+ borderRadius: 10,+ background: "linear-gradient(135deg, rgba(242,182,109,0.22), rgba(242,182,109,0.1))",+ border: "1px solid rgba(242,182,109,0.32)",+ color: "#f2b66d",+ fontSize: 13,+ fontWeight: 700,+ cursor: "pointer",+ flexShrink: 0,+};++const pairCardStyle: React.CSSProperties = {+ padding: "12px 14px",+ borderRadius: 12,+ background: "linear-gradient(135deg, rgba(13,17,23,0.6), rgba(22,27,34,0.4))",+ border: "1px solid rgba(255,255,255,0.07)",+};++const entityChipStyle: React.CSSProperties = {+ display: "inline-block",+ padding: "4px 10px",+ borderRadius: 8,+ background: "rgba(255,255,255,0.04)",+ border: "1px solid rgba(255,255,255,0.08)",+ color: "#e6edf3",+ fontSize: 12,+ fontWeight: 600,+};++const actionBtnStyle: React.CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 5,+ padding: "5px 10px",+ borderRadius: 8,+ fontSize: 11,+ fontWeight: 700,+ cursor: "pointer",+};++const iconBtnStyle: React.CSSProperties = {+ background: "transparent",+ border: "none",+ color: "#8b949e",+ cursor: "pointer",+ padding: 4,+ borderRadius: 6,+ display: "flex",+ alignItems: "center",+};++const diffCardStyle: React.CSSProperties = {+ padding: "10px 12px",+ borderRadius: 10,+ background: "rgba(0,0,0,0.2)",+ border: "1px solid transparent",+};++const historyPanelStyle: React.CSSProperties = {+ width: 240,+ borderLeft: "1px solid rgba(255,255,255,0.06)",+ padding: "16px 16px",+ overflowY: "auto",+ flexShrink: 0,+};++const historyRowStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "flex-start",+ gap: 7,+ padding: "8px 0",+ borderBottom: "1px solid rgba(255,255,255,0.04)",+};++const emptyStateStyle: React.CSSProperties = {+ flex: 1,+ display: "flex",+ flexDirection: "column",+ alignItems: "center",+ justifyContent: "center",+ padding: 40,+ minHeight: 200,+};++const clearAllBtnStyle: React.CSSProperties = {+ background: "transparent",+ border: "none",+ color: "#8b949e",+ fontSize: 12,+ cursor: "pointer",+ padding: "2px 6px",+ borderRadius: 6,+};diff --git a/explorer/src/workspaces/EnrichWorkspace/RegistryTab.tsx b/explorer/src/workspaces/EnrichWorkspace/RegistryTab.tsxnew file mode 100644index 00000000..e1178eaa--- /dev/null+++ b/explorer/src/workspaces/EnrichWorkspace/RegistryTab.tsx@@ -0,0 +1,284 @@+/**+ * src/workspaces/EnrichWorkspace/RegistryTab.tsx+ *+ * Document Registry — a live, filterable chronological audit log of every+ * KG / Ontology mutation that occurred in this session.+ */+import { useState } from "react";+import { ClipboardList, Filter, Trash2, ChevronDown, ChevronRight } from "lucide-react";+import { useRegistry, clearRegistry, type RegistryEntryOp } from "../../store/registryStore";++const OP_META: Record<+ RegistryEntryOp,+ { label: string; color: string; bg: string; border: string }+> = {+ import: { label: "IMPORT", color: "#4aa3ff", bg: "rgba(74,163,255,0.12)", border: "rgba(74,163,255,0.28)" },+ export: { label: "EXPORT", color: "#8fa8c6", bg: "rgba(143,168,198,0.08)", border: "rgba(143,168,198,0.18)" },+ merge: { label: "MERGE", color: "#f2b66d", bg: "rgba(242,182,109,0.12)", border: "rgba(242,182,109,0.28)" },+ "add-node": { label: "ADD NODE", color: "#4cc38a", bg: "rgba(76,195,138,0.12)", border: "rgba(76,195,138,0.28)" },+ "add-edge": { label: "ADD EDGE", color: "#4cc38a", bg: "rgba(76,195,138,0.10)", border: "rgba(76,195,138,0.22)" },+ delete: { label: "DELETE", color: "#ff7b72", bg: "rgba(255,123,114,0.12)", border: "rgba(255,123,114,0.28)" },+ infer: { label: "INFER", color: "#d2a8ff", bg: "rgba(210,168,255,0.12)", border: "rgba(210,168,255,0.28)" },+ "vocab-import": { label: "VOCAB", color: "#79c0ff", bg: "rgba(121,192,255,0.12)", border: "rgba(121,192,255,0.28)" },+};++const ALL_OPS: (RegistryEntryOp | "all")[] = [+ "all", "import", "export", "merge", "add-node", "add-edge", "infer", "delete", "vocab-import",+];++function formatTimestamp(date: Date): string {+ return date.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit", second: "2-digit" });+}++function formatDate(date: Date): string {+ return date.toLocaleDateString(undefined, { month: "short", day: "numeric" });+}++function EntryRow({ entry }: { entry: ReturnType<typeof useRegistry>[number] }) {+ const [expanded, setExpanded] = useState(false);+ const meta = OP_META[entry.op];+ const hasDetail = entry.detail && Object.keys(entry.detail).length > 0;++ return (+ <div style={entryCardStyle}>+ <div style={{ display: "flex", alignItems: "flex-start", gap: 12 }}>+ {/* Op Badge */}+ <span+ style={{+ flexShrink: 0,+ display: "inline-block",+ padding: "3px 8px",+ borderRadius: 999,+ fontSize: 10,+ fontWeight: 800,+ letterSpacing: "0.07em",+ color: meta.color,+ background: meta.bg,+ border: `1px solid ${meta.border}`,+ marginTop: 1,+ }}+ >+ {meta.label}+ </span>++ {/* Content */}+ <div style={{ flex: 1, minWidth: 0 }}>+ <div style={{ color: "#e6edf3", fontSize: 13, fontWeight: 500, wordBreak: "break-word" }}>+ {entry.summary}+ </div>+ <div style={{ color: "#8b949e", fontSize: 11, marginTop: 3 }}>+ {formatDate(entry.timestamp)} · {formatTimestamp(entry.timestamp)}+ </div>+ </div>++ {/* Expand toggle */}+ {hasDetail ? (+ <button+ onClick={() => setExpanded((v) => !v)}+ title={expanded ? "Collapse details" : "Expand details"}+ style={expandBtnStyle}+ >+ {expanded ? <ChevronDown size={14} /> : <ChevronRight size={14} />}+ </button>+ ) : null}+ </div>++ {/* Expanded detail */}+ {expanded && hasDetail ? (+ <pre style={detailPreStyle}>+ {JSON.stringify(entry.detail, null, 2)}+ </pre>+ ) : null}+ </div>+ );+}++export function RegistryTab() {+ const entries = useRegistry();+ const [activeFilter, setActiveFilter] = useState<RegistryEntryOp | "all">("all");++ const filtered = activeFilter === "all"+ ? entries+ : entries.filter((e) => e.op === activeFilter);++ return (+ <div style={shellStyle}>+ {/* Header */}+ <div style={headerStyle}>+ <div style={{ display: "flex", alignItems: "center", gap: 10 }}>+ <ClipboardList size={18} color="#4aa3ff" />+ <div>+ <div style={{ color: "#ebf3ff", fontSize: 16, fontWeight: 700 }}>Document Registry</div>+ <div style={{ color: "#8b949e", fontSize: 12 }}>+ Audit log of all KG and Ontology mutations this session+ </div>+ </div>+ </div>+ <div style={{ display: "flex", alignItems: "center", gap: 8 }}>+ <span style={{ color: "#8fa8c6", fontSize: 12 }}>+ {entries.length} event{entries.length !== 1 ? "s" : ""}+ </span>+ {entries.length > 0 ? (+ <button+ onClick={clearRegistry}+ title="Clear all events"+ style={clearBtnStyle}+ >+ <Trash2 size={13} />+ <span>Clear</span>+ </button>+ ) : null}+ </div>+ </div>++ {/* Filter pills */}+ <div style={filterBarStyle}>+ <Filter size={13} color="#8fa8c6" />+ <div style={{ display: "flex", gap: 6, flexWrap: "wrap" }}>+ {ALL_OPS.map((op) => {+ const isActive = op === activeFilter;+ const meta = op === "all" ? null : OP_META[op as RegistryEntryOp];+ return (+ <button+ key={op}+ onClick={() => setActiveFilter(op as typeof activeFilter)}+ style={{+ padding: "4px 10px",+ borderRadius: 999,+ fontSize: 11,+ fontWeight: 600,+ cursor: "pointer",+ border: isActive+ ? `1px solid ${meta?.border ?? "rgba(127,208,255,0.35)"}`+ : "1px solid rgba(255,255,255,0.06)",+ background: isActive+ ? (meta?.bg ?? "rgba(74,163,255,0.14)")+ : "transparent",+ color: isActive+ ? (meta?.color ?? "#8ed3ff")+ : "#8b949e",+ transition: "all 140ms ease",+ }}+ >+ {op === "all" ? "All" : (meta?.label ?? op)}+ </button>+ );+ })}+ </div>+ </div>++ {/* Feed */}+ <div style={feedStyle}>+ {filtered.length === 0 ? (+ <div style={emptyStateStyle}>+ <ClipboardList size={36} color="rgba(127,208,255,0.15)" />+ <div style={{ color: "#8b949e", fontSize: 14, marginTop: 12, fontWeight: 500 }}>+ No events recorded yet+ </div>+ <div style={{ color: "#6a7f97", fontSize: 12, marginTop: 4, textAlign: "center", maxWidth: 300 }}>+ Import a file, run reasoning, or merge entities to see activity appear here.+ </div>+ </div>+ ) : (+ filtered.map((entry) => <EntryRow key={entry.id} entry={entry} />)+ )}+ </div>+ </div>+ );+}++/* ─── styles ─────────────────────────────────────────────────────── */++const shellStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ width: "100%",+ height: "100%",+ background: "#0d1117",+ overflow: "hidden",+};++const headerStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "center",+ justifyContent: "space-between",+ padding: "20px 24px 16px",+ borderBottom: "1px solid rgba(88,166,255,0.1)",+ flexShrink: 0,+};++const filterBarStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "center",+ gap: 10,+ padding: "12px 24px",+ borderBottom: "1px solid rgba(255,255,255,0.05)",+ flexShrink: 0,+};++const feedStyle: React.CSSProperties = {+ flex: 1,+ overflowY: "auto",+ padding: "16px 24px",+ display: "flex",+ flexDirection: "column",+ gap: 8,+};++const entryCardStyle: React.CSSProperties = {+ padding: "12px 14px",+ borderRadius: 12,+ background: "linear-gradient(135deg, rgba(13,17,23,0.6), rgba(22,27,34,0.4))",+ border: "1px solid rgba(255,255,255,0.06)",+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)",+};++const expandBtnStyle: React.CSSProperties = {+ flexShrink: 0,+ background: "transparent",+ border: "none",+ color: "#8b949e",+ cursor: "pointer",+ padding: 4,+ borderRadius: 6,+ display: "flex",+ alignItems: "center",+};++const detailPreStyle: React.CSSProperties = {+ marginTop: 10,+ padding: "10px 12px",+ borderRadius: 8,+ background: "rgba(0,0,0,0.28)",+ border: "1px solid rgba(255,255,255,0.06)",+ color: "#79c0ff",+ fontSize: 11,+ fontFamily: "'JetBrains Mono', monospace",+ overflowX: "auto",+ whiteSpace: "pre-wrap",+ wordBreak: "break-all",+};++const clearBtnStyle: React.CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 5,+ padding: "5px 10px",+ borderRadius: 8,+ border: "1px solid rgba(255,123,114,0.22)",+ background: "rgba(255,123,114,0.06)",+ color: "#ff7b72",+ fontSize: 12,+ fontWeight: 600,+ cursor: "pointer",+};++const emptyStateStyle: React.CSSProperties = {+ flex: 1,+ display: "flex",+ flexDirection: "column",+ alignItems: "center",+ justifyContent: "center",+ padding: 40,+ minHeight: 280,+};diff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsx b/explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsxsimilarity index 99%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsxindex ecb3b951..331f0f47 100644--- a/semantica-explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsx+++ b/explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsx@@ -111,16 +111,20 @@ const FA2_SETTINGS = {const SIGMA_SETTINGS = {allowInvalidContainer: true,- labelRenderedSizeThreshold: 4,+ labelRenderedSizeThreshold: 2,defaultNodeType: "circle",defaultEdgeType: "line",- hideLabelsOnMove: true,- hideEdgesOnMove: true,+ hideLabelsOnMove: false,+ hideEdgesOnMove: false,enableEdgeEvents: true,- renderEdgeLabels: false,- labelDensity: 0.86,- labelGridCellSize: 100,+ renderEdgeLabels: true,+ edgeLabelSize: 10,+ edgeLabelColor: { color: "rgba(180, 210, 255, 0.72)" },+ labelDensity: 1.1,+ labelGridCellSize: 80,zIndex: true,+ minCameraRatio: 0.04,+ maxCameraRatio: 8,webGLTarget: "webgl2" as const,nodeProgramClasses: SEMANTICA_NODE_PROGRAM_CLASSES,edgeProgramClasses: SEMANTICA_EDGE_PROGRAM_CLASSES,diff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsx b/explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsxsimilarity index 50%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsxindex c7150ac4..f9ff4b38 100644--- a/semantica-explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsx+++ b/explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsx@@ -1,5 +1,5 @@import type { CSSProperties } from "react";-+import { Loader2 } from "lucide-react";import { graph } from "../../store/graphStore";import { GRAPH_THEME } from "./graphTheme";@@ -22,11 +22,13 @@ export interface GraphInspectorPanelProps {predictionType: string;onPredictionTypeChange: (value: string) => void;onRunPredictions: () => void;+ isRunningPredictions?: boolean;pathTargetId: string;onPathTargetChange: (value: string) => void;onTracePath: () => void;pathResult: PathResponse | null;onDownloadProvenance: (format: "json" | "markdown") => void;+ onFocusNode?: (nodeId: string) => void;}const PROVENANCE_KEYS = ["source", "source_url", "pmid", "pmids", "evidence", "provenance", "confidence"] as const;@@ -37,22 +39,132 @@ function sourceAttribution(properties: Record<string, unknown>) {.map((key) => ({ key, value: properties[key] }));}+/* ─── Path Flow Visualizer ──────────────────────────────────────── */++function getNodeLabel(nodeId: string): string {+ if (!graph.hasNode(nodeId)) return nodeId;+ const attrs = graph.getNodeAttributes(nodeId) as { label?: string; content?: string };+ return String(attrs.label ?? attrs.content ?? nodeId);+}++function getEdgeLabelBetween(sourceId: string, targetId: string, edgeIds?: string[]): string {+ // Try to find the specific edge from edgeIds first+ if (edgeIds) {+ for (const edgeId of edgeIds) {+ if (graph.hasEdge(edgeId)) {+ const [src, tgt] = graph.extremities(edgeId);+ if ((src === sourceId && tgt === targetId) || (src === targetId && tgt === sourceId)) {+ const attrs = graph.getEdgeAttributes(edgeId) as { edgeType?: string };+ return attrs.edgeType ?? "→";+ }+ }+ }+ }+ // Fallback: find any edge between the pair+ if (graph.hasNode(sourceId) && graph.hasNode(targetId)) {+ let label = "→";+ graph.forEachEdge(sourceId, targetId, (_edgeId, attrs) => {+ const edgeAttrs = attrs as { edgeType?: string };+ if (edgeAttrs.edgeType) label = edgeAttrs.edgeType;+ });+ return label;+ }+ return "→";+}++function PathFlowViz({+ path,+ edgeIds,+ totalWeight,+ onFocusNode,+}: {+ path: string[];+ edgeIds?: string[];+ totalWeight: number;+ onFocusNode?: (nodeId: string) => void;+}) {+ if (path.length === 0) {+ return <div style={emptyTextStyle}>No path found between the selected nodes.</div>;+ }++ return (+ <div>+ {/* Horizontal scrollable chip flow */}+ <div style={pathFlowContainerStyle}>+ {path.map((nodeId, index) => {+ const label = getNodeLabel(nodeId);+ const edgeLabel =+ index < path.length - 1+ ? getEdgeLabelBetween(nodeId, path[index + 1], edgeIds)+ : null;++ return (+ <div key={`${nodeId}-${index}`} style={{ display: "contents" }}>+ {/* Node chip */}+ <button+ onClick={() => onFocusNode?.(nodeId)}+ title={`Focus: ${nodeId}`}+ style={{+ ...pathNodeChipStyle,+ cursor: onFocusNode ? "pointer" : "default",+ }}+ >+ <span style={pathNodeIndexStyle}>{index + 1}</span>+ <span style={{ maxWidth: 120, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>+ {label}+ </span>+ </button>++ {/* Edge connector */}+ {edgeLabel !== null ? (+ <div style={pathEdgeConnectorStyle}>+ <div style={{ width: 16, height: 1, background: "rgba(88,166,255,0.3)" }} />+ <span style={pathEdgeLabelStyle}>{edgeLabel}</span>+ <div style={{ display: "flex", alignItems: "center" }}>+ <div style={{ width: 12, height: 1, background: "rgba(88,166,255,0.3)" }} />+ <div style={{ width: 0, height: 0, borderTop: "4px solid transparent", borderBottom: "4px solid transparent", borderLeft: "5px solid rgba(88,166,255,0.4)" }} />+ </div>+ </div>+ ) : null}+ </div>+ );+ })}+ </div>++ {/* Weight badge */}+ <div style={{ marginTop: 8, display: "flex", alignItems: "center", gap: 8 }}>+ <span style={{ color: "#6a7f97", fontSize: 11 }}>Total weight:</span>+ <span style={{ color: "#79c0ff", fontSize: 12, fontWeight: 700 }}>{totalWeight.toFixed(3)}</span>+ <span style={{ color: "#6a7f97", fontSize: 11 }}>·</span>+ <span style={{ color: "#6a7f97", fontSize: 11 }}>{path.length} hops</span>+ </div>+ </div>+ );+}++/* ─── Main Panel ─────────────────────────────────────────────────── */+export function GraphInspectorPanel({nodeId,predictions,predictionType,onPredictionTypeChange,onRunPredictions,+ isRunningPredictions = false,pathTargetId,onPathTargetChange,onTracePath,pathResult,onDownloadProvenance,+ onFocusNode,}: GraphInspectorPanelProps) {if (!nodeId) {return (- <div style={{ padding: 32, textAlign: "center" }}>- <p style={{ color: "#8b949e", fontSize: 14, margin: 0 }}>+ <div style={{ padding: 32, textAlign: "center", display: "flex", flexDirection: "column", alignItems: "center", gap: 12, marginTop: 32 }}>+ <div style={{ width: 40, height: 40, borderRadius: "50%", background: "rgba(74,163,255,0.08)", border: "1px solid rgba(74,163,255,0.14)", display: "flex", alignItems: "center", justifyContent: "center" }}>+ <div style={{ width: 14, height: 14, borderRadius: "50%", background: "rgba(127,208,255,0.3)" }} />+ </div>+ <p style={{ color: "#8b949e", fontSize: 14, margin: 0, lineHeight: 1.6 }}>Search for a node or click one in the canvas to inspect its properties.</p></div>@@ -73,41 +185,21 @@ export function GraphInspectorPanel({const accentColor = attributes?.color || "#58a6ff";const propertyEntries = Object.entries(properties).filter(([key]) =>- ![- "x",- "y",- "valid_from",- "valid_until",- "content",- "source",- "source_url",- "pmid",- "pmids",- "evidence",- "provenance",- "confidence",- ].includes(key),+ !["x","y","valid_from","valid_until","content","source","source_url","pmid","pmids","evidence","provenance","confidence"].includes(key),);return (<aside style={{ padding: 24, display: "flex", flexDirection: "column", gap: 18 }}>+ {/* Node identity */}<div style={{ borderBottom: "1px solid rgba(88, 166, 255, 0.2)", paddingBottom: 16 }}><div style={{ display: "flex", alignItems: "center", gap: 10, marginBottom: 8 }}>- <span- style={{- background: accentColor,- boxShadow: `0 0 10px ${accentColor}`,- width: 8,- height: 8,- borderRadius: "50%",- }}- />+ <span style={{ background: accentColor, boxShadow: `0 0 10px ${accentColor}`, width: 8, height: 8, borderRadius: "50%" }} /><span style={{ color: accentColor, fontSize: 12, fontWeight: 700 }}>{attributes?.nodeType || "Entity"}</span></div><h3 style={{ margin: 0, color: "#fff", fontSize: 20, fontWeight: 700, wordBreak: "break-word" }}>{String(attributes?.label ?? nodeId)}</h3>- <div style={{ color: "#8b949e", fontSize: 12, marginTop: 6 }}>{nodeId}</div>+ <div style={{ color: "#8b949e", fontSize: 12, marginTop: 6, fontFamily: "monospace", wordBreak: "break-all" }}>{nodeId}</div><div style={{ display: "flex", gap: 8, flexWrap: "wrap", marginTop: 12 }}>{attributes?.valid_from || attributes?.valid_until ? (<span style={subtleChipStyle}>temporal</span>@@ -117,28 +209,27 @@ export function GraphInspectorPanel({</div></div>- {(attributes?.valid_from || attributes?.valid_until) && (- <div- style={{- padding: "10px 12px",- background: "rgba(88, 166, 255, 0.08)",- border: "1px solid rgba(88, 166, 255, 0.2)",- borderRadius: 8,- fontSize: 12,- color: "#79c0ff",- fontFamily: "monospace",- }}- >+ {/* Temporal bounds */}+ {(attributes?.valid_from || attributes?.valid_until) ? (+ <div style={{ padding: "10px 12px", background: "rgba(88,166,255,0.08)", border: "1px solid rgba(88,166,255,0.2)", borderRadius: 8, fontSize: 12, color: "#79c0ff", fontFamily: "monospace" }}>{attributes?.valid_from ? <div>from: {attributes.valid_from}</div> : null}{attributes?.valid_until ? <div>until: {attributes.valid_until}</div> : null}</div>- )}+ ) : null}+ {/* Actions */}<section style={sectionStyle}><div style={sectionTitleStyle}>Actions</div><div style={{ display: "flex", flexDirection: "column", gap: 10 }}>- <button style={{ ...actionButtonStyle, width: "100%", justifyContent: "center" }} onClick={onRunPredictions}>- Run Link Prediction+ <button+ style={{ ...actionButtonStyle, width: "100%", justifyContent: "center", opacity: isRunningPredictions ? 0.7 : 1 }}+ onClick={onRunPredictions}+ disabled={isRunningPredictions}+ >+ {isRunningPredictions ? (+ <Loader2 size={14} className="animate-spin" style={{ marginRight: 6 }} />+ ) : null}+ {isRunningPredictions ? "Running…" : "Run Link Prediction"}</button><div style={{ display: "flex", gap: 8, flexWrap: "wrap" }}><button style={secondaryActionButtonStyle} onClick={() => onDownloadProvenance("json")}>@@ -157,6 +248,7 @@ export function GraphInspectorPanel({/></section>+ {/* Trace Path */}<section style={sectionStyle}><div style={sectionTitleStyle}>Trace Path</div><input@@ -166,20 +258,22 @@ export function GraphInspectorPanel({style={inputStyle}/><button style={actionButtonStyle} onClick={onTracePath}>Trace Causal Path</button>+{pathResult?.path?.length ? (- <div style={{ display: "flex", flexDirection: "column", gap: 6, marginTop: 10 }}>- {pathResult.path.map((step, index) => (- <div key={`${step}-${index}`} style={pathStepStyle}>{index + 1}. {step}</div>- ))}- <div style={{ color: "#79c0ff", fontSize: 12, marginTop: 4 }}>- total weight: {pathResult.total_weight.toFixed(3)}- </div>- </div>+ <PathFlowViz+ path={pathResult.path}+ edgeIds={pathResult.edge_ids}+ totalWeight={pathResult.total_weight}+ onFocusNode={onFocusNode}+ />) : (- <div style={emptyTextStyle}>Choose a target or click a candidate prediction to prepare a path trace.</div>+ <div style={emptyTextStyle}>+ Choose a target or click a candidate prediction to prepare a path trace.+ </div>)}</section>+ {/* Candidate Links */}<details className="node-panel-collapse" open={predictions.length > 0}><summary className="node-panel-summary">Candidate Links</summary><div className="node-panel-body">@@ -191,20 +285,40 @@ export function GraphInspectorPanel({style={predictionCardStyle}onClick={() => onPathTargetChange(prediction.target)}>- <div style={{ color: "#fff", fontWeight: 600 }}>{prediction.label || prediction.target}</div>- <div style={{ color: "#8b949e", fontSize: 12 }}>{prediction.type}</div>- <div style={{ color: "#58a6ff", fontSize: 12, marginTop: 4 }}>- confidence {prediction.score.toFixed(3)}+ <div style={{ display: "flex", justifyContent: "space-between", alignItems: "flex-start", gap: 8 }}>+ <div>+ <div style={{ color: "#fff", fontWeight: 600 }}>{prediction.label || prediction.target}</div>+ <div style={{ color: "#8b949e", fontSize: 12 }}>{prediction.type}</div>+ </div>+ <div style={{ flexShrink: 0 }}>+ <div style={{+ padding: "2px 7px",+ borderRadius: 999,+ fontSize: 10,+ fontWeight: 700,+ background: "rgba(88,166,255,0.12)",+ border: "1px solid rgba(88,166,255,0.22)",+ color: "#58a6ff",+ }}>+ {(prediction.score * 100).toFixed(1)}%+ </div>+ </div></div></button>))}</div>+ ) : isRunningPredictions ? (+ <div style={{ display: "flex", alignItems: "center", gap: 8, padding: 8, color: "#8b949e", fontSize: 12 }}>+ <Loader2 size={13} className="animate-spin" />+ <span>Computing candidate links…</span>+ </div>) : (<div style={emptyTextStyle}>Run link prediction to surface likely next-hop relationships.</div>)}</div></details>+ {/* Source Attribution */}<details className="node-panel-collapse"><summary className="node-panel-summary">Source Attribution</summary><div className="node-panel-body">@@ -212,7 +326,7 @@ export function GraphInspectorPanel({<div style={{ display: "flex", flexDirection: "column", gap: 8 }}>{attribution.map(({ key, value }) => (<div key={key} style={propertyCardStyle}>- <div style={{ color: "rgba(88, 166, 255, 0.7)", fontSize: 11, marginBottom: 4 }}>{key}</div>+ <div style={{ color: "rgba(88,166,255,0.7)", fontSize: 11, marginBottom: 4 }}>{key}</div><div style={{ color: "#e6edf3", fontSize: 13, wordBreak: "break-word" }}>{typeof value === "object" ? JSON.stringify(value) : String(value)}</div>@@ -225,6 +339,7 @@ export function GraphInspectorPanel({</div></details>+ {/* Properties */}<details className="node-panel-collapse"><summary className="node-panel-summary">Properties</summary><div className="node-panel-body">@@ -232,7 +347,7 @@ export function GraphInspectorPanel({<div style={{ display: "flex", flexDirection: "column", gap: 8 }}>{propertyEntries.map(([key, value]) => (<div key={key} style={propertyCardStyle}>- <div style={{ color: "rgba(88, 166, 255, 0.7)", fontSize: 11, marginBottom: 4 }}>{key}</div>+ <div style={{ color: "rgba(88,166,255,0.7)", fontSize: 11, marginBottom: 4 }}>{key}</div><div style={{ color: "#e6edf3", fontSize: 13, wordBreak: "break-word" }}>{typeof value === "object" ? JSON.stringify(value) : String(value)}</div>@@ -248,6 +363,8 @@ export function GraphInspectorPanel({);}+/* ─── styles ─────────────────────────────────────────────────────── */+const inputStyle: CSSProperties = {width: "100%",background: "rgba(4, 10, 18, 0.5)",@@ -284,19 +401,12 @@ const secondaryActionButtonStyle: CSSProperties = {const predictionCardStyle: CSSProperties = {textAlign: "left",- padding: 12,+ padding: "10px 12px",background: "rgba(88, 166, 255, 0.08)",border: "1px solid rgba(88, 166, 255, 0.12)",borderRadius: 10,cursor: "pointer",-};--const pathStepStyle: CSSProperties = {- color: "#e6edf3",- fontSize: 13,- padding: "8px 10px",- background: "rgba(255, 255, 255, 0.03)",- borderRadius: 8,+ width: "100%",};const propertyCardStyle: CSSProperties = {@@ -338,3 +448,58 @@ const sectionTitleStyle: CSSProperties = {textTransform: "uppercase",letterSpacing: "0.08em",};++const pathFlowContainerStyle: CSSProperties = {+ display: "flex",+ alignItems: "center",+ gap: 0,+ flexWrap: "wrap",+ rowGap: 8,+};++const pathNodeChipStyle: CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 6,+ padding: "5px 10px",+ borderRadius: 999,+ background: "rgba(88,166,255,0.1)",+ border: "1px solid rgba(88,166,255,0.22)",+ color: "#e6edf3",+ fontSize: 12,+ fontWeight: 600,+ maxWidth: 160,+};++const pathNodeIndexStyle: CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ justifyContent: "center",+ width: 16,+ height: 16,+ borderRadius: "50%",+ background: "rgba(88,166,255,0.22)",+ color: "#79c0ff",+ fontSize: 9,+ fontWeight: 800,+ flexShrink: 0,+};++const pathEdgeConnectorStyle: CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 2,+ flexShrink: 0,+};++const pathEdgeLabelStyle: CSSProperties = {+ fontSize: 9,+ fontWeight: 700,+ color: "#6a7f97",+ letterSpacing: "0.04em",+ textTransform: "uppercase",+ maxWidth: 70,+ overflow: "hidden",+ textOverflow: "ellipsis",+ whiteSpace: "nowrap",+};diff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphLoadingOverlay.tsx b/explorer/src/workspaces/GraphWorkspace/GraphLoadingOverlay.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphLoadingOverlay.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphLoadingOverlay.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphRuntimeStage.tsx b/explorer/src/workspaces/GraphWorkspace/GraphRuntimeStage.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphRuntimeStage.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphRuntimeStage.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsx b/explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsxsimilarity index 97%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsxindex a01dd32c..b14a26e8 100644--- a/semantica-explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsx+++ b/explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsx@@ -1,6 +1,7 @@-import { useCallback, useEffect, useMemo, useRef, useState } from "react";+import { useCallback, useEffect, useMemo, useRef, useState } from "react";import { batchMergeEdges, batchMergeNodes, graph } from "../../store/graphStore";+import { logEvent } from "../../store/registryStore";import type { EdgeAttributes, NodeAttributes } from "../../store/graphStore";import { curveGroupForPair } from "../../store/edgePairKeys.js";import { InspectorPanel, MetricChip, SurfaceCard } from "../../ui/primitives";@@ -630,6 +631,7 @@ export function GraphWorkspace() {const [searchResults, setSearchResults] = useState<SearchResult[]>([]);const [searchError, setSearchError] = useState("");const [predictionType, setPredictionType] = useState("");+ const [isRunningPredictions, setIsRunningPredictions] = useState(false);const [predictions, setPredictions] = useState<LinkPrediction[]>([]);const [pathTargetId, setPathTargetId] = useState("");const [pathResult, setPathResult] = useState<PathResponse | null>(null);@@ -899,6 +901,7 @@ export function GraphWorkspace() {attributes: buildRealtimeNodeAttributes(payload),},]);+ logEvent("add-node", `Added node ${payload.label ?? payload.id}${payload.nodeType ? ` (${payload.nodeType})` : ""} via realtime ws`, { nodeId: payload.id, nodeType: payload.nodeType });sceneRef.current?.getRuntime()?.requestRender();}if (eventType === "ADD_EDGE") {@@ -911,6 +914,7 @@ export function GraphWorkspace() {attributes: buildRealtimeEdgeAttributes(payload),},]);+ logEvent("add-edge", `Added edge ${payload.edgeType ?? payload.id} (${payload.source_id} → ${payload.target_id}) via realtime ws`, { edgeId: payload.id, edgeType: payload.edgeType, source: payload.source_id, target: payload.target_id });sceneRef.current?.getRuntime()?.requestRender();}} catch (socketError) {@@ -1293,10 +1297,34 @@ export function GraphWorkspace() {disabled: showLoadingOverlay || !searchQuery.trim(),onClick: () => void handleSearch(),},+ {+ id: "zoom-in",+ label: "+ Zoom In",+ title: "Zoom in (or scroll up on the canvas)",+ onClick: () => {+ const runtime = sceneRef.current?.getRuntime();+ if (runtime?.renderer === "sigma") {+ const camera = (runtime.scene as import("sigma").default).getCamera();+ camera.animatedZoom({ duration: 200 });+ }+ },+ },+ {+ id: "zoom-out",+ label: "- Zoom Out",+ title: "Zoom out (or scroll down on the canvas)",+ onClick: () => {+ const runtime = sceneRef.current?.getRuntime();+ if (runtime?.renderer === "sigma") {+ const camera = (runtime.scene as import("sigma").default).getCamera();+ camera.animatedUnzoom({ duration: 200 });+ }+ },+ },{id: "fit-view",label: "Fit View",- title: "Reset the camera to the current view",+ title: "Reset the camera to fit the whole graph",onClick: () => sceneRef.current?.fitView(),},{diff --git a/semantica-explorer/src/workspaces/GraphWorkspace/GraphWorkspaceShell.tsx b/explorer/src/workspaces/GraphWorkspace/GraphWorkspaceShell.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/GraphWorkspaceShell.tsxrename to explorer/src/workspaces/GraphWorkspace/GraphWorkspaceShell.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/SigmaSceneAdapter.tsx b/explorer/src/workspaces/GraphWorkspace/SigmaSceneAdapter.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/SigmaSceneAdapter.tsxrename to explorer/src/workspaces/GraphWorkspace/SigmaSceneAdapter.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/TimelinePanel.tsx b/explorer/src/workspaces/GraphWorkspace/TimelinePanel.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/TimelinePanel.tsxrename to explorer/src/workspaces/GraphWorkspace/TimelinePanel.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/clickSelectionBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/clickSelectionBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/clickSelectionBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/clickSelectionBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/fitViewBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/fitViewBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/fitViewBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/fitViewBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/focusCameraBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/focusCameraBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/focusCameraBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/focusCameraBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/hoverActivationBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/hoverActivationBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/hoverActivationBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/hoverActivationBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/pathHighlightBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/pathHighlightBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/pathHighlightBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/pathHighlightBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/searchFocusBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/searchFocusBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/searchFocusBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/searchFocusBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/types.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/types.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/types.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/types.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/behaviors/viewModeSwitchBehavior.ts b/explorer/src/workspaces/GraphWorkspace/behaviors/viewModeSwitchBehavior.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/behaviors/viewModeSwitchBehavior.tsrename to explorer/src/workspaces/GraphWorkspace/behaviors/viewModeSwitchBehavior.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphAnalytics.ts b/explorer/src/workspaces/GraphWorkspace/graphAnalytics.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphAnalytics.tsrename to explorer/src/workspaces/GraphWorkspace/graphAnalytics.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphConfig.ts b/explorer/src/workspaces/GraphWorkspace/graphConfig.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphConfig.tsrename to explorer/src/workspaces/GraphWorkspace/graphConfig.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphLoading.ts b/explorer/src/workspaces/GraphWorkspace/graphLoading.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphLoading.tsrename to explorer/src/workspaces/GraphWorkspace/graphLoading.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphSceneLayers.ts b/explorer/src/workspaces/GraphWorkspace/graphSceneLayers.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphSceneLayers.tsrename to explorer/src/workspaces/GraphWorkspace/graphSceneLayers.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphSceneState.ts b/explorer/src/workspaces/GraphWorkspace/graphSceneState.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphSceneState.tsrename to explorer/src/workspaces/GraphWorkspace/graphSceneState.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/graphTheme.ts b/explorer/src/workspaces/GraphWorkspace/graphTheme.tssimilarity index 86%rename from semantica-explorer/src/workspaces/GraphWorkspace/graphTheme.tsrename to explorer/src/workspaces/GraphWorkspace/graphTheme.tsindex bce23092..ea033613 100644--- a/semantica-explorer/src/workspaces/GraphWorkspace/graphTheme.ts+++ b/explorer/src/workspaces/GraphWorkspace/graphTheme.ts@@ -265,16 +265,16 @@ export const GRAPH_THEME: GraphTheme = {],overview: {nodeBase: "#0B1320",- nodeCore: "#435D7A",+ nodeCore: "#5A7A9E",nodeMuted: "#121927",- nodeBorder: "#64758C",- nodeTintMix: 0.03,- nodeCoreMix: 0.52,+ nodeBorder: "#7A92AE",+ nodeTintMix: 0.14,+ nodeCoreMix: 0.72,nodeShellAlpha: 0.97,nodeCoreAlpha: 1,- edgeBackbone: "rgba(83, 111, 148, 0.04)",- edgeStructure: "rgba(72, 90, 118, 0.009)",- edgeInspection: "rgba(98, 120, 148, 0.026)",+ edgeBackbone: "rgba(100, 148, 210, 0.38)",+ edgeStructure: "rgba(88, 140, 200, 0.28)",+ edgeInspection: "rgba(110, 165, 230, 0.48)",},accent: {selected: "#F2D288",@@ -285,12 +285,12 @@ export const GRAPH_THEME: GraphTheme = {inferred: "#D07B4D",},muted: {- fallback: "rgba(96, 112, 136, 0.1)",- nodeAlpha: 0.085,- edgeOverview: "rgba(82, 100, 124, 0.009)",- edgeStructure: "rgba(92, 112, 138, 0.02)",- edgeInspection: "rgba(124, 148, 176, 0.066)",- edgeFocus: "rgba(160, 186, 218, 0.16)",+ fallback: "rgba(96, 112, 136, 0.18)",+ nodeAlpha: 0.12,+ edgeOverview: "rgba(82, 100, 124, 0.12)",+ edgeStructure: "rgba(92, 112, 138, 0.18)",+ edgeInspection: "rgba(124, 148, 176, 0.26)",+ edgeFocus: "rgba(160, 186, 218, 0.42)",},background: {canvas: "#07101A",@@ -305,36 +305,36 @@ export const GRAPH_THEME: GraphTheme = {zoomTiers: {overview: {maxRatio: Number.POSITIVE_INFINITY,- nodeScale: 0.66,- labelThreshold: 0.985,- labelBudget: 10,- edgePriorityThreshold: 0.72,+ nodeScale: 0.88,+ labelThreshold: 0.92,+ labelBudget: 28,+ edgePriorityThreshold: 0.55,arrowPriorityThreshold: Number.POSITIVE_INFINITY,- edgeSizeScale: 0.34,+ edgeSizeScale: 0.62,showBadges: false,showCurves: false,showContextualArrows: false,},structure: {maxRatio: 1.2,- nodeScale: 0.98,- labelThreshold: 0.88,- labelBudget: 36,- edgePriorityThreshold: 0.4,- arrowPriorityThreshold: 0.75,- edgeSizeScale: 0.92,+ nodeScale: 1.02,+ labelThreshold: 0.82,+ labelBudget: 60,+ edgePriorityThreshold: 0.3,+ arrowPriorityThreshold: 0.65,+ edgeSizeScale: 1.05,showBadges: true,showCurves: true,showContextualArrows: true,},inspection: {maxRatio: 0.5,- nodeScale: 1,- labelThreshold: 0.7,- labelBudget: 80,+ nodeScale: 1.08,+ labelThreshold: 0.6,+ labelBudget: 120,edgePriorityThreshold: 0,- arrowPriorityThreshold: 0.58,- edgeSizeScale: 1.04,+ arrowPriorityThreshold: 0.45,+ edgeSizeScale: 1.18,showBadges: true,showCurves: true,showContextualArrows: true,@@ -398,13 +398,13 @@ export const GRAPH_THEME: GraphTheme = {inspection: { base: 1.2, emphasis: 1.7, muted: 0.6 },},states: {- default: { color: "base", sizeMultiplier: 0.72, minSize: 0.68, forceLabel: false, zIndex: 0, borderBoost: -0.42 },- hovered: { color: "hovered", sizeMultiplier: 1.18, minSize: 12.5, forceLabel: true, zIndex: 4, borderBoost: 0.22 },- selected: { color: "selected", sizeMultiplier: 1.06, minSize: 10.5, forceLabel: true, zIndex: 3, borderBoost: 0.2 },- neighbor: { color: "base", sizeMultiplier: 0.84, minSize: 4.8, forceLabel: true, zIndex: 2, borderBoost: -0.08 },- path: { color: "path", sizeMultiplier: 1.01, minSize: 6.2, forceLabel: true, zIndex: 2, borderBoost: 0.08 },- inactive: { color: "muted", sizeMultiplier: 0.32, minSize: 0.46, forceLabel: false, zIndex: 0, borderBoost: -0.42 },- muted: { color: "muted", sizeMultiplier: 0.32, minSize: 0.46, forceLabel: false, zIndex: 0, borderBoost: -0.42 },+ default: { color: "base", sizeMultiplier: 0.92, minSize: 3.5, forceLabel: false, zIndex: 0, borderBoost: -0.18 },+ hovered: { color: "hovered", sizeMultiplier: 1.28, minSize: 13.5, forceLabel: true, zIndex: 4, borderBoost: 0.28 },+ selected: { color: "selected", sizeMultiplier: 1.14, minSize: 11.5, forceLabel: true, zIndex: 3, borderBoost: 0.24 },+ neighbor: { color: "base", sizeMultiplier: 0.96, minSize: 5.5, forceLabel: true, zIndex: 2, borderBoost: 0.04 },+ path: { color: "path", sizeMultiplier: 1.08, minSize: 7.0, forceLabel: true, zIndex: 2, borderBoost: 0.12 },+ inactive: { color: "muted", sizeMultiplier: 0.48, minSize: 1.8, forceLabel: false, zIndex: 0, borderBoost: -0.28 },+ muted: { color: "muted", sizeMultiplier: 0.48, minSize: 1.8, forceLabel: false, zIndex: 0, borderBoost: -0.28 },},variants: {default: { sizeMultiplier: 1, borderBoost: 0, haloBoost: 0, badgeVisibleFrom: "inspection" },@@ -437,14 +437,14 @@ export const GRAPH_THEME: GraphTheme = {},edges: {states: {- default: { color: "structure", sizeMultiplier: 0.74, minSize: 0.18, zIndex: 0, forceArrow: false, hide: false },- backbone: { color: "backbone", sizeMultiplier: 0.72, minSize: 0.18, zIndex: 1, forceArrow: false, hide: false },- hovered: { color: "hover", sizeMultiplier: 1.42, minSize: 1.45, zIndex: 3, forceArrow: true, hide: false },- selected: { color: "hover", sizeMultiplier: 1.42, minSize: 1.45, zIndex: 3, forceArrow: true, hide: false },- neighbor: { color: "focus", sizeMultiplier: 0.92, minSize: 0.5, zIndex: 1, forceArrow: false, hide: false },- path: { color: "path", sizeMultiplier: 1.5, minSize: 1.8, zIndex: 4, forceArrow: true, hide: false },- inactive: { color: "muted", sizeMultiplier: 1, minSize: 0.16, zIndex: 0, forceArrow: false, hide: true },- muted: { color: "muted", sizeMultiplier: 1, minSize: 0.16, zIndex: 0, forceArrow: false, hide: true },+ default: { color: "structure", sizeMultiplier: 0.96, minSize: 0.9, zIndex: 0, forceArrow: false, hide: false },+ backbone: { color: "backbone", sizeMultiplier: 1.0, minSize: 1.0, zIndex: 1, forceArrow: false, hide: false },+ hovered: { color: "hover", sizeMultiplier: 1.6, minSize: 2.2, zIndex: 3, forceArrow: true, hide: false },+ selected: { color: "hover", sizeMultiplier: 1.6, minSize: 2.2, zIndex: 3, forceArrow: true, hide: false },+ neighbor: { color: "focus", sizeMultiplier: 1.1, minSize: 1.2, zIndex: 1, forceArrow: false, hide: false },+ path: { color: "path", sizeMultiplier: 1.7, minSize: 2.4, zIndex: 4, forceArrow: true, hide: false },+ inactive: { color: "muted", sizeMultiplier: 0.6, minSize: 0.5, zIndex: 0, forceArrow: false, hide: false },+ muted: { color: "muted", sizeMultiplier: 0.6, minSize: 0.5, zIndex: 0, forceArrow: false, hide: false },},variants: {line: { baseType: "line", arrowPolicy: "hidden", curveStrength: 0, sizeMultiplier: 1, glowAlpha: 0 },diff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPlugin.tsx b/explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPlugin.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPlugin.tsxrename to explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPlugin.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPluginPhaseC.tsx b/explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPluginPhaseC.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPluginPhaseC.tsxrename to explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPluginPhaseC.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/index.ts b/explorer/src/workspaces/GraphWorkspace/plugins/index.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/index.tsrename to explorer/src/workspaces/GraphWorkspace/plugins/index.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/legendPlugin.tsx b/explorer/src/workspaces/GraphWorkspace/plugins/legendPlugin.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/legendPlugin.tsxrename to explorer/src/workspaces/GraphWorkspace/plugins/legendPlugin.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/neighborhoodPanelPlugin.tsx b/explorer/src/workspaces/GraphWorkspace/plugins/neighborhoodPanelPlugin.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/neighborhoodPanelPlugin.tsxrename to explorer/src/workspaces/GraphWorkspace/plugins/neighborhoodPanelPlugin.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/temporalOverlayPlugin.tsx b/explorer/src/workspaces/GraphWorkspace/plugins/temporalOverlayPlugin.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/temporalOverlayPlugin.tsxrename to explorer/src/workspaces/GraphWorkspace/plugins/temporalOverlayPlugin.tsxdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/plugins/types.ts b/explorer/src/workspaces/GraphWorkspace/plugins/types.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/plugins/types.tsrename to explorer/src/workspaces/GraphWorkspace/plugins/types.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/scene.ts b/explorer/src/workspaces/GraphWorkspace/scene.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/scene.tsrename to explorer/src/workspaces/GraphWorkspace/scene.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/sigmaNativeRendering.ts b/explorer/src/workspaces/GraphWorkspace/sigmaNativeRendering.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/sigmaNativeRendering.tsrename to explorer/src/workspaces/GraphWorkspace/sigmaNativeRendering.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/types.ts b/explorer/src/workspaces/GraphWorkspace/types.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/types.tsrename to explorer/src/workspaces/GraphWorkspace/types.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/useGraphData.ts b/explorer/src/workspaces/GraphWorkspace/useGraphData.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/useGraphData.tsrename to explorer/src/workspaces/GraphWorkspace/useGraphData.tsdiff --git a/semantica-explorer/src/workspaces/GraphWorkspace/useLoadGraph.ts b/explorer/src/workspaces/GraphWorkspace/useLoadGraph.tssimilarity index 100%rename from semantica-explorer/src/workspaces/GraphWorkspace/useLoadGraph.tsrename to explorer/src/workspaces/GraphWorkspace/useLoadGraph.tsdiff --git a/semantica-explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsx b/explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsxsimilarity index 96%rename from semantica-explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsxrename to explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsxindex abf32aba..44b0df58 100644--- a/semantica-explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsx+++ b/explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsx@@ -4,6 +4,7 @@import { useState, useCallback } from "react";import { useDropzone } from "react-dropzone";import { UploadCloud, Download, FileJson, FileText, CheckCircle2, AlertCircle, Loader2 } from "lucide-react";+import { logEvent } from "../../store/registryStore";const THEME_CSS = `.glass-panel {@@ -107,6 +108,11 @@ export function ImportExportWorkspace() {const data = await res.json();showToast("success", `Imported ${data.nodes_imported} nodes and ${data.edges_imported} edges!`);+ logEvent("import", `Imported ${data.nodes_imported} nodes · ${data.edges_imported} edges from ${file.name}`, {+ file: file.name,+ nodesImported: data.nodes_imported,+ edgesImported: data.edges_imported,+ });setFile(null);} catch (err: any) {showToast("error", err.message || "An error occurred during import");@@ -142,6 +148,7 @@ export function ImportExportWorkspace() {document.body.removeChild(a);showToast("success", "Export complete! Your download should begin shortly.");+ logEvent("export", `Exported graph as ${exportFormat.toUpperCase()}`, { format: exportFormat });} catch (err: any) {showToast("error", err.message || "An error occurred during export");} finally {diff --git a/semantica-explorer/src/workspaces/LineageWorkspace/LineageDiagram.tsx b/explorer/src/workspaces/LineageWorkspace/LineageDiagram.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/LineageWorkspace/LineageDiagram.tsxrename to explorer/src/workspaces/LineageWorkspace/LineageDiagram.tsxdiff --git a/explorer/src/workspaces/ManageWorkspace/KGOverviewTab.tsx b/explorer/src/workspaces/ManageWorkspace/KGOverviewTab.tsxnew file mode 100644index 00000000..60866143--- /dev/null+++ b/explorer/src/workspaces/ManageWorkspace/KGOverviewTab.tsx@@ -0,0 +1,339 @@+/**+ * src/workspaces/ManageWorkspace/KGOverviewTab.tsx+ *+ * Quick-view dashboard for the Knowledge Graph: node/edge counts,+ * type distributions, and top connected nodes.+ */+import { useState, useEffect, useCallback } from "react";+import { Network, RefreshCw, Loader2 } from "lucide-react";++interface KGStats {+ node_count: number;+ edge_count: number;+ node_types?: Record<string, number>;+ edge_types?: Record<string, number>;+ [key: string]: unknown;+}++interface NodeItem {+ id: string;+ type: string;+ content: string;+ properties?: Record<string, unknown>;+}++interface NodeListResponse {+ nodes: NodeItem[];+ total: number;+}++function TypeBar({ label, count, total, color }: { label: string; count: number; total: number; color: string }) {+ const pct = total > 0 ? Math.round((count / total) * 100) : 0;+ return (+ <div style={{ display: "flex", alignItems: "center", gap: 10, padding: "5px 0" }}>+ <div style={{ width: 120, flexShrink: 0, color: "#c6d4e3", fontSize: 12, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }} title={label}>+ {label}+ </div>+ <div style={{ flex: 1, height: 6, borderRadius: 999, background: "rgba(255,255,255,0.06)", overflow: "hidden" }}>+ <div+ style={{+ width: `${pct}%`,+ height: "100%",+ borderRadius: 999,+ background: color,+ transition: "width 400ms ease",+ }}+ />+ </div>+ <div style={{ width: 52, textAlign: "right", flexShrink: 0, display: "flex", gap: 6, justifyContent: "flex-end" }}>+ <span style={{ color: "#8b949e", fontSize: 11 }}>{count.toLocaleString()}</span>+ <span style={{ color: "#6a7f97", fontSize: 11 }}>{pct}%</span>+ </div>+ </div>+ );+}++const NODE_COLORS = ["#3E79F2", "#149287", "#2F9F61", "#555FD6", "#8A56D8", "#B65473", "#C9922E", "#4aa3ff", "#f2b66d"];+const EDGE_COLORS = ["#4cc38a", "#79c0ff", "#d2a8ff", "#f2b66d", "#ff7b72", "#58a6ff", "#4aa3ff", "#8A56D8"];++function buildTypeMap(nodes: NodeItem[], key: keyof NodeItem): Record<string, number> {+ const map: Record<string, number> = {};+ for (const node of nodes) {+ const val = String(node[key] ?? "unknown");+ map[val] = (map[val] ?? 0) + 1;+ }+ return map;+}++export function KGOverviewTab() {+ const [stats, setStats] = useState<KGStats | null>(null);+ const [loading, setLoading] = useState(false);+ const [error, setError] = useState("");+ const [topNodes, setTopNodes] = useState<{ node: NodeItem; neighborCount: number }[]>([]);+ const [nodeTypeMap, setNodeTypeMap] = useState<Record<string, number>>({});++ const fetchOverview = useCallback(async () => {+ setLoading(true);+ setError("");+ try {+ const [statsRes, nodesRes] = await Promise.all([+ fetch("/api/graph/stats"),+ fetch("/api/graph/nodes?limit=500"),+ ]);++ if (statsRes.ok) {+ const statsData: KGStats = await statsRes.json();+ setStats(statsData);+ }++ if (nodesRes.ok) {+ const nodesData: NodeListResponse = await nodesRes.json();+ const nodes = nodesData.nodes ?? [];+ setNodeTypeMap(buildTypeMap(nodes, "type"));++ // Simulate neighbor counts via edges fetch for top-N+ const edgesRes = await fetch("/api/graph/edges?limit=2000");+ if (edgesRes.ok) {+ const edgesData = await edgesRes.json();+ const edges: { source: string; target: string }[] = edgesData.edges ?? [];+ const degreeMap: Record<string, number> = {};+ for (const edge of edges) {+ degreeMap[edge.source] = (degreeMap[edge.source] ?? 0) + 1;+ degreeMap[edge.target] = (degreeMap[edge.target] ?? 0) + 1;+ }+ const sorted = nodes+ .map((n) => ({ node: n, neighborCount: degreeMap[n.id] ?? 0 }))+ .sort((a, b) => b.neighborCount - a.neighborCount)+ .slice(0, 10);+ setTopNodes(sorted);+ }+ }+ } catch {+ setError("Failed to load graph overview. Ensure the server is running.");+ } finally {+ setLoading(false);+ }+ }, []);++ useEffect(() => {+ void fetchOverview();+ }, [fetchOverview]);++ const nodeTypeEntries = Object.entries(nodeTypeMap).sort((a, b) => b[1] - a[1]);+ const edgeTypeEntries = stats?.edge_types+ ? Object.entries(stats.edge_types).sort((a, b) => b[1] - a[1])+ : [];++ const totalNodes = stats?.node_count ?? 0;+ const totalEdges = stats?.edge_count ?? 0;++ return (+ <div style={shellStyle}>+ {/* Header */}+ <div style={headerStyle}>+ <div style={{ display: "flex", alignItems: "center", gap: 10 }}>+ <Network size={18} color="#4aa3ff" />+ <div>+ <div style={{ color: "#ebf3ff", fontSize: 16, fontWeight: 700 }}>KG Overview</div>+ <div style={{ color: "#8b949e", fontSize: 12 }}>Quick view of the Knowledge Graph structure and health</div>+ </div>+ </div>+ <button onClick={() => void fetchOverview()} disabled={loading} style={refreshBtnStyle}>+ {loading ? <Loader2 size={13} className="animate-spin" /> : <RefreshCw size={13} />}+ <span>Refresh</span>+ </button>+ </div>++ {error ? (+ <div style={{ margin: "16px 24px", padding: "10px 14px", borderRadius: 10, background: "rgba(255,123,114,0.08)", border: "1px solid rgba(255,123,114,0.2)", color: "#ff7b72", fontSize: 13 }}>+ {error}+ </div>+ ) : null}++ <div style={scrollBodyStyle}>+ {/* Stats chips */}+ <div style={statsRowStyle}>+ {[+ { label: "Nodes", value: totalNodes.toLocaleString(), color: "#4aa3ff", sub: `${nodeTypeEntries.length} types` },+ { label: "Edges", value: totalEdges.toLocaleString(), color: "#4cc38a", sub: `${edgeTypeEntries.length} relationship types` },+ { label: "Density", value: totalNodes > 1 ? ((totalEdges / (totalNodes * (totalNodes - 1))) * 100).toFixed(3) + "%" : "—", color: "#d2a8ff", sub: "graph density" },+ ].map(({ label, value, color, sub }) => (+ <div key={label} style={statCardStyle}>+ <div style={{ color: "#8b949e", fontSize: 11, fontWeight: 700, textTransform: "uppercase", letterSpacing: "0.06em", marginBottom: 4 }}>{label}</div>+ <div style={{ color, fontSize: 28, fontWeight: 800, letterSpacing: "-0.04em", lineHeight: 1 }}>{loading ? "—" : value}</div>+ <div style={{ color: "#6a7f97", fontSize: 11, marginTop: 4 }}>{sub}</div>+ </div>+ ))}+ </div>++ {/* Type breakdowns */}+ <div style={sectionRowStyle}>+ {/* Node types */}+ <div style={breakdownCardStyle}>+ <div style={sectionTitleStyle}>Node Type Breakdown</div>+ {loading ? (+ <div style={skeletonWrapStyle}>+ {[80, 65, 45, 35, 25].map((w, i) => (+ <div key={i} style={{ ...skeletonBarStyle, width: `${w}%` }} />+ ))}+ </div>+ ) : nodeTypeEntries.length === 0 ? (+ <div style={{ color: "#6a7f97", fontSize: 12 }}>No data — load the graph first.</div>+ ) : (+ nodeTypeEntries.slice(0, 8).map(([type, count], i) => (+ <TypeBar key={type} label={type} count={count} total={totalNodes || 1} color={NODE_COLORS[i % NODE_COLORS.length]} />+ ))+ )}+ </div>++ {/* Edge types */}+ <div style={breakdownCardStyle}>+ <div style={sectionTitleStyle}>Edge Type Breakdown</div>+ {loading ? (+ <div style={skeletonWrapStyle}>+ {[70, 55, 48, 30, 20].map((w, i) => (+ <div key={i} style={{ ...skeletonBarStyle, width: `${w}%` }} />+ ))}+ </div>+ ) : edgeTypeEntries.length === 0 ? (+ <div style={{ color: "#6a7f97", fontSize: 12 }}>Edge type breakdown requires the stats endpoint to return edge_types.</div>+ ) : (+ edgeTypeEntries.slice(0, 8).map(([type, count], i) => (+ <TypeBar key={type} label={type} count={count} total={totalEdges || 1} color={EDGE_COLORS[i % EDGE_COLORS.length]} />+ ))+ )}+ </div>+ </div>++ {/* Top connected nodes */}+ {topNodes.length > 0 ? (+ <div style={breakdownCardStyle}>+ <div style={sectionTitleStyle}>Top Connected Nodes (by degree)</div>+ <div style={{ display: "grid", gridTemplateColumns: "repeat(auto-fit, minmax(280px, 1fr))", gap: 8, marginTop: 2 }}>+ {topNodes.map(({ node, neighborCount }, rank) => (+ <div key={node.id} style={topNodeRowStyle}>+ <div style={{ color: "#6a7f97", fontSize: 12, fontWeight: 700, minWidth: 20 }}>#{rank + 1}</div>+ <div style={{ flex: 1, minWidth: 0 }}>+ <div style={{ color: "#e6edf3", fontSize: 13, fontWeight: 600, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>+ {node.content || node.id}+ </div>+ <div style={{ color: "#8b949e", fontSize: 11 }}>{node.type}</div>+ </div>+ <div style={{ color: "#4aa3ff", fontSize: 12, fontWeight: 700, flexShrink: 0 }}>+ {neighborCount} conn.+ </div>+ </div>+ ))}+ </div>+ </div>+ ) : null}+ </div>+ </div>+ );+}++/* ─── styles ─────────────────────────────────────────────────────── */++const shellStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ width: "100%",+ height: "100%",+ background: "#0d1117",+ overflow: "hidden",+};++const headerStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "center",+ justifyContent: "space-between",+ padding: "20px 24px 16px",+ borderBottom: "1px solid rgba(88,166,255,0.1)",+ flexShrink: 0,+};++const refreshBtnStyle: React.CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 6,+ padding: "6px 12px",+ borderRadius: 8,+ border: "1px solid rgba(127,208,255,0.16)",+ background: "rgba(74,163,255,0.08)",+ color: "#8fa8c6",+ fontSize: 12,+ fontWeight: 600,+ cursor: "pointer",+};++const scrollBodyStyle: React.CSSProperties = {+ flex: 1,+ overflowY: "auto",+ padding: "20px 24px",+ display: "flex",+ flexDirection: "column",+ gap: 16,+};++const statsRowStyle: React.CSSProperties = {+ display: "grid",+ gridTemplateColumns: "repeat(auto-fit, minmax(180px, 1fr))",+ gap: 12,+};++const statCardStyle: React.CSSProperties = {+ padding: "18px 20px",+ borderRadius: 16,+ background: "linear-gradient(135deg, rgba(13,17,23,0.8), rgba(22,27,34,0.5))",+ border: "1px solid rgba(127,208,255,0.1)",+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)",+};++const sectionRowStyle: React.CSSProperties = {+ display: "grid",+ gridTemplateColumns: "1fr 1fr",+ gap: 12,+};++const breakdownCardStyle: React.CSSProperties = {+ padding: "16px 18px",+ borderRadius: 14,+ background: "linear-gradient(135deg, rgba(13,17,23,0.7), rgba(22,27,34,0.4))",+ border: "1px solid rgba(255,255,255,0.06)",+ display: "flex",+ flexDirection: "column",+ gap: 8,+};++const sectionTitleStyle: React.CSSProperties = {+ color: "#8b949e",+ fontSize: 11,+ fontWeight: 700,+ textTransform: "uppercase",+ letterSpacing: "0.07em",+ marginBottom: 4,+};++const topNodeRowStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "center",+ gap: 10,+ padding: "8px 10px",+ borderRadius: 10,+ background: "rgba(255,255,255,0.025)",+ border: "1px solid rgba(255,255,255,0.05)",+};++const skeletonWrapStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ gap: 8,+ marginTop: 4,+};++const skeletonBarStyle: React.CSSProperties = {+ height: 12,+ borderRadius: 999,+ background: "rgba(255,255,255,0.05)",+ animation: "skeleton-pulse 1.4s ease-in-out infinite",+};diff --git a/explorer/src/workspaces/ManageWorkspace/OntologySummaryTab.tsx b/explorer/src/workspaces/ManageWorkspace/OntologySummaryTab.tsxnew file mode 100644index 00000000..4bb2e629--- /dev/null+++ b/explorer/src/workspaces/ManageWorkspace/OntologySummaryTab.tsx@@ -0,0 +1,346 @@+/**+ * src/workspaces/ManageWorkspace/OntologySummaryTab.tsx+ *+ * A compact read-only view of all loaded SKOS ConceptSchemes and their+ * top-level concepts. Clicking a concept deep-links to the Vocabulary Browser.+ */+import { useState } from "react";+import { BookOpen, ChevronRight, ChevronDown, ExternalLink } from "lucide-react";+import { useVocabularies, useConceptHierarchy } from "../VocabularyWorkspace/queries";+import type { ConceptNode, VocabularyScheme } from "../VocabularyWorkspace/types";++function countConcepts(nodes: ConceptNode[]): number {+ return nodes.reduce((acc, node) => {+ return acc + 1 + countConcepts(node.children ?? []);+ }, 0);+}++function ConceptRow({+ concept,+ depth,+ onSelect,+}: {+ concept: ConceptNode;+ depth: number;+ onSelect: (concept: ConceptNode) => void;+}) {+ const [expanded, setExpanded] = useState(false);+ const children = concept.children ?? [];+ const hasChildren = children.length > 0;++ return (+ <>+ <div+ style={{+ display: "flex",+ alignItems: "center",+ gap: 6,+ paddingLeft: 12 + depth * 16,+ paddingRight: 12,+ paddingTop: 5,+ paddingBottom: 5,+ borderRadius: 6,+ cursor: "pointer",+ color: depth === 0 ? "#c6d4e3" : "#8b949e",+ fontSize: depth === 0 ? 13 : 12,+ transition: "background 120ms ease",+ }}+ onMouseEnter={(e) => { (e.currentTarget as HTMLDivElement).style.background = "rgba(74,163,255,0.07)"; }}+ onMouseLeave={(e) => { (e.currentTarget as HTMLDivElement).style.background = "transparent"; }}+ >+ {hasChildren ? (+ <button+ onClick={() => setExpanded((v) => !v)}+ style={{ background: "transparent", border: "none", color: "#8b949e", cursor: "pointer", padding: 0, display: "flex", alignItems: "center" }}+ >+ {expanded ? <ChevronDown size={12} /> : <ChevronRight size={12} />}+ </button>+ ) : (+ <span style={{ width: 12, display: "inline-block" }} />+ )}+ <span+ onClick={() => onSelect(concept)}+ style={{ flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}+ >+ {concept.pref_label || concept.uri}+ </span>+ {children.length > 0 ? (+ <span style={{ color: "#6a7f97", fontSize: 10 }}>{children.length}</span>+ ) : null}+ </div>+ {expanded && hasChildren+ ? children.map((child) => (+ <ConceptRow key={child.uri} concept={child} depth={depth + 1} onSelect={onSelect} />+ ))+ : null}+ </>+ );+}++function SchemePanel({+ scheme,+ onSelectConcept,+}: {+ scheme: VocabularyScheme;+ onSelectConcept: (concept: ConceptNode) => void;+}) {+ const [expanded, setExpanded] = useState(true);+ const { data: hierarchy = [], isLoading } = useConceptHierarchy(scheme.uri);+ const totalConcepts = countConcepts(hierarchy);++ return (+ <div style={schemeCardStyle}>+ {/* Scheme header */}+ <button+ onClick={() => setExpanded((v) => !v)}+ style={schemeHeaderStyle}+ >+ <div style={{ display: "flex", alignItems: "center", gap: 8 }}>+ {expanded ? <ChevronDown size={14} color="#8b949e" /> : <ChevronRight size={14} color="#8b949e" />}+ <span style={{ color: "#e6edf3", fontSize: 14, fontWeight: 700 }}>{scheme.label}</span>+ </div>+ <span style={{ color: "#6a7f97", fontSize: 11 }}>+ {isLoading ? "…" : `${totalConcepts} concept${totalConcepts !== 1 ? "s" : ""}`}+ </span>+ </button>++ {/* Concept tree */}+ {expanded ? (+ <div style={{ paddingTop: 4, paddingBottom: 8 }}>+ {isLoading ? (+ <div style={{ padding: "8px 24px", color: "#6a7f97", fontSize: 12 }}>Loading concepts…</div>+ ) : hierarchy.length === 0 ? (+ <div style={{ padding: "8px 24px", color: "#6a7f97", fontSize: 12, fontStyle: "italic" }}>+ No concepts found in this scheme.+ </div>+ ) : (+ hierarchy.map((concept) => (+ <ConceptRow key={concept.uri} concept={concept} depth={0} onSelect={onSelectConcept} />+ ))+ )}+ </div>+ ) : null}+ </div>+ );+}++export function OntologySummaryTab({+ onOpenVocabularyBrowser,+}: {+ onOpenVocabularyBrowser?: () => void;+}) {+ const { data: schemes = [], isLoading } = useVocabularies();+ const [selectedConcept, setSelectedConcept] = useState<ConceptNode | null>(null);++ return (+ <div style={shellStyle}>+ {/* Header */}+ <div style={headerStyle}>+ <div style={{ display: "flex", alignItems: "center", gap: 10 }}>+ <BookOpen size={18} color="#d2a8ff" />+ <div>+ <div style={{ color: "#ebf3ff", fontSize: 16, fontWeight: 700 }}>Ontology Summary</div>+ <div style={{ color: "#8b949e", fontSize: 12 }}>+ {isLoading+ ? "Loading schemes…"+ : `${schemes.length} vocabulary scheme${schemes.length !== 1 ? "s" : ""} loaded`}+ </div>+ </div>+ </div>+ {onOpenVocabularyBrowser ? (+ <button onClick={onOpenVocabularyBrowser} style={openBrowserBtnStyle}>+ <ExternalLink size={12} />+ <span>Open Full Browser</span>+ </button>+ ) : null}+ </div>++ <div style={{ flex: 1, display: "flex", overflow: "hidden" }}>+ {/* Scheme tree column */}+ <div style={treeColumnStyle}>+ {isLoading ? (+ <div style={{ padding: 24, display: "flex", flexDirection: "column", gap: 10 }}>+ {[90, 75, 60].map((w, i) => (+ <div key={i} style={{ height: 36, borderRadius: 8, background: "rgba(255,255,255,0.04)", width: `${w}%` }} />+ ))}+ </div>+ ) : schemes.length === 0 ? (+ <div style={emptyStateStyle}>+ <BookOpen size={32} color="rgba(210,168,255,0.15)" />+ <div style={{ color: "#8b949e", fontSize: 13, marginTop: 12 }}>No vocabulary schemes loaded</div>+ <div style={{ color: "#6a7f97", fontSize: 12, marginTop: 4, textAlign: "center", maxWidth: 240 }}>+ Import a .ttl or .rdf file via the Vocabulary Browser to see your ontology here.+ </div>+ </div>+ ) : (+ <div style={{ padding: "12px 8px", display: "flex", flexDirection: "column", gap: 8 }}>+ {schemes.map((scheme) => (+ <SchemePanel key={scheme.uri} scheme={scheme} onSelectConcept={setSelectedConcept} />+ ))}+ </div>+ )}+ </div>++ {/* Concept detail panel */}+ {selectedConcept ? (+ <div style={detailPanelStyle}>+ <div style={{ display: "flex", justifyContent: "space-between", alignItems: "flex-start", marginBottom: 16 }}>+ <div style={{ color: "#d2a8ff", fontSize: 11, fontWeight: 700, letterSpacing: "0.06em", textTransform: "uppercase" }}>+ Concept Detail+ </div>+ <button onClick={() => setSelectedConcept(null)} style={{ background: "transparent", border: "none", color: "#8b949e", cursor: "pointer", fontSize: 16 }}>×</button>+ </div>++ <h3 style={{ color: "#ffffff", fontSize: 18, fontWeight: 800, letterSpacing: "-0.03em", margin: "0 0 6px 0" }}>+ {selectedConcept.pref_label}+ </h3>+ {selectedConcept.notation ? (+ <div style={{ color: "#8b949e", fontSize: 12, marginBottom: 8 }}>Notation: {selectedConcept.notation}</div>+ ) : null}+ <div style={{ color: "#6a7f97", fontSize: 11, fontFamily: "monospace", wordBreak: "break-all", marginBottom: 14 }}>+ {selectedConcept.uri}+ </div>++ {selectedConcept.description ? (+ <div style={detailSectionStyle}>+ <div style={detailLabelStyle}>Description</div>+ <div style={{ color: "#c6d4e3", fontSize: 13, lineHeight: 1.6 }}>{selectedConcept.description}</div>+ </div>+ ) : null}++ {selectedConcept.alt_labels?.length ? (+ <div style={detailSectionStyle}>+ <div style={detailLabelStyle}>Alternative Labels</div>+ <div style={{ display: "flex", flexWrap: "wrap", gap: 6 }}>+ {selectedConcept.alt_labels.map((label) => (+ <span key={label} style={altLabelChipStyle}>{label}</span>+ ))}+ </div>+ </div>+ ) : null}++ {(selectedConcept.children?.length ?? 0) > 0 ? (+ <div style={detailSectionStyle}>+ <div style={detailLabelStyle}>Narrower Concepts ({selectedConcept.children!.length})</div>+ <div style={{ display: "flex", flexDirection: "column", gap: 4 }}>+ {selectedConcept.children!.slice(0, 8).map((child) => (+ <div+ key={child.uri}+ onClick={() => setSelectedConcept(child)}+ style={{ color: "#79c0ff", fontSize: 12, cursor: "pointer", padding: "3px 0" }}+ >+ → {child.pref_label}+ </div>+ ))}+ {selectedConcept.children!.length > 8 ? (+ <div style={{ color: "#6a7f97", fontSize: 11 }}>+{selectedConcept.children!.length - 8} more</div>+ ) : null}+ </div>+ </div>+ ) : null}+ </div>+ ) : null}+ </div>+ </div>+ );+}++/* ─── styles ─────────────────────────────────────────────────────── */++const shellStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ width: "100%",+ height: "100%",+ background: "#0d1117",+ overflow: "hidden",+};++const headerStyle: React.CSSProperties = {+ display: "flex",+ alignItems: "center",+ justifyContent: "space-between",+ padding: "20px 24px 16px",+ borderBottom: "1px solid rgba(88,166,255,0.1)",+ flexShrink: 0,+};++const openBrowserBtnStyle: React.CSSProperties = {+ display: "inline-flex",+ alignItems: "center",+ gap: 6,+ padding: "6px 12px",+ borderRadius: 8,+ border: "1px solid rgba(210,168,255,0.22)",+ background: "rgba(210,168,255,0.08)",+ color: "#d2a8ff",+ fontSize: 12,+ fontWeight: 600,+ cursor: "pointer",+};++const treeColumnStyle: React.CSSProperties = {+ flex: 1,+ overflowY: "auto",+ borderRight: "1px solid rgba(255,255,255,0.06)",+};++const schemeCardStyle: React.CSSProperties = {+ borderRadius: 10,+ border: "1px solid rgba(210,168,255,0.1)",+ background: "rgba(255,255,255,0.02)",+ overflow: "hidden",+};++const schemeHeaderStyle: React.CSSProperties = {+ width: "100%",+ display: "flex",+ alignItems: "center",+ justifyContent: "space-between",+ padding: "10px 14px",+ background: "transparent",+ border: "none",+ cursor: "pointer",+ borderBottom: "1px solid rgba(255,255,255,0.05)",+};++const detailPanelStyle: React.CSSProperties = {+ width: 300,+ padding: "20px",+ overflowY: "auto",+ borderLeft: "1px solid rgba(255,255,255,0.06)",+ flexShrink: 0,+};++const detailSectionStyle: React.CSSProperties = {+ marginTop: 14,+ paddingTop: 12,+ borderTop: "1px solid rgba(255,255,255,0.06)",+};++const detailLabelStyle: React.CSSProperties = {+ color: "#8b949e",+ fontSize: 10,+ fontWeight: 700,+ textTransform: "uppercase",+ letterSpacing: "0.07em",+ marginBottom: 6,+};++const altLabelChipStyle: React.CSSProperties = {+ padding: "3px 8px",+ borderRadius: 999,+ background: "rgba(255,255,255,0.05)",+ border: "1px solid rgba(255,255,255,0.08)",+ color: "#8fa8c6",+ fontSize: 11,+};++const emptyStateStyle: React.CSSProperties = {+ display: "flex",+ flexDirection: "column",+ alignItems: "center",+ justifyContent: "center",+ padding: 40,+ height: "100%",+};diff --git a/semantica-explorer/src/workspaces/ReasoningWorkspace.tsx b/explorer/src/workspaces/ReasoningWorkspace.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/ReasoningWorkspace.tsxrename to explorer/src/workspaces/ReasoningWorkspace.tsxdiff --git a/semantica-explorer/src/workspaces/SparqlWorkspace/SparqlWorkspace.tsx b/explorer/src/workspaces/SparqlWorkspace/SparqlWorkspace.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/SparqlWorkspace/SparqlWorkspace.tsxrename to explorer/src/workspaces/SparqlWorkspace/SparqlWorkspace.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/ConceptTree.tsx b/explorer/src/workspaces/VocabularyWorkspace/ConceptTree.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/ConceptTree.tsxrename to explorer/src/workspaces/VocabularyWorkspace/ConceptTree.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/ImportDropzone.tsx b/explorer/src/workspaces/VocabularyWorkspace/ImportDropzone.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/ImportDropzone.tsxrename to explorer/src/workspaces/VocabularyWorkspace/ImportDropzone.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/PropertyPanel.tsx b/explorer/src/workspaces/VocabularyWorkspace/PropertyPanel.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/PropertyPanel.tsxrename to explorer/src/workspaces/VocabularyWorkspace/PropertyPanel.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/Sidebar.tsx b/explorer/src/workspaces/VocabularyWorkspace/Sidebar.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/Sidebar.tsxrename to explorer/src/workspaces/VocabularyWorkspace/Sidebar.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/VocabularyWorkspace.tsx b/explorer/src/workspaces/VocabularyWorkspace/VocabularyWorkspace.tsxsimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/VocabularyWorkspace.tsxrename to explorer/src/workspaces/VocabularyWorkspace/VocabularyWorkspace.tsxdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/queries.ts b/explorer/src/workspaces/VocabularyWorkspace/queries.tssimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/queries.tsrename to explorer/src/workspaces/VocabularyWorkspace/queries.tsdiff --git a/semantica-explorer/src/workspaces/VocabularyWorkspace/types.ts b/explorer/src/workspaces/VocabularyWorkspace/types.tssimilarity index 100%rename from semantica-explorer/src/workspaces/VocabularyWorkspace/types.tsrename to explorer/src/workspaces/VocabularyWorkspace/types.tsdiff --git a/semantica-explorer/tests/graphStore.multi-edge.test.mjs b/explorer/tests/graphStore.multi-edge.test.mjssimilarity index 100%rename from semantica-explorer/tests/graphStore.multi-edge.test.mjsrename to explorer/tests/graphStore.multi-edge.test.mjsdiff --git a/semantica-explorer/tsconfig.app.json b/explorer/tsconfig.app.jsonsimilarity index 100%rename from semantica-explorer/tsconfig.app.jsonrename to explorer/tsconfig.app.jsondiff --git a/semantica-explorer/tsconfig.json b/explorer/tsconfig.jsonsimilarity index 100%rename from semantica-explorer/tsconfig.jsonrename to explorer/tsconfig.jsondiff --git a/semantica-explorer/tsconfig.node.json b/explorer/tsconfig.node.jsonsimilarity index 100%rename from semantica-explorer/tsconfig.node.jsonrename to explorer/tsconfig.node.jsondiff --git a/semantica-explorer/vite.config.ts b/explorer/vite.config.tssimilarity index 89%rename from semantica-explorer/vite.config.tsrename to explorer/vite.config.tsindex f741d247..2f87b55c 100644--- a/semantica-explorer/vite.config.ts+++ b/explorer/vite.config.ts@@ -1,13 +1,15 @@import { defineConfig } from 'vite'-import react, { reactCompilerPreset } from '@vitejs/plugin-react'-import babel from '@rolldown/plugin-babel'+import react from '@vitejs/plugin-react'import path from 'path'// https://vite.dev/config/export default defineConfig({plugins: [- react(),- babel({ presets: [reactCompilerPreset()] })+ react({+ babel: {+ plugins: ['babel-plugin-react-compiler'],+ },+ }),],base: '/',diff --git a/semantica-explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx b/semantica-explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsxdeleted file mode 100644index 07b38f82..00000000--- a/semantica-explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx+++ /dev/null@@ -1,115 +0,0 @@-/**- * src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx- */-import { useState, useEffect } from "react";--const THEME_CSS = `- .glass-panel {- background: linear-gradient(135deg, rgba(13,17,23,0.75), rgba(22,27,34,0.6));- backdrop-filter: blur(16px) saturate(1.2);- -webkit-backdrop-filter: blur(16px) saturate(1.2);- border: 1px solid rgba(88,166,255,0.2);- box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 1px 1px 0 rgba(255,255,255,0.05);- }-`;----function CausalChainNode({ hop, title, desc }: { hop: number, title: string, desc: string }) {- return (- <div style={{ marginLeft: hop * 24, paddingLeft: 16, borderLeft: "2px solid rgba(88,166,255,0.3)", position: "relative", marginBottom: 16 }}>- <div style={{ position: "absolute", left: -6, top: 4, width: 10, height: 10, borderRadius: "50%", background: "#58a6ff", boxShadow: "0 0 8px #58a6ff" }} />- <h4 style={{ margin: "0 0 4px 0", color: "#e6edf3", fontSize: 14 }}>{title}</h4>- <p style={{ margin: 0, color: "#8b949e", fontSize: 13 }}>{desc}</p>- </div>- );-}--export function DecisionWorkspace() {- const [decisions, setDecisions] = useState<any[]>([]);- const [selectedDecision, setSelectedDecision] = useState<any | null>(null);- const [chain, setChain] = useState<any[]>([]);- const [loading, setLoading] = useState(false);-- useEffect(() => {- fetch("/api/decisions")- .then(res => res.json())- .then(data => {- setDecisions(data);- if (data.length > 0) handleSelectDecision(data[0]);- })- .catch(console.error);- }, []);-- const handleSelectDecision = async (d: any) => {- setSelectedDecision(d);- setLoading(true);- try {- const res = await fetch(`/api/decisions/${d.decision_id}/chain`);- const data = await res.json();- setChain(data.chain || []);- } catch (e) {- console.error(e);- } finally {- setLoading(false);- }- };-- return (- <div style={{ display: "flex", width: "100%", height: "100%", background: "#0d1117", overflow: "hidden" }}>- <style>{THEME_CSS}</style>-- {/* Left Column: Decisions List */}- <div className="glass-panel" style={{ width: 320, padding: 24, display: "flex", flexDirection: "column", gap: 16, borderRight: "1px solid rgba(88,166,255,0.2)", borderTop: "none", borderLeft: "none", borderBottom: "none", borderRadius: 0 }}>- <h2 style={{ color: "#ffffff", margin: 0, fontSize: 18, borderBottom: "1px solid rgba(255,255,255,0.1)", paddingBottom: 12 }}>- Decision Tree- </h2>- <div style={{ display: "flex", flexDirection: "column", gap: 8 }}>- {decisions.map(d => (- <button- key={d.decision_id}- onClick={() => handleSelectDecision(d)}- style={{- textAlign: "left", padding: "12px 16px", borderRadius: 8, cursor: "pointer",- background: selectedDecision?.decision_id === d.decision_id ? "rgba(88,166,255,0.15)" : "transparent",- border: `1px solid ${selectedDecision?.decision_id === d.decision_id ? "#58a6ff" : "rgba(255,255,255,0.1)"}`,- color: selectedDecision?.decision_id === d.decision_id ? "#ffffff" : "#c9d1d9",- transition: "all 0.2s"- }}- >- <div style={{ fontWeight: 600, fontSize: 14 }}>{d.decision_id}</div>- <div style={{ fontSize: 12, color: "#8b949e", marginTop: 4 }}>{d.category || 'Uncategorized'}</div>- </button>- ))}- </div>- </div>-- {/* Right Column: Causal Chains */}- <div style={{ flex: 1, padding: 32, overflowY: "auto", position: "relative" }}>- <div style={{ position: "absolute", inset: 0, background: "radial-gradient(ellipse at top right, rgba(88,166,255,0.05), transparent 60%)", pointerEvents: "none" }} />-- {selectedDecision ? (- <>- <h1 style={{ color: "#ffffff", fontSize: 28, margin: "0 0 8px 0" }}>{selectedDecision.decision_id}</h1>- <div style={{ color: "#58a6ff", fontSize: 14, marginBottom: 40 }}>Outcome: {selectedDecision.outcome}</div>-- <div className="glass-panel" style={{ padding: 32, borderRadius: 12 }}>- <h3 style={{ color: "#ffffff", margin: "0 0 24px 0", fontSize: 16 }}>Causal Chain</h3>- {loading ? (- <div style={{ color: "#8b949e" }}>Loading chain...</div>- ) : chain.length > 0 ? (- chain.map((c, i) => (- <CausalChainNode key={i} hop={i} title={`${c.relationship} ${c.id}`} desc={c.content || '...'} />- ))- ) : (- <div style={{ color: "#8b949e" }}>No causal chain found.</div>- )}- </div>- </>- ) : (- <div style={{ color: "#8b949e", textAlign: "center", marginTop: 100 }}>Select a decision to view details</div>- )}- </div>- </div>- );-}