{"versions":{"0.1.0":{"name":"@hyzyn/dsh-kit","version":"0.1.0","description":"dsh-plugin-kit 插件开发工具包：definePlugin 类型助手等共用代码，零运行时依赖。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","typescript":"~5.7.2"},"license":"MIT","publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"_id":"@hyzyn/dsh-kit@0.1.0","_integrity":"sha512-AfHJ0EE0tzWMuEM5OW7dynAg+V8DR60Z76FOrG0wkMNiHvAn1XSdnAcTnlbvXZnqSmpOPZu+rzgaf21saaeTQA==","_resolved":"/private/var/folders/4r/xcfnhzwd04v8850zgr90s0r80000gn/T/2b4fb7360f543bfba34e0bb68b8f5e11/hyzyn-dsh-kit-0.1.0.tgz","_from":"file:hyzyn-dsh-kit-0.1.0.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-AfHJ0EE0tzWMuEM5OW7dynAg+V8DR60Z76FOrG0wkMNiHvAn1XSdnAcTnlbvXZnqSmpOPZu+rzgaf21saaeTQA==","shasum":"69a9edf554ba250bf2a26186212f2fe6fbce244c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.1.0.tgz","fileCount":6,"unpackedSize":3834,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKe7FIxB1kEQappxipzwbSQhBI/dOGttvYmBcfJFDjjgIgUjiESfMzFi6D25ULQR+WGwS4nu4n2JSRoKK5LhY5Nkg="}],"size":2279},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.1.0_1786807459767_0.8952305967975569"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-15T15:24:19.902Z","publish_time":1786807459902,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"@hyzyn/dsh-kit","version":"0.1.1","description":"dsh-plugin-kit 插件开发工具包：definePlugin 类型助手等共用代码，零运行时依赖。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","typescript":"~5.7.2"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@hyzyn/dsh-kit@0.1.1","gitHead":"fd7f6eab85a702ac30fe9953e6844c24b86d3d1b","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-D7JWEz+4f42MqroEEJYQLGR/2onME7RxobzWTn0EM1aPxEhfZS8Lx1o18Ahgl4JH1Ge65nC0OGHpL8vo+5tdbQ==","shasum":"ca328948a3a334fa0c9b3634cc14fc81e849a934","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.1.1.tgz","fileCount":5,"unpackedSize":2751,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+VRTaYFdtligPENmdzvi/lIdl4eg1clQP37uHkRefLQIhAL9JRJQhjLQjjonh5Hj9Cr05xEMqpPfv5aQaKcH5Nlh2"}],"size":1572},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.1.1_1787028950189_0.12596359069816532"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-18T04:55:50.331Z","publish_time":1787028950331,"_source_registry_name":"default","contributors":[]},"0.1.2":{"name":"@hyzyn/dsh-kit","version":"0.1.2","description":"dsh-plugin-kit 插件开发工具包：definePlugin 类型助手等共用代码，零运行时依赖。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","typescript":"~5.7.2"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","directory":"packages/kit"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"_id":"@hyzyn/dsh-kit@0.1.2","gitHead":"5c3a98a69cef0a4092c5fcc83ba8ef5913280c43","_integrity":"sha512-gyQ4XayRKaEIv5sIwe3syILHfWCd+wOdRaLFtv+Dm09XbNELSAUjwXWXuEDSYDvVpXDTm7hJSpZzA/A0NaC1JA==","_resolved":"/private/var/folders/4r/xcfnhzwd04v8850zgr90s0r80000gn/T/b41461e432120001a3a0748ec020b0f1/hyzyn-dsh-kit-0.1.2.tgz","_from":"file:hyzyn-dsh-kit-0.1.2.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-gyQ4XayRKaEIv5sIwe3syILHfWCd+wOdRaLFtv+Dm09XbNELSAUjwXWXuEDSYDvVpXDTm7hJSpZzA/A0NaC1JA==","shasum":"0848c19b9ca4a41d5df65dac8dcf9e2a41d0c499","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.1.2.tgz","fileCount":6,"unpackedSize":4134,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICafFv8Iwoki6yNphNaMAT+sWSlgiZ6JX+ffONz7+qjLAiBuGcUFx8BlCYQ0lXb6JLl+07O0qQ6kwJPwWiFbdriVSA=="}],"size":2381},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.1.2_1787998811397_0.5715043918984648"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-29T10:20:11.519Z","publish_time":1787998811519,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@hyzyn/dsh-kit","version":"0.2.0","description":"dsh-plugin-kit 插件开发工具包：definePlugin 类型助手等共用代码，零运行时依赖。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.2","typescript":"~5.9.3"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","directory":"packages/kit"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"_id":"@hyzyn/dsh-kit@0.2.0","_integrity":"sha512-pd7mLJP9dwntOS1ldGwqOYdABEwIhxUHzSIy7HR1A5rEC62oHuncmMscJzxpruMMqTmr6fASrferpg20UpCjjA==","_resolved":"/tmp/d4281f2c10a19bc73116aa6b04b84458/hyzyn-dsh-kit-0.2.0.tgz","_from":"file:hyzyn-dsh-kit-0.2.0.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-pd7mLJP9dwntOS1ldGwqOYdABEwIhxUHzSIy7HR1A5rEC62oHuncmMscJzxpruMMqTmr6fASrferpg20UpCjjA==","shasum":"bda40617f4311f4cad94fd4398014caad96a1b53","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.2.0.tgz","fileCount":6,"unpackedSize":18089,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCqy0P8X38lXIs89oUZSWgjFdHH9CM86JQZZRujH//4AgIgQDEKXpOpnQ4cXIX0jOZVAH1CTGkIMUj86AvirQmmDFA="}],"size":7654},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.2.0_1789221841248_0.6430680657567776"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-12T14:04:01.385Z","publish_time":1789221841385,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"@hyzyn/dsh-kit","version":"0.3.0","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"dependencies":{"js-yaml":"^4.1.0"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.2","@types/node":"^22.20.0","typescript":"~5.9.3"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","directory":"packages/kit"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"_id":"@hyzyn/dsh-kit@0.3.0","_integrity":"sha512-sQoZtOHgy7p6qQ1fELLlYsNpV935syTIgj3WmudGaA2+t5F20LLWXoe9QXlHeYy8I9fFrweRruljc+4ILvuLSA==","_resolved":"/tmp/c13e04dd644897db734fbdbc2dc7901c/hyzyn-dsh-kit-0.3.0.tgz","_from":"file:hyzyn-dsh-kit-0.3.0.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-sQoZtOHgy7p6qQ1fELLlYsNpV935syTIgj3WmudGaA2+t5F20LLWXoe9QXlHeYy8I9fFrweRruljc+4ILvuLSA==","shasum":"5a23c294654782bbae88d41c2709f78c9c8293b9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.3.0.tgz","fileCount":18,"unpackedSize":52821,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB2fFc6S0ATIK+BsQ4g3yG5J6Wy5OPE+BAZ/PUJENbHHAiBZOATItvJrXV98/uw4NT8VYgZbWlo72BWVGnddaAASmw=="}],"size":20821},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.3.0_1789308498795_0.4678384424601858"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-13T14:08:18.928Z","publish_time":1789308498928,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"@hyzyn/dsh-kit","version":"0.4.0","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","type":"module","engines":{"node":">=22.19.0"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"dependencies":{"js-yaml":"^4.1.0"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.2","@types/node":"^22.20.0","typescript":"~5.9.3"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","directory":"packages/kit"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"_id":"@hyzyn/dsh-kit@0.4.0","_integrity":"sha512-+p7lXO/0qlnb47Gu1OcOA301R/8qgPJsACIau5PIq1pfTZUG9gkpLpYIslKgP6t1/rwXQ611pYrMsgSq+9FG+A==","_resolved":"/tmp/ae948a138ea73b155f65314763213817/hyzyn-dsh-kit-0.4.0.tgz","_from":"file:hyzyn-dsh-kit-0.4.0.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-+p7lXO/0qlnb47Gu1OcOA301R/8qgPJsACIau5PIq1pfTZUG9gkpLpYIslKgP6t1/rwXQ611pYrMsgSq+9FG+A==","shasum":"4ecd4461da4c153837faad45a342344a4ab725ec","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.4.0.tgz","fileCount":24,"unpackedSize":87241,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDdMzm5Ca2GrMG6jl80h3qUoFnc7b4/i7ngG3OdPoptKAiEAxAWB0+9K7mEXu731o9wzDq38msrp8izQjJbhlS7k/IU="}],"size":33578},"_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.4.0_1789655016131_0.30002015682749494"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-17T14:23:36.275Z","publish_time":1789655016275,"_source_registry_name":"default","contributors":[]},"0.4.1":{"_id":"@hyzyn/dsh-kit@0.4.1","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"c3ea90a73492ae6d4ea45e3076ec0605a2a8025e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.4.1.tgz","fileCount":24,"integrity":"sha512-RfH7cL80e9PhPhuN9DFpJye3Fxc1dOFi3fvosJmq+767LmNvquYDs6g8SzKAt6PzlAHYDs3g/upA5YL6lXcc0g==","signatures":[{"sig":"MEUCIDp6+NqpODWkuUQO2B89BmdLYYrXnUtqVhHRegyGSV0yAiEAvKZWKXLr5nNKpIpEKwWDOW1GD2vZFWJQtbHM4AxrooM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCHC2rgNhX8PsfG0/7rCA2Z3YAwsZ7F1kL5hn3fWSg9wQIhAMp+g7eWsGWydUzt44NEk+e341pxl8gwq9rnLsd6gTfT"}],"unpackedSize":92758,"size":35768},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.4.1.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.4.1","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/9ecfce7f2f84e99a153ae9645fae2350/hyzyn-dsh-kit-0.4.1.tgz","_integrity":"sha512-RfH7cL80e9PhPhuN9DFpJye3Fxc1dOFi3fvosJmq+767LmNvquYDs6g8SzKAt6PzlAHYDs3g/upA5YL6lXcc0g==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.8","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.2","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.4.1_1789827858521_0.18915343889283553"},"_cnpmcore_publish_time":"2026-09-19T14:24:18.604Z","publish_time":1789827858604,"_source_registry_name":"default","contributors":[]},"0.4.2":{"_id":"@hyzyn/dsh-kit@0.4.2","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"99aba4361ff689371384b25546c1f860ca2169d6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.4.2.tgz","fileCount":27,"integrity":"sha512-EIdXNQX65y0KdreeH8u2dJmMaDs8D7ImuvCeYFPevzuuv1sGbqbMYkbtjg4wGJuGelQRG5vFylHvfyK/vd1Zsg==","signatures":[{"sig":"MEQCID6KoeSIdxQDbP7g9dnkzY7CE5kFLpoUvStaUwpYZOX5AiBVTBMHNCoZ6C79Mym7NDbPKlISFFvjxrwptuiSF7443g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID2nE2x/qdwQjwpME9htxCtf1YJHsWGEclLSomanBjeAAiA+U3y0RSurvk4BbvBc4SgYOZPG6SPuv8zadHdA9L6qjg=="}],"unpackedSize":104922,"size":40368},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.4.2.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.4.2","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/private/var/folders/4r/xcfnhzwd04v8850zgr90s0r80000gn/T/bf8c0da72aabdff29e26229df426de2a/hyzyn-dsh-kit-0.4.2.tgz","_integrity":"sha512-EIdXNQX65y0KdreeH8u2dJmMaDs8D7ImuvCeYFPevzuuv1sGbqbMYkbtjg4wGJuGelQRG5vFylHvfyK/vd1Zsg==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.8","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.2","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.4.2_1790178101019_0.35547968960647336"},"_cnpmcore_publish_time":"2026-09-23T15:41:41.090Z","publish_time":1790178101090,"_source_registry_name":"default","contributors":[]},"0.5.0-rc.1":{"_id":"@hyzyn/dsh-kit@0.5.0-rc.1","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"5765040cc2448f09b0731da901940fb15559fe88","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.5.0-rc.1.tgz","fileCount":36,"integrity":"sha512-Y+38H6NdjgyCcdBmFEp2LI9f8P59goljCcJHyGAlIeb8u+UTiHya1q9hPlgImaK5oTW2hdB7PoscsdfKaoU0rQ==","signatures":[{"sig":"MEUCIGTMRAJDVxIHWlHVpMNsvI3a5xLlQhIq8/O3cXBVy29CAiEAm4AsdLE+oSwpoL9tPwjcyR5U8Jx+iUjiok8sWyN/55I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDbb2du71/QOT4Lsoj6SxUhI4ZAFuKlE3w0d+5a9kLagQIhAOHAGWHrAetUtILJ03Z4osAFuZL535M++MZT+TC+ieDM"}],"unpackedSize":193995,"size":71455},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.5.0-rc.1.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.5.0-rc.1","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/277e06b8457fe4d3abe1f2f85c6f8140/hyzyn-dsh-kit-0.5.0-rc.1.tgz","_integrity":"sha512-Y+38H6NdjgyCcdBmFEp2LI9f8P59goljCcJHyGAlIeb8u+UTiHya1q9hPlgImaK5oTW2hdB7PoscsdfKaoU0rQ==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.8","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.2","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.5.0-rc.1_1790490837332_0.7742855658232637"},"_cnpmcore_publish_time":"2026-09-27T06:33:57.422Z","publish_time":1790490837422,"_source_registry_name":"default","contributors":[]},"0.5.0":{"_id":"@hyzyn/dsh-kit@0.5.0","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"9640c21adb26aff855ce37c47f1034f3a88933a3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.5.0.tgz","fileCount":36,"integrity":"sha512-TsUBg0TlIdPHYr+rPOEvq1pxDaTuGsK4zz/RKWoknWiqOs0simeSLmUaORsQnK9LTALm7w4/u0q0YGi8ecBHvw==","signatures":[{"sig":"MEUCIFhAg1IWe+EnmViKO0HruLdK7tGedL50maetOHB19XVXAiEA3magKD7uaAnqfXyzH0lK2cwwN660lyDpJvZvfR49xNM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIERMUKjRcDr3evgKZChs1hW13RsfwI/OnxwGBitSQN7eAiAeN/AFD7AC3mU7Hz100pc5rMY4YaOyu5/qSgIWdiNBng=="}],"unpackedSize":193990,"size":71450},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.5.0.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.5.0","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/cdce901d080d08f48dd00b18b4d10a1f/hyzyn-dsh-kit-0.5.0.tgz","_integrity":"sha512-TsUBg0TlIdPHYr+rPOEvq1pxDaTuGsK4zz/RKWoknWiqOs0simeSLmUaORsQnK9LTALm7w4/u0q0YGi8ecBHvw==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.8","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.2","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.5.0_1790520218054_0.9061859198740243"},"_cnpmcore_publish_time":"2026-09-27T14:43:38.152Z","publish_time":1790520218152,"_source_registry_name":"default","contributors":[]},"0.5.1":{"_id":"@hyzyn/dsh-kit@0.5.1","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"126d7b53263043047920b552663c12e8ea273c11","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.5.1.tgz","fileCount":36,"integrity":"sha512-JvoLy3zMPNn1gzqJBjHeXEwPV6Ng2mkdb++EJW/aMWsx6bPYVHev+C4KcxmL25nmbBmyGeNDhE4pO3HQ6lo4LA==","signatures":[{"sig":"MEUCIQC52zEMVypLe7wHHRHrqjs2gwbracLjuV/BmwddaGQcjQIgTwraD7RPR849oWSFH2uHrLCUYGSg1YdnrFn40l6iBOA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG55k4gFBpHzF/WrLwTJX72dZAmgoC7taD5JqFDPfsxyAiEA1372TSSKRKNJebJsOYc49HsL/69Czq/RLHLZrzag5BM="}],"unpackedSize":199351,"size":73364},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.5.1.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.5.1","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/b54baa74ce83b455e67eaa6a534008e9/hyzyn-dsh-kit-0.5.1.tgz","_integrity":"sha512-JvoLy3zMPNn1gzqJBjHeXEwPV6Ng2mkdb++EJW/aMWsx6bPYVHev+C4KcxmL25nmbBmyGeNDhE4pO3HQ6lo4LA==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.8","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.2","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.5.1_1790601651682_0.7187332317203674"},"_cnpmcore_publish_time":"2026-09-28T13:20:51.782Z","publish_time":1790601651782,"_source_registry_name":"default","contributors":[]},"0.5.2":{"_id":"@hyzyn/dsh-kit@0.5.2","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"2cbc8ab5ed95f14fe5ed10e8b88f027496c21f8c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.5.2.tgz","fileCount":39,"integrity":"sha512-6pxraPairvxu+3xEK738tM/p7A1dXB6uAysDnuwE79M3GEj0ykGvMLZUvmdBBDsLv2+ktvjD4hrHGdemcMknRw==","signatures":[{"sig":"MEQCIAzPNzSkB0BUG+GjdmpHb8f++3nY2Zg9Wc0hUbsuHcGcAiBuZxl3hQOKixDr8hN5BiGXMzKSIH2p+WeRi0DbMd97aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDS6lABuMZzpMrf8JSJWdnADErt/lD6+wtoHVRooansjAiEAtXX53D4kBc78tCzUsYHRP7M3Np8Y1AIuVvF1TvIsZog="}],"unpackedSize":225379,"size":82087},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.5.2.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.5.2","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/4791673da90b76663cb5bcc5da61b023/hyzyn-dsh-kit-0.5.2.tgz","_integrity":"sha512-6pxraPairvxu+3xEK738tM/p7A1dXB6uAysDnuwE79M3GEj0ykGvMLZUvmdBBDsLv2+ktvjD4hrHGdemcMknRw==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.9","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.3","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.5.2_1791364602492_0.01318509682782798"},"_cnpmcore_publish_time":"2026-10-07T09:16:42.611Z","publish_time":1791364602611,"_source_registry_name":"default","contributors":[]},"0.5.3":{"_id":"@hyzyn/dsh-kit@0.5.3","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"e360b2dba2d57a74173afb5ee9079f04013cdf1c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.5.3.tgz","fileCount":39,"integrity":"sha512-C3bEZdNFuYan+vfSkiox7wkgYU2JZnq+9e9Yt2ojRLA87LDikoU/d6ZJc4Xrsb6U0EglYqC3zsIxE0IOXkoLJg==","signatures":[{"sig":"MEUCIQCJMlX3+lMkDKyelz0W8y9T0iXSbk4HYox8RIba4+iAZgIgTEKdy5X+jlitOdP7MjgNJ2VjEX5EEBvhUnQhEFhyDWc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICoR+u5JtX6dFAvSbzsEh8SkLz+4zGORb/a0ydV+cMFfAiASANKVQL0o5C3JMyBGt5NwIo35TYZ3ypRjrfFOtaBxeg=="}],"unpackedSize":237115,"size":86545},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.5.3.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.5.3","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/df27cc6f9d10160b72b23853d8113bfc/hyzyn-dsh-kit-0.5.3.tgz","_integrity":"sha512-C3bEZdNFuYan+vfSkiox7wkgYU2JZnq+9e9Yt2ojRLA87LDikoU/d6ZJc4Xrsb6U0EglYqC3zsIxE0IOXkoLJg==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.9","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.3","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.5.3_1792254505372_0.12670327286209737"},"_cnpmcore_publish_time":"2026-10-17T16:28:25.459Z","publish_time":1792254505459,"_source_registry_name":"default","contributors":[]},"0.6.0":{"_id":"@hyzyn/dsh-kit@0.6.0","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"d00178426999372b5808ceafc8da83510283a609","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.6.0.tgz","fileCount":45,"integrity":"sha512-0qx3O1m6JtxTpmwa5Yid1Lynu0GiZ3hsHN6EiJCQvxrim+Pk4irG1DYyqVeycp4yN2sX8v5HnEDUHrFxHwCFrg==","signatures":[{"sig":"MEUCIQDa0xnAL3cwSDm0RKTAc4p/noecs2ZUuONerPwcwZ/wWAIgC1qJ2gFnqRDGedB8956ndS1XQIqmjXoM6fXVImmY7Nw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGHLrbDn1/V/XtG3awmnGNLBzTgNWmNWFeVzoCsheRcRAiA8EZ4sm8Si2Wue+rqgW9lMllXX+5ECiKbifsyglY9NoQ=="}],"unpackedSize":281880,"size":101574},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.6.0.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit"},"version":"0.6.0","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/931481010fe2faf2499471c7437c85b2/hyzyn-dsh-kit-0.6.0.tgz","_integrity":"sha512-0qx3O1m6JtxTpmwa5Yid1Lynu0GiZ3hsHN6EiJCQvxrim+Pk4irG1DYyqVeycp4yN2sX8v5HnEDUHrFxHwCFrg==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.9","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.3","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.6.0_1792418506166_0.27485729015117255"},"_cnpmcore_publish_time":"2026-10-19T14:01:46.292Z","publish_time":1792418506292,"_source_registry_name":"default","contributors":[]},"0.7.3":{"_id":"@hyzyn/dsh-kit@0.7.3","bugs":{"url":"https://github.com/hyzyn/dsh-plugin-kit/issues"},"dist":{"shasum":"4b5dd60e2273c6f87d0217e3cedabe608181ea10","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hyzyn/dsh-kit/-/dsh-kit-0.7.3.tgz","fileCount":48,"integrity":"sha512-0qVJxHSFvibVte8+B99qMeyDbU0fpgFrJ5tAi/pt8dcDxK5vHcdnl85yjE0o79/W1kKnbUz+C9s3Hvz1z0mi2Q==","signatures":[{"sig":"MEUCIQCXY5a4ov4nv6/fRp4hq0iHMYP74rib5RhY/IRhV0HX6AIgFbMq9w8M65XD2z5uYgJkuNtyGnPHscsVfxlM43yQ9IY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE4jZIZ9lUNsjfy/KlgWJ24gVsuJlFsxZTXWRvCmnM57AiEA+Rm3ZC+THnK+87RSTPcevTIcVcwgpGEo+RWfPys1w3A="}],"unpackedSize":330864,"size":115546},"main":"lib/index.js","name":"@hyzyn/dsh-kit","type":"module","_from":"file:hyzyn-dsh-kit-0.7.3.tgz","types":"lib/index.d.ts","engines":{"node":">=22.19.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit","tier-smoke":"node ../../scripts/verify-tier-restrict.mjs"},"version":"0.7.3","_npmUser":{"name":"anonymous","email":"3122522364@qq.com"},"homepage":"https://github.com/hyzyn/dsh-plugin-kit/tree/main/packages/kit#readme","_resolved":"/tmp/c42b59bbedc171e314f68d756c166436/hyzyn-dsh-kit-0.7.3.tgz","_integrity":"sha512-0qVJxHSFvibVte8+B99qMeyDbU0fpgFrJ5tAi/pt8dcDxK5vHcdnl85yjE0o79/W1kKnbUz+C9s3Hvz1z0mi2Q==","repository":{"url":"git+https://github.com/hyzyn/dsh-plugin-kit.git","type":"git","directory":"packages/kit"},"_npmVersion":"10.9.9","description":"dsh-plugin-kit 插件开发工具包：宿主半体共享工具库（HTTP 围栏、托管区块、!!js 表达式、服务读取）与 definePlugin 类型助手。","directories":{},"maintainers":[{"name":"anonymous","email":"3122522364@qq.com"}],"_nodeVersion":"22.23.3","dependencies":{"js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-kit_0.7.3_1792938201179_0.3195579952127843"},"_cnpmcore_publish_time":"2026-10-25T14:23:21.276Z","publish_time":1792938201276,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.7.3","next":"0.5.0-rc.1"},"name":"@hyzyn/dsh-kit","time":{"created":"2026-08-15T15:24:35.239Z","modified":"2026-10-25T14:23:32.398Z","0.1.0":"2026-08-15T15:24:19.902Z","0.1.1":"2026-08-18T04:55:50.331Z","0.1.2":"2026-08-29T10:20:11.519Z","0.2.0":"2026-09-12T14:04:01.385Z","0.3.0":"2026-09-13T14:08:18.928Z","0.4.0":"2026-09-17T14:23:36.275Z","0.4.1":"2026-09-19T14:24:18.604Z","0.4.2":"2026-09-23T15:41:41.090Z","0.5.0-rc.1":"2026-09-27T06:33:57.422Z","0.5.0":"2026-09-27T14:43:38.152Z","0.5.1":"2026-09-28T13:20:51.782Z","0.5.2":"2026-10-07T09:16:42.611Z","0.5.3":"2026-10-17T16:28:25.459Z","0.6.0":"2026-10-19T14:01:46.292Z","0.7.3":"2026-10-25T14:23:21.276Z"},"readme":"# @hyzyn/dsh-kit\n\ndsh-plugin-kit 的插件开发工具包：类型助手 + 宿主半体共享工具库。\n运行时依赖只有 `js-yaml`（!!js 表达式方言）；`@deepseek-ai/cordis` 仅为类型。\n\n## API\n\n### 类型助手\n\n- `definePlugin(plugin)` —— 类型化身份函数，返回带 `DshPlugin<C>` 精确类型的插件对象；\n- `DshPlugin<C>` / `PluginConfig` —— 插件对象与配置的类型。\n\n```ts\nimport { definePlugin } from '@hyzyn/dsh-kit'\n\nconst plugin = definePlugin<{ enabled?: boolean }>({\n  name: 'my-plugin',\n  inject: [],\n  apply(ctx, config) {\n    /* 挂载逻辑 */\n  },\n})\n\nexport const { name, inject, apply } = plugin\n```\n\n### Windows `.cmd` shim（`windows-shim`）\n\nWindows 上 npm / pnpm / 独立安装器给出的 CLI 往往只有 `.cmd` shim，没有真正的\n`.exe`。`spawn` / `execFile` 默认 `shell: false` 时：裸命令名解析不到 `.cmd`\n（`spawn codegraph ENOENT`），写绝对 `.cmd` 路径又被 Node 因 CVE-2024-27980 加固拒绝\n（`spawn … EINVAL`）。本模块把命令行交给 `%COMSPEC% /d /s /c`，转义规则同 cross-spawn\n（MCP 官方 SDK 的做法）。\n\n- `spawnPortable(command, args, options)` —— 跨平台启动外部命令；Windows 上非 `.exe` /\n  `.com` 自动套 cmd.exe。**参数转义由本模块负责，调用方只管传 argv**；\n- `portableSpawnPlan(command, args, { platform, comspec })` —— 纯函数，决定「直连」还是\n  「经 cmd.exe」。抽出来是为了能在任何平台断言这条分支（选错就等于命令注入或必然 ENOENT）；\n- `escapeCommand` / `escapeArgument` / `windowsCommandLine` —— cmd.exe 转义规则；\n- `taskkillArgs(pid)` / `killProcessTree(pid)` / `terminateChild(child)` —— Windows 上\n  `/T` 收整棵进程树：shim 里真正的程序是 cmd.exe 的**孙**进程，只 `child.kill()` 会留下孤儿。\n\n```ts\nimport { spawnPortable, terminateChild } from '@hyzyn/dsh-kit'\n\nconst child = spawnPortable('codegraph', ['serve', '--mcp'], { cwd: project })\n// ...\nawait terminateChild(child)\n```\n\n### 子进程输出解码（`decode`）\n\nWindows 上 cmd.exe 自己的错误消息按**控制台代码页**（中文系统 CP936）写管道，而\n`Buffer#toString()` 默认 UTF-8 —— 卡片上的报错会整段变成 `���`。\n\n- `createOutputDecoder({ fallbackEncoding? })` —— 流式容错解码器：严格 UTF-8 优先，\n  遇到真正非法的字节就把**整条流**回落到控制台代码页重解一次；不完整的多字节尾巴留在\n  内部，所以**块边界切在字符中间也不会误判**；\n- `decodeOutput(buf, options)` —— 一次性版本（适合 `execFile` 的 `encoding: 'buffer'`）；\n- `consoleEncoding()` —— 当前控制台输出代码页对应的编码标签（Windows 上问 `chcp`，\n  其余平台恒为 `utf-8`），进程内缓存。\n\n```ts\nimport { createOutputDecoder } from '@hyzyn/dsh-kit'\n\nconst stderr = createOutputDecoder()\nchild.stderr?.on('data', (chunk) => (tail += stderr.decode(chunk)))\nchild.on('close', () => (tail += stderr.flush()))\n```\n\n### 服务与 DSH 目录（`services`）\n\n- `getService(ctx, name): unknown` —— 读宿主服务：先 `ctx.get(name)`，取不到再回退\n  `ctx[name]`（兼容宿主不同版本 / 插件直接挂属性的写法）；服务真值是 falsy 时不会\n  误回退。\n- `dshHome(): string` —— DSH 主目录：`DSH_HOME`（trim 后）优先，否则 `~/.dsh`。\n  全仓曾有 8 份逐字重复的推导，读的是同一份配置目录，新代码一律用这个函数。\n\n```ts\nimport { dshHome, getService } from '@hyzyn/dsh-kit'\n\nconst sessionQuery = getService(ctx, 'sessionQuery')\nconst patchFile = join(dshHome(), 'cordis.patch.yml')\n```\n\n### HTTP 路由辅助（`http`）\n\n宿主半体路由的共用围栏与响应样板，类型是结构化的 `ReqLike` / `ResLike`\n（不绑定 node:http 版本，测试可直接传假对象）：\n\n- `isLoopbackRequest(req): boolean` —— loopback-only + 同源围栏：remoteAddress 必须是\n  回环地址、Host 必须指向本机（防 DNS rebinding）、`sec-fetch-site: cross-site` 拒绝、\n  `Origin`（若有）必须与 Host 同源。10 个插件的重复围栏收敛于此模块（本函数是**同步档**，\n  语义未动；其中 4 个已升加固档，见下）。\n- **加固档**（2026-09-25 自 `docker` 上提，`docker` · `tty` · `dsh-mcp` · `loglens` 四包在用；\n  两档的边界见 [architecture.md § 一条请求经过什么](../../docs/architecture.md#7-一条请求经过什么)）：\n  - `isLoopbackRequestStrict(req): boolean | Promise<boolean>` —— 127/8 全段 + `::1` +\n    IPv6 映射、`*.localhost` 与 `/etc/hosts` 别名的 DNS 确认（500ms 超时 / 60s LRU）、\n    **来源检查排在 DNS 之前**。字面量环回走同步分支（保持「第一拍就建流」的时序），\n    所以**调用方必须处理 Promise 那一支**；\n  - `hasSameOriginProof(req): boolean` —— 变更端点与长流端点的同源证明：`Sec-Fetch-Site:\n    same-origin` 或同源 `Origin`；两者都缺省时只放行**带宿主 Cookie** 的请求（桌面壳那条\n    转发链会删掉前两个头，见 `docker D139`）；\n  - `originProofHint(req): string` —— 403 的成因摘要（只报三个头的有无，**不落 Cookie 值**）；\n  - `isLoopbackAddress(address): boolean` —— 地址判定本身（127/8 全段 + IPv6 等价形式）。\n- `writeJson(res, status, body, headers?)` —— JSON 响应基线（content-type /\n  referrer-policy / cache-control: no-store / x-content-type-options: nosniff），\n  `headers` 可覆盖单条。\n- `readJsonBody(req, maxBytes = 1MB)` —— 聚合请求体并解析对象；超限、流错误、\n  非法 JSON、非对象结果一律返回 `undefined`（调用方按 400 处理）。\n\n```ts\nif (!isLoopbackRequest(req)) return writeJson(res, 403, { error: 'forbidden: loopback-only' })\nconst body = await readJsonBody(req)\nif (body === undefined) return writeJson(res, 400, { error: 'invalid json body' })\n```\n\n```ts\n// 加固档：字面量环回同步、别名主机名才等 DNS——所以要处理两种返回\nconst loopback = isLoopbackRequestStrict(req)\nconst ok = loopback instanceof Promise ? await loopback : loopback\nif (!ok) return writeJson(res, 403, { error: 'forbidden: loopback-only' })\nif (!hasSameOriginProof(req)) return writeJson(res, 403, { error: '缺少同源证明' })\n```\n\n### 能力开关的宿主侧授权（`capability` / `grant-store` / `elevation`）\n\n危险能力开关（docker 的 `allowMutations` / `allowExec`、tty 的 `allowProxyCommand`）的\n**提权通道**。为什么需要它：回环围栏与同源证明都拦不住**跨站页面与页内脚本**（它们能发\nHTTP，也能自己填 `Sec-Fetch-Site: same-origin`——那是请求头不是凭据），于是\n`POST /config {allowMutations:true}` 曾经一次就能把危险能力打开。为什么不是给 `/config`\n加一次性 token：它是插件被禁用后**唯一**的恢复入口，token 化等于把用户锁在外面\n（取舍与威胁模型边界见 [architecture.md § 一条请求经过什么](../../docs/architecture.md#7-一条请求经过什么)）。\n\n两条通道：\n\n1. **启动环境变量**（最严档）：判定源是宿主的**启动环境快照**，且**只认继承来的 `process`\n   层**——`project-env`（`<cwd>/.env`）与 `user-env`（`$DSH_HOME/.env`，环境变量卡片写的\n   `~/.dsh/env.yml` 就是它）都算**不**授权：它们都有运行期写入路径，拿它们当闸门等于没有闸门。\n2. **就地提权**（免重启档）：页内点开关 → 面板给出一条「在宿主上落地一个随机名文件」的命令\n   → 宿主发现该文件即授权，写进 `grant-store`（`<DSH home>/dsh-kit/capability-grants.json`，0600，\n   原子写；确认目录 `<DSH home>/dsh-kit/grant-confirm/`）。**落点收在 `dsh-kit/` 这一级**：DSH\n   主目录是所有所有者共用的平铺目录（官方的 `sessions/` `storages/`，本仓的 `tty/` `rss-digest/`），\n   而 `capability-grants.json` / `grant-confirm/` 描述的是**机制**、不带所有者，铺在那一层容易与\n   官方或别的插件撞名（**kit D08**）。拦得住跨站页面与页内脚本；**拦不住**能在本机执行命令的\n   同用户进程——它读得到自己那次 `begin` 的响应、也写得了那个文件，本来还能直接跑 `docker`\n   （不在威胁模型内）。\n\n- `bindCapabilitySources(ctx, grants?)` —— **各插件在 `apply()` 第一行调用**：绑定「这次宿主\n  的启动环境」与带外授权存储（不传 = 本插件只有启动环境通道；docker / tty 都传了存储）；\n- `capabilityGranted(spec): boolean` —— 有没有授权（环境变量值为 `1` / `true` / `yes` / `on`\n  才算；**绑定后运行期改 `process.env` 不生效**）；\n- `capabilityGrantVia(spec): 'env' | 'file' | undefined` —— 由哪条通道授权（两条都命中时报\n  `'env'`：那时撤销带外授权并不能真的关掉能力，界面据此不给「撤销」按钮）；\n- `capabilityGrantAt(spec): number | undefined` —— 授权时刻（Unix 秒；**只有 `file` 通道有值**，\n  环境变量通道没有「授权时刻」）。授权是**持久**的：重启后直接生效、不再确认，界面至少要能说出\n  它是什么时候来的（**kit D09**）；界面按**逐能力一行**把它显示在对应开关后面（不是两个能力合排一行）；\n- `capabilityHowTo(spec, { inPlace? })` / `capabilityDeniedMessage(spec, { inPlace? })` ——\n  界面提示与 400 文案（**把通道说清**：哪条变量、要不要重启、`.env` / `env.yml` 不算授权；\n  `inPlace: true` 才提「就地确认」，否则用户会去卡片上找一个不存在的入口）；\n- `capabilityPaths(dshHomeDir): { dir, grantsFile, confirmDir }` —— kit 的落盘布局，\n  **路径只在这里拼一次**；插件不要自己 `join(dshHome(), …)`（两处各拼一遍就是漂的种子）。\n  `DSH_KIT_HOME` 能把这一级的目录整份换掉（`resolve` 归一后使用；空串 / 全空白视为没设）：\n  **这是测试 / 诊断用的旋钮，不是给用户调的**——能设置宿主环境变量的人本来就能用启动环境变量\n  那条通道直接授权，这里只是把「授权落在哪个目录」也变成可注入的。真宿主验收\n  （[live-host-smoke.mjs](../../scripts/live-host-smoke.mjs)）靠它给「无授权实例」一份空目录：\n  带外授权是持久的，不隔离的话那个实例会继承你机器上的授权，A 段九条断言就全是假红（**kit D12**）；\n- `sharedGrantStore(dir)` —— **插件取授权存储的唯一正确方式**：同一个目录在同一进程里只造一个\n  实例。为什么不是「各插件自己 `new GrantStore(dir)`」：能力判定是模块级单例（`bindCapabilitySources`\n  后绑定覆盖前一次），而 `GrantStore` 是首查读盘 + 进程内缓存——各 `new` 一个等于每个插件拿一份\n  快照副本，后授权的插件在别的插件眼里永远「没授权」（真机实测：tty 授权成功后自己的快照仍是\n  `false`，界面连撤销按钮都不渲染 → **kit D11**）。也不能改成「多来源取并集」：过期副本会否决撤销；\n- `GrantStore` / `createElevationManager({ confirmDir, store, logger, onGrantChange })` ——\n  授权存储与就地提权管理器。`onGrantChange` **必填**：授权到达与撤销都要回调宿主重算\n  （少了它，症状是「授权成功但工具没注册」或者「撤销了工具还开着」）；\n- `auditLoadedGrants(store, capabilities, logPrefix?)` —— **启动期审计**：把盘上已有的\n  带外授权逐条打出来（`elevation: load capability=… via=file grantedAt=…`）。不带它，重启后\n  「静默继承」的授权在日志里查不到（**kit D09**）。审计行（含管理器的 begin / grant / expire /\n  revoke）的出口是 **stdout（console.log）**，不是插件的 `ctx.logger`——真机实测后者在 0.2.x\n  宿主上无处可见（**kit D14**，与 tier-gate 的日志出口同一取向）。\n\n**已知限制**（经复核确认，刻意不修，别当缺陷重报）：运行期改 / 删授权文件**不生效**（要重启才\n读到——删文件当撤销是容易误以为生效的一侧，界面上的「撤销宿主授权」才是正路）；授权记录的 key 是\n**裸环境变量名**、不含插件身份（同名 env 的两个插件会共享一条授权）；没有「仅本次运行有效」档位\n（TTL / boot 计数），持久生效是刻意的。\n\n```ts\nconst CAP = { env: 'DSH_DOCKER_ALLOW_MUTATIONS', label: '变更操作' }\napply(ctx) {\n  const paths = capabilityPaths(dshHome())\n  const store = sharedGrantStore(paths.dir)               // 必须在第一次 capabilityGranted 之前\n  bindCapabilitySources(ctx, store)\n  auditLoadedGrants(store, [CAP.env], '[dsh-docker]')         // 持久授权的「载入」也要留痕\n}\n// 有效值 = 配置值 && 授权；HTTP 侧给 true 而无授权直接 400（不能凭空升）\nif (patch.allowMutations === true && !capabilityGranted(CAP)) return writeJson(res, 400, { error: capabilityDeniedMessage(CAP, { inPlace: true }) })\n```\n\n### !!js 表达式（`js-expr`）\n\nDSH 配置里的 `!!js <expr>` 方言（loader 用同一方言求值）：\n\n- `JsExpr` / `isJsExpr(value)` —— `{ __jsExpr: string }` 节点与判定；\n- `JsExprType` / `jsYamlSchema` —— js-yaml 自定义类型与带 !!js 支持的 schema\n  （load / dump 无损往返）；\n- `evalJsExpr(expr): unknown` —— 等价 `new Function('process', 'return (' + expr + ')')`；\n- `dtoValue` / `fromDtoValue` —— 浏览器 DTO 的 `\"js:\" + expr` 前缀互转。\n\n信任模型：表达式来自用户自己的配置文件，求值等价于用户在自己机器上执行代码\n（与 loader / mcp / env 的现状一致）。不要把外部输入送进 `evalJsExpr`。\n\n### 托管区块（`managed-block`）\n\nenv.yml / cordis.patch.yml / prompts.yml 共用的「注释标记圈出自动生成内容」模式，\n纯函数、参数化标记，供后续迁移与新插件使用：\n\n- `spliceManagedBlock(text, { beginMarker, endMarker, body })` —— 区块整体替换；\n  无区块追加到文件末尾（前置空行）；`body: ''` 删除整个区块（含标记）；区块外\n  内容逐字节保留，重复写入逐字节稳定。**追加前**会先摘掉根位置上的空 flow 序列\n  `[]`（见下），否则写出的是一份宿主拒载的文件（codegraph CG67）；\n- `stripEmptyFlowSequenceRoot(text)` / `stripEmptyFlowSequenceRootLines(lines)` ——\n  认出「文件里**第一条**非空、非注释行是 `[]`」并摘掉它；没认出时返回 `undefined` /\n  `changed: false`，调用方据此**不动**文件。为什么必须认这个位置：DSH 给每个 profile\n  生成的 `cordis.patch.yml` 模板与 `~/.dsh/cordis.patch.yml` 的惯例内容都是「几行注释 +\n  `[]`」，而 `[]` 是一份**完整**的 YAML 文档（flow 序列根），其后再接块序列整份文件就非法。\n  文本版供 `spliceManagedBlock` 与 mcp / env / prompt 的写入器用，行数组版供本来就在\n  行数组上作业的调用方（codegraph 的 `syncManagedMcpRow`）用。**新插件写托管区块时，\n  追加走 `spliceManagedBlock` 就自带这一步，不要自己往文件尾部拼**；\n- `readManagedBlock(text, { beginMarker, endMarker })` —— 返回标记间正文；缺起始\n  或结束标记返回 `undefined`（损坏，调用方应报错而不是用半截内容）；\n- `writeFileAtomic(file, data, mode = 0o600)` —— 同目录临时文件 + rename 原子写\n  （配置 watch 不会读到半截文件），mode 只会被 umask 进一步收紧。\n\n```ts\nconst markers = { beginMarker: '# --- my-plugin managed ---', endMarker: '# --- end my-plugin managed ---' }\nconst text = existsSync(file) ? readFileSync(file, 'utf8') : ''\nwriteFileAtomic(file, spliceManagedBlock(text, { ...markers, body: renderRows(rows) }))\n```\n\n## `enabled` 开关约定\n\nkit 生态的插件统一支持 `enabled` 配置（默认 `true`），语义分两层：\n\n- **挂载层**：composition 配置里 `enabled: false` 时 `apply` 直接返回，\n  不注册任何服务、路由与设置卡片（卸载级禁用，重启后保持）。\n- **运行层**：用户在设置卡片里关掉「启用插件」写的是 settings 命名空间，\n  插件保持挂载，但必须**热生效**：\n  1. agent 工具全部注销（`refreshTools` 入口按 `enabled` 短路）；\n  2. 数据类 HTTP 路由一律 403，仅保留 `GET/POST /config` —— 设置卡片靠它\n     渲染，也是重新启用插件的唯一 UI 入口，**不能**一并关掉；\n  3. systemPrompt 能力公告按 `enabled && announceToAgent` 重建（撤下 / 恢复）。\n\n设置卡片在禁用后必须仍然可见可保存，否则用户没有 UI 入口重新打开插件；\n不要把「禁用」实现成不注册 settings 命名空间。参考实现：\n`packages/docker/src/index.ts`（`refreshTools` / 路由守卫 / `refreshAnnouncement`）、\n`packages/tty/src/index.ts`（同约定，另有 WS 升级闸门：禁用时断开存量连接并拒绝\n新升级，PTY 进程转孤儿保活，重新启用后客户端自动重连 attach）、\n`packages/rss/src/index.ts`（开关写 store 文件 `~/.dsh/rss.json` 而非 settings\n命名空间：数据路由守卫 + 调度器 tick 短路 + systemPrompt section 撤下/重挂）。\n\n## 设置卡片约定（settings.plugin.item）\n\nkit 插件的设置面板按宿主槽位代际注册三代（`plugins.bundle.config` 详情页内联 /\n`plugins.row.config` 行详情 / `settings.plugin.item` 老宿主），另加本仓\n`settings.kit.item` 的配置页条目；key 一律是各自的 settings 命名空间。\n功能面走主界面侧栏入口（与宿主「插件市场」的导航项 + 列表卡片分层同构）。\n\n### order 取号\n\n卡片排序共用 **90-119 段**，逐个占号；新插件从 106 起顺延，不要复用已占的号\n（撞号时渲染顺序未定义）：\n\n| key | 插件 | order |\n| --- | --- | --- |\n| prompt-manager | Prompt 管理 | 90 |\n| profile-manager | Profile 管理 | 92 |\n| rss-digest | RSS / 新闻聚合 | 94 |\n| mcp-config | MCP 服务器配置 | 96 |\n| env-manager | 环境变量 / 密钥管理 | 98 |\n| tty | 终端面板 | 100 |\n| docker | Docker 容器面板 | 102 |\n| codegraph | Codegraph | 104 |\n\n### 套件徽标\n\n每张卡片头部右侧放统一徽标，视觉上承认同族（不靠导航结构）：头部按钮内、\nchevron 之前插入 `<span class=\"dshkit_badge\">Kit</span>`，并把共用样式注入本\n插件的样式表：\n\n```css\n.dshkit_badge{flex:none;margin-left:auto;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:16px;letter-spacing:.02em;color:var(--dsw-alias-label-dimmed);background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1)}\n```\n\ntty / docker 分别用 `--tt-*` / `--dk-*` 令牌派生配色（见各自 css 文件里的\n`.dshkit_badge` 规则），其余插件直接用上面的 `--dsw-*` 版本。","users":{}}