pi-studio 0.9.17 → 0.9.18
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 +13 -0
- package/README.md +4 -4
- package/client/studio-client.js +835 -70
- package/client/studio.css +175 -1
- package/index.ts +326 -46
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to `pi-studio` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.9.18] — 2026-05-26
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Added a zoomable image focus viewer for rendered Markdown images, Working-view image outputs, Files-view images, and local image preview links, with Fit, 100%, zoom in/out, reset, fullscreen, modified-wheel/pinch zoom, and active image zoom shortcuts.
|
|
11
|
+
- Added lightweight CSV/TSV preview rendering as scrollable tables with sticky headers, row numbers, and truncation notices while keeping CSV/TSV files editable as plain text; editor-preview exports and `/studio-pdf`/`/studio-html` path exports now render CSV/TSV as tables too.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- Fixed editor-only CSV/TSV tabs to refresh their right-pane table preview when the detected editor language changes.
|
|
15
|
+
- Made the keyboard-shortcuts overlay keyboard-scrollable with arrow keys, Page Up/Down, Home, and End.
|
|
16
|
+
- Added Files-view toolbar actions to copy the current folder path and use the current folder as the Studio working directory.
|
|
17
|
+
- Added Files/local-link actions for opening PDF/image previews in new Studio tabs, plus Pandoc-based DOCX/ODT conversion into editable Markdown editor tabs or the current editor, with an explicit conversion confirmation warning. CSV/TSV files continue to open as plain text, with manual CSV/TSV fixtures for testing.
|
|
18
|
+
- Right-pane preview exports now write PDF/HTML files to the source file directory, the Studio working directory, or the Pi session directory instead of only preparing a temporary file for opening/download.
|
|
19
|
+
|
|
7
20
|
## [0.9.17] — 2026-05-25
|
|
8
21
|
|
|
9
22
|
### Changed
|
package/README.md
CHANGED
|
@@ -23,12 +23,12 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
23
23
|
- Includes a global **Zen** mode for hiding secondary Studio chrome without changing the current left/right pane layout
|
|
24
24
|
- Runs editor text directly, asks for structured critique (auto/writing/code focus), offers a manual **Suggest completion** action for short cursor-aware continuations (`Option/Alt+Tab` where available or `Cmd/Ctrl+Shift+Space` from the editor, `Tab` to insert a visible suggestion) with an optional editor-plus-latest-response context mode, or opens **Quiz me** for a Studio-native active-recall loop over the current editor text, selection, current file, folder, or repo, with optional focus guidance for shaping question selection
|
|
25
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
|
|
26
|
-
- Includes a right-pane **Files** view for browsing the current Pi session/resource directory, opening folders, loading text/code documents into the editor, previewing PDFs/images, copying paths, and revealing files in the file manager
|
|
26
|
+
- Includes a right-pane **Files** view for browsing the current Pi session/resource directory, opening folders, loading text/code/CSV/TSV documents into the editor, previewing PDFs/images, opening PDF/image previews in a new Studio tab, converting DOCX/ODT documents to editable Markdown when Pandoc is available after confirmation, copying paths, setting the current folder as the Studio working directory, and revealing files in the file manager
|
|
27
27
|
- 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/stop/interrupt controls, a compact refresh-persistent **Studio REPL 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
|
|
28
28
|
- Includes a local persistent scratchpad for quick notes you want to keep out of the main editor until you're ready to copy or insert them
|
|
29
29
|
- Includes a docked **Outline** rail for navigating document structure in the current editor text, with clickable entries that jump in the raw editor and reveal matching preview locations when available
|
|
30
30
|
- Restores the current browser-tab editor workspace after refresh and provides an explicit **Reset editor** action when you want to discard the restored draft and return the tab to a fresh blank draft without changing responses or saved files
|
|
31
|
-
- Turns local preview links, including links inside sandboxed HTML previews, into Studio actions: PDFs open in the embedded viewer, text/code/document links can open in a new editor tab, and right-click menus provide **Open here**, **Reveal in file manager**, and **Copy path** for local resources
|
|
31
|
+
- Turns local preview links, including links inside sandboxed HTML previews, into Studio actions: PDFs open in the embedded viewer, images open in a zoomable focus viewer, PDF/image links can open in a new Studio preview tab, text/code/CSV/TSV document links can open in a new editor tab, DOCX/ODT links can be converted to editable Markdown, and right-click menus provide **Open here**, **Reveal in file manager**, and **Copy path** for local resources
|
|
32
32
|
- Includes local comments anchored to selections/lines, shown in a docked **Comments** rail, with transient **Comment** / **Jump** actions from raw-editor selections plus editor-preview selections for Markdown, LaTeX, and code/text/diff previews, alongside optional inline `[an: ...]` toggles when you want comments reflected in the document text
|
|
33
33
|
- Browses response history (`Prev/Next/Last`) and loads either:
|
|
34
34
|
- response text
|
|
@@ -39,11 +39,11 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
39
39
|
- shows/hides annotation markers in preview
|
|
40
40
|
- strips markers before send (optional)
|
|
41
41
|
- saves `.annotated.md`
|
|
42
|
-
- Renders Markdown/LaTeX/code previews (math + Mermaid), theme-synced with pi, with copy buttons for code blocks and blockquotes
|
|
42
|
+
- Renders Markdown/LaTeX/code previews (math + Mermaid) plus lightweight CSV/TSV table previews, theme-synced with pi, with copy buttons for code blocks and blockquotes
|
|
43
43
|
- Renders straight, unfenced interactive HTML in preview via a sandboxed browser iframe with zoom controls, while fenced `html` blocks remain source code
|
|
44
44
|
- Embeds local PDFs in Studio Markdown previews via explicit `studio-pdf` fenced blocks, with a Focus action for temporarily enlarging the embedded viewer
|
|
45
45
|
- Ships optional `pi-studio-dark` and `pi-studio-light` themes tuned for Studio's browser workspace
|
|
46
|
-
- Exports right-pane preview as PDF (pandoc + LaTeX) or standalone HTML, preserving authored HTML previews as HTML
|
|
46
|
+
- Exports right-pane preview as PDF (pandoc + LaTeX) or standalone HTML into the source file directory, Studio working directory, or Pi session directory, preserving authored HTML previews as HTML and rendering CSV/TSV editor previews as tables
|
|
47
47
|
- 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
|
|
48
48
|
- Shows model/session/context usage in the footer, plus a compact-context action
|
|
49
49
|
|