@daweifu/capability-menu 0.1.0 → 0.1.1

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,17 +1,24 @@
1
1
  {
2
2
  "name": "@daweifu/capability-menu",
3
- "version": "0.1.0",
4
- "description": "Unified capability management for the DeepSeek Harness: catalog (registry) + meta_search/meta_invoke + Exposed/Progressive/Blocked projection policy + 能力管理 surface, in one installable bundle.",
3
+ "version": "0.1.1",
4
+ "description": "Unified capability management for the DeepSeek Harness: catalog (ctx.capability) + meta_search/meta_invoke + Exposed/Progressive/Blocked projection policy + 能力菜单 settings tab, in one installable bundle (server + browser).",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/PKUfudawei/dsh-capability-menu.git"
9
+ },
6
10
  "publishConfig": {
7
- "access": "public"
11
+ "access": "public",
12
+ "registry": "https://registry.npmjs.org/"
8
13
  },
9
14
  "type": "module",
10
15
  "main": "lib/index.js",
11
16
  "types": "lib/types/index.d.ts",
12
17
  "scripts": {
13
- "build": "tsc -p tsconfig.json",
14
- "typecheck": "tsc -p tsconfig.json --noEmit",
18
+ "build": "tsc -p tsconfig.json && tsdown",
19
+ "bundle": "tsdown",
20
+ "bridge": "node scripts/bridge-runtime.mjs",
21
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
15
22
  "test": "vitest run",
16
23
  "prepare": "npm run build"
17
24
  },
@@ -40,46 +47,71 @@
40
47
  "types": "./lib/types/invariant.d.ts",
41
48
  "default": "./lib/invariant.js"
42
49
  },
50
+ "./client": {
51
+ "types": "./lib/client.d.ts",
52
+ "default": "./lib/client.js"
53
+ },
43
54
  "./cordis.patch.yml": "./cordis.patch.yml",
44
55
  "./src/*": "./src/*",
45
56
  "./package.json": "./package.json"
46
57
  },
47
58
  "files": [
48
- "lib/index.js",
49
- "lib/registry.js",
50
- "lib/search.js",
51
- "lib/invoke.js",
52
- "lib/policy.js",
53
- "lib/invariant.js",
54
- "cordis.patch.yml",
55
- "lib/types/**/*.d.ts"
59
+ "lib",
60
+ "cordis.patch.yml"
56
61
  ],
57
62
  "dsh": {
58
63
  "bundle": {
59
64
  "patch": "./cordis.patch.yml"
65
+ },
66
+ "client": {
67
+ "inject": [
68
+ "@deepseek-ai/dsh-client-runtime",
69
+ "@deepseek-ai/dsh-client-ui-settings",
70
+ "@deepseek-ai/dsh-client-locale",
71
+ "@deepseek-ai/dsh-api-remotes"
72
+ ],
73
+ "external": [
74
+ "react",
75
+ "react/jsx-runtime"
76
+ ],
77
+ "platform": "web"
60
78
  }
61
79
  },
62
80
  "peerDependencies": {
63
81
  "@deepseek-ai/cordis": "^4.0.1",
64
- "@deepseek-ai/dsh-agent": "^0.1.0-rc.7",
65
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.7",
66
- "@deepseek-ai/dsh-llm": "^0.1.0-rc.7",
67
- "@deepseek-ai/dsh-scope": "^0.1.0-rc.7",
68
- "@deepseek-ai/dsh-session": "^0.1.0-rc.7",
69
- "@deepseek-ai/dsh-skill": "^0.1.0-rc.7",
70
- "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.7",
71
- "@deepseek-ai/dsh-tools": "^0.1.0-rc.7",
72
- "@deepseek-ai/schemastery": "^3.18.1"
82
+ "@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
83
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.1",
84
+ "@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
85
+ "@deepseek-ai/dsh-scope": "^0.1.1-rc.1",
86
+ "@deepseek-ai/dsh-session": "^0.1.1-rc.1",
87
+ "@deepseek-ai/dsh-skill": "^0.1.1-rc.1",
88
+ "@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.1",
89
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.1",
90
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.1",
91
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.1",
92
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.1",
93
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
94
+ "@deepseek-ai/dsh-client-schema-form": "^0.1.0-rc.7",
95
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.7",
96
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.1",
97
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.7",
98
+ "@deepseek-ai/dsh-client-web-react": "^0.1.0-rc.7",
99
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.1-rc.1",
100
+ "@deepseek-ai/schemastery": "^3.18.1",
101
+ "react": "^18.2.0"
73
102
  },
74
103
  "dependencies": {
75
104
  "@deepseek-ai/schemastery": "^3.18.1",
76
105
  "js-yaml": "^4.1.0"
77
106
  },
78
107
  "devDependencies": {
79
- "@deepseek-ai/dsh-skill-filesystem": "^0.1.0-rc.7",
108
+ "@deepseek-ai/dsh-skill-filesystem": "^0.1.1-rc.1",
80
109
  "@types/js-yaml": "^4.0.9",
81
110
  "@types/node": "^22.0.0",
111
+ "@types/react": "^18.2.0",
112
+ "tsdown": "^0.22.2",
82
113
  "typescript": "^6.0.3",
83
- "vitest": "^4.1.8"
114
+ "vitest": "^4.1.8",
115
+ "zod": "^4.4.3"
84
116
  }
85
117
  }