agents-relay 2.0.266 → 2.0.268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dashboard/dashboard.css +246 -0
- package/dashboard/dashboard.js +498 -0
- package/dashboard/icons/icon-180.png +0 -0
- package/dashboard/icons/icon-192.png +0 -0
- package/dashboard/icons/icon-512.png +0 -0
- package/dashboard/index.html +92 -0
- package/dashboard/jel-function.js +193 -0
- package/dashboard/manifest.webmanifest +25 -0
- package/dashboard/pwa.js +6 -0
- package/dashboard/service-worker.js +24 -0
- package/dist/dashboard-html.js +23 -483
- package/dist/dashboard-style.js +3 -223
- package/dist/dashboard.js +34 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -250,7 +250,7 @@ This small live suite covers two Temporary Chat submission gates: a normal text
|
|
|
250
250
|
prompt and a prompt with an attachment. It does not exercise worker lifecycle
|
|
251
251
|
events, durable-thread reuse, resume, or retry behavior.
|
|
252
252
|
|
|
253
|
-
Open the dashboard on localhost port 8787. The marker format is intentionally public and append-friendly. Daemon/workspace operation reads the SQLite RelayStore inventory; historical GitHub audit evidence is not refreshed during Job execution.
|
|
253
|
+
Open the dashboard on localhost port 8787. Its frontend is also an installable PWA with a shared Node/Rust static shell. The Service Worker caches only public assets, never Job data or SSE; see [Dashboard PWA migration](docs/DASHBOARD_PWA.md) for HTTPS installation and Rust backend readiness. The marker format is intentionally public and append-friendly. Daemon/workspace operation reads the SQLite RelayStore inventory; historical GitHub audit evidence is not refreshed during Job execution.
|
|
254
254
|
|
|
255
255
|
Deterministic projection conflicts are safe and observable. A same-id/different-definition `append_task`/`append_plan` is classified once into a durable `conflict` state, stops consuming retry budget, keeps structured divergence evidence, and is never auto-overwritten. Historical projection conflict rows remain in SQLite for audit; the PR projection CLI is retired.
|
|
256
256
|
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
|
|
2
|
+
:root { color-scheme: light dark; --bg:#f3f5f8; --surface:#fff; --surface2:#f8fafc; --border:#d8dee7; --text:#17202b; --muted:#687587; --accent:#285f86; --accent2:#e8f1f8; --ok:#19703a; --warn:#8b5b08; --bad:#a33c3c; --shadow:0 1px 2px rgba(15,23,42,.06); }
|
|
3
|
+
* { box-sizing:border-box; }
|
|
4
|
+
[hidden] { display:none !important; }
|
|
5
|
+
body { margin:0; min-height:100vh; background:var(--bg); color:var(--text); font:14px/1.45 ui-sans-serif,system-ui,sans-serif; }
|
|
6
|
+
header { position:sticky; top:0; z-index:3; background:var(--surface); border-bottom:1px solid var(--border); padding:.8rem 1rem; }
|
|
7
|
+
.brand { display:flex; align-items:baseline; gap:.65rem; min-width:0; }
|
|
8
|
+
.version { margin-left:auto; color:var(--muted); font-size:.72rem; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; }
|
|
9
|
+
.runtime-summary { display:flex; gap:.4rem; align-items:center; flex-wrap:wrap; margin-top:.55rem; }
|
|
10
|
+
.runtime-stat { padding:.18rem .45rem; border:1px solid var(--border); border-radius:999px; background:var(--surface2); color:var(--muted); font-size:.72rem; white-space:nowrap; }
|
|
11
|
+
.runtime-stat strong { color:var(--text); }
|
|
12
|
+
h1 { margin:0; font-size:1.08rem; letter-spacing:-.02em; }
|
|
13
|
+
.tagline,.subtle { color:var(--muted); font-size:.78rem; }
|
|
14
|
+
.warning-banner { margin:.65rem 0 0; padding:.5rem .65rem; border:1px solid #e6bf62; border-radius:.4rem; background:#fff4d6; color:#6f4b00; font-size:.78rem; font-weight:700; }
|
|
15
|
+
.tagline { margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
16
|
+
nav[role="tablist"] { display:flex; gap:.3rem; margin-top:.65rem; }
|
|
17
|
+
nav button { border:0; border-radius:.35rem; background:transparent; color:var(--muted); padding:.38rem .68rem; font:inherit; font-weight:700; cursor:pointer; }
|
|
18
|
+
nav button[aria-selected="true"] { background:var(--accent); color:#fff; }
|
|
19
|
+
button:focus-visible,a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
20
|
+
main { max-width:1500px; margin:auto; padding:1rem; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1rem; align-items:start; }
|
|
21
|
+
.panel { min-width:0; background:var(--surface); border:1px solid var(--border); border-radius:.55rem; box-shadow:var(--shadow); }
|
|
22
|
+
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.65rem .75rem; border-bottom:1px solid var(--border); }
|
|
23
|
+
.panel-head h2,.panel-head h3 { margin:0; color:var(--muted); font-size:.75rem; letter-spacing:.07em; text-transform:uppercase; min-width:0; }
|
|
24
|
+
#workspace-heading { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
25
|
+
#selected-job-title { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
26
|
+
.panel-actions { display:flex; align-items:center; gap:.55rem; flex-wrap:wrap; min-width:0; }
|
|
27
|
+
#jobs-view .panel-head { display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
|
|
28
|
+
#jobs-view .panel-actions { display:flex; align-items:center; justify-content:flex-end; gap:.4rem; flex-wrap:wrap; min-width:0; }
|
|
29
|
+
.job-filters,.jobs-actions { display:flex; align-items:center; gap:.35rem; min-width:0; }
|
|
30
|
+
.job-filters { flex:1 1 auto; }
|
|
31
|
+
.jobs-actions { flex:none; }
|
|
32
|
+
.job-filter,.refresh-button { min-height:2rem; border:1px solid var(--border); border-radius:.45rem; background:var(--surface); color:var(--text); padding:.3rem .5rem; font:inherit; font-size:.72rem; font-weight:650; }
|
|
33
|
+
.job-filter { width:8rem; max-width:8rem; flex:none; }
|
|
34
|
+
#status-filter { width:9.5rem; max-width:9.5rem; font-size:.66rem; }
|
|
35
|
+
#repo-filter { width:8rem; max-width:8rem; }
|
|
36
|
+
.refresh-button { color:var(--muted); font-weight:700; cursor:pointer; transition:border-color .15s ease,background .15s ease; }
|
|
37
|
+
.refresh-button:hover { background:#ffffff10; color:var(--text); }
|
|
38
|
+
.job-filter:focus-visible,.refresh-button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
39
|
+
.jobs-feedback { flex:none; min-width:0; max-width:12rem; font-size:.67rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
40
|
+
.jobs-feedback:empty { display:none; }
|
|
41
|
+
.jobs-feedback:not(:empty) { flex-basis:100%; max-width:none; text-align:right; white-space:normal; }
|
|
42
|
+
.job-search { flex:1 1 11rem; width:12rem; min-width:8rem; max-width:18rem; border:1px solid var(--border); border-radius:.45rem; background:var(--surface); color:var(--text); padding:.3rem .5rem; font:inherit; font-size:.72rem; }
|
|
43
|
+
.job-search:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
44
|
+
.quick-filter { border:1px solid var(--border); border-radius:.35rem; background:var(--surface); color:var(--muted); padding:.27rem .42rem; font:inherit; font-size:.7rem; font-weight:750; cursor:pointer; }
|
|
45
|
+
.quick-filter[aria-pressed="true"] { border-color:var(--accent); background:var(--accent2); color:var(--accent); }
|
|
46
|
+
.refresh-button { border:1px solid var(--border); border-radius:.35rem; background:var(--surface); color:var(--muted); padding:.28rem .55rem; font:inherit; font-size:.72rem; font-weight:700; cursor:pointer; }
|
|
47
|
+
.refresh-button:disabled { cursor:default; opacity:.55; }
|
|
48
|
+
.icon-button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:2.5rem; height:2.5rem; padding:0; border:0; border-radius:50%; color:var(--muted); background:transparent; cursor:pointer; }
|
|
49
|
+
.icon-button svg { display:block; width:1.3rem; height:1.3rem; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
|
|
50
|
+
.icon-button:hover { color:var(--accent); background:var(--accent2); }
|
|
51
|
+
.icon-button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
52
|
+
.icon-button:disabled { cursor:default; opacity:.4; }
|
|
53
|
+
.job-status-button[data-state="ACTIVE"],.job-status-button[data-state="COMPLETED"] { color:var(--ok); background:#e5f3e9; }
|
|
54
|
+
.job-status-button[data-state="DRAFT"] { color:#3f51b5; background:#eef2ff; }
|
|
55
|
+
.job-status-button[data-state="CANCELLED"],.job-status-button[data-state="IDLE"] { color:var(--muted); background:#edf0f4; }
|
|
56
|
+
.job-status-button .status-center { fill:currentColor; stroke:none; }
|
|
57
|
+
.job-state-select[data-state="ACTIVE"],.job-state-select[data-state="COMPLETED"] { color:var(--ok); background:#e5f3e9; border-color:transparent; }
|
|
58
|
+
.job-state-select[data-state="DRAFT"] { color:#3f51b5; background:#eef2ff; border-color:transparent; }
|
|
59
|
+
.job-state-select[data-state="CANCELLED"] { color:var(--muted); background:#edf0f4; border-color:transparent; }
|
|
60
|
+
.mobile-only { display:none; }
|
|
61
|
+
.panel-body { padding:.75rem; overflow:auto; max-height:calc(100vh - 11.5rem); }
|
|
62
|
+
#jobs-workspace > .panel:first-child .panel-body { overflow:visible; max-height:none; }
|
|
63
|
+
.jobs-panel { grid-row:1/span 2; }
|
|
64
|
+
.workspace { display:grid; gap:1rem; }
|
|
65
|
+
.job-list,.tree,.event-list { list-style:none; margin:0; padding:0; }
|
|
66
|
+
.job-list { display:grid; gap:.35rem; }
|
|
67
|
+
.job-row { display:grid; gap:.2rem; padding:.35rem .45rem; border:1px solid transparent; border-radius:.4rem; cursor:pointer; }
|
|
68
|
+
.job-row[aria-current="true"] { border-color:var(--accent); background:var(--accent2); }
|
|
69
|
+
.job-row.complete-unmerged { border-color:#d69a1b; background:#fff8df; }
|
|
70
|
+
.job-row.complete-unmerged[aria-current="true"] { border-color:#b77900; background:#fff0bd; }
|
|
71
|
+
.job-content { min-width:0; display:grid; gap:.2rem; }
|
|
72
|
+
.job-button { min-width:0; display:block; padding:.12rem 0; border:0; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer; }
|
|
73
|
+
.job-title { font-weight:750; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
74
|
+
.job-last-line { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-width:0; }
|
|
75
|
+
.job-last-line .subtle:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
76
|
+
.job-last-line .subtle:last-child { flex:none; white-space:nowrap; }
|
|
77
|
+
.job-primary { display:flex; align-items:center; justify-content:space-between; gap:.45rem; min-width:0; }
|
|
78
|
+
.job-status-line { display:flex; align-items:center; gap:.3rem; min-width:0; white-space:nowrap; }
|
|
79
|
+
.job-status-line .badge { flex:0 0 auto; }
|
|
80
|
+
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:.06rem .42rem; min-height:1.35rem; font-size:.68rem; font-weight:800; }
|
|
81
|
+
.badge.ACTIVE,.badge.RUNNING,.badge.SUCCEEDED,.badge.COMPLETED,.badge.MERGED { background:#e5f3e9; color:var(--ok); }
|
|
82
|
+
.badge.BLOCKED,.badge.DRAFT,.badge.QUEUED,.badge.WAITING,.badge.AWAITING_DECISION,.badge.OPEN { background:#fff1d2; color:var(--warn); }
|
|
83
|
+
.badge.FAILED { background:#ffe8e8; color:var(--bad); }
|
|
84
|
+
.badge.IDLE,.badge.CANCELLED { background:#edf0f4; color:var(--muted); }
|
|
85
|
+
.badge.DRAFT { background:#eef2ff; color:#3f51b5; }
|
|
86
|
+
.badge.shortcut-mode { background:var(--accent2); color:var(--accent); border:1px solid var(--accent); }
|
|
87
|
+
.badge.MERGE_PENDING { background:#ffe3a3; color:#7a4a00; }
|
|
88
|
+
.details-dialog { width:min(860px,calc(100vw - 1.5rem)); max-height:min(90vh,960px); max-height:min(90dvh,960px); padding:0; overflow:hidden; border:1px solid var(--border); border-radius:.85rem; background:var(--surface); color:var(--text); box-shadow:0 24px 65px #0004; }
|
|
89
|
+
.details-dialog[open] { display:flex; flex-direction:column; }
|
|
90
|
+
.details-dialog::backdrop { background:#17202b99; }
|
|
91
|
+
.details-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; flex:none; padding:1rem 1.25rem; border-bottom:1px solid var(--border); background:var(--surface); }
|
|
92
|
+
.dialog-heading { min-width:0; }
|
|
93
|
+
.dialog-heading h2 { margin:.3rem 0 0; font-size:1.05rem; line-height:1.3; overflow-wrap:anywhere; }
|
|
94
|
+
.dialog-eyebrow { display:flex; align-items:center; gap:.5rem; color:var(--muted); font-size:.75rem; }
|
|
95
|
+
.details-dialog-body { padding:1rem 1.25rem 1.4rem; overflow-y:auto; overscroll-behavior:contain; display:grid; gap:1rem; min-height:0; }
|
|
96
|
+
.dialog-content-section { min-width:0; }
|
|
97
|
+
.dialog-content-section h3 { margin:0 0 .4rem; font-size:.77rem; font-weight:750; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; }
|
|
98
|
+
.dialog-content-body { min-width:0; padding:.85rem 1rem; background:var(--surface2); border:1px solid var(--border); border-radius:.55rem; }
|
|
99
|
+
.dialog-content-text { margin:0; padding:0; border:0; background:none; color:var(--text); font:inherit; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }
|
|
100
|
+
.dialog-empty { margin:0; color:var(--muted); font-size:.82rem; }
|
|
101
|
+
.dialog-comment-list { display:grid; gap:.85rem; list-style:none; padding:0; margin:0; }
|
|
102
|
+
.dialog-comment { min-width:0; padding-bottom:.8rem; border-bottom:1px solid var(--border); }
|
|
103
|
+
.dialog-comment:last-child { padding-bottom:0; border-bottom:0; }
|
|
104
|
+
.dialog-comment-meta { display:flex; gap:.55rem; align-items:baseline; flex-wrap:wrap; color:var(--muted); font-size:.74rem; }
|
|
105
|
+
.dialog-comment-meta strong { color:var(--text); }
|
|
106
|
+
.dialog-comment-text { margin:.35rem 0 0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
|
|
107
|
+
.dialog-metadata { border-top:1px solid var(--border); padding-top:.75rem; }
|
|
108
|
+
.dialog-metadata summary { color:var(--muted); font-size:.78rem; font-weight:700; cursor:pointer; }
|
|
109
|
+
.dialog-metadata[open] { display:grid; gap:.7rem; }
|
|
110
|
+
.dialog-metadata[open] summary { margin-bottom:.2rem; }
|
|
111
|
+
.job-summary,.detail-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
|
|
112
|
+
.detail-group { min-width:0; padding:.5rem; background:var(--surface2); border:1px solid var(--border); border-radius:.4rem; }
|
|
113
|
+
.detail-label { margin:0; color:var(--muted); font-size:.66rem; text-transform:uppercase; letter-spacing:.04em; }
|
|
114
|
+
.detail-value { margin:.12rem 0 0; font-weight:650; overflow-wrap:anywhere; }
|
|
115
|
+
.section-title { margin:.8rem 0 .35rem; color:var(--muted); font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; }
|
|
116
|
+
ul.tree { display:grid; gap:.25rem; min-width:0; max-width:100%; }
|
|
117
|
+
ul.tree li { min-width:0; max-width:100%; }
|
|
118
|
+
ul.tree ul { width:calc(100% - .6rem); min-width:0; max-width:calc(100% - .6rem); list-style:none; margin:.2rem 0 .1rem .6rem; padding-left:.6rem; border-left:1px solid var(--border); }
|
|
119
|
+
.task-line { display:flex; align-items:center; gap:.2rem; min-width:0; }
|
|
120
|
+
.task-fold { flex:0 0 auto; width:1.35rem; padding:.32rem 0; border:0; background:transparent; color:var(--muted); font:inherit; cursor:pointer; }
|
|
121
|
+
.task-row { width:100%; max-width:100%; overflow:hidden; flex:1 1 0; display:flex; align-items:center; gap:.4rem; min-width:0; padding:.32rem .38rem; border:0; border-radius:.35rem; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
|
|
122
|
+
.task-row[aria-current="true"] { background:var(--accent2); }
|
|
123
|
+
.task-row .badge { flex:0 0 auto; }
|
|
124
|
+
.task-id { min-width:0; max-width:100%; flex:1 1 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: .77rem ui-monospace,SFMono-Regular,Menlo,monospace; }
|
|
125
|
+
.task-actions { display:flex; justify-content:flex-end; gap:.25rem; margin-bottom:.5rem; }
|
|
126
|
+
.task-link { color:var(--accent); font-weight:700; }
|
|
127
|
+
.agent-graph { display:grid; gap:.45rem; margin-top:.55rem; padding:.55rem; border:1px solid var(--border); border-radius:.4rem; background:var(--surface2); overflow:auto; }
|
|
128
|
+
.agent-wave { display:flex; align-items:center; gap:.4rem; min-width:max-content; }
|
|
129
|
+
.agent-node { padding:.32rem .48rem; border:1px solid var(--border); border-radius:.35rem; background:var(--surface); font:.73rem ui-monospace,SFMono-Regular,Menlo,monospace; }
|
|
130
|
+
.agent-arrow { color:var(--muted); font-weight:800; }
|
|
131
|
+
.agent-graph-source { margin:.1rem 0 0; padding:.45rem; border-radius:.35rem; background:var(--surface); color:var(--muted); font:.7rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre; overflow:auto; }
|
|
132
|
+
.event-list { display:grid; gap:.45rem; }
|
|
133
|
+
.event-item { padding:.34rem .42rem .42rem; border-left:3px solid transparent; border-bottom:1px solid var(--border); border-radius:.28rem; }
|
|
134
|
+
.event-item.event-error { border-left-color:var(--bad); background:#fff4f4; }
|
|
135
|
+
.event-item.event-error .event-kind,.event-item.event-error .event-message { color:var(--bad); }
|
|
136
|
+
.event-item.event-warn { border-left-color:var(--warn); background:#fff9eb; }
|
|
137
|
+
.event-item.event-warn .event-kind { color:var(--warn); }
|
|
138
|
+
.event-meta { display:flex; flex-wrap:wrap; gap:.4rem; color:var(--muted); font-size:.68rem; }
|
|
139
|
+
.event-kind { color:var(--accent); font-weight:800; }
|
|
140
|
+
.event-message { margin:.12rem 0 0; overflow-wrap:anywhere; }
|
|
141
|
+
#usage-view,#graphs-view,#rules-view,#shortcuts-view,#worker-rules-view { grid-column:1 / -1; }
|
|
142
|
+
.graphs-browser { display:grid; grid-template-columns:minmax(190px,260px) minmax(0,1fr); gap:.75rem; min-height:60vh; }
|
|
143
|
+
.graph-list { display:grid; align-content:start; gap:.35rem; }
|
|
144
|
+
.graph-button { width:100%; display:grid; gap:.08rem; padding:.48rem .55rem; border:1px solid var(--border); border-radius:.4rem; background:var(--surface2); color:var(--text); text-align:left; font:inherit; cursor:pointer; }
|
|
145
|
+
.graph-button[aria-current="true"] { border-color:var(--accent); background:var(--accent2); }
|
|
146
|
+
.graph-button strong { font-size:.78rem; }
|
|
147
|
+
.graph-button span { color:var(--muted); font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
148
|
+
.graph-preview { min-width:0; display:grid; align-content:start; gap:.55rem; }
|
|
149
|
+
.graph-preview-head { display:flex; justify-content:space-between; gap:.7rem; align-items:baseline; flex-wrap:wrap; }
|
|
150
|
+
.graph-preview-head h3 { margin:0; font-size:.95rem; }
|
|
151
|
+
.graph-canvas { min-height:24rem; display:grid; place-items:center; overflow:auto; padding:1rem; border:1px solid var(--border); border-radius:.45rem; background:var(--surface2); }
|
|
152
|
+
.graph-canvas svg { max-width:none; height:auto; }
|
|
153
|
+
.graph-canvas svg rect.background { display:none; }
|
|
154
|
+
.graph-canvas svg .edgeLabel rect, .graph-canvas svg .edgeLabel .labelBkg, .graph-canvas svg .edgeLabel .background { fill:transparent !important; opacity:0 !important; }
|
|
155
|
+
.graph-navigation { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin-bottom:.7rem; }
|
|
156
|
+
.graph-canvas .node.drillable { cursor:pointer; }
|
|
157
|
+
.graph-canvas .node.drillable text, .graph-canvas .node.drillable tspan { fill:#2367b1; }
|
|
158
|
+
.jel-chart .node.jel-inspectable { cursor:pointer; }
|
|
159
|
+
.jel-chart .node.jel-inspectable:focus-visible { outline:2px solid #2563eb; outline-offset:3px; }
|
|
160
|
+
.jel-source { overflow:auto; white-space:pre; font:12px/1.5 ui-monospace,monospace; }
|
|
161
|
+
.graph-dialog { box-sizing:border-box; width:98vw; height:96vh; height:96dvh; max-width:none; max-height:none; padding:.55rem; border:1px solid var(--border); border-radius:.5rem; background:var(--surface); color:var(--text); }
|
|
162
|
+
.graph-dialog[open] { display:flex; flex-direction:column; gap:.25rem; }
|
|
163
|
+
.graph-dialog::backdrop { background:#17202b99; }
|
|
164
|
+
.graph-dialog-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.7rem; padding:.3rem .5rem; }
|
|
165
|
+
.graph-dialog-viewport { flex:1; min-height:0; min-width:0; overflow:auto; cursor:grab; background:var(--surface2); border:1px solid var(--border); border-radius:.4rem; }
|
|
166
|
+
.graph-dialog-viewport:active { cursor:grabbing; }
|
|
167
|
+
.graph-dialog-viewport .graph-canvas { display:grid; width:max-content; min-width:100%; min-height:100%; overflow:visible; }
|
|
168
|
+
.graph-canvas .node text { pointer-events:none; }
|
|
169
|
+
.graph-source { margin:0; max-height:22rem; overflow:auto; padding:.7rem; border:1px solid var(--border); border-radius:.4rem; background:var(--surface2); color:var(--muted); font:.72rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre; }
|
|
170
|
+
.graph-source-details summary { cursor:pointer; color:var(--muted); font-size:.74rem; font-weight:700; }
|
|
171
|
+
.rules-editor { display:grid; gap:.65rem; }
|
|
172
|
+
.rules-help { margin:0; color:var(--muted); font-size:.8rem; }
|
|
173
|
+
.rules-textarea { width:100%; min-height:55vh; resize:vertical; border:1px solid var(--border); border-radius:.45rem; background:var(--surface2); color:var(--text); padding:.8rem; font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; }
|
|
174
|
+
.rules-footer { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
|
|
175
|
+
.rules-save { border:1px solid var(--accent); border-radius:.35rem; background:var(--accent); color:#fff; padding:.38rem .8rem; font:inherit; font-weight:750; cursor:pointer; }
|
|
176
|
+
.rules-save:disabled { opacity:.55; cursor:default; }
|
|
177
|
+
.usage-providers { display:grid; gap:.55rem; }
|
|
178
|
+
.usage-provider { display:grid; grid-template-columns:minmax(130px,180px) minmax(0,1fr); gap:1rem; align-items:center; padding:.7rem .8rem; border:1px solid var(--border); border-radius:.45rem; background:var(--surface2); }
|
|
179
|
+
.usage-provider h3 { margin:0; font-size:.86rem; }
|
|
180
|
+
.usage-bars { display:grid; gap:1rem; }
|
|
181
|
+
.usage-row { display:grid; gap:.35rem; }
|
|
182
|
+
.usage-label { display:flex; justify-content:space-between; gap:1rem; font-weight:700; }
|
|
183
|
+
.usage-track { height:.72rem; overflow:hidden; border:1px solid var(--border); border-radius:999px; background:var(--surface2); }
|
|
184
|
+
.usage-fill { height:100%; width:0; border-radius:inherit; background:var(--accent); transition:width .2s ease; }
|
|
185
|
+
.usage-details { border-top:1px solid var(--border); padding-top:.45rem; }
|
|
186
|
+
.usage-details summary { cursor:pointer; color:var(--muted); font-size:.72rem; font-weight:700; }
|
|
187
|
+
.usage-details-body { display:grid; gap:.3rem; margin-top:.4rem; overflow-wrap:anywhere; }
|
|
188
|
+
.empty,.error-state { padding:.85rem; border:1px dashed var(--border); border-radius:.4rem; color:var(--muted); }
|
|
189
|
+
.error-state,.error-text { color:var(--bad); }
|
|
190
|
+
.skeleton { height:3.2rem; border-radius:.4rem; background:linear-gradient(90deg,#edf0f4,#fafbfc,#edf0f4); animation:pulse 1.2s infinite; }
|
|
191
|
+
@keyframes pulse { 50% { opacity:.55; } }
|
|
192
|
+
@media (max-width:1050px) { main { grid-template-columns:1fr; } .jobs-panel { grid-row:auto; } .panel-body { max-height:24rem; } #jobs-workspace > .panel:first-child .panel-body { max-height:none; } }
|
|
193
|
+
@media (max-width:650px) {
|
|
194
|
+
header { padding:.65rem .7rem; }
|
|
195
|
+
nav[role="tablist"] { overflow-x:auto; padding-bottom:.1rem; }
|
|
196
|
+
nav button { flex:0 0 auto; white-space:nowrap; }
|
|
197
|
+
main { padding:.5rem; gap:.65rem; }
|
|
198
|
+
body[data-mobile-jobs-view="list"] #jobs-workspace { display:none; }
|
|
199
|
+
body[data-mobile-jobs-view="detail"] #jobs-view { display:none; }
|
|
200
|
+
.mobile-only { display:inline-flex; }
|
|
201
|
+
#jobs-view .panel-head { display:grid; align-items:start; }
|
|
202
|
+
#jobs-view .panel-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; width:100%; gap:.25rem; }
|
|
203
|
+
.runtime-summary { display:none; }
|
|
204
|
+
#jobs-view .job-filters { display:grid; grid-template-columns:minmax(0,1fr) 5.8rem 4.6rem; align-items:center; gap:.25rem; min-width:0; }
|
|
205
|
+
#jobs-view .job-search { width:100%; min-width:0; max-width:none; min-height:2.25rem; }
|
|
206
|
+
#jobs-view .job-filter { width:100%; max-width:none; min-width:0; text-transform:none; font-size:.69rem; min-height:2.25rem; padding:.2rem .15rem; }
|
|
207
|
+
#jobs-view .jobs-actions { justify-content:flex-end; }
|
|
208
|
+
#jobs-view .jobs-feedback { grid-column:1 / -1; text-align:left; }
|
|
209
|
+
#jobs-view #jobs-refresh { width:2.25rem; height:2.25rem; }
|
|
210
|
+
#jobs-workspace > .panel:first-child > .panel-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.3rem; align-items:center; }
|
|
211
|
+
#jobs-workspace > .panel:first-child > .panel-head .panel-actions { flex-wrap:nowrap; gap:.05rem; }
|
|
212
|
+
#jobs-view .panel-body { max-height:none; }
|
|
213
|
+
#jobs-workspace { gap:.65rem; }
|
|
214
|
+
#jobs-workspace .panel-body { max-height:none; }
|
|
215
|
+
#usage-view .panel-head { padding:.6rem .7rem .35rem; }
|
|
216
|
+
#usage-view .panel-head .subtle { display:none; }
|
|
217
|
+
.graphs-browser { grid-template-columns:1fr; min-height:0; }
|
|
218
|
+
.graph-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
|
|
219
|
+
.graph-canvas { min-height:18rem; }
|
|
220
|
+
#usage-view .panel-body { padding:.45rem .5rem .65rem; max-height:none; }
|
|
221
|
+
#usage-view .usage-providers { gap:.45rem; }
|
|
222
|
+
#usage-view .usage-provider {
|
|
223
|
+
grid-template-columns:1fr;
|
|
224
|
+
gap:.55rem;
|
|
225
|
+
padding:.65rem .7rem;
|
|
226
|
+
border-radius:.55rem;
|
|
227
|
+
background:var(--surface);
|
|
228
|
+
}
|
|
229
|
+
#usage-view .usage-provider h3 { font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
|
|
230
|
+
#usage-view .usage-bars { gap:.7rem; }
|
|
231
|
+
#usage-view .usage-row { gap:.25rem; }
|
|
232
|
+
#usage-view .usage-label { align-items:baseline; gap:.5rem; font-size:.78rem; }
|
|
233
|
+
#usage-view .usage-label span:last-child { font-size:1.05rem; font-weight:800; color:var(--text); }
|
|
234
|
+
#usage-view .usage-track { height:.48rem; border:0; background:var(--border); }
|
|
235
|
+
#usage-view .usage-row .subtle { font-size:.68rem; line-height:1.25; }
|
|
236
|
+
#usage-view .usage-provider > .detail-value { font-size:1.2rem; font-weight:800; }
|
|
237
|
+
#usage-view .usage-details { padding-top:.35rem; }
|
|
238
|
+
#usage-view .usage-details-body { font-size:.68rem; }
|
|
239
|
+
.details-dialog-head { padding:.75rem .85rem; } .details-dialog-body { padding:.8rem .85rem 1rem; }
|
|
240
|
+
.job-summary,.detail-groups { grid-template-columns:1fr; }
|
|
241
|
+
.panel-head { padding:.55rem .6rem; }
|
|
242
|
+
.panel-body { padding:.6rem; }
|
|
243
|
+
.tagline { display:none; }
|
|
244
|
+
}
|
|
245
|
+
@media (prefers-reduced-motion:reduce) { .skeleton { animation:none; } .usage-fill { transition:none; } }
|
|
246
|
+
.router-rules-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;min-width:0}.router-rules-pane{min-width:0;max-width:100%;overflow:hidden}.rules-editor .rules-textarea{min-height:420px}.audit-log{display:flex;flex-direction:column;gap:8px;max-height:500px;overflow:auto;min-width:0}.audit-entry{border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--surface)}.audit-entry-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.audit-entry pre{white-space:pre-wrap;word-break:break-word;margin:8px 0 0;font-size:11px}.router-test-panel{margin-top:16px;border-top:1px solid var(--border);padding-top:12px}.router-test-results{margin-top:8px;display:flex;flex-direction:column;gap:6px;max-height:480px;overflow:auto;min-width:0}.router-test-results pre{white-space:pre;overflow:auto;max-width:100%;font-size:11px;line-height:1.45;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:12px}.router-test-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:7px 0;border-bottom:1px solid var(--border)}@media(max-width:900px){.router-rules-workspace{grid-template-columns:1fr}.router-rules-pane{max-height:none}.router-test-results{max-height:420px}}@media(max-width:650px){#rules-view .panel-head .subtle{display:none}#rules-view .panel-body{max-height:none;overflow:visible;padding:.6rem}#rules-view .router-rules-workspace{gap:.9rem}#rules-view .rules-help{font-size:.74rem;line-height:1.4}#rules-view .rules-textarea{min-height:52vh;padding:.65rem;font-size:12px}#rules-view .rules-footer{align-items:stretch}#rules-view .rules-footer>.subtle{width:100%}#rules-view .rules-footer>div{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:.5rem}#rules-view .rules-save{min-height:44px;width:100%;padding:.55rem .7rem}#rules-view .router-rules-pane>.panel-head{padding:.55rem 0}#rules-view .audit-log{max-height:none}#rules-view .audit-entry-head{align-items:flex-start}#rules-view .audit-entry-head .subtle{display:block;flex:0 0 auto}#rules-view .router-test-panel{min-width:0;max-width:100%;overflow:hidden}#rules-view .router-test-results{max-height:none;width:100%;max-width:100%;overflow-x:hidden}#rules-view .router-test-results>*{min-width:0;max-width:100%}#rules-view .router-test-results pre{width:100%;box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:11px;padding:.65rem}#rules-view .router-test-row{grid-template-columns:1fr}}
|