dsh-code-index 0.4.0 → 0.5.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/README.md +6 -1
- package/README.zh.md +6 -1
- package/dist/client.js +279 -0
- package/dist/client.js.map +1 -0
- package/dist/index.js +428 -7
- package/dist/index.js.map +1 -1
- package/package.json +21 -4
package/package.json
CHANGED
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-code-index",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Semantic repo index for DeepSeek Harness — tree-sitter symbol index, code search, and a bounded ranked repo map injected into agent context.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"default": "./dist/client.js"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
8
18
|
"files": [
|
|
9
19
|
"dist",
|
|
10
20
|
"scripts",
|
|
11
21
|
"cordis.patch.yml"
|
|
12
22
|
],
|
|
13
23
|
"scripts": {
|
|
14
|
-
"build": "tsup",
|
|
24
|
+
"build": "tsup && tsup --config tsup.client.config.ts",
|
|
15
25
|
"dev": "tsup --watch",
|
|
26
|
+
"dev:client": "tsup --config tsup.client.config.ts --watch",
|
|
16
27
|
"test": "vitest run",
|
|
17
28
|
"typecheck": "tsc --noEmit",
|
|
18
29
|
"fix:wsl-links": "node scripts/fix-wsl-links.mjs",
|
|
19
|
-
"prepare": "tsup",
|
|
20
|
-
"prepublishOnly": "tsup"
|
|
30
|
+
"prepare": "tsup && tsup --config tsup.client.config.ts",
|
|
31
|
+
"prepublishOnly": "tsup && tsup --config tsup.client.config.ts"
|
|
21
32
|
},
|
|
22
33
|
"keywords": [
|
|
23
34
|
"dsh-plugin",
|
|
@@ -30,6 +41,9 @@
|
|
|
30
41
|
"dsh": {
|
|
31
42
|
"bundle": {
|
|
32
43
|
"patch": "./cordis.patch.yml"
|
|
44
|
+
},
|
|
45
|
+
"client": {
|
|
46
|
+
"platform": "web"
|
|
33
47
|
}
|
|
34
48
|
},
|
|
35
49
|
"peerDependencies": {
|
|
@@ -44,6 +58,8 @@
|
|
|
44
58
|
"devDependencies": {
|
|
45
59
|
"@deepseek-ai/dsh-tools": "0.1.0-rc.8",
|
|
46
60
|
"@types/node": "^26.2.0",
|
|
61
|
+
"@types/react": "^18.3.31",
|
|
62
|
+
"react": "^18.3.1",
|
|
47
63
|
"tsup": "^8.5.0",
|
|
48
64
|
"typescript": "^6.0.3",
|
|
49
65
|
"vitest": "^4.1.8"
|
|
@@ -61,6 +77,7 @@
|
|
|
61
77
|
"url": "https://github.com/lemonxiny55/dsh-code-index/issues"
|
|
62
78
|
},
|
|
63
79
|
"dependencies": {
|
|
80
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
64
81
|
"tree-sitter-wasms": "^0.1.13",
|
|
65
82
|
"web-tree-sitter": "^0.25.10"
|
|
66
83
|
}
|