Internals #

The /internals entrypoint #

import { docPlexus } from "@here.build/plexus/internals";

The root export is what Plexus intends you to use. @here.build/plexus/internals is the same package with nothing withheld — every registry, protocol symbol, wire codec and tracking primitive the implementation runs on.

It exists because a library that hides the one handle you need leaves you forking it. Its contents are deliberately not listed here: being undocumented is what keeps reaching for it a deliberate act rather than a default.

The specifier is the marker. An import from /internals is an acknowledged violation of the package's own ontology, in the sense @ts-expect-error acknowledges a type violation — permitted, visible in the diff, and obliged to carry a reason at the call site. docPlexus.get(entity.__doc__) is legal precisely because a Y.Doc is ontologically prior to the models bound to it; the call site just has to say so. Do not wrap it in an accessor to make it comfortable — the friction is the feature.