@d86e/hive-panel 1.0.28 → 1.0.30
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/package.json +1 -1
- package/public/panel.css +0 -42
- package/public/panel.js +116 -390
- package/src/cache.js +49 -24
- package/src/data.js +67 -19
- package/src/event-store.js +41 -15
- package/src/server.js +23 -2
package/package.json
CHANGED
package/public/panel.css
CHANGED
|
@@ -237,7 +237,6 @@
|
|
|
237
237
|
min-height: 0;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
.hive-agents {
|
|
241
240
|
border-right: 1px solid var(--hive-line);
|
|
242
241
|
background: color-mix(in srgb, var(--hive-fg) 1.5%, transparent);
|
|
243
242
|
}
|
|
@@ -305,21 +304,18 @@
|
|
|
305
304
|
|
|
306
305
|
/* ------------------------------------------------------------------- agents */
|
|
307
306
|
|
|
308
|
-
.hive-agent {
|
|
309
307
|
padding: 8px 10px;
|
|
310
308
|
border: 1px solid var(--hive-line);
|
|
311
309
|
border-radius: var(--hive-radius-md);
|
|
312
310
|
background: var(--hive-surface);
|
|
313
311
|
}
|
|
314
312
|
|
|
315
|
-
.hive-agent-head {
|
|
316
313
|
display: flex;
|
|
317
314
|
align-items: center;
|
|
318
315
|
gap: 7px;
|
|
319
316
|
font-weight: 600;
|
|
320
317
|
}
|
|
321
318
|
|
|
322
|
-
.hive-agent-name {
|
|
323
319
|
overflow: hidden;
|
|
324
320
|
text-overflow: ellipsis;
|
|
325
321
|
white-space: nowrap;
|
|
@@ -360,7 +356,6 @@
|
|
|
360
356
|
white-space: nowrap;
|
|
361
357
|
}
|
|
362
358
|
|
|
363
|
-
.hive-agent-files {
|
|
364
359
|
color: var(--hive-fg-faint);
|
|
365
360
|
font-family: var(--hive-mono);
|
|
366
361
|
}
|
|
@@ -713,7 +708,6 @@
|
|
|
713
708
|
grid-template-rows: minmax(110px, 17vh) minmax(280px, 1fr) minmax(120px, 20vh);
|
|
714
709
|
}
|
|
715
710
|
|
|
716
|
-
.hive-agents {
|
|
717
711
|
border-right: 0;
|
|
718
712
|
border-bottom: 1px solid var(--hive-line);
|
|
719
713
|
}
|
|
@@ -723,13 +717,11 @@
|
|
|
723
717
|
border-left: 0;
|
|
724
718
|
}
|
|
725
719
|
|
|
726
|
-
.hive-agent-list {
|
|
727
720
|
flex-direction: row;
|
|
728
721
|
overflow-x: auto;
|
|
729
722
|
overflow-y: hidden;
|
|
730
723
|
}
|
|
731
724
|
|
|
732
|
-
.hive-agent {
|
|
733
725
|
flex: 0 0 190px;
|
|
734
726
|
}
|
|
735
727
|
|
|
@@ -772,7 +764,6 @@
|
|
|
772
764
|
.hive-bar { background: var(--hive-bg-layer-1); border-bottom-color: var(--hive-line); gap: 8px; }
|
|
773
765
|
.hive-main,
|
|
774
766
|
.hive-board { background: var(--hive-bg); }
|
|
775
|
-
.hive-agents,
|
|
776
767
|
.hive-events { background: var(--hive-bg-layer-1); border-color: var(--hive-line); }
|
|
777
768
|
.hive-lane { background: var(--hive-bg-layer-1); border-color: var(--hive-line); border-radius: var(--hive-radius-md); }
|
|
778
769
|
.hive-card { background: var(--hive-bg-layer-1); border: 1px solid var(--hive-line); border-radius: var(--hive-radius-md); box-shadow: none; }
|
|
@@ -1128,25 +1119,8 @@ dialog.hive-dialog .hive-dialog-body { flex: 1 1 auto; min-height: 0; overflow:
|
|
|
1128
1119
|
white-space: nowrap;
|
|
1129
1120
|
}
|
|
1130
1121
|
|
|
1131
|
-
.hive-agent-count { font: inherit; cursor: pointer; }
|
|
1132
|
-
.hive-agent-count:disabled { cursor: default; }
|
|
1133
1122
|
|
|
1134
1123
|
/* Agents dialog */
|
|
1135
|
-
.hive-agents-dialog { width: min(560px, 92vw); max-height: 80vh; }
|
|
1136
|
-
.hive-agents-body { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: auto; }
|
|
1137
|
-
.hive-agents-empty-note { padding: 10px 0; color: var(--hive-fg-soft); font-size: 12px; line-height: 1.5; }
|
|
1138
|
-
.hive-agent-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--hive-line-2); }
|
|
1139
|
-
.hive-agent-row-main { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
|
|
1140
|
-
.hive-agent-row-name { color: var(--hive-fg); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1141
|
-
.hive-agent-row-task { color: var(--hive-fg-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1142
|
-
.hive-agent-row-meta { color: var(--hive-fg-faint); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1143
|
-
.hive-agents-workers-title { padding-top: 4px; color: var(--hive-fg); font-size: 14px; font-weight: 700; line-height: 1.5; }
|
|
1144
|
-
.hive-agent-worker-row { padding: 8px 0; border-bottom: 1px solid var(--hive-line-2); }
|
|
1145
|
-
.hive-agent-worker-task { color: var(--hive-fg); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1146
|
-
.hive-agent-worker-meta { color: var(--hive-fg-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1147
|
-
.hive-agents-technical { border-top: 1px solid var(--hive-line-2); padding-top: 8px; }
|
|
1148
|
-
.hive-agents-technical-summary { color: var(--hive-fg-soft); font-size: 12px; line-height: 1.5; cursor: pointer; }
|
|
1149
|
-
.hive-agents-technical-json { max-height: 220px; margin-top: 8px; }
|
|
1150
1124
|
|
|
1151
1125
|
.hive-supervisor-inline-sep { color: var(--hive-fg-faint); }
|
|
1152
1126
|
.hive-supervisor-inline-state.is-normal::before { background: var(--hive-ok); }
|
|
@@ -1265,22 +1239,6 @@ dialog.hive-dialog .hive-dialog-body { flex: 1 1 auto; min-height: 0; overflow:
|
|
|
1265
1239
|
.hive-skeleton { grid-template-columns: 1fr; min-height: 0; }
|
|
1266
1240
|
}
|
|
1267
1241
|
|
|
1268
|
-
/* Task search and per-lane pagination controls. */
|
|
1269
|
-
.hive-search { flex: 0 0 auto; padding: 8px 10px 0; }
|
|
1270
|
-
.hive-search-input { box-sizing: border-box; width: 100%; padding: 5px 8px; border: 1px solid var(--hive-line); border-radius: var(--hive-radius-sm); background: var(--hive-bg-layer-1); color: var(--hive-fg); font: inherit; font-size: 12px; }
|
|
1271
|
-
.hive-search-input:focus { outline: 1px solid var(--hive-selected); outline-offset: 0; }
|
|
1272
|
-
.hive-search-results { margin-top: 6px; padding: 6px; border: 1px solid var(--hive-line-2); border-radius: var(--hive-radius-md); background: var(--hive-bg-layer-1); }
|
|
1273
|
-
.hive-search-results.is-hidden { display: none; }
|
|
1274
|
-
.hive-search-summary, .hive-search-empty { color: var(--hive-fg-faint); font-size: 11px; line-height: 1.5; }
|
|
1275
|
-
.hive-search-result { display: flex; align-items: center; gap: 6px; width: 100%; padding: 4px 6px; border: 0; background: transparent; color: var(--hive-fg); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
|
|
1276
|
-
.hive-search-result:hover { background: var(--hive-hover); }
|
|
1277
|
-
.hive-search-status { flex: 0 0 auto; font-size: 10px; }
|
|
1278
|
-
.hive-search-status.is-done { color: var(--hive-ok); }
|
|
1279
|
-
.hive-search-status.is-failed { color: var(--hive-danger); }
|
|
1280
|
-
.hive-search-status.is-claimed { color: var(--hive-accent); }
|
|
1281
|
-
.hive-search-status.is-pending { color: var(--hive-fg-faint); }
|
|
1282
|
-
.hive-search-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1283
|
-
.hive-search-id { flex: 0 0 auto; color: var(--hive-fg-faint); font-family: var(--hive-mono); font-size: 10.5px; }
|
|
1284
1242
|
.hive-lane-paging { flex: 0 0 auto; padding: 0 7px 7px; }
|
|
1285
1243
|
.hive-lane-more { width: 100%; padding: 3px 6px; font-size: 11px; }
|
|
1286
1244
|
.hive-lane-page-error { margin-top: 4px; color: var(--hive-danger); font-size: 10.5px; line-height: 1.4; overflow-wrap: anywhere; }
|