← Catalog

@tryinget/pi-editor-registry

Editor ownership and mount primitives for pi-interaction runtime

Extension

Install

Install with PiG

pig install npm:@tryinget/pi-editor-registry

Install with Pi

pi install npm:@tryinget/pi-editor-registry
Review 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

  • TriggerEditor
  • createEditorRegistry

Behavioral contract

  • createEditorRegistry is a thin mount helper around ctx.ui.setEditorComponent(...) plus diagnostics.
  • It does not implement app-level key handling itself.
  • TriggerEditor preserves pi app-level editor behavior by extending pi's CustomEditor and delegating input to super.handleInput(...) before trigger checks run.
  • In particular, Esc/app.interrupt behavior remains owned by the pi host wiring (onEscape, action handlers), not by the registry helper.