Skip to content

Releases

foreman 0.13.2

Choose a tag to compare

@Kvmyk Kvmyk released this 17 Nov 21:33

Fixed

  • Prompts sent to codex, opencode, agy and pi are submitted on their own: foreman presses enter again when the text or a [Pasted ...] placeholder is still in the input, up to 3 times, and never into a question on screen. This covers the leader's first prompt and every foreman prompt.
  • foreman prompt says when a prompt may not have been submitted and how to press enter with foreman keys.
  • Choosing auto before the start now starts the leader in its auto mode too, and every worker of the task gets auto mode even when --auto is left out of a later spawn or respawn.
  • Codex workers in auto mode no longer ask: they get --ask-for-approval never in a workspace-write sandbox without network, with the repository's .git writable for commits. Gemini workers get --approval-mode yolo.

Full Changelog: v0.13.1...v0.13.2

foreman 0.13.1

Choose a tag to compare

@Kvmyk Kvmyk released this 13 Nov 19:25

Fixed

  • The tests pass on Windows again: the PowerShell folder test used the short 8.3 form of the temp folder (RUNNER~1).

Full Changelog: v0.13.0...v0.13.1

foreman 0.13.0

Choose a tag to compare

@Kvmyk Kvmyk released this 13 Nov 19:16

Added

  • CI workflow running the tests on Linux, Windows and macOS with Node 20 and 22, and a release workflow that publishes a GitHub Release from the matching CHANGELOG section when a v* tag is pushed (scripts/changelog-section.js).
  • The desktop prompt's folder (in ...) is a button: pick a folder one of the space's terminals is in, or any folder. The choice stays for that task.
  • foreman shell-hook [on|off] (Windows): adds a marked block to your PowerShell profile so every PowerShell tells the Herdr app about cd, with a backup of the profile, or removes it. Only on request; foreman setup mentions it when the block is missing.

Changed

  • The README is shorter and starts with what herdr is, the problem foreman solves and the approval step, with release, license and CI badges and one install command (herdr plugin install Kvmyk/herdr-foreman). The desktop install scripts are under "Other ways to install".
  • Troubleshooting, the FAQ, the Windows and PowerShell notes and the reference (subcommands, files and config.json, setting up by hand, token use, keeping the knowledge up to date) moved to docs/troubleshooting.md, docs/faq.md, docs/windows.md and docs/reference.md. foreman --help points there.
  • The Media note says the demo GIF uses made-up findings and that a recording of a real run is planned.

Fixed

  • Desktop prompt on Windows: after cd in the terminal it was opened from, it still showed and used the old folder. Herdr learns a PowerShell's folder only through a prompt hook it adds to plain terminals, and the tab foreman opened (and any tab started with a command) had none. The foreman tab now starts as a PowerShell with that hook and gets the task in a file, not on the command line. The prompt takes the folder of the terminal's own pane first, then what focus reported, then the space's folder, never another pane's. On Windows it also reads the terminal's last PS C:\...> line and uses that folder when it differs. When the terminal moves while the task is typed, Start shows the new folder first. foreman setup installs the prompt's new folder.js beside main.js.
  • Foreman's own path comparisons on Windows treat a short 8.3 path (RUNNER~1) and its long form as the same folder, and the tests pass on Windows CI.
  • The desktop prompt shows its middle (pills, task box, switches) again; it had collapsed to nothing.
  • foreman setup run from a task's worktree no longer points the Herdr app prompt at that worktree, which broke the prompt once the worktree was removed.

Full Changelog: v0.12.0...v0.13.0

foreman 0.12.0

Choose a tag to compare

@Kvmyk Kvmyk released this 12 Nov 20:48

Added

  • foreman setup in a terminal asks once whether you want to start foreman from the Herdr phone app, saves the answer as "launcher" in config.json (the rest of the file stays as it was) and opens the launcher for a yes; the plugin's automatic setup runs never ask.
  • foreman launcher on|off turns the launcher on or off later; off also closes the launcher terminal foreman opened.
  • The desktop prompt has a third switch, Phone launcher, that shows and changes the same setting.

Changed

  • The launcher's project list includes the repositories of the Herdr app's spaces (up to 6, the space used last first), so a repository with no run yet is there.
  • The launcher terminal that foreman launcher --ensure opens joins the Herdr app space used last, instead of no space.

Fixed

  • A message sent to the launcher with hc send shows on its screen without the <hc from="..."> tag around it; a message passed on through several terminals loses every tag.

Full Changelog: v0.11.0...v0.12.0

foreman 0.11.0

Choose a tag to compare

@Kvmyk Kvmyk released this 12 Nov 19:33

