kcode-k1-chat-web-code-output 0.2.0

Pure model-facing outputs for K1 Chat WebCode tasks
Documentation
1
2
3
4
5
# K1 Chat WebCode output

This pure leaf builds model-facing outputs for all six WebCode operations. `WebCodeOutput` contains ordered Tool Message bodies, one terminal result, and compact typed metadata. Create and Open metadata identify the selected library, unpublished ID or SemVer, language, and the all-message source layout. Docs identifies the selected version. Overwrite reports the original positive Box ID, edited part, and active unpublished ID. Check is always fresh. Publish reports the source Object, winning and optional submitted transactions, and public outcome.

`Operation` maps every operation to its exact metadata type. Error metadata contains only a stable code and optional source Object. Builders preserve caller-supplied payloads and perform no I/O, authorization, persistence, checking, history lookup, or publication. Work is linear in serialized metadata bytes.