@yadsh/dsh-user-correction-miner 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.
- package/LICENSE +21 -0
- package/README.md +68 -0
- package/compatibility.json +16 -0
- package/cordis.patch.yml +4 -0
- package/lib/config.d.ts +109 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +80 -0
- package/lib/config.js.map +1 -0
- package/lib/dsh/commands.d.ts +25 -0
- package/lib/dsh/commands.d.ts.map +1 -0
- package/lib/dsh/commands.js +69 -0
- package/lib/dsh/commands.js.map +1 -0
- package/lib/dsh/lifecycle.d.ts +5 -0
- package/lib/dsh/lifecycle.d.ts.map +1 -0
- package/lib/dsh/lifecycle.js +10 -0
- package/lib/dsh/lifecycle.js.map +1 -0
- package/lib/dsh/plugin.d.ts +11 -0
- package/lib/dsh/plugin.d.ts.map +1 -0
- package/lib/dsh/plugin.js +58 -0
- package/lib/dsh/plugin.js.map +1 -0
- package/lib/dsh/sessions.d.ts +14 -0
- package/lib/dsh/sessions.d.ts.map +1 -0
- package/lib/dsh/sessions.js +27 -0
- package/lib/dsh/sessions.js.map +1 -0
- package/lib/dsh/storage.d.ts +108 -0
- package/lib/dsh/storage.d.ts.map +1 -0
- package/lib/dsh/storage.js +159 -0
- package/lib/dsh/storage.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -0
- package/lib/mining/context-extractor.d.ts +9 -0
- package/lib/mining/context-extractor.d.ts.map +1 -0
- package/lib/mining/context-extractor.js +75 -0
- package/lib/mining/context-extractor.js.map +1 -0
- package/lib/mining/engine.d.ts +39 -0
- package/lib/mining/engine.d.ts.map +1 -0
- package/lib/mining/engine.js +241 -0
- package/lib/mining/engine.js.map +1 -0
- package/lib/mining/message-text.d.ts +4 -0
- package/lib/mining/message-text.d.ts.map +1 -0
- package/lib/mining/message-text.js +14 -0
- package/lib/mining/message-text.js.map +1 -0
- package/lib/mining/prefilter.d.ts +7 -0
- package/lib/mining/prefilter.d.ts.map +1 -0
- package/lib/mining/prefilter.js +39 -0
- package/lib/mining/prefilter.js.map +1 -0
- package/lib/mining/sanitize.d.ts +3 -0
- package/lib/mining/sanitize.d.ts.map +1 -0
- package/lib/mining/sanitize.js +13 -0
- package/lib/mining/sanitize.js.map +1 -0
- package/lib/mining/scanner.d.ts +14 -0
- package/lib/mining/scanner.d.ts.map +1 -0
- package/lib/mining/scanner.js +25 -0
- package/lib/mining/scanner.js.map +1 -0
- package/lib/mining/text-budget.d.ts +7 -0
- package/lib/mining/text-budget.d.ts.map +1 -0
- package/lib/mining/text-budget.js +34 -0
- package/lib/mining/text-budget.js.map +1 -0
- package/lib/types.d.ts +81 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/hashing.d.ts +3 -0
- package/lib/utils/hashing.d.ts.map +1 -0
- package/lib/utils/hashing.js +8 -0
- package/lib/utils/hashing.js.map +1 -0
- package/lib/utils/workspace.d.ts +4 -0
- package/lib/utils/workspace.d.ts.map +1 -0
- package/lib/utils/workspace.js +14 -0
- package/lib/utils/workspace.js.map +1 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@yadsh/dsh-user-correction-miner",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Mine durable project-rule candidates from user corrections in DeepSeek Harness sessions",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/xarleyn/dsh-plugins.git",
|
|
8
|
+
"directory": "plugins/dsh-user-correction-miner"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/xarleyn/dsh-plugins/tree/main/plugins/dsh-user-correction-miner#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/xarleyn/dsh-plugins/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./lib/index.js",
|
|
17
|
+
"types": "./lib/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./lib/index.d.ts",
|
|
21
|
+
"default": "./lib/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"lib",
|
|
27
|
+
"cordis.patch.yml",
|
|
28
|
+
"compatibility.json",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"dsh": {
|
|
33
|
+
"bundle": {
|
|
34
|
+
"patch": "./cordis.patch.yml"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -p tsconfig.build.json",
|
|
39
|
+
"lint": "eslint src tests scripts",
|
|
40
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"verify:package": "node scripts/verify-package.mjs",
|
|
43
|
+
"verify": "pnpm run verify:package",
|
|
44
|
+
"check": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run verify"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public",
|
|
48
|
+
"registry": "https://registry.npmjs.org/"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=22"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@deepseek-ai/cordis": "catalog:dsh",
|
|
55
|
+
"@deepseek-ai/schemastery": "catalog:dsh",
|
|
56
|
+
"@deepseek-ai/dsh-llm": "catalog:dsh",
|
|
57
|
+
"@deepseek-ai/dsh-session": "catalog:dsh",
|
|
58
|
+
"@deepseek-ai/dsh-session-query": "catalog:dsh",
|
|
59
|
+
"@deepseek-ai/dsh-storage-domain": "catalog:dsh"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@yadsh/dsh-plugin-log": "workspace:^",
|
|
63
|
+
"zod": "^4.4.3"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@deepseek-ai/cordis": "catalog:dsh-dev",
|
|
67
|
+
"@deepseek-ai/schemastery": "catalog:dsh-dev",
|
|
68
|
+
"@deepseek-ai/dsh-llm": "catalog:dsh-dev",
|
|
69
|
+
"@deepseek-ai/dsh-session": "catalog:dsh-dev",
|
|
70
|
+
"@deepseek-ai/dsh-session-query": "catalog:dsh-dev",
|
|
71
|
+
"@deepseek-ai/dsh-storage-domain": "catalog:dsh-dev",
|
|
72
|
+
"@types/node": "catalog:tooling",
|
|
73
|
+
"@yadsh/dsh-config": "workspace:^",
|
|
74
|
+
"eslint": "catalog:tooling",
|
|
75
|
+
"typescript": "catalog:tooling",
|
|
76
|
+
"vitest": "catalog:tooling"
|
|
77
|
+
}
|
|
78
|
+
}
|