Repository navigation
3ngram 1.6.3
3ngram v1.6.3
Patch: native MCP clients such as Claude Code can authorize again, and the
mail transport moves off a nodemailer release with a high-severity advisory.
v1.6.2 was tagged but never published: the release image scan rejected
nodemailer@9.0.1, so that version number is burned and this release carries
its content. @3ngram/core 0.11.2, @3ngram/schema 0.9.1 and @3ngram/db
0.10.2 reach npm for the first time here.
Changes
-
Loopback redirect URIs match on any port (#208). Claude Code registers
through a Client ID Metadata Document whoseredirect_urisare
http://localhost/callbackandhttp://127.0.0.1/callbackwith no port,
then presentsredirect_uri=http://localhost:<ephemeral port>/callback,
because a native client cannot know its loopback port before it binds one.
/oauth/authorizematched redirect URIs byte-exactly, so every such login
ended in400 invalid_clientwithreason=redirect_uri_mismatch. A
presented URI now also matches when a registered URI ishttpon the same
loopback host (localhost,127.0.0.1,[::1], never cross-matched) with
an identical path and query; only the port may differ, on either side. The
requested URI, port included, is what the 302 targets, what the
authorization code is bound to, and what/oauth/tokencompares against.
httpsURIs, non-loopbackhttp, and any path or query difference stay
byte-exact. -
http://[::1]is a registrable loopback redirect.redirectUriSchema
admitted plainhttponly forlocalhostand127.0.0.1; the IPv6
loopback literal now joins them for DCR and CIMD alike. The hostname check
runs against the parser-canonicalised host, so every spelling of::1is
accepted and no other address is. -
Redirect URIs must use RFC 3986 characters. Registration rejects a
redirect URI carrying a character the URI grammar never allows unencoded
(a backslash above all, which the WHATWG parser reads as/). The rule is
defined once in@3ngram/schemaashasForbiddenUriCharacterand reused by
the loopback matcher, so a registration predating this release that carries
such a character keeps byte-exact matching and gains no port relaxation. -
nodemailer 9.0.1 → 9.1.1 (#211). Clears GHSA-2x7j-588g-ccc2 (high,
quadratic address-list parsing enabling remote denial of service) and three
medium advisories on recipient-domain validation andresolveContent()
access controls.
No migrations. Schema head stays at 0036_triage_armed_at. Both triage
mechanisms (SESSION_CLOSER_ENABLED, THREENGRAM_STOP_NUDGE) remain
default-off pending the #166 validation bar.
Immutable container reference
ghcr.io/b3dmar/3ngram@sha256:5ce08de614f89468af1de22e2b4a12b86b51f0fc8003093486cacf2cab06acfd