omp packages

@tryinget/pi-editor-registry0.3.0

Editor ownership and mount primitives for pi-interaction runtime

GitHub Actions Published 3 months ago SEE LICENSE IN LICENSE ~251 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

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

  • 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.