claude-code-kanban 7.25.0 → 7.27.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/hub-app.json +5 -2
- package/lib/parsers.js +65 -7
- package/lib/retention.js +10 -1
- package/lib/show.js +89 -51
- package/mod-surface.json +38 -0
- package/package.json +2 -1
- package/public/app.js +671 -146
- package/public/index.html +41 -9
- package/public/style.css +364 -65
- package/public/vendor/claude-hub-sdk.js +4 -2
- package/server.js +41 -6
package/public/index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<a href="#main-content" class="skip-link">Skip to main content</a>
|
|
66
66
|
<div class="app">
|
|
67
67
|
<!-- Sidebar -->
|
|
68
|
-
<aside class="sidebar">
|
|
68
|
+
<aside class="sidebar" data-hub-part="sidebar">
|
|
69
69
|
<header class="sidebar-header">
|
|
70
70
|
<div id="activity-chips" class="activity-chips"></div>
|
|
71
71
|
<button id="new-session-btn" class="new-session-pill" onclick="openNewSession()" title="New session (Ctrl+Alt+N)" hidden>+ New</button>
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
</button>
|
|
186
186
|
</div>
|
|
187
187
|
</div>
|
|
188
|
-
<div id="sessions-list" class="sessions-list" aria-busy="true">
|
|
188
|
+
<div id="sessions-list" class="sessions-list" data-hub-part="sessions" aria-busy="true">
|
|
189
189
|
<div class="session-skeleton"><span></span><span></span></div>
|
|
190
190
|
<div class="session-skeleton"><span></span><span></span></div>
|
|
191
191
|
<div class="session-skeleton"><span></span><span></span></div>
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
</div>
|
|
194
194
|
</div>
|
|
195
195
|
|
|
196
|
-
<div class="sidebar-footer" id="sidebar-footer"></div>
|
|
196
|
+
<div class="sidebar-footer" id="sidebar-footer" data-hub-part="sidebar-footer"></div>
|
|
197
197
|
<div class="sidebar-resize-handle" id="sidebar-resize"></div>
|
|
198
198
|
</aside>
|
|
199
199
|
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
</div>
|
|
225
225
|
<div class="idle-glow" aria-hidden="true"><span></span><span></span></div>
|
|
226
226
|
<div class="idle-content">
|
|
227
|
-
<div class="idle-clawd" aria-hidden="true">
|
|
227
|
+
<div class="idle-clawd" data-hub-part="idle-mascot" aria-hidden="true">
|
|
228
228
|
<svg class="clawd" viewBox="1 0 16 10" shape-rendering="crispEdges"><use href="#clawd-shape"/></svg>
|
|
229
229
|
</div>
|
|
230
230
|
<p class="idle-title">Select a session to view tasks</p>
|
|
@@ -240,8 +240,8 @@
|
|
|
240
240
|
</div>
|
|
241
241
|
<div class="view-actions">
|
|
242
242
|
<div class="view-progress">
|
|
243
|
-
<div class="progress-bar">
|
|
244
|
-
<div id="progress-bar" class="progress-fill" style="width: 0%"></div>
|
|
243
|
+
<div class="progress-bar" data-hub-part="progress">
|
|
244
|
+
<div id="progress-bar" class="progress-fill" data-hub-part="progress-fill" style="width: 0%"></div>
|
|
245
245
|
</div>
|
|
246
246
|
<span id="progress-percent" class="progress-text">0% done</span>
|
|
247
247
|
</div>
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
|
|
315
315
|
<div id="pane-split" class="pane-split">
|
|
316
316
|
<div id="board-side" class="board-side">
|
|
317
|
-
<div class="kanban" id="main-content">
|
|
317
|
+
<div class="kanban" id="main-content" data-hub-part="board">
|
|
318
318
|
<div id="owner-filter-bar" class="owner-filter-bar">
|
|
319
319
|
<select id="owner-filter" class="filter-dropdown" onchange="filterByOwner(this.value)" aria-label="Filter by team member">
|
|
320
320
|
<option value="">All Members</option>
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
<div class="kanban-column" aria-label="Completed tasks">
|
|
342
342
|
<div class="column-header">
|
|
343
343
|
<span class="column-dot completed"></span>
|
|
344
|
-
<span class="column-title completed">Completed</span>
|
|
344
|
+
<span class="column-title completed" data-hub-part="done-title">Completed</span>
|
|
345
345
|
<span id="completed-count" class="column-count completed">0</span>
|
|
346
346
|
</div>
|
|
347
347
|
<div id="completed-tasks" class="column-tasks" role="list" data-status="completed" ondragover="onColumnDragOver(event)" ondragleave="onColumnDragLeave(event)" ondrop="onColumnDrop(event)"></div>
|
|
@@ -350,7 +350,11 @@
|
|
|
350
350
|
<div id="agent-footer" class="agent-footer">
|
|
351
351
|
<div class="agent-footer-header" onclick="toggleAgentFooter()">
|
|
352
352
|
<span id="agent-footer-label">Agents</span>
|
|
353
|
-
<
|
|
353
|
+
<span class="agent-footer-actions">
|
|
354
|
+
<button class="agent-footer-expand" id="agent-footer-expand" onclick="event.stopPropagation(); toggleAgentFooterExpanded()" aria-label="Show all agents" title="Show all agents"><svg class="icon-expand" viewBox="0 0 24 24"><path d="M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"/></svg><svg class="icon-shrink" viewBox="0 0 24 24"><path d="M4 14h6v6M20 10h-6V4M14 10l7-7M3 21l7-7"/></svg></button>
|
|
355
|
+
<button class="agent-footer-views" onclick="event.stopPropagation(); showAgentViews()" aria-label="Agents timeline and map" title="Agents timeline and map"><svg viewBox="0 0 24 24"><circle cx="5" cy="12" r="2.5"/><circle cx="19" cy="5" r="2.5"/><circle cx="19" cy="19" r="2.5"/><path d="M7.5 12h4M11.5 12V5h5M11.5 12v7h5"/></svg></button>
|
|
356
|
+
<button class="agent-footer-toggle" id="agent-footer-toggle" aria-label="Toggle agent panel"><svg class="collapse-chevron" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg></button>
|
|
357
|
+
</span>
|
|
354
358
|
</div>
|
|
355
359
|
<div class="agent-footer-content" id="agent-footer-content"></div>
|
|
356
360
|
</div>
|
|
@@ -706,6 +710,34 @@
|
|
|
706
710
|
</div>
|
|
707
711
|
</div>
|
|
708
712
|
|
|
713
|
+
<div id="agent-views-modal" class="modal-overlay plan-modal-overlay" onclick="closeAgentViews()">
|
|
714
|
+
<div class="modal agent-views-modal" onclick="event.stopPropagation()">
|
|
715
|
+
<div class="modal-header">
|
|
716
|
+
<div class="agent-views-head">
|
|
717
|
+
<h3 class="modal-title">Agents</h3>
|
|
718
|
+
<div class="agent-views-tabs" role="tablist">
|
|
719
|
+
<button type="button" role="tab" data-view="timeline" onclick="setAgentView('timeline')">Timeline</button>
|
|
720
|
+
<button type="button" role="tab" data-view="map" onclick="setAgentView('map')">Map</button>
|
|
721
|
+
</div>
|
|
722
|
+
<div class="agent-views-tabs agent-views-colors" role="group" aria-label="Color by">
|
|
723
|
+
<span>color</span>
|
|
724
|
+
<button type="button" data-color="type" onclick="setAgentColor('type')">type</button>
|
|
725
|
+
<button type="button" data-color="model" onclick="setAgentColor('model')">model</button>
|
|
726
|
+
<button type="button" data-color="status" onclick="setAgentColor('status')">status</button>
|
|
727
|
+
<button type="button" data-color="wave" onclick="setAgentColor('wave')">wave</button>
|
|
728
|
+
</div>
|
|
729
|
+
</div>
|
|
730
|
+
<button class="modal-close" aria-label="Close dialog" onclick="closeAgentViews()">
|
|
731
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
732
|
+
<path d="M18 6L6 18M6 6l12 12"/>
|
|
733
|
+
</svg>
|
|
734
|
+
</button>
|
|
735
|
+
</div>
|
|
736
|
+
<div id="agent-views-body" class="modal-body agent-views-body"></div>
|
|
737
|
+
<div id="agent-views-legend" class="agent-views-legend"></div>
|
|
738
|
+
</div>
|
|
739
|
+
</div>
|
|
740
|
+
|
|
709
741
|
<div id="agent-modal" class="modal-overlay plan-modal-overlay" onclick="closeAgentModal()">
|
|
710
742
|
<div class="modal plan-modal" onclick="event.stopPropagation()">
|
|
711
743
|
<div class="modal-header">
|
package/public/style.css
CHANGED
|
@@ -127,15 +127,18 @@ body::before {
|
|
|
127
127
|
background: var(--text-muted);
|
|
128
128
|
}
|
|
129
129
|
.column-tasks::-webkit-scrollbar-thumb,
|
|
130
|
-
.sessions-list::-webkit-scrollbar-thumb
|
|
130
|
+
.sessions-list::-webkit-scrollbar-thumb,
|
|
131
|
+
.agent-footer-content::-webkit-scrollbar-thumb {
|
|
131
132
|
background: transparent;
|
|
132
133
|
}
|
|
133
134
|
.column-tasks:hover::-webkit-scrollbar-thumb,
|
|
134
|
-
.sessions-list:hover::-webkit-scrollbar-thumb
|
|
135
|
+
.sessions-list:hover::-webkit-scrollbar-thumb,
|
|
136
|
+
.agent-footer-content:hover::-webkit-scrollbar-thumb {
|
|
135
137
|
background: var(--border);
|
|
136
138
|
}
|
|
137
139
|
.column-tasks::-webkit-scrollbar-thumb:hover,
|
|
138
|
-
.sessions-list::-webkit-scrollbar-thumb:hover
|
|
140
|
+
.sessions-list::-webkit-scrollbar-thumb:hover,
|
|
141
|
+
.agent-footer-content::-webkit-scrollbar-thumb:hover {
|
|
139
142
|
background: var(--text-muted);
|
|
140
143
|
}
|
|
141
144
|
|
|
@@ -4926,7 +4929,9 @@ body.show-resizing iframe {
|
|
|
4926
4929
|
}
|
|
4927
4930
|
|
|
4928
4931
|
.pane-tabs.fade-l,
|
|
4929
|
-
.pane-tabs.fade-r
|
|
4932
|
+
.pane-tabs.fade-r,
|
|
4933
|
+
.agent-footer-content.fade-l,
|
|
4934
|
+
.agent-footer-content.fade-r {
|
|
4930
4935
|
mask-image: linear-gradient(
|
|
4931
4936
|
to right,
|
|
4932
4937
|
transparent,
|
|
@@ -4936,11 +4941,13 @@ body.show-resizing iframe {
|
|
|
4936
4941
|
);
|
|
4937
4942
|
}
|
|
4938
4943
|
|
|
4939
|
-
.pane-tabs.fade-l
|
|
4944
|
+
.pane-tabs.fade-l,
|
|
4945
|
+
.agent-footer-content.fade-l {
|
|
4940
4946
|
--fade-l: 28px;
|
|
4941
4947
|
}
|
|
4942
4948
|
|
|
4943
|
-
.pane-tabs.fade-r
|
|
4949
|
+
.pane-tabs.fade-r,
|
|
4950
|
+
.agent-footer-content.fade-r {
|
|
4944
4951
|
--fade-r: 28px;
|
|
4945
4952
|
}
|
|
4946
4953
|
|
|
@@ -7232,27 +7239,315 @@ body.show-resizing iframe {
|
|
|
7232
7239
|
cursor: pointer;
|
|
7233
7240
|
user-select: none;
|
|
7234
7241
|
color: var(--text-tertiary);
|
|
7235
|
-
font-size:
|
|
7236
|
-
|
|
7242
|
+
font-size: 10.5px;
|
|
7243
|
+
font-weight: 500;
|
|
7237
7244
|
text-transform: uppercase;
|
|
7245
|
+
letter-spacing: 0.08em;
|
|
7238
7246
|
}
|
|
7239
|
-
|
|
7240
|
-
|
|
7247
|
+
#agent-footer-label {
|
|
7248
|
+
display: flex;
|
|
7249
|
+
align-items: baseline;
|
|
7250
|
+
gap: 6px;
|
|
7251
|
+
}
|
|
7252
|
+
.agent-footer-count {
|
|
7253
|
+
font-weight: 500;
|
|
7241
7254
|
}
|
|
7242
|
-
.agent-footer-
|
|
7255
|
+
.agent-footer-running {
|
|
7256
|
+
color: var(--success);
|
|
7257
|
+
font-weight: 500;
|
|
7258
|
+
}
|
|
7259
|
+
.agent-footer-actions {
|
|
7260
|
+
display: flex;
|
|
7261
|
+
align-items: center;
|
|
7262
|
+
gap: 10px;
|
|
7263
|
+
}
|
|
7264
|
+
.agent-footer-toggle,
|
|
7265
|
+
.agent-footer-views,
|
|
7266
|
+
.agent-footer-expand {
|
|
7267
|
+
display: flex;
|
|
7243
7268
|
background: none;
|
|
7244
7269
|
border: none;
|
|
7245
|
-
color: var(--text-tertiary);
|
|
7246
7270
|
cursor: pointer;
|
|
7247
|
-
|
|
7248
|
-
|
|
7271
|
+
padding: 2px;
|
|
7272
|
+
}
|
|
7273
|
+
.agent-footer-views svg,
|
|
7274
|
+
.agent-footer-expand svg {
|
|
7275
|
+
width: 13px;
|
|
7276
|
+
height: 13px;
|
|
7277
|
+
stroke: var(--text-muted);
|
|
7278
|
+
fill: none;
|
|
7279
|
+
stroke-width: 2;
|
|
7280
|
+
stroke-linecap: round;
|
|
7281
|
+
stroke-linejoin: round;
|
|
7282
|
+
}
|
|
7283
|
+
.agent-footer-views:hover svg,
|
|
7284
|
+
.agent-footer-expand:hover svg,
|
|
7285
|
+
.agent-footer.expanded .agent-footer-expand svg {
|
|
7286
|
+
stroke: var(--accent);
|
|
7287
|
+
}
|
|
7288
|
+
.agent-footer-expand .icon-shrink,
|
|
7289
|
+
.agent-footer.expanded .agent-footer-expand .icon-expand {
|
|
7290
|
+
display: none;
|
|
7291
|
+
}
|
|
7292
|
+
.agent-footer.expanded .agent-footer-expand .icon-shrink {
|
|
7293
|
+
display: block;
|
|
7294
|
+
}
|
|
7295
|
+
.agent-footer.expanded .agent-footer-content {
|
|
7296
|
+
display: grid;
|
|
7297
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
7298
|
+
max-height: 50vh;
|
|
7299
|
+
overflow: hidden auto;
|
|
7300
|
+
}
|
|
7301
|
+
.agent-footer.expanded.collapsed .agent-footer-content {
|
|
7302
|
+
display: none;
|
|
7303
|
+
}
|
|
7304
|
+
.agent-footer.expanded .agent-card {
|
|
7305
|
+
min-width: 0;
|
|
7306
|
+
}
|
|
7307
|
+
.agent-footer-more {
|
|
7308
|
+
grid-column: 1 / -1;
|
|
7309
|
+
justify-self: center;
|
|
7310
|
+
padding: 4px 12px;
|
|
7311
|
+
background: none;
|
|
7312
|
+
border: 1px solid var(--border);
|
|
7313
|
+
border-radius: 6px;
|
|
7314
|
+
color: var(--accent);
|
|
7315
|
+
font: inherit;
|
|
7316
|
+
font-size: 12px;
|
|
7317
|
+
cursor: pointer;
|
|
7318
|
+
}
|
|
7319
|
+
.agent-footer-more span {
|
|
7320
|
+
color: var(--text-muted);
|
|
7321
|
+
}
|
|
7322
|
+
.agent-footer-more:hover {
|
|
7323
|
+
border-color: var(--accent);
|
|
7324
|
+
}
|
|
7325
|
+
.modal.agent-views-modal {
|
|
7326
|
+
width: 80vw;
|
|
7327
|
+
max-width: 1100px;
|
|
7328
|
+
max-height: 85vh;
|
|
7329
|
+
display: flex;
|
|
7330
|
+
flex-direction: column;
|
|
7331
|
+
}
|
|
7332
|
+
.agent-views-head {
|
|
7333
|
+
display: flex;
|
|
7334
|
+
align-items: center;
|
|
7335
|
+
gap: 16px;
|
|
7336
|
+
}
|
|
7337
|
+
.agent-views-tabs {
|
|
7338
|
+
display: flex;
|
|
7339
|
+
gap: 2px;
|
|
7340
|
+
padding: 2px;
|
|
7341
|
+
border: 1px solid var(--border);
|
|
7342
|
+
border-radius: 7px;
|
|
7343
|
+
}
|
|
7344
|
+
.agent-views-tabs button {
|
|
7345
|
+
padding: 3px 12px;
|
|
7346
|
+
border: none;
|
|
7347
|
+
border-radius: 5px;
|
|
7348
|
+
background: none;
|
|
7349
|
+
color: var(--text-muted);
|
|
7350
|
+
font: inherit;
|
|
7351
|
+
font-size: 12px;
|
|
7352
|
+
cursor: pointer;
|
|
7353
|
+
}
|
|
7354
|
+
.agent-views-tabs button[aria-selected='true'],
|
|
7355
|
+
.agent-views-tabs button[aria-pressed='true'] {
|
|
7356
|
+
background: var(--bg-hover);
|
|
7357
|
+
color: var(--text-primary);
|
|
7358
|
+
}
|
|
7359
|
+
.agent-views-body {
|
|
7360
|
+
flex: 1 1 auto;
|
|
7361
|
+
min-height: 0;
|
|
7362
|
+
overflow: auto;
|
|
7363
|
+
padding: 2px 14px 4px 0;
|
|
7364
|
+
}
|
|
7365
|
+
.agent-map {
|
|
7366
|
+
position: relative;
|
|
7367
|
+
margin: 4px;
|
|
7368
|
+
}
|
|
7369
|
+
.agent-map-edges,
|
|
7370
|
+
.agent-spine-links {
|
|
7371
|
+
position: absolute;
|
|
7372
|
+
inset: 0;
|
|
7373
|
+
overflow: visible;
|
|
7374
|
+
fill: none;
|
|
7375
|
+
stroke: var(--border);
|
|
7376
|
+
stroke-width: 1.5;
|
|
7377
|
+
}
|
|
7378
|
+
.agent-map-node {
|
|
7379
|
+
position: absolute;
|
|
7380
|
+
display: flex;
|
|
7381
|
+
align-items: center;
|
|
7382
|
+
gap: 6px;
|
|
7383
|
+
box-sizing: border-box;
|
|
7384
|
+
width: var(--node-w);
|
|
7385
|
+
height: var(--node-h);
|
|
7386
|
+
padding: 0 12px;
|
|
7387
|
+
border: 1.5px solid var(--border);
|
|
7388
|
+
border-radius: 18px;
|
|
7389
|
+
background: var(--bg-elevated);
|
|
7390
|
+
color: var(--text-primary);
|
|
7391
|
+
font: inherit;
|
|
7392
|
+
font-size: 11px;
|
|
7393
|
+
text-align: left;
|
|
7394
|
+
}
|
|
7395
|
+
button.agent-map-node {
|
|
7396
|
+
cursor: pointer;
|
|
7397
|
+
}
|
|
7398
|
+
button.agent-map-node:hover {
|
|
7399
|
+
background: var(--bg-surface);
|
|
7400
|
+
}
|
|
7401
|
+
.agent-map-node.root {
|
|
7402
|
+
justify-content: center;
|
|
7403
|
+
color: var(--text-secondary);
|
|
7404
|
+
font-weight: 600;
|
|
7405
|
+
background: var(--bg-surface);
|
|
7406
|
+
}
|
|
7407
|
+
.agent-map-node.active,
|
|
7408
|
+
.agent-spine-row.active .agent-spine-bar,
|
|
7409
|
+
.agent-views-legend .agent-views-live {
|
|
7410
|
+
box-shadow: 0 0 0 2px var(--success);
|
|
7411
|
+
}
|
|
7412
|
+
.agent-map-node.stopped,
|
|
7413
|
+
.agent-spine-row.stopped .agent-spine-label {
|
|
7414
|
+
color: var(--text-secondary);
|
|
7415
|
+
}
|
|
7416
|
+
.agent-map-text {
|
|
7417
|
+
flex: 1;
|
|
7418
|
+
min-width: 0;
|
|
7419
|
+
overflow: hidden;
|
|
7420
|
+
white-space: nowrap;
|
|
7421
|
+
text-overflow: ellipsis;
|
|
7422
|
+
}
|
|
7423
|
+
.agent-map-kind {
|
|
7424
|
+
display: block;
|
|
7425
|
+
color: var(--text-muted);
|
|
7426
|
+
font-family: var(--font-mono);
|
|
7427
|
+
font-size: 9.5px;
|
|
7428
|
+
overflow: hidden;
|
|
7429
|
+
text-overflow: ellipsis;
|
|
7430
|
+
}
|
|
7431
|
+
.agent-views-time {
|
|
7432
|
+
color: var(--text-muted);
|
|
7433
|
+
font-family: var(--font-mono);
|
|
7434
|
+
font-size: 10px;
|
|
7435
|
+
}
|
|
7436
|
+
.agent-spine-row.active .agent-views-time {
|
|
7437
|
+
color: var(--success);
|
|
7438
|
+
}
|
|
7439
|
+
.agent-views-colors {
|
|
7440
|
+
align-items: center;
|
|
7441
|
+
}
|
|
7442
|
+
.agent-views-colors span {
|
|
7443
|
+
padding: 0 4px 0 8px;
|
|
7444
|
+
color: var(--text-muted);
|
|
7445
|
+
font-size: 11px;
|
|
7446
|
+
}
|
|
7447
|
+
.agent-views-legend {
|
|
7448
|
+
display: flex;
|
|
7449
|
+
flex-wrap: wrap;
|
|
7450
|
+
gap: 4px 14px;
|
|
7451
|
+
padding: 8px 4px 0;
|
|
7452
|
+
border-top: 1px solid var(--border);
|
|
7453
|
+
color: var(--text-muted);
|
|
7454
|
+
font-size: 11px;
|
|
7455
|
+
}
|
|
7456
|
+
.agent-views-legend:empty {
|
|
7457
|
+
display: none;
|
|
7458
|
+
}
|
|
7459
|
+
.agent-views-legend span {
|
|
7460
|
+
display: inline-flex;
|
|
7461
|
+
align-items: center;
|
|
7462
|
+
gap: 5px;
|
|
7463
|
+
}
|
|
7464
|
+
.agent-views-legend i {
|
|
7465
|
+
width: 14px;
|
|
7466
|
+
height: 8px;
|
|
7467
|
+
border-radius: 3px;
|
|
7468
|
+
}
|
|
7469
|
+
.agent-spine {
|
|
7470
|
+
position: relative;
|
|
7471
|
+
margin-left: 4px;
|
|
7472
|
+
}
|
|
7473
|
+
.agent-spine-links .agent-spine-main {
|
|
7474
|
+
stroke: var(--text-muted);
|
|
7475
|
+
stroke-width: 2;
|
|
7476
|
+
}
|
|
7477
|
+
.agent-spine-dot {
|
|
7478
|
+
position: absolute;
|
|
7479
|
+
top: 4px;
|
|
7480
|
+
width: 9px;
|
|
7481
|
+
height: 9px;
|
|
7482
|
+
margin-left: -4.5px;
|
|
7483
|
+
border-radius: 50%;
|
|
7484
|
+
background: var(--text-muted);
|
|
7485
|
+
}
|
|
7486
|
+
.agent-spine-cut {
|
|
7487
|
+
position: absolute;
|
|
7488
|
+
top: 0;
|
|
7489
|
+
padding: 0 2px;
|
|
7490
|
+
margin-left: -7px;
|
|
7491
|
+
background: var(--bg-surface);
|
|
7492
|
+
color: var(--text-muted);
|
|
7493
|
+
font-size: 12px;
|
|
7494
|
+
line-height: 16px;
|
|
7495
|
+
}
|
|
7496
|
+
.agent-spine-row {
|
|
7497
|
+
position: absolute;
|
|
7498
|
+
display: flex;
|
|
7499
|
+
align-items: center;
|
|
7500
|
+
gap: 6px;
|
|
7501
|
+
height: var(--row-h);
|
|
7502
|
+
padding: 0 4px 0 0;
|
|
7503
|
+
border: none;
|
|
7504
|
+
border-radius: 4px;
|
|
7505
|
+
background: none;
|
|
7506
|
+
color: var(--text-primary);
|
|
7507
|
+
font: inherit;
|
|
7508
|
+
font-size: 11px;
|
|
7509
|
+
white-space: nowrap;
|
|
7510
|
+
cursor: pointer;
|
|
7511
|
+
}
|
|
7512
|
+
.agent-spine-row:hover {
|
|
7513
|
+
background: var(--bg-elevated);
|
|
7514
|
+
}
|
|
7515
|
+
.agent-spine-bar {
|
|
7516
|
+
flex: none;
|
|
7517
|
+
height: 8px;
|
|
7518
|
+
border-radius: 3px;
|
|
7519
|
+
}
|
|
7520
|
+
.agent-spine-label {
|
|
7521
|
+
max-width: 210px;
|
|
7522
|
+
overflow: hidden;
|
|
7523
|
+
text-overflow: ellipsis;
|
|
7524
|
+
}
|
|
7525
|
+
.agent-spine-axis {
|
|
7526
|
+
position: absolute;
|
|
7527
|
+
left: 0;
|
|
7528
|
+
right: 0;
|
|
7529
|
+
height: 14px;
|
|
7530
|
+
color: var(--text-muted);
|
|
7531
|
+
font-family: var(--font-mono);
|
|
7532
|
+
font-size: 10px;
|
|
7533
|
+
}
|
|
7534
|
+
.agent-spine-axis span {
|
|
7535
|
+
position: absolute;
|
|
7536
|
+
white-space: nowrap;
|
|
7537
|
+
border-left: 1px solid var(--border);
|
|
7538
|
+
padding-left: 3px;
|
|
7539
|
+
}
|
|
7540
|
+
.agent-footer.collapsed .agent-footer-toggle .collapse-chevron {
|
|
7541
|
+
transform: rotate(180deg);
|
|
7542
|
+
}
|
|
7543
|
+
.agent-footer-header:hover .collapse-chevron {
|
|
7544
|
+
stroke: var(--text-secondary);
|
|
7249
7545
|
}
|
|
7250
7546
|
.agent-footer-content {
|
|
7251
7547
|
display: flex;
|
|
7252
7548
|
gap: 10px;
|
|
7253
7549
|
padding: 0 24px 12px;
|
|
7254
7550
|
overflow-x: auto;
|
|
7255
|
-
scrollbar-width: thin;
|
|
7256
7551
|
}
|
|
7257
7552
|
.agent-footer.collapsed .agent-footer-content {
|
|
7258
7553
|
display: none;
|
|
@@ -7261,10 +7556,11 @@ body.show-resizing iframe {
|
|
|
7261
7556
|
display: flex;
|
|
7262
7557
|
flex-direction: column;
|
|
7263
7558
|
gap: 3px;
|
|
7264
|
-
padding:
|
|
7265
|
-
background: var(--bg-
|
|
7266
|
-
border: 1px solid
|
|
7559
|
+
padding: 7px 10px;
|
|
7560
|
+
background: var(--bg-elevated);
|
|
7561
|
+
border: 1px solid var(--border);
|
|
7267
7562
|
border-radius: 8px;
|
|
7563
|
+
box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
|
|
7268
7564
|
white-space: nowrap;
|
|
7269
7565
|
flex-shrink: 0;
|
|
7270
7566
|
min-width: 180px;
|
|
@@ -7275,6 +7571,14 @@ body.show-resizing iframe {
|
|
|
7275
7571
|
cursor: pointer;
|
|
7276
7572
|
position: relative;
|
|
7277
7573
|
}
|
|
7574
|
+
.agent-card.stopped {
|
|
7575
|
+
background: transparent;
|
|
7576
|
+
box-shadow: none;
|
|
7577
|
+
}
|
|
7578
|
+
.agent-card.stopped .agent-task,
|
|
7579
|
+
.agent-card.stopped .agent-card-model {
|
|
7580
|
+
color: var(--text-secondary);
|
|
7581
|
+
}
|
|
7278
7582
|
.agent-card:hover {
|
|
7279
7583
|
border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
|
|
7280
7584
|
}
|
|
@@ -7288,11 +7592,15 @@ body.show-resizing iframe {
|
|
|
7288
7592
|
border: none;
|
|
7289
7593
|
color: var(--text-muted);
|
|
7290
7594
|
cursor: pointer;
|
|
7291
|
-
opacity: 0
|
|
7595
|
+
opacity: 0;
|
|
7292
7596
|
transition:
|
|
7293
7597
|
opacity 0.15s,
|
|
7294
7598
|
color 0.15s;
|
|
7295
7599
|
}
|
|
7600
|
+
.agent-card:hover .agent-card-log-btn,
|
|
7601
|
+
.agent-card-log-btn:focus-visible {
|
|
7602
|
+
opacity: 0.6;
|
|
7603
|
+
}
|
|
7296
7604
|
.agent-card-log-btn:hover {
|
|
7297
7605
|
opacity: 1;
|
|
7298
7606
|
color: var(--accent);
|
|
@@ -7309,12 +7617,15 @@ body.show-resizing iframe {
|
|
|
7309
7617
|
.agent-task {
|
|
7310
7618
|
max-width: 240px;
|
|
7311
7619
|
padding-right: 14px;
|
|
7312
|
-
font-size:
|
|
7620
|
+
font-size: 11px;
|
|
7313
7621
|
font-weight: 600;
|
|
7314
7622
|
color: var(--text-primary);
|
|
7315
7623
|
overflow: hidden;
|
|
7316
7624
|
text-overflow: ellipsis;
|
|
7317
7625
|
}
|
|
7626
|
+
.agent-card .agent-ident-row {
|
|
7627
|
+
font-size: 10px;
|
|
7628
|
+
}
|
|
7318
7629
|
.agent-ident-row {
|
|
7319
7630
|
display: flex;
|
|
7320
7631
|
align-items: center;
|
|
@@ -7346,7 +7657,16 @@ body.show-resizing iframe {
|
|
|
7346
7657
|
.agent-status-row {
|
|
7347
7658
|
display: flex;
|
|
7348
7659
|
align-items: center;
|
|
7349
|
-
|
|
7660
|
+
justify-content: space-between;
|
|
7661
|
+
gap: 8px;
|
|
7662
|
+
}
|
|
7663
|
+
.agent-duration {
|
|
7664
|
+
font-size: 10px;
|
|
7665
|
+
color: var(--text-muted);
|
|
7666
|
+
font-variant-numeric: tabular-nums;
|
|
7667
|
+
}
|
|
7668
|
+
.agent-card.active .agent-duration {
|
|
7669
|
+
color: var(--success);
|
|
7350
7670
|
}
|
|
7351
7671
|
.agent-dot {
|
|
7352
7672
|
width: 5px;
|
|
@@ -7358,6 +7678,21 @@ body.show-resizing iframe {
|
|
|
7358
7678
|
background: var(--success);
|
|
7359
7679
|
box-shadow: 0 0 4px color-mix(in srgb, var(--success) 50%, transparent);
|
|
7360
7680
|
}
|
|
7681
|
+
.agent-status-row .agent-status {
|
|
7682
|
+
display: inline-flex;
|
|
7683
|
+
align-items: center;
|
|
7684
|
+
gap: 5px;
|
|
7685
|
+
}
|
|
7686
|
+
.agent-status-row .agent-dot {
|
|
7687
|
+
width: 6px;
|
|
7688
|
+
height: 6px;
|
|
7689
|
+
}
|
|
7690
|
+
.agent-status-row .agent-dot.active {
|
|
7691
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent);
|
|
7692
|
+
}
|
|
7693
|
+
.agent-status-row .agent-dot.idle {
|
|
7694
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 18%, transparent);
|
|
7695
|
+
}
|
|
7361
7696
|
.agent-dot.idle {
|
|
7362
7697
|
background: var(--warning);
|
|
7363
7698
|
box-shadow: 0 0 4px color-mix(in srgb, var(--warning) 50%, transparent);
|
|
@@ -8829,6 +9164,12 @@ body.light .msg-assistant .msg-text {
|
|
|
8829
9164
|
border-radius: 5px;
|
|
8830
9165
|
}
|
|
8831
9166
|
|
|
9167
|
+
.shortcuts .sc-say {
|
|
9168
|
+
font-family: var(--font-mono, monospace);
|
|
9169
|
+
font-size: 12px;
|
|
9170
|
+
color: var(--text-primary);
|
|
9171
|
+
}
|
|
9172
|
+
|
|
8832
9173
|
.shortcuts .sc-plus,
|
|
8833
9174
|
.shortcuts .sc-or {
|
|
8834
9175
|
color: var(--text-muted);
|
|
@@ -10751,49 +11092,6 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
10751
11092
|
/* #endregion */
|
|
10752
11093
|
|
|
10753
11094
|
/* #region ANIMATIONS */
|
|
10754
|
-
/* No `to` and fill backwards: the card ends on its own opacity (.completed, .dim), not on 1. */
|
|
10755
|
-
@keyframes fadeSlideIn {
|
|
10756
|
-
from {
|
|
10757
|
-
opacity: 0;
|
|
10758
|
-
transform: translateY(8px);
|
|
10759
|
-
}
|
|
10760
|
-
}
|
|
10761
|
-
|
|
10762
|
-
.column-tasks .task-card {
|
|
10763
|
-
animation: fadeSlideIn 150ms ease-out backwards;
|
|
10764
|
-
}
|
|
10765
|
-
|
|
10766
|
-
.column-tasks .task-card:nth-child(1) {
|
|
10767
|
-
animation-delay: 0ms;
|
|
10768
|
-
}
|
|
10769
|
-
.column-tasks .task-card:nth-child(2) {
|
|
10770
|
-
animation-delay: 30ms;
|
|
10771
|
-
}
|
|
10772
|
-
.column-tasks .task-card:nth-child(3) {
|
|
10773
|
-
animation-delay: 60ms;
|
|
10774
|
-
}
|
|
10775
|
-
.column-tasks .task-card:nth-child(4) {
|
|
10776
|
-
animation-delay: 90ms;
|
|
10777
|
-
}
|
|
10778
|
-
.column-tasks .task-card:nth-child(5) {
|
|
10779
|
-
animation-delay: 120ms;
|
|
10780
|
-
}
|
|
10781
|
-
.column-tasks .task-card:nth-child(6) {
|
|
10782
|
-
animation-delay: 150ms;
|
|
10783
|
-
}
|
|
10784
|
-
.column-tasks .task-card:nth-child(7) {
|
|
10785
|
-
animation-delay: 180ms;
|
|
10786
|
-
}
|
|
10787
|
-
.column-tasks .task-card:nth-child(8) {
|
|
10788
|
-
animation-delay: 210ms;
|
|
10789
|
-
}
|
|
10790
|
-
.column-tasks .task-card:nth-child(9) {
|
|
10791
|
-
animation-delay: 240ms;
|
|
10792
|
-
}
|
|
10793
|
-
.column-tasks .task-card:nth-child(10) {
|
|
10794
|
-
animation-delay: 270ms;
|
|
10795
|
-
}
|
|
10796
|
-
|
|
10797
11095
|
/* Connection status breathing */
|
|
10798
11096
|
@keyframes breathe {
|
|
10799
11097
|
0%,
|
|
@@ -11132,7 +11430,8 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11132
11430
|
outline-offset: -1px;
|
|
11133
11431
|
}
|
|
11134
11432
|
|
|
11135
|
-
.session-group-header.sg-zen
|
|
11433
|
+
.session-group-header.sg-zen,
|
|
11434
|
+
.project-group-header.sg-zen {
|
|
11136
11435
|
color: var(--accent-text);
|
|
11137
11436
|
}
|
|
11138
11437
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// claude-hub-sdk 1.
|
|
1
|
+
// claude-hub-sdk 1.11.0 (sha256 841f6c771631). Copied by npm run sdk:sync in claude-code-hub. Do not edit.
|
|
2
2
|
// Claude Code Hub SDK: the one rule that names a key press, shared by the hub page, client.js and
|
|
3
3
|
// stub.js. The hub serves it to its page as /sdk/keys.js; mount() and sdk:sync put it in front of
|
|
4
4
|
// client.js and stub.js, so an app still loads one file.
|
|
@@ -94,6 +94,7 @@ if (typeof module === 'object' && module.exports) module.exports = ClaudeHubKeys
|
|
|
94
94
|
forwards: () => false,
|
|
95
95
|
forwardCombos: () => [],
|
|
96
96
|
keyLabel: () => null,
|
|
97
|
+
voiceCommands: () => [],
|
|
97
98
|
closeGuard() {},
|
|
98
99
|
openExternal(url) {
|
|
99
100
|
win.open(url, '_blank', 'noopener');
|
|
@@ -103,7 +104,8 @@ if (typeof module === 'object' && module.exports) module.exports = ClaudeHubKeys
|
|
|
103
104
|
return hub;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
|
|
107
|
+
const mod = { list: [], wrap: () => false, on: () => off, emit() {}, send: () => false };
|
|
108
|
+
return { connect, comboOf, mod };
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
if (typeof module === 'object' && module.exports) module.exports = { createClaudeHub, comboOf };
|