pi-studio 0.11.5 → 0.11.7

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,35 @@ All notable changes to `pi-studio` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.11.7] — 2026-11-02
8
+
9
+ This release brings the REPL pane up to pi-repl 0.11.7.
10
+
11
+ ### Added
12
+ - The agent is told what's new in the REPL record: your sends and notes, other clients' sends, and output that arrived late. Studio adds the entries it hasn't been shown when a run starts and to `studio_repl_send` and `studio_repl_status` results, for the session in the REPL pane and the sessions the agent used. `studio_repl_status` also lists recent entries (`recent`) or one (`entryId`). `PI_REPL_RECORD_ACTIVITY=send` keeps this to results, and `off` stops it; unset, it follows `PI_REPL_PANE_ACTIVITY`. Under **Shared REPL Record** the page says when new entries go to the agent and its model provider, and in Pi's terminal each report is one line until expanded.
13
+ - Your REPL sends and notes are recorded under your name. Quick send shows **Sending as** with ✎ to change the name for this page. The default is `PI_REPL_USER_NAME`, then the name saved with pi-repl's `/repl name` or `agent-repl name`, then "User". The record, the page and the agent show who sent each entry and how, such as "Ana · via Pi Studio" or "Sam · via terminal", as pi-repl and agent-markdown-preview do.
14
+
15
+ ### Changed
16
+ - A send that outlasts its wait keeps the session until its code finishes, then records its output. Before, its entry stayed "timeout" with the output so far. The page's card shows "Running…", and the agent is told not to send it again.
17
+ - A send from the page is recorded or not sent. If the session's shared record can't be used, another client holds the session or the first entry can't be written, Studio says why and sends nothing. The agent's sends still run when the record's details can't be used, as in pi-repl.
18
+ - A session's shared record is used only from the record directory its key names, as in pi-repl 0.11.7. Studio sets the key when it starts a session or first writes to one, and refuses a record in another or replaced temporary directory, such as one an ssh login with a different `TMPDIR` made; the record panel says why. Studio no longer sets record details on every session it lists.
19
+ - Studio doesn't paste into, or send Ctrl+C to, a session where pi-repl takes code through its own helper, such as pi-repl's LFortran session. It says "This session takes code only through pi-repl."
20
+ - A record entry shows who sent it in place of its kind, origin and time, which are in its tooltip.
21
+ - In the new layout, the REPL pane's **Start cmd** field has a plain border while you type in it, like the other text fields, in place of the browser's blue ring.
22
+
23
+ ### Fixed
24
+ - **File → Open file…** is no longer sometimes refused with "Checkpoint the current editor before opening a file." just after a reload, while a background save of an unchanged checkpoint was still finishing.
25
+
26
+ ## [0.11.6] — 2026-10-30
27
+
28
+ ### Added
29
+ - **Messages**, a filter in Working, shows the prompt, what Pi wrote along the way and the steers, without thinking or tools. Steps keep their numbers from the whole run, and **Copy visible** copies just those.
30
+
31
+ ### Changed
32
+ - In the new layout, an Assistant step's line shows its first line whether the step is open or folded, so you can tell what it said whatever is folded inside it. In 0.11.5 it showed only while the step was folded. The prompt and a steer still hide theirs when open, since their text sits right under the line.
33
+ - In the new layout, Working has one **Expand all** / **Collapse all** button, labelled with what a click does, as in agent-markdown-preview. Expand all now holds for the rest of the run, as Collapse all already did: steps that start later arrive open, until Collapse all. Ctrl+Shift+] and Ctrl+Shift+[ are unchanged.
34
+ - In the new layout, Working's row has **Copy visible** and no **Load visible into editor**, so it fits on one line beside the editor; copy and paste does the same. The classic layout keeps Load.
35
+
7
36
  ## [0.11.5] — 2026-10-29
8
37
 
9
38
  ### Added
package/README.md CHANGED
@@ -136,7 +136,7 @@ Icons in exported PDFs need Mermaid CLI 11.12+ (`npm install -g @mermaid-js/merm
136
136
 
137
137
  ### REPL
138
138
 
139
- The REPL pane runs code in tmux sessions. It can start its own, and it shares a record of submissions and output with [pi-repl](https://github.com/omaclaren/pi-repl) when both use the same session. Pane echo sets how much submitted code goes into the raw tmux history, as in pi-repl: up to 20 lines with Summary, the default, up to 40 with Full, and none with Off. The record format is in [`shared/REPL_SESSION_RECORD_PROTOCOL.md`](./shared/REPL_SESSION_RECORD_PROTOCOL.md).
139
+ The REPL pane runs code in tmux sessions. It can start its own, and it shares a record of submissions and output with [pi-repl](https://github.com/omaclaren/pi-repl) when both use the same session. Pane echo sets how much submitted code goes into the raw tmux history, as in pi-repl: up to 20 lines with Summary, the default, up to 40 with Full, and none with Off. Your sends and notes are recorded under your name (**Sending as**, under Quick send). The agent is told of record entries it hasn't seen, such as your sends, other clients' sends and late output, when a run starts and with its REPL tools' results. The record format is in [`shared/REPL_SESSION_RECORD_PROTOCOL.md`](./shared/REPL_SESSION_RECORD_PROTOCOL.md).
140
140
 
141
141
  ### Side questions
142
142
 
@@ -157,6 +157,8 @@ For a container, `/studio --no-browser --listen-all --port 4321` listens on all
157
157
  | `BRAVE_API_KEY` | Enables web search in side questions |
158
158
  | `PI_STUDIO_FONT_MONO`, `PI_STUDIO_FONT_UI`, `PI_STUDIO_FONT_PROSE` | CSS font stacks for code, interface and previews |
159
159
  | `PI_STUDIO_REPL_ECHO_MODE` | Default pane echo for `studio_repl_send`: `summary` (the default), `off` or `full` |
160
+ | `PI_REPL_USER_NAME` | The name your REPL sends and notes are recorded under, ahead of the name saved with pi-repl |
161
+ | `PI_REPL_RECORD_ACTIVITY` | Whether the agent is told of new REPL record entries: `on` (the default: at a run's start and in REPL tool results), `send` (in results only) or `off`; unset, it follows `PI_REPL_PANE_ACTIVITY` |
160
162
  | `PI_STUDIO_PANDOC_TIMEOUT_MS`, `PI_STUDIO_LATEX_TIMEOUT_MS`, `PI_STUDIO_MERMAID_TIMEOUT_MS` | Export time limits |
161
163
 
162
164
  Installing pi-studio also adds `pi-studio-dark` and `pi-studio-light` to Pi's themes, without changing your current theme.