claude-code-kanban 1.14.0 → 1.15.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +12 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kanban",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
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/server.js CHANGED
@@ -206,7 +206,7 @@ function loadSessionMetadata() {
206
206
  console.error('Error loading session metadata:', e);
207
207
  }
208
208
 
209
- // For team sessions with no JSONL match, try team config for project path
209
+ // For team sessions with no JSONL match, resolve from team config + parent session
210
210
  if (existsSync(TASKS_DIR)) {
211
211
  const taskDirs = readdirSync(TASKS_DIR, { withFileTypes: true })
212
212
  .filter(d => d.isDirectory());
@@ -214,11 +214,18 @@ function loadSessionMetadata() {
214
214
  if (!metadata[dir.name]) {
215
215
  const teamConfig = loadTeamConfig(dir.name);
216
216
  if (teamConfig) {
217
+ const parentMeta = teamConfig.leadSessionId ? metadata[teamConfig.leadSessionId] : null;
218
+ const leadMember = teamConfig.members?.find(m => m.agentId === teamConfig.leadAgentId) || teamConfig.members?.[0];
219
+ const project = parentMeta?.project || leadMember?.cwd || teamConfig.working_dir || null;
220
+
217
221
  metadata[dir.name] = {
218
- customTitle: null,
219
- slug: null,
220
- project: teamConfig.working_dir || null,
221
- jsonlPath: null
222
+ customTitle: parentMeta?.customTitle || null,
223
+ slug: parentMeta?.slug || null,
224
+ project,
225
+ jsonlPath: parentMeta?.jsonlPath || null,
226
+ description: parentMeta?.description || teamConfig.description || null,
227
+ gitBranch: parentMeta?.gitBranch || null,
228
+ created: parentMeta?.created || null
222
229
  };
223
230
  }
224
231
  }