@firstpick/pi-package-webui 0.8.5 → 0.8.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 +18 -584
- package/bin/pi-webui-launcher.mjs +22 -0
- package/bin/pi-webui-update-supervisor.mjs +86 -0
- package/bin/pi-webui.mjs +933 -554
- package/index.ts +16 -6
- package/lib/component-update-state.mjs +21 -0
- package/lib/git-workflow-preferences.mjs +20 -2
- package/lib/optional-feature-catalog.mjs +1 -0
- package/lib/sampling-parameter-capabilities.mjs +160 -0
- package/lib/session-summary-core.mjs +4 -3
- package/lib/session-summary-preferences.mjs +16 -1
- package/lib/subagent-launch-slots.mjs +14 -2
- package/lib/trust-boundaries.mjs +16 -0
- package/lib/update/executor.mjs +99 -0
- package/lib/update/journal.mjs +175 -0
- package/lib/update/owners.mjs +70 -0
- package/lib/update/plan.mjs +134 -0
- package/lib/update/resolver.mjs +168 -0
- package/lib/update/supervisor.mjs +238 -0
- package/lib/update/verify.mjs +52 -0
- package/lib/update-commands.mjs +25 -13
- package/lib/webui-workspaces.mjs +17 -1
- package/lib/workspace-session-summaries.mjs +400 -0
- package/package.json +4 -4
- package/public/app.js +2487 -349
- package/public/index.html +200 -51
- package/public/middle-button-drag-scroll.mjs +154 -0
- package/public/sampling-parameter-controls.mjs +361 -0
- package/public/service-worker.js +5 -1
- package/public/stream-output-controller.mjs +327 -0
- package/public/styles.css +666 -71
- package/public/theme-contract.mjs +244 -0
- package/session-summary.ts +164 -4
- package/tests/aur-review-widget-static.test.mjs +2 -1
- package/tests/boot-failure-diagnostics.test.mjs +3 -3
- package/tests/browser/control-deck-component-updates.spec.mjs +20 -22
- package/tests/browser/interaction-continuity.spec.mjs +2 -2
- package/tests/browser/middle-button-drag-scroll.spec.mjs +145 -0
- package/tests/browser/persistent-ui-layout.spec.mjs +68 -23
- package/tests/browser/sampling-tooltip.spec.mjs +228 -0
- package/tests/browser/session-summary.spec.mjs +131 -3
- package/tests/browser/stream-output-isolation.spec.mjs +510 -0
- package/tests/browser/update-reconnect.spec.mjs +92 -0
- package/tests/codex-fast-mode-static.test.mjs +2 -2
- package/tests/common-options-submenus-interaction-static.test.mjs +172 -0
- package/tests/common-options-submenus-markup-static.test.mjs +152 -0
- package/tests/component-update-api-static.test.mjs +22 -61
- package/tests/composer-action-grid-reorder-static.test.mjs +3 -3
- package/tests/control-deck-component-updates-static.test.mjs +13 -237
- package/tests/durable-rpc-supervisor-harness.test.mjs +3 -1
- package/tests/fast-mode-client-static.test.mjs +3 -2
- package/tests/feature-decision-output-popup-static.test.mjs +2 -2
- package/tests/feature-system-prompt-optional-feature-static.test.mjs +49 -0
- package/tests/fixtures/fake-pi.mjs +269 -2
- package/tests/fixtures/update/tree-timeout-descendant.mjs +6 -0
- package/tests/fixtures/update/tree-timeout-parent.mjs +11 -0
- package/tests/git-footer-context-menu-static.test.mjs +58 -0
- package/tests/git-workflow-preferences.test.mjs +7 -1
- package/tests/guided-git-aur-review.test.mjs +4 -3
- package/tests/http-endpoints-harness.test.mjs +274 -23
- package/tests/middle-button-drag-scroll-static.test.mjs +24 -0
- package/tests/middle-button-drag-scroll.test.mjs +170 -0
- package/tests/mobile-continuity-tablet-static.test.mjs +3 -3
- package/tests/mobile-foundation-static.test.mjs +5 -6
- package/tests/mobile-phone-experience-static.test.mjs +1 -1
- package/tests/mobile-static.test.mjs +85 -50
- package/tests/native-parity.test.mjs +1 -1
- package/tests/open-issue-wizard-static.test.mjs +2 -3
- package/tests/optional-feature-migration-frontend.test.mjs +9 -5
- package/tests/persistent-ui-layout-static.test.mjs +13 -2
- package/tests/questionnaire-dialog.test.mjs +3 -3
- package/tests/remote-auth-settings-harness.test.mjs +43 -0
- package/tests/rpc-supervisor-host.test.mjs +11 -2
- package/tests/safety-guard-auto-review-harness.test.mjs +117 -0
- package/tests/safety-guard-auto-review-static.test.mjs +34 -0
- package/tests/sampling-native-controls-user-flow.test.mjs +752 -0
- package/tests/sampling-parameter-capabilities.test.mjs +167 -0
- package/tests/sampling-parameter-controls.test.mjs +241 -0
- package/tests/session-sampling-helper.test.mjs +228 -0
- package/tests/session-sampling-http.test.mjs +168 -0
- package/tests/session-sampling-ui-static.test.mjs +370 -0
- package/tests/session-summary-core.test.mjs +205 -10
- package/tests/side-panel-section-height-removal-static.test.mjs +34 -0
- package/tests/side-panel-section-reorder-static.test.mjs +3 -3
- package/tests/staged-content-hash-contract.test.mjs +52 -11
- package/tests/stream-lifecycle-core.test.mjs +134 -0
- package/tests/stream-output-controller.test.mjs +252 -0
- package/tests/stream-output-isolation-static.test.mjs +89 -0
- package/tests/streaming-ui-coupling.test.mjs +50 -0
- package/tests/subagent-gate-visibility.test.mjs +1 -1
- package/tests/subagent-launch-slots-static.test.mjs +1 -1
- package/tests/subagent-launch-slots.test.mjs +18 -1
- package/tests/theme-contract.test.mjs +104 -0
- package/tests/theme-customizer-static.test.mjs +82 -0
- package/tests/theme-scheme-mode.test.mjs +15 -0
- package/tests/ui-layout-settings.test.mjs +18 -1
- package/tests/update-api-harness.test.mjs +111 -0
- package/tests/update-commands.test.mjs +15 -45
- package/tests/update-executor-process-tree-harness.test.mjs +22 -0
- package/tests/update-journal-harness.test.mjs +59 -0
- package/tests/update-lock-multiprocess-harness.test.mjs +46 -0
- package/tests/update-owners.test.mjs +27 -0
- package/tests/update-plan.test.mjs +58 -0
- package/tests/update-resolver.test.mjs +56 -0
- package/tests/update-supervisor-harness.test.mjs +57 -0
- package/tests/update-tab-restore-harness.test.mjs +24 -0
- package/tests/update-verify.test.mjs +31 -0
- package/tests/workspace-files-live-updates-static.test.mjs +13 -4
- package/tests/workspace-session-summaries.test.mjs +288 -0
- package/webui-rpc-helper.mjs +119 -0
package/public/styles.css
CHANGED
|
@@ -86,6 +86,11 @@
|
|
|
86
86
|
|
|
87
87
|
* { box-sizing: border-box; }
|
|
88
88
|
html, body { height: 100%; min-height: 100%; }
|
|
89
|
+
body.middle-button-auto-scrolling,
|
|
90
|
+
body.middle-button-auto-scrolling * {
|
|
91
|
+
cursor: all-scroll !important;
|
|
92
|
+
user-select: none !important;
|
|
93
|
+
}
|
|
89
94
|
html {
|
|
90
95
|
overflow: hidden;
|
|
91
96
|
scrollbar-gutter: auto;
|
|
@@ -1383,6 +1388,7 @@ body.embedded-split .side-panel-backdrop {
|
|
|
1383
1388
|
}
|
|
1384
1389
|
.side-panel-section-content {
|
|
1385
1390
|
min-width: 0;
|
|
1391
|
+
min-height: 0;
|
|
1386
1392
|
}
|
|
1387
1393
|
.side-panel-section.collapsed .side-panel-section-content,
|
|
1388
1394
|
.side-panel-section-content[hidden] {
|
|
@@ -2271,6 +2277,173 @@ body.embedded-split .side-panel-backdrop {
|
|
|
2271
2277
|
border-color: rgba(137, 180, 250, 0.34);
|
|
2272
2278
|
background: rgba(137, 180, 250, 0.12);
|
|
2273
2279
|
}
|
|
2280
|
+
.theme-search-result-badges {
|
|
2281
|
+
display: inline-flex;
|
|
2282
|
+
justify-self: end;
|
|
2283
|
+
gap: 0.28rem;
|
|
2284
|
+
align-items: center;
|
|
2285
|
+
}
|
|
2286
|
+
.theme-scope-badge {
|
|
2287
|
+
display: inline-flex;
|
|
2288
|
+
align-items: center;
|
|
2289
|
+
width: fit-content;
|
|
2290
|
+
min-height: 1.45rem;
|
|
2291
|
+
padding: 0.12rem 0.46rem;
|
|
2292
|
+
border: 1px solid rgba(148, 226, 213, 0.34);
|
|
2293
|
+
border-radius: 999px;
|
|
2294
|
+
color: var(--ctp-teal);
|
|
2295
|
+
background: rgba(148, 226, 213, 0.1);
|
|
2296
|
+
font-size: var(--text-xs);
|
|
2297
|
+
font-weight: 900;
|
|
2298
|
+
line-height: 1.1;
|
|
2299
|
+
}
|
|
2300
|
+
.theme-scope-badge.project { color: var(--ctp-green); border-color: rgba(166, 227, 161, 0.38); }
|
|
2301
|
+
.theme-scope-badge.global { color: var(--ctp-mauve); border-color: rgba(203, 166, 247, 0.38); }
|
|
2302
|
+
.theme-customize-button { width: 100%; }
|
|
2303
|
+
.theme-customizer-dialog {
|
|
2304
|
+
width: min(76rem, calc(100vw - 2rem));
|
|
2305
|
+
height: min(92dvh, 58rem);
|
|
2306
|
+
max-width: none;
|
|
2307
|
+
max-height: none;
|
|
2308
|
+
padding: 0;
|
|
2309
|
+
overflow: hidden;
|
|
2310
|
+
}
|
|
2311
|
+
.theme-customizer-shell {
|
|
2312
|
+
display: grid;
|
|
2313
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
2314
|
+
width: 100%;
|
|
2315
|
+
height: 100%;
|
|
2316
|
+
min-height: 0;
|
|
2317
|
+
}
|
|
2318
|
+
.theme-customizer-header {
|
|
2319
|
+
display: flex;
|
|
2320
|
+
justify-content: space-between;
|
|
2321
|
+
gap: 1rem;
|
|
2322
|
+
align-items: flex-start;
|
|
2323
|
+
padding: 1rem 1.1rem 0.8rem;
|
|
2324
|
+
border-bottom: 1px solid var(--border);
|
|
2325
|
+
}
|
|
2326
|
+
.theme-customizer-header h2 { margin: 0.18rem 0 0.3rem; }
|
|
2327
|
+
.theme-customizer-header p { max-width: 54rem; margin: 0; line-height: 1.45; }
|
|
2328
|
+
.theme-customizer-kicker {
|
|
2329
|
+
color: var(--ctp-pink);
|
|
2330
|
+
font-size: var(--text-xs);
|
|
2331
|
+
font-weight: 900;
|
|
2332
|
+
letter-spacing: 0.14em;
|
|
2333
|
+
text-transform: uppercase;
|
|
2334
|
+
}
|
|
2335
|
+
.theme-customizer-scroll {
|
|
2336
|
+
display: grid;
|
|
2337
|
+
gap: 0.8rem;
|
|
2338
|
+
min-height: 0;
|
|
2339
|
+
padding: 0.9rem 1.1rem;
|
|
2340
|
+
overflow-y: auto;
|
|
2341
|
+
overscroll-behavior: contain;
|
|
2342
|
+
}
|
|
2343
|
+
.theme-customizer-identity {
|
|
2344
|
+
display: grid;
|
|
2345
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
2346
|
+
gap: 0.35rem 0.8rem;
|
|
2347
|
+
align-items: end;
|
|
2348
|
+
}
|
|
2349
|
+
.theme-customizer-identity label,
|
|
2350
|
+
.theme-customizer-optional-fields > label {
|
|
2351
|
+
display: grid;
|
|
2352
|
+
gap: 0.32rem;
|
|
2353
|
+
font-weight: 800;
|
|
2354
|
+
}
|
|
2355
|
+
.theme-customizer-identity p { margin: 0; font-size: var(--text-xs); }
|
|
2356
|
+
.theme-customizer-preview {
|
|
2357
|
+
padding: 0.85rem;
|
|
2358
|
+
border: 1px solid var(--border);
|
|
2359
|
+
border-radius: 0.85rem;
|
|
2360
|
+
background: var(--panel-gradient);
|
|
2361
|
+
}
|
|
2362
|
+
.theme-customizer-preview p { margin: 0.45rem 0; }
|
|
2363
|
+
.theme-customizer-preview div { display: flex; flex-wrap: wrap; gap: 0.65rem; font-weight: 800; }
|
|
2364
|
+
.theme-customizer-preview .success { color: var(--ok); }
|
|
2365
|
+
.theme-customizer-preview .warning { color: var(--warning); }
|
|
2366
|
+
.theme-customizer-preview .error { color: var(--danger); }
|
|
2367
|
+
.theme-customizer-scroll > details {
|
|
2368
|
+
border: 1px solid rgba(180, 190, 254, 0.18);
|
|
2369
|
+
border-radius: 0.85rem;
|
|
2370
|
+
background: rgba(var(--ctp-crust-rgb), 0.34);
|
|
2371
|
+
}
|
|
2372
|
+
.theme-customizer-scroll > details > summary {
|
|
2373
|
+
min-height: 44px;
|
|
2374
|
+
padding: 0.68rem 0.8rem;
|
|
2375
|
+
cursor: pointer;
|
|
2376
|
+
font-weight: 900;
|
|
2377
|
+
}
|
|
2378
|
+
.theme-customizer-visual-fields { display: grid; gap: 0.7rem; padding: 0 0.75rem 0.75rem; }
|
|
2379
|
+
.theme-token-group {
|
|
2380
|
+
min-width: 0;
|
|
2381
|
+
margin: 0;
|
|
2382
|
+
padding: 0.65rem;
|
|
2383
|
+
border: 1px solid rgba(180, 190, 254, 0.16);
|
|
2384
|
+
border-radius: 0.72rem;
|
|
2385
|
+
}
|
|
2386
|
+
.theme-token-group legend { padding: 0 0.32rem; color: var(--ctp-teal); font-weight: 900; }
|
|
2387
|
+
.theme-token-grid {
|
|
2388
|
+
display: grid;
|
|
2389
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
|
|
2390
|
+
gap: 0.48rem 0.7rem;
|
|
2391
|
+
}
|
|
2392
|
+
.theme-token-row {
|
|
2393
|
+
display: grid;
|
|
2394
|
+
grid-template-columns: minmax(8rem, 0.9fr) 44px minmax(7rem, 1.1fr);
|
|
2395
|
+
gap: 0.42rem;
|
|
2396
|
+
align-items: center;
|
|
2397
|
+
min-width: 0;
|
|
2398
|
+
}
|
|
2399
|
+
.theme-token-label { min-width: 0; overflow-wrap: anywhere; font-size: var(--text-sm); font-weight: 760; }
|
|
2400
|
+
.theme-token-label code { display: block; color: var(--ctp-subtext); font-size: var(--text-xs); font-weight: 600; }
|
|
2401
|
+
.theme-token-swatch { width: 44px; min-width: 44px; height: 44px; padding: 0.2rem; cursor: pointer; }
|
|
2402
|
+
.theme-token-swatch:disabled { cursor: not-allowed; opacity: 0.58; }
|
|
2403
|
+
.theme-token-value { width: 100%; min-width: 0; }
|
|
2404
|
+
.theme-token-swatch-note { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; color: var(--ctp-subtext); font-size: var(--text-xs); }
|
|
2405
|
+
.theme-customizer-optional-fields { display: grid; gap: 0.75rem; padding: 0 0.75rem 0.75rem; }
|
|
2406
|
+
.theme-customizer-optional-fields fieldset { min-width: 0; margin: 0; border-color: rgba(180, 190, 254, 0.18); }
|
|
2407
|
+
.theme-customizer-export-fields {
|
|
2408
|
+
display: grid;
|
|
2409
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
|
|
2410
|
+
gap: 0.55rem;
|
|
2411
|
+
}
|
|
2412
|
+
.theme-customizer-export-fields label { display: grid; min-width: 0; gap: 0.28rem; font-size: var(--text-sm); font-weight: 800; }
|
|
2413
|
+
.theme-customizer-export-fields input { width: 100%; min-width: 0; }
|
|
2414
|
+
.theme-customizer-json { min-height: 22rem; resize: vertical; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 0.8rem 0.8rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.82rem; }
|
|
2415
|
+
.theme-customizer-overwrite { padding: 0.8rem; border: 1px solid rgba(243, 139, 168, 0.48); border-radius: 0.8rem; background: rgba(243, 139, 168, 0.1); }
|
|
2416
|
+
.theme-customizer-overwrite p { margin: 0.35rem 0 0.65rem; }
|
|
2417
|
+
.theme-customizer-status { min-height: 1.4rem; margin: 0; line-height: 1.4; }
|
|
2418
|
+
.theme-customizer-status.error { color: var(--danger); }
|
|
2419
|
+
.theme-customizer-status.success { color: var(--ok); }
|
|
2420
|
+
.theme-customizer-status.warn { color: var(--warning); }
|
|
2421
|
+
.theme-customizer-actions {
|
|
2422
|
+
display: flex;
|
|
2423
|
+
justify-content: flex-end;
|
|
2424
|
+
gap: 0.55rem;
|
|
2425
|
+
margin: 0;
|
|
2426
|
+
padding: 0.75rem max(1.1rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(1.1rem, env(safe-area-inset-left));
|
|
2427
|
+
border-top: 1px solid var(--border);
|
|
2428
|
+
}
|
|
2429
|
+
@media (max-width: 720px), (pointer: coarse) and (hover: none) {
|
|
2430
|
+
.theme-customizer-dialog {
|
|
2431
|
+
width: 100vw;
|
|
2432
|
+
height: var(--visual-viewport-height, 100dvh);
|
|
2433
|
+
max-height: var(--visual-viewport-height, 100dvh);
|
|
2434
|
+
margin: 0;
|
|
2435
|
+
border-radius: 0;
|
|
2436
|
+
}
|
|
2437
|
+
.theme-customizer-header { padding-top: max(0.8rem, env(safe-area-inset-top)); }
|
|
2438
|
+
.theme-customizer-header { display: grid; }
|
|
2439
|
+
.theme-customizer-identity,
|
|
2440
|
+
.theme-token-grid,
|
|
2441
|
+
.theme-customizer-export-fields { grid-template-columns: minmax(0, 1fr); }
|
|
2442
|
+
.theme-token-row { grid-template-columns: minmax(0, 1fr) 44px; }
|
|
2443
|
+
.theme-token-value { grid-column: 1 / -1; min-height: 44px; }
|
|
2444
|
+
.theme-customizer-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
2445
|
+
.theme-customizer-actions button { min-height: 44px; padding-inline: 0.35rem; }
|
|
2446
|
+
}
|
|
2274
2447
|
.background-input {
|
|
2275
2448
|
position: absolute;
|
|
2276
2449
|
width: 1px;
|
|
@@ -2534,6 +2707,235 @@ body.embedded-split .side-panel-backdrop {
|
|
|
2534
2707
|
.subagents-help code {
|
|
2535
2708
|
color: var(--ctp-teal);
|
|
2536
2709
|
}
|
|
2710
|
+
.sampling-parameters {
|
|
2711
|
+
container: sampling-parameters / inline-size;
|
|
2712
|
+
display: grid;
|
|
2713
|
+
gap: 0.5rem;
|
|
2714
|
+
min-width: 0;
|
|
2715
|
+
padding: 0.55rem;
|
|
2716
|
+
border: 1px solid rgba(180, 190, 254, 0.16);
|
|
2717
|
+
border-radius: 0.6rem;
|
|
2718
|
+
background: rgba(var(--ctp-crust-rgb), 0.3);
|
|
2719
|
+
}
|
|
2720
|
+
.sampling-parameters-intro,
|
|
2721
|
+
.sampling-parameters-support,
|
|
2722
|
+
.sampling-parameters-preserved,
|
|
2723
|
+
.sampling-parameters-status {
|
|
2724
|
+
margin: 0;
|
|
2725
|
+
color: rgba(var(--ctp-subtext-rgb), 0.78);
|
|
2726
|
+
font-size: var(--text-xs);
|
|
2727
|
+
line-height: 1.35;
|
|
2728
|
+
}
|
|
2729
|
+
.sampling-parameters-support.warning,
|
|
2730
|
+
.sampling-parameters-status.warning {
|
|
2731
|
+
color: var(--ctp-peach);
|
|
2732
|
+
}
|
|
2733
|
+
.sampling-parameters-status.error {
|
|
2734
|
+
color: var(--ctp-red);
|
|
2735
|
+
}
|
|
2736
|
+
.sampling-parameter-groups,
|
|
2737
|
+
.sampling-parameter-group {
|
|
2738
|
+
display: grid;
|
|
2739
|
+
gap: 0.45rem;
|
|
2740
|
+
min-width: 0;
|
|
2741
|
+
}
|
|
2742
|
+
.sampling-parameter-group + .sampling-parameter-group {
|
|
2743
|
+
margin-top: 0.2rem;
|
|
2744
|
+
padding-top: 0.5rem;
|
|
2745
|
+
border-top: 1px solid rgba(180, 190, 254, 0.14);
|
|
2746
|
+
}
|
|
2747
|
+
.sampling-parameter-group > h3 {
|
|
2748
|
+
margin: 0;
|
|
2749
|
+
color: rgba(var(--ctp-text-rgb), 0.82);
|
|
2750
|
+
font-size: var(--text-xs);
|
|
2751
|
+
letter-spacing: 0.025em;
|
|
2752
|
+
}
|
|
2753
|
+
.sampling-parameter-control {
|
|
2754
|
+
position: relative;
|
|
2755
|
+
display: grid;
|
|
2756
|
+
gap: 0.35rem;
|
|
2757
|
+
min-width: 0;
|
|
2758
|
+
padding: 0.5rem;
|
|
2759
|
+
border: 1px solid rgba(180, 190, 254, 0.16);
|
|
2760
|
+
border-radius: 0.5rem;
|
|
2761
|
+
background: rgba(var(--ctp-base-rgb), 0.28);
|
|
2762
|
+
}
|
|
2763
|
+
.sampling-parameter-control.enabled {
|
|
2764
|
+
border-color: rgba(137, 180, 250, 0.42);
|
|
2765
|
+
background: rgba(137, 180, 250, 0.07);
|
|
2766
|
+
}
|
|
2767
|
+
.sampling-parameter-control.invalid {
|
|
2768
|
+
border-color: rgba(243, 139, 168, 0.64);
|
|
2769
|
+
}
|
|
2770
|
+
.sampling-parameter-control.unsupported {
|
|
2771
|
+
border-color: rgba(var(--ctp-subtext-rgb), 0.16);
|
|
2772
|
+
background: rgba(var(--ctp-mantle-rgb), 0.38);
|
|
2773
|
+
cursor: help;
|
|
2774
|
+
}
|
|
2775
|
+
.sampling-parameter-control.unsupported:focus-visible {
|
|
2776
|
+
outline: 2px solid var(--ctp-peach);
|
|
2777
|
+
outline-offset: 2px;
|
|
2778
|
+
}
|
|
2779
|
+
.sampling-parameter-control.unsupported .sampling-parameter-control-header,
|
|
2780
|
+
.sampling-parameter-control.unsupported .sampling-parameter-editor {
|
|
2781
|
+
opacity: 0.68;
|
|
2782
|
+
}
|
|
2783
|
+
.sampling-parameter-control-header {
|
|
2784
|
+
display: grid;
|
|
2785
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
2786
|
+
gap: 0.4rem;
|
|
2787
|
+
align-items: center;
|
|
2788
|
+
}
|
|
2789
|
+
.sampling-parameter-control-header input[type="checkbox"] {
|
|
2790
|
+
width: 1rem;
|
|
2791
|
+
height: 1rem;
|
|
2792
|
+
margin: 0;
|
|
2793
|
+
accent-color: var(--ctp-blue);
|
|
2794
|
+
}
|
|
2795
|
+
.sampling-parameter-control-header label {
|
|
2796
|
+
min-width: 0;
|
|
2797
|
+
color: rgba(var(--ctp-text-rgb), 0.9);
|
|
2798
|
+
font-size: var(--text-xs);
|
|
2799
|
+
font-weight: 850;
|
|
2800
|
+
}
|
|
2801
|
+
.sampling-parameter-scope {
|
|
2802
|
+
padding: 0.08rem 0.32rem;
|
|
2803
|
+
border: 1px solid rgba(180, 190, 254, 0.2);
|
|
2804
|
+
border-radius: 999px;
|
|
2805
|
+
color: rgba(var(--ctp-subtext-rgb), 0.78);
|
|
2806
|
+
font-size: var(--text-xs);
|
|
2807
|
+
line-height: 1.25;
|
|
2808
|
+
text-align: right;
|
|
2809
|
+
}
|
|
2810
|
+
.sampling-parameter-description,
|
|
2811
|
+
.sampling-parameter-error {
|
|
2812
|
+
margin: 0;
|
|
2813
|
+
color: rgba(var(--ctp-subtext-rgb), 0.72);
|
|
2814
|
+
font-size: var(--text-xs);
|
|
2815
|
+
line-height: 1.35;
|
|
2816
|
+
}
|
|
2817
|
+
.sampling-parameter-error {
|
|
2818
|
+
color: var(--ctp-red);
|
|
2819
|
+
}
|
|
2820
|
+
.sampling-parameter-unsupported-tooltip {
|
|
2821
|
+
position: absolute;
|
|
2822
|
+
z-index: 20;
|
|
2823
|
+
inset: auto 0.5rem calc(100% - 0.15rem);
|
|
2824
|
+
width: 1px;
|
|
2825
|
+
height: 1px;
|
|
2826
|
+
margin: 0;
|
|
2827
|
+
padding: 0;
|
|
2828
|
+
overflow: hidden;
|
|
2829
|
+
clip-path: inset(50%);
|
|
2830
|
+
color: var(--ctp-base);
|
|
2831
|
+
background: var(--ctp-text);
|
|
2832
|
+
border-radius: 0.38rem;
|
|
2833
|
+
font-size: var(--text-xs);
|
|
2834
|
+
font-weight: 700;
|
|
2835
|
+
line-height: 1.35;
|
|
2836
|
+
pointer-events: none;
|
|
2837
|
+
white-space: normal;
|
|
2838
|
+
}
|
|
2839
|
+
.sampling-parameter-unsupported-tooltip[hidden] {
|
|
2840
|
+
display: none;
|
|
2841
|
+
}
|
|
2842
|
+
.sampling-parameter-unsupported-tooltip.sampling-tooltip-below {
|
|
2843
|
+
inset: calc(100% - 0.15rem) 0.5rem auto;
|
|
2844
|
+
}
|
|
2845
|
+
.sampling-parameter-control.unsupported:hover:not(.sampling-tooltip-dismissed) > .sampling-parameter-unsupported-tooltip,
|
|
2846
|
+
.sampling-parameter-control.unsupported:focus-visible:not(.sampling-tooltip-dismissed) > .sampling-parameter-unsupported-tooltip,
|
|
2847
|
+
.sampling-parameter-control.unsupported:focus-within:not(.sampling-tooltip-dismissed) > .sampling-parameter-unsupported-tooltip {
|
|
2848
|
+
width: auto;
|
|
2849
|
+
height: auto;
|
|
2850
|
+
max-height: var(--sampling-tooltip-max-height, none);
|
|
2851
|
+
padding: 0.42rem 0.5rem;
|
|
2852
|
+
overflow: auto;
|
|
2853
|
+
clip-path: none;
|
|
2854
|
+
box-shadow: 0 0.3rem 1rem rgba(var(--ctp-crust-rgb), 0.42);
|
|
2855
|
+
pointer-events: auto;
|
|
2856
|
+
}
|
|
2857
|
+
.sampling-parameter-editor {
|
|
2858
|
+
display: grid;
|
|
2859
|
+
grid-template-columns: minmax(5rem, 0.36fr) minmax(7rem, 1fr);
|
|
2860
|
+
gap: 0.5rem;
|
|
2861
|
+
align-items: center;
|
|
2862
|
+
min-width: 0;
|
|
2863
|
+
}
|
|
2864
|
+
.sampling-parameter-number {
|
|
2865
|
+
width: 100%;
|
|
2866
|
+
min-width: 0;
|
|
2867
|
+
padding: 0.34rem 0.42rem;
|
|
2868
|
+
border: 1px solid rgba(180, 190, 254, 0.24);
|
|
2869
|
+
border-radius: 0.4rem;
|
|
2870
|
+
color: var(--ctp-text);
|
|
2871
|
+
background: rgba(var(--ctp-base-rgb), 0.5);
|
|
2872
|
+
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
2873
|
+
font-size: var(--text-xs);
|
|
2874
|
+
}
|
|
2875
|
+
.sampling-parameter-number:focus-visible,
|
|
2876
|
+
.sampling-parameter-range:focus-visible,
|
|
2877
|
+
.sampling-parameter-control-header input:focus-visible {
|
|
2878
|
+
outline: 2px solid var(--ctp-blue);
|
|
2879
|
+
outline-offset: 2px;
|
|
2880
|
+
}
|
|
2881
|
+
.sampling-parameter-number[aria-invalid="true"] {
|
|
2882
|
+
border-color: rgba(243, 139, 168, 0.76);
|
|
2883
|
+
}
|
|
2884
|
+
.sampling-parameter-range {
|
|
2885
|
+
width: 100%;
|
|
2886
|
+
min-width: 0;
|
|
2887
|
+
accent-color: var(--ctp-blue);
|
|
2888
|
+
}
|
|
2889
|
+
.sampling-parameter-number:disabled,
|
|
2890
|
+
.sampling-parameter-range:disabled {
|
|
2891
|
+
opacity: 0.55;
|
|
2892
|
+
}
|
|
2893
|
+
.sampling-parameter-context {
|
|
2894
|
+
display: grid;
|
|
2895
|
+
grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
|
|
2896
|
+
gap: 0.18rem 0.35rem;
|
|
2897
|
+
align-items: baseline;
|
|
2898
|
+
margin: 0;
|
|
2899
|
+
min-width: 0;
|
|
2900
|
+
font-size: var(--text-xs);
|
|
2901
|
+
}
|
|
2902
|
+
.sampling-parameter-context dt {
|
|
2903
|
+
color: rgba(var(--ctp-subtext-rgb), 0.64);
|
|
2904
|
+
font-weight: 750;
|
|
2905
|
+
}
|
|
2906
|
+
.sampling-parameter-context dd {
|
|
2907
|
+
min-width: 0;
|
|
2908
|
+
margin: 0;
|
|
2909
|
+
overflow: hidden;
|
|
2910
|
+
color: rgba(var(--ctp-text-rgb), 0.78);
|
|
2911
|
+
text-overflow: ellipsis;
|
|
2912
|
+
white-space: nowrap;
|
|
2913
|
+
}
|
|
2914
|
+
.sampling-parameters-preserved {
|
|
2915
|
+
padding: 0.3rem 0.4rem;
|
|
2916
|
+
border-left: 2px solid rgba(148, 226, 213, 0.55);
|
|
2917
|
+
background: rgba(148, 226, 213, 0.06);
|
|
2918
|
+
}
|
|
2919
|
+
.sampling-parameters-actions {
|
|
2920
|
+
display: flex;
|
|
2921
|
+
flex-wrap: wrap;
|
|
2922
|
+
gap: 0.35rem;
|
|
2923
|
+
min-width: 0;
|
|
2924
|
+
}
|
|
2925
|
+
@container sampling-parameters (max-width: 22rem) {
|
|
2926
|
+
.sampling-parameter-control-header {
|
|
2927
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
2928
|
+
}
|
|
2929
|
+
.sampling-parameter-scope {
|
|
2930
|
+
grid-column: 2;
|
|
2931
|
+
justify-self: start;
|
|
2932
|
+
text-align: left;
|
|
2933
|
+
}
|
|
2934
|
+
.sampling-parameter-editor,
|
|
2935
|
+
.sampling-parameter-context {
|
|
2936
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2537
2939
|
.subagent-launch-slots {
|
|
2538
2940
|
display: block;
|
|
2539
2941
|
container: subagent-launch-slots / inline-size;
|
|
@@ -3849,44 +4251,6 @@ button.subagent-gate-attempt:focus-visible {
|
|
|
3849
4251
|
.terminal-tabs-toggle-button { display: none; }
|
|
3850
4252
|
.terminal-sidebar-actions { display: contents; }
|
|
3851
4253
|
.terminal-sidebar-action-label { display: none; }
|
|
3852
|
-
.terminal-split-button {
|
|
3853
|
-
flex: 0 0 auto;
|
|
3854
|
-
display: inline-grid;
|
|
3855
|
-
place-items: center;
|
|
3856
|
-
width: 2.5rem;
|
|
3857
|
-
min-width: 2.5rem;
|
|
3858
|
-
min-height: 2.35rem;
|
|
3859
|
-
padding: 0.38rem;
|
|
3860
|
-
color: var(--ctp-blue);
|
|
3861
|
-
white-space: nowrap;
|
|
3862
|
-
border-color: rgba(137, 180, 250, 0.32);
|
|
3863
|
-
background:
|
|
3864
|
-
linear-gradient(120deg, rgba(137, 180, 250, 0.12), rgba(148, 226, 213, 0.08)),
|
|
3865
|
-
rgba(var(--ctp-crust-rgb), 0.62);
|
|
3866
|
-
}
|
|
3867
|
-
.terminal-split-button[aria-pressed="true"] {
|
|
3868
|
-
color: var(--ctp-teal);
|
|
3869
|
-
border-color: rgba(148, 226, 213, 0.48);
|
|
3870
|
-
box-shadow: 0 0 1rem rgba(148, 226, 213, 0.16), inset 0 1px 0 rgba(255,255,255,0.05);
|
|
3871
|
-
}
|
|
3872
|
-
.terminal-split-button:hover,
|
|
3873
|
-
.terminal-split-button:focus-visible {
|
|
3874
|
-
color: #11111b;
|
|
3875
|
-
border-color: transparent;
|
|
3876
|
-
background: linear-gradient(120deg, var(--ctp-blue), var(--ctp-teal));
|
|
3877
|
-
}
|
|
3878
|
-
.terminal-split-icon {
|
|
3879
|
-
display: block;
|
|
3880
|
-
width: 1.18rem;
|
|
3881
|
-
height: 1.18rem;
|
|
3882
|
-
}
|
|
3883
|
-
.terminal-split-icon-unsplit,
|
|
3884
|
-
.terminal-split-button[aria-pressed="true"] .terminal-split-icon-split {
|
|
3885
|
-
display: none;
|
|
3886
|
-
}
|
|
3887
|
-
.terminal-split-button[aria-pressed="true"] .terminal-split-icon-unsplit {
|
|
3888
|
-
display: block;
|
|
3889
|
-
}
|
|
3890
4254
|
.terminal-workspace-save-button {
|
|
3891
4255
|
flex: 0 0 auto;
|
|
3892
4256
|
display: inline-grid;
|
|
@@ -4156,6 +4520,8 @@ button.subagent-gate-attempt:focus-visible {
|
|
|
4156
4520
|
background: linear-gradient(120deg, rgba(137, 180, 250, 0.18), rgba(203, 166, 247, 0.12));
|
|
4157
4521
|
}
|
|
4158
4522
|
.terminal-tab-button,
|
|
4523
|
+
.terminal-tab-split-button,
|
|
4524
|
+
.terminal-tab-summary-button,
|
|
4159
4525
|
.terminal-tab-close,
|
|
4160
4526
|
.terminal-new-tab-button {
|
|
4161
4527
|
min-height: 2.35rem;
|
|
@@ -4303,6 +4669,8 @@ button.subagent-gate-attempt:focus-visible {
|
|
|
4303
4669
|
50% { opacity: 1; box-shadow: 0 0 0.95rem rgba(137, 180, 250, 0.44); }
|
|
4304
4670
|
}
|
|
4305
4671
|
.terminal-tab-button:hover,
|
|
4672
|
+
.terminal-tab-split-button:hover,
|
|
4673
|
+
.terminal-tab-summary-button:hover,
|
|
4306
4674
|
.terminal-tab-close:hover,
|
|
4307
4675
|
.terminal-new-tab-button:hover {
|
|
4308
4676
|
transform: none;
|
|
@@ -4337,10 +4705,70 @@ button.subagent-gate-attempt:focus-visible {
|
|
|
4337
4705
|
.terminal-tab-group-item.activity-blocked > .terminal-tab-button .terminal-tab-meta { color: rgba(250, 179, 135, 0.88); }
|
|
4338
4706
|
.terminal-tab.activity-done > .terminal-tab-button .terminal-tab-meta,
|
|
4339
4707
|
.terminal-tab-group-item.activity-done > .terminal-tab-button .terminal-tab-meta { color: rgba(166, 227, 161, 0.82); }
|
|
4708
|
+
.terminal-tab-actions {
|
|
4709
|
+
position: relative;
|
|
4710
|
+
flex: 0 0 2rem;
|
|
4711
|
+
display: flex;
|
|
4712
|
+
flex-direction: column;
|
|
4713
|
+
align-self: stretch;
|
|
4714
|
+
min-width: 2rem;
|
|
4715
|
+
min-height: 2.35rem;
|
|
4716
|
+
border-left: 1px solid rgba(203, 166, 247, 0.16);
|
|
4717
|
+
}
|
|
4718
|
+
.terminal-tab-split-button,
|
|
4719
|
+
.terminal-tab-summary-button {
|
|
4720
|
+
position: relative;
|
|
4721
|
+
flex: 1 1 50%;
|
|
4722
|
+
display: inline-grid;
|
|
4723
|
+
place-items: center;
|
|
4724
|
+
min-width: 0;
|
|
4725
|
+
min-height: 0;
|
|
4726
|
+
padding: 0;
|
|
4727
|
+
}
|
|
4728
|
+
.terminal-tab-split-button {
|
|
4729
|
+
color: var(--ctp-blue);
|
|
4730
|
+
}
|
|
4731
|
+
.terminal-tab-split-button:not(:only-child) {
|
|
4732
|
+
border-bottom: 1px solid rgba(137, 180, 250, 0.16);
|
|
4733
|
+
}
|
|
4734
|
+
.terminal-tab-split-button[aria-pressed="true"] {
|
|
4735
|
+
color: var(--ctp-teal);
|
|
4736
|
+
background: rgba(148, 226, 213, 0.12);
|
|
4737
|
+
}
|
|
4738
|
+
.terminal-tab-split-button:hover:not(:disabled),
|
|
4739
|
+
.terminal-tab-split-button:focus-visible {
|
|
4740
|
+
color: #11111b;
|
|
4741
|
+
background: linear-gradient(120deg, var(--ctp-blue), var(--ctp-teal));
|
|
4742
|
+
}
|
|
4743
|
+
.terminal-tab-summary-button {
|
|
4744
|
+
color: var(--ctp-mauve);
|
|
4745
|
+
}
|
|
4746
|
+
.terminal-tab-summary-button:hover:not(:disabled),
|
|
4747
|
+
.terminal-tab-summary-button:focus-visible {
|
|
4748
|
+
color: #11111b;
|
|
4749
|
+
background: linear-gradient(120deg, var(--ctp-mauve), var(--ctp-blue));
|
|
4750
|
+
}
|
|
4751
|
+
.terminal-tab-split-button:disabled,
|
|
4752
|
+
.terminal-tab-summary-button:disabled {
|
|
4753
|
+
color: rgba(var(--ctp-subtext-rgb), 0.58);
|
|
4754
|
+
cursor: progress;
|
|
4755
|
+
background: rgba(var(--ctp-surface-rgb), 0.18);
|
|
4756
|
+
}
|
|
4757
|
+
.terminal-tab-action-icon,
|
|
4758
|
+
.terminal-tab-summary-button svg {
|
|
4759
|
+
width: 0.72rem;
|
|
4760
|
+
height: 0.72rem;
|
|
4761
|
+
}
|
|
4762
|
+
.terminal-tab-summary-button[aria-busy="true"] svg {
|
|
4763
|
+
animation: terminal-summary-pulse 1.1s ease-in-out infinite alternate;
|
|
4764
|
+
}
|
|
4765
|
+
.terminal-tab-group-item > .terminal-tab-actions {
|
|
4766
|
+
background-color: rgba(203, 166, 247, 0.04);
|
|
4767
|
+
}
|
|
4340
4768
|
.terminal-tab-close {
|
|
4341
4769
|
flex: 0 0 2.1rem;
|
|
4342
4770
|
color: rgba(var(--ctp-subtext-rgb), 0.72);
|
|
4343
|
-
border-left: 1px solid rgba(
|
|
4771
|
+
border-left: 1px solid rgba(243, 139, 168, 0.14);
|
|
4344
4772
|
font-size: 1.2rem;
|
|
4345
4773
|
line-height: 1;
|
|
4346
4774
|
}
|
|
@@ -4525,7 +4953,7 @@ button.subagent-gate-attempt:focus-visible {
|
|
|
4525
4953
|
}
|
|
4526
4954
|
body.terminal-tabs-left .terminal-sidebar-actions {
|
|
4527
4955
|
display: grid;
|
|
4528
|
-
grid-template-columns: repeat(
|
|
4956
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4529
4957
|
gap: 0.42rem;
|
|
4530
4958
|
width: 100%;
|
|
4531
4959
|
padding: 0.42rem;
|
|
@@ -9429,12 +9857,24 @@ body:not(.mobile-keyboard-open) .composer-input-row:has(.composer-workflow-mode-
|
|
|
9429
9857
|
color: rgba(17, 17, 27, 0.74);
|
|
9430
9858
|
}
|
|
9431
9859
|
.composer-options-menu-item {
|
|
9860
|
+
box-sizing: border-box;
|
|
9861
|
+
width: 100%;
|
|
9862
|
+
min-width: 0;
|
|
9863
|
+
max-width: 100%;
|
|
9864
|
+
padding-inline: 0.78rem;
|
|
9432
9865
|
color: var(--ctp-sky);
|
|
9433
9866
|
border-color: rgba(137, 220, 235, 0.32);
|
|
9434
9867
|
background:
|
|
9435
9868
|
linear-gradient(120deg, rgba(137, 220, 235, 0.12), rgba(166, 227, 161, 0.08)),
|
|
9436
9869
|
var(--ctp-crust);
|
|
9437
9870
|
}
|
|
9871
|
+
.composer-options-menu-item > span:not([aria-hidden="true"]):not(.composer-options-submenu-chevron) {
|
|
9872
|
+
flex: 1 1 auto;
|
|
9873
|
+
min-width: 0;
|
|
9874
|
+
max-width: 100%;
|
|
9875
|
+
font-size: var(--options-menu-label-font-size, inherit);
|
|
9876
|
+
white-space: nowrap;
|
|
9877
|
+
}
|
|
9438
9878
|
.composer-options-menu-item:hover,
|
|
9439
9879
|
.composer-options-menu-item:focus-visible {
|
|
9440
9880
|
color: #11111b;
|
|
@@ -9442,6 +9882,101 @@ body:not(.mobile-keyboard-open) .composer-input-row:has(.composer-workflow-mode-
|
|
|
9442
9882
|
background: linear-gradient(120deg, var(--ctp-sky), var(--ctp-teal));
|
|
9443
9883
|
box-shadow: 0 0 1rem rgba(137, 220, 235, 0.20);
|
|
9444
9884
|
}
|
|
9885
|
+
.composer-options-menu-panel {
|
|
9886
|
+
--composer-options-selection-width: min(13.5rem, calc(100vw - 2rem));
|
|
9887
|
+
box-sizing: border-box;
|
|
9888
|
+
width: var(--composer-options-selection-width);
|
|
9889
|
+
min-width: var(--composer-options-selection-width);
|
|
9890
|
+
max-width: var(--composer-options-selection-width);
|
|
9891
|
+
}
|
|
9892
|
+
.composer-options-submenu {
|
|
9893
|
+
position: relative;
|
|
9894
|
+
display: flex;
|
|
9895
|
+
width: 100%;
|
|
9896
|
+
}
|
|
9897
|
+
.composer-options-submenu[hidden] {
|
|
9898
|
+
display: none;
|
|
9899
|
+
}
|
|
9900
|
+
.composer-options-submenu-trigger {
|
|
9901
|
+
justify-content: space-between;
|
|
9902
|
+
gap: 0.75rem;
|
|
9903
|
+
width: 100%;
|
|
9904
|
+
max-width: none;
|
|
9905
|
+
text-align: left;
|
|
9906
|
+
}
|
|
9907
|
+
.composer-options-submenu-chevron {
|
|
9908
|
+
flex: 0 0 auto;
|
|
9909
|
+
font-size: 1.15em;
|
|
9910
|
+
line-height: 1;
|
|
9911
|
+
transition: transform 120ms ease;
|
|
9912
|
+
}
|
|
9913
|
+
.composer-options-submenu-panel {
|
|
9914
|
+
position: absolute;
|
|
9915
|
+
z-index: 102;
|
|
9916
|
+
inset: 0 auto auto calc(100% + 0.3rem);
|
|
9917
|
+
display: none;
|
|
9918
|
+
flex-direction: column;
|
|
9919
|
+
align-items: stretch;
|
|
9920
|
+
gap: 0.38rem;
|
|
9921
|
+
box-sizing: border-box;
|
|
9922
|
+
width: 100%;
|
|
9923
|
+
min-width: 100%;
|
|
9924
|
+
max-width: 100%;
|
|
9925
|
+
max-height: min(60vh, 24rem);
|
|
9926
|
+
padding: 0;
|
|
9927
|
+
overflow-x: hidden;
|
|
9928
|
+
overflow-y: auto;
|
|
9929
|
+
overscroll-behavior: contain;
|
|
9930
|
+
-webkit-overflow-scrolling: touch;
|
|
9931
|
+
scrollbar-width: thin;
|
|
9932
|
+
}
|
|
9933
|
+
.composer-options-submenu.open > .composer-options-submenu-panel,
|
|
9934
|
+
.composer-options-submenu.is-open > .composer-options-submenu-panel,
|
|
9935
|
+
.composer-options-submenu-trigger[aria-expanded="true"] + .composer-options-submenu-panel {
|
|
9936
|
+
display: flex;
|
|
9937
|
+
}
|
|
9938
|
+
.composer-options-submenu.opens-left > .composer-options-submenu-panel,
|
|
9939
|
+
.composer-options-submenu-panel.opens-left {
|
|
9940
|
+
inset-inline: auto calc(100% + 0.3rem);
|
|
9941
|
+
}
|
|
9942
|
+
.composer-options-submenu::after {
|
|
9943
|
+
content: "";
|
|
9944
|
+
position: absolute;
|
|
9945
|
+
z-index: 101;
|
|
9946
|
+
inset: 0 -0.3rem 0 auto;
|
|
9947
|
+
display: none;
|
|
9948
|
+
width: 0.3rem;
|
|
9949
|
+
}
|
|
9950
|
+
.composer-options-submenu.opens-left::after {
|
|
9951
|
+
inset-inline: -0.3rem auto;
|
|
9952
|
+
}
|
|
9953
|
+
.composer-options-submenu.open::after,
|
|
9954
|
+
.composer-options-submenu.is-open::after,
|
|
9955
|
+
.composer-options-submenu:focus-within::after {
|
|
9956
|
+
display: block;
|
|
9957
|
+
}
|
|
9958
|
+
.composer-options-submenu-back {
|
|
9959
|
+
display: none;
|
|
9960
|
+
}
|
|
9961
|
+
@media (hover: hover) and (pointer: fine) {
|
|
9962
|
+
.composer-options-submenu:hover > .composer-options-submenu-panel,
|
|
9963
|
+
.composer-options-submenu:focus-within > .composer-options-submenu-panel {
|
|
9964
|
+
display: flex;
|
|
9965
|
+
}
|
|
9966
|
+
.composer-options-submenu:hover::after {
|
|
9967
|
+
display: block;
|
|
9968
|
+
}
|
|
9969
|
+
}
|
|
9970
|
+
.composer-options-submenu.open > .composer-options-submenu-trigger .composer-options-submenu-chevron,
|
|
9971
|
+
.composer-options-submenu.is-open > .composer-options-submenu-trigger .composer-options-submenu-chevron,
|
|
9972
|
+
.composer-options-submenu-trigger[aria-expanded="true"] .composer-options-submenu-chevron {
|
|
9973
|
+
transform: translateX(0.12rem);
|
|
9974
|
+
}
|
|
9975
|
+
.composer-options-submenu-panel > .composer-options-menu-item {
|
|
9976
|
+
width: 100%;
|
|
9977
|
+
min-width: 100%;
|
|
9978
|
+
max-width: none;
|
|
9979
|
+
}
|
|
9445
9980
|
.composer button[data-tooltip] {
|
|
9446
9981
|
position: relative;
|
|
9447
9982
|
}
|
|
@@ -13145,8 +13680,7 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13145
13680
|
min-height: 0;
|
|
13146
13681
|
max-height: calc(var(--visual-viewport-height, 100dvh) - 2rem);
|
|
13147
13682
|
}
|
|
13148
|
-
.terminal-split-shell
|
|
13149
|
-
.terminal-split-button {
|
|
13683
|
+
.terminal-split-shell {
|
|
13150
13684
|
display: none !important;
|
|
13151
13685
|
}
|
|
13152
13686
|
.file-viewer-pane {
|
|
@@ -13155,7 +13689,11 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13155
13689
|
}
|
|
13156
13690
|
.file-viewer-resize-handle,
|
|
13157
13691
|
.side-panel-resize-handle {
|
|
13158
|
-
display: none;
|
|
13692
|
+
display: none !important;
|
|
13693
|
+
}
|
|
13694
|
+
.side-panel-section-content {
|
|
13695
|
+
height: auto !important;
|
|
13696
|
+
overflow: visible !important;
|
|
13159
13697
|
}
|
|
13160
13698
|
.chat { flex-basis: 0; }
|
|
13161
13699
|
body:not(.side-panel-collapsed) { overflow: hidden; }
|
|
@@ -13410,6 +13948,7 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13410
13948
|
overflow: visible;
|
|
13411
13949
|
}
|
|
13412
13950
|
.terminal-tab-button,
|
|
13951
|
+
.terminal-tab-actions,
|
|
13413
13952
|
.terminal-tab-close,
|
|
13414
13953
|
.terminal-new-tab-button,
|
|
13415
13954
|
.terminal-new-tab-menu-item,
|
|
@@ -13417,11 +13956,12 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13417
13956
|
.terminal-tab-button { padding: 0.32rem 0.52rem; }
|
|
13418
13957
|
.terminal-tab-title { font-size: 0.78rem; }
|
|
13419
13958
|
.terminal-tab-meta { display: none; }
|
|
13959
|
+
.terminal-tab-actions,
|
|
13420
13960
|
.terminal-tab-close {
|
|
13421
13961
|
flex-basis: 44px;
|
|
13422
13962
|
min-width: 44px;
|
|
13423
|
-
font-size: 1rem;
|
|
13424
13963
|
}
|
|
13964
|
+
.terminal-tab-close { font-size: 1rem; }
|
|
13425
13965
|
.terminal-new-tab-button {
|
|
13426
13966
|
width: auto;
|
|
13427
13967
|
padding: 0.36rem 0.58rem;
|
|
@@ -13909,6 +14449,74 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13909
14449
|
flex: 1 1 auto;
|
|
13910
14450
|
white-space: normal;
|
|
13911
14451
|
}
|
|
14452
|
+
.composer-actions-panel > .composer-options-menu .composer-options-menu-panel.composer-auto-height-menu-panel {
|
|
14453
|
+
position: absolute;
|
|
14454
|
+
height: auto;
|
|
14455
|
+
max-height: min(var(--mobile-dropdown-max-height, 34dvh), calc(var(--visual-viewport-height, 100dvh) - 2rem));
|
|
14456
|
+
overflow-x: hidden;
|
|
14457
|
+
overflow-y: auto;
|
|
14458
|
+
overscroll-behavior: contain;
|
|
14459
|
+
-webkit-overflow-scrolling: touch;
|
|
14460
|
+
}
|
|
14461
|
+
.composer-options-menu-panel.submenu-open,
|
|
14462
|
+
.composer-options-menu-panel.has-open-submenu,
|
|
14463
|
+
.composer-options-menu-panel:has(.composer-options-submenu-trigger[aria-expanded="true"]) {
|
|
14464
|
+
overflow: hidden;
|
|
14465
|
+
}
|
|
14466
|
+
.composer-options-submenu {
|
|
14467
|
+
position: static;
|
|
14468
|
+
}
|
|
14469
|
+
.composer-options-submenu::after {
|
|
14470
|
+
display: none !important;
|
|
14471
|
+
}
|
|
14472
|
+
.composer-options-submenu-panel,
|
|
14473
|
+
.composer-options-submenu.opens-left > .composer-options-submenu-panel,
|
|
14474
|
+
.composer-options-submenu-panel.opens-left {
|
|
14475
|
+
position: absolute;
|
|
14476
|
+
z-index: 104;
|
|
14477
|
+
inset: 0;
|
|
14478
|
+
box-sizing: border-box;
|
|
14479
|
+
width: 100%;
|
|
14480
|
+
min-width: 0;
|
|
14481
|
+
max-width: 100%;
|
|
14482
|
+
max-height: 100%;
|
|
14483
|
+
padding: 0;
|
|
14484
|
+
overflow-x: hidden;
|
|
14485
|
+
overflow-y: auto;
|
|
14486
|
+
overscroll-behavior: contain;
|
|
14487
|
+
background: var(--ctp-crust);
|
|
14488
|
+
-webkit-overflow-scrolling: touch;
|
|
14489
|
+
}
|
|
14490
|
+
.composer-options-submenu:hover > .composer-options-submenu-panel,
|
|
14491
|
+
.composer-options-submenu:focus-within > .composer-options-submenu-panel {
|
|
14492
|
+
display: none;
|
|
14493
|
+
}
|
|
14494
|
+
.composer-options-submenu.open > .composer-options-submenu-panel,
|
|
14495
|
+
.composer-options-submenu.is-open > .composer-options-submenu-panel,
|
|
14496
|
+
.composer-options-submenu-trigger[aria-expanded="true"] + .composer-options-submenu-panel {
|
|
14497
|
+
display: flex;
|
|
14498
|
+
}
|
|
14499
|
+
.composer-options-submenu-trigger,
|
|
14500
|
+
.composer-options-submenu-panel > .composer-options-menu-item {
|
|
14501
|
+
min-height: 44px;
|
|
14502
|
+
}
|
|
14503
|
+
.composer-options-submenu-back {
|
|
14504
|
+
position: sticky;
|
|
14505
|
+
z-index: 1;
|
|
14506
|
+
top: 0;
|
|
14507
|
+
display: inline-flex;
|
|
14508
|
+
justify-content: flex-start;
|
|
14509
|
+
gap: 0.5rem;
|
|
14510
|
+
background: var(--ctp-crust);
|
|
14511
|
+
}
|
|
14512
|
+
.composer-options-submenu-chevron {
|
|
14513
|
+
transform: rotate(90deg);
|
|
14514
|
+
}
|
|
14515
|
+
.composer-options-submenu.open > .composer-options-submenu-trigger .composer-options-submenu-chevron,
|
|
14516
|
+
.composer-options-submenu.is-open > .composer-options-submenu-trigger .composer-options-submenu-chevron,
|
|
14517
|
+
.composer-options-submenu-trigger[aria-expanded="true"] .composer-options-submenu-chevron {
|
|
14518
|
+
transform: rotate(90deg) translateX(0.12rem);
|
|
14519
|
+
}
|
|
13912
14520
|
.command-suggest {
|
|
13913
14521
|
max-height: 35dvh;
|
|
13914
14522
|
font-size: 0.86rem;
|
|
@@ -13962,6 +14570,13 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
13962
14570
|
overflow: auto;
|
|
13963
14571
|
border-radius: 1rem 1rem 0 0;
|
|
13964
14572
|
}
|
|
14573
|
+
.extension-dialog.theme-customizer-dialog {
|
|
14574
|
+
inset: 0;
|
|
14575
|
+
height: var(--visual-viewport-height, 100dvh);
|
|
14576
|
+
max-height: var(--visual-viewport-height, 100dvh);
|
|
14577
|
+
overflow: hidden;
|
|
14578
|
+
border-radius: 0;
|
|
14579
|
+
}
|
|
13965
14580
|
.extension-dialog.questionnaire-dialog {
|
|
13966
14581
|
width: 100vw;
|
|
13967
14582
|
max-height: calc(var(--visual-viewport-height, 100dvh) - 0.5rem - env(safe-area-inset-top));
|
|
@@ -14427,18 +15042,18 @@ button.git-workflow-step { min-height: 1.9rem; }
|
|
|
14427
15042
|
right: auto;
|
|
14428
15043
|
bottom: calc(100% + 0.62rem);
|
|
14429
15044
|
z-index: 220;
|
|
14430
|
-
width: calc(
|
|
15045
|
+
width: calc(300% + 0.84rem);
|
|
14431
15046
|
max-width: none;
|
|
14432
15047
|
transform: translateY(0.2rem);
|
|
14433
15048
|
}
|
|
14434
15049
|
body.terminal-tabs-left .terminal-workspace-save-button[data-tooltip]::after {
|
|
14435
|
-
left:
|
|
15050
|
+
left: 0;
|
|
14436
15051
|
}
|
|
14437
15052
|
body.terminal-tabs-left .terminal-command-palette-button[data-tooltip]::after {
|
|
14438
|
-
left: calc(-
|
|
15053
|
+
left: calc(-100% - 0.42rem);
|
|
14439
15054
|
}
|
|
14440
15055
|
body.terminal-tabs-left .terminal-dashboard-button[data-tooltip]::after {
|
|
14441
|
-
left: calc(-
|
|
15056
|
+
left: calc(-200% - 0.84rem);
|
|
14442
15057
|
}
|
|
14443
15058
|
body.terminal-tabs-left .terminal-workspace-save-button[data-tooltip]:hover::after,
|
|
14444
15059
|
body.terminal-tabs-left .terminal-workspace-save-button[data-tooltip]:focus-visible::after,
|
|
@@ -16073,6 +16688,8 @@ html[data-density="compact"] .composer { padding-block: 0.5rem; }
|
|
|
16073
16688
|
}
|
|
16074
16689
|
html[data-mobile-shell="v2"] .mobile-canonical-host > .side-panel-section-content {
|
|
16075
16690
|
display: block !important;
|
|
16691
|
+
height: auto !important;
|
|
16692
|
+
overflow: visible !important;
|
|
16076
16693
|
padding: 0.35rem 0;
|
|
16077
16694
|
overflow: visible;
|
|
16078
16695
|
border: 0;
|
|
@@ -16769,28 +17386,7 @@ html[data-density="compact"] .composer { padding-block: 0.5rem; }
|
|
|
16769
17386
|
.issue-wizard-actions #issueWizardBotButton { grid-column: 1 / -1; }
|
|
16770
17387
|
}
|
|
16771
17388
|
|
|
16772
|
-
/* Native Pi session-summary
|
|
16773
|
-
.terminal-summary-button {
|
|
16774
|
-
position: relative;
|
|
16775
|
-
flex: 0 0 auto;
|
|
16776
|
-
display: inline-grid;
|
|
16777
|
-
place-items: center;
|
|
16778
|
-
width: 34px;
|
|
16779
|
-
height: 30px;
|
|
16780
|
-
padding: 0;
|
|
16781
|
-
border: 1px solid rgba(203, 166, 247, 0.28);
|
|
16782
|
-
border-radius: 0.62rem;
|
|
16783
|
-
color: var(--ctp-mauve);
|
|
16784
|
-
background: linear-gradient(120deg, rgba(203, 166, 247, 0.13), rgba(137, 180, 250, 0.08)), rgba(var(--ctp-crust-rgb), 0.58);
|
|
16785
|
-
}
|
|
16786
|
-
.terminal-summary-button:hover:not(:disabled),
|
|
16787
|
-
.terminal-summary-button:focus-visible {
|
|
16788
|
-
color: #11111b;
|
|
16789
|
-
border-color: transparent;
|
|
16790
|
-
background: linear-gradient(120deg, var(--ctp-mauve), var(--ctp-blue));
|
|
16791
|
-
}
|
|
16792
|
-
.terminal-summary-button svg { width: 1.08rem; height: 1.08rem; }
|
|
16793
|
-
.terminal-summary-button[aria-busy="true"] svg { animation: terminal-summary-pulse 1.1s ease-in-out infinite alternate; }
|
|
17389
|
+
/* Native Pi session-summary setup and non-blocking Markdown panel. */
|
|
16794
17390
|
@keyframes terminal-summary-pulse { to { opacity: 0.38; transform: scale(0.9); } }
|
|
16795
17391
|
.native-settings-textarea-field { min-width: 0; }
|
|
16796
17392
|
.native-settings-textarea {
|
|
@@ -16839,7 +17435,6 @@ html[data-density="compact"] .composer { padding-block: 0.5rem; }
|
|
|
16839
17435
|
.session-summary-overlay-actions button { min-width: 5.5rem; }
|
|
16840
17436
|
|
|
16841
17437
|
@media (max-width: 720px), (max-device-width: 720px), (pointer: coarse) and (hover: none) {
|
|
16842
|
-
.terminal-summary-button { width: 32px; min-height: 28px; border-radius: 0.58rem; }
|
|
16843
17438
|
.session-summary-overlay {
|
|
16844
17439
|
inset: auto 0 0;
|
|
16845
17440
|
width: 100vw;
|