From d77ca66f28e43ee2d9626c2a75fb5a080d53d268 Mon Sep 17 00:00:00 2001 From: Federico Jaramillo Martinez Date: Sun, 19 Jul 2026 00:37:48 +0200 Subject: [PATCH] chore(release): v1.202607.1 --- .changeset/add-pi-web-terminal-environment.md | 5 ---- .changeset/cancel-stale-auth-flows.md | 5 ---- .changeset/clear-session-message-queue.md | 5 ---- .changeset/doctor-native-service-context.md | 5 ---- .changeset/fix-pi-0-80-8-modelruntime-auth.md | 5 ---- .changeset/fresh-machine-update-checks.md | 5 ---- .changeset/generic-agent-runtime-config.md | 5 ---- .changeset/honor-archive-data-dir.md | 7 ----- .changeset/load-interactive-shell-profiles.md | 5 ---- .../omit-oversized-subsession-notices.md | 5 ---- .changeset/portable-base-paths.md | 5 ---- .changeset/serve-plugin-svg-assets.md | 5 ---- .../show-extension-command-notifications.md | 5 ---- .changeset/show-tool-images-outside-events.md | 5 ---- .changeset/stream-catchup-on-join.md | 5 ---- .../surface-session-startup-warnings.md | 5 ---- .changeset/yield-to-tracked-subsessions.md | 5 ---- .changeset/zoom-chat-images.md | 5 ---- CHANGELOG.md | 26 +++++++++++++++++++ package-lock.json | 4 +-- package.json | 2 +- 21 files changed, 29 insertions(+), 95 deletions(-) delete mode 100644 .changeset/add-pi-web-terminal-environment.md delete mode 100644 .changeset/cancel-stale-auth-flows.md delete mode 100644 .changeset/clear-session-message-queue.md delete mode 100644 .changeset/doctor-native-service-context.md delete mode 100644 .changeset/fix-pi-0-80-8-modelruntime-auth.md delete mode 100644 .changeset/fresh-machine-update-checks.md delete mode 100644 .changeset/generic-agent-runtime-config.md delete mode 100644 .changeset/honor-archive-data-dir.md delete mode 100644 .changeset/load-interactive-shell-profiles.md delete mode 100644 .changeset/omit-oversized-subsession-notices.md delete mode 100644 .changeset/portable-base-paths.md delete mode 100644 .changeset/serve-plugin-svg-assets.md delete mode 100644 .changeset/show-extension-command-notifications.md delete mode 100644 .changeset/show-tool-images-outside-events.md delete mode 100644 .changeset/stream-catchup-on-join.md delete mode 100644 .changeset/surface-session-startup-warnings.md delete mode 100644 .changeset/yield-to-tracked-subsessions.md delete mode 100644 .changeset/zoom-chat-images.md diff --git a/.changeset/add-pi-web-terminal-environment.md b/.changeset/add-pi-web-terminal-environment.md deleted file mode 100644 index 16df1e5..0000000 --- a/.changeset/add-pi-web-terminal-environment.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Set `PI_WEB_TERMINAL=1` in PI WEB terminal shells. diff --git a/.changeset/cancel-stale-auth-flows.md b/.changeset/cancel-stale-auth-flows.md deleted file mode 100644 index 0b4cfc5..0000000 --- a/.changeset/cancel-stale-auth-flows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Keep auth interactions bound to their originating machine and cancel flows created after their browser start operation becomes stale, preventing secrets from reaching the wrong remote or abandoned provider resources from surviving a closed dialog. diff --git a/.changeset/clear-session-message-queue.md b/.changeset/clear-session-message-queue.md deleted file mode 100644 index 32eb429..0000000 --- a/.changeset/clear-session-message-queue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Add a capability-aware Clear queue action that removes queued session messages, including prompts held during compaction, without stopping active work. diff --git a/.changeset/doctor-native-service-context.md b/.changeset/doctor-native-service-context.md deleted file mode 100644 index 8969167..0000000 --- a/.changeset/doctor-native-service-context.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Validate install and doctor service requirements in the real systemd or launchd manager context before changing native services, with plan-specific PATH guidance and safe probe cleanup. Thanks to @blain3white for the original report, reproduction, and root-cause analysis. diff --git a/.changeset/fix-pi-0-80-8-modelruntime-auth.md b/.changeset/fix-pi-0-80-8-modelruntime-auth.md deleted file mode 100644 index cfb5cd3..0000000 --- a/.changeset/fix-pi-0-80-8-modelruntime-auth.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Restore session-daemon startup and authentication on supported Pi `>=0.80.8 <0.81` releases by migrating model and credential handling to `ModelRuntime`. Provider discovery now reloads model configuration and reports only complete usable credentials. Login options follow each provider's executable API-key and OAuth capabilities: multi-step API-key setup is supported, legacy one-secret clients fail safely before storing malformed credentials, and OAuth prompts retain their input, selection, and device-code semantics. A committed login remains successful through late cancellation or notification failures. Failed realtime delivery now closes only the affected socket so its browser can reconnect while healthy peers keep receiving events. PI WEB now requires Node.js `>=22.19.0`. diff --git a/.changeset/fresh-machine-update-checks.md b/.changeset/fresh-machine-update-checks.md deleted file mode 100644 index 3676170..0000000 --- a/.changeset/fresh-machine-update-checks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Add a **Check for PI WEB Updates** action that bypasses cached release data and refreshes update status for the selected local or federated machine. diff --git a/.changeset/generic-agent-runtime-config.md b/.changeset/generic-agent-runtime-config.md deleted file mode 100644 index 1156ff9..0000000 --- a/.changeset/generic-agent-runtime-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Add selectable Pi-compatible agent profiles and companion CLIs for isolated auth, models, settings, sessions, Pi packages, plugins, diagnostics, and safe update commands. Settings shows when a session-daemon restart is required, and mixed-version remote saves fail instead of reporting false success. The embedded runtime remains the bundled Pi SDK. diff --git a/.changeset/honor-archive-data-dir.md b/.changeset/honor-archive-data-dir.md deleted file mode 100644 index f50f6c5..0000000 --- a/.changeset/honor-archive-data-dir.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Store session archive metadata and archived session files under `PI_WEB_DATA_DIR` when configured, and automatically migrate a legacy archive on the first eligible session-daemon startup after upgrading. - -Migration runs only when `PI_WEB_DATA_DIR` explicitly selects a different root, the legacy index and every referenced file form a complete valid archive, and the destination archive is pristine. PI WEB copies and verifies files across filesystem boundaries, rewrites their `archivePath` values, atomically commits the destination index, and only then removes legacy archive state. Ambiguous, invalid, partial, or coexisting layouts are left untouched instead of being merged or overwritten; active Pi session files are never moved. diff --git a/.changeset/load-interactive-shell-profiles.md b/.changeset/load-interactive-shell-profiles.md deleted file mode 100644 index e4e2041..0000000 --- a/.changeset/load-interactive-shell-profiles.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Load login shell profiles in new and continued interactive terminals so PATH-managed commands are available. diff --git a/.changeset/omit-oversized-subsession-notices.md b/.changeset/omit-oversized-subsession-notices.md deleted file mode 100644 index d11255c..0000000 --- a/.changeset/omit-oversized-subsession-notices.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Omit oversized tracked-subsession output from parent completion notices, directing the parent to retrieve the full result with `check_subsession` instead of duplicating a truncated preview in context. diff --git a/.changeset/portable-base-paths.md b/.changeset/portable-base-paths.md deleted file mode 100644 index 603070e..0000000 --- a/.changeset/portable-base-paths.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Support root and nested reverse-proxy deployments with one published client, including scoped PWA assets, WebSockets, and local or federated plugins. diff --git a/.changeset/serve-plugin-svg-assets.md b/.changeset/serve-plugin-svg-assets.md deleted file mode 100644 index a17dea4..0000000 --- a/.changeset/serve-plugin-svg-assets.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Serve PI WEB plugin SVG assets with a browser-compatible content type and clarify module-relative asset packaging. diff --git a/.changeset/show-extension-command-notifications.md b/.changeset/show-extension-command-notifications.md deleted file mode 100644 index 6c73940..0000000 --- a/.changeset/show-extension-command-notifications.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Show notifications emitted by Pi extension slash commands in the web chat. diff --git a/.changeset/show-tool-images-outside-events.md b/.changeset/show-tool-images-outside-events.md deleted file mode 100644 index 387debe..0000000 --- a/.changeset/show-tool-images-outside-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Keep tool-result images visible in clearly labeled standard chat cards outside collapsed event groups while retaining technical execution details and final message metadata. diff --git a/.changeset/stream-catchup-on-join.md b/.changeset/stream-catchup-on-join.md deleted file mode 100644 index ea8bb12..0000000 --- a/.changeset/stream-catchup-on-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Stream in-flight assistant replies immediately when opening or reconnecting to a session mid-turn. The chat now seeds the partial message (text, thinking, and in-progress tool calls) and continues streaming live updates on top of it, replacing the blocking "Catching up…" placeholder and the end-of-turn transcript reload. Sessions still open normally against remote machines or session daemons that predate this feature: the snapshot is fetched as a progressive enhancement and its absence no longer blocks the transcript. diff --git a/.changeset/surface-session-startup-warnings.md b/.changeset/surface-session-startup-warnings.md deleted file mode 100644 index 7a6a600..0000000 --- a/.changeset/surface-session-startup-warnings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Surface live session startup warnings in the web UI. A pinned banner at the top of the session view now shows resource and runtime diagnostics (skills, prompts, themes, and extension load errors) plus the Anthropic subscription-auth billing notice, recomputed from the current runtime so they stay accurate across browser reloads. The Anthropic billing notice can be dismissed, which durably suppresses it through the underlying agent's own warning setting. diff --git a/.changeset/yield-to-tracked-subsessions.md b/.changeset/yield-to-tracked-subsessions.md deleted file mode 100644 index 29e8089..0000000 --- a/.changeset/yield-to-tracked-subsessions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Add explicit tracked-subsession yielding with no-poll wake-up guidance, remaining-child status, and clear boundaries around child output. diff --git a/.changeset/zoom-chat-images.md b/.changeset/zoom-chat-images.md deleted file mode 100644 index b801641..0000000 --- a/.changeset/zoom-chat-images.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jmfederico/pi-web": patch ---- - -Let chat images open in a full-size modal viewer on click or keyboard activation, with backdrop and Escape to dismiss, a touch-friendly close button, and safe-area handling so the viewer clears device notches. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c1fba4..c8f4f4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # @jmfederico/pi-web +## 1.202607.1 + +### Patch Changes + +- 73ac24c: Set `PI_WEB_TERMINAL=1` in PI WEB terminal shells. +- 67f673b: Keep auth interactions bound to their originating machine and cancel flows created after their browser start operation becomes stale, preventing secrets from reaching the wrong remote or abandoned provider resources from surviving a closed dialog. +- a1f749c: Add a capability-aware Clear queue action that removes queued session messages, including prompts held during compaction, without stopping active work. +- dde48b3: Validate install and doctor service requirements in the real systemd or launchd manager context before changing native services, with plan-specific PATH guidance and safe probe cleanup. Thanks to @blain3white for the original report, reproduction, and root-cause analysis. +- f539193: Restore session-daemon startup and authentication on supported Pi `>=0.80.8 <0.81` releases by migrating model and credential handling to `ModelRuntime`. Provider discovery now reloads model configuration and reports only complete usable credentials. Login options follow each provider's executable API-key and OAuth capabilities: multi-step API-key setup is supported, legacy one-secret clients fail safely before storing malformed credentials, and OAuth prompts retain their input, selection, and device-code semantics. A committed login remains successful through late cancellation or notification failures. Failed realtime delivery now closes only the affected socket so its browser can reconnect while healthy peers keep receiving events. PI WEB now requires Node.js `>=22.19.0`. +- d72b14f: Add a **Check for PI WEB Updates** action that bypasses cached release data and refreshes update status for the selected local or federated machine. +- 75e2377: Add selectable Pi-compatible agent profiles and companion CLIs for isolated auth, models, settings, sessions, Pi packages, plugins, diagnostics, and safe update commands. Settings shows when a session-daemon restart is required, and mixed-version remote saves fail instead of reporting false success. The embedded runtime remains the bundled Pi SDK. +- ec0ca13: Store session archive metadata and archived session files under `PI_WEB_DATA_DIR` when configured, and automatically migrate a legacy archive on the first eligible session-daemon startup after upgrading. + + Migration runs only when `PI_WEB_DATA_DIR` explicitly selects a different root, the legacy index and every referenced file form a complete valid archive, and the destination archive is pristine. PI WEB copies and verifies files across filesystem boundaries, rewrites their `archivePath` values, atomically commits the destination index, and only then removes legacy archive state. Ambiguous, invalid, partial, or coexisting layouts are left untouched instead of being merged or overwritten; active Pi session files are never moved. + +- 2b1507b: Load login shell profiles in new and continued interactive terminals so PATH-managed commands are available. +- 15d25d8: Omit oversized tracked-subsession output from parent completion notices, directing the parent to retrieve the full result with `check_subsession` instead of duplicating a truncated preview in context. +- a493949: Support root and nested reverse-proxy deployments with one published client, including scoped PWA assets, WebSockets, and local or federated plugins. +- 21c58fe: Serve PI WEB plugin SVG assets with a browser-compatible content type and clarify module-relative asset packaging. +- d72a001: Show notifications emitted by Pi extension slash commands in the web chat. +- f181c47: Keep tool-result images visible in clearly labeled standard chat cards outside collapsed event groups while retaining technical execution details and final message metadata. +- 2b17145: Stream in-flight assistant replies immediately when opening or reconnecting to a session mid-turn. The chat now seeds the partial message (text, thinking, and in-progress tool calls) and continues streaming live updates on top of it, replacing the blocking "Catching up…" placeholder and the end-of-turn transcript reload. Sessions still open normally against remote machines or session daemons that predate this feature: the snapshot is fetched as a progressive enhancement and its absence no longer blocks the transcript. +- aedcbf8: Surface live session startup warnings in the web UI. A pinned banner at the top of the session view now shows resource and runtime diagnostics (skills, prompts, themes, and extension load errors) plus the Anthropic subscription-auth billing notice, recomputed from the current runtime so they stay accurate across browser reloads. The Anthropic billing notice can be dismissed, which durably suppresses it through the underlying agent's own warning setting. +- d5154df: Add explicit tracked-subsession yielding with no-poll wake-up guidance, remaining-child status, and clear boundaries around child output. +- 6cd666f: Let chat images open in a full-size modal viewer on click or keyboard activation, with backdrop and Escape to dismiss, a touch-friendly close button, and safe-area handling so the viewer clears device notches. + ## 1.202607.0 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 62f07d6..2a2e89c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@jmfederico/pi-web", - "version": "1.202607.0", + "version": "1.202607.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@jmfederico/pi-web", - "version": "1.202607.0", + "version": "1.202607.1", "license": "MIT", "dependencies": { "@codemirror/commands": "^6.10.4", diff --git a/package.json b/package.json index e20ff17..50713c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jmfederico/pi-web", - "version": "1.202607.0", + "version": "1.202607.1", "description": "Web UI for persistent Pi Coding Agent sessions in real workspaces.", "license": "MIT", "author": "Federico Jaramillo Martinez",