claude-code-kanban 2.2.0-rc.4 → 2.2.0-rc.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/app.js +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kanban",
3
- "version": "2.2.0-rc.4",
3
+ "version": "2.2.0-rc.5",
4
4
  "description": "A web-based Kanban board for viewing Claude Code tasks with agent teams support",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/app.js CHANGED
@@ -504,7 +504,9 @@ async function fetchProjectView(projectPath) {
504
504
  if (msgPinned) msgPinned.innerHTML = '';
505
505
  const projectSessions = sessions.filter((s) => s.project === projectPath);
506
506
  currentProjectSessionIds = projectSessions.map((s) => s.id);
507
- const activeSessionIds = projectSessions.filter(isSessionActive).map((s) => s.id);
507
+ const activeSessionIds = projectSessions
508
+ .filter((s) => isSessionActive(s) || pinnedSessionIds.has(s.id))
509
+ .map((s) => s.id);
508
510
 
509
511
  const encoded = btoa(projectPath);
510
512
  const [tasksResult, agentResults] = await Promise.all([
@@ -553,7 +555,9 @@ async function fetchProjectView(projectPath) {
553
555
  async function refreshProjectAgents() {
554
556
  if (!currentProjectPath) return;
555
557
  const projectSessions = sessions.filter((s) => s.project === currentProjectPath);
556
- const activeSessionIds = projectSessions.filter(isSessionActive).map((s) => s.id);
558
+ const activeSessionIds = projectSessions
559
+ .filter((s) => isSessionActive(s) || pinnedSessionIds.has(s.id))
560
+ .map((s) => s.id);
557
561
  const agentResults = await Promise.all(
558
562
  activeSessionIds.map((id) =>
559
563
  fetch(`/api/sessions/${id}/agents`)