viagen 0.2.1 → 0.2.3

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/dist/cli.js CHANGED
@@ -19484,8 +19484,8 @@ var ProcessManager = class {
19484
19484
  ...this.env,
19485
19485
  PORT: String(this.appPort),
19486
19486
  __VIAGEN_CHILD: "1",
19487
- // Don't pass auth token to child — the app shouldn't require auth.
19488
- // Auth is handled by the standalone viagen server in front.
19487
+ // Child app runs without viagen auth — the app should handle its own
19488
+ // auth if needed. Viagen auth only protects the chat/AI server.
19489
19489
  VIAGEN_AUTH_TOKEN: ""
19490
19490
  },
19491
19491
  stdio: ["ignore", stdoutFd, stderrFd],
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ function registerHealthRoutes(server, env, errorRef) {
111
111
  );
112
112
  }
113
113
  });
114
- const currentVersion = true ? "0.2.1" : "0.0.0";
114
+ const currentVersion = true ? "0.2.3" : "0.0.0";
115
115
  debug("health", `version resolved: ${currentVersion}`);
116
116
  let versionCache = null;
117
117
  server.middlewares.use("/via/version", (_req, res) => {
@@ -19080,8 +19080,8 @@ var ProcessManager = class {
19080
19080
  ...this.env,
19081
19081
  PORT: String(this.appPort),
19082
19082
  __VIAGEN_CHILD: "1",
19083
- // Don't pass auth token to child — the app shouldn't require auth.
19084
- // Auth is handled by the standalone viagen server in front.
19083
+ // Child app runs without viagen auth — the app should handle its own
19084
+ // auth if needed. Viagen auth only protects the chat/AI server.
19085
19085
  VIAGEN_AUTH_TOKEN: ""
19086
19086
  },
19087
19087
  stdio: ["ignore", stdoutFd, stderrFd],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viagen",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Vite dev server plugin that exposes endpoints for chatting with Claude Code SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",