litepaseo 0.2.0 → 0.3.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.
- package/CHANGELOG.md +49 -0
- package/README.md +96 -39
- package/dist/server/cli.mjs +712 -134
- package/dist/web/assets/{CodeBlockNode-CehKIzSk.js → CodeBlockNode-D-c_NpDN.js} +1 -1
- package/dist/web/assets/CodeBlockNode-D-c_NpDN.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-D-c_NpDN.js.gz +0 -0
- package/dist/web/assets/{FileViewer-01t53KTX.js → FileViewer-C6rgOMRo.js} +1 -1
- package/dist/web/assets/FileViewer-C6rgOMRo.js.br +0 -0
- package/dist/web/assets/FileViewer-C6rgOMRo.js.gz +0 -0
- package/dist/web/assets/{FilesPanel-B7NknFvl.js → FilesPanel-CNkBvKGD.js} +1 -1
- package/dist/web/assets/FilesPanel-CNkBvKGD.js.br +0 -0
- package/dist/web/assets/FilesPanel-CNkBvKGD.js.gz +0 -0
- package/dist/web/assets/{MarkdownMessage-UlvozPc5.js → MarkdownMessage-DjRNZCD0.js} +5 -5
- package/dist/web/assets/MarkdownMessage-DjRNZCD0.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-DjRNZCD0.js.gz +0 -0
- package/dist/web/assets/{PreCodeBlock-DPQTlYty.js → PreCodeBlock-BitPoeXT.js} +1 -1
- package/dist/web/assets/{PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js → PreCodeBlock.vue_vue_type_style_index_0_lang-DVJqSz-5.js} +1 -1
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-DVJqSz-5.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-DVJqSz-5.js.gz +0 -0
- package/dist/web/assets/{TerminalPanel-BdmAonFr.js → TerminalPanel-CpGnkfa7.js} +1 -1
- package/dist/web/assets/TerminalPanel-CpGnkfa7.js.br +0 -0
- package/dist/web/assets/TerminalPanel-CpGnkfa7.js.gz +0 -0
- package/dist/web/assets/{Tooltip-BJ2o2M_0.js → Tooltip-C9GHriiI.js} +1 -1
- package/dist/web/assets/Tooltip-C9GHriiI.js.br +0 -0
- package/dist/web/assets/Tooltip-C9GHriiI.js.gz +0 -0
- package/dist/web/assets/index-D4mQel3H.js +30 -0
- package/dist/web/assets/index-D4mQel3H.js.br +0 -0
- package/dist/web/assets/index-D4mQel3H.js.gz +0 -0
- package/dist/web/assets/index-Wf4Xa0ob.css +1 -0
- package/dist/web/assets/index-Wf4Xa0ob.css.br +0 -0
- package/dist/web/assets/index-Wf4Xa0ob.css.gz +0 -0
- package/dist/web/assets/{index10-WpTfisco.js → index10-QexvIpKb.js} +1 -1
- package/dist/web/assets/index10-QexvIpKb.js.br +0 -0
- package/dist/web/assets/index10-QexvIpKb.js.gz +0 -0
- package/dist/web/assets/index3-B9LRPNVQ.js +1 -0
- package/dist/web/assets/index4-CTBFr99S.js +1 -0
- package/dist/web/assets/{index5-BCbIyN1t.js → index5-DaBM1kaC.js} +1 -1
- package/dist/web/assets/index5-DaBM1kaC.js.br +0 -0
- package/dist/web/assets/index5-DaBM1kaC.js.gz +0 -0
- package/dist/web/assets/{index6-CbdnTDhy.js → index6-1dcCVob7.js} +1 -1
- package/dist/web/assets/index6-1dcCVob7.js.br +0 -0
- package/dist/web/assets/index6-1dcCVob7.js.gz +0 -0
- package/dist/web/assets/{index7-BzNzdNxO.js → index7-DGSFcnYT.js} +1 -1
- package/dist/web/assets/index7-DGSFcnYT.js.br +0 -0
- package/dist/web/assets/index7-DGSFcnYT.js.gz +0 -0
- package/dist/web/assets/{index8-CD8jmACo.js → index8-BjPxjipz.js} +1 -1
- package/dist/web/assets/index8-BjPxjipz.js.br +0 -0
- package/dist/web/assets/index8-BjPxjipz.js.gz +0 -0
- package/dist/web/assets/{index9-9FYLmtt9.js → index9-VNQsX15e.js} +1 -1
- package/dist/web/assets/index9-VNQsX15e.js.br +0 -0
- package/dist/web/assets/index9-VNQsX15e.js.gz +0 -0
- package/dist/web/index.html +2 -2
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/docs/performance-plan.md +119 -241
- package/package.json +2 -2
- package/dist/web/assets/CodeBlockNode-CehKIzSk.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-CehKIzSk.js.gz +0 -0
- package/dist/web/assets/FileViewer-01t53KTX.js.br +0 -0
- package/dist/web/assets/FileViewer-01t53KTX.js.gz +0 -0
- package/dist/web/assets/FilesPanel-B7NknFvl.js.br +0 -0
- package/dist/web/assets/FilesPanel-B7NknFvl.js.gz +0 -0
- package/dist/web/assets/MarkdownMessage-UlvozPc5.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-UlvozPc5.js.gz +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js.gz +0 -0
- package/dist/web/assets/TerminalPanel-BdmAonFr.js.br +0 -0
- package/dist/web/assets/TerminalPanel-BdmAonFr.js.gz +0 -0
- package/dist/web/assets/Tooltip-BJ2o2M_0.js.br +0 -0
- package/dist/web/assets/Tooltip-BJ2o2M_0.js.gz +0 -0
- package/dist/web/assets/index-D_YTh7Zw.css +0 -1
- package/dist/web/assets/index-D_YTh7Zw.css.br +0 -0
- package/dist/web/assets/index-D_YTh7Zw.css.gz +0 -0
- package/dist/web/assets/index-civcSERr.js +0 -27
- package/dist/web/assets/index-civcSERr.js.br +0 -0
- package/dist/web/assets/index-civcSERr.js.gz +0 -0
- package/dist/web/assets/index10-WpTfisco.js.br +0 -0
- package/dist/web/assets/index10-WpTfisco.js.gz +0 -0
- package/dist/web/assets/index3-C4yf5W5o.js +0 -1
- package/dist/web/assets/index4-Cwl0ij4U.js +0 -1
- package/dist/web/assets/index5-BCbIyN1t.js.br +0 -0
- package/dist/web/assets/index5-BCbIyN1t.js.gz +0 -0
- package/dist/web/assets/index6-CbdnTDhy.js.br +0 -0
- package/dist/web/assets/index6-CbdnTDhy.js.gz +0 -0
- package/dist/web/assets/index7-BzNzdNxO.js.br +0 -0
- package/dist/web/assets/index7-BzNzdNxO.js.gz +0 -0
- package/dist/web/assets/index8-CD8jmACo.js.br +0 -0
- package/dist/web/assets/index8-CD8jmACo.js.gz +0 -0
- package/dist/web/assets/index9-9FYLmtt9.js.br +0 -0
- package/dist/web/assets/index9-9FYLmtt9.js.gz +0 -0
- package/docs/operations.md +0 -143
package/docs/performance-plan.md
CHANGED
|
@@ -1,244 +1,122 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
and
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
CPU is percentage of **one logical core**, so 200% means two cores. Table values
|
|
27
|
-
are medians across three repetitions, except the 60-second idle case. Memory is
|
|
28
|
-
the median of sampled per-repetition peaks, not a continuous high-water mark.
|
|
29
|
-
Latency is the newest event marker to a post-mutation animation-frame callback,
|
|
30
|
-
sampled at most once per second/client; it is neither physical paint latency nor
|
|
31
|
-
the latency of every event. The p95 column is the median of per-repetition p95s.
|
|
32
|
-
|
|
33
|
-
| Workload | Browser CPU | BFF + fixture CPU | Browser peak PSS | Sampled p95 |
|
|
1
|
+
# LitePaseo vs. official Paseo web UI
|
|
2
|
+
|
|
3
|
+
LitePaseo is built for an agent dashboard that stays open for hours: less CPU spent
|
|
4
|
+
on status animation and streaming, less memory occupied by the browser, and smaller
|
|
5
|
+
downloads. The goal is a lightweight console designed with battery life in mind.
|
|
6
|
+
|
|
7
|
+
In the local comparison below, LitePaseo used **91–95% less browser CPU**, **55–73%
|
|
8
|
+
less browser memory**, and downloaded **92% less compressed JavaScript/CSS** than
|
|
9
|
+
the official Paseo web UI. These are measured resource savings; battery runtime
|
|
10
|
+
and energy consumption were not measured.
|
|
11
|
+
|
|
12
|
+
## CPU and memory
|
|
13
|
+
|
|
14
|
+
Measured on **2026-11-12**, using LitePaseo commit
|
|
15
|
+
[`15d873c`](https://github.com/txchen/litepaseo/commit/15d873cabe526e50d153fe0d4baa26312614e1e5)
|
|
16
|
+
with **1 fps decorative animation** and **500 ms message batching**, against the
|
|
17
|
+
published **Paseo 0.15.4 production web UI**. Both ran in the same headless Chromium
|
|
18
|
+
on the same Linux laptop, with normal motion enabled.
|
|
19
|
+
|
|
20
|
+
Values are medians of **five runs per UI per scenario**. CPU ranges are min–max.
|
|
21
|
+
**100% CPU means one logical core**, not the whole machine. Memory is browser
|
|
22
|
+
process-tree PSS: shared memory is apportioned, and each run contributes its largest
|
|
23
|
+
two-second sample during measurement.
|
|
24
|
+
|
|
25
|
+
| Scenario | LitePaseo CPU | Paseo web CPU | LitePaseo memory | Paseo web memory |
|
|
34
26
|
|---|---:|---:|---:|---:|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
contents under churn, tool/approval rendering, input responsiveness, remote network
|
|
63
|
-
latency, macOS/mobile, official Paseo, and energy remain outside this baseline.
|
|
64
|
-
|
|
65
|
-
### Ten-minute streaming
|
|
66
|
-
|
|
67
|
-
All **27 primary cases passed** their final visible-message equality, page-error and
|
|
68
|
-
directory-stream cleanup checks. The ten-minute case used two clients and started a
|
|
69
|
-
new message every three deltas, crossing the designed browser retention threshold.
|
|
70
|
-
It generated 23,700 deltas in total and averaged 66.6% browser CPU and 1.3% BFF +
|
|
71
|
-
fixture CPU, with sampled p95 68 ms.
|
|
72
|
-
Each page retained at most **150 rendered message rows**. Internal browser-store row
|
|
73
|
-
counts were not directly instrumented.
|
|
74
|
-
|
|
75
|
-
| Minute | Browser median PSS | Combined browser JS heap | BFF + fixture median RSS |
|
|
27
|
+
| Running agent waiting, no new output | **1.5%** (1.2–1.7) | 17.8% (17.3–18.4) | **226 MiB** | 499 MiB |
|
|
28
|
+
| Continuous text, one growing paragraph | **10.1%** (9.4–10.5) | 114.7% (111.9–116.5) | **297 MiB** | 763 MiB |
|
|
29
|
+
| Growing code block, 200 → 800 lines | **6.4%** (5.7–6.6) | 140.7% (136.2–141.3) | **283 MiB** | 1,052 MiB |
|
|
30
|
+
|
|
31
|
+
Both streaming cases append exactly **600 chunks at 20 chunks/s over 30 seconds**,
|
|
32
|
+
including Chinese text. The waiting case keeps the agent running and its status
|
|
33
|
+
indicators active; it does not represent a dashboard with every task finished.
|
|
34
|
+
The code case is a rendering stress test. LitePaseo displays plain code blocks;
|
|
35
|
+
Paseo uses syntax highlighting. Both display the same complete source text, with
|
|
36
|
+
new output kept in view, but they do different amounts of presentation work.
|
|
37
|
+
|
|
38
|
+
The table measures the browser. LitePaseo's separate BFF added median **0.03% / 0.64%
|
|
39
|
+
/ 0.68%** of one core for waiting / text / code. The real daemon's CPU is also
|
|
40
|
+
recorded separately. This comparison does not include actual model execution.
|
|
41
|
+
|
|
42
|
+
Sources: [waiting and text results](../benchmarks/runs/2026-11-12T17-33-56.747Z-comparison/summary.md),
|
|
43
|
+
[code results](../benchmarks/runs/2026-11-12T17-52-40.273Z-comparison/summary.md).
|
|
44
|
+
Headline reductions use the unrounded medians; per-pair reductions and full ranges
|
|
45
|
+
are available in the corresponding `summary.json` files.
|
|
46
|
+
|
|
47
|
+
## Smaller downloads
|
|
48
|
+
|
|
49
|
+
The browser fetched these JavaScript and CSS resources while opening a conversation.
|
|
50
|
+
**LitePaseo's deferred Markstream renderer is included**, so this is not just a
|
|
51
|
+
comparison of its small initial entry script against Paseo's complete application.
|
|
52
|
+
|
|
53
|
+
| Loaded JS + CSS | LitePaseo | Paseo web | Reduction |
|
|
76
54
|
|---|---:|---:|---:|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
The
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
The excluded preliminary run, including its interrupted soak samples, is not kept in Git.
|
|
101
|
-
It is not included in the reported medians. The
|
|
102
|
-
[frontend build audit](../benchmarks/runs/2026-11-11T20-31-13.817Z/frontend-build-audit.json)
|
|
103
|
-
records the served files' hashes and their comparison with a fresh production build.
|
|
104
|
-
|
|
105
|
-
### Animation diagnostic and optimization priorities
|
|
106
|
-
|
|
107
|
-
Three alternating-order pairs used the same 1,000-session fixture with running
|
|
108
|
-
badges, no new events and 20-second measurement periods. Enabling the existing
|
|
109
|
-
`prefers-reduced-motion: reduce` CSS changed browser CPU from median **16.8%**
|
|
110
|
-
(16.6–17.0%) to **0.2%** (0.1–0.3%). All six cases passed. This strongly implicates
|
|
111
|
-
the continuously animated status indicators in the observed idle CPU cost; the
|
|
112
|
-
experiment changes a browser media preference, not application source.
|
|
113
|
-
See [paired run results](../benchmarks/runs/2026-11-11T20-53-47.379Z-motion/summary.json).
|
|
114
|
-
|
|
115
|
-
Recommended implementation order:
|
|
116
|
-
|
|
117
|
-
1. Remove or redesign the continuously animated `box-shadow` status pulse. The
|
|
118
|
-
existing reduced-motion setting already provides an immediate workaround.
|
|
119
|
-
2. Avoid reparsing and replacing the full growing Markdown message on every flush;
|
|
120
|
-
investigate incremental code-block updates and batching, then rerun latency and
|
|
121
|
-
long-task measurements to ensure the tradeoff is acceptable.
|
|
122
|
-
3. Keep history pagination in a bounded viewport with a preserved scroll anchor.
|
|
123
|
-
Loading older history currently expands the rendered message count.
|
|
124
|
-
|
|
125
|
-
These were optimization candidates at the baseline commit. The follow-up below
|
|
126
|
-
records the subsequent implementation and calibration.
|
|
127
|
-
|
|
128
|
-
## Follow-up: low-frequency motion and bounded history
|
|
129
|
-
|
|
130
|
-
Final requested configuration: **persistent decorative animation at 2 updates/s,
|
|
131
|
-
timeline message batches every 500 ms**. Input and clicks are not rate limited.
|
|
132
|
-
The implementation is recorded in application commit `61104ca`.
|
|
133
|
-
|
|
134
|
-
The animation experiments used three repetitions per setting, 20 seconds each,
|
|
135
|
-
with a connected 1,000-session directory and no incoming messages. CPU remains
|
|
136
|
-
percentage of one logical core. They showed why CSS `steps()` alone was insufficient:
|
|
137
|
-
|
|
138
|
-
| Animation implementation | Frequency | Median browser CPU |
|
|
55
|
+
| Compressed HTTP response bodies | **290 KiB** | 3,764 KiB | 92% |
|
|
56
|
+
| Decoded source | **1.08 MiB** | 22.85 MiB | 95% |
|
|
57
|
+
|
|
58
|
+
These are actual resource response sizes from fresh browser profiles, excluding
|
|
59
|
+
HTML, fonts, images, headers and conversation traffic. They describe the tested
|
|
60
|
+
conversation route, not every optional feature or the npm installation size.
|
|
61
|
+
[Resource entries and raw counters](../benchmarks/runs/2026-11-12T17-33-56.747Z-comparison/raw-counters.json)
|
|
62
|
+
include the fetched file names and byte counts.
|
|
63
|
+
|
|
64
|
+
## The tradeoff: fewer updates, lower CPU
|
|
65
|
+
|
|
66
|
+
LitePaseo deliberately avoids rendering every incoming chunk. Its
|
|
67
|
+
[status animation clock](../src/web/motion-clock.ts) advances once per second;
|
|
68
|
+
[message updates](../src/server/timeline-view.ts) are batched every 500 ms.
|
|
69
|
+
The 1 fps setting applies to persistent decorative animation, not to the entire
|
|
70
|
+
page or to keyboard input. Its [Markdown configuration](../src/web/MarkdownMessage.vue)
|
|
71
|
+
also disables typewriter effects and uses simplified code blocks.
|
|
72
|
+
|
|
73
|
+
Batching adds visible waiting time. The benchmark records **every chunk's** time
|
|
74
|
+
from provider emission until its text appears in the DOM, including the daemon,
|
|
75
|
+
transport and batching. The following values are medians of each run's p95:
|
|
76
|
+
|
|
77
|
+
| Output | LitePaseo p95 | Paseo web p95 |
|
|
139
78
|
|---|---:|---:|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
### Final configuration results
|
|
186
|
-
|
|
187
|
-
All **12 final-configuration repetitions passed** (three each for idle motion,
|
|
188
|
-
plain streaming, large Markdown and history navigation). `npm run check` also
|
|
189
|
-
passed type checking, production build, 64 tests and browser acceptance.
|
|
190
|
-
|
|
191
|
-
| Workload | Original browser CPU | Final browser CPU | Final sampled peak PSS |
|
|
192
|
-
|---|---:|---:|---:|
|
|
193
|
-
| No new events, running badges | 16.8% | 1.4% | 234 MiB |
|
|
194
|
-
| Plain streaming | 34.7% | 4.9% | 245 MiB |
|
|
195
|
-
| 12,000-line growing code block | 111.6% | 28.1% | 374 MiB |
|
|
196
|
-
|
|
197
|
-
Final data: [motion](../benchmarks/runs/2026-11-11T21-30-45.434Z-motion/summary.json),
|
|
198
|
-
[streaming and history](../benchmarks/runs/2026-11-11T21-32-04.839Z/summary.json),
|
|
199
|
-
[counter CSV](../benchmarks/runs/2026-11-11T21-32-04.839Z/counters.csv).
|
|
200
|
-
These are same-fixture local measurements collected sequentially, not a randomized
|
|
201
|
-
cross-version A/B trial. Host and measurement limitations from the baseline still apply.
|
|
202
|
-
|
|
203
|
-
The code-block case still produced **60 long tasks per repetition**, totaling
|
|
204
|
-
6.1–6.3 seconds over each ~31-second window, versus 431–434 tasks totaling about
|
|
205
|
-
27.1 seconds in the original runs. Lower average CPU does not mean incremental
|
|
206
|
-
Markdown rendering or the complete absence of input stalls. Plain streaming had
|
|
207
|
-
no observed long tasks in its three repetitions.
|
|
208
|
-
|
|
209
|
-
History mounted at most **150 message rows** in all three runs, including after
|
|
210
|
-
20 backward pages and while new output continued. The checks cover backward/forward
|
|
211
|
-
round trips, retained-row scroll positions (within 3 px), historical-content equality,
|
|
212
|
-
and return to the latest output. It used about 2.2% browser CPU, but that is **not a
|
|
213
|
-
like-for-like CPU comparison** with the old 2,066-row live-updating history view:
|
|
214
|
-
the new historical snapshot deliberately stays fixed until the reader navigates.
|
|
215
|
-
|
|
216
|
-
The final sampled newest-marker p95s were 58 ms for plain text and 176 ms for the
|
|
217
|
-
code block. Those figures omit the waiting time of older deltas coalesced into the
|
|
218
|
-
same batch; they must not be described as end-to-end latency for every message.
|
|
219
|
-
Navigation to the initial timeline now took roughly 0.78 seconds in these runs,
|
|
220
|
-
versus about 0.34 seconds in the old 1,000-session runs, because initial timeline
|
|
221
|
-
reset delivery also uses the 500 ms flush cadence. The chosen cadence trades
|
|
222
|
-
update latency for reduced CPU. No energy or real-daemon performance claim is made.
|
|
223
|
-
|
|
224
|
-
## Planned comparisons
|
|
225
|
-
|
|
226
|
-
Compare production builds of official Paseo web and LitePaseo on the same browser/device, plus official native separately if available. Record exact commits, browser/OS/Node versions, build flags, enabled plugins, daemon/provider versions, BFF placement, hardware, power mode, display brightness, refresh rate and thermal state. Run plugins off first, then a separately reported matched plugin scenario. Never compare different amounts of rendered content silently.
|
|
227
|
-
|
|
228
|
-
Use two layers. A deterministic fixture harness replays the same timestamped semantic timeline into each client's normal ingestion path (version-pinned adapters, no real model calls). Capture/sanitize one fixture and publish its hash, event count, bytes, durations and adaptation code. Validate equal final text, tool rows and approvals. This measures rendering/ingestion, not transport parity. A second two-daemon end-to-end run verifies transport and recovery with deterministic provider output where supported. If a mock provider cannot be installed without modifying official code, disclose that limitation and keep real-model runs exploratory because outputs vary.
|
|
229
|
-
|
|
230
|
-
Scenarios: 10-minute connected idle; 5-minute plain-text stream; 5-minute growing code/Markdown stream; large completed history plus new output; simultaneous output from two hosts; hidden tab for 5 minutes then foreground; one-host disconnect/reconnect; approval during streaming. Fix event cadence, text size, history size and exact scripted visibility/scroll/input actions in the fixture manifest. Include a long unfinished code fence and non-ASCII input.
|
|
231
|
-
|
|
232
|
-
## Procedure
|
|
233
|
-
|
|
234
|
-
1. Create a clean browser profile with extensions disabled. Fix screen/network/power conditions and background workloads. Place daemons off the measured laptop for the primary browser experiment.
|
|
235
|
-
2. Warm each production build for two minutes. Randomize A/B order in paired runs; run at least five pairs per scenario. Cool between runs to comparable temperature. Do not profile with DevTools open in the primary energy run.
|
|
236
|
-
3. Collect cumulative process CPU seconds before/after for the entire browser process tree, BFF and daemon separately. Report CPU seconds per wall second (one full core = 1), RSS/peak memory, network bytes, flush/parse/render counts, event-loop delay and browser long tasks. Account for shared browser processes consistently, preferably with only the test profile running.
|
|
237
|
-
4. Linux: use `pidstat`/process accounting for CPU, `perf stat` where available for context switches; use supported RAPL counters or an external power meter for joules. RAPL measures package domains, not process energy or whole-device energy. macOS: use supported Instruments/powermetrics workflows, separating Energy Impact scores from joules. Record tool versions, sampling interval, permissions and unsupported counters. Context switches are not interchangeable with hardware wakeups.
|
|
238
|
-
5. Measure idle baseline with the same instrumentation. Report raw and baseline-adjusted energy, measurement domain and elapsed time. For battery drain, use longer fixed-duration repeated trials with fixed initial charge bands; short percentage drops are too coarse. Use an external whole-device meter when practical, accounting for charging behavior.
|
|
239
|
-
6. Use the intended server-hosted BFF for the primary comparison; optionally run locally as a diagnostic. Report laptop energy and remote BFF CPU/energy separately; only sum comparable measured domains without double counting. Unknown daemon/remote energy stays unknown.
|
|
240
|
-
7. Record receipt-to-visible latency distribution, approval latency, final-state correctness, missing/duplicate rows and recovery time. A lower CPU value with lost events is a failed run.
|
|
241
|
-
|
|
242
|
-
Store `benchmarks/<run-id>/manifest.json`, fixture hashes, raw counter CSV, correctness results and analysis script. Suggested CSV fields: variant, repetition, scenario, wall_seconds, browser_cpu_seconds, bff_cpu_seconds, daemon_cpu_seconds, peak_rss_bytes, energy_joules, energy_domain, visible_latency_p50_ms, visible_latency_p95_ms, final_state_equal. Use null for unavailable measurements, never zero.
|
|
243
|
-
|
|
244
|
-
Report paired differences, medians, spread and confidence intervals with all failures disclosed. Tune batching at 250/750/1500 ms, holding all else constant. Compare Markstream with plain text and a baseline renderer, separately toggling highlighting/diagrams and history windowing to identify costs. Set an acceptance threshold only after establishing baseline variance and a user-acceptable latency budget. Source observations and renderer marketing are not measured performance evidence.
|
|
79
|
+
| Plain text | 567 ms | **142 ms** |
|
|
80
|
+
| Code | 575 ms | **281 ms** |
|
|
81
|
+
|
|
82
|
+
Paseo showed incoming text sooner in these tests. LitePaseo used substantially less
|
|
83
|
+
CPU while updating about twice per second. These timings are DOM observations,
|
|
84
|
+
not physical screen-paint or keyboard-response measurements. Lower average CPU
|
|
85
|
+
also does not guarantee an absence of occasional long tasks; those are recorded
|
|
86
|
+
in the raw data.
|
|
87
|
+
|
|
88
|
+
## What the comparison establishes
|
|
89
|
+
|
|
90
|
+
The result supports LitePaseo's lightweight, battery-conscious design: the tested
|
|
91
|
+
browser has less CPU work to do, a smaller memory footprint, and fewer frontend
|
|
92
|
+
bytes to download. **A 91% CPU reduction does not mean 91% less battery drain.**
|
|
93
|
+
Energy counters were unreadable on this machine, so watts, joules and additional
|
|
94
|
+
hours of battery life remain unmeasured.
|
|
95
|
+
|
|
96
|
+
The test machine was a Core Ultra 7 256V laptop with 8 logical CPUs and 15.2 GiB RAM,
|
|
97
|
+
on AC power with the `powersave` governor, Linux `7.2.13-200.fc44.x86_64`, Node
|
|
98
|
+
`26.12.1` and headless Chromium `158.0.8127.18`, at 1280 × 900. Headless software
|
|
99
|
+
rendering is not a substitute for a GPU-accelerated desktop or phone battery test.
|
|
100
|
+
The host was shared and temperature was not controlled; these short runs do not
|
|
101
|
+
establish long-term memory behavior or performance for every workload.
|
|
102
|
+
|
|
103
|
+
Each run used a fresh isolated **real Paseo daemon**, its deterministic mock-provider
|
|
104
|
+
extension point, and a fresh browser profile. The official UI used WebSocket;
|
|
105
|
+
LitePaseo used its normal SDK-backed BFF and HTTP/SSE. Both frontends were production
|
|
106
|
+
builds, plugins were off, and there was one workspace and one agent. After a
|
|
107
|
+
10-second warmup, each measurement covered 30 seconds plus at least one second
|
|
108
|
+
of drain, waiting for final output before taking final counters. Paired A/B order
|
|
109
|
+
alternated. Servers ran locally and their counters were separated from the browser.
|
|
110
|
+
|
|
111
|
+
All **30 reported runs** passed complete rendered-text equality after Markdown
|
|
112
|
+
fence/whitespace normalization, ordered-marker checks and page-error checks.
|
|
113
|
+
An earlier 1,000-line code fixture grew beyond Paseo's
|
|
114
|
+
[32,000-character rendering cap](https://github.com/getpaseo/paseo/blob/v0.15.4/packages/app/src/components/assistant-message-render-limit.web.ts).
|
|
115
|
+
That incomplete pair was excluded, then replaced by five pairs using the smaller
|
|
116
|
+
code fixture above. The [excluded case and exact capped-prefix verification](../benchmarks/runs/2026-11-12T17-33-56.747Z-comparison/excluded-code-case.json)
|
|
117
|
+
are retained; no performance saving is calculated from missing output.
|
|
118
|
+
|
|
119
|
+
See [benchmark methodology and reproduction commands](../benchmarks/README.md)
|
|
120
|
+
for the runner, per-repetition CSVs, raw samples, per-chunk timings, source and
|
|
121
|
+
production-build hashes. The earlier LitePaseo-only tuning experiments are kept
|
|
122
|
+
in the [historical optimization log](../benchmarks/legacy-baseline.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "litepaseo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A resource-conscious web console for your Paseo agents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"litepaseo": "dist/server/cli.mjs"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
10
|
"README.md",
|
|
11
|
-
"
|
|
11
|
+
"CHANGELOG.md",
|
|
12
12
|
"docs/markstream-integration-validation.md",
|
|
13
13
|
"docs/performance-plan.md"
|
|
14
14
|
],
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.attachment-tray[data-v-78817268]{flex-wrap:wrap;gap:8px;padding:2px 0 8px;display:flex}.attachment-item[data-v-78817268]{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;align-items:center;gap:8px;max-width:240px;padding:4px;display:flex}.attachment-item.is-error[data-v-78817268]{border-color:color-mix(in srgb, var(--danger) 45%, var(--border))}.attachment-thumb[data-v-78817268]{background:var(--surface-2);width:36px;height:36px;color:var(--fg-muted);border-radius:8px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.attachment-thumb img[data-v-78817268]{object-fit:cover;width:100%;height:100%}.attachment-uploading[data-v-78817268]{margin:0;position:absolute}.attachment-text[data-v-78817268]{min-width:0;line-height:1.25;display:grid}.attachment-name[data-v-78817268]{color:var(--fg);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.attachment-meta[data-v-78817268]{color:var(--fg-muted);font-size:11.5px}.is-error .attachment-meta[data-v-78817268]{color:var(--danger)}.attachment-action[data-v-78817268]{width:22px;height:22px;color:var(--fg-muted);border-radius:50%;flex:none;place-items:center;display:grid}.attachment-action[data-v-78817268]:hover:not(:disabled){background:var(--hover);color:var(--fg)}.attachment-error[data-v-78817268]{width:100%;color:var(--danger);align-items:center;gap:6px;margin:0;font-size:12.5px;display:flex}.attachment-retry[data-v-78817268]{color:var(--link);margin-left:4px;font-size:12.5px}.question-field[data-v-f1db1c0a]{border:0;min-width:0;margin:0;padding:12px 0}.question-field legend[data-v-f1db1c0a]{padding:0;font-weight:600}.question-option[data-v-f1db1c0a]{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.question-option input[data-v-f1db1c0a]{flex:none;width:auto}.agent-controls[data-v-40995555]{scrollbar-width:none;flex:1;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.agent-controls[data-v-40995555]::-webkit-scrollbar{display:none}.chip[data-v-40995555]{max-width:220px;height:30px;color:var(--fg-muted);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:5px;padding:0 8px;font-size:12.5px;font-weight:500;display:inline-flex;position:relative}.chip-text[data-v-40995555]{text-overflow:ellipsis;overflow:hidden}.chip-key[data-v-40995555]{font-weight:400}.chip-caret[data-v-40995555]{opacity:.7;flex:none;transform:rotate(90deg)}@media (hover:hover){.chip[data-v-40995555]:hover:not(.is-disabled){background:var(--hover);color:var(--fg)}}.chip.is-disabled[data-v-40995555]{cursor:default;opacity:.6}.chip-toggle.chosen[data-v-40995555]{color:var(--accent);background:var(--accent-soft)}.chip select[data-v-40995555]{opacity:0;width:100%;height:100%;cursor:inherit;font-size:16px;position:absolute;inset:0}.context-gauge[data-v-40995555]{font-variant-numeric:tabular-nums;height:30px;color:var(--fg-muted);flex:none;align-items:center;gap:5px;padding:0 8px;font-size:12px;display:inline-flex}.context-track[data-v-40995555]{fill:none;stroke:var(--surface-3);stroke-width:2.5px}.context-fill[data-v-40995555]{fill:none;stroke:var(--fg-muted);stroke-width:2.5px;stroke-linecap:round}.context-gauge.is-high[data-v-40995555]{color:var(--warn)}.context-gauge.is-high .context-fill[data-v-40995555]{stroke:var(--warn)}.schedule+.schedule[data-v-8d76d952]{border-top:1px solid var(--border)}.schedule-actions[data-v-8d76d952]{gap:2px;display:flex}.schedule-actions .icon-btn[data-v-8d76d952]{width:30px;height:30px}.setting-icon.paused[data-v-8d76d952]{opacity:.5}.schedule-status[data-v-8d76d952]{text-transform:capitalize;color:var(--warn)}.schedule-runs[data-v-8d76d952]{gap:6px;padding:0 16px 14px 60px;display:grid}.schedule-prompt[data-v-8d76d952]{background:var(--surface-2);white-space:pre-wrap;color:var(--fg-muted);border-radius:8px;margin:0 0 4px;padding:8px 10px;font-size:12.5px}.schedule-run[data-v-8d76d952]{align-items:center;gap:8px;font-size:12.5px;display:flex}.run-when[data-v-8d76d952]{color:var(--fg-muted);font-variant-numeric:tabular-nums;flex:none}.run-text[data-v-8d76d952]{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--fg-muted);flex:1;overflow:hidden}.schedule-run.is-failed .run-text[data-v-8d76d952]{color:var(--danger)}.schedules-empty[data-v-8d76d952]{color:var(--fg-muted);justify-items:center;gap:6px;padding:48px 0;display:grid}.check-row[data-v-8d76d952]{justify-self:start;align-items:center;gap:8px;font-size:13px;display:flex}.check-row input[data-v-8d76d952]{flex:none;width:auto;height:auto;margin:0}.btn-sm[data-v-8d76d952]{height:26px;padding:0 8px;font-size:12px}.dictation[data-v-632814c8]{min-width:34px;height:34px;color:var(--fg-muted);border-radius:999px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 8px;display:inline-flex}@media (hover:hover){.dictation[data-v-632814c8]:hover:not(:disabled){background:var(--hover);color:var(--fg)}}.dictation.is-recording[data-v-632814c8]{background:var(--danger-soft);color:var(--danger)}.rec-dot[data-v-632814c8]{background:var(--danger);border-radius:50%;width:8px;height:8px}.rec-time[data-v-632814c8]{font-variant-numeric:tabular-nums;font-size:12.5px}.spinner-sm[data-v-632814c8]{margin:0}:root{--motion-step-ms:500;--surface-0:#fff;--surface-1:#fafafa;--surface-2:#f4f4f5;--surface-3:#e9e9ec;--sidebar:#f6f6f7;--fg:#18181b;--fg-muted:#6b6b75;--fg-faint:#a1a1aa;--border:#e6e6ea;--border-strong:#d6d6dc;--hover:#18181b0b;--selected:#18181b13;--accent:#0e7490;--accent-hover:#0b5f76;--accent-soft:#0e74901a;--accent-fg:#fff;--accent-2:#22a3c4;--pulse:#2f6fde66;--link:#0e7490;--running:#2f6fde;--running-soft:#2f6fde1f;--unread:#16a34a;--seg-track:#e9e9ec;--seg-thumb:#fff;--warn:#b26b00;--warn-soft:#c984121f;--danger:#b4413a;--danger-soft:#b4413a1a;--user-bubble:#f0f0f2;--code-bg:#f6f6f8;--shadow-lg:0 12px 40px -12px #0f0f142e, 0 2px 6px #0f0f140a;--shadow-sm:0 1px 2px #0f0f140d;--radius:12px;--radius-sm:8px;--font:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--surface-0:#282c34;--surface-1:#2c313a;--surface-2:#323842;--surface-3:#3b4150;--sidebar:#21252b;--fg:#d0d4dc;--fg-muted:#8f96a3;--fg-faint:#636a78;--border:#353b45;--border-strong:#454c59;--hover:#ffffff0b;--selected:#ffffff13;--accent:#5cc8dc;--accent-hover:#7fd6e6;--accent-soft:#5cc8dc24;--accent-fg:#0f2328;--accent-2:#8be0ee;--pulse:#61afef73;--link:#7fd6e6;--running:#61afef;--running-soft:#61afef24;--unread:#4ade80;--seg-track:#1f2329;--seg-thumb:#3b4150;--warn:#e5c07b;--warn-soft:#e5c07b21;--danger:#e06c75;--danger-soft:#e06c7521;--user-bubble:#353b46;--code-bg:#21252b;--shadow-lg:0 16px 48px -12px #0000008c, 0 0 0 1px #0003;--shadow-sm:0 1px 2px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--surface-0:#282c34;--surface-1:#2c313a;--surface-2:#323842;--surface-3:#3b4150;--sidebar:#21252b;--fg:#d0d4dc;--fg-muted:#8f96a3;--fg-faint:#636a78;--border:#353b45;--border-strong:#454c59;--hover:#ffffff0b;--selected:#ffffff13;--accent:#5cc8dc;--accent-hover:#7fd6e6;--accent-soft:#5cc8dc24;--accent-fg:#0f2328;--accent-2:#8be0ee;--pulse:#61afef73;--link:#7fd6e6;--running:#61afef;--running-soft:#61afef24;--unread:#4ade80;--seg-track:#1f2329;--seg-thumb:#3b4150;--warn:#e5c07b;--warn-soft:#e5c07b21;--danger:#e06c75;--danger-soft:#e06c7521;--user-bubble:#353b46;--code-bg:#21252b;--shadow-lg:0 16px 48px -12px #0000008c, 0 0 0 1px #0003;--shadow-sm:0 1px 2px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--surface-0);height:100%;color:var(--fg);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0}#app{height:100%}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.45}input,textarea,select{background:var(--surface-0);border:1px solid var(--border-strong);border-radius:var(--radius-sm);outline:none;width:100%;padding:8px 11px;transition:border-color .12s,box-shadow .12s}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}::placeholder{color:var(--fg-faint)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none}code{font-family:var(--mono);background:var(--code-bg);border:1px solid var(--border);border-radius:5px;padding:.08em .35em;font-size:.88em}h1,h2,h3{letter-spacing:-.01em;margin:0;font-weight:600}.icon{flex:none;display:block}.grow{flex:1;min-width:0}.subtle,.muted-text{color:var(--fg-muted)}.small{font-size:12.5px}.btn{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 14px;font-weight:500;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.btn-primary{background:var(--accent);color:var(--accent-fg)}.btn-primary:not(:disabled):hover{background:var(--accent-hover)}.btn-outline{border:1px solid var(--border-strong);background:var(--surface-0)}.btn-outline:not(:disabled):hover,.btn-ghost:not(:disabled):hover{background:var(--hover)}.btn-ghost{color:var(--fg-muted)}.btn-block{width:100%;height:40px}.icon-btn{width:32px;height:32px;color:var(--fg-muted);border-radius:999px;place-items:center;display:inline-grid}@media (hover:hover){.icon-btn:hover{background:var(--hover);color:var(--fg)}}.link-btn{color:var(--accent);align-items:center;gap:5px;font-size:12.5px;font-weight:500;display:inline-flex}.field{display:block}.field>span{margin-bottom:6px;font-size:12.5px;font-weight:500;display:block}.count{font-variant-numeric:tabular-nums;color:var(--fg-faint);margin-left:auto;font-size:11.5px;font-weight:500}.pill{white-space:nowrap;border-radius:999px;flex:none;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.pill-attention{color:var(--warn);background:var(--warn-soft)}.status-dot{background:var(--fg-faint);border-radius:50%;flex:none;width:8px;height:8px}.status-dot.is-running{background:var(--running);box-shadow:0 0 0 0 var(--running-soft);animation:2s steps(4,end) infinite paused pulse}.status-dot.is-attention{background:var(--warn)}.status-dot.is-error{background:var(--danger)}.status-dot.is-idle-ok{background:var(--accent)}.status-dot.is-offline{background:var(--fg-faint)}@keyframes pulse{0%{box-shadow:0 0 0 0 var(--pulse)}to{box-shadow:0 0 0 6px #0000}}.spinner{border:2px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;width:13px;height:13px;animation:2s steps(4,end) infinite paused spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.status-dot.is-running,.spinner{animation:none}}.login{background:radial-gradient(1200px 600px at 50% -10%, var(--accent-soft), transparent 60%), var(--surface-1);place-items:center;min-height:100%;padding:24px;display:grid}.login-card{background:var(--surface-0);border:1px solid var(--border);width:min(380px,100%);box-shadow:var(--shadow-lg);border-radius:18px;padding:32px 28px 26px}.login-lede{color:var(--fg-muted);margin:6px 0 24px}.hint{color:var(--fg-muted);margin:8px 0 18px;font-size:12.5px}.form-error{color:var(--danger);margin:12px 0 0;font-size:13px}.brand{letter-spacing:-.01em;align-items:center;gap:9px;font-size:15px;font-weight:650;display:flex}.brand-large{font-size:22px}.brand-mark{border-radius:6px;flex:none;width:22px;height:22px}.brand-large .brand-mark{border-radius:7px;width:28px;height:28px}.shell{grid-template-columns:300px minmax(0,1fr);height:100dvh;display:grid}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;min-height:0;padding:14px 10px 0;display:flex}.sidebar-head{justify-content:space-between;align-items:center;padding:4px 8px 14px;display:flex}.head-actions{align-items:center;gap:4px;display:flex}.theme-btn{width:28px;height:28px}.live{color:var(--fg-muted);align-items:center;gap:6px;font-size:11.5px;display:inline-flex}.live-dot{background:var(--fg-faint);border-radius:50%;width:6px;height:6px}.live.is-live .live-dot{background:var(--accent)}.live.is-connecting .live-dot{background:var(--warn)}.tabs{gap:1px;margin-bottom:10px;display:grid}.tabs button{border-radius:var(--radius-sm);height:34px;color:var(--fg-muted);align-items:center;gap:10px;padding:0 10px;font-weight:500;display:flex}@media (hover:hover){.tabs button:hover{background:var(--hover);color:var(--fg)}}.tabs button.chosen{background:var(--selected);color:var(--fg)}.search{border-radius:var(--radius-sm);background:var(--surface-0);border:1px solid var(--border);height:36px;color:var(--fg-faint);align-items:center;gap:8px;margin:0 2px 8px;padding:0 10px;display:flex}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search input{height:100%;color:var(--fg);background:0 0;border:0;padding:0;box-shadow:none!important}.search-key{font:11px var(--mono);color:var(--fg-faint);border:1px solid var(--border);border-radius:5px;flex:none;padding:0 5px;line-height:17px}.search:focus-within .search-key{display:none}.search input::-webkit-search-cancel-button{filter:grayscale()}.host-filter{flex-wrap:wrap;gap:6px;margin:0 2px 10px;display:flex}.host-filter button{border:1px solid var(--border);background:var(--surface-0);height:28px;color:var(--fg-muted);white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;font-weight:500;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.host-filter button .status-dot{width:6px;height:6px}.host-filter button.chosen{background:var(--fg);border-color:var(--fg);color:var(--surface-0)}.chip-count{font-variant-numeric:tabular-nums;opacity:.6;font-size:11px}@media (hover:hover){.host-filter button:not(.chosen):hover{color:var(--fg);border-color:var(--border-strong)}}.list-toolbar{justify-content:space-between;align-items:center;padding:0 2px 8px;display:flex}.list-summary{color:var(--fg-faint);font-size:11.5px}.segmented-sm button{height:24px;padding:0 10px;font-size:12px}.group-row{contain:layout paint;border-radius:8px;align-items:center;margin-top:4px;display:flex;position:absolute;top:0;left:0;right:0}.group-toggle{text-align:left;min-width:0;height:100%;color:var(--fg);border-radius:8px;flex:1;align-items:center;gap:7px;padding:0 6px;font-size:12.5px;font-weight:600;display:flex}.group-add{width:26px;height:26px;color:var(--fg-muted);border-radius:7px;flex:none;place-items:center;margin-right:4px;display:grid}@media (hover:hover){.group-add{opacity:0}.group-row:hover .group-add,.group-add:focus-visible{opacity:1}.group-add:hover{background:var(--selected);color:var(--fg)}}.new-session{border-radius:var(--radius-sm);background:var(--accent);height:36px;color:var(--accent-fg);align-items:center;gap:8px;margin:0 2px 8px;padding:0 12px;font-weight:550;display:flex}.new-session kbd{font:11px var(--mono);opacity:.7;border:1px solid;border-radius:5px;margin-left:auto;padding:0 5px;line-height:16px}@media (hover:hover){.new-session:hover{background:var(--accent-hover)}}.overlay{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a0c1073;place-items:center;padding:24px;animation:.12s ease-out fade;display:grid;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.sheet{background:var(--surface-0);border:1px solid var(--border);width:min(600px,100%);max-height:calc(100dvh - 48px);box-shadow:var(--shadow-lg);border-radius:18px;flex-direction:column;animation:.16s cubic-bezier(.2,.8,.2,1) rise;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.sheet-head{justify-content:space-between;align-items:center;padding:16px 16px 8px 22px;display:flex}.sheet-head h2{font-size:16px}.sheet-body{flex:1;gap:14px;min-height:0;padding:8px 22px 14px;display:grid;overflow-y:auto}.field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field-grid.three{grid-template-columns:1fr 1.4fr 1fr}.path-hint{min-height:16px;font:11.5px/16px var(--mono);color:var(--fg-faint);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;margin:-4px 0 0;display:flex;overflow:hidden}.toggle{cursor:pointer;align-items:center;gap:9px;font-size:13px;display:flex}.toggle input{width:16px;height:16px;accent-color:var(--accent);margin:0}.sheet-body textarea{resize:vertical;min-height:110px;line-height:1.5}.sheet-note{color:var(--fg-muted)}.sheet-error{color:var(--danger);align-items:flex-start;gap:7px;margin:0;font-size:13px;display:flex}.sheet-error .icon{margin-top:2px}.sheet-foot{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:8px;padding:12px 16px 16px 22px;display:flex}.sheet-hint{color:var(--fg-faint);margin-right:auto;font-size:11.5px}.spinner-on-accent{border-color:#ffffff59;border-top-color:var(--accent-fg)}.group-chevron{color:var(--fg-faint);transition:transform .15s;transform:rotate(90deg)}.group-row.collapsed .group-chevron{transform:none}.group-folder{color:var(--fg-muted)}.group-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.group-count{text-align:right;font-variant-numeric:tabular-nums;min-width:18px;color:var(--fg-faint);font-size:11.5px;font-weight:500}.group-flag{border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;display:grid}.group-marks{align-items:center;gap:5px;display:inline-flex}.group-marks .status-dot{width:7px;height:7px}.group-flag.is-attention{background:var(--warn-soft);color:var(--warn)}.session-list{overscroll-behavior:contain;flex:1;min-height:0;margin:0 -10px;padding:0 10px 12px;overflow-y:auto}.session-spacer{position:relative}.session{text-align:left;contain:layout paint;border-radius:10px;align-items:center;gap:11px;height:48px;padding:0 10px 0 12px;display:flex;position:absolute;top:0;left:0;right:0}@media (hover:hover){.group-row:hover{background:var(--hover)}}@media (width<=760px){.overlay{place-items:end stretch;padding:0}.sheet{width:100%;max-height:92dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0}.field-grid{grid-template-columns:1fr;gap:14px}.field-grid.three{grid-template-columns:1fr 1fr;grid-template-areas:"agent thinking""model model";gap:14px 12px}.field-agent{grid-area:agent}.field-model{grid-area:model}.field-thinking{grid-area:thinking}.sheet-body textarea{min-height:96px}.new-session{height:42px;margin:0 0 8px}}@media (hover:hover){.session:hover{background:var(--hover)}}.session.chosen{background:var(--selected)}.session.offline{opacity:.55}.session-text{flex:1;gap:1px;min-width:0;display:grid}.session-title{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;overflow:hidden}.session-meta{color:var(--fg-muted);white-space:nowrap;gap:5px;font-size:12px;display:flex;overflow:hidden}.session-project{text-overflow:ellipsis;max-width:60%;overflow:hidden}.sep{color:var(--fg-faint)}.list-empty{color:var(--fg-muted);text-align:center;padding:28px 12px;font-size:13px}.main{background:var(--surface-0);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.back{display:none}.toast{z-index:10;background:var(--surface-0);border:1px solid var(--border);max-width:min(560px,100% - 28px);box-shadow:var(--shadow-lg);color:var(--danger);border-radius:12px;align-items:center;gap:10px;padding:8px 8px 8px 14px;font-size:13px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}.toast span{color:var(--fg)}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.chat-head{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:14px 24px 12px;display:flex}.chat-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.chat-meta{color:var(--fg-muted);flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:4px;font-size:12.5px;display:flex}.chat-meta>span{align-items:center;gap:5px;display:inline-flex}.badge{background:var(--surface-2);color:var(--fg);text-transform:capitalize;border-radius:999px;padding:1px 8px 1px 7px;font-size:11.5px;font-weight:500}.badge.is-running{background:var(--running-soft);color:var(--running)}.badge.is-error{background:var(--danger-soft);color:var(--danger)}.timeline{overscroll-behavior:contain;contain:content;flex:1;min-height:0;overflow-y:auto}.timeline-inner{flex-direction:column;gap:6px;max-width:780px;margin:0 auto;padding:20px 24px 28px;display:flex}.older{justify-content:center;margin-bottom:8px;display:flex}.notice{color:var(--warn);align-items:center;gap:7px;margin:0 0 8px;font-size:12.5px;display:flex}.timeline-empty{color:var(--fg-muted);justify-content:center;align-items:center;gap:10px;padding:60px 0;display:flex}.timeline-working{color:var(--fg-muted);align-items:center;gap:10px;padding:10px 2px 4px;font-size:13px;display:flex}.timeline-elapsed{font-variant-numeric:tabular-nums}.row-user{justify-content:flex-end;margin:14px 0 6px;display:flex}.bubble{background:var(--user-bubble);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px 18px 6px;max-width:min(82%,620px);padding:9px 14px;font-size:14.5px;line-height:1.55}.row-assistant{margin:6px 0}.prose{overflow-wrap:anywhere;font-size:15px;line-height:1.7}.prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}.prose p,.prose ul,.prose ol,.prose blockquote,.prose pre,.prose .table{margin:0 0 .75em}.prose h3,.prose h4,.prose h5,.prose h6{margin:1.1em 0 .45em;font-size:1.02em;font-weight:650}.prose h3{font-size:1.12em}.prose ul,.prose ol{padding-left:1.4em}.prose li{margin:.18em 0}.prose li.nested{margin-left:1.2em}.prose li.task{align-items:baseline;gap:8px;margin-left:-1.2em;list-style:none;display:flex}.prose a{color:var(--link);text-underline-offset:2px;text-decoration:underline}.prose blockquote{border-left:3px solid var(--border-strong);color:var(--fg-muted);padding:0 0 0 12px}.prose hr{border:0;border-top:1px solid var(--border);margin:1.2em 0}.prose pre.code,.prose.markstream-vue pre{background:var(--code-bg);border:1px solid var(--border);font:12.5px/1.6 var(--mono);border-radius:10px;padding:12px 14px;position:relative;overflow-x:auto}.prose pre.code code,.prose.markstream-vue pre code{font-size:inherit;white-space:pre;background:0 0;border:0;padding:0}.code-lang{font:11px var(--font);color:var(--fg-faint);position:absolute;top:6px;right:10px}.prose .table{overflow-x:auto}.prose table{border-collapse:collapse;font-size:13px}.prose th,.prose td{border:1px solid var(--border);text-align:left;padding:5px 10px}.prose th{background:var(--surface-1);font-weight:600}.check{border:1.5px solid var(--border-strong);border-radius:4px;flex:none;width:13px;height:13px;display:inline-block;position:relative;top:2px}.check.done{background:var(--accent);border-color:var(--accent)}.check.done:after{content:"";border:solid var(--accent-fg);border-width:0 1.5px 1.5px 0;width:3px;height:7px;position:absolute;top:.5px;left:3.5px;transform:rotate(45deg)}.row-line summary{cursor:pointer;-webkit-user-select:none;user-select:none;min-height:30px;color:var(--fg-muted);border-radius:8px;align-items:center;gap:10px;margin-left:-4px;padding:3px 8px 3px 4px;font-size:14px;list-style:none;display:flex}.row-line summary::-webkit-details-marker{display:none}.permission-details summary::-webkit-details-marker{display:none}@media (hover:hover){.row-line summary:hover{background:var(--hover);color:var(--fg)}.row-line.is-static summary:hover{color:var(--fg-muted);background:0 0}}.row-line.is-static summary{cursor:text;-webkit-user-select:text;user-select:text}.row-line[open] summary{color:var(--fg)}.line-icon{width:18px;height:18px;color:var(--fg-faint);flex:none;place-items:center;display:grid}.line-icon .status-dot{width:7px;height:7px}.line-name{color:var(--fg);flex:none;font-weight:550}.line-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.line-text.mono{font-family:var(--mono);font-size:13px}.line-meta{font-family:var(--mono);color:var(--fg-faint);flex:none;font-size:12.5px}.row-tool.is-failed .line-icon,.row-tool.is-failed .line-text{color:var(--danger)}.row-tool.is-canceled .line-text{text-decoration:line-through}.reasoning-text{border-left:1px solid var(--border);color:var(--fg-muted);white-space:pre-wrap;margin:2px 0 8px 18px;padding-left:12px;font-size:13.5px;line-height:1.6}.tool-body{border-left:1px solid var(--border);gap:6px;margin:2px 0 8px 18px;padding-left:10px;display:grid}.tool-pre{background:var(--code-bg);max-height:320px;font:12px/1.55 var(--mono);color:var(--fg-muted);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:0;padding:8px 10px;overflow:auto}.tool-command{color:var(--fg)}.tool-prompt{color:var(--fg-faint);-webkit-user-select:none;user-select:none}.tool-diff{white-space:pre;overflow-wrap:normal}.tool-diff span{min-height:1.55em;display:block}.diff-add{color:var(--fg);background:#22c55e29}.diff-del{background:var(--danger-soft);color:var(--fg)}.diff-hunk{color:var(--running)}.tool-error{color:var(--danger);background:var(--danger-soft)}.tool-exit{color:var(--fg-faint);margin:0;font-size:12px}.prose img{border:1px solid var(--border);background:var(--surface-1);cursor:zoom-in;border-radius:10px;max-width:100%;max-height:520px;margin:6px 0;display:block}.turn-footer{min-height:26px;color:var(--fg-faint);align-items:center;gap:10px;margin:2px 0 10px;font-size:12.5px;display:flex}.turn-footer .icon-btn{width:26px;height:26px;color:var(--fg-faint)}@media (hover:hover){.turn-footer .icon-btn:hover{color:var(--fg)}}.lightbox{z-index:60;cursor:zoom-out;background:#000000c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.lightbox img{max-width:100%;max-height:100%;box-shadow:var(--shadow-lg);border-radius:8px}.row-todo{border:1px solid var(--border);border-radius:var(--radius);margin:6px 0;padding:10px 14px}.todo-title{color:var(--fg-muted);align-items:center;gap:7px;margin-bottom:6px;font-size:12.5px;font-weight:600;display:flex}.row-todo ul{gap:4px;margin:0;padding:0;font-size:13.5px;list-style:none;display:grid}.row-todo li{align-items:baseline;gap:9px;display:flex}.row-todo li.done{color:var(--fg-muted);text-decoration:line-through}.row-todo li.active{font-weight:550}.row-callout{background:var(--surface-2);color:var(--fg-muted);border-radius:10px;align-items:flex-start;gap:9px;margin:6px 0;padding:9px 12px;font-size:13.5px;display:flex}.row-callout .icon{margin-top:2px}.row-callout.is-error{background:var(--danger-soft);color:var(--danger)}.row-callout.is-warning{background:var(--warn-soft);color:var(--warn)}.row-callout span{color:var(--fg)}.row-divider{color:var(--fg-faint);align-items:center;gap:12px;margin:12px 0;font-size:12px;display:flex}.row-divider:before,.row-divider:after{content:"";border-top:1px solid var(--border);flex:1}.dock{padding:0 24px max(16px, env(safe-area-inset-bottom));background:linear-gradient(to bottom, transparent, var(--surface-0) 18px)}.dock-inner{gap:10px;max-width:732px;margin:0 auto;display:grid}.permission{border:1px solid color-mix(in srgb, var(--warn) 35%, var(--border));background:color-mix(in srgb, var(--warn-soft) 55%, var(--surface-0));border-radius:14px;gap:10px;padding:12px 14px;display:grid}.permission-head{align-items:center;gap:11px;display:flex}.permission-icon{background:var(--warn-soft);width:30px;height:30px;color:var(--warn);border-radius:9px;place-items:center;display:grid}.row-title{overflow-wrap:anywhere;font-weight:550}.row-sub{color:var(--fg-muted);font-size:12.5px}.permission-details summary{cursor:pointer;color:var(--fg-muted);font-size:12.5px;list-style:none}.permission-details summary:before{content:"›";margin-right:6px;transition:transform .12s;display:inline-block}.permission-details[open] summary:before{transform:rotate(90deg)}.permission-details pre{background:var(--surface-0);border:1px solid var(--border);max-height:220px;font:12px/1.5 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:8px 0 0;padding:10px 12px;overflow:auto}.permission-actions{justify-content:flex-end;gap:8px;display:flex}.uncertain{background:var(--danger-soft);color:var(--danger);border-radius:12px;align-items:center;gap:9px;padding:8px 8px 8px 12px;font-size:13px;display:flex}.uncertain span{color:var(--fg)}.composer{border:1px solid var(--border-strong);background:var(--surface-1);box-shadow:var(--shadow-lg);border-radius:24px;padding:12px 10px 10px 12px;transition:border-color .12s,box-shadow .12s}.composer:focus-within{border-color:var(--fg-faint)}.composer.is-dragging{border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 40%, var(--surface-1));border-style:dashed}.composer textarea{resize:none;background:0 0;border:0;min-height:48px;max-height:40vh;padding:2px 6px;font-size:15px;line-height:1.55;display:block;box-shadow:none!important}.composer textarea::placeholder{color:var(--fg-faint)}.composer-bar{align-items:center;gap:6px;min-height:36px;margin-top:6px;display:flex}.composer-tool{width:34px;height:34px;color:var(--fg-muted);border-radius:50%;flex:none;place-items:center;transition:background .12s,color .12s;display:grid}@media (hover:hover){.composer-tool:hover:not(:disabled){background:var(--hover);color:var(--fg)}}.composer-hint{color:var(--fg-faint);padding-left:4px;font-size:11.5px}.composer-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.disc{border-radius:50%;place-items:center;width:36px;height:36px;transition:background .12s,opacity .12s,transform .12s;display:grid}.disc:active:not(:disabled){transform:scale(.94)}.disc-send{background:var(--fg);color:var(--surface-0)}.disc-send:disabled{opacity:1;background:var(--surface-3);color:var(--fg-faint)}.disc-stop{background:var(--surface-2);color:var(--fg)}.disc-stop.is-primary{background:var(--fg);color:var(--surface-0)}.disc-stop :is(svg){fill:currentColor}@media (hover:hover){.disc-stop:not(.is-primary):hover{background:var(--surface-3)}}.segmented{background:var(--seg-track);border-radius:999px;padding:2px;display:inline-flex}.segmented button{height:28px;color:var(--fg-muted);border-radius:999px;padding:0 12px;font-size:12.5px;font-weight:500}.segmented button.chosen{background:var(--seg-thumb);color:var(--fg);box-shadow:var(--shadow-sm), 0 0 0 1px var(--border)}.page{flex:1;min-height:0;overflow-y:auto}.page-head{align-items:flex-start;gap:8px;max-width:760px;margin:0 auto;padding:36px 28px 18px;display:flex}.page-head h1{font-size:22px}.page-head p{margin:4px 0 0}.page-body{max-width:760px;margin:0 auto;padding:0 28px 48px}.page-body.wide{max-width:1100px}.page-head:has(+.wide){max-width:1100px}.section-label{color:var(--fg-muted);margin:28px 0 10px;font-size:13px;font-weight:600}.card{background:var(--surface-0);border:1px solid var(--border);border-radius:var(--radius)}.card-row{align-items:center;gap:12px;padding:13px 16px;display:flex}.card-row+.card-row{border-top:1px solid var(--border)}.form-card{gap:14px;padding:18px 16px;display:grid}.field-help{color:var(--fg-muted);margin-top:-6px;font-size:12.5px;line-height:1.5}.field-help p{margin:0 0 6px}.field-help summary{cursor:pointer;color:var(--accent);width:fit-content}.field-help dl{grid-template-columns:max-content 1fr;gap:6px 12px;margin:8px 0 0;display:grid}.field-help dt{color:var(--fg);font-weight:500}.field-help dd{overflow-wrap:anywhere;margin:0}@media (width<=560px){.field-help dl{grid-template-columns:1fr;gap:2px}.field-help dd{margin-bottom:6px}}.form-actions{justify-content:flex-end;display:flex}.add-card{gap:8px;max-width:520px;display:flex}.add-card input{border-radius:999px;height:34px;padding:0 14px}.board{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.column{background:var(--surface-1);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:8px;min-height:160px;padding:10px;display:flex}.column-head{align-items:center;padding:2px 4px 4px;display:flex}.column-head h3{font-size:13px}.column-empty{color:var(--fg-faint);margin:8px 4px;font-size:12.5px}.kanban-card{box-shadow:var(--shadow-sm);gap:8px;padding:11px 12px;display:grid}.kanban-actions{align-items:center;gap:6px;display:flex}.kanban-actions select{border-radius:7px;width:auto;height:28px;padding:0 8px;font-size:12.5px}.kanban-actions .icon-btn{width:28px;height:28px;margin-left:auto}.empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;padding:32px;display:flex}.empty h2{font-size:18px}.empty p{max-width:360px;color:var(--fg-muted);margin:0 0 8px}.empty-mark{background:var(--accent-soft);width:56px;height:56px;color:var(--accent);border-radius:18px;place-items:center;margin-bottom:6px;display:grid}@media (width<=1000px){.shell{grid-template-columns:270px minmax(0,1fr)}.board{grid-template-columns:1fr}}@media (width<=760px){html,body{font-size:15px}.shell{display:block;position:relative;overflow:hidden}.sidebar,.main{transition:transform .24s cubic-bezier(.2,.8,.2,1);position:absolute;inset:0}.sidebar{padding:max(12px, env(safe-area-inset-top)) 14px 0;border-right:0}.main{visibility:hidden;transition:transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s linear .24s;transform:translate(100%)}.shell.detail-open .main{visibility:visible;transition:transform .24s cubic-bezier(.2,.8,.2,1);transform:none;box-shadow:-10px 0 30px -18px #0000004d}.shell.detail-open .sidebar{visibility:hidden;transition:transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s linear .24s;transform:translate(-28%)}.tabs{background:var(--seg-track);border-radius:11px;grid-template-columns:repeat(3,1fr);gap:4px;padding:3px}.tabs button{justify-content:center;gap:6px;height:34px;font-size:13px}.tabs button.chosen{background:var(--seg-thumb);box-shadow:var(--shadow-sm)}.tabs .count,.tabs .icon{display:none}.search{height:40px;margin:0 0 8px}.session-list{padding:0 8px max(16px, env(safe-area-inset-bottom));margin:0 -14px}.back{flex:none;margin-left:-8px;display:inline-grid}.chat-head{padding:max(10px, env(safe-area-inset-top)) 14px 10px}.timeline-inner{padding:16px 16px 20px}.dock{padding:0 10px max(10px, env(safe-area-inset-bottom))}.composer{border-radius:22px}.composer textarea,.bubble,.prose{font-size:15px}.disc{width:36px;height:36px}.hide-sm{display:none!important}.page-head{padding:max(14px, env(safe-area-inset-top)) 16px 14px;align-items:center}.page-head p{display:none}.page-head h1{font-size:17px}.page-body{padding:0 16px 40px}.btn{height:40px}input,select,textarea,.search input,.composer textarea{font-size:16px}}.setting-icon{background:var(--surface-2);width:32px;height:32px;color:var(--fg-muted);border-radius:9px;flex:none;place-items:center;display:grid}.switch-row{cursor:pointer}.switch{appearance:none;background:var(--surface-3);cursor:pointer;border:0;border-radius:999px;flex:none;width:38px;height:22px;padding:0;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(16px)}.switch:focus{box-shadow:0 0 0 3px var(--accent-soft)}.totp-setup{align-items:flex-start;gap:18px}.totp-setup img{border:1px solid var(--border);background:#fff;border-radius:10px;flex:none;padding:6px}.totp-setup p{margin:0 0 8px}.secret{letter-spacing:.04em;word-break:break-all;margin-bottom:12px;font-size:12.5px;display:inline-block}.code-form{align-items:center;gap:8px;display:flex}.code-form input{width:130px;height:34px;font-family:var(--mono);letter-spacing:.2em;text-align:center}.code-input{letter-spacing:.45em;text-align:center;height:52px;font:600 24px var(--mono)!important}.setting-note{color:var(--accent);margin:8px 2px 0;font-size:13px}.setting-note.is-error{color:var(--danger)}.pill-current{color:var(--accent);background:var(--accent-soft);margin-left:8px}.form-actions.spaced{margin-top:10px}.login .hint .link-btn{font-size:inherit;margin-left:4px}@media (width<=760px){.totp-setup{flex-direction:column;align-items:stretch}.totp-setup img{align-self:center}.code-form input{flex:1}}.row-speed{font-variant-numeric:tabular-nums;color:var(--fg-faint);align-items:center;gap:6px;margin:2px 0 6px;font-size:11.5px;display:flex}.row-suggestion{align-items:flex-start;gap:6px;margin:4px 0 8px;padding-left:2px;display:flex}.suggestion-text{text-align:left;color:var(--fg-muted);border-radius:6px;flex:1;padding:2px 0;font-size:13.5px;line-height:1.5}.suggestion-text:before{content:"↳ ";color:var(--fg-faint)}.suggestion-actions{gap:2px;margin-top:-4px;display:flex}.suggestion-actions .icon-btn{width:28px;height:28px}.suggestion-wait{color:var(--fg-faint);font-size:12.5px}.spinner-sm{border-width:1.5px;width:11px;height:11px;margin-top:3px}@media (hover:hover){.suggestion-text:hover{color:var(--fg)}}.unread-mark{background:var(--unread);border-radius:50%;flex:none;width:8px;height:8px}.session.unread .session-title{font-weight:600}.status-dot.is-unread{background:var(--unread)}.head-toggle{align-self:center;margin-left:auto}.agent-board{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:12px;display:grid}.lane{background:var(--surface-1);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:8px;min-width:0;min-height:160px;padding:10px;display:flex}.lane-head{align-items:center;gap:8px;padding:2px 4px 4px;display:flex}.lane-head h3{font-size:13px}.lane-dot{background:var(--fg-faint);border-radius:50%;width:8px;height:8px}.lane-needs_input .lane-dot{background:var(--warn)}.lane-running .lane-dot{background:var(--running)}.lane-review .lane-dot{background:var(--unread)}.task-card{background:var(--surface-0);border:1px solid var(--border);min-width:0;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:11px;outline:none;grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 12px;transition:border-color .12s;display:grid}.task-card:focus-visible{border-color:var(--accent)}.task-card.is-needs_input{border-color:color-mix(in srgb, var(--warn) 40%, var(--border))}.task-card.is-failed{border-color:color-mix(in srgb, var(--danger) 35%, var(--border))}.task-top{align-items:center;gap:8px;display:flex}.task-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13.5px;font-weight:550;overflow:hidden}.task-meta{color:var(--fg-faint);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.task-detail{color:var(--fg-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;display:-webkit-box;overflow:hidden}.task-detail.is-error{color:var(--danger)}.task-actions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.task-actions:empty{display:none}.btn-sm{gap:4px;height:26px;padding:0 10px;font-size:12px}.lane-more{align-self:center;height:28px;font-size:12.5px}@media (hover:hover){.task-card:hover{border-color:var(--border-strong)}}@media (width<=1000px){.agent-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.agent-board{scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin:0 -16px;padding:0 16px 4px;display:flex;overflow-x:auto}.agent-board::-webkit-scrollbar{display:none}.lane{scroll-snap-align:center;flex:0 0 86%}.btn-sm{height:32px;padding:0 12px}.page-head .head-toggle{margin-left:auto}}.usage{padding:8px 10px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--border);margin:0 -10px;position:relative}.usage-summary{text-align:left;border-radius:8px;gap:3px;width:100%;padding:6px 8px;display:grid}.usage-line{white-space:nowrap;align-items:baseline;gap:8px;font-size:12px;display:flex;overflow:hidden}.usage-name{text-overflow:ellipsis;min-width:0;color:var(--fg-muted);flex:1;font-weight:500;overflow:hidden}.usage-pct{font-variant-numeric:tabular-nums;font-weight:600}.usage-pct small{color:var(--fg-faint);margin-left:2px;font-weight:400}.tone-ok{color:var(--fg)}.tone-warning{color:var(--warn)}.tone-danger{color:var(--danger)}.usage-card{z-index:20;background:var(--surface-0);border:1px solid var(--border);max-height:70dvh;box-shadow:var(--shadow-lg);border-radius:14px;gap:12px;padding:12px 14px;display:grid;position:absolute;bottom:calc(100% + 6px);left:8px;right:8px;overflow-y:auto}.usage-card header{align-items:center;gap:2px;display:flex}.usage-card header strong{flex:1;font-size:13px}.usage-account{gap:8px;display:grid}.usage-account+.usage-account{border-top:1px solid var(--border);padding-top:12px}.usage-account-head{display:grid}.usage-window{gap:4px;display:grid}.usage-window-head,.usage-window-foot{justify-content:space-between;gap:8px;font-size:12px;display:flex}.usage-window-foot{color:var(--fg-faint);font-size:11.5px}.usage-bar{background:var(--surface-3);border-radius:999px;height:5px;overflow:hidden}.usage-bar span{border-radius:inherit;background:var(--accent);height:100%;display:block}.usage-bar span.tone-warning{background:var(--warn)}.usage-bar span.tone-danger{background:var(--danger)}.usage-foot{color:var(--fg-faint);margin:0;font-size:11px}.row-sub.is-error{color:var(--danger)}@media (hover:hover){.usage-summary:hover{background:var(--hover)}}.session-row{contain:layout paint;height:48px;position:absolute;top:0;left:0;right:0}.session-row .session{height:100%;padding-right:34px;position:static}.row-more{width:26px;height:26px;color:var(--fg-muted);border-radius:7px;place-items:center;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}@media (hover:hover){.row-more{opacity:0}.session-row:hover .row-more,.session-row.chosen .row-more,.row-more:focus-visible{opacity:1}.row-more:hover{background:var(--selected);color:var(--fg)}.session-row:not(:hover):not(.chosen) .session{padding-right:10px}}@media (hover:none){.row-more{display:none}.session-row .session{padding-right:10px}}.pin-mark{vertical-align:-1px;color:var(--fg-muted);margin-right:4px;display:inline-block}.session-branch{text-overflow:ellipsis;font-family:var(--mono);font-size:11px;overflow:hidden}.title-pin{vertical-align:-1px;color:var(--fg-muted);margin-right:6px;display:inline-block}.menu{z-index:60;background:var(--surface-0);border:1px solid var(--border);min-width:200px;box-shadow:var(--shadow-lg);border-radius:12px;padding:6px;animation:.1s ease-out fade;display:grid;position:fixed}.menu-title{color:var(--fg-muted);text-overflow:ellipsis;white-space:nowrap;max-width:260px;padding:6px 10px;font-size:12px;font-weight:600;overflow:hidden}.menu button{text-align:left;border-radius:8px;align-items:center;gap:10px;height:34px;padding:0 10px;font-size:13.5px;display:flex}.menu button:hover,.menu button:focus-visible{background:var(--hover);outline:none}.menu-sep{background:var(--border);height:1px;margin:4px 6px}.menu-danger{color:var(--danger)}@media (width<=760px){.menu button{height:44px;font-size:15px}}.agent-tabs{border-bottom:1px solid var(--border);scrollbar-width:none;gap:4px;padding:6px 24px;display:flex;overflow-x:auto}.agent-tabs button{height:28px;color:var(--fg-muted);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;flex:none;align-items:center;gap:7px;max-width:220px;padding:0 10px;font-size:12.5px;display:inline-flex;overflow:hidden}.agent-tabs button.chosen{background:var(--selected);color:var(--fg)}.sheet-small{width:min(440px,100%)}.sheet-reset{margin-right:auto}@media (width<=760px){.agent-tabs{padding:6px 14px}}.agent-tab-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.prose.markstream-vue{color:var(--fg);--code-fg:var(--fg);--markstream-code-fallback-bg:var(--code-bg);--markstream-code-fallback-fg:var(--fg)}.prose.markstream-vue h1{font-size:1.35em}.prose.markstream-vue h2{font-size:1.2em}.prose.markstream-vue h1,.prose.markstream-vue h2{margin:1em 0 .5em;line-height:1.4}.prose.markstream-vue *,.prose.markstream-vue :before,.prose.markstream-vue :after{transition:none!important;animation:none!important}.shell{grid-template-columns:var(--sidebar-w,300px) minmax(0, 1fr)}.sidebar{font-size:13px;position:relative}.sidebar .tabs button,.sidebar .new-session,.sidebar .search input{font-size:13px}.sidebar-resize{z-index:5;cursor:col-resize;touch-action:none;width:8px;position:absolute;top:0;bottom:0;right:-4px}.sidebar-resize:after{content:"";background:0 0;width:2px;transition:background .12s;position:absolute;top:0;bottom:0;left:3px}.sidebar-resize:hover:after,.sidebar-resize.is-dragging:after{background:var(--border-strong)}.shell.is-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.group-toggle{gap:8px;font-size:13px}.group-icon{color:#fff;border-radius:5px;flex:none;place-items:center;width:18px;height:18px;font-size:10.5px;font-weight:650;line-height:1;display:grid;overflow:hidden}.group-icon img{object-fit:contain;width:100%;height:100%}.group-host{text-overflow:ellipsis;white-space:nowrap;max-width:40%;color:var(--fg-faint);flex:none;font-size:11.5px;font-weight:400;overflow:hidden}.group-chevron{opacity:0;flex:none}.group-row.collapsed .group-chevron,.group-row:hover .group-chevron,.group-toggle:focus-visible .group-chevron{opacity:1}.session-row{height:calc(var(--row-h,36px) - 4px)}.session{height:calc(var(--row-h,36px) - 4px);border-radius:8px;gap:8px;padding:0 10px 0 6px}.session-row .session{width:100%}.session.nested{padding-left:6px}.session-dot{flex:none;place-items:center;width:18px;display:grid}.session-dot .status-dot{width:7px;height:7px}.session-title{min-width:0;color:var(--fg-muted);flex:1;font-size:13px}.session.unread .session-title,.session.chosen .session-title,.session:hover .session-title{color:var(--fg)}.session.chosen .session-title{font-weight:500}.session-project{text-overflow:ellipsis;white-space:nowrap;max-width:35%;color:var(--fg-faint);flex:none;font-size:11.5px;overflow:hidden}.session-age{text-align:right;font-variant-numeric:tabular-nums;min-width:22px;color:var(--fg-faint);flex:none;font-size:11.5px}@media (hover:hover){.session-row:hover .session-age,.session-row.chosen .session-age{visibility:hidden}.session-row:not(:hover):not(.chosen) .session{padding-right:6px}}.row-more{width:24px;height:24px}.thread-card{z-index:70;border:1px solid var(--border);background:var(--surface-1);width:300px;box-shadow:var(--shadow-lg);color:var(--fg-muted);pointer-events:none;border-radius:12px;padding:12px 14px;font-size:12.5px;animation:.12s ease-out fade;position:fixed}.thread-card p{overflow-wrap:anywhere;align-items:center;gap:8px;margin:6px 0 0;display:flex}.thread-card .thread-card-title{color:var(--fg);margin:0 0 8px;font-size:13.5px;line-height:1.45;display:block}.thread-card .icon{color:var(--fg-faint);flex:none}.thread-card-off{color:var(--warn)}@media (width<=1000px){.shell{grid-template-columns:min(var(--sidebar-w,270px), 320px) minmax(0, 1fr)}}@media (width<=760px){.sidebar-resize{display:none}.sidebar,.sidebar .tabs button,.sidebar .new-session{font-size:15px}.sidebar .search input{font-size:16px}.session-title{font-size:15px}.group-toggle{font-size:14px}}.chip-behavior{height:30px;color:var(--fg-muted);box-shadow:inset 0 0 0 1px var(--border);border-radius:999px;flex:none;padding:0 10px;font-size:12.5px;font-weight:500}.chip-behavior.is-interrupt{color:var(--warn);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--warn) 45%, var(--border))}@media (hover:hover){.chip-behavior:hover{background:var(--hover)}}.composer-notice{background:var(--surface-2);color:var(--fg-muted);border-radius:10px;align-items:center;gap:7px;margin:0;padding:4px 4px 4px 12px;font-size:12.5px;display:flex}.composer-notice .icon-btn{width:24px;height:24px;margin-left:auto}@media (width<=760px){.composer-bar{gap:2px}}.dock-inner{grid-template-columns:minmax(0,1fr)}.composer{min-width:0}@media (width<=760px){.composer-bar{flex-wrap:wrap;row-gap:4px}.composer .composer-bar .agent-controls{flex:1 0 100%;order:-1;margin:0 -4px}.prose img{max-height:320px}}.row-line+.row-line{margin-top:-4px}.palette-row{align-items:flex-start}.palette-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:10px;display:grid}.palette-option{text-align:left;box-shadow:inset 0 0 0 1px var(--border);border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}.palette-option.chosen{box-shadow:inset 0 0 0 2px var(--accent)}.palette-swatch{border-radius:8px;flex:none;width:28px;height:28px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #7f7f7f40}.palette-swatch span{flex:1}.palette-text{min-width:0;display:grid}.palette-name{font-size:13px;font-weight:550}.sidebar{padding:8px 8px 0}.side-nav{border-bottom:1px solid var(--border);gap:1px;padding-bottom:8px;display:grid}.side-row{height:30px;color:var(--fg-muted);text-align:left;border-radius:7px;align-items:center;gap:10px;padding:0 8px;font-size:13px;display:flex}.side-row .icon{color:var(--fg-faint);flex:none}@media (hover:hover){.side-row:hover{background:var(--hover);color:var(--fg)}}.side-row.chosen{background:var(--selected);color:var(--fg)}.side-row .count{color:var(--fg-faint);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11.5px}.side-search{cursor:text}.side-search input{min-width:0;height:100%;color:var(--fg);background:0 0;border:0;flex:1;padding:0;font-size:13px;box-shadow:none!important}.side-search input::placeholder{color:var(--fg-muted)}.side-search:focus-within,.side-search.active{background:var(--selected)}.side-search kbd{background:var(--surface-3);font:10.5px var(--mono);color:var(--fg-muted);border-radius:5px;flex:none;padding:1px 5px}.side-section{height:34px;color:var(--fg-muted);align-items:center;gap:6px;padding:4px 4px 0 8px;font-size:12px;display:flex}.side-label{font-weight:500}.side-section .list-summary{font-size:11px}.side-tool{border-radius:7px;width:26px;height:26px;margin-left:auto}.side-tool.chosen{color:var(--accent)}.view-menu{background:var(--surface-1);box-shadow:inset 0 0 0 1px var(--border);border-radius:10px;gap:8px;margin:2px 4px 6px;padding:8px;display:grid}.view-menu .host-filter{margin:0}.side-foot{height:38px;padding:0 8px max(0px, env(safe-area-inset-bottom));border-top:1px solid var(--border);align-items:center;gap:2px;margin:0 -8px;display:flex}.side-foot .live{margin-right:auto;padding-left:4px}.side-foot .icon-btn{width:28px;height:28px}.icon-btn.chosen{background:var(--selected);color:var(--fg)}.chat-head{gap:6px;min-height:44px;padding:6px 10px 6px 16px}.chat-status{flex:none}.chat-title{min-width:0;margin:0;font-size:14px;font-weight:600}.chat-context{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--fg-faint);flex:0 auto;font-size:12.5px;overflow:hidden}.head-tool{border-radius:8px;flex:none;width:30px;height:30px}.chat-split{flex:1;min-height:0;display:flex;position:relative}.chat-split>.chat{min-width:0}.side-panel{width:var(--panel-w,420px);border-left:1px solid var(--border);background:var(--surface-0);flex-direction:column;flex:none;max-width:60%;min-height:0;display:flex;position:relative}.panel-resize{z-index:5;cursor:col-resize;touch-action:none;width:8px;position:absolute;top:0;bottom:0;left:-4px}.panel-resize:hover{background:linear-gradient(to right, transparent 3px, var(--border-strong) 3px, var(--border-strong) 5px, transparent 5px)}.panel-tabs{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:2px;height:44px;padding:0 6px 0 8px;display:flex}.panel-tabs>button:not(.icon-btn){height:28px;color:var(--fg-muted);border-radius:7px;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;display:inline-flex}.panel-tabs>button.chosen{background:var(--selected);color:var(--fg)}.panel-tabs .icon-btn{width:28px;height:28px}.panel-body{flex:1;min-height:0}@media (width<=1000px){.side-panel{width:min(100%, var(--panel-w,420px));z-index:20;max-width:none;box-shadow:var(--shadow-lg);position:absolute;inset:0 0 0 auto}.panel-resize{display:none}}@media (width<=760px){.side-panel{width:100%;padding-top:env(safe-area-inset-top)}.side-row,.side-search input{font-size:15px}.side-row{height:40px}.side-search input{font-size:16px}.chat-head{padding:max(6px, env(safe-area-inset-top)) 6px 6px 4px}}.agent-tabs{padding:4px 10px}.agent-tabs .file-tab{padding-right:4px}.agent-tabs .file-tab .icon{color:var(--fg-faint);flex:none}.tab-close{width:18px;height:18px;color:var(--fg-faint);border-radius:5px;flex:none;place-items:center;display:grid}.tab-close:hover{background:var(--hover);color:var(--fg)}
|
|
Binary file
|
|
Binary file
|