{"_id":"@agent-runtime-map/react","_rev":"8-3bf29f4ed40e6fbfebd170c7548de095","name":"@agent-runtime-map/react","dist-tags":{"latest":"0.9.3"},"versions":{"0.8.0":{"name":"@agent-runtime-map/react","version":"0.8.0","license":"MIT","_id":"@agent-runtime-map/react@0.8.0","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"2f5247a5cbae2d9edacb92c8faf00915f1fedbbd","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.8.0.tgz","fileCount":16,"integrity":"sha512-q1J2W4zxmbKtb5teUkOk1H8EMBYlkCzLOVbsBmltHOlxW5r3suS52QKwATG3VISilcHOhzHYwuLm5OlFyaYARw==","signatures":[{"sig":"MEUCIQDbZd6IWHJF1q/bQ3JPFcyLTUf1Na5Va4nlEkzP23IvYQIgIcnKY1fZyx5AYo8lHy773rjZ7e9SpJAWukfTKbNVZj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187498},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"605376a81eb6b544fb0bbdcc0253f807140930a2","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"11.19.1","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.20.2","dependencies":{"elkjs":"^0.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":">=0.468.0","@xyflow/react":"^12.10.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.8.0_1787884417896_0.4559658025130149","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@agent-runtime-map/react","version":"0.8.1","license":"MIT","_id":"@agent-runtime-map/react@0.8.1","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"10a36243d6f601cf020dfedcb5f2bd2b5f7a00fe","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.8.1.tgz","fileCount":9,"integrity":"sha512-TsFYlfEyAHJMoGhShvwgj1Vz7yzYp+pY6XYPesZCw9NwMiXx6KULYHxl9J6WGaxVTxPta4ed4IkgRmv+KVyliw==","signatures":[{"sig":"MEQCIBUXKBIzYmMj9vIHZoAgKttKcgtHVpgNGqy6vruEB679AiBvDM3FDpjWIkrvWEzFoFfBPlV9kluUsaEEABn5def2gQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87194},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"71815f7495cd7a318dbfeb0e7f26cacb37c4ac94","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":">=0.468.0","@xyflow/react":"^12.10.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.8.1_1787978144573_0.8692583737355044","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@agent-runtime-map/react","version":"0.8.2","license":"MIT","_id":"@agent-runtime-map/react@0.8.2","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"08ab2c1edeaec829565c3b166af040b0920eb140","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.8.2.tgz","fileCount":9,"integrity":"sha512-cvIkmAHC6HqJdrhQAk2SqhjexXBWCDW9C9vwmNHHZYiK8heXsnqfDusOxcE9mOZdcNGck4hpXwzwUOZBOE1QKw==","signatures":[{"sig":"MEYCIQDR0DLjnmXgJCjmMRChqj2j3XymsnwYnH0P5VZWmnEkswIhAIpiBqD7lfjeyAXUPuQT0z05Jks8WUPDUhd4XEfDKlUw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.8.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87194},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"91dd6cc7a9f59cbaa368e63a88600b6fa4cfb65e","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":">=0.468.0","@xyflow/react":"^12.10.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.8.2_1787990699527_0.7650462417934805","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@agent-runtime-map/react","version":"0.8.3","license":"MIT","_id":"@agent-runtime-map/react@0.8.3","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"473315674f7faa90daf84e5898532706fe711e9a","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.8.3.tgz","fileCount":9,"integrity":"sha512-xM8uvxBQZJeg0c1ILPMEKGjbPBT39BS1rK951O9Of5jkh9Ht18FyXxkgTU1ubgZV/frjVSS01KhZBuJPbe1Eqg==","signatures":[{"sig":"MEUCIBmf6QWNDGrLK9d3BN73VqeeLOLrYm1Eff4t4kdrIm/OAiEA9v4G7BuEmikOFAu0p0rYIf0FVof7TuxwN/vSwqCqv2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.8.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87194},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"e8e299d429706565d21fe7c74d0db9a31370e320","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":">=0.468.0","@xyflow/react":"^12.10.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.8.3_1788003121078_0.32044481596019136","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@agent-runtime-map/react","version":"0.9.0","license":"MIT","_id":"@agent-runtime-map/react@0.9.0","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"219318a23be475564da4b25e24e9d7923f326103","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.9.0.tgz","fileCount":8,"integrity":"sha512-Tduj2bYKh1Y8jXgGIPphbCh2o0yuHMuqmo8SVAogZt6kjfXopSH0iVIzGB92bSz0kh8vkToz7/ZTzyLJSpDpbw==","signatures":[{"sig":"MEUCIGoA1iuy0zzDnrqUfuOU5KdeSkek1dOoOs0tEYu7KlHJAiEA8Bm0XEFXArhz8Q30i3AsHOBlWKunrLsjSXIKzq8S7fc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":73652},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"83d53e3f15e06b35e55e70a18b9bdb9f6b343208","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.2.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":"^1.37.0","@xyflow/react":"^12.11.5"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.9.0_1788403928791_0.4357324874649908","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"@agent-runtime-map/react","version":"0.9.1","license":"MIT","_id":"@agent-runtime-map/react@0.9.1","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"0fa03ff869f7eeb6ebad14e8198638528b4be83c","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.9.1.tgz","fileCount":8,"integrity":"sha512-F+MG+weQlshMzw3nF6s/csFCFZgntp8OT4fV6bzBVT3hPfnEvjVr8hRaVf5kOPBqG3uiyDnkY0uv73ktqMgXcg==","signatures":[{"sig":"MEQCIA7SbMkAMXBayN1su/1UnTHKO9Q05UcC6pUyqcyxb8JoAiAH2RyTEvvueiI0gzbxmqx8a8458uMYS5cBIctVClH3zA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.9.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":73652},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"8bacde6861a0e26d2f87349a69b7fea377bf499a","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.2.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":"^1.37.0","@xyflow/react":"^12.11.5"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.9.1_1788427559776_0.43530605494455643","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"@agent-runtime-map/react","version":"0.9.2","license":"MIT","_id":"@agent-runtime-map/react@0.9.2","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"dist":{"shasum":"0cb8e18c45cf445c86494b4a22e7c1117d7217e3","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.9.2.tgz","fileCount":8,"integrity":"sha512-zHQYtr7eYC0l4uf9ocbu0WKt8l856S9JYDahMOy8cIk6Mzd00n9aZuAqoP/6J9nZCQIEduRugjZl5Xfr4mX6BQ==","signatures":[{"sig":"MEUCIQCj497YAY4Tim579VhC+aiJ0nLcB3XJ3ua++KGfDA/FfgIgNjhoXdFJzw4CbdsARV1ZI0w5vkGlpHrREU83wCV56L4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.9.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":73652},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"},"./styles.css":"./dist/styles.css"},"gitHead":"928b6a715900496e981f7d62ebf785c4ebe1ac80","scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"repository":{"url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","type":"git","directory":"packages/react"},"_npmVersion":"12.0.2","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"elkjs":"^0.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.2.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","lucide-react":"^1.37.0","@xyflow/react":"^12.11.5"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_0.9.2_1788444707778_0.3841318573199739","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"@agent-runtime-map/react","version":"0.9.3","description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","repository":{"type":"git","url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","directory":"packages/react"},"bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles.css":"./dist/styles.css","./element":{"types":"./dist/element.d.ts","import":"./dist/element.js"}},"scripts":{"build":"tsup src/index.ts src/element.tsx --format esm --dts --external react --external react-dom --external @xyflow/react --external lucide-react && node scripts/copy-styles.mjs","clean":"rm -rf dist"},"peerDependencies":{"@xyflow/react":"^12.11.5","lucide-react":"^1.37.0","react":">=18.0.0","react-dom":">=18.0.0"},"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.2.5"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"sideEffects":["**/*.css"],"dependencies":{"elkjs":"^0.12.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"gitHead":"34f5664ae4b3f6d0704265bf0953605a26f14a8e","_id":"@agent-runtime-map/react@0.9.3","_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-tW1eui/AqtgYg48LrV/2Vn+ivaUXEoKXpjUKXsZe/BcWvjnBQhZevR5WqvuF+fzZfa4NU4kdh2jWQ+GOtpo2+Q==","shasum":"dae01f0c4acd48ca50ac5c54072d9193744b7104","tarball":"https://registry.npmjs.org/@agent-runtime-map/react/-/react-0.9.3.tgz","fileCount":8,"unpackedSize":73652,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-runtime-map%2freact@0.9.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGa51pxt+CXLpPoHepCoxsNKNVBFRXvCm52O8GZXzG4hAiBvOPycVPUa/Yc8tjvzcE48yLUolKMnaC5Sv4J2Sih4uA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a82a084d-65c2-4310-baa0-8713318971ab"}},"directories":{},"maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react_0.9.3_1789113163130_0.4214706927260665"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T02:33:37.643Z","modified":"2026-09-11T07:52:44.066Z","0.8.0":"2026-08-28T02:33:38.072Z","0.8.1":"2026-08-29T04:35:44.716Z","0.8.2":"2026-08-29T08:04:59.687Z","0.8.3":"2026-08-29T11:32:01.225Z","0.9.0":"2026-09-03T02:52:08.946Z","0.9.1":"2026-09-03T09:25:59.899Z","0.9.2":"2026-09-03T14:11:47.910Z","0.9.3":"2026-09-11T07:52:43.247Z"},"bugs":{"url":"https://github.com/TheCrazyAnt/agent-runtime-map/issues"},"license":"MIT","homepage":"https://github.com/TheCrazyAnt/agent-runtime-map/tree/main/packages/react#readme","repository":{"type":"git","url":"git+https://github.com/TheCrazyAnt/agent-runtime-map.git","directory":"packages/react"},"description":"Reusable blueprint-style React Flow components for Agent Runtime Map.","maintainers":[{"name":"tangyishun9846","email":"tangyishun9846@gmail.com"}],"readme":"# @agent-runtime-map/react\n\nReusable React Flow components for the Agent Runtime Map blueprint visual language,\nplus an embeddable `<LogicMap />` that renders a whole compiled graph.\n\n## Embedding a map\n\n`LogicMap` takes an **already compiled** `LogicGraph`. It never reads a repository,\nruns an analyzer, or calls a service of its own — producing the graph is the host's\njob, which is what lets the same component sit in a docs site, an internal dashboard,\nor the bundled Viewer.\n\n```tsx\nimport { LogicMap } from \"@agent-runtime-map/react\";\nimport \"@xyflow/react/dist/style.css\";\nimport \"@agent-runtime-map/react/styles.css\";\n\nconst graph = await (await fetch(\"/graph.json\")).json();\n\n<div style={{ height: \"70vh\" }}>\n  <LogicMap\n    graph={graph}\n    featureId={graph.features[0]?.id}\n    stepIndex={2}\n    onSelectNode={(id, node) => console.log(node.label, node.sources)}\n  />\n</div>;\n```\n\nThe canvas fills the box you give it, so the parent needs a height.\n\n### Bringing your own coordinates\n\nPass `positions` and the layout engine is never imported — nothing is downloaded and\nnothing runs. This is for a host that already computes its layout, or renders the same\nmap in a context where a force pass is not wanted.\n\n```tsx\n<LogicMap graph={graph} positions={{ logic_route_a1b2: { x: 0, y: 0 }, /* … */ }} />\n```\n\nA node with no entry keeps the position it would otherwise be laid out at, so a\npartial map still renders.\n\n| Prop | Meaning |\n| --- | --- |\n| `graph` | The compiled `LogicGraph`. Required. |\n| `featureId` | Frames one feature's route. Omit for the whole system. |\n| `variantId` | Which inferred branch to frame. Defaults to the first. |\n| `stepIndex` | How far along the route to highlight. `-1` shows it unplayed. |\n| `selectedNodeId` | Node to render as selected. |\n| `positions` | Coordinates by node id. Supplying them skips the layout engine entirely. |\n| `labels` | Boundary titles, so frames can be labelled in your product's language. |\n| `interactive` | `false` renders a static, non-pannable map. |\n| `onSelectNode` | Called with the node id and the compiled node behind it. |\n\n`stepIndex` drives a **static simulation** of a statically inferred route. It is not a\nlive run of the Agent, and a host must not present it as one.\n\n## Layering a real run over the map\n\nA run can light up the steps it touched. This is a bridge, **not** a tracing system:\nit adds no nodes, no edges, and no confidence — it reports which existing,\nevidence-backed elements ran, and hands back everything it could not place.\n\n```ts\nimport { applyTraceEvents } from \"@agent-runtime-map/react\";\n\nconst overlay = applyTraceEvents(graph, [\n  { target: \"logic_route_a1b2\", kind: \"completed\", durationMs: 120 },\n  { target: \"agent_504378b8626b\", kind: \"failed\", detail: \"timeout\" },\n]);\n\noverlay.unmatched;  // events naming ids this graph does not have\noverlay.coverage;   // fraction of the map the run actually touched\n```\n\n`target` is any stable id already in the graph — a logic node, a logic edge, or a raw\nnode, which is lifted to the step that contains it, because a runtime reports the\nsymbol it executed rather than the compressed step the map shows.\n\nAn event that matches nothing is returned in `unmatched` rather than drawn. A failure\nis never erased by a later event: a retry somewhere else does not mean this step\nstopped failing here.\n\nPass either the overlay or the raw events to `<LogicMap trace={...} />`. Observed\nelements are styled distinctly from the inferred route on purpose — a reader must\nnever mistake \"this is the statically inferred path\" for \"this actually ran\".\n\n## Embedding without React\n\n```html\n<logic-map id=\"map\" style=\"display:block;height:70vh\"></logic-map>\n<script type=\"module\">\n  import { defineLogicMapElement } from \"@agent-runtime-map/react/element\";\n  defineLogicMapElement();\n  const map = document.getElementById(\"map\");\n  map.graph = await (await fetch(\"/graph.json\")).json();\n  map.addEventListener(\"select-node\", (event) => console.log(event.detail.node.label));\n</script>\n```\n\nThe graph is set as a property rather than an attribute, because a Logic Graph is far\nlarger than an attribute should carry. `feature-id`, `variant-id`, `step-index`, and\n`interactive` are attributes. The element needs `react-dom`, which is why it lives on\nits own entry point: a React host never pays for a dependency it does not use.\n\n\n```tsx\nimport {\n  BlueprintGroupNode,\n  BlueprintLogicNode,\n  blueprintDetailLevelForZoom,\n  blueprintSemanticZoomProgress,\n  blueprintEdgeAppearance,\n} from \"@agent-runtime-map/react\";\nimport \"@agent-runtime-map/react/styles.css\";\n\nconst nodeTypes = {\n  logic: BlueprintLogicNode,\n  blueprintGroup: BlueprintGroupNode,\n};\n```\n\nThe package exports:\n\n- `BlueprintLogicNode` — icon-first semantic nodes with evidence and confidence metadata.\n- `BlueprintGroupNode` — solid or dashed labeled system boundaries.\n- `blueprintEdgeAppearance()` — consistent main, auxiliary, active, verified, warning, and error link tokens.\n- `measureBlueprintBounds()` — computes a frame around positioned React Flow nodes.\n- `blueprintDetailLevelForZoom()` — maps wheel zoom to overview, logic, and source-evidence fidelity without dropping graph data.\n- `blueprintSemanticZoomProgress()` — returns eased continuous progress values for crossfading details between levels.\n\nAll components are presentation-only. They consume the shared graph protocol and do not analyze or execute user code.\n","readmeFilename":"README.md"}