samagotchi 0.164.0 → 0.166.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -1
- data/docs/architecture.md +7 -5
- data/docs/cli.md +23 -12
- data/docs/configuration.md +8 -2
- data/docs/guardrails.md +19 -18
- data/docs/internals/block-renderers.md +1 -1
- data/docs/internals/bridge.md +10 -3
- data/docs/internals/bundles.md +4 -2
- data/docs/internals/inline-widgets.md +8 -1
- data/docs/internals/remote-sessions.md +1 -1
- data/docs/internals/web-frontend.md +73 -13
- data/docs/memory.md +12 -7
- data/docs/plugins.md +6 -4
- data/docs/releasing.md +17 -4
- data/docs/scheduling.md +25 -3
- data/docs/sessions.md +12 -10
- data/docs/testing.md +37 -4
- data/lib/samagotchi/block_renderers.rb +3 -6
- data/lib/samagotchi/bridge/card_store.rb +2 -1
- data/lib/samagotchi/bridge/turn_accumulator.rb +7 -8
- data/lib/samagotchi/bridge.rb +45 -3
- data/lib/samagotchi/bundle_command/installed_check.rb +2 -1
- data/lib/samagotchi/bundles/system/manifest.yml +1 -1
- data/lib/samagotchi/chi_home.rb +44 -2
- data/lib/samagotchi/client_id.rb +34 -3
- data/lib/samagotchi/compat.rb +34 -0
- data/lib/samagotchi/context_command.rb +3 -0
- data/lib/samagotchi/context_providers.rb +5 -6
- data/lib/samagotchi/context_sources.rb +2 -2
- data/lib/samagotchi/continue_intent.rb +50 -5
- data/lib/samagotchi/events.rb +4 -4
- data/lib/samagotchi/extension_load.rb +2 -1
- data/lib/samagotchi/guardrails/approvals.rb +36 -9
- data/lib/samagotchi/guardrails/child_boundary.rb +7 -27
- data/lib/samagotchi/guardrails/rules.rb +11 -9
- data/lib/samagotchi/guardrails/targets.rb +3 -4
- data/lib/samagotchi/inline_widgets.rb +16 -1
- data/lib/samagotchi/memory_bundle/provenance.rb +46 -4
- data/lib/samagotchi/memory_bundle/status.rb +2 -1
- data/lib/samagotchi/memory_command.rb +3 -0
- data/lib/samagotchi/memory_orphans.rb +4 -7
- data/lib/samagotchi/memory_paths.rb +64 -7
- data/lib/samagotchi/memory_usage.rb +1 -1
- data/lib/samagotchi/plugin/sessions.rb +8 -3
- data/lib/samagotchi/project_command.rb +4 -1
- data/lib/samagotchi/project_id_clash.rb +37 -26
- data/lib/samagotchi/project_init.rb +24 -7
- data/lib/samagotchi/reply_wait/poll.rb +4 -14
- data/lib/samagotchi/reply_wait.rb +0 -23
- data/lib/samagotchi/run_options.rb +1 -1
- data/lib/samagotchi/schedules.rb +124 -106
- data/lib/samagotchi/send_command.rb +71 -18
- data/lib/samagotchi/session.rb +3 -2
- data/lib/samagotchi/session_access/local.rb +19 -2
- data/lib/samagotchi/session_access/remote.rb +13 -17
- data/lib/samagotchi/session_chain/links.rb +109 -0
- data/lib/samagotchi/session_chain.rb +7 -19
- data/lib/samagotchi/session_continue.rb +138 -54
- data/lib/samagotchi/session_inbox.rb +1 -1
- data/lib/samagotchi/session_inbox_delivery.rb +57 -38
- data/lib/samagotchi/session_manager/delivery.rb +104 -18
- data/lib/samagotchi/session_manager/removal.rb +13 -7
- data/lib/samagotchi/session_manager.rb +1 -0
- data/lib/samagotchi/session_retention.rb +20 -10
- data/lib/samagotchi/session_setup.rb +31 -1
- data/lib/samagotchi/state_format.rb +12 -8
- data/lib/samagotchi/terminal_ui/attach_launcher.rb +6 -7
- data/lib/samagotchi/terminal_ui.rb +20 -9
- data/lib/samagotchi/tools/delegate.rb +2 -3
- data/lib/samagotchi/verify_fresh.rb +4 -1
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/web/public/activity.js +2 -2
- data/lib/samagotchi/web/public/app.js +28 -21
- data/lib/samagotchi/web/public/auth_lost.js +3 -1
- data/lib/samagotchi/web/public/bar_fold.js +293 -0
- data/lib/samagotchi/web/public/card.js +1 -1
- data/lib/samagotchi/web/public/chip_popover.js +5 -1
- data/lib/samagotchi/web/public/composer_mode.js +5 -7
- data/lib/samagotchi/web/public/delivery_line.js +19 -4
- data/lib/samagotchi/web/public/index.html +242 -94
- data/lib/samagotchi/web/public/info_bar.js +28 -16
- data/lib/samagotchi/web/public/info_bar_model.js +76 -2
- data/lib/samagotchi/web/public/live_timing.js +3 -0
- data/lib/samagotchi/web/public/more_sheet.js +98 -40
- data/lib/samagotchi/web/public/resync_reach.js +59 -0
- data/lib/samagotchi/web/public/session_fields.js +1 -0
- data/lib/samagotchi/web/public/session_state.js +5 -0
- data/lib/samagotchi/web/public/stage_frame.js +4 -2
- data/lib/samagotchi/web/public/stage_stall.js +134 -0
- data/lib/samagotchi/web/public/stage_view.js +78 -7
- data/lib/samagotchi/web/public/stream_handlers.js +1 -1
- data/lib/samagotchi/web/public/turn_events.js +0 -122
- data/lib/samagotchi/web/public/turn_model.js +1 -1
- data/lib/samagotchi/web/public/widget_picks.js +18 -3
- data/lib/samagotchi/web/session_control.rb +15 -2
- data/lib/samagotchi/web/session_create.rb +4 -2
- data/lib/samagotchi/web/token.rb +2 -2
- data/lib/samagotchi/web/update_check.rb +27 -8
- metadata +5 -1
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
9
9
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
10
10
|
<meta name="apple-mobile-web-app-title" content="Chi">
|
|
11
|
-
|
|
11
|
+
<!-- viewport-fit=cover: the page runs under the notch and the home indicator; what must stay clear of them pads by --safe-* (below). -->
|
|
12
|
+
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
13
|
+
<!-- The phone's status bar and Safari's toolbar take the page's own background (tokens.css --bg), per theme. -->
|
|
14
|
+
<meta name="theme-color" content="#0b0d11" media="(prefers-color-scheme: dark)">
|
|
15
|
+
<meta name="theme-color" content="#f5f6f8" media="(prefers-color-scheme: light)">
|
|
12
16
|
<link rel="stylesheet" href="/assets/tokens.css">
|
|
13
17
|
<link rel="stylesheet" href="/assets/verify_card.css">
|
|
14
18
|
<link rel="stylesheet" href="/assets/annotate_bar.css">
|
|
@@ -19,10 +23,13 @@
|
|
|
19
23
|
<style>
|
|
20
24
|
/* Icon masks shared by the phone info bar and the all view's cards (the stroke only shapes the mask; the icon takes currentColor); the image icon is composer.css's. */
|
|
21
25
|
:root{--icon-archive:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2.75' width='12' height='3.5' rx='1'/%3E%3Cpath d='M3.25 6.25v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1v-6M6.5 9h3'/%3E%3C/svg%3E");--icon-unarchive:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2.75' width='12' height='3.5' rx='1'/%3E%3Cpath d='M3.25 6.25v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1v-6M8 11.5V8.25M6.5 9.75 8 8.25l1.5 1.5'/%3E%3C/svg%3E")}
|
|
26
|
+
/* The phone's safe areas (the notch, the status bar, the home indicator; 0 elsewhere): main's padding, the bottom
|
|
27
|
+
sheets, the update sheet, the toast and the lightbox keep clear of them. One name per side, so the e2e can set them. */
|
|
28
|
+
:root{--safe-t:env(safe-area-inset-top,0px);--safe-r:env(safe-area-inset-right,0px);--safe-b:env(safe-area-inset-bottom,0px);--safe-l:env(safe-area-inset-left,0px)}
|
|
22
29
|
*{box-sizing:border-box;margin:0;padding:0}
|
|
23
30
|
/* No iOS text autosizing: it grows text in a box sized for the text as written (it clipped the session cards). */
|
|
24
31
|
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
|
|
25
|
-
body{font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:radial-gradient(1100px 700px at 8% 0%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 70%),var(--bg);background-attachment:fixed;color:var(--text);height:100vh;display:flex;flex-direction:column}
|
|
32
|
+
body{font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:radial-gradient(1100px 700px at 8% 0%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 70%),var(--bg);background-attachment:fixed;color:var(--text);height:100vh;height:100dvh;display:flex;flex-direction:column}
|
|
26
33
|
/* Glass: the composer card, the strip cards, the all-sessions cards and the question cards (by selector, so app.js is untouched). */
|
|
27
34
|
.turn-stage,#topStrip .card,#allList .card,.bubble.question,.bubble.plugin-card{background:var(--glass-bg);-webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35);border:1px solid var(--glass-border);box-shadow:inset 0 1px 0 var(--glass-highlight),var(--glass-shadow)}
|
|
28
35
|
@media(hover:hover){#topStrip .card:hover,#allList .card:hover{background:color-mix(in srgb,var(--bg-hover) 75%,transparent);border-color:var(--card-hover-border)}}
|
|
@@ -44,7 +51,10 @@ button{background:var(--primary);border:0;color:var(--on-solid);padding:8px 12px
|
|
|
44
51
|
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
|
|
45
52
|
button.ghost{background:var(--bg-raised);color:var(--text-2)}
|
|
46
53
|
button:disabled{opacity:.5;cursor:not-allowed}
|
|
47
|
-
|
|
54
|
+
/* 16px, or the safe area where it is wider. At the bottom 16px less than it: the session's composer card floats 16px
|
|
55
|
+
above main's bottom (#dock bottom:16px), which puts it right on the home indicator's line (a phone's session has none:
|
|
56
|
+
its card is placed by --dock-bottom). */
|
|
57
|
+
main{flex:1;display:flex;flex-direction:column;gap:16px;padding:max(16px,var(--safe-t)) max(16px,var(--safe-r)) max(16px,calc(var(--safe-b) - 16px)) max(16px,var(--safe-l));overflow:auto;background:transparent;min-height:0}
|
|
48
58
|
#topStrip{display:grid;grid-template-columns:repeat(var(--strip-cols,3),minmax(0,440px)) 150px;gap:12px;min-height:88px;align-content:start}
|
|
49
59
|
#topStrip:empty{display:grid}
|
|
50
60
|
#center{flex:1;display:flex;flex-direction:column;min-height:45vh;background:var(--bg-panel);border:1px solid var(--border);border-radius:12px;overflow:hidden}
|
|
@@ -100,7 +110,7 @@ main{flex:1;display:flex;flex-direction:column;gap:16px;padding:16px;overflow:au
|
|
|
100
110
|
.revise-btn:disabled{cursor:default}
|
|
101
111
|
.revise-btn.armed,.revise-btn.armed:hover:not(:disabled){opacity:1;color:var(--on-solid);background:var(--accent-strong);border-color:var(--accent-strong)}
|
|
102
112
|
.bubble.output:hover+.revise-row .revise-btn,.revise-row:hover .revise-btn,.revise-row.stacked .revise-btn,.revise-btn:focus-visible{opacity:1}
|
|
103
|
-
@media (hover:none){.revise-btn{opacity:.
|
|
113
|
+
@media (hover:none){.revise-btn{opacity:.8}}
|
|
104
114
|
.stack-versions{position:relative;font-size:12px;color:var(--text-muted)}
|
|
105
115
|
.stack-versions>summary{list-style:none;cursor:pointer;padding:1px 8px;border-radius:999px;border:1px solid var(--accent-border);background:var(--accent-bg);color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}
|
|
106
116
|
.stack-versions>summary::-webkit-details-marker{display:none}
|
|
@@ -129,7 +139,7 @@ main{flex:1;display:flex;flex-direction:column;gap:16px;padding:16px;overflow:au
|
|
|
129
139
|
.bubble.output.markdown,.bubble.user>.user-message.markdown{white-space:normal}
|
|
130
140
|
.bubble.output.markdown pre,.bubble.user>.user-message.markdown pre{overflow:auto;padding:10px;border-radius:8px;background:var(--bg-inset)}
|
|
131
141
|
.bubble.output.markdown code,.bubble.user>.user-message.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em}
|
|
132
|
-
.bubble.output.markdown :not(pre)>code,.bubble.user>.user-message.markdown :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:1px
|
|
142
|
+
.bubble.output.markdown :not(pre)>code,.bubble.user>.user-message.markdown :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:1px 3px;color:var(--text)}
|
|
133
143
|
.bubble.output.markdown pre,.bubble.user>.user-message.markdown pre{font-size:13px;line-height:1.45;border:1px solid var(--border)}
|
|
134
144
|
/* Code highlighting (markdown_renderer.rb): syntect scope classes, hl-prefixed, coloured from the palette's --code-* tokens. More classes win over fewer (a function name is also "entity"). */
|
|
135
145
|
.syntax-highlighting{color:var(--code-text)}
|
|
@@ -460,7 +470,7 @@ button.system-one-wrong,.system-one-wrong.marked{flex:none;padding:1px 6px;borde
|
|
|
460
470
|
.md-compact hr{border:0;border-top:1px solid var(--border);margin:8px 0}
|
|
461
471
|
.md-compact blockquote{border-left:3px solid var(--border-strong);padding-left:10px;color:var(--md-blockquote-color)}
|
|
462
472
|
.md-compact code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em}
|
|
463
|
-
.md-compact :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:0
|
|
473
|
+
.md-compact :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:0 3px;color:var(--md-code-color)}
|
|
464
474
|
.md-compact strong{color:var(--md-strong-color)}
|
|
465
475
|
.md-compact pre{overflow:auto;padding:6px 8px;border-radius:6px;background:var(--bg-inset);border:1px solid var(--border);font-size:var(--md-pre-size);line-height:1.45;white-space:pre}
|
|
466
476
|
.md-compact table{border-collapse:collapse;display:block;max-width:100%;overflow:auto}
|
|
@@ -616,7 +626,7 @@ button.system-one-wrong,.system-one-wrong.marked{flex:none;padding:1px 6px;borde
|
|
|
616
626
|
.card-body ul,.card-body ol{margin:0 0 6px 20px}
|
|
617
627
|
.card-body pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:var(--bg-inset);border:1px solid var(--border);border-radius:6px;padding:8px 10px}
|
|
618
628
|
.card-body>pre:only-child{background:transparent;border:none;padding:0;font-family:inherit;font-size:inherit}
|
|
619
|
-
.card-body :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:1px
|
|
629
|
+
.card-body :not(pre)>code{background:var(--bg-inset);border:1px solid var(--border);border-radius:4px;padding:1px 3px;font-size:.88em}
|
|
620
630
|
.card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
|
|
621
631
|
.card-action{font-size:12.5px;padding:4px 10px}
|
|
622
632
|
.card-error{color:var(--danger);font-size:12px;margin-top:6px}
|
|
@@ -640,6 +650,18 @@ button.system-one-wrong,.system-one-wrong.marked{flex:none;padding:1px 6px;borde
|
|
|
640
650
|
.bubble.output.markdown .code-wrap>pre,.bubble.user>.user-message.markdown .code-wrap>pre{margin:0}
|
|
641
651
|
.code-wrap>.copy-btn{top:5px;right:5px}
|
|
642
652
|
@media (hover:none){.copy-btn{opacity:.55}}
|
|
653
|
+
/* On touch an answer's button is always drawn, so it floats in its corner (negative margins: back at 6px from it) and the
|
|
654
|
+
first line wraps short of it instead of running under it. A table or a code block first would only narrow beside it:
|
|
655
|
+
it starts under the button. Copied, the button keeps its width (a reflow on every tap): its label is drawn over the
|
|
656
|
+
text to its left, as the absolute button's is. */
|
|
657
|
+
@media (hover:none){
|
|
658
|
+
.bubble.output>.copy-btn{position:relative;top:auto;right:auto;float:right;margin:-6px -8px 2px 6px}
|
|
659
|
+
.answer-fold:not(.folded)+.bubble.output>.copy-btn{margin-top:-2px}
|
|
660
|
+
.ts-answer>.bubble.output>.copy-btn{margin:0 0 2px 6px}
|
|
661
|
+
.bubble.output>.copy-btn+:is(table,.code-wrap,pre){clear:right}
|
|
662
|
+
.bubble.output>.copy-btn[data-copied]{min-width:26px}
|
|
663
|
+
.bubble.output>.copy-btn[data-copied]::after{position:absolute;top:-1px;right:-1px;bottom:-1px;display:flex;align-items:center;padding:0 7px;border:1px solid var(--border-strong);border-radius:6px;background:var(--bg-raised)}
|
|
664
|
+
}
|
|
643
665
|
/* Where the code button always shows (touch) or a phone's narrow block, the code starts under it: a strip above the first line holds the button (a line as wide as the block, or one that scrolls, would run under it). */
|
|
644
666
|
@media (max-width:600px),(hover:none){.bubble.output.markdown .code-wrap>pre,.bubble.user>.user-message.markdown .code-wrap>pre{padding-top:32px}}
|
|
645
667
|
/* The dock is the composer card (composer.css .composer-card): the text field, a toolbar row, the info bar as its footer. */
|
|
@@ -650,9 +672,22 @@ body.has-session #center{background:color-mix(in srgb,var(--bg) 35%,transparent)
|
|
|
650
672
|
body.has-session #stage,body.has-session #history{background:transparent}
|
|
651
673
|
@media (prefers-reduced-transparency:reduce){body.has-session #center{background:var(--bg);border-color:var(--border)}}
|
|
652
674
|
body.no-glass.has-session #center{background:var(--bg);border-color:var(--border)}
|
|
653
|
-
|
|
654
|
-
body.has-session #
|
|
655
|
-
|
|
675
|
+
/* --dock-bottom: the card's offset from the panel's bottom (16px; a phone's is below). stage_frame.js fitCap reads it. */
|
|
676
|
+
body.has-session #dock{position:absolute;left:16px;right:16px;bottom:var(--dock-bottom,16px);margin:0;z-index:3}
|
|
677
|
+
body.has-session #history{padding-bottom:calc(var(--dock-h,160px) + 16px + var(--dock-bottom,16px))}
|
|
678
|
+
/* A phone's session panel runs edge to edge: its sides, corners and bottom line go (main's 16px side padding is taken
|
|
679
|
+
back), so only the message cards are framed and an answer gets the width. The history, the objectives' strip and the
|
|
680
|
+
card keep 8px sides. It runs to the screen's bottom too (main's bottom padding goes): the history scrolls on under
|
|
681
|
+
the card, which floats 16px over the bottom, or on the home indicator's line where that is higher (--dock-bottom). */
|
|
682
|
+
@media(max-width:600px){
|
|
683
|
+
body.has-session main{padding-bottom:0}
|
|
684
|
+
body.has-session{--dock-bottom:max(16px,var(--safe-b))}
|
|
685
|
+
body.has-session #center{margin:0 -16px;border-width:1px 0 0;border-radius:0}
|
|
686
|
+
body.has-session #history{padding-left:8px;padding-right:8px}
|
|
687
|
+
body.has-session #objectivesStrip{padding-left:8px;padding-right:8px}
|
|
688
|
+
body.has-session #dock{left:8px;right:8px}
|
|
689
|
+
}
|
|
690
|
+
/* The delivery line (delivery_line.js): above a phone's width, a session's row above the text field, always there so the composer never changes height: the key hint while idle; while a turn runs, where a message typed now goes in, then the cut and queue links. One quiet row, ellipsised. A phone has no such row (its composer is shorter, and as steady): while a turn runs the line, its short text and chips, lies over the session bar's left, where status, ctx and speed are (hidden while it shows), up to ⚙, only while you type or have a choice armed (below). */
|
|
656
691
|
#deliveryLine{display:flex;align-items:center;gap:10px}
|
|
657
692
|
#deliveryLine[hidden]{display:none}
|
|
658
693
|
#deliveryLine .delivery-where{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
@@ -671,6 +706,18 @@ body.has-session #history{padding-bottom:calc(var(--dock-h,160px) + 32px)}
|
|
|
671
706
|
#deliveryLine .delivery-link{padding:0 8px;border:1px solid var(--accent-border);border-radius:999px;background:var(--accent-bg);line-height:16px}
|
|
672
707
|
#deliveryLine .delivery-link:disabled{border-color:var(--border);background:transparent}
|
|
673
708
|
#deliveryLine .delivery-link.armed{border-color:var(--accent-strong);background:var(--accent-strong)}
|
|
709
|
+
/* No row of its own: idle it is gone; running it is placed over the bar's first row (#composer is its box, the bar
|
|
710
|
+
right under it): the bar's phone padding (10px sides, 6px top, 8px bottom) and height, its right end clear of ⚙
|
|
711
|
+
(32px) and ⋯ (38px) with their gaps. The chips the line covers are hidden, unless the composer is folded away.
|
|
712
|
+
Running, it shows only while it matters, the bar's status, ctx and speed otherwise (a card waiting, a sent steer, a
|
|
713
|
+
message queued after the turn): the text field focused (the keyboard up) or holding text or images, or a choice
|
|
714
|
+
armed or an Apply turn held (delivery_line.js data-armed, data-held; not the queue chip's pressed look, which a
|
|
715
|
+
participant's turn draws with nothing armed). The two rules below share that list: change both. A chip's
|
|
716
|
+
mousedown keeps the focus in the text field, so tapping one doesn't hide the line under the finger. On a bare
|
|
717
|
+
stage an after-turn queued message isn't drawn and the line is hidden too: accepted. */
|
|
718
|
+
body.has-session #deliveryLine{display:none}
|
|
719
|
+
body.has-session #composer:has(:is(#prompt:focus,#prompt:not(:placeholder-shown),#chips:not([hidden]),#deliveryLine[data-armed="1"],#deliveryLine[data-held="1"])) #deliveryLine.running:not([hidden]){display:flex;position:absolute;left:10px;right:96px;top:100%;height:41px;padding:6px 0 8px;box-sizing:border-box;z-index:1}
|
|
720
|
+
body.has-session:not(.composer-folded) #dock:has(#deliveryLine.running:not([hidden])):has(:is(#prompt:focus,#prompt:not(:placeholder-shown),#chips:not([hidden]),#deliveryLine[data-armed="1"],#deliveryLine[data-held="1"])) #infoBar .meta :is(.status,.ctx,.speed){visibility:hidden}
|
|
674
721
|
}
|
|
675
722
|
/* A line queued for after the running turn: a dashed bubble, a turn of its own to come. */
|
|
676
723
|
.bubble.user.queued[data-delivery="queue"]{border:1px dashed var(--accent-border);border-left:3px dashed var(--accent);background:transparent}
|
|
@@ -678,9 +725,10 @@ body.has-session #history{padding-bottom:calc(var(--dock-h,160px) + 32px)}
|
|
|
678
725
|
.thumb{max-height:120px;max-width:200px;border-radius:6px;border:1px solid var(--border-strong);cursor:zoom-in;object-fit:contain;background:var(--bg)}
|
|
679
726
|
.activity-row .thumbs{flex-basis:100%;margin-left:var(--row-gutter)}
|
|
680
727
|
@media(max-width:600px){.activity-row .thumbs{margin-left:0}}
|
|
681
|
-
|
|
728
|
+
/* The image keeps clear of the notch and the home indicator (its padding: the safe areas; 0 on a desktop). */
|
|
729
|
+
#lightbox{position:fixed;inset:0;z-index:50;background:var(--backdrop);display:flex;align-items:center;justify-content:center;cursor:zoom-out;padding:var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l)}
|
|
682
730
|
#lightbox[hidden]{display:none}
|
|
683
|
-
#lightbox img{max-width:96vw;max-height:94vh;border-radius:6px}
|
|
731
|
+
#lightbox img{max-width:min(96vw,100%);max-height:min(94vh,100%);border-radius:6px}
|
|
684
732
|
/* The model picker (the start page, and a fresh chain link: start_page.js syncModelPick): reads as a label, "host:model ▾", left of Start; a button under a drawn caret that opens a searchable list (model_picker.js). Its name ellipsizes within max-width. */
|
|
685
733
|
#composer .actions-col .model-pick{order:0;position:relative;display:inline-block;max-width:min(50%,380px);height:28px;min-height:28px;padding:0 22px 0 8px;border-radius:8px;overflow:hidden;background:transparent;color:var(--text-muted);font-size:12px;line-height:28px;text-align:left;text-overflow:ellipsis;transition:background .12s ease,color .12s ease}
|
|
686
734
|
/* The start page's row stays one row (Start never wraps): the model name gives way first, down to its min-width, then the override chips ellipsize (100000x their shrink weight: at 1000x their share of the shrink was still a fraction of a pixel, enough for an ellipsis). Scoped off the session composer and a fresh link's button. */
|
|
@@ -833,6 +881,24 @@ body.stage-view .turn-stage{position:absolute;left:0;right:0;bottom:100%;margin-
|
|
|
833
881
|
.ts-tool{flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:600;color:var(--accent)}
|
|
834
882
|
.ts-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--text-2)}
|
|
835
883
|
.ts-title.quiet{font-family:inherit;font-style:italic;color:var(--text-faint)}
|
|
884
|
+
/* The quiet signal (stage_stall.js): a running turn silent for a while says so at the now row's right ("quiet 0:40"),
|
|
885
|
+
tinted by level; a running call shows its own clock there instead, plain. No transitions: it appears as it is. */
|
|
886
|
+
.ts-stall,.ts-tool-clock{margin-left:auto;flex:none;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
|
|
887
|
+
.ts-tool-clock{color:var(--text-muted)}
|
|
888
|
+
.ts-tool-clock+button.task-stop{margin-left:0}
|
|
889
|
+
.ts-stall .short{display:none}
|
|
890
|
+
.ts-now[data-stall="1"]{background:color-mix(in srgb,var(--warn) 10%,transparent)}
|
|
891
|
+
.ts-now[data-stall="1"] .ts-stall{color:var(--warn-text)}
|
|
892
|
+
.ts-now[data-stall="2"]{background:var(--warn-bg);box-shadow:inset 0 0 0 1px var(--warn-border)}
|
|
893
|
+
.ts-now[data-stall="2"] .ts-stall{color:var(--warn-text);font-weight:600}
|
|
894
|
+
.ts-now[data-stall="net"]{background:var(--bg-hover)}
|
|
895
|
+
.ts-now[data-stall="net"] .ts-stall{color:var(--text-muted);font-style:italic}
|
|
896
|
+
/* Its short text in the status row, where the now row doesn't show: a collapsed stage, a plain turn's. */
|
|
897
|
+
.ts-stall-head{display:none;flex:none;font-variant-numeric:tabular-nums}
|
|
898
|
+
.turn-stage:is(.collapsed,.plain) .ts-stall-head:not(:empty){display:inline}
|
|
899
|
+
.turn-stage[data-stall="1"] .ts-stall-head,.turn-stage[data-stall="2"] .ts-stall-head{color:var(--warn-text)}
|
|
900
|
+
.turn-stage[data-stall="2"] .ts-stall-head{font-weight:600}
|
|
901
|
+
.turn-stage[data-stall="net"] .ts-stall-head{font-style:italic}
|
|
836
902
|
.ts-trail{height:var(--ts-trail-h);display:flex;gap:10px;overflow:hidden;font-size:12px;line-height:18px;color:var(--text-faint);white-space:nowrap}
|
|
837
903
|
.ts-trail-item{flex:none;max-width:36ch;overflow:hidden;text-overflow:ellipsis}
|
|
838
904
|
.ts-trail-item:is(.error,.blocked){color:var(--danger-text)}
|
|
@@ -1089,19 +1155,24 @@ button.ws-row:hover:not(:disabled){filter:none}@media(hover:hover){button.ws-row
|
|
|
1089
1155
|
.ts-defer{display:none}
|
|
1090
1156
|
.ts-cancel{padding:1px 8px}
|
|
1091
1157
|
.ts-trail-item{max-width:24ch}
|
|
1158
|
+
/* The quiet signal's short text on a phone; in the status row it takes the step's and the mini tool's room. */
|
|
1159
|
+
.ts-stall .long{display:none}
|
|
1160
|
+
.ts-stall .short{display:inline}
|
|
1161
|
+
.turn-stage.stalled:is(.collapsed,.plain) :is(.ts-step,.ts-mini){display:none}
|
|
1092
1162
|
/* An approval's Submit in sight on a phone: its folder, reason and rows a little tighter. */
|
|
1093
1163
|
.approval-where,.approval-why{line-height:1.35}
|
|
1094
1164
|
.bubble.question.approval .question-option{padding:5px 8px}
|
|
1095
1165
|
}
|
|
1096
1166
|
@media (prefers-reduced-motion:reduce){.turn-stage.enter,.ts-arrive,.ts-headline.fresh,.ts-tick.running,.ts-mark,.ts-spin,.turn-work:not(.done) .activity-status.running::before{animation:none}.turn-stage.leaving,#center.reserve-easing #history{transition:none}}
|
|
1097
|
-
|
|
1167
|
+
/* The session bar is one row at every width (bar_fold.js): what doesn't fit folds into ⋯. It wraps only for
|
|
1168
|
+
#contextChips, a line of its own: the info's basis is 0, so the row's buttons never move to a line of theirs. */
|
|
1169
|
+
#infoBar{display:flex;background:transparent;border-radius:0 0 16px 16px;color:var(--text-2);gap:10px;align-items:center;flex-wrap:wrap;flex-shrink:0;transition:opacity 280ms ease}
|
|
1098
1170
|
#infoBar.visible{display:flex}
|
|
1099
|
-
/* The
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
#infoBar .
|
|
1104
|
-
#infoBar .meta{font-size:11px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
|
|
1171
|
+
/* The info takes the room the buttons leave; the fold keeps its chips within it (only pinned ones left, it clips). */
|
|
1172
|
+
#infoBar .info{flex:1 1 0;min-width:0;overflow:hidden;font-size:13px;line-height:1.4;display:flex;flex-direction:column;gap:2px}
|
|
1173
|
+
#infoBar .meta{font-size:11px;display:flex;gap:8px;flex-wrap:nowrap;white-space:nowrap;align-items:center}
|
|
1174
|
+
/* Nothing on the row shrinks: a chip's width is its natural one, as the fold measures it (bar_fold.js). */
|
|
1175
|
+
#infoBar .meta>*,#infoBar .meta .bar-group>*{flex:none}
|
|
1105
1176
|
/* The id is a button (a click copies the full id, app.js): its own padding and no button look, the #infoBar button rule aside. */
|
|
1106
1177
|
#infoBar .meta .id{padding:2px 6px;border-radius:6px;border:1px solid transparent;background:transparent;cursor:pointer;font-family:ui-monospace,monospace;font-weight:700;font-size:12px;color:var(--accent)}
|
|
1107
1178
|
@media(hover:hover){#infoBar .meta .id:hover:not(:disabled){filter:none;border-color:var(--accent-border);background:var(--accent-bg)}}
|
|
@@ -1115,32 +1186,45 @@ button.ws-row:hover:not(:disabled){filter:none}@media(hover:hover){button.ws-row
|
|
|
1115
1186
|
#infoBar .meta .dir{font-family:ui-monospace,monospace;font-size:11px;color:var(--text-muted);max-width:48ch;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left}
|
|
1116
1187
|
/* The footer sits on the card's glass: its chips are tinted, not solid, so the glass reads through them. */
|
|
1117
1188
|
#infoBar .meta .model{font-size:11px;padding:2px 6px;border-radius:6px;background:color-mix(in srgb,var(--bg-hover) 55%,transparent);color:var(--text-3)}
|
|
1118
|
-
/* The meta's
|
|
1189
|
+
/* The meta's four groups (info_bar.js): identity | setup | relations | trail, a hairline before each but the first. */
|
|
1119
1190
|
#infoBar .meta .bar-group{display:flex;gap:8px;align-items:center;min-width:0;flex:none}
|
|
1120
1191
|
#infoBar .meta .bar-sep{flex:none;width:1px;height:14px;background:var(--border-strong)}
|
|
1121
|
-
/*
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1192
|
+
/* A chip is capped, cut with "…", its full text in the title: the model (and ⚙'s values) at 40ch, the folder at 48ch
|
|
1193
|
+
(its own rule above). The caps hold while the fold measures, so a chip's measured width is its drawn one. */
|
|
1194
|
+
#infoBar .meta .model{max-width:40ch;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
1195
|
+
/* The fold (bar_fold.js) as attributes on #infoBar: a folded item is display:none (still in the DOM: ⋯'s rows click
|
|
1196
|
+
it), ⚙ compact is its icon with the dot when the session set its own, an empty group goes with its hairline. One
|
|
1197
|
+
selector per BAR_ITEMS key (info_bar_model.js; info_bar_fold_css.test.js checks every foldable key has one). */
|
|
1198
|
+
#infoBar[data-folded~="id"] .meta .id,
|
|
1199
|
+
#infoBar[data-folded~="continue"] #infoContinueBtn,
|
|
1200
|
+
#infoBar[data-folded~="settings"] .meta .settings-chip,
|
|
1201
|
+
#infoBar[data-folded~="worker"] .meta .worker-badge,
|
|
1202
|
+
#infoBar[data-folded~="speed"] .meta .speed,
|
|
1203
|
+
#infoBar[data-folded~="stop"] #infoStopBtn,
|
|
1204
|
+
#infoBar[data-folded~="prev"] .meta .chain-prev,
|
|
1205
|
+
#infoBar[data-folded~="next"] .meta .chain-next,
|
|
1206
|
+
#infoBar[data-folded~="pruned"] .meta .chain-pruned,
|
|
1207
|
+
#infoBar[data-folded~="parent"] .meta .parent,
|
|
1208
|
+
#infoBar[data-folded~="time"] .meta .session-time,
|
|
1209
|
+
#infoBar[data-folded~="model"] .meta .model-name,
|
|
1210
|
+
#infoBar[data-folded~="delegates"] .meta .children-chip,
|
|
1211
|
+
#infoBar[data-folded~="participants"] .meta .participants-chip,
|
|
1212
|
+
#infoBar[data-folded~="workingSet"] .meta .ws-chip,
|
|
1213
|
+
#infoBar[data-folded~="memories"] .meta .mem-chip,
|
|
1214
|
+
#infoBar[data-folded~="notes"] .meta .notes-chip,
|
|
1215
|
+
#infoBar[data-folded~="toolkit"] .meta .tools-chip,
|
|
1216
|
+
#infoBar[data-folded~="dir"] .meta .dir,
|
|
1217
|
+
#infoBar[data-folded~="archive"] #infoArchiveBtn,
|
|
1218
|
+
#infoBar[data-folded~="delete"] #infoDeleteBtn,
|
|
1219
|
+
#infoBar[data-empty-groups~="identity"] .meta .bar-group.identity,
|
|
1220
|
+
#infoBar[data-empty-groups~="setup"] .meta :is(.bar-group.setup,.sep-setup),
|
|
1221
|
+
#infoBar[data-empty-groups~="relations"] .meta :is(.bar-group.relations,.sep-relations),
|
|
1222
|
+
#infoBar[data-empty-groups~="trail"] .meta :is(.bar-group.trail,.sep-trail){display:none}
|
|
1223
|
+
#infoBar[data-compact~="settings"] .meta .settings-chip .sc-own{display:none}
|
|
1224
|
+
#infoBar[data-compact~="settings"] .meta .settings-chip.own{padding-right:6px}
|
|
1225
|
+
#infoBar[data-compact~="settings"] .meta .settings-chip.own::after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
|
|
1226
|
+
/* Compact, the dot says the session set its own: no accent border too (it comes back while the panel is open). */
|
|
1227
|
+
#infoBar[data-compact~="settings"] .meta .settings-chip.own:not([aria-expanded="true"]){border-color:transparent}
|
|
1144
1228
|
/* The plain chips (spans, links) and the status take the button chips' 1px border, transparent and outside their tint, so every chip is one height: a chip wrapping onto a row of plain ones doesn't grow it. */
|
|
1145
1229
|
#infoBar .meta :is(span,a).model,#infoBar .meta .status{border:1px solid transparent;background-clip:padding-box}
|
|
1146
1230
|
/* The chips a running turn rewrites (the session clock each second, the last generation's speed, ctx): tabular digits in a reserved width, so a tick ("9.5s" → "10s" → "1m 00s") or a new number doesn't widen the line and move the chips after it. The speed and the clock show from the session's start, a muted placeholder until there is a number. */
|
|
@@ -1157,8 +1241,7 @@ button.ws-row:hover:not(:disabled){filter:none}@media(hover:hover){button.ws-row
|
|
|
1157
1241
|
#infoBar .meta .worker-restart{padding:1px 8px;border-radius:5px;font-size:11px;font-weight:600;background:var(--bg-raised);color:var(--warn-bright);border:1px solid var(--warn-border)}
|
|
1158
1242
|
@media(hover:hover){#infoBar .meta .worker-restart:hover:not(:disabled){background:var(--warn-border);color:var(--on-warn)}}
|
|
1159
1243
|
#infoBar .meta .worker-restart:disabled{opacity:.7;cursor:default}
|
|
1160
|
-
/* The bar's action buttons
|
|
1161
|
-
own together, never one button alone. */
|
|
1244
|
+
/* The bar's action buttons (continue →, stop session; archive and delete live in ⋯), right-aligned, never moving. */
|
|
1162
1245
|
#infoBar .info-actions{display:flex;flex:none;gap:10px;align-items:center}
|
|
1163
1246
|
#infoBar button{padding:4px 12px;border-radius:8px;font-size:12px;font-weight:600}
|
|
1164
1247
|
#infoBar #infoStopBtn{background:var(--bg-raised);color:var(--warn-text);border:1px solid var(--border-strong)}
|
|
@@ -1170,7 +1253,7 @@ button.ws-row:hover:not(:disabled){filter:none}@media(hover:hover){button.ws-row
|
|
|
1170
1253
|
/* The composer folded away (composer_grip.js, composer.css): the info bar is the page's bottom edge; the plugins' setup row folds with it. */
|
|
1171
1254
|
body.has-session.composer-folded #initRow{display:none}
|
|
1172
1255
|
body.has-session.composer-folded #infoBar{border-top-color:transparent}
|
|
1173
|
-
/* The ⚙ chip (settings_chip.js): a model-like chip that opens the session's settings panel; accent when the session set its own (capped like the model chip
|
|
1256
|
+
/* The ⚙ chip (settings_chip.js): a model-like chip that opens the session's settings panel; accent when the session set its own (capped like the model chip above, the full text in its tooltip; compact, as on a phone, ⚙ with a dot). */
|
|
1174
1257
|
#infoBar .meta .settings-chip{position:relative;padding:2px 6px;border-radius:6px;font-size:11px;font-weight:400;border:1px solid transparent;cursor:pointer;font-family:inherit;white-space:nowrap}
|
|
1175
1258
|
#infoBar .meta .settings-chip[aria-expanded="true"]{color:var(--text);border-color:var(--accent-border);background:var(--accent-bg)}@media(hover:hover){#infoBar .meta .settings-chip:hover{color:var(--text);border-color:var(--accent-border);background:var(--accent-bg)}}
|
|
1176
1259
|
#infoBar .meta .settings-chip.own{color:var(--accent);border-color:var(--accent-border)}
|
|
@@ -1353,7 +1436,7 @@ body.has-session.composer-folded #infoBar{border-top-color:transparent}
|
|
|
1353
1436
|
.us-detail{margin-top:4px;color:var(--text-muted);font-size:12px;overflow-wrap:anywhere}
|
|
1354
1437
|
.us-kept{margin-top:6px;color:var(--warn-text);font-size:12px}
|
|
1355
1438
|
.us-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:10px}
|
|
1356
|
-
@media(max-width:600px){#updateSheet{position:fixed;inset:auto 8px 8px;width:auto;max-width:none;max-height:min(80dvh,calc(100dvh - 16px));margin:0}}
|
|
1439
|
+
@media(max-width:600px){#updateSheet{position:fixed;inset:auto 8px calc(8px + var(--safe-b));width:auto;max-width:none;max-height:min(80dvh,calc(100dvh - 16px - var(--safe-t) - var(--safe-b)));margin:0}}
|
|
1357
1440
|
.ctx-pop-kind{font-size:11px;color:var(--text-muted)}
|
|
1358
1441
|
.ctx-pop-close{margin-left:auto;padding:0 6px;border:none;background:transparent;color:var(--text-muted);font-size:16px;line-height:1}
|
|
1359
1442
|
@media(hover:hover){.ctx-pop-close:hover{color:var(--text)}}
|
|
@@ -1370,46 +1453,42 @@ body.has-session.composer-folded #infoBar{border-top-color:transparent}
|
|
|
1370
1453
|
@media(hover:hover){.ctx-pop-actions button:hover{color:var(--text-hover)}}
|
|
1371
1454
|
.ctx-pop-actions .ctx-pop-detach{color:var(--text-muted);background:transparent}
|
|
1372
1455
|
@media(hover:hover){.ctx-pop-actions .ctx-pop-detach:hover{color:var(--danger-text);border-color:color-mix(in srgb,var(--danger) 55%,transparent)}}
|
|
1373
|
-
/* ⋯ (more_sheet.js): a
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1456
|
+
/* ⋯ (more_sheet.js): on the row at every width, pinned at its end; on a desktop the count of what it holds for the
|
|
1457
|
+
row (none at 0), its dot when something folded asks for a look. */
|
|
1458
|
+
#infoBar #infoMoreBtn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:24px;padding:0 8px;font-size:14px;line-height:1;letter-spacing:1px;color:var(--text-3);background:var(--bg-raised);border:1px solid var(--border-strong)}
|
|
1459
|
+
#infoBar #infoMoreBtn .more-count{font-size:11px;font-weight:600;letter-spacing:0;font-variant-numeric:tabular-nums}
|
|
1460
|
+
#infoBar #infoMoreBtn .more-count:empty{display:none}
|
|
1461
|
+
#infoBar #infoMoreBtn[aria-expanded="true"]{color:var(--text);border-color:var(--accent-border);background:var(--accent-bg)}
|
|
1462
|
+
#infoBar #infoMoreBtn[data-attention]::after{content:"";position:absolute;top:3px;right:3px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
|
|
1463
|
+
#infoBar #infoMoreBtn[data-attention="warn"]::after{background:var(--warn-bright)}
|
|
1464
|
+
/* Phones: the row is status, ctx, speed, ⚙ and ⋯ (the fold's phone profile); the rest is in ⋯'s sheet. */
|
|
1377
1465
|
@media(max-width:600px){
|
|
1378
|
-
#infoBar{
|
|
1379
|
-
#infoBar .
|
|
1380
|
-
#infoBar .meta{flex-wrap:nowrap;white-space:nowrap;gap:6px}
|
|
1381
|
-
#infoBar .meta .id{padding:2px 3px}
|
|
1466
|
+
#infoBar{align-items:center;gap:6px;padding:6px 10px 8px}
|
|
1467
|
+
#infoBar .meta{gap:6px}
|
|
1382
1468
|
#infoBar .meta .status{padding:2px 5px}
|
|
1383
|
-
|
|
1384
|
-
/* One run: the groups' chips are the meta's. */
|
|
1469
|
+
/* One run: the groups' chips are the meta's, no hairlines. */
|
|
1385
1470
|
#infoBar .meta .bar-group{display:contents}
|
|
1386
1471
|
#infoBar .meta .bar-sep{display:none}
|
|
1387
|
-
#infoBar .meta :is(.tools-chip,.notes-chip,.mem-chip,.ws-chip,.chain-link,.chain-pruned,.parent,.children-chip,.participants-chip,.dir,.ctx,.speed,.session-time,.worker-badge){display:none}
|
|
1388
|
-
#infoBar .info-actions{display:none}
|
|
1389
|
-
#infoBar .meta .status+.model{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
|
|
1390
|
-
/* ⚙ alone, the start page's dot when the session set its own (its values in the tooltip and accessible name). */
|
|
1391
|
-
#infoBar .meta .settings-chip .sc-own{display:none}
|
|
1392
|
-
#infoBar .meta .settings-chip.own{padding-right:6px}
|
|
1393
|
-
#infoBar .meta .settings-chip.own::after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
|
|
1394
1472
|
/* ⚙ and ⋯: bigger to the thumb than to the eye. 2 px of negative margin keep the row its height, and each one's ::before reaches the foot's edges for the tap. */
|
|
1395
1473
|
#infoBar .meta .settings-chip{margin:-2px 0 -2px auto;min-width:32px;min-height:30px;justify-content:center}
|
|
1396
1474
|
#infoBar .meta .settings-chip::before,#infoBar #infoMoreBtn::before{content:"";position:absolute;inset:-4px -3px -6px}
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
#infoBar
|
|
1400
|
-
#infoBar #infoMoreBtn
|
|
1401
|
-
|
|
1402
|
-
#infoBar
|
|
1403
|
-
|
|
1475
|
+
/* ⚙ is in .info, which clips (the fold): its clip box reaches past ⚙'s outset box and its tap reach, so ⚙'s border
|
|
1476
|
+
and ::before are whole; the negative margin keeps the row its height. (⋯ is outside .info.) */
|
|
1477
|
+
#infoBar .info{padding:6px 0;margin:-6px 0}
|
|
1478
|
+
#infoBar #infoMoreBtn{width:38px;height:30px;margin:-2px 0;padding:0;font-size:16px}
|
|
1479
|
+
#infoBar #infoMoreBtn .more-count{display:none}
|
|
1480
|
+
#infoBar #infoMoreBtn[data-attention]::after{top:4px;right:4px}
|
|
1481
|
+
/* The attached context's chips: their line scrolls sideways. */
|
|
1404
1482
|
#contextChips{order:1;flex:1 0 100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
|
|
1405
1483
|
#contextChips::-webkit-scrollbar{display:none}
|
|
1406
1484
|
#contextChips>*{flex-shrink:0}
|
|
1407
1485
|
#infoBar button{padding:4px 8px}
|
|
1408
1486
|
}
|
|
1409
|
-
/* ⋯'s
|
|
1487
|
+
/* ⋯'s menu (more_sheet.js): a row per chip the bar folded away, the folded telemetry, the actions; its grip on a phone's sheet alone. */
|
|
1410
1488
|
.more-sheet{gap:2px;font-size:13.5px}
|
|
1411
1489
|
.more-sheet.sheet{border-radius:14px;padding:10px 14px 12px;box-shadow:0 0 0 100vmax color-mix(in srgb,var(--bg) 62%,transparent)}
|
|
1412
1490
|
.more-grip{flex:none;align-self:center;width:34px;height:4px;border-radius:2px;background:var(--border-strong);margin-bottom:4px}
|
|
1491
|
+
.more-sheet:not(.sheet) .more-grip{display:none}
|
|
1413
1492
|
.more-rows{display:flex;flex-direction:column}
|
|
1414
1493
|
.more-row{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:40px;padding:6px 0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
|
|
1415
1494
|
div.more-row{cursor:default}
|
|
@@ -1431,7 +1510,7 @@ a.more-row .more-text{color:var(--accent)}
|
|
|
1431
1510
|
/* Its start gives way, as the bar's folder does: the end names the project. Its separator goes with it, so it isn't the clipped side's. */
|
|
1432
1511
|
.more-telemetry .more-dir{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,monospace;direction:rtl;text-align:left}
|
|
1433
1512
|
.more-telemetry .more-dir::before{content:none}
|
|
1434
|
-
.more-telemetry .more-clock::after{content:"·";margin-left:6px}
|
|
1513
|
+
.more-telemetry .more-clock:has(+.more-dir)::after{content:"·";margin-left:6px}
|
|
1435
1514
|
.more-actions{display:flex;gap:6px}
|
|
1436
1515
|
.more-act{flex:1 1 0;min-width:0;min-height:40px;padding:0 2px;border-radius:9px;font-size:12px;font-weight:600;color:var(--text-2);background:transparent;border:1px solid var(--border-strong)}
|
|
1437
1516
|
.more-act.accent{color:var(--accent);background:var(--bg-raised);border-color:var(--accent-border)}
|
|
@@ -1450,21 +1529,33 @@ body:not(.has-session) #dock{width:min(720px,calc(100% - 32px));margin:0 auto}
|
|
|
1450
1529
|
body:not(.has-session) #infoBar{display:none}
|
|
1451
1530
|
#notice{width:min(720px,calc(100% - 32px));margin:0 auto 12px;padding:8px 12px;border:1px solid var(--border-strong);border-radius:8px;color:var(--text-muted);font-size:13px;text-align:center}
|
|
1452
1531
|
body.has-session #notice{display:none}
|
|
1453
|
-
|
|
1454
|
-
|
|
1532
|
+
/* The top bar's words on one text line: "chi", "new session", the pills, "all" and the title share a baseline at every
|
|
1533
|
+
width; the bell and the all view's header (no text line of their own) are centred on the row. */
|
|
1534
|
+
#topBar{display:flex;align-items:baseline;gap:12px;margin-bottom:-6px}
|
|
1535
|
+
#newBtn.brand{background:transparent;border:0;padding:1px 4px 2px;min-height:0;display:inline-flex;align-items:baseline;gap:10px;color:var(--text)}
|
|
1455
1536
|
#newBtn .brand-name{font-size:18px;font-weight:700;letter-spacing:.02em;color:var(--accent)}
|
|
1456
|
-
#newBtn .brand-new{font-size:12px;color:var(--text-muted);display:none}
|
|
1537
|
+
#newBtn .brand-new{font-size:12px;color:var(--text-muted);display:none;white-space:nowrap}
|
|
1538
|
+
/* The plus is drawn, as the bell is: 10px beside "new session", 13px alone in a phone's round button. */
|
|
1539
|
+
#newBtn .brand-plus{width:10px;height:10px;vertical-align:-1px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
|
|
1457
1540
|
body.has-session #newBtn .brand-new{display:inline}
|
|
1458
1541
|
#newBtn:hover .brand-new{color:var(--text-2)}
|
|
1459
1542
|
/* The scope chip: "<project> · all", or "all projects" and where a new session starts (start page only). */
|
|
1460
1543
|
#scope{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--text-muted)}
|
|
1461
1544
|
#scope[hidden]{display:none}
|
|
1462
|
-
#scope .scope-name{display:inline-flex;align-items:center;flex-shrink:0;padding:
|
|
1545
|
+
#scope .scope-name{display:inline-flex;align-items:center;flex-shrink:0;min-height:28px;padding:0 9px;border:1px solid var(--border-strong);border-radius:999px;background:transparent;color:var(--text-2);font:inherit;line-height:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw;cursor:pointer;transition:none}
|
|
1463
1546
|
#scope .scope-name:hover:not(:disabled){filter:none}
|
|
1464
1547
|
#scope .scope-name.error{color:var(--warn-text);border-color:var(--warn-border)}
|
|
1465
1548
|
#scope .scope-all{color:var(--text-muted);text-decoration:none}
|
|
1466
1549
|
#scope .scope-all:hover{color:var(--accent);text-decoration:underline}
|
|
1467
1550
|
#scope .scope-where{display:inline-flex;gap:5px;min-width:0;white-space:nowrap;font-size:11px}
|
|
1551
|
+
/* A project view (and the error state): the project pill and "all" are one segmented control, at every width. The left
|
|
1552
|
+
segment opens the picker, the right one goes to all projects. No border on the left segment here: on touch its border is
|
|
1553
|
+
its ::before (the touch rules below), and the error state's is the warn one. */
|
|
1554
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)){gap:0}
|
|
1555
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-name{border-radius:999px 0 0 999px;background:var(--bg-raised)}
|
|
1556
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-all{display:inline-flex;align-items:center;height:28px;padding:0 8px;font-size:12px;border:1px solid var(--border-strong);border-left:0;border-radius:0 999px 999px 0;color:var(--text-muted)}
|
|
1557
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-all:hover{color:var(--text-2);text-decoration:none}
|
|
1558
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-all:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
|
|
1468
1559
|
/* The path cuts on the left, so its last folders stay in view. */
|
|
1469
1560
|
#scope .scope-where .path{overflow:hidden;text-overflow:ellipsis;direction:rtl;min-width:0;font-family:ui-monospace,monospace}
|
|
1470
1561
|
#projectPicker{width:min(380px,calc(100vw - 32px))}
|
|
@@ -1505,10 +1596,13 @@ body.all-view #scope .scope-where{display:none}
|
|
|
1505
1596
|
#topBar{gap:8px}
|
|
1506
1597
|
#scope{gap:6px}
|
|
1507
1598
|
#newBtn .brand-new-word{display:none}
|
|
1508
|
-
#
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
#newBtn .brand-
|
|
1599
|
+
#scope .scope-back{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
1600
|
+
/* In a session the brand gives its room to the bar: a bare drawn plus, a 28px round button centred on the row, as the bell
|
|
1601
|
+
(the start page keeps "chi"). The plus is centred by flex, not by its line. */
|
|
1602
|
+
body.has-session #newBtn .brand-name{display:none}
|
|
1603
|
+
body.has-session #newBtn.brand{align-self:center;width:28px;height:28px;padding:0;justify-content:center;align-items:center;border-radius:999px;border:1px solid var(--border-strong)}
|
|
1604
|
+
body.has-session #newBtn .brand-new{display:flex;color:var(--text-2)}
|
|
1605
|
+
body.has-session #newBtn .brand-plus{width:13px;height:13px;margin:0}
|
|
1512
1606
|
}
|
|
1513
1607
|
/* The bell (notifications): quiet at the top bar's right end; filled in the accent when on, struck through when the browser blocks it. */
|
|
1514
1608
|
/* The open session's title, when no strip card in sight shows it (session_title.js): the bar's middle, cut with an ellipsis; the whole first message in its tooltip.
|
|
@@ -1531,12 +1625,13 @@ body.all-view #scope .scope-where{display:none}
|
|
|
1531
1625
|
a wrapping line counts) and grow to their text, the pill first; the scope chip cuts with an ellipsis before the pill does.
|
|
1532
1626
|
The pill drops its session count while it says live or waiting, so the scope chip keeps its words. */
|
|
1533
1627
|
@media(max-width:600px){
|
|
1534
|
-
#topBar{flex-wrap:wrap;row-gap:
|
|
1628
|
+
#topBar{flex-wrap:wrap;row-gap:5px}
|
|
1535
1629
|
#sessionTitleRow{flex-basis:100%;order:10}
|
|
1536
1630
|
#sessionTitle{font-size:12px}
|
|
1537
1631
|
.title-rename{font-size:12px;line-height:18px}
|
|
1538
1632
|
#scope,#stripStatus{flex:1 1 0;min-width:0;max-width:max-content}
|
|
1539
|
-
|
|
1633
|
+
/* clip, not hidden: the ellipsis as before, and the touch tap box (its ::after) reaches out above and below. */
|
|
1634
|
+
#stripStatus{flex-grow:1000;overflow-x:clip;overflow-y:visible;text-overflow:ellipsis}
|
|
1540
1635
|
/* A session page: the chip gives way to the pill. The start page has the "new session in …" path beside the chip:
|
|
1541
1636
|
there the chip keeps its words and the path is what cuts. */
|
|
1542
1637
|
body.has-session #scope .scope-name{flex-shrink:1;min-width:0}
|
|
@@ -1544,7 +1639,7 @@ body.all-view #scope .scope-where{display:none}
|
|
|
1544
1639
|
body:not(.has-session) #scope .scope-where{flex:1 1 auto;min-width:0}
|
|
1545
1640
|
#stripStatus:has(.live,.waiting) .pill-count{display:none}
|
|
1546
1641
|
}
|
|
1547
|
-
#notifyBtn{margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;min-height:0;background:transparent;border:1px solid transparent;border-radius:999px;color:var(--text-muted)}
|
|
1642
|
+
#notifyBtn{margin-left:auto;align-self:center;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;min-height:0;background:transparent;border:1px solid transparent;border-radius:999px;color:var(--text-muted)}
|
|
1548
1643
|
#notifyBtn[hidden]{display:none}
|
|
1549
1644
|
@media(hover:hover){#notifyBtn:hover{color:var(--text-2);border-color:var(--border)}}
|
|
1550
1645
|
#notifyBtn svg{fill:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}
|
|
@@ -1628,15 +1723,15 @@ body.no-glass :is(#familyPop,#chainPop){background:var(--bg-panel);-webkit-backd
|
|
|
1628
1723
|
.scope-error{grid-column:1/-1;font-size:13px;color:var(--warn-text)}
|
|
1629
1724
|
.strip-toggle{font-size:11px;padding:3px 10px;background:transparent;color:var(--text-muted);border:1px solid var(--border);border-radius:999px}
|
|
1630
1725
|
.strip-toggle:hover{color:var(--text-2);border-color:var(--border-strong)}
|
|
1631
|
-
|
|
1726
|
+
/* The sessions pill: the scope pill's twin (28px, the bell's height; 12px text), at every width. Sizes only on the bare id:
|
|
1727
|
+
a colour there would beat .strip-toggle[aria-pressed="true"], the all view's pressed look. */
|
|
1728
|
+
#stripStatus{display:none;align-self:center;height:28px;min-height:0;padding:0 10px;font-size:12px;line-height:26px;white-space:nowrap;flex-shrink:0}
|
|
1729
|
+
#stripStatus:not([aria-pressed="true"]){border-color:var(--border-strong)}
|
|
1730
|
+
#stripStatus:hover{filter:none}
|
|
1632
1731
|
#stripStatus .live{color:var(--ok-text);white-space:nowrap}
|
|
1633
1732
|
#stripStatus .live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);margin-right:4px;vertical-align:1px}
|
|
1634
1733
|
#stripStatus .waiting{color:var(--warn-text);white-space:nowrap}
|
|
1635
1734
|
#stripStatus .waiting-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--warn);margin-right:4px;vertical-align:1px}
|
|
1636
|
-
/* A narrow window's strip scrolls sideways, and the grip's own target there is thin: the status pill gets a finger-sized one. */
|
|
1637
|
-
@media(max-width:900px){
|
|
1638
|
-
#stripStatus{min-height:30px;padding:4px 12px;font-size:12px}
|
|
1639
|
-
}
|
|
1640
1735
|
body.strip-hidden #stripStatus{display:block}
|
|
1641
1736
|
body.strip-hidden #topStrip{display:none}
|
|
1642
1737
|
/* In the all view the pill is the view's own button, pressed (app.js applyView), whatever the strip's state: a click goes
|
|
@@ -1677,9 +1772,11 @@ body.all-view #center, body.all-view #topStrip{display:none}
|
|
|
1677
1772
|
/* All sessions' header sits in the top bar (before the bell, at its right end), shown in the all view alone: the search as a
|
|
1678
1773
|
pill at chip height, the count, the archived toggle, Select. Its own auto margin pushes it right; the bell drops its own
|
|
1679
1774
|
there (two auto margins would split the space). */
|
|
1680
|
-
#allHead{display:none;margin-left:auto;gap:8px;align-items:center;min-width:0;flex-wrap:nowrap;justify-content:flex-end}
|
|
1775
|
+
#allHead{display:none;align-self:center;margin-left:auto;gap:8px;align-items:center;min-width:0;flex-wrap:nowrap;justify-content:flex-end}
|
|
1681
1776
|
body.all-view #allHead{display:flex}
|
|
1682
1777
|
@media(min-width:601px){body.all-view #notifyBtn{margin-left:0}}
|
|
1778
|
+
/* Nor does the header squeeze the scope chip there: its "all" segment would run under the sessions pill (800px). */
|
|
1779
|
+
@media(min-width:601px){body.all-view #scope{flex-shrink:0}}
|
|
1683
1780
|
/* The search field is glass too (no shadow: it is a field, not a card); the focus ring below replaces the highlight. */
|
|
1684
1781
|
#allHead input{flex:0 1 240px;width:240px;min-width:90px;box-sizing:border-box;height:24px;background:var(--glass-bg);-webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35);border:1px solid var(--glass-border);box-shadow:inset 0 1px 0 var(--glass-highlight);color:var(--text);padding:2px 11px;border-radius:999px;font-size:12px}
|
|
1685
1782
|
#allHead input::placeholder{color:var(--text-faint)}
|
|
@@ -1708,8 +1805,9 @@ body.all-view #allHead{display:flex}
|
|
|
1708
1805
|
.card.archived{opacity:.6}
|
|
1709
1806
|
.card.archived:hover{opacity:.85}
|
|
1710
1807
|
.card .archived-badge,.family-row .archived-badge{font-size:10px;padding:1px 6px;border-radius:6px;border:1px solid var(--border-strong);color:var(--text-muted)}
|
|
1711
|
-
/* bottom: above the session's composer card when one shows (--toast-bottom, dock_reserve.js placeToast)
|
|
1712
|
-
|
|
1808
|
+
/* bottom: above the session's composer card when one shows (--toast-bottom, dock_reserve.js placeToast); else 24px, or
|
|
1809
|
+
12px over the home indicator. */
|
|
1810
|
+
#toast{position:fixed;left:50%;bottom:var(--toast-bottom,max(24px,calc(var(--safe-b) + 12px)));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;z-index:50;display:flex;flex-direction:column;align-items:center;gap:8px}
|
|
1713
1811
|
#toast[hidden]{display:none}
|
|
1714
1812
|
#toast .toast-item{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;width:max-content;max-width:100%;box-sizing:border-box;padding:8px 14px;border-radius:10px;background:var(--bg-raised);color:var(--text);border:1px solid var(--border-strong);box-shadow:var(--toast-shadow);font-size:13px}
|
|
1715
1813
|
#toast .toast-message{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
|
|
@@ -1774,6 +1872,9 @@ body.all-view #allHead{display:flex}
|
|
|
1774
1872
|
.status.waiting{background:var(--warn-bg);color:var(--warn-text)}
|
|
1775
1873
|
.status.completed{background:var(--accent-bg);color:var(--accent)}
|
|
1776
1874
|
.status.error{background:var(--danger-bg-dim);color:var(--danger-text)}
|
|
1875
|
+
/* A re-read that can't reach chi web (resync_reach.js): the history stays, the chip says so. */
|
|
1876
|
+
.status.reconnecting{background:var(--warn-bg);color:var(--warn-text)}
|
|
1877
|
+
.status.offline{background:var(--danger-bg-dim);color:var(--danger-text)}
|
|
1777
1878
|
.card .owner,.family-row .owner{font-size:11px;padding:2px 6px;border-radius:999px}
|
|
1778
1879
|
.card .owner.worker,.family-row .owner.worker{background:var(--ok-bg);color:var(--ok-text)}
|
|
1779
1880
|
.card .owner.tui,.family-row .owner.tui{background:var(--warn-bg);color:var(--warn-text)}
|
|
@@ -1782,6 +1883,53 @@ body.all-view #allHead{display:flex}
|
|
|
1782
1883
|
#topStrip #allTile{width:auto}
|
|
1783
1884
|
}
|
|
1784
1885
|
a{color:var(--accent)}
|
|
1886
|
+
/* Touch: tap targets of about 40px. A small control grows an invisible pseudo-element over what's around it (never over
|
|
1887
|
+
a link or another control: the sides that have a neighbour stay short); one that clips (the scope pill:
|
|
1888
|
+
overflow:hidden) or sits in a clipping strip (the card's ✎) grows its own box, its look unchanged; the composer's
|
|
1889
|
+
🖼 and Send grow visibly. */
|
|
1890
|
+
@media (pointer:coarse){
|
|
1891
|
+
/* Revise: the unstacked one sits over the answer's bottom-right corner, so it grows down (the answer's text is above). */
|
|
1892
|
+
.revise-btn{position:relative}
|
|
1893
|
+
.revise-btn::after{content:"";position:absolute;inset:-2px -4px -19px}
|
|
1894
|
+
.revise-row.stacked .revise-btn::after{inset:-11px 0 -10px}
|
|
1895
|
+
/* Copy: ::after is the "copied" label. The answer's grows up and right, out of its text; a code block's left and down,
|
|
1896
|
+
inside its own strip; a prompt's left and down, away from its bubble and the strip's grip above it. */
|
|
1897
|
+
.copy-btn::before{content:"";position:absolute}
|
|
1898
|
+
.bubble.output>.copy-btn::before{inset:-15px -8px -2px -6px}
|
|
1899
|
+
.code-wrap>.copy-btn::before{inset:-5px -5px -12px -10px}
|
|
1900
|
+
.bubble.user>.copy-btn::before{inset:0 -2px -17px -13px}
|
|
1901
|
+
/* The top bar. A phone's has two rows 5px apart (the scope pill over the title's ✎): the pill grows up only, the ✎
|
|
1902
|
+
mostly down, its area ending at the pills' row. The sessions pill keeps a 30px tap box and a phone's round "+" a 32px
|
|
1903
|
+
one (the old sizes) with an invisible pseudo-element. */
|
|
1904
|
+
.title-rename{position:relative;z-index:1}
|
|
1905
|
+
.title-rename::after{content:"";position:absolute;inset:-5px -9px -16px}
|
|
1906
|
+
#notifyBtn{position:relative}
|
|
1907
|
+
#notifyBtn::after{content:"";position:absolute;inset:-7px}
|
|
1908
|
+
#scope .scope-all{position:relative}
|
|
1909
|
+
#scope .scope-all::after{content:"";position:absolute;inset:-14px -4px -11px -3px}
|
|
1910
|
+
#stripStatus{position:relative}
|
|
1911
|
+
#stripStatus::after{content:"";position:absolute;inset:-2px 0}
|
|
1912
|
+
#newBtn{position:relative}
|
|
1913
|
+
#newBtn::after{content:"";position:absolute;inset:-3px}
|
|
1914
|
+
/* The pill: its box 40px tall and borderless (no border at all: a transparent one would put the ::before 1px inside, a
|
|
1915
|
+
26px pill beside the 28px "all"; the side padding takes its 1px), its border drawn at the box's bottom at the pill's
|
|
1916
|
+
height (28px) with the text in its middle, the box's extra height above taken back by a negative margin so the row keeps its height; the box's
|
|
1917
|
+
corners no rounder than the drawn pill's (overflow:hidden would clip them). */
|
|
1918
|
+
#scope .scope-name,#scope .scope-name.error{position:relative;min-height:40px;margin:-12px 0 0;padding:12px 10px 0;border-width:0;border-radius:11px}
|
|
1919
|
+
#scope .scope-name::before{content:"";position:absolute;left:0;right:0;top:12px;bottom:0;border:1px solid var(--border-strong);border-radius:999px;pointer-events:none}
|
|
1920
|
+
#scope .scope-name.error::before{border-color:var(--warn-border)}
|
|
1921
|
+
/* The segmented control (project view): the left segment's fill on its drawn pill (::before, under the text), its box's
|
|
1922
|
+
left corners no rounder than the drawn pill's; "all"'s tap box 40px, as the left segment's, up from the row's bottom. */
|
|
1923
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-name{isolation:isolate;background:transparent;border-radius:11px 0 0 11px}
|
|
1924
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-name::before{z-index:-1;background:var(--bg-raised);border-radius:999px 0 0 999px}
|
|
1925
|
+
#scope:has(> .scope-name + .scope-all:not(.scope-back)) .scope-all::after{inset:-13px -4px -1px 0}
|
|
1926
|
+
/* The active strip card's ✎: inside the strip (overflow-x:auto clips), so its own box grows, into the card's padding. */
|
|
1927
|
+
#topStrip .card-rename{padding:9px 13px;margin:-9px -8px}
|
|
1928
|
+
/* 🖼 and Send at 36px; the one-line field's line centred on Send (the field is 27px: it sits 4.5px up). */
|
|
1929
|
+
#composer .actions-col #attachBtn{width:36px;height:36px;min-height:36px;line-height:36px}
|
|
1930
|
+
#composer .actions-col #actionBtn{height:36px;min-height:36px;line-height:36px}
|
|
1931
|
+
body.has-session #composer .compose-col{margin-bottom:4.5px}
|
|
1932
|
+
}
|
|
1785
1933
|
/* Under 16px iOS Safari zooms the page on focus (and a Home Screen app never zooms back), at any width: every text
|
|
1786
1934
|
field gets 16px on a phone or a touch device. Last in the sheet so it wins over each field's own size; keep new text
|
|
1787
1935
|
fields in this list (stage.spec.js's phone step checks the visible ones). */
|
|
@@ -1795,7 +1943,7 @@ a{color:var(--accent)}
|
|
|
1795
1943
|
<body>
|
|
1796
1944
|
<main>
|
|
1797
1945
|
<div id="topBar">
|
|
1798
|
-
<button type="button" id="newBtn" class="brand" title="New session"><span class="brand-name">chi</span><span class="brand-new"
|
|
1946
|
+
<button type="button" id="newBtn" class="brand" title="New session" aria-label="New session"><span class="brand-name">chi</span><span class="brand-new"><svg class="brand-plus" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1.5v9M1.5 6h9"/></svg><span class="brand-new-word">new session</span></span></button>
|
|
1799
1947
|
<div id="scope" hidden></div>
|
|
1800
1948
|
<button type="button" class="strip-toggle" id="stripStatus" title="All sessions, with search"><span class="pill-count">sessions</span></button>
|
|
1801
1949
|
<span id="sessionTitleRow" hidden><span id="sessionTitle"></span><button type="button" id="titleRenameBtn" class="title-rename" title="Rename this session" aria-label="Rename this session" hidden>✎</button></span>
|
|
@@ -1866,7 +2014,7 @@ a{color:var(--accent)}
|
|
|
1866
2014
|
<button class="ghost" id="infoStopBtn" title="Stop session (terminate worker)" style="display:none">stop session</button>
|
|
1867
2015
|
<button class="ghost" id="infoDeleteBtn" title="Delete session (for good)" style="display:none">delete</button>
|
|
1868
2016
|
</div>
|
|
1869
|
-
<button type="button" class="ghost" id="infoMoreBtn" data-anchor-stand-in aria-label="More" title="More" aria-haspopup="dialog" aria-expanded="false"><span aria-hidden="true">⋯</span></button>
|
|
2017
|
+
<button type="button" class="ghost" id="infoMoreBtn" data-anchor-stand-in aria-label="More" title="More" aria-haspopup="dialog" aria-expanded="false"><span aria-hidden="true">⋯</span><span class="more-count"></span></button>
|
|
1870
2018
|
</div>
|
|
1871
2019
|
</div>
|
|
1872
2020
|
</section>
|