@llm4ts/shell 4.3.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/dist/Watch.d.ts +4 -0
- package/dist/Watch.d.ts.map +1 -1
- package/dist/Watch.js +4 -2
- package/dist/Watch.js.map +1 -1
- package/dist/WebFrame.d.ts +76 -3
- package/dist/WebFrame.d.ts.map +1 -1
- package/dist/WebFrame.js +35 -2
- package/dist/WebFrame.js.map +1 -1
- package/dist/WebWatch.d.ts +3 -0
- package/dist/WebWatch.d.ts.map +1 -1
- package/dist/WebWatch.js +48 -3
- package/dist/WebWatch.js.map +1 -1
- package/dist/WebWatchView.d.ts.map +1 -1
- package/dist/WebWatchView.js +13 -7
- package/dist/WebWatchView.js.map +1 -1
- package/package.json +4 -4
- package/src/Watch.ts +6 -2
- package/src/WebFrame.ts +43 -2
- package/src/WebWatch.ts +87 -2
- package/src/WebWatchView.ts +15 -6
- package/web/app.js +25 -19
- package/web/index.html +22 -6
- package/web/style.css +243 -4
package/web/index.html
CHANGED
|
@@ -36,8 +36,12 @@
|
|
|
36
36
|
<div class="card-desc" data-bind="agents"></div>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="seg" role="group">
|
|
39
|
-
<button aria-pressed="true">flow</button
|
|
40
|
-
><button
|
|
39
|
+
<button type="button" data-view="flow" aria-pressed="true">flow</button
|
|
40
|
+
><button type="button" data-view="executors" aria-pressed="false">
|
|
41
|
+
executors <kbd>e</kbd></button
|
|
42
|
+
><button type="button" data-view="boards" aria-pressed="false">
|
|
43
|
+
boards <kbd>b</kbd>
|
|
44
|
+
</button>
|
|
41
45
|
</div>
|
|
42
46
|
<div class="legend">
|
|
43
47
|
<span><i class="sw idle"></i>planned</span><span><i class="sw running"></i>running</span
|
|
@@ -46,6 +50,8 @@
|
|
|
46
50
|
</div>
|
|
47
51
|
</div>
|
|
48
52
|
<div class="viz" data-graph></div>
|
|
53
|
+
<div class="pane" data-executors hidden></div>
|
|
54
|
+
<div class="pane" data-boards hidden></div>
|
|
49
55
|
<div class="roster">
|
|
50
56
|
<span class="eyebrow">roster</span>
|
|
51
57
|
<div class="roster-list" data-roster></div>
|
|
@@ -60,7 +66,9 @@
|
|
|
60
66
|
<div class="card-title">events</div>
|
|
61
67
|
<div class="card-desc" data-bind="timelineDesc"></div>
|
|
62
68
|
</div>
|
|
63
|
-
<
|
|
69
|
+
<button type="button" class="key" data-card-act="fullLog" aria-pressed="false">
|
|
70
|
+
<kbd>l</kbd>full log
|
|
71
|
+
</button>
|
|
64
72
|
</div>
|
|
65
73
|
<ol class="timeline" data-timeline></ol>
|
|
66
74
|
</section>
|
|
@@ -132,8 +140,12 @@
|
|
|
132
140
|
<div class="card-desc" data-bind="agents"></div>
|
|
133
141
|
</div>
|
|
134
142
|
<div class="seg" role="group">
|
|
135
|
-
<button aria-pressed="true">flow</button
|
|
136
|
-
><button
|
|
143
|
+
<button type="button" data-view="flow" aria-pressed="true">flow</button
|
|
144
|
+
><button type="button" data-view="executors" aria-pressed="false">
|
|
145
|
+
executors <kbd>e</kbd></button
|
|
146
|
+
><button type="button" data-view="boards" aria-pressed="false">
|
|
147
|
+
boards <kbd>b</kbd>
|
|
148
|
+
</button>
|
|
137
149
|
</div>
|
|
138
150
|
<div class="legend">
|
|
139
151
|
<span><i class="sw idle"></i>planned</span><span><i class="sw running"></i>running</span
|
|
@@ -142,6 +154,8 @@
|
|
|
142
154
|
</div>
|
|
143
155
|
</div>
|
|
144
156
|
<div class="viz" data-graph></div>
|
|
157
|
+
<div class="pane" data-executors hidden></div>
|
|
158
|
+
<div class="pane" data-boards hidden></div>
|
|
145
159
|
<div class="roster">
|
|
146
160
|
<span class="eyebrow">roster</span>
|
|
147
161
|
<div class="roster-list" data-roster></div>
|
|
@@ -156,7 +170,9 @@
|
|
|
156
170
|
<div class="card-title">events</div>
|
|
157
171
|
<div class="card-desc" data-bind="timelineDesc"></div>
|
|
158
172
|
</div>
|
|
159
|
-
<
|
|
173
|
+
<button type="button" class="key" data-card-act="fullLog" aria-pressed="false">
|
|
174
|
+
<kbd>l</kbd>full log
|
|
175
|
+
</button>
|
|
160
176
|
</div>
|
|
161
177
|
<ol class="timeline" data-timeline></ol>
|
|
162
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
|
}
|
|
@@ -1088,7 +1119,7 @@ h1 {
|
|
|
1088
1119
|
padding: 0 15px;
|
|
1089
1120
|
}
|
|
1090
1121
|
|
|
1091
|
-
/* web watch: boot line,
|
|
1122
|
+
/* web watch: boot line, a frozen page */
|
|
1092
1123
|
.boot {
|
|
1093
1124
|
width: 1440px;
|
|
1094
1125
|
margin: 40px auto;
|
|
@@ -1100,9 +1131,6 @@ h1 {
|
|
|
1100
1131
|
.boot.error {
|
|
1101
1132
|
color: var(--err);
|
|
1102
1133
|
}
|
|
1103
|
-
.seg button:disabled {
|
|
1104
|
-
cursor: default;
|
|
1105
|
-
}
|
|
1106
1134
|
.node.story {
|
|
1107
1135
|
cursor: pointer;
|
|
1108
1136
|
}
|
|
@@ -1177,3 +1205,214 @@ body.frozen *::after {
|
|
|
1177
1205
|
.mini.judge.unleased {
|
|
1178
1206
|
opacity: 0.5;
|
|
1179
1207
|
}
|
|
1208
|
+
|
|
1209
|
+
/* the flow card's other views: executors and boards (ADR 0033) */
|
|
1210
|
+
[hidden] {
|
|
1211
|
+
display: none !important;
|
|
1212
|
+
}
|
|
1213
|
+
.pane {
|
|
1214
|
+
padding: 18px 20px 20px;
|
|
1215
|
+
min-height: 240px;
|
|
1216
|
+
}
|
|
1217
|
+
.exec-grid {
|
|
1218
|
+
display: grid;
|
|
1219
|
+
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
1220
|
+
gap: 12px;
|
|
1221
|
+
}
|
|
1222
|
+
.exec-card {
|
|
1223
|
+
display: flex;
|
|
1224
|
+
flex-direction: column;
|
|
1225
|
+
gap: 10px;
|
|
1226
|
+
padding: 14px 16px;
|
|
1227
|
+
border-radius: 12px;
|
|
1228
|
+
border: 1px solid var(--line-2);
|
|
1229
|
+
background: var(--panel);
|
|
1230
|
+
min-width: 0;
|
|
1231
|
+
font-family: var(--mono);
|
|
1232
|
+
font-size: 13px;
|
|
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
|
+
}
|
|
1243
|
+
.exec-card.busy {
|
|
1244
|
+
border-color: rgba(59, 130, 246, 0.45);
|
|
1245
|
+
}
|
|
1246
|
+
.exec-card.out {
|
|
1247
|
+
border-color: rgba(239, 68, 68, 0.45);
|
|
1248
|
+
}
|
|
1249
|
+
.exec-name {
|
|
1250
|
+
display: flex;
|
|
1251
|
+
align-items: center;
|
|
1252
|
+
gap: 10px;
|
|
1253
|
+
font-weight: 500;
|
|
1254
|
+
}
|
|
1255
|
+
.exec-card i {
|
|
1256
|
+
width: 8px;
|
|
1257
|
+
height: 8px;
|
|
1258
|
+
border-radius: 50%;
|
|
1259
|
+
flex: none;
|
|
1260
|
+
}
|
|
1261
|
+
.exec-card i.dot-out {
|
|
1262
|
+
background: var(--err);
|
|
1263
|
+
}
|
|
1264
|
+
.exec-card i.dot-busy {
|
|
1265
|
+
background: var(--run);
|
|
1266
|
+
}
|
|
1267
|
+
.exec-card i.dot-idle {
|
|
1268
|
+
background: var(--idle);
|
|
1269
|
+
}
|
|
1270
|
+
.leases {
|
|
1271
|
+
list-style: none;
|
|
1272
|
+
margin: 0;
|
|
1273
|
+
padding: 0;
|
|
1274
|
+
display: flex;
|
|
1275
|
+
flex-direction: column;
|
|
1276
|
+
gap: 4px;
|
|
1277
|
+
color: var(--muted);
|
|
1278
|
+
font-size: 12px;
|
|
1279
|
+
}
|
|
1280
|
+
.leases > span {
|
|
1281
|
+
overflow-wrap: anywhere;
|
|
1282
|
+
}
|
|
1283
|
+
.leases > span.v-dim,
|
|
1284
|
+
.exec-card.idle .exec-state {
|
|
1285
|
+
color: var(--faint);
|
|
1286
|
+
}
|
|
1287
|
+
.exec-card.busy .exec-state {
|
|
1288
|
+
color: var(--t-running);
|
|
1289
|
+
}
|
|
1290
|
+
.exec-card.out .exec-state {
|
|
1291
|
+
color: var(--err);
|
|
1292
|
+
overflow-wrap: anywhere;
|
|
1293
|
+
}
|
|
1294
|
+
.board-title {
|
|
1295
|
+
display: flex;
|
|
1296
|
+
align-items: baseline;
|
|
1297
|
+
gap: 12px;
|
|
1298
|
+
margin: 4px 0 12px;
|
|
1299
|
+
font-size: 13px;
|
|
1300
|
+
}
|
|
1301
|
+
.columns {
|
|
1302
|
+
display: grid;
|
|
1303
|
+
gap: 12px;
|
|
1304
|
+
align-items: start;
|
|
1305
|
+
margin-bottom: 20px;
|
|
1306
|
+
}
|
|
1307
|
+
.columns.five {
|
|
1308
|
+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
1309
|
+
}
|
|
1310
|
+
.columns.four {
|
|
1311
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
1312
|
+
margin-bottom: 0;
|
|
1313
|
+
}
|
|
1314
|
+
.column {
|
|
1315
|
+
display: flex;
|
|
1316
|
+
flex-direction: column;
|
|
1317
|
+
gap: 8px;
|
|
1318
|
+
padding: 12px;
|
|
1319
|
+
border-radius: 12px;
|
|
1320
|
+
border: 1px solid var(--line-2);
|
|
1321
|
+
background: rgba(18, 18, 20, 0.6);
|
|
1322
|
+
min-width: 0;
|
|
1323
|
+
}
|
|
1324
|
+
.col-head {
|
|
1325
|
+
font-family: var(--mono);
|
|
1326
|
+
font-size: 12px;
|
|
1327
|
+
color: var(--muted);
|
|
1328
|
+
text-transform: lowercase;
|
|
1329
|
+
}
|
|
1330
|
+
.col-empty {
|
|
1331
|
+
font-family: var(--mono);
|
|
1332
|
+
font-size: 13px;
|
|
1333
|
+
color: var(--t-dim);
|
|
1334
|
+
}
|
|
1335
|
+
.story-card,
|
|
1336
|
+
.task-card {
|
|
1337
|
+
display: flex;
|
|
1338
|
+
flex-direction: column;
|
|
1339
|
+
gap: 6px;
|
|
1340
|
+
padding: 10px 12px;
|
|
1341
|
+
border-radius: 8px;
|
|
1342
|
+
border: 1px solid var(--line-2);
|
|
1343
|
+
background: var(--panel);
|
|
1344
|
+
color: var(--fg);
|
|
1345
|
+
font-family: var(--mono);
|
|
1346
|
+
font-size: 13px;
|
|
1347
|
+
text-align: left;
|
|
1348
|
+
min-width: 0;
|
|
1349
|
+
overflow-wrap: anywhere;
|
|
1350
|
+
}
|
|
1351
|
+
.story-card {
|
|
1352
|
+
cursor: pointer;
|
|
1353
|
+
border-left: 3px solid var(--idle);
|
|
1354
|
+
transition: border-color 0.15s;
|
|
1355
|
+
}
|
|
1356
|
+
.story-card:hover {
|
|
1357
|
+
background: var(--hover);
|
|
1358
|
+
}
|
|
1359
|
+
.story-card.running {
|
|
1360
|
+
border-left-color: var(--run);
|
|
1361
|
+
}
|
|
1362
|
+
.story-card.done {
|
|
1363
|
+
border-left-color: var(--ok);
|
|
1364
|
+
}
|
|
1365
|
+
.story-card.failed {
|
|
1366
|
+
border-left-color: var(--err);
|
|
1367
|
+
}
|
|
1368
|
+
.story-card.selected {
|
|
1369
|
+
border-color: var(--t-running);
|
|
1370
|
+
box-shadow: inset 0 0 0 1px var(--t-running);
|
|
1371
|
+
}
|
|
1372
|
+
.story-card .card-id {
|
|
1373
|
+
font-weight: 500;
|
|
1374
|
+
}
|
|
1375
|
+
.story-card .card-sub {
|
|
1376
|
+
color: var(--muted);
|
|
1377
|
+
font-size: 12px;
|
|
1378
|
+
}
|
|
1379
|
+
.story-card .bar > i {
|
|
1380
|
+
background: var(--run);
|
|
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
|
+
}
|