neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Runtime diagnostics CLI for Vite apps, exposing Vue/React/Svelte state, HMR traces, module graph diff, and mapped errors for developers and AI agents.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Know why your Vite app broke — not just where.
Runtime diagnostics CLI for Vite applications. Connect to a running dev server, correlate errors with recent HMR activity, trace store-to-render propagation paths, and inspect framework state — all from the terminal, with zero project setup.
Built for developers and AI coding agents alike.
You save a file. Vite hot-updates. The page breaks.README 전문 보기 ↗Know why your Vite app broke — not just where.
Runtime diagnostics CLI for Vite applications. Connect to a running dev server, correlate errors with recent HMR activity, trace store-to-render propagation paths, and inspect framework state — all from the terminal, with zero project setup.
Built for developers and AI coding agents alike.
📖 Documentation · 📦 npm
Agent Skill (recommended):
npx skills add MapleCity1314/vite-browser
CLI only:
npm install -g @presto1314w/vite-devtools-browser
npx playwright install chromium
You save a file. Vite hot-updates. The page breaks.
The error overlay tells you what failed — but not which update caused it, how the change propagated through your component tree, or whether the real problem is a stale store, a broken import, or a network regression.
# 1. See the current error with source context
$ vite-browser errors --mapped --inline-source
TypeError: Cannot read properties of undefined (reading 'items')
→ /src/components/CartSummary.tsx:14:12
14 | total = cart.items.reduce(...)
# 2. Correlate with recent HMR activity
$ vite-browser correlate errors --mapped --window 5000
Confidence: high
HMR update observed within 5000ms of the current error
Matching modules: /src/store/cart.ts
# 3. Trace the propagation path
$ vite-browser diagnose propagation --window 5000
Status: fail | Confidence: high
Store → Render → Error path found:
store: cart (changedKeys: items)
render: AppShell > ShoppingCart > CartSummary
Four commands. You know the store update broke the render path. You know where to fix it.
store → render → error paths with confidence levelsmissing-module, circular-dependency, hmr-websocket-closedvite-browser is designed skill-first. The skill router automatically picks the right debugging workflow based on the symptom:
| Symptom | Routed to |
|---|---|
| Broad / unclear failure | core-debug |
| Recent edit or HMR breakage | runtime-diagnostics |
| Wrong data or failed requests | network-regression |
| Pre-merge verification | release-smoke |
AI coding agents (Claude Code, Codex, Cursor) follow the structured workflow instead of guessing.
→ Agent Skills guide · AI IDE Setup
# Browser
vite-browser open <url> # Launch and navigate
vite-browser close # Close browser and daemon
# Diagnostics
vite-browser errors --mapped --inline-source
vite-browser correlate errors --mapped --window <ms>
vite-browser correlate renders --window <ms>
vite-browser diagnose hmr --limit <n>
vite-browser diagnose propagation --window <ms>
# Framework
vite-browser detect
vite-browser vue tree | vue pinia | vue router
vite-browser react tree
vite-browser react store list | react store inspect <name>
vite-browser react hook health | react hook inject
vite-browser react commits [--limit <n>] | react commits clear
vite-browser svelte tree
# Vite runtime
vite-browser vite runtime
vite-browser vite hmr trace --limit <n>
vite-browser vite module-graph trace --limit <n>
# Utilities
vite-browser screenshot # Full-page capture (visual verification)
vite-browser logs | network | eval <script>
v0.3.6 is the current stable release. It provides reliable runtime state surfacing, error-HMR correlation, common HMR failure pattern detection, and store → render → error path narrowing for both Vue + Pinia and React + Zustand workflows.
React support includes component tree inspection, Zustand store discovery and state reading, bundled DevTools hook (zero-config, no browser extension needed), hook diagnostics, and lightweight commit tracing.
correlate renders and diagnose propagation are high-confidence narrowing tools, not strict causal proof. They intentionally produce conservative output when evidence is incomplete.
pnpm install
pnpm build
pnpm test
Requirements: Node.js ≥ 20 · Chromium via Playwright · Running Vite dev server
MIT