dsh-system-prompt-insertion 0.0.1 → 0.2.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/CHANGELOG.md +15 -0
- package/LICENSE +21 -0
- package/README.md +174 -2
- package/cordis.patch.yml +18 -0
- package/lib/client.js +1414 -0
- package/lib/index.d.ts +324 -0
- package/lib/index.js +902 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +95 -4
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,9 +1,100 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-system-prompt-insertion",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "User-owned system-prompt insertion for DeepSeek Harness: place your own text at the head, middle, or tail of the assembled prompt, and edit it from a left-column Web panel with a live preview.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"types": "lib/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./lib/index.d.ts",
|
|
12
|
+
"default": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
15
|
+
"./package.json": "./package.json",
|
|
16
|
+
"./locale/*.json": "./locale/*.json",
|
|
17
|
+
"./client": "./lib/client.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"cordis.patch.yml",
|
|
22
|
+
"locale",
|
|
23
|
+
"README.md",
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"deepseek-harness",
|
|
29
|
+
"dsh",
|
|
30
|
+
"dsh-plugin",
|
|
31
|
+
"system-prompt",
|
|
32
|
+
"prompt-insertion",
|
|
33
|
+
"prompt",
|
|
34
|
+
"instructions",
|
|
35
|
+
"sidebar",
|
|
36
|
+
"panel"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=20",
|
|
40
|
+
"dsh": ">=0.2.0-rc.2 <0.3.0-0"
|
|
41
|
+
},
|
|
42
|
+
"dsh": {
|
|
43
|
+
"bundle": {
|
|
44
|
+
"patch": "./cordis.patch.yml"
|
|
45
|
+
},
|
|
46
|
+
"client": {
|
|
47
|
+
"platform": "web",
|
|
48
|
+
"inject": [
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-layout"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@deepseek-ai/cordis": "~4.0.5",
|
|
55
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
56
|
+
"@deepseek-ai/dsh-home-paths": "*",
|
|
57
|
+
"@deepseek-ai/dsh-host-webserver": "*",
|
|
58
|
+
"@deepseek-ai/dsh-system-prompt": "*"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"@deepseek-ai/dsh-home-paths": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
65
|
+
"optional": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
70
|
+
"@deepseek-ai/dsh-home-paths": "0.2.1-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.1-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2",
|
|
73
|
+
"@deepseek-ai/schemastery": "3.18.5",
|
|
74
|
+
"@types/node": "^26.6.4",
|
|
75
|
+
"dsh-plugin-toolkit": "0.0.0",
|
|
76
|
+
"react": "18.3.1",
|
|
77
|
+
"tsdown": "0.23.1",
|
|
78
|
+
"typescript": "7.0.2"
|
|
79
|
+
},
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "git+https://github.com/sqzw-x/dsh-plugins.git",
|
|
83
|
+
"directory": "packages/dsh-system-prompt-insertion"
|
|
84
|
+
},
|
|
85
|
+
"homepage": "https://github.com/sqzw-x/dsh-plugins/tree/main/packages/dsh-system-prompt-insertion#readme",
|
|
86
|
+
"bugs": {
|
|
87
|
+
"url": "https://github.com/sqzw-x/dsh-plugins/issues"
|
|
88
|
+
},
|
|
6
89
|
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
90
|
+
"access": "public",
|
|
91
|
+
"provenance": true
|
|
92
|
+
},
|
|
93
|
+
"scripts": {
|
|
94
|
+
"build": "tsdown",
|
|
95
|
+
"typecheck": "tsc --noEmit",
|
|
96
|
+
"check": "npm run typecheck",
|
|
97
|
+
"test": "npm run build && node --test test/*.test.ts",
|
|
98
|
+
"verify": "npm run typecheck && npm run test"
|
|
8
99
|
}
|
|
9
|
-
}
|
|
100
|
+
}
|