Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .changeset/kontena-entry-slug-lookup.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/sawala-mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @sawala/mcp

## 0.4.1

### Patch Changes

- 917500d: `sawala kontena entry create/update/delete` and the matching `sawala_kontena_create_entry`, `sawala_kontena_update_entry` and `sawala_kontena_delete_entry` MCP tools now work when you name the schema by its slug — previously they failed with `NOT_FOUND (…/schemas/<slug>)` for every schema.

The commands look the schema up first to decide whether to write to the `single` or the `collection` content route, and that lookup only resolves a schema's ULID. The content route it feeds only resolves the schema's _slug_, so the identifier that made the write succeed was exactly the one that made the lookup fail, and there was no value that worked for both. The lookup now falls back to listing the project's schemas and matching by slug, the same way `sawala kontena schema get` already did. When the schema really is absent you get `Schema 'x' not found. Available slugs: …` instead of a bare `NOT_FOUND`.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sawala-mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sawala/mcp",
"version": "0.4.0",
"version": "0.4.1",
"description": "Drive the Sawala API (Kontena, Formulir, Berkasna, Kodena) from any MCP-capable AI agent.",
"license": "MIT",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/sawala/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @sawala/cli

## 0.14.2

### Patch Changes

- 917500d: `sawala kontena entry create/update/delete` and the matching `sawala_kontena_create_entry`, `sawala_kontena_update_entry` and `sawala_kontena_delete_entry` MCP tools now work when you name the schema by its slug — previously they failed with `NOT_FOUND (…/schemas/<slug>)` for every schema.

The commands look the schema up first to decide whether to write to the `single` or the `collection` content route, and that lookup only resolves a schema's ULID. The content route it feeds only resolves the schema's _slug_, so the identifier that made the write succeed was exactly the one that made the lookup fail, and there was no value that worked for both. The lookup now falls back to listing the project's schemas and matching by slug, the same way `sawala kontena schema get` already did. When the schema really is absent you get `Schema 'x' not found. Available slugs: …` instead of a bare `NOT_FOUND`.

## 0.14.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sawala/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sawala/cli",
"version": "0.14.1",
"version": "0.14.2",
"description": "Sawala umbrella CLI — Kontena, Formulir, Berkasna, and Kodena under one roof.",
"license": "MIT",
"repository": {
Expand Down
Loading