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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "System prompt insertion",
4
+ "description": "In a sidebar panel, place your own text at the head, middle, or tail of the system prompt, with a live preview of the whole prompt."
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,9 +1,100 @@
1
1
  {
2
2
  "name": "dsh-system-prompt-insertion",
3
- "version": "0.0.1",
4
- "description": "Placeholder release for the DeepSeek Harness system-prompt insertion plugin.",
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
+ }