@syke1/mcp-server 1.3.12 → 1.3.13

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.
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syke1/mcp-server",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
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",