From 6d308f4cb7664860acbc9dde3ed7f859c64d3835 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 22 May 2026 20:16:31 +0000 Subject: [PATCH] chore: add changeset for kontena write surface PR #39 merged without a changeset, so the release workflow tried to republish the existing 0.1.2 of both `@sawala/cli` and `@sawala/mcp`. This bumps both to a `minor` (new feature surface). --- .changeset/sawala-kontena-write-surface.md | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .changeset/sawala-kontena-write-surface.md diff --git a/.changeset/sawala-kontena-write-surface.md b/.changeset/sawala-kontena-write-surface.md new file mode 100644 index 0000000..3132945 --- /dev/null +++ b/.changeset/sawala-kontena-write-surface.md @@ -0,0 +1,26 @@ +--- +'@sawala/cli': minor +'@sawala/mcp': minor +--- + +Add the Kontena write surface: schemas + entries CRUD and publish/unpublish. + +Both the `sawala` CLI and `sawala-mcp` server previously exposed only +read-only Kontena commands. This release fills out the rest of the +content workflow: + +- CLI: `sawala kontena schema {create,update,delete}` and + `sawala kontena entry {create,update,delete,publish,unpublish}`. + Body comes from `--file ` (or `-` for stdin) or inline + `--data `. Destructive verbs prompt on a TTY and refuse without + `--yes` outside one. Both create/update support `--dry-run` to + validate without a round-trip. +- MCP: eight new tools mirroring the CLI verbs. Delete tools require + `confirm: true` and carry `destructiveHint`/`irreversibleHint` for + host UIs. Entry CRUD transparently fetches the schema first to route + single vs collection — schema type stays an implementation detail of + the kontena worker, not the tool surface. + +Publish/unpublish target collection schemas in v1; single-type schemas +go through `entry update --publish` with the locale supplied in the +patch.