{"versions":{"0.1.0":{"name":"dsh-why","version":"0.1.0","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.0","gitHead":"770d62a4106e893d6d8d95df3b5065b4fbcc4845","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-kKLQ8uiVUkNjiTr1nNZXnkYErEYxNMGNwjcaa07ekYUKSR6EXiUjLckWuJuA9k/+HWn9b3YCfMrnF763f4UvnQ==","shasum":"3f54bdffd6d01a3196ab8a4c5ab3492eb39a6f7d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.0.tgz","fileCount":14,"unpackedSize":90499,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGJ7gcTEcduFfRjv7cQuLxqrucyRYcHvxHrrkCGZt327AiEAy5o5/UWzZ16/xtjmnZk3YVGyLUQVJGsPYH8QaMFkEYQ="}],"size":29620},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.0_1788978527059_0.2387132737787494"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-09T18:28:47.337Z","publish_time":1788978527337,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"dsh-why","version":"0.1.1","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.1","gitHead":"7ae42fc6f9e68d01d63b3739cd24f5bf460177b6","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-5Nn686IcyYz85oQEFnvWdyB4KRa4Yj0LPh9O41rt2pxB3UIxcUrSzub7VCRNQnF8uU/oFVxpNoLnnpEsH7gpxg==","shasum":"bbb2149c73f56e868c282780325c1e956214c116","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.1.tgz","fileCount":14,"unpackedSize":92839,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCq9geN4AFQoQA0nRXu9K6tugdmHGezxm4wdE22+LeGEwIhAN3hHDTJ1SvXY1YQ+OBN6sf8SMdYW9TdMm9xVB9Xffvl"}],"size":30364},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.1_1788980027635_0.46618569862629644"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-09T18:53:47.772Z","publish_time":1788980027772,"_source_registry_name":"default","contributors":[]},"0.1.2":{"name":"dsh-why","version":"0.1.2","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.2","gitHead":"8ff7e1cf7dce5e4ea1848d1930947682ba29e6ea","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-TJjcr5YXuOYYkgFu9Ey91/UHhcv+uaTR3akDyLMDrKlPgXofx+MfbGJXqgq5e2rG36iIFex8s7Mg8OKthsVj7w==","shasum":"404ef3e18a6a213d9273448752793f212280dfc3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.2.tgz","fileCount":15,"unpackedSize":122395,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEhG9G7JlPrjtysO5wNoM5j9f53ZU199njHMChv+mYXtAiEAohu6ikTZ2MLgAUn3HphQgu2K8J1/hOLRA4fQqykREqs="}],"size":38687},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.2_1788982820131_0.6340247427625614"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-09T19:40:20.270Z","publish_time":1788982820270,"_source_registry_name":"default","contributors":[]},"0.1.3":{"name":"dsh-why","version":"0.1.3","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.3","gitHead":"a70c2513ed670dfc4a2e23da6a7b16cf6235c5df","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-kgawGdgxmmmt9fn+aMehV//xm90KD24YB43ZlkdFKSvZxrxWBZO9njF0Nb99ofvQt4rF7iCQlSzv5LQ9j+Y6RA==","shasum":"ea4970ebd04f76e62f2999c469dae94f41627436","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.3.tgz","fileCount":15,"unpackedSize":133718,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBTDrLkVYdcqeXdGqEKCnJM0yZPoO0t7uDxShIavxM1kAiBf1t3/Fwmu2aOBXUuw8+b0634i+5Q4nIIAcenL5sF8Dg=="}],"size":41970},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.3_1789000556375_0.7382658849986887"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T00:35:56.502Z","publish_time":1789000556502,"_source_registry_name":"default","contributors":[]},"0.1.4":{"name":"dsh-why","version":"0.1.4","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.4","gitHead":"54e3b7fa2cf4794c389080c398e6a850c54bacc5","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-AQeNT/seBCqRt5Lo0OJ+qUWygLxjeMVjY5VvbC27dKUzH9rnqoorCYIcZbSxsMZRU5ZoSuUjoQ820+yHN4iTfw==","shasum":"ffaadc682c9f26ffbbd1ddfb8e32efd65a5544ec","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.4.tgz","fileCount":16,"unpackedSize":157828,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDdcghbmrW7HQukpBmfJ7aMMfWCrU0bs6d71YGtsRu9FQIhALP2Z8cwyKsyYfDvvQsCfLClMel8g/JRR9IKg6Ma3QNY"}],"size":49785},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.4_1789008151987_0.9819167277517693"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T02:42:32.119Z","publish_time":1789008152119,"_source_registry_name":"default","contributors":[]},"0.1.5":{"name":"dsh-why","version":"0.1.5","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://github.com/ice5kysl/dsh-why#readme","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.5","gitHead":"df71d347512a897031a79d6c43306572c3190604","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-1Y3LRdRu3Ai30jZoBtoM0DmR/X7IIKX8NxFBvV0XdAdaoOgGEWb82K4saF1qG81hpECo9EbZvstf4U7YUAW9kA==","shasum":"a78ffeefad4f2f841cb9537025930a994f4f74c0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.5.tgz","fileCount":16,"unpackedSize":160956,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICtxs+VOb/3OzxZ2No8gDDDh1yn4t84zXiaqgv/NFUDoAiEAoLuys1Ge4XAZVkqB/zObjAmFVr92yAyEjnqSzhPjR4w="}],"size":50990},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.5_1789009035945_0.9047502420721205"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T02:57:16.087Z","publish_time":1789009036087,"_source_registry_name":"default","contributors":[]},"0.1.6":{"name":"dsh-why","version":"0.1.6","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"_id":"dsh-why@0.1.6","gitHead":"c004eac8075abcdb140faa9ce5fd0f3b7869549a","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-DdhfuuI48QOhDC3RO0NgAz4bxz4zVPEOy0Gq1ZLb04c6cZW9ZScXGsQCXyYkmemPJz8jbnp6l7+AlDxh/jnyWg==","shasum":"8e81c989c700a7e62dc5c850493ca48e0891bdea","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.6.tgz","fileCount":16,"unpackedSize":164650,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDraMCyCe9DCXXvypvyfBY6ZiHVDlDqNQWOFKBkqthUaAiEA/mC9QC5Y6mNiDe2+XJXDw/aiHR9GuZRqxt7deO1MnpM="}],"size":52319},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.6_1789011492235_0.6034901822304832"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T03:38:12.348Z","publish_time":1789011492348,"_source_registry_name":"default","contributors":[]},"0.1.7":{"name":"dsh-why","version":"0.1.7","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"gitHead":"07a6a6cef1366322ff86ba88ea6b105c27920f44","_id":"dsh-why@0.1.7","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-OFjlGOVgv6Y1OFpdw1x/+Batu5GlAVdnZZ1OgbIkqOn0Qd1DUAhRkKp7y2taMBWpcuX8WSsoR20+iDVPM1TvpQ==","shasum":"54989b044e49fd6c54585e15891affde828f914f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.1.7.tgz","fileCount":16,"unpackedSize":171264,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFAwB9wsxb+7tTXCOvOY1BpVY8+hDsaRFKFNlEj42ShQAiBbHu/ROdUHizDOoSavZVmkhnMnp/AG8ga5KA0RSq2slQ=="}],"size":53739},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.1.7_1789025664666_0.08504785482703814"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T07:34:24.796Z","publish_time":1789025664796,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"dsh-why","version":"0.2.0","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs"},"gitHead":"f2cede58a564139116fa5cec3a366415875a557d","_id":"dsh-why@0.2.0","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-xBzZw0iZIhblDbxZHmfsYpJc4X+cHUICOO2mpOEaJMo0ydGSiyLLUDTDitwRt1DoFcy15+Hgvo43OOK4WT0nAg==","shasum":"b57f49d94851b638610163828cd8b4862c1df7ec","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.2.0.tgz","fileCount":18,"unpackedSize":225197,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGpSFxuyQrFdalHjMXPoSKERdDMAvIzQFTLVeUHngIGTAiBs9WypMScHVOA0V+aGb0b7X3qQ0KGnvy6omWPFOhP1Uw=="}],"size":72048},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.2.0_1789087176600_0.4019630248020958"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-11T00:39:36.752Z","publish_time":1789087176752,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"dsh-why","version":"0.3.0","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs","rulebase:check":"node scripts/rulebase.mjs check","rulebase:sync":"node scripts/rulebase.mjs sync"},"gitHead":"8e08a4a3ff7d38a1efde7b2aa730f22b877277c2","_id":"dsh-why@0.3.0","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-dUU3cBg6AIsDDlMV2UCN7EU6zlXgD1PENeg2WGx4r5PBK+uH+A1vcXBQ4n5Qzi8pEg3NPKDNlMB9kyOLaIs6BQ==","shasum":"272f3266f6039d624bb92cb64f0bbb46b15d3435","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.3.0.tgz","fileCount":18,"unpackedSize":235170,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD0D+Ay7pxA1emqlWIWom4qnXOPPNnJ/6rvZILY+WSAJgIhAOMVwA64cOq/CbTPcFHMGCtKdOix0i/1efW25LfkK1QV"}],"size":75154},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.3.0_1789091655639_0.854778817914817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-11T01:54:15.768Z","publish_time":1789091655768,"_source_registry_name":"default","contributors":[]},"0.3.1":{"name":"dsh-why","version":"0.3.1","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs","rulebase:check":"node scripts/rulebase.mjs check","rulebase:sync":"node scripts/rulebase.mjs sync"},"gitHead":"e6186f06985da05ab50d77a474495298ddcb8338","_id":"dsh-why@0.3.1","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-tfRb+RZ47M68kURl/RZjlUodpfhLB/6IE8vAocGl1hJJux1HLq0MK0frKG6b7Yr6vEM5HuVDCRlRBFpsW/Ykug==","shasum":"4bdfb24f9342eb796a74ab2b960d67170afd6641","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.3.1.tgz","fileCount":19,"unpackedSize":240485,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIADlYccenRJeexEBWGcDeZyKpqYUcMo4Ukas1S7vF3UpAiEAshIXmIYrnLTvevmnWnxF2AsTPql+vqutSuBYt829d/Y="}],"size":77154},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.3.1_1789137775739_0.6253737516991047"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-11T14:42:55.876Z","publish_time":1789137775876,"_source_registry_name":"default","contributors":[]},"0.3.2":{"name":"dsh-why","version":"0.3.2","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs","rulebase:check":"node scripts/rulebase.mjs check","rulebase:sync":"node scripts/rulebase.mjs sync"},"gitHead":"6636aeafd99b2e8e01603bad823b15847bc296f2","_id":"dsh-why@0.3.2","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-oF+Lep/qKPH63iSkXDeD9nI5v/psCqSFuJf1IHwjEyir0rht0+RzMgWRVofpaVpQYEpJ5eKtBLuUWW44OTW6Rg==","shasum":"85e0069c4599cca41465c43a5a8e6968e5207235","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.3.2.tgz","fileCount":19,"unpackedSize":243867,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH10BSF3Un+2HvTzCRZZ7ca2rru3y1MZyOYZlx5YX2PtAiEA15b9tx1IZQTFMhb0X6IndDD8le9FpEosRv4tzwYTOnk="}],"size":78577},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.3.2_1789176540324_0.5916442135178619"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-12T01:29:00.467Z","publish_time":1789176540467,"_source_registry_name":"default","contributors":[]},"0.3.3":{"name":"dsh-why","version":"0.3.3","description":"dsh (DeepSeek Harness) failure diagnostics: why a plugin crashes the loader (missed the module table), engines.dsh mismatch, known official breaking points, and ecosystem-wide observed-compat cross-checks. Read-only, zero-dependency, works offline.","type":"module","bin":{"dsh-why":"bin/dsh-why.mjs"},"exports":{"./scanner":"./lib/scanner.mjs","./rules":"./lib/rules.mjs","./collect":"./lib/collect.mjs","./package.json":"./package.json"},"engines":{"node":">=18"},"keywords":["dsh","deepseek-harness","dsh-plugin","diagnostics","troubleshooting","failed-to-load-plugins","missed-the-module-table","client-modules","诊断","插件加载失败"],"author":{"name":"ice5kysl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice5kysl/dsh-why.git"},"homepage":"https://dsh-why.com?utm_source=npmjs&utm_medium=package","bugs":{"url":"https://github.com/ice5kysl/dsh-why/issues"},"scripts":{"test":"node --test tests/*.test.mjs","rulebase:check":"node scripts/rulebase.mjs check","rulebase:sync":"node scripts/rulebase.mjs sync"},"gitHead":"fdc8c0062162f96560b097ae7eab065a0f1ae0c0","_id":"dsh-why@0.3.3","_nodeVersion":"26.8.2","_npmVersion":"11.19.1","dist":{"integrity":"sha512-undIOaDWJXcmgqNBwl8LGy7JFFFmDx53ERqQSSQk/5ags+s0i7Zi/cIwZ3DptlmarpYRr+V+rJ0RX1ytXa8JEw==","shasum":"07e66ea4dd78b8dcd0f19b11b269c7366f2459b7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-why/-/dsh-why-0.3.3.tgz","fileCount":19,"unpackedSize":247299,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGX+P7fhahZae4XDrabsucH2HuZ0kiuzYENt32cD5XgGAiEAo863cji1fzIdGo+GMXXuJtuxwXe+Hve4VBMtWZ5fD9g="}],"size":79699},"_npmUser":{"name":"anonymous","email":"iceskysl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"iceskysl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-why_0.3.3_1789290087515_0.7203999904660805"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-13T09:01:27.653Z","publish_time":1789290087653,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.3.3"},"name":"dsh-why","time":{"created":"2026-09-09T18:29:01.897Z","modified":"2026-09-13T09:01:37.259Z","0.1.0":"2026-09-09T18:28:47.337Z","0.1.1":"2026-09-09T18:53:47.772Z","0.1.2":"2026-09-09T19:40:20.270Z","0.1.3":"2026-09-10T00:35:56.502Z","0.1.4":"2026-09-10T02:42:32.119Z","0.1.5":"2026-09-10T02:57:16.087Z","0.1.6":"2026-09-10T03:38:12.348Z","0.1.7":"2026-09-10T07:34:24.796Z","0.2.0":"2026-09-11T00:39:36.752Z","0.3.0":"2026-09-11T01:54:15.768Z","0.3.1":"2026-09-11T14:42:55.876Z","0.3.2":"2026-09-12T01:29:00.467Z","0.3.3":"2026-09-13T09:01:27.653Z"},"readme":"# dsh-why\n\n[![site](https://img.shields.io/badge/site-dsh--why.com-informational)](https://dsh-why.com?utm_source=github&utm_medium=readme)\n[![DSH Insights health](https://dsh-insights.com/badge/ice5kysl/dsh-why.svg)](https://dsh-insights.com/p/ice5kysl/dsh-why/?utm_source=github&utm_medium=readme)\n[![npm](https://img.shields.io/npm/v/dsh-why.svg)](https://www.npmjs.com/package/dsh-why)\n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\n**Why did my [dsh](https://www.npmjs.com/package/@deepseek-ai/dsh) (DeepSeek Harness) break?** A zero-dependency, read-only CLI that diagnoses plugin load failures: what you have installed, what crashes (or will crash) the loader, why, and how to fix it — cross-checked against the ecosystem-wide observed-compatibility matrix at [dsh-insights.com](https://dsh-insights.com?utm_source=github&utm_medium=readme).\n\n```bash\nnpx dsh-why            # diagnose the current environment\nnpx dsh-why --json     # machine-readable (CI / paste to an LLM)\nnpx dsh-why --offline  # zero network, bundled rule base only\n\n# holding a red-screen error? paste it straight in:\npbpaste | npx dsh-why                    # piped stdin is auto-detected\nnpx dsh-why --error \"…missed the module table…\"\nnpx dsh-why --prompt   # append a paste-ready fix prompt for your AI agent\n```\n\nNode ≥ 18, no install required (`npx`), **zero npm dependencies**, and it **never modifies any file** on your machine. Output language follows your locale (中文/English), override with `--lang zh|en`.\n\nThere is also a **web version** at [dsh-why.com](https://dsh-why.com?utm_source=github&utm_medium=readme): paste the red-screen error into a browser and get the same diagnosis with nothing installed — it runs the same rule base client-side and never uploads what you paste.\n\n## What it tells you\n\n- **Environment summary** — dsh version, shell (module-table) version, DSH_HOME, profile, plugin count, and which **row model** the verdicts rest on. \"No dsh installation found\" is a valid answer, not an error.\n- **Crash-level findings (R1)** — a plugin whose client bundle requires a module the current shell's module table doesn't provide, *unguarded* (the try/catch-aware check: requires covered by a paired `try/catch` don't crash — the loader resolves `require()` at call time). For each missing module: **when official dsh removed it, or added it, or never shipped it** — derived from the published shell history, not guesswork.\n- **Graph-row aware, four-way verdicts** — the loader resolves `require()` via seed words → materialized modules → **registered factories**: every mounted `dsh.client` package registers a factory under its package name when its combo batch executes. dsh-why reads those rows from your local install (mounted set = the in-box bundles' `cordis.patch.yml` roster ∩ every `dsh.client` package) and classifies each require as:\n  - *resolvable* (seed word / immediate row / a lazy row the plugin declares in `dsh.client.external`+`inject`),\n  - *conditional* — **warning**: an undeclared lazy row; it usually resolves by batch timing, and declaring it makes it deterministic. **Never a red card, never in the issue template.**\n  - *missing* — **error**: nothing in this install can answer it (the crash class),\n  - *unclassified* — **warning**: your install tree was unreadable, so the row branch could not be checked at all. The report says so loudly and tells you how to settle it — a tool must never turn its own blind spot into a crash verdict.\n  Conditional and unclassified both stay out of the exit code; `summary.conditional` / `summary.unclassified` in `--json` tell them apart for CI. Comments/strings and bundle-local relative requires are never misread as missing modules.\n- **Version-range warnings (R2)** — the plugin's `engines.dsh` doesn't cover your dsh.\n- **Profile integrity (R6)** — a plugin declared in the manifest but missing from `node_modules` crashes dsh at boot (the classic \"uninstalled a plugin and now it won't start\"); half-uninstalled leftovers on disk get a warning. pnpm symlinks are followed, never misflagged.\n- **Pasted-error mode (`--error` / piped stdin)** — parses the loader's actual error text (`failed to import loader entry …`, `require(\"…\") missed the module table`, `bundle script … failed to load`, `cannot resolve \"…\"`, bare `Failed to load plugins` → full diagnosis) and diagnoses the referenced plugin/module even when it is NOT installed locally. Unknown patterns get an honest \"not recognized\" plus the supported list.\n- **AI fix prompt (`--prompt`)** — appends a paste-ready prompt for your coding agent: environment + findings + known fixes + the seed-safe constraint (only module-table requires, or try/catch).\n- **Upgrade hints (R3)** — a newer release exists on npm; upgrading first is often the whole fix.\n- **Ecosystem cross-check (R4/R5)** — the plugin's measured verdict on [dsh-insights.com](https://dsh-insights.com?utm_source=github&utm_medium=readme) (`ok` / `never` / `broken-since` / `supported-since`), plus *\"you are not alone: N plugins ecosystem-wide miss the same module.\"*\n- **Community crash corpus** — when a crash-level finding's signature matches the [crash-corpus](https://dsh-insights.com/data/crash-corpus.json) (aggregated opt-in `--share` reports), the output says how often the exact crash was seen and when last; `--share` adds yours. Signatures that so far have only cold-start seed rows (machine-measured, never user reports) are labelled as a known crash pattern instead — the corpus never dresses seeds up as user reports. And a crash **not** in the corpus gets a nudge to `--share` it, so the next person sees a number instead of nothing (offline / corpus unreachable: no line at all).\n- **A copy-ready GitHub issue template** for the plugin author, with your environment and the diagnosis pre-filled.\n- **A green \"all clear\"** when everything loads fine.\n\n### Sample output\n\n```\n✗ [ERROR·R1] fake-crash-plugin crashes the loader on this dsh\n  Symptom: \"Failed to load plugins\" / require(\"@deepseek-ai/dsh-client-runtime/client\")\n  missed the module table — the client bundle requires module(s) the shell does not provide:\n    - @deepseek-ai/dsh-client-runtime/client: never shipped in ANY published shell's\n      module table — the plugin was written against a module that does not exist in dsh\n  How to fix (pick one):\n    1. remove the plugin to get dsh booting again: dsh plugin remove fake-crash-plugin\n    2. report it to the plugin author — a copy-ready issue template is attached below\n```\n\n---\n\n## Hitting one of these errors? This is what they mean\n\n### `Failed to load plugins`\n\nThe red screen when `dsh web` boots. One of your enabled plugins' client bundles threw while the loader was materializing it — almost always a missing module (next section). Run `npx dsh-why`: it names the plugin, the missing module, when official dsh changed the module table, and your fix options (upgrade the plugin / upgrade or downgrade dsh / remove the plugin).\n\n### `client-modules: require(\"...\") missed the module table`\n\ndsh's web shell doesn't let plugin client bundles `require()` arbitrary npm packages — it resolves requires against a **module table baked into the shell build** (`react`, `@deepseek-ai/cordis`, `@deepseek-ai/dsh-client-store`, …) plus the registered client factories of your other installed plugins. Anything else throws this error at call time.\n\nKnown official breaking points (dsh-why derives these live from the shell history):\n\n| dsh release | module-table change |\n|---|---|\n| `0.1.0-rc.8` | **removed** `@deepseek-ai/dsh-client-web-react`, `@deepseek-ai/dsh-client-ui-attachment`, `@deepseek-ai/dsh-client-schema-form` |\n| `0.1.2-alpha.2` | **added** `@deepseek-ai/dsh-client-store` |\n| `0.1.5-alpha.1` | **added** `@deepseek-ai/dsh-client-ui-dockkit` |\n| *(never)* | `@deepseek-ai/dsh-client-runtime/*` was **never** in any published shell's module table |\n\nSo the same plugin can load on one dsh and crash on another. `npx dsh-why` tells you which side of the line you're on — and whether the plugin author can fix it (guard the require with `try/catch`, which the loader's call-time resolution makes safe) or you just need a newer/older dsh.\n\n### `client-modules: bundle script failed`\n\nThe plugin's client bundle itself failed to execute or parse in the loader — a build-level problem rather than a module-table miss. dsh-why still helps: it confirms whether the plugin's requires are satisfiable, whether its `engines.dsh` covers your dsh, whether the ecosystem matrix measured the same failure, and whether a newer plugin release exists.\n\n### `client-modules: cannot resolve \"...\"`\n\nThe async `import()` twin of \"missed the module table\" — the specifier isn't a seed word, not materialized, and not in the boot graph. Same diagnosis applies.\n\n### Red screen after upgrading dsh\n\nAlmost always a `0.1.0-rc.8`-style removal: your plugin was written against a module the new shell no longer provides. Options: `dsh plugin remove <name>` to get booting, downgrade dsh to the last shell that had the module (dsh-why names the exact version), or upgrade the plugin if the author already adapted. When dsh-why reports *\"only added to the module table in dsh X\"*, it's the opposite direction — **your dsh is too old for the plugin**; upgrade dsh.\n\n---\n\n## How it works (and why you can trust it)\n\n1. **Collects** (read-only): your global dsh install (`@deepseek-ai/dsh` + the `@deepseek-ai/dsh-web-frontend` shell build under the global npm root) **including its client graph rows** (every `dsh.client` package, intersected with the in-box bundles' `cordis.patch.yml` roster — `immediate` vs `lazy` from each package's own flag), your `DSH_HOME` (default `~/.dsh`) profile manifest — the same seam `dsh plugin add` operates on — and each enabled plugin's client bundle.\n2. **Scans** each bundle's literal `require(\"…\")` set with a **guard-aware** scanner (brace-matched `try{…}catch{…}` pairing that skips strings/templates/comments/regex literals) — the exact code that powers the dsh-insights.com observed-compat matrix, so your local diagnosis agrees with the published ecosystem data.\n3. **Checks the rule base**: R1 module-table misses with per-module history, R2 `engines.dsh` coverage, R3 npm upgrades, R4/R5 ecosystem cross-check against the live matrix (2,300+ plugins observed), R6 profile integrity — plus known fixes from the [fixes.json case base](https://dsh-insights.com/data/fixes.json). The case base ships as a **bundled snapshot** too, so the concrete recipe (\"migrate to `@deepseek-ai/dsh-client-store`\", \"declare `dsh.client.external`\") survives on a machine with no network; the report labels which side it came from. Recipes and case notes are bilingual (`fix`/`fixEn`, `note`/`noteEn`) — `--lang` picks, and a missing translation falls back to the Chinese source rather than printing nothing.\n4. **Degrades gracefully**: `--offline` (or an unreachable network) falls back to the bundled shell-history **and known-fix** snapshots plus the local rule base; an unreadable install tree declassifies its own verdicts to *unclassified* warnings instead of inventing crashes. The env block always states which row model ran (`shell graph rows: 9 immediate + 37 lazy` / `scan-only` / `UNREADABLE`) — the model is part of the answer. A diagnostic tool must never itself crash, and it must never be more confident than its inputs.\n\n**Privacy**: online mode makes exactly three kinds of GET requests — `dsh-insights.com` data files and npm registry `latest` metadata for your installed plugin names. Nothing about your machine is ever uploaded; nothing is written to disk.\n\n## CLI reference\n\n```\ndsh-why [--json] [--offline] [--profile <name>] [--dsh-home <path>]\n        [--lang zh|en] [--no-color] [--version] [--help]\n```\n\n| flag | meaning |\n|---|---|\n| `--json` | machine-readable report (findings carry structured fields; includes `issueTemplate`) |\n| `--offline` | zero network — bundled shell-history snapshot + local rules |\n| `--profile <name>` | which profile to diagnose (default: `web`, or the only one present) |\n| `--package <dir>` | plugin-author self-check: diagnose one plugin directory's client bundle (a pre-publish gate) |\n| `--error [text]` | parse a pasted error text instead of scanning the profile (reads stdin when the value is omitted; piped stdin is auto-detected) |\n| `--prompt` | append a paste-ready fix prompt for an AI coding agent |\n| `--share` | opt-in: report crash-level findings to the ecosystem case base (api.dsh-why.com). The exact payload is printed before sending — structured fields only (rule id / signature hash / shell & plugin versions), never messages, paths or prompts |\n| `--dsh-home <path>` | override `DSH_HOME` (env `DSH_HOME` is honored too) |\n| `--lang zh\\|en` | output language (default: from `LC_ALL`/`LANG`) |\n| `--no-color` | disable ANSI colors (`NO_COLOR` env respected) |\n\n**Exit codes**: `0` = no crash-level findings · `1` = crash-level findings (usable as a CI gate) · `3` = **the check could not be performed** · `2` = usage error or an internal bug (please report).\n\n`3` is what a pre-publish gate returns when it read nothing: `--package` pointed at a path with no `package.json`, or at a checkout whose declared client bundle was never built. A gate that passes when it verified nothing is worse than no gate, so it is deliberately **not** `0`. Any non-zero must block the release:\n\n```\nnpx dsh-why --package . && npm publish\n```\n\n\nEnvironment overrides for unusual setups: `DSH_WHY_NPM_ROOT` (where the global npm packages live), `DSH_WHY_PROFILE` (profile name).\n\n## `dsh-why run` — when dsh boots fine but a run dies\n\nThe startup check answers *\"why won't dsh start\"*. `dsh-why run` answers the other\none: **the run is over, you have a symptom, and nothing told you why.** It reads\nyour own session logs — read-only, no model, no upload.\n\n```\ndsh-why run                # attribute your latest session's turns\ndsh-why run --all          # health view: scan every session\ndsh-why run --json         # same object the text renderer consumes\n```\n\nThe verdict comes from `turn/end.reason`, and it is a **closed vocabulary** —\nacross a real corpus every failure carried one of eight codes, so the whole\nobserved failure space is enumerable rather than open-ended:\n\n| verdict | meaning |\n|---|---|\n| `completed` | fine |\n| `aborted` (stopped by you) | **not a failure** — a deliberate stop is never a red card |\n| `error` (attributed) | backed by an `error.code` and the provider's own words |\n| `unclassified` | interrupted, or the run never finished: **said plainly, never guessed** |\n\n`--all` adds the part a single run cannot show: your own **baseline** failure\nrate, the **failure mix**, and an **incident** list for days that differ from\nthat baseline — which is how chronic noise (an API call that fails 1–12×/day for\nweeks) is told apart from a real event (a model switch that broke the key, at 57%\nfor one day).\n\nTwo honesty notes it will always print rather than hide:\n\n- Session logs are a **chain of independent zstd frames**, and frames overlap. A\n  naive single-frame read returns the *first* event and silently drops the rest,\n  so the report states how many frames were decoded and whether events paired up.\n- If a log is truncated or a turn was interrupted, you get `UNCLASSIFIED` and an\n  explicit \"I will not guess\" — an unfinished run is not evidence of a broken plugin.\n\n**Exit codes**: `0` = no failed run in scope (unclassified and self-aborted turns\ndo not gate) · `1` = a failed run in scope (so `run --all` is usable as a CI gate\nfor \"no failed turns in this window\") · `2` = usage error.\n\n## For plugin authors\n\n- Guard optional host modules: `try { require(\"@deepseek-ai/dsh-client-store\") } catch { /* fallback */ }` — the loader resolves `require()` at call time, so a paired catch turns a crash into a graceful degradation. dsh-why reports guarded misses as notes, never as crashes.\n- Declare `engines.dsh` in package.json and keep it honest.\n- Pre-publish gate in CI: `npx dsh-why --package .` — diagnoses the plugin directory's built client bundle against the real shell module table. Exit `1` when a require would crash the loader, exit `3` when the check could not be performed at all (unbuilt checkout, no manifest). `--json` for a machine-readable report. **→ [Set it up in 30 seconds](https://github.com/ice5kysl/dsh-why/blob/main/docs/PLUGIN-AUTHOR-GATE.md)**\n\n## Related\n\n- [dsh-insights.com](https://dsh-insights.com?utm_source=github&utm_medium=readme) — the dsh plugin ecosystem observatory (health grades, scenario picks, the observed-compat matrix this tool cross-checks against). Data source: [`/data/compat-observed.json`](https://dsh-insights.com/data/compat-observed.json).\n- [dsh-insights-kit](https://github.com/ice5kysl/dsh-insights-kit) — the in-dsh panel for *proactive* health checks; dsh-why is the *reactive* CLI for when something already broke.\n- [中文文档](./README.zh-CN.md)\n\n## License\n\n[MIT](./LICENSE) © ice5kysl","users":{}}