Bridge @intx/types isAgentAddress -> isRunAddress rename (CL-6003) - #11
Merged
Conversation
Interchange renamed isAgentAddress to isRunAddress (INTR-358). Import the address check through a small compat module that prefers the new export and falls back to the old one, so this package works against both the pre-rename and post-rename @intx/types without a hard version bump or an external patch.
TheGreatAxios
added a commit
to corbitsdev/workbench
that referenced
this pull request
Aug 14, 2026
… (CL-6003) corbits-mailbox now carries its own isRunAddress/isAgentAddress compat shim (corbitsdev/corbits-mailbox#11), so the local bun patch bridging the INTR-358 rename is no longer needed.
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.
Summary
Interchange renamed
@intx/types'sisAgentAddresstoisRunAddress(INTR-358). Replaces the direct named import inrecipients.tswith a small compat module (src/intx-types-compat.ts) that prefersisRunAddressand falls back toisAgentAddress, so this package works against both the pre-rename (npm 0.2.2) and post-rename@intx/typeswithout a version bump.Ref: CL-6003
Test plan
bun test src(344 pass, 100% coverage on changed files) against live Postgresbun run typecheckclean afterbun run build+ forced reinstallbun test --cwd examples/reference-host(20 pass)isRunAddressonly,isAgentAddressonly, both present, neither present)