claude-queue 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/dist/cli.js +12 -1
  2. package/package.json +2 -1
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-queue",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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": {