dsh-chat-groups 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/client.js +4 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -454,7 +454,10 @@ window.__ModuleLoader__.load({
454
454
  for (const sessionId of workspace.sessionIds) {
455
455
  if (shown.has(sessionId) || archived.has(sessionId) || !listed.has(sessionId)) continue
456
456
  const session = catalog.byId[sessionId]
457
- if (!session || session.parentId || session.origin === 'subagent') continue
457
+ if (!session || session.origin === 'subagent') continue
458
+ // Match the native list: only the current blank is a visible
459
+ // placeholder. Ordinary forks can carry parentId and still belong here.
460
+ if (session.blank && sessionId !== active) continue
458
461
  shown.add(sessionId)
459
462
  const assigned = groupBySession[sessionId]
460
463
  const groupId = workspaceGroupIds.has(assigned) ? assigned : undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-chat-groups",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "在 DSH 工作区内按任务整理会话",
6
6
  "main": "./host.js",