create-orcha 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,548 +0,0 @@
1
- :root {
2
- color: #17201b;
3
- background: #f6f8f6;
4
- font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
5
- font-synthesis: none;
6
- --surface: #ffffff;
7
- --surface-soft: #f8faf8;
8
- --line: #e2e7e3;
9
- --line-strong: #d3dbd5;
10
- --text: #17201b;
11
- --muted: #68736c;
12
- --faint: #929b95;
13
- --accent: #176b45;
14
- --accent-soft: #eaf5ef;
15
- --blue: #315f91;
16
- --blue-soft: #edf3f9;
17
- --amber: #875f19;
18
- --amber-soft: #fbf4e7;
19
- --danger: #a13f3f;
20
- --danger-soft: #fceded;
21
- --shadow: 0 8px 28px rgba(29, 43, 34, 0.06);
22
- }
23
-
24
- * { box-sizing: border-box; }
25
- body { margin: 0; min-width: 1040px; }
26
- button, textarea { font: inherit; }
27
- button { color: inherit; }
28
-
29
- .app-shell {
30
- display: grid;
31
- grid-template-columns: 224px minmax(560px, 1fr) 400px;
32
- min-height: 100vh;
33
- }
34
-
35
- .agent-sidebar,
36
- .session-sidebar {
37
- position: sticky;
38
- top: 0;
39
- height: 100vh;
40
- overflow: hidden;
41
- background: var(--surface);
42
- }
43
-
44
- .agent-sidebar { border-right: 1px solid var(--line); }
45
- .session-sidebar { border-left: 1px solid var(--line); }
46
-
47
- .brand {
48
- display: flex;
49
- height: 76px;
50
- align-items: center;
51
- gap: 11px;
52
- padding: 0 18px;
53
- border-bottom: 1px solid var(--line);
54
- }
55
-
56
- .brand-mark {
57
- display: block;
58
- width: 34px;
59
- height: 34px;
60
- flex: 0 0 auto;
61
- }
62
-
63
- .brand div { display: flex; flex-direction: column; }
64
- .brand strong { font-size: 14px; }
65
- .brand span:last-child { margin-top: 1px; color: var(--muted); font-size: 11px; }
66
-
67
- .sidebar-heading {
68
- display: flex;
69
- align-items: center;
70
- justify-content: space-between;
71
- padding: 22px 18px 10px;
72
- color: var(--muted);
73
- font-size: 10px;
74
- font-weight: 750;
75
- letter-spacing: 0.1em;
76
- text-transform: uppercase;
77
- }
78
-
79
- .count {
80
- display: inline-grid;
81
- min-width: 22px;
82
- height: 22px;
83
- place-items: center;
84
- border: 1px solid var(--line);
85
- border-radius: 7px;
86
- color: var(--muted);
87
- background: var(--surface-soft);
88
- font-size: 10px;
89
- }
90
-
91
- .agent-list { padding: 0 10px; }
92
-
93
- .agent-button {
94
- display: flex;
95
- width: 100%;
96
- align-items: center;
97
- gap: 10px;
98
- margin-bottom: 3px;
99
- border: 1px solid transparent;
100
- border-radius: 9px;
101
- padding: 10px;
102
- background: transparent;
103
- cursor: pointer;
104
- text-align: left;
105
- }
106
-
107
- .agent-button:hover { background: var(--surface-soft); }
108
- .agent-button.active { border-color: #cfe4d7; background: var(--accent-soft); }
109
-
110
- .agent-icon {
111
- display: grid;
112
- width: 30px;
113
- height: 30px;
114
- flex: 0 0 auto;
115
- place-items: center;
116
- border-radius: 8px;
117
- color: var(--accent);
118
- background: white;
119
- box-shadow: inset 0 0 0 1px var(--line);
120
- font-size: 10px;
121
- font-weight: 800;
122
- text-transform: uppercase;
123
- }
124
-
125
- .agent-copy { min-width: 0; }
126
- .agent-copy strong,
127
- .agent-copy span {
128
- display: block;
129
- overflow: hidden;
130
- text-overflow: ellipsis;
131
- white-space: nowrap;
132
- }
133
- .agent-copy strong { font-size: 12px; }
134
- .agent-copy span { margin-top: 2px; color: var(--muted); font-size: 10px; }
135
-
136
- .main {
137
- min-width: 0;
138
- min-height: 100vh;
139
- }
140
-
141
- .agent-header {
142
- display: flex;
143
- min-height: 112px;
144
- align-items: center;
145
- justify-content: space-between;
146
- gap: 24px;
147
- padding: 22px 34px;
148
- background: var(--surface);
149
- }
150
-
151
- .overline {
152
- display: block;
153
- color: var(--faint);
154
- font-size: 9px;
155
- font-weight: 800;
156
- letter-spacing: 0.12em;
157
- text-transform: uppercase;
158
- }
159
-
160
- h1, h2, h3, p { margin-top: 0; }
161
- h1 { margin-bottom: 5px; font-size: 24px; letter-spacing: -0.025em; }
162
- h2 { margin: 3px 0 0; font-size: 16px; letter-spacing: -0.01em; }
163
- .agent-header p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
164
-
165
- .badges,
166
- .chips,
167
- .examples {
168
- display: flex;
169
- flex-wrap: wrap;
170
- gap: 7px;
171
- }
172
-
173
- .badge,
174
- .pill {
175
- display: inline-flex;
176
- align-items: center;
177
- border: 1px solid var(--line);
178
- border-radius: 999px;
179
- padding: 5px 8px;
180
- color: var(--muted);
181
- background: var(--surface-soft);
182
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
183
- font-size: 10px;
184
- }
185
-
186
- .main-tabs {
187
- position: sticky;
188
- top: 0;
189
- z-index: 3;
190
- display: flex;
191
- height: 48px;
192
- align-items: flex-end;
193
- gap: 24px;
194
- padding: 0 34px;
195
- border-top: 1px solid var(--line);
196
- border-bottom: 1px solid var(--line);
197
- background: rgba(255, 255, 255, 0.94);
198
- backdrop-filter: blur(12px);
199
- }
200
-
201
- .main-tab {
202
- height: 48px;
203
- border: 0;
204
- border-bottom: 2px solid transparent;
205
- padding: 0 1px;
206
- color: var(--muted);
207
- background: transparent;
208
- cursor: pointer;
209
- font-size: 12px;
210
- font-weight: 650;
211
- }
212
- .main-tab:hover { color: var(--text); }
213
- .main-tab.active { border-bottom-color: var(--accent); color: var(--accent); }
214
- .main-tab:disabled { cursor: not-allowed; opacity: 0.4; }
215
-
216
- .main-view { display: none; padding: 28px 34px 60px; }
217
- .main-view.active { display: block; }
218
- #run-view.active { display: flex; flex-direction: column; }
219
- #live-section { order: 1; }
220
- #client-actions { order: 2; }
221
- .run-section {
222
- position: sticky;
223
- bottom: 16px;
224
- z-index: 2;
225
- order: 3;
226
- margin-bottom: 0;
227
- }
228
-
229
- .section {
230
- margin-bottom: 18px;
231
- border: 1px solid var(--line);
232
- border-radius: 13px;
233
- padding: 20px;
234
- background: var(--surface);
235
- box-shadow: var(--shadow);
236
- }
237
-
238
- .section-title {
239
- display: flex;
240
- align-items: center;
241
- justify-content: space-between;
242
- gap: 20px;
243
- margin-bottom: 15px;
244
- }
245
- .section-copy { color: var(--muted); font-size: 12px; line-height: 1.55; }
246
-
247
- .configuration-grid {
248
- display: grid;
249
- grid-template-columns: repeat(3, minmax(0, 1fr));
250
- gap: 1px;
251
- overflow: hidden;
252
- border: 1px solid var(--line);
253
- border-radius: 10px;
254
- background: var(--line);
255
- }
256
-
257
- .configuration-item { min-width: 0; padding: 13px; background: var(--surface-soft); }
258
- .configuration-item span { display: block; color: var(--faint); font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
259
- .configuration-item strong { display: block; overflow: hidden; margin-top: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
260
-
261
- .card-list { display: grid; gap: 8px; }
262
- .capability-card {
263
- overflow: hidden;
264
- border: 1px solid var(--line);
265
- border-radius: 10px;
266
- background: var(--surface-soft);
267
- }
268
- .capability-card > summary {
269
- display: flex;
270
- align-items: center;
271
- justify-content: space-between;
272
- gap: 14px;
273
- padding: 13px 14px;
274
- list-style: none;
275
- }
276
- .capability-card > summary::-webkit-details-marker { display: none; }
277
- .capability-card > summary::after { color: var(--faint); content: "›"; font-size: 17px; transition: transform 120ms ease; }
278
- .capability-card[open] > summary::after { transform: rotate(90deg); }
279
- .capability-summary { display: grid; min-width: 0; flex: 1; gap: 5px; }
280
- .capability-summary > span { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
281
- .capability-card strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
282
- .capability-details { border-top: 1px solid var(--line); padding: 12px 14px 14px; background: white; }
283
- .capability-card .meta { color: var(--faint); font-size: 9px; }
284
- .detail-panel { margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
285
- .detail-panel > summary,
286
- .test-definition > summary { padding: 10px 12px; color: var(--muted); list-style-position: inside; font-size: 10px; }
287
- .detail-panel .configuration-grid { border-width: 1px 0 0; border-radius: 0; }
288
- .detail-json,
289
- .instruction-detail pre { overflow: auto; max-height: 420px; margin: 10px 0 0; border-radius: 8px; padding: 12px; color: #465149; background: #f4f7f5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
290
- .detail-panel > .detail-json { margin: 0; border-radius: 0 0 8px 8px; }
291
- .instruction-text { overflow: auto; max-height: 420px; margin: 0; border-top: 1px solid var(--line); padding: 14px; color: #465149; background: white; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
292
- .instruction-detail { margin-top: 12px; }
293
-
294
- .type {
295
- border-radius: 999px;
296
- padding: 3px 7px;
297
- color: var(--blue);
298
- background: var(--blue-soft);
299
- font-size: 9px;
300
- font-weight: 750;
301
- }
302
- .type.client,
303
- .type.enabled { color: var(--accent); background: var(--accent-soft); }
304
- .type.disabled { color: var(--muted); background: #eef0ee; }
305
-
306
- .split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
307
- .empty { padding: 16px 8px; color: var(--faint); font-size: 11px; line-height: 1.5; }
308
-
309
- .examples { margin-bottom: 14px; }
310
- .example-button {
311
- border: 1px solid var(--line-strong);
312
- border-radius: 8px;
313
- padding: 7px 10px;
314
- color: var(--muted);
315
- background: var(--surface);
316
- cursor: pointer;
317
- font-size: 10px;
318
- }
319
- .example-button:hover { border-color: #b9d8c5; color: var(--accent); background: var(--accent-soft); }
320
-
321
- .input-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 11px; }
322
- .input-toolbar,
323
- .input-card footer,
324
- .raw-toolbar {
325
- display: flex;
326
- align-items: center;
327
- justify-content: space-between;
328
- }
329
- .input-toolbar { padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
330
- .input-toolbar > span,
331
- .input-card footer > span,
332
- .raw-toolbar { color: var(--faint); font-size: 10px; }
333
- .segmented { display: flex; gap: 2px; padding: 2px; border-radius: 7px; background: #e9edea; }
334
- .segment { border: 0; border-radius: 5px; padding: 5px 9px; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 650; }
335
- .segment.active { color: var(--text); background: white; box-shadow: 0 1px 3px rgba(24, 34, 28, 0.12); }
336
-
337
- #prompt {
338
- display: block;
339
- width: 100%;
340
- resize: vertical;
341
- border: 0;
342
- outline: 0;
343
- padding: 16px;
344
- color: var(--text);
345
- background: white;
346
- font-family: inherit;
347
- font-size: 13px;
348
- line-height: 1.55;
349
- min-height: 74px;
350
- max-height: 160px;
351
- }
352
- #prompt.json-mode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
353
- .input-card footer { padding: 9px 10px; border-top: 1px solid var(--line); background: var(--surface-soft); }
354
- kbd { margin-right: 3px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 4px; background: white; font-family: inherit; }
355
-
356
- .primary-button,
357
- .quiet-button,
358
- .icon-button,
359
- .new-session-button {
360
- border: 0;
361
- cursor: pointer;
362
- }
363
- .primary-button { border-radius: 8px; padding: 8px 12px; color: white; background: var(--accent); font-size: 11px; font-weight: 700; }
364
- #run-tests { display: inline-flex; align-items: center; gap: 6px; }
365
- .primary-button:hover { background: #125a39; }
366
- .primary-button:disabled { cursor: wait; opacity: 0.55; }
367
- .quiet-button { padding: 5px 7px; color: var(--muted); background: transparent; font-size: 10px; }
368
- .quiet-button:hover { color: var(--text); }
369
- .icon-button { width: 30px; height: 30px; border-radius: 8px; color: var(--muted); background: var(--surface-soft); }
370
-
371
- .hidden { display: none !important; }
372
- .status { border-radius: 999px; padding: 4px 8px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-weight: 750; }
373
- .status.running { display: inline-flex; align-items: center; gap: 6px; }
374
- .status-spinner { width: 10px; height: 10px; border: 2px solid rgba(23, 107, 69, 0.22); border-top-color: var(--accent); border-radius: 50%; animation: status-spin 700ms linear infinite; }
375
- @keyframes status-spin { to { transform: rotate(360deg); } }
376
- .status.failed { color: var(--danger); background: var(--danger-soft); }
377
- .status.waiting_for_client_action { color: var(--amber); background: var(--amber-soft); }
378
-
379
- .timeline { display: flex; flex-direction: column; gap: 10px; }
380
- .message { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: white; font-size: 12px; line-height: 1.55; }
381
- .event-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 9px 12px; background: var(--surface-soft); }
382
- .event-heading span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
383
- .event-heading strong { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: capitalize; }
384
- .message.input .event-heading span { color: var(--blue); }
385
- .message.reasoning .event-heading span { color: var(--amber); }
386
- .message.skill .event-heading span,
387
- .message.action .event-heading span { color: #6d5a83; }
388
- .message.output .event-heading span { color: var(--accent); }
389
- .event-title { padding: 12px 14px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 700; }
390
- .event-content { padding: 12px 14px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
391
- .event-fields { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 10px 14px; }
392
- .event-fields > div { display: grid; gap: 2px; }
393
- .event-fields dt,
394
- .event-section > span { color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
395
- .event-fields dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
396
- .event-section { border-top: 1px solid var(--line); padding: 11px 14px; }
397
- .event-section pre { overflow: auto; margin: 6px 0 0; color: #465149; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
398
- .client-actions { border-color: #eadab9; background: #fffcf6; }
399
- .tool-field { margin-bottom: 14px; }
400
- .tool-field code { color: var(--amber); font-size: 11px; font-weight: 700; }
401
- .tool-field pre { overflow: auto; color: var(--muted); font-size: 10px; }
402
- .tool-field textarea { width: 100%; min-height: 84px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; padding: 10px; background: white; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
403
-
404
- .test-summary { margin: 18px 0 10px; border-radius: 9px; padding: 11px 13px; background: var(--surface-soft); }
405
- .test-summary.passed { color: var(--accent); background: var(--accent-soft); }
406
- .test-summary.failed { color: var(--danger); background: var(--danger-soft); }
407
- .test-results { display: grid; gap: 9px; }
408
- .test-card { border: 1px solid var(--line); border-radius: 10px; padding: 13px; background: var(--surface-soft); }
409
- .test-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
410
- .test-card > header strong { font-size: 14px; }
411
- .test-card header span { font-size: 9px; }
412
- .test-run-button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 7px 10px; background: white; font-size: 11px; font-weight: 700; }
413
- .test-run-button:hover { border-color: #b9d8c5; color: var(--accent); background: var(--accent-soft); }
414
- .test-run-button span,
415
- #run-tests span { font-size: 8px; }
416
- .test-card.passed header span { color: var(--accent); }
417
- .test-card.failed header span { color: var(--danger); }
418
- .test-card .test-meta { margin-top: 6px; color: var(--muted); font-size: 11px; }
419
- .test-definition { margin-top: 10px; border-top: 1px solid var(--line); }
420
- .test-definition > summary { padding-left: 0; }
421
- .test-definition .detail-json { margin-top: 0; }
422
- .assertions { display: grid; gap: 4px; margin-top: 10px; }
423
- .assertion { display: flex; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
424
- .assertion::before { color: var(--accent); content: "✓"; }
425
- .assertion.failed::before { color: var(--danger); content: "×"; }
426
- .session-link { display: inline-block; margin-top: 9px; color: var(--blue); font-size: 9px; text-decoration: none; }
427
- .session-link:hover { text-decoration: underline; }
428
-
429
- .evaluation-results { display: grid; gap: 12px; }
430
- .evaluation-definition { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: white; }
431
- .evaluation-definition > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 17px 18px; }
432
- .evaluation-definition > header strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
433
- .evaluation-definition > header p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
434
- .evaluator-instructions { border-top: 1px solid var(--line); background: white; }
435
- .evaluator-instructions > summary { padding: 12px 18px; color: var(--text); font-size: 11px; }
436
- .evaluator-instructions > pre { overflow: auto; max-height: 320px; margin: 0; border-top: 1px solid var(--line); padding: 16px 18px; color: #465149; background: var(--surface-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
437
- .evaluation-subheading { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 15px 18px 11px; }
438
- .evaluation-subheading strong { font-size: 14px; }
439
- .evaluation-metric-definitions { display: grid; gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
440
- .evaluation-metric-definition { padding: 15px 18px; background: var(--surface-soft); }
441
- .evaluation-metric-definition > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
442
- .evaluation-metric-definition strong { font-size: 13px; }
443
- .evaluation-metric-definition span { border-radius: 999px; padding: 4px 8px; color: var(--blue); background: var(--blue-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 700; }
444
- .evaluation-metric-definition p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
445
- .evaluation-configuration { border-top: 1px solid var(--line); }
446
- .evaluation-configuration > summary { padding: 11px 18px; color: var(--muted); font-size: 10px; }
447
- .evaluation-configuration .detail-json { margin: 0; border-radius: 0; }
448
- .evaluation-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
449
- .evaluation-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; border-bottom: 1px solid var(--line); background: white; }
450
- .evaluation-card > header strong { display: block; margin-top: 3px; font-size: 12px; }
451
- .evaluation-status { border-radius: 999px; padding: 4px 8px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-weight: 800; text-transform: uppercase; }
452
- .evaluation-card.failed .evaluation-status,
453
- .evaluation-card.error .evaluation-status { color: var(--danger); background: var(--danger-soft); }
454
- .evaluation-error { margin: 12px 15px 0; border-radius: 7px; padding: 9px 10px; color: var(--danger); background: var(--danger-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
455
- .metric-list { display: grid; gap: 9px; padding: 12px; }
456
- .metric-card { border: 1px solid var(--line); border-radius: 9px; padding: 12px; background: white; }
457
- .metric-heading,
458
- .metric-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
459
- .metric-heading strong { font-size: 11px; }
460
- .metric-heading span { font-size: 9px; font-weight: 800; }
461
- .metric-heading .pass { color: var(--accent); }
462
- .metric-heading .fail { color: var(--danger); }
463
- .metric-score { margin-top: 9px; color: var(--faint); font-size: 9px; }
464
- .score-track { overflow: hidden; height: 4px; margin-top: 6px; border-radius: 999px; background: #e9edea; }
465
- .score-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
466
- .metric-card p { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
467
- .evidence { margin-top: 11px; }
468
- .evidence blockquote { margin: 6px 0 0; border-left: 2px solid var(--line-strong); padding-left: 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }
469
-
470
- .sessions-header {
471
- display: flex;
472
- height: 68px;
473
- align-items: center;
474
- justify-content: space-between;
475
- padding: 0 17px;
476
- border-bottom: 1px solid var(--line);
477
- }
478
- .sessions-header h2 { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 15px; }
479
- .session-count-side { display: inline-grid; min-width: 19px; height: 19px; place-items: center; border-radius: 6px; color: var(--muted); background: var(--surface-soft); font-size: 9px; }
480
- .new-session-button { width: calc(100% - 24px); margin: 12px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px; color: var(--accent); background: white; font-size: 11px; font-weight: 650; }
481
- .new-session-button:hover { background: var(--accent-soft); }
482
- .session-search { display: flex; align-items: center; gap: 7px; margin: 0 12px 10px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; color: var(--faint); background: var(--surface-soft); }
483
- .session-search input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 8px 0; color: var(--text); background: transparent; font: inherit; font-size: 10px; }
484
- .session-list { height: calc(100vh - 155px); overflow-y: auto; padding: 0 8px 16px; }
485
- .session-button { width: 100%; margin-bottom: 5px; border: 1px solid transparent; border-radius: 9px; padding: 10px; background: transparent; cursor: pointer; text-align: left; }
486
- .session-button:hover { background: var(--surface-soft); }
487
- .session-button.active { border-color: #cfe4d7; background: var(--accent-soft); }
488
- .session-row-head,
489
- .session-row-meta { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; }
490
- .session-button strong { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; }
491
- .session-button strong { font-size: 11px; }
492
- .session-row-meta { margin-top: 7px !important; color: var(--faint); font-size: 9px; }
493
- .session-row-meta code { overflow: hidden; max-width: 135px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
494
- .session-status-dot { display: block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--faint); }
495
- .session-status-dot.completed { background: var(--accent); }
496
- .session-status-dot.failed { background: var(--danger); }
497
- .session-status-dot.waiting_for_client_action { background: var(--amber); }
498
-
499
- .center-session-list { display: grid; gap: 8px; }
500
- .center-session-card { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; background: var(--surface-soft); cursor: pointer; text-align: left; }
501
- .center-session-card:hover { border-color: #bfd9c9; background: var(--accent-soft); }
502
- .center-session-card > span:first-child { display: grid; min-width: 0; gap: 6px; }
503
- .center-session-card strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
504
- .center-session-card code { color: var(--faint); font-size: 9px; }
505
- .center-session-meta { display: grid; flex: 0 0 auto; justify-items: end; gap: 7px; }
506
- .center-session-meta time { color: var(--faint); font-size: 9px; }
507
-
508
- .back-button { border: 0; padding: 6px 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
509
- .back-button:hover { color: var(--text); }
510
- .inspector-header { height: 60px; }
511
- .inspector-body { height: calc(100vh - 60px); overflow-y: auto; padding: 22px 18px 32px; }
512
- .inspector-body > h2 { overflow: hidden; margin: 6px 0 18px; font-size: 19px; line-height: 1.3; text-overflow: ellipsis; }
513
- .inspector-summary { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
514
- .inspector-fact { display: grid; gap: 5px; padding: 12px 13px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
515
- .inspector-fact:last-child { border-bottom: 0; }
516
- .inspector-fact > span { color: var(--faint); font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
517
- .inspector-fact > strong { overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
518
- .inspector-fact.multiline > strong { white-space: pre-wrap; word-break: break-word; }
519
- .inspector-section { margin-top: 20px; }
520
- .inspector-section-title { display: grid; gap: 4px; margin-bottom: 9px; }
521
- .inspector-section-title strong { font-size: 15px; }
522
- .inspector-evaluations { display: grid; gap: 7px; }
523
- .inspector-evaluation { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
524
- .inspector-evaluation > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px; list-style: none; }
525
- .inspector-evaluation > summary::-webkit-details-marker { display: none; }
526
- .inspector-evaluation > summary strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
527
- .inspector-evaluation > summary span { color: var(--accent); font-size: 9px; font-weight: 800; text-transform: uppercase; }
528
- .inspector-evaluation.failed > summary span,
529
- .inspector-evaluation.error > summary span { color: var(--danger); }
530
- .inspector-metric { border-top: 1px solid var(--line); padding: 13px; background: white; }
531
- .inspector-metric > div { display: flex; justify-content: space-between; gap: 8px; }
532
- .inspector-metric strong { font-size: 11px; }
533
- .inspector-metric span { color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
534
- .inspector-metric p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
535
- details { font-size: 11px; }
536
- summary { cursor: pointer; font-weight: 700; }
537
- .raw-toolbar { margin: 14px 0 8px; }
538
- .raw-events { overflow: auto; max-height: 560px; margin: 0; border: 1px solid var(--line); border-radius: 9px; padding: 13px; color: #465149; background: var(--surface-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
539
-
540
- .toast { position: fixed; right: 18px; bottom: 18px; z-index: 20; max-width: 360px; transform: translateY(8px); border: 1px solid var(--line-strong); border-radius: 9px; padding: 10px 13px; opacity: 0; background: white; box-shadow: var(--shadow); font-size: 11px; pointer-events: none; transition: 150ms ease; }
541
- .toast.visible { transform: translateY(0); opacity: 1; }
542
- .toast.error { border-color: #e6bebe; color: var(--danger); }
543
-
544
- @media (max-width: 1180px) {
545
- .app-shell { grid-template-columns: 190px minmax(520px, 1fr) 320px; }
546
- .configuration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
547
- .split-section { grid-template-columns: 1fr; }
548
- }
@@ -1,20 +0,0 @@
1
- import { build } from "esbuild";
2
- import { orchaPlugin } from "orchajs/esbuild";
3
- import { dirname, resolve } from "node:path";
4
- import { fileURLToPath } from "node:url";
5
-
6
- const projectRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
7
-
8
- await build({
9
- entryPoints: [resolve(projectRoot, "src/server.ts")],
10
- outfile: resolve(projectRoot, "dist/server.js"),
11
- bundle: true,
12
- format: "esm",
13
- platform: "node",
14
- target: "node20",
15
- minify: true,
16
- legalComments: "none",
17
- plugins: [orchaPlugin({ projectRoot })],
18
- });
19
-
20
- console.log("Built dist/server.js");