Install
Install with PiG
pig install npm:@tryinget/pi-editor-registryInstall with Pi
pi install npm:@tryinget/pi-editor-registryReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
README
Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.
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.