claude-code-kanban 7.26.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/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: 12px;
7236
- letter-spacing: 0.05em;
7242
+ font-size: 10.5px;
7243
+ font-weight: 500;
7237
7244
  text-transform: uppercase;
7245
+ letter-spacing: 0.08em;
7238
7246
  }
7239
- .agent-footer-header:hover {
7240
- background: var(--bg-hover);
7247
+ #agent-footer-label {
7248
+ display: flex;
7249
+ align-items: baseline;
7250
+ gap: 6px;
7251
+ }
7252
+ .agent-footer-count {
7253
+ font-weight: 500;
7254
+ }
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;
7241
7263
  }
7242
- .agent-footer-toggle {
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
- font-size: 14px;
7248
- padding: 2px 4px;
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: 8px 12px;
7265
- background: var(--bg-deep);
7266
- border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
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.45;
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: 12.5px;
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
- gap: 5px;
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);
package/server.js CHANGED
@@ -121,6 +121,7 @@ const CCK_DIR = path.join(CLAUDE_DIR, '.cck');
121
121
  const AGENT_ACTIVITY_DIR = path.join(CCK_DIR, 'agent-activity');
122
122
  const CONTEXT_STATUS_DIR = path.join(CCK_DIR, 'context-status');
123
123
  const ATTACHMENTS_DIR = path.join(CCK_DIR, 'attachments');
124
+ const SHOW_DIR = path.join(CCK_DIR, 'show');
124
125
  const PINS_FILE = path.join(CCK_DIR, 'pins.json');
125
126
  const USER_GROUPS_FILE = path.join(CCK_DIR, 'groups.json');
126
127
  const DISPATCHED_FILE = path.join(CCK_DIR, 'dispatched.json');
@@ -2581,6 +2582,12 @@ app.get('/api/sessions/:sessionId/agents', async (req, res) => {
2581
2582
  }
2582
2583
  }
2583
2584
 
2585
+ const subMetas = new Map();
2586
+ const subMeta = (jsonl) => {
2587
+ if (!subMetas.has(jsonl)) subMetas.set(jsonl, readSubagentMeta(jsonl));
2588
+ return subMetas.get(jsonl);
2589
+ };
2590
+
2584
2591
  // The plugin's start record carries the model; this covers sessions without it.
2585
2592
  const agentsNeedingModel = agents.filter(a => !a.model && a.modelUnavailable !== MODEL_SCAN);
