dsh-unplug 0.2.3 → 0.2.4
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 +7 -0
- package/lib/cli.js +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.4 (2026-08-20)
|
|
4
|
+
|
|
5
|
+
- Fix CI: add `prepare` script (doctor requirement for git installs).
|
|
6
|
+
- Fix CLI exit code: `list`/`audit` reports now carry `ok: true` + `schema`,
|
|
7
|
+
so `--json` exits 0 on success and the integration test passes.
|
|
8
|
+
|
|
9
|
+
|
|
3
10
|
## 0.2.3 (2026-08-20)
|
|
4
11
|
|
|
5
12
|
- README.md 改为中英双语(中文在前),中文用户打开仓库首页即可看懂。
|
package/lib/cli.js
CHANGED
|
@@ -134,7 +134,7 @@ export async function main(argv) {
|
|
|
134
134
|
case 'list':
|
|
135
135
|
case 'audit': {
|
|
136
136
|
const result = audit(resolvedHome, profile);
|
|
137
|
-
return printResult({ ...result, command, profile }, json);
|
|
137
|
+
return printResult({ schema: 'dsh-unplug/v1', ok: true, ...result, command, profile }, json);
|
|
138
138
|
}
|
|
139
139
|
case 'reconcile': {
|
|
140
140
|
if (!yes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unplug",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Plug/unplug any DeepSeek Harness plugin cleanly: list every mounted layer, disable/enable without deleting, remove bundles + patch rows + dependencies in one pass, and audit for orphaned/dangling plugin state. Zero runtime dependencies; read-only by default.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tsc -p tsconfig.json",
|
|
22
|
+
"prepare": "pnpm run build",
|
|
22
23
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
23
24
|
"test": "vitest run",
|
|
24
25
|
"test:integration": "node scripts/integration-test.mjs"
|