Skip to main content
A mod is a panel you add to the mux. For example, the Review ledger mod shows the newest review verdict on each branch. Mods come in packs. A pack can also hold layouts, which arrange a whole window. F[no] installs and lists packs with fno config plugins. After this page, you can turn on the mods that ship with F[no] and show one in a pane. You can put a mod in a layout slot next to your pane. You can also install a pack from a git URL and see what it runs before you agree. Nightly builds before v0.4.9 named this tab Extensions. The v0.4.8 release has no Mods tab.

Terms

  • Pack: a folder or git repo with a plugin.yaml file. It holds mods, layouts, or both.
  • Mod: one panel in a pack. Its name is <pack>/<mod>, for example fno-panels/review-ledger.
  • Switch: the on or off state of one mod. Only a mod that is on can run.
  • Digest: a sha256 hash of every file in the pack. A change to any file gives a new digest.
  • Slot: one place in a layout. A slot holds your pane, a shell, an agent, or a mod.

Before you begin

Run each command on this page in that mux pane. The graft command must run in a mux pane.

The three kinds of mod

Each mod draws its panel in one of three ways. The kind decides whether the mod is on after install. A run mod runs code from the pack. The Mods tab marks it “Runs code”.

Turn on the packs that ship with F[no]

F[no] ships one pack, fno-panels. It holds the Backlog board, Review ledger and Decisions mods. The pack sits in the plugin folder that the installer writes. Activate it once:
The command prints the pack id, its version and its digest:
If your F[no] build ships a newer pack, your digest differs. Review ledger is a feed mod, so it is on after the activate. Backlog board and Decisions are the built-in kind, so they are always on.

Use the Mods tab

  1. Press Ctrl+b, then Shift+S (a capital S), to open Settings. If you changed mux.prefix, press your prefix instead of Ctrl+b.
  2. Press Tab until the dot moves to mods, or click mods.
  3. Move with the up and down arrows. Press Enter on a row to use it, or click the row.
The Mods tab with demo packs. The Review ledger row has a check mark, with Open in a pane, Preview and Recipe rows under it. The Clock row has an empty box and the label Runs code. The shot shows demo packs. Your list shows the packs you installed. Each mod row shows its title, its <pack>/<mod> name and a one-line summary. Under it are these rows: While the tab is open, it reads the installed list again every 3 seconds. A pack that finishes its install in a pane shows up with no key press.

Turn on a mod that runs code

The first time you turn on a run mod, the tab asks before it runs anything. It shows the command and the commit the pack came from. The approval step for demo-clock/clock. It shows the shell command the mod runs and the commit 4f2a9c1e7b3d. Under them is the row Turn it on and let it run. Read the command. To agree, press Enter on “Turn it on and let it run”. To stop, press Enter on “back” or press Esc.

Switch a mod from the command line

The same switches work outside the mux:
Each command prints the new state:
Give only the pack id, such as fno-panels, to switch every mod and layout in the pack.

Install a pack from a URL

A pack from a URL is code that someone else wrote. F[no] runs none of it before you agree.
  1. In the Mods tab, press Enter on “Install from URL”.
  2. Type or paste the git URL, then press Enter.
The install runs in a new pane. The pane prints a consent card before it asks you anything. The card names the URL, the commit, the content digest, and every command a mod in the pack runs or reads. It ends with “not reviewed by fno”. Answer the prompt in that pane. The command-line form is the same install:
An agent can start an install, but it cannot agree for you. With no person at the terminal, the install exits with code 2. It prints an fno inbox approvals decide command for a person to run. A new commit of the pack is a new digest, so you agree again. Packs do not update by themselves.

Find published packs

Press Enter on “Browse published packs”. The tab lists public repos that carry the fno-mod, fno-layout or fno-pack GitHub topic. It installs nothing. Press Enter on a row to put its URL in the install field. The Mods tab with the gallery open. Two demo packs show their star counts and the label Not reviewed by fno.

Put a mod in a layout slot

fno mux layout graft splits your current pane into a layout and fills each slot. You do not need the Mods tab for this, and a mod pane you opened from the tab can stay open. To fill a slot with a mod, use --slot mod:<pack>/<mod>. Run this in a mux pane:
  • --at current keeps your pane as the anchor of the layout.
  • --template picks the shape: main-left, main-top, row-thirds, col-thirds or grid-2x2.
  • Each --slot fills the next slot in order. A graft needs at least two. Give anchor once for your own pane.
The graft prints one line per slot:
Your pane stays on the left. The Review ledger opens on the right. Its table shows “(no rows)” until a review runs. A grafted layout. The left pane shows the graft command and its receipt. The right pane shows the Review ledger table header with no rows. The mod pane runs one fixed command, fno config plugins open <pack>/<mod>. A slot cannot name any other command. Use a feed or run mod in a slot. A built-in mod, such as fno-panels/backlog-board, opens only from the mux. Its pane prints is the mux's own backlog-board view; open it from the mux and stops.

A mod slot that gets a shell

If the mod cannot start, its slot gets a shell, and the graft still succeeds. The plain receipt shows Shell for that slot. Add --json to see why:
A name that is not <pack>/<mod> refuses before any pane starts:

Mods in the desktop app

The desktop app has the same list as its Mods view. Press Cmd+3 or click Mods in the strip. It reads the same installed list as the mux tab, so a switch in one shows in the other. Install and open run in a mux pane, and the window then moves to the terminal.

Limitations

  • A mux restart does not start a mod pane again. Each pane has a keeper, a small process that holds the pane’s program. If the keeper still runs after the restart, the mux takes the pane back. If the keeper is gone, the slot shows a shell.
  • fno mux layout apply, which arranges a whole window, has no mod slot yet. Use graft.
  • A pack from a URL that holds roles, skills, agents, adapters, workflows or evaluators refuses. Install that pack from a local folder.

Next steps