dsh-tool-switch 0.0.0-stage → 0.2.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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Tool switch",
4
+ "description": "Pick which tools the model may use in the current session. Hidden tools leave the prompt and cannot be called."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "工具开关",
4
+ "description": "按会话选择模型可用的工具;被关掉的工具会从提示词里消失,也调用不了。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,55 @@
1
1
  {
2
2
  "name": "dsh-tool-switch",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.1",
4
+ "description": "Per-session tool visibility switch for DeepSeek Harness: a button under the composer, grouped tool picker, applied to live sessions.",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./client": "./lib/client.js",
10
+ "./locale/*.json": "./locale/*.json",
11
+ "./icon": "./icon.svg",
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "lib/",
17
+ "locale/",
18
+ "icon.svg",
19
+ "cordis.patch.yml",
20
+ "README.md",
21
+ "INSTALL.md",
22
+ "LICENSE"
23
+ ],
24
+ "keywords": [
25
+ "deepseek-harness",
26
+ "dsh",
27
+ "dsh-plugin",
28
+ "cordis",
29
+ "tools",
30
+ "plugin"
31
+ ],
32
+ "author": "suqing114 (https://github.com/suqing114)",
33
+ "license": "MIT",
34
+ "homepage": "https://github.com/suqing114/dsh-tool-switch#readme",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/suqing114/dsh-tool-switch.git"
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/suqing114/dsh-tool-switch/issues"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "dsh": {
46
+ "bundle": {
47
+ "patch": "./cordis.patch.yml"
48
+ },
49
+ "client": {
50
+ "platform": "web",
51
+ "immediately": true,
52
+ "inject": ["@deepseek-ai/dsh-client-ui-conversation"]
53
+ }
54
+ }
55
+ }