@firstpick/pi-package-webui 0.9.1 → 0.9.2
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/README.md +21 -5
- package/bin/pi-webui-launcher.mjs +23 -12
- package/bin/pi-webui.mjs +479 -60
- package/lib/agent-run-adapters.mjs +500 -0
- package/lib/agent-run-protocol.mjs +262 -0
- package/lib/agent-run-registry.mjs +339 -0
- package/lib/git-workflow-preferences.mjs +11 -4
- package/lib/trust-boundaries.mjs +2 -0
- package/lib/ui-layout-settings.mjs +172 -28
- package/lib/update/package-layout.mjs +50 -0
- package/lib/update/plan.mjs +11 -0
- package/package.json +1 -1
- package/public/app.js +1261 -314
- package/public/index.html +113 -68
- package/public/service-worker.js +1 -1
- package/public/styles.css +371 -93
- package/tests/agent-run-adapters.test.mjs +217 -0
- package/tests/agent-run-launcher.test.mjs +41 -0
- package/tests/agent-run-protocol.test.mjs +82 -0
- package/tests/agent-run-registry.test.mjs +102 -0
- package/tests/boot-failure-diagnostics.test.mjs +3 -3
- package/tests/browser/control-deck-side-panels.spec.mjs +354 -0
- package/tests/browser/controls-layout.spec.mjs +122 -0
- package/tests/browser/file-tree-git-ignored.spec.mjs +113 -0
- package/tests/browser/interaction-continuity.spec.mjs +127 -0
- package/tests/browser/mobile-foundation.spec.mjs +26 -0
- package/tests/browser/model-search-focus.spec.mjs +96 -0
- package/tests/browser/optimistic-prompt.spec.mjs +22 -0
- package/tests/browser/persistent-ui-layout.spec.mjs +224 -66
- package/tests/browser/subagent-observability.spec.mjs +87 -0
- package/tests/codex-fast-mode-static.test.mjs +2 -2
- package/tests/component-update-api-static.test.mjs +2 -1
- package/tests/composer-action-grid-reorder-static.test.mjs +3 -3
- package/tests/control-deck-component-updates-static.test.mjs +2 -0
- package/tests/control-deck-side-panels-static.test.mjs +68 -0
- package/tests/controls-layout-static.test.mjs +22 -0
- package/tests/fast-mode-client-static.test.mjs +1 -1
- package/tests/feature-decision-output-popup-static.test.mjs +2 -2
- package/tests/file-tree-git-ignored-static.test.mjs +152 -0
- package/tests/file-tree-search-layout-static.test.mjs +2 -1
- package/tests/fixtures/fake-pi.mjs +43 -7
- package/tests/git-workflow-preferences.test.mjs +55 -6
- package/tests/http-endpoints-harness.test.mjs +173 -14
- package/tests/middle-button-drag-scroll-static.test.mjs +3 -3
- package/tests/mobile-continuity-tablet-static.test.mjs +3 -3
- package/tests/mobile-foundation-static.test.mjs +3 -3
- package/tests/mobile-phone-experience-static.test.mjs +1 -1
- package/tests/mobile-static.test.mjs +13 -3
- package/tests/open-issue-wizard-static.test.mjs +2 -2
- package/tests/persistent-ui-layout-static.test.mjs +13 -13
- package/tests/questionnaire-dialog.test.mjs +3 -3
- package/tests/remote-auth-settings-harness.test.mjs +1 -1
- package/tests/session-sampling-ui-static.test.mjs +3 -3
- package/tests/side-panel-context-menu-static.test.mjs +1 -1
- package/tests/side-panel-resize-static.test.mjs +26 -16
- package/tests/side-panel-section-height-removal-static.test.mjs +4 -4
- package/tests/side-panel-section-reorder-static.test.mjs +16 -70
- package/tests/subagent-gate-visibility.test.mjs +2 -1
- package/tests/subagent-launch-slots.test.mjs +1 -1
- package/tests/subagent-observability-static.test.mjs +32 -0
- package/tests/subagent-reliability-integration.test.mjs +161 -0
- package/tests/subagents-helper.test.mjs +344 -4
- package/tests/terminal-tabs-resize-static.test.mjs +35 -0
- package/tests/theme-customizer-static.test.mjs +1 -1
- package/tests/ui-layout-settings.test.mjs +104 -32
- package/tests/update-api-harness.test.mjs +24 -10
- package/tests/update-package-layout.test.mjs +38 -0
- package/tests/update-plan.test.mjs +11 -1
- package/tests/webui-settings-locking.test.mjs +33 -3
- package/webui-rpc-helper.mjs +417 -28
package/public/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
13
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
14
14
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
15
|
-
<link rel="stylesheet" href="/styles.css?v=
|
|
15
|
+
<link rel="stylesheet" href="/styles.css?v=115" />
|
|
16
16
|
<script>
|
|
17
17
|
// Public-only issue-bot runtime configuration. Keep disabled unless the gateway,
|
|
18
18
|
// Turnstile site key, exact CORS origin, and private-report destination are approved.
|
|
@@ -82,7 +82,11 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
</section>
|
|
84
84
|
|
|
85
|
-
<button id="
|
|
85
|
+
<button id="sidePanelLeftExpandButton" class="side-panel-expand-button side-panel-expand-button-left" type="button" aria-controls="sidePanelLeft" aria-expanded="false" aria-label="Expand left Control Deck" title="Expand left Control Deck">
|
|
86
|
+
<span class="side-panel-button-icon" aria-hidden="true"><span></span><span></span><span></span></span>
|
|
87
|
+
<span class="side-panel-button-chevron" aria-hidden="true">›</span>
|
|
88
|
+
</button>
|
|
89
|
+
<button id="sidePanelExpandButton" class="side-panel-expand-button side-panel-expand-button-right" type="button" aria-controls="sidePanel" aria-expanded="false" aria-label="Expand right Control Deck" title="Expand right Control Deck">
|
|
86
90
|
<span class="side-panel-button-icon" aria-hidden="true">
|
|
87
91
|
<span></span><span></span><span></span>
|
|
88
92
|
</span>
|
|
@@ -193,8 +197,19 @@
|
|
|
193
197
|
</dialog>
|
|
194
198
|
|
|
195
199
|
<main class="layout">
|
|
200
|
+
<aside id="sidePanelLeft" class="side-panel side-panel-left" aria-label="Left Control Deck" data-control-deck-shell="left" hidden>
|
|
201
|
+
<div id="sidePanelLeftResizeHandle" class="side-panel-resize-handle side-panel-resize-handle-left" role="separator" aria-orientation="vertical" aria-label="Resize left Control Deck width" tabindex="0" title="Drag to resize left Control Deck"></div>
|
|
202
|
+
<div class="side-panel-header">
|
|
203
|
+
<div class="side-panel-heading"><div class="side-panel-brand-row"><span class="side-panel-kicker">Pi Web UI</span></div><strong class="side-panel-title">Left Control Deck</strong><div data-control-deck-version-slot="left"></div></div>
|
|
204
|
+
<div class="side-panel-header-actions"><span data-control-deck-edit-slot="left"></span><button id="toggleSidePanelLeftButton" class="side-panel-toggle-button" type="button" aria-controls="sidePanelLeft" aria-expanded="true" aria-label="Collapse left Control Deck" title="Collapse left Control Deck"><span class="side-panel-button-icon" aria-hidden="true"><span></span><span></span><span></span></span><span class="side-panel-button-chevron" aria-hidden="true">‹</span></button></div>
|
|
205
|
+
</div>
|
|
206
|
+
<div id="sidePanelBodyLeft" class="side-panel-body" data-control-deck-body="left"><div class="side-panel-empty-drop-target" data-control-deck-drop-target="left">Drop sections here for the left Control Deck</div></div>
|
|
207
|
+
<div class="control-deck-shared-footer-slot" data-control-deck-footer-slot="left"></div>
|
|
208
|
+
</aside>
|
|
209
|
+
<div class="workspace-column">
|
|
196
210
|
<section class="chat-panel">
|
|
197
211
|
<header class="terminal-tabs-shell" aria-label="Terminal navigation">
|
|
212
|
+
<div id="terminalTabsResizeHandle" class="terminal-tabs-resize-handle" role="separator" aria-orientation="vertical" aria-label="Resize terminal sidebar width" tabindex="0" title="Drag to resize terminal sidebar" hidden></div>
|
|
198
213
|
<button id="terminalTabsToggleButton" class="terminal-tabs-toggle-button" type="button" aria-controls="terminalTabsDrawerContent" aria-expanded="false">Tabs</button>
|
|
199
214
|
<div id="terminalTabsDrawerContent" class="terminal-tabs-drawer-content" role="region" aria-label="Terminal navigation">
|
|
200
215
|
<div id="tabBar" class="terminal-tabs" role="tablist" aria-label="Pi terminal tabs">
|
|
@@ -686,9 +701,11 @@
|
|
|
686
701
|
<p id="fileViewerStatus" class="file-viewer-status muted" role="status" aria-live="polite"></p>
|
|
687
702
|
</section>
|
|
688
703
|
|
|
704
|
+
</div>
|
|
689
705
|
<button id="sidePanelBackdrop" class="side-panel-backdrop" type="button" aria-label="Close side panel" hidden></button>
|
|
690
|
-
<
|
|
691
|
-
|
|
706
|
+
<div id="controlDeckMovementAnnouncer" class="sr-only" role="status" aria-live="polite" aria-atomic="true"></div>
|
|
707
|
+
<aside id="sidePanel" class="side-panel side-panel-right" aria-label="Right Control Deck" data-control-deck-shell="right">
|
|
708
|
+
<div id="sidePanelResizeHandle" class="side-panel-resize-handle side-panel-resize-handle-right" role="separator" aria-orientation="vertical" aria-label="Resize right Control Deck width" tabindex="0" title="Drag to resize right Control Deck"></div>
|
|
692
709
|
<div class="side-panel-header">
|
|
693
710
|
<div class="side-panel-heading">
|
|
694
711
|
<div class="side-panel-brand-row">
|
|
@@ -716,7 +733,8 @@
|
|
|
716
733
|
</button>
|
|
717
734
|
</div>
|
|
718
735
|
</div>
|
|
719
|
-
<div class="side-panel-body">
|
|
736
|
+
<div id="sidePanelBodyRight" class="side-panel-body" data-control-deck-body="right">
|
|
737
|
+
<div class="side-panel-empty-drop-target" data-control-deck-drop-target="right">Drop sections here for the right Control Deck</div>
|
|
720
738
|
<section class="side-panel-section collapsed" data-side-panel-section="controls">
|
|
721
739
|
<h2>
|
|
722
740
|
<button id="sidePanelSectionToggleControls" class="side-panel-section-toggle" type="button" aria-expanded="false" aria-controls="sidePanelSectionControls" aria-label="Expand Controls section" title="Expand Controls section" data-side-panel-section-toggle="controls">
|
|
@@ -726,35 +744,32 @@
|
|
|
726
744
|
</h2>
|
|
727
745
|
<div id="sidePanelSectionControls" class="side-panel-section-content" hidden>
|
|
728
746
|
<div class="side-panel-controls">
|
|
729
|
-
<p class="controls-intro">Settings apply to this tab, this browser, or the server.</p>
|
|
747
|
+
<p class="controls-intro">Settings apply to this tab, this browser, or the server. Point to or focus a setting name for help.</p>
|
|
730
748
|
|
|
731
749
|
<section class="control-group" aria-labelledby="sessionControlsTitle">
|
|
732
750
|
<div class="control-group-header">
|
|
733
751
|
<div class="control-group-heading">
|
|
734
752
|
<h3 id="sessionControlsTitle">Active session</h3>
|
|
735
|
-
<p>Model, effort, and transcript.</p>
|
|
736
753
|
</div>
|
|
737
754
|
<span class="control-scope-badge">This tab</span>
|
|
738
755
|
</div>
|
|
739
756
|
|
|
740
|
-
<div class="control-
|
|
741
|
-
<
|
|
742
|
-
<label id="modelControlLabel" for="modelSelect"
|
|
743
|
-
|
|
744
|
-
</div>
|
|
745
|
-
<input id="modelSearchInput" class="model-search-input" type="search" placeholder="Search models…" autocomplete="off" spellcheck="false" hidden />
|
|
757
|
+
<div class="control-row">
|
|
758
|
+
<span class="control-row-label" data-tooltip="Which AI model this tab uses for new messages. Click Model to search every available model, pick one, then press Apply." aria-label="Model. Which AI model this tab uses for new messages. Click Model to search every available model, pick one, then press Apply." role="button" tabindex="0">
|
|
759
|
+
<label id="modelControlLabel" for="modelSelect">Model</label>
|
|
760
|
+
</span>
|
|
746
761
|
<div class="control-action-row">
|
|
747
762
|
<select id="modelSelect" title="Model"></select>
|
|
748
763
|
<button id="setModelButton" class="control-apply-button" type="button" aria-label="Apply selected model">Apply</button>
|
|
749
764
|
</div>
|
|
750
|
-
<
|
|
765
|
+
<input id="modelSearchInput" class="model-search-input control-row-full" type="search" placeholder="Search models…" autocomplete="off" spellcheck="false" hidden />
|
|
766
|
+
<div id="modelSearchResults" class="model-search-results control-row-full" role="listbox" aria-label="Model search results" hidden></div>
|
|
751
767
|
</div>
|
|
752
768
|
|
|
753
|
-
<div class="control-
|
|
754
|
-
<
|
|
769
|
+
<div class="control-row">
|
|
770
|
+
<span class="control-row-label" data-tooltip="How much hidden reasoning the model may use before answering. Higher levels help with hard problems but respond slower; off answers immediately. Press Apply to activate." aria-label="Thinking effort. How much hidden reasoning the model may use before answering. Higher levels help with hard problems but respond slower; off answers immediately. Press Apply to activate." role="button" tabindex="0">
|
|
755
771
|
<label for="thinkingSelect">Thinking effort</label>
|
|
756
|
-
|
|
757
|
-
</div>
|
|
772
|
+
</span>
|
|
758
773
|
<div class="control-action-row">
|
|
759
774
|
<select id="thinkingSelect" title="Thinking effort">
|
|
760
775
|
<option value="off">off</option>
|
|
@@ -769,12 +784,13 @@
|
|
|
769
784
|
</div>
|
|
770
785
|
</div>
|
|
771
786
|
|
|
772
|
-
<div class="control-
|
|
773
|
-
<span class="control-label">
|
|
787
|
+
<div class="control-row thinking-visibility-control-field">
|
|
788
|
+
<span class="control-row-label" data-tooltip="Show or hide the model’s reasoning in the transcript. Answers stay visible either way. Shortcut: Ctrl+T." aria-label="Thinking output. Show or hide the model’s reasoning in the transcript. Answers stay visible either way. Shortcut: Ctrl+T." role="button" tabindex="0">
|
|
789
|
+
<label for="thinkingVisibilityToggle">Thinking output</label>
|
|
790
|
+
</span>
|
|
774
791
|
<label class="toggle-control" for="thinkingVisibilityToggle">
|
|
775
|
-
<input id="thinkingVisibilityToggle" type="checkbox" checked />
|
|
792
|
+
<input id="thinkingVisibilityToggle" type="checkbox" checked aria-label="Show thinking output" />
|
|
776
793
|
<span>
|
|
777
|
-
<span class="toggle-control-label">Show thinking output</span>
|
|
778
794
|
<span id="thinkingVisibilityStatus" class="toggle-control-hint">Visible</span>
|
|
779
795
|
</span>
|
|
780
796
|
</label>
|
|
@@ -785,52 +801,73 @@
|
|
|
785
801
|
<div class="control-group-header">
|
|
786
802
|
<div class="control-group-heading">
|
|
787
803
|
<h3 id="interfaceControlsTitle">Interface</h3>
|
|
788
|
-
<p>Layout, theme, and alerts.</p>
|
|
789
804
|
</div>
|
|
790
805
|
<span class="control-scope-badge">This browser</span>
|
|
791
806
|
</div>
|
|
792
807
|
|
|
793
|
-
<div class="control-
|
|
794
|
-
<label
|
|
808
|
+
<div class="control-row terminal-tabs-layout-control-field">
|
|
809
|
+
<span class="control-row-label" data-tooltip="Where your open terminal tabs are listed: in a bar above the chat or in a Sidebar on the right." aria-label="Tab placement. Where your open terminal tabs are listed: in a bar above the chat or in a Sidebar on the right." role="button" tabindex="0">
|
|
810
|
+
<label for="terminalTabsLayoutSelect">Tab placement</label>
|
|
811
|
+
</span>
|
|
795
812
|
<select id="terminalTabsLayoutSelect" title="Terminal tabs layout" aria-describedby="terminalTabsLayoutStatus">
|
|
796
813
|
<option value="top">Top bar</option>
|
|
797
|
-
<option value="left">
|
|
814
|
+
<option value="left">Sidebar</option>
|
|
798
815
|
</select>
|
|
799
|
-
<div id="terminalTabsLayoutStatus" class="terminal-tabs-layout-status toggle-control-hint">Top bar · saved in this browser</div>
|
|
816
|
+
<div id="terminalTabsLayoutStatus" class="terminal-tabs-layout-status toggle-control-hint control-row-full">Top bar · saved in this browser</div>
|
|
800
817
|
</div>
|
|
801
818
|
|
|
802
|
-
<div class="control-
|
|
803
|
-
<
|
|
804
|
-
<label for="
|
|
805
|
-
|
|
806
|
-
|
|
819
|
+
<div class="control-row control-deck-placement-control-field">
|
|
820
|
+
<span class="control-row-label" data-tooltip="Choose which desktop side hosts the Control Deck. With Sidebar tabs, Right and Left swap the Control Deck and terminal/tabs rails." aria-label="Control Deck placement. Choose which desktop side hosts the Control Deck." role="button" tabindex="0">
|
|
821
|
+
<label for="controlDeckPlacementSelect">Control Deck placement</label>
|
|
822
|
+
</span>
|
|
823
|
+
<select id="controlDeckPlacementSelect" title="Control Deck placement" aria-describedby="controlDeckPlacementStatus">
|
|
824
|
+
<option value="right">Right</option>
|
|
825
|
+
<option value="left">Left</option>
|
|
826
|
+
<option value="both">Both</option>
|
|
827
|
+
</select>
|
|
828
|
+
<div id="controlDeckPlacementStatus" class="control-deck-placement-status toggle-control-hint control-row-full">Right · saved in WebUI layout</div>
|
|
829
|
+
</div>
|
|
830
|
+
|
|
831
|
+
<div class="control-row">
|
|
832
|
+
<span class="control-row-label" data-tooltip="Choose light or dark colours, or Auto to follow your system setting." aria-label="Theme mode. Choose light or dark colours, or Auto to follow your system setting." role="button" tabindex="0">Theme mode</span>
|
|
807
833
|
<div id="themeSchemeToggle" class="theme-scheme-toggle" role="group" aria-label="Theme mode">
|
|
808
834
|
<button type="button" data-scheme-mode="light" aria-pressed="false" title="Always use your light theme">Light</button>
|
|
809
835
|
<button type="button" data-scheme-mode="dark" aria-pressed="false" title="Always use your dark theme">Dark</button>
|
|
810
836
|
<button type="button" data-scheme-mode="auto" aria-pressed="false" title="Follow your system light/dark setting">Auto</button>
|
|
811
837
|
</div>
|
|
812
|
-
<input id="themeSearchInput" class="model-search-input theme-search-input" type="search" placeholder="Search themes…" autocomplete="off" spellcheck="false" hidden />
|
|
813
|
-
<select id="themeSelect" title="Theme"></select>
|
|
814
|
-
<button id="themeCustomizeButton" class="theme-customize-button" type="button" aria-haspopup="dialog" aria-controls="themeCustomizerDialog">Customize…</button>
|
|
815
|
-
<div id="themeSearchResults" class="model-search-results theme-search-results" role="listbox" aria-label="Theme search results" hidden></div>
|
|
816
838
|
</div>
|
|
817
839
|
|
|
818
|
-
<div class="control-
|
|
819
|
-
<label for="
|
|
840
|
+
<div class="control-row theme-control-field">
|
|
841
|
+
<span class="control-row-label" data-tooltip="The colour theme for this browser. Click Theme to search installed themes; Customize… lets you adjust colours or create your own." aria-label="Theme. The colour theme for this browser. Click Theme to search installed themes; Customize lets you adjust colours or create your own." role="button" tabindex="0">
|
|
842
|
+
<label for="themeSelect" id="themeControlLabel">Theme</label>
|
|
843
|
+
</span>
|
|
844
|
+
<div class="control-action-row">
|
|
845
|
+
<select id="themeSelect" title="Theme"></select>
|
|
846
|
+
<button id="themeCustomizeButton" class="theme-customize-button" type="button" aria-haspopup="dialog" aria-controls="themeCustomizerDialog">Customize…</button>
|
|
847
|
+
</div>
|
|
848
|
+
<input id="themeSearchInput" class="model-search-input theme-search-input control-row-full" type="search" placeholder="Search themes…" autocomplete="off" spellcheck="false" hidden />
|
|
849
|
+
<div id="themeSearchResults" class="model-search-results theme-search-results control-row-full" role="listbox" aria-label="Theme search results" hidden></div>
|
|
850
|
+
</div>
|
|
851
|
+
|
|
852
|
+
<div class="control-row background-control-field">
|
|
853
|
+
<span class="control-row-label" data-tooltip="Show your own image behind the interface. PNG, JPEG, WebP, or GIF; press × to return to the theme default." aria-label="Background. Show your own image behind the interface. PNG, JPEG, WebP, or GIF; press remove to return to the theme default." role="button" tabindex="0">
|
|
854
|
+
<label for="backgroundInput">Background</label>
|
|
855
|
+
</span>
|
|
820
856
|
<input id="backgroundInput" class="background-input" type="file" accept="image/png,image/jpeg,image/webp,image/gif" />
|
|
821
|
-
<div class="background-control-row">
|
|
857
|
+
<div class="control-action-row background-control-row">
|
|
822
858
|
<button id="backgroundChooseButton" type="button">Choose image</button>
|
|
823
859
|
<button id="backgroundClearButton" class="background-clear-button" type="button" aria-label="Remove custom background" title="Remove custom background" hidden>×</button>
|
|
824
860
|
</div>
|
|
825
|
-
<div id="backgroundStatus" class="background-status muted">Theme default</div>
|
|
861
|
+
<div id="backgroundStatus" class="background-status muted control-row-full">Theme default</div>
|
|
826
862
|
</div>
|
|
827
863
|
|
|
828
|
-
<div class="control-
|
|
829
|
-
<span class="control-label"
|
|
864
|
+
<div class="control-row notification-control-field">
|
|
865
|
+
<span class="control-row-label" data-tooltip="Show a browser notification when the agent finishes while you are away from this tab. Your browser asks for permission first." aria-label="Notifications. Show a browser notification when the agent finishes while you are away from this tab. Your browser asks for permission first." role="button" tabindex="0">
|
|
866
|
+
<label for="agentDoneNotificationsToggle">Notifications</label>
|
|
867
|
+
</span>
|
|
830
868
|
<label class="toggle-control" for="agentDoneNotificationsToggle">
|
|
831
|
-
<input id="agentDoneNotificationsToggle" type="checkbox" />
|
|
869
|
+
<input id="agentDoneNotificationsToggle" type="checkbox" aria-label="Agent done notifications" />
|
|
832
870
|
<span>
|
|
833
|
-
<span class="toggle-control-label">Agent done notifications</span>
|
|
834
871
|
<span id="agentDoneNotificationsStatus" class="toggle-control-hint">Off</span>
|
|
835
872
|
</span>
|
|
836
873
|
</label>
|
|
@@ -841,15 +878,13 @@
|
|
|
841
878
|
<div class="control-group-header">
|
|
842
879
|
<div class="control-group-heading">
|
|
843
880
|
<h3 id="outputProcessingControlsTitle">Output processing</h3>
|
|
844
|
-
<p>Default rendering for new Web UI connections.</p>
|
|
845
881
|
</div>
|
|
846
882
|
<span class="control-scope-badge">Server</span>
|
|
847
883
|
</div>
|
|
848
|
-
<div class="control-
|
|
849
|
-
<
|
|
884
|
+
<div class="control-row">
|
|
885
|
+
<span class="control-row-label" data-tooltip="Lightweight browser rendering; Markdown final output; live thinking expanded; stored thinking grouped and collapsed. Experimental and faster on slow devices." aria-label="Compact mode, experimental. Lightweight browser rendering; Markdown final output; live thinking expanded; stored thinking grouped and collapsed. Faster on slow devices." role="button" tabindex="0">
|
|
850
886
|
<label for="fastOutputModeSelect">Compact mode (Experimental)</label>
|
|
851
|
-
|
|
852
|
-
</div>
|
|
887
|
+
</span>
|
|
853
888
|
<div class="control-action-row">
|
|
854
889
|
<select id="fastOutputModeSelect" title="Output processing mode" aria-describedby="fastOutputModeStatus">
|
|
855
890
|
<option value="normal">Normal</option>
|
|
@@ -857,7 +892,7 @@
|
|
|
857
892
|
</select>
|
|
858
893
|
<button id="setFastOutputModeButton" class="control-apply-button" type="button" aria-label="Apply selected output processing mode" disabled>Apply</button>
|
|
859
894
|
</div>
|
|
860
|
-
<div id="fastOutputModeStatus" class="toggle-control-hint" role="status" aria-live="polite">Loading server default…</div>
|
|
895
|
+
<div id="fastOutputModeStatus" class="toggle-control-hint control-row-full" role="status" aria-live="polite">Loading server default…</div>
|
|
861
896
|
</div>
|
|
862
897
|
</section>
|
|
863
898
|
|
|
@@ -865,21 +900,30 @@
|
|
|
865
900
|
<div class="control-group-header">
|
|
866
901
|
<div class="control-group-heading">
|
|
867
902
|
<h3 id="remoteAccessControlsTitle">Remote access</h3>
|
|
868
|
-
<p>LAN access and PIN protection.</p>
|
|
869
903
|
</div>
|
|
870
904
|
<span class="control-scope-badge warning">Network</span>
|
|
871
905
|
</div>
|
|
872
|
-
<div
|
|
873
|
-
|
|
874
|
-
<
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
906
|
+
<div class="control-row network-status-control-row">
|
|
907
|
+
<span class="control-row-label" data-tooltip="Shows whether this Web UI is available only on this computer or also to trusted devices on your local network." aria-label="Connection. Shows whether this Web UI is available only on this computer or also to trusted devices on your local network." role="button" tabindex="0">Connection</span>
|
|
908
|
+
<div id="networkStatus" class="network-status closed">Local only</div>
|
|
909
|
+
</div>
|
|
910
|
+
<div class="control-row remote-auth-control-row" hidden>
|
|
911
|
+
<span class="control-row-label" data-tooltip="Require a PIN before another device can open this Web UI. Keep the PIN private and use remote access only on a trusted network." aria-label="PIN protection. Require a PIN before another device can open this Web UI. Keep the PIN private and use remote access only on a trusted network." role="button" tabindex="0">
|
|
912
|
+
<label for="remoteAuthToggle">PIN protection</label>
|
|
878
913
|
</span>
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
914
|
+
<label class="toggle-control remote-auth-toggle" for="remoteAuthToggle">
|
|
915
|
+
<input id="remoteAuthToggle" type="checkbox" />
|
|
916
|
+
<span>
|
|
917
|
+
<span id="remoteAuthStatus" class="toggle-control-hint">Off</span>
|
|
918
|
+
</span>
|
|
919
|
+
</label>
|
|
920
|
+
</div>
|
|
921
|
+
<div class="control-row network-actions-control-row">
|
|
922
|
+
<span class="control-row-label" data-tooltip="Open or close access for trusted devices on your local network. When open, use the QR code to connect another device." aria-label="Network access. Open or close access for trusted devices on your local network. When open, use the QR code to connect another device." role="button" tabindex="0">Network access</span>
|
|
923
|
+
<div class="network-action-row">
|
|
924
|
+
<button id="openNetworkButton" type="button">Open for remote access</button>
|
|
925
|
+
<button id="showRemoteQrButton" type="button" hidden>Open QR-Code</button>
|
|
926
|
+
</div>
|
|
883
927
|
</div>
|
|
884
928
|
</section>
|
|
885
929
|
|
|
@@ -887,12 +931,13 @@
|
|
|
887
931
|
<div class="control-group-header">
|
|
888
932
|
<div class="control-group-heading">
|
|
889
933
|
<h3 id="serverControlsTitle">Server</h3>
|
|
890
|
-
<p>Maintenance actions affect every open tab.</p>
|
|
891
934
|
</div>
|
|
892
935
|
<span class="control-scope-badge danger">System</span>
|
|
893
936
|
</div>
|
|
894
|
-
<div class="control-
|
|
895
|
-
<label
|
|
937
|
+
<div class="control-row server-control-field">
|
|
938
|
+
<span class="control-row-label" data-tooltip="Pick a maintenance action and press Run: restart the server, apply staged updates, or stop it completely." aria-label="Server action. Pick a maintenance action and press Run: restart the server, apply staged updates, or stop it completely." role="button" tabindex="0">
|
|
939
|
+
<label for="serverActionSelect">Action</label>
|
|
940
|
+
</span>
|
|
896
941
|
<div class="server-action-row">
|
|
897
942
|
<select id="serverActionSelect" title="Server action" aria-label="Server action">
|
|
898
943
|
<option value="" selected>Choose action…</option>
|
|
@@ -903,7 +948,7 @@
|
|
|
903
948
|
</select>
|
|
904
949
|
<button id="runServerActionButton" type="button" disabled>Run</button>
|
|
905
950
|
</div>
|
|
906
|
-
<div id="serverActionStatus" class="server-action-status muted" role="status" aria-live="polite"></div>
|
|
951
|
+
<div id="serverActionStatus" class="server-action-status muted control-row-full" role="status" aria-live="polite"></div>
|
|
907
952
|
</div>
|
|
908
953
|
</section>
|
|
909
954
|
</div>
|
|
@@ -1053,7 +1098,7 @@
|
|
|
1053
1098
|
</button>
|
|
1054
1099
|
</h2>
|
|
1055
1100
|
<div id="sidePanelSectionSubagents" class="side-panel-section-content" hidden>
|
|
1056
|
-
<p class="subagents-help"><strong>How
|
|
1101
|
+
<p class="subagents-help"><strong>How it works:</strong> Managed and registered Pi agent runs appear here. Runs linked to an open terminal stay with that terminal; other registered SDK, process, or attached sessions appear under <strong>External agents</strong>.</p>
|
|
1057
1102
|
<details id="subagentLaunchSlots" class="subagent-launch-slots">
|
|
1058
1103
|
<summary class="subagent-launch-slots-summary">
|
|
1059
1104
|
<span class="subagent-launch-slots-summary-heading">
|
|
@@ -1152,7 +1197,7 @@
|
|
|
1152
1197
|
</div>
|
|
1153
1198
|
</section>
|
|
1154
1199
|
</div>
|
|
1155
|
-
<footer class="side-panel-footer">
|
|
1200
|
+
<footer class="side-panel-footer" data-control-deck-shared-footer>
|
|
1156
1201
|
<button id="openIssueButton" class="open-issue-button" type="button" aria-haspopup="dialog" aria-controls="issueWizardDialog">Open Issue</button>
|
|
1157
1202
|
</footer>
|
|
1158
1203
|
</aside>
|
|
@@ -1749,7 +1794,7 @@
|
|
|
1749
1794
|
</form>
|
|
1750
1795
|
</dialog>
|
|
1751
1796
|
|
|
1752
|
-
<script id="webuiBootLoader" data-app-src="/app.js?v=
|
|
1797
|
+
<script id="webuiBootLoader" data-app-src="/app.js?v=132">
|
|
1753
1798
|
(() => {
|
|
1754
1799
|
"use strict";
|
|
1755
1800
|
|
package/public/service-worker.js
CHANGED