Skip to content

v0.14.0 — Agents that tell you when they're done

Choose a tag to compare

@github-actions github-actions released this 04 Dec 21:45
· 64 commits to develop since this release
Immutable release. Only release title and notes can be modified.
6b848e9

What's new

  • Notifications when an agent needs you. ShogunAi sends a native notification when an agent goes from working to blocked or done, naming the agent, the worktree and the project, and clicking it opens the app on that worktree. It stays quiet for the agent you're looking at in Herdr and when Herdr or Orca already notify you, and it works with the app closed too. Choose what notifies in the new Notifications section of Preferences: "When an agent needs you" (on) and "When an agent is done" (off).
  • Agents working in the background. A Claude agent whose turn has ended while a command it started in the background, such as a build or a test run, is still running shows as "in background" and stays under "Agent working". It isn't reported as done until that command ends, and the tooltip lists what is running.
  • Heavy builds take turns. shogun build run -- <command> takes one of the machine's build slots and waits in line when they're all taken, so agents building in parallel no longer make the whole machine slow down. The number of slots follows the capacity profile. A Claude Code hook installed by shogun hooks install asks agents to run Gradle, Maven, xcodebuild, swift build and swift test through it, and shogun build status shows who is building and who is waiting.
  • Node and Python projects. Two new providers you turn on per repository. node gives every new worktree its node_modules: cloned from the base on macOS when the lockfile matches, otherwise installed with the repository's package manager (npm, pnpm, Yarn or bun). python creates each worktree's own .venv with uv, Poetry or pip. Installing runs the repository's scripts, so it needs the repository's approval. The desktop app suggests them in "Repository configuration" and shogun doctor checks their tools.
  • Your own resource pools. A repository can declare a limited resource under pools in .shogunai.json, such as a database per worktree, a licence or a GPU, with a maximum and the commands that take and free a slot. An agent takes one with shogun pool acquire <name>, waiting in line with --wait, its variables reach the worktree's environment, and removing the worktree frees it. Pools are part of the repository's approval.
  • See which files other worktrees are changing too. shogun overlap lists the files changed by two or more worktrees of a repository at the same time, so collisions show up before the pull requests do. Files expected to be edited in parallel can be left out with overlap.ignore in .shogunai.json, and agents are asked to check it before opening a pull request.
  • Reclaim simulator storage. shogun simulator storage and the new "Simulator storage" section of the iOS simulators view show the simulator runtimes Xcode leaves behind, the devices whose runtime is gone and the dyld caches. Delete a runtime with shogun simulator runtime delete and the leftover devices with shogun simulator clean-unavailable, or from the view. A runtime still used by a worktree, a project or Xcode is never deleted.
  • Swift package builds are cleaned up. The .build folder that swift build leaves in each worktree of a Swift package now shows in shogun xcode and counts against the DerivedData quota. Delete the unused ones with shogun xcode clean --swift-build or "Delete unused .build" in the Xcode view.
  • Google's Android CLI, alongside ShogunAi. When the android command is installed, agents are told how to use it with their worktree's emulator. Its usage metrics to Google stay off unless you turn them on with shogun android metrics on or in the Tools section of Preferences, and shogun android and shogun doctor show its version and setup.
  • The build behind a busy Gradle daemon. The Gradle daemons view in Machine shows, under each busy daemon, the tasks it is building, when the build started and the agent session that launched it.
  • Orca's board stays up to date without the app. A worktree's card in Orca is updated when its agent's state changes, even with the desktop app closed, and shogun orca sync updates it by hand.
  • pod install notice in the desktop app. After creating a worktree, the app says which folders still need pod install and why, as shogun new already did.
  • shogun doctor finds a Gradle build in a subfolder. A build such as the android/ folder of a Flutter repository now gets its wrapper and Java checks instead of a missing-wrapper warning.
  • Forget an unreadable multirepo from the command line. shogun multirepo trust <folder> --revoke now forgets a known multirepo whose declaration can't be read, as "Remove" does in the app, and shogun doctor suggests it.

Fixes

  • A hung emulator no longer breaks the others. When one worktree's emulator stops answering adb, shogun emulator start and shogun emulator status keep working in the other worktrees and no longer take minutes. The emulator is shown as unresponsive and is never released to make room.
  • Agents start in Herdr panes whose shell lost its folder. After the worktrees' disk is mounted again or a worktree folder is recreated, shogun open --herdr starts the agent instead of failing with a timeout, and says what happened when it still can't.
  • Safer emulator and simulator acquisitions. Acquisitions running at the same time no longer take the same device, a failed or cancelled one no longer leaves a simulator behind, and an unreadable adb fails the acquisition instead of treating every emulator as stopped.
  • The desktop app frees the DerivedData of unused worktrees. Its DerivedData quota only released orphaned folders; it now releases those of unused worktrees too, as shogun xcode trim does.
Español

