@n1k1t/pipelain 0.4.0 → 0.4.2
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/assets/report/index.hbs +8 -8
- package/assets/report/main.css +53 -34
- package/package.json +1 -1
package/assets/report/index.hbs
CHANGED
|
@@ -79,15 +79,15 @@
|
|
|
79
79
|
<div class="snapshot-content">
|
|
80
80
|
<!-- Step Metrics -->
|
|
81
81
|
<div class="step-meta">
|
|
82
|
-
<div class="
|
|
83
|
-
<span class="
|
|
84
|
-
<span class="text-mono">{{llm.name}}/{{llm.model}}</span>
|
|
82
|
+
<div class="meta-row">
|
|
83
|
+
<span class="meta-label">Model:</span>
|
|
84
|
+
<span class="meta-value text-mono">{{llm.name}}/{{llm.model}}</span>
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
87
|
{{#if usage}}
|
|
88
|
-
<div class="
|
|
89
|
-
<span class="
|
|
90
|
-
<span class="text-mono">{{usage.inputTokens}} (prompt) + {{usage.outputTokens}} (completion)</span>
|
|
88
|
+
<div class="meta-row">
|
|
89
|
+
<span class="meta-label">Usage:</span>
|
|
90
|
+
<span class="meta-value text-mono">{{usage.inputTokens}} (prompt) + {{usage.outputTokens}} (completion)</span>
|
|
91
91
|
</div>
|
|
92
92
|
{{/if}}
|
|
93
93
|
</div>
|
|
@@ -168,12 +168,12 @@
|
|
|
168
168
|
<!-- Action LLM & Details -->
|
|
169
169
|
<div class="io-title">Info</div>
|
|
170
170
|
<div class="action-meta-grid">
|
|
171
|
-
<div>
|
|
171
|
+
<div class="meta-row">
|
|
172
172
|
<span class="meta-label">Model:</span>
|
|
173
173
|
<span class="meta-value text-mono">{{llm.name}}/{{llm.model}}</span>
|
|
174
174
|
</div>
|
|
175
175
|
{{#if id}}
|
|
176
|
-
<div>
|
|
176
|
+
<div class="meta-row">
|
|
177
177
|
<span class="meta-label">Action ID:</span>
|
|
178
178
|
<span class="meta-value text-mono">{{id}}</span>
|
|
179
179
|
</div>
|
package/assets/report/main.css
CHANGED
|
@@ -50,7 +50,7 @@ body {
|
|
|
50
50
|
justify-content: space-between;
|
|
51
51
|
align-items: center;
|
|
52
52
|
flex-wrap: wrap;
|
|
53
|
-
gap:
|
|
53
|
+
gap: 10px;
|
|
54
54
|
margin-bottom: 24px;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -59,7 +59,7 @@ body {
|
|
|
59
59
|
font-weight: 800;
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
|
-
gap:
|
|
62
|
+
gap: 10px;
|
|
63
63
|
color: var(--text-primary);
|
|
64
64
|
letter-spacing: -0.025em;
|
|
65
65
|
}
|
|
@@ -73,16 +73,16 @@ body {
|
|
|
73
73
|
.session-info {
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: column;
|
|
76
|
-
gap:
|
|
76
|
+
gap: 10px;
|
|
77
77
|
background: var(--card-bg);
|
|
78
|
-
padding:
|
|
78
|
+
padding: 10px 20px;
|
|
79
79
|
border-radius: 8px;
|
|
80
80
|
border: 1px solid var(--border);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.info-item {
|
|
84
84
|
display: flex;
|
|
85
|
-
gap:
|
|
85
|
+
gap: 10px;
|
|
86
86
|
font-size: 14px;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -103,13 +103,13 @@ body {
|
|
|
103
103
|
.metrics-grid {
|
|
104
104
|
display: grid;
|
|
105
105
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
106
|
-
gap:
|
|
106
|
+
gap: 10px;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.metric-card {
|
|
110
110
|
background: var(--card-bg);
|
|
111
111
|
border: 1px solid var(--border);
|
|
112
|
-
padding: 20px;
|
|
112
|
+
padding: 10px 20px;
|
|
113
113
|
border-radius: 10px;
|
|
114
114
|
text-align: center;
|
|
115
115
|
}
|
|
@@ -138,7 +138,7 @@ body {
|
|
|
138
138
|
.snapshots-list {
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: column;
|
|
141
|
-
gap:
|
|
141
|
+
gap: 10px;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/* Custom Accordion / Details */
|
|
@@ -157,12 +157,14 @@ details[open] {
|
|
|
157
157
|
summary {
|
|
158
158
|
display: flex;
|
|
159
159
|
justify-content: space-between;
|
|
160
|
+
flex-wrap: wrap;
|
|
160
161
|
align-items: center;
|
|
161
|
-
padding: 20px;
|
|
162
|
+
padding: 10px 20px;
|
|
162
163
|
cursor: pointer;
|
|
163
164
|
user-select: none;
|
|
164
165
|
background: var(--card-bg);
|
|
165
166
|
transition: background 0.15s ease-in-out;
|
|
167
|
+
list-style: none;
|
|
166
168
|
}
|
|
167
169
|
|
|
168
170
|
summary:hover {
|
|
@@ -173,8 +175,9 @@ summary::-webkit-details-marker {
|
|
|
173
175
|
display: none;
|
|
174
176
|
}
|
|
175
177
|
|
|
176
|
-
summary {
|
|
177
|
-
|
|
178
|
+
summary > * {
|
|
179
|
+
margin-top: 4px;
|
|
180
|
+
margin-bottom: 4px;
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
.expand-arrow {
|
|
@@ -205,13 +208,13 @@ details[open] > summary .expand-arrow {
|
|
|
205
208
|
.summary-left {
|
|
206
209
|
display: flex;
|
|
207
210
|
align-items: center;
|
|
208
|
-
gap:
|
|
211
|
+
gap: 10px;
|
|
209
212
|
}
|
|
210
213
|
|
|
211
214
|
.summary-right {
|
|
212
215
|
display: flex;
|
|
213
216
|
align-items: center;
|
|
214
|
-
gap:
|
|
217
|
+
gap: 10px;
|
|
215
218
|
flex-wrap: wrap;
|
|
216
219
|
}
|
|
217
220
|
|
|
@@ -291,12 +294,12 @@ details[open] > summary .expand-arrow {
|
|
|
291
294
|
|
|
292
295
|
/* Expanded snapshot content */
|
|
293
296
|
.snapshot-content {
|
|
294
|
-
padding:
|
|
297
|
+
padding: 10px 20px;
|
|
295
298
|
border-top: 1px solid var(--border);
|
|
296
299
|
background: rgba(0, 0, 0, 0.15);
|
|
297
300
|
display: flex;
|
|
298
301
|
flex-direction: column;
|
|
299
|
-
gap:
|
|
302
|
+
gap: 10px;
|
|
300
303
|
}
|
|
301
304
|
|
|
302
305
|
.step-meta {
|
|
@@ -305,9 +308,10 @@ details[open] > summary .expand-arrow {
|
|
|
305
308
|
gap: 12px;
|
|
306
309
|
font-size: 12px;
|
|
307
310
|
background: rgba(255, 255, 255, 0.02);
|
|
308
|
-
padding:
|
|
311
|
+
padding: 10px 20px;
|
|
309
312
|
border-radius: 6px;
|
|
310
313
|
border: 1px solid rgba(255, 255, 255, 0.03);
|
|
314
|
+
margin-bottom: 20px;
|
|
311
315
|
}
|
|
312
316
|
|
|
313
317
|
.text-muted {
|
|
@@ -318,7 +322,8 @@ details[open] > summary .expand-arrow {
|
|
|
318
322
|
.actions-section {
|
|
319
323
|
display: flex;
|
|
320
324
|
flex-direction: column;
|
|
321
|
-
gap:
|
|
325
|
+
gap: 10px;
|
|
326
|
+
margin-top: 20px;
|
|
322
327
|
}
|
|
323
328
|
|
|
324
329
|
.actions-title {
|
|
@@ -329,7 +334,7 @@ details[open] > summary .expand-arrow {
|
|
|
329
334
|
.actions-list {
|
|
330
335
|
display: flex;
|
|
331
336
|
flex-direction: column;
|
|
332
|
-
gap:
|
|
337
|
+
gap: 10px;
|
|
333
338
|
}
|
|
334
339
|
|
|
335
340
|
.action-card {
|
|
@@ -346,7 +351,7 @@ details[open] > summary .expand-arrow {
|
|
|
346
351
|
}
|
|
347
352
|
|
|
348
353
|
.action-summary {
|
|
349
|
-
padding:
|
|
354
|
+
padding: 10px 20px;
|
|
350
355
|
font-size: 14px;
|
|
351
356
|
}
|
|
352
357
|
|
|
@@ -360,15 +365,16 @@ details[open] > summary .expand-arrow {
|
|
|
360
365
|
.action-name {
|
|
361
366
|
word-break: break-all;
|
|
362
367
|
font-size: 12px;
|
|
368
|
+
flex-shrink: 0;
|
|
363
369
|
}
|
|
364
370
|
|
|
365
371
|
.action-content {
|
|
366
|
-
padding: 20px;
|
|
372
|
+
padding: 10px 20px;
|
|
367
373
|
border-top: 1px solid var(--border);
|
|
368
374
|
background: rgba(0, 0, 0, 0.25);
|
|
369
375
|
display: flex;
|
|
370
376
|
flex-direction: column;
|
|
371
|
-
gap:
|
|
377
|
+
gap: 10px;
|
|
372
378
|
}
|
|
373
379
|
|
|
374
380
|
/* Action meta grid */
|
|
@@ -378,39 +384,52 @@ details[open] > summary .expand-arrow {
|
|
|
378
384
|
gap: 12px;
|
|
379
385
|
font-size: 12px;
|
|
380
386
|
background: rgba(255, 255, 255, 0.02);
|
|
381
|
-
padding:
|
|
387
|
+
padding: 10px 20px;
|
|
382
388
|
border-radius: 6px;
|
|
383
389
|
border: 1px solid rgba(255, 255, 255, 0.03);
|
|
384
390
|
}
|
|
385
391
|
|
|
392
|
+
.action-meta-grid:not(:last-child) {
|
|
393
|
+
margin-bottom: 20px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.action-meta-grid .meta-row {
|
|
397
|
+
display: inline-flex;
|
|
398
|
+
align-items: center;
|
|
399
|
+
}
|
|
400
|
+
|
|
386
401
|
.meta-label {
|
|
387
402
|
color: var(--text-muted);
|
|
388
403
|
font-weight: 500;
|
|
389
404
|
margin-right: 8px;
|
|
405
|
+
flex-shrink: 0;
|
|
390
406
|
}
|
|
391
407
|
|
|
392
408
|
.meta-value {
|
|
393
409
|
color: var(--text-primary);
|
|
410
|
+
max-width: 400px;
|
|
411
|
+
overflow: auto;
|
|
394
412
|
}
|
|
395
413
|
|
|
396
414
|
.span-all {
|
|
397
415
|
grid-column: 1 / -1;
|
|
398
416
|
display: flex;
|
|
399
417
|
flex-direction: column;
|
|
400
|
-
gap:
|
|
418
|
+
gap: 10px;
|
|
401
419
|
}
|
|
402
420
|
|
|
403
421
|
/* IO styling */
|
|
404
422
|
.action-io {
|
|
405
423
|
display: flex;
|
|
406
424
|
flex-direction: column;
|
|
407
|
-
gap:
|
|
425
|
+
gap: 10px;
|
|
426
|
+
margin-bottom: 20px;
|
|
408
427
|
}
|
|
409
428
|
|
|
410
429
|
.io-block {
|
|
411
430
|
display: flex;
|
|
412
431
|
flex-direction: column;
|
|
413
|
-
gap:
|
|
432
|
+
gap: 10px;
|
|
414
433
|
}
|
|
415
434
|
|
|
416
435
|
.io-title {
|
|
@@ -425,7 +444,7 @@ pre {
|
|
|
425
444
|
background: var(--code-bg);
|
|
426
445
|
border: 1px solid var(--border);
|
|
427
446
|
border-radius: 6px;
|
|
428
|
-
padding:
|
|
447
|
+
padding: 10px 20px;
|
|
429
448
|
overflow-x: auto;
|
|
430
449
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
431
450
|
font-size: 12px;
|
|
@@ -444,11 +463,11 @@ code {
|
|
|
444
463
|
.error-box {
|
|
445
464
|
background: var(--color-error-bg);
|
|
446
465
|
border: 1px solid var(--color-error);
|
|
447
|
-
padding: 20px;
|
|
466
|
+
padding: 10px 20px;
|
|
448
467
|
border-radius: 8px;
|
|
449
468
|
display: flex;
|
|
450
469
|
flex-direction: column;
|
|
451
|
-
gap:
|
|
470
|
+
gap: 10px;
|
|
452
471
|
}
|
|
453
472
|
|
|
454
473
|
.error-header {
|
|
@@ -481,7 +500,7 @@ code {
|
|
|
481
500
|
.error-output {
|
|
482
501
|
display: flex;
|
|
483
502
|
flex-direction: column;
|
|
484
|
-
gap:
|
|
503
|
+
gap: 10px;
|
|
485
504
|
}
|
|
486
505
|
|
|
487
506
|
.error-output-type {
|
|
@@ -503,7 +522,7 @@ code {
|
|
|
503
522
|
}
|
|
504
523
|
|
|
505
524
|
.messages-summary {
|
|
506
|
-
padding:
|
|
525
|
+
padding: 10px 20px;
|
|
507
526
|
font-size: 14px;
|
|
508
527
|
}
|
|
509
528
|
|
|
@@ -514,12 +533,12 @@ code {
|
|
|
514
533
|
}
|
|
515
534
|
|
|
516
535
|
.messages-content {
|
|
517
|
-
padding: 20px;
|
|
536
|
+
padding: 10px 20px;
|
|
518
537
|
border-top: 1px solid var(--border);
|
|
519
538
|
background: rgba(0, 0, 0, 0.25);
|
|
520
539
|
display: flex;
|
|
521
540
|
flex-direction: column;
|
|
522
|
-
gap:
|
|
541
|
+
gap: 10px;
|
|
523
542
|
}
|
|
524
543
|
|
|
525
544
|
.message-block {
|
|
@@ -535,7 +554,7 @@ code {
|
|
|
535
554
|
}
|
|
536
555
|
|
|
537
556
|
.output-summary {
|
|
538
|
-
padding:
|
|
557
|
+
padding: 10px 20px;
|
|
539
558
|
font-size: 14px;
|
|
540
559
|
}
|
|
541
560
|
|
|
@@ -546,7 +565,7 @@ code {
|
|
|
546
565
|
}
|
|
547
566
|
|
|
548
567
|
.output-content {
|
|
549
|
-
padding: 20px;
|
|
568
|
+
padding: 10px 20px;
|
|
550
569
|
border-top: 1px solid var(--border);
|
|
551
570
|
background: rgba(0, 0, 0, 0.25);
|
|
552
571
|
}
|
package/package.json
CHANGED