{"_id":"@apollo-music/dsh-enterprise-documents","_rev":"9-4f313859f56ab7ef6d5d1152b61b9493","name":"@apollo-music/dsh-enterprise-documents","dist-tags":{"latest":"0.5.1"},"versions":{"0.1.0":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.1.0","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.1.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"d9154175bf9f0b162bf4633ceb81d44ef1f287e2","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.1.0.tgz","fileCount":15,"integrity":"sha512-rq5U10W3EcTyQy/QS78TDfI6Ncp6jbBiLxniHWJZq5WHIa7pgCbQHRIpjOZYQuF3FB9LbeakCty+Tnz+TSni0Q==","signatures":[{"sig":"MEMCIHqyaYYskhTQotzz8+hYrpzBNokGJkyLSIREywEtcAUBAh8MZaYcRnbhkUypOQ/KPMQQL9uNuTulZm6ofGXXdEGM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52218},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.13.0","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.1.0","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.1.0_1787028573006_0.11262389178233279","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.1.1","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.1.1","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"4cce4f47541cb8970964ab5a7376015741691909","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.1.1.tgz","fileCount":15,"integrity":"sha512-jARFsMg8vfUeZApdhxe4NQiFAuecE6kN4uP3ucSFFVtQCAqdhedc1b9bXTd/S0CtcUlQIUy3FUqtULdWeMZpEg==","signatures":[{"sig":"MEUCIAeSEONGVDd2r9buDJGLBlHDPhwFLapB0fZeQdRSneuEAiEA0v/upNSAtdll5eEB4IaOqWP5MDQuqsKsRCv6wnV5gmY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72533},"main":"./dist/index.js","type":"module","_from":"file:apollo-music-dsh-enterprise-documents-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_resolved":"/private/tmp/apollo-deploy155.wxhnoK/apollo-music-dsh-enterprise-documents-0.1.1.tgz","_integrity":"sha512-jARFsMg8vfUeZApdhxe4NQiFAuecE6kN4uP3ucSFFVtQCAqdhedc1b9bXTd/S0CtcUlQIUy3FUqtULdWeMZpEg==","_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.1.0","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.1.1_1787044897673_0.19447375190659733","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.1.2","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.1.2","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"04ed53b37d8a392c321c6b4dddbee1b0d53a142d","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.1.2.tgz","fileCount":15,"integrity":"sha512-EZ+Kj4WxTEhooLYfKg1JVOplC9uI9XHE7HeAsfnFWNzRezgk9lJNxJv5e4Z4oO4mcz+gSTj79LEcLET/UQ9RMQ==","signatures":[{"sig":"MEYCIQDrDiX9NgCTwV2WXcxWXPK3mDHxgRCt38xh7oNAxOv8LgIhAIsc7ryVpgqa9voYsVLhJKD1aA0WAZfSn4TCgwulSDl9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72543},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.13.0","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.0","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.1.2_1787046175972_0.20558498057465013","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.1.3","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.1.3","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"83c8fe01cad4b7018d25a185d45fb4d3d3c626c8","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.1.3.tgz","fileCount":15,"integrity":"sha512-o0tNiHnRl5IuU2SA3luo1isnK+Dlr5GuVOSdPuh5oiHae775wuAlMcKYbv7OdKVifteIrb7reRoTS8jVUxyIAw==","signatures":[{"sig":"MEYCIQCZVE5p/0uAsHyC0tpu5eOmQbj82VLcUSp6RHy4r16ReAIhAN4v1E2pCB2516aUoI7btWXc1hRwvlAXiiA/lzB8RJo+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73412},"main":"./dist/index.js","type":"module","_from":"file:apollo-music-dsh-enterprise-documents-0.1.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_resolved":"/private/tmp/apollo-deploy157.Jjca3N/apollo-music-dsh-enterprise-documents-0.1.3.tgz","_integrity":"sha512-o0tNiHnRl5IuU2SA3luo1isnK+Dlr5GuVOSdPuh5oiHae775wuAlMcKYbv7OdKVifteIrb7reRoTS8jVUxyIAw==","_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.0","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.1.3_1787048490919_0.016120311903882856","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.2.0","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.2.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"616de4f692e71cc98dafa88e498393f6bc0b1cb5","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.2.0.tgz","fileCount":23,"integrity":"sha512-MuL0VMfPuFyA6b3FNHq4fYCEnexyYSvCME7Xn8PzJxsYEyziCTNBLaexOfXEHT+9HUI2j27zqfH//QvMsT1kqg==","signatures":[{"sig":"MEUCIQDL7MS33ZHctFpFOZMgsj/nCitpRnQ9jssz2+iREiURVQIgNX7wwHHzXz47OyZDJnm3Xq5gu5HWY7T1jOaghtKCJjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158115},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.1","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.2.0_1787134643820_0.032313239646860614","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.3.0","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.3.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"d5e98d3745bd3deb9a6ca8e91321bd6a282d7585","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.3.0.tgz","fileCount":27,"integrity":"sha512-9XO+Ye/kdbZFCzZE3tojMiWR/ybpL625X1t2rwiKb2T1wu8iVQsqr9+nizQWNmXSwRewEDX3BI4uH6zRhYZxuw==","signatures":[{"sig":"MEYCIQC42QX98w72Db8RNABT71U3YSRzrbEE1ctiME+oZSBD8AIhALSIApkJds8m65bMY0qtWXkBhVezOEpomN04O0XDgjJW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166200},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.1","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.3.0_1787139919955_0.5222896190805604","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.4.0","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.4.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"62d983e0e995d82c7f6e9170915dc635af274444","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.4.0.tgz","fileCount":31,"integrity":"sha512-tWAZNu83YYKbarnEXTJrlx77mvt5WPEizOC3oyzuAn6BcbmUs1cT7/dXsuHFHHQ2oxWB3xL595agMv5xhZ5Y9w==","signatures":[{"sig":"MEUCIQCi9Tyt/x9q9uazCPnDKM6kgnRZbpzZCy14dvqYclPCQgIgI2Xo/tsgmZiuc/dRZhNYC4WDfdUlaZVz+yaJx1Up+pU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173577},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.1","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.4.0_1787141093663_0.29287241545539233","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.5.0","license":"UNLICENSED","_id":"@apollo-music/dsh-enterprise-documents@0.5.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"bda8765d51ed4a2563b3e091b87e2237f861fe7c","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.5.0.tgz","fileCount":39,"integrity":"sha512-suOSJWRJ28rvEUIk/pmZuXgaydecS9Em/NM/TZmgXyJ5+kYcx3excO50a2aYQId3t1O/d7oGH+S5vkGjJknKrg==","signatures":[{"sig":"MEQCIATtlLy2ivc7sqsmWZhldaU6JDASDnU6X3N+Y4vTjPecAiAvm5dS/lYDwjnXoy2M7on5mYJ88ed3dh7wsVQg/3ZwTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":204367},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=24.0.0 <25"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --config vitest.config.ts","build":"npm run clean && tsc -p tsconfig.json","clean":"node scripts/clean.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_npmVersion":"11.6.2","description":"Trusted-user enterprise document tools for DeepSeek Harness","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"0.1.0-rc.7","@apollo-music/dsh-file-reader":"0.2.1","@apollo-music/dsh-wecom-bridge":"0.3.0"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0","@apollo-music/dsh-wecom-bridge":"^0.3.0"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-enterprise-documents_0.5.0_1787144417587_0.74541487206615","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@apollo-music/dsh-enterprise-documents","version":"0.5.1","description":"Trusted-user enterprise document tools for DeepSeek Harness","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"engines":{"node":">=24.0.0 <25"},"scripts":{"clean":"node scripts/clean.mjs","build":"npm run clean && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit","test":"vitest run --config vitest.config.ts"},"peerDependencies":{"@apollo-music/dsh-file-reader":"^0.1.0 || ^0.2.0 || ^0.3.0","@apollo-music/dsh-wecom-bridge":"^0.3.0","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-credentials":"0.1.0-rc.8","@deepseek-ai/dsh-tools":"0.1.0-rc.8"},"peerDependenciesMeta":{"@apollo-music/dsh-file-reader":{"optional":true}},"devDependencies":{"@apollo-music/dsh-file-reader":"0.3.0","@apollo-music/dsh-wecom-bridge":"0.5.1","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-credentials":"0.1.0-rc.8","@deepseek-ai/dsh-host-apiproxy":"0.1.0-rc.8","@deepseek-ai/dsh-llm":"0.1.0-rc.8","@deepseek-ai/dsh-session":"0.1.0-rc.8","@deepseek-ai/dsh-tools":"0.1.0-rc.8"},"license":"UNLICENSED","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@apollo-music/dsh-enterprise-documents@0.5.1","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-SzJnHWXUnInYMsMuKz6a5oTNCuXpE692Gcu60JJ+Rt3P+klV5dfMuJapfHgZOFvrXFLu587vUiWhRL1SyRydqA==","shasum":"2609a7439e338d380257e84f02bf32045ff41eeb","tarball":"https://registry.npmjs.org/@apollo-music/dsh-enterprise-documents/-/dsh-enterprise-documents-0.5.1.tgz","fileCount":39,"unpackedSize":204646,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHBMbtQX9j2+smHcAXtUmx9NO90SYjMGx0jLsI9N1Q16AiB8jpXvTDxpMmIb3RVeYkbvF8Ip4Rat91qLHzFx7yPgjQ=="}]},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"directories":{},"maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-enterprise-documents_0.5.1_1787208358220_0.5790221756503948"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-18T04:49:32.806Z","modified":"2026-08-20T06:45:58.523Z","0.1.0":"2026-08-18T04:49:33.147Z","0.1.1":"2026-08-18T09:21:37.818Z","0.1.2":"2026-08-18T09:42:56.177Z","0.1.3":"2026-08-18T10:21:31.078Z","0.2.0":"2026-08-19T10:17:23.963Z","0.3.0":"2026-08-19T11:45:20.096Z","0.4.0":"2026-08-19T12:04:53.813Z","0.5.0":"2026-08-19T13:00:17.753Z","0.5.1":"2026-08-20T06:45:58.359Z"},"license":"UNLICENSED","description":"Trusted-user enterprise document tools for DeepSeek Harness","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"readme":"# @apollo-music/dsh-enterprise-documents\n\nDeepSeek Harness tools for the Apollo enterprise document library.\n\nVersion 0.5.1 targets DeepSeek Harness `0.1.0-rc.8` with Cordis `4.0.1` and keeps the DSH service packages on one exact RC line.\n\nInstall the bundle into the same DSH profile that mounts the trusted WeCom bridge:\n\n```sh\ndsh plugin --profile <profile> add @apollo-music/dsh-enterprise-documents@0.5.1\n```\n\nThe bundle installs its enterprise-document row disabled by default. The deployment must separately mount `@apollo-music/dsh-wecom-bridge` with an explicit business Agent preset, then set `APOLLO_ENTERPRISE_DOCUMENTS_ENABLED=1`. If the Host-only `wecomSession` service is unavailable after enablement, DSH startup fails closed.\n\nThe plugin requires `@apollo-music/dsh-wecom-bridge` 0.3 or newer. Every API call resolves the current execution through Host-only `ctx.wecomSession`; ambiguous or unavailable user context fails closed. One full-capability service API key is resolved from `ctx.credentials` for every operation. The key authenticates the trusted tool, while the API performs live file ACL authorization for the resolved triggering user.\n\nStorage implementation fields, signed URLs, object identifiers, credentials, and user identity are never part of tool parameters or canonical output. Write tools pass through DSH user approval. `@apollo-music/dsh-file-reader` is optional; while present it adds exact-revision open and current-session non-enterprise handle upload tools.\n\nUploads use short-lived OSS PUT URLs. Files larger than the server's simple-upload threshold use resumable multipart upload; each pending part is retried independently. The plugin never attaches the enterprise API credential or WeCom identity to OSS requests, and it best-effort aborts the server session after a terminal transfer failure.\n\nVersion 0.2 adds `enterprise_documents_upload_workspace_batch` and the read-only `enterprise_documents_upload_batch_status` tool. Batch upload supports exact paths, glob arrays, recursive directories, additive exclude patterns, and bounded in-workspace symlink following. The plugin computes SHA-256 while snapshotting the selected workspace files. The API reuses an existing current `ready` revision when its SHA-256 is identical, so unchanged files create neither a revision nor an upload session; changed files append an immutable version. It reserves the complete target manifest in one PostgreSQL transaction and recursively merges directories. File and multipart-part transfers stream from verified workspace file handles through one bounded worker pool; each retry revalidates the logical path and the opened file snapshot. A failed batch cleanup removes only uncompleted nodes that are still owned by the reservation, while completed or subsequently modified nodes remain available. Caller cancellation uses the explicit batch-cancel endpoint and preserves completed transfers; ordinary transfer failures remain `failed` rather than being mislabeled as cancellation. Failure details are paginated with `failureCursor`, `failureLimit`, and `nextFailureCursor`, and abandoned sessions are expired and reconciled by background maintenance without requiring a status read.\n\nVersion 0.3 makes destination mapping explicit. Every `enterprise_documents_upload_workspace_batch` call must provide `stripSourcePrefix`, a workspace-relative directory containing every selected source. That directory is removed from each destination path before the manifest is sent to the API. Selecting the prefix directory itself therefore merges its contents directly into `parentId` instead of recreating the source tree. Use `stripSourcePrefix: \".\"` when the complete workspace-relative paths should be preserved. Prefix matching is path-segment-aware; the prefix must resolve to an in-workspace directory, and any selection outside it fails before an upload batch is created. Exclude patterns continue to match source workspace paths. Target ambiguity checks run after prefix stripping and Unicode normalization.\n\nVersion 0.4 adds reversible recycle-bin operations. `enterprise_documents_list_recycle_bin` lists soft-deleted items visible to the triggering user. `enterprise_documents_move_to_recycle_bin` requires the exact node revision from a fresh browse; `enterprise_documents_restore_from_recycle_bin` requires both the deleted node revision and the original parent's current revision. Moving an item into or out of the recycle bin changes both revisions. Restoring fails closed after a concurrent change or when an active sibling already uses the same normalized name. Both mutations use the same DSH approval guard and live server-side ACL checks as other write tools. The plugin does not expose permanent deletion.\n\nVersion 0.5 adds `enterprise_documents_download_batch`. Its model-facing input is only `{ kind: \"batch\", documentIds: string[] }`. A file ID downloads that file's current `ready` content; a directory ID recursively resolves its visible files. Every invocation creates a new `inbox/enterprise-documents/<downloadId>/` and never accepts a target path, overwrite, merge, glob, exclude, or hash-deduplication option. Downloads resolve the current version when each file is requested rather than reserving or freezing a revision. Each file is attempted once and retried at most once; terminal failures are reported per file while other files continue. Caller cancellation stops retries and removes only the fresh inbox owned by that invocation. The public result contains only `downloadId`, `inboxPath`, counts, and per-file document ID, relative path, status, and stable failure code.\n\nBatch upload is independently disabled by default. Enable `ENTERPRISE_DOCUMENTS_BATCH_ENABLED=true` on the Customer Assistant API only after migration `000050_enterprise_upload_batches` is applied, then set `APOLLO_ENTERPRISE_DOCUMENTS_BATCH_ENABLED=1` in the DSH Host. API batch file, directory, and total-byte ceilings use `ENTERPRISE_DOCUMENTS_BATCH_MAX_FILES`, `ENTERPRISE_DOCUMENTS_BATCH_MAX_DIRECTORIES`, and `ENTERPRISE_DOCUMENTS_BATCH_MAX_BYTES`. The DSH plugin also accepts bounded `maxBatchFiles`, `maxBatchDirectories`, `maxBatchBytes`, traversal, symlink-depth, failure-detail, and `uploadConcurrency` configuration; model arguments cannot raise these limits.\n\nOperators can inspect legacy failed upload nodes with `npm run repair:enterprise-upload-orphans --workspace @apollo-music/customer-assistant-api`. This is a read-only dry run by default. Repair requires both `--repair` and one or more exact `--session-id <uuid>` arguments; ready documents and replacement uploads with an existing current version are excluded by the database predicate.\n\nConfigure `apiBaseUrl` with the integration prefix and set `apiKeyCredentialRef` to the credential reference holding the same single service key as the API's `ENTERPRISE_DOCUMENTS_API_KEY`. Defaults are the local Customer Assistant URL and `APOLLO_ENTERPRISE_DOCUMENTS_API_KEY`. File and response limits are bounded configuration values; exceeding them fails closed. Ordinary API requests use the bounded `timeoutMs` budget (60 seconds by default), while multipart initialization and signed OSS PUT requests use `uploadTimeoutMs` (10 minutes by default) so large uploads share the same bounded budget as their DSH tools. Caller cancellation always takes precedence over either deadline.\n","readmeFilename":"README.md"}