feat: migrate to DSH 0.1.5-rc.2 with TypeScript refactor, official slot footer and codex selector

This commit is contained in:
2026-09-11 13:58:29 +08:00
parent 4401e9cea7
commit fa098b5192
27 changed files with 4976 additions and 6727 deletions
+17 -1
View File
@@ -6,12 +6,21 @@
"main": "./lib/index.js",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./client": "./lib/client.js",
"./client": {
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
},
"./cordis.patch.yml": "./cordis.patch.yml",
"./package.json": "./package.json"
},
"scripts": {
"build": "node build.cjs && tsc --emitDeclarationOnly",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
@@ -30,5 +39,12 @@
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.1"
},
"devDependencies": {
"@types/node": "^22.20.2",
"@types/react": "^18.3.1",
"esbuild": "^0.28.2",
"typescript": "^5.8.2",
"vitest": "^3.0.0"
}
}