@tryinget/pi-editor-registry0.3.0
Editor ownership and mount primitives for pi-interaction runtime
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
summary: "@tryinget/pi-editor-registry package overview." read_when:
- "Orienting to this package or directory before changing its behavior."
@tryinget/pi-editor-registry
Editor ownership and mount primitives for the pi-interaction runtime family.
Exports
TriggerEditorcreateEditorRegistry
Behavioral contract
createEditorRegistryis a thin mount helper aroundctx.ui.setEditorComponent(...)plus diagnostics.- It does not implement app-level key handling itself.
TriggerEditorpreserves pi app-level editor behavior by extending pi'sCustomEditorand delegating input tosuper.handleInput(...)before trigger checks run.- In particular,
Esc/app.interruptbehavior remains owned by the pi host wiring (onEscape, action handlers), not by the registry helper.