Skip to content

fix: drop the agents re-exports that agents 6 removed - #51

Open
lloyal-research wants to merge 1 commit into
feat/mtmdfrom
fix/stale-agent-exports
Open

lloyal-research wants to merge 1 commit into
feat/mtmdfrom
fix/stale-agent-exports

Conversation

@lloyal-research

Copy link
Copy Markdown
Contributor

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.ts re-exported diverge, DivergeOptions, DivergeAttempt and DivergeResult from @lloyal-labs/lloyal-agents. Agents removed them in the scheduler rewrite (355c67a, 2026-09-05), after 6.0.0-alpha.4 was published, which is why this repository's build:ts (against devDependency ^3.0.0) and the published alpha both still compile. Against agents 6 a strict consumer gets four TS2305 errors, and diverge is undefined at 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:ts passes; dist/index.d.ts no longer mentions diverge.

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 with skipLibCheck: false, and the decision on the advertised >=3.0.0 peer arm.

`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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant