dsh-diagnostic-tutor 0.1.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 +658 -0
  3. package/cordis.patch.yml +23 -0
  4. package/lib/api.js +413 -0
  5. package/lib/api.js.map +1 -0
  6. package/lib/client.js +2029 -0
  7. package/lib/client.js.map +1 -0
  8. package/lib/contract.js +14 -0
  9. package/lib/contract.js.map +1 -0
  10. package/lib/diagnosis.js +224 -0
  11. package/lib/diagnosis.js.map +1 -0
  12. package/lib/handoff.js +194 -0
  13. package/lib/handoff.js.map +1 -0
  14. package/lib/index.js +186 -0
  15. package/lib/index.js.map +1 -0
  16. package/lib/lesson.js +285 -0
  17. package/lib/lesson.js.map +1 -0
  18. package/lib/prompt.js +96 -0
  19. package/lib/prompt.js.map +1 -0
  20. package/lib/state.js +500 -0
  21. package/lib/state.js.map +1 -0
  22. package/lib/tools.js +994 -0
  23. package/lib/tools.js.map +1 -0
  24. package/lib/trust-fence.js +101 -0
  25. package/lib/trust-fence.js.map +1 -0
  26. package/lib/types/api.d.ts +62 -0
  27. package/lib/types/api.d.ts.map +1 -0
  28. package/lib/types/contract.d.ts +147 -0
  29. package/lib/types/contract.d.ts.map +1 -0
  30. package/lib/types/diagnosis.d.ts +116 -0
  31. package/lib/types/diagnosis.d.ts.map +1 -0
  32. package/lib/types/handoff.d.ts +141 -0
  33. package/lib/types/handoff.d.ts.map +1 -0
  34. package/lib/types/index.d.ts +71 -0
  35. package/lib/types/index.d.ts.map +1 -0
  36. package/lib/types/lesson.d.ts +295 -0
  37. package/lib/types/lesson.d.ts.map +1 -0
  38. package/lib/types/prompt.d.ts +85 -0
  39. package/lib/types/prompt.d.ts.map +1 -0
  40. package/lib/types/state.d.ts +627 -0
  41. package/lib/types/state.d.ts.map +1 -0
  42. package/lib/types/tools.d.ts +38 -0
  43. package/lib/types/tools.d.ts.map +1 -0
  44. package/lib/types/trust-fence.d.ts +53 -0
  45. package/lib/types/trust-fence.d.ts.map +1 -0
  46. package/lib/types/udt.d.ts +95 -0
  47. package/lib/types/udt.d.ts.map +1 -0
  48. package/lib/types/vocabulary.d.ts +162 -0
  49. package/lib/types/vocabulary.d.ts.map +1 -0
  50. package/lib/udt.js +141 -0
  51. package/lib/udt.js.map +1 -0
  52. package/lib/vocabulary.js +182 -0
  53. package/lib/vocabulary.js.map +1 -0
  54. package/package.json +104 -0
package/package.json ADDED
@@ -0,0 +1,104 @@
1
+ {
2
+ "name": "dsh-diagnostic-tutor",
3
+ "version": "0.1.0",
4
+ "description": "Diagnosis-first learning runtime for DeepSeek Harness — a live learning map, structured lessons, and persistent learner state, driven by the Universal Diagnostic Tutor skill.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/SenmuuuuW/dsh-diagnostic-tutor.git"
8
+ },
9
+ "homepage": "https://github.com/SenmuuuuW/dsh-diagnostic-tutor#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/SenmuuuuW/dsh-diagnostic-tutor/issues"
12
+ },
13
+ "type": "module",
14
+ "license": "MIT",
15
+ "engines": {
16
+ "node": "^22.19.0 || >=24.0.0"
17
+ },
18
+ "main": "lib/index.js",
19
+ "types": "lib/types/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./lib/types/index.d.ts",
23
+ "default": "./lib/index.js"
24
+ },
25
+ "./package.json": "./package.json",
26
+ "./client": {
27
+ "default": "./lib/client.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "lib",
32
+ "cordis.patch.yml",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "dsh": {
37
+ "bundle": {
38
+ "patch": "./cordis.patch.yml"
39
+ },
40
+ "client": {
41
+ "platform": "web",
42
+ "inject": []
43
+ }
44
+ },
45
+ "keywords": [
46
+ "dsh-plugin",
47
+ "deepseek-harness",
48
+ "dsh",
49
+ "ai-tutor",
50
+ "ai-education",
51
+ "learning",
52
+ "typescript",
53
+ "diagnostic"
54
+ ],
55
+ "peerDependencies": {
56
+ "@deepseek-ai/cordis": "^4.0.1",
57
+ "@deepseek-ai/dsh-storage-domain": ">=0.1.1-rc.2 <0.2.0",
58
+ "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2 <0.2.0",
59
+ "@deepseek-ai/schemastery": "^3.18.1"
60
+ },
61
+ "devDependencies": {
62
+ "@deepseek-ai/cordis": "4.0.2",
63
+ "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
64
+ "@deepseek-ai/dsh-client-ui-layout": "0.1.7-alpha.2",
65
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-alpha.2",
66
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.1.7-alpha.2",
67
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.7-alpha.2",
68
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.7-alpha.2",
69
+ "@deepseek-ai/dsh-host-webserver": "0.1.7-alpha.2",
70
+ "@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
71
+ "@deepseek-ai/dsh-skill": "0.1.7-alpha.2",
72
+ "@deepseek-ai/dsh-skill-filesystem": "0.1.7-alpha.2",
73
+ "@deepseek-ai/dsh-storage": "0.1.7-alpha.2",
74
+ "@deepseek-ai/dsh-storage-domain": "0.1.7-alpha.2",
75
+ "@deepseek-ai/dsh-storage-json": "0.1.7-alpha.2",
76
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
77
+ "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
78
+ "@deepseek-ai/schemastery": "3.18.2",
79
+ "@types/node": "^24.0.0",
80
+ "@types/react": "~18.3.31",
81
+ "@types/react-dom": "~18.3.7",
82
+ "jsdom": "^25.0.1",
83
+ "react": "^18.3.1",
84
+ "react-dom": "18.2.0",
85
+ "tsdown": "^0.22.14",
86
+ "typescript": "^5.6.3",
87
+ "vitest": "^3.0.5"
88
+ },
89
+ "scripts": {
90
+ "build": "rm -rf lib && tsc -p tsconfig.build.json && tsdown",
91
+ "typecheck": "tsc --noEmit",
92
+ "test": "vitest run",
93
+ "build:host": "tsc -p tsconfig.build.json",
94
+ "build:client": "tsdown",
95
+ "preview": "node preview/serve.mjs",
96
+ "pretest": "tsdown",
97
+ "screenshot": "node scripts/screenshot.mjs",
98
+ "loop": "node scripts/learning-loop.mjs",
99
+ "handoff": "node scripts/handoff-e2e.mjs"
100
+ },
101
+ "dependencies": {
102
+ "zod": "^4.6.5"
103
+ }
104
+ }