{ "name": "dsh-search-index", "version": "0.2.0-beta.1", "description": "DSH web 侧边栏搜索索引:标题搜索 ↔ 内容搜索一键切换,内容搜索按会话聚合展示标题与命中片段;自带独立索引(不依赖 DSH 官方全文索引),支持增量同步、非破坏性整理与快照导入导出。", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/drscrewdriver/dsh-search-index.git" }, "homepage": "https://github.com/drscrewdriver/dsh-search-index", "main": "lib/index.mjs", "types": "lib/types/index.d.ts", "exports": { ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.mjs" }, "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" }, "./package.json": "./package.json" }, "files": [ "lib/index.mjs", "lib/client.js", "lib/types/**/*.d.ts", "src", "cordis.patch.yml", "dsh.plugin.json", "README.md", "README.en.md", "CHANGELOG.md", "LICENSE" ], "engines": { "node": ">=20", "dsh": ">=0.1.0-rc.7 <0.2.0-0" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "inject": [ "@deepseek-ai/dsh-client-locale", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-ui-settings-general" ], "platform": "web" } }, "scripts": { "build": "node -e \"require('fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && tsdown --config-loader tsx", "prepublishOnly": "npm run build", "typecheck": "tsc --noEmit", "test": "node tests/client-store.test.mjs && node tests/index-engine.test.mjs && node tests/index-archive.test.mjs", "bundle": "tsdown --config-loader tsx" }, "license": "MIT", "peerDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-client-ui-slots": ">=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0", "@deepseek-ai/schemastery": "^3.18.1", "react": "^18.2.0" }, "peerDependenciesMeta": { "@deepseek-ai/dsh-client-ui-slots": { "optional": true } }, "devDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6", "@deepseek-ai/schemastery": "^3.18.1", "@types/node": "^24.0.0", "@types/react": "~18.3.1", "@types/react-dom": "^18.3.7", "cordis": "^4.0.0-rc.7", "react": "^18.2.0", "react-dom": "^18.2.0", "tsdown": "^0.22.2", "tsx": "^4.23.12", "typescript": "^5.6.0" }, "optionalDependencies": { "better-sqlite3": "^11.10.0" } }