pi-studio 0.6.5 → 0.6.6
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 +5 -0
- package/client/studio-client.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to `pi-studio` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.6.6] — 2026-04-30
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Studio now opens the right pane on **Editor (Preview)** by default for file-backed and blank launches, while last-response launches still open on the response preview.
|
|
11
|
+
|
|
7
12
|
## [0.6.5] — 2026-04-30
|
|
8
13
|
|
|
9
14
|
### Changed
|
package/client/studio-client.js
CHANGED
|
@@ -174,8 +174,13 @@
|
|
|
174
174
|
let pendingKind = null;
|
|
175
175
|
let stickyStudioKind = null;
|
|
176
176
|
let initialDocumentApplied = false;
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
function getInitialRightView(source) {
|
|
178
|
+
if (isEditorOnlyMode) return "editor-preview";
|
|
179
|
+
return String(source || "").trim() === "last-response" ? "preview" : "editor-preview";
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
let editorView = "markdown";
|
|
183
|
+
let rightView = getInitialRightView(initialSourceState.source);
|
|
179
184
|
let followLatest = !isEditorOnlyMode;
|
|
180
185
|
let queuedLatestResponse = null;
|
|
181
186
|
let latestResponseMarkdown = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Two-pane browser workspace for pi with prompt/response editing, annotations, critiques, prompt/response history, and live Markdown/LaTeX/code preview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|