pi-studio 0.9.1 → 0.9.3
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 +17 -0
- package/README.md +3 -1
- package/client/studio-client.js +389 -57
- package/client/studio.css +287 -3
- package/index.ts +288 -323
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to `pi-studio` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.9.3] — 2026-05-16
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Simplified the global Zen button label to text-only (`Zen` / `Exit Zen`).
|
|
11
|
+
- Removed the visible Fresh/Classic UI toggle; Studio now keeps the refreshed UI by default, with the legacy layout still available only via `?uiRefresh=0` for now.
|
|
12
|
+
|
|
13
|
+
## [0.9.2] — 2026-05-16
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Added a global **Zen** / **Exit Zen** toggle that hides secondary Studio chrome while preserving the current pane layout and panel focus state.
|
|
17
|
+
- Added a Focus action for explicit `studio-pdf` preview cards, opening the embedded PDF in a larger Studio overlay with optional browser fullscreen.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
- HTML export no longer lets Pandoc's standalone template/CSS leak into the exported document for local-resource previews, fixing narrow/mobile-like exports for larger documents with embedded assets.
|
|
21
|
+
- HTML/PDF export subprocess handling now uses bounded output capture and explicit timeout paths without truncating successful embedded-asset HTML renders.
|
|
22
|
+
- PDF Focus now works from response previews before the same card has been rendered in editor preview, and its controls use theme-consistent focus/fullscreen icons.
|
|
23
|
+
|
|
7
24
|
## [0.9.1] — 2026-05-15
|
|
8
25
|
|
|
9
26
|
### Added
|
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
20
20
|
|
|
21
21
|
- Opens a two-pane browser workspace: **Editor** (left) + **Response/Working/Editor Preview** (right)
|
|
22
22
|
- Supports one canonical full Studio view per Pi session, plus additional editor-only companion views when you just want extra editing/preview surfaces; the editor toolbar can open a detached copy of the current editor text as a companion view
|
|
23
|
+
- Includes a global **Zen** mode for hiding secondary Studio chrome without changing the current left/right pane layout
|
|
23
24
|
- Runs editor text directly, or asks for structured critique (auto/writing/code focus)
|
|
24
25
|
- Includes a live **Working** view for following current model/tool activity, with `All` / `Thinking` / `Tools` filters, image previews for image-producing tool outputs, plus **Load visible into editor** and **Copy visible** actions; when cycling response history, Working follows saved working details for the selected response when available
|
|
25
26
|
- Includes an optional tmux-backed **REPL** view for Shell, Python, IPython, Julia, R, GHCi, and Clojure sessions, with Raw/Literate send modes, `Cmd/Ctrl+Shift+Enter` **Send to REPL**, session start/new/stop/interrupt controls, a compact refresh-persistent **REPL Studio** record of user and Pi-sent code, a secondary raw tmux mirror, agent-facing `studio_repl_status` / `studio_repl_send` tools, and Markdown/PDF/HTML export
|
|
@@ -37,7 +38,7 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
37
38
|
- saves `.annotated.md`
|
|
38
39
|
- Renders Markdown/LaTeX/code previews (math + Mermaid), theme-synced with pi, with copy buttons for code blocks and blockquotes
|
|
39
40
|
- Renders straight, unfenced interactive HTML in preview via a sandboxed browser iframe with zoom controls, while fenced `html` blocks remain source code
|
|
40
|
-
- Embeds local PDFs in Studio Markdown previews via explicit `studio-pdf` fenced blocks
|
|
41
|
+
- Embeds local PDFs in Studio Markdown previews via explicit `studio-pdf` fenced blocks, with a Focus action for temporarily enlarging the embedded viewer
|
|
41
42
|
- Ships optional `pi-studio-dark` and `pi-studio-light` themes tuned for Studio's browser workspace
|
|
42
43
|
- Exports right-pane preview as PDF (pandoc + LaTeX) or standalone HTML, preserving authored HTML previews as HTML
|
|
43
44
|
- Exports local files headlessly via `/studio-pdf <path>` to `<name>.studio.pdf` or `/studio-html <path>` to `<name>.studio.html`; without a path, those commands export the last model response to a timestamped file
|
|
@@ -110,6 +111,7 @@ caption: Optional caption
|
|
|
110
111
|
- Full preview/PDF quality depends on `pandoc` (and `xelatex` for PDF):
|
|
111
112
|
- `brew install pandoc`
|
|
112
113
|
- install TeX Live/MacTeX for PDF export
|
|
114
|
+
- Export subprocess timeouts default to bounded values and can be tuned with `PI_STUDIO_PANDOC_TIMEOUT_MS`, `PI_STUDIO_LATEX_TIMEOUT_MS`, `PI_STUDIO_MERMAID_TIMEOUT_MS`, and `PI_STUDIO_HTML_RENDER_OUTPUT_MAX_BYTES` for unusually large embedded-asset HTML exports.
|
|
113
115
|
- Mermaid diagrams in exported PDFs may also require Mermaid CLI (`mmdc` / `@mermaid-js/mermaid-cli`) when you want diagram blocks rendered as diagrams rather than left as code.
|
|
114
116
|
|
|
115
117
|
## License
|