@lornatang/dsh-caveman 0.1.0 → 0.1.2
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 +29 -16
- package/README.md +218 -218
- package/README.zh.md +218 -218
- package/lib/blocks.js +1 -1
- package/lib/cavecrew.js +23 -5
- package/lib/compression.js +17 -1
- package/lib/native.js +20 -3
- package/lib/runtime.js +2 -0
- package/lib/stats.js +1 -1
- package/lib/types/compression.d.ts +1 -0
- package/package.json +129 -129
- package/scripts/learn-checksums.json +29 -29
package/package.json
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lornatang/dsh-caveman",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Caveman integration for DeepSeek Harness.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"author": "Lornatang",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"deepseek-harness",
|
|
10
|
-
"dsh",
|
|
11
|
-
"dsh-plugin",
|
|
12
|
-
"caveman",
|
|
13
|
-
"skills"
|
|
14
|
-
],
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">=22.19",
|
|
17
|
-
"dsh": "*"
|
|
18
|
-
},
|
|
19
|
-
"main": "lib/index.js",
|
|
20
|
-
"types": "lib/types/index.d.ts",
|
|
21
|
-
"bin": {
|
|
22
|
-
"dsh-caveman": "./scripts/caveman-cli.mjs"
|
|
23
|
-
},
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"types": "./lib/types/index.d.ts",
|
|
27
|
-
"default": "./lib/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./cavecrew": {
|
|
30
|
-
"types": "./lib/types/cavecrew.d.ts",
|
|
31
|
-
"default": "./lib/cavecrew.js"
|
|
32
|
-
},
|
|
33
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
34
|
-
"./package.json": "./package.json"
|
|
35
|
-
},
|
|
36
|
-
"files": [
|
|
37
|
-
"lib",
|
|
38
|
-
"scripts/caveman-cli.mjs",
|
|
39
|
-
"scripts/learn-binary.mjs",
|
|
40
|
-
"scripts/learn-checksums.json",
|
|
41
|
-
"scripts/benchmark.mjs",
|
|
42
|
-
"examples",
|
|
43
|
-
"presets",
|
|
44
|
-
"vendor/caveman/skills",
|
|
45
|
-
"vendor/caveman/agents/cavecrew-*.md",
|
|
46
|
-
"vendor/caveman/src/hooks/caveman-config.js",
|
|
47
|
-
"vendor/caveman/src/hooks/caveman-parse.js",
|
|
48
|
-
"vendor/caveman/src/hooks/package.json",
|
|
49
|
-
"vendor/caveman/LICENSE",
|
|
50
|
-
"vendor/caveman/LICENSE-MIT",
|
|
51
|
-
"vendor/caveman/NOTICE",
|
|
52
|
-
"cordis.patch.yml",
|
|
53
|
-
"README.md",
|
|
54
|
-
"README.zh.md",
|
|
55
|
-
"CHANGELOG.md",
|
|
56
|
-
"LICENSE",
|
|
57
|
-
"LICENSE-MIT",
|
|
58
|
-
"NOTICE"
|
|
59
|
-
],
|
|
60
|
-
"scripts": {
|
|
61
|
-
"clean": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\"",
|
|
62
|
-
"build": "npm run clean && tsc -p tsconfig.json",
|
|
63
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
64
|
-
"test": "npm run build && node --test tests/*.test.mjs",
|
|
65
|
-
"test:dsh": "node scripts/verify-dsh.mjs",
|
|
66
|
-
"benchmark": "node scripts/benchmark.mjs",
|
|
67
|
-
"prepack": "npm test"
|
|
68
|
-
},
|
|
69
|
-
"dsh": {
|
|
70
|
-
"bundle": {
|
|
71
|
-
"patch": [
|
|
72
|
-
"./cordis.patch.yml",
|
|
73
|
-
"./presets/cavecrew.patch.yml"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@caveman-ai/cli": "4.1.0",
|
|
79
|
-
"@caveman-ai/sdk": "1.2.0",
|
|
80
|
-
"@deepseek-ai/schemastery": "~3.19.0",
|
|
81
|
-
"undici": "^
|
|
82
|
-
"yaml": "^2.8.1"
|
|
83
|
-
},
|
|
84
|
-
"peerDependencies": {
|
|
85
|
-
"@deepseek-ai/cordis": "~4.1.0",
|
|
86
|
-
"@deepseek-ai/dsh-llm": "*"
|
|
87
|
-
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@deepseek-ai/cordis": "~4.1.0",
|
|
90
|
-
"@deepseek-ai/cordis-plugin-group": "1.1.0",
|
|
91
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.3",
|
|
92
|
-
"@deepseek-ai/dsh-agent-loop": "^0.2.2-rc.3",
|
|
93
|
-
"@deepseek-ai/dsh-agent-preset": "0.2.2-rc.3",
|
|
94
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.3",
|
|
95
|
-
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.3",
|
|
96
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.3",
|
|
97
|
-
"@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.3",
|
|
98
|
-
"@deepseek-ai/dsh-mcp-manager": "0.2.2-rc.3",
|
|
99
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.2-rc.3",
|
|
100
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.3",
|
|
101
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.3",
|
|
102
|
-
"@deepseek-ai/dsh-skill": "0.2.2-rc.3",
|
|
103
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
|
|
104
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.3",
|
|
105
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.3",
|
|
106
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.3",
|
|
107
|
-
"@deepseek-ai/dsh-tool-executor-native": "^0.2.2-rc.3",
|
|
108
|
-
"@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.3",
|
|
109
|
-
"@deepseek-ai/dsh-tool-fs": "0.2.2-rc.3",
|
|
110
|
-
"@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.3",
|
|
111
|
-
"@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.3",
|
|
112
|
-
"@deepseek-ai/dsh-tools": "^0.2.2-rc.3",
|
|
113
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
|
|
114
|
-
"@types/node": "^
|
|
115
|
-
"typescript": "^
|
|
116
|
-
},
|
|
117
|
-
"repository": {
|
|
118
|
-
"type": "git",
|
|
119
|
-
"url": "git+https://github.com/Lornatang/dsh-caveman.git"
|
|
120
|
-
},
|
|
121
|
-
"homepage": "https://github.com/Lornatang/dsh-caveman#readme",
|
|
122
|
-
"bugs": {
|
|
123
|
-
"url": "https://github.com/Lornatang/dsh-caveman/issues"
|
|
124
|
-
},
|
|
125
|
-
"publishConfig": {
|
|
126
|
-
"access": "public",
|
|
127
|
-
"registry": "https://registry.npmjs.org/"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@lornatang/dsh-caveman",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Caveman integration for DeepSeek Harness.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": "Lornatang",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"deepseek-harness",
|
|
10
|
+
"dsh",
|
|
11
|
+
"dsh-plugin",
|
|
12
|
+
"caveman",
|
|
13
|
+
"skills"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=22.19",
|
|
17
|
+
"dsh": "*"
|
|
18
|
+
},
|
|
19
|
+
"main": "lib/index.js",
|
|
20
|
+
"types": "lib/types/index.d.ts",
|
|
21
|
+
"bin": {
|
|
22
|
+
"dsh-caveman": "./scripts/caveman-cli.mjs"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./lib/types/index.d.ts",
|
|
27
|
+
"default": "./lib/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./cavecrew": {
|
|
30
|
+
"types": "./lib/types/cavecrew.d.ts",
|
|
31
|
+
"default": "./lib/cavecrew.js"
|
|
32
|
+
},
|
|
33
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"lib",
|
|
38
|
+
"scripts/caveman-cli.mjs",
|
|
39
|
+
"scripts/learn-binary.mjs",
|
|
40
|
+
"scripts/learn-checksums.json",
|
|
41
|
+
"scripts/benchmark.mjs",
|
|
42
|
+
"examples",
|
|
43
|
+
"presets",
|
|
44
|
+
"vendor/caveman/skills",
|
|
45
|
+
"vendor/caveman/agents/cavecrew-*.md",
|
|
46
|
+
"vendor/caveman/src/hooks/caveman-config.js",
|
|
47
|
+
"vendor/caveman/src/hooks/caveman-parse.js",
|
|
48
|
+
"vendor/caveman/src/hooks/package.json",
|
|
49
|
+
"vendor/caveman/LICENSE",
|
|
50
|
+
"vendor/caveman/LICENSE-MIT",
|
|
51
|
+
"vendor/caveman/NOTICE",
|
|
52
|
+
"cordis.patch.yml",
|
|
53
|
+
"README.md",
|
|
54
|
+
"README.zh.md",
|
|
55
|
+
"CHANGELOG.md",
|
|
56
|
+
"LICENSE",
|
|
57
|
+
"LICENSE-MIT",
|
|
58
|
+
"NOTICE"
|
|
59
|
+
],
|
|
60
|
+
"scripts": {
|
|
61
|
+
"clean": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\"",
|
|
62
|
+
"build": "npm run clean && tsc -p tsconfig.json",
|
|
63
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
64
|
+
"test": "npm run build && node --test tests/*.test.mjs",
|
|
65
|
+
"test:dsh": "node scripts/verify-dsh.mjs",
|
|
66
|
+
"benchmark": "node scripts/benchmark.mjs",
|
|
67
|
+
"prepack": "npm test"
|
|
68
|
+
},
|
|
69
|
+
"dsh": {
|
|
70
|
+
"bundle": {
|
|
71
|
+
"patch": [
|
|
72
|
+
"./cordis.patch.yml",
|
|
73
|
+
"./presets/cavecrew.patch.yml"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@caveman-ai/cli": "4.1.0",
|
|
79
|
+
"@caveman-ai/sdk": "1.2.0",
|
|
80
|
+
"@deepseek-ai/schemastery": "~3.19.0",
|
|
81
|
+
"undici": "^8.12.4",
|
|
82
|
+
"yaml": "^2.8.1"
|
|
83
|
+
},
|
|
84
|
+
"peerDependencies": {
|
|
85
|
+
"@deepseek-ai/cordis": "~4.1.0",
|
|
86
|
+
"@deepseek-ai/dsh-llm": "*"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@deepseek-ai/cordis": "~4.1.0",
|
|
90
|
+
"@deepseek-ai/cordis-plugin-group": "1.1.0",
|
|
91
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.3",
|
|
92
|
+
"@deepseek-ai/dsh-agent-loop": "^0.2.2-rc.3",
|
|
93
|
+
"@deepseek-ai/dsh-agent-preset": "0.2.2-rc.3",
|
|
94
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.3",
|
|
95
|
+
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.3",
|
|
96
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.3",
|
|
97
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.3",
|
|
98
|
+
"@deepseek-ai/dsh-mcp-manager": "0.2.2-rc.3",
|
|
99
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.2-rc.3",
|
|
100
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.3",
|
|
101
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.3",
|
|
102
|
+
"@deepseek-ai/dsh-skill": "0.2.2-rc.3",
|
|
103
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
|
|
104
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.3",
|
|
105
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.3",
|
|
106
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.3",
|
|
107
|
+
"@deepseek-ai/dsh-tool-executor-native": "^0.2.2-rc.3",
|
|
108
|
+
"@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.3",
|
|
109
|
+
"@deepseek-ai/dsh-tool-fs": "0.2.2-rc.3",
|
|
110
|
+
"@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.3",
|
|
111
|
+
"@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.3",
|
|
112
|
+
"@deepseek-ai/dsh-tools": "^0.2.2-rc.3",
|
|
113
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
|
|
114
|
+
"@types/node": "^26.6.6",
|
|
115
|
+
"typescript": "^7.0.2"
|
|
116
|
+
},
|
|
117
|
+
"repository": {
|
|
118
|
+
"type": "git",
|
|
119
|
+
"url": "git+https://github.com/Lornatang/dsh-caveman.git"
|
|
120
|
+
},
|
|
121
|
+
"homepage": "https://github.com/Lornatang/dsh-caveman#readme",
|
|
122
|
+
"bugs": {
|
|
123
|
+
"url": "https://github.com/Lornatang/dsh-caveman/issues"
|
|
124
|
+
},
|
|
125
|
+
"publishConfig": {
|
|
126
|
+
"access": "public",
|
|
127
|
+
"registry": "https://registry.npmjs.org/"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"binaries": {
|
|
4
|
-
"linux-x64": {
|
|
5
|
-
"name": "dsh-caveman-learn_linux_amd64",
|
|
6
|
-
"sha256": "0bbc8d74cb5c1f7494fc6fed5582a1e0f0259200df490b4b866ce43ba555d889"
|
|
7
|
-
},
|
|
8
|
-
"linux-arm64": {
|
|
9
|
-
"name": "dsh-caveman-learn_linux_arm64",
|
|
10
|
-
"sha256": "b3ddb175c675023c6c091f26a1f992c545e03df0ccf46632a577e48db8ec1fa9"
|
|
11
|
-
},
|
|
12
|
-
"darwin-x64": {
|
|
13
|
-
"name": "dsh-caveman-learn_darwin_amd64",
|
|
14
|
-
"sha256": "8145380c71fe57e8829a856c808c887b271e6d004078ca989c23d997c61ffbab"
|
|
15
|
-
},
|
|
16
|
-
"darwin-arm64": {
|
|
17
|
-
"name": "dsh-caveman-learn_darwin_arm64",
|
|
18
|
-
"sha256": "03be0ecc7f9d4d0669edf1c79a5d3f20921e8d89d210fdadc99f0e2c16b1e7b4"
|
|
19
|
-
},
|
|
20
|
-
"win32-x64": {
|
|
21
|
-
"name": "dsh-caveman-learn_win32_amd64",
|
|
22
|
-
"sha256": "ce0b6834457c8f188c883b6c46892930b0fad63d85cf9f7033ddd53cc1fd5b4a"
|
|
23
|
-
},
|
|
24
|
-
"win32-arm64": {
|
|
25
|
-
"name": "dsh-caveman-learn_win32_arm64",
|
|
26
|
-
"sha256": "bceddc401c9711c6c67194dbf27e7a227100eb315397018affce9cd8ea0a2f5b"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.2",
|
|
3
|
+
"binaries": {
|
|
4
|
+
"linux-x64": {
|
|
5
|
+
"name": "dsh-caveman-learn_linux_amd64",
|
|
6
|
+
"sha256": "0bbc8d74cb5c1f7494fc6fed5582a1e0f0259200df490b4b866ce43ba555d889"
|
|
7
|
+
},
|
|
8
|
+
"linux-arm64": {
|
|
9
|
+
"name": "dsh-caveman-learn_linux_arm64",
|
|
10
|
+
"sha256": "b3ddb175c675023c6c091f26a1f992c545e03df0ccf46632a577e48db8ec1fa9"
|
|
11
|
+
},
|
|
12
|
+
"darwin-x64": {
|
|
13
|
+
"name": "dsh-caveman-learn_darwin_amd64",
|
|
14
|
+
"sha256": "8145380c71fe57e8829a856c808c887b271e6d004078ca989c23d997c61ffbab"
|
|
15
|
+
},
|
|
16
|
+
"darwin-arm64": {
|
|
17
|
+
"name": "dsh-caveman-learn_darwin_arm64",
|
|
18
|
+
"sha256": "03be0ecc7f9d4d0669edf1c79a5d3f20921e8d89d210fdadc99f0e2c16b1e7b4"
|
|
19
|
+
},
|
|
20
|
+
"win32-x64": {
|
|
21
|
+
"name": "dsh-caveman-learn_win32_amd64",
|
|
22
|
+
"sha256": "ce0b6834457c8f188c883b6c46892930b0fad63d85cf9f7033ddd53cc1fd5b4a"
|
|
23
|
+
},
|
|
24
|
+
"win32-arm64": {
|
|
25
|
+
"name": "dsh-caveman-learn_win32_arm64",
|
|
26
|
+
"sha256": "bceddc401c9711c6c67194dbf27e7a227100eb315397018affce9cd8ea0a2f5b"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|