@blackbelt-technology/pi-dashboard-skill-atlas-plugin 0.11.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackbelt-technology/pi-dashboard-skill-atlas-plugin",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "description": "Dashboard plugin showing every skill pi loads in a folder or globally as a typed relation graph (references, same package, shared tool), rebuilt automatically when skills change.",
5
5
  "keywords": [
6
6
  "pi-dashboard-plugin"
@@ -92,13 +92,15 @@
92
92
  "wouter": ">=3.0.0"
93
93
  },
94
94
  "dependencies": {
95
- "@blackbelt-technology/dashboard-plugin-runtime": "^0.11.0",
96
- "@blackbelt-technology/pi-dashboard-shared": "^0.11.0",
95
+ "@blackbelt-technology/dashboard-plugin-runtime": "^0.12.1",
96
+ "@blackbelt-technology/pi-dashboard-shared": "^0.12.1",
97
97
  "@fastify/rate-limit": "^11.2.0",
98
98
  "@mdi/js": "^7.4.47",
99
- "@mdi/react": "^1.6.1"
99
+ "@mdi/react": "^1.6.1",
100
+ "d3-force": "^3.0.0"
100
101
  },
101
102
  "devDependencies": {
103
+ "@types/d3-force": "^3.0.10",
102
104
  "@types/react": "^19.0.0",
103
105
  "@types/react-dom": "^19.0.0",
104
106
  "fastify": "^5.0.0",
@@ -62,6 +62,7 @@ export default function SkillAtlasPage({ scope, cwd, onBack }: SkillAtlasPagePro
62
62
  () => (graph?.links ?? []).filter((l) => rel[l.type] && visibleIds.has(l.source) && visibleIds.has(l.target)),
63
63
  [graph, rel, visibleIds],
64
64
  );
65
+ const visibleRelations = useMemo(() => RELATION_TYPES.filter((k) => rel[k]), [rel]);
65
66
  const q = query.trim().toLowerCase();
66
67
  const matches = (s: SkillNode) => !q || s.id.toLowerCase().includes(q) || s.description.toLowerCase().includes(q);
67
68
  const focus = selected && hops ? hopSet(visibleLinks, selected, hops) : null;
@@ -253,6 +254,7 @@ export default function SkillAtlasPage({ scope, cwd, onBack }: SkillAtlasPagePro
253
254
  allLinks={graph.links}
254
255
  skills={visibleSkills}
255
256
  links={visibleLinks}
257
+ relations={visibleRelations}
256
258
  selected={selected}
257
259
  hops={hops}
258
260
  matches={matches}