viagen 0.2.2 → 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
@@ -19479,7 +19479,15 @@ var ProcessManager = class {
19479
19479
  const stderrFd = openSync(this.stderrLog, "a");
19480
19480
  this.child = spawn(this.command, [], {
19481
19481
  cwd: this.cwd,
19482
- env: { ...process.env, ...this.env, PORT: String(this.appPort), __VIAGEN_CHILD: "1" },
19482
+ env: {
19483
+ ...process.env,
19484
+ ...this.env,
19485
+ PORT: String(this.appPort),
19486
+ __VIAGEN_CHILD: "1",
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
+ VIAGEN_AUTH_TOKEN: ""
19490
+ },
19483
19491
  stdio: ["ignore", stdoutFd, stderrFd],
19484
19492
  shell: true,
19485
19493
  // Detached so the app survives if the viagen chat server restarts
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.2" : "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) => {
@@ -19075,7 +19075,15 @@ var ProcessManager = class {
19075
19075
  const stderrFd = openSync(this.stderrLog, "a");
19076
19076
  this.child = spawn(this.command, [], {
19077
19077
  cwd: this.cwd,
19078
- env: { ...process.env, ...this.env, PORT: String(this.appPort), __VIAGEN_CHILD: "1" },
19078
+ env: {
19079
+ ...process.env,
19080
+ ...this.env,
19081
+ PORT: String(this.appPort),
19082
+ __VIAGEN_CHILD: "1",
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
+ VIAGEN_AUTH_TOKEN: ""
19086
+ },
19079
19087
  stdio: ["ignore", stdoutFd, stderrFd],
19080
19088
  shell: true,
19081
19089
  // Detached so the app survives if the viagen chat server restarts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viagen",
3
- "version": "0.2.2",
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",