@firstpick/pi-package-webui 0.7.2 → 0.7.4
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 +38 -25
- package/bin/pi-webui.mjs +469 -106
- package/index.ts +10 -1
- package/lib/git-live-watcher.mjs +135 -0
- package/lib/git-message-artifacts.mjs +103 -0
- package/lib/git-workflow-preferences.mjs +10 -3
- package/lib/process-tree.mjs +3 -1
- package/lib/webui-output-mode.mjs +97 -0
- package/package.json +7 -6
- package/public/app.js +1170 -97
- package/public/fast-output-live.mjs +179 -0
- package/public/index.html +31 -5
- package/public/service-worker.js +2 -1
- package/public/styles.css +474 -12
- package/tests/app-runner-windows-conpty-harness.test.mjs +140 -0
- package/tests/danger-button-contrast-static.test.mjs +32 -0
- package/tests/fast-mode-client-static.test.mjs +121 -0
- package/tests/fast-mode-output-work.test.mjs +69 -0
- package/tests/fast-mode-sse-harness.test.mjs +204 -0
- package/tests/fast-output-live.test.mjs +106 -0
- package/tests/fixtures/fake-pi.mjs +59 -0
- package/tests/fixtures/fast-mode-output-events.mjs +50 -0
- package/tests/footer-middle-truncation.test.mjs +118 -0
- package/tests/git-live-watcher.test.mjs +93 -0
- package/tests/git-message-artifacts.test.mjs +59 -0
- package/tests/git-panel-live-updates-static.test.mjs +54 -0
- package/tests/git-panel-render-stability-static.test.mjs +1 -1
- package/tests/git-workflow-preferences.test.mjs +8 -2
- package/tests/guided-git-message-reliability-static.test.mjs +38 -0
- package/tests/http-endpoints-harness.test.mjs +61 -5
- package/tests/image-payload-hardening-harness.test.mjs +115 -0
- package/tests/mobile-static.test.mjs +79 -20
- package/tests/pi-footer-calibration-static.test.mjs +55 -0
- package/tests/remote-auth-settings-harness.test.mjs +1 -1
- package/tests/runtime-error-visibility.test.mjs +63 -0
- package/tests/side-panel-context-menu-static.test.mjs +74 -0
- package/tests/webui-output-mode.test.mjs +73 -0
package/public/styles.css
CHANGED
|
@@ -916,10 +916,13 @@ body.file-viewer-resizing * {
|
|
|
916
916
|
.file-viewer-editor {
|
|
917
917
|
resize: none;
|
|
918
918
|
padding: 0.72rem;
|
|
919
|
+
overflow-x: hidden;
|
|
920
|
+
overflow-y: auto;
|
|
921
|
+
overflow-wrap: anywhere;
|
|
919
922
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
920
923
|
font-size: 0.82rem;
|
|
921
924
|
line-height: 1.45;
|
|
922
|
-
white-space: pre;
|
|
925
|
+
white-space: pre-wrap;
|
|
923
926
|
}
|
|
924
927
|
.file-viewer-preview {
|
|
925
928
|
padding: 0.85rem;
|
|
@@ -956,6 +959,44 @@ body.file-viewer-resizing * {
|
|
|
956
959
|
text-align: left;
|
|
957
960
|
box-shadow: none;
|
|
958
961
|
}
|
|
962
|
+
.side-panel-context-menu {
|
|
963
|
+
max-height: calc(100vh - 1rem);
|
|
964
|
+
max-height: calc(100dvh - 1rem);
|
|
965
|
+
overflow-y: auto;
|
|
966
|
+
}
|
|
967
|
+
.side-panel-context-menu-label {
|
|
968
|
+
padding: 0.38rem 0.58rem 0.24rem;
|
|
969
|
+
color: var(--ctp-subtext);
|
|
970
|
+
font-size: var(--text-xs);
|
|
971
|
+
font-weight: 850;
|
|
972
|
+
letter-spacing: 0.06em;
|
|
973
|
+
text-transform: uppercase;
|
|
974
|
+
}
|
|
975
|
+
.side-panel-context-menu-item {
|
|
976
|
+
display: grid;
|
|
977
|
+
grid-template-columns: 1.1rem minmax(0, 1fr);
|
|
978
|
+
align-items: center;
|
|
979
|
+
gap: 0.48rem;
|
|
980
|
+
}
|
|
981
|
+
.side-panel-context-menu-item::before {
|
|
982
|
+
content: "";
|
|
983
|
+
display: grid;
|
|
984
|
+
place-items: center;
|
|
985
|
+
width: 1rem;
|
|
986
|
+
height: 1rem;
|
|
987
|
+
border: 1px solid rgba(180, 190, 254, 0.48);
|
|
988
|
+
border-radius: 0.28rem;
|
|
989
|
+
color: var(--ctp-crust);
|
|
990
|
+
background: rgba(var(--ctp-crust-rgb), 0.52);
|
|
991
|
+
font-size: var(--text-xs);
|
|
992
|
+
font-weight: 950;
|
|
993
|
+
line-height: 1;
|
|
994
|
+
}
|
|
995
|
+
.side-panel-context-menu-item[aria-checked="true"]::before {
|
|
996
|
+
content: "✓";
|
|
997
|
+
border-color: rgba(148, 226, 213, 0.82);
|
|
998
|
+
background: var(--ctp-teal);
|
|
999
|
+
}
|
|
959
1000
|
body.embedded-split .layout,
|
|
960
1001
|
body.embedded-split.side-panel-collapsed .layout {
|
|
961
1002
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -1522,7 +1563,10 @@ body.embedded-split .side-panel-backdrop {
|
|
|
1522
1563
|
text-overflow: ellipsis;
|
|
1523
1564
|
white-space: nowrap;
|
|
1524
1565
|
}
|
|
1525
|
-
.git-side-panel-context-menu button.danger {
|
|
1566
|
+
.git-side-panel-context-menu button.danger {
|
|
1567
|
+
color: var(--ctp-red);
|
|
1568
|
+
background: rgba(var(--ctp-crust-rgb), 0.54);
|
|
1569
|
+
}
|
|
1526
1570
|
.git-side-panel-commit {
|
|
1527
1571
|
display: grid;
|
|
1528
1572
|
grid-template-columns: auto minmax(0, 1fr);
|
|
@@ -2054,6 +2098,7 @@ body.embedded-split .side-panel-backdrop {
|
|
|
2054
2098
|
overflow: hidden;
|
|
2055
2099
|
text-overflow: ellipsis;
|
|
2056
2100
|
white-space: nowrap;
|
|
2101
|
+
line-height: 1.3;
|
|
2057
2102
|
}
|
|
2058
2103
|
.model-search-result-main {
|
|
2059
2104
|
font-weight: 900;
|
|
@@ -2210,6 +2255,9 @@ body.embedded-split .side-panel-backdrop {
|
|
|
2210
2255
|
font-size: var(--text-xs);
|
|
2211
2256
|
font-weight: 700;
|
|
2212
2257
|
}
|
|
2258
|
+
.toggle-control-hint.warning {
|
|
2259
|
+
color: var(--ctp-yellow);
|
|
2260
|
+
}
|
|
2213
2261
|
.toggle-control:has(input:checked) {
|
|
2214
2262
|
border-color: rgba(148, 226, 213, 0.42);
|
|
2215
2263
|
box-shadow: 0 0 0.9rem rgba(148, 226, 213, 0.10);
|
|
@@ -3178,9 +3226,8 @@ body.embedded-split .side-panel-backdrop {
|
|
|
3178
3226
|
padding-top: 0.38rem;
|
|
3179
3227
|
min-width: 0;
|
|
3180
3228
|
max-width: 100%;
|
|
3181
|
-
max-height:
|
|
3182
|
-
overflow:
|
|
3183
|
-
scrollbar-width: thin;
|
|
3229
|
+
max-height: none;
|
|
3230
|
+
overflow: visible;
|
|
3184
3231
|
}
|
|
3185
3232
|
.terminal-tab-group:hover .terminal-tab-group-menu,
|
|
3186
3233
|
.terminal-tab-group:focus-within .terminal-tab-group-menu,
|
|
@@ -3741,8 +3788,7 @@ body.embedded-split .side-panel-backdrop {
|
|
|
3741
3788
|
background: linear-gradient(90deg, rgba(203, 166, 247, 0.10), rgba(137, 180, 250, 0.05), rgba(148, 226, 213, 0.08));
|
|
3742
3789
|
}
|
|
3743
3790
|
.widget-area:has(.release-npm-live-widget .release-npm-output-details[open]),
|
|
3744
|
-
.widget-area:has(.release-aur-live-widget .release-npm-output-details[open])
|
|
3745
|
-
.widget-area:has(.workflow-live-widget .release-npm-output-details[open]) {
|
|
3791
|
+
.widget-area:has(.release-aur-live-widget .release-npm-output-details[open]) {
|
|
3746
3792
|
flex: 0 0 min(44rem, 68dvh);
|
|
3747
3793
|
min-height: 0;
|
|
3748
3794
|
overflow: auto;
|
|
@@ -3750,6 +3796,14 @@ body.embedded-split .side-panel-backdrop {
|
|
|
3750
3796
|
scrollbar-gutter: stable;
|
|
3751
3797
|
overflow-anchor: none;
|
|
3752
3798
|
}
|
|
3799
|
+
.widget-area:has(.workflow-live-widget .release-npm-output-details[open]) {
|
|
3800
|
+
min-height: 0;
|
|
3801
|
+
overflow-x: hidden;
|
|
3802
|
+
overflow-y: auto;
|
|
3803
|
+
overscroll-behavior-y: contain;
|
|
3804
|
+
scrollbar-gutter: stable;
|
|
3805
|
+
overflow-anchor: none;
|
|
3806
|
+
}
|
|
3753
3807
|
.widget-area:has(.app-runner-live-widget .release-npm-output-details[open]) {
|
|
3754
3808
|
flex: 0 0 auto;
|
|
3755
3809
|
min-height: 0;
|
|
@@ -3758,6 +3812,18 @@ body.embedded-split .side-panel-backdrop {
|
|
|
3758
3812
|
scrollbar-gutter: auto;
|
|
3759
3813
|
overflow-anchor: none;
|
|
3760
3814
|
}
|
|
3815
|
+
.widget-area:has(.workflow-widget:not(.minimized)) {
|
|
3816
|
+
/* Follow rendered workflow content until the viewport-safe cap becomes the scroll boundary. */
|
|
3817
|
+
--workflow-overlay-max-height: min(44rem, 68dvh);
|
|
3818
|
+
flex: 0 0 auto;
|
|
3819
|
+
max-height: var(--workflow-overlay-max-height);
|
|
3820
|
+
min-height: 0;
|
|
3821
|
+
overflow-x: hidden;
|
|
3822
|
+
overflow-y: auto;
|
|
3823
|
+
overscroll-behavior-y: contain;
|
|
3824
|
+
scrollbar-gutter: stable;
|
|
3825
|
+
overflow-anchor: none;
|
|
3826
|
+
}
|
|
3761
3827
|
.statusbar {
|
|
3762
3828
|
position: relative;
|
|
3763
3829
|
flex: 0 0 auto;
|
|
@@ -4009,6 +4075,25 @@ button.footer-tui-item {
|
|
|
4009
4075
|
text-overflow: ellipsis;
|
|
4010
4076
|
white-space: nowrap;
|
|
4011
4077
|
}
|
|
4078
|
+
.middle-truncate-value {
|
|
4079
|
+
display: flex;
|
|
4080
|
+
align-items: baseline;
|
|
4081
|
+
min-width: 0;
|
|
4082
|
+
overflow: hidden;
|
|
4083
|
+
text-overflow: clip;
|
|
4084
|
+
white-space: nowrap;
|
|
4085
|
+
}
|
|
4086
|
+
.middle-truncate-start {
|
|
4087
|
+
flex: 1 1 auto;
|
|
4088
|
+
min-width: 6ch;
|
|
4089
|
+
overflow: hidden;
|
|
4090
|
+
text-overflow: ellipsis;
|
|
4091
|
+
white-space: nowrap;
|
|
4092
|
+
}
|
|
4093
|
+
.middle-truncate-end {
|
|
4094
|
+
flex: 0 0 auto;
|
|
4095
|
+
white-space: nowrap;
|
|
4096
|
+
}
|
|
4012
4097
|
.footer-meta {
|
|
4013
4098
|
display: grid;
|
|
4014
4099
|
grid-template-columns: auto minmax(0, 1fr);
|
|
@@ -5372,7 +5457,11 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
5372
5457
|
.aur-review-action:hover,
|
|
5373
5458
|
.aur-review-report:hover { border-color: rgba(250, 179, 135, 0.8); color: var(--ctp-peach); }
|
|
5374
5459
|
.aur-review-action.primary { border-color: rgba(166, 227, 161, 0.58); color: var(--ctp-green); }
|
|
5375
|
-
.aur-review-action.danger {
|
|
5460
|
+
.aur-review-action.danger {
|
|
5461
|
+
color: var(--ctp-red);
|
|
5462
|
+
border-color: rgba(243, 139, 168, 0.58);
|
|
5463
|
+
background: rgba(var(--ctp-crust-rgb), 0.54);
|
|
5464
|
+
}
|
|
5376
5465
|
.aur-review-summary { flex-wrap: wrap; align-items: baseline; color: var(--ctp-subtext0); font-size: var(--text-xs); }
|
|
5377
5466
|
.aur-review-status { color: var(--ctp-peach); font-weight: 720; }
|
|
5378
5467
|
.aur-review-root,
|
|
@@ -5410,6 +5499,89 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
5410
5499
|
linear-gradient(145deg, rgba(var(--ctp-crust-rgb), 0.98), rgba(var(--ctp-mantle-rgb), 0.92));
|
|
5411
5500
|
}
|
|
5412
5501
|
.workflow-widget .release-npm-kicker { color: var(--ctp-blue); }
|
|
5502
|
+
.workflow-subprocess-widget > .release-npm-header {
|
|
5503
|
+
grid-template-columns: minmax(12rem, 0.7fr) minmax(22rem, 1.7fr) auto;
|
|
5504
|
+
align-items: stretch;
|
|
5505
|
+
padding-bottom: 0.62rem;
|
|
5506
|
+
border-bottom: 1px solid rgba(137, 180, 250, 0.18);
|
|
5507
|
+
}
|
|
5508
|
+
.workflow-subprocess-widget .workflow-meta {
|
|
5509
|
+
display: grid;
|
|
5510
|
+
grid-template-columns: repeat(4, minmax(7rem, 1fr));
|
|
5511
|
+
gap: 0.38rem;
|
|
5512
|
+
align-items: stretch;
|
|
5513
|
+
justify-content: stretch;
|
|
5514
|
+
}
|
|
5515
|
+
.workflow-meta-item {
|
|
5516
|
+
display: grid;
|
|
5517
|
+
gap: 0.1rem;
|
|
5518
|
+
min-width: 0;
|
|
5519
|
+
padding: 0.36rem 0.48rem;
|
|
5520
|
+
border: 1px solid rgba(137, 180, 250, 0.22);
|
|
5521
|
+
border-radius: 0.56rem;
|
|
5522
|
+
background: rgba(var(--ctp-crust-rgb), 0.58);
|
|
5523
|
+
}
|
|
5524
|
+
.workflow-meta-label {
|
|
5525
|
+
color: rgba(var(--ctp-subtext-rgb), 0.72);
|
|
5526
|
+
font-size: var(--text-xs);
|
|
5527
|
+
font-weight: 900;
|
|
5528
|
+
letter-spacing: 0.1em;
|
|
5529
|
+
line-height: 1.1;
|
|
5530
|
+
text-transform: uppercase;
|
|
5531
|
+
}
|
|
5532
|
+
.workflow-meta-value {
|
|
5533
|
+
min-width: 0;
|
|
5534
|
+
overflow: hidden;
|
|
5535
|
+
color: var(--ctp-text);
|
|
5536
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
5537
|
+
font-size: var(--text-xs);
|
|
5538
|
+
line-height: 1.3;
|
|
5539
|
+
text-overflow: ellipsis;
|
|
5540
|
+
white-space: nowrap;
|
|
5541
|
+
}
|
|
5542
|
+
.workflow-meta-description {
|
|
5543
|
+
color: rgba(var(--ctp-subtext-rgb), 0.82);
|
|
5544
|
+
font-size: var(--text-xs);
|
|
5545
|
+
line-height: 1.3;
|
|
5546
|
+
overflow-wrap: anywhere;
|
|
5547
|
+
}
|
|
5548
|
+
.workflow-meta-item.workflow-status.completed .workflow-meta-value { color: var(--ctp-green); }
|
|
5549
|
+
.workflow-meta-item.workflow-status.failed .workflow-meta-value { color: var(--ctp-red); }
|
|
5550
|
+
.workflow-meta-item.workflow-status.cancelled .workflow-meta-value { color: var(--ctp-yellow); }
|
|
5551
|
+
.workflow-meta-item.workflow-status.running .workflow-meta-value,
|
|
5552
|
+
.workflow-meta-item.workflow-status.queued .workflow-meta-value { color: var(--ctp-blue); }
|
|
5553
|
+
.workflow-meta-item.workflow-tasks .workflow-meta-value { color: var(--ctp-teal); }
|
|
5554
|
+
.workflow-meta-item.workflow-truncated {
|
|
5555
|
+
border-color: rgba(250, 179, 135, 0.4);
|
|
5556
|
+
background: rgba(250, 179, 135, 0.08);
|
|
5557
|
+
}
|
|
5558
|
+
.workflow-meta-item.workflow-truncated .workflow-meta-value { color: var(--ctp-peach); }
|
|
5559
|
+
.workflow-output-controls {
|
|
5560
|
+
display: flex;
|
|
5561
|
+
align-items: center;
|
|
5562
|
+
justify-content: space-between;
|
|
5563
|
+
gap: 0.5rem 1rem;
|
|
5564
|
+
min-height: 1.35rem;
|
|
5565
|
+
padding-inline: 0.18rem;
|
|
5566
|
+
}
|
|
5567
|
+
.workflow-follow-status { color: var(--ctp-green); }
|
|
5568
|
+
.workflow-follow-status.paused { color: var(--ctp-yellow); }
|
|
5569
|
+
.workflow-output-help { margin-left: auto; text-align: right; }
|
|
5570
|
+
.workflow-inspector-widget.minimized,
|
|
5571
|
+
.workflow-subprocess-widget.minimized { gap: 0; }
|
|
5572
|
+
.workflow-subprocess-widget.minimized > .release-npm-header {
|
|
5573
|
+
padding-bottom: 0;
|
|
5574
|
+
border-bottom: 0;
|
|
5575
|
+
}
|
|
5576
|
+
.workflow-inspector-minimize-button,
|
|
5577
|
+
.workflow-subprocess-minimize-button {
|
|
5578
|
+
border-color: rgba(137, 180, 250, 0.42);
|
|
5579
|
+
color: var(--ctp-blue);
|
|
5580
|
+
}
|
|
5581
|
+
.workflow-inspector-minimize-button:hover,
|
|
5582
|
+
.workflow-inspector-minimize-button:focus-visible,
|
|
5583
|
+
.workflow-subprocess-minimize-button:hover,
|
|
5584
|
+
.workflow-subprocess-minimize-button:focus-visible { border-color: rgba(137, 180, 250, 0.82); }
|
|
5413
5585
|
.workflow-widget .release-npm-pill.workflow-status.completed { color: var(--ctp-green); }
|
|
5414
5586
|
.workflow-widget .release-npm-pill.workflow-status.failed { color: var(--ctp-red); }
|
|
5415
5587
|
.workflow-widget .release-npm-pill.workflow-status.cancelled { color: var(--ctp-yellow); }
|
|
@@ -5511,11 +5683,24 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
5511
5683
|
}
|
|
5512
5684
|
.workflow-inspector-agent-summary { display: flex; gap: 0.55rem; align-items: center; }
|
|
5513
5685
|
.workflow-inspector-agent-body { display: grid; gap: 0.5rem; padding: 0 0.55rem 0.55rem; }
|
|
5686
|
+
@media (max-width: 1100px) {
|
|
5687
|
+
.workflow-subprocess-widget > .release-npm-header {
|
|
5688
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
5689
|
+
}
|
|
5690
|
+
.workflow-subprocess-widget > .release-npm-header .workflow-meta { grid-column: 1 / -1; grid-row: 2; }
|
|
5691
|
+
}
|
|
5514
5692
|
@media (max-width: 720px), (max-device-width: 720px), (pointer: coarse) and (hover: none) {
|
|
5693
|
+
.workflow-subprocess-widget > .release-npm-header { grid-template-columns: minmax(0, 1fr); }
|
|
5694
|
+
.workflow-subprocess-widget > .release-npm-header .workflow-meta { grid-column: auto; grid-row: auto; }
|
|
5695
|
+
.workflow-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
5696
|
+
.workflow-output-controls { align-items: flex-start; flex-direction: column; }
|
|
5697
|
+
.workflow-output-help { margin-left: 0; text-align: left; }
|
|
5515
5698
|
.workflow-inspector-layout { grid-template-columns: 1fr; }
|
|
5516
5699
|
.workflow-inspector-run-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 13rem; }
|
|
5517
5700
|
.workflow-inspector-actions { justify-content: stretch; }
|
|
5518
5701
|
.workflow-inspector-actions button { flex: 1 1 7rem; min-height: 44px; }
|
|
5702
|
+
.workflow-inspector-minimize-button,
|
|
5703
|
+
.workflow-subprocess-minimize-button { min-height: 44px; }
|
|
5519
5704
|
}
|
|
5520
5705
|
.btw-widget {
|
|
5521
5706
|
border-color: rgba(148, 226, 213, 0.62);
|
|
@@ -5853,6 +6038,7 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
5853
6038
|
}
|
|
5854
6039
|
.release-npm-output-details {
|
|
5855
6040
|
display: grid;
|
|
6041
|
+
grid-template-columns: minmax(0, 1fr);
|
|
5856
6042
|
gap: 0.58rem;
|
|
5857
6043
|
min-width: 0;
|
|
5858
6044
|
}
|
|
@@ -5917,11 +6103,18 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
5917
6103
|
overscroll-behavior: contain;
|
|
5918
6104
|
}
|
|
5919
6105
|
.release-npm-live-widget .release-npm-output-details[open] .release-npm-terminal,
|
|
5920
|
-
.release-aur-live-widget .release-npm-output-details[open] .release-npm-terminal
|
|
5921
|
-
.workflow-live-widget .release-npm-output-details[open] .release-npm-terminal {
|
|
6106
|
+
.release-aur-live-widget .release-npm-output-details[open] .release-npm-terminal {
|
|
5922
6107
|
height: clamp(15rem, 42dvh, 31rem);
|
|
5923
6108
|
min-height: 0;
|
|
5924
6109
|
}
|
|
6110
|
+
.workflow-subprocess-widget .release-npm-output-details[open] .release-npm-terminal {
|
|
6111
|
+
max-height: clamp(12rem, 34dvh, 26rem);
|
|
6112
|
+
min-height: 0;
|
|
6113
|
+
overflow-anchor: none;
|
|
6114
|
+
overscroll-behavior-x: contain;
|
|
6115
|
+
overscroll-behavior-y: auto;
|
|
6116
|
+
scrollbar-gutter: stable;
|
|
6117
|
+
}
|
|
5925
6118
|
.release-npm-line {
|
|
5926
6119
|
display: block;
|
|
5927
6120
|
width: max-content;
|
|
@@ -6857,6 +7050,23 @@ button.git-workflow-step:hover:not(:disabled) {
|
|
|
6857
7050
|
.streaming-markdown {
|
|
6858
7051
|
min-height: 1.35rem;
|
|
6859
7052
|
}
|
|
7053
|
+
.compact-live-output {
|
|
7054
|
+
outline-color: rgba(148, 226, 213, 0.46);
|
|
7055
|
+
}
|
|
7056
|
+
.compact-live-text,
|
|
7057
|
+
.compact-live-thinking,
|
|
7058
|
+
.compact-tool-status {
|
|
7059
|
+
min-height: 1.35rem;
|
|
7060
|
+
white-space: pre-wrap;
|
|
7061
|
+
overflow-wrap: anywhere;
|
|
7062
|
+
}
|
|
7063
|
+
.compact-live-thinking {
|
|
7064
|
+
color: rgba(var(--ctp-text-rgb), 0.82);
|
|
7065
|
+
font-style: italic;
|
|
7066
|
+
}
|
|
7067
|
+
.compact-tool-shell .compact-tool-status {
|
|
7068
|
+
color: var(--ctp-subtext);
|
|
7069
|
+
}
|
|
6860
7070
|
.text-block, .code-block {
|
|
6861
7071
|
margin: 0.35rem 0;
|
|
6862
7072
|
white-space: pre-wrap;
|
|
@@ -7007,6 +7217,37 @@ summary { cursor: pointer; color: var(--warning); }
|
|
|
7007
7217
|
.composer-skill-tags[hidden] {
|
|
7008
7218
|
display: none !important;
|
|
7009
7219
|
}
|
|
7220
|
+
.composer-feature-category-tag {
|
|
7221
|
+
flex: 0 1 auto;
|
|
7222
|
+
min-width: 0;
|
|
7223
|
+
max-width: min(14rem, 100%);
|
|
7224
|
+
padding: 0.14rem 0.56rem;
|
|
7225
|
+
border: 1px solid rgba(148, 226, 213, 0.52);
|
|
7226
|
+
border-radius: 999px;
|
|
7227
|
+
color: var(--ctp-teal);
|
|
7228
|
+
background:
|
|
7229
|
+
linear-gradient(120deg, rgba(148, 226, 213, 0.28), rgba(166, 227, 161, 0.10)),
|
|
7230
|
+
var(--ctp-crust);
|
|
7231
|
+
box-shadow: 0 0.42rem 1rem rgba(var(--ctp-crust-rgb), 0.42), 0 0 1rem rgba(148, 226, 213, 0.22);
|
|
7232
|
+
font-size: var(--text-xs);
|
|
7233
|
+
font-weight: 900;
|
|
7234
|
+
letter-spacing: 0.04em;
|
|
7235
|
+
line-height: 1.1;
|
|
7236
|
+
overflow: hidden;
|
|
7237
|
+
text-overflow: ellipsis;
|
|
7238
|
+
white-space: nowrap;
|
|
7239
|
+
}
|
|
7240
|
+
.composer-feature-category-tag.complex-feature {
|
|
7241
|
+
border-color: rgba(203, 166, 247, 0.56);
|
|
7242
|
+
color: var(--ctp-mauve);
|
|
7243
|
+
background:
|
|
7244
|
+
linear-gradient(120deg, rgba(203, 166, 247, 0.28), rgba(137, 180, 250, 0.12)),
|
|
7245
|
+
var(--ctp-crust);
|
|
7246
|
+
box-shadow: 0 0.42rem 1rem rgba(var(--ctp-crust-rgb), 0.42), 0 0 1rem rgba(203, 166, 247, 0.24);
|
|
7247
|
+
}
|
|
7248
|
+
.composer-feature-category-tag[hidden] {
|
|
7249
|
+
display: none !important;
|
|
7250
|
+
}
|
|
7010
7251
|
.composer-conversation-mode-chip {
|
|
7011
7252
|
flex: 0 0 auto;
|
|
7012
7253
|
min-height: 0;
|
|
@@ -8607,6 +8848,177 @@ button.composer-skill-tag:focus-visible {
|
|
|
8607
8848
|
color: var(--text);
|
|
8608
8849
|
box-shadow: 0 2rem 5rem var(--shadow), 0 0 2rem var(--glow-mauve);
|
|
8609
8850
|
}
|
|
8851
|
+
.extension-dialog.workflow-script-dialog {
|
|
8852
|
+
width: min(96rem, calc(100vw - 2rem));
|
|
8853
|
+
height: min(58rem, calc(var(--visual-viewport-height, 100dvh) - 2rem));
|
|
8854
|
+
max-height: calc(var(--visual-viewport-height, 100dvh) - 2rem);
|
|
8855
|
+
overflow: hidden;
|
|
8856
|
+
border-color: rgba(137, 180, 250, 0.54);
|
|
8857
|
+
background:
|
|
8858
|
+
radial-gradient(circle at 100% 0, rgba(148, 226, 213, 0.12), transparent 28rem),
|
|
8859
|
+
linear-gradient(145deg, rgba(var(--ctp-base-rgb), 0.99), rgba(var(--ctp-crust-rgb), 0.99));
|
|
8860
|
+
box-shadow: 0 2rem 5rem var(--shadow), 0 0 2.4rem rgba(137, 180, 250, 0.18);
|
|
8861
|
+
}
|
|
8862
|
+
.workflow-script-dialog form {
|
|
8863
|
+
display: grid;
|
|
8864
|
+
grid-template-rows: auto auto minmax(0, 1fr) auto;
|
|
8865
|
+
gap: 0.75rem;
|
|
8866
|
+
height: 100%;
|
|
8867
|
+
min-height: 0;
|
|
8868
|
+
padding: clamp(0.85rem, 1.8vw, 1.35rem);
|
|
8869
|
+
}
|
|
8870
|
+
.workflow-script-dialog #dialogTitle {
|
|
8871
|
+
margin: 0;
|
|
8872
|
+
color: var(--ctp-blue);
|
|
8873
|
+
text-shadow: 0 0 1rem rgba(137, 180, 250, 0.2);
|
|
8874
|
+
}
|
|
8875
|
+
.workflow-script-dialog #dialogMessage {
|
|
8876
|
+
margin: 0;
|
|
8877
|
+
color: rgba(var(--ctp-subtext-rgb), 0.9);
|
|
8878
|
+
}
|
|
8879
|
+
.workflow-script-dialog #dialogBody {
|
|
8880
|
+
display: flex;
|
|
8881
|
+
min-height: 0;
|
|
8882
|
+
overflow: hidden;
|
|
8883
|
+
}
|
|
8884
|
+
.workflow-script-dialog #dialogActions {
|
|
8885
|
+
margin: 0;
|
|
8886
|
+
padding: 0;
|
|
8887
|
+
}
|
|
8888
|
+
.workflow-script-preview {
|
|
8889
|
+
display: grid;
|
|
8890
|
+
grid-template-rows: auto auto minmax(0, 1fr);
|
|
8891
|
+
gap: 0.65rem;
|
|
8892
|
+
flex: 1 1 auto;
|
|
8893
|
+
min-width: 0;
|
|
8894
|
+
min-height: 0;
|
|
8895
|
+
}
|
|
8896
|
+
.workflow-script-meta {
|
|
8897
|
+
display: flex;
|
|
8898
|
+
flex-wrap: wrap;
|
|
8899
|
+
align-items: center;
|
|
8900
|
+
justify-content: space-between;
|
|
8901
|
+
gap: 0.45rem 0.8rem;
|
|
8902
|
+
min-width: 0;
|
|
8903
|
+
color: rgba(var(--ctp-subtext-rgb), 0.9);
|
|
8904
|
+
font-size: var(--text-sm);
|
|
8905
|
+
}
|
|
8906
|
+
.workflow-script-language {
|
|
8907
|
+
color: var(--ctp-teal);
|
|
8908
|
+
font-weight: 850;
|
|
8909
|
+
}
|
|
8910
|
+
.workflow-script-source-stats {
|
|
8911
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
8912
|
+
font-variant-numeric: tabular-nums;
|
|
8913
|
+
}
|
|
8914
|
+
.workflow-script-toolbar {
|
|
8915
|
+
display: grid;
|
|
8916
|
+
grid-template-columns: minmax(12rem, 1fr) repeat(4, auto);
|
|
8917
|
+
gap: 0.45rem;
|
|
8918
|
+
align-items: center;
|
|
8919
|
+
min-width: 0;
|
|
8920
|
+
padding: 0.5rem;
|
|
8921
|
+
border: 1px solid rgba(180, 190, 254, 0.2);
|
|
8922
|
+
border-radius: 0.8rem;
|
|
8923
|
+
background: rgba(var(--ctp-crust-rgb), 0.5);
|
|
8924
|
+
}
|
|
8925
|
+
.workflow-script-search {
|
|
8926
|
+
width: 100%;
|
|
8927
|
+
min-width: 0;
|
|
8928
|
+
min-height: 2.4rem;
|
|
8929
|
+
padding: 0.4rem 0.65rem;
|
|
8930
|
+
color: var(--ctp-text);
|
|
8931
|
+
border-color: rgba(137, 180, 250, 0.42);
|
|
8932
|
+
background: rgba(var(--ctp-mantle-rgb), 0.88);
|
|
8933
|
+
}
|
|
8934
|
+
.workflow-script-search:focus-visible {
|
|
8935
|
+
border-color: var(--ctp-teal);
|
|
8936
|
+
box-shadow: 0 0 0 3px rgba(148, 226, 213, 0.18), 0 0 1rem rgba(148, 226, 213, 0.22);
|
|
8937
|
+
}
|
|
8938
|
+
.workflow-script-toolbar button {
|
|
8939
|
+
min-height: 2.4rem;
|
|
8940
|
+
padding: 0.38rem 0.62rem;
|
|
8941
|
+
color: var(--ctp-text);
|
|
8942
|
+
border-color: rgba(180, 190, 254, 0.3);
|
|
8943
|
+
font-size: var(--text-sm);
|
|
8944
|
+
font-weight: 760;
|
|
8945
|
+
white-space: nowrap;
|
|
8946
|
+
}
|
|
8947
|
+
.workflow-script-search-button { color: var(--ctp-blue) !important; }
|
|
8948
|
+
.workflow-script-wrap-button { color: var(--ctp-mauve) !important; }
|
|
8949
|
+
.workflow-script-copy-button { color: var(--ctp-green) !important; }
|
|
8950
|
+
.workflow-script-search-status,
|
|
8951
|
+
.workflow-script-copy-status {
|
|
8952
|
+
grid-column: 1 / -1;
|
|
8953
|
+
min-height: 1.15rem;
|
|
8954
|
+
color: var(--ctp-subtext);
|
|
8955
|
+
font-size: var(--text-xs);
|
|
8956
|
+
font-weight: 720;
|
|
8957
|
+
}
|
|
8958
|
+
.workflow-script-copy-status { color: var(--ctp-green); }
|
|
8959
|
+
.workflow-script-code {
|
|
8960
|
+
min-width: 0;
|
|
8961
|
+
min-height: 0;
|
|
8962
|
+
overflow: auto;
|
|
8963
|
+
overscroll-behavior: contain;
|
|
8964
|
+
scrollbar-gutter: stable both-edges;
|
|
8965
|
+
border: 1px solid rgba(137, 180, 250, 0.28);
|
|
8966
|
+
border-radius: 0.82rem;
|
|
8967
|
+
background: rgba(var(--ctp-crust-rgb), 0.84);
|
|
8968
|
+
box-shadow: inset 0 0 2.2rem rgba(var(--ctp-crust-rgb), 0.44);
|
|
8969
|
+
color: var(--ctp-text);
|
|
8970
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
8971
|
+
font-size: 0.875rem;
|
|
8972
|
+
line-height: 1.58;
|
|
8973
|
+
}
|
|
8974
|
+
.workflow-script-code:focus-visible {
|
|
8975
|
+
outline: 3px solid rgba(148, 226, 213, 0.72);
|
|
8976
|
+
outline-offset: 2px;
|
|
8977
|
+
box-shadow: inset 0 0 2.2rem rgba(var(--ctp-crust-rgb), 0.44), 0 0 1.2rem rgba(148, 226, 213, 0.18);
|
|
8978
|
+
}
|
|
8979
|
+
.workflow-script-line {
|
|
8980
|
+
display: grid;
|
|
8981
|
+
grid-template-columns: minmax(3.75rem, auto) minmax(0, 1fr);
|
|
8982
|
+
min-width: max-content;
|
|
8983
|
+
border-bottom: 1px solid rgba(180, 190, 254, 0.07);
|
|
8984
|
+
}
|
|
8985
|
+
.workflow-script-line:last-child { border-bottom: 0; }
|
|
8986
|
+
.workflow-script-line-number {
|
|
8987
|
+
position: sticky;
|
|
8988
|
+
left: 0;
|
|
8989
|
+
z-index: 1;
|
|
8990
|
+
padding: 0 0.75rem 0 0.6rem;
|
|
8991
|
+
color: rgba(var(--ctp-subtext-rgb), 0.72);
|
|
8992
|
+
background: rgba(var(--ctp-mantle-rgb), 0.96);
|
|
8993
|
+
font-variant-numeric: tabular-nums;
|
|
8994
|
+
text-align: right;
|
|
8995
|
+
user-select: none;
|
|
8996
|
+
}
|
|
8997
|
+
.workflow-script-line-text {
|
|
8998
|
+
min-width: 0;
|
|
8999
|
+
padding: 0 0.8rem;
|
|
9000
|
+
color: inherit;
|
|
9001
|
+
white-space: pre;
|
|
9002
|
+
}
|
|
9003
|
+
.workflow-script-code.is-wrapped .workflow-script-line { min-width: 100%; }
|
|
9004
|
+
.workflow-script-code.is-wrapped .workflow-script-line-text {
|
|
9005
|
+
white-space: pre-wrap;
|
|
9006
|
+
overflow-wrap: anywhere;
|
|
9007
|
+
}
|
|
9008
|
+
.workflow-script-line.is-search-match { background: rgba(249, 226, 175, 0.12); }
|
|
9009
|
+
.workflow-script-line.is-active-match {
|
|
9010
|
+
background: rgba(137, 180, 250, 0.2);
|
|
9011
|
+
box-shadow: inset 0.22rem 0 0 var(--ctp-teal);
|
|
9012
|
+
}
|
|
9013
|
+
.workflow-script-line.is-active-match .workflow-script-line-number {
|
|
9014
|
+
color: var(--ctp-crust);
|
|
9015
|
+
background: var(--ctp-teal);
|
|
9016
|
+
font-weight: 900;
|
|
9017
|
+
}
|
|
9018
|
+
.workflow-script-token-keyword { color: var(--ctp-mauve); font-weight: 760; }
|
|
9019
|
+
.workflow-script-token-string { color: var(--ctp-green); }
|
|
9020
|
+
.workflow-script-token-number { color: var(--ctp-peach); }
|
|
9021
|
+
.workflow-script-token-comment { color: var(--ctp-subtext); font-style: italic; }
|
|
8610
9022
|
.extension-dialog::backdrop { background: rgba(var(--ctp-crust-rgb), 0.78); backdrop-filter: blur(4px); }
|
|
8611
9023
|
#dialogMessage {
|
|
8612
9024
|
white-space: pre-wrap;
|
|
@@ -10479,6 +10891,7 @@ body.subagent-terminal-active .composer-remote-mic-consent {
|
|
|
10479
10891
|
overflow: auto;
|
|
10480
10892
|
padding: 0.36rem 0.55rem;
|
|
10481
10893
|
}
|
|
10894
|
+
.widget-area:has(.workflow-widget:not(.minimized)) { --workflow-overlay-max-height: 34dvh; }
|
|
10482
10895
|
.widget-area .widget:not(.todo-widget):not(.release-npm-widget) { display: none; }
|
|
10483
10896
|
.release-npm-widget {
|
|
10484
10897
|
gap: 0.45rem;
|
|
@@ -12107,8 +12520,9 @@ button.workspace-dashboard-chip {
|
|
|
12107
12520
|
color: var(--ctp-green);
|
|
12108
12521
|
}
|
|
12109
12522
|
.git-operation-button.danger {
|
|
12110
|
-
border-color: rgba(243, 139, 168, 0.4);
|
|
12111
12523
|
color: var(--ctp-red);
|
|
12524
|
+
border-color: rgba(243, 139, 168, 0.4);
|
|
12525
|
+
background: rgba(var(--ctp-crust-rgb), 0.5);
|
|
12112
12526
|
}
|
|
12113
12527
|
.git-conflict-list {
|
|
12114
12528
|
display: grid;
|
|
@@ -12187,8 +12601,9 @@ button.workspace-dashboard-chip {
|
|
|
12187
12601
|
background: rgba(var(--ctp-mantle-rgb), 0.75);
|
|
12188
12602
|
}
|
|
12189
12603
|
.git-file-action.danger {
|
|
12190
|
-
border-color: rgba(243, 139, 168, 0.38);
|
|
12191
12604
|
color: var(--ctp-red);
|
|
12605
|
+
border-color: rgba(243, 139, 168, 0.38);
|
|
12606
|
+
background: rgba(var(--ctp-crust-rgb), 0.55);
|
|
12192
12607
|
}
|
|
12193
12608
|
|
|
12194
12609
|
/* Git tools (stash, undo, worktrees, submodules, tags, signing) */
|
|
@@ -12599,3 +13014,50 @@ html[data-density="compact"] .composer { padding-block: 0.5rem; }
|
|
|
12599
13014
|
.empty-start-context-label { flex-basis: 100%; }
|
|
12600
13015
|
.confirmation-details > div { grid-template-columns: 1fr; gap: 0.2rem; }
|
|
12601
13016
|
}
|
|
13017
|
+
|
|
13018
|
+
@media (max-width: 720px), (max-device-width: 720px), (pointer: coarse) and (hover: none) {
|
|
13019
|
+
.extension-dialog.workflow-script-dialog {
|
|
13020
|
+
inset: calc(0.25rem + env(safe-area-inset-top)) 0 0;
|
|
13021
|
+
width: 100vw;
|
|
13022
|
+
height: calc(var(--visual-viewport-height, 100dvh) - 0.25rem - env(safe-area-inset-top));
|
|
13023
|
+
max-height: calc(var(--visual-viewport-height, 100dvh) - 0.25rem - env(safe-area-inset-top));
|
|
13024
|
+
margin: 0;
|
|
13025
|
+
overflow: hidden;
|
|
13026
|
+
border-radius: 1rem 1rem 0 0;
|
|
13027
|
+
}
|
|
13028
|
+
.workflow-script-dialog form {
|
|
13029
|
+
gap: 0.58rem;
|
|
13030
|
+
padding: 0.75rem 0.7rem calc(0.7rem + env(safe-area-inset-bottom));
|
|
13031
|
+
}
|
|
13032
|
+
.workflow-script-dialog #dialogTitle { font-size: clamp(1.05rem, 5vw, 1.3rem); }
|
|
13033
|
+
.workflow-script-toolbar {
|
|
13034
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
13035
|
+
gap: 0.4rem;
|
|
13036
|
+
}
|
|
13037
|
+
.workflow-script-search,
|
|
13038
|
+
.workflow-script-search-status,
|
|
13039
|
+
.workflow-script-copy-status { grid-column: 1 / -1; }
|
|
13040
|
+
.workflow-script-toolbar button {
|
|
13041
|
+
width: 100%;
|
|
13042
|
+
padding-inline: 0.38rem;
|
|
13043
|
+
font-size: var(--text-xs);
|
|
13044
|
+
}
|
|
13045
|
+
.workflow-script-meta { align-items: start; font-size: var(--text-xs); }
|
|
13046
|
+
.workflow-script-code { font-size: 0.8rem; line-height: 1.5; }
|
|
13047
|
+
.workflow-script-line { grid-template-columns: minmax(3.1rem, auto) minmax(0, 1fr); }
|
|
13048
|
+
.workflow-script-line-number { padding-inline: 0.44rem 0.55rem; }
|
|
13049
|
+
.workflow-script-line-text { padding-inline: 0.58rem; }
|
|
13050
|
+
.workflow-script-dialog #dialogActions {
|
|
13051
|
+
position: static;
|
|
13052
|
+
display: grid;
|
|
13053
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
13054
|
+
gap: 0.5rem;
|
|
13055
|
+
padding-bottom: 0;
|
|
13056
|
+
background: transparent;
|
|
13057
|
+
}
|
|
13058
|
+
.workflow-script-dialog #dialogActions button {
|
|
13059
|
+
min-width: 0;
|
|
13060
|
+
padding-inline: 0.45rem;
|
|
13061
|
+
font-size: var(--text-sm);
|
|
13062
|
+
}
|
|
13063
|
+
}
|