@tryinget/pi-editor-registry
v0.3.0
Published
Editor ownership and mount primitives for pi-interaction runtime
Maintainers
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.