Added

  • foreman works with the Herdr phone app: runs of the Herdr app backend show in its Inbox and are answered in the leader's terminal; see "From your phone" in the README.
  • foreman new, and plain foreman once setup has run, open the task prompt in any terminal; a pasted task, blank lines included, is one task.
  • foreman launcher is a terminal that stays open and takes one task after another, with settings picked by number; "launcher": true in config.json keeps one open (foreman launcher --ensure).
  • "layout": "tabs" gives every worker a tab of its own.
  • notifyCommand in config.json runs a command of yours, for example a message through ntfy.sh, when foreman wait needs you or is done.
  • foreman setup accepts a machine that has only herdr-core and says how to start a task there.

Changed

  • layout now defaults to "auto": a tab per worker on a narrow terminal or without a desktop window, the stack otherwise; a value in config.json still wins.
  • In the Herdr app, workers start as helpers of their leader, the leader is named <task>-lead, and a worker that needs you is pinned.
  • Under 60 columns, status, watch, runs, show, spawn, wait and the prompt's hints print short lines instead of wide tables.
  • The desktop prompt fits its content, scrolls in a low window and goes to one column under 520 px.
  • When the leader stops on a folder-trust question, foreman waits and hands over the task itself instead of printing a command to copy.
  • The leader answers workers' questions for you from its own terminal, one numbered question at a time, and offers to take the next task when a run ends.

Fixed

  • Trust and permission questions are still recognised when a pane is narrowed to phone width and the dialog wraps.

Full Changelog: v0.10.0...v0.11.0

foreman 0.10.0

Choose a tag to compare

@Kvmyk Kvmyk released this 11 Nov 19:51

Changed

  • The knowledge about agents now rests only on public leaderboards, the npm registry and models.dev, refreshed weekly with dated facts, and foreman brief shows them (unproven marks a family with no facts).

Removed

  • The weekly refresh no longer rewrites text with Gemini, so GEMINI_API_KEY is not used any more.

Full Changelog: v0.9.1...v0.10.0

foreman 0.9.1

Choose a tag to compare

@Kvmyk Kvmyk released this 11 Nov 17:51

Fixed

  • The weekly knowledge refresh adds a new model family only for models no existing family covers, with a match for just those models; aliases such as *-latest and variants of known families are listed for a manual look instead.
  • The weekly knowledge refresh no longer fails its own tests once it has changed the date of knowledge/agents.json.

Full Changelog: v0.9.0...v0.9.1

foreman 0.9.0

Choose a tag to compare

@Kvmyk Kvmyk released this 11 Nov 17:24

Added

  • foreman knowledge show|refresh|stale [--json] shows where the knowledge about agents came from, its date and the stale model families; refresh fetches it and models.dev now instead of at most daily. foreman knowledge validate <file> checks a knowledge file and exits 1 when it is invalid.
  • foreman brief names the knowledge source (knowledgeSource) and warns when the knowledge is older than 30 days or has stale families.

Changed

  • Foreman gets newer knowledge between releases: knowledgeUrl defaults to knowledge/agents.json on GitHub, which a weekly workflow refreshes. "knowledgeUrl": false turns it off.
  • Knowledge from knowledgeUrl and knowledge.override.json is validated; invalid data is ignored with a warning instead of breaking foreman brief. Families merge by id, so an override of one family keeps the others, and override rules are added to the existing ones. A family without a usable date counts as stale, and an override file that does not parse is reported.

Full Changelog: v0.8.1...v0.9.0

foreman 0.8.1

Choose a tag to compare

@Kvmyk Kvmyk released this 09 Nov 17:57

Fixed

  • Space and Enter on a switch row of the Herdr desktop prompt flip it again; they flipped it twice, so nothing seemed to happen. Clicking always worked.

Full Changelog: v0.8.0...v0.8.1

foreman 0.8.0

Choose a tag to compare

@Kvmyk Kvmyk released this 09 Nov 17:38

Added

  • One command installs and sets up foreman for the Herdr desktop app and herdr: irm https://raw.githubusercontent.com/Kvmyk/herdr-foreman/main/install.ps1 | iex on Windows, curl -fsSL https://raw.githubusercontent.com/Kvmyk/herdr-foreman/main/install.sh | sh on macOS and Linux. It checks Node.js and git, runs npm install -g and foreman setup, and shows what is left to do.

Changed

  • The Herdr desktop prompt lists the branches at once and the ready agents from the last time foreman looked, then updates them; before, both pills waited several seconds while every agent was asked again. The herdr terminal prompt keeps the list for it too. foreman agents --quick leaves out the agents' versions.
  • Every foreman command starts a little faster on Windows: it finds programs by listing each PATH folder once.

Full Changelog: v0.7.0...v0.8.0