pi-studio 0.7.0 → 0.8.0
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 +7 -0
- package/README.md +5 -4
- package/client/studio-client.js +489 -29
- package/client/studio.css +61 -0
- package/index.ts +1128 -40
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to `pi-studio` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.8.0] — 2026-05-12
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Added first-cut standalone HTML export for Studio previews, including `/studio-html <path>` and a right-preview PDF/HTML export menu.
|
|
11
|
+
- `/studio-pdf` and `/studio-html` without a path now export the last model response to timestamped files.
|
|
12
|
+
- The Working view now keeps bounded in-memory snapshots for completed responses and follows the selected response when cycling response history.
|
|
13
|
+
|
|
7
14
|
## [0.7.0] — 2026-05-06
|
|
8
15
|
|
|
9
16
|
### Added
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
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
23
|
- Runs editor text directly, or asks for structured critique (auto/writing/code focus)
|
|
24
|
-
- Includes a live **Working** view for following current model/tool activity, with `All` / `Thinking` / `Tools` filters plus **Load visible into editor** and **Copy visible** actions
|
|
24
|
+
- Includes a live **Working** view for following current model/tool activity, with `All` / `Thinking` / `Tools` filters 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
25
|
- 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
|
|
26
26
|
- 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
|
|
27
27
|
- 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
|
|
@@ -37,8 +37,8 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
37
37
|
- Renders Markdown/LaTeX/code previews (math + Mermaid), theme-synced with pi
|
|
38
38
|
- Embeds local PDFs in Studio Markdown previews via explicit `studio-pdf` fenced blocks
|
|
39
39
|
- Ships optional `pi-studio-dark` and `pi-studio-light` themes tuned for Studio's browser workspace
|
|
40
|
-
- Exports right-pane preview as PDF (pandoc + LaTeX)
|
|
41
|
-
- Exports local files headlessly via `/studio-pdf <path>` to `<name>.studio.pdf`
|
|
40
|
+
- Exports right-pane preview as PDF (pandoc + LaTeX) or standalone HTML
|
|
41
|
+
- 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
|
|
42
42
|
- Shows model/session/context usage in the footer, plus a compact-context action
|
|
43
43
|
|
|
44
44
|
## Commands
|
|
@@ -55,7 +55,8 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
|
|
|
55
55
|
| `/studio-replace [path\|--blank\|--last]` | Replace the current full Studio view with a new full Studio view |
|
|
56
56
|
| `/studio-editor-only [path\|--blank\|--last]` | Open an editor-only Studio view; multiple editor-only views may be open at once |
|
|
57
57
|
| `/studio-current <path>` | Load a file into currently open Studio tab(s) without opening a new browser window |
|
|
58
|
-
| `/studio-pdf
|
|
58
|
+
| `/studio-pdf [path] [options]` | Export a local file, or the last model response when no path is given, via the Studio PDF pipeline |
|
|
59
|
+
| `/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 |
|
|
59
60
|
|
|
60
61
|
## Install
|
|
61
62
|
|