@syke1/mcp-server 1.3.12 → 1.3.14
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/dist/web/public/app.js +44 -5
- package/package.json +1 -1
package/dist/web/public/app.js
CHANGED
|
@@ -182,6 +182,45 @@ async function loadGraph() {
|
|
|
182
182
|
Graph.graphData(graphData);
|
|
183
183
|
buildLegend(layerCounts);
|
|
184
184
|
console.log("[SYKE] Graph updated (reload), birth animations:", birthAnimations.size);
|
|
185
|
+
|
|
186
|
+
// ── Star birth camera choreography ──
|
|
187
|
+
if (birthAnimations.size > 0) {
|
|
188
|
+
const firstBirth = birthAnimations.values().next().value;
|
|
189
|
+
const sp = firstBirth.spawnPos;
|
|
190
|
+
const tp = firstBirth.targetPos;
|
|
191
|
+
stopUser(); // stop auto-rotate
|
|
192
|
+
|
|
193
|
+
// Phase 1: Zoom in to spawn point (close-up, 800ms)
|
|
194
|
+
Graph.cameraPosition(
|
|
195
|
+
{ x: sp.x + 300, y: sp.y + 200, z: sp.z + 600 },
|
|
196
|
+
{ x: sp.x, y: sp.y, z: sp.z },
|
|
197
|
+
800
|
|
198
|
+
);
|
|
199
|
+
|
|
200
|
+
// Phase 2: Follow node to target with rotation (at 1.2s, 2s transition)
|
|
201
|
+
setTimeout(() => {
|
|
202
|
+
Graph.cameraPosition(
|
|
203
|
+
{ x: tp.x + 400, y: tp.y + 300, z: tp.z + 500 },
|
|
204
|
+
{ x: tp.x, y: tp.y, z: tp.z },
|
|
205
|
+
2000
|
|
206
|
+
);
|
|
207
|
+
}, 1200);
|
|
208
|
+
|
|
209
|
+
// Phase 3: Zoom out to overview (at 3.5s, 1.5s transition)
|
|
210
|
+
setTimeout(() => {
|
|
211
|
+
Graph.cameraPosition(
|
|
212
|
+
{ x: 0, y: 0, z: 3500 },
|
|
213
|
+
{ x: 0, y: 0, z: 0 },
|
|
214
|
+
1500
|
|
215
|
+
);
|
|
216
|
+
// Resume auto-rotate
|
|
217
|
+
setTimeout(() => {
|
|
218
|
+
autoRotate = true;
|
|
219
|
+
document.getElementById("btn-auto-rotate").classList.add("active");
|
|
220
|
+
startAutoRotate();
|
|
221
|
+
}, 1800);
|
|
222
|
+
}, 3500);
|
|
223
|
+
}
|
|
185
224
|
return;
|
|
186
225
|
}
|
|
187
226
|
|
|
@@ -242,18 +281,18 @@ async function loadGraph() {
|
|
|
242
281
|
.linkDirectionalParticles(link => {
|
|
243
282
|
if (highlightLinks.has(link)) return 12;
|
|
244
283
|
const isActive = modifyingNodes.size > 0 || heartbeatNodes.size > 0;
|
|
245
|
-
return isActive ? 3 :
|
|
284
|
+
return isActive ? 3 : 4;
|
|
246
285
|
})
|
|
247
286
|
.linkDirectionalParticleWidth(link => {
|
|
248
|
-
if (highlightLinks.has(link)) return
|
|
287
|
+
if (highlightLinks.has(link)) return 0.8;
|
|
249
288
|
const isActive = modifyingNodes.size > 0 || heartbeatNodes.size > 0;
|
|
250
|
-
return isActive ?
|
|
289
|
+
return isActive ? 0.3 : 0.4;
|
|
251
290
|
})
|
|
252
|
-
.linkDirectionalParticleSpeed(0.
|
|
291
|
+
.linkDirectionalParticleSpeed(link => highlightLinks.has(link) ? 0.012 : 0.005)
|
|
253
292
|
.linkDirectionalParticleColor(link => {
|
|
254
293
|
if (highlightLinks.has(link)) return "#ff2d55";
|
|
255
294
|
const isActive = modifyingNodes.size > 0 || heartbeatNodes.size > 0;
|
|
256
|
-
if (isActive) return "rgba(150,180,220,0.
|
|
295
|
+
if (isActive) return "rgba(150,180,220,0.3)";
|
|
257
296
|
return LAYER_HEX[srcLayer(link)] || "#ff69b4";
|
|
258
297
|
})
|
|
259
298
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syke1/mcp-server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"mcpName": "io.github.khalomsky/syke",
|
|
5
5
|
"description": "AI code impact analysis MCP server — dependency graphs, cascade detection, and a mandatory build gate for AI coding agents",
|
|
6
6
|
"main": "dist/index.js",
|