solrouter 0.2.3 → 0.2.4
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/bin/proxy.js +4 -0
- package/package.json +1 -1
package/bin/proxy.js
CHANGED
|
@@ -85,6 +85,8 @@ async function main() {
|
|
|
85
85
|
case "claude": {
|
|
86
86
|
const cfg = loadConfig({ port: flag("--port") ? Number(flag("--port")) : undefined,
|
|
87
87
|
mode: flag("--mode") || undefined });
|
|
88
|
+
const { banner } = await import("../src/banner.js");
|
|
89
|
+
console.log(banner({ menu: false }));
|
|
88
90
|
const { spawn } = await import("node:child_process");
|
|
89
91
|
startServer(cfg); // non-blocking listener in this process
|
|
90
92
|
// Pass everything after `code`/`claude` (minus our own --port/--mode) to Claude Code.
|
|
@@ -112,6 +114,8 @@ async function main() {
|
|
|
112
114
|
default: {
|
|
113
115
|
const cfg = loadConfig({ port: flag("--port") ? Number(flag("--port")) : undefined,
|
|
114
116
|
mode: flag("--mode") || undefined });
|
|
117
|
+
const { banner } = await import("../src/banner.js");
|
|
118
|
+
console.log(banner({ menu: false }));
|
|
115
119
|
// Pass-through supplies frontier creds per request, so login is not required
|
|
116
120
|
// to start — it only unlocks the private/uncensored leg.
|
|
117
121
|
if (!isLoggedIn()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solrouter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Local privacy router for coding tools: pseudonymises every request before it leaves your machine, and sends work a frontier model would refuse to an uncensored open-weight model you control.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|