claude-code-kanban 7.34.0 → 7.35.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kanban",
3
- "version": "7.34.0",
3
+ "version": "7.35.1",
4
4
  "description": "A web-based Kanban board for viewing Claude Code tasks with agent teams support",
5
5
  "main": "server.js",
6
6
  "type": "commonjs",
package/public/app.js CHANGED
@@ -13429,14 +13429,32 @@ const SP_COMMANDS = [
13429
13429
  when: (s) => !!s?.project && hub.can('project.memory'),
13430
13430
  run: (s) => openMemory(s.id),
13431
13431
  },
13432
- { id: 'session.new', title: 'New session', when: terminalAvailable, run: (s) => openNewSession(s?.project ?? null) },
13432
+ {
13433
+ id: 'session.new',
13434
+ title: 'New session',
13435
+ general: true,
13436
+ when: terminalAvailable,
13437
+ run: (s) => openNewSession(s?.project ?? null),
13438
+ },
13433
13439
  {
13434
13440
  id: 'session.shell',
13435
13441
  title: 'New terminal shell',
13436
13442
  when: (s) => !!s && terminalAvailable() && !!getSessionBaseDir(s.id),
13437
13443
  run: (s) => openShellForSession(s.id),
13438
13444
  },
13439
- { id: 'terminal.manager', title: 'Open terminal manager', when: terminalAvailable, run: openTerminalManager },
13445
+ {
13446
+ id: 'session.fork',
13447
+ title: 'Fork session',
13448
+ when: (s) => !!s && !!forkableSession(s.id),
13449
+ run: (s) => forkSession(s.id),
13450
+ },
13451
+ {
13452
+ id: 'terminal.manager',
13453
+ title: 'Open terminal manager',
13454
+ general: true,
13455
+ when: terminalAvailable,
13456
+ run: openTerminalManager,
13457
+ },
13440
13458
  ];
13441
13459
  const SP_COMMAND_KEYS = new Map(
13442
13460
  SHORTCUT_TABS.flatMap((t) => t.groups.flatMap((g) => g.rows))
@@ -13627,7 +13645,9 @@ function spPinHtml(session) {
13627
13645
 
13628
13646
  function renderPickerCommands(list, query) {
13629
13647
  const selectedId = spRows[spIdx]?.id;
13630
- spRows = SP_COMMANDS.filter((c) => c.when(spTarget) && fuzzyMatch(c.title, query));
13648
+ const shown = SP_COMMANDS.filter((c) => c.when(spTarget) && fuzzyMatch(c.title, query));
13649
+ spRows = [...shown.filter((c) => !c.general), ...shown.filter((c) => c.general)];
13650
+ const firstGeneral = spRows.findIndex((c) => c.general);
13631
13651
  const target = spTarget
13632
13652
  ? `<div class="sp-target">Session: <b>${escapeHtml(sessionDisplayName(spTarget))}</b>${spTarget.project ? ` · ${escapeHtml(pathBasename(spTarget.project))}` : ''}</div>`
13633
13653
  : '<div class="sp-target">No current session</div>';
@@ -13635,7 +13655,8 @@ function renderPickerCommands(list, query) {
13635
13655
  .map((c, i) => {
13636
13656
  const keyRow = SP_COMMAND_KEYS.get(c.id);
13637
13657
  const keys = keyRow ? `<span class="sp-keys">${keyChipsHtml(keyRow)}</span>` : '';
13638
- return `<button class="sp-row" data-idx="${i}"><span class="sp-name">${escapeHtml(c.title)}</span>${keys}</button>`;
13658
+ const section = i > 0 && i === firstGeneral ? '<div class="sp-section">General</div>' : '';
13659
+ return `${section}<button class="sp-row" data-idx="${i}"><span class="sp-name">${escapeHtml(c.title)}</span>${keys}</button>`;
13639
13660
  })
13640
13661
  .join('');
13641
13662
  list.innerHTML = target + (rows || '<div class="sp-empty">No command matches</div>');
package/public/style.css CHANGED
@@ -8487,7 +8487,6 @@ body.light {
8487
8487
  --bg-elevated: #fbfaf9;
8488
8488
  --bg-hover: #d2d0cc;
8489
8489
  --session-active-bg: var(--bg-elevated);
8490
- --session-active-border: var(--border);
8491
8490
  --border: #cfcbc4;
8492
8491
  --text-primary: #0a0a0a;
8493
8492
  --text-secondary: #2c2c2c;
@@ -11187,7 +11186,6 @@ select.form-input option:checked {
11187
11186
  --bg-elevated: #fbfaf9;
11188
11187
  --bg-hover: #d2d0cc;
11189
11188
  --session-active-bg: var(--bg-elevated);
11190
- --session-active-border: var(--border);
11191
11189
  --border: #cfcbc4;
11192
11190
  --text-primary: #0a0a0a;
11193
11191
  --text-secondary: #2c2c2c;
@@ -11312,7 +11310,7 @@ pre.mermaid[data-mermaid-error]::before {
11312
11310
  display: flex;
11313
11311
  align-items: center;
11314
11312
  gap: 6px;
11315
- padding: 8px 10px 4px;
11313
+ padding: 6px 10px;
11316
11314
  margin-top: 8px;
11317
11315
  cursor: pointer;
11318
11316
  user-select: none;
@@ -11331,9 +11329,11 @@ pre.mermaid[data-mermaid-error]::before {
11331
11329
 
11332
11330
  .project-group-header.kb-selected,
11333
11331
  .pinned-sub-header.kb-selected,
11334
- .sg-section-toggle.kb-selected {
11332
+ .sg-section-toggle.kb-selected,
11333
+ .session-group-header.kb-selected {
11335
11334
  color: var(--text-primary);
11336
- background: var(--bg-hover);
11335
+ background: var(--session-active-bg);
11336
+ box-shadow: 0 1px 3px color-mix(in srgb, var(--text-primary) 18%, transparent);
11337
11337
  border-radius: 4px;
11338
11338
  }
11339
11339
 
@@ -11568,7 +11568,7 @@ pre.mermaid[data-mermaid-error]::before {
11568
11568
 
11569
11569
  /* #region SESSION_GROUPS */
11570
11570
  .sg-section-label {
11571
- padding: 10px 10px 2px;
11571
+ padding: 7px 10px;
11572
11572
  margin-top: 10px;
11573
11573
  font-size: 11px;
11574
11574
  font-weight: 600;
@@ -11584,7 +11584,6 @@ pre.mermaid[data-mermaid-error]::before {
11584
11584
  display: flex;
11585
11585
  align-items: center;
11586
11586
  gap: 4px;
11587
- padding-bottom: 4px;
11588
11587
  cursor: pointer;
11589
11588
  }
11590
11589
 
@@ -11611,11 +11610,6 @@ pre.mermaid[data-mermaid-error]::before {
11611
11610
  background: var(--bg-hover);
11612
11611
  }
11613
11612
 
11614
- .session-group-header.kb-selected {
11615
- outline: 1px solid var(--accent);
11616
- outline-offset: -1px;
11617
- }
11618
-
11619
11613
  .session-group-header.sg-zen,
11620
11614
  .project-group-header.sg-zen {
11621
11615
  color: var(--accent-text);