@firstpick/pi-package-webui 0.5.5 → 0.5.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 +3 -1
- package/bin/pi-webui.mjs +477 -13
- package/lib/git-worktrees.mjs +512 -0
- package/package.json +4 -4
- package/public/app.js +1160 -197
- package/public/index.html +13 -7
- package/public/styles.css +355 -20
- package/tests/http-endpoints-harness.test.mjs +133 -1
- package/tests/mobile-static.test.mjs +74 -32
- package/tests/native-parity-harness.test.mjs +1 -1
- package/tests/native-parity.test.mjs +2 -2
- package/tests/streaming-ui-coupling.test.mjs +186 -0
- package/webui-rpc-helper.mjs +99 -1
- /package/{dev/docs → lib}/WEBUI_TUI_NATIVE_PARITY.json +0 -0
package/public/index.html
CHANGED
|
@@ -65,16 +65,17 @@
|
|
|
65
65
|
<button id="terminalTabsToggleButton" class="terminal-tabs-toggle-button" type="button" aria-controls="tabBar" aria-expanded="false">Tabs</button>
|
|
66
66
|
<div id="tabBar" class="terminal-tabs" role="tablist" aria-label="Pi terminal tabs">
|
|
67
67
|
<div id="newTabMenu" class="terminal-new-tab-menu composer-publish-menu">
|
|
68
|
-
<button id="newTabButton" class="terminal-new-tab-button" type="button"
|
|
68
|
+
<button id="newTabButton" class="terminal-new-tab-button" type="button" aria-label="Start a separate isolated Pi terminal" aria-haspopup="menu" aria-expanded="false" aria-controls="newTabMenuPanel">+ Tab ▾</button>
|
|
69
69
|
<div id="newTabMenuPanel" class="terminal-new-tab-menu-panel composer-publish-menu-panel" role="menu" aria-labelledby="newTabButton">
|
|
70
70
|
<button id="newTabCurrentDirectoryButton" class="terminal-new-tab-menu-item composer-publish-menu-item" type="button" role="menuitem"><span>Current Directory</span></button>
|
|
71
71
|
<button id="newTabChooseDirectoryButton" class="terminal-new-tab-menu-item composer-publish-menu-item" type="button" role="menuitem"><span>Choose Directory</span></button>
|
|
72
|
+
<button id="newTabWorktreeButton" class="terminal-new-tab-menu-item composer-publish-menu-item" type="button" role="menuitem" aria-label="Open branch worktree picker: create or open a separate Git checkout in a new Pi tab. Keeps this tab on its current branch; does not commit, push, delete files, or copy ignored dependencies such as node_modules or .venv." data-tooltip="Branch worktree: • Create or open a separate Git checkout in a new Pi tab. • Keeps this tab on its current branch. • Does not commit, push, delete files, or copy ignored deps like node_modules/.venv."><span>Branch Worktree…</span></button>
|
|
72
73
|
</div>
|
|
73
74
|
</div>
|
|
74
75
|
</div>
|
|
75
|
-
<button id="commandPaletteButton" class="terminal-command-palette-button" type="button"
|
|
76
|
-
<button id="workspaceDashboardToggleButton" class="terminal-dashboard-button" type="button" aria-controls="workspaceDashboard" aria-expanded="false"
|
|
77
|
-
<button id="closeAllTabsButton" class="terminal-close-all-button" type="button"
|
|
76
|
+
<button id="commandPaletteButton" class="terminal-command-palette-button" type="button" aria-label="Open command palette" data-tooltip="Command palette: • Search and run actions, slash commands, models, and tabs. • Shortcut: Ctrl/Cmd+K."><svg class="composer-icon command-palette-launcher-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M5 7.5h14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M5 12h9" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M5 16.5h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M17 14.5 19.5 17 17 19.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
|
|
77
|
+
<button id="workspaceDashboardToggleButton" class="terminal-dashboard-button" type="button" aria-controls="workspaceDashboard" aria-expanded="false" aria-label="Show workspace overview" data-tooltip="Workspace overview: • Shows current tab, cwd, model, context, session, and queue. • Opens common workspace/session actions from one place."><svg class="composer-icon workspace-overview-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 11.4 12 4l8 7.4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.5 10.5V20h11v-9.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 20v-5h4v5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
|
|
78
|
+
<button id="closeAllTabsButton" class="terminal-close-all-button" type="button" aria-label="Close all terminal tabs">Close all Tabs</button>
|
|
78
79
|
</header>
|
|
79
80
|
<section id="workspaceDashboard" class="workspace-dashboard" aria-label="Workspace dashboard"></section>
|
|
80
81
|
<div id="widgetArea" class="widget-area"></div>
|
|
@@ -156,8 +157,8 @@
|
|
|
156
157
|
type="button"
|
|
157
158
|
hidden
|
|
158
159
|
title="Guided Git workflow"
|
|
159
|
-
aria-label="Start guided Git workflow: stage all changes, generate and preview staged commit messages, optionally
|
|
160
|
-
data-tooltip="Guided Git workflow: 1. Stage all changes with git add . 2. Generate and preview staged commit messages. 3. Optional: create or type a PR branch before committing. 4. Commit with the short or long message. 5. Push normally, or push the PR branch, generate/review /pr, and create the PR. Cancel is available at each step."
|
|
160
|
+
aria-label="Start guided Git workflow: stage all changes, generate and preview staged commit messages, optionally open a PR branch worktree, commit short or long there, then push or create a pull request. Cancel is available at each step."
|
|
161
|
+
data-tooltip="Guided Git workflow: 1. Stage all changes with git add . 2. Generate and preview staged commit messages. 3. Optional: create or type a PR branch worktree before committing. 4. Commit with the short or long message in the worktree tab. 5. Push normally, or push the PR worktree branch, generate/review /pr, and create the PR. Cancel is available at each step."
|
|
161
162
|
><svg class="composer-icon composer-icon-github" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg></button>
|
|
162
163
|
<div class="composer-publish-menu" hidden>
|
|
163
164
|
<button
|
|
@@ -431,6 +432,11 @@
|
|
|
431
432
|
</button>
|
|
432
433
|
</h2>
|
|
433
434
|
<div id="sidePanelSectionOptionalFeatures" class="side-panel-section-content" hidden>
|
|
435
|
+
<p class="optional-features-description muted">
|
|
436
|
+
For additional WebUI feature requests, please
|
|
437
|
+
<a href="https://github.com/Firstp1ck/npm-packages/issues/new" target="_blank" rel="noopener noreferrer">open a GitHub issue</a>
|
|
438
|
+
so they can be reviewed and considered for implementation.
|
|
439
|
+
</p>
|
|
434
440
|
<div id="optionalFeaturesBox" class="optional-features-box muted">Checking optional features…</div>
|
|
435
441
|
</div>
|
|
436
442
|
</section>
|
|
@@ -740,6 +746,6 @@
|
|
|
740
746
|
</form>
|
|
741
747
|
</dialog>
|
|
742
748
|
|
|
743
|
-
<script type="module" src="/app.js?v=
|
|
749
|
+
<script type="module" src="/app.js?v=58"></script>
|
|
744
750
|
</body>
|
|
745
751
|
</html>
|
package/public/styles.css
CHANGED
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
--visual-viewport-height: 100dvh;
|
|
68
68
|
--visual-viewport-offset-top: 0px;
|
|
69
69
|
--keyboard-inset-bottom: 0px;
|
|
70
|
+
--tooltip-hover-delay: 500ms;
|
|
71
|
+
--tooltip-blend-duration: 160ms;
|
|
72
|
+
--tooltip-blend-ease: ease;
|
|
70
73
|
|
|
71
74
|
font-size: 80%;
|
|
72
75
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
@@ -1087,6 +1090,21 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1087
1090
|
border-color: transparent;
|
|
1088
1091
|
background: linear-gradient(120deg, var(--ctp-yellow), var(--ctp-peach), var(--ctp-red));
|
|
1089
1092
|
}
|
|
1093
|
+
.optional-features-description {
|
|
1094
|
+
margin: 0 0 0.58rem;
|
|
1095
|
+
font-size: 0.74rem;
|
|
1096
|
+
line-height: 1.45;
|
|
1097
|
+
}
|
|
1098
|
+
.optional-features-description a {
|
|
1099
|
+
color: var(--ctp-blue);
|
|
1100
|
+
font-weight: 800;
|
|
1101
|
+
text-decoration-color: rgba(137, 180, 250, 0.48);
|
|
1102
|
+
text-underline-offset: 0.14em;
|
|
1103
|
+
}
|
|
1104
|
+
.optional-features-description a:hover,
|
|
1105
|
+
.optional-features-description a:focus-visible {
|
|
1106
|
+
color: var(--ctp-sky);
|
|
1107
|
+
}
|
|
1090
1108
|
.optional-features-box {
|
|
1091
1109
|
display: grid;
|
|
1092
1110
|
gap: 0.6rem;
|
|
@@ -1206,10 +1224,14 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1206
1224
|
opacity: 0;
|
|
1207
1225
|
pointer-events: none;
|
|
1208
1226
|
transform: translateY(-0.16rem);
|
|
1209
|
-
transition: opacity
|
|
1227
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
1210
1228
|
white-space: pre-wrap;
|
|
1211
1229
|
}
|
|
1212
|
-
.optional-feature-row[data-tooltip]:hover::after
|
|
1230
|
+
.optional-feature-row[data-tooltip]:hover::after {
|
|
1231
|
+
opacity: 1;
|
|
1232
|
+
transform: translateY(0);
|
|
1233
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
1234
|
+
}
|
|
1213
1235
|
.optional-feature-row[data-tooltip]:focus::after,
|
|
1214
1236
|
.optional-feature-row[data-tooltip]:focus-within::after {
|
|
1215
1237
|
opacity: 1;
|
|
@@ -1562,6 +1584,11 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1562
1584
|
border-color: rgba(166, 227, 161, 0.52);
|
|
1563
1585
|
box-shadow: 0 0 1rem rgba(166, 227, 161, 0.16), inset 0 1px 0 rgba(255,255,255,0.045);
|
|
1564
1586
|
}
|
|
1587
|
+
.terminal-tab.app-runner-running,
|
|
1588
|
+
.terminal-tab-group-item.app-runner-running {
|
|
1589
|
+
outline: 1px solid rgba(137, 180, 250, 0.42);
|
|
1590
|
+
outline-offset: -1px;
|
|
1591
|
+
}
|
|
1565
1592
|
.terminal-tab.terminal-tab-drag-over,
|
|
1566
1593
|
.terminal-tab-group-item.terminal-tab-drag-over {
|
|
1567
1594
|
border-color: rgba(137, 180, 250, 0.82);
|
|
@@ -1603,6 +1630,22 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1603
1630
|
background: rgba(var(--ctp-subtext-rgb), 0.38);
|
|
1604
1631
|
box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 0.45rem rgba(var(--ctp-subtext-rgb), 0.10);
|
|
1605
1632
|
}
|
|
1633
|
+
.terminal-tab-app-runner-indicator {
|
|
1634
|
+
flex: 0 0 auto;
|
|
1635
|
+
padding: 0.04rem 0.34rem;
|
|
1636
|
+
border: 1px solid rgba(137, 180, 250, 0.38);
|
|
1637
|
+
border-radius: 999px;
|
|
1638
|
+
color: var(--ctp-blue);
|
|
1639
|
+
background: rgba(137, 180, 250, 0.13);
|
|
1640
|
+
box-shadow: 0 0 0.7rem rgba(137, 180, 250, 0.28);
|
|
1641
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
1642
|
+
font-size: 0.56rem;
|
|
1643
|
+
font-weight: 900;
|
|
1644
|
+
letter-spacing: 0.08em;
|
|
1645
|
+
line-height: 1.12;
|
|
1646
|
+
text-transform: uppercase;
|
|
1647
|
+
animation: terminal-tab-app-runner-pulse 1.35s ease-in-out infinite;
|
|
1648
|
+
}
|
|
1606
1649
|
.terminal-tab.activity-working > .terminal-tab-button .terminal-tab-activity-indicator {
|
|
1607
1650
|
background: var(--ctp-yellow);
|
|
1608
1651
|
box-shadow: 0 0 0 1px rgba(249, 226, 175, 0.34), 0 0 0.8rem rgba(249, 226, 175, 0.52);
|
|
@@ -1643,6 +1686,10 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1643
1686
|
0%, 100% { transform: scale(0.86); opacity: 0.68; }
|
|
1644
1687
|
50% { transform: scale(1.08); opacity: 1; }
|
|
1645
1688
|
}
|
|
1689
|
+
@keyframes terminal-tab-app-runner-pulse {
|
|
1690
|
+
0%, 100% { opacity: 0.72; box-shadow: 0 0 0.45rem rgba(137, 180, 250, 0.20); }
|
|
1691
|
+
50% { opacity: 1; box-shadow: 0 0 0.95rem rgba(137, 180, 250, 0.44); }
|
|
1692
|
+
}
|
|
1646
1693
|
.terminal-tab-button:hover,
|
|
1647
1694
|
.terminal-tab-close:hover,
|
|
1648
1695
|
.terminal-new-tab-button:hover {
|
|
@@ -1719,6 +1766,8 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1719
1766
|
inset: 100% 0 auto auto;
|
|
1720
1767
|
padding-top: 0.38rem;
|
|
1721
1768
|
padding-bottom: 0;
|
|
1769
|
+
max-height: none;
|
|
1770
|
+
overflow: visible;
|
|
1722
1771
|
}
|
|
1723
1772
|
.terminal-new-tab-menu .composer-publish-menu-item {
|
|
1724
1773
|
color: var(--ctp-pink);
|
|
@@ -1734,6 +1783,65 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1734
1783
|
background: linear-gradient(120deg, var(--ctp-pink), var(--ctp-mauve), var(--ctp-blue));
|
|
1735
1784
|
box-shadow: 0 0 1rem rgba(245, 194, 231, 0.20);
|
|
1736
1785
|
}
|
|
1786
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip] {
|
|
1787
|
+
position: relative;
|
|
1788
|
+
}
|
|
1789
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]::before,
|
|
1790
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]::after {
|
|
1791
|
+
position: absolute;
|
|
1792
|
+
top: 50%;
|
|
1793
|
+
left: calc(100% + 0.48rem);
|
|
1794
|
+
pointer-events: none;
|
|
1795
|
+
opacity: 0;
|
|
1796
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
1797
|
+
}
|
|
1798
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]::before {
|
|
1799
|
+
content: "";
|
|
1800
|
+
z-index: 119;
|
|
1801
|
+
width: 0.72rem;
|
|
1802
|
+
height: 0.72rem;
|
|
1803
|
+
background: rgba(var(--ctp-crust-rgb), 0.96);
|
|
1804
|
+
border-left: 1px solid rgba(245, 194, 231, 0.30);
|
|
1805
|
+
border-bottom: 1px solid rgba(245, 194, 231, 0.30);
|
|
1806
|
+
transform: translate(-0.2rem, -50%) rotate(45deg);
|
|
1807
|
+
}
|
|
1808
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]::after {
|
|
1809
|
+
content: attr(data-tooltip);
|
|
1810
|
+
z-index: 120;
|
|
1811
|
+
width: max-content;
|
|
1812
|
+
max-width: min(26rem, calc(100vw - 2rem));
|
|
1813
|
+
padding: 0.78rem 0.9rem;
|
|
1814
|
+
color: var(--ctp-text);
|
|
1815
|
+
text-align: left;
|
|
1816
|
+
white-space: pre-line;
|
|
1817
|
+
line-height: 1.45;
|
|
1818
|
+
border: 1px solid rgba(245, 194, 231, 0.32);
|
|
1819
|
+
border-radius: 0.86rem;
|
|
1820
|
+
background:
|
|
1821
|
+
radial-gradient(circle at 8% 0%, rgba(245, 194, 231, 0.14), transparent 12rem),
|
|
1822
|
+
linear-gradient(145deg, rgba(var(--ctp-crust-rgb), 0.98), rgba(var(--ctp-base-rgb), 0.94));
|
|
1823
|
+
box-shadow: 0 1rem 2.4rem rgba(var(--ctp-crust-rgb), 0.58), 0 0 1.2rem rgba(245, 194, 231, 0.18), inset 0 1px 0 rgba(255,255,255,0.055);
|
|
1824
|
+
font-size: 0.82rem;
|
|
1825
|
+
font-weight: 650;
|
|
1826
|
+
text-transform: none;
|
|
1827
|
+
letter-spacing: 0;
|
|
1828
|
+
transform: translate(-0.2rem, -50%);
|
|
1829
|
+
}
|
|
1830
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:hover::before,
|
|
1831
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:hover::after {
|
|
1832
|
+
opacity: 1;
|
|
1833
|
+
transform: translate(0, -50%);
|
|
1834
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
1835
|
+
}
|
|
1836
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:focus-visible::before,
|
|
1837
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:focus-visible::after {
|
|
1838
|
+
opacity: 1;
|
|
1839
|
+
transform: translate(0, -50%);
|
|
1840
|
+
}
|
|
1841
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:hover::before,
|
|
1842
|
+
.terminal-new-tab-menu .composer-publish-menu-item[data-tooltip]:focus-visible::before {
|
|
1843
|
+
transform: translate(0, -50%) rotate(45deg);
|
|
1844
|
+
}
|
|
1737
1845
|
|
|
1738
1846
|
@media (min-width: 721px) {
|
|
1739
1847
|
body.terminal-tabs-left .chat-panel {
|
|
@@ -1922,6 +2030,66 @@ body.side-panel-collapsed .terminal-tabs-shell {
|
|
|
1922
2030
|
.footer-line-meta .footer-details-toggle {
|
|
1923
2031
|
flex: 0 0 auto;
|
|
1924
2032
|
}
|
|
2033
|
+
.git-footer-refresh-button {
|
|
2034
|
+
position: absolute;
|
|
2035
|
+
z-index: 4;
|
|
2036
|
+
top: 0.52rem;
|
|
2037
|
+
right: 0.66rem;
|
|
2038
|
+
display: inline-grid;
|
|
2039
|
+
place-items: center;
|
|
2040
|
+
width: 1.72rem;
|
|
2041
|
+
min-width: 1.72rem;
|
|
2042
|
+
height: 1.72rem;
|
|
2043
|
+
min-height: 1.72rem;
|
|
2044
|
+
padding: 0;
|
|
2045
|
+
color: rgba(var(--ctp-text-rgb), 0.86);
|
|
2046
|
+
border: 1px solid rgba(148, 226, 213, 0.30);
|
|
2047
|
+
border-radius: 999px;
|
|
2048
|
+
background:
|
|
2049
|
+
radial-gradient(circle at 30% 20%, rgba(148, 226, 213, 0.20), transparent 70%),
|
|
2050
|
+
rgba(var(--ctp-surface-rgb), 0.36);
|
|
2051
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0.34rem 0.82rem rgba(var(--ctp-crust-rgb), 0.24);
|
|
2052
|
+
font: inherit;
|
|
2053
|
+
font-size: 0.86rem;
|
|
2054
|
+
font-weight: 950;
|
|
2055
|
+
line-height: 1;
|
|
2056
|
+
cursor: pointer;
|
|
2057
|
+
opacity: 0;
|
|
2058
|
+
pointer-events: none;
|
|
2059
|
+
transform: translateY(-0.1rem) scale(0.94);
|
|
2060
|
+
transition: opacity 120ms ease, transform 120ms ease, border-color 140ms ease, box-shadow 140ms ease;
|
|
2061
|
+
}
|
|
2062
|
+
.statusbar-git-footer:hover .git-footer-refresh-button,
|
|
2063
|
+
.statusbar-git-footer:focus-within .git-footer-refresh-button,
|
|
2064
|
+
.git-footer-refresh-button:hover,
|
|
2065
|
+
.git-footer-refresh-button:focus-visible {
|
|
2066
|
+
opacity: 1;
|
|
2067
|
+
pointer-events: auto;
|
|
2068
|
+
transform: translateY(0) scale(1);
|
|
2069
|
+
}
|
|
2070
|
+
.git-footer-refresh-button:hover,
|
|
2071
|
+
.git-footer-refresh-button:focus-visible {
|
|
2072
|
+
color: var(--ctp-teal);
|
|
2073
|
+
border-color: rgba(148, 226, 213, 0.56);
|
|
2074
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0.9rem rgba(148, 226, 213, 0.18);
|
|
2075
|
+
outline: none;
|
|
2076
|
+
}
|
|
2077
|
+
.git-footer-refresh-button[aria-disabled="true"] {
|
|
2078
|
+
cursor: help;
|
|
2079
|
+
}
|
|
2080
|
+
.statusbar-git-footer:hover .git-footer-refresh-button[aria-disabled="true"],
|
|
2081
|
+
.statusbar-git-footer:focus-within .git-footer-refresh-button[aria-disabled="true"] {
|
|
2082
|
+
opacity: 0.62;
|
|
2083
|
+
}
|
|
2084
|
+
.git-footer-refresh-button[aria-busy="true"] {
|
|
2085
|
+
cursor: progress;
|
|
2086
|
+
}
|
|
2087
|
+
.git-footer-refresh-button[aria-busy="true"] .git-footer-refresh-icon {
|
|
2088
|
+
animation: git-footer-refresh-spin 0.8s linear infinite;
|
|
2089
|
+
}
|
|
2090
|
+
@keyframes git-footer-refresh-spin {
|
|
2091
|
+
to { transform: rotate(360deg); }
|
|
2092
|
+
}
|
|
1925
2093
|
.footer-line-tui {
|
|
1926
2094
|
align-items: center;
|
|
1927
2095
|
gap: 0.5rem;
|
|
@@ -1996,10 +2164,12 @@ button.footer-tui-item {
|
|
|
1996
2164
|
text-align: left;
|
|
1997
2165
|
white-space: pre-wrap;
|
|
1998
2166
|
opacity: 0;
|
|
1999
|
-
|
|
2167
|
+
transform: translateY(0.16rem);
|
|
2168
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
2000
2169
|
}
|
|
2001
2170
|
.footer-floating-tooltip.visible {
|
|
2002
2171
|
opacity: 1;
|
|
2172
|
+
transform: translateY(0);
|
|
2003
2173
|
}
|
|
2004
2174
|
.footer-metric {
|
|
2005
2175
|
display: inline-grid;
|
|
@@ -2133,6 +2303,9 @@ button.footer-meta {
|
|
|
2133
2303
|
.footer-branch.footer-meta-action {
|
|
2134
2304
|
border-color: rgba(245, 194, 231, 0.24);
|
|
2135
2305
|
}
|
|
2306
|
+
.footer-worktree.footer-meta-action {
|
|
2307
|
+
border-color: rgba(166, 227, 161, 0.24);
|
|
2308
|
+
}
|
|
2136
2309
|
.footer-model-picker {
|
|
2137
2310
|
position: absolute;
|
|
2138
2311
|
left: var(--footer-model-picker-left, auto);
|
|
@@ -2246,14 +2419,58 @@ button.footer-meta {
|
|
|
2246
2419
|
.footer-model-option.drag-over-after::after {
|
|
2247
2420
|
bottom: -0.28rem;
|
|
2248
2421
|
}
|
|
2422
|
+
.footer-branch-section-title {
|
|
2423
|
+
color: rgba(var(--ctp-subtext-rgb), 0.72);
|
|
2424
|
+
font-size: 0.68rem;
|
|
2425
|
+
font-weight: 900;
|
|
2426
|
+
letter-spacing: 0.09em;
|
|
2427
|
+
text-transform: uppercase;
|
|
2428
|
+
}
|
|
2429
|
+
.footer-branch-option-row {
|
|
2430
|
+
display: grid;
|
|
2431
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2432
|
+
gap: 0.36rem;
|
|
2433
|
+
align-items: stretch;
|
|
2434
|
+
}
|
|
2249
2435
|
.footer-branch-option.active {
|
|
2250
2436
|
border-color: rgba(245, 194, 231, 0.36);
|
|
2251
2437
|
box-shadow: inset 3px 0 0 var(--ctp-pink), 0 0 1rem rgba(245, 194, 231, 0.12);
|
|
2252
2438
|
}
|
|
2439
|
+
.footer-branch-option-row.worktree-occupied .footer-branch-option {
|
|
2440
|
+
border-color: rgba(166, 227, 161, 0.34);
|
|
2441
|
+
box-shadow: inset 3px 0 0 var(--ctp-green), 0 0 1rem rgba(166, 227, 161, 0.10);
|
|
2442
|
+
}
|
|
2253
2443
|
.footer-branch-option:disabled {
|
|
2254
2444
|
cursor: default;
|
|
2255
2445
|
opacity: 0.78;
|
|
2256
2446
|
}
|
|
2447
|
+
.footer-branch-advanced-action {
|
|
2448
|
+
min-width: 5.6rem;
|
|
2449
|
+
min-height: 44px;
|
|
2450
|
+
padding: 0.35rem 0.58rem;
|
|
2451
|
+
border-color: rgba(245, 194, 231, 0.22);
|
|
2452
|
+
color: rgba(var(--ctp-subtext-rgb), 0.82);
|
|
2453
|
+
font-size: 0.7rem;
|
|
2454
|
+
font-weight: 850;
|
|
2455
|
+
white-space: nowrap;
|
|
2456
|
+
}
|
|
2457
|
+
.footer-branch-advanced-action:not(:disabled):hover,
|
|
2458
|
+
.footer-branch-advanced-action:not(:disabled):focus-visible {
|
|
2459
|
+
border-color: rgba(245, 194, 231, 0.46);
|
|
2460
|
+
color: var(--ctp-pink);
|
|
2461
|
+
}
|
|
2462
|
+
.footer-branch-advanced-action:disabled {
|
|
2463
|
+
cursor: not-allowed;
|
|
2464
|
+
opacity: 0.52;
|
|
2465
|
+
}
|
|
2466
|
+
.footer-branch-worktree-section {
|
|
2467
|
+
display: grid;
|
|
2468
|
+
gap: 0.34rem;
|
|
2469
|
+
}
|
|
2470
|
+
.footer-worktree-option.active {
|
|
2471
|
+
border-color: rgba(148, 226, 213, 0.38);
|
|
2472
|
+
box-shadow: inset 3px 0 0 var(--ctp-teal), 0 0 1rem rgba(148, 226, 213, 0.12);
|
|
2473
|
+
}
|
|
2257
2474
|
.footer-branch-create-option {
|
|
2258
2475
|
border-color: rgba(166, 227, 161, 0.34);
|
|
2259
2476
|
box-shadow: inset 3px 0 0 var(--ctp-green), 0 0 1rem rgba(166, 227, 161, 0.10);
|
|
@@ -2388,7 +2605,7 @@ button.footer-meta {
|
|
|
2388
2605
|
z-index: 80;
|
|
2389
2606
|
opacity: 0;
|
|
2390
2607
|
pointer-events: none;
|
|
2391
|
-
transition: opacity
|
|
2608
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
2392
2609
|
}
|
|
2393
2610
|
.footer-branch-create-submit[data-tooltip]::before {
|
|
2394
2611
|
content: "";
|
|
@@ -2424,7 +2641,11 @@ button.footer-meta {
|
|
|
2424
2641
|
transform: translateY(0.24rem);
|
|
2425
2642
|
}
|
|
2426
2643
|
.footer-branch-create-submit[data-tooltip]:hover::before,
|
|
2427
|
-
.footer-branch-create-submit[data-tooltip]:hover::after
|
|
2644
|
+
.footer-branch-create-submit[data-tooltip]:hover::after {
|
|
2645
|
+
opacity: 1;
|
|
2646
|
+
transform: translateY(0);
|
|
2647
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
2648
|
+
}
|
|
2428
2649
|
.footer-branch-create-submit[data-tooltip]:focus-visible::before,
|
|
2429
2650
|
.footer-branch-create-submit[data-tooltip]:focus-visible::after {
|
|
2430
2651
|
opacity: 1;
|
|
@@ -2466,6 +2687,11 @@ button.footer-meta {
|
|
|
2466
2687
|
color: var(--ctp-pink);
|
|
2467
2688
|
text-shadow: 0 0 0.55rem rgba(245, 194, 231, 0.18);
|
|
2468
2689
|
}
|
|
2690
|
+
.footer-worktree .footer-meta-value,
|
|
2691
|
+
.footer-tui-worktree {
|
|
2692
|
+
color: var(--ctp-green);
|
|
2693
|
+
text-shadow: 0 0 0.55rem rgba(166, 227, 161, 0.20);
|
|
2694
|
+
}
|
|
2469
2695
|
.footer-changes {
|
|
2470
2696
|
border-color: rgba(249, 226, 175, 0.36);
|
|
2471
2697
|
background: transparent;
|
|
@@ -3144,9 +3370,13 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
3144
3370
|
pointer-events: none;
|
|
3145
3371
|
opacity: 0;
|
|
3146
3372
|
transform: translateY(0.22rem);
|
|
3147
|
-
transition: opacity
|
|
3373
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
3374
|
+
}
|
|
3375
|
+
.git-workflow-actions button[data-tooltip]:hover::after {
|
|
3376
|
+
opacity: 1;
|
|
3377
|
+
transform: translateY(0);
|
|
3378
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
3148
3379
|
}
|
|
3149
|
-
.git-workflow-actions button[data-tooltip]:hover::after,
|
|
3150
3380
|
.git-workflow-actions button[data-tooltip]:focus-visible::after {
|
|
3151
3381
|
opacity: 1;
|
|
3152
3382
|
transform: translateY(0);
|
|
@@ -3332,6 +3562,49 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
3332
3562
|
gap: 0.42rem;
|
|
3333
3563
|
min-width: 0;
|
|
3334
3564
|
}
|
|
3565
|
+
.app-runner-context-form {
|
|
3566
|
+
display: grid;
|
|
3567
|
+
grid-template-columns: auto auto;
|
|
3568
|
+
flex: 0 1 auto;
|
|
3569
|
+
gap: 0.42rem;
|
|
3570
|
+
align-items: stretch;
|
|
3571
|
+
min-width: min(100%, 18rem);
|
|
3572
|
+
}
|
|
3573
|
+
.app-runner-context-lines-label {
|
|
3574
|
+
display: inline-grid;
|
|
3575
|
+
grid-template-columns: auto minmax(4.2rem, 5.8rem);
|
|
3576
|
+
align-items: center;
|
|
3577
|
+
gap: 0.38rem;
|
|
3578
|
+
min-width: 0;
|
|
3579
|
+
color: rgba(var(--ctp-subtext-rgb), 0.88);
|
|
3580
|
+
font-weight: 800;
|
|
3581
|
+
}
|
|
3582
|
+
.app-runner-context-lines-input {
|
|
3583
|
+
min-height: 2.15rem;
|
|
3584
|
+
width: 100%;
|
|
3585
|
+
padding: 0.34rem 0.52rem;
|
|
3586
|
+
border: 1px solid rgba(148, 226, 213, 0.34);
|
|
3587
|
+
border-radius: 0.68rem;
|
|
3588
|
+
color: rgba(var(--ctp-text-rgb), 0.96);
|
|
3589
|
+
background: rgba(var(--ctp-crust-rgb), 0.72);
|
|
3590
|
+
font: inherit;
|
|
3591
|
+
line-height: 1.1;
|
|
3592
|
+
}
|
|
3593
|
+
.app-runner-context-lines-input:focus {
|
|
3594
|
+
outline: 2px solid rgba(148, 226, 213, 0.56);
|
|
3595
|
+
outline-offset: 0.12rem;
|
|
3596
|
+
border-color: rgba(148, 226, 213, 0.62);
|
|
3597
|
+
}
|
|
3598
|
+
.app-runner-context-action {
|
|
3599
|
+
color: var(--ctp-teal);
|
|
3600
|
+
border-color: rgba(148, 226, 213, 0.34);
|
|
3601
|
+
}
|
|
3602
|
+
.app-runner-context-action:not(:disabled):hover,
|
|
3603
|
+
.app-runner-context-action:not(:disabled):focus-visible {
|
|
3604
|
+
color: #11111b;
|
|
3605
|
+
border-color: transparent;
|
|
3606
|
+
background: linear-gradient(120deg, var(--ctp-teal), var(--ctp-blue));
|
|
3607
|
+
}
|
|
3335
3608
|
.app-runner-output-controls .release-npm-action {
|
|
3336
3609
|
flex: 0 0 auto;
|
|
3337
3610
|
min-height: 2.15rem;
|
|
@@ -5290,7 +5563,7 @@ button.composer-skill-tag:focus-visible {
|
|
|
5290
5563
|
right: 0;
|
|
5291
5564
|
pointer-events: none;
|
|
5292
5565
|
opacity: 0;
|
|
5293
|
-
transition: opacity
|
|
5566
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
5294
5567
|
}
|
|
5295
5568
|
.composer-row button[data-tooltip]::before,
|
|
5296
5569
|
.composer-input-row button[data-tooltip]::before {
|
|
@@ -5330,12 +5603,16 @@ button.composer-skill-tag:focus-visible {
|
|
|
5330
5603
|
}
|
|
5331
5604
|
.composer-row button[data-tooltip]:hover::before,
|
|
5332
5605
|
.composer-row button[data-tooltip]:hover::after,
|
|
5606
|
+
.composer-input-row button[data-tooltip]:hover::before,
|
|
5607
|
+
.composer-input-row button[data-tooltip]:hover::after {
|
|
5608
|
+
opacity: 1;
|
|
5609
|
+
transform: translateY(0);
|
|
5610
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
5611
|
+
}
|
|
5333
5612
|
.composer-row button[data-tooltip]:focus-visible::before,
|
|
5334
5613
|
.composer-row button[data-tooltip]:focus-visible::after,
|
|
5335
5614
|
.composer-row button[data-tooltip].tooltip-open::before,
|
|
5336
5615
|
.composer-row button[data-tooltip].tooltip-open::after,
|
|
5337
|
-
.composer-input-row button[data-tooltip]:hover::before,
|
|
5338
|
-
.composer-input-row button[data-tooltip]:hover::after,
|
|
5339
5616
|
.composer-input-row button[data-tooltip]:focus-visible::before,
|
|
5340
5617
|
.composer-input-row button[data-tooltip]:focus-visible::after,
|
|
5341
5618
|
.composer-input-row button[data-tooltip].tooltip-open::before,
|
|
@@ -5476,6 +5753,9 @@ button.composer-skill-tag:focus-visible {
|
|
|
5476
5753
|
border-radius: 0.68rem;
|
|
5477
5754
|
background: rgba(var(--ctp-surface-rgb), 0.20);
|
|
5478
5755
|
}
|
|
5756
|
+
.queue-item.can-remove {
|
|
5757
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
5758
|
+
}
|
|
5479
5759
|
.queue-item-number {
|
|
5480
5760
|
color: rgba(var(--ctp-subtext-rgb), 0.70);
|
|
5481
5761
|
font-size: 0.68rem;
|
|
@@ -5490,6 +5770,26 @@ button.composer-skill-tag:focus-visible {
|
|
|
5490
5770
|
overflow-wrap: anywhere;
|
|
5491
5771
|
white-space: pre-wrap;
|
|
5492
5772
|
}
|
|
5773
|
+
.queue-remove-button {
|
|
5774
|
+
align-self: center;
|
|
5775
|
+
min-height: 1.9rem;
|
|
5776
|
+
padding: 0.22rem 0.48rem;
|
|
5777
|
+
border: 1px solid rgba(243, 139, 168, 0.28);
|
|
5778
|
+
border-radius: 999px;
|
|
5779
|
+
background: rgba(243, 139, 168, 0.12);
|
|
5780
|
+
color: var(--ctp-red);
|
|
5781
|
+
font-size: 0.68rem;
|
|
5782
|
+
font-weight: 900;
|
|
5783
|
+
}
|
|
5784
|
+
.queue-remove-button:hover:not(:disabled),
|
|
5785
|
+
.queue-remove-button:focus-visible {
|
|
5786
|
+
background: rgba(243, 139, 168, 0.20);
|
|
5787
|
+
box-shadow: 0 0 0 2px rgba(243, 139, 168, 0.14);
|
|
5788
|
+
}
|
|
5789
|
+
.queue-remove-button:disabled {
|
|
5790
|
+
cursor: wait;
|
|
5791
|
+
opacity: 0.68;
|
|
5792
|
+
}
|
|
5493
5793
|
.queue-hint {
|
|
5494
5794
|
color: rgba(var(--ctp-subtext-rgb), 0.68);
|
|
5495
5795
|
font-size: 0.72rem;
|
|
@@ -7540,15 +7840,17 @@ button.composer-skill-tag:focus-visible {
|
|
|
7540
7840
|
}
|
|
7541
7841
|
.footer-line-meta .footer-meta { display: none; }
|
|
7542
7842
|
.footer-workspace,
|
|
7543
|
-
.footer-context
|
|
7843
|
+
.footer-context,
|
|
7844
|
+
.footer-worktree { display: grid !important; }
|
|
7544
7845
|
.footer-workspace { order: 1; }
|
|
7545
7846
|
.footer-context { order: 2; }
|
|
7546
|
-
.footer-
|
|
7547
|
-
.footer-
|
|
7548
|
-
.footer-
|
|
7549
|
-
.footer-
|
|
7550
|
-
.footer-
|
|
7551
|
-
.footer-
|
|
7847
|
+
.footer-worktree { order: 3; }
|
|
7848
|
+
.footer-details-toggle { order: 4; }
|
|
7849
|
+
.footer-branch { order: 5; }
|
|
7850
|
+
.footer-changes { order: 6; }
|
|
7851
|
+
.footer-runtime { order: 7; }
|
|
7852
|
+
.footer-model { order: 8; }
|
|
7853
|
+
.footer-thinking { order: 9; }
|
|
7552
7854
|
body.footer-details-expanded .footer-line-meta {
|
|
7553
7855
|
grid-template-columns: 1fr;
|
|
7554
7856
|
}
|
|
@@ -7930,12 +8232,15 @@ button.composer-skill-tag:focus-visible {
|
|
|
7930
8232
|
.native-tree-options { grid-template-columns: 1fr; }
|
|
7931
8233
|
.app-runner-custom-item,
|
|
7932
8234
|
.app-runner-custom-path-row,
|
|
8235
|
+
.app-runner-context-form,
|
|
8236
|
+
.app-runner-context-lines-label,
|
|
7933
8237
|
.app-runner-stdin-form { grid-template-columns: 1fr; }
|
|
7934
8238
|
.app-runner-custom-item-actions,
|
|
7935
8239
|
.app-runner-custom-form-actions { justify-content: stretch; }
|
|
7936
8240
|
.app-runner-custom-item-actions button,
|
|
7937
8241
|
.app-runner-custom-form-actions button,
|
|
7938
8242
|
.app-runner-custom-browse,
|
|
8243
|
+
.app-runner-context-action,
|
|
7939
8244
|
.app-runner-stdin-send,
|
|
7940
8245
|
.app-runner-stdin-eof { width: 100%; }
|
|
7941
8246
|
.path-picker-current-row,
|
|
@@ -8041,7 +8346,7 @@ button.composer-skill-tag:focus-visible {
|
|
|
8041
8346
|
right: 0;
|
|
8042
8347
|
pointer-events: none;
|
|
8043
8348
|
opacity: 0;
|
|
8044
|
-
transition: opacity
|
|
8349
|
+
transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
|
|
8045
8350
|
}
|
|
8046
8351
|
.terminal-command-palette-button[data-tooltip]::before,
|
|
8047
8352
|
.terminal-dashboard-button[data-tooltip]::before {
|
|
@@ -8082,10 +8387,14 @@ button.composer-skill-tag:focus-visible {
|
|
|
8082
8387
|
}
|
|
8083
8388
|
.terminal-command-palette-button[data-tooltip]:hover::before,
|
|
8084
8389
|
.terminal-command-palette-button[data-tooltip]:hover::after,
|
|
8390
|
+
.terminal-dashboard-button[data-tooltip]:hover::before,
|
|
8391
|
+
.terminal-dashboard-button[data-tooltip]:hover::after {
|
|
8392
|
+
opacity: 1;
|
|
8393
|
+
transform: translateY(0);
|
|
8394
|
+
transition-delay: var(--tooltip-hover-delay);
|
|
8395
|
+
}
|
|
8085
8396
|
.terminal-command-palette-button[data-tooltip]:focus-visible::before,
|
|
8086
8397
|
.terminal-command-palette-button[data-tooltip]:focus-visible::after,
|
|
8087
|
-
.terminal-dashboard-button[data-tooltip]:hover::before,
|
|
8088
|
-
.terminal-dashboard-button[data-tooltip]:hover::after,
|
|
8089
8398
|
.terminal-dashboard-button[data-tooltip]:focus-visible::before,
|
|
8090
8399
|
.terminal-dashboard-button[data-tooltip]:focus-visible::after {
|
|
8091
8400
|
opacity: 1;
|
|
@@ -8195,6 +8504,22 @@ button.composer-skill-tag:focus-visible {
|
|
|
8195
8504
|
background: rgba(249, 226, 175, 0.12);
|
|
8196
8505
|
color: var(--ctp-yellow);
|
|
8197
8506
|
}
|
|
8507
|
+
button.workspace-dashboard-chip {
|
|
8508
|
+
appearance: none;
|
|
8509
|
+
cursor: pointer;
|
|
8510
|
+
font: inherit;
|
|
8511
|
+
}
|
|
8512
|
+
.workspace-dashboard-chip.worktree {
|
|
8513
|
+
border-color: rgba(166, 227, 161, 0.34);
|
|
8514
|
+
background: rgba(166, 227, 161, 0.10);
|
|
8515
|
+
color: var(--ctp-green);
|
|
8516
|
+
}
|
|
8517
|
+
.workspace-dashboard-chip.worktree:hover,
|
|
8518
|
+
.workspace-dashboard-chip.worktree:focus-visible {
|
|
8519
|
+
border-color: rgba(166, 227, 161, 0.54);
|
|
8520
|
+
outline: none;
|
|
8521
|
+
box-shadow: 0 0 0.8rem rgba(166, 227, 161, 0.16);
|
|
8522
|
+
}
|
|
8198
8523
|
.workspace-dashboard-chip-dot {
|
|
8199
8524
|
color: var(--ctp-teal);
|
|
8200
8525
|
font-size: 0.66rem;
|
|
@@ -8220,6 +8545,16 @@ button.composer-skill-tag:focus-visible {
|
|
|
8220
8545
|
background: var(--neon-gradient);
|
|
8221
8546
|
box-shadow: 0 0.55rem 1.4rem rgba(137, 180, 250, 0.18);
|
|
8222
8547
|
}
|
|
8548
|
+
.workspace-dashboard-action.worktree {
|
|
8549
|
+
border-color: rgba(166, 227, 161, 0.34);
|
|
8550
|
+
color: var(--ctp-green);
|
|
8551
|
+
background: rgba(166, 227, 161, 0.08);
|
|
8552
|
+
}
|
|
8553
|
+
.workspace-dashboard-action.worktree:hover,
|
|
8554
|
+
.workspace-dashboard-action.worktree:focus-visible {
|
|
8555
|
+
border-color: rgba(166, 227, 161, 0.54);
|
|
8556
|
+
box-shadow: 0 0.55rem 1.4rem rgba(166, 227, 161, 0.14);
|
|
8557
|
+
}
|
|
8223
8558
|
.workspace-dashboard-metrics {
|
|
8224
8559
|
display: grid;
|
|
8225
8560
|
grid-template-columns: minmax(11rem, 1.15fr) minmax(12rem, 1.2fr) minmax(13rem, 1.35fr) minmax(7rem, 0.75fr);
|