Allow the @intx 0.3.0 line - #8
Merged
Merged
Conversation
The peer ranges pinned ^0.2.2, so a host on the current Interchange line cannot satisfy them without a package-manager override. Every symbol this package imports from @intX is unchanged in 0.3.0: @intx/hub-api idResource, RequireGrant, TenantEnv, createRequireGrant @intx/authz createInMemoryGrantStore (tests) @intx/types isAllowedMimeType dist/middleware/grant.d.ts is byte-identical between 0.2.2 and 0.3.0, TenantEnv is unchanged, and @intx/authz's index only gains exports — authorizeAction, toolConsumer, EvalOptions — none removed. ATTACHMENT_ALLOWLIST still carries the same 22 media types, so the type isAllowedMimeType narrows to is the same. Verified on 0.3.0: tsc --noEmit clean, dep-guard clean. The Postgres-backed suite is unchanged — 17 pass / 41 fail both before and after, the failures being the harness refusing to run without a live allowlisted database.
TheGreatAxios
force-pushed
the
bump-intx-types-0.3.0
branch
from
September 8, 2026 17:35
078d8cc to
15afed3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Widens the
@intxpeer ranges from^0.2.2to^0.3.0(@intx/types,@intx/hub-api), and bumps the dev dependencies to match (adding@intx/authz).Rebased onto main after #5 and #7, which introduced the
@intx/hub-apiand@intx/authzdependencies.Why
A host on the current Interchange line cannot satisfy
^0.2.2and has to carry a package-manager override to install this package at all. That override is invisible at review time and easy to get wrong, so it is better fixed here.Why it is safe
Every symbol this package imports from
@intxis unchanged in 0.3.0:@intx/hub-apiidResource,RequireGrant,TenantEnv,createRequireGrant@intx/authzcreateInMemoryGrantStore(tests only)@intx/typesisAllowedMimeTypedist/middleware/grant.d.tsis byte-identical between 0.2.2 and 0.3.0 — that file isidResource,RequireGrantandcreateRequireGrant.TenantEnvis unchanged.@intx/authz's index only gains exports in 0.3.0 (authorizeAction,AuthorizeDecision,toolConsumer,EvalOptions); nothing is removed.ATTACHMENT_ALLOWLISTstill carries the same 22 media types, so the typeisAllowedMimeTypenarrows to is the same.Verification
On the 0.3.0 line:
bun run typecheck(tsc --noEmit) — cleanbun run pretest(dep-guard) — cleanbun test src/content-store.test.ts src/web-site.test.ts src/migrations.test.ts— 17 pass / 41 fail, which is identical to main unmodified. The failures are the test harness refusing to run without a live allowlisted Postgres, not a regression. The full Postgres-backed suite was not run here; nothing in this change touches a query path.Context
Found while mounting an Interchange hub alongside
@corbits/artifactson a shared database. The package works fine on 0.3.0 — the ranges were the only thing in the way.