deps: TypeScript 6.0 for the server, the SDK and the LangChain handler - #830
Merged
Merged
Conversation
The CommonJS builds of the SDK and the LangChain handler resolve modules with Bundler instead of Node10, which TypeScript 6 deprecates and TypeScript 7 removes. The CommonJS they emit is byte for byte the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Iris gate — 1 of 2 tripped
|
| Trace | Verdict | Basis | Rules, classes or missing inputs | Evidence |
|---|---|---|---|---|
debdcfa0b4a65fddf570d5b39d80fbd5 |
failed | detector_veto + risk_over_loss |
no_pii, pii_leak, credential_leak | no_pii: AWS Access Key (output 45–65) |
| Verdict basis | Traces |
|---|---|
detector_veto |
2 |
clean |
1 |
Unjudged questions: task_completed (3), tool_use_correct (3) — a trace that did not carry what a rule needs.
tests/fixtures/ci-gate/traces.ndjson · 3 evaluated · dataset release-gate: 2 in the gate · exit 1 · what the bases mean
Iris gate — 1 stored, nothing tripped
|
| Verdict basis | Traces |
|---|---|
clean |
1 |
Unjudged questions: task_completed (1), tool_use_correct (1) — a trace that did not carry what a rule needs.
tests/fixtures/ci-gate/clean.ndjson · 1 evaluated · exit 0 · what the bases mean
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 this changes
TypeScript 6.0.3 for the server, the SDK and the LangChain handler, in one change. The dashboard and the website are already on TypeScript 6.
typescript5.9.3 → 6.0.3packages/sdk/typescript5.9.3 → 6.0.3packages/langchain/typescript5.9.3 → 6.0.3Closes #58. The root's lint,
typescript-eslint8.71, now admits TypeScript>=4.8.4 <6.1.0, so 6.0 is in range..github/dependabot.ymlkeeps the root below 6.1 until it admits more.TypeScript 6 deprecates
moduleResolution: "Node10", and TypeScript 7 removes it. The CommonJS builds of the SDK and the LangChain handler used it, so they now use"Bundler". The ES module builds already usedNodeNextand are unchanged.Each lockfile was regenerated on Linux (
node:24,--package-lock-only). TypeScript is a build-time dependency only, so nothing a user installs changes.Checks
What ships is unchanged. Every package was built twice, with TypeScript 5.9.3 from
mainand with 6.0.3 from this branch, and the outputs compared file by file. The JavaScript and the type declarations are identical byte for byte:tsc -p tsconfig.build.json)The tests pass on TypeScript 6. Every check below ran in a worktree with these lockfiles freshly installed:
claims:generatereports no change.lint,typecheck,typecheck:tests,proof:typecheckandproof:judge:typecheckpass.proof --checkwith--invariantsand with--transcripts.importandrequire.🤖 Generated with Claude Code