@chonkylang/devtools
v0.1.2
Published
Chonky DevTools — browser extension panel for render metadata visualization
Maintainers
Readme
@chonkylang/devtools
Chonky is a machine-first web language for AI-driven development. @chonkylang/devtools provides a small browser DevTools integration layer: a DevToolsBridge that listens for postMessage traffic between a Chonky DevTools panel (extension or embedded UI) and @chonkylang/runtime in the inspected page, so render metadata and events can be visualized without custom wiring in every app.
Project home: github.com/adisonshadow/chonky
Capabilities
DevToolsBridge:connect()/disconnect()aroundwindowmessage listeners; tracks connection state, event counts, and timestamps.- Typed messages:
DevToolsMessagewithsource: 'chonky-devtools' | 'chonky-runtime', arbitrarytype, andpayloadfor extensible protocols. - Pub/sub API:
on(type, handler)returns an unsubscribe function;send(type, payload)posts commands from the panel into the page. - Pairs with runtime: Consumes the same metadata surfaces the runtime exposes (for example
window.__CHONKY_RENDER_META__and log buffers) when your panel forwards or queries them.
Use this package when you build or extend the Chonky DevTools panel; app authors normally install @chonkylang/runtime and a bundler plugin first.
Installation
npm install @chonkylang/devtools --save-devChonky ecosystem (all packages)
| Package | README |
| --- | --- |
| @chonkylang/core | README |
| @chonkylang/runtime | README |
| @chonkylang/transpiler | README |
| @chonkylang/cli | README |
| @chonkylang/vite-plugin | README |
| @chonkylang/webpack-plugin | README |
| @chonkylang/ui | README |
| @chonkylang/devtools (this package) | README |
License
MIT — see the repository.
