{"versions":{"0.2.2-rc.2":{"_id":"@deepseek-ai/dsh-error@0.2.2-rc.2","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"5d2097c2694e208d193a499c562f9fdf002c698c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.2.tgz","fileCount":10,"integrity":"sha512-ZcBfesP29jBu9FZjb7NK7dU5JLDFmLu/cWVQtkzeU69s22LjRXhj4JmJJ7dxggSFJH8jLQKxGJGm6Er05iSMvg==","signatures":[{"sig":"MEUCIAjrv4T8WcjX0KdDSRx6uhUoLY5CYAHurThhJYvYz2SqAiEA7HRe2YlsRaA2r8jI5EJYKOLgSLcFpzxyez8kHi8v+BQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF6S4etB6By7gpt8G4D3N2P7nm2K0vpaicTGVr9Rg9/XAiEAnFKPeGbPyDeEs4zetANvMEUKuwMAmTjN7DXsZIC/t5Y="}],"unpackedSize":12165,"size":5389},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.2.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.2-rc.2","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.2.tgz","_integrity":"sha512-ZcBfesP29jBu9FZjb7NK7dU5JLDFmLu/cWVQtkzeU69s22LjRXhj4JmJJ7dxggSFJH8jLQKxGJGm6Er05iSMvg==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"peerDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.2-rc.2_1794448514752_0.19376137482300226"},"_cnpmcore_publish_time":"2026-11-12T01:55:14.854Z","publish_time":1794448514854,"_source_registry_name":"default","contributors":[]},"0.0.0-stage":{"name":"@deepseek-ai/dsh-error","version":"0.0.0-stage","_id":"@deepseek-ai/dsh-error@0.0.0-stage","stub":true,"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"}],"dist":{"shasum":"3552b668f95b4e29fa4eb98309d221a696114f9d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-wGq05g61/MmLEix4i/YV9TUhKuhI72xitdSQ1yG7I8zbJ6BbiUDue76MUe+nugfshw2hsrPfR/NvfQUznQ/rCg==","signatures":[{"sig":"MEQCIDCB7B4kcx+GsQryfZyii9nrGrp8ridslDkY6ctiw5T5AiA4LPIIgWJTGmSMPvj5BCPGcjzUvaQG2CpNkF5T5GZRAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":344,"size":371},"_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{},"_cnpmcore_publish_time":"2026-11-12T01:51:05.709Z","publish_time":1794448265709,"_hasShrinkwrap":false,"_source_registry_name":"default","contributors":[]},"0.2.2-rc.3":{"_id":"@deepseek-ai/dsh-error@0.2.2-rc.3","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"de5cfa0f50022c971179d38fce55aa2c5b4d7788","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.3.tgz","fileCount":10,"integrity":"sha512-yxbiGjg8Y3LRIwZZBG5juutzZbVAHRZOPGTlSXaMtdBbnY6wbeV2BAnVnP9bGLb+Si+GKhbbQCA23RV/9+FMUQ==","signatures":[{"sig":"MEUCIDRT2uazaS+fKSkVs+bZ8tC65KLCssysRJ3rCH5rFWm8AiEA8Zuu/7EmwKuycew/0k0b98kildxKGoTqKqdbvPNgNVE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFpfIz2HZyQL1S5jcJ7Qh1IcUrfmssFWEod5DaUx4KRDAiABkm9BXOeJS1nF7AZgZ2IHD0zXqCt7r/pipsjAkhDFww=="}],"unpackedSize":12165,"size":5389},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.3.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.2-rc.3","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.3.tgz","_integrity":"sha512-yxbiGjg8Y3LRIwZZBG5juutzZbVAHRZOPGTlSXaMtdBbnY6wbeV2BAnVnP9bGLb+Si+GKhbbQCA23RV/9+FMUQ==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"peerDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.2-rc.3_1794555768023_0.8796191236986528"},"_cnpmcore_publish_time":"2026-11-13T07:42:48.116Z","publish_time":1794555768116,"_source_registry_name":"default","contributors":[]},"0.2.2-rc.4":{"_id":"@deepseek-ai/dsh-error@0.2.2-rc.4","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"be1eac9388141995b1341cea933e562c56756350","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.4.tgz","fileCount":10,"integrity":"sha512-joHjSmXYD47y2tTG17CZn9djZgfmlSI726mgGis218NaaQX7yKYwVMNSrYvBqbTZxQpuEQ1EN7+BkrrD3OyryA==","signatures":[{"sig":"MEQCIFZmz0RKw8R5OFs9N3h0jEYP17yi9N3r9BGApTgh/EA3AiBF3arSSZ7kpkIl+8NAvp+AJRoRXZvFORiBP0nhGOsdRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDjiA+VXWkeqLJIRjqX8OC3jdzUiNq1adzODcOSez2cvwIhAMM/hXcGHF0kuViDkjE4Rke5xY2dHPKf1vk2d72OGZiB"}],"unpackedSize":12165,"size":5389},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.4.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.2-rc.4","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.4.tgz","_integrity":"sha512-joHjSmXYD47y2tTG17CZn9djZgfmlSI726mgGis218NaaQX7yKYwVMNSrYvBqbTZxQpuEQ1EN7+BkrrD3OyryA==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"peerDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.2-rc.4_1794933410053_0.6061439320859991"},"_cnpmcore_publish_time":"2026-11-17T16:36:50.146Z","publish_time":1794933410146,"_source_registry_name":"default","contributors":[]},"0.2.2-rc.5":{"_id":"@deepseek-ai/dsh-error@0.2.2-rc.5","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"afbf536f6e8affc0d00cd9426b523ea581029ad1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.5.tgz","fileCount":10,"integrity":"sha512-0QY6i1eHBvXrFQoKK0Z65dD9CvlpA77jH/U/qMt+kuLz9SnnKA4EayFBx8N0Z1It1bA9udE2d5t3yiwhHSDIFg==","signatures":[{"sig":"MEUCIQCgH/HNBsd1kHMArQIyqzL6lweyZ9gCrgcOhgx7LyjFxwIgEzsgm8+iGqd4J7buZg1kr1k0fKTGFZlAxJ6AYLxzQKs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCGR7QA8/9yBrqPB536/tbAc6KuZlbMJblA9i8wSmyJmgIhAJMz+VCzbu4uFfkz6tNI9ji4o+kYMfuOlUp8iy81kmcZ"}],"unpackedSize":12165,"size":5389},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.5.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.2-rc.5","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.2-rc.5.tgz","_integrity":"sha512-0QY6i1eHBvXrFQoKK0Z65dD9CvlpA77jH/U/qMt+kuLz9SnnKA4EayFBx8N0Z1It1bA9udE2d5t3yiwhHSDIFg==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"peerDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.2-rc.5_1795006221300_0.27837682975541445"},"_cnpmcore_publish_time":"2026-11-18T12:50:21.401Z","publish_time":1795006221401,"_source_registry_name":"default","contributors":[]},"0.2.3-alpha.1":{"_id":"@deepseek-ai/dsh-error@0.2.3-alpha.1","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"e81c44033579b1da7c3e1133248067e069d8d5b9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.3-alpha.1.tgz","fileCount":10,"integrity":"sha512-A90KTtORyODlGt6BwYDDTCZUQXo4JT9hFLKe/9bxUL9Jt4B/MRdXCVAfuhv/+wLAImTKAE2W4nI+3EHE5AiyLw==","signatures":[{"sig":"MEUCIQCnOvmoBEXTuax7bWyFLzWySwKdYNOrPEoWqtZNN4CHjwIgKZKNl4jhwYNtHIPdQ2sZ5wLA0qd/38XNmhhaiuR/9gU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAlksx7cTEVylmtRrreQHEmDl3av+V27cXN10phaRcC3AiBMDtB1YN79roWACjmp8MqFuTRmJ4oNvsFKtnF2Z1BLhg=="}],"unpackedSize":12168,"size":5391},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.1.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.3-alpha.1","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.1.tgz","_integrity":"sha512-A90KTtORyODlGt6BwYDDTCZUQXo4JT9hFLKe/9bxUL9Jt4B/MRdXCVAfuhv/+wLAImTKAE2W4nI+3EHE5AiyLw==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"peerDependencies":{"@deepseek-ai/cordis":"~4.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.3-alpha.1_1795317634388_0.05369242863971235"},"_cnpmcore_publish_time":"2026-11-22T03:20:34.505Z","publish_time":1795317634505,"_source_registry_name":"default","contributors":[]},"0.2.3-alpha.2":{"_id":"@deepseek-ai/dsh-error@0.2.3-alpha.2","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"355fd467a765dd34712ce25bb7bf16e6ecfdeb26","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.3-alpha.2.tgz","fileCount":10,"integrity":"sha512-0TcXIOtsGpursCrI53LsbRyJHi91ypcQYzta7RM+2yD4rIGXbnBHme4Ppd9OScUqwTvZAUqZe09GJC1riBECwQ==","signatures":[{"sig":"MEYCIQCcPA6/qGWN79yDFYstNa7XlT/JBy79eOe5XJQUsVJqzwIhAId0sCfNQmaiLSMTAgX0lm31nibFpD4kqI+g5Z2sLiFz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEYNzfCOByg/sthR5lZLwsfX8N1gdao9wBemPp31fTdGAiEA1LWq8azeQLrHqWk7Yl2pmL6HySGpP1iXP+z0ORGzKeo="}],"unpackedSize":12184,"size":5395},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.2.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.3-alpha.2","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.2.tgz","_integrity":"sha512-0TcXIOtsGpursCrI53LsbRyJHi91ypcQYzta7RM+2yD4rIGXbnBHme4Ppd9OScUqwTvZAUqZe09GJC1riBECwQ==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.2.0-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"~4.2.0-alpha.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.3-alpha.2_1795340158915_0.3494156269638313"},"_cnpmcore_publish_time":"2026-11-22T09:35:59.016Z","publish_time":1795340159016,"_source_registry_name":"default","contributors":[]},"0.2.3-alpha.3":{"_id":"@deepseek-ai/dsh-error@0.2.3-alpha.3","bugs":{"url":"https://github.com/deepseek-ai/deepseek-harness/issues"},"dist":{"shasum":"636d2bac7dc6f5358ac780fb1d4cbdff9d5d7716","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@deepseek-ai/dsh-error/-/dsh-error-0.2.3-alpha.3.tgz","fileCount":10,"integrity":"sha512-knbuysKMhFandPwe2O9BKd4EtGeGCfDAsQKbUkV9ax0ViCp24eBpv9S+1WC7AWYMI0/ywl7l/gR+u1VCLfdb1g==","signatures":[{"sig":"MEYCIQC8ttCB2flzLlWLi3x8ALNBXD320szYaDYX2hdmy07fIwIhAKusTs8Vm9NS5cQZyh2h7X/ve01M8WpwXQP+TgZ0jwHG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD8gYJBTGIrd7A2WYyv91wayrToPdUc7UscpOclbPOphwIgDG8LeY1XEwvibu9fXtC6GnIh/jw7L+wqYXLuA7k/+Hk="}],"unpackedSize":12184,"size":5395},"main":"lib/index.js","name":"@deepseek-ai/dsh-error","type":"module","_from":"file:/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.3.tgz","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","version":"0.2.3-alpha.3","_npmUser":{"name":"anonymous","email":"imccyu@gmail.com"},"homepage":"https://github.com/deepseek-ai/deepseek-harness#readme","_resolved":"/home/runner/work/deepseek-harness/deepseek-harness/dist/npm/deepseek-ai-dsh-error-0.2.3-alpha.3.tgz","_integrity":"sha512-knbuysKMhFandPwe2O9BKd4EtGeGCfDAsQKbUkV9ax0ViCp24eBpv9S+1WC7AWYMI0/ywl7l/gR+u1VCLfdb1g==","repository":{"url":"git+https://github.com/deepseek-ai/deepseek-harness.git","type":"git","directory":"packages/util/error"},"_npmVersion":"11.19.1","description":"Dependency-free HarnessError base class with a stable machine-routable code for the DeepSeek Harness","directories":{},"maintainers":[{"name":"anonymous","email":"imccyu@gmail.com"},{"name":"anonymous","email":"tianyi@deepseek.com"}],"_nodeVersion":"24.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.zh.md","devDependencies":{"@deepseek-ai/cordis":"~4.2.0-alpha.2"},"peerDependencies":{"@deepseek-ai/cordis":"~4.2.0-alpha.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-error_0.2.3-alpha.3_1795867706037_0.8103805226026943"},"_cnpmcore_publish_time":"2026-11-28T12:08:26.128Z","publish_time":1795867706128,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.2.2-rc.2","next":"0.2.2-rc.5","alpha":"0.2.3-alpha.3"},"name":"@deepseek-ai/dsh-error","time":{"created":"2026-11-12T02:58:29.108Z","modified":"2026-11-28T12:08:41.493Z","0.2.2-rc.2":"2026-11-12T01:55:14.854Z","0.0.0-stage":"2026-11-12T01:51:05.709Z","0.2.2-rc.3":"2026-11-13T07:42:48.116Z","0.2.2-rc.4":"2026-11-17T16:36:50.146Z","0.2.2-rc.5":"2026-11-18T12:50:21.401Z","0.2.3-alpha.1":"2026-11-22T03:20:34.505Z","0.2.3-alpha.2":"2026-11-22T09:35:59.016Z","0.2.3-alpha.3":"2026-11-28T12:08:26.128Z"},"readme":"---\ndescription: \"Dependency-free HarnessError base class whose stable code lets tool results, retries, and replay route failures.\"\nkind: \"package-library\"\n---\n\n# @deepseek-ai/dsh-error\n\nEnglish | [中文](README.zh.md)\n\n## Summary\n\n`dsh-error` holds `HarnessError`, the base class for every expected Harness failure. A `HarnessError` carries a stable machine-routable `code` beside its human-readable `message` and optional `cause`, and its `name` is the constructing class name. The tool registry records `name` and `code` of a thrown `HarnessError` on `tool/result`, so retry policy, UI, replay, and analytics route on the code instead of parsing text. The package has no dependencies, so packages below `dsh-llm` in the dependency graph can extend the base too; `dsh-llm` re-exports the same class.\n\n## Table of Contents\n\n- [Use this package](#use-this-package)\n- [Understand the implementation](#understand-the-implementation)\n- [Further Exploration](#further-exploration)\n- [Dev Note](#dev-note)\n\n-----\n\n<a id=\"use-this-package\"></a>\n## Use this package\n\nExtend `HarnessError` with one class per owning package or domain and give each failure a stable `UPPER_SNAKE_CASE` code:\n\n```ts\nimport { HarnessError } from '@deepseek-ai/dsh-error'\n\nexport class ArchiveError extends HarnessError {}\n\nthrow new ArchiveError('archive entry is missing', 'ARCHIVE_ENTRY_NOT_FOUND')\n```\n\nAssign `this.name` a string literal in a subclass constructor when a bundler could rename the class, because `name` is persisted. Import the class from `@deepseek-ai/dsh-error` or from its `@deepseek-ai/dsh-llm` re-export; both name the same class, so `instanceof` checks agree. The [error class and code guide](../../../.agents/skills/dsh-error-handling/references/error-codes.md) defines class choice, naming, and code conventions.\n\n-----\n\n<a id=\"understand-the-implementation\"></a>\n## Understand the implementation\n\n<details>\n<summary>Implementation internals — click to expand</summary>\n\n### Source map\n\n| File | Role |\n|---|---|\n| [`src/index.ts`](src/index.ts) | The `HarnessError` base class |\n\n### Why it stays dependency-free\n\n`dsh-llm` depends on lower packages such as `dsh-attachment` and `dsh-typert-protocol`, so a base class defined there could not be extended below it without a dependency cycle. Keeping the class in a package without dependencies lets every package extend it; the [decision note](../../../.agents/notes/implemented/architecture/2026-11-05-harness-error-dependency-free-base.md) records the relocation.\n\n</details>\n\n-----\n\n<a id=\"further-exploration\"></a>\n## Further Exploration\n\n- [Tools subsystem](../../../docs/subsystems/tools.md) — how the registry records `ToolErrorInfo` from a thrown `HarnessError`.\n- [Error-handling rules](../../../.agents/skills/dsh-error-handling/SKILL.md) — when code must throw a `HarnessError`.\n\n-----\n\n<a id=\"dev-note\"></a>\n## Dev Note\n\n<details>\n<summary>Working context for maintainers — click to expand</summary>\n\nNone.\n\n</details>","users":{}}