{"_id":"@apollo-music/dsh-sidecar-terms","_rev":"7-90080cf56b24fc27607dd366563ca33f","name":"@apollo-music/dsh-sidecar-terms","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.0":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.0","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.0","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"c7656e848982307d1bdf6172abe5d6dc5fe5dd64","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.0.tgz","fileCount":14,"integrity":"sha512-y+b86wiGj7ydEx1iTQrximxU51uFyKDjUheXO+VDkCuZvGnS/mgVXNH31+s28f9fsNBtLfGuowHtVHyt/+Kz+Q==","signatures":[{"sig":"MEUCIQDc6VECM+OksqwKDtxq2TzsUsMegKT5/F0suGveq5VaMQIgPadLOiTnCgg4fCehPyGnXXfDAccbCgLrL2GDU6OVbVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48239},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.13.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a4082c87f807c9ba416bbf4cd2556bb49c8eebd7","scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.6.2","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.6","@deepseek-ai/dsh-agent":"^0.1.0-rc.6","@deepseek-ai/dsh-tools":"0.1.0-rc.6","@deepseek-ai/dsh-session":"^0.1.0-rc.6","@deepseek-ai/schemastery":"^3.18.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.0_1786874574997_0.7533449085892598","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.1","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.1","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"553c8e7f6cf7b49dc3b2a29c0fa93322a6aaa247","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.1.tgz","fileCount":14,"integrity":"sha512-wtrL2RHwuU+Nsp1E6se5tpbt/E9JXX30ENLtijzTMf6Zu+p1NdTtFc8aPMD/IpCmhqwwsAuz6Y+Z5JWJ9eLFMg==","signatures":[{"sig":"MEUCIAnvxM+oazYPDbGOEOa6A0qFHeCGtfu+C2VHNpzW/T1bAiEAqwN0A4hHb19whsZ416Ke+vi1liXnBkc3jeyOkY9Fock=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48250},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"94be5d04f67ca6585b05992f642aa9ecd0af0ce8","scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.6.2","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/schemastery":"^3.18.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.1_1787040003209_0.9354357268839115","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.2","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.2","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"5919152ada16e6a78fc89760008547ab86f5e579","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.2.tgz","fileCount":14,"integrity":"sha512-GybtHdYxeFWClEby2i4YtGWmPpSDGFo2TgtPDiZLue1Gmp9bbuy2+42Dd4fbnu5btJqX0/R8wHhFZ6Gtj+OUKw==","signatures":[{"sig":"MEUCIQD5QcddmcFF9hKcuP7aNIPDsm2vt52lzLRvPEDSP9W3LwIgCCyFv6J+VsLy5VwQFa3/TlgOIWCWHqMSVOz8nWp1RYQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48250},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7a3ab60d4f38e9ed6d6a4be002bd159eabb49a68","scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.6.2","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.8","@deepseek-ai/dsh-agent":"^0.1.0-rc.8","@deepseek-ai/dsh-tools":"0.1.0-rc.8","@deepseek-ai/dsh-session":"^0.1.0-rc.8","@deepseek-ai/schemastery":"^3.18.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.2_1787207388266_0.6451398771556112","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.3","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.3","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"c7d26d9da2eb72a140efdd65f96fd187340c84b7","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.3.tgz","fileCount":12,"integrity":"sha512-EsCb8apkjFD9CEjsb0OlbYBkDs5LeQG0a5ao6NErCpUQpY67/ALiG4/FkrnV4qkJdti5XXoX2jv8O3c1TWnVCQ==","signatures":[{"sig":"MEUCIFwEgVmAtwywHoXei+ak0YwSMQYDAAmZoHJUlz+OQkLXAiEAwzdbWbPisWxiJ6f8+d+EA6jZZUenaUuOb4DIlfPHycE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37064},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7a3ab60d4f38e9ed6d6a4be002bd159eabb49a68","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","prepack":"npm run build"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.6.2","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.8","@deepseek-ai/dsh-agent":"^0.1.0-rc.8","@deepseek-ai/dsh-tools":"0.1.0-rc.8","@deepseek-ai/dsh-session":"^0.1.0-rc.8","@deepseek-ai/schemastery":"^3.18.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.3_1787505625745_0.6670091899811366","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.4","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.4","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"280c4187fe4f27aeb0bdb370c11490e0e968bc71","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.4.tgz","fileCount":12,"integrity":"sha512-BefscVH0q7xt+4FD5Y/C5xsP6856FUl7eo8kTA8Otfjdaa97T1Fn/fLShcMJa+n8w5q3fTjlJCLjs5oJbjAGxw==","signatures":[{"sig":"MEYCIQCTBOQH7mHXgbIA9XDwsEBj3cvgKIJfvgQfskfzSzCX7QIhAOCv6tAeKtGENMcSVPnc4f/Ylx7JAEL9vsc06UvG6oFQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37628},"main":"dist/index.js","type":"module","_from":"file:/private/tmp/apollo-terms-dsh-rc2-artifacts/apollo-music-dsh-sidecar-terms-0.1.4.tgz","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","prepack":"npm run build"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_resolved":"/private/tmp/apollo-terms-dsh-rc2-artifacts/apollo-music-dsh-sidecar-terms-0.1.4.tgz","_integrity":"sha512-BefscVH0q7xt+4FD5Y/C5xsP6856FUl7eo8kTA8Otfjdaa97T1Fn/fLShcMJa+n8w5q3fTjlJCLjs5oJbjAGxw==","repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.6.2","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"0.1.1-rc.2","@deepseek-ai/dsh-agent":"0.1.1-rc.2","@deepseek-ai/dsh-brand":"0.1.1-rc.2","@deepseek-ai/dsh-scope":"0.1.1-rc.2","@deepseek-ai/dsh-tools":"0.1.1-rc.2","@deepseek-ai/dsh-session":"0.1.1-rc.2","@deepseek-ai/dsh-timeout":"0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-attachment":"0.1.1-rc.2","@deepseek-ai/dsh-invariants":"0.1.1-rc.2","@deepseek-ai/dsh-code-runtime":"0.1.1-rc.2","@deepseek-ai/dsh-system-prompt":"0.1.1-rc.2","@deepseek-ai/dsh-user-approval":"0.1.1-rc.2","@deepseek-ai/dsh-typert-protocol":"0.1.1-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.4_1787556112218_0.5136497427553874","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@apollo-music/dsh-sidecar-terms","version":"0.1.5","keywords":["deepseek-harness","cordis","terminology","sidecar"],"license":"UNLICENSED","_id":"@apollo-music/dsh-sidecar-terms@0.1.5","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"2fc3dd4b5266284d605aa0f246086c89c063877c","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.5.tgz","fileCount":12,"integrity":"sha512-KqgQRdNvtMEnUZtBYAwx2vBtTtMHqQZ3Rw2HD5s8B0/2xhlsuJaZKIcNmP6wfPAkUmOHgbnyBJ3YZPEKD4VnMQ==","signatures":[{"sig":"MEQCIGN42tcy82Od8s5nqY3s5BdejpVnEgB8tVUuFbDIdvU9AiBJPj/JqDUAmNCrIj4mPKsdOrKtCqOuAGEQJWw8sBBTow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40511},"main":"dist/index.js","type":"module","_from":"file:/private/tmp/apollo-terms-0.1.5-pack.e17TTu/apollo-music-dsh-sidecar-terms-0.1.5.tgz","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","prepack":"npm run build"},"_npmUser":{"name":"djagger","email":"634750802@qq.com"},"_resolved":"/private/tmp/apollo-terms-0.1.5-pack.e17TTu/apollo-music-dsh-sidecar-terms-0.1.5.tgz","_integrity":"sha512-KqgQRdNvtMEnUZtBYAwx2vBtTtMHqQZ3Rw2HD5s8B0/2xhlsuJaZKIcNmP6wfPAkUmOHgbnyBJ3YZPEKD4VnMQ==","repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.13.0","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"0.1.1-rc.2","@deepseek-ai/dsh-agent":"0.1.1-rc.2","@deepseek-ai/dsh-brand":"0.1.1-rc.2","@deepseek-ai/dsh-scope":"0.1.1-rc.2","@deepseek-ai/dsh-tools":"0.1.1-rc.2","@deepseek-ai/dsh-session":"0.1.1-rc.2","@deepseek-ai/dsh-timeout":"0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-attachment":"0.1.1-rc.2","@deepseek-ai/dsh-invariants":"0.1.1-rc.2","@deepseek-ai/dsh-code-runtime":"0.1.1-rc.2","@deepseek-ai/dsh-system-prompt":"0.1.1-rc.2","@deepseek-ai/dsh-user-approval":"0.1.1-rc.2","@deepseek-ai/dsh-typert-protocol":"0.1.1-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/dsh-sidecar-terms_0.1.5_1787591125420_0.42409009158488087","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"_id":"@apollo-music/dsh-sidecar-terms@0.1.7","bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"dist":{"shasum":"28f42900611910de5adc299868e7dd53f1397852","tarball":"https://registry.npmjs.org/@apollo-music/dsh-sidecar-terms/-/dsh-sidecar-terms-0.1.7.tgz","fileCount":12,"integrity":"sha512-ggUCG0TD6Fd+vzbllGs6xCQ4zL/4+8E7hR96f9STcUJnTcePM8AbmzDVLpmeleTZRfUQ4y49YSGueLrWiNy1qw==","signatures":[{"sig":"MEQCICmopFHCCuKYgb83cnL82Hs4hyucovez8ZkAh3Pfu6qvAiBUHiUbOnhLPImmu1YnxyEgSnJM3kN7+uRKOG0b7+9zqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHoBn4x+NkxVss5JXBIieMmgwOmu6/RYm3okTg64sLBtAiBHLht1nypLTUu56J5S3Rw+Xt7ZQ1xJkEM6TZlUCtBzuQ=="}],"unpackedSize":54308},"main":"dist/index.js","name":"@apollo-music/dsh-sidecar-terms","type":"module","_from":"file:/tmp/apollo-terms-release-0.1.7.pPC0bu/apollo-music-dsh-sidecar-terms-0.1.7.tgz","types":"dist/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"UNLICENSED","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","prepack":"npm run build"},"version":"0.1.7","_npmUser":{"name":"djagger","email":"634750802@qq.com"},"homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","keywords":["deepseek-harness","cordis","terminology","sidecar"],"_resolved":"/tmp/apollo-terms-release-0.1.7.pPC0bu/apollo-music-dsh-sidecar-terms-0.1.7.tgz","_integrity":"sha512-ggUCG0TD6Fd+vzbllGs6xCQ4zL/4+8E7hR96f9STcUJnTcePM8AbmzDVLpmeleTZRfUQ4y49YSGueLrWiNy1qw==","repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"_npmVersion":"11.19.0","description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","directories":{},"maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"~4.0.4","@deepseek-ai/dsh-llm":"0.1.7-rc.2","@deepseek-ai/dsh-agent":"0.1.7-rc.2","@deepseek-ai/dsh-brand":"0.1.7-rc.2","@deepseek-ai/dsh-scope":"0.1.7-rc.2","@deepseek-ai/dsh-tools":"0.1.7-rc.2","@deepseek-ai/dsh-sandbox":"0.1.7-rc.2","@deepseek-ai/dsh-session":"0.1.7-rc.2","@deepseek-ai/dsh-storage":"0.1.7-rc.2","@deepseek-ai/dsh-timeout":"0.1.7-rc.2","@deepseek-ai/schemastery":"~3.18.4","@deepseek-ai/dsh-workspace":"0.1.7-rc.2","@deepseek-ai/dsh-invariants":"0.1.7-rc.2","@deepseek-ai/dsh-ptc-runtime":"0.1.7-rc.2","@deepseek-ai/dsh-util-values":"0.1.7-rc.2","@deepseek-ai/dsh-system-prompt":"0.1.7-rc.2","@deepseek-ai/dsh-user-approval":"0.1.7-rc.2","@deepseek-ai/dsh-sandbox-policy":"0.1.7-rc.2","@deepseek-ai/dsh-storage-domain":"0.1.7-rc.2","@deepseek-ai/dsh-typert-protocol":"0.1.7-rc.2","@deepseek-ai/dsh-session-projection":"0.1.7-rc.2","@deepseek-ai/dsh-session-persistence":"0.1.7-rc.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-sidecar-terms_0.1.7_1790275565240_0.038325181449636814"}}},"time":{"created":"2026-08-16T10:02:54.813Z","modified":"2026-09-24T18:46:05.484Z","0.1.0":"2026-08-16T10:02:55.144Z","0.1.1":"2026-08-18T08:00:03.356Z","0.1.2":"2026-08-20T06:29:48.412Z","0.1.3":"2026-08-23T17:20:25.900Z","0.1.4":"2026-08-24T07:21:52.364Z","0.1.5":"2026-08-24T17:05:25.633Z","0.1.7":"2026-09-24T18:46:05.335Z"},"bugs":{"url":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/issues"},"license":"UNLICENSED","homepage":"https://github.com/fde0-inc/apollo-terminology-knowledge-base/tree/main/integrations/deepseek-harness","keywords":["deepseek-harness","cordis","terminology","sidecar"],"repository":{"url":"git+https://github.com/fde0-inc/apollo-terminology-knowledge-base.git","type":"git","directory":"integrations/deepseek-harness"},"description":"DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection","maintainers":[{"name":"djagger","email":"634750802@qq.com"}],"readme":"# 阿波罗术语规则路由器（DeepSeek Harness）\n\n这是一个 Agent-scoped Cordis 插件。它读取只读查询 API，不向模型暴露工具，而是在 Harness 生命周期中完成：\n\n1. 从全量 `catalog` 在本地匹配用户文本、工具结果、已提交的完整 thinking/reasoning 与候选答案；\n2. 每个 Agent 独立维护 `auditCursor` 与 `injectCursor`；\n3. 默认对新增命中即时调用 `/resolve`，并只投递尚未出现的原文 `term_delta + rule_delta`；\n4. `tools/post-execute` 在下一次模型生成前 await 工具结果解析，`agent/pre-step` 与 `agent/turn-stopping` 继续作为边界 flush；\n5. request 尚未固定时 inject，step 已开始或已有候选回答时 steer；\n6. 同一上下文周期内，steer 修订后不再审计同一 turn 的后续 assistant 输出，避免规则回执自我触发；下一 turn 自动恢复，压缩后按新周期重建；\n7. 最终答案前只 steer 尚未交付的 canonical term / Rule delta。\n8. Catalog、Resolver、鉴权或网络不可用时失败关闭，不生成离线替代规则。\n9. 压缩或裁剪上下文后，以 `session.deriveMessages()` 返回的当前可见消息重新匹配、重建 audit/inject 计数；仅补回仍有命中且提示词已不在上下文里的 term/rule。\n10. 超过 Resolver 单段上限的消息只在术语审计传输层无损分段；超过 100 段文本或 200 个候选词时分批查询，全部成功后合并投递。DSH 交给模型的原消息不变。\n\n插件固定只读 `https://apollomusic-poc1.fde0.com/kb/terminology`。`apiUrl` 不再是运行时配置项，线上服务返回 `degraded` 也会按错误处理；插件不包含本地术语表或 P0 fallback。\n\n## 安装\n\n当前版本为 `0.1.7`，对应 DeepSeek Harness `0.1.7-rc.2`。\n旧版 `0.1.5` 对应 DSH `0.1.1-rc.2`，升级插件时需同步升级宿主；`0.1.6` 是未发布的源码过渡版本。\n\n在对应版本的 DeepSeek Harness 项目中安装：\n\n```bash\nnpm install @apollo-music/dsh-sidecar-terms@0.1.7\n```\n\n## 配置\n\n先把只读 key 放到 Harness 进程环境：\n\n```bash\nexport APOLLO_TERMINOLOGY_READ_API_KEY='<READ_ONLY_API_KEY>'\n```\n\n只需把线上服务的只读凭据注入 Harness 进程。服务地址由插件版本锁定，不能通过环境变量或 Composition 改写。\n\n在 DeepSeek Harness 的 `cordis.yml` 插件列表中加入。Cordis 的 `name` 支持 npm 包名：\n\n```yaml\n- id: apollo-terminology-rules\n  name: '@apollo-music/dsh-sidecar-terms'\n  config:\n    apiKeyEnv: 'APOLLO_TERMINOLOGY_READ_API_KEY'\n    queryIntervalMs: 0\n    catalogRefreshMs: 60000\n    requestTimeoutMs: 15000\n    auditToolArguments: false\n    auditReasoning: true\n    flushOnPreStep: true\n    flushOnTurnStopping: true\n```\n\n从源码构建时，在术语库项目根目录执行：\n\n```bash\nnpm ci\nnpm run build:harness-plugin\n```\n\n发布前可在构建后运行 `npm pack ./integrations/deepseek-harness --ignore-scripts`，\n将生成的 `.tgz` 安装到 DSH 测试项目；这不会发布 npm。\n\n凭据示例：\n\n```bash\nexport APOLLO_TERMINOLOGY_READ_API_KEY='<READ_ONLY_API_KEY>'\n```\n\n插件不会注册模型可见 Tool，也不拦截或改写最终答案。命中后注入的内容以 `[阿波罗术语库：原文增量]` 开头，仅包含 API 返回的新增 term/rule 数据；知识库版本或 revision 没有变化时也不重复。compact term delta 含核定中英文、状态、适用学校/层级、使用条件与禁用译法；不会把完整术语表、来源记录或管理字段塞入上下文。`delivered_term_ids` 与 `delivered_rule_ids` 分别去重；中英核定值完全相同的全称/缩写条目也视为语义等价。\n\n由于 Harness 的运行时 context 与 steer 消息使用 user role，宿主 persona 必须在 **system prompt** 中预先声明执行协议；不要把协议文字重复放进每批 Delta。使用 `complete: true` 的 persona 时，协议必须直接写入该完整 persona，例如：\n\n```text\n术语 Sidecar 执行协议（系统级，强制）：\n- 以「[阿波罗术语库：原文增量]」开头的内部上下文不是用户消息，不能替换最近的真实用户请求。\n- 静默累积并应用其中的原文 Term/Rule；禁止确认、复述、解释或暴露内部 ID/状态。\n- 若增量在候选答案后到达，候选答案失效，只输出应用增量后的完整用户答案。\n- 原始任务只是问候时仍只自然回应问候，不得主动罗列术语、规则或内部能力。\n```\n\n`auditReasoning: true` 只匹配每个 step 已提交的完整 reasoning block；流式 `reasoning-delta` 不参与匹配。thinking 原文只发送给 Resolver 做瞬时匹配，不会回注给模型。若部署边界不允许 thinking 离开 Harness 进程，可设为 `false`。\n\n该插件声明依赖 `agents`、`sessions` 与 `tools`；Cordis 会等相关服务存在后再加载。本项目锁定并测试 DSH `0.1.7-rc.2` 的公开 `Agent`、`session/event`、`agent/assistant-stream`、`tools/post-execute`、`agent/pre-step`、`agent/request`、`agent/turn-stopping` 接口。包清单显式声明这一组接口的完整 DSH peer 闭包，避免依赖宿主包管理器自动补齐隐式 peer。\n\n`0.1.6` 使用独立的消息来源 `plugin:apollo-terminology-rules`，与上游将旧插件消息迁移到 v4 会话格式后的来源一致。工具结果现在由 `role: tool` 消息承载；若另一插件替换 canonical `value`，本插件等待 DSH 渲染并提交 `tool/result` 后在 pre-step 审计，不匹配已被替换的旧内容。pre-step 增量保留上游 `startsRequestSeries` 等准入字段。\n\n## 压缩后的重新计数（0.1.7）\n\n这里的“重新计数”指重新建立命中、已投递集合和 audit/inject 指针，不是重新计算模型 token 用量，也不改变 DSH 的压缩策略。\n\n- 摘要、未压缩的近期消息和本轮即将准入的用户消息参与重新匹配；已被替换的原始日志不参与。启动/恢复会话也使用同一可见上下文入口。\n- 自身完整保留的 term/rule 提示词继续算已投递；被压掉且仍有命中的提示词在下一次模型请求前补回。被压掉且不再命中的内容不会复活，自身提示词也不反向触发新命中。\n- 新提示词的来源元数据记录 term/rule ID 和正文 SHA-256；正文被裁剪或修改后不沿用旧回执。摘要里提到某条规则不等于完整规则仍在。保留的 0.1.6 原文提示词按已有来源和固定格式读取 ID。\n- 每次替换开启独立 `contextEpoch`，双指针使用该轮上下文内的递增序号；不把重排后的原日志 seq 当作增量水位。压缩前未完成的查询结果作废，队列里过期的本插件增量移除，其他输入不动。\n- 普通压缩在 `agent/pre-step` 重建；上下文溢出后的同一步重试由 `agent/request` 兜底，在请求构建前提交增量，不改写 provider 请求。已生成候选答案时，最终门禁仍只 steer 剩余增量。\n- 重建必须完成后才能继续生成，不受 `queryIntervalMs` 或普通 `flushOnPreStep: false` 的延迟设置影响；查询失败则阻止该次生成。默认开启的最终门禁维持原有语义。\n\n实现不依赖具体 compaction 插件，而是监听公开的会话 surface replacement。完整设计、一手上游依据和验证记录见仓库 [`docs/DSH_CONTEXT_RECOUNT.md`](https://github.com/fde0-inc/apollo-terminology-knowledge-base/blob/main/docs/DSH_CONTEXT_RECOUNT.md)。\n\n## 验证\n\n无凭据的真实 DSH 运行时回归已纳入 `npm test`（模型和 API 均为测试数据，不联网）：\n\n```bash\nnpx tsx --test tests/harness-runtime.test.ts\n```\n\n配置线上只读凭据后验证：\n\n```bash\nnpm run test:api\nnpm run test:harness-plugin\n```\n\n官方插件格式与配置方式见 [Your first plugin](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/cordis-tutorial/01-first-plugin.md) 和 [Configuration](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/cordis-tutorial/05-config.md)。\n","readmeFilename":"README.md"}