2586
2593
  if (agentsNeedingModel.length && meta.jsonlPath) {
@@ -2598,7 +2605,7 @@ app.get('/api/sessions/:sessionId/agents', async (req, res) => {
2598
2605
  // Until the transcript has an assistant line, show the requested alias.
2599
2606
  // agent.model stays empty so the exact id is still looked up.
2600
2607
  if (!agent.modelAlias) {
2601
- let alias = readSubagentMeta(jsonl)?.model || null;
2608
+ let alias = subMeta(jsonl)?.model || null;
2602
2609
  if (alias === 'inherit') {
2603
2610
  try { alias = extractModelFromTranscript(meta.jsonlPath); } catch (_) { alias = null; }
2604
2611
  }
@@ -2614,6 +2621,16 @@ app.get('/api/sessions/:sessionId/agents', async (req, res) => {
2614
2621
  }
2615
2622
  }
2616
2623
 
2624
+ if (meta.jsonlPath) {
2625
+ for (const agent of agents) {
2626
+ if (agent.parent !== undefined) continue;
2627
+ const sub = subMeta(subagentJsonlForExtraction(meta, agent.agentId));
2628
+ if (!sub && isAgentLive(agent)) continue;
2629
+ agent.parent = sub?.parentAgentId || null;
2630
+ dirty.add(agent);
2631
+ }
2632
+ }
2633
+
2617
2634
  // Workflow-spawned subagents given a schema end on a forced StructuredOutput
2618
2635
  // tool call (background subagents on SubagentHandback) and never emit a text
2619
2636
  // lastMessage — surface that result as the agent's response.
@@ -3502,9 +3519,16 @@ const show = createShowStore({
3502
3519
  onChange: saveTerminals,
3503
3520
  onPosted: (e) => broadcast({ type: 'show:posted', ...e }),
3504
3521
  startedSession: terminal.sessionOfTerminal,
3505
- resolveDir: (id) => {
3522
+ resolveDir: (id) => (sessionMetaFor(id) ? path.join(SHOW_DIR, id) : null),
3523
+ // Claims go where the session can write without a prompt: its scratchpad as of its last process start.
3524
+ // The convention dir follows it, for claims made before Claude Code 2.1.317 moved the root.
3525
+ scratchpadDirs: (id) => {
3506
3526
  const meta = sessionMetaFor(id);
3507
- return meta ? getScratchpadDir(id, meta) : null;
3527
+ if (!meta?.jsonlPath) return [];
3528
+ const recorded = getScratchpadDir(id, meta);
3529
+ const convention = getScratchpadDir(id, { ...meta, scratchpadDir: null });
3530
+ const dirs = [recorded, convention].filter(Boolean).map((dir) => path.join(dir, '.cck', 'show'));
3531
+ return [...new Set(dirs)];
3508
3532
  },
3509
3533
  });
3510
3534
  mountShowRoutes(app, {
@@ -3591,6 +3615,16 @@ app.post('/api/dispatch', terminalRoute(async (req, res) => {
3591
3615
  });
3592
3616
  }));
3593
3617
 
3618
+ app.post('/api/dispatch/:id/child', (req, res) => {
3619
+ const { child } = req.body || {};
3620
+ if (typeof child !== 'boolean') return res.status(400).json({ error: 'child must be true or false' });
3621
+ const marker = dispatched.get(req.params.id);
3622
+ if (!marker) return res.status(404).json({ error: 'not a dispatched session' });
3623
+ if (child && !marker.parent) return res.status(400).json({ error: 'child needs a parent session' });
3624
+ if (dispatched.setChild(req.params.id, child)) broadcast({ type: 'dispatch-update' });
3625
+ res.json({ session: req.params.id, child });
3626
+ });
3627
+
3594
3628
  app.get('/api/dispatch', (req, res) => {
3595
3629
  res.setHeader('Cache-Control', 'no-store');
3596
3630
  const parent = typeof req.query.parent === 'string' && req.query.parent ? req.query.parent : null;
@@ -4985,7 +5019,7 @@ async function cleanupAgentActivity() {
4985
5019
  } catch { /* agent-activity dir may not exist */ }
4986
5020
  }
4987
5021
 
4988
- // Dispatch markers, pane layouts, add-on sessions, reviews, attachments, context status and worktrees: see docs/retention.md.
5022
+ // Dispatch markers, pane layouts, add-on sessions, reviews, attachments, show indexes, context status and worktrees: see docs/retention.md.
4989
5023
  async function runRetention() {
4990
5024
  try {
4991
5025
  const scan = await scanTranscripts(PROJECTS_DIR);
@@ -4996,12 +5030,13 @@ async function runRetention() {
4996
5030
  const addonSessions = addons.prune(opts);
4997
5031
  const reviews = await pruneSessionDirs(REVIEW_DIR, opts);
4998
5032
  const attachments = await pruneSessionDirs(ATTACHMENTS_DIR, opts);
5033
+ const shows = await pruneSessionDirs(SHOW_DIR, opts);
4999
5034
  const contexts = await pruneContextStatus(CONTEXT_STATUS_DIR, opts);
5000
5035
  const wts = worktrees.prune(scan?.dirs);
5001
5036
  const taskMaps = await pruneTaskMaps(TASK_MAPS_DIR, opts);
5002
5037
  const grouped = expireGroupMembers(scan?.ids);
5003
- if (markers || layouts || addonSessions || reviews || attachments || contexts || wts || taskMaps || grouped.members) {
5004
- console.log(`[retention] removed ${markers} dispatch markers, ${layouts} pane layouts, ${addonSessions} add-on sessions, ${reviews} reviews, ${attachments} attachments, ${contexts} context status files, ${wts} worktrees, ${taskMaps} task-list mappings, ${grouped.members} group members, ${grouped.groups} groups`);
5038
+ if (markers || layouts || addonSessions || reviews || attachments || shows || contexts || wts || taskMaps || grouped.members) {
5039
+ console.log(`[retention] removed ${markers} dispatch markers, ${layouts} pane layouts, ${addonSessions} add-on sessions, ${reviews} reviews, ${attachments} attachments, ${shows} show files, ${contexts} context status files, ${wts} worktrees, ${taskMaps} task-list mappings, ${grouped.members} group members, ${grouped.groups} groups`);
5005
5040
  }
5006
5041
  } catch (e) {
5007
5042
  console.warn('[retention] failed:', e.message);