{"_id":"@autods/router","_rev":"3-b99275119f3229cdeb77c897e4c689a1","name":"@autods/router","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@autods/router","version":"0.1.0","keywords":["deepseek","deepseek-harness","dsh-plugin","autods","model-routing"],"license":"MIT","_id":"@autods/router@0.1.0","maintainers":[{"name":"mapoet","email":"funaifeng@163.com"}],"dist":{"shasum":"8fb1a7c663b45bb5307f7578a4503139c9844a73","tarball":"https://registry.npmjs.org/@autods/router/-/router-0.1.0.tgz","fileCount":18,"integrity":"sha512-a77x9AtfRNQ/sUyc3FrChgn7BAJ7x1V7G15qMr9TCDbJptQAlvLwTSjJwPZn+d4MOU2TPiYVVIstBlO1kXXUHA==","signatures":[{"sig":"MEUCIQD3zq3g6cNqc3y00opqj9oOzWzTGCvitvSJYw9H3velDgIgee7oG98/QGYqhGu/iT1CMAqHk8c5iqAD+6PR799PSuk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22931},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"scripts":{"test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"rm -rf lib"},"_npmUser":{"name":"mapoet","email":"funaifeng@163.com"},"description":"AutoDS routing core: decision table for DeepSeek V4 model selection (plan→deepseek-v4-pro, ui→deepseek-v4-flash, image/browser→deepseek-v4-flash-vision-exp).","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/router_0.1.0_1788233974063_0.6289895637527221","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@autods/router","version":"0.1.1","keywords":["deepseek","deepseek-harness","dsh-plugin","autods","model-routing"],"license":"MIT","_id":"@autods/router@0.1.1","maintainers":[{"name":"mapoet","email":"funaifeng@163.com"}],"dist":{"shasum":"114cdf2cb2667e3c6f5d324c476d86a4a6fce56d","tarball":"https://registry.npmjs.org/@autods/router/-/router-0.1.1.tgz","fileCount":19,"integrity":"sha512-8B+3KZgoCJq1jWLtoMgq6dJ5F9cCYaiZGVJ9jgqoOZHDJapNFZEoDLPl7hIGKiqdBwwal2nIKdrOBdgKX7d8Kg==","signatures":[{"sig":"MEUCIAmfcCGwWnqdRIjPmoveXYuK4RQ0+yfskIl0JCt0+IsrAiEAtHw6ZaGoH81xJmgYxIsdXUfROxjs58j3ptd4x5nsZeY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29046},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"scripts":{"test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"rm -rf lib"},"_npmUser":{"name":"mapoet","email":"funaifeng@163.com"},"description":"AutoDS routing core: decision table for DeepSeek V4 model selection (plan→deepseek-v4-pro, ui→deepseek-v4-flash, image/browser→deepseek-v4-flash-vision-exp).","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/router_0.1.1_1788235643588_0.17323819714916344","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@autods/router@0.2.0","dist":{"shasum":"aed5d46c8769193b331687cd401c2f18869a8f86","tarball":"https://registry.npmjs.org/@autods/router/-/router-0.2.0.tgz","fileCount":19,"integrity":"sha512-mBZdkMOTBpWSEeunFt/HAB1Ko+3wlS4wHOfCggLAeGxMB/KT3Nku47c+TVRzvI5zo9i+slJgQYvrVMA/TZkftg==","signatures":[{"sig":"MEUCIQCclCtMhnMuT56a1iJuLu7S+A/dUxoP5SpeVnXoKeFm1wIgFQe86bm96EB1AxswyWwldgNUBvPOkXZcLc+jaVSL5ic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAaBLnql56b0FJ9WMdtxHCxOIJs+ldiHuIA1nV3SIhV2AiEA4A8bF977ycEwGcdRr5RLhFTj4qpfnhBevC+1iqLKdx0="}],"unpackedSize":29113},"main":"lib/index.js","name":"@autods/router","type":"module","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"license":"MIT","scripts":{"test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"rm -rf lib"},"version":"0.2.0","_npmUser":{"name":"mapoet","email":"funaifeng@163.com"},"keywords":["deepseek","deepseek-harness","dsh-plugin","autods","model-routing"],"description":"AutoDS routing core: decision table for DeepSeek V4 model selection (plan→deepseek-v4-pro, ui→deepseek-v4-flash, image/browser→deepseek-v4-flash-vision-exp).","directories":{},"maintainers":[{"name":"mapoet","email":"funaifeng@163.com"}],"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.5.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/router_0.2.0_1789866508245_0.5384628533107656"}}},"time":{"created":"2026-09-01T03:39:33.924Z","modified":"2026-09-20T01:08:28.530Z","0.1.0":"2026-09-01T03:39:34.198Z","0.1.1":"2026-09-01T04:07:23.761Z","0.2.0":"2026-09-20T01:08:28.346Z"},"license":"MIT","keywords":["deepseek","deepseek-harness","dsh-plugin","autods","model-routing"],"description":"AutoDS routing core: decision table for DeepSeek V4 model selection (plan→deepseek-v4-pro, ui→deepseek-v4-flash, image/browser→deepseek-v4-flash-vision-exp).","maintainers":[{"name":"mapoet","email":"funaifeng@163.com"}],"readme":"# @autods/router\n\nAutoDS 路由核心：纯函数决策表，把任务分类为 DeepSeek V4 具体模型。\n\n路由规则（可配置）：\n\n- 显式模型 / 别名 → 直通\n- 图片内容 / 浏览器工具 → deepseek-flash\n- 规划 / 架构 / 核心算法 → deepseek-v4-pro\n- UI / 实现细节 → deepseek-flash\n- 未命中 → 默认模型（deepseek-v4-pro）\n\n无 I/O、可单测；被 @autods/gateway 与 @autods/dsh 复用。\n\n用法：\n\n    import { classifySync } from \"@autods/router\"\n    const d = classifySync(req, config)\n    // d.model / d.reason / d.evidence\n","readmeFilename":""}