pi-studio 0.9.40 → 0.9.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to `pi-studio` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.9.42] — 2026-08-11
8
+
9
+ ### Changed
10
+ - Open Studio as a focused cmux browser surface in the caller’s workspace when launched from cmux, with a bounded system-browser fallback when cmux is unavailable or declines the request.
11
+
12
+ ## [0.9.41] — 2026-08-11
13
+
14
+ ### Fixed
15
+ - Preserve Studio’s left/right **Focus pane** layout across reloads and reconstructed browser surfaces without carrying that state into newly opened Studio tabs.
16
+ - Open known Studio/browser targets directly and route asynchronously prepared editor, preview, companion, and export tabs through one authenticated pending page, preventing duplicate or orphaned blank tabs when browser hosts return no window handle.
17
+
7
18
  ## [0.9.40] — 2026-08-10
8
19
 
9
20
  ### Fixed
package/README.md CHANGED
@@ -63,7 +63,7 @@ _The video shows an earlier version of the Studio interface. The basic workflow
63
63
 
64
64
  | Command | Description |
65
65
  |---|---|
66
- | `/studio` | Open with last assistant response (fallback: blank) |
66
+ | `/studio` | Open in cmux when available, otherwise the system browser, with the last assistant response (fallback: blank) |
67
67
  | `/studio <path>` | Open with file preloaded |
68
68
  | `/studio --last` | Force last response |
69
69
  | `/studio --blank` | Force blank editor |
@@ -150,6 +150,7 @@ Studio only passes icon-pack arguments when a diagram actually references `lucid
150
150
  ## Notes
151
151
 
152
152
  - Local-only server (`127.0.0.1`) with tokenized Studio URLs.
153
+ - When Pi runs inside cmux, Studio opens as a focused cmux browser surface in the caller’s workspace. If cmux is unavailable or declines the request, Studio falls back to the system browser.
153
154
  - For remote SSH sessions, keep Studio bound to localhost and use SSH local port forwarding; `/studio` and `/studio --status` print the full tokenized localhost URL. The SSH hint repeats the full URL so it is visible even if your terminal only shows the latest notification. Open that URL through the tunnel, preserving the `?token=...` parameter. If SSH is not auto-detected, use `/studio --no-browser`; for stable forwarding, use `/studio --port <port>` or combine them, e.g. `/studio --no-browser --port 3417`.
154
155
  - Full Studio is a singleton per Pi session: use `/studio` to open it, `/studio-replace` to explicitly replace it, and `/studio-editor-only` for extra editing/preview tabs that do not take over the full Studio session view.
155
156
  - Studio is designed as a complement to terminal pi, not a replacement.