TAU/ DOCS

Kernel Plugins

First-party kernel toolkits and role factories.

Each kernel package exports a toolkit factory, its plugin alias for mechanical loading, and a role factory.

Types

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Packages

PackageKernel IDExtensionsRole factory
@taucad/replicadreplicadts, jsreplicadKernel
@taucad/opencascadeopencascadets, jsopencascadeKernel
@taucad/manifoldmanifoldts, jsmanifoldKernel
@taucad/jscadjscadts, jsjscadKernel
@taucad/openrscadopenrscadscadopenrscadKernel
@taucad/zoozookclzooKernel
@taucad/gltfgltfglb, gltfgltfKernel
@taucad/brepbrepstep, stp, iges, igs, brepbrepKernel
@taucad/rhinorhino3dmrhinoKernel
@taucad/assimpassimpExplicit mesh/scene formatsassimpKernel
@taucad/opencascade-nativeopencascade-nativets, jsopencascadeNativeKernel
@taucad/build123dbuild123dpybuild123dKernel
@taucad/picogkpicogkcspicogkKernel
@taucad/picovoxelpicovoxelts, jspicovoxelKernel
@taucad/tscircuittscircuittsx, jsxtscircuitKernel

No first-party kernel uses '*'.

@taucad/opencascade-native targets Node hosts. @taucad/openrscad needs no twin: its engine binds the N-API addon or WebAssembly build by export condition, and backend says which. Build123d additionally requires an explicit packaged interpreter/resource manifest and a host-owned project trust marker; it never falls back to system Python. tscircuit offers separate board, schematic, and PCB views; see tscircuit.

Toolkit composition

import { defineRuntime } from '@taucad/runtime/worker';
import { esbuild } from '@taucad/esbuild';
import { replicad } from '@taucad/replicad';

export const runtime = defineRuntime({ plugins: [esbuild(), replicad()] });

Configured composition

Configure packaged kernels through their toolkits; use direct buckets for app-local capabilities, isolated tests, or whole-role ordering:

import { defineRuntime } from '@taucad/runtime/worker';
import { esbuild } from '@taucad/esbuild';
import { replicad } from '@taucad/replicad';

export const runtime = defineRuntime({
  plugins: [esbuild(), replicad({ kernels: { default: { wasm: 'auto' } } })],
});

Backends load in the selected kernel's initialize() and live in its context. Kernels declare keyed views and exports, and evaluate returns the IDs currently offered. render projects a selected view from the retained handle; export produces files for a selected export. Toolkit namespaces never rewrite flat capability IDs.

@taucad/runtime/kernel exports createKernelError for structured failures and createKernelSuccess for successes.

On this page