extension.js
extension.js implements the VS Code extension commands. It calls the CLI for conversion and calls the Juno bridge for live craft, Vizzy, stage, telemetry, and report operations. vscode extension
Responsibilities
| Area | Behavior |
|---|---|
| Activation | Registers all vizzycode.* commands. |
| CLI commands | Import XML, export code, run roundtrip. |
| Juno commands | Connect, browse parts, import/export from game, inspect stages. |
| Data exports | Save telemetry JSON, snapshot JSON, and Markdown reports. |
| CLI discovery | Resolves bundled or configured CLI path. |
| Status bar | Shows extension and Juno connection state. |
Command Flow
flowchart TD A[VS Code command] --> B{Command type} B -->|Conversion| C[runCli] C --> D[CLI Program.cs] B -->|Live Juno| E[junoGet/junoPut/junoPost] E --> F[Juno Live Bridge] B -->|Report| G[buildJunoMarkdownReport]
Backlinks
Related notes: Component Map, 07 - VS Code Extension, CLI Program.cs, 06 - Juno Live Bridge.