From 01c75298f9f5bc22341de46f9dad29c939e2596a Mon Sep 17 00:00:00 2001 From: Pi Web Agent Date: Mon, 29 Jun 2026 16:12:40 +0000 Subject: [PATCH] fix: keep federated docker updates tab visible --- .changeset/docker-updates-tab.md | 2 +- docs/plugins.html | 4 ++- docs/plugins.md | 2 +- pi-web-plugins/updates/pi-web-plugin.ts | 17 ++++++++-- pi-web-plugins/updates/updatesLogic.test.ts | 25 +++++++++++++- pi-web-plugins/updates/updatesLogic.ts | 37 +++++++++++++++++++-- src/server/piWebPluginService.test.ts | 28 ++++++++++++++++ src/server/piWebPluginService.ts | 31 ++++++++++++++++- 8 files changed, 136 insertions(+), 10 deletions(-) diff --git a/.changeset/docker-updates-tab.md b/.changeset/docker-updates-tab.md index 811478a..dd83d19 100644 --- a/.changeset/docker-updates-tab.md +++ b/.changeset/docker-updates-tab.md @@ -2,4 +2,4 @@ "@jmfederico/pi-web": patch --- -Expose Docker-aware PI WEB status, update, and restart commands in the Updates panel through the canonical `pi-web-docker` command, including explicit `pi-web-docker --dev ...` commands for Docker development runtimes, and harden production and development Docker workflows around generated Compose assets, Compose project-name isolation, clearer checkout/runtime guidance, root-safety checks, UID/GID preservation, and detached helper execution. +Expose Docker-aware PI WEB status, update, and restart commands in the Updates panel through the canonical `pi-web-docker` command, keep the Updates tab visible across federated Docker runtimes, including Docker development runtimes with explicit `pi-web-docker --dev ...` commands, and harden production and development Docker workflows around generated Compose assets, Compose project-name isolation, clearer checkout/runtime guidance, root-safety checks, UID/GID preservation, and detached helper execution. diff --git a/docs/plugins.html b/docs/plugins.html index 6b1f07a..1f3403e 100644 --- a/docs/plugins.html +++ b/docs/plugins.html @@ -212,7 +212,9 @@ After editing, check the manifest endpoint and browser-console failure cases. Updates adds a conditional Updates workspace tab with PI WEB update, restart, and installed-service guidance. It is built into PI WEB, enabled by default, and uses the - selected machine's plugin copy when machine federation is active. + selected machine's plugin copy when machine federation is active. Docker runtimes also publish a small + manifest hint so federated gateways can keep the remote Updates tab visible and expose Docker commands + while gateway status parsing catches up.