• v0.1.0-dev.40 df3e1324b2

    v0.1.0-dev.40
    All checks were successful
    Corn Release / release-1 (push) Successful in 4s
    Corn Release / release (push) Successful in 0s
    Corn CI / release-check-1 (push) Successful in 13s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / test (push) Successful in 3m50s
    Architecture Wiki / publish architecture (push) Successful in 4m34s
    Corn CI / release (push) Successful in 55s
    Pre-release

    john released this 2026-11-23 21:38:01 +00:00 | 54 commits to main since this release

    v0.1.0-dev.40 — Tool discovery (list) and concurrent batch execution (pre-release)

    Adds list (corn_list) and batch (corn_batch) to Corn's MCP surface so
    clients that execute top-level tool calls sequentially can still discover all
    available tools and run up to 20 Corn or proxied upstream tool calls
    concurrently in one MCP round trip.

    • list (corn_list): Surfaces every Corn and connected upstream MCP tool
      available to the caller (name, client_name, description, required,
      parameters, and optional full input_schema), with query and prefix
      filters. Unconnected upstream servers are omitted.
    • batch (corn_batch): Accepts calls (1–20 {tool, arguments, id?})
      and max_concurrency (1–10, default 8), resolves tool names with or
      without the corn_ prefix, runs all calls concurrently through
      mcp.call_tool(..., run_middleware=True) while blocking recursive batch
      calls, and returns per-item results in input order with isolated error
      reporting. Every Corn tool (including ContractTool and list) and every
      connected upstream tool works inside batch.
    • Reentrant identity_request_cache(): Sub-calls inside a batch share the
      outer request's resolved Identity instead of re-querying SQLite per item.

    No database schema or deployment-file changes.

    Source commit df3e1324b24bbae6a22d9f0ad9f49bd0d73999ee.

    Downloads