Skip to content

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 10:47
· 34 commits to main since this release

The file as written, for editors.

tinyprobe inspect tinyprobe/api/shop.yaml --json --source

adds two keys to the inspect --json document:

  • source: the file as written, as JSON — keys in order, scalars typed as YAML reads them, placeholders unresolved. The headers written in an endpoint, its auth set, the auth sets, checks as operator and value, use steps, import, variables.
  • blocks: where every top-level key, auth set, endpoint and step starts and ends, so an editor rewrites one block and keeps the rest of the file, comments included.
{ "kind": "endpoint", "name": "login", "start": { "line": 7, "column": 3 }, "end": { "line": 10, "column": 57 } }

Without --source nothing changes, the MCP tool inspect included. The protocol stays 1: new keys only (docs/protocol.md).

tinyprobe-app 0.3.0 builds its visual editor on it: endpoints, auth sets, workflows and their steps edited with forms, and tinyprobe checks every change before it is kept.

What's Changed

  • inspect --source: the file as written, for editors (spec 0018) by @kikutano in #35

Full Changelog: v0.20.1...v0.21.0