Repository navigation
Releases
Releases · Kvmyk/herdr-foreman
foreman 0.13.2
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 everyforeman prompt. foreman promptsays when a prompt may not have been submitted and how to press enter withforeman 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
--autois left out of a laterspawnorrespawn. - Codex workers in auto mode no longer ask: they get
--ask-for-approval neverin aworkspace-writesandbox without network, with the repository's.gitwritable for commits. Gemini workers get--approval-mode yolo.
Full Changelog: v0.13.1...v0.13.2
foreman 0.13.1
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
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 aboutcd, with a backup of the profile, or removes it. Only on request;foreman setupmentions 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 todocs/troubleshooting.md,docs/faq.md,docs/windows.mdanddocs/reference.md.foreman --helppoints 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
cdin 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 lastPS 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 setupinstalls the prompt's newfolder.jsbesidemain.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 setuprun 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
Added
foreman setupin a terminal asks once whether you want to start foreman from the Herdr phone app, saves the answer as"launcher"inconfig.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|offturns 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 --ensureopens joins the Herdr app space used last, instead of no space.
Fixed
- A message sent to the launcher with
hc sendshows 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
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 plainforemanonce setup has run, open the task prompt in any terminal; a pasted task, blank lines included, is one task.foreman launcheris a terminal that stays open and takes one task after another, with settings picked by number;"launcher": trueinconfig.jsonkeeps one open (foreman launcher --ensure)."layout": "tabs"gives every worker a tab of its own.notifyCommandinconfig.jsonruns a command of yours, for example a message through ntfy.sh, whenforeman waitneeds you or is done.foreman setupaccepts a machine that has only herdr-core and says how to start a task there.
Changed
layoutnow defaults to"auto": a tab per worker on a narrow terminal or without a desktop window, the stack otherwise; a value inconfig.jsonstill 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,waitand 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
Changed
- The knowledge about agents now rests only on public leaderboards, the npm registry and models.dev, refreshed weekly with dated facts, and
foreman briefshows them (unprovenmarks a family with no facts).
Removed
- The weekly refresh no longer rewrites text with Gemini, so
GEMINI_API_KEYis not used any more.
Full Changelog: v0.9.1...v0.10.0
foreman 0.9.1
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
*-latestand 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
Added
foreman knowledge show|refresh|stale [--json]shows where the knowledge about agents came from, its date and the stale model families;refreshfetches 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 briefnames 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:
knowledgeUrldefaults toknowledge/agents.jsonon GitHub, which a weekly workflow refreshes."knowledgeUrl": falseturns it off. - Knowledge from
knowledgeUrlandknowledge.override.jsonis validated; invalid data is ignored with a warning instead of breakingforeman brief. Families merge byid, so an override of one family keeps the others, and overriderulesare 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
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
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 | iexon Windows,curl -fsSL https://raw.githubusercontent.com/Kvmyk/herdr-foreman/main/install.sh | shon macOS and Linux. It checks Node.js and git, runsnpm install -gandforeman 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 --quickleaves 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