memorix 0.6.2 → 0.6.3
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/README.md +50 -34
- package/dist/cli/index.js +59 -7
- package/dist/cli/index.js.map +1 -1
- package/dist/dashboard/static/app.js +14 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -611,6 +611,20 @@ function renderGraph(graph) {
|
|
|
611
611
|
ctx.fillStyle = colors.edgeLabel;
|
|
612
612
|
ctx.textAlign = 'center';
|
|
613
613
|
ctx.fillText(edge.type, mx + ox, my + oy - 6);
|
|
614
|
+
|
|
615
|
+
// Flowing particle animation along active edges
|
|
616
|
+
const particleCount = 2;
|
|
617
|
+
for (let p = 0; p < particleCount; p++) {
|
|
618
|
+
const t = ((pulsePhase * 0.5 + p / particleCount) % 1);
|
|
619
|
+
// Quadratic bezier interpolation: source → control → target
|
|
620
|
+
const cx = mx + ox, cy = my + oy;
|
|
621
|
+
const px = (1 - t) * (1 - t) * edge.source.x + 2 * (1 - t) * t * cx + t * t * edge.target.x;
|
|
622
|
+
const py = (1 - t) * (1 - t) * edge.source.y + 2 * (1 - t) * t * cy + t * t * edge.target.y;
|
|
623
|
+
ctx.beginPath();
|
|
624
|
+
ctx.arc(px, py, 3, 0, Math.PI * 2);
|
|
625
|
+
ctx.fillStyle = (edge.source.color || '#00d4ff') + 'cc';
|
|
626
|
+
ctx.fill();
|
|
627
|
+
}
|
|
614
628
|
}
|
|
615
629
|
}
|
|
616
630
|
|
package/dist/index.js
CHANGED
|
@@ -858,7 +858,7 @@ async function installAgentRules(agent, projectRoot) {
|
|
|
858
858
|
rulesPath = path5.join(projectRoot, "AGENTS.md");
|
|
859
859
|
break;
|
|
860
860
|
case "kiro":
|
|
861
|
-
rulesPath = path5.join(projectRoot, ".kiro", "
|
|
861
|
+
rulesPath = path5.join(projectRoot, ".kiro", "steering", "memorix.md");
|
|
862
862
|
break;
|
|
863
863
|
default:
|
|
864
864
|
rulesPath = path5.join(projectRoot, ".agent", "rules", "memorix.md");
|