• v0.1.1-dev.4 f334709cc7

    v0.1.1-dev.4
    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 15s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / host (push) Successful in 18s
    Corn CI / test (push) Successful in 4m27s
    Architecture Wiki / publish architecture (push) Successful in 5m9s
    Corn CI / release (push) Successful in 59s
    Pre-release

    john released this 2026-11-26 03:52:27 +00:00 | 26 commits to main since this release

    v0.1.1-dev.4

    No one-time OAuth values in the server log.

    • FastMCP OAuth proxy redaction. 0.1.1-dev.3 redacted callback queries in the access log, but FastMCP's OAuth proxy still logged the returned state (its transaction ID) at ERROR when a callback was stale or forged (IdP callback with invalid transaction ID: …). A logger-level filter on fastmcp.server.auth.oauth_proxy.proxy now masks it, and also the debug-level authorization code and transaction messages, at any log level. Other proxy messages (refresh-token prefixes, upstream errors) are unchanged.

    No API or behaviour change.

    Source commit f334709cc7eb0be0841d037c13139cc0676ed268.

    Downloads
  • v0.1.1-dev.3 efa7e98775

    v0.1.1-dev.3
    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 / host (push) Successful in 17s
    Corn CI / test (push) Successful in 4m1s
    Architecture Wiki / publish architecture (push) Successful in 4m24s
    Corn CI / release (push) Successful in 1m3s
    Pre-release

    john released this 2026-11-26 03:00:24 +00:00 | 28 commits to main since this release

    v0.1.1-dev.3

    Simpler batch statuses, and OAuth sign-in codes no longer appear in the access log.

    • corn_call_tools: invalid is merged into not_run. Every call now has exactly one of three statuses: ok, error (ran and failed) or not_run (never ran). A not_run call that was itself the problem carries error (unknown tool, recursive call) or errors (field problems); a not_run call without them was valid and only held back because the batch was rejected. The top-level invalid count is removed; not_run counts all calls that did not run. Request validation stays strict: unknown keys and copied response fields still reject the whole batch before anything runs.
    • Access log redaction. uvicorn access-log lines for any /auth/.../callback (Pocket ID sign-in, console sign-in, linked MCP accounts such as PocketSmith and Coder) now show ?<redacted> instead of the one-time authorization code and state. Other request paths and query strings are logged unchanged.

    Behaviour change: clients reading results[].status == "invalid" or the top-level invalid count should use not_run (with error/errors) instead.

    Source commit efa7e987759cd46bb0668e396aee408bea6e027e.

    Downloads
  • v0.1.1-dev.2 7993f82030

    v0.1.1-dev.2
    All checks were successful
    Corn CI / release-check-1 (push) Successful in 2s
    Corn CI / release-check (push) Successful in 0s
    Corn Release / release-1 (push) Successful in 4s
    Corn Release / release (push) Successful in 0s
    Corn CI / host (push) Successful in 17s
    Corn CI / test (push) Successful in 2m29s
    Corn CI / release (push) Successful in 2m18s
    Architecture Wiki / publish architecture (push) Successful in 54s
    Pre-release

    john released this 2026-11-26 01:15:04 +00:00 | 30 commits to main since this release

    v0.1.1-dev.2

    Linked MCP accounts stay signed in, and public OAuth clients such as PocketSmith's hosted MCP work end to end.

    • Background credential refresher (generic). A new corn.refresher.CredentialRefresher sweeps registered credential sources on an interval and renews grants before they expire. Linked MCP accounts (CORN_UPSTREAM_MCP_SERVERS) are the first source; other credential families can register their own sweep(min_validity). Only one replica sweeps at a time (database lease credential-refresher). On-demand refresh at call time is unchanged and remains the correctness path.
      • CORN_REFRESH_INTERVAL_SECONDS (default 1800, 0 disables)
      • CORN_REFRESH_MIN_VALIDITY_SECONDS (default 2400): grants with less remaining lifetime are refreshed. With the defaults, a one-hour token is renewed before it can expire between two sweeps.
    • RFC 8707 resource on every token request. When an upstream sets resource, Corn now sends it on the authorization-code exchange and on refreshes too, not only on the authorization request, as the MCP authorization spec requires.
    • Transient refresh failures keep the grant. Network errors, 429 and 5xx from the token endpoint no longer delete the user's linked account; the current token is used while still valid and the tool error says to retry. Only a rejected refresh token (4xx) disconnects.
    • Grants without a refresh token are used until they expire instead of being deleted early, and the Connections page shows whether each linked account renews automatically.

    No configuration change is required; the refresher starts with the defaults.

    Source commit 7993f8203070cb752ad444a73ad9f7aaa3ef973d.

    Downloads
  • 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
  • v0.1.0 42120f49c5

    v0.1.0
    All checks were successful
    Corn CI / release-check-1 (push) Successful in 2s
    Corn CI / release-check (push) Successful in 0s
    Corn Release / release-1 (push) Successful in 20s
    Corn Release / release (push) Successful in 0s
    Corn CI / test (push) Successful in 2m21s
    Architecture Wiki / publish architecture (push) Successful in 2m44s
    Corn CI / release (push) Successful in 34s
    Stable

    john released this 2026-11-24 03:07:38 +00:00 | 40 commits to main since this release

    Corn 0.1.0

    Stable promotion of 0.1.0-rc.1. No feature or deployment-selector changes from the candidate. The stable image is published to :latest.

    Source commit 42120f49c5859f9fd2ea283277ce1a58dbaac817.

    Downloads
  • v0.1.0-dev.42 a0edaf0b50

    v0.1.0-dev.42
    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 3m43s
    Architecture Wiki / publish architecture (push) Successful in 4m5s
    Corn CI / release (push) Successful in 41s
    Pre-release

    john released this 2026-11-24 00:24:20 +00:00 | 44 commits to main since this release

    v0.1.0-dev.42

    The MCP description of corn_list_tools advertises the subtool names visible to the caller. Filtered discovery also returns callable_subtools, ready to use in corn_call_tools.

    Source commit a0edaf0b50e4486ddb88e2071f1b5d137cefd1d6.

    Downloads
  • v0.1.0-dev.41 76db593ac9

    v0.1.0-dev.41
    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 14s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / test (push) Successful in 4m1s
    Architecture Wiki / publish architecture (push) Successful in 4m25s
    Corn CI / release (push) Successful in 3m18s
    Pre-release

    john released this 2026-11-23 23:57:14 +00:00 | 46 commits to main since this release

    v0.1.0-dev.41

    Discover tools with corn_list_tools; run independent calls together with corn_call_tools. The previous corn_list and corn_batch names remain callable aliases. Direct tools are unchanged.

    Source commit 76db593ac9d611630bbe0378537a1541e9289e3f.

    Downloads
  • 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
  • v0.1.0-dev.39 b47a845076

    v0.1.0-dev.39
    Some checks failed
    Code Architecture / inventory (push) Has been skipped
    Code Architecture / mermaid-comment (push) Has been skipped
    Code Architecture / review (push) Has been skipped
    Code Architecture / comment (push) Has been skipped
    Corn CI / release-check-1 (push) Successful in 2s
    Corn CI / release-check (push) Successful in 0s
    Corn Release / release-1 (push) Successful in 4s
    Corn Release / release (push) Successful in 0s
    Corn CI / test (push) Successful in 2m46s
    Corn CI / release (push) Failing after 15s
    Code Architecture / review-1 (push) Successful in 3m42s
    Code Architecture / analyze (push) Successful in 0s
    Pre-release

    john released this 2026-11-23 05:30:56 +00:00 | 68 commits to main since this release

    v0.1.0-dev.39 — Read-only per-request auth resolution and throttled last_seen_at (pre-release)

    Cached tools/list still took ~200 ms p50 across Corn's three replicas
    because FastMCP's AuthMiddleware invoked IdentityService.resolve() once per
    listed tool, and every call unconditionally opened a second SQLite session to
    update users.last_seen_at and commit. With ~60 tools across Corn and Coder,
    one tools/list ran 360 SQLite statements (240 SELECT, 120 UPDATE commits)
    synchronously on the event loop.

    • IdentityService.resolve() now keeps the read-only fast path when an enabled
      user's profile claims match and last_seen_at was updated within the last
      5 minutes (last_seen_interval_seconds=300). Profile claim changes and new
      users still persist immediately.
    • ToolTimingMiddleware.on_request scopes an in-memory per-request identity
      cache (identity_request_cache()), so AuthMiddleware's per-tool checks and
      UserScopedMcpProxy's user-id checks reuse the first resolution for that
      request instead of repeating SQLite queries.
    • MCP auth checks (_authenticated, _current_user_id, corn_whoami) and
      UserScopedMcpProxy.is_connected run SQLite/crypto lookups off the asyncio
      event loop via asyncio.to_thread().

    Local measurement (60-tool FastMCP + AuthMiddleware + ToolTimingMiddleware):
    one Client.list_tools() drops from 360 SQLite ops (including 120 commits) to
    1 read-only SELECT (~24 ms → ~0.5 ms middleware time).

    No API, database schema, or deployment-file changes.

    Source commit b47a845076d795be03f137f80bae00ce0bda0f33.

    Downloads
  • v0.1.0-dev.38 a7d80c6a66

    v0.1.0-dev.38
    All checks were successful
    Code Architecture / inventory (push) Has been skipped
    Code Architecture / mermaid-comment (push) Has been skipped
    Code Architecture / review (push) Has been skipped
    Code Architecture / comment (push) Has been skipped
    Corn Release / release-1 (push) Successful in 3s
    Corn Release / release (push) Successful in 0s
    Corn CI / release-check-1 (push) Successful in 11s
    Corn CI / release-check (push) Successful in 0s
    Corn CI / test (push) Successful in 3m55s
    Corn CI / release (push) Successful in 14s
    Code Architecture / review-1 (push) Successful in 4m23s
    Code Architecture / analyze (push) Successful in 0s
    Pre-release

    john released this 2026-11-22 09:31:51 +00:00 | 81 commits to main since this release

    v0.1.0-dev.38 — Upstream tool lists served from cache (pre-release)

    MCP clients list tools before most calls. Corn forwarded every one of those
    listings to the upstream (Coder), and in production a listing took 160–620 ms,
    more than most tool calls. Corn now answers listings of upstream tools,
    resources, resource templates and prompts from each user's own cache, and only
    asks the upstream again once the entry is older than the cache TTL.

    • One TTL for all upstream list caches: CORN_UPSTREAM_CACHE_TTL_SECONDS,
      default 60 seconds; 0 disables the cache. Invalid values fail at start-up.
      A tool added or removed upstream appears within that window.
    • The cache stays per user. A user who is not connected, or who disconnects,
      is never served a cached list.
    • Tool calls are unchanged and always go to the upstream.
    • Timing lines mark a listing answered from the cache as session=cached.

    Other Corn caches (transit, calendar, fuel and shopping) keep their existing
    lifetimes.

    No API, database or deployment-file changes.

    Source commit a7d80c6a66bf37dd65474cd04412280d6821e501.

    Downloads