pi-fff: fails to load in OMP 19.2.0 after breaking Pi TUI migration

Open
#1,024 1 comment 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@gustav-fff is already working on this.

Since Nov 25, 2026.

  • #1025 by @gustav-fff — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bun, typescript
Domain
tooling

Research direction

The failing import is in src/index.ts, which pulls sliceByColumn, Text and visibleWidth from @earendil-works/pi-tui. Reproduce with omp models ls --json and read /tmp/omp-extension-errors.log to confirm the rejection. Check OMP 19.2's extension docs for the reactive UI contract before choosing between an adapter and a documented version range. Done means the extension loads in OMP 19.2 without the legacy-import warning and the file picker and autocomplete still work, or the supported range is documented. Standalone Bun loading is not enough to verify.

Written by the indexing model from the issue text.

Description

triaged

Summary

@ff-labs/[email protected] fails to load after upgrading Oh My Pi (OMP) from 19.1.1 to 19.2.0. OMP 19.2 deliberately rejects legacy Pi TUI imports following its reactive UI migration. This is a host compatibility request, not a failure of the FFF search engine.

Environment

  • Arch Linux x86_64
  • OMP binary package: oh-my-pi-bin 19.2.0-2 (previously 19.1.1-1)
  • Extension: @ff-labs/pi-fff 0.11.0

Reproduction

With the extension installed, start OMP 19.2.0. A startup load warning appears and the extension is unavailable. To obtain the full error without sending a model prompt:

omp models ls --json >/tmp/omp-models.json 2>/tmp/omp-extension-errors.log
cat /tmp/omp-extension-errors.log

Actual result

The OMP loader reports that @ff-labs/pi-fff/src/index.ts:

imports "@earendil-works/pi-tui", which omp no longer provides: its component API was replaced by the reactive @oh-my-pi/pi-tui.

The installed entry point imports sliceByColumn, Text, and visibleWidth, plus legacy UI types, from that package. Directly importing the entry point under standalone Bun succeeds; it does not exercise OMP's legacy-import rejection and is not sufficient verification of OMP compatibility.

Expected result / requested compatibility work

Support OMP 19.2's UI contract, or explicitly document the supported OMP range if this host is no longer supported. This may need a host-specific adapter rather than changing the UI used by upstream Pi.

OMP's migration changes renderer return values and custom UI factories, removes editor-component APIs, and rejects legacy TUI imports. A package-name substitution alone is not necessarily sufficient. Please verify loading through OMP and exercise the file picker/autocomplete UI after migration.

References:

Workaround

The reporter has downgraded OMP to the previously working version and held updates while waiting for extension compatibility. No extension source files were patched.

Dominant language
Rust
Stars
11.3k
Forks
485
Avg merge
16h 25m
Merged PRs (30d)
19

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dmtrKovalenko/fff

All issues in dmtrKovalenko/fff

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.