Novedades

  • Notificaciones cuando un agente te necesita. ShogunAi envía una notificación nativa cuando un agente pasa de trabajar a quedarse bloqueado o terminar, con el nombre del agente, del worktree y del proyecto, y al hacer clic abre la app en ese worktree. No avisa del agente que estás mirando en Herdr ni cuando Herdr u Orca ya te avisan, y funciona también con la app cerrada. Elige qué avisa en la nueva sección Notificaciones de Preferencias: "Cuando un agente te necesita" (activado) y "Cuando un agente termina" (desactivado).
  • Agentes trabajando en segundo plano. Un agente de Claude cuyo turno ha terminado mientras sigue en marcha un comando que lanzó en segundo plano, como un build o una tanda de tests, aparece "en segundo plano" y sigue en "Con agente". No se da por terminado hasta que acaba ese comando, y el tooltip muestra lo que se está ejecutando.
  • Los builds pesados se turnan. shogun build run -- <comando> ocupa uno de los turnos de build de la máquina y espera en la cola cuando están todos ocupados, para que los agentes que compilan en paralelo ya no ralenticen toda la máquina. El número de turnos sigue el perfil de capacidad. Un hook de Claude Code que instala shogun hooks install pide a los agentes que ejecuten Gradle, Maven, xcodebuild, swift build y swift test a través de él, y shogun build status muestra quién está compilando y quién espera.
  • Proyectos de Node y Python. Dos proveedores nuevos que se activan por repositorio. node da a cada worktree nuevo sus node_modules: clonados de la base en macOS cuando el lockfile coincide y, si no, instalados con el gestor de paquetes del repositorio (npm, pnpm, Yarn o bun). python crea el .venv propio de cada worktree con uv, Poetry o pip. Instalar ejecuta scripts del repositorio, así que necesita la aprobación del repositorio. La app de escritorio los sugiere en "Configuración del repositorio" y shogun doctor revisa sus herramientas.
  • Tus propios pools de recursos. Un repositorio puede declarar un recurso limitado en pools dentro de .shogunai.json, como una base de datos por worktree, una licencia o una GPU, con un máximo y los comandos que ocupan y liberan una plaza. Un agente ocupa una con shogun pool acquire <nombre>, esperando en la cola con --wait, sus variables llegan al entorno del worktree, y eliminar el worktree la libera. Los pools forman parte de la aprobación del repositorio.
  • Mira qué ficheros cambian también otros worktrees. shogun overlap lista los ficheros que cambian a la vez dos o más worktrees de un repositorio, para que las colisiones salgan antes que las pull requests. Los ficheros que se espera editar en paralelo se pueden dejar fuera con overlap.ignore en .shogunai.json, y se pide a los agentes que lo consulten antes de abrir una pull request.
  • Recupera el espacio de los simuladores. shogun simulator storage y la nueva sección "Almacenamiento de simuladores" de la vista de simuladores de iOS muestran los runtimes de simulador que Xcode va dejando, los dispositivos cuyo runtime ya no existe y las cachés de dyld. Borra un runtime con shogun simulator runtime delete y los dispositivos sobrantes con shogun simulator clean-unavailable, o desde la vista. Nunca se borra un runtime que aún usa un worktree, un proyecto o Xcode.
  • Se limpian los builds de los paquetes de Swift. La carpeta .build que swift build deja en cada worktree de un paquete de Swift aparece ahora en shogun xcode y cuenta para la cuota de DerivedData. Borra las que no se usan con shogun xcode clean --swift-build o "Borrar .build sin uso" en la vista de Xcode.
  • La CLI de Android de Google, junto a ShogunAi. Cuando el comando android está instalado, se explica a los agentes cómo usarlo con el emulador de su worktree. Sus métricas de uso para Google siguen desactivadas salvo que las actives con shogun android metrics on o en la sección Herramientas de Preferencias, y shogun android y shogun doctor muestran su versión y su configuración.
  • El build detrás de un daemon de Gradle ocupado. La vista de daemons de Gradle de Máquina muestra, bajo cada daemon ocupado, las tareas que está compilando, cuándo empezó el build y la sesión de agente que lo lanzó.
  • El tablero de Orca se mantiene al día sin la app. La tarjeta de un worktree en Orca se actualiza cuando cambia el estado de su agente, incluso con la app de escritorio cerrada, y shogun orca sync la actualiza a mano.
  • Aviso de pod install en la app de escritorio. Después de crear un worktree, la app dice qué carpetas necesitan aún pod install y por qué, como ya hacía shogun new.
  • shogun doctor encuentra un build de Gradle en una subcarpeta. Un build como la carpeta android/ de un repositorio de Flutter recibe ahora las comprobaciones del wrapper y de Java en vez de un aviso de wrapper ausente.
  • Olvida un multirepo ilegible desde la línea de comandos. shogun multirepo trust <carpeta> --revoke olvida ahora un multirepo conocido cuya declaración no se puede leer, como hace "Quitar" en la app, y shogun doctor lo sugiere.

Correcciones

  • Un emulador colgado ya no rompe los demás. Cuando el emulador de un worktree deja de responder a adb, shogun emulator start y shogun emulator status siguen funcionando en los demás worktrees y ya no tardan minutos. El emulador aparece como sin respuesta y nunca se libera para hacer sitio.
  • Los agentes arrancan en paneles de Herdr cuyo shell perdió su carpeta. Después de volver a montar el disco de los worktrees o de recrear la carpeta de un worktree, shogun open --herdr arranca el agente en vez de fallar por tiempo agotado, y explica qué ha pasado cuando aun así no puede.
  • Préstamos de emuladores y simuladores más seguros. Los préstamos simultáneos ya no se llevan el mismo dispositivo, uno que falla o se cancela ya no deja un simulador detrás, y un adb ilegible hace fallar el préstamo en vez de dar todos los emuladores por parados.
  • La app de escritorio libera el DerivedData de los worktrees sin uso. Su cuota de DerivedData solo liberaba carpetas huérfanas; ahora libera también las de los worktrees sin uso, como hace shogun xcode trim.