diff --git a/.changeset/mcp-cta-delivery.md b/.changeset/mcp-cta-delivery.md deleted file mode 100644 index 71a95d3..0000000 --- a/.changeset/mcp-cta-delivery.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'incur': patch ---- - -Delivered CTA suggestions in MCP tool result and error text, keeping `_meta.cta` for structured consumers. diff --git a/.changeset/variadic-positional-args.md b/.changeset/variadic-positional-args.md deleted file mode 100644 index c81f279..0000000 --- a/.changeset/variadic-positional-args.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'incur': patch ---- - -Added variadic positional arguments: a final `z.array(...)` args key collects all remaining positionals. - -```ts -Cli.create('my-cli').command('lint', { - args: z.object({ paths: z.array(z.string()).describe('Files to lint') }), - run: (c) => ({ count: c.args.paths.length }), -}) -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 9592411..b60fd64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # incur +## 0.4.17 + +### Patch Changes + +- 5b9647a: Delivered CTA suggestions in MCP tool result and error text, keeping `_meta.cta` for structured consumers. +- eacc238: Added variadic positional arguments: a final `z.array(...)` args key collects all remaining positionals. + + ```ts + Cli.create("my-cli").command("lint", { + args: z.object({ paths: z.array(z.string()).describe("Files to lint") }), + run: (c) => ({ count: c.args.paths.length }), + }); + ``` + ## 0.4.16 ### Patch Changes diff --git a/package.json b/package.json index 759210c..0406d29 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "[!start-pkg]": "", "name": "incur", "type": "module", - "version": "0.4.16", + "version": "0.4.17", "license": "MIT", "repository": { "type": "git",