pi-studio 0.9.23 → 0.9.24

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
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to `pi-studio` are documented here.
4
4
 
5
+ ## [0.9.24] — 2026-06-01
6
+
7
+ ### Added
8
+ - Added a read-only **Changes** right-pane view with changed-file list, per-file diff preview, refresh, open-file, load-diff, and copy-diff actions.
9
+ - Added `studio_export_pdf` and `studio_export_html` agent tools so Pi can export direct Markdown/LaTeX, local files, or the last model response without the slash-command path.
10
+ - Added a Source & context status note explaining that Studio branch history follows the current Pi branch while editor text stays independent.
11
+ - Added an in-panel **Hide** control for Scratchpad Recent recovery.
12
+
13
+ ### Changed
14
+ - Removed the old top-bar **Load git diff** shortcut now that the right-pane **Changes** view provides load/copy/open actions.
15
+ - Renamed the response-history label to **Branch history** to make its current-branch scope clearer.
16
+ - Softened active Scratchpad, Comments, Outline, Focus pane, HTML comment-mode, trace-filter, and Working status styling so they avoid filled highlight pills.
17
+
5
18
  ## [0.9.23] — 2026-05-31
6
19
 
7
20
  ### Changed
package/README.md CHANGED
@@ -23,6 +23,7 @@ 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 **Changes** view for browsing the current git diff by file, previewing per-file diffs, opening changed files, loading the full diff into the editor, and copying the diff
26
27
  - 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
28
  - 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
29
  - 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, with a **Recent…** picker for recovering scratchpads saved under earlier file/draft identities
@@ -44,7 +45,7 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
44
45
  - Embeds local PDFs in Studio Markdown previews via explicit `studio-pdf` fenced blocks, with a Focus action for temporarily enlarging the embedded viewer
45
46
  - Ships optional `pi-studio-dark` and `pi-studio-light` themes tuned for Studio's browser workspace
46
47
  - Exports right-pane preview as PDF (pandoc + LaTeX) or standalone HTML into the source file directory, Studio working directory, or Pi session directory; PDF export can open in a Studio preview tab or the default PDF viewer, and HTML export can open in the default browser or in a new Studio editor tab for inspection/commenting, while preserving authored HTML previews as HTML and rendering CSV/TSV editor previews as tables
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
+ - 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. Agent tools `studio_export_pdf` and `studio_export_html` expose the same export pipeline for remote/Telegram-style sessions.
48
49
  - Shows model/session/context usage in the footer, plus a compact-context action
49
50
 
50
51
  ## Commands
@@ -64,6 +65,13 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
64
65
  | `/studio-pdf [path] [options]` | Export a local file, or the last model response when no path is given, via the Studio PDF pipeline |
65
66
  | `/studio-html [path]` | Export a local file, or the last model response when no path is given, to standalone HTML via the Studio preview pipeline |
66
67
 
68
+ ## Agent tools
69
+
70
+ | Tool | Description |
71
+ |---|---|
72
+ | `studio_export_pdf` | Export direct Markdown/LaTeX, a local file, or the last model response to PDF. Defaults to writing a file without opening a viewer. |
73
+ | `studio_export_html` | Export direct Markdown/LaTeX, a local file, or the last model response to standalone HTML. Defaults to writing a file without opening a viewer. |
74
+
67
75
  ## Install
68
76
 
69
77
  ```bash