Expand description
Pinned JavaScript CAD packages on Boa, backed by exact kernel solids.
Trusted, explicitly provisioned packages. Saved pins never carry executable code.
A PackageBundle is validated and pinned by digest (PackageBundle::pin,
PluginPin). Runtime::new installs bundles and builds the Registry of
feature, action, workbench, panel, annotation and post descriptors;
Registry::for_document selects a document’s exact pins. The runtime is the
kernel’s extension provider: Runtime::execute_history and
Runtime::with_provider scope it around kernel calls, and
Runtime::execute_action, Runtime::execute_annotation and
execute_script run callbacks. See the README for the JavaScript API and its
limits.
Structs§
- Action
Plan - Action
Registration - Annotation
Registration - Feature
Registration - Package
Bundle - Package
Manifest - Panel
Registration - Plugin
Pin - Post
Registration - A CAM post-processor a package ships:
modulenames the package-local script (apost.define({...})file for BREP_cam’s post host). The package runtime only registers it; the CAM workbench reads the module text and runs it on BREP_cam’s post runtime. - Registry
- Runtime
- Workbench
Registration
Enums§
Functions§
- execute_
script - Execute an explicitly submitted editor script without installing or pinning it.
The source is a function body with
cad(the action context) andui.notify. Only the resulting document commands survive; built-in features replay normally.