fix: drop the agents re-exports that agents 6 removed - #51
Open
lloyal-research wants to merge 1 commit into
Open
lloyal-research wants to merge 1 commit into
lloyal-research wants to merge 1 commit into
Conversation
`diverge`, `DivergeOptions`, `DivergeAttempt` and `DivergeResult` left @lloyal-labs/lloyal-agents with the scheduler rewrite (355c67a, 2026-09-05); the binding still re-exported them, so its declarations fail against agents 6 and the value is `undefined` at runtime (release review 2026-09-12, R5). No shim: the names go, and the README's list with them. Every other name in the two re-export blocks exists in sdk 4 and agents 6.
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.
Goal
Close R5 of the 2026-09-12 production release review: the binding's public declarations do not compile against agents 6.
What
src/index.tsre-exporteddiverge,DivergeOptions,DivergeAttemptandDivergeResultfrom@lloyal-labs/lloyal-agents. Agents removed them in the scheduler rewrite (355c67a, 2026-09-05), after6.0.0-alpha.4was published, which is why this repository'sbuild:ts(against devDependency^3.0.0) and the published alpha both still compile. Against agents 6 a strict consumer gets four TS2305 errors, anddivergeisundefinedat runtime.The four names go, and the README's list with them. No compatibility shim. Every other name in the two re-export blocks was checked against sdk 4 and agents 6 and exists.
Verification
npm run build:tspasses;dist/index.d.tsno longer mentionsdiverge.Deferred to the production release
Bumping the dev peers to the stable agents and sdk (published alpha.4 still carries
diverge, so a bump to it gates nothing), the strict packed-consumer check withskipLibCheck: false, and the decision on the advertised>=3.0.0peer arm.