Files
magpie/site
yetone 8a650a62f9 site: a Kun docs page in en, zh and ja
/docs/kun says how magpie sets up Kun (KunAgent), its desktop app and the
kun TUI, both clients of kun serve: the connections in
model-connections.v2.json in ~/.kun/data (or $KUN_DATA_DIR) with keys in
Kun's protected store, so magpie goes through the runtime's admin API
with runtime.json's address and token, as Kun's Settings > Providers and
kun provider do; the magpie connection at the gateway's /v1 as chat
completions with Kun's own key, its models the ones picked for Kun (at
most 500), kept in step by sync; picking a model making it Kun's default
with the previous one stashed; Kun having to run; switching back to the
stashed default, then removing the connection. Each claim is from
internal/agent/kun.go. Linked from each language's OpenHanako page; in
the sitemap, llms.txt and llms-full.txt.

Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Kun itself with magpie for this page; it names only what
magpie's source says.
2026-11-12 10:56:25 +08:00
..