dsh-kingdom 3.2.1 → 3.3.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.
- package/README.md +31 -16
- package/docs/CURRENT-USER-GUIDE.md +106 -0
- package/docs/V3.3-RELEASE-NOTES.md +46 -0
- package/lib/core/owner-binding-intent.js +168 -11
- package/lib/core/owner-binding-intent.js.map +1 -1
- package/lib/gui/console-app.js +34 -30
- package/lib/gui/console-app.js.map +1 -1
- package/lib/gui/local-control.js +59 -3
- package/lib/gui/local-control.js.map +1 -1
- package/lib/gui/owner-ui.js +71 -8
- package/lib/gui/owner-ui.js.map +1 -1
- package/lib/gui/server.js +1 -1
- package/lib/gui/server.js.map +1 -1
- package/lib/gui/workbench-ui.js +179 -10
- package/lib/gui/workbench-ui.js.map +1 -1
- package/lib/index.js +29 -8
- package/lib/index.js.map +1 -1
- package/lib/types/core/owner-binding-intent.d.ts +26 -0
- package/lib/types/gui/console-app.d.ts +1 -1
- package/lib/types/gui/control-contract.d.ts +5 -3
- package/lib/types/gui/local-control.d.ts +14 -2
- package/lib/types/gui/owner-ui.d.ts +31 -0
- package/package.json +86 -84
|
@@ -1,2 +1,33 @@
|
|
|
1
1
|
/** Self-contained management surface; all business values are rendered as text. */
|
|
2
2
|
export declare function renderOwnerApp(nonce: string): string;
|
|
3
|
+
interface OwnerBindingPrefillControl {
|
|
4
|
+
decision: {
|
|
5
|
+
actions: readonly string[];
|
|
6
|
+
scope: {
|
|
7
|
+
kingdomWide: boolean;
|
|
8
|
+
roleTypes: readonly string[];
|
|
9
|
+
territoryIds: readonly string[];
|
|
10
|
+
bindingIds: readonly string[];
|
|
11
|
+
targetSessionIds: readonly string[];
|
|
12
|
+
workspaceRoots: readonly string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
catalog?: {
|
|
16
|
+
territories?: readonly {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}[];
|
|
20
|
+
bindings?: readonly {
|
|
21
|
+
id: string;
|
|
22
|
+
roleType: string;
|
|
23
|
+
roleName: string;
|
|
24
|
+
}[];
|
|
25
|
+
runtimeSessions?: readonly {
|
|
26
|
+
id: string;
|
|
27
|
+
label: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** Pure form convenience only; preview/commit still recheck scope and current facts. */
|
|
32
|
+
export declare function ownerBindingFormPrefill(control: OwnerBindingPrefillControl): Record<string, string> | null;
|
|
33
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,84 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-kingdom",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./lib/index.js",
|
|
7
|
-
"types": "./lib/types/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./lib/types/index.d.ts",
|
|
11
|
-
"default": "./lib/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
14
|
-
"./package.json": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"lib",
|
|
18
|
-
"cordis.patch.yml",
|
|
19
|
-
"NOTICE",
|
|
20
|
-
"THIRD_PARTY_NOTICES.md",
|
|
21
|
-
"ASSETS_NOTICE.md",
|
|
22
|
-
"docs/V2.0-USER-GUIDE.md",
|
|
23
|
-
"docs/V2.0-RELEASE-NOTES.md",
|
|
24
|
-
"docs/V3.0-USER-GUIDE.md",
|
|
25
|
-
"docs/V3.0-RELEASE-NOTES.md",
|
|
26
|
-
"docs/V3.1-RELEASE-NOTES.md",
|
|
27
|
-
"docs/V3.2-RELEASE-NOTES.md",
|
|
28
|
-
"docs/DSH-KINGDOM-3.0-ANNOUNCEMENT.md",
|
|
29
|
-
"docs/V3.2.1-RELEASE-NOTES.md",
|
|
30
|
-
"docs/DISPATCH-IDENTITY-PROBE.md"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"dsh
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/
|
|
67
|
-
"@deepseek-ai/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-kingdom",
|
|
3
|
+
"version": "3.3.0",
|
|
4
|
+
"description": "清晰的 Agent 工作台:查看任务与领地会话、派发任务,并由会话引导主管绑定和接替;执行结果仍须主管审查。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"types": "./lib/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/types/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"lib",
|
|
18
|
+
"cordis.patch.yml",
|
|
19
|
+
"NOTICE",
|
|
20
|
+
"THIRD_PARTY_NOTICES.md",
|
|
21
|
+
"ASSETS_NOTICE.md",
|
|
22
|
+
"docs/V2.0-USER-GUIDE.md",
|
|
23
|
+
"docs/V2.0-RELEASE-NOTES.md",
|
|
24
|
+
"docs/V3.0-USER-GUIDE.md",
|
|
25
|
+
"docs/V3.0-RELEASE-NOTES.md",
|
|
26
|
+
"docs/V3.1-RELEASE-NOTES.md",
|
|
27
|
+
"docs/V3.2-RELEASE-NOTES.md",
|
|
28
|
+
"docs/DSH-KINGDOM-3.0-ANNOUNCEMENT.md",
|
|
29
|
+
"docs/V3.2.1-RELEASE-NOTES.md",
|
|
30
|
+
"docs/DISPATCH-IDENTITY-PROBE.md",
|
|
31
|
+
"docs/CURRENT-USER-GUIDE.md",
|
|
32
|
+
"docs/V3.3-RELEASE-NOTES.md"
|
|
33
|
+
],
|
|
34
|
+
"license": "AGPL-3.0-or-later",
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"registry": "https://registry.npmjs.org/",
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"dsh",
|
|
41
|
+
"deepseek-harness",
|
|
42
|
+
"dsh-plugin",
|
|
43
|
+
"kingdom",
|
|
44
|
+
"governance",
|
|
45
|
+
"multi-agent"
|
|
46
|
+
],
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/lusblead/dsh-Kingdom.git"
|
|
50
|
+
},
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/lusblead/dsh-Kingdom/issues"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/lusblead/dsh-Kingdom#readme",
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=22.19"
|
|
57
|
+
},
|
|
58
|
+
"dsh": {
|
|
59
|
+
"bundle": {
|
|
60
|
+
"patch": "./cordis.patch.yml"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@deepseek-ai/dsh-commands": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
|
|
65
|
+
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
|
|
66
|
+
"@deepseek-ai/dsh-tools": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
|
|
67
|
+
"@deepseek-ai/dsh-token-meter": ">=0.1.5-rc.2 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
|
|
68
|
+
"@deepseek-ai/cordis": ">=4.0.0-rc <5",
|
|
69
|
+
"@deepseek-ai/schemastery": "^3.18.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"@deepseek-ai/dsh-token-meter": {
|
|
73
|
+
"optional": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@types/node": "^24.13.3",
|
|
78
|
+
"typescript": "^5.9.0"
|
|
79
|
+
},
|
|
80
|
+
"scripts": {
|
|
81
|
+
"build": "tsc -p tsconfig.json && node src/gui/prepare-character-assets.mjs",
|
|
82
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
83
|
+
"test": "npm run build && node --test tests/*.test.ts",
|
|
84
|
+
"prepack": "npm run build"
|
|
85
|
+
}
|
|
86
|
+
}
|