@chenkai114/dsh-team-admin 0.1.6 → 0.1.7

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": "@chenkai114/dsh-team-admin",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "DSH 插件:GUI 管理任意会话的智能体团队 —— 查看成员、删除角色并清理其持久会话(进回收站,可恢复)",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/client.js CHANGED
@@ -1081,6 +1081,10 @@
1081
1081
  }
1082
1082
  }
1083
1083
 
1084
+ // 宿主模块表装载阶段就装好过滤器:客户端插件要等 slots 服务才 apply,
1085
+ // 而会话列表请求可能更早发生,所以不能只在 apply 里装。
1086
+ installSessionListFilter()
1087
+
1084
1088
  // 宿主模块表:以包名注册,factory 返回 { inject, apply }
1085
1089
  if (typeof window !== 'undefined' && window !== null && window.__ModuleLoader__ !== undefined && window.__ModuleLoader__ !== null
1086
1090
  && typeof window.__ModuleLoader__.load === 'function') {
package/src/index.js CHANGED
@@ -17,7 +17,7 @@ const DATA_DIR_ENV = 'DSH_TEAM_ADMIN_DATA_DIR'
17
17
  /** 路由前缀:webServer 只支持 exact/prefix 注册。 */
18
18
  const ROUTE_PREFIX = '/api/team-admin'
19
19
  /** 与 package.json 版本保持一致(发布前由测试校验)。 */
20
- const PLUGIN_VERSION = '0.1.6'
20
+ const PLUGIN_VERSION = '0.1.7'
21
21
 
22
22
  /**
23
23
  * 解析插件数据目录。