Follow-ups from the bundler/CI speed work, re-validated against latest
main. The typescript package is gone from the toolchain:
- pnpm typecheck stays on tsgo; the typecheck:tsc escape hatch is
removed along with the typescript devDependency.
- args.test.ts extracted cli.ts dispatch literals through the
TypeScript compiler API - the only remaining consumer. It now walks
the same AST via oxc-parser (matching the OXC lint/format/build
stack); both implementations extract an identical 14-literal set
from cli.ts, verified side by side before the swap. The
substitution-free template case ts.isStringLiteralLike covered is
preserved.
- dts bundling is unaffected: the tsdown build uses the tsgo backend
and builds green with no typescript package installed.
Test fixes for containerized agent environments:
- The missing-binary doctor-guidance web provider test pins Node 24
via the file's existing withNodeRuntimeVersion helper, so it asserts
the setup hint instead of inheriting the host Node and failing on
Node 22 (the supported engines floor).
- The clean-xcuitest cleanup-failure smoke test skips as root: chmod
0o500 cannot force a removal failure when the process bypasses
directory permissions.
AGENTS.md toolchain notes updated to match.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FqeW8sA2ZnvnftdvpCqFMS
Summary
Second-order follow-ups from the tsdown migration (#1087) and CI speedups (#1094): the
typescriptpackage is now gone from the toolchain, and the two tests that false-fail in containerized agent environments are fixed.tsgo everywhere, no tsc:
pnpm typecheckstays on tsgo (5.3s vs 21.7s for tsc); thetypecheck:tscescape hatch and thetypescriptdevDependency are removed.args.test.ts, which walkscli.tsto guard dispatch literals. It now usesoxc-parser(same OXC family as oxlint/oxfmt/Rolldown). Before swapping, both implementations were run side by side overcli.ts: identical 14-literal sets. The substitution-free-template casets.isStringLiteralLikecovered is preserved.typescriptinstalled.Sandbox-hostile test fixes (both burned cycles as false failures during the #1087 work):
withNodeRuntimeVersionhelper instead of inheriting the host Node — it failed on Node 22, which is the supported engines floor.chmod 0o500cannot force a removal failure when the process bypasses directory permissions, the norm in agent containers runningcheck:unit.AGENTS.md toolchain notes updated to match. Deliberately dropped after review feedback: the Node compile-cache change (measured −6 ms on
--help, judged not worth it).Touched files: 6 (
package.json,pnpm-lock.yaml,AGENTS.md,args.test.ts,agent-browser-provider.test.ts,smoke-clean-xcuitest-derived.test.ts).Validation
Full
check:tooling(lint, tsgo typecheck, layering, mcp-metadata, tsdown build incl. dts) green with thetypescriptpackage absent.check:unit: 341 files / 3211 tests passing plus smoke 13/13 — in a root + Node 22 container where both fixed tests previously failed, so the fixes are exercised in exactly the environment they target. Fallow audit vsorigin/mainclean. The oxc-parser port was equivalence-checked against the old TypeScript-API implementation before removal (identical extracted sets).🤖 Generated with Claude Code
https://claude.ai/code/session_01FqeW8sA2ZnvnftdvpCqFMS
Generated by Claude Code