Add AGENTS.md with the plot layout, targets and pins

This commit is contained in:
waozi committed 2026-11-22 14:22:24 -03:00
1 parent 37339e2ede
commit 53bbfdd373
1 file changed
+34
+34
View File
@@ -0,0 +1,34 @@
# plot
A Ziran chart package for Kryon: line, price-bar and candle charts, animated
line charts, and dashboard charts (shared axes, grouped bars, heatmaps, step
and scatter marks, waterfalls, linked time panes). `src/Plot/module.zi` is the
public export, so `plot/Plot` resolves by file in consumers. README.md is the
chart reference and cookbook.
## Layout
| Path | Contents |
| --- | --- |
| `src/` | Chart modules; `src/Plot/module.zi` re-exports the public surface |
| `Makefile` | Build, check and cookbook targets |
## Commands
```sh
make build # build the package
make run # open the chart cookbook on the native backend
make check # source check plus chart and indicator tests
make check-animated-line # animated line chart regression, no window
make check-dashboard # dashboard chart tests
make dashboard-zx # ZX build of the dashboard cookbook
```
## Pins
- Ziran toolchain: `5db3d3c39425d5dfe4bfe4a84e6f6e2e5a810ad0`
- Kryon: `facaace35051336a2a993d90d1bb7d7396543852`
Public module names use `UpperCamelCase`; lowercase names are implementation
modules. Commit as Waozi <waozi@proton.me>; ordinary changes stay in
CHANGELOG's `Unreleased` section.