{"versions":{"0.0.0-stage":{"name":"@linxin666/dsh-win-bash","version":"0.0.0-stage","description":"Temporary package placeholder for staged publishing","stub":true,"_id":"@linxin666/dsh-win-bash@0.0.0-stage","dist":{"integrity":"sha512-+Amw18qE1WMpqX7+Jt/zo8aUa2Dl+DRDGsYQZAFBHkykDZFPLANzxudvY9cMgK5Jg8aoL5E712kvaYigHPF7vQ==","shasum":"e09ccb7f38dd68f2abc61d2d8fe5d8dee16b348e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.0.0-stage.tgz","fileCount":2,"unpackedSize":345,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEohpLJL/VzRrlMB82iORd+n0zlB8165NkLrtL/izGyAIhAIIPx24qCHPAQqHIRMyJwf+tT3iGGEV1+0PfSUCmq7Gc"}],"size":370},"_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_cnpmcore_publish_time":"2026-10-17T13:48:03.621Z","publish_time":1792244883621,"_hasShrinkwrap":false,"_source_registry_name":"default","contributors":[]},"0.4.7":{"_id":"@linxin666/dsh-win-bash@0.4.7","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.2"}},"dist":{"shasum":"0256a637254a3b1e4deae9a35850dcc182a94ba9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.7.tgz","fileCount":118,"integrity":"sha512-NaOl1dmVWR5z4hmnBEQNAulpDcaGvSRXExBuuiDOY3D6urYy3Yb3kAk6qR/TOGpTvflAtVBnxySy4+b6acKxoA==","signatures":[{"sig":"MEQCIBcyB8cV69eF6omWZ0d6cJ5o9ssftE0xyn6zTZIigB0hAiB4MgtWLrnkuK3nVMr9wMDP/LamW3zxnjDZrcZn88AT2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEeyrLrc/3y3x5l4nfZWaLA1G9ifh5XnAPHosGOeX6K6AiBOtIMalXyu4ahpZLZwO7RQhbeNopnf+4f4FGrBMo1/7g=="}],"unpackedSize":17227646,"size":8327951},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.7","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.2","@deepseek-ai/dsh-tools":"^0.2.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.2","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.2"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.7_1792245618863_0.9896531831406212"},"_cnpmcore_publish_time":"2026-10-17T14:00:19.094Z","publish_time":1792245619094,"_source_registry_name":"default","contributors":[]},"0.4.8":{"_id":"@linxin666/dsh-win-bash@0.4.8","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.2"}},"dist":{"shasum":"ac5dee0b7bfd4a41f0622e40ad6f7e99ce0d1ce2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.8.tgz","fileCount":118,"integrity":"sha512-pltISNtXkFo0t5OnaTndrxUgvHKAekTd/yFLRNuX/dKA154hwNLwsN8vdRoDe6D4sbnA5W0l3wMOtMnLLd96/Q==","signatures":[{"sig":"MEUCIHbue563Pk8RQiXnF1275bzjuBNOJQxZGIieIxcocuJkAiEAmqcP4545r/WZZfFGWv7Z4Bco7LRIIRafCYvISRpIW1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAorJI7lP+ufnW6EBODeI3SioSz/TBfzTRmYBDNo0dzyAiEA6tFY1Pem3cFkDdDT6CdqcEgGS0RbgrzPBQmbKSBiyCI="}],"unpackedSize":17235740,"size":8331138},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.8","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.2","@deepseek-ai/dsh-tools":"^0.2.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.2","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.2"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.8_1792458280022_0.43594759836401"},"_cnpmcore_publish_time":"2026-10-20T01:04:40.281Z","publish_time":1792458280281,"_source_registry_name":"default","contributors":[]},"0.4.9":{"_id":"@linxin666/dsh-win-bash@0.4.9","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"ee905172e4f3688e2a0403adb2e3aedb06e84f0a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.9.tgz","fileCount":118,"integrity":"sha512-H7jhqu5cjatHBa/LSaKdLONIBT0vUQUsg92FH5kGGkjTWUS/6IFa76yFsCfh4vljTG9jFfpplDsLhlSSWJXE2Q==","signatures":[{"sig":"MEUCIQCwc3Hd+Dxycj50fQ4c3dVIQtvNsrgwUZUXFTs73KDjfwIgCUqEDjfnPBzGwxqYXJ4PdDkHeH+0+z0AyaN8lRvGc+E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDeDvkuo8+bBpIuKoo+JrXJoaWwTGd0MHpx+5xXJOWcgAIgdijgHci8L/ZGWLzcuW64E9x5GGrc25Eg/Yt7mh9NrvQ="}],"unpackedSize":17235740,"size":8331138},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.9","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.9_1793000019363_0.8515846385509032"},"_cnpmcore_publish_time":"2026-10-26T07:33:39.555Z","publish_time":1793000019555,"_source_registry_name":"default","contributors":[]},"0.4.10":{"_id":"@linxin666/dsh-win-bash@0.4.10","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"755a8da028d186f1fd7effa516810540984de8e4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.10.tgz","fileCount":118,"integrity":"sha512-dBjENUi3iGe9NqOUyy+UOMMJiHRobJFtvLqI2gnamjWDudFXXSvrNza2vio8FDMn5siJEfc+nqBygMeMjbUlKQ==","signatures":[{"sig":"MEYCIQDdSLDSxXeEbqs7vN2hbFD2M0WZ7zUQ4NVhOkcLS0mJwwIhALRodOxxG4nBWnbXvlSsKf/GfoZiNZuWgajgd8n+4jh1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBzMD3w8diCTyAeXSSsJqOY3B1ORaqnT7dP0LMnQwSJ6AiAw051CEw6zWqMGWAbJgYC9psXwJHQZIao1Z2giichmFg=="}],"unpackedSize":17235741,"size":8331138},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.10","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.10_1793029239819_0.11479152297683037"},"_cnpmcore_publish_time":"2026-10-26T15:40:40.146Z","publish_time":1793029240146,"_source_registry_name":"default","contributors":[]},"0.4.11":{"_id":"@linxin666/dsh-win-bash@0.4.11","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"1b2862f84fc95bcc27bfd6b193707fa9869ecde3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.11.tgz","fileCount":118,"integrity":"sha512-6OTqYsR4yERf/aqfSIym4T06TeZc3+nojgA4pIvItC2SdsfWiup5gsn2HerKmum+WWkJhFSU+hrjtU0hAMlmfQ==","signatures":[{"sig":"MEYCIQCapwYfpYLNAxs2X66f0vuPA8FzY6HVfIp5IQvkxSQAhQIhAJFNOPv9gu6H+WWB7NEXXjpv1VMmT/W81qlc3ESRaj1D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDsbIzpmc/q+nkloZXhTAjJffuskg+XhXqym1PgZD2iBAiBZM7DYE3o5ud+58ol7ppY2IpG4BOkentOqcVYbMwYFuA=="}],"unpackedSize":17235741,"size":8331138},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.11","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.11_1793061999646_0.5958390589639223"},"_cnpmcore_publish_time":"2026-10-27T00:46:39.845Z","publish_time":1793061999845,"_source_registry_name":"default","contributors":[]},"0.4.12":{"_id":"@linxin666/dsh-win-bash@0.4.12","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"95145dee0dafe22b7d0d847e3680e1618ebc6826","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.12.tgz","fileCount":118,"integrity":"sha512-HhmI5r6dEj2ut/U0cA+onISObouRNVB336F9XUj7qjKVc4bkncaTAZZUDk9gZtjXMzB/br4hzC1lrpJBmcnAPw==","signatures":[{"sig":"MEYCIQDHBPNsx0kJ/ZiAeVH4bqpj5BXn0jhN6NsmUMm/whextQIhAPEFSOyRpf3DDK4PzbhqHlFLUrwmeSK1h1uC6E+8WwYm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFCB4MgIrUvRc7rHzov4J63sftlpaHjbSIsWZ8h48KX2AiAYUJP3ebfcUOnXSSXDEbLkfAfJkS4JjfgAZKjGT8VBWw=="}],"unpackedSize":17235741,"size":8331138},"main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.12","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.12_1793233572628_0.04855799911949532"},"_cnpmcore_publish_time":"2026-10-29T00:26:12.830Z","publish_time":1793233572830,"_source_registry_name":"default","contributors":[]},"0.4.13":{"_id":"@linxin666/dsh-win-bash@0.4.13","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"f59ad01d7a3a0edecd37e024cd33e231edb582fb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.13.tgz","fileCount":121,"integrity":"sha512-KfXyDZkZBIfUyt/ZC87b71AVy5SwZOKcY0JMLYgy8M+IA5adz2fJWKnpnBUPDDRBKVpf+tiXyYtx3mKtrLVMcA==","signatures":[{"sig":"MEUCIQDSs6gxAyBQARHgTgMS22g/Nfu2MOgYvdrnSS/BWBP/5QIgY7kPC+d2Ez1yo8zYGFpMExEbp/aKsVfXbJveNvLBVRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCoK+EdFYU1xPaCBXxWXZcFw6LPb/oV7U+QOjYvE9qC0gIgHiPBOjpb5nxZhYgYLUyHeo4ZWoytDCaGXGVNpi7iR3c="}],"unpackedSize":17239853,"size":8332932},"icon":"icon.svg","main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json","./locale/en.json":"./locale/en.json","./locale/zh.json":"./locale/zh.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.13","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.13_1793436845635_0.0005606223392931042"},"_cnpmcore_publish_time":"2026-10-31T08:54:05.819Z","publish_time":1793436845819,"_source_registry_name":"default","contributors":[]},"0.4.14":{"_id":"@linxin666/dsh-win-bash@0.4.14","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"engines":{"dsh":">=0.2.1-rc.3"}},"dist":{"shasum":"1227a2eb43e5e280a98f80ba7eac81c44987fc19","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@linxin666/dsh-win-bash/-/dsh-win-bash-0.4.14.tgz","fileCount":123,"integrity":"sha512-erWdyn1Y+qoTnszMF7wGIYVU6sw05ayeExRj3Kb0kkIft6nLaoLIr3kRIwwu7nv9dn2TMONExYl4LQOH2Wm5DA==","signatures":[{"sig":"MEYCIQDAzqehEXL/DWEKqM3iWB9+dlysrAwWx45zoLNeRbpLuAIhAJSbN6wIS+tyUghDAOc1+of0AjhUWTDmTFFbkx4hKwf5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHKftaaf2j0AatNwnz+k/YbYd9YLE2zLuD3elm8U7HIUAiAqi3zrwgOEljxdsK005+xPVWRr/RZ6o3zd8tE1piasyA=="}],"unpackedSize":17292586,"size":8346513},"icon":"icon.svg","main":"lib/index.js","name":"@linxin666/dsh-win-bash","type":"module","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./src/*":"./src/*","./package.json":"./package.json","./locale/en.json":"./locale/en.json","./locale/zh.json":"./locale/zh.json"},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json && tsdown","watch":"tsdown --watch","typecheck":"tsgo --noEmit"},"version":"0.4.14","_npmUser":{"name":"anonymous","email":"linxin@linux.do"},"repository":{"url":"https://github.com/zhu1090093659/dsh-web.git","type":"git"},"description":"Pinned private bash for Windows x64 DSH sessions: one persistent bash process per session behind the win_bash tool, carrying a digested Git for Windows MinGit payload and no PATH fallback.","directories":{},"maintainers":[{"name":"anonymous","email":"linxin@linux.do"}],"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.2","vitest":"^4.1.8","typescript":"~5.7.2","@types/node":"^22.20.0","@deepseek-ai/cordis":"^4.0.5","@deepseek-ai/dsh-agent":"^0.2.1-rc.3","@deepseek-ai/dsh-tools":"^0.2.1-rc.3","@deepseek-ai/dsh-sandbox":"^0.2.1-rc.3","@deepseek-ai/schemastery":"^3.18.5","@deepseek-ai/dsh-subprocess":"^0.2.1-rc.3"},"peerDependencies":{"@deepseek-ai/dsh":">=0.2.1-rc.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-win-bash_0.4.14_1793612717310_0.2268886012373449"},"_cnpmcore_publish_time":"2026-11-02T09:45:17.516Z","publish_time":1793612717516,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.4.14"},"name":"@linxin666/dsh-win-bash","time":{"created":"2026-10-17T13:48:18.528Z","modified":"2026-11-02T09:45:32.306Z","0.0.0-stage":"2026-10-17T13:48:03.621Z","0.4.7":"2026-10-17T14:00:19.094Z","0.4.8":"2026-10-20T01:04:40.281Z","0.4.9":"2026-10-26T07:33:39.555Z","0.4.10":"2026-10-26T15:40:40.146Z","0.4.11":"2026-10-27T00:46:39.845Z","0.4.12":"2026-10-29T00:26:12.830Z","0.4.13":"2026-10-31T08:54:05.819Z","0.4.14":"2026-11-02T09:45:17.516Z"},"readme":"# @linxin666/dsh-win-bash\n\nEnglish | [中文](README.zh.md)\n\nA pinned, private bash for Windows x64 DSH sessions. The plugin ships its own\nGit for Windows MinGit payload, keeps one persistent bash process per session\nbehind the `win_bash` tool, and never falls back to a bash found on `PATH`.\n\n## Why\n\nModels write shell commands in bash syntax - pipelines, `$VAR`, single\nquotes, here-documents - and a Windows session whose only shell is PowerShell\nanswers many of them with a syntax error. Each error costs a round trip and\nteaches the model nothing about the right dialect. This package removes that\nloop by giving the session a real MSYS2 bash whose version and bytes are\npinned, so the dialect the model writes is the dialect that runs.\n\nThe shell is persistent because shell work is stateful: a command that `cd`s\nor exports a variable expects the next command to see it. One process per\nsession is what makes that true.\n\n## What it does\n\n- Registers ONE model-facing tool, `win_bash`. The name is deliberately not\n  `bash`: the host already mounts its own bash-family tools, and sharing a\n  name would replace or be replaced, silently either way.\n- Keeps one persistent `bash -s` process per calling session. The working\n  directory, exported variables, functions, aliases and shell history survive\n  across calls for that session and belong to no other session.\n- Runs each call as a foreground command with bounded stdout and stderr,\n  separated streams, and the command's real exit code. Output past the budget\n  is reported as truncated, in the text the model reads, rather than being cut\n  silently.\n- Renders terminal escapes out of that text. On Windows, colour libraries\n  decide on the platform rather than on whether a terminal is attached, so a\n  piped `vitest` or `pnpm` run still emits colour codes; the tool carries the\n  bytes through and drops them where the text is rendered, so a caller reads\n  the message instead of `ESC [ 3 3 m`. A line a progress renderer repainted in\n  place shows the frame it finished on. The streams and the spill files keep\n  the exact bytes.\n- Optionally runs a command as a background job in its own pinned bash process\n  and returns a job id at once, so a long build or watch does not hold the call\n  open or die with the session's shell. See [Background commands](#background-commands).\n- Gives every shell its own private directory under the machine's temp root for\n  `TMPDIR`/`TMP`/`TEMP`, and deletes it when that shell ends — on `exit`, on\n  timeout or abort, on session disposal, on plugin unload, and when a background\n  job settles. Directories a killed host never got to delete are reclaimed on the\n  next start, by the pid in their name, so the temp root does not grow one\n  directory per shell.\n- Verifies the vendored payload against its SHA256 manifest and publishes a\n  verified copy under the DSH home before the tool is registered at all; a\n  mismatch refuses the mount, and every shell runs from that copy rather than\n  from the package directory.\n- Replaces the host's own `pwsh` tool on the session's model-facing surface\n  while `win_bash` is registered, so command work goes to bash instead of to\n  the shell a model already knows. See [Which shell to use](#which-shell-to-use).\n\nIt adds no settings section, no HTTP route and no browser half: the Host\nrenders this row's configuration form from the plugin's own Config schema.\n\n## Which shell to use\n\nThe preference this plugin installs is a ladder, and it is a Windows ladder:\n\n1. **`win_bash`** for command work. It is the pinned MSYS2 bash, its state\n   survives across calls, and the dialect a model writes for it is the dialect\n   that runs.\n2. **`pwsh`** for the Windows-native work only PowerShell does - cmdlets, the\n   registry, Windows services - and as the fallback when a command is not bash.\n   The Host resolves it, so a machine with PowerShell 7 installed gets `pwsh`\n   and one without gets the Windows PowerShell the platform ships. This package\n   carries no PowerShell payload of its own.\n\nWhile `win_bash` is registered, this plugin withdraws `pwsh` from the\nsession's tool surface, which is what makes the first rung stick: a model that\ncan see both shells picks the one it already knows, and nothing in a tool\nschema outvotes that habit. The effect is exactly that - a session with one\nlisted shell - so the mnemonic the `win_bash` description carries is\n\"hides it rather than forbidding it\".\n\n- **Visibility only.** A `pwsh` call a model makes deliberately still runs.\n  There is no execution guard and no pre-execute denial: withdrawing the\n  fallback rung outright would trade a preference for a capability loss.\n- **Per session, never process-wide.** The withdrawal is a scoped tool\n  restriction on the sessions this plugin serves. Anything else in the same\n  deployment keeps the surface it composed.\n- **Only while `win_bash` is actually mounted.** A refused availability gate,\n  a payload that fails verification, a non-Windows host, or a row with\n  `replacePwsh: false` leaves `pwsh` exactly where it was. Withdrawing the\n  only usable shell of a deployment that ends up with no replacement shell\n  would leave the session with neither.\n- **Windows only.** On POSIX the host shell is bash, win_bash does not mount,\n  and this logic produces no restriction, no listener and no effect at all.\n- **Reversible.** Every restriction is lifted when its session is disposed and\n  when the plugin unloads, one isolated callback at a time.\n\nSet `replacePwsh: false` to list both shells side by side and advertise the\npreference with the tool description alone.\n\n## Availability\n\nThe tool serves sessions that run the LiangShen (梁神) agent preset, so its\navailability follows that preset's **declaration**. At mount the plugin asks the\nharness's agent-preset registry whether a preset with id `liangshen` is\ndeclared; when it is, the tool registers, and when it is not, no tool is\nregistered at all and one info line states the reason. A tool that mounted and\nrefused every call would teach the model a capability the session does not have,\nwhich is worse than an honest absence.\n\nThree verdicts are distinguishable in the log, because they need different\nactions: the preset is declared (registered), no such preset is declared (enable\nthe `dsh-liangshen` plugin row), and no usable agent-preset registry is\npublished in this deployment. Setting `syncWithLiangShen: false` skips the gate\nentirely and always registers the tool.\n\nThe verdict waits for the host plugin tree to settle and then reads the roster.\nA read that already carries the declaration decides at once; one that does not is\nre-read on a short bounded schedule, because the declaring plugin publishes its\npreset off its own activation return and the two can therefore land in either\norder. A late declaration is never turned into a refusal.\n\nThe registry declares no roster-change event, so the verdict is decided once per\nmount. Toggling the LiangShen row takes effect for `win_bash` after the plugin\nmanager refreshes the profile — the same freshness model the rest of the family\nuses, not an immediate one.\n\n## Install\n\n### From the repository (development)\n\n```sh\ngit clone https://github.com/zhu1090093659/dsh-web.git\ncd dsh-web\npnpm install\npnpm --filter @linxin666/dsh-win-bash build\ndsh plugin --profile web add link:$(pwd)/packages/dsh-win-bash\n```\n\nThe bundle patch marks this package's row disabled on every non-Windows host,\nso a POSIX profile can carry the same composition without mounting anything.\n\n## Configuration\n\n| Field | Default | Meaning |\n| --- | --- | --- |\n| `timeoutMs` | 300000 | Whole-call wall-clock limit in milliseconds (1000..3600000). On expiry the shell is stopped and the next call starts a fresh one. |\n| `maxStdoutBytes` | 131072 | Visible stdout byte budget (1024..1048576). Output past it is dropped from the front, and the result says so in its text. |\n| `maxStderrBytes` | 32768 | Visible stderr byte budget (1024..524288). |\n| `enableRunInBackground` | true | Whether `run_in_background` is offered. The parameter is advertised only when this is true and the deployment composes a job registry; a deployment without one never offers it, and a call that asks for it anyway is refused rather than run in the foreground. |\n| `description` | built-in | Model-facing tool description; deployments may describe their own environment. |\n| `syncWithLiangShen` | true | When true, the tool registers only while the `liangshen` agent preset is declared; false skips that gate and always registers. |\n| `replacePwsh` | true | While this tool is registered, withdraw the host's `pwsh` tool from each session's model-facing surface. Visibility only: a deliberate `pwsh` call still runs. False lists both shells. |\n\n## Tool interface\n\n| Parameter | Required | Meaning |\n| --- | --- | --- |\n| `command` | yes | The bash command to run, any number of lines. |\n| `workdir` | no | Working directory for this command. Omitted keeps the shell's current directory. |\n| `timeoutMs` | no | Per-call limit, clamped to the configured ceiling. |\n| `run_in_background` | no | Run in a separate pinned bash process and return a job id at once. Offered only while a job registry is composed (see [Configuration](#configuration)). |\n\nThe result carries `stdout`, `stderr`, the command's `exitCode`, the\ntruncation facts for both streams (`stdoutTruncated`, `stderrTruncated`,\n`stdoutLostHead`, `stderrLostHead`, `frameOverflow`, and the\n`stdoutSpillPath`/`stderrSpillPath` files holding a complete stream), and\n`jobId` when the call started a background job.\n\nWhen a stream was cut, the model-facing text ends with a line such as:\n\n```text\n[win_bash: stdout was truncated, only the last 131072 bytes are shown; the beginning was dropped; a middle window was dropped by the frame watch limit]\n```\n\n## Background commands\n\n`run_in_background: true` runs the command in its OWN pinned bash process —\nthe same absolute payload path, the same environment contract, the same\nconfinement — and returns the job id immediately instead of waiting for the\ncommand. Collect that job with the host's `job_output` and stop it with\n`job_kill`.\n\nThe separate process is the point, not an implementation detail. The session's\npersistent shell lives inside the subprocess provider's managed process range,\nand disposing that range terminates every process still running in it, so a\njob started with a trailing `&` dies with the shell that started it — on the\nnext timeout, the next abort, or the session's disposal. A background command\ntherefore owns its own process and outlives the call that started it.\n\n- **Its own shell.** Never the session's persistent one, so a background\n  command cannot disturb the current directory, the exported variables or the\n  history of the foreground shell.\n- **Same environment contract.** `PATH` with the payload's `usr/bin` first,\n  `MSYSTEM=MSYS`, `TERM=dumb`, `--norc --noprofile`, and `TMPDIR`/`TMP`/`TEMP`\n  pointing at a private directory owned by that job.\n- **Same mode rule.** A restricted session is refused with the same\n  `SANDBOX_UNSUPPORTED` error a foreground call raises, before any process is\n  started and before any job is registered.\n- **No timeout.** The call returns as soon as the job is registered; the\n  command's own lifetime is bounded by `job_kill` and by the session ending.\n- **No silent downgrade.** On a deployment that composes no job registry the\n  call is refused with `BACKGROUND_UNAVAILABLE` and says so; it is never\n  quietly run in the foreground, which would hang the caller for the command's\n  whole lifetime and then die with that shell.\n\n## Permissions\n\nThe tool resolves the calling session's effective sandbox policy from the same\nsandbox-policy service the host's own enforcing families use, and it resolves it\nFOR THAT SESSION — a session's own mode outranks the deployment default, so a\nsession the user restricted cannot reach this shell through the default.\n\n**This tool runs only under `danger-full-access`.** Any other mode is refused\nwith `SANDBOX_UNSUPPORTED`, before a process is spawned: the pinned MSYS2 bash\ncannot start under a restricted token, so confinement cannot produce a working\nshell here. Measured on win32 x64 (Windows 10.0.26200) against the real\nrestricted-token runner: `bash.exe`, `sh.exe`, `dash.exe` and `echo.exe` all die\nbefore `main` with\n\n```text\nNtCreateDirectoryObject(\\BaseNamedObjects\\msys-2.0S5-<hash>): 0xC0000022\n```\n\n(exit 3221225794 / 0xC0000142), and system Git for Windows fails identically\n(`couldn't create signal pipe, Win32 error 5`). `cmd.exe`, `node.exe` and\n`powershell.exe` run confined on that same runner, so the runner is sound and the\nlimitation belongs to the MSYS runtime.\n\nRefusing is the honest answer, not the cautious one: a shell whose every command\ndies before `main` would still be reported as running inside a boundary that\nnever actually held a command. The refusal names the host's `bash`/`pwsh` tools,\nwhich ARE confined, so a restricted session keeps a route rather than losing one.\n\nThis tool offers no per-call escalation argument.\n\n## Payload\n\nThe vendored runtime comes from Git for Windows `v2.56.0.windows.2` (the\nofficial upstream release), reduced to the shell, its userland and its exact\nDLL closure. Two assets of that release supply it: the MinGit archive\n`MinGit-2.56.0.2-64-bit.zip` carries everything except `usr/bin/sleep.exe` and\n`usr/bin/seq.exe`, which MinGit does not ship at all and which come from the\nsame release's full `Git-2.56.0.2-64-bit.tar.bz2`. Every file is registered in\n`runtime/win32-x64/checksums.sha256` and every redistributed component's license\ntext ships beside it. [PROVENANCE.md](PROVENANCE.md) records both source URLs and\ndigests, the curation rules, the payload inventory and the license mapping.\n\nThe tree that runs is a copy, not the packaged one. Windows refuses to rename a\ndirectory that holds a running executable, and pnpm imports a package by\nrenaming a staging directory over it, so a shell started inside\n`node_modules/@linxin666/dsh-win-bash` makes every later update or uninstall of\nthis package fail with `ERR_PNPM_EPERM` while it runs. The copy is published at\n`<DSH_HOME>/win-bash/runtime/<payload key>`, where the key comes from the\nchecksums manifest: a release that changes only JavaScript reuses the copy\nalready there, a copy whose bytes disagree with the manifest is rebuilt before\nanything runs, and an isolated `DSH_HOME` gets its own cache. When that copy\ncannot be written, the verified packaged tree runs instead and one warning line\nsays so.\n\n## Known limitations\n\n- Windows x64 only. The payload is a Windows MSYS2 build and the tool refuses\n  to substitute a bash from `PATH` on any other platform or architecture.\n- No ssh client is vendored. The MinGit tree's OpenSSH family is deliberately\n  excluded; use the session's own tools for remote work.\n- One shell per session, and the session's shell dies with it. A shell that\n  exits or wedges is replaced on the next call, and that call says so.\n- A command that prints past the visible budget loses the front of its output.\n  The tail is what is kept, and the result says it was cut, how many bytes are\n  shown, and where the complete stream is when the provider spilled one.\n- A background job is one command in one process: it has no persistent state\n  across jobs, and it cannot be promoted from a running foreground call\n  (a foreground call that hits `timeoutMs` still stops its shell).\n- The published payload lives under `<DSH_HOME>/win-bash/runtime/`. Each\n  distinct payload keeps one directory there, about 16 MiB, and such a\n  directory can be deleted while DSH is stopped: the next mount publishes it\n  again.\n\n## Follow-up work\n\n- A packaging-time verification script that re-downloads the pinned source\n  assets, rebuilds the payload and diffs the result against `checksums.sha256`,\n  so a payload refresh is machine-checked rather than hand-reviewed.\n\n## License\n\nApache-2.0 for this package's own source. The vendored payload keeps its own\nlicenses (GPL-2.0-or-later and GPL-3.0-or-later among others); see\n[PROVENANCE.md](PROVENANCE.md).","users":{}}