From a1840822006d246f7877eabf09a0bf9bf6a85512 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Fri, 13 Mar 2026 13:44:13 -0500 Subject: [PATCH] prepare v0.14 --- .changeset/v0-14-release.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/v0-14-release.md diff --git a/.changeset/v0-14-release.md b/.changeset/v0-14-release.md new file mode 100644 index 00000000..7e00e3b5 --- /dev/null +++ b/.changeset/v0-14-release.md @@ -0,0 +1,17 @@ +--- +"@json-render/core": minor +"@json-render/yaml": minor +--- + +Add YAML wire format package and universal edit modes for surgical spec refinement. + +### New: + +- **`@json-render/yaml`** -- YAML wire format for json-render. Includes streaming YAML parser, `yamlPrompt()` for system prompts, and AI SDK transform (`pipeYamlRender`) as a drop-in alternative to JSONL streaming. Supports four fence types: `yaml-spec`, `yaml-edit`, `yaml-patch`, and `diff`. +- **Universal edit modes** in `@json-render/core` -- three strategies for multi-turn spec refinement: `patch` (RFC 6902), `merge` (RFC 7396), and `diff` (unified diff). New `editModes` option on `buildUserPrompt()` and `PromptOptions`. New helpers: `deepMergeSpec()`, `diffToPatches()`, `buildEditUserPrompt()`, `buildEditInstructions()`, `isNonEmptySpec()`. + +### Improved: + +- **Playground** -- format toggle (JSONL / YAML), edit mode picker (patch / merge / diff), and token usage display with prompt caching stats. +- **Prompt caching** -- generate API uses Anthropic ephemeral cache control for system prompts. +- **CI** -- lint, type-check, and test jobs now run in parallel.