@surprisal/pi-hyperchart
v0.1.1
Published
Pi extension and React inspector for Hyperchart workflows
Maintainers
Readme
@surprisal/pi-hyperchart
Pi extension, run manager, agent executor, terminal UI, React inspector, and bundled Hyperchart skill.
Install in Pi
Run from your shell:
pi install npm:@surprisal/pi-hyperchartStart Pi after the install, or restart an existing Pi process. The package declares:
extensions/hyperchart.ts;skills/hyperchart/.
It requires Node.js 22.19 or newer and the exact matching version of @surprisal/hyperchart.
Start a chart
Place a chart in .pi/hypercharts/name.chart.ts, then run:
/hyperchart run nameRun /hyperchart with no arguments to list recent runs for the current project.
Pi tools
hyperchart_inspecthyperchart_runhyperchart_run_inspecthyperchart_rewind
Application entry points
| Import | Purpose |
|---|---|
| @surprisal/pi-hyperchart | same in-process command API as /command |
| @surprisal/pi-hyperchart/command | in-process /hyperchart request event |
| @surprisal/pi-hyperchart/pi-host | Pi chart/run host adapter |
| @surprisal/pi-hyperchart/react | inspector, graph, run strip, launch dialog, UI providers |
| @surprisal/pi-hyperchart/react/styles.css | required React stylesheet |
| @surprisal/pi-hyperchart/package.json | package metadata and Pi manifest |
Bundled documentation
The published package includes docs/, runnable examples/, and the architecture diagram. The bundled skill links to these local, version-matched files so an agent does not need network access for authoring, tool schemas, or recovery guidance.
Documentation
- Pi extension
- Pi API and agent tools
- React API
- Run your first chart
- Recovery and safety
- React and host integration
MIT · experimental 0.1.1
