dsh-log-contract 0.3.12 → 0.3.14
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 +42 -14
- package/README.zh.md +44 -12
- package/bin/dsh-log-contract.mjs +96 -19
- package/docs/CONTRACTS.md +67 -18
- package/lib/checks.js +121 -22
- package/lib/contracts.js +86 -10
- package/lib/host-probes.js +147 -0
- package/lib/index.js +1 -0
- package/lib/log-reader.js +15 -2
- package/lib/prewrite.js +59 -8
- package/lib/repair.js +92 -36
- package/lib/validate.js +61 -7
- package/lib/version-support.js +148 -0
- package/lib/vocab.js +31 -3
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-log-contract",
|
|
3
3
|
"description": "日志契约守护 — DSH session log contract guard: offline health check (CLI) + pre-write validation for DeepSeek Harness session logs",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.14",
|
|
5
5
|
"packageManager": "pnpm@11.7.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"check": "node scripts/check-syntax.mjs",
|
|
33
33
|
"test": "vitest run",
|
|
34
|
-
"prepublishOnly": "node scripts/check-pkg-meta.mjs && pnpm check && pnpm test"
|
|
34
|
+
"prepublishOnly": "node scripts/check-pkg-meta.mjs && node scripts/check-publish-leaks.mjs && pnpm check && pnpm test"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"dsh",
|