@js4683/auto-router 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.md +148 -0
- package/dist/cli.js +7150 -0
- package/dist/cli.js.map +7 -0
- package/package.json +36 -0
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@js4683/auto-router",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A local model router for agent clients.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"engines": { "node": ">=22" },
|
|
7
|
+
"repository": { "type": "git", "url": "git+https://github.com/js4683/auto-router.git" },
|
|
8
|
+
"homepage": "https://github.com/js4683/auto-router#readme",
|
|
9
|
+
"bugs": { "url": "https://github.com/js4683/auto-router/issues" },
|
|
10
|
+
"publishConfig": { "access": "public" },
|
|
11
|
+
"keywords": ["ai", "model-router", "llm", "opencode", "claude-code", "codex"],
|
|
12
|
+
"files": ["dist", "README.md", "LICENSE", "CHANGELOG.md"],
|
|
13
|
+
"bin": {
|
|
14
|
+
"auto-router": "dist/cli.js"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"workspaces": ["packages/*"],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "npm run build --workspace=@auto-router/router-core && npm run build --workspace=@auto-router/eval && npm run build --workspace=@auto-router/proxy && npm run build --workspace=@auto-router/install && npm run build:public",
|
|
20
|
+
"build:public": "node scripts/build-public.mjs",
|
|
21
|
+
"test": "npm run test:public && npm run test --workspaces",
|
|
22
|
+
"test:public": "vitest run src/cli.test.ts",
|
|
23
|
+
"test:all": "npm run test:public && npm run test --workspaces --if-present",
|
|
24
|
+
"package:smoke": "node scripts/package-smoke.mjs",
|
|
25
|
+
"release:check": "node scripts/release-check.mjs",
|
|
26
|
+
"eval": "npm run build --workspace=@auto-router/router-core && npm run build --workspace=@auto-router/eval && node packages/eval/dist/src/cli.js",
|
|
27
|
+
"install-clients": "npm run build --workspace=@auto-router/install && npm run start --workspace=@auto-router/install",
|
|
28
|
+
"login": "npm run build --workspace=@auto-router/proxy && npm run login --workspace=@auto-router/proxy",
|
|
29
|
+
"catalog:refresh": "node packages/router-core/dist/src/catalog-cli.js"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"esbuild": "0.28.2",
|
|
33
|
+
"vitest": "^3.1.0",
|
|
34
|
+
"typescript": "^5.7.3"
|
|
35
|
+
}
|
|
36
|
+
}
|