From 6ac90bfc7c6423ffe4b19eedca26492be3ff740f Mon Sep 17 00:00:00 2001 From: Bulat Yapparov Date: Wed, 7 Oct 2026 13:51:59 +0100 Subject: [PATCH] chore(release): prepare @aictrl/cli 0.4.6 Bump the wrapper package and its bun.lock workspace entry to 0.4.6 and record the release candidate notes: validated output schemas with bounded corrective retries (#129), the --attach request-shape fix and the models.dev body-timeout fix. Co-Authored-By: Claude Opus 5.5 --- RELEASING.md | 26 ++++++++++++++------------ bun.lock | 2 +- packages/cli/package.json | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index b28be85..83c3dce 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -36,18 +36,20 @@ `sandbox` before `main`; verify a sandbox review persists MCP findings and a stalled stream reports a timeout rather than waiting for the job limit. -## 0.4.5 candidate - -- MCP tools are discovered once per connection and retained for both the - startup catalog and model turns (CLI #127). Tool-list change notifications - refresh that catalog; a failed refresh or closed connection stops the next - turn with an actionable error, instead of submitting a reduced toolset. - A successful later notification or reconnection restores discovery health. - Initially unavailable optional MCP servers keep their existing behavior. -- Release version checks and npm propagation handling address CLI #126. -- The executor enables the existing five-minute model stream idle guard in - application #5891. The CLI retains its generic opt-in default; local tools - retain the extended allowance and explicit operator overrides remain valid. +## 0.4.6 candidate + +- `aictrl run --output-schema ` enforces a JSON Schema on the final + result with bounded corrective retries (`--output-schema-retries`, default 2) + and writes only the validated value to `--output-result ` (#129). + Exit 2 is a schema configuration error; exit 3 is a structured-output failure. + New NDJSON events `structured_output_rejected` and a terminal + `structured_output` are additive (schema "1"). Runs without a schema are + unchanged. +- `--attach` request shapes are fixed for the legacy SDK client (#129). +- A stalled models.dev catalog body no longer surfaces as an unhandled + `TimeoutError` (#129). +- Executor adoption (pin bump plus entrypoint flags) is tracked separately in + application #5960. Publication and executor promotion are separate gates. Preparing this candidate PR does not publish npm packages or deploy an executor image. diff --git a/bun.lock b/bun.lock index f02ab30..cec0342 100644 --- a/bun.lock +++ b/bun.lock @@ -25,7 +25,7 @@ }, "packages/cli": { "name": "@aictrl/cli", - "version": "0.4.5", + "version": "0.4.6", "bin": { "aictrl": "./bin/aictrl", }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 3a271b7..f06bd10 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "0.4.5", + "version": "0.4.6", "name": "@aictrl/cli", "description": "Headless execution engine for AI agent skills", "type": "module",