@llm4ts/shell 4.3.0 → 4.4.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
@@ -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><button disabled>executors <kbd>e</kbd></button
40
- ><button disabled>boards <kbd>b</kbd></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>
@@ -132,8 +138,12 @@
132
138
  <div class="card-desc" data-bind="agents"></div>
133
139
  </div>
134
140
  <div class="seg" role="group">
135
- <button aria-pressed="true">flow</button><button disabled>executors <kbd>e</kbd></button
136
- ><button disabled>boards <kbd>b</kbd></button>
141
+ <button type="button" data-view="flow" aria-pressed="true">flow</button
142
+ ><button type="button" data-view="executors" aria-pressed="false">
143
+ executors <kbd>e</kbd></button
144
+ ><button type="button" data-view="boards" aria-pressed="false">
145
+ boards <kbd>b</kbd>
146
+ </button>
137
147
  </div>
138
148
  <div class="legend">
139
149
  <span><i class="sw idle"></i>planned</span><span><i class="sw running"></i>running</span
@@ -142,6 +152,8 @@
142
152
  </div>
143
153
  </div>
144
154
  <div class="viz" data-graph></div>
155
+ <div class="pane" data-executors hidden></div>
156
+ <div class="pane" data-boards hidden></div>
145
157
  <div class="roster">
146
158
  <span class="eyebrow">roster</span>
147
159
  <div class="roster-list" data-roster></div>
package/web/style.css CHANGED
@@ -1088,7 +1088,7 @@ h1 {
1088
1088
  padding: 0 15px;
1089
1089
  }
1090
1090
 
1091
- /* web watch: boot line, views not served yet, a frozen page */
1091
+ /* web watch: boot line, a frozen page */
1092
1092
  .boot {
1093
1093
  width: 1440px;
1094
1094
  margin: 40px auto;
@@ -1100,9 +1100,6 @@ h1 {
1100
1100
  .boot.error {
1101
1101
  color: var(--err);
1102
1102
  }
1103
- .seg button:disabled {
1104
- cursor: default;
1105
- }
1106
1103
  .node.story {
1107
1104
  cursor: pointer;
1108
1105
  }
@@ -1177,3 +1174,168 @@ body.frozen *::after {
1177
1174
  .mini.judge.unleased {
1178
1175
  opacity: 0.5;
1179
1176
  }
1177
+
1178
+ /* the flow card's other views: executors and boards (ADR 0033) */
1179
+ [hidden] {
1180
+ display: none !important;
1181
+ }
1182
+ .pane {
1183
+ padding: 18px 20px 20px;
1184
+ min-height: 240px;
1185
+ }
1186
+ .exec-grid {
1187
+ display: grid;
1188
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
1189
+ gap: 12px;
1190
+ }
1191
+ .exec-card {
1192
+ display: flex;
1193
+ flex-direction: column;
1194
+ gap: 10px;
1195
+ padding: 14px 16px;
1196
+ border-radius: 12px;
1197
+ border: 1px solid var(--line-2);
1198
+ background: var(--panel);
1199
+ min-width: 0;
1200
+ font-family: var(--mono);
1201
+ font-size: 13px;
1202
+ }
1203
+ .exec-card.busy {
1204
+ border-color: rgba(59, 130, 246, 0.45);
1205
+ }
1206
+ .exec-card.out {
1207
+ border-color: rgba(239, 68, 68, 0.45);
1208
+ }
1209
+ .exec-name {
1210
+ display: flex;
1211
+ align-items: center;
1212
+ gap: 10px;
1213
+ font-weight: 500;
1214
+ }
1215
+ .exec-card i {
1216
+ width: 8px;
1217
+ height: 8px;
1218
+ border-radius: 50%;
1219
+ flex: none;
1220
+ }
1221
+ .exec-card i.dot-out {
1222
+ background: var(--err);
1223
+ }
1224
+ .exec-card i.dot-busy {
1225
+ background: var(--run);
1226
+ }
1227
+ .exec-card i.dot-idle {
1228
+ background: var(--idle);
1229
+ }
1230
+ .leases {
1231
+ list-style: none;
1232
+ margin: 0;
1233
+ padding: 0;
1234
+ display: flex;
1235
+ flex-direction: column;
1236
+ gap: 4px;
1237
+ color: var(--muted);
1238
+ font-size: 12px;
1239
+ }
1240
+ .leases li {
1241
+ overflow-wrap: anywhere;
1242
+ }
1243
+ .leases li.v-dim,
1244
+ .exec-card.idle .exec-state {
1245
+ color: var(--faint);
1246
+ }
1247
+ .exec-card.busy .exec-state {
1248
+ color: var(--t-running);
1249
+ }
1250
+ .exec-card.out .exec-state {
1251
+ color: var(--err);
1252
+ overflow-wrap: anywhere;
1253
+ }
1254
+ .board-title {
1255
+ display: flex;
1256
+ align-items: baseline;
1257
+ gap: 12px;
1258
+ margin: 4px 0 12px;
1259
+ font-size: 13px;
1260
+ }
1261
+ .columns {
1262
+ display: grid;
1263
+ gap: 12px;
1264
+ align-items: start;
1265
+ margin-bottom: 20px;
1266
+ }
1267
+ .columns.five {
1268
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
1269
+ }
1270
+ .columns.four {
1271
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
1272
+ margin-bottom: 0;
1273
+ }
1274
+ .column {
1275
+ display: flex;
1276
+ flex-direction: column;
1277
+ gap: 8px;
1278
+ padding: 12px;
1279
+ border-radius: 12px;
1280
+ border: 1px solid var(--line-2);
1281
+ background: rgba(18, 18, 20, 0.6);
1282
+ min-width: 0;
1283
+ }
1284
+ .col-head {
1285
+ font-family: var(--mono);
1286
+ font-size: 12px;
1287
+ color: var(--muted);
1288
+ text-transform: lowercase;
1289
+ }
1290
+ .col-empty {
1291
+ font-family: var(--mono);
1292
+ font-size: 13px;
1293
+ color: var(--t-dim);
1294
+ }
1295
+ .story-card,
1296
+ .task-card {
1297
+ display: flex;
1298
+ flex-direction: column;
1299
+ gap: 6px;
1300
+ padding: 10px 12px;
1301
+ border-radius: 8px;
1302
+ border: 1px solid var(--line-2);
1303
+ background: var(--panel);
1304
+ color: var(--fg);
1305
+ font-family: var(--mono);
1306
+ font-size: 13px;
1307
+ text-align: left;
1308
+ min-width: 0;
1309
+ overflow-wrap: anywhere;
1310
+ }
1311
+ .story-card {
1312
+ cursor: pointer;
1313
+ border-left: 3px solid var(--idle);
1314
+ transition: border-color 0.15s;
1315
+ }
1316
+ .story-card:hover {
1317
+ background: var(--hover);
1318
+ }
1319
+ .story-card.running {
1320
+ border-left-color: var(--run);
1321
+ }
1322
+ .story-card.done {
1323
+ border-left-color: var(--ok);
1324
+ }
1325
+ .story-card.failed {
1326
+ border-left-color: var(--err);
1327
+ }
1328
+ .story-card.selected {
1329
+ border-color: var(--t-running);
1330
+ box-shadow: inset 0 0 0 1px var(--t-running);
1331
+ }
1332
+ .story-card .card-id {
1333
+ font-weight: 500;
1334
+ }
1335
+ .story-card .card-sub {
1336
+ color: var(--muted);
1337
+ font-size: 12px;
1338
+ }
1339
+ .story-card .bar > i {
1340
+ background: var(--run);
1341
+ }