{"_id":"wlt-platform","_rev":"27-fadd99343f5fec4f1a18ab51d58449ab","name":"wlt-platform","dist-tags":{"latest":"0.1.20"},"versions":{"0.1.0":{"name":"wlt-platform","version":"0.1.0","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.0","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"ac062b82a990b860ccdd4e492275bcf1867a8c4e","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.0.tgz","fileCount":234,"integrity":"sha512-o+DVsq9zjZ60pQ6ze5o2LvJ8lgkj6l+Q+1m88qKlDlYo9O2mA4ENWcS1WbiQsk7FPtHMmuZeCdTDAEcInlJQSQ==","signatures":[{"sig":"MEUCIHH7v8RnnpYvhiGIxrSLYHZKz3/ebgndbLKWseR87I4lAiEAxPvmY8ErgUHs/0mkB66TQqUF5HIAimbgrPQKmwht8Cs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":666737},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"d482af2d4fdbd4ae6b117bbde4d730bc9f638a48","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.0_1777040115388_0.32648587340045077","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"wlt-platform","version":"0.1.1","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.1","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"e64e696c598f52e97a2235c2c5211f29b21f51f8","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.1.tgz","fileCount":234,"integrity":"sha512-Idc0RPANUb2OJ/oyTcUnXkQlWVRhQI7T/bJoSVF46iuwgE8t3nCSgMzuMXNOT5OCC8GjOh1hWGjb/N/iyApVtQ==","signatures":[{"sig":"MEQCIH+Pn8837MxAkCmcV9dUeG31kQs+gp92HkPUg/AYWNOdAiBvAiLaZImt4BEUhmJtzEbLUOyBrgDd5k8RS4x8cJh1qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":687253},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"45c97b377b5908058755601b874954da8c5cae2a","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.1_1777250939076_0.6103773757255679","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"wlt-platform","version":"0.1.2","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.2","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"efb9c70d7b88666d24d180d7bc6d62939ea6207e","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.2.tgz","fileCount":234,"integrity":"sha512-Sd3T/hGONrdyksUsoQIgI1k0EYvWKJv8HoqX6tlbGwtsKY3F57TDuDttzxtcPV52X6t7OIRzT5eISpVU1DHl2g==","signatures":[{"sig":"MEUCIQDWkYCNV/0Z+Jr2iw/Z4nby/FLfPBmRb8jEnl8BML3NIQIgITrYm8sdH3/8cVmtozOc1HpYDwjYtAaLiGYkOTuKo8I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":708658},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"c7124595b2254314589253320d962e31cbd12efa","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.2_1778835365140_0.8130786986150189","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"wlt-platform","version":"0.1.3","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.3","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"d2e320e61a7ef3bc20e7480af4e44b1f18a2b4bf","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.3.tgz","fileCount":234,"integrity":"sha512-+HF20aNbb7PbScFQEszHYuel87oWAuGKWCpGuqy2ZB3d3IpvHVsw3XjHi1qSoUcvztzz/NZnXIAK3jnZxBvVKA==","signatures":[{"sig":"MEUCIFQ7KETgtSYGvfVK7i+QnBFAMrgmE1N5QgXJlRtQkbWLAiEA0HIOfNH9gYfL01iFH/bOOTIqxP/X+iOa/nG14HRCGGM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":713672},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"17638dc722e3bd03413654ef30e6bc785360d8f1","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.3_1778854267721_0.6803111894949763","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"wlt-platform","version":"0.1.4","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.4","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"58a79c37f9bce3e3bb90b3fd4f0082d28bc37fbd","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.4.tgz","fileCount":234,"integrity":"sha512-JRvdGaIrzLH3tK2VzRk+ysiLQgkNw5ZSvbTnn1VYcy0dZQByrrObddnRLIQLUrKPgN82A5N8nfPKPQ2GX9DmZQ==","signatures":[{"sig":"MEQCIESq19lwQfJsO+ppRj0IGjrjqgTZcUPnUvU7SCofrZYHAiBptfQoJVDcKRGJcAfWjn71nSbeQFWSZ9pU4rPoeeMlPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":714280},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"ee0ab3f00d08bcfddbaf862a78d9fe6aaf31e656","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.4_1778995823756_0.09111006689581269","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"wlt-platform","version":"0.1.5","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.5","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"51277a2140dc955d6fe0ed0e44dab130a0b18655","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.5.tgz","fileCount":242,"integrity":"sha512-499IDFO9gs4d1l/UDoSa3DfJJ82/cCFi3rDSpsyzJqif21edZeOOuFGQ35BNpwjbDpR0pLUmoT8zrXGpi6g8Cg==","signatures":[{"sig":"MEYCIQD0hfzABtPBqa53TBy/jHIj8G3nQrd9Rkw5o2jwDFg4kwIhANwbMkXO7NlnkcnCJwP96zPgfuDCX6R1KRW3HSnOBMm5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720612},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"ee0ab3f00d08bcfddbaf862a78d9fe6aaf31e656","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.5_1779006648541_0.07980199525738807","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"wlt-platform","version":"0.1.6","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.6","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"09ccca0bf9fd46ddf612697e6edfd562540533a3","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.6.tgz","fileCount":242,"integrity":"sha512-L5Z/JZwAD7E2vnL88plKbrkJHXljADYinommYBVFuCVuFOiK76QcTEE6KfBI9eG7eXfdYySuo70zo6D+4se4HQ==","signatures":[{"sig":"MEQCIBn1DD1HfmUux24xEXPbGXGErf+TgUDtLBOiPq2T7a0TAiBhadDbeDheZ4Of16bc1PkODWtafy8lg2O7mOE4szkWMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":723468},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"ea01f9d073d6cbcf447ba31f5c7a4b5258fcd209","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.6_1779029050002_0.4409534509433335","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"wlt-platform","version":"0.1.10","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.10","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"7ba101d5ccb7d2ca9c34396de348ef3f7d950d5a","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.10.tgz","fileCount":210,"integrity":"sha512-H8RsVnBu9mhYCdp/sNGn3G2w1d2p5wUMKL6/Ad6eXq/1YV5c7HUOdoiDoCSz1SVg+S+a7QvPQCubfCCGawwPww==","signatures":[{"sig":"MEUCIAtA5+ArTXl3AteEpU9EmUZ7I4+A154tu10ZDVt9l+1hAiEA1kvfpHb1jJukEk2yD+TkZSaEtilNBBMUtHVpwy53B3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":539211},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"86838b54717eea3cd44848b387220dda6c89edcc","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.10_1779690853482_0.07048851195146999","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"wlt-platform","version":"0.1.11","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.11","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"58d36a8a45516b4bc57c438dd7832e160398414d","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.11.tgz","fileCount":210,"integrity":"sha512-Ku/lwS4IukELO6ZBx1ZU2PDHTvzdU6inICXUKKJ1AbeeMwqX8R4LBS7ssvtcOuYOVvXo4EgbYc2Tqdf8IH1xtg==","signatures":[{"sig":"MEQCIFxzRO26YxH2uETJHrFANjEI2Ozq1cJHeYlDg4BYwo2JAiByehSVbU8JV30vYHg7hNwmzrfeutpydFc/FNHn6b5zug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540948},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"4ecee5f4fe14d8cead5eb2258cc23088ada91711","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.11_1779691785179_0.9033628469942421","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"wlt-platform","version":"0.1.12","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.12","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"6ad67062a4b2767ab4b78b9238c6819c3d8b8bb0","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.12.tgz","fileCount":210,"integrity":"sha512-4O0VLW8zx/NixSvzScZ81elEU7K4sNggpOzGiD0CakqduMPBK+DrQgjBcGgZJ3++Rfx2GkllWo/RgKRSQ01wCA==","signatures":[{"sig":"MEQCIG11xySs4xPnjmpHHaPl/lhSmiZp3sq7PVUrgWTLtn+DAiBqHaPtR7oXnYAZvQ9KW9vclxffH+qvAH6f8XoUQrFP+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540714},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"4ecee5f4fe14d8cead5eb2258cc23088ada91711","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.12_1780631593295_0.8038087474405473","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"wlt-platform","version":"0.1.13","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.13","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"d6aa327d822492590172b84f543176eb8a2cda99","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.13.tgz","fileCount":258,"integrity":"sha512-Hg/FQUn+xu3ilC/FliVGIjbC2qBqcCCtrID7JT/DW0MYMMAitweM5131pJSWcV4mjMzYD2QcVUY+6JR6rENBHg==","signatures":[{"sig":"MEUCIAsoyGyd5RVhgEBZxq0Nr2o+JUCeyc6vZifewv+7eGfMAiEAnqvsDl6jnRM1RvdfhTtMcN3UeODbB8GrGKLJJPZtYUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":665847},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"7ded15b50c7a14b682abed4c482ee90f7639fad5","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.13_1782870772961_0.18411870927866447","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"wlt-platform","version":"0.1.14","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.14","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"17f0c620631e28053eb27357e663a45336003a91","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.14.tgz","fileCount":258,"integrity":"sha512-6W6K6na3yS0oA/AopCRqlF4L8JWzFQQHhYl/uOy496HV7WsoM9K3F3QmYvPuPW2etWVf6FwD/TCyizJ5l/YyHw==","signatures":[{"sig":"MEUCIA0CBXFZyNz+aqJYyvbfDdKtYi387y2lpR5Yu2y2UR+VAiEA92YoPe1xZzgdoF7lVre6lmMAYAKvq5FYXCZ8MOUMVWc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":665600},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"b77bf8e99c2646f0d0da3adbee769ef47aab386c","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.14_1782871603553_0.5047494767551197","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"wlt-platform","version":"0.1.15","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.15","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"3934441a6a04fbb350edc6eb9cad2f6938571d20","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.15.tgz","fileCount":258,"integrity":"sha512-G1KeyHnsU328fkANNmXhvPGmEF/SgKOxljoGDbonimWgCJpV/+qUyOyUPxSZet2rwYMxZHygoMTftvwv6X/5aA==","signatures":[{"sig":"MEYCIQDNMqn64CUi8vNczddrlNrHCuoBysd320k0q8NyvA9/3AIhANqp/+SCgahN9OiN9jb5QJrvU4zl03isVsZUSmL3OEPx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":668205},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"2171ef98f5e5b2c466138b1603f18816c8443b0f","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.15_1782874868760_0.8555315115842388","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"wlt-platform","version":"0.1.16","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.16","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"882febc8d53c5e0daea687f5aa432f4ea81234b7","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.16.tgz","fileCount":258,"integrity":"sha512-+yw6nxCX/ycvDcZLZGN/in7rezXQYxoMohEn5R8Q0I6z8gVkAM/MPdv2dRZZgv6PxAJBwUe+VEGzTKK7jVfV3g==","signatures":[{"sig":"MEYCIQDlrEMEECBX78t5R0y/L3bwLzbCBHhBxLaQB8fI5fLWUQIhAOboXEH/2WHADTOXaT+db6q9oZbmiHDO3r8mdxkJwapq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":672547},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"93eff3453df44922d4418118db5fbafc8f7786e2","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.16_1782902014436_0.8025150326785335","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"wlt-platform","version":"0.1.17","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.17","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"27fc79dab5cb44530447bde9aaf682a25e44f413","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.17.tgz","fileCount":258,"integrity":"sha512-MXSBcUs4DgaxNnM3Ko27Q/24E4QYV64vBfF8L2oYj/EBDlLWhPmXc6bR7OlXWV0HFnF7xVyZbFtW2JHgQIabzA==","signatures":[{"sig":"MEYCIQDjUnypPFjYue+gOWnSCeII2N3BkbFvQT8Pyd5G32CA/QIhAI/sC67LdDM01YXdjgT5CCHCbheJF/3BzujVofNXNnNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":672547},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"7673e7d9df12d6e1c0f7630100b43a33ecccbd31","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.17_1782904842962_0.3616508809936343","host":"s3://npm-registry-packages-npm-production"}},"0.1.18":{"name":"wlt-platform","version":"0.1.18","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.18","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"69bb4b447fc7ee6e67608babae17c558653017b2","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.18.tgz","fileCount":258,"integrity":"sha512-3s6Tjj1IVPILcHy0DQrHp9tGr2wuSOD2zYIgMaP2Jn8hWUICTOx0ETMtcjRHuqobptOM/h5ie+juxDr3AaUgHQ==","signatures":[{"sig":"MEUCIG+Vyhn3pGjWZnKgncxU1E/y3MqZ+JUd6qUvpZK2pg+GAiEAtBo72r9xASYD67U8maa5i2jk1aQpCHVQIfcZH5Z77GY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":673651},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"e9178397cb2a2f977f6262ecd0074bc7590d0b52","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest).","_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.18_1782910720089_0.45589925952590193","host":"s3://npm-registry-packages-npm-production"}},"0.1.19":{"name":"wlt-platform","version":"0.1.19","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.19","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"6574a4e94a4e118e2b92a37892602eea7649e3c4","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.19.tgz","fileCount":290,"integrity":"sha512-+QxvqtotUAKD7H4leiKKn1pVvncpgqa+5zGW5UEhuBkBYWFF035a5u7layXPeV7+5ckxwneLCPfqzyFZx+uOVw==","signatures":[{"sig":"MEYCIQC24F0WCWcWU0TUXI3/2IeKVXYH5j0H/ttzy/yW14VcXgIhAMhB/uST9L8CHVdXA4u82oYyBg7O6OeQzLGJeP9deEuw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":788038},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"92b79115c39b21aaf30c4c8da572f2653df15ef4","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.19_1784079437747_0.7511080261116367","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: please upgrade to wlt-platform@0.1.20 (latest)."},"0.1.20":{"name":"wlt-platform","version":"0.1.20","keywords":["wlt","sdk","api","llm","gateway"],"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","_id":"wlt-platform@0.1.20","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"bin":{"wlt":"dist/esm/cli.js"},"dist":{"shasum":"d9048ae8298e7707ba0bb49d11804ed3d79eb775","tarball":"https://registry.npmjs.org/wlt-platform/-/wlt-platform-0.1.20.tgz","fileCount":290,"integrity":"sha512-vEtDgCuWpBP0AdzhqmzA+u0VIBktJFDc76fUA9AXVZGAY2bWj7P8Tjeyl3rYcV5Lf/L5XnkqTVJ9rUvVlwwzqw==","signatures":[{"sig":"MEUCIQCypEV6B0Sje3XAuwzW3rrrZMhwF7qjlAm62EbbER0MswIgIDZx3APhUpxec6MmXc8xIXtBl44JxsQUAvVCtroTiNQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":788974},"main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"f856957ba1152f4a52deeca8185bc326c77823a2","scripts":{"test":"node tests/console-api-test-v2.mjs","build":"npm run build:esm && npm run build:cjs","clean":"rm -rf dist","test:v1":"node tests/console-api-test.mjs","prebuild":"node scripts/sync-version.mjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:quick":"node tests/quick-test.cjs","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"taylor0811","email":"zhangtaylor0811@qq.com"},"_npmVersion":"10.8.2","description":"Official Node.js/TypeScript SDK for WLT Console API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"commander":"^12.0.0","node-fetch":"^2.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0","@types/node-fetch":"^2.6.11"},"_npmOperationalInternal":{"tmp":"tmp/wlt-platform_0.1.20_1784085465018_0.33027028813580817","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-04-24T14:15:15.386Z","modified":"2026-07-15T03:18:06.834Z","0.1.0":"2026-04-24T14:15:15.568Z","0.1.1":"2026-04-27T00:48:59.231Z","0.1.2":"2026-05-15T08:56:05.333Z","0.1.3":"2026-05-15T14:11:07.882Z","0.1.4":"2026-05-17T05:30:23.906Z","0.1.5":"2026-05-17T08:30:48.720Z","0.1.6":"2026-05-17T14:44:10.155Z","0.1.10":"2026-05-25T06:34:13.622Z","0.1.11":"2026-05-25T06:49:45.335Z","0.1.12":"2026-06-05T03:53:13.436Z","0.1.13":"2026-07-01T01:52:53.087Z","0.1.14":"2026-07-01T02:06:43.705Z","0.1.15":"2026-07-01T03:01:08.918Z","0.1.16":"2026-07-01T10:33:34.605Z","0.1.17":"2026-07-01T11:20:43.103Z","0.1.18":"2026-07-01T12:58:40.235Z","0.1.19":"2026-07-15T01:37:17.895Z","0.1.20":"2026-07-15T03:17:45.178Z"},"author":{"name":"WLT","email":"sdk@wlt.com"},"license":"MIT","keywords":["wlt","sdk","api","llm","gateway"],"description":"Official Node.js/TypeScript SDK for WLT Console API","maintainers":[{"name":"taylor0811","email":"zhangtaylor0811@qq.com"}],"readme":"# wlt-platform\n\nOfficial Node.js / TypeScript SDK for the WLT Console API.\n\n## Table of Contents\n\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [AdminClient (Admin scope)](#adminclient-admin-scope)\n- [Authentication](#authentication)\n- [Client Configuration](#client-configuration)\n- [Base URL Configuration](#base-url-configuration)\n- [API Reference](#api-reference)\n  - [User](#user)\n  - [Secret](#secret)\n  - [ApiKey (BYOK)](#apikey-byok)\n  - [Usage](#usage)\n  - [Billing](#billing)\n  - [Payment](#payment)\n  - [Model Gallery](#model-gallery)\n  - [Model Lab](#model-lab)\n- [SSE Streaming](#sse-streaming)\n- [Error Handling](#error-handling)\n- [CLI](#cli)\n- [License](#license)\n\n## Requirements\n\n- Node.js >= 16.0.0\n- TypeScript >= 5.0 (for development)\n\n## Installation\n\n```bash\nnpm install wlt-platform\n# or\nyarn add wlt-platform\npnpm add wlt-platform\n```\n\n## Quick Start\n\n```typescript\nimport { WltClient } from 'wlt-platform';\n\nconst client = new WltClient({\n  apiKey: 'sk-your-api-key',\n});\n\n// List your API keys (Secrets)\nconst result = await client.secrets.list({ pageNum: 1, pageSize: 20 });\nconsole.log(result.pageInfo.list);\n\n// Stream a chat completion\nfor await (const chunk of client.modelLab.stream({\n  provider: 'dashscope',\n  modelName: 'Qwen2.5-72B-Instruct',\n  userPrompt: 'Hello!',\n})) {\n  process.stdout.write(chunk);\n}\n```\n\n## AdminClient (Admin scope)\n\nFor admin-level control-plane operations, use `AdminClient`. Instantiate with\nadmin credentials — the SDK handles the admin session for you.\n\nSeven resources:\n\n| Resource | Methods | Description |\n|---|---|---|\n| `admin.auth` | 1 | Current admin identity |\n| `admin.billing` | 6 | Customer / Provider / RS billing lists and totals |\n| `admin.customer` | 3 | List / create / delete end-customers |\n| `admin.pricing` | 9 | Platform and per-customer model pricing, listing, discounts, price factors |\n| `admin.credits` | 2 | Read and adjust a customer's credit balance |\n| `admin.rateLimit` | 2 | Read and set a customer's per-minute token cap (TPM) |\n| `admin.context` | 3 | Toggle context recording, list records, fetch a record body |\n\n```typescript\nimport { AdminClient } from \"wlt-platform\";\n\nconst admin = new AdminClient({ username: \"admin\", password: \"xxxxxxxx\" });\n\n// Current admin user\nconst info = await admin.auth.info();\n```\n\n### Billing & Customer\n\n`admin.billing`: `customerList` / `customerTotal`, `providerList` /\n`providerTotal`, `rsList` / `rsTotal`. `admin.customer`: `list` / `create` /\n`delete`.\n\n```typescript\n// Billing (Customer / Provider / RS)\nconst total = await admin.billing.customerTotal({\n  startTime: \"2026-06-01 00:00:00\",\n  endTime:   \"2026-06-30 23:59:59\",\n});\nconst page = await admin.billing.customerList({\n  startTime: \"2026-06-01 00:00:00\",\n  endTime:   \"2026-06-30 23:59:59\",\n  pageNum: 1, pageSize: 10,\n});\nconst rsPage = await admin.billing.rsList({\n  startDate: \"2026-06-01\", endDate: \"2026-06-30\", pageNum: 1, pageSize: 10,\n});\n// Provider/RS variants: providerList/providerTotal, rsList/rsTotal\n\n// Customer CRUD\nconst customers = await admin.customer.list({ pageNum: 1, pageSize: 10 });\nawait admin.customer.create({\n  userName: \"new-customer\", password: \"Secret1!\", email: \"c@example.com\",\n});\nawait admin.customer.delete(42);\n```\n\n### Pricing\n\n`admin.pricing` manages both the platform model catalog and per-customer\npricing overrides.\n\n| Method | Description |\n|---|---|\n| `listProviderModels(params?)` | List the platform model catalog (paginated, filterable) |\n| `saveProviderModel(body)` | Create or update a platform model |\n| `setProviderModelListed(id, resaleStatus)` | List or unlist a platform model |\n| `updateProviderModelPrice(body)` | Set a platform model's price configuration |\n| `listPriceFactors(modelType?)` | List pricing factors and units, optionally by model type |\n| `listUserModelPrices(params?)` | List a customer's per-model prices |\n| `saveUserModelPrice(body)` | Create or override a customer's model price |\n| `setUserModelListed(id, resaleStatus)` | List or unlist a model for a specific customer |\n| `setDiscount(params)` | Apply a percentage discount to a customer's models |\n\n```typescript\nconst models = await admin.pricing.listProviderModels({ pageNum: 1, pageSize: 20, modelType: \"text\" });\nconst factors = await admin.pricing.listPriceFactors(\"text\");\n\nconst prices = await admin.pricing.listUserModelPrices({ userId: 42, pageNum: 1, pageSize: 20 });\nawait admin.pricing.setUserModelListed(555, 1);\nawait admin.pricing.setDiscount({ userId: 42, discount: \"10\", modelIds: [101, 102] });\n\n// Full model / price payloads are passed straight through:\nawait admin.pricing.saveProviderModel({ /* model fields */ });\nawait admin.pricing.updateProviderModelPrice({ /* price fields */ });\nawait admin.pricing.saveUserModelPrice({ /* price fields */ });\n```\n\n> `discount` is a percentage string — `\"10\"` means 10% off. `resaleStatus` is\n> the platform's listing-status code.\n\n### Credits\n\n`admin.credits` reads and adjusts a customer's credit balance.\n\n| Method | Description |\n|---|---|\n| `getCredit(userId)` | Read a customer's credit balance summary |\n| `setCredit(userId, amount)` | Adjust a customer's adjustable credit amount |\n\n```typescript\nconst balance = await admin.credits.getCredit(42);\nawait admin.credits.setCredit(42, 100);\n```\n\n### Rate limit\n\n`admin.rateLimit` reads and sets a customer's per-minute token cap (TPM).\n\n| Method | Description |\n|---|---|\n| `getRateLimit(userId)` | Read a customer's per-minute token cap; `null` means unlimited |\n| `setRateLimit(userId, tpmCap)` | Set the token cap; pass `null` to clear it (unlimited) |\n\n```typescript\nconst cap = await admin.rateLimit.getRateLimit(42); // number | null\nawait admin.rateLimit.setRateLimit(42, 100000);\nawait admin.rateLimit.setRateLimit(42, null); // unlimited\n```\n\n### Context records\n\n`admin.context` manages context recording for a customer.\n\n| Method | Description |\n|---|---|\n| `toggle(userId, enabled)` | Enable or disable context recording for a customer |\n| `list(params)` | List recorded context entries within a date range |\n| `getBody(params)` | Fetch a single record's input/output payload |\n\n```typescript\nawait admin.context.toggle(42, true);\nconst records = await admin.context.list({\n  userId: 42, startDate: \"2026-07-01\", endDate: \"2026-07-31\", maxTraces: 100,\n});\n// records.entries / records.totalEntries / records.totalBytes / records.truncated\nconst body = await admin.context.getBody({\n  uid: 42, partitionDate: \"2026-07-01\", traceId: \"<trace>\", visibility: \"<visibility>\",\n});\n```\n\nCLI:\n\n```bash\nwlt admin login --username admin --password xxxxxxxx\nwlt admin whoami\n\nwlt admin billing customer-total --start-time \"2026-06-01 00:00:00\" --end-time \"2026-06-30 23:59:59\"\nwlt admin billing rs-total --start-date 2026-06-01 --end-date 2026-06-30\nwlt admin customer list --page-size 10\nwlt admin customer create --user-name new-customer --password 'Secret1!' --email c@example.com\nwlt admin customer delete 42\n\nwlt admin pricing list-provider-models --model-type text --page-size 20\nwlt admin pricing save-provider-model --file model.json\nwlt admin pricing set-provider-model-listed --id 10 --status 1\nwlt admin pricing update-provider-model-price --file price.json\nwlt admin pricing list-price-factors --model-type text\nwlt admin pricing list-user-model-prices --user-id 42\nwlt admin pricing save-user-model-price --file price.json\nwlt admin pricing set-user-model-listed --id 555 --status 1\nwlt admin pricing set-discount --user-id 42 --discount 10 --model-ids 101,102\n\nwlt admin credit get --user-id 42\nwlt admin credit set --user-id 42 --amount 100\n\nwlt admin rate-limit get --user-id 42\nwlt admin rate-limit set --user-id 42 --tpm-cap 100000\nwlt admin rate-limit set --user-id 42 --unlimited\n\nwlt admin context toggle --user-id 42 --enabled\nwlt admin context list --user-id 42 --start-date 2026-07-01 --end-date 2026-07-31 --max-traces 100\nwlt admin context body --uid 42 --partition-date 2026-07-01 --trace-id <trace> --visibility <visibility>\n```\n\n> **Note**: RS Billing uses `--start-date / --end-date` (`YYYY-MM-DD`);\n> Customer / Provider Billing use `--start-time / --end-time` (full timestamp\n> `YYYY-MM-DD HH:mm:ss`). The `--file` flag on the pricing commands reads a JSON\n> body from disk. Passing `--unlimited` to `rate-limit set` clears the cap.\n\n## Authentication\n\nThe SDK uses a **two-step token authentication** flow internally — you only\never pass `apiKey`:\n\n| Step | What happens |\n|------|--------------|\n| 1. Login | SDK exchanges your API key for a short-lived session token. |\n| 2. Requests | All subsequent API calls attach the session token. |\n| 3. Refresh | When the server returns an authentication failure, the SDK re-authenticates and retries the request once. |\n\n## Client Configuration\n\n```typescript\nimport { WltClient } from 'wlt-platform';\n\nconst client = new WltClient({\n  apiKey: 'sk-your-api-key',          // required\n  baseUrl: 'https://your.host',       // default: managed endpoint\n  timeout: 60_000,                    // default 30000\n  maxRetries: 3,                      // default 2\n  defaultHeaders: { 'X-Custom': 'v' },\n});\n```\n\n## Base URL Configuration\n\nPriority (highest → lowest):\n\n1. Constructor `baseUrl`\n2. `WLT_BASE_URL` environment variable\n3. `~/.wlt/config.json` `baseUrl` / `base_url`\n4. Built-in default endpoint\n\nTrailing slashes are stripped automatically.\n\n## API Reference\n\nAll resources are reached via `client.<resource>.<method>(...)`. The SDK\nexposes exactly **35 methods** across **8 resources**.\n\n### User\n\n`client.user`\n\n#### `info()`\n\nGet the current login user's full profile.\n\n```typescript\nconst me = await client.user.info();\nconsole.log(me.userName, me.partnerId);\n```\n\n| Returns |\n|---------|\n| `LoginUser` |\n\n---\n\n### Secret\n\n`client.secrets`\n\nPAI Key management (CRUD + lifecycle + usage).\n\n#### `list(params?)`\n\nList secrets with pagination and stats.\n\n```typescript\nconst result = await client.secrets.list({ pageNum: 1, pageSize: 20 });\n```\n\n| Parameter   | Type     | Required | Description                                          |\n|-------------|----------|----------|------------------------------------------------------|\n| `pageNum`   | number   | No       | Page number, default 1.                              |\n| `pageSize`  | number   | No       | Page size, default 10.                               |\n| `status`    | number   | No       | `1` = active, `0` = disabled.                        |\n| `expiredBeforeUtc` | string | No  | UTC ISO 8601 upper bound for expiration.             |\n\nReturns: `SecretPageResultVO` (totals + `pageInfo` of `SecretVO`).\n\n#### `detail(id)`\n\nGet a single secret's detail.\n\n```typescript\nconst s = await client.secrets.detail(123);\n```\n\nReturns: `SecretVO`.\n\n#### `create(params?)`\n\nCreate a new secret (PAI Key).\n\n```typescript\nconst newKey = await client.secrets.create({ name: 'prod-key' });\n```\n\n| Parameter             | Type       | Required | Description                  |\n|-----------------------|------------|----------|------------------------------|\n| `name`                | string     | No       | Secret name.                 |\n| `allowedModels`       | string[]   | No       | Allowed model list.          |\n| `allowedProviders`    | string[]   | No       | Allowed provider list.       |\n| `ipWhiteList`         | string[]   | No       | IP whitelist.                |\n| `minuteTokensQuota`   | number     | No       | Per-minute token quota.      |\n| `annualTokensQuota`   | number     | No       | Annual token quota.          |\n| `expiredAtUtc`        | string     | No       | Expiration time (UTC).       |\n| `byokIds`             | number[]   | No       | Associated BYOK key IDs.     |\n\nReturns: `string` (the newly generated key).\n\n#### `edit(params)`\n\nEdit a secret. `id` is required.\n\n```typescript\nawait client.secrets.edit({ id: 123, name: 'renamed' });\n```\n\nReturns: `boolean`.\n\n#### `action(params)`\n\nApply a status action to a secret.\n\n```typescript\nawait client.secrets.action({ id: 123, status: 'ENABLE' });\nawait client.secrets.action({ id: 123, status: 'DISABLE' });\nawait client.secrets.action({ id: 123, status: 'DELETE' });\n```\n\n| Parameter | Type   | Required | Description                            |\n|-----------|--------|----------|----------------------------------------|\n| `id`      | number | Yes      | Secret ID.                             |\n| `status`  | string | Yes      | `ENABLE` / `DISABLE` / `DELETE`.       |\n\nReturns: `boolean`.\n\n#### `usageByModel(params)`\n\nPaginated usage broken down by model. `startTime` and `endTime` are\n**required** (ISO 8601 local datetime, e.g. `2026-04-01T00:00:00`).\n\n```typescript\nconst result = await client.secrets.usageByModel({\n  secretId: 123,\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<SecretModelUsageVO>`.\n\n#### `modelList(params?)`\n\nQuery available models for binding to a secret.\n\n```typescript\nconst models = await client.secrets.modelList();\n```\n\nReturns: `ModelInfoVO[]`.\n\n#### `providers()`\n\nGet the provider list for secrets.\n\n```typescript\nconst providers = await client.secrets.providers();\n```\n\nReturns: `ProviderVO[]`.\n\n---\n\n### ApiKey (BYOK)\n\n`client.apiKeys`\n\nBring-your-own-key management.\n\n#### `list(params?)`\n\nList BYOK keys with pagination.\n\n```typescript\nconst result = await client.apiKeys.list({ pageNum: 1, pageSize: 10 });\n```\n\nReturns: `ApiKeyResultVO`.\n\n#### `create(params)`\n\nCreate a new BYOK key.\n\n> **`provider` must be the `id` from `apiKeys.providers()`** (e.g. `\"dashscope\"`, `\"openrouter\"`), NOT the display `name` (e.g. `\"Alibaba Cloud Model Studio - BJ\"`). Passing the display name returns `code=3000 \"Invalid provider\"`.\n\n```typescript\nconst key = await client.apiKeys.create({\n  keyName: 'my-dashscope',\n  provider: 'dashscope',\n  accessKeySecret: 'sk-xxx',\n  accessKeyID: 'optional-id',\n});\n```\n\nReturns: `ApikeyVO`.\n\n#### `update(id, params)`\n\nUpdate a BYOK key (e.g. rename).\n\n```typescript\nawait client.apiKeys.update('key-id', { keyName: 'new-name' });\n```\n\nReturns: `boolean`.\n\n#### `delete(id)`\n\nDelete a BYOK key.\n\n```typescript\nawait client.apiKeys.delete('key-id');\n```\n\nReturns: `boolean`.\n\n#### `changeStatus(id, status)`\n\nChange a BYOK key's status. `status`: `1` = enable, `0` = disable.\n\n```typescript\nawait client.apiKeys.changeStatus('key-id', 1);\n```\n\nReturns: `boolean`.\n\n#### `testConnect(params)`\n\nTest connectivity to the upstream provider with the supplied credentials.\n\n> **Behaviour on bad creds:** returns `false` OR throws a typed `WltError` subclass wrapping the upstream's 401 — both outcomes mean the SDK is working correctly. Only network/auth-against-our-backend failures should be treated as SDK bugs.\n\n```typescript\nconst ok = await client.apiKeys.testConnect({\n  provider: 'dashscope',\n  accessKeySecret: 'sk-xxx',\n  accessKeyID: 'optional-id',\n});\n```\n\nReturns: `boolean`.\n\n#### `providers()`\n\nGet the provider list for BYOK.\n\n```typescript\nconst providers = await client.apiKeys.providers();\n```\n\nReturns: `ProviderVO[]`.\n\n---\n\n### Usage\n\n`client.usage`\n\nServerless usage, history, and gateway providers.\n\n> `startTime` and `endTime` are **required** for `serverlessList`,\n> `serverlessStats`, and `history`. Use ISO 8601 local datetime\n> `yyyy-MM-ddTHH:mm:ss` (e.g. `2026-04-01T00:00:00`).\n\n#### `serverlessList(params)`\n\nPaginated serverless usage records.\n\n```typescript\nconst result = await client.usage.serverlessList({\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<ServerlessUsageRecord>`.\n\n#### `serverlessStats(params)`\n\nAggregate serverless statistics over a time window.\n\n```typescript\nconst stats = await client.usage.serverlessStats({\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n});\n```\n\nReturns: `ServerlessStatsResult`.\n\n#### `history(params)`\n\nPaginated API call history.\n\n```typescript\nconst result = await client.usage.history({\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<HistoryRecord>`.\n\n#### `gatewayProviders()`\n\nGet provider list for usage filtering.\n\n```typescript\nconst providers = await client.usage.gatewayProviders();\n```\n\nReturns: `ProviderVO[]`.\n\n---\n\n### Billing\n\n`client.billing`\n\nMonthly billing queries.\n\n#### `queryAllAmount(params)`\n\nMonthly billing summary.\n\n```typescript\nconst result = await client.billing.queryAllAmount({ billingCycle: '2026-04' });\n```\n\nReturns: `UserBillingMonthResponse`.\n\n#### `queryBillByGpu(params)`\n\nPaginated bill rows aggregated by GPU spec.\n\n```typescript\nconst result = await client.billing.queryBillByGpu({\n  billingCycle: '2026-04',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<UserBillingGpuServiceResponse>`.\n\n#### `queryBillByService(params)`\n\nPaginated bill rows aggregated by AI service.\n\n```typescript\nconst result = await client.billing.queryBillByService({\n  billingCycle: '2026-04',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<UserBillingAiServiceResponse>`.\n\n#### `queryBillList(params)`\n\nDetailed paginated bill list.\n\n```typescript\nconst result = await client.billing.queryBillList({\n  billingCycle: '2026-04',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<UserBillingResponse>`.\n\n---\n\n### Payment\n\n`client.payment`\n\nRecharge records and model-usage billing.\n\n#### `records(params?)`\n\nPaginated recharge records.\n\n```typescript\nconst result = await client.payment.records({ pageNum: 1, pageSize: 10 });\n```\n\nReturns: `PageResponse<RechargeTransactionResponse>`.\n\n#### `statistics()`\n\nRecharge statistics summary (totals across the account).\n\n```typescript\nconst stats = await client.payment.statistics();\n```\n\nReturns: `RechargeStatisticsResponse`.\n\n#### `getRecord(transactionNo)`\n\nLook up a single recharge record by platform transaction number.\n\n```typescript\nconst r = await client.payment.getRecord('TXN-202604-001');\n```\n\nReturns: `RechargeTransactionResponse`.\n\n#### `billingList(params?)`\n\nPaginated model usage billing list.\n\n```typescript\nconst result = await client.payment.billingList({\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n  pageNum: 1,\n  pageSize: 10,\n});\n```\n\nReturns: `PageInfo<LmModelUsageBillingResponse>`.\n\n#### `billingQueryAllAmount(params?)`\n\nModel usage billing total across a time window.\n\n```typescript\nconst total = await client.payment.billingQueryAllAmount({\n  startTime: '2026-04-01T00:00:00',\n  endTime: '2026-04-30T23:59:59',\n});\n```\n\nReturns: `ModelUsageBillingAmountResponse`.\n\n---\n\n### Model Gallery\n\n`client.modelGallery`\n\nBrowse the model catalog.\n\n#### `page(params?)`\n\nPaginated model gallery query (15-field filter DTO).\n\n```typescript\nconst result = await client.modelGallery.page({\n  pageNum: 1,\n  pageSize: 10,\n  provider: 'dashscope',\n});\n```\n\nReturns: `PageInfo<ModelInfoVO>`.\n\n#### `providers()`\n\nProvider list for the gallery (filtered by tenant).\n\n```typescript\nconst providers = await client.modelGallery.providers();\n```\n\nReturns: `ProviderVO[]`.\n\n#### `getPrice(modelName)`\n\nGet the Partner API price for a model in the current tenant.\n\n```typescript\nconst price = await client.modelGallery.getPrice('Qwen2.5-72B-Instruct');\n```\n\nReturns: `PartnerApiPriceResponse`.\n\n---\n\n### Model Lab\n\n`client.modelLab`\n\nInference playground: list callable models, create chat sessions, and stream\nresponses.\n\n#### `list(params?)`\n\nList callable models (no pagination — pageSize/pageNum default to 20/1).\n\n```typescript\nconst models = await client.modelLab.list({ provider: 'dashscope' });\n```\n\nReturns: `ModelInfoVO[]`.\n\n#### `createSession()`\n\nCreate a new chat session. The returned UUID can be passed to `stream()` as\n`sessionId` for multi-turn conversations.\n\n```typescript\nconst sessionId = await client.modelLab.createSession();\n```\n\nReturns: `string`.\n\n#### `stream(params)`\n\nCall a model via Server-Sent Events. Returns an async generator yielding the\nraw payload string of each `data:` line (the `[DONE]` sentinel terminates the\niterator).\n\n```typescript\nfor await (const chunk of client.modelLab.stream({\n  provider: 'dashscope',\n  modelName: 'Qwen2.5-72B-Instruct',\n  userPrompt: 'Hello!',\n  sessionId, // optional\n})) {\n  process.stdout.write(chunk);\n}\n```\n\n| Parameter    | Type           | Required | Description                                  |\n|--------------|----------------|----------|----------------------------------------------|\n| `provider`   | string         | Yes      | Provider identifier.                         |\n| `modelName`  | string         | Yes      | Model name.                                  |\n| `userPrompt` | string         | No       | User message.                                |\n| `sessionId`  | string         | No       | Session ID from `createSession()`.           |\n| `taskId`     | string         | No       | Task ID, used when retrying.                 |\n| `taskType`   | string         | No       | Defaults to `TEXT`.                          |\n| `isRetry`    | boolean        | No       | Defaults to `false`.                         |\n| `options`    | `OptionsDTO`   | No       | Temperature, maxToken, systemPrompt, etc.    |\n\nReturns: `AsyncGenerator<string, void, undefined>`.\n\n---\n\n## SSE Streaming\n\n`modelLab.stream(...)` returns an async generator that you consume with\n`for await`. Each yielded value is the string after `data:` on one SSE event;\nthe generator finishes when `data: [DONE]` is received or the connection\ncloses.\n\n```typescript\nlet collected = '';\nfor await (const chunk of client.modelLab.stream({\n  provider: 'dashscope',\n  modelName: 'Qwen2.5-72B-Instruct',\n  userPrompt: 'Write a haiku.',\n})) {\n  try {\n    const evt = JSON.parse(chunk);\n    const delta = evt?.choices?.[0]?.delta?.content;\n    if (delta) {\n      collected += delta;\n      process.stdout.write(delta);\n    }\n  } catch {\n    process.stdout.write(chunk);\n  }\n}\n```\n\n## Error Handling\n\n```typescript\nimport {\n  WltError,\n  APIError,\n  ParamError,\n  DataNotFoundError,\n  AuthenticationError,\n  PasswordError,\n  PermissionDeniedError,\n  TokenExpiredError,\n  RateLimitError,\n  SystemError,\n  APIConnectionError,\n  APITimeoutError,\n} from 'wlt-platform';\n\ntry {\n  await client.secrets.list();\n} catch (e) {\n  if (e instanceof AuthenticationError) {\n    // 2000 USER_NOT_LOGIN — SDK already retried once, give up\n  } else if (e instanceof PasswordError) {\n    // 2002 USER_PASSWORD_ERROR\n  } else if (e instanceof PermissionDeniedError) {\n    // 2007 USER_PERMISSION_DENIED\n  } else if (e instanceof TokenExpiredError) {\n    // 3001 PERMISSION_DENIED (token invalid / expired)\n  } else if (e instanceof RateLimitError) {\n    // 3002 RATE_LIMIT_EXCEEDED\n  } else if (e instanceof ParamError) {\n    // 1001 PARAM_ERROR\n  } else if (e instanceof DataNotFoundError) {\n    // 1002 DATA_NOT_FOUND\n  } else if (e instanceof SystemError) {\n    // 1000 SYSTEM_ERROR\n  } else if (e instanceof APITimeoutError) {\n    // network timeout\n  } else if (e instanceof APIConnectionError) {\n    // connection failure\n  } else if (e instanceof APIError) {\n    // generic HTTP-level error\n  } else if (e instanceof WltError) {\n    // anything else thrown by the SDK\n  }\n}\n```\n\n| Error class            | Trigger                                              |\n|------------------------|------------------------------------------------------|\n| `WltError`             | Base class.                                          |\n| `APIError`             | Non-success HTTP response.                           |\n| `ParamError`           | code `1001`.                                         |\n| `DataNotFoundError`    | code `1002`.                                         |\n| `AuthenticationError`  | code `2000`.                                         |\n| `PasswordError`        | code `2002`.                                         |\n| `PermissionDeniedError`| code `2007`.                                         |\n| `TokenExpiredError`    | code `3001`.                                         |\n| `RateLimitError`       | code `3002`.                                         |\n| `SystemError`          | code `1000`.                                         |\n| `APIConnectionError`   | Network failure.                                     |\n| `APITimeoutError`      | Request timeout.                                     |\n\n## CLI\n\nThe package installs a `wlt` binary.\n\n```bash\nnpm install -g wlt-platform\nwlt --version\nwlt --help\n```\n\nAuthentication priority: `--api-key` flag > `WLT_API_KEY` env > `~/.wlt/config.json`.\n\nBase URL priority for the CLI: `--base-url` (passed to `wlt login`) > `WLT_BASE_URL` env > `base_url` in `~/.wlt/config.json` > built-in default endpoint.\n\n```bash\n# One-time setup (also accepts --base-url <url>)\nwlt login --api-key sk-your-api-key\n\n# Alternative: configure via environment\nexport WLT_API_KEY=sk-your-api-key\nexport WLT_BASE_URL=https://your.host\n\n# Inspect / set config\nwlt config list\nwlt config set base_url https://your.host\n\n# User\nwlt whoami\n\n# Secret\nwlt secret list [--page-num N] [--page-size N]\nwlt secret detail <id>\nwlt secret create --name <name>\nwlt secret edit <id> --name <name>\n# Note (cross-language divergence): Node CLI uses a positional <id> here;\n# Python CLI uses `--id <id>`. Both target the same backend endpoint.\nwlt secret action <id> --status ENABLE|DISABLE|DELETE\nwlt secret usage-by-model <id> --start <date> --end <date>\nwlt secret models\nwlt secret providers\n\n# ApiKey (BYOK)\nwlt apikey list [--page-num N] [--page-size N]\nwlt apikey create --name <n> --provider <p> --key <secret> [--key-id <id>]\nwlt apikey update <id> --name <n>\nwlt apikey delete <id>\nwlt apikey change-status <id> --status 1|0\nwlt apikey test-connect --provider <p> --key <secret> [--key-id <id>]\nwlt apikey providers\n\n# Usage  (--start / --end accept \"YYYY-MM-DD\" or \"YYYY-MM-DD HH:MM:SS\")\nwlt usage list    --start <date> --end <date> [--page-num N] [--page-size N]\nwlt usage stats   --start <date> --end <date>\nwlt usage history --start <date> --end <date> [--page-num N] [--page-size N]\nwlt usage providers\n\n# Billing\nwlt billing summary    --cycle YYYY-MM\nwlt billing by-gpu     --cycle YYYY-MM [--page-num N] [--page-size N]\nwlt billing by-service --cycle YYYY-MM [--page-num N] [--page-size N]\nwlt billing list       --cycle YYYY-MM [--page-num N] [--page-size N]\n\n# Payment\nwlt payment records [--page-num N] [--page-size N]\nwlt payment statistics\nwlt payment detail <transaction-no>\n# Note: payment billing-list / billing-amount require full datetime\n# \"YYYY-MM-DD HH:MM:SS\" (NOT bare \"YYYY-MM-DD\" -- backend rejects it).\n# usage list / stats / history accept either form.\nwlt payment billing-list  --start \"2026-04-01 00:00:00\" --end \"2026-04-30 23:59:59\" [--page-num N] [--page-size N]\nwlt payment billing-amount --start \"2026-04-01 00:00:00\" --end \"2026-04-30 23:59:59\"\n\n# Model Gallery\nwlt model list [--page-num N] [--page-size N]\nwlt model providers\nwlt model price <model-name>\n\n# Model Lab\nwlt lab list [--page-num N] [--page-size N]\nwlt lab session\nwlt lab chat --model <name> --provider <p> --message <text> [--session-id <id>]\n```\n\n### CLI vs SDK surface\n\nThe CLI exposes a curated subset of the SDK's surface area. Three things to\nknow when comparing CLI flags to SDK method parameters:\n\n1. **Some flags re-map to differently-named SDK params.** The CLI uses the\n   shorter, more user-friendly name; the SDK uses the backend's JSON name.\n   - `wlt apikey create --name <n>` → SDK `apiKeys.create({ keyName: n, ... })`\n   - `wlt apikey create --key <s>` → SDK `accessKeySecret: s`\n   - `wlt apikey create --key-id <id>` → SDK `accessKeyID: id`\n   - `wlt apikey test-connect --key <s> --key-id <id>` → same mapping as above\n\n2. **Not every SDK parameter is exposed as a CLI flag.** Lower-traffic filters\n   (e.g. `status`, `expiredBeforeUtc` on `secrets.list`; `tpmLimit`,\n   `tokenLimit` on `apiKeys.create`; `apiKey`, `inputs`, `outputs` on\n   `usage.serverlessList`) are SDK-only. Use the SDK if you need them.\n\n3. **Datetime format inconsistency.** `wlt usage list / stats / history` and\n   `wlt secret usage-by-model` accept `YYYY-MM-DD` OR full datetime. But\n   `wlt payment billing-list / billing-amount` require the full\n   `YYYY-MM-DD HH:MM:SS` form -- the backend rejects bare dates.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}