dsh-expert-group 0.1.1 → 0.1.2
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/README.md +131 -10
- package/client-bundle.js +1611 -147
- package/client-expert-group-model.js +4 -1
- package/client-expert-group-sidebar.js +1307 -86
- package/client.js +300 -60
- package/desktop-uninstall.ps1 +679 -0
- package/host/fanout-runtime.js +34 -7
- package/host/system-toast.js +1 -1
- package/host/turn-wait.js +465 -0
- package/index.js +1409 -1022
- package/orchestrator.js +36 -29
- package/package.json +5 -3
- package/prompt-contracts.js +9 -7
- package/role-registry.js +6 -6
- package/shared.js +125 -784
- package/{install.ps1 → web-install.ps1} +2 -2
- package/web-uninstall.ps1 +962 -0
- package/uninstall.ps1 +0 -47
|
@@ -347,9 +347,12 @@
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
function defaultExpanded(node) {
|
|
350
|
-
//
|
|
350
|
+
// 根节点是任务树入口,默认展开;空闲分组也默认展示成员。
|
|
351
351
|
if (isObject(node) && node.kind === "root") return true;
|
|
352
352
|
if (isObject(node) && node.kind === "idle-group") return true;
|
|
353
|
+
// fan-out 始终默认展示子代理,不因完成或取消自动收起;
|
|
354
|
+
// 这里只改变缺省值,createExpansionStore 仍优先保留用户手动折叠的选择。
|
|
355
|
+
if (isObject(node) && node.kind === "fanout") return true;
|
|
353
356
|
const status = normalizeStatus(isObject(node) ? (node.status ?? node.taskStatus) : undefined);
|
|
354
357
|
return !DEFAULT_COLLAPSED_STATUSES.has(status);
|
|
355
358
|
}
|