Skip to main content

dsh-typert-registry/packages/typert/registryOfficial

175.3kStars19.0kForks0Issues752Watchers

Runtime registry for generated package reflection and Zod schemas

Evidence3/5methodologySourceInstallMaintenanceDSH versionSecurity scan
Machine-auditedInstall commandRepo verifieddsh-plugin topicLicenseREADMEAI wiki

ⓘ This plugin is a sub-package of the deepseek-ai/deepseek-harness monorepo — stars and activity count the whole repository.

Language
TypeScript
License
MIT
Branch
master
ai-agentscordisdshdsh-plugin

Install

cmdweb profile
$ dsh plugin --profile web add npm:@deepseek-ai/dsh-typert-registry

Run the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial

Install via your agent

Install the DeepSeek Harness plugin deepseek-ai/deepseek-harness/packages/typert/registry for me: review the repository at https://github.com/deepseek-ai/deepseek-harness first, then run the install command and verify the plugin loads successfully.

Paste this instruction to the DSH Web GUI assistant — it will install and verify for you.

English | 中文

Runtime registry for generated Typert artifacts. A contribution carries one package face's business reflection and optional live Zod schemas; ctx.typert registers both atomically and withdraws them with the calling Cordis fiber. TypeScript analysis and code generation live in dsh-typert-generator.

Package reflection is keyed by <package>#<face>. Schemas are keyed by <package>#<name> and retain the producer's Zod instance. JSON Schema is computed on demand at the consumer edge.

Public API

  • TypertRegistry is the default plugin and provides ctx.typert.
  • ctx.typert.lookups.register() registers the wire declaration and default resolver owned by the business package; configure() registers a resolver owned by Host composition that may run asynchronously. Their lifetimes are independent: configuration may precede the provider, and unloading the configuration restores the default policy.
  • ctx.typert.contexts.registerHost() and configureHost() apply the same ownership split to scoped Context identity; registerClient() supplies the corresponding Client Context binder.
  • register(contribution) rejects malformed identities and duplicate package-face or schema keys before committing anything, then returns the exact Cordis effect disposer.
  • get(key), resolve(key), and list(filter?) query live schemas. resolve() distinguishes a malformed key, an absent package, and a package that contributes no schema under that name.
  • getPackage(packageName, face?) and listPackages(filter?) query generated service, event, and object reflection; the default face is host.
  • toJSONSchema(key, params?) projects a live schema with z.toJSONSchema() without caching the result.
  • typertKey() and typertPackageKey() compose the two stable identity forms.

The @deepseek-ai/dsh-typert-registry/types subpath contains the pure contribution and record contracts. dsh-typert-loader discovers and registers generated host artifacts in Loader compositions; direct ctx.typert.register() supports other composition owners.

Model Experience

None, as the registry contributes no prompt, tool, or session event; consumers such as cordis_inspect own any model-visible projection.

KV Cache effect

No direct effect. A consumer that places reflection in a request owns the resulting prefix change.

Known Limitations and Deferred Work

  • The registry stores generated reflection but does not merge host and client graphs or resolve TypeScript references. Those are analyzer and emitter concerns.
  • Schema keys omit the face because host and client run in separate contexts. Registering same-named schemas from both faces into one context is rejected as a duplicate.

Read the usage guide →

Install steps, key points, FAQ and compatibility for this plugin — auto-derived from indexed fields.

Listing badge

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/deepseek-ai/deepseek-harness/packages/typert/registry)

Paste this markdown into your GitHub README to link back to this listing. The badge only states the listing — not a security endorsement.

← Back to plugin directory