claude-queue 1.0.2 → 1.0.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/dist/cli.js CHANGED
@@ -118,8 +118,19 @@ async function startServer(port, detach, verbose) {
118
118
  }
119
119
  const child = spawn("node", [serverPath], {
120
120
  env,
121
- stdio: verbose ? "inherit" : "pipe"
121
+ stdio: verbose ? "inherit" : ["ignore", "pipe", "pipe"]
122
122
  });
123
+ if (!verbose && child.stderr) {
124
+ let stderrOutput = "";
125
+ child.stderr.on("data", (data) => {
126
+ stderrOutput += data.toString();
127
+ });
128
+ child.on("exit", (code) => {
129
+ if (code !== 0 && stderrOutput) {
130
+ console.error("Server error:", stderrOutput.trim());
131
+ }
132
+ });
133
+ }
123
134
  return child;
124
135
  }
125
136
  async function waitForServer(port, maxWait = 1e4) {
@@ -1274,7 +1274,7 @@ function createServer(port = 3333) {
1274
1274
  const uiPath = uiPaths.find((p) => existsSync4(join5(p, "index.html")));
1275
1275
  if (uiPath) {
1276
1276
  app.use(express.static(uiPath));
1277
- app.get("*", (_req, res) => {
1277
+ app.get("/{*splat}", (_req, res) => {
1278
1278
  res.sendFile(join5(uiPath, "index.html"));
1279
1279
  });
1280
1280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-queue",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A local kanban board for managing Claude Code projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -48,6 +48,7 @@
48
48
  "commander": "^14.0.2",
49
49
  "cors": "^2.8.5",
50
50
  "express": "^5.2.1",
51
+ "http-proxy-middleware": "^3.0.5",
51
52
  "nanoid": "^5.1.6"
52
53
  },
53
54
  "devDependencies": {