aiki-cli 0.3.2 → 0.3.3
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 +68 -0
- package/README.md +64 -4
- package/dist/bench/idea-v3-bench.js +104 -5
- package/dist/bench/idea-v3-rating.js +158 -3
- package/dist/cli/bench.js +5 -5
- package/dist/cli/index.js +12 -2
- package/dist/cli/resume.js +20 -0
- package/dist/cli/run.js +75 -4
- package/dist/cli/serve.js +48 -0
- package/dist/config/config.js +7 -2
- package/dist/council/view.js +13 -4
- package/dist/orchestration/auto-profile.js +97 -0
- package/dist/orchestration/claim-groups.js +56 -0
- package/dist/orchestration/context.js +66 -3
- package/dist/orchestration/decision-dossier.js +42 -10
- package/dist/orchestration/decision-graph.js +2 -2
- package/dist/orchestration/engine.js +8 -4
- package/dist/orchestration/evidence-origin.js +17 -0
- package/dist/orchestration/jsonStage.js +47 -5
- package/dist/orchestration/modes.js +4 -2
- package/dist/orchestration/preflight.js +19 -0
- package/dist/orchestration/quick-analysis.js +8 -3
- package/dist/orchestration/sanitize-paths.js +10 -0
- package/dist/orchestration/stages/s10-render.js +31 -7
- package/dist/orchestration/stages/s4-analyze.js +7 -1
- package/dist/orchestration/stages/s4b-challenge.js +97 -0
- package/dist/orchestration/stages/s5-drift.js +13 -3
- package/dist/orchestration/stages/s8-verify.js +44 -7
- package/dist/orchestration/stages/s9-judge.js +20 -5
- package/dist/orchestration/stages/s9b-plan.js +44 -15
- package/dist/orchestration/url-sources.js +21 -0
- package/dist/providers/adapter-core.js +1 -1
- package/dist/providers/claude.js +18 -0
- package/dist/schemas/index.js +45 -0
- package/dist/serve/flight-deck.js +830 -0
- package/dist/serve/followup.js +50 -0
- package/dist/serve/frames.js +168 -0
- package/dist/serve/gates.js +72 -0
- package/dist/serve/projections.js +283 -0
- package/dist/serve/server.js +219 -0
- package/dist/serve/threads.js +145 -0
- package/dist/serve-ui/Five.png +0 -0
- package/dist/serve-ui/app.js +820 -0
- package/dist/serve-ui/index.html +171 -0
- package/dist/serve-ui/workspace.css +662 -0
- package/dist/storage/runs.js +2 -1
- package/dist/workflows/idea-refinement.js +94 -16
- package/package.json +2 -2
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
/* aiki serve workspace — dark council theme (Claude-designed "AIki Serve").
|
|
2
|
+
One material: near-black surfaces, mono telemetry, a violet thread, live progress
|
|
3
|
+
lamps. Self-contained: no webfonts, no deps — Onest/JetBrains Mono are used when the
|
|
4
|
+
OS has them and fall back to the system stack otherwise. */
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
color-scheme: dark;
|
|
8
|
+
/* surfaces */
|
|
9
|
+
--bg: #0a0b0d;
|
|
10
|
+
--panel: #0c0d10;
|
|
11
|
+
--card: #101216;
|
|
12
|
+
--raise: #15171d;
|
|
13
|
+
--line: rgba(255, 255, 255, 0.06);
|
|
14
|
+
--line-2: rgba(255, 255, 255, 0.09);
|
|
15
|
+
--line-3: rgba(255, 255, 255, 0.13);
|
|
16
|
+
/* text */
|
|
17
|
+
--text: #e8eaed;
|
|
18
|
+
--text-2: #c8cdd3;
|
|
19
|
+
--text-3: #b8bdc4;
|
|
20
|
+
--muted: #9aa0a8;
|
|
21
|
+
--muted-2: #8a9098;
|
|
22
|
+
--faint: #6b7178;
|
|
23
|
+
--fainter: #565c63;
|
|
24
|
+
/* accent (violet thread) */
|
|
25
|
+
--accent: oklch(0.72 0.13 285);
|
|
26
|
+
--accent-2: oklch(0.80 0.13 285);
|
|
27
|
+
--accent-tint: oklch(0.72 0.13 285 / 0.14);
|
|
28
|
+
--accent-tint-2: oklch(0.72 0.13 285 / 0.06);
|
|
29
|
+
--accent-line: oklch(0.72 0.13 285 / 0.28);
|
|
30
|
+
/* status */
|
|
31
|
+
--green: oklch(0.78 0.14 155);
|
|
32
|
+
--amber: oklch(0.82 0.13 90);
|
|
33
|
+
--orange: oklch(0.75 0.15 55);
|
|
34
|
+
--red: oklch(0.68 0.18 25);
|
|
35
|
+
--blue: oklch(0.72 0.12 255);
|
|
36
|
+
/* provider identity (agy = Gemini) */
|
|
37
|
+
--seat-claude: oklch(0.76 0.12 55);
|
|
38
|
+
--seat-codex: oklch(0.80 0.11 165);
|
|
39
|
+
--seat-agy: oklch(0.72 0.12 255);
|
|
40
|
+
/* type */
|
|
41
|
+
--font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
42
|
+
--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
43
|
+
--ease: cubic-bezier(.22, .61, .28, 1);
|
|
44
|
+
--radius: 10px;
|
|
45
|
+
--radius-card: 14px;
|
|
46
|
+
--shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
* { box-sizing: border-box; }
|
|
50
|
+
html, body { height: 100%; margin: 0; }
|
|
51
|
+
body {
|
|
52
|
+
background: var(--bg);
|
|
53
|
+
color: var(--text);
|
|
54
|
+
font-family: var(--font);
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
line-height: 1.5;
|
|
57
|
+
-webkit-font-smoothing: antialiased;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
}
|
|
60
|
+
button, a { -webkit-tap-highlight-color: transparent; }
|
|
61
|
+
button { color: inherit; font: inherit; cursor: pointer; }
|
|
62
|
+
code, .mono { font-family: var(--mono); }
|
|
63
|
+
::-webkit-scrollbar { width: 9px; height: 9px; }
|
|
64
|
+
::-webkit-scrollbar-track { background: transparent; }
|
|
65
|
+
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.09); border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
|
|
66
|
+
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); background-clip: padding-box; }
|
|
67
|
+
|
|
68
|
+
.sr-only {
|
|
69
|
+
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
70
|
+
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
71
|
+
}
|
|
72
|
+
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
|
|
73
|
+
outline: 2px solid var(--accent-2);
|
|
74
|
+
outline-offset: 2px;
|
|
75
|
+
}
|
|
76
|
+
.skip-link {
|
|
77
|
+
background: var(--accent); color: #0a0b0d; left: 12px; padding: 10px 14px; font-weight: 600;
|
|
78
|
+
position: fixed; top: -60px; z-index: 100; border-radius: 8px; text-decoration: none;
|
|
79
|
+
}
|
|
80
|
+
.skip-link:focus { top: 8px; }
|
|
81
|
+
|
|
82
|
+
.eyebrow {
|
|
83
|
+
font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
|
|
84
|
+
text-transform: uppercase; color: var(--fainter); margin: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ── keyframes (from the design) ─────────────────────────────────────── */
|
|
88
|
+
@keyframes aikiPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.82); } }
|
|
89
|
+
@keyframes aikiRing { 0% { box-shadow: 0 0 0 0 var(--rc); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
|
|
90
|
+
@keyframes aikiBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
|
|
91
|
+
@keyframes aikiRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
|
92
|
+
@keyframes aikiGlow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 12px 1px var(--gc); } }
|
|
93
|
+
@keyframes aikiShimmer { 0% { background-position: -180% 0; } 100% { background-position: 180% 0; } }
|
|
94
|
+
@keyframes aikiSweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
|
|
95
|
+
|
|
96
|
+
/* ── layout ──────────────────────────────────────────────────────────── */
|
|
97
|
+
.workspace {
|
|
98
|
+
display: grid;
|
|
99
|
+
grid-template-columns: 264px minmax(0, 1fr) 392px;
|
|
100
|
+
height: 100dvh;
|
|
101
|
+
min-width: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* ── left rail ───────────────────────────────────────────────────────── */
|
|
105
|
+
.rail {
|
|
106
|
+
background: var(--panel);
|
|
107
|
+
border-right: 1px solid var(--line);
|
|
108
|
+
display: flex; flex-direction: column;
|
|
109
|
+
min-height: 0;
|
|
110
|
+
}
|
|
111
|
+
.rail__head {
|
|
112
|
+
padding: 16px 16px 14px; display: flex; align-items: center; gap: 10px;
|
|
113
|
+
border-bottom: 1px solid var(--line);
|
|
114
|
+
}
|
|
115
|
+
.brand {
|
|
116
|
+
width: 30px; height: 30px; border-radius: 8px; flex: none;
|
|
117
|
+
background: linear-gradient(140deg, var(--accent), oklch(0.62 0.15 300));
|
|
118
|
+
display: flex; align-items: center; justify-content: center;
|
|
119
|
+
font-weight: 700; font-size: 15px; color: #0a0b0d; letter-spacing: -0.5px;
|
|
120
|
+
}
|
|
121
|
+
.rail__id { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; flex: 1; }
|
|
122
|
+
.wordmark { font-weight: 700; font-size: 16px; letter-spacing: -0.3px; color: var(--text); }
|
|
123
|
+
.rail__sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
|
|
124
|
+
.rail__controls { display: flex; align-items: center; gap: 4px; }
|
|
125
|
+
.rail__close { margin-left: auto; }
|
|
126
|
+
|
|
127
|
+
.quorum {
|
|
128
|
+
display: flex; align-items: center; gap: 7px; justify-content: flex-start;
|
|
129
|
+
margin: 12px 14px 0; background: transparent; border: 1px solid var(--line-2);
|
|
130
|
+
border-radius: 999px; padding: 5px 12px;
|
|
131
|
+
font-family: var(--mono); font-size: 10px; color: var(--muted);
|
|
132
|
+
}
|
|
133
|
+
.quorum__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
134
|
+
|
|
135
|
+
.lamp {
|
|
136
|
+
width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted-2);
|
|
137
|
+
}
|
|
138
|
+
.lamp[data-tone="green"] { background: var(--green); box-shadow: 0 0 8px oklch(0.78 0.14 155 / 0.8); }
|
|
139
|
+
.lamp[data-tone="amber"] { background: var(--orange); box-shadow: 0 0 8px oklch(0.75 0.15 55 / 0.7); }
|
|
140
|
+
.lamp[data-tone="red"] { background: var(--red); box-shadow: 0 0 8px oklch(0.68 0.18 25 / 0.7); }
|
|
141
|
+
.lamp[data-tone="neutral"] { background: var(--muted-2); }
|
|
142
|
+
|
|
143
|
+
.rail > .btn--primary { margin: 14px 14px 4px; }
|
|
144
|
+
|
|
145
|
+
.providers { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 4px; }
|
|
146
|
+
.providers::before {
|
|
147
|
+
content: 'Providers · aiki doctor'; padding: 0 4px 2px;
|
|
148
|
+
font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fainter);
|
|
149
|
+
}
|
|
150
|
+
.providers__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
|
|
151
|
+
.provider {
|
|
152
|
+
display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px;
|
|
153
|
+
border-radius: 8px; padding: 7px 8px;
|
|
154
|
+
}
|
|
155
|
+
.provider__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
|
|
156
|
+
.provider__dot[data-tone="green"] { background: var(--green); box-shadow: 0 0 8px oklch(0.78 0.14 155 / 0.85); }
|
|
157
|
+
.provider__dot[data-tone="amber"] { background: var(--orange); box-shadow: 0 0 8px oklch(0.75 0.15 55 / 0.7); }
|
|
158
|
+
.provider__dot[data-tone="red"] { background: var(--red); box-shadow: 0 0 8px oklch(0.68 0.18 25 / 0.7); }
|
|
159
|
+
.provider__dot[data-tone="neutral"] { background: var(--muted-2); }
|
|
160
|
+
.provider__main { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
|
|
161
|
+
.provider__name { font-size: 12.5px; font-weight: 500; color: var(--text); }
|
|
162
|
+
.provider__model { font-family: var(--mono); font-size: 10px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
163
|
+
.provider__status {
|
|
164
|
+
font-family: var(--mono); font-size: 9px; color: var(--muted-2);
|
|
165
|
+
border: 1px solid var(--line-2); padding: 1px 5px; border-radius: 5px; white-space: nowrap;
|
|
166
|
+
}
|
|
167
|
+
.provider__status[data-tone="green"] { color: var(--green); border-color: oklch(0.78 0.14 155 / 0.3); }
|
|
168
|
+
.provider__status[data-tone="amber"] { color: var(--orange); border-color: oklch(0.75 0.15 55 / 0.35); }
|
|
169
|
+
.provider__status[data-tone="red"] { color: var(--red); border-color: oklch(0.68 0.18 25 / 0.35); }
|
|
170
|
+
.provider[data-seat="claude"] .provider__name { box-shadow: inset 3px 0 var(--seat-claude); padding-left: 7px; margin-left: -3px; }
|
|
171
|
+
.provider[data-seat="codex"] .provider__name { box-shadow: inset 3px 0 var(--seat-codex); padding-left: 7px; margin-left: -3px; }
|
|
172
|
+
.provider[data-seat="agy"] .provider__name { box-shadow: inset 3px 0 var(--seat-agy); padding-left: 7px; margin-left: -3px; }
|
|
173
|
+
|
|
174
|
+
#check-connections { margin: 8px 14px 4px; }
|
|
175
|
+
|
|
176
|
+
/* buttons */
|
|
177
|
+
.btn {
|
|
178
|
+
border: 1px solid var(--line-3); border-radius: var(--radius);
|
|
179
|
+
background: rgba(255, 255, 255, 0.03); color: var(--text-2); padding: 9px 12px; font-size: 13px;
|
|
180
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
|
|
181
|
+
transition: background 0.15s var(--ease), border-color 0.15s var(--ease), filter 0.15s var(--ease);
|
|
182
|
+
}
|
|
183
|
+
.btn:hover { background: rgba(255, 255, 255, 0.07); }
|
|
184
|
+
.btn--primary { background: var(--accent); border-color: var(--accent); color: #0a0b0d; font-weight: 600; border-radius: var(--radius); }
|
|
185
|
+
.btn--primary:hover { filter: brightness(1.08); background: var(--accent); }
|
|
186
|
+
.btn--ghost { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font-weight: 500; background: transparent; border-color: var(--line-2); }
|
|
187
|
+
.btn__note { font-family: var(--mono); font-size: 9.5px; font-weight: 400; color: var(--faint); }
|
|
188
|
+
.btn--icon { border: none; background: none; padding: 6px 8px; color: var(--muted-2); font-size: 13px; border-radius: 8px; }
|
|
189
|
+
.btn--icon:hover { background: rgba(255, 255, 255, 0.06); }
|
|
190
|
+
.btn--danger { border-color: oklch(0.68 0.18 25 / 0.4); color: var(--red); background: oklch(0.68 0.18 25 / 0.08); }
|
|
191
|
+
.btn--danger:hover { background: oklch(0.68 0.18 25 / 0.15); }
|
|
192
|
+
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
|
|
193
|
+
|
|
194
|
+
.threads { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding: 14px 12px 8px; }
|
|
195
|
+
.threads .eyebrow { padding: 0 4px 8px; }
|
|
196
|
+
.threads__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
|
|
197
|
+
.thread-item {
|
|
198
|
+
display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
|
|
199
|
+
width: 100%; text-align: left; background: none; border: none; border-radius: 9px;
|
|
200
|
+
padding: 9px 10px;
|
|
201
|
+
}
|
|
202
|
+
.thread-item:hover { background: rgba(255, 255, 255, 0.04); }
|
|
203
|
+
.thread-item[aria-current="true"] { background: rgba(255, 255, 255, 0.06); }
|
|
204
|
+
.thread-item__glyph {
|
|
205
|
+
font-size: 10px; color: var(--faint); font-family: var(--mono);
|
|
206
|
+
border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 5px; line-height: 1.4;
|
|
207
|
+
}
|
|
208
|
+
.thread-item[data-status="running"] .thread-item__glyph { color: var(--accent-2); border-color: var(--accent-line); }
|
|
209
|
+
.thread-item[data-status="complete"] .thread-item__glyph { color: var(--green); border-color: oklch(0.78 0.14 155 / 0.3); }
|
|
210
|
+
.thread-item[data-status="failed"] .thread-item__glyph { color: var(--red); border-color: oklch(0.68 0.18 25 / 0.3); }
|
|
211
|
+
.thread-item__title { font-size: 12.5px; font-weight: 500; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
212
|
+
.thread-item[aria-current="true"] .thread-item__title { color: var(--text); }
|
|
213
|
+
.thread-item__title[data-legacy="true"] { color: var(--muted-2); }
|
|
214
|
+
.thread-item__time { font-family: var(--mono); font-size: 9.5px; color: var(--fainter); }
|
|
215
|
+
|
|
216
|
+
.rail__foot {
|
|
217
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
218
|
+
border-top: 1px solid var(--line); padding: 10px 14px;
|
|
219
|
+
}
|
|
220
|
+
#settings-open { color: var(--muted); font-size: 12px; }
|
|
221
|
+
.version { font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
|
|
222
|
+
|
|
223
|
+
/* ── center (conversation) ───────────────────────────────────────────── */
|
|
224
|
+
.center { min-width: 0; min-height: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; background: var(--bg); }
|
|
225
|
+
.center__head {
|
|
226
|
+
height: 58px; flex: 0 0 58px; display: flex; align-items: center; gap: 12px;
|
|
227
|
+
padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(12, 13, 16, 0.85);
|
|
228
|
+
}
|
|
229
|
+
.center__title { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
230
|
+
.center__type {
|
|
231
|
+
font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.05em; flex: none;
|
|
232
|
+
color: var(--accent-2); background: var(--accent-tint); border: 1px solid var(--accent-line);
|
|
233
|
+
padding: 2px 7px; border-radius: 6px; text-transform: uppercase;
|
|
234
|
+
}
|
|
235
|
+
.center__type[hidden] { display: none; }
|
|
236
|
+
.center__ro {
|
|
237
|
+
display: inline-flex; align-items: center; gap: 6px; flex: none;
|
|
238
|
+
font-family: var(--mono); font-size: 9px; color: var(--muted-2);
|
|
239
|
+
border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 6px;
|
|
240
|
+
}
|
|
241
|
+
.center__ro .lamp { width: 6px; height: 6px; }
|
|
242
|
+
.center__models { margin-left: auto; display: flex; align-items: center; }
|
|
243
|
+
.avatar {
|
|
244
|
+
width: 24px; height: 24px; border-radius: 7px; margin-left: -6px;
|
|
245
|
+
border: 1.5px solid var(--bg); display: flex; align-items: center; justify-content: center;
|
|
246
|
+
font-size: 10px; font-weight: 700; color: #0a0b0d;
|
|
247
|
+
}
|
|
248
|
+
.avatar[data-seat="claude"] { background: var(--seat-claude); }
|
|
249
|
+
.avatar[data-seat="codex"] { background: var(--seat-codex); }
|
|
250
|
+
.avatar[data-seat="agy"] { background: var(--seat-agy); }
|
|
251
|
+
|
|
252
|
+
.center__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 28px 0 16px; }
|
|
253
|
+
.thread-inner { max-width: 760px; margin: 0 auto; padding: 0 26px; display: flex; flex-direction: column; gap: 22px; }
|
|
254
|
+
|
|
255
|
+
.empty { max-width: 520px; margin: 8vh auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
|
|
256
|
+
.empty[hidden], .thread-view[hidden] { display: none; }
|
|
257
|
+
.empty__art { display: none; }
|
|
258
|
+
.empty__mark {
|
|
259
|
+
width: 54px; height: 54px; border-radius: 15px; margin-bottom: 22px;
|
|
260
|
+
background: linear-gradient(140deg, var(--accent), oklch(0.62 0.15 300));
|
|
261
|
+
display: flex; align-items: center; justify-content: center;
|
|
262
|
+
font-weight: 700; font-size: 27px; color: #0a0b0d; letter-spacing: -1px;
|
|
263
|
+
box-shadow: 0 12px 40px oklch(0.62 0.15 300 / 0.35);
|
|
264
|
+
}
|
|
265
|
+
.empty__title { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--text); }
|
|
266
|
+
.empty__lede { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
|
|
267
|
+
|
|
268
|
+
.thread-view { display: flex; flex-direction: column; gap: 22px; }
|
|
269
|
+
.thread-view__title { font-size: 19px; font-weight: 600; margin: 0; color: var(--text); }
|
|
270
|
+
.thread-view__meta { font-family: var(--mono); font-size: 10px; color: var(--faint); margin: -14px 0 0; }
|
|
271
|
+
.report {
|
|
272
|
+
background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-card);
|
|
273
|
+
padding: 22px 24px; font-size: 14px; line-height: 1.66; color: var(--text-2);
|
|
274
|
+
white-space: pre-wrap; word-break: break-word;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* conversation turns */
|
|
278
|
+
.turn { display: flex; flex-direction: column; animation: aikiRise 0.4s var(--ease) both; }
|
|
279
|
+
.turn--user { align-self: flex-end; max-width: 78%; align-items: flex-end; gap: 6px; }
|
|
280
|
+
.turn--user::before {
|
|
281
|
+
content: 'you'; font-family: var(--mono); font-size: 10px; color: var(--fainter); letter-spacing: 0.04em;
|
|
282
|
+
}
|
|
283
|
+
.turn__text {
|
|
284
|
+
background: var(--accent-tint); border: 1px solid oklch(0.72 0.13 285 / 0.24); color: #eef0f3;
|
|
285
|
+
padding: 12px 15px; border-radius: 14px 14px 4px 14px; font-size: 14px; margin: 0;
|
|
286
|
+
white-space: pre-wrap; line-height: 1.5;
|
|
287
|
+
}
|
|
288
|
+
.turn__chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
|
|
289
|
+
.turn__chip, .attachment-chip {
|
|
290
|
+
max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
291
|
+
border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px;
|
|
292
|
+
background: rgba(255, 255, 255, 0.03); color: var(--muted); font: 10px var(--mono);
|
|
293
|
+
}
|
|
294
|
+
.turn__meta { font: 10px var(--mono); color: var(--fainter); margin: 0; }
|
|
295
|
+
.attachment-chip button { border: 0; background: none; color: var(--faint); padding: 0 0 0 5px; }
|
|
296
|
+
|
|
297
|
+
/* thinking indicator */
|
|
298
|
+
.thinking { align-self: flex-start; display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 12.5px; animation: aikiRise 0.3s var(--ease) both; padding: 0 26px; max-width: 760px; margin: 0 auto; width: 100%; }
|
|
299
|
+
.thinking[hidden] { display: none; }
|
|
300
|
+
.thinking__mark {
|
|
301
|
+
width: 22px; height: 22px; border-radius: 6px; flex: none;
|
|
302
|
+
background: linear-gradient(140deg, var(--accent), oklch(0.62 0.15 300));
|
|
303
|
+
display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: #0a0b0d;
|
|
304
|
+
}
|
|
305
|
+
.thinking__dots { display: inline-flex; gap: 3px; }
|
|
306
|
+
.thinking__dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: aikiPulse 1s ease-in-out infinite; }
|
|
307
|
+
.thinking__dots span:nth-child(2) { animation-delay: 0.2s; }
|
|
308
|
+
.thinking__dots span:nth-child(3) { animation-delay: 0.4s; }
|
|
309
|
+
.thinking__body { display: flex; flex-direction: column; line-height: 1.25; }
|
|
310
|
+
.thinking__meta { font-family: var(--mono); font-size: 11px; color: var(--faint); }
|
|
311
|
+
|
|
312
|
+
/* follow-up card */
|
|
313
|
+
.followup-card {
|
|
314
|
+
align-self: flex-start; width: 100%; max-width: 640px; padding: 15px 17px; background: var(--card);
|
|
315
|
+
border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 4px 14px 14px 4px;
|
|
316
|
+
}
|
|
317
|
+
.followup-card__answer { margin: 0; white-space: pre-wrap; line-height: 1.62; color: var(--text-2); font-size: 13.5px; }
|
|
318
|
+
.followup-card__meta { margin: 11px 0 8px; color: var(--faint); font: 10px var(--mono); }
|
|
319
|
+
|
|
320
|
+
/* composer */
|
|
321
|
+
.composer-shell { flex: none; padding: 0 26px 18px; }
|
|
322
|
+
.composer, .live-session { max-width: 760px; margin: 0 auto; }
|
|
323
|
+
.composer[hidden] { display: none; }
|
|
324
|
+
.composer__row {
|
|
325
|
+
display: flex; align-items: flex-end; gap: 10px; background: var(--card);
|
|
326
|
+
border: 1px solid var(--line-3); border-radius: var(--radius-card); padding: 10px 10px 10px 16px;
|
|
327
|
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
|
|
328
|
+
}
|
|
329
|
+
.composer textarea {
|
|
330
|
+
flex: 1; display: block; resize: none; min-height: 24px; max-height: 160px;
|
|
331
|
+
border: 0; outline: 0; background: transparent; color: var(--text);
|
|
332
|
+
padding: 6px 0; font: 14px/1.5 var(--font);
|
|
333
|
+
}
|
|
334
|
+
.composer__send {
|
|
335
|
+
flex: none; width: 36px; height: 36px; padding: 0; border-radius: 10px; font-size: 17px;
|
|
336
|
+
}
|
|
337
|
+
.composer__send:disabled { background: rgba(255, 255, 255, 0.08); border-color: transparent; color: var(--faint); cursor: default; }
|
|
338
|
+
.composer__tools { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
|
|
339
|
+
.mode-select select {
|
|
340
|
+
border: 1px solid var(--line-2); border-radius: 7px; background: rgba(255, 255, 255, 0.03);
|
|
341
|
+
color: var(--muted); padding: 4px 10px; font: 11px var(--mono);
|
|
342
|
+
}
|
|
343
|
+
#attach { border: 1px solid var(--line-2); border-radius: 7px; background: rgba(255, 255, 255, 0.03); color: var(--muted); padding: 4px 10px; font: 11px var(--mono); }
|
|
344
|
+
#attach:hover { background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
|
|
345
|
+
.composer__estimate { color: var(--faint); font: 10px var(--mono); margin-left: auto; }
|
|
346
|
+
.attachment-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
|
|
347
|
+
.attachment-chips:empty { display: none; }
|
|
348
|
+
.composer__note { margin-top: 9px; text-align: center; font-size: 10.5px; color: var(--fainter); }
|
|
349
|
+
.composer__note strong { color: var(--muted-2); font-weight: 500; }
|
|
350
|
+
|
|
351
|
+
.live-session {
|
|
352
|
+
min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
353
|
+
padding: 9px 12px 9px 16px; background: var(--card); border: 1px solid var(--line-2);
|
|
354
|
+
border-radius: var(--radius-card); font: 12px var(--mono); color: var(--text-2);
|
|
355
|
+
}
|
|
356
|
+
.live-session[hidden] { display: none; }
|
|
357
|
+
.live-session > span { display: flex; align-items: center; gap: 8px; }
|
|
358
|
+
.live-session .lamp { animation: aikiPulse 1.1s ease-in-out infinite; }
|
|
359
|
+
|
|
360
|
+
/* permission + input gate cards */
|
|
361
|
+
.gate-card {
|
|
362
|
+
align-self: stretch; padding: 15px 16px; background: var(--card);
|
|
363
|
+
border: 1px solid var(--line-2); border-left: 3px solid var(--orange);
|
|
364
|
+
border-radius: 4px var(--radius-card) var(--radius-card) 4px; animation: aikiRise 0.35s var(--ease) both;
|
|
365
|
+
}
|
|
366
|
+
.gate-card[data-kind="attention"] { border-left-color: var(--red); }
|
|
367
|
+
.gate-card[data-kind="resume"] { border-left-color: var(--accent); }
|
|
368
|
+
.gate-card__eyebrow { color: var(--orange); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
|
|
369
|
+
.gate-card[data-kind="attention"] .gate-card__eyebrow { color: var(--red); }
|
|
370
|
+
.gate-card h3 { font-size: 15.5px; margin: 6px 0 8px; color: var(--text); }
|
|
371
|
+
.gate-card__line { margin: 4px 0; color: var(--muted-2); font: 11px/1.5 var(--mono); overflow-wrap: anywhere; }
|
|
372
|
+
.gate-card__question { font-size: 14px; line-height: 1.5; margin: 10px 0; color: var(--text-2); }
|
|
373
|
+
.gate-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
|
|
374
|
+
.gate-card__actions .btn:last-child { color: var(--red); border-color: oklch(0.68 0.18 25 / 0.35); }
|
|
375
|
+
.gate-answer { display: flex; gap: 8px; margin-top: 10px; }
|
|
376
|
+
.gate-answer input {
|
|
377
|
+
flex: 1; min-width: 0; border: 1px solid var(--line-3); border-radius: 9px;
|
|
378
|
+
background: rgba(255, 255, 255, 0.03); color: var(--text); padding: 10px 11px; font: 13px var(--font);
|
|
379
|
+
}
|
|
380
|
+
.gate-card--resolved {
|
|
381
|
+
padding: 9px 12px; background: oklch(0.78 0.14 155 / 0.06);
|
|
382
|
+
border-color: oklch(0.78 0.14 155 / 0.2); border-left-color: var(--green);
|
|
383
|
+
}
|
|
384
|
+
.gate-card--resolved > :not(.gate-receipt) { display: none; }
|
|
385
|
+
.gate-receipt { color: var(--green); font: 11px var(--mono); }
|
|
386
|
+
|
|
387
|
+
/* verdict / chairman card */
|
|
388
|
+
.verdict-card { align-self: flex-start; width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 10px; animation: aikiRise 0.45s var(--ease) both; }
|
|
389
|
+
.verdict-chair { display: flex; align-items: center; gap: 9px; }
|
|
390
|
+
.verdict-chair__mark {
|
|
391
|
+
width: 22px; height: 22px; border-radius: 6px; flex: none;
|
|
392
|
+
background: linear-gradient(140deg, var(--accent), oklch(0.62 0.15 300));
|
|
393
|
+
display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: #0a0b0d;
|
|
394
|
+
}
|
|
395
|
+
.verdict-chair__name { font-weight: 600; font-size: 12.5px; }
|
|
396
|
+
.verdict-chair__role { font-size: 11px; color: var(--faint); }
|
|
397
|
+
.verdict-chair__calls { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--fainter); }
|
|
398
|
+
.verdict-card__panel { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px 14px 14px 4px; overflow: hidden; }
|
|
399
|
+
.verdict-card__banner { padding: 16px 18px 14px; border-bottom: 1px solid var(--line); background: oklch(0.78 0.14 155 / 0.06); }
|
|
400
|
+
.verdict-card[data-tone="conditions"] .verdict-card__banner { background: oklch(0.82 0.13 90 / 0.06); }
|
|
401
|
+
.verdict-card[data-tone="inconclusive"] .verdict-card__banner { background: oklch(0.75 0.15 55 / 0.06); }
|
|
402
|
+
.verdict-card[data-tone="stop"] .verdict-card__banner { background: oklch(0.68 0.18 25 / 0.06); }
|
|
403
|
+
.verdict-card__eyebrow { font: 10px var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
|
|
404
|
+
.verdict-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
405
|
+
.verdict-card__label {
|
|
406
|
+
font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.5px;
|
|
407
|
+
color: var(--green); border: 1.5px solid var(--green); padding: 5px 12px; border-radius: 8px; white-space: nowrap;
|
|
408
|
+
}
|
|
409
|
+
.verdict-card[data-tone="conditions"] .verdict-card__label { color: var(--amber); border-color: var(--amber); }
|
|
410
|
+
.verdict-card[data-tone="inconclusive"] .verdict-card__label { color: var(--orange); border-color: var(--orange); }
|
|
411
|
+
.verdict-card[data-tone="stop"] .verdict-card__label { color: var(--red); border-color: var(--red); }
|
|
412
|
+
.verdict-card__banner h2 { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text-3); flex: 1; min-width: 160px; }
|
|
413
|
+
.verdict-card__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; }
|
|
414
|
+
.verdict-card__lead { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin: 0; }
|
|
415
|
+
.verdict-block > .verdict-block__label { font: 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fainter); margin-bottom: 8px; display: block; }
|
|
416
|
+
.plan-item {
|
|
417
|
+
display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, 0.025);
|
|
418
|
+
border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; margin-bottom: 8px;
|
|
419
|
+
}
|
|
420
|
+
.plan-item__badge {
|
|
421
|
+
font-family: var(--mono); font-size: 9.5px; font-weight: 600; flex: none; margin-top: 1px;
|
|
422
|
+
color: var(--accent-2); border: 1px solid var(--accent-line); border-radius: 5px; padding: 1px 6px;
|
|
423
|
+
}
|
|
424
|
+
.plan-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
|
425
|
+
.plan-item__text { font-size: 13px; color: var(--text-3); line-height: 1.45; }
|
|
426
|
+
.plan-item__done { font-size: 11px; color: var(--faint); }
|
|
427
|
+
.plan-item__done b { color: var(--green); font-weight: 500; }
|
|
428
|
+
.verdict-warning { background: oklch(0.75 0.15 55 / 0.08); border: 1px solid oklch(0.75 0.15 55 / 0.2); border-radius: 8px; padding: 9px 11px; color: var(--orange); font-size: 12.5px; }
|
|
429
|
+
.verdict-card details { border-top: 1px solid var(--line); padding: 11px 0 3px; }
|
|
430
|
+
.verdict-card details:first-of-type { border-top: 0; }
|
|
431
|
+
.verdict-card summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--text-2); }
|
|
432
|
+
.verdict-card details p, .verdict-card details li { color: var(--muted-2); line-height: 1.55; font-size: 12.5px; }
|
|
433
|
+
.verdict-card details ul { margin: 8px 0 0; padding-left: 18px; }
|
|
434
|
+
.verdict-card__next { margin: 0; padding: 12px 14px; border-radius: 9px; border-left: 3px solid var(--accent); background: var(--accent-tint-2); font-size: 13px; color: var(--text-2); }
|
|
435
|
+
.verdict-card__next strong { color: var(--accent-2); }
|
|
436
|
+
.verdict-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
437
|
+
.verdict-card__actions .btn { font-size: 12.5px; padding: 7px 12px; }
|
|
438
|
+
.verdict-conf { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
|
|
439
|
+
.verdict-conf__track { flex: 1; max-width: 180px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
|
|
440
|
+
.verdict-conf__fill { height: 100%; border-radius: 3px; background: var(--muted-2); transition: width .6s var(--ease); }
|
|
441
|
+
.verdict-conf[data-band="high"] .verdict-conf__fill { background: var(--green); }
|
|
442
|
+
.verdict-conf[data-band="medium"] .verdict-conf__fill { background: var(--amber); }
|
|
443
|
+
.verdict-conf[data-band="low"] .verdict-conf__fill { background: var(--orange); }
|
|
444
|
+
.verdict-conf__label { font-family: var(--mono); font-size: 10px; color: var(--muted-2); white-space: nowrap; }
|
|
445
|
+
.verdict-details-bar { display: flex; justify-content: flex-end; }
|
|
446
|
+
.verdict-toggle-all { background: none; border: 1px solid var(--line-2); border-radius: 7px; color: var(--muted); font: 11px var(--mono); padding: 4px 10px; }
|
|
447
|
+
.verdict-toggle-all:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-2); }
|
|
448
|
+
.verdict-card__receipt { padding: 2px 2px 0; color: var(--fainter); font: 10px var(--mono); }
|
|
449
|
+
|
|
450
|
+
/* ── right deck (council session) ────────────────────────────────────── */
|
|
451
|
+
.deck { background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
|
|
452
|
+
.deck__head {
|
|
453
|
+
height: 58px; flex: 0 0 58px; display: flex; align-items: center; justify-content: space-between;
|
|
454
|
+
padding: 0 20px; border-bottom: 1px solid var(--line);
|
|
455
|
+
}
|
|
456
|
+
.deck__head-title { display: flex; align-items: center; gap: 9px; }
|
|
457
|
+
.deck__head-end { display: flex; align-items: center; gap: 8px; }
|
|
458
|
+
.deck__eyebrow { font-weight: 600; font-size: 13.5px; color: var(--text); }
|
|
459
|
+
.deck__state {
|
|
460
|
+
display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px;
|
|
461
|
+
color: var(--muted-2); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 6px;
|
|
462
|
+
}
|
|
463
|
+
.deck__state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
464
|
+
.deck__state[data-live="live"] { color: var(--accent-2); border-color: var(--accent-line); }
|
|
465
|
+
.deck__state[data-live="live"]::before { animation: aikiPulse 1.1s ease-in-out infinite; }
|
|
466
|
+
.deck__state[data-live="complete"] { color: var(--green); border-color: oklch(0.78 0.14 155 / 0.3); }
|
|
467
|
+
.deck__state[data-live="failed"] { color: var(--red); border-color: oklch(0.68 0.18 25 / 0.3); }
|
|
468
|
+
.deck__runid { font-family: var(--mono); font-size: 10px; color: var(--fainter); }
|
|
469
|
+
.deck__body { flex: 1; overflow-y: auto; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 22px; }
|
|
470
|
+
.deck-sec { display: flex; flex-direction: column; }
|
|
471
|
+
.deck-sec__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
|
|
472
|
+
.deck-sec__label, .deck__section { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fainter); margin: 0; }
|
|
473
|
+
.deck-sec__value { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
|
|
474
|
+
.deck__hint { font-size: 12.5px; line-height: 1.55; color: var(--faint); margin: 6px 0 0; }
|
|
475
|
+
|
|
476
|
+
/* pipeline timeline */
|
|
477
|
+
.stage-spine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
|
478
|
+
.stage-spine:empty::after { content: 'Convene a decision to light the pipeline.'; font-size: 12px; color: var(--faint); }
|
|
479
|
+
.stage-node { display: flex; gap: 12px; }
|
|
480
|
+
.stage-node__rail { display: flex; flex-direction: column; align-items: center; flex: none; }
|
|
481
|
+
.stage-node__dot {
|
|
482
|
+
width: 20px; height: 20px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
|
|
483
|
+
font: 700 10px var(--mono); background: transparent; color: var(--faint);
|
|
484
|
+
border: 1.5px solid var(--line-3); transition: background 0.3s, border-color 0.3s, color 0.3s;
|
|
485
|
+
}
|
|
486
|
+
.stage-node__line { width: 1.5px; flex: 1; min-height: 14px; margin: 2px 0; background: var(--line-2); }
|
|
487
|
+
.stage-node:last-child .stage-node__line { display: none; }
|
|
488
|
+
.stage-node__body { padding-bottom: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
489
|
+
.stage-node__label { font-size: 13px; font-weight: 500; color: var(--muted-2); }
|
|
490
|
+
.stage-node__state { font-size: 11px; color: var(--faint); font-family: var(--mono); }
|
|
491
|
+
.stage-node[data-status="running"] .stage-node__dot { border-color: var(--accent); color: var(--accent-2); background: var(--accent-tint); animation: aikiRing 1.5s ease-out infinite; --rc: var(--accent); }
|
|
492
|
+
.stage-node[data-status="running"] .stage-node__label { color: var(--text); font-weight: 600; }
|
|
493
|
+
.stage-node[data-status="done"] .stage-node__dot { border-color: var(--green); background: var(--green); color: #0a0b0d; }
|
|
494
|
+
.stage-node[data-status="done"] .stage-node__label { color: var(--text-3); }
|
|
495
|
+
.stage-node[data-status="done"] .stage-node__line { background: oklch(0.78 0.14 155 / 0.35); }
|
|
496
|
+
.stage-node[data-status="failed"] .stage-node__dot { border-color: var(--red); background: var(--red); color: #0a0b0d; }
|
|
497
|
+
.stage-node[data-status="skipped"] .stage-node__dot { border-style: dashed; }
|
|
498
|
+
|
|
499
|
+
/* council model cards */
|
|
500
|
+
.council { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
|
501
|
+
.seat {
|
|
502
|
+
background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 13px;
|
|
503
|
+
display: flex; flex-direction: column; gap: 9px; transition: border-color 0.3s;
|
|
504
|
+
}
|
|
505
|
+
.seat[data-busy="true"] { border-color: var(--accent-line); }
|
|
506
|
+
.seat__row { display: flex; align-items: center; gap: 10px; }
|
|
507
|
+
.seat__glyph {
|
|
508
|
+
width: 30px; height: 30px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center;
|
|
509
|
+
font: 700 12px var(--mono); color: #0a0b0d;
|
|
510
|
+
}
|
|
511
|
+
.seat[data-seat="claude"] .seat__glyph { background: var(--seat-claude); }
|
|
512
|
+
.seat[data-seat="codex"] .seat__glyph { background: var(--seat-codex); }
|
|
513
|
+
.seat[data-seat="agy"] .seat__glyph { background: var(--seat-agy); }
|
|
514
|
+
.seat[data-busy="true"] .seat__glyph { animation: aikiGlow 1.6s ease-in-out infinite; }
|
|
515
|
+
.seat[data-seat="claude"][data-busy="true"] .seat__glyph { --gc: oklch(0.76 0.12 55 / 0.6); }
|
|
516
|
+
.seat[data-seat="codex"][data-busy="true"] .seat__glyph { --gc: oklch(0.80 0.11 165 / 0.6); }
|
|
517
|
+
.seat[data-seat="agy"][data-busy="true"] .seat__glyph { --gc: oklch(0.72 0.12 255 / 0.6); }
|
|
518
|
+
.seat__id { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
|
|
519
|
+
.seat__top { display: flex; align-items: center; gap: 7px; }
|
|
520
|
+
.seat__name { font-size: 13px; font-weight: 600; color: var(--text); }
|
|
521
|
+
.seat__role { font-family: var(--mono); font-size: 9px; color: var(--muted-2); border: 1px solid var(--line-2); padding: 0.5px 5px; border-radius: 4px; }
|
|
522
|
+
.seat__model { font-family: var(--mono); font-size: 10px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
523
|
+
.seat__status { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); flex: none; }
|
|
524
|
+
.seat__lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
|
|
525
|
+
.seat__lamp[data-tone="green"] { background: var(--green); }
|
|
526
|
+
.seat__lamp[data-tone="amber"] { background: var(--orange); }
|
|
527
|
+
.seat__lamp[data-tone="red"] { background: var(--red); }
|
|
528
|
+
.seat[data-busy="true"] .seat__lamp { background: var(--accent); animation: aikiPulse 1s ease-in-out infinite; }
|
|
529
|
+
.seat__track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
|
|
530
|
+
.seat__fill { height: 100%; width: 4%; border-radius: 3px; background: var(--muted-2); transition: width 0.5s var(--ease); }
|
|
531
|
+
.seat[data-seat="claude"] .seat__fill { background: var(--seat-claude); }
|
|
532
|
+
.seat[data-seat="codex"] .seat__fill { background: var(--seat-codex); }
|
|
533
|
+
.seat[data-seat="agy"] .seat__fill { background: var(--seat-agy); }
|
|
534
|
+
.seat[data-busy="true"] .seat__fill { background: linear-gradient(90deg, var(--accent), transparent) var(--accent); background-size: 200% 100%; animation: aikiShimmer 1.2s linear infinite; }
|
|
535
|
+
.seat__activity { font-size: 11px; color: var(--muted-2); min-height: 15px; display: flex; align-items: center; gap: 2px; }
|
|
536
|
+
.seat[data-busy="true"] .seat__activity::after { content: ''; width: 6px; height: 12px; background: var(--accent); margin-left: 1px; animation: aikiBlink 1s step-end infinite; }
|
|
537
|
+
|
|
538
|
+
/* signals counters */
|
|
539
|
+
.deck-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
|
|
540
|
+
.deck-counter { padding: 9px 4px; text-align: center; background: var(--card); border: 1px solid var(--line-2); border-radius: 9px; }
|
|
541
|
+
.deck-counter strong { display: block; color: var(--text); font: 16px var(--mono); }
|
|
542
|
+
.deck-counter span { color: var(--faint); font: 8px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }
|
|
543
|
+
|
|
544
|
+
/* cost receipt */
|
|
545
|
+
.cost { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; display: flex; flex-direction: column; gap: 11px; }
|
|
546
|
+
.cost__row { display: flex; align-items: center; gap: 10px; }
|
|
547
|
+
.cost__swatch { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--muted-2); }
|
|
548
|
+
.cost__row[data-seat="claude"] .cost__swatch { background: var(--seat-claude); }
|
|
549
|
+
.cost__row[data-seat="codex"] .cost__swatch { background: var(--seat-codex); }
|
|
550
|
+
.cost__row[data-seat="agy"] .cost__swatch { background: var(--seat-agy); }
|
|
551
|
+
.cost__name { font-size: 12.5px; color: var(--text-2); flex: 1; }
|
|
552
|
+
.cost__calls { font-family: var(--mono); font-size: 12px; color: var(--text); }
|
|
553
|
+
.cost__rule { height: 1px; background: var(--line); }
|
|
554
|
+
.cost__bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
|
|
555
|
+
.cost__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), oklch(0.66 0.14 300)); transition: width 0.5s var(--ease); }
|
|
556
|
+
.cost__note { font-size: 10px; color: var(--fainter); }
|
|
557
|
+
.cost:empty { display: none; }
|
|
558
|
+
|
|
559
|
+
/* ── settings sheet ──────────────────────────────────────────────────── */
|
|
560
|
+
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; }
|
|
561
|
+
.sheet[hidden] { display: none; }
|
|
562
|
+
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); }
|
|
563
|
+
.sheet__panel {
|
|
564
|
+
position: relative; margin: auto; width: min(560px, 92vw); max-height: 86vh; overflow-y: auto;
|
|
565
|
+
background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px;
|
|
566
|
+
box-shadow: var(--shadow); padding: 22px 24px;
|
|
567
|
+
}
|
|
568
|
+
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
|
|
569
|
+
.sheet__head h2 { margin: 0; font-size: 19px; font-weight: 600; }
|
|
570
|
+
.settings-form { display: flex; flex-direction: column; }
|
|
571
|
+
.settings-group { border: 0; padding: 0; margin: 4px 0 8px; }
|
|
572
|
+
.settings-group legend { width: 100%; padding: 14px 0 10px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--fainter); }
|
|
573
|
+
.settings-field { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 14px; padding: 7px 0; font-size: 13px; color: var(--text-2); }
|
|
574
|
+
.settings-input, .settings-select {
|
|
575
|
+
width: 100%; min-width: 0; min-height: 40px; border: 1px solid var(--line-3); border-radius: 9px;
|
|
576
|
+
background: var(--card); color: var(--text); padding: 8px 10px; font: 12px var(--mono);
|
|
577
|
+
}
|
|
578
|
+
.settings-input::placeholder { color: var(--faint); }
|
|
579
|
+
.settings-scope, .settings-note, .settings-empty { font-size: 11.5px; line-height: 1.5; color: var(--faint); }
|
|
580
|
+
.settings-scope { margin: 0 0 4px; padding: 9px 11px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }
|
|
581
|
+
.settings-note { margin: 8px 0 0; }
|
|
582
|
+
.settings-error { padding: 12px; border-left: 3px solid var(--red); background: oklch(0.68 0.18 25 / 0.08); color: var(--red); border-radius: 8px; }
|
|
583
|
+
.settings-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
|
|
584
|
+
|
|
585
|
+
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; border: 0; background: rgba(0, 0, 0, .55); width: 100%; height: 100%; }
|
|
586
|
+
.drawer-backdrop[hidden] { display: none; }
|
|
587
|
+
|
|
588
|
+
/* header toggles (mobile only by default) */
|
|
589
|
+
.workspace-bar, .rail__close, .deck__close, #rail-toggle, #deck-toggle { display: none; }
|
|
590
|
+
|
|
591
|
+
/* ── toast ───────────────────────────────────────────────────────────── */
|
|
592
|
+
.toast {
|
|
593
|
+
position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
|
|
594
|
+
background: var(--raise); border: 1px solid var(--line-3); color: var(--text); font-size: 13px;
|
|
595
|
+
padding: 11px 16px; border-radius: 10px; box-shadow: var(--shadow); z-index: 80; max-width: 80vw;
|
|
596
|
+
animation: aikiRise 0.25s var(--ease) both;
|
|
597
|
+
}
|
|
598
|
+
.toast[hidden] { display: none; }
|
|
599
|
+
|
|
600
|
+
/* ── responsive ──────────────────────────────────────────────────────── */
|
|
601
|
+
@media (max-width: 1239px) {
|
|
602
|
+
.workspace { grid-template-columns: 64px minmax(0, 1fr); }
|
|
603
|
+
.rail { min-width: 0; }
|
|
604
|
+
.rail__head { padding: 14px 8px; justify-content: center; }
|
|
605
|
+
.rail__id, .rail__controls, .rail__sub, .quorum__label { display: none; }
|
|
606
|
+
#quorum { justify-content: center; padding: 6px 5px; margin: 10px 8px 0; }
|
|
607
|
+
.providers::before, .provider__main, .provider__status, .threads .eyebrow, .thread-item__title, .thread-item__time, .version { display: none; }
|
|
608
|
+
.provider { display: flex; justify-content: center; padding: 9px 5px; }
|
|
609
|
+
#check-connections { font-size: 0; padding: 9px; }
|
|
610
|
+
#check-connections::before { content: "↻"; font-size: 18px; color: var(--muted); }
|
|
611
|
+
#check-connections .btn__note { display: none; }
|
|
612
|
+
.rail > .btn--primary { font-size: 0; padding: 9px; margin: 12px 10px 4px; }
|
|
613
|
+
.rail > .btn--primary::before { content: "+"; font-size: 22px; }
|
|
614
|
+
.thread-item { display: flex; justify-content: center; padding: 9px 4px; }
|
|
615
|
+
#settings-open { font-size: 0; }
|
|
616
|
+
#settings-open::before { content: "⚙"; font-size: 16px; }
|
|
617
|
+
.rail__foot { justify-content: center; }
|
|
618
|
+
#deck-toggle { display: inline-flex; }
|
|
619
|
+
.center__head #deck-toggle { order: 3; }
|
|
620
|
+
.deck {
|
|
621
|
+
position: fixed; z-index: 50; inset: 0 0 0 auto; width: min(392px, 100vw);
|
|
622
|
+
transform: translateX(100%); transition: transform .2s var(--ease); box-shadow: -18px 0 48px rgba(0, 0, 0, .5);
|
|
623
|
+
}
|
|
624
|
+
body.deck-open .deck { transform: translateX(0); }
|
|
625
|
+
.deck__close { display: inline-flex; color: var(--text-2); }
|
|
626
|
+
}
|
|
627
|
+
@media (max-width: 899px) {
|
|
628
|
+
.workspace { grid-template-columns: 1fr; }
|
|
629
|
+
#rail-toggle { display: inline-flex; }
|
|
630
|
+
.center__head { padding: 0 12px; gap: 8px; }
|
|
631
|
+
.rail {
|
|
632
|
+
position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(320px, 92vw);
|
|
633
|
+
transform: translateX(-100%); transition: transform .2s var(--ease); box-shadow: 18px 0 48px rgba(0, 0, 0, .5);
|
|
634
|
+
}
|
|
635
|
+
body.rail-open .rail { transform: translateX(0); }
|
|
636
|
+
.rail__head { justify-content: flex-start; }
|
|
637
|
+
.rail__id, .rail__controls, .rail__sub { display: flex; }
|
|
638
|
+
.quorum__label { display: inline; }
|
|
639
|
+
#quorum { justify-content: flex-start; padding: 5px 12px; margin: 12px 14px 0; }
|
|
640
|
+
.rail__close { display: inline-flex; color: var(--text-2); }
|
|
641
|
+
.providers::before, .provider__main, .provider__status, .threads .eyebrow, .thread-item__title, .thread-item__time, .version { display: block; }
|
|
642
|
+
.thread-item__glyph { display: inline-block; }
|
|
643
|
+
.provider { display: grid; padding: 7px 8px; }
|
|
644
|
+
#check-connections { font-size: 13px; padding: 9px 12px; }
|
|
645
|
+
#check-connections::before { display: none; }
|
|
646
|
+
#check-connections .btn__note { display: block; }
|
|
647
|
+
.rail > .btn--primary { font-size: 13px; padding: 9px 12px; }
|
|
648
|
+
.rail > .btn--primary::before { display: none; }
|
|
649
|
+
.thread-item { display: grid; padding: 9px 10px; }
|
|
650
|
+
#settings-open { font-size: 12px; }
|
|
651
|
+
#settings-open::before { display: none; }
|
|
652
|
+
.thread-inner, .thinking { padding-left: 16px; padding-right: 16px; }
|
|
653
|
+
.composer-shell { padding: 0 12px 12px; }
|
|
654
|
+
.turn--user { max-width: 92%; }
|
|
655
|
+
.gate-card:not(.gate-card--resolved) { position: static; }
|
|
656
|
+
.sheet__panel { margin: 0 0 0 auto; width: min(520px, 100vw); height: 100dvh; max-height: none; border-radius: 0; padding: 18px 16px; }
|
|
657
|
+
.settings-field { grid-template-columns: 1fr; gap: 5px; }
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
@media (prefers-reduced-motion: reduce) {
|
|
661
|
+
* { animation: none !important; transition: none !important; }
|
|
662
|
+
}
|