• 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