dsh-plugin-t-expert 0.3.40 → 0.3.41
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/lib/catalog.js +0 -22
- package/lib/client.js +1 -1
- package/lib/index.js +3 -2
- package/package.json +1 -1
package/lib/catalog.js
CHANGED
|
@@ -28,28 +28,6 @@ import { dirname, join, relative } from "node:path";
|
|
|
28
28
|
* }} CatalogMap
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
-
/** 内置的分区目录名(= divisions.json 的键)。 */
|
|
32
|
-
export const DEFAULT_DIVISIONS = [
|
|
33
|
-
"academic",
|
|
34
|
-
"design",
|
|
35
|
-
"engineering",
|
|
36
|
-
"finance",
|
|
37
|
-
"game-development",
|
|
38
|
-
"gis",
|
|
39
|
-
"healthcare",
|
|
40
|
-
"marketing",
|
|
41
|
-
"paid-media",
|
|
42
|
-
"product",
|
|
43
|
-
"project-management",
|
|
44
|
-
"research",
|
|
45
|
-
"sales",
|
|
46
|
-
"security",
|
|
47
|
-
"spatial-computing",
|
|
48
|
-
"specialized",
|
|
49
|
-
"support",
|
|
50
|
-
"testing",
|
|
51
|
-
];
|
|
52
|
-
|
|
53
31
|
/** 分区显示名(面板里用;缺省回退分区 key)。 */
|
|
54
32
|
export const DIVISION_LABEL = {
|
|
55
33
|
academic: { zh: "学术", en: "Academic" },
|
package/lib/client.js
CHANGED
|
@@ -20018,7 +20018,7 @@ var scheduleWorkspaceSchema = external_exports.object({
|
|
|
20018
20018
|
|
|
20019
20019
|
// src/client.jsx
|
|
20020
20020
|
var NS = "t-team";
|
|
20021
|
-
var CLIENT_BUILD_VERSION = "0.3.
|
|
20021
|
+
var CLIENT_BUILD_VERSION = "0.3.41";
|
|
20022
20022
|
var uiPrefs = { showTaskBadge: true, showScheduleButton: true, showActivePulse: true };
|
|
20023
20023
|
var UI_PREF_KEYS = Object.keys(uiPrefs);
|
|
20024
20024
|
var uiPrefsListeners = /* @__PURE__ */ new Set();
|
package/lib/index.js
CHANGED
|
@@ -19,7 +19,6 @@ import { defineTool } from "@deepseek-ai/dsh-tools";
|
|
|
19
19
|
import {
|
|
20
20
|
CUSTOM_DIVISION,
|
|
21
21
|
CUSTOM_LIMITS,
|
|
22
|
-
DEFAULT_DIVISIONS,
|
|
23
22
|
catalogDivisions,
|
|
24
23
|
customExpertPath,
|
|
25
24
|
divisionOf,
|
|
@@ -433,7 +432,9 @@ export function apply(ctx, config) {
|
|
|
433
432
|
|
|
434
433
|
// ---- 花名册加载 ----
|
|
435
434
|
let entries = [];
|
|
436
|
-
|
|
435
|
+
// 初始为显式配置的分区(默认空);空数组 = 交给 loadCatalog 自动发现,
|
|
436
|
+
// 加载后 effectiveDivisions 会被 catalogDivisions() 的发现结果覆盖(不再有硬编码分区清单)。
|
|
437
|
+
let effectiveDivisions = config.divisions.slice();
|
|
437
438
|
/** 自建专家根下发现的分区(默认只有 custom);进指纹,用于新建/删除后自动重载。 */
|
|
438
439
|
let customDivisions = [];
|
|
439
440
|
/** 只来自内置根的分区(官方、只读):自建分区不许与它们重名。 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-t-expert",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "T Expert — a 323-expert, 22-division roster with full Chinese translations, as a standalone DeepSeek Harness plugin, with a built-in multi-agent team engine (T Team).",
|
|
6
6
|
"license": "MIT",
|