@llm4ts/shell 4.4.0 → 4.5.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.
package/web/index.html CHANGED
@@ -66,7 +66,9 @@
66
66
  <div class="card-title">events</div>
67
67
  <div class="card-desc" data-bind="timelineDesc"></div>
68
68
  </div>
69
- <span class="key"><kbd>l</kbd>full log</span>
69
+ <button type="button" class="key" data-card-act="fullLog" aria-pressed="false">
70
+ <kbd>l</kbd>full log
71
+ </button>
70
72
  </div>
71
73
  <ol class="timeline" data-timeline></ol>
72
74
  </section>
@@ -168,7 +170,9 @@
168
170
  <div class="card-title">events</div>
169
171
  <div class="card-desc" data-bind="timelineDesc"></div>
170
172
  </div>
171
- <span class="key"><kbd>l</kbd>full log</span>
173
+ <button type="button" class="key" data-card-act="fullLog" aria-pressed="false">
174
+ <kbd>l</kbd>full log
175
+ </button>
172
176
  </div>
173
177
  <ol class="timeline" data-timeline></ol>
174
178
  </section>
package/web/style.css CHANGED
@@ -347,6 +347,31 @@ h1 {
347
347
  font-size: 12px;
348
348
  color: var(--muted);
349
349
  }
350
+ button.key {
351
+ height: 26px;
352
+ padding: 0 8px;
353
+ border-radius: 999px;
354
+ border: 1px solid transparent;
355
+ background: transparent;
356
+ cursor: pointer;
357
+ white-space: nowrap;
358
+ transition: background 0.15s;
359
+ }
360
+ .detail-card .card-head {
361
+ gap: 4px;
362
+ }
363
+ .detail-card .head-title {
364
+ margin-right: 8px;
365
+ }
366
+ button.key:hover {
367
+ background: var(--hover);
368
+ color: var(--fg);
369
+ }
370
+ button.key[aria-pressed="true"] {
371
+ background: var(--panel-2);
372
+ border-color: var(--line-2);
373
+ color: var(--fg);
374
+ }
350
375
 
351
376
  /* flow graph */
352
377
  .viz {
@@ -943,6 +968,12 @@ h1 {
943
968
  font-size: 13px;
944
969
  overflow-wrap: anywhere;
945
970
  }
971
+ .timeline-card.full .timeline {
972
+ position: relative;
973
+ max-height: 560px;
974
+ overflow-y: auto;
975
+ overscroll-behavior: contain;
976
+ }
946
977
  .timeline li.future {
947
978
  opacity: 0.35;
948
979
  }
@@ -1200,6 +1231,15 @@ body.frozen *::after {
1200
1231
  font-family: var(--mono);
1201
1232
  font-size: 13px;
1202
1233
  }
1234
+ button.exec-card {
1235
+ color: inherit;
1236
+ text-align: left;
1237
+ cursor: pointer;
1238
+ }
1239
+ .exec-card.selected {
1240
+ outline: 2px solid var(--fg);
1241
+ outline-offset: -1px;
1242
+ }
1203
1243
  .exec-card.busy {
1204
1244
  border-color: rgba(59, 130, 246, 0.45);
1205
1245
  }
@@ -1237,10 +1277,10 @@ body.frozen *::after {
1237
1277
  color: var(--muted);
1238
1278
  font-size: 12px;
1239
1279
  }
1240
- .leases li {
1280
+ .leases > span {
1241
1281
  overflow-wrap: anywhere;
1242
1282
  }
1243
- .leases li.v-dim,
1283
+ .leases > span.v-dim,
1244
1284
  .exec-card.idle .exec-state {
1245
1285
  color: var(--faint);
1246
1286
  }
@@ -1339,3 +1379,40 @@ body.frozen *::after {
1339
1379
  .story-card .bar > i {
1340
1380
  background: var(--run);
1341
1381
  }
1382
+
1383
+ /* the detail card's expanded lists and its tail */
1384
+ .detail-list {
1385
+ list-style: none;
1386
+ margin: 0;
1387
+ padding: 0;
1388
+ display: flex;
1389
+ flex-direction: column;
1390
+ gap: 2px;
1391
+ font-family: var(--mono);
1392
+ font-size: 12px;
1393
+ min-width: 0;
1394
+ }
1395
+ .detail-list li {
1396
+ overflow-wrap: anywhere;
1397
+ }
1398
+ .tail-body {
1399
+ padding: 12px 0 0;
1400
+ }
1401
+ .tail {
1402
+ margin: 0;
1403
+ padding: 0 20px 18px;
1404
+ max-height: 560px;
1405
+ overflow: auto;
1406
+ overscroll-behavior: contain;
1407
+ font-family: var(--mono);
1408
+ font-size: 12px;
1409
+ line-height: 1.5;
1410
+ white-space: pre;
1411
+ color: var(--node-name);
1412
+ }
1413
+ .tail .v-dim {
1414
+ color: var(--faint);
1415
+ }
1416
+ .tail .v-err {
1417
+ color: var(--err);
1418
+ }