switchboard-fyi 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/LICENSE +21 -0
- package/README.md +538 -0
- package/bin/switchboard-gateway.mjs +5543 -0
- package/bin/switchboard-inspector.mjs +814 -0
- package/bin/switchboard.mjs +6936 -0
- package/docs/codex-subscription-provider-proxy.md +133 -0
- package/docs/known-limitations.md +69 -0
- package/docs/mvp-usage.md +207 -0
- package/docs/routing-api.md +197 -0
- package/docs/smoke-test.md +190 -0
- package/lib/switchboard-core.mjs +779 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "switchboard-fyi",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Local model-routing CLI for Codex and Claude Code.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://www.switchboard.fyi",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"switchboard": "bin/switchboard.mjs",
|
|
10
|
+
"switchboard-fyi": "bin/switchboard.mjs",
|
|
11
|
+
"switchboard-gateway": "bin/switchboard-gateway.mjs",
|
|
12
|
+
"switchboard-inspector": "bin/switchboard-inspector.mjs"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"bin/switchboard.mjs",
|
|
16
|
+
"bin/switchboard-gateway.mjs",
|
|
17
|
+
"bin/switchboard-inspector.mjs",
|
|
18
|
+
"lib/",
|
|
19
|
+
"docs/codex-subscription-provider-proxy.md",
|
|
20
|
+
"docs/known-limitations.md",
|
|
21
|
+
"docs/mvp-usage.md",
|
|
22
|
+
"docs/routing-api.md",
|
|
23
|
+
"docs/smoke-test.md",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"switchboard": "node ./bin/switchboard.mjs",
|
|
32
|
+
"codex": "node ./bin/switchboard.mjs codex",
|
|
33
|
+
"claude": "node ./bin/switchboard.mjs claude",
|
|
34
|
+
"claude-code": "node ./bin/switchboard.mjs claude-code",
|
|
35
|
+
"watch": "node ./bin/switchboard.mjs watch",
|
|
36
|
+
"watch:codex": "node ./bin/switchboard.mjs watch codex",
|
|
37
|
+
"watch:claude": "node ./bin/switchboard.mjs watch claude-code",
|
|
38
|
+
"inspect": "node ./bin/switchboard-inspector.mjs",
|
|
39
|
+
"inspect:codex": "node ./bin/switchboard-inspector.mjs --harness codex",
|
|
40
|
+
"inspect:claude": "node ./bin/switchboard-inspector.mjs --harness claude-code",
|
|
41
|
+
"status": "node ./bin/switchboard.mjs status",
|
|
42
|
+
"config": "node ./bin/switchboard.mjs config",
|
|
43
|
+
"gateway": "node ./bin/switchboard-gateway.mjs start",
|
|
44
|
+
"self-test": "node ./bin/switchboard-gateway.mjs self-test",
|
|
45
|
+
"test": "node --test test/*.test.mjs"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"ws": "^8.20.1"
|
|
49
|
+
}
|
|
50
|
+
}
|