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.
@@ -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.2.1",
4
- "description": "个人 Agent 工作台:任务交付可逐条查看、知悉与提问,改动证据可追溯;Worker Claim 仍须主管审查才成为事实。",
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
- "license": "AGPL-3.0-or-later",
33
- "publishConfig": {
34
- "registry": "https://registry.npmjs.org/",
35
- "access": "public"
36
- },
37
- "keywords": [
38
- "dsh",
39
- "deepseek-harness",
40
- "dsh-plugin",
41
- "kingdom",
42
- "governance",
43
- "multi-agent"
44
- ],
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/lusblead/dsh-Kingdom.git"
48
- },
49
- "bugs": {
50
- "url": "https://github.com/lusblead/dsh-Kingdom/issues"
51
- },
52
- "homepage": "https://github.com/lusblead/dsh-Kingdom#readme",
53
- "engines": {
54
- "node": ">=22.19"
55
- },
56
- "dsh": {
57
- "bundle": {
58
- "patch": "./cordis.patch.yml"
59
- }
60
- },
61
- "peerDependencies": {
62
- "@deepseek-ai/dsh-commands": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
63
- "@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
64
- "@deepseek-ai/dsh-tools": ">=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
65
- "@deepseek-ai/dsh-token-meter": ">=0.1.5-rc.2 <0.1.6-0 || >=0.1.7-0 <0.1.8-0",
66
- "@deepseek-ai/cordis": ">=4.0.0-rc <5",
67
- "@deepseek-ai/schemastery": "^3.18.0"
68
- },
69
- "peerDependenciesMeta": {
70
- "@deepseek-ai/dsh-token-meter": {
71
- "optional": true
72
- }
73
- },
74
- "devDependencies": {
75
- "@types/node": "^24.13.3",
76
- "typescript": "^5.9.0"
77
- },
78
- "scripts": {
79
- "build": "tsc -p tsconfig.json && node src/gui/prepare-character-assets.mjs",
80
- "typecheck": "tsc -p tsconfig.json --noEmit",
81
- "test": "npm run build && node --test tests/*.test.ts",
82
- "prepack": "npm run build"
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
+ }