Files
deepseek-harness/packages/typert
_Kerman 02b889bff6 Merge remote-tracking branch 'origin/master' into xtr/explicit-agent-context
# Conflicts:
#	docs/module-graph.i18n.yaml
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/subsystems/core.i18n.yaml
#	docs/subsystems/core.md
#	docs/subsystems/core.zh.md
#	packages/api/remotes/package.json
#	packages/core/agent-loop/README.i18n.yaml
#	packages/core/agent-loop/README.md
#	packages/core/agent-loop/README.zh.md
#	packages/core/agent-loop/src/index.ts
#	packages/core/agent-loop/tests/resume.spec.ts
#	packages/subagent/subagent/src/continuation.ts
#	packages/subagent/tool-subagent/src/index.ts
#	packages/subagent/tool-subagent/src/model-selection-settings.ts
#	packages/typert/protocol/README.i18n.yaml
#	packages/typert/protocol/README.md
#	packages/typert/protocol/README.zh.md
2026-09-02 13:39:30 +08:00
..
2026-09-01 23:19:57 +08:00
2026-09-01 23:19:57 +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.