@lolkda/dsh-prompt-manager 3.0.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.
Files changed (54) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +606 -0
  3. package/client/client.js +2320 -0
  4. package/cordis.patch.yml +20 -0
  5. package/environment.md +24 -0
  6. package/lib/entries.js +303 -0
  7. package/lib/entries.js.map +1 -0
  8. package/lib/guard.js +134 -0
  9. package/lib/guard.js.map +1 -0
  10. package/lib/index.js +959 -0
  11. package/lib/index.js.map +1 -0
  12. package/lib/net.js +179 -0
  13. package/lib/net.js.map +1 -0
  14. package/lib/pack.js +327 -0
  15. package/lib/pack.js.map +1 -0
  16. package/lib/probe.js +251 -0
  17. package/lib/probe.js.map +1 -0
  18. package/lib/routes.js +718 -0
  19. package/lib/routes.js.map +1 -0
  20. package/lib/scripts.js +803 -0
  21. package/lib/scripts.js.map +1 -0
  22. package/lib/source.js +308 -0
  23. package/lib/source.js.map +1 -0
  24. package/lib/store.js +223 -0
  25. package/lib/store.js.map +1 -0
  26. package/lib/subscriptions.js +269 -0
  27. package/lib/subscriptions.js.map +1 -0
  28. package/lib/sync.js +646 -0
  29. package/lib/sync.js.map +1 -0
  30. package/lib/types/entries.d.ts +194 -0
  31. package/lib/types/entries.d.ts.map +1 -0
  32. package/lib/types/guard.d.ts +63 -0
  33. package/lib/types/guard.d.ts.map +1 -0
  34. package/lib/types/index.d.ts +176 -0
  35. package/lib/types/index.d.ts.map +1 -0
  36. package/lib/types/net.d.ts +81 -0
  37. package/lib/types/net.d.ts.map +1 -0
  38. package/lib/types/pack.d.ts +298 -0
  39. package/lib/types/pack.d.ts.map +1 -0
  40. package/lib/types/probe.d.ts +150 -0
  41. package/lib/types/probe.d.ts.map +1 -0
  42. package/lib/types/routes.d.ts +85 -0
  43. package/lib/types/routes.d.ts.map +1 -0
  44. package/lib/types/scripts.d.ts +455 -0
  45. package/lib/types/scripts.d.ts.map +1 -0
  46. package/lib/types/source.d.ts +194 -0
  47. package/lib/types/source.d.ts.map +1 -0
  48. package/lib/types/store.d.ts +140 -0
  49. package/lib/types/store.d.ts.map +1 -0
  50. package/lib/types/subscriptions.d.ts +204 -0
  51. package/lib/types/subscriptions.d.ts.map +1 -0
  52. package/lib/types/sync.d.ts +248 -0
  53. package/lib/types/sync.d.ts.map +1 -0
  54. package/package.json +100 -0
package/package.json ADDED
@@ -0,0 +1,100 @@
1
+ {
2
+ "name": "@lolkda/dsh-prompt-manager",
3
+ "version": "3.0.0",
4
+ "description": "Manage DeepSeek Harness system-prompt sections from the Web GUI: enable, edit, and subscribe markdown prompt entries, switch named presets from the composer, feed them machine facts as {{variables}}, and carry a preset to another machine as a JSON pack.",
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
+ "./client": "./client/client.js",
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": [
17
+ "lib",
18
+ "client",
19
+ "cordis.patch.yml",
20
+ "environment.md",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsc -p tsconfig.json && node --check client/client.js",
26
+ "typecheck": "tsc -p tsconfig.json --noEmit",
27
+ "check:build": "npm run build && node tools/check-build.mjs",
28
+ "prepublishOnly": "npm run build",
29
+ "pretest": "npm run build",
30
+ "test": "node test/smoke.mjs && node test/probe.mjs && node test/guard.mjs && node test/store.mjs && node test/pack.mjs && node test/routes.mjs && node test/source.mjs && node test/net.mjs && node test/sync.mjs && node test/subscriptions.mjs && node test/scripts.mjs && node test/client.mjs"
31
+ },
32
+ "engines": {
33
+ "node": ">=22"
34
+ },
35
+ "keywords": [
36
+ "deepseek-harness",
37
+ "dsh",
38
+ "cordis",
39
+ "cordis-plugin",
40
+ "system-prompt",
41
+ "prompt",
42
+ "settings",
43
+ "sessions"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/lolkda/dsh-prompt-manager.git"
48
+ },
49
+ "license": "MIT",
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "dsh": {
54
+ "bundle": {
55
+ "patch": "./cordis.patch.yml"
56
+ },
57
+ "client": {
58
+ "platform": "web",
59
+ "inject": [
60
+ "@deepseek-ai/dsh-client-ui-settings",
61
+ "@deepseek-ai/dsh-client-ui-conversation"
62
+ ]
63
+ },
64
+ "compatibility": {
65
+ "dsh": ">=0.1.5-rc.1 <0.2.0",
66
+ "dshReleases": {
67
+ "0.1.5-alpha.2": "unknown",
68
+ "0.1.5-rc.1": "compatible",
69
+ "0.1.5-rc.2": "unknown"
70
+ },
71
+ "profiles": [
72
+ "web"
73
+ ]
74
+ }
75
+ },
76
+ "peerDependencies": {
77
+ "@deepseek-ai/cordis": ">=4.0.0",
78
+ "@deepseek-ai/dsh-system-prompt": ">=0.0.1-rc.1",
79
+ "@deepseek-ai/schemastery": ">=3.18.0"
80
+ },
81
+ "peerDependenciesMeta": {
82
+ "@deepseek-ai/cordis": {
83
+ "optional": true
84
+ },
85
+ "@deepseek-ai/dsh-system-prompt": {
86
+ "optional": true
87
+ },
88
+ "@deepseek-ai/schemastery": {
89
+ "optional": true
90
+ }
91
+ },
92
+ "devDependencies": {
93
+ "@deepseek-ai/cordis": "^4.0.2",
94
+ "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.1",
95
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
96
+ "@deepseek-ai/schemastery": "^3.18.2",
97
+ "@types/node": "^26.5.0",
98
+ "typescript": "^5.9.3"
99
+ }
100
+ }