@firstpick/pi-package-webui 0.5.6 → 0.5.8

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/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" title="Start a separate isolated Pi terminal" aria-haspopup="menu" aria-expanded="false" aria-controls="newTabMenuPanel">+ Tab ▾</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:&#10;• Create or open a separate Git checkout in a new Pi tab.&#10;• Keeps this tab on its current branch.&#10;• 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" title="Open command palette (Ctrl/Cmd+K)" aria-label="Open command palette" data-tooltip="Command palette:&#10;• Search and run actions, slash commands, models, and tabs.&#10;• 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>
76
- <button id="workspaceDashboardToggleButton" class="terminal-dashboard-button" type="button" aria-controls="workspaceDashboard" aria-expanded="false" title="Show workspace overview" aria-label="Show workspace overview" data-tooltip="Workspace overview:&#10;• Shows current tab, cwd, model, context, session, and queue.&#10;• 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>
77
- <button id="closeAllTabsButton" class="terminal-close-all-button" type="button" title="Close all terminal tabs">Close all Tabs</button>
76
+ <button id="commandPaletteButton" class="terminal-command-palette-button" type="button" aria-label="Open command palette" data-tooltip="Command palette:&#10;• Search and run actions, slash commands, models, and tabs.&#10;• 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:&#10;• Shows current tab, cwd, model, context, session, and queue.&#10;• 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 create a PR branch, commit short or long, then push or create a pull request. Cancel is available at each step."
160
- data-tooltip="Guided Git workflow:&#10;1. Stage all changes with git add .&#10;2. Generate and preview staged commit messages.&#10;3. Optional: create or type a PR branch before committing.&#10;4. Commit with the short or long message.&#10;5. Push normally, or push the PR branch, generate/review /pr, and create the PR.&#10;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:&#10;1. Stage all changes with git add .&#10;2. Generate and preview staged commit messages.&#10;3. Optional: create or type a PR branch worktree before committing.&#10;4. Commit with the short or long message in the worktree tab.&#10;5. Push normally, or push the PR worktree branch, generate/review /pr, and create the PR.&#10;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=57"></script>
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 120ms ease, transform 120ms ease;
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 {
@@ -1842,8 +1950,7 @@ body.side-panel-collapsed .terminal-tabs-shell {
1842
1950
  }
1843
1951
  .widget-area:has(.release-npm-live-widget .release-npm-output-details[open]),
1844
1952
  .widget-area:has(.release-aur-live-widget .release-npm-output-details[open]),
1845
- .widget-area:has(.workflow-live-widget .release-npm-output-details[open]),
1846
- .widget-area:has(.app-runner-live-widget .release-npm-output-details[open]) {
1953
+ .widget-area:has(.workflow-live-widget .release-npm-output-details[open]) {
1847
1954
  flex: 0 0 min(44rem, 68dvh);
1848
1955
  min-height: 0;
1849
1956
  overflow: auto;
@@ -1851,6 +1958,14 @@ body.side-panel-collapsed .terminal-tabs-shell {
1851
1958
  scrollbar-gutter: stable;
1852
1959
  overflow-anchor: none;
1853
1960
  }
1961
+ .widget-area:has(.app-runner-live-widget .release-npm-output-details[open]) {
1962
+ flex: 0 0 auto;
1963
+ min-height: 0;
1964
+ overflow: visible;
1965
+ overscroll-behavior: contain;
1966
+ scrollbar-gutter: auto;
1967
+ overflow-anchor: none;
1968
+ }
1854
1969
  .statusbar {
1855
1970
  position: relative;
1856
1971
  flex: 0 0 auto;
@@ -1922,6 +2037,66 @@ body.side-panel-collapsed .terminal-tabs-shell {
1922
2037
  .footer-line-meta .footer-details-toggle {
1923
2038
  flex: 0 0 auto;
1924
2039
  }
2040
+ .git-footer-refresh-button {
2041
+ position: absolute;
2042
+ z-index: 4;
2043
+ top: 0.52rem;
2044
+ right: 0.66rem;
2045
+ display: inline-grid;
2046
+ place-items: center;
2047
+ width: 1.72rem;
2048
+ min-width: 1.72rem;
2049
+ height: 1.72rem;
2050
+ min-height: 1.72rem;
2051
+ padding: 0;
2052
+ color: rgba(var(--ctp-text-rgb), 0.86);
2053
+ border: 1px solid rgba(148, 226, 213, 0.30);
2054
+ border-radius: 999px;
2055
+ background:
2056
+ radial-gradient(circle at 30% 20%, rgba(148, 226, 213, 0.20), transparent 70%),
2057
+ rgba(var(--ctp-surface-rgb), 0.36);
2058
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0.34rem 0.82rem rgba(var(--ctp-crust-rgb), 0.24);
2059
+ font: inherit;
2060
+ font-size: 0.86rem;
2061
+ font-weight: 950;
2062
+ line-height: 1;
2063
+ cursor: pointer;
2064
+ opacity: 0;
2065
+ pointer-events: none;
2066
+ transform: translateY(-0.1rem) scale(0.94);
2067
+ transition: opacity 120ms ease, transform 120ms ease, border-color 140ms ease, box-shadow 140ms ease;
2068
+ }
2069
+ .statusbar-git-footer:hover .git-footer-refresh-button,
2070
+ .statusbar-git-footer:focus-within .git-footer-refresh-button,
2071
+ .git-footer-refresh-button:hover,
2072
+ .git-footer-refresh-button:focus-visible {
2073
+ opacity: 1;
2074
+ pointer-events: auto;
2075
+ transform: translateY(0) scale(1);
2076
+ }
2077
+ .git-footer-refresh-button:hover,
2078
+ .git-footer-refresh-button:focus-visible {
2079
+ color: var(--ctp-teal);
2080
+ border-color: rgba(148, 226, 213, 0.56);
2081
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0.9rem rgba(148, 226, 213, 0.18);
2082
+ outline: none;
2083
+ }
2084
+ .git-footer-refresh-button[aria-disabled="true"] {
2085
+ cursor: help;
2086
+ }
2087
+ .statusbar-git-footer:hover .git-footer-refresh-button[aria-disabled="true"],
2088
+ .statusbar-git-footer:focus-within .git-footer-refresh-button[aria-disabled="true"] {
2089
+ opacity: 0.62;
2090
+ }
2091
+ .git-footer-refresh-button[aria-busy="true"] {
2092
+ cursor: progress;
2093
+ }
2094
+ .git-footer-refresh-button[aria-busy="true"] .git-footer-refresh-icon {
2095
+ animation: git-footer-refresh-spin 0.8s linear infinite;
2096
+ }
2097
+ @keyframes git-footer-refresh-spin {
2098
+ to { transform: rotate(360deg); }
2099
+ }
1925
2100
  .footer-line-tui {
1926
2101
  align-items: center;
1927
2102
  gap: 0.5rem;
@@ -1996,10 +2171,12 @@ button.footer-tui-item {
1996
2171
  text-align: left;
1997
2172
  white-space: pre-wrap;
1998
2173
  opacity: 0;
1999
- transition: opacity 120ms ease;
2174
+ transform: translateY(0.16rem);
2175
+ transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
2000
2176
  }
2001
2177
  .footer-floating-tooltip.visible {
2002
2178
  opacity: 1;
2179
+ transform: translateY(0);
2003
2180
  }
2004
2181
  .footer-metric {
2005
2182
  display: inline-grid;
@@ -2133,6 +2310,9 @@ button.footer-meta {
2133
2310
  .footer-branch.footer-meta-action {
2134
2311
  border-color: rgba(245, 194, 231, 0.24);
2135
2312
  }
2313
+ .footer-worktree.footer-meta-action {
2314
+ border-color: rgba(166, 227, 161, 0.24);
2315
+ }
2136
2316
  .footer-model-picker {
2137
2317
  position: absolute;
2138
2318
  left: var(--footer-model-picker-left, auto);
@@ -2246,14 +2426,58 @@ button.footer-meta {
2246
2426
  .footer-model-option.drag-over-after::after {
2247
2427
  bottom: -0.28rem;
2248
2428
  }
2429
+ .footer-branch-section-title {
2430
+ color: rgba(var(--ctp-subtext-rgb), 0.72);
2431
+ font-size: 0.68rem;
2432
+ font-weight: 900;
2433
+ letter-spacing: 0.09em;
2434
+ text-transform: uppercase;
2435
+ }
2436
+ .footer-branch-option-row {
2437
+ display: grid;
2438
+ grid-template-columns: minmax(0, 1fr) auto;
2439
+ gap: 0.36rem;
2440
+ align-items: stretch;
2441
+ }
2249
2442
  .footer-branch-option.active {
2250
2443
  border-color: rgba(245, 194, 231, 0.36);
2251
2444
  box-shadow: inset 3px 0 0 var(--ctp-pink), 0 0 1rem rgba(245, 194, 231, 0.12);
2252
2445
  }
2446
+ .footer-branch-option-row.worktree-occupied .footer-branch-option {
2447
+ border-color: rgba(166, 227, 161, 0.34);
2448
+ box-shadow: inset 3px 0 0 var(--ctp-green), 0 0 1rem rgba(166, 227, 161, 0.10);
2449
+ }
2253
2450
  .footer-branch-option:disabled {
2254
2451
  cursor: default;
2255
2452
  opacity: 0.78;
2256
2453
  }
2454
+ .footer-branch-advanced-action {
2455
+ min-width: 5.6rem;
2456
+ min-height: 44px;
2457
+ padding: 0.35rem 0.58rem;
2458
+ border-color: rgba(245, 194, 231, 0.22);
2459
+ color: rgba(var(--ctp-subtext-rgb), 0.82);
2460
+ font-size: 0.7rem;
2461
+ font-weight: 850;
2462
+ white-space: nowrap;
2463
+ }
2464
+ .footer-branch-advanced-action:not(:disabled):hover,
2465
+ .footer-branch-advanced-action:not(:disabled):focus-visible {
2466
+ border-color: rgba(245, 194, 231, 0.46);
2467
+ color: var(--ctp-pink);
2468
+ }
2469
+ .footer-branch-advanced-action:disabled {
2470
+ cursor: not-allowed;
2471
+ opacity: 0.52;
2472
+ }
2473
+ .footer-branch-worktree-section {
2474
+ display: grid;
2475
+ gap: 0.34rem;
2476
+ }
2477
+ .footer-worktree-option.active {
2478
+ border-color: rgba(148, 226, 213, 0.38);
2479
+ box-shadow: inset 3px 0 0 var(--ctp-teal), 0 0 1rem rgba(148, 226, 213, 0.12);
2480
+ }
2257
2481
  .footer-branch-create-option {
2258
2482
  border-color: rgba(166, 227, 161, 0.34);
2259
2483
  box-shadow: inset 3px 0 0 var(--ctp-green), 0 0 1rem rgba(166, 227, 161, 0.10);
@@ -2388,7 +2612,7 @@ button.footer-meta {
2388
2612
  z-index: 80;
2389
2613
  opacity: 0;
2390
2614
  pointer-events: none;
2391
- transition: opacity 0.14s ease, transform 0.14s ease;
2615
+ transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
2392
2616
  }
2393
2617
  .footer-branch-create-submit[data-tooltip]::before {
2394
2618
  content: "";
@@ -2424,7 +2648,11 @@ button.footer-meta {
2424
2648
  transform: translateY(0.24rem);
2425
2649
  }
2426
2650
  .footer-branch-create-submit[data-tooltip]:hover::before,
2427
- .footer-branch-create-submit[data-tooltip]:hover::after,
2651
+ .footer-branch-create-submit[data-tooltip]:hover::after {
2652
+ opacity: 1;
2653
+ transform: translateY(0);
2654
+ transition-delay: var(--tooltip-hover-delay);
2655
+ }
2428
2656
  .footer-branch-create-submit[data-tooltip]:focus-visible::before,
2429
2657
  .footer-branch-create-submit[data-tooltip]:focus-visible::after {
2430
2658
  opacity: 1;
@@ -2466,6 +2694,11 @@ button.footer-meta {
2466
2694
  color: var(--ctp-pink);
2467
2695
  text-shadow: 0 0 0.55rem rgba(245, 194, 231, 0.18);
2468
2696
  }
2697
+ .footer-worktree .footer-meta-value,
2698
+ .footer-tui-worktree {
2699
+ color: var(--ctp-green);
2700
+ text-shadow: 0 0 0.55rem rgba(166, 227, 161, 0.20);
2701
+ }
2469
2702
  .footer-changes {
2470
2703
  border-color: rgba(249, 226, 175, 0.36);
2471
2704
  background: transparent;
@@ -3144,9 +3377,13 @@ button.git-workflow-step:hover:not(:disabled) {
3144
3377
  pointer-events: none;
3145
3378
  opacity: 0;
3146
3379
  transform: translateY(0.22rem);
3147
- transition: opacity 140ms ease, transform 140ms ease;
3380
+ transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
3381
+ }
3382
+ .git-workflow-actions button[data-tooltip]:hover::after {
3383
+ opacity: 1;
3384
+ transform: translateY(0);
3385
+ transition-delay: var(--tooltip-hover-delay);
3148
3386
  }
3149
- .git-workflow-actions button[data-tooltip]:hover::after,
3150
3387
  .git-workflow-actions button[data-tooltip]:focus-visible::after {
3151
3388
  opacity: 1;
3152
3389
  transform: translateY(0);
@@ -3332,6 +3569,49 @@ button.git-workflow-step:hover:not(:disabled) {
3332
3569
  gap: 0.42rem;
3333
3570
  min-width: 0;
3334
3571
  }
3572
+ .app-runner-context-form {
3573
+ display: grid;
3574
+ grid-template-columns: auto auto;
3575
+ flex: 0 1 auto;
3576
+ gap: 0.42rem;
3577
+ align-items: stretch;
3578
+ min-width: min(100%, 18rem);
3579
+ }
3580
+ .app-runner-context-lines-label {
3581
+ display: inline-grid;
3582
+ grid-template-columns: auto minmax(4.2rem, 5.8rem);
3583
+ align-items: center;
3584
+ gap: 0.38rem;
3585
+ min-width: 0;
3586
+ color: rgba(var(--ctp-subtext-rgb), 0.88);
3587
+ font-weight: 800;
3588
+ }
3589
+ .app-runner-context-lines-input {
3590
+ min-height: 2.15rem;
3591
+ width: 100%;
3592
+ padding: 0.34rem 0.52rem;
3593
+ border: 1px solid rgba(148, 226, 213, 0.34);
3594
+ border-radius: 0.68rem;
3595
+ color: rgba(var(--ctp-text-rgb), 0.96);
3596
+ background: rgba(var(--ctp-crust-rgb), 0.72);
3597
+ font: inherit;
3598
+ line-height: 1.1;
3599
+ }
3600
+ .app-runner-context-lines-input:focus {
3601
+ outline: 2px solid rgba(148, 226, 213, 0.56);
3602
+ outline-offset: 0.12rem;
3603
+ border-color: rgba(148, 226, 213, 0.62);
3604
+ }
3605
+ .app-runner-context-action {
3606
+ color: var(--ctp-teal);
3607
+ border-color: rgba(148, 226, 213, 0.34);
3608
+ }
3609
+ .app-runner-context-action:not(:disabled):hover,
3610
+ .app-runner-context-action:not(:disabled):focus-visible {
3611
+ color: #11111b;
3612
+ border-color: transparent;
3613
+ background: linear-gradient(120deg, var(--ctp-teal), var(--ctp-blue));
3614
+ }
3335
3615
  .app-runner-output-controls .release-npm-action {
3336
3616
  flex: 0 0 auto;
3337
3617
  min-height: 2.15rem;
@@ -3569,8 +3849,7 @@ button.git-workflow-step:hover:not(:disabled) {
3569
3849
  }
3570
3850
  .release-npm-live-widget .release-npm-output-details[open] .release-npm-terminal,
3571
3851
  .release-aur-live-widget .release-npm-output-details[open] .release-npm-terminal,
3572
- .workflow-live-widget .release-npm-output-details[open] .release-npm-terminal,
3573
- .app-runner-live-widget .release-npm-output-details[open] .release-npm-terminal {
3852
+ .workflow-live-widget .release-npm-output-details[open] .release-npm-terminal {
3574
3853
  height: clamp(15rem, 42dvh, 31rem);
3575
3854
  min-height: 0;
3576
3855
  }
@@ -5290,7 +5569,7 @@ button.composer-skill-tag:focus-visible {
5290
5569
  right: 0;
5291
5570
  pointer-events: none;
5292
5571
  opacity: 0;
5293
- transition: opacity 140ms ease, transform 140ms ease;
5572
+ transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
5294
5573
  }
5295
5574
  .composer-row button[data-tooltip]::before,
5296
5575
  .composer-input-row button[data-tooltip]::before {
@@ -5330,12 +5609,16 @@ button.composer-skill-tag:focus-visible {
5330
5609
  }
5331
5610
  .composer-row button[data-tooltip]:hover::before,
5332
5611
  .composer-row button[data-tooltip]:hover::after,
5612
+ .composer-input-row button[data-tooltip]:hover::before,
5613
+ .composer-input-row button[data-tooltip]:hover::after {
5614
+ opacity: 1;
5615
+ transform: translateY(0);
5616
+ transition-delay: var(--tooltip-hover-delay);
5617
+ }
5333
5618
  .composer-row button[data-tooltip]:focus-visible::before,
5334
5619
  .composer-row button[data-tooltip]:focus-visible::after,
5335
5620
  .composer-row button[data-tooltip].tooltip-open::before,
5336
5621
  .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
5622
  .composer-input-row button[data-tooltip]:focus-visible::before,
5340
5623
  .composer-input-row button[data-tooltip]:focus-visible::after,
5341
5624
  .composer-input-row button[data-tooltip].tooltip-open::before,
@@ -5476,6 +5759,9 @@ button.composer-skill-tag:focus-visible {
5476
5759
  border-radius: 0.68rem;
5477
5760
  background: rgba(var(--ctp-surface-rgb), 0.20);
5478
5761
  }
5762
+ .queue-item.can-remove {
5763
+ grid-template-columns: auto minmax(0, 1fr) auto;
5764
+ }
5479
5765
  .queue-item-number {
5480
5766
  color: rgba(var(--ctp-subtext-rgb), 0.70);
5481
5767
  font-size: 0.68rem;
@@ -5490,6 +5776,26 @@ button.composer-skill-tag:focus-visible {
5490
5776
  overflow-wrap: anywhere;
5491
5777
  white-space: pre-wrap;
5492
5778
  }
5779
+ .queue-remove-button {
5780
+ align-self: center;
5781
+ min-height: 1.9rem;
5782
+ padding: 0.22rem 0.48rem;
5783
+ border: 1px solid rgba(243, 139, 168, 0.28);
5784
+ border-radius: 999px;
5785
+ background: rgba(243, 139, 168, 0.12);
5786
+ color: var(--ctp-red);
5787
+ font-size: 0.68rem;
5788
+ font-weight: 900;
5789
+ }
5790
+ .queue-remove-button:hover:not(:disabled),
5791
+ .queue-remove-button:focus-visible {
5792
+ background: rgba(243, 139, 168, 0.20);
5793
+ box-shadow: 0 0 0 2px rgba(243, 139, 168, 0.14);
5794
+ }
5795
+ .queue-remove-button:disabled {
5796
+ cursor: wait;
5797
+ opacity: 0.68;
5798
+ }
5493
5799
  .queue-hint {
5494
5800
  color: rgba(var(--ctp-subtext-rgb), 0.68);
5495
5801
  font-size: 0.72rem;
@@ -7540,15 +7846,17 @@ button.composer-skill-tag:focus-visible {
7540
7846
  }
7541
7847
  .footer-line-meta .footer-meta { display: none; }
7542
7848
  .footer-workspace,
7543
- .footer-context { display: grid !important; }
7849
+ .footer-context,
7850
+ .footer-worktree { display: grid !important; }
7544
7851
  .footer-workspace { order: 1; }
7545
7852
  .footer-context { order: 2; }
7546
- .footer-details-toggle { order: 3; }
7547
- .footer-branch { order: 4; }
7548
- .footer-changes { order: 5; }
7549
- .footer-runtime { order: 6; }
7550
- .footer-model { order: 7; }
7551
- .footer-thinking { order: 8; }
7853
+ .footer-worktree { order: 3; }
7854
+ .footer-details-toggle { order: 4; }
7855
+ .footer-branch { order: 5; }
7856
+ .footer-changes { order: 6; }
7857
+ .footer-runtime { order: 7; }
7858
+ .footer-model { order: 8; }
7859
+ .footer-thinking { order: 9; }
7552
7860
  body.footer-details-expanded .footer-line-meta {
7553
7861
  grid-template-columns: 1fr;
7554
7862
  }
@@ -7930,12 +8238,15 @@ button.composer-skill-tag:focus-visible {
7930
8238
  .native-tree-options { grid-template-columns: 1fr; }
7931
8239
  .app-runner-custom-item,
7932
8240
  .app-runner-custom-path-row,
8241
+ .app-runner-context-form,
8242
+ .app-runner-context-lines-label,
7933
8243
  .app-runner-stdin-form { grid-template-columns: 1fr; }
7934
8244
  .app-runner-custom-item-actions,
7935
8245
  .app-runner-custom-form-actions { justify-content: stretch; }
7936
8246
  .app-runner-custom-item-actions button,
7937
8247
  .app-runner-custom-form-actions button,
7938
8248
  .app-runner-custom-browse,
8249
+ .app-runner-context-action,
7939
8250
  .app-runner-stdin-send,
7940
8251
  .app-runner-stdin-eof { width: 100%; }
7941
8252
  .path-picker-current-row,
@@ -8041,7 +8352,7 @@ button.composer-skill-tag:focus-visible {
8041
8352
  right: 0;
8042
8353
  pointer-events: none;
8043
8354
  opacity: 0;
8044
- transition: opacity 140ms ease, transform 140ms ease;
8355
+ transition: opacity var(--tooltip-blend-duration) var(--tooltip-blend-ease), transform var(--tooltip-blend-duration) var(--tooltip-blend-ease);
8045
8356
  }
8046
8357
  .terminal-command-palette-button[data-tooltip]::before,
8047
8358
  .terminal-dashboard-button[data-tooltip]::before {
@@ -8082,10 +8393,14 @@ button.composer-skill-tag:focus-visible {
8082
8393
  }
8083
8394
  .terminal-command-palette-button[data-tooltip]:hover::before,
8084
8395
  .terminal-command-palette-button[data-tooltip]:hover::after,
8396
+ .terminal-dashboard-button[data-tooltip]:hover::before,
8397
+ .terminal-dashboard-button[data-tooltip]:hover::after {
8398
+ opacity: 1;
8399
+ transform: translateY(0);
8400
+ transition-delay: var(--tooltip-hover-delay);
8401
+ }
8085
8402
  .terminal-command-palette-button[data-tooltip]:focus-visible::before,
8086
8403
  .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
8404
  .terminal-dashboard-button[data-tooltip]:focus-visible::before,
8090
8405
  .terminal-dashboard-button[data-tooltip]:focus-visible::after {
8091
8406
  opacity: 1;
@@ -8195,6 +8510,22 @@ button.composer-skill-tag:focus-visible {
8195
8510
  background: rgba(249, 226, 175, 0.12);
8196
8511
  color: var(--ctp-yellow);
8197
8512
  }
8513
+ button.workspace-dashboard-chip {
8514
+ appearance: none;
8515
+ cursor: pointer;
8516
+ font: inherit;
8517
+ }
8518
+ .workspace-dashboard-chip.worktree {
8519
+ border-color: rgba(166, 227, 161, 0.34);
8520
+ background: rgba(166, 227, 161, 0.10);
8521
+ color: var(--ctp-green);
8522
+ }
8523
+ .workspace-dashboard-chip.worktree:hover,
8524
+ .workspace-dashboard-chip.worktree:focus-visible {
8525
+ border-color: rgba(166, 227, 161, 0.54);
8526
+ outline: none;
8527
+ box-shadow: 0 0 0.8rem rgba(166, 227, 161, 0.16);
8528
+ }
8198
8529
  .workspace-dashboard-chip-dot {
8199
8530
  color: var(--ctp-teal);
8200
8531
  font-size: 0.66rem;
@@ -8220,6 +8551,16 @@ button.composer-skill-tag:focus-visible {
8220
8551
  background: var(--neon-gradient);
8221
8552
  box-shadow: 0 0.55rem 1.4rem rgba(137, 180, 250, 0.18);
8222
8553
  }
8554
+ .workspace-dashboard-action.worktree {
8555
+ border-color: rgba(166, 227, 161, 0.34);
8556
+ color: var(--ctp-green);
8557
+ background: rgba(166, 227, 161, 0.08);
8558
+ }
8559
+ .workspace-dashboard-action.worktree:hover,
8560
+ .workspace-dashboard-action.worktree:focus-visible {
8561
+ border-color: rgba(166, 227, 161, 0.54);
8562
+ box-shadow: 0 0.55rem 1.4rem rgba(166, 227, 161, 0.14);
8563
+ }
8223
8564
  .workspace-dashboard-metrics {
8224
8565
  display: grid;
8225
8566
  grid-template-columns: minmax(11rem, 1.15fr) minmax(12rem, 1.2fr) minmax(13rem, 1.35fr) minmax(7rem, 0.75fr);