{"_id":"@tbox-dev-js/sdk","_rev":"28-b4e2dfb994abf0121c37cbcd9f95ff3a","name":"@tbox-dev-js/sdk","dist-tags":{"latest":"0.1.36"},"versions":{"0.1.0":{"name":"@tbox-dev-js/sdk","version":"0.1.0","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.0","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"812a44ed26616e304cf6e9f55aec1efea765594a","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.0.tgz","fileCount":28,"integrity":"sha512-hePPZFmT1irWiALQvoSfXRdQNpnbUtiYAfTRAF9k58OJVBXN83kMW/s7Iya0P6W/WIT2qF8F5E2sMEMhQPRhcQ==","signatures":[{"sig":"MEQCICYJLpl/LCgCphY5Bpc8JPCNuWYV/DN0zmSi8aikE2WiAiA6pioFEC7W3AQtxW9+0LSVGb/simsxQ72/R0CTQuf7QQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":672224},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"551b76547d878385f2ab7f252b9c374cb03f72fb","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1776150935757_0.7892461958868537","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@tbox-dev-js/sdk","version":"0.1.3","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.3","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"29ac0d7a077eafe2ab6378027e852388eb185750","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.3.tgz","fileCount":28,"integrity":"sha512-qawm5ndKanCxcRgxK095XdeCzjs2cIOe4mTlRwfJtC3qEIkDsoAJaxLHwOF374cIJVQylQOm1W0asKUUFLT+JQ==","signatures":[{"sig":"MEYCIQCYmKtzf36FC7VS9xkRX45IwYILEb6vwWOSyg2+GIzFWwIhAMlDk0FLOq2ploaP9jWoTzOZ70Dg/Di2IlsNxqJQ3kZ7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":681005},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0167f0944cf03c3473d439258c6156e9fe293351","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.3_1776154882068_0.12238751799699443","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@tbox-dev-js/sdk","version":"0.1.4","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.4","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"297d29d3649c4ba99bf9007e711538fbb2e7594f","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.4.tgz","fileCount":28,"integrity":"sha512-nlhQN7s0Y5sZnLBG5pVSRdckxpGeyPH5tu7pqxV+t5lDr80xizGNpmO3jEeITardO/CvXKwDpUFAzgTcyIhL2g==","signatures":[{"sig":"MEYCIQCo9gnBV5/xTDPDn9tlKDpGv28R5M3/E+L4dhN+r6XTvQIhANlTDRRc0so7fJ12L4/scuK4y7hL9l2oGsqwEpFICU4+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":680692},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0167f0944cf03c3473d439258c6156e9fe293351","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.4_1776155055179_0.8298106736071247","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@tbox-dev-js/sdk","version":"0.1.5","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.5","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"515ba053675c7df699b99f0a3340f89b7a950b53","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.5.tgz","fileCount":28,"integrity":"sha512-R/HDtnariGp75/+UK4L7hYrCCOSDTZdzFISlfJ5klqxtjQQgR3jel34qPOTNT6F4bivEqONB/X/J2Y1DD1gLZg==","signatures":[{"sig":"MEYCIQDf6lPgXCJwhzpzKlerr4TKAU9DosEti6iRzr5iYdHtmwIhAKyIVBYt0LG0JdXG73sbBU4FLxGauKomAntTuN4qhKLz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":680692},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0167f0944cf03c3473d439258c6156e9fe293351","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.5_1776155253029_0.2367985821465597","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@tbox-dev-js/sdk","version":"0.1.6","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.6","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"3f1f7cf38ef8bf360ececbdad677290215d50ec7","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.6.tgz","fileCount":29,"integrity":"sha512-7+s3iBjCZgvUM6MBDgDawAvfIYdwXFMR4UGZhRUNIJRz/jRS/mU3hUeu2xU8v08+U6lHAJpvbRfGOG3IcSLYYQ==","signatures":[{"sig":"MEYCIQDtSjJDnV9VxHlJK0KkiBOhpCvF5PM/cja7Utt64/HWhAIhAKi+hGP6qp2Ax+N4hjdJLn0zt4K2cXT+I5or1K2j8pDp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":717369},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"f7b007c59a3744b81bd2626810e1be09fb50f0ae","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.6_1776166450657_0.36482956007880185","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@tbox-dev-js/sdk","version":"0.1.7","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.7","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"9be5b692d868ff4367a3c13b07fba7640b28e0e7","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.7.tgz","fileCount":33,"integrity":"sha512-SrIQ9xJmX6e+Hc8UGk9Reuq39gHlYYoEFoxHumurmnsqVqQHqI8+ikRAD1zK2HmSJ+9YN0f8cOJt3tUMD5qxVg==","signatures":[{"sig":"MEQCIHpYuXjYBW3tvgjqs3sucuToRKxPALDVolpvFt2oYNNaAiAWS/nnulTh9zv/XAEK6zfLlNZGv5ApH7Qr2EILEj5SUw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":832549},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"b9f2d9758d2363aed7f8b12cc295c3f50c156dc1","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"11.9.0","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.7_1776311027388_0.9902526334444821","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@tbox-dev-js/sdk","version":"0.1.8","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.8","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"694240b367594c87e735585b15c8ddcef7da0533","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.8.tgz","fileCount":28,"integrity":"sha512-FeLOiE1gmmTJmUqbZTkysxsECRsDA7F7XqHMz/Iad/xPzD7yP+8IIoKwj4ruE9vuaNtJZLTpy1EZIAGfQsa6jQ==","signatures":[{"sig":"MEQCIAgslZFdFZ9ucs6AYn/3xvopGrjO+mKZ5dsn+CNj3fLlAiAl+SQ4qgBu2rRqov2QrOf9So63giZ+GjU5Tlh9BOqiGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":669594},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"630a41984004b2c29516e21d98045683c1b0288a","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.8_1776322712694_0.7827260797556759","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@tbox-dev-js/sdk","version":"0.1.9","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.9","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"856ea9c7001c3ae9486cba672b4be4ffd992cead","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.9.tgz","fileCount":28,"integrity":"sha512-IkqimqG4z1IGoE/e4wynFZc617u2ENTHWLeDNJ2fEnR1Ht901M4rn0ZQyzooOU6cuoEoRGV/mAp0FI/BOC8GmQ==","signatures":[{"sig":"MEQCIDQazzYmtJaWQQsxw6a21Lm7D7+jGjyZUF9M8YurUCOaAiBoVwzxneMOmifYq7yYmLvwnkU9ysHmN1EwBJUT4VKEeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663637},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"630a41984004b2c29516e21d98045683c1b0288a","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.9_1776331216335_0.7091127641254062","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@tbox-dev-js/sdk","version":"0.1.10","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.10","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"0870077807a86878c6fb4e234bf0be5f49daf945","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.10.tgz","fileCount":32,"integrity":"sha512-akKAVlkmVIYNrQBvCcsjiYTSbuP5pvEr4sBsftK4pTJYBEQ0RgTjWgxbRg/tMzaqkOcRVWqo/OB2VO7XqFSodQ==","signatures":[{"sig":"MEYCIQCqMIPeguPbz4482GG7tOzb0ntMwj7F1y4e++gFCQOgugIhALLW5ajtw7PQNaa+SqLhpD6q4Rs3fWy2FxkSZ19yT0IV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":782443},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"1ecdb6769869faf62a51e9bc0ba2c272b4854770","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.10_1776343657646_0.8482860993754313","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@tbox-dev-js/sdk","version":"0.1.11","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.11","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"c284af224372c703f9a3fc62676abb2b54fcc863","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.11.tgz","fileCount":24,"integrity":"sha512-r5gKie+sm2Kl79YqFThH0apfz7P8n2A7bibmkteobo28A+B2D/jo6S/ghYk6q80APVDxQ+5ycxEtO8Ojl8mwuQ==","signatures":[{"sig":"MEQCIBy9lTAJsvZP2FW/XRb9s+MCJQWubgyBSQJOXsfxhZuzAiA5Axcvbvp7Gwpt0ghuqyinFNfoh9I/3OhV/JNdMw7Slw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":572367},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"28571a0a83a43c17207a1ff65c34bec67b391b0b","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.11_1776359252881_0.1462494072331002","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@tbox-dev-js/sdk","version":"0.1.12","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.12","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"c977b856c39d0fff6a87cb08802fcf1a9d8c2d04","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.12.tgz","fileCount":24,"integrity":"sha512-FECG2hTC/98StXBVtLFMm6xO5280QmhW9ut4ozYU79eN/mqciHREClpAUHC4c3r8vc2dqdKMLQgS0hJyc0LN8w==","signatures":[{"sig":"MEQCIHRGsfFeAD5OWHv3MO+n/i+QTOT+eLC895qW27CXcTm+AiAPu26cjkwokludmXW7nCQK0xL0Km0TYp35Paa4XAL2Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578152},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"28571a0a83a43c17207a1ff65c34bec67b391b0b","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.12_1776394920893_0.6361002517352192","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@tbox-dev-js/sdk","version":"0.1.13","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.13","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"be852165fc43dbe64f4dfad004ed92e59836d6c3","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.13.tgz","fileCount":24,"integrity":"sha512-NzB1AmhxUqfvNPWIvHYYFUG7Xw1VWeIK+ugdOKWa+5wGytifOM8PhV7uPHUU4Okl2s8ayrxyk7dyYU+3Hj7v7w==","signatures":[{"sig":"MEYCIQCu3nuFnb6X8gzDESRZ6NonHTWcMjQ1OCpfaDgByjdbfwIhAOj7dqF18NvQs0tTYbNBz3J21EgZHrjnTxRI7h8ZBgwy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578098},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"28571a0a83a43c17207a1ff65c34bec67b391b0b","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.13_1776413959352_0.057688752103466134","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"@tbox-dev-js/sdk","version":"0.1.14","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.14","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"ec6a46e5ad5fd401ce1705e4828918dbd3b16ac7","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.14.tgz","fileCount":24,"integrity":"sha512-HDy14yYJOCa7X03qHeqBsgdhwVlt6xbB73w3hH1/u92dzCufUlgWCXNNSJnnCAtjlc33OTFoQDRlmi4Jp+VB9A==","signatures":[{"sig":"MEQCIHUEeWtjVhwGs8/Qd99rnodZTEORhX3VX7hH7O8w8WGQAiAn/CYgWOtSSv0hP2ZiT67Ez87Bh5XQyow3saeS6b8F4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578098},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"28571a0a83a43c17207a1ff65c34bec67b391b0b","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.14_1776414326875_0.4374425862528517","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"@tbox-dev-js/sdk","version":"0.1.15","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.15","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"e85de4059962e04d213f5e63ae70bf427dbd4aa1","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.15.tgz","fileCount":25,"integrity":"sha512-1a1l5oPZEMuUusRzoTaxUEYXBuzzcaAsTzQEjQTeaIl95ZNo5Hm400eDd0GR1816IdP9aoGTWz3tCsIEjHI0bw==","signatures":[{"sig":"MEYCIQD1B3zZ8y2n++GKYgc9okwpXwgWPBjxaGV3oW4WczzQmwIhAJK6oFiJ+vpxaOIroWxgg8cHuJRrNPvsEbTO1PIMfThl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":592897},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"b04e012730145d22b6565cded9c5cbdc24bc4ed5","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"11.9.0","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.15_1776619150065_0.7577510027723395","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"@tbox-dev-js/sdk","version":"0.1.16","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.16","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"1fbac34a4d10e473374b6825cb5f6ffee30da824","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.16.tgz","fileCount":26,"integrity":"sha512-FiUoI52zztKFF28vKVi+D5ciF6GlslIYJBBeGEbut2vIbgUeUHh+l2yPrM4KIzHD5fBA+InhDCHJDf5tMg5gFw==","signatures":[{"sig":"MEUCIAqsl5kHlGmdZKa7yUfuPBevK51xhCx46W/7tNOz5VaIAiEAw8hmeOp8XhaoMfdYG9IsO2Mry52QlWyje+is1D51yNM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":595220},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"b04e012730145d22b6565cded9c5cbdc24bc4ed5","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"11.9.0","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.16_1776656082192_0.41566456912832295","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"@tbox-dev-js/sdk","version":"0.1.17","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.17","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"2a07b875f923e4499b7cc4bd91e89cee8eac8430","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.17.tgz","fileCount":26,"integrity":"sha512-Vm8W752LctAZQdhrBVIu54lb2XefPymeZxHb5kXgrba+BBBcIflVv164FwBPFCl1gAVRvB2HevmreOb7oSG2Zg==","signatures":[{"sig":"MEUCIQCuicsbTfCtsh4356A/2OD53nKfnOX+SUaqxqHVhG6HIQIgJKjzU+bkD+89q+E5VFC9Zlwb/ROsIN52bOLvXWaIsAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":599432},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"9b424b573c887b4828b292f83732cc6d08a32622","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.17_1776742066928_0.653131439316061","host":"s3://npm-registry-packages-npm-production"}},"0.1.18":{"name":"@tbox-dev-js/sdk","version":"0.1.18","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.18","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"18f589a412065ea4ad57d9b9833e6104b1a852c7","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.18.tgz","fileCount":26,"integrity":"sha512-0LZQ01VuFAJo2/OTMISDOm6xvxsR1dbVu5qV2PJwztulWOzxnJqvF9KAgh3E+H4V5ccMQIWgcjKO5Z8HQK3Ubg==","signatures":[{"sig":"MEUCIQCcECgY6I90TPH3xAk2BX1Kug0mbG1lzP9Et9tukL9DcwIgMUEdTHwyzYKq+VE4oETWfzmGRxG0qeg52Z0WmXN/JoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":599405},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"3ed592c0fe27dd0b37ab8185a229310f46cd62f0","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"11.9.0","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.18_1777305287715_0.49612002772890684","host":"s3://npm-registry-packages-npm-production"}},"0.1.19":{"name":"@tbox-dev-js/sdk","version":"0.1.19","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.19","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"1b07e591fe82a810374c9889deee11d398c6d1ff","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.19.tgz","fileCount":28,"integrity":"sha512-vvy20UvRpSUCWbIHD7a6Csa6GszrCY9IQma5Vpp0EaSt7XgNbuyU09XZDiHW1t57MCiVh0MYD6FsuvFbQyYLYg==","signatures":[{"sig":"MEUCICRIAtW75egXLJyiSaqzynzn1LKTSGWZA4nLyWYzfJKOAiEAtQTHmBeom0WYZVrhLNZBsHXmx/w6ii6Dg+zCuV1YPpY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":723173},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0a32b45fde3d618b09aba78a76ebef3f1944c3bd","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.19_1777519866555_0.051796864528293796","host":"s3://npm-registry-packages-npm-production"}},"0.1.20":{"name":"@tbox-dev-js/sdk","version":"0.1.20","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.20","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"cfba12bbec0a5ea77fcaa2a1f8f6c7a1e50542b2","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.20.tgz","fileCount":28,"integrity":"sha512-3GPSVGeIfSqSWjYE3JIo+grN3rbHBdJrXabgKn1dylBu8g+SsqLY3fzm/09/onWrM6DM8LF8YSblw5rYDDJfxw==","signatures":[{"sig":"MEQCIAw3HbwxGx5P3iOagfBHNMMpZ3pD/HdY2qJky8ptDvZ/AiAEWWq0MSmlP70LyyG0fEYlGgkr4RS0YeXmfWnXAzsMHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":725257},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0a32b45fde3d618b09aba78a76ebef3f1944c3bd","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.20_1777537170394_0.41632915146129457","host":"s3://npm-registry-packages-npm-production"}},"0.1.21":{"name":"@tbox-dev-js/sdk","version":"0.1.21","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.21","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"45059d82e99d5eb25e23c0138f02d523946fdf60","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.21.tgz","fileCount":28,"integrity":"sha512-KI2OenaZbEcgKP5Y8uPUAiavM7AFXL35AUL+d6cOw5XcKvU+ojP7R3pkuGHzl0hSh/4eOASKNeyYMpMe/et9TQ==","signatures":[{"sig":"MEUCIQCBd9yLfMHXhvHexsNJx7WYUQe/vTj3On8N4xrPtNewBAIgMyL4B6zR091VsKJspLP3HPf9vY3KAsEYojIjdvwQpEs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":754932},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"714635b5dbb831ecd970b60ce134dd2af4656034","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.21_1778135855928_0.20652509644789374","host":"s3://npm-registry-packages-npm-production"}},"0.1.23":{"name":"@tbox-dev-js/sdk","version":"0.1.23","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.23","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"ebd0dcacff67e7f82fba703ff44cc5763675badb","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.23.tgz","fileCount":28,"integrity":"sha512-K0G6rn+7+5TicTcU/FNc1pCWMeK3kNopwjaPiz2PpTs8vYMd3D09mGps4RJ47z9Z4Q55ZEB04vgt8m53yxTpOw==","signatures":[{"sig":"MEQCIH4L9umYCLJ3RGkyCnvjRqgUVKjRiA5Gl7cYrJa8hnZRAiA+oQTVrIY83vABKkxvA0I77CTlPgAbhnbTGYhrEDZc8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":762476},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"d0f8abd8d858d65a31736e28e23241187abfe6b9","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.23_1778333329566_0.6294083903592438","host":"s3://npm-registry-packages-npm-production"}},"0.1.25":{"name":"@tbox-dev-js/sdk","version":"0.1.25","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.25","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"ba71ba16bcd28ad21961029f0c36fb41fe3dcc67","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.25.tgz","fileCount":28,"integrity":"sha512-ipx31frYMoN6VzrzDypz2QGee6W619qEHOwqdwW9D7Y8sQjmzkDEQkcg3Y8EclDa+bTFfPuYx0y/fNQHxEUPrw==","signatures":[{"sig":"MEUCIQCgBPja9mdHCsczR7aj+gJOrfqAlKm5UMD5jYyxkXkTEAIgGZeZI/cRcimwYLHr3Qyp6SWx44AllqlSp+Mmy05Z6Wk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":762476},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"d0f8abd8d858d65a31736e28e23241187abfe6b9","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.25_1779101337838_0.34665275881029456","host":"s3://npm-registry-packages-npm-production"}},"0.1.26":{"name":"@tbox-dev-js/sdk","version":"0.1.26","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.26","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"a10c1b4d5457133fb892ab7d094cdf81d9298fb9","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.26.tgz","fileCount":28,"integrity":"sha512-uYKBwdfzN6SogfrL7+hLB8+sA/X9TheSofx6UCLgE0guTqqwqU+VkhngtUXvS+weTOaOqnhBCfy3RXTGkLF6ow==","signatures":[{"sig":"MEYCIQCIYo/1IE7glqbVj2MzhNTBxnmYHVVIfzfYU9BWGsfOLAIhAPFSnGBdXX3j5F7hvqyiZEiXx0VXvLmaalR4nJko2NXx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":762476},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"d0f8abd8d858d65a31736e28e23241187abfe6b9","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.26_1779106693578_0.663064292284131","host":"s3://npm-registry-packages-npm-production"}},"0.1.27":{"name":"@tbox-dev-js/sdk","version":"0.1.27","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.27","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"6836e21b196fdd67a2aac45d4597b5fef4f80276","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.27.tgz","fileCount":28,"integrity":"sha512-hD5Bukhpjb8U4/uZiAX8RY2tRAgAJ+WwyuNUzgPGKbSUxp1F1nScYfrA9v2aePYsDXBYUuWDW/fTDAMQuXyi3Q==","signatures":[{"sig":"MEYCIQDmngaHibrCT75cU5l/iS3fTFvCe1e4xTKNhQpwzzPmBAIhANY6o7HZGSfsznnR9moGe5MqX2ztHAZehFr/+/XkFJ3N","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":729009},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"d39a281dd57eeaa2bc1200eefe495ba123f713b9","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.27_1779158614196_0.008515005340363535","host":"s3://npm-registry-packages-npm-production"}},"0.1.28":{"name":"@tbox-dev-js/sdk","version":"0.1.28","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.28","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"f2a7a3d4cef6b7307a7ecdc05ac624e551016b50","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.28.tgz","fileCount":28,"integrity":"sha512-PtMUJHXRZ3MsgTXz6zMuSIcPXZscYXA9aVK0/ITzlGGQR/FyEFiuVmUS28J3ctJ4K2TgNQTA/+JvTpHnv/tVow==","signatures":[{"sig":"MEQCIF19mrSLxfwRD45Uhfi1hlI6Rq8aXILhfWfTRJm6LtDYAiAZgfWLDpw7naxX5QszxgmLmyzLyB/shMc2uZ+iI76N7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":729307},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"58d55c86d5b9f5f06c978e033fdbf47875d97bac","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.28_1779161158664_0.9902270206113359","host":"s3://npm-registry-packages-npm-production"}},"0.1.32":{"name":"@tbox-dev-js/sdk","version":"0.1.32","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.32","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"4d7db0818aa9994dfd81b7ecc7b74bb40e2d580c","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.32.tgz","fileCount":28,"integrity":"sha512-+7cdoIiPeZh+aH+o2FlgnNlnQcpzPhq4RmlY0Zy4n+XbzZS6EjsWLe5B242bugYi6hYYjMCg7+VJdoyA3ULO2Q==","signatures":[{"sig":"MEUCIQDVJ/968Nwni3cct0+UPZX3tDdmji5KYSdLNQqbRKLhAwIgSoQzsze/oATXS26I+rXYbnnxgM63eAriXhUuiFiTVEg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":736197},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"58d55c86d5b9f5f06c978e033fdbf47875d97bac","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.32_1781164301975_0.8887279635106913","host":"s3://npm-registry-packages-npm-production"}},"0.1.33":{"name":"@tbox-dev-js/sdk","version":"0.1.33","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"author":{"name":"whx2010nj"},"license":"MIT","_id":"@tbox-dev-js/sdk@0.1.33","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"67ac1b6471bd292b6c01bf10f59edb14376c709e","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.33.tgz","fileCount":28,"integrity":"sha512-n/g7YWXdXAIXsnBhoSfxRwk0Y61OEYbX9IAXimW997NHVxkG/N94zmV7QeCxwlCzaNXizhjSjexWbgYkqVrjuw==","signatures":[{"sig":"MEUCIQDq+LxiC5d2YKu7kwBw0pQBHeLq6wx+Z4qKWWH3DEkoBQIgUPA3xPVtCecH8xhZnjx3vj1AubuIaTCg4S09X/ux7ZQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":738134},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"21c9c1d65e81509cdf5ddb450e1108dd344c239e","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"10.9.4","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.33_1781176659210_0.8724305589849533","host":"s3://npm-registry-packages-npm-production"}},"0.1.36":{"_id":"@tbox-dev-js/sdk@0.1.36","bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"dist":{"shasum":"cc876d590109507b5562107acc8381f18102987e","tarball":"https://registry.npmjs.org/@tbox-dev-js/sdk/-/sdk-0.1.36.tgz","fileCount":28,"integrity":"sha512-4TEOuxMP88BDxqi/jaOblcQRvpZS8h3C/0Szi1o74n5KBN1vIIFumxiT5Pe7OUtTJM4jLPPqv7NOHU8r2yIdqg==","signatures":[{"sig":"MEUCIQDFqtA3cTI/yQ0TpYA6ZteVDQ4nSwvw66LcI1Ia+TBB+wIgf8bi0BJqjT1wVXwoZbIuLQ/v2Z6WwCHVRpEMH3DGpBE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDLgjjxkkUF5tkXKOtV73WoSNMzZ/m7jNWvOKRnF2g3+gIhAOPjH41V4jMAj8Uznb4abhvfm3lSwTXEaD8ZmH00OkFF"}],"unpackedSize":738668},"main":"dist/index.cjs","name":"@tbox-dev-js/sdk","type":"module","types":"dist/index.d.ts","author":{"name":"whx2010nj"},"module":"dist/index.esm.js","browser":{"fs":false,"path":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"21c9c1d65e81509cdf5ddb450e1108dd344c239e","license":"MIT","scripts":{"build":"rollup -c","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly","publish:dry":"npm publish --dry-run --access public","publish:npm":"npm publish --access public","version:major":"npm version major --no-git-tag-version","version:minor":"npm version minor --no-git-tag-version","version:patch":"npm version patch --no-git-tag-version","prepublishOnly":"npm run clean && npm run typecheck && npm run build"},"version":"0.1.36","_npmUser":{"name":"whx2010nj","email":"whx2010nj@163.com"},"homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"_npmVersion":"11.17.0","description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","directories":{},"maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.3","rollup":"^4.18.0","typescript":"^5.4.5","@types/node":"^25.6.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.36_1789703693933_0.8593560495260282"}}},"time":{"created":"2026-04-14T07:15:35.659Z","modified":"2026-09-18T03:54:54.194Z","0.1.0":"2026-04-14T07:15:35.961Z","0.1.3":"2026-04-14T08:21:22.283Z","0.1.4":"2026-04-14T08:24:15.397Z","0.1.5":"2026-04-14T08:27:33.217Z","0.1.6":"2026-04-14T11:34:10.826Z","0.1.7":"2026-04-16T03:43:47.587Z","0.1.8":"2026-04-16T06:58:32.832Z","0.1.9":"2026-04-16T09:20:16.540Z","0.1.10":"2026-04-16T12:47:37.842Z","0.1.11":"2026-04-16T17:07:33.055Z","0.1.12":"2026-04-17T03:02:01.096Z","0.1.13":"2026-04-17T08:19:19.485Z","0.1.14":"2026-04-17T08:25:27.059Z","0.1.15":"2026-04-19T17:19:10.206Z","0.1.16":"2026-04-20T03:34:42.351Z","0.1.17":"2026-04-21T03:27:47.078Z","0.1.18":"2026-04-27T15:54:47.859Z","0.1.19":"2026-04-30T03:31:06.824Z","0.1.20":"2026-04-30T08:19:30.586Z","0.1.21":"2026-05-07T06:37:36.138Z","0.1.23":"2026-05-09T13:28:49.735Z","0.1.25":"2026-05-18T10:48:57.996Z","0.1.26":"2026-05-18T12:18:13.748Z","0.1.27":"2026-05-19T02:43:34.401Z","0.1.28":"2026-05-19T03:25:58.943Z","0.1.32":"2026-06-11T07:51:42.131Z","0.1.33":"2026-06-11T11:17:39.387Z","0.1.36":"2026-09-18T03:54:54.034Z"},"bugs":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js/issues"},"author":{"name":"whx2010nj"},"license":"MIT","homepage":"https://code.alipay.com/tbox-vibe-template/tbox-js#readme","keywords":["tbox","sdk","knowledge-base","ai","baobao","plugin"],"repository":{"url":"https://code.alipay.com/tbox-vibe-template/tbox-js","type":"git"},"description":"百宝箱平台 JavaScript SDK — 知识库、插件、会话等服务的统一客户端","maintainers":[{"name":"whx2010nj","email":"whx2010nj@163.com"}],"readme":"# @tbox-dev-js/sdk\n\n百宝箱（Tbox）平台 JavaScript/TypeScript SDK，为商户提供一站式 AI 应用服务接入能力。\n\n## 特性\n\n- 🔐 **双鉴权链路** — B端（API Key）和 C端（Session 授权码）两种鉴权模式\n- 🤖 **LLM 对话** — OpenAI 兼容的 Chat Completions，支持流式输出\n- 📚 **知识库检索** — 语义检索 + 配置文件驱动的多知识库管理\n- 🗄️ **数据库访问** — 基于 Superbase 数据链路的轻量 CRUD 客户端，配置文件驱动\n- 🔌 **插件工具** — TTS、ASR、网络搜索、自定义插件执行\n- 💬 **会话管理** — 会话创建、消息保存与查询\n- 🗺️ **高德地图** — 天气、地理编码、路线规划等 13 项地图服务\n- 🎙️ **C端多媒体** — TTS 语音合成（WebSocket）、ASR 语音识别、文件上传、消息反馈\n- 📦 **双格式输出** — ESM + CJS 双格式，完整 TypeScript 类型\n- 🌐 **多端适配** — 支持 H5、小程序（Taro/uni-app/原生 wx）、Node.js，通过 `setFetcher` 注入自定义请求实现\n\n---\n\n## 安装\n\n```bash\nnpm install @tbox-dev-js/sdk\n```\n\n---\n\n## 鉴权说明\n\nSDK 涉及三个角色：\n\n| 角色 | 说明 | 持有凭证 |\n|------|------|---------|\n| **商户 Server** | 后端服务 | API Key（从百宝箱平台开发网关后台获取） |\n| **商户 Client** | 前端应用 | C端授权码（sessionId + channel） |\n| **百宝箱平台** | Tbox 网关 | 颁发凭证 |\n\n### B端鉴权（商户 Server → 百宝箱平台）\n\n商户 Server 通过 API Key 直接调用百宝箱平台，请求头携带 `Authorization: <apiKey>`。\n\n**适用客户端**：`TboxPluginClient`、`TboxConversationClient`、`TboxAppClient`、`LlmClient`、`AmapClient`、`TboxKnowledgeClient`\n\n### C端鉴权（商户 Client → 商户 Server → 百宝箱平台）\n\n商户 Client 先通过商户 Server 获取百宝箱平台颁发的授权码，再直接调用百宝箱平台。\n\n```\n商户 Client → 商户 Server → TboxAppClient.generateSession(apiKey)\n                                    ↓\n                          百宝箱平台颁发 sessionId + channel\n                                    ↓\n商户 Client ← 返回授权码 ← 商户 Server\n                                    ↓\n商户 Client → 百宝箱平台（TBOXSESSIONID + X-Tbox-Channel + X-Tbox-AppId）\n```\n\n**适用客户端**：`TboxHomepageClient`\n\n> ⚠️ API Key 仅在商户 Server 侧使用，禁止暴露给前端。\n\n---\n\n## 多端适配\n\nSDK 的 C 端客户端（`TboxHomepageClient`、`TboxFeedbackClient`、`TboxUploadClient`、`TboxAsrClient`）默认使用浏览器原生 `fetch` 发起请求。在小程序环境中没有全局 `fetch`，需要通过 `setFetcher` 注入自定义请求实现。\n\n**H5 / Node.js：** 无需任何配置，自动使用原生 `fetch`。\n\n**小程序环境：** 在使用任何 C 端客户端之前，调用 `setFetcher` 注册请求函数：\n\n```ts\nimport Taro from '@tarojs/taro';\nimport { setFetcher } from '@tbox-dev-js/sdk';\n\nsetFetcher((url, init) => {\n  return new Promise((resolve, reject) => {\n    Taro.request({\n      url,\n      method: (init?.method as any) || 'GET',\n      header: init?.headers,\n      data: init?.body,\n      success: (res) => {\n        resolve({\n          ok: res.statusCode >= 200 && res.statusCode < 300,\n          status: res.statusCode,\n          statusText: String(res.statusCode),\n          headers: { get: (name) => res.header?.[name] ?? null },\n          json: async () => res.data,\n          text: async () =>\n            typeof res.data === 'string' ? res.data : JSON.stringify(res.data),\n          arrayBuffer: async () => res.data as ArrayBuffer,\n        });\n      },\n      fail: (err) => reject(new Error(err.errMsg)),\n    });\n  });\n});\n```\n\n> 只需实现 SDK 实际使用的接口子集（`FetcherInit` / `FetcherResponse`），无需完整模拟浏览器 `fetch`。小程序环境若缺少 `AbortController`，SDK 会自动降级为无超时控制，不会报错。\n\n**适配范围：** 仅 C 端客户端（基于 `HttpClient`）。B 端客户端（`TboxPluginClient`、`KnowledgeClient` 等基于 `APIClient`）仅在 Server 层使用，不需要适配。\n\n---\n\n## 快速开始\n\n### LLM 大模型对话\n\n当前支持的模型：`qwen3.6-plus`、`qwen3.5-plus`、`MiniMax-M2.5`、`glm-5.1`、`glm-5v-turbo`、`glm-5-turbo`、`glm-5`、`kimi-k2.5`\n\n```ts\nimport { LlmClient, SUPPORTED_MODELS } from '@tbox-dev-js/sdk';\n\nconst llm = new LlmClient({ apiKey: 'your-api-key' });\n\n// 简化调用\nconst answer = await llm.chat('kimi-k2.5', [\n  { role: 'user', content: '你好，请介绍一下你自己' },\n]);\nconsole.log(answer);\n\n// 流式调用\nconst stream = await llm.chatCompletions({\n  model: 'kimi-k2.5',\n  messages: [{ role: 'user', content: '你好' }],\n  stream: true,\n});\n\nfor await (const chunk of stream) {\n  process.stdout.write(chunk.choices[0]?.delta?.content ?? '');\n}\n```\n\n### 知识库检索\n\n```ts\nimport { TboxKnowledgeClient } from '@tbox-dev-js/sdk';\n\n// 自动从【项目根目录】下的 config/knowledge.json 加载配置\nconst knowledge = new TboxKnowledgeClient({ apiKey: 'your-api-key' });\n\n// 按名称检索\nconst result = await knowledge.retrieveByName('alipay-doc', '福州有哪些景点？');\nif (result.success) {\n  for (const item of result.data) {\n    console.log(`[${item.score.toFixed(2)}] ${item.content}`);\n  }\n}\n\n// 查看知识库 schema\nconst schema = knowledge.getSchema('alipay-doc');\nconsole.log(schema?.columns.map(c => `${c.name}: ${c.description}`));\n\n// 直接指定 datasetId 检索\nconst knowledge2 = new TboxKnowledgeClient({\n  apiKey: 'your-api-key',\n  datasetId: 'your-dataset-id',\n});\nconst result2 = await knowledge2.retrieve('退款政策是什么？');\n```\n\n### 数据库访问（Nexbase）\n\n基于百宝箱 BFF 代理 + Superbase 数据链路的轻量数据库访问客户端，提供 `insert` / `select` / `update` / `delete` 四个语义化 CRUD 方法以及原始 SQL 执行能力。请求统一通过 `https://o.tbox.cn/openapi/v1/integration/bff/nexbase/api/v1/zdas/executeSql` 转发，仅需 `X-Superbase-Auth-Token` 鉴权。详细文档参见 [`docs/nexbase-client.md`](./docs/nexbase-client.md)。\n\n```ts\nimport { NexbaseClient } from '@tbox-dev-js/sdk';\n\n// 自动从【项目根目录】下的 config/nexbase.json 加载配置\nconst db = new NexbaseClient();\n\n// 插入\nawait db.insert('users', { name: 'Alice', age: 20 });\n\n// 查询\nconst list = await db.select('users', {\n  columns: ['id', 'name'],\n  where: { age: 20 },\n  orderBy: 'id DESC',\n  limit: 10,\n});\n\n// 更新（强制要求 where，避免误全表更新）\nawait db.update('users', { age: 21 }, { id: 1 });\n\n// 删除（强制要求 where，避免误全表删除）\nawait db.delete('users', { id: 1 });\n\n// 原始 SQL（复杂查询场景）\nconst stats = await db.executeSql(\n  'SELECT status, COUNT(*) AS cnt FROM users GROUP BY status'\n);\n```\n\n### 插件工具执行\n\n```ts\nimport { TboxPluginClient } from '@tbox-dev-js/sdk';\n\nconst plugin = new TboxPluginClient({ apiKey: 'your-api-key' });\n\n// 按工具 ID 执行\nconst result = await plugin.run('tool-id-xxx', {\n  params: { city: '杭州' },\n});\n\n// 按工具名称执行（通过插件 ID + 工具名称定位）\nconst sqlResult = await plugin.runByToolName(\n  '202604290lNB08558454',  // pluginId\n  'execute_sql',            // toolName\n  {\n    project_id: 'project_3e2df4eb7b0b4f8b',\n    sql: 'SELECT * FROM users LIMIT 10',\n    user_identity: 'zhangsan',\n  },\n);\n\n// TTS 文字转语音\nconst tts = await plugin.doTts({ tts_text: '你好，世界' });\n\n// ASR 语音转文字\nconst asr = await plugin.asrBase64({ base64_audio: '<base64-string>' });\n\n// 网络搜索\nconst search = await plugin.webSearch({ q: '上海今天天气' });\nif (search.success) {\n  for (const item of search.data?.items ?? []) {\n    console.log(item.title, item.url);\n  }\n}\n```\n\n### 会话管理\n\n```ts\nimport { TboxConversationClient } from '@tbox-dev-js/sdk';\n\nconst conv = new TboxConversationClient({ apiKey: 'your-api-key' });\n\n// 创建会话\nconst res = await conv.createConversation({\n  agentId: 'your-app-id',\n  userId: 'user-123',\n});\nconst conversationId = res.data;\n\n// 保存消息\nawait conv.saveMessage({\n  agentId: 'your-app-id',\n  conversationId,\n  query: '今天天气怎么样？',\n  answer: '今天杭州晴天，25°C。',\n});\n\n// 查询消息列表\nconst messages = await conv.listMessages({\n  agentId: 'your-app-id',\n  conversationId,\n  pageNo: 1,\n  pageSize: 20,\n});\n```\n\n### 高德地图\n\n```ts\nimport { AmapClient } from '@tbox-dev-js/sdk';\n\nconst amap = new AmapClient({ apiKey: 'your-api-key' });\n\n// 查询天气\nconst weather = await amap.weather({ city: '杭州市' });\nif (weather.success) {\n  const w = weather.data?.lives?.[0];\n  console.log(`${w?.city} ${w?.weather} ${w?.temperature}℃`);\n}\n\n// 地址转经纬度\nconst geo = await amap.geocode({ address: '北京市朝阳区阜通东大街6号' });\n\n// 步行路线规划\nconst route = await amap.walkingRoute({ origin: '116.481028,39.989643', destination: '116.434446,39.90816' });\n```\n\n### 首页开场白（C端鉴权）\n\n```ts\nimport { TboxHomepageClient } from '@tbox-dev-js/sdk';\n\n// 方式一：便捷工厂（自动获取 session，仅限 Server 侧）\nconst client = await TboxHomepageClient.create({\n  apiKey: 'your-api-key',\n  appId: 'your-app-id',\n  userId: 'user-123',\n});\n\n// 方式二：手动传入 session（适用于前端）\nconst client2 = new TboxHomepageClient({\n  session: { sessionId: 'xxx', channel: 'alipay_mini_app', appId: 'your-app-id' },\n});\n\nconst result = await client.get({ agentId: 'your-agent-id' });\nif (result.success) {\n  console.log('开场白:', result.data?.prologue);\n  console.log('推荐问题:', result.data?.suggestQuestions);\n}\n```\n\n### C端语音识别（ASR）\n\n```ts\nimport { TboxAsrClient } from '@tbox-dev-js/sdk';\n\n// 便捷工厂（自动获取 session）\nconst asr = await TboxAsrClient.create({\n  apiKey: 'your-api-key',\n  appId: 'your-app-id',\n  userId: 'user-123',\n});\n\nconst result = await asr.recognize({ base64Audio: '<base64-string>' });\nif (result.success) {\n  console.log('识别结果:', result.data?.text);\n}\n```\n\n### C端文件上传\n\n```ts\nimport { TboxUploadClient } from '@tbox-dev-js/sdk';\n\nconst upload = await TboxUploadClient.create({\n  apiKey: 'your-api-key',\n  appId: 'your-app-id',\n  userId: 'user-123',\n});\n\nconst result = await upload.upload({\n  file: yourBlob,\n  fileType: 'image',\n  fileName: 'photo.jpg',\n});\nif (result.success) {\n  console.log('文件 ID:', result.data?.fileId);\n}\n```\n\n### C端消息反馈（点赞/点踩）\n\n```ts\nimport { TboxFeedbackClient } from '@tbox-dev-js/sdk';\n\nconst feedback = await TboxFeedbackClient.create({\n  apiKey: 'your-api-key',\n  appId: 'your-app-id',\n  userId: 'user-123',\n});\n\nawait feedback.addTag({\n  requestId: 'message-request-id',\n  feedback: 'LIKE', // 'LIKE' | 'DISLIKE' | 'CANCEL'\n});\n```\n\n### C端 TTS 语音合成（WebSocket）\n\n```ts\nimport { TboxTtsClient } from '@tbox-dev-js/sdk';\n\n// 便捷工厂\nconst tts = await TboxTtsClient.create({\n  apiKey: 'your-api-key',\n  appId: 'your-app-id',\n  userId: 'user-123',\n  ttsAppkey: 'your-tts-appkey',\n  ttsAuthUrl: 'https://your-tts-auth-url',\n});\n\n// 获取鉴权信息\nconst auth = await tts.fetchAuth();\nif (auth.success && auth.data) {\n  // 构建 WebSocket URL\n  const wsUrl = tts.buildUpstreamUrl(auth.data);\n\n  // 构建初始化 payload\n  const initPayload = TboxTtsClient.buildPayload();\n\n  // 构建文本 payload\n  const textPayload = TboxTtsClient.buildTextPayload('你好，世界');\n\n  // 构建停止 payload\n  const stopPayload = TboxTtsClient.buildStopPayload();\n\n  // 消费者自行管理 WebSocket 连接\n  // const ws = new WebSocket(wsUrl);\n  // ws.send(initPayload); ws.send(textPayload); ws.send(stopPayload);\n}\n```\n\n### Session 生成（B→C 鉴权桥接）\n\n```ts\nimport { TboxAppClient } from '@tbox-dev-js/sdk';\n\nconst app = new TboxAppClient({ apiKey: 'your-api-key' });\n\nconst result = await app.generateSession({\n  appId: 'your-app-id',\n  userId: 'user-123',\n});\n\nif (result.success) {\n  // 将 sessionId + channel 返回给前端\n  console.log('sessionId:', result.data?.sessionId);\n  console.log('channel:', result.data?.channel);\n}\n```\n\n---\n\n## 配置文件\n\n### 配置文件加载机制（统一规范）\n\nSDK 中所有支持本地配置文件的客户端（目前为 `TboxKnowledgeClient`、`NexbaseClient`），都统一通过 `src/node-utils.ts` 提供的工具方法加载，以保证规则一致：\n\n| 工具方法 | 说明 |\n|---------|------|\n| `findProjectRoot(startDir?, marker?)` | 定位**代码库根目录**。从 `startDir`（默认 `process.cwd()`）向上遍历到文件系统根目录，返回**最外层**包含 `marker`（默认 `package.json`）的目录。**与常见的 \"find first\" 实现不同**，本方法返回最外层匹配，确保在 monorepo 子包中调用也能定位到真正的代码库根目录。 |\n| `loadJsonConfig<T>(filePath, rootDir?)` | 读取并解析 JSON 配置文件。绝对路径直接使用；相对路径相对 `rootDir`（默认 `findProjectRoot()`）解析。失败时**静默返回 `undefined`**，不抛异常。 |\n| `loadProjectConfig<T>(relativePath)` | `loadJsonConfig` 的便捷封装，固定从代码库根目录加载。 |\n\n**统一规则**：所有客户端的本地配置文件都从【项目根目录】下的 `config/{clientName}.json` 加载，例如：\n\n- `TboxKnowledgeClient` → `<项目根目录>/config/knowledge.json`\n- `NexbaseClient` → `<项目根目录>/config/nexbase.json`\n- 后续新增的客户端也应遵循 `<项目根目录>/config/{clientName}.json` 命名约定\n\n**默认行为**：\n\n- 配置文件不存在时静默跳过，不报错（不会影响客户端的构造，未传入必填字段时才会抛错）\n- 在 monorepo 中，子包 `cwd` 也会被解析到最外层 `package.json` 所在目录（即项目根目录）\n\n**自定义代码库根目录**（按优先级从高到低）：\n\n1. **构造参数 `projectRoot`**：`new NexbaseClient({ projectRoot: '/custom/path' })`\n2. **环境变量 `TBOX_PROJECT_ROOT`**：`TBOX_PROJECT_ROOT=/workspace node app.js`\n3. **自动查找**：从 `process.cwd()` 向上找到最外层 `package.json` 所在目录\n\n**自定义配置文件路径**（构造参数 `config` 字段）：\n\n```ts\n// 字符串：相对于代码库根目录的路径\nnew TboxKnowledgeClient({ apiKey: 'xxx', config: 'configs/kb.json' });\n\n// 字符串：绝对路径\nnew NexbaseClient({ config: '/etc/myapp/nexbase.json' });\n\n// 对象：直接传入配置内容，跳过文件加载\nnew NexbaseClient({ config: { apiKey: 'xxx', projectId: 'yyy' } });\n```\n\n**新增需要本地配置的客户端时，请遵循同样规范**：使用 `loadJsonConfig` / `loadProjectConfig`，避免自行实现 `fs.readFileSync` 逻辑。\n\n### 知识库配置文件\n\n`TboxKnowledgeClient` 自动从【项目根目录】下的 `config/knowledge.json` 加载知识库配置，格式如下：\n\n```json\n{\n  \"version\": \"1.0\",\n  \"defaults\": {\n    \"topK\": 5,\n    \"scoreThreshold\": 0.5,\n    \"updateMode\": \"UPSERT\"\n  },\n  \"knowledge_bases\": {\n    \"alipay-doc\": {\n      \"name\": \"alipay-doc\",\n      \"type\": \"STRUCTURED\",\n      \"datasetId\": \"your-dataset-id\",\n      \"documentId\": \"your-document-id\",\n      \"description\": \"景点数据知识库\",\n      \"schema\": {\n        \"name\": \"景点数据\",\n        \"description\": \"景点信息表\",\n        \"columns\": [\n          { \"name\": \"title\", \"dataType\": \"STRING\", \"description\": \"景点名称\", \"primaryKey\": true },\n          { \"name\": \"description\", \"dataType\": \"STRING\", \"description\": \"景点介绍\" }\n        ]\n      },\n      \"retrieve_config\": {\n        \"topK\": 3,\n        \"scoreThreshold\": 0.7\n      }\n    }\n  }\n}\n```\n\n**参数优先级**：方法参数 > 知识库 `retrieve_config` > 全局 `defaults` > 代码默认值\n\n### Nexbase 数据库配置文件\n\n`NexbaseClient` 自动从【项目根目录】下的 `config/nexbase.json` 加载数据库访问配置，格式如下：\n\n```json\n{\n  \"version\": \"1.0\",\n  \"anonKey\": \"sb_your_anon_key\",\n  \"projectId\": \"your_project_id\",\n  \"databaseName\": \"your_database_name\",\n  \"baseUrl\": \"https://o.tbox.cn\",\n  \"timeout\": 5000,\n  \"debug\": false,\n  \"tables\": {\n    \"users\": {\n      \"name\": \"users\",\n      \"description\": \"用户表\",\n      \"primaryKey\": \"id\",\n      \"columns\": [\n        { \"name\": \"id\", \"dataType\": \"BIGINT\", \"required\": true },\n        { \"name\": \"name\", \"dataType\": \"VARCHAR(64)\", \"required\": true },\n        { \"name\": \"age\", \"dataType\": \"INT\" }\n      ]\n    }\n  }\n}\n```\n\n**字段说明**：\n\n| 字段 | 必填 | 说明 |\n|------|------|------|\n| `anonKey` | ✅ | **Superbase anon_key**，用于 `X-Superbase-Auth-Token` 鉴权。构造参数中对应字段为 `apiKey` |\n| `projectId` | ✅ | 项目 ID（标识 Superbase 项目） |\n| `databaseName` | — | 数据库名（作为请求体 `dataBaseName` 字段） |\n| `baseUrl` | — | BFF 代理 base URL，默认 `https://o.tbox.cn` |\n| `timeout` | — | 请求超时（毫秒，默认 5000） |\n| `debug` | — | 调试日志开关 |\n| `tables` | — | 表结构元信息（仅作上下文，运行时不强校验） |\n\n**优先级**：构造参数 > 配置文件字段。完整文档参见 [`docs/nexbase-client.md`](./docs/nexbase-client.md)。\n\n---\n\n## API 参考\n\n### 客户端一览\n\n| 客户端 | 鉴权 | 说明 |\n|--------|------|------|\n| `LlmClient` | B端 | LLM 大模型对话（流式/非流式） |\n| `TboxKnowledgeClient` | B端 | 知识库语义检索、列表查询、文档管理 |\n| `NexbaseClient` | AnonKey（BFF 代理） | 数据库 CRUD（基于 Superbase 数据链路，走 BFF 代理 + AnonKey 鉴权） |\n| `TboxPluginClient` | B端 | 插件工具执行、TTS、ASR、网络搜索 |\n| `TboxConversationClient` | B端 | 会话创建、查询、消息保存 |\n| `TboxAppClient` | B端 | Session 生成（B→C 鉴权桥接） |\n| `AmapClient` | B端 | 高德地图（天气、地理编码、路线规划等） |\n| `TboxHomepageClient` | C端 | 首页开场白获取 |\n| `TboxAsrClient` | C端 | 语音识别（Base64 音频输入） |\n| `TboxUploadClient` | C端 | 文件上传（图片/视频/音频） |\n| `TboxFeedbackClient` | C端 | 消息反馈（点赞/点踩/取消） |\n| `TboxTtsClient` | C端 | TTS 语音合成（WebSocket 模式） |\n\n### 通用响应格式\n\n所有 B端客户端方法返回统一的 `SdkResponse<T>` 结构：\n\n```ts\ninterface SdkResponse<T> {\n  success: boolean;\n  data?: T;\n  errorCode?: string;\n  errorMsg?: string;\n}\n```\n\n### LlmClient\n\n**支持的模型**：\n\n| 模型名称 | 说明 |\n|---------|------|\n| `qwen3.6-plus` | 通义千问 3.6 Plus |\n| `qwen3.5-plus` | 通义千问 3.5 Plus |\n| `MiniMax-M2.5` | MiniMax M2.5 |\n| `glm-5.1` | 智谱 GLM 5.1 |\n| `glm-5v-turbo` | 智谱 GLM 5V Turbo（多模态推理） |\n| `glm-5-turbo` | 智谱 GLM 5 Turbo |\n| `glm-5` | 智谱 GLM 5 |\n| `kimi-k2.5` | Kimi K2.5 |\n\n**方法**：\n\n| 方法 | 说明 |\n|------|------|\n| `chatCompletions(request)` | Chat Completions（流式返回 `AsyncIterable<ChatCompletionChunk>`，非流式返回 `ChatCompletionResponse`） |\n| `chat(model, messages, options?)` | 简化对话方法，自动处理流式输出，返回完整文本 |\n\n**导出常量**：`SUPPORTED_MODELS`（模型名称数组）、`SupportedModel`（模型名称类型）\n\n### TboxKnowledgeClient\n\n| 方法 | 说明 |\n|------|------|\n| `retrieve(query, options?)` | 语义检索（直接指定 datasetId） |\n| `retrieveByName(name, query, options?)` | 按配置名称检索知识库 |\n| `list(request?)` | 查询知识库列表 |\n| `create(request)` | 创建知识库文档（上传文件） |\n| `update(request)` | 更新知识库文档 |\n| `getSchema(name)` | 获取知识库 schema |\n| `getKnowledgeBase(name)` | 获取知识库配置条目 |\n| `listKnowledgeNames()` | 列出所有已加载的知识库名称 |\n| `listKnowledgeSummaries()` | 列出所有知识库摘要信息 |\n\n### NexbaseClient\n\n基于百宝箱 BFF 代理 + Superbase 数据链路的数据库访问客户端，自动从【项目根目录】下的 `config/nexbase.json` 加载配置。仅需 `X-Superbase-Auth-Token`（即 AnonKey）鉴权，无需 Session。\n\n| 方法 | 说明 |\n|------|------|\n| `insert(table, data)` | 插入一条记录 |\n| `select(table, options?)` | 查询记录，支持 `columns` / `where` / `orderBy` / `limit` / `offset` |\n| `update(table, data, where)` | 更新记录（强制 `where` 非空） |\n| `delete(table, where)` | 删除记录（强制 `where` 非空） |\n| `executeSql(sql, traceId?)` | 执行原始 SQL（用于 JOIN、聚合、子查询等复杂场景） |\n| `getTableSchema(name)` | 获取配置文件中的表结构定义 |\n| `listTableNames()` | 列出所有已配置的表名 |\n\n**安全特性**：\n\n- 表名/列名严格校验（`^[a-zA-Z_][a-zA-Z0-9_]*$`），自动反引号包裹\n- 字符串字面量自动转义单引号、反斜杠\n- `update` / `delete` 强制要求 `where` 条件，避免误全表操作\n- `Date` 类型自动格式化为 `YYYY-MM-DD HH:mm:ss`\n\n**返回格式**：所有方法返回 `NexbaseResult<T>`，结构为 `{ success, code, data, message, traceId }`。详见 [`docs/nexbase-client.md`](./docs/nexbase-client.md)。\n\n### TboxPluginClient\n\n| 方法 | 说明 |\n|------|------|\n| `run(pluginToolId, request)` | 按工具 ID 执行插件工具 |\n| `runByToolName(pluginId, toolName, params)` | 按工具名称执行插件工具（在插件集合中按名称定位） |\n| `getPluginInfo(pluginId)` | 查询插件配置信息（含工具集） |\n| `doTts(request)` | 文字转语音 |\n| `asrBase64(request)` | 语音转文字（Base64 音频输入） |\n| `webSearch(request)` | 网络搜索（自动解包深层响应结构） |\n\n### TboxConversationClient\n\n| 方法 | 说明 |\n|------|------|\n| `createConversation(request)` | 创建新会话 |\n| `listConversations(request)` | 查询会话列表 |\n| `listMessages(request)` | 查询消息列表 |\n| `saveMessage(request)` | 保存消息 |\n\n### TboxAppClient\n\n| 方法 | 说明 |\n|------|------|\n| `generateSession(request)` | 生成 C端授权码（sessionId + channel） |\n\n### AmapClient\n\n| 方法 | 说明 |\n|------|------|\n| `weather(request)` | 天气查询（实况/预报） |\n| `geocode(request)` | 地址转经纬度 |\n| `regeocode(request)` | 经纬度转地址 |\n| `ipLocation(request)` | IP 定位 |\n| `walkingRoute(request)` | 步行路线规划 |\n| `cyclingRoute(request)` | 骑行路线规划 |\n| `drivingRoute(request)` | 驾车路线规划 |\n| `ebikeRoute(request)` | 电动车路线规划 |\n| `transitRoute(request)` | 公交路线规划 |\n| `peripheralSearch(request)` | 周边搜索 |\n| `district(request)` | 行政区域查询 |\n| `convert(request)` | 坐标转换 |\n| `poiSearch(request)` | POI 关键字搜索 |\n\n### TboxHomepageClient\n\n| 方法 | 说明 |\n|------|------|\n| `get(request)` | 获取首页开场白 |\n| `static create(options)` | 便捷工厂方法（自动获取 session） |\n\n### TboxAsrClient\n\n| 方法 | 说明 |\n|------|------|\n| `recognize(request)` | C端语音识别（Base64 音频输入） |\n| `static create(options)` | 便捷工厂方法（自动获取 session） |\n\n### TboxUploadClient\n\n| 方法 | 说明 |\n|------|------|\n| `upload(request)` | C端文件上传（支持图片/视频/音频） |\n| `static create(options)` | 便捷工厂方法（自动获取 session） |\n\n### TboxFeedbackClient\n\n| 方法 | 说明 |\n|------|------|\n| `addTag(request)` | 消息反馈（LIKE / DISLIKE / CANCEL） |\n| `static create(options)` | 便捷工厂方法（自动获取 session） |\n\n### TboxTtsClient\n\n| 方法 | 说明 |\n|------|------|\n| `fetchAuth()` | 获取 TTS 鉴权信息（timestamp + digest） |\n| `buildUpstreamUrl(auth)` | 构建上游 TTS WebSocket URL |\n| `static buildPayload(voiceConfig?)` | 构建 WS 初始化 payload |\n| `static buildTextPayload(text)` | 构建发送文本的 WS payload |\n| `static buildStopPayload()` | 构建停止 TTS 流的 WS payload |\n| `static generateTaskId()` | 生成 32 位十六进制任务 ID |\n| `static create(options)` | 便捷工厂方法（自动获取 session） |\n\n---\n\n## 环境要求\n\n- **Node.js** >= 16.0.0\n- **浏览器**：支持 `fetch` API 的现代浏览器\n- **小程序**：微信/支付宝等小程序环境（需通过 `setFetcher` 注入请求实现）\n- **模块格式**：ESM（`import`）+ CJS（`require`）\n\n---\n\n## License\n\nSee [LEGAL.md](./LEGAL.md)\n","readmeFilename":"README.md"}