Repository navigation
v0.13.0 — Your phones, lent to agents
·
173 commits
to develop
since this release
Immutable
release. Only release title and notes can be modified.
What's new
- Real phones and tablets for your agents. ShogunAi remembers every Android device seen by
adband every iPhone or iPad seen by Xcode, over USB or the network, and lends them to worktrees one at a time. An agent asks for one withshogun device acquire, by platform, alias or model, and waits in a queue with--waitwhen it's taken or not connected yet. - You decide which devices are lent. A recorded device is lent by default; withdraw it, lend it again, give it an alias such as
a55or forget it, withshogun deviceor from the new "Devices" view in Machine. The view shows each device's connection, who holds it and who waits for it. - A personal phone is never reached by accident. A held device reaches the agent through its own variables,
SHOGUN_ANDROID_DEVICE_SERIALandSHOGUN_IOS_DEVICE_UDID, whileANDROID_SERIALkeeps pointing to the worktree's emulator. Releasing a device never changes anything on it, and removing a worktree releases the devices it held. - Physical devices in status.
shogun statusand the worktree detail show the devices each worktree holds or waits for, andshogun pool statuslists them with their holders and waiters. - shogun doctor checks the Java your Gradle build really uses.
shogun doctorand "Check Installation…" now check the Java of Gradle's daemon, the Java toolchains the build declares and the Java the Android Gradle Plugin needs, so a fresh machine no longer passes the check and fails its first build. Each problem comes with its fix. - A broken Herdr plugin is noticed and repaired.
shogun hooks statusand the hooks section of Preferences say whether ShogunAi's Herdr plugin is installed, disabled, broken or missing.shogun hooks install --herdr, or "Reinstall" in Preferences, shows the Herdr commands it will run and reinstalls it. - Safer files in
~/.shogunai. The app andshoguncan be different versions and write the same files: a newer version's fields are kept by an older one, a file written by an incompatible newer version is never overwritten, and an unreadable file is kept next to the new one as<file>.unreadable-<timestamp>instead of being replaced. - No command hangs forever. Every external tool ShogunAi runs, such as Git,
adb,simctl, Docker or CocoaPods, has a time limit, with generous ones for installs. A tool that hangs fails with an error naming the command instead of blocking the app or other worktrees, and a cancelled operation ends as cancelled.
Fixes
- The
.debinstalls on a machine without a desktop. Installing or removing the Linux package on a server or a minimal container no longer fails when there is no applications menu; it prints a warning instead. - Approvals made at once are all kept. Approving a repository in the app and in
shogunat the same time no longer loses one of the approvals. - Simulator settings through a symbolic link. A project registered through a symbolic link, or with different letter case, keeps its simulator settings in the app, as it did in
shogun. - A missing base repository is named.
shoguncommands that list a project's worktrees say which base repository is missing instead of showing a Git failure. - A slow Herdr or Orca isn't reported as missing. When one of them takes too long to answer, the error says the command timed out instead of saying the tool isn't installed.
Español
Novedades
- Móviles y tabletas reales para tus agentes. ShogunAi recuerda cada dispositivo Android que ve
adby cada iPhone o iPad que ve Xcode, por USB o por red, y los presta a los worktrees de uno en uno. Un agente pide uno conshogun device acquire, por plataforma, alias o modelo, y espera en una cola con--waitcuando está ocupado o aún no está conectado. - Tú decides qué dispositivos se prestan. Un dispositivo registrado se presta por defecto; retíralo, vuelve a prestarlo, ponle un alias como
a55u olvídalo, conshogun deviceo desde la nueva vista "Dispositivos" de Máquina. La vista muestra la conexión de cada dispositivo, quién lo tiene y quién lo espera. - Nunca se llega a un móvil personal por accidente. Un dispositivo prestado llega al agente por sus propias variables,
SHOGUN_ANDROID_DEVICE_SERIALySHOGUN_IOS_DEVICE_UDID, mientrasANDROID_SERIALsigue apuntando al emulador del worktree. Liberar un dispositivo nunca cambia nada en él, y eliminar un worktree libera los dispositivos que tenía. - Dispositivos físicos en el estado.
shogun statusy el detalle del worktree muestran los dispositivos que cada worktree tiene o espera, yshogun pool statuslos lista con quién los tiene y quién los espera. - shogun doctor revisa el Java que tu build de Gradle usa de verdad.
shogun doctory "Comprobar instalación…" revisan ahora el Java del daemon de Gradle, las toolchains de Java que declara el build y el Java que necesita el Android Gradle Plugin, para que una máquina recién instalada no pase la comprobación y falle en su primer build. Cada problema viene con su solución. - Un plugin de Herdr roto se detecta y se repara.
shogun hooks statusy la sección de hooks de Preferencias dicen si el plugin de Herdr de ShogunAi está instalado, desactivado, roto o ausente.shogun hooks install --herdr, o "Reinstalar" en Preferencias, muestra los comandos de Herdr que va a ejecutar y lo reinstala. - Ficheros más seguros en
~/.shogunai. La app yshogunpueden ser de versiones distintas y escribir los mismos ficheros: una versión anterior conserva los campos de una más nueva, un fichero escrito por una versión más nueva e incompatible nunca se sobrescribe, y un fichero ilegible se guarda junto al nuevo como<fichero>.unreadable-<fecha>en vez de reemplazarse. - Ningún comando se queda colgado para siempre. Cada herramienta externa que ejecuta ShogunAi, como Git,
adb,simctl, Docker o CocoaPods, tiene un límite de tiempo, amplio para las instalaciones. Una herramienta que se cuelga falla con un error que nombra el comando en vez de bloquear la app u otros worktrees, y una operación cancelada termina como cancelada.
Correcciones
- El
.debse instala en una máquina sin escritorio. Instalar o eliminar el paquete de Linux en un servidor o un contenedor mínimo ya no falla cuando no hay menú de aplicaciones; muestra un aviso. - Se conservan todas las aprobaciones hechas a la vez. Aprobar un repositorio en la app y en
shogunal mismo tiempo ya no pierde una de las aprobaciones. - Ajustes del simulador a través de un enlace simbólico. Un proyecto registrado a través de un enlace simbólico, o con otras mayúsculas y minúsculas, conserva sus ajustes del simulador en la app, como ya hacía en
shogun. - Se nombra el repositorio base que falta. Los comandos de
shogunque listan los worktrees de un proyecto dicen qué repositorio base falta en vez de mostrar un fallo de Git. - Un Herdr u Orca lento no se da por ausente. Cuando uno de ellos tarda demasiado en responder, el error dice que el comando agotó su tiempo en vez de decir que la herramienta no está instalada.