Files
deepseek-harness/packages/typert
imccyu c38a9e6111 fix(typert): classify build-output guard paths by native real path
The analyzer normalizes its root with fs.realpathSync, which keeps a
Windows 8.3 short name such as RUNNER~1 in the runner's TEMP, while
TypeScript reports module-resolution results through
fs.realpathSync.native, which expands it. The guard compared the two
spellings, found the resolved lib/ declaration outside the workspace,
and let a missing alias through on Windows. It now canonicalizes the
root and every file with realpathSync.native and reports paths spelled
under the caller's root; the guard specs also run with the workspace
root spelled through a directory link.

Refs #5852
2026-10-12 11:06:56 +08:00
..
2026-10-09 15:13:40 +08:00

description, kind
description kind
The Typert group map: the build-time type-graph generator, runtime registry, Loader integration, and shared Remote protocol that enable typed Host-to-Client calls. package-group

packages/typert

English | 中文

Summary

With the Typert group, Client environments can call Host capabilities as typed methods and share generated schemas and reflection without hand-written wire code. A build-time generator turns source type declarations into compiler-independent models and runtime artifacts, a runtime registry stores those artifacts, and a Loader integration registers them automatically in Loader compositions. A shared protocol package supplies the Remote-call declarations — decorators, wire descriptors, codecs, and provider contracts — that business packages, generated artifacts, the Host Gateway, and the Client API all consume. This page maps the four packages; each package README owns its configuration, usage, and limits.

Table of Contents


Packages

Package Role ctx key
generator/ Analyzes source types at build time and generates the reflection, schemas, and Remote descriptors that runtimes load —
loader/ Auto-registers generated Typert artifacts from Loader compositions into the runtime registry consumes ctx.loader and ctx.typert
protocol/ Declares the Remote decorators, wire descriptors, codecs, and provider contracts shared by Host and Client —
registry/ Stores generated package reflection and live Zod schemas at runtime, plus lookup and Context provider registries ctx.typert


Dev Note

Working context for maintainers — click to expand

None.