agterm-win 0.45.5 · cookbook

Long-commands status

Prefix a long command with agst and its sidebar row turns active while it runs, then completed or blocked when it ends. No agent hooks are needed.

In agterm-win · Set it up in WSL · On Windows · The recipe

In agterm-win

An agterm-server session in an Ubuntu distribution, in a fresh agterm-win with the Nordic Blue Dark theme.

A test run under agst with its sidebar row marked active
While the tests run, the unit tests row shows the active dot.
The unit tests row marked completed while another session is selected
From another session, the same row turns completed (green). --auto-reset clears it once the session is visited.

Set it up in WSL

In the distribution, from a copy of the recipe's folder.

$ mkdir -p ~/bin
$ cp agst.sh ~/bin/agst
$ chmod +x ~/bin/agst

Then, from a shell in an agterm session:

$ agst --blink ./run-tests.sh
$ agst make test && agst make deploy

On Windows

  • Works as-is in an agterm-server session: agst calls the Linux agtermctl that agterm-server installs.
  • In a local WSL session, point AGTERMCTL at agtermctl.exe.

The recipe, with how it works and its limits: cookbook/long-commands-status.

All recipes · New session in workspace →