Files
hiskyline 3ea65cb45b fix(dsh): 用 prepare 替代 prepack,让 git 直装也能带上 skill
从 GitHub 装时不跑 prepack,pnpm 的 #path: 形式又只取子目录,
../skills 回退也不存在——装上的是个没有 skill 的空壳。
prepare 是 npm/pnpm 处理 git 依赖时都会跑的钩子,覆盖 pack 与 git 直装。

源缺失但包内已有 bundle 时改为 exit 0:那是 tarball 场景,
包里带着副本而周围没有仓库,此时报错会让安装失败。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 15:25:01 +08:00

56 lines
1.2 KiB
JSON

{
"name": "@bibigpt/dsh-plugin",
"version": "0.1.0",
"description": "Summarize YouTube, Bilibili, podcasts and any online video or audio inside DeepSeek Harness, powered by BibiGPT",
"type": "module",
"main": "index.js",
"exports": {
".": "./index.js",
"./cordis.patch.yml": "./cordis.patch.yml",
"./package.json": "./package.json"
},
"files": [
"index.js",
"cordis.patch.yml",
"skills"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
}
},
"keywords": [
"dsh",
"dsh-plugin",
"deepseek-harness",
"cordis",
"bibigpt",
"video-summary",
"transcript",
"youtube",
"bilibili"
],
"homepage": "https://bibigpt.co",
"repository": {
"type": "git",
"url": "git+https://github.com/JimmyLv/bibigpt-skill.git",
"directory": "dsh-plugin"
},
"bugs": {
"url": "https://github.com/JimmyLv/bibigpt-skill/issues"
},
"author": "JimmyLv",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^22.19.0 || >=24.0.0"
},
"scripts": {
"sync-skill": "node scripts/sync-skill.mjs",
"prepare": "node scripts/sync-skill.mjs",
"test": "node scripts/sync-skill.mjs && node --test"
}
}