viagen 0.2.1 → 0.2.2

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,15 +19479,7 @@ 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: {
19483
- ...process.env,
19484
- ...this.env,
19485
- PORT: String(this.appPort),
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.
19489
- VIAGEN_AUTH_TOKEN: ""
19490
- },
19482
+ env: { ...process.env, ...this.env, PORT: String(this.appPort), __VIAGEN_CHILD: "1" },
19491
19483
  stdio: ["ignore", stdoutFd, stderrFd],
19492
19484
  shell: true,
19493
19485
  // 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.1" : "0.0.0";
114
+ const currentVersion = true ? "0.2.2" : "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,15 +19075,7 @@ 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: {
19079
- ...process.env,
19080
- ...this.env,
19081
- PORT: String(this.appPort),
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.
19085
- VIAGEN_AUTH_TOKEN: ""
19086
- },
19078
+ env: { ...process.env, ...this.env, PORT: String(this.appPort), __VIAGEN_CHILD: "1" },
19087
19079
  stdio: ["ignore", stdoutFd, stderrFd],
19088
19080
  shell: true,
19089
19081
  // 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.1",
3
+ "version": "0.2.2",
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",