Repository navigation
fix(langchain): support core 1.x and preserve callback lifecycle - #383
Merged
Merged
Conversation
Retain legacy configure and transitional BaseTracer support, route ESM declarations correctly, and require callback draining before shutdown. Test packed runtime and type contracts across the declared floor and current cores. Co-Authored-By: Claude Code <noreply@anthropic.com>
Install the compatible OpenAI adapter and direct imports, document the provider key and ESM TypeScript runner, and enforce the exact packed README from an empty consumer in CI. Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Nov 1, 2026
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
Repair the maintained
@traceai/langchainintegration for current LangChain and LangGraph applications without adding a second tracer or changing its public entry points..mtsfile with an installed TypeScript runner.The integration retains its existing callback-manager injection design, consistent with the maintained Arize LangChain JS approach. No vendor implementation was copied.
Validation
ERR_MODULE_NOT_FOUNDin a README-only consumer; the corrected setup installs and runs without hidden dependencies or peer bypasses.Release and review
The package README ships with the repaired npm release. The LangGraph TypeScript docs-site page remains held until that compatible package is published; this PR does not direct existing customers to an unreleased docs route. No manual version or CHANGELOG edits, runtime dependency additions, merge, tag or registry publication.
The onboarding follow-up changes only documentation, its regression contract and scoped CI; the reviewed runtime repair is unchanged. Self-reviewed for minimal scope, direct dependency completeness, executable setup, lifecycle ordering and fail-before/pass-after coverage. Independent human review remains required.
🤖 Generated with Claude Code