@firstpick/pi-package-webui 0.9.5 → 0.9.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/README.md +11 -5
- package/bin/pi-webui.mjs +457 -77
- package/lib/git-workflow-preferences.mjs +21 -1
- package/lib/optional-feature-catalog.mjs +1 -1
- package/lib/session-actions.mjs +20 -2
- package/lib/session-tree-event-targets.mjs +70 -0
- package/lib/subagent-launch-policy.mjs +375 -0
- package/lib/subagent-launch-slots.mjs +2 -1
- package/package.json +1 -1
- package/public/app.js +2539 -292
- package/public/index.html +87 -31
- package/public/service-worker.js +4 -1
- package/public/stream-derived-output.mjs +799 -0
- package/public/stream-markdown-tail.mjs +204 -0
- package/public/stream-output-controller.mjs +193 -51
- package/public/stream-render-scheduler.mjs +85 -0
- package/public/styles.css +501 -19
- package/public/transcript-renderer.mjs +73 -24
- package/tests/boot-failure-diagnostics.test.mjs +3 -3
- package/tests/browser/composer-action-grid-reorder.spec.mjs +114 -31
- package/tests/browser/control-visibility.spec.mjs +141 -2
- package/tests/browser/events-tree-context-menu.spec.mjs +240 -0
- package/tests/browser/guided-git-fallback.spec.mjs +153 -0
- package/tests/browser/mobile-foundation.spec.mjs +28 -0
- package/tests/browser/stream-output-isolation.spec.mjs +308 -3
- package/tests/browser/user-noticeable-fixes.spec.mjs +204 -0
- package/tests/codex-fast-mode-static.test.mjs +2 -2
- package/tests/compact-sections-static.test.mjs +4 -0
- package/tests/composer-action-grid-reorder-static.test.mjs +8 -7
- package/tests/control-visibility-static.test.mjs +66 -3
- package/tests/controls-layout-static.test.mjs +3 -3
- package/tests/cwd-footer-reliability-static.test.mjs +1 -1
- package/tests/events-tree-context-menu-static.test.mjs +131 -0
- package/tests/fast-mode-client-static.test.mjs +5 -2
- package/tests/feature-decision-output-popup-static.test.mjs +2 -2
- package/tests/file-viewer-image-static.test.mjs +3 -3
- package/tests/fixtures/fake-pi.mjs +57 -10
- package/tests/fixtures/streaming-workloads.mjs +36 -0
- package/tests/footer-provider-usage-visual-static.test.mjs +15 -0
- package/tests/foreground-transcript-catch-up-static.test.mjs +7 -1
- package/tests/git-workflow-preferences.test.mjs +30 -1
- package/tests/guided-git-fallback-runtime.test.mjs +418 -0
- package/tests/guided-git-fallback-ui-static.test.mjs +60 -0
- package/tests/guided-git-message-reliability-static.test.mjs +8 -7
- package/tests/interaction-state-stability-static.test.mjs +3 -1
- package/tests/intercom-conversation-viewer-static.test.mjs +3 -3
- package/tests/intercom-conversations-http.test.mjs +16 -0
- package/tests/main-output-loading-static.test.mjs +3 -3
- 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 +80 -67
- package/tests/open-issue-wizard-static.test.mjs +1 -1
- package/tests/persistent-ui-layout-static.test.mjs +4 -4
- package/tests/prompt-input-vertical-scroll-static.test.mjs +26 -0
- package/tests/questionnaire-dialog.test.mjs +3 -3
- package/tests/remote-auth-settings-harness.test.mjs +23 -0
- package/tests/resource-defaults-helper.test.mjs +12 -0
- package/tests/runtime-error-visibility.test.mjs +3 -3
- package/tests/session-auth-harness.test.mjs +26 -1
- package/tests/session-sampling-helper.test.mjs +1 -0
- package/tests/session-sampling-ui-static.test.mjs +3 -3
- package/tests/session-tree-event-targets.test.mjs +106 -0
- package/tests/side-panel-section-height-removal-static.test.mjs +3 -3
- package/tests/stream-derived-output.test.mjs +121 -0
- package/tests/stream-markdown-tail.test.mjs +218 -0
- package/tests/stream-output-controller.test.mjs +119 -4
- package/tests/stream-output-isolation-static.test.mjs +27 -6
- package/tests/stream-output-workloads.test.mjs +40 -3
- package/tests/stream-render-scheduler.test.mjs +115 -0
- package/tests/streaming-ui-coupling.test.mjs +1 -1
- package/tests/subagent-launch-policy.test.mjs +532 -0
- package/tests/subagent-observability-static.test.mjs +2 -2
- package/tests/subagents-helper.test.mjs +211 -1
- package/tests/syntax-highlighting-static.test.mjs +3 -3
- package/tests/tab-close-continuity-static.test.mjs +23 -0
- package/tests/theme-customizer-static.test.mjs +1 -1
- package/tests/thinking-format-parser.test.mjs +15 -0
- package/tests/todo-filter-static.test.mjs +148 -0
- package/tests/transcript-markdown-tail.test.mjs +137 -0
- package/webui-rpc-helper.mjs +220 -3
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=137" />
|
|
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.
|
|
@@ -982,6 +982,7 @@
|
|
|
982
982
|
<strong>Workspace files</strong>
|
|
983
983
|
<p id="fileTreeCwd" class="file-tree-cwd muted"></p>
|
|
984
984
|
</div>
|
|
985
|
+
<button id="fileTreeNewFileButton" type="button" title="Create a new file in the workspace root (right-click a folder to create inside it)">New file</button>
|
|
985
986
|
<button id="fileTreeRefreshButton" type="button">Refresh</button>
|
|
986
987
|
</div>
|
|
987
988
|
<div class="file-tree-search" role="search">
|
|
@@ -1006,7 +1007,7 @@
|
|
|
1006
1007
|
<div id="sidePanelSectionGit" class="side-panel-section-content" hidden>
|
|
1007
1008
|
<div class="git-side-panel">
|
|
1008
1009
|
<div class="git-side-panel-intro">
|
|
1009
|
-
<p>Expand a repository to view local changes and history.
|
|
1010
|
+
<p>Expand a repository to view local changes and history. Use the ⋯ button or right-click a row for actions.</p>
|
|
1010
1011
|
</div>
|
|
1011
1012
|
<p id="gitPanelStatus" class="git-side-panel-status muted" role="status" aria-live="polite"></p>
|
|
1012
1013
|
<div id="gitPanelGroups" class="git-side-panel-groups" aria-label="Git repositories"></div>
|
|
@@ -1203,10 +1204,25 @@
|
|
|
1203
1204
|
<h2>
|
|
1204
1205
|
<button id="sidePanelSectionToggleEvents" class="side-panel-section-toggle" type="button" aria-expanded="false" aria-controls="sidePanelSectionEvents" aria-label="Expand Events section" title="Expand Events section" data-side-panel-section-toggle="events">
|
|
1205
1206
|
<span class="side-panel-section-label">Events</span>
|
|
1206
|
-
<span class="side-panel-section-
|
|
1207
|
+
<span class="side-panel-section-trailing">
|
|
1208
|
+
<span id="eventsUnreadBadge" class="side-panel-section-badge events-unread-badge" hidden>0</span>
|
|
1209
|
+
<span class="side-panel-section-chevron" aria-hidden="true">›</span>
|
|
1210
|
+
</span>
|
|
1207
1211
|
</button>
|
|
1208
1212
|
</h2>
|
|
1209
1213
|
<div id="sidePanelSectionEvents" class="side-panel-section-content" hidden>
|
|
1214
|
+
<div class="event-filter-bar">
|
|
1215
|
+
<label for="eventFilterSelect">Show</label>
|
|
1216
|
+
<select id="eventFilterSelect" aria-describedby="eventFilterStatus">
|
|
1217
|
+
<option value="all">All events</option>
|
|
1218
|
+
<option value="errors">Errors / failures</option>
|
|
1219
|
+
<option value="warnings">Warnings</option>
|
|
1220
|
+
<option value="tools">Tool activity</option>
|
|
1221
|
+
<option value="tree">Tree available</option>
|
|
1222
|
+
</select>
|
|
1223
|
+
<span id="eventFilterStatus" class="event-filter-status" role="status" aria-live="polite">No events yet</span>
|
|
1224
|
+
</div>
|
|
1225
|
+
<p id="eventFilterEmpty" class="event-filter-empty muted" hidden>No events match this filter.</p>
|
|
1210
1226
|
<div id="eventLog" class="event-log"></div>
|
|
1211
1227
|
</div>
|
|
1212
1228
|
</section>
|
|
@@ -1220,6 +1236,8 @@
|
|
|
1220
1236
|
<div id="fileContextMenu" class="file-context-menu" role="menu" hidden>
|
|
1221
1237
|
<button type="button" role="menuitem" data-file-menu-action="open-default">Open in Default Editor</button>
|
|
1222
1238
|
<button type="button" role="menuitem" data-file-menu-action="open-webui">Open in WebUI</button>
|
|
1239
|
+
<button type="button" role="menuitem" data-file-menu-action="new-file">New file…</button>
|
|
1240
|
+
<button type="button" role="menuitem" data-file-menu-action="new-folder">New folder…</button>
|
|
1223
1241
|
<button type="button" role="menuitem" data-file-menu-action="move">Move/Rename…</button>
|
|
1224
1242
|
<button type="button" role="menuitem" class="danger" data-file-menu-action="delete">Delete…</button>
|
|
1225
1243
|
</div>
|
|
@@ -1230,7 +1248,16 @@
|
|
|
1230
1248
|
<button type="button" role="menuitem" data-git-footer-menu-action="disable">Disable this box</button>
|
|
1231
1249
|
<button type="button" role="menuitem" data-git-footer-menu-action="visibility">Open Git-footer Visibility</button>
|
|
1232
1250
|
</div>
|
|
1251
|
+
<div id="eventTreeContextMenu" class="file-context-menu event-tree-context-menu" role="menu" aria-labelledby="eventTreeContextMenuLabel" hidden>
|
|
1252
|
+
<div id="eventTreeContextMenuLabel" class="event-tree-context-menu-label">Event actions</div>
|
|
1253
|
+
<button id="eventDisplayDetailedAction" type="button" role="menuitemradio" aria-checked="true">Detailed</button>
|
|
1254
|
+
<button id="eventDisplayCompactAction" type="button" role="menuitemradio" aria-checked="false">Compact</button>
|
|
1255
|
+
<div class="event-tree-context-menu-separator" role="separator"></div>
|
|
1256
|
+
<button id="eventTreeContextMenuAction" type="button" role="menuitem">Tree…</button>
|
|
1257
|
+
<div id="eventTreeContextMenuStatus" class="event-tree-context-menu-status info" role="status" aria-live="polite" hidden></div>
|
|
1258
|
+
</div>
|
|
1233
1259
|
|
|
1260
|
+
<div id="noticeToastStack" class="notice-toast-stack" aria-label="Notifications"></div>
|
|
1234
1261
|
<aside id="undoToast" class="undo-toast" aria-live="polite" aria-atomic="true" hidden>
|
|
1235
1262
|
<span id="undoToastMessage" class="undo-toast-message"></span>
|
|
1236
1263
|
<span id="undoToastTime" class="undo-toast-time">Undo available for 10 seconds</span>
|
|
@@ -1405,7 +1432,7 @@
|
|
|
1405
1432
|
</form>
|
|
1406
1433
|
</dialog>
|
|
1407
1434
|
|
|
1408
|
-
<dialog id="confirmationDialog" class="extension-dialog confirmation-dialog">
|
|
1435
|
+
<dialog id="confirmationDialog" class="extension-dialog confirmation-dialog" aria-labelledby="confirmationTitle">
|
|
1409
1436
|
<form method="dialog">
|
|
1410
1437
|
<h2 id="confirmationTitle">Confirm action</h2>
|
|
1411
1438
|
<p id="confirmationSummary"></p>
|
|
@@ -1420,6 +1447,19 @@
|
|
|
1420
1447
|
</form>
|
|
1421
1448
|
</dialog>
|
|
1422
1449
|
|
|
1450
|
+
<dialog id="textPromptDialog" class="extension-dialog text-prompt-dialog" aria-labelledby="textPromptTitle">
|
|
1451
|
+
<form method="dialog">
|
|
1452
|
+
<h2 id="textPromptTitle">Enter a value</h2>
|
|
1453
|
+
<p id="textPromptSummary" class="muted"></p>
|
|
1454
|
+
<input id="textPromptInput" class="dialog-input" type="text" autocomplete="off" spellcheck="false" aria-labelledby="textPromptTitle" />
|
|
1455
|
+
<p id="textPromptError" class="path-picker-error" hidden></p>
|
|
1456
|
+
<menu>
|
|
1457
|
+
<button id="textPromptCancelButton" type="button">Cancel</button>
|
|
1458
|
+
<button id="textPromptConfirmButton" class="primary" type="submit">OK</button>
|
|
1459
|
+
</menu>
|
|
1460
|
+
</form>
|
|
1461
|
+
</dialog>
|
|
1462
|
+
|
|
1423
1463
|
<dialog id="gitPullErrorDialog" class="extension-dialog git-pull-error-dialog" aria-labelledby="gitPullErrorDialogTitle" aria-describedby="gitPullErrorDialogDescription gitPullErrorOutput">
|
|
1424
1464
|
<form method="dialog">
|
|
1425
1465
|
<h2 id="gitPullErrorDialogTitle">Git pull failed</h2>
|
|
@@ -1482,9 +1522,9 @@
|
|
|
1482
1522
|
</form>
|
|
1483
1523
|
</dialog>
|
|
1484
1524
|
|
|
1485
|
-
<dialog id="gitWorktreeBaseDialog" class="extension-dialog git-worktree-base-dialog">
|
|
1525
|
+
<dialog id="gitWorktreeBaseDialog" class="extension-dialog git-worktree-base-dialog" aria-labelledby="gitWorktreeBaseDialogTitle">
|
|
1486
1526
|
<form method="dialog">
|
|
1487
|
-
<h2>Choose branch starting point</h2>
|
|
1527
|
+
<h2 id="gitWorktreeBaseDialogTitle">Choose branch starting point</h2>
|
|
1488
1528
|
<p>Create <code id="gitWorktreeBaseBranch"></code> from:</p>
|
|
1489
1529
|
<fieldset class="git-worktree-base-options">
|
|
1490
1530
|
<legend class="sr-only">Branch starting point</legend>
|
|
@@ -1557,9 +1597,9 @@
|
|
|
1557
1597
|
</form>
|
|
1558
1598
|
</dialog>
|
|
1559
1599
|
|
|
1560
|
-
<dialog id="gitPrDialog" class="extension-dialog git-pr-dialog">
|
|
1600
|
+
<dialog id="gitPrDialog" class="extension-dialog git-pr-dialog" aria-labelledby="gitPrDialogTitle">
|
|
1561
1601
|
<form method="dialog">
|
|
1562
|
-
<h2>Review pull request</h2>
|
|
1602
|
+
<h2 id="gitPrDialogTitle">Review pull request</h2>
|
|
1563
1603
|
<p class="muted">Confirm or edit the generated /pr description before Web UI runs <code>gh pr create</code>.</p>
|
|
1564
1604
|
<label class="git-pr-field" for="gitPrTitleInput">
|
|
1565
1605
|
<span>Title</span>
|
|
@@ -1577,7 +1617,7 @@
|
|
|
1577
1617
|
</form>
|
|
1578
1618
|
</dialog>
|
|
1579
1619
|
|
|
1580
|
-
<dialog id="gitChangesDialog" class="extension-dialog git-changes-dialog">
|
|
1620
|
+
<dialog id="gitChangesDialog" class="extension-dialog git-changes-dialog" aria-labelledby="gitChangesTitle">
|
|
1581
1621
|
<form method="dialog">
|
|
1582
1622
|
<div class="git-changes-header">
|
|
1583
1623
|
<div>
|
|
@@ -1599,12 +1639,12 @@
|
|
|
1599
1639
|
</form>
|
|
1600
1640
|
</dialog>
|
|
1601
1641
|
|
|
1602
|
-
<dialog id="statsOverlayDialog" class="extension-dialog stats-overlay-dialog">
|
|
1642
|
+
<dialog id="statsOverlayDialog" class="extension-dialog stats-overlay-dialog" aria-labelledby="statsOverlayDialogTitle">
|
|
1603
1643
|
<form method="dialog">
|
|
1604
1644
|
<div class="stats-overlay-header">
|
|
1605
1645
|
<div>
|
|
1606
1646
|
<span class="stats-overlay-kicker">Pi stats</span>
|
|
1607
|
-
<h2>Usage dashboard</h2>
|
|
1647
|
+
<h2 id="statsOverlayDialogTitle">Usage dashboard</h2>
|
|
1608
1648
|
<p id="statsOverlaySubtitle" class="muted">Run stats to load the browser dashboard.</p>
|
|
1609
1649
|
</div>
|
|
1610
1650
|
<div class="stats-overlay-controls">
|
|
@@ -1627,14 +1667,14 @@
|
|
|
1627
1667
|
</form>
|
|
1628
1668
|
</dialog>
|
|
1629
1669
|
|
|
1630
|
-
<dialog id="pathPickerDialog" class="extension-dialog path-picker-dialog">
|
|
1670
|
+
<dialog id="pathPickerDialog" class="extension-dialog path-picker-dialog" aria-labelledby="pathPickerTitle">
|
|
1631
1671
|
<form method="dialog">
|
|
1632
1672
|
<h2 id="pathPickerTitle">Choose working directory</h2>
|
|
1633
1673
|
<div class="path-picker-current-row">
|
|
1634
1674
|
<p id="pathPickerCurrent" class="path-picker-current"></p>
|
|
1635
|
-
<button id="pathPickerAddFastPickButton" type="button" class="path-picker-add-fast-pick">
|
|
1675
|
+
<button id="pathPickerAddFastPickButton" type="button" class="path-picker-add-fast-pick">Pin this folder</button>
|
|
1636
1676
|
</div>
|
|
1637
|
-
<div id="pathPickerFastPicks" class="path-picker-fast-picks" aria-label="
|
|
1677
|
+
<div id="pathPickerFastPicks" class="path-picker-fast-picks" aria-label="Pinned folders"></div>
|
|
1638
1678
|
<div id="pathPickerRoots" class="path-picker-roots"></div>
|
|
1639
1679
|
<div class="path-picker-create-row" aria-label="Create a new directory in the current directory">
|
|
1640
1680
|
<input id="pathPickerCreateNameInput" class="path-picker-create-input" type="text" placeholder="New directory name" autocomplete="off" spellcheck="false" maxlength="255" aria-label="New directory name" />
|
|
@@ -1654,27 +1694,27 @@
|
|
|
1654
1694
|
</form>
|
|
1655
1695
|
</dialog>
|
|
1656
1696
|
|
|
1657
|
-
<dialog id="commandPaletteDialog" class="extension-dialog command-palette-dialog">
|
|
1697
|
+
<dialog id="commandPaletteDialog" class="extension-dialog command-palette-dialog" aria-labelledby="commandPaletteDialogTitle">
|
|
1658
1698
|
<form method="dialog">
|
|
1659
1699
|
<div class="command-palette-header">
|
|
1660
1700
|
<div>
|
|
1661
1701
|
<span class="command-palette-kicker">Quick launcher</span>
|
|
1662
|
-
<h2>Command palette</h2>
|
|
1702
|
+
<h2 id="commandPaletteDialogTitle">Command palette</h2>
|
|
1663
1703
|
</div>
|
|
1664
1704
|
<div class="command-palette-header-actions">
|
|
1665
1705
|
<span class="command-palette-shortcut">Ctrl/Cmd+K</span>
|
|
1666
1706
|
<button id="commandPaletteCloseButton" class="command-palette-close-button" type="button" aria-label="Close command palette" title="Close command palette">Close</button>
|
|
1667
1707
|
</div>
|
|
1668
1708
|
</div>
|
|
1669
|
-
<input id="commandPaletteInput" class="dialog-input command-palette-input" type="search" autocomplete="off" spellcheck="false" placeholder="Search
|
|
1709
|
+
<input id="commandPaletteInput" class="dialog-input command-palette-input" type="search" autocomplete="off" spellcheck="false" placeholder="Search actions, tabs, models, commands…" role="combobox" aria-autocomplete="list" aria-controls="commandPaletteList" aria-expanded="true" aria-label="Search command palette" />
|
|
1670
1710
|
<div id="commandPaletteList" class="command-palette-list" role="listbox" aria-label="Command palette results"></div>
|
|
1671
1711
|
<p id="commandPaletteHint" class="command-palette-hint muted">Use ↑/↓ then Enter. Escape closes.</p>
|
|
1672
1712
|
</form>
|
|
1673
1713
|
</dialog>
|
|
1674
1714
|
|
|
1675
|
-
<dialog id="editRetryDialog" class="extension-dialog edit-retry-dialog">
|
|
1715
|
+
<dialog id="editRetryDialog" class="extension-dialog edit-retry-dialog" aria-labelledby="editRetryDialogTitle">
|
|
1676
1716
|
<form method="dialog">
|
|
1677
|
-
<h2>Edit & retry from here</h2>
|
|
1717
|
+
<h2 id="editRetryDialogTitle">Edit & retry from here</h2>
|
|
1678
1718
|
<p id="editRetryMessage" class="muted">Fork the session from this user message, optionally edit it, then run the new prompt.</p>
|
|
1679
1719
|
<textarea id="editRetryText" class="dialog-editor edit-retry-text" spellcheck="true" aria-label="Edited prompt"></textarea>
|
|
1680
1720
|
<p id="editRetryStatus" class="edit-retry-status muted" role="status" aria-live="polite"></p>
|
|
@@ -1686,12 +1726,12 @@
|
|
|
1686
1726
|
</form>
|
|
1687
1727
|
</dialog>
|
|
1688
1728
|
|
|
1689
|
-
<dialog id="remoteQrDialog" class="extension-dialog remote-qr-dialog">
|
|
1729
|
+
<dialog id="remoteQrDialog" class="extension-dialog remote-qr-dialog" aria-labelledby="remoteQrDialogTitle">
|
|
1690
1730
|
<form method="dialog">
|
|
1691
1731
|
<div class="remote-qr-header">
|
|
1692
1732
|
<div>
|
|
1693
1733
|
<span class="remote-qr-kicker">/remote</span>
|
|
1694
|
-
<h2>Remote WebUI QR</h2>
|
|
1734
|
+
<h2 id="remoteQrDialogTitle">Remote WebUI QR</h2>
|
|
1695
1735
|
<p id="remoteQrMessage" class="muted">Scan this QR code from a trusted local-network device.</p>
|
|
1696
1736
|
</div>
|
|
1697
1737
|
<button id="remoteQrCloseButton" class="remote-qr-close-button" type="button" aria-label="Close Remote WebUI QR popup">Close</button>
|
|
@@ -1705,20 +1745,20 @@
|
|
|
1705
1745
|
</form>
|
|
1706
1746
|
</dialog>
|
|
1707
1747
|
|
|
1708
|
-
<dialog id="nativeCommandDialog" class="extension-dialog native-command-dialog">
|
|
1748
|
+
<dialog id="nativeCommandDialog" class="extension-dialog native-command-dialog" aria-labelledby="nativeCommandTitle">
|
|
1709
1749
|
<form method="dialog">
|
|
1710
1750
|
<h2 id="nativeCommandTitle">Pi command</h2>
|
|
1711
1751
|
<p id="nativeCommandMessage" class="muted"></p>
|
|
1712
|
-
<input id="nativeCommandSearch" class="dialog-input native-command-search" type="search" placeholder="Filter choices…" autocomplete="off" hidden />
|
|
1752
|
+
<input id="nativeCommandSearch" class="dialog-input native-command-search" type="search" placeholder="Filter choices…" autocomplete="off" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="nativeCommandBody" aria-label="Filter choices" hidden />
|
|
1713
1753
|
<div id="nativeCommandBody" class="native-command-body"></div>
|
|
1714
1754
|
<p id="nativeCommandError" class="path-picker-error" hidden></p>
|
|
1715
1755
|
<menu id="nativeCommandActions"></menu>
|
|
1716
1756
|
</form>
|
|
1717
1757
|
</dialog>
|
|
1718
1758
|
|
|
1719
|
-
<dialog id="appRunnerInfoDialog" class="extension-dialog app-runner-info-dialog">
|
|
1759
|
+
<dialog id="appRunnerInfoDialog" class="extension-dialog app-runner-info-dialog" aria-labelledby="appRunnerInfoDialogTitle">
|
|
1720
1760
|
<form method="dialog">
|
|
1721
|
-
<h2>App runners</h2>
|
|
1761
|
+
<h2 id="appRunnerInfoDialogTitle">App runners</h2>
|
|
1722
1762
|
<p class="muted">Run detected project entrypoints directly from the active tab’s working directory, with live output pinned above the chat.</p>
|
|
1723
1763
|
<div id="appRunnerInfoBody" class="app-runner-info-body"></div>
|
|
1724
1764
|
<menu>
|
|
@@ -1727,9 +1767,25 @@
|
|
|
1727
1767
|
</form>
|
|
1728
1768
|
</dialog>
|
|
1729
1769
|
|
|
1730
|
-
<dialog id="
|
|
1770
|
+
<dialog id="controlVisibilitySetupDialog" class="extension-dialog control-visibility-setup-dialog" aria-labelledby="controlVisibilitySetupDialogTitle" aria-describedby="controlVisibilitySetupDescription">
|
|
1771
|
+
<form method="dialog">
|
|
1772
|
+
<h2 id="controlVisibilitySetupDialogTitle">Control visibility setup</h2>
|
|
1773
|
+
<p id="controlVisibilitySetupDescription" class="muted">Choose which optional controls you want to show. Changes apply immediately and are saved globally for every Pi session. Controls unavailable in the current session stay hidden.</p>
|
|
1774
|
+
<div class="control-visibility-setup-toolbar" aria-label="Control visibility quick actions">
|
|
1775
|
+
<button id="controlVisibilitySetupShowAllButton" type="button">Show all</button>
|
|
1776
|
+
<button id="controlVisibilitySetupResetButton" type="button">Reset defaults</button>
|
|
1777
|
+
</div>
|
|
1778
|
+
<div id="controlVisibilitySetupBody" class="control-visibility-setup-body"></div>
|
|
1779
|
+
<p id="controlVisibilitySetupStatus" class="control-visibility-setup-status muted" role="status" aria-live="polite"></p>
|
|
1780
|
+
<menu>
|
|
1781
|
+
<button id="controlVisibilitySetupCloseButton" class="primary" type="button">Close</button>
|
|
1782
|
+
</menu>
|
|
1783
|
+
</form>
|
|
1784
|
+
</dialog>
|
|
1785
|
+
|
|
1786
|
+
<dialog id="gitFooterVisibilityDialog" class="extension-dialog git-footer-visibility-dialog" aria-labelledby="gitFooterVisibilityDialogTitle">
|
|
1731
1787
|
<form method="dialog">
|
|
1732
|
-
<h2>Git-footer Visibility</h2>
|
|
1788
|
+
<h2 id="gitFooterVisibilityDialogTitle">Git-footer Visibility</h2>
|
|
1733
1789
|
<p class="muted">Select which Git footer cards, buttons, popovers, and modal affordances are visible in the Web UI. Changes are saved globally through <code>/git-footer-visibility</code> and reused by every Pi session.</p>
|
|
1734
1790
|
<div class="git-footer-visibility-toolbar" aria-label="Git-footer Visibility quick actions">
|
|
1735
1791
|
<button id="gitFooterVisibilitySelectAllButton" type="button">Select all</button>
|
|
@@ -1745,7 +1801,7 @@
|
|
|
1745
1801
|
</form>
|
|
1746
1802
|
</dialog>
|
|
1747
1803
|
|
|
1748
|
-
<dialog id="skillEditorDialog" class="extension-dialog skill-editor-dialog">
|
|
1804
|
+
<dialog id="skillEditorDialog" class="extension-dialog skill-editor-dialog" aria-labelledby="skillEditorTitle">
|
|
1749
1805
|
<form method="dialog">
|
|
1750
1806
|
<h2 id="skillEditorTitle">Edit skill</h2>
|
|
1751
1807
|
<p id="skillEditorMeta" class="skill-editor-meta muted"></p>
|
|
@@ -1758,7 +1814,7 @@
|
|
|
1758
1814
|
</form>
|
|
1759
1815
|
</dialog>
|
|
1760
1816
|
|
|
1761
|
-
<dialog id="promptListDialog" class="extension-dialog prompt-list-dialog">
|
|
1817
|
+
<dialog id="promptListDialog" class="extension-dialog prompt-list-dialog" aria-labelledby="promptListDialogTitle">
|
|
1762
1818
|
<form method="dialog">
|
|
1763
1819
|
<h2 id="promptListDialogTitle">Create prompt list</h2>
|
|
1764
1820
|
<p class="muted">Create one start prompt, then add any number of follow-up prompts to queue behind it.</p>
|
|
@@ -1786,7 +1842,7 @@
|
|
|
1786
1842
|
</form>
|
|
1787
1843
|
</dialog>
|
|
1788
1844
|
|
|
1789
|
-
<dialog id="attachmentTextDialog" class="extension-dialog attachment-text-dialog">
|
|
1845
|
+
<dialog id="attachmentTextDialog" class="extension-dialog attachment-text-dialog" aria-labelledby="attachmentTextTitle">
|
|
1790
1846
|
<form method="dialog">
|
|
1791
1847
|
<h2 id="attachmentTextTitle">Edit text attachment</h2>
|
|
1792
1848
|
<p id="attachmentTextMeta" class="attachment-text-meta muted"></p>
|
|
@@ -1826,7 +1882,7 @@
|
|
|
1826
1882
|
</form>
|
|
1827
1883
|
</dialog>
|
|
1828
1884
|
|
|
1829
|
-
<script id="webuiBootLoader" data-app-src="/app.js?v=
|
|
1885
|
+
<script id="webuiBootLoader" data-app-src="/app.js?v=166">
|
|
1830
1886
|
(() => {
|
|
1831
1887
|
"use strict";
|
|
1832
1888
|
|
package/public/service-worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const CACHE_NAME = "pi-webui-pwa-
|
|
1
|
+
const CACHE_NAME = "pi-webui-pwa-v132";
|
|
2
2
|
const APP_SHELL = [
|
|
3
3
|
"/",
|
|
4
4
|
"/index.html",
|
|
@@ -12,6 +12,9 @@ const APP_SHELL = [
|
|
|
12
12
|
"/guided-git-review-state.mjs",
|
|
13
13
|
"/fast-output-live.mjs",
|
|
14
14
|
"/stream-output-controller.mjs",
|
|
15
|
+
"/stream-derived-output.mjs",
|
|
16
|
+
"/stream-markdown-tail.mjs",
|
|
17
|
+
"/stream-render-scheduler.mjs",
|
|
15
18
|
"/middle-button-drag-scroll.mjs",
|
|
16
19
|
"/theme-contract.mjs",
|
|
17
20
|
"/sampling-parameter-controls.mjs",
|