-
v0.1.0-dev.27
Pre-releaseAll checks were successfulreleased this
2026-11-20 14:23:40 +00:00 | 147 commits to main since this releasev0.1.0-dev.27 — Rootless image publish (pre-release)
Ships the per-user upstream MCP OAuth feature from
v0.1.0-dev.26, whose image never published: the release job
needed a Docker daemon that the runner does not provide (docker/setup-buildx-action
could not reach/var/run/docker.sock). No0.1.0-dev.26image exists; use this one.- Rootless, daemonless publish (
.forgejo/workflows/publish.yml): the release job
now runs in the pinned Buildah container and builds with
john/release/actions/publish-image(commit-pinned), the same path the website uses.
No Docker socket, buildx or Docker actions. It checks that each architecture's native
libraries match (cryptography's Rust extension), boot-tests the native image
(scripts/smoke-buildah.sh: imports Corn and builds the HTTP app) and reads the pushed
index back. The existing immutable-version reuse, provenance verification, Forgejo
release and channel promotion steps are unchanged. - Cross-architecture image without emulation (
Dockerfile): dependencies are
resolved on the build platform as prebuilt wheels for the target architecture, so the
final stage has noRUNstep. Same base (python:3.12-slim), samecorn server
command, same port and data path. OCIsource/version/revisionlabels now come
from the Dockerfile.
No application, API, Compose or database changes beyond dev.26. Upgrade:
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornTo use linked MCP servers, follow the dev.26 notes (Coder OAuth app with callback
https://<corn-host>/auth/upstream/coder/callback, thenCORN_UPSTREAM_MCP_SERVERS).Source commit
6845489fee8e36e8469aa0c89f8d172561a15406.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Rootless, daemonless publish (
-
v0.1.0-dev.26
Pre-releaseAll checks were successfulreleased this
2026-11-20 13:58:56 +00:00 | 149 commits to main since this releasev0.1.0-dev.26 — Per-user OAuth for upstream MCP servers (pre-release)
Corn can now proxy any OAuth-protected MCP server, with every call made as the
signed-in user's own upstream account. Coder is the first server wired in; any
other OAuth MCP server is configuration only.- Linked accounts (
src/corn/upstream_mcp.py, Connections page): users click
Connect to run an OAuth 2.1 authorization-code + PKCE (S256) flow against the
upstream server. The callback is bound to the initiating browser (HttpOnly cookie)
and Corn user, single use and expires after 10 minutes. Disconnect revokes
upstream (RFC 7009, best effort) and deletes the grant. - Encrypted grants: new
mcp_oauthcredential bundle in the existing
AES-256-GCM connections table (providermcp_oauth, one namespace per server).
Tokens are never rendered, logged or returned by the API. Access tokens refresh
automatically 60s before expiry with rotation; a rejected refresh removes the
grant and asks the user to reconnect. - Per-user proxying: each configured server is mounted with FastMCP's
ProxyProvider, one per user, attaching only that user's token. Corn's own
bearer token is never forwarded upstream. Users without a link see none of the
server's tools; a cached tool can never run under another user's grant. An
unreachable or revoked upstream hides its tools instead of failing Corn's
listing. - Configuration:
CORN_UPSTREAM_MCP_SERVERS(JSON, validated at startup:
HTTPS endpoints, known keys only, issuer or explicit endpoints). See
deploy/README.md→ Linked MCP servers.
No database migration (reuses
connectionsandweb_oauth_transactions). No
change to existing tools, REST routes or authentication.Upgrade
- On the upstream server, register an OAuth client with redirect URI
https://<corn-host>/auth/upstream/<name>/callback(for Coder:
https://<corn-host>/auth/upstream/coder/callback). - Add
CORN_UPSTREAM_MCP_SERVERStocompose.local.yaml, then:
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn- In Corn, open Connections → Linked accounts → Connect. In Open WebUI,
refresh the Corn MCP connection to load the new tools.
Source commit
aaef8b46f85950affe844e68df967cbfa2688b99.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Linked accounts (
-
v0.1.0-dev.25 Pre-release
released this
2026-11-16 02:16:12 +00:00 | 165 commits to main since this releasev0.1.0-dev.25 — Deterministic browser place picker & release artifact integrity (pre-release)
Fixes intermittent browser CI failures (
TimeoutErrorwaiting forParramatta Station · stop
options) and hardens release image reuse/verification across CI andCorn Release.- Place picker pre-hydration fix (
src/corn/web/static/app.js): Wait untilpicker.dataset.ready
is set after all listeners are bound, and replaylookup()if the user typed before
the deferred script arrived or edited a restored value. Also clears stale hidden tokens
before re-running lookup rather than submitting stale selections. - Deterministic browser tests (
tests/browser_web.py,tests/browser_picker.py,
tests/browser_support.py): Wait for[data-picker][data-ready="1"]before filling
enhanced fields; exercise delayed-script input across stop/origin/destination, restored
selections, stale out-of-order responses, Escape dismissal and 503 error reporting.
Capture allowlisted state-only diagnostics on failure (no DOM, cookies or tokens) and
retain them as workflow artifacts in bothci.ymlandrelease.yml. Pin Playwright to
1.65.0inpyproject.toml. - Immutable release image checks & multiarch promotion (
scripts/release_image.py,
scripts/image_channels.py,.gitea/workflows/release.yml):release_image.py prepareinspects any pre-existing full-version image before building,
reusing it (build=false) only if bothlinux/amd64andlinux/arm64platform
manifests/configs and OCIsource/revision/versionlabels match exact provenance;
otherwise fails closed without overwriting.release_image.py verifyvalidates the exact built or reused digest before Gitea release
or channel promotion.image_channels.pyvalidates the chosen candidate manifest index forlinux/amd64and
linux/arm64before taking the already-current shortcut.
- Tests (
tests/test_release_pipeline.py,tests/test_release_image.py,
tests/test_image_channels.py): Remove hardcoded0.1.0-dev.24from
test_validate_emits_metadata_only_after_guardsand add coverage for version mismatches,
immutable image reuse, label/platform/digest failures and manifest validation.
No API, OpenAPI, authentication, Compose or database changes. Update when ready:
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Place picker pre-hydration fix (
-
v0.1.0-dev.24 Pre-release
released this
2026-11-12 03:29:13 +00:00 | 173 commits to main since this releasev0.1.0-dev.24 — Runtime OpenAPI and generated MCP inputs (pre-release)
One typed Python operation registry now supplies FastAPI REST input validation,
runtime OpenAPI 3.1, and overlapping MCP tool schemas/execution. Removed the manual
OpenAPI YAML and duplicate MCP parameter wrappers. Existing Request handlers and
shared services remain responsible for provider behavior and response payloads.- All 24 REST operation IDs, public paths and 22 native MCP tool names preserved.
- Explicit aliases retain calendar timezone_name/tz, history array/CSV IDs,
separate fuel search/nearby/raw tools, shopping vendor default and transit subset. - Both /api/openapi.json and /api/openapi.yaml serve the same cached runtime shape.
- Generated MCP calls use isolated per-call ASGI clients, never public loopback or
a global internal key. The actual caller's Bearer token is reverified each call. - Real native StreamableHTTP tests cover concurrent users, same-session revocation
and disabled users, legacy mappings, stock body and history array conversion. - Existing full HTTP key lifecycle, invalid/expired keys, CORS and browser tests pass.
- Console/session/API-key management stays excluded from discovery. Existing CORS
origin allowlist, X-Session-Id allowance and no-cross-origin-cookie policy retained.
Compatibility: documented ranges/enums are now enforced consistently; malformed typed
inputs return generic 400. Generated MCP transport failures are tool errors rather
than successful error-shaped objects. Unknown provider response bodies remain loose
JSON; exhaustive output model generation is intentionally not part of this release.
Health/whoami and composite fuel history/import remain MCP-only, not invented REST APIs.Update the existing image as usual (no variables, keys, volumes or DB migration):
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornRefresh/Verify the Open WebUI connection after deploying to clear cached tool shapes.
290 tests plus browser smoke pass. The release pipeline verifies AMD64/ARM64 startup
and the multi-platform image before advancing :dev. Never use down -v.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.0-dev.23 Pre-release
released this
2026-11-12 02:27:25 +00:00 | 174 commits to main since this releasev0.1.0-dev.23 — Fix REST Bearer verification with MultiAuth (pre-release)
Fixes authenticated OpenAPI calls returning HTTP 500 after successful CORS preflight:
AttributeError: 'MultiAuth' object has no attribute 'load_access_token'.The REST adapter called a provider-specific method instead of the common FastMCP
AuthProvider interface. It now callsverify_token, which supports MultiAuth's
OIDC/direct JWT/API-key verifier chain. MCP transport already uses that interface.New full-app tests use actual MultiAuth and real synthetic minted keys, without
mocking the REST authentication helpers:- Shopping vendors, pricing categories and notification status return 200 with a
valid Corn Bearer key and browser Origin/X-Session-Id headers. - Invalid, revoked, expired keys and disabled users return 401 rather than 500.
- Separate users resolve to their own identities, and API keys cannot mint keys (403).
- A second verifier's direct token remains accepted alongside Corn API keys.
- Existing browser console and MCP discovery regression tests remain in place.
No API key rotation, OIDC reconfiguration, schema migration or CORS change required.
Keep the configured allowed origin and mounted data/secret key unchanged. Update:docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn287 regression tests plus browser smoke pass. Release builds verify both AMD64 and
ARM64 application initialization and published image manifests before channel promotion.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Shopping vendors, pricing categories and notification status return 200 with a
-
v0.1.0-dev.22 Pre-release
released this
2026-11-12 01:02:16 +00:00 | 175 commits to main since this releasev0.1.0-dev.22 — Allow Open WebUI tool-call session header (pre-release)
Fixes actual browser tool calls returning OPTIONS 400 (Disallowed CORS headers)
after schema verification succeeds. Open WebUI adds X-Session-Id on tool calls;
dev.21 did not allow that header.- Add X-Session-Id to the explicit REST CORS header allowlist.
- This header is client metadata only, never authentication or tenant selection.
- Preserve exact origins, Bearer authentication, no credentialed cross-origin cookies,
and console/API-key lifecycle exclusions. No schema or settings migration. - Regression preflights include authorization,content-type,x-session-id for schema,
notifications/status, shopping/vendors and mutation APIs. - Browser smoke sends the session header on real cross-origin requests and checks
readable errors plus rejection of unapproved origins.
278 regression tests and browser smoke pass. AMD64 and ARM64 application startup
and the published multi-platform index are verified by the Corn Release pipeline.Deploy
Keep the existing CORN_ALLOWED_ORIGINS: "https://ai.yawn.dev" in private Compose.
After this release publishes, update using:docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn curl -i -X OPTIONS 'https://corn.yawn.dev/api/v1/notifications/status' \ -H 'Origin: https://ai.yawn.dev' \ -H 'Access-Control-Request-Method: GET' \ -H 'Access-Control-Request-Headers: authorization,content-type,x-session-id'Expect HTTP 200 and X-Session-Id in Access-Control-Allow-Headers. Refresh Open WebUI
and retry tools. No environment changes, local build or source pull required.
Preserve the existing secret key, project name and mounted data. Never down -v.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.0-dev.21 Pre-release
released this
2026-11-11 23:39:19 +00:00 | 176 commits to main since this releasev0.1.0-dev.21 — Configurable REST CORS for browser tools (pre-release)
Fixes Open WebUI personal/direct connections failing on OPTIONS preflight while
server-side schema GETs work. The browser origin must be explicitly configured.- New
CORN_ALLOWED_ORIGINSenvironment variable: comma-separated exact HTTP(S)
origins, default empty (REST CORS disabled). Reject wildcard/null/path/query/userinfo
values; normalize host case, default ports and trailing root slash. Maximum 32 origins. - Scope CORS to JSON/YAML discovery and
/api/v1/tool APIs, excluding API-key
lifecycle and console session routes. UI/login and existing MCP handling unchanged. - Allow Authorization/Content-Type and GET/HEAD/POST/PUT/DELETE/OPTIONS; no wildcard
origin, cross-origin credentialed cookies or X-Corn-Console header allowance. - Wrap the complete application at the API boundary, including 401 and unhandled
500 responses, so real errors remain readable instead of browser network errors. - Production Compose example includes an empty inline setting. Development
.env
example documents it. Existing private Compose files are not overwritten.
Existing Compose update
Add this to your existing
x-corn-environment: &corn-environmentmapping, or directly
inside the existingservices.corn.environmentmapping if not using the anchor:CORN_ALLOWED_ORIGINS: "https://ai.yawn.dev"Keep all other environment, keys, project name and data mounts. Then:
docker compose -f compose.local.yaml config --quiet docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn curl -i -X OPTIONS 'https://corn.yawn.dev/api/openapi.json' \ -H 'Origin: https://ai.yawn.dev' \ -H 'Access-Control-Request-Method: GET' \ -H 'Access-Control-Request-Headers: authorization,content-type'Expect HTTP 200 and
Access-Control-Allow-Origin: https://ai.yawn.dev. Use the WebUI
origin, not Corn's URL or a path. Multiple origins may be comma-separated. Recreate
the container after editing (restart alone does not update environment).
Refresh/Verify the Open WebUI connection with a fresh Corn Bearer key; revoke any
key exposed in a screenshot. No database migration. Neverdown -v.Verification
275 pytest tests pass, covering configuration rejection/normalization, allowed and
denied preflights, actual schema/API responses, authentication preservation, 500
responses, disabled defaults and private-route exclusions. Browser smoke now performs
real cross-origin preflight+fetches (localhost versus 127.0.0.1), checks readable 401
and browser blocking of unapproved origins, plus existing mobile/no-JS console flows.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- New
-
v0.1.0-dev.20 Pre-release
released this
2026-11-11 15:05:32 +00:00 | 177 commits to main since this releasev0.1.0-dev.20 — OpenAPI tool discovery and contract checks (pre-release)
Open WebUI
- All 24 documented REST operations now have explicit unique operation IDs. The
seven existing IDs are preserved. Previously 11 of 18 operations lacked IDs. - Document previously omitted calendar status, transit departures/alerts/realtime,
and legacy whole-provider connection operations. Key lifecycle and browser session
APIs are explicitly excluded from model-tool discovery and checked as exclusions. - Add
/api/openapi.json; retain/api/openapi.yaml. Both use one reviewed YAML
source, generated serialization and runtime package version. - Expand local parameter references when serving both formats: current Open WebUI
skips parameter$refs, which otherwise loses provider/namespace path arguments. - Remove duplicate security alternatives. Document Bearer Corn API keys or OIDC
tokens, and browser cookie plus X-Corn-Console header as a separate AND alternative. - Fix shopping postcode schemas to accept suburb/town names as well as postcodes.
- Correct SMTP status description (configuration-only, no send), add missing request
parameters for newly documented operations and warn about credential-management
operations. No existing endpoint/authentication/MCP behaviour is removed.
Maintainability and checks
Request-based REST handlers cannot infer correct parameter schemas automatically.
Rather than invent types or rewrite routing, keep one manual contract with automated
validation and route-parity checks. New APIs must be documented or explicitly marked
private; missing/duplicate operation IDs fail CI and release tests.241 tests and browser smoke pass. Contract tests validate OpenAPI 3.0.3, unique IDs,
actual-route coverage, inline required path arguments, shopping POST body/path
separation, bearer/cookie security, JSON/YAML equality, all 24 operations refusing
anonymous requests, and retained MCP discovery. Also ran the current upstream Open
WebUI conversion functions against the served document: all 24 tools are discovered,
including required provider/namespace/vendor and JSON body arguments. This is not an
end-to-end test against your deployed Open WebUI instance/version.Connect after updating
Base URL
https://<corn-host>, schema path/api/openapi.json, auth Bearer with a
Corn API key from the console. YAML is still supported. Click Verify/refresh in Open
WebUI to replace cached discovery. Native MCP remains at/mcp; use one connection
per model to avoid duplicate tools. Restrict shared keys to trusted users, and disable
connection write/delete tools unless intentionally needed. No MCPO proxy is required.docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornNo database, secret-key, identity or volume migration. Never
down -v.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- All 24 documented REST operations now have explicit unique operation IDs. The
-
v0.1.0-dev.19 Pre-release
released this
2026-11-11 14:14:23 +00:00 | 178 commits to main since this releasev0.1.0-dev.19 — One release pipeline and simpler pickup results (pre-release)
One Corn Release run
release.ymlis now a single manually triggered workflow with one job and named
steps: validate version and checked-out commit → regression tests → browser tests
→ build and boot-test AMD64/ARM64 → verify published platform index → publish
Gitea release → advance channel and verify digest. No workflow-to-workflow dispatch.- Removed the standalone release-creation and channel-promotion workflows.
- Workflow-level serialization retains the existing channel concurrency group.
- Version input must match pyproject.toml and corn.version. The actual resolved
Git SHA is used for the release tag, never a branch that may have moved. - Preflight rejects conflicting existing tags/releases; retries for the same commit
and flags are idempotent. Release notes come from this file. - Gitea release creation happens after image verification, so a failed build no
longer publishes a release first. Channel promotion stays last and failures are
visible in the same run. Only dev/preview/rc/latest remain allowlisted. - PR/main Corn CI stays separate with no publishing secrets. Default prerelease
remains true; stable releases require explicit approval. - The underlying image_channels.py CLI remains for exceptional recovery, not a
separate workflow. Do not run it concurrently with a release.
Pickup results
Successful Apple iPhone/iPad pickup checks now have two stock outcomes:
In stock with positive exact-SKU evidence, otherwise Out of stock — check
vendor. Missing stores/parts, recommendation-only payloads and unknown pickup
flags default to out of stock. No intermediate missing-inventory badge or warning.
Same-batch positive evidence for the exact SKU still upgrades a result to in stock;
a different variant never does. API documentation and UI copy follow the same rule.Actual network/application errors, rate limits and rejected postcodes remain check
errors, not stock conclusions. Not-yet-checked/configuration-required variants and
models that only link to Apple's own pickup checker retain their existing handling.Verification and update
232 regression tests plus the browser smoke pass (including mobile and no-JS).
New tests cover empty/missing inventory, nonpositive pickup details, exact-commit
release retries/conflicts and full pipeline order. Both image platforms are boot
checked during build, with the published index verified before release creation.No database, credential or volume migration. Update with:
docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps cornKeep the existing secret key and mounted data. Never
down -v.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.1.0-dev.18 Pre-release
released this
2026-11-11 13:35:24 +00:00 | 179 commits to main since this releaseRelease v0.1.0-dev.18
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)