omo-web 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +52 -42
- package/dist/server.js +553 -173
- package/package.json +1 -1
- package/public/dag-graph.css +46 -0
- package/public/index.html +89 -22
- package/public/styles.css +1 -1
- package/public/tool-ledger.css +6 -5
- package/public/workbench.css +38 -6
package/package.json
CHANGED
package/public/dag-graph.css
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
align-content: center;
|
|
58
58
|
justify-items: center;
|
|
59
59
|
gap: .125rem;
|
|
60
|
+
padding: var(--s1);
|
|
60
61
|
border: var(--stroke) solid var(--line);
|
|
61
62
|
border-radius: var(--r1);
|
|
62
63
|
background: var(--surface);
|
|
@@ -65,6 +66,15 @@
|
|
|
65
66
|
line-height: 1.18;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
.dag-graph-node strong {
|
|
70
|
+
max-inline-size: 100%;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
text-overflow: ellipsis;
|
|
73
|
+
white-space: nowrap;
|
|
74
|
+
}
|
|
75
|
+
.dag-graph-node:hover { background: var(--hover); }
|
|
76
|
+
.dag-graph-node:active { background: var(--selection-surface); }
|
|
77
|
+
.dag-graph-node:focus-visible { outline-offset: calc(-1 * var(--focus)); }
|
|
68
78
|
.dag-graph-node span { color: var(--muted); }
|
|
69
79
|
.dag-graph-node[data-state="running"] { border-color: var(--accent); }
|
|
70
80
|
.dag-graph-node[data-state="failed"] { border-color: var(--error); }
|
|
@@ -73,6 +83,42 @@
|
|
|
73
83
|
.dag-graph-text:not([open]) > .dag-readout { display: none; }
|
|
74
84
|
.dag-graph-text > .dag-readout { margin-block-start: var(--s2); }
|
|
75
85
|
|
|
86
|
+
.dag-roster-progress,
|
|
87
|
+
.dag-roster-counts {
|
|
88
|
+
display: block;
|
|
89
|
+
font-size: var(--small);
|
|
90
|
+
overflow-wrap: anywhere;
|
|
91
|
+
}
|
|
92
|
+
.dag-roster-progress,
|
|
93
|
+
.dag-verified-roster { font-weight: 650; }
|
|
94
|
+
.dag-roster-counts { color: var(--muted); }
|
|
95
|
+
.dag-graph-text[open] .dag-wave-preview { display: none; }
|
|
96
|
+
.dag-node-detail { scroll-margin-block-start: var(--s2); }
|
|
97
|
+
.dag-node-detail + .dag-node-detail {
|
|
98
|
+
border-block-start: var(--stroke) solid var(--line);
|
|
99
|
+
padding-block-start: var(--s1);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.runtime-execution > summary,
|
|
103
|
+
.task-run > summary {
|
|
104
|
+
padding: var(--s1) var(--s2);
|
|
105
|
+
scroll-margin-block-start: var(--s2);
|
|
106
|
+
}
|
|
107
|
+
.task-run > summary {
|
|
108
|
+
min-block-size: var(--control);
|
|
109
|
+
background: var(--page);
|
|
110
|
+
}
|
|
111
|
+
.runtime-execution > summary:hover,
|
|
112
|
+
.task-run > summary:hover { background: var(--hover); }
|
|
113
|
+
.runtime-execution > summary:active,
|
|
114
|
+
.task-run > summary:active { background: var(--selection-surface); }
|
|
115
|
+
.runtime-execution > .fold-body,
|
|
116
|
+
.task-run > .fold-body { padding: var(--s2); }
|
|
117
|
+
.runtime-execution .button,
|
|
118
|
+
.task-run .button { justify-self: start; }
|
|
119
|
+
#details-dialog:modal :is(.runtime-execution, .task-run) > summary,
|
|
120
|
+
#details-dialog:modal :is(.runtime-execution, .task-run) .button { min-block-size: var(--touch); }
|
|
121
|
+
|
|
76
122
|
@media (forced-colors: active) {
|
|
77
123
|
.dag-graph-edges > path { stroke: CanvasText; }
|
|
78
124
|
.dag-graph-edges marker path { fill: CanvasText; }
|
package/public/index.html
CHANGED
|
@@ -6,6 +6,49 @@
|
|
|
6
6
|
<meta name="color-scheme" content="light dark">
|
|
7
7
|
<title data-en="OmO Web · Session workbench">OmO Web · 会话工作台</title>
|
|
8
8
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
9
|
+
<!-- Keep this fallback in sync with its style-src hash in src/web-access.ts. -->
|
|
10
|
+
<style>
|
|
11
|
+
@layer tool-layout-fallback {
|
|
12
|
+
:where(.message--tool, .tool-group) {
|
|
13
|
+
min-inline-size: 0;
|
|
14
|
+
overflow-wrap: anywhere;
|
|
15
|
+
}
|
|
16
|
+
.message-body:has(> :is(.message--tool, .tool-group)) { min-inline-size: 0; }
|
|
17
|
+
:where(.message--tool, .tool-group) [hidden] { display: none !important; }
|
|
18
|
+
:where(.tool-summary, .tool-group-summary, .tool-details summary) {
|
|
19
|
+
align-content: center;
|
|
20
|
+
min-block-size: var(--touch, 2.75rem);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
.tool-subject, .tool-state {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
flex-wrap: wrap;
|
|
27
|
+
gap: 0 var(--s1, .25rem);
|
|
28
|
+
max-inline-size: 100%;
|
|
29
|
+
}
|
|
30
|
+
:where(.tool-subject, .tool-state) > span { min-inline-size: 0; }
|
|
31
|
+
:where(.message--tool, .tool-group) :is(p, ul, ol, dl, dd, pre) { margin: 0; }
|
|
32
|
+
.tool-details > .fold-body, .tool-card-content { padding: var(--s2, .5rem); }
|
|
33
|
+
.tool-card-facts { display: flex; flex-wrap: wrap; gap: var(--s2, .5rem) var(--s6, 1.5rem); }
|
|
34
|
+
.tool-details :where(.fold-body, .tool-scene, .tool-result, .tool-terminal-input, .tool-output) {
|
|
35
|
+
min-inline-size: 0;
|
|
36
|
+
grid-template-columns: minmax(0, 1fr);
|
|
37
|
+
}
|
|
38
|
+
.tool-card-emblem, .tool-group .tool-card-preview, .tool-card-inline,
|
|
39
|
+
.tool-details[open] + .tool-card-preview > .tool-card-content { display: none; }
|
|
40
|
+
.tool-details pre, .tool-output {
|
|
41
|
+
max-block-size: var(--code-height, 22rem);
|
|
42
|
+
overflow: auto;
|
|
43
|
+
}
|
|
44
|
+
.tool-output pre { max-block-size: none; overflow: visible; }
|
|
45
|
+
.tool-output img {
|
|
46
|
+
max-inline-size: 100%;
|
|
47
|
+
max-block-size: var(--code-height, 22rem);
|
|
48
|
+
object-fit: contain;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
</style>
|
|
9
52
|
<link rel="stylesheet" href="/styles.css">
|
|
10
53
|
<link rel="stylesheet" href="/workbench.css">
|
|
11
54
|
<link rel="stylesheet" href="/tool-ledger.css">
|
|
@@ -31,7 +74,7 @@
|
|
|
31
74
|
</button>
|
|
32
75
|
<label class="field" id="workspace-field" hidden><span class="sr-only" data-en="Filter by directory">目录筛选</span><select id="workspace-select"></select></label>
|
|
33
76
|
<button type="button" class="button" id="workspace-browser-button" aria-label="目录" data-en-aria-label="Directories" title="浏览目录" data-en-title="Browse directories" aria-haspopup="dialog" aria-controls="workspace-browser-dialog" hidden>
|
|
34
|
-
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#browse"/></svg><span aria-hidden="true" data-en="Browse">目录</span>
|
|
77
|
+
<svg class="icon" width="12" height="12" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#browse"/></svg><span aria-hidden="true" data-en="Browse">目录</span>
|
|
35
78
|
</button>
|
|
36
79
|
</div>
|
|
37
80
|
<label class="field"><span class="sr-only" data-en="Search sessions or directories">搜索会话或目录</span><input id="search" type="search" placeholder="搜索会话或目录" data-en-placeholder="Session or directory" autocomplete="off"></label>
|
|
@@ -39,21 +82,20 @@
|
|
|
39
82
|
<button type="button" class="button button--quiet" id="recent" aria-pressed="true" data-en="Recent">最近</button>
|
|
40
83
|
<button type="button" class="button button--quiet" id="archived" aria-pressed="false" data-en="Archived">已归档</button>
|
|
41
84
|
</div>
|
|
42
|
-
<div class="cli-launchers" role="group" aria-label="
|
|
43
|
-
<button type="button" class="button
|
|
44
|
-
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#
|
|
85
|
+
<div class="cli-launchers" role="group" aria-label="会话入口" data-en-aria-label="Session actions">
|
|
86
|
+
<button type="button" class="button" id="cli-history-button" aria-haspopup="dialog" aria-controls="cli-history-dialog">
|
|
87
|
+
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#history"/></svg><span data-en="Open session">打开会话</span>
|
|
45
88
|
</button>
|
|
46
|
-
<button type="button" class="button button--quiet" id="cli-
|
|
47
|
-
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#
|
|
89
|
+
<button type="button" class="button button--quiet" id="cli-live-button" aria-haspopup="dialog" aria-label="CLI 实时" data-en-aria-label="Live CLI">
|
|
90
|
+
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#live"/></svg><span data-en="Live">实时</span>
|
|
48
91
|
</button>
|
|
49
92
|
<button type="button" class="button button--quiet" id="cli-follow-button" aria-controls="cli-follow-view" aria-pressed="false" aria-label="跟随 CLI" data-en-aria-label="Follow CLI">
|
|
50
|
-
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#follow"/></svg><span data-en="Follow"
|
|
93
|
+
<svg class="icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#follow"/></svg><span data-en="Follow">跟随</span>
|
|
51
94
|
</button>
|
|
52
95
|
</div>
|
|
53
96
|
</div>
|
|
54
97
|
<div class="session-rail">
|
|
55
|
-
<nav class="sessions" aria-label="
|
|
56
|
-
<nav class="sessions" id="cli-sessions" aria-label="CLI 会话" data-en-aria-label="CLI sessions" hidden><p class="muted small" id="cli-sessions-label" data-en="Local CLI sessions">本机 CLI 会话</p><ul id="cli-session-list"></ul><p id="cli-list-empty" class="muted small" hidden></p></nav>
|
|
98
|
+
<nav class="sessions" aria-label="已打开的会话" data-en-aria-label="Opened sessions"><div id="session-list"></div><p id="list-empty" class="muted small" data-en="Loading sessions…">正在读取会话…</p></nav>
|
|
57
99
|
</div>
|
|
58
100
|
<div class="sidebar-footer stack stack--tight">
|
|
59
101
|
<p id="connection" class="connection small" role="status"><span class="status-dot"></span><span id="connection-label" data-en="Connecting">正在连接</span></p>
|
|
@@ -246,7 +288,7 @@
|
|
|
246
288
|
<svg class="icon" viewBox="0 0 15 15" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#hud-todo"/></svg><span data-en="Todo">待办</span>
|
|
247
289
|
</button>
|
|
248
290
|
<button type="button" class="button button--quiet" id="runtime-open-capabilities" role="tab" aria-selected="false" aria-controls="runtime-capabilities" tabindex="-1">
|
|
249
|
-
<svg class="icon" viewBox="0 0 15 15" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#hud-tools"/></svg><span data-en="Tools">能力</span>
|
|
291
|
+
<svg class="icon" width="16" height="16" viewBox="0 0 15 15" fill="currentColor" aria-hidden="true" focusable="false"><use href="/icons.svg#hud-tools"/></svg><span data-en="Tools">能力</span>
|
|
250
292
|
</button>
|
|
251
293
|
</div>
|
|
252
294
|
<div id="details-scroll" class="details-scroll">
|
|
@@ -254,6 +296,10 @@
|
|
|
254
296
|
<div id="details-body">
|
|
255
297
|
<div id="runtime-metrics" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-overview" tabindex="0"></div>
|
|
256
298
|
<div id="runtime-todo" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-todo" tabindex="0" hidden>
|
|
299
|
+
<details id="runtime-todo-history" class="metric-breakdown">
|
|
300
|
+
<summary data-en="History · Read-only">历史 · 只读</summary>
|
|
301
|
+
<div class="fold-body stack stack--tight"></div>
|
|
302
|
+
</details>
|
|
257
303
|
<section id="runtime-resources" class="runtime-panel stack runtime-resources" aria-labelledby="runtime-resources-title">
|
|
258
304
|
<h3 id="runtime-resources-title" tabindex="-1" data-en="Resources">资料</h3>
|
|
259
305
|
<section id="runtime-memory" class="subpanel stack stack--tight" aria-label="记忆" data-en-aria-label="Memory">
|
|
@@ -276,7 +322,13 @@
|
|
|
276
322
|
</div>
|
|
277
323
|
<div id="details-native-activity">
|
|
278
324
|
<div id="runtime-subagent" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-subagents" tabindex="0" hidden></div>
|
|
279
|
-
<div id="runtime-dag" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-dag" tabindex="0" hidden
|
|
325
|
+
<div id="runtime-dag" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-dag" tabindex="0" hidden>
|
|
326
|
+
<div id="runtime-dag-current" class="runtime-panel stack"></div>
|
|
327
|
+
<details id="runtime-dag-history" class="metric-breakdown">
|
|
328
|
+
<summary data-en="History · Read-only">历史 · 只读</summary>
|
|
329
|
+
<div class="fold-body stack stack--tight"></div>
|
|
330
|
+
</details>
|
|
331
|
+
</div>
|
|
280
332
|
</div>
|
|
281
333
|
<div id="runtime-capabilities" class="runtime-panel stack" role="tabpanel" aria-labelledby="runtime-open-capabilities" tabindex="0" hidden>
|
|
282
334
|
<p id="capabilities-status" class="sr-only" role="status"></p>
|
|
@@ -387,25 +439,40 @@
|
|
|
387
439
|
<dialog id="cli-history-dialog" aria-labelledby="cli-history-title">
|
|
388
440
|
<div class="stack">
|
|
389
441
|
<div class="row row--between">
|
|
390
|
-
<h2 id="cli-history-title" data-en="
|
|
391
|
-
<button type="button" class="button button--quiet" data-close data-en="Close">关闭</button>
|
|
442
|
+
<h2 id="cli-history-title" data-en="Open a session">打开会话</h2>
|
|
443
|
+
<button type="button" class="button button--quiet" id="cli-history-title-close" data-close data-en="Close">关闭</button>
|
|
392
444
|
</div>
|
|
393
|
-
<
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<
|
|
445
|
+
<section id="cli-history-index" class="stack" aria-label="目录会话" data-en-aria-label="Directory sessions">
|
|
446
|
+
<div class="workspace-path-form">
|
|
447
|
+
<label class="field"><span data-en="Working directory">工作目录</span><select id="cli-history-directory" aria-describedby="cli-history-directory-path" autofocus></select></label>
|
|
448
|
+
<button type="button" class="button" id="cli-history-browse" aria-haspopup="dialog" aria-controls="workspace-browser-dialog" data-en="Browse directories" hidden>浏览目录</button>
|
|
449
|
+
<p id="cli-history-directory-path" class="path small muted workspace-full-path" dir="ltr" hidden></p>
|
|
450
|
+
</div>
|
|
451
|
+
<p id="cli-history-directory-hint" class="small muted" data-en="Choose a directory to list its sessions. This won’t open a session.">先选目录查看会话,不会直接打开。</p>
|
|
452
|
+
<div id="cli-history-results" class="stack" hidden>
|
|
453
|
+
<label class="field"><span data-en="Filter by session name">按会话名称筛选</span><input id="cli-history-search" type="search" placeholder="会话名称" data-en-placeholder="Session name" autocomplete="off"></label>
|
|
454
|
+
<section id="cli-history-bookmarks" class="stack stack--tight" aria-labelledby="cli-history-bookmarks-title" hidden>
|
|
455
|
+
<h3 id="cli-history-bookmarks-title" data-en="Opened in Web">已在 Web 打开</h3>
|
|
456
|
+
<ul id="cli-history-web-list" class="command-list"></ul>
|
|
457
|
+
</section>
|
|
458
|
+
<section class="stack stack--tight" aria-labelledby="cli-history-list-title">
|
|
459
|
+
<h3 id="cli-history-list-title" data-en="CLI history">CLI 历史</h3>
|
|
460
|
+
<ul id="cli-history-list" class="command-list" hidden></ul>
|
|
461
|
+
<p id="cli-history-list-status" class="small muted" role="status" hidden></p>
|
|
462
|
+
<p id="cli-history-list-error" class="notice error small" role="alert" hidden></p>
|
|
463
|
+
<div class="row"><button type="button" class="button" id="cli-history-refresh" data-en="Refresh list">刷新列表</button></div>
|
|
464
|
+
</section>
|
|
465
|
+
</div>
|
|
400
466
|
</section>
|
|
401
467
|
<section id="cli-history-record" class="stack" aria-labelledby="cli-history-record-title" hidden>
|
|
402
468
|
<div class="row row--between">
|
|
403
469
|
<button type="button" class="button" id="cli-history-back" data-en="Back to list">返回列表</button>
|
|
404
|
-
<button type="button" class="button" id="cli-history-refresh-activity" data-en="
|
|
470
|
+
<button type="button" class="button" id="cli-history-refresh-activity" data-en="Read native snapshot">读取原生快照</button>
|
|
405
471
|
</div>
|
|
406
472
|
<div class="stack stack--tight">
|
|
407
473
|
<h3 id="cli-history-record-title" tabindex="-1"></h3>
|
|
408
|
-
<p id="cli-history-record-meta" class="small muted
|
|
474
|
+
<p id="cli-history-record-meta" class="small muted path workspace-full-path" dir="ltr"></p>
|
|
475
|
+
<p id="cli-history-record-updated" class="small muted numerical" hidden></p>
|
|
409
476
|
<div class="row">
|
|
410
477
|
<button type="button" class="button button--primary" id="cli-history-resume" aria-describedby="cli-history-resume-status" data-en="Continue in Web" disabled>在 Web 继续</button>
|
|
411
478
|
<button type="button" class="button" id="cli-history-branch" aria-haspopup="dialog" data-en="Branch / Copy" disabled>分支 / 复制</button>
|
package/public/styles.css
CHANGED
|
@@ -312,7 +312,7 @@ legend { padding-inline: var(--s1); font-size: var(--small); color: var(--muted)
|
|
|
312
312
|
.message:has(> header) { padding: var(--s2) var(--s3); background: var(--turn-surface); border-radius: var(--r2); }
|
|
313
313
|
.message--user:has(> header) { background: var(--user-surface); }
|
|
314
314
|
.message--tool { gap: 0; }
|
|
315
|
-
.message details { border: var(--stroke) solid var(--line); border-radius: var(--r1); background: var(--tool-surface); }
|
|
315
|
+
.message details:where(:not(.skill-instructions)) { border: var(--stroke) solid var(--line); border-radius: var(--r1); background: var(--tool-surface); }
|
|
316
316
|
.tool-summary {
|
|
317
317
|
display: grid;
|
|
318
318
|
grid-template-columns: var(--s2) minmax(0, 1fr) auto;
|
package/public/tool-ledger.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.message :is(.tool-summary, .tool-group-summary, .tool-details summary) {
|
|
9
|
-
min-block-size: var(--ledger-control, var(--control));
|
|
9
|
+
min-block-size: var(--ledger-control, var(--control, 2.25rem));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.tool-summary {
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
flex-wrap: wrap;
|
|
24
24
|
align-items: baseline;
|
|
25
|
-
gap: 0 var(--s2);
|
|
26
|
-
padding-inline-start: var(--s6);
|
|
25
|
+
gap: 0 var(--s2, .5rem);
|
|
26
|
+
padding-inline-start: var(--s6, 1.5rem);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.tool-kind-icon {
|
|
30
30
|
position: absolute;
|
|
31
31
|
inset-inline-start: 0;
|
|
32
|
-
inset-block-start: var(--focus);
|
|
32
|
+
inset-block-start: var(--focus, 2px);
|
|
33
33
|
color: var(--muted);
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
white-space: nowrap;
|
|
117
117
|
}
|
|
118
118
|
.tool-card-emblem {
|
|
119
|
+
display: block;
|
|
119
120
|
position: absolute;
|
|
120
121
|
z-index: -1;
|
|
121
122
|
inset-block-start: var(--s3);
|
|
@@ -250,7 +251,7 @@
|
|
|
250
251
|
}
|
|
251
252
|
|
|
252
253
|
@media (max-width: 760px), (any-pointer: coarse) {
|
|
253
|
-
.message :is(.tool-group-summary, .tool-details summary) { min-block-size: var(--touch); }
|
|
254
|
+
.message :is(.tool-group-summary, .tool-details summary) { min-block-size: var(--touch, 2.75rem); }
|
|
254
255
|
}
|
|
255
256
|
|
|
256
257
|
.message .tool-details > .fold-body {
|
package/public/workbench.css
CHANGED
|
@@ -6,7 +6,27 @@
|
|
|
6
6
|
--hud-sweep-line: color-mix(in srgb, var(--accent), transparent 94%);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
#cli-history-list
|
|
9
|
+
:is(#cli-history-list, #cli-history-web-list) { gap: var(--s1); padding: 0; }
|
|
10
|
+
:is(#cli-history-list, #cli-history-web-list, #session-list) .session-link {
|
|
11
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: stretch;
|
|
14
|
+
gap: var(--s1) var(--s2);
|
|
15
|
+
}
|
|
16
|
+
:is(#cli-history-list, #cli-history-web-list) .session-link span { white-space: normal; overflow-wrap: anywhere; }
|
|
17
|
+
#cli-history-directory { inline-size: 100%; min-inline-size: 0; text-overflow: ellipsis; }
|
|
18
|
+
#cli-history-directory-path { padding-inline: var(--s1); }
|
|
19
|
+
:is(#cli-history-activity, #cli-history-messages):empty { display: none; }
|
|
20
|
+
.sessions .session-group + .session-group { margin-block-start: var(--s3); }
|
|
21
|
+
.session-group { display: grid; min-inline-size: 0; gap: var(--s1); }
|
|
22
|
+
.session-group-heading {
|
|
23
|
+
padding-inline: var(--s3);
|
|
24
|
+
color: var(--ink);
|
|
25
|
+
font-size: var(--small);
|
|
26
|
+
text-wrap: wrap;
|
|
27
|
+
}
|
|
28
|
+
.sessions .session-group-path { padding: 0 var(--s3); font-size: var(--caption); }
|
|
29
|
+
#session-list .session-link { color: var(--ink); }
|
|
10
30
|
.workspace-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: inherit; }
|
|
11
31
|
.workspace-tools:has(#workspace-browser-button:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
12
32
|
.workspace-tools:has(#workspace-field:not([hidden])) > #new-sidebar { grid-column: 1 / -1; }
|
|
@@ -52,9 +72,10 @@ button.workspace-entry { color: var(--accent); }
|
|
|
52
72
|
color: var(--warning);
|
|
53
73
|
}
|
|
54
74
|
.workspace-approval > .workspace-full-path { color: var(--ink); }
|
|
55
|
-
.cli-launchers { display: grid; grid-template-columns: repeat(
|
|
75
|
+
.cli-launchers { display: grid; grid-template-columns: max-content repeat(2, minmax(0, 1fr)); gap: var(--s1); }
|
|
56
76
|
.cli-launchers .button { gap: var(--s1); padding-inline: var(--s1); font-size: var(--caption); line-height: 1.25; text-wrap: balance; }
|
|
57
77
|
.cli-launchers .icon { inline-size: var(--s3); block-size: var(--s3); }
|
|
78
|
+
#cli-history-button { color: var(--accent); }
|
|
58
79
|
#cli-follow-button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent); }
|
|
59
80
|
.workspace-actions #cli-follow-stop { inline-size: auto; padding-inline: var(--s2); white-space: nowrap; }
|
|
60
81
|
#cli-follow-view { padding-block-start: 0; }
|
|
@@ -402,7 +423,9 @@ button.workspace-entry { color: var(--accent); }
|
|
|
402
423
|
#runtime-memory-branch-content .details-list dd { text-align: end; }
|
|
403
424
|
#runtime-instructions { --runtime-fold-radius: var(--r2); padding: 0; background: var(--surface); }
|
|
404
425
|
#runtime-instructions-text { white-space: pre-wrap; }
|
|
405
|
-
#details-dialog:modal .runtime-resources summary
|
|
426
|
+
#details-dialog:modal :is(.runtime-resources summary, #runtime-todo-history > summary, #runtime-dag-history > summary) {
|
|
427
|
+
min-block-size: var(--touch);
|
|
428
|
+
}
|
|
406
429
|
|
|
407
430
|
#rail-toggle {
|
|
408
431
|
flex: none;
|
|
@@ -565,9 +588,6 @@ button.workspace-entry { color: var(--accent); }
|
|
|
565
588
|
|
|
566
589
|
@media (width > 760px) {
|
|
567
590
|
.sidebar-head { padding-block: var(--s4) var(--s2); gap: var(--s2); }
|
|
568
|
-
#session-list .session-link { grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--s2); }
|
|
569
|
-
#session-list .session-link > :first-child { grid-column: 1 / -1; }
|
|
570
|
-
#session-list .session-link > small { grid-area: 2 / 2; }
|
|
571
591
|
:is(#messages, #cli-follow-messages) > .message > header { flex-direction: column; gap: 0; }
|
|
572
592
|
:is(#messages, #cli-follow-messages) > .message--user > header { padding-block-start: var(--s1); }
|
|
573
593
|
.request-controls--choice { display: flex; flex-wrap: wrap; align-items: end; }
|
|
@@ -587,6 +607,18 @@ button.workspace-entry { color: var(--accent); }
|
|
|
587
607
|
#workspace-select { padding-inline: var(--s2); }
|
|
588
608
|
}
|
|
589
609
|
|
|
610
|
+
@media (max-width: 760px) {
|
|
611
|
+
#cli-history-index > .workspace-path-form { grid-template-columns: minmax(0, 1fr); }
|
|
612
|
+
#cli-history-directory-path { grid-row: 2; }
|
|
613
|
+
#cli-history-browse { justify-self: start; }
|
|
614
|
+
:is(#cli-history-list, #cli-history-web-list) .session-link { grid-template-columns: minmax(0, 1fr); }
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
@media (width <= 760px) and (height <= 36rem) {
|
|
618
|
+
.sidebar.is-open { grid-template-rows: repeat(3, max-content); align-content: start; overflow: auto; overscroll-behavior: contain; }
|
|
619
|
+
.sidebar.is-open .session-rail { overflow: visible; }
|
|
620
|
+
}
|
|
621
|
+
|
|
590
622
|
@container workbench (inline-size < 40rem) {
|
|
591
623
|
.session-heading:has(#session-path-trigger:not([hidden])) { position: relative; display: grid; align-content: center; }
|
|
592
624
|
#session-path:not([hidden]):not([data-workspace-label]) {
|