• v0.1.1-dev.1 56e6821994

    v0.1.1-dev.1
    All checks were successful
    Corn CI / release-check-1 (push) Successful in 2s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / host (push) Successful in 9s
    Corn Release / release-1 (push) Successful in 3s
    Corn Release / release (push) Successful in 0s
    Corn CI / test (push) Successful in 3m51s
    Corn CI / release (push) Successful in 37s
    Architecture Wiki / publish architecture (push) Successful in 4m36s
    Pre-release

    john released this 2026-11-25 03:15:07 +00:00 | 32 commits to main since this release

    v0.1.1-dev.1

    corn_call_tools checks the whole request before any call runs, and reports accepted and rejected batches in one shape.

    • Unknown keys are rejected, not dropped. Previously a call item with args instead of arguments ran the tool with empty arguments. It is now refused with "did you mean 'arguments'?". Top-level keys copied from a previous response (for example succeeded or total_ms) are named as such.
    • Rejected batches run nothing. They return status: "rejected", executed: 0 and one result per call (invalid with its field errors, or not_run), plus batch-level field errors under error.errors. The response is flagged isError and never echoes submitted values.
    • Accepted batches add status (completed or partial), executed, invalid, not_run and a per-call status (ok, error, invalid). Accepted batches are never flagged isError.

    Behaviour change: unknown-tool and recursive calls never run, so they now count as invalid rather than failed. failed now counts only calls that ran and returned an error. Existing fields (results, ok, succeeded, failed, total_ms) remain.

    Source commit 56e682199485ec289fb6c4dada053529ff9ebfde.

    Downloads