pi-studio 0.5.44 → 0.5.46

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,30 @@ All notable changes to `pi-studio` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.5.46] — 2026-04-07
8
+
9
+ ### Added
10
+ - Studio comments can now be created directly from selected text in both **Editor (Raw)** and **Editor (Preview)** via a lightweight contextual **Comment** action, so commenting feels more consistent across editing and reading surfaces.
11
+
12
+ ### Changed
13
+ - Preview-side commenting is now selection-only: the transient **Comment** action appears only for active preview text selections, instead of leaving persistent preview comment markers in the right pane.
14
+ - The dock footer comment fallback in **Editor (Raw)** is now de-emphasised and renamed to **Line comment**, making the main comment model selection-first while still keeping a quick current-line option.
15
+ - Comment **Jump** now also reveals and briefly highlights the matching location in the right pane when it is showing **Editor (Preview)**.
16
+ - Preview comment anchoring is now more robust for rendered Markdown with thematic breaks and later blocks in longer documents.
17
+
18
+ ## [0.5.45] — 2026-04-05
19
+
20
+ ### Added
21
+ - Studio now has local **Comments** for editor documents and drafts. Comments can be created from the current selection/line, shown in a docked side-by-side comments rail, jumped to, edited, deleted, and kept out of the document text by default.
22
+ - **Editor (Raw)** now shows subtle comment gutter markers for lines with anchored comments, making it easier to spot commented regions and reopen the related comment from the editor surface.
23
+ - Comments can now be toggled into inline `[an: ...]` annotations per comment or in bulk without deleting the underlying local comment.
24
+
25
+ ### Changed
26
+ - Studio scratchpad persistence is now backed by extension-side local state instead of browser-port-scoped storage alone, so scratchpad text follows the current document identity more coherently: file-backed documents reliably keep their own scratchpads across refreshes and Pi restarts, while unsaved/blank drafts get their own separate draft-scoped scratchpads instead of sharing one global blank scratchpad across Studio views.
27
+ - Studio draft-scoped scratchpads/comments now survive same-tab browser refreshes more reliably, and the **Editor origin** badge is now clickable so you can **Reset origin** into a fresh draft while carrying the current local scratchpad/comments forward.
28
+ - Studio browser-tab favicon experiments now use a simpler `π`-only state treatment again: idle uses the current theme text colour, running switches the `π` to warn/amber, completed/ready attention switches it to ok/green, connecting uses the accent colour, disconnected uses the error colour, and the title attention text keeps its leading `●` marker for clearer completion notification in the tab text.
29
+ - Studio browser-tab activity titles now distinguish direct model generation (`Thinking…`) from reply/critique phases more clearly and fall back to `Working…` for generic busy states.
30
+
7
31
  ## [0.5.44] — 2026-04-03
8
32
 
9
33
  ### Changed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pi-studio
2
2
 
3
- Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace for working with prompts, responses, Markdown and LaTeX documents, code files, and other common text-based files side by side. Annotate responses and files, write, edit, and run prompts, browse prompt and response history, request critiques, and use live preview for code, Markdown, and LaTeX.
3
+ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace for working with prompts, responses, Markdown and LaTeX documents, code files, and other common text-based files side by side. Annotate responses and files, add local comments, write, edit, and run prompts, browse prompt and response history, request critiques, and use live preview for code, Markdown, and LaTeX.
4
4
 
5
5
  ## Screenshots
6
6
 
@@ -18,6 +18,7 @@ Extension for [pi](https://pi.dev) that opens a local two-pane browser workspace
18
18
  - Supports one canonical full Studio view per Pi session, plus additional editor-only companion views when you just want extra editing/preview surfaces
19
19
  - Runs editor text directly, or asks for structured critique (auto/writing/code focus)
20
20
  - 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
21
+ - Includes local comments anchored to selections/lines, shown in a docked **Comments** rail, with **Comment** actions from raw-editor and editor-preview selections plus optional inline `[an: ...]` toggles when you want them in the document text
21
22
  - Browses response history (`Prev/Next/Last`) and loads either:
22
23
  - response text
23
24
  - critique notes/full critique