@bungeegum-senpai/session-board 0.1.1 → 0.1.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 +4 -2
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -95,10 +95,12 @@ async function main(argv) {
|
|
|
95
95
|
}
|
|
96
96
|
return 0;
|
|
97
97
|
}
|
|
98
|
+
// The process ends by itself when the work is done. A forced exit can cut the output
|
|
99
|
+
// when it goes to a pipe, and the relay reads its messages from that output.
|
|
98
100
|
main(process.argv.slice(2)).then((code) => {
|
|
99
101
|
if (code >= 0)
|
|
100
|
-
process.
|
|
102
|
+
process.exitCode = code;
|
|
101
103
|
}).catch((err) => {
|
|
102
104
|
console.error(err.message);
|
|
103
|
-
process.
|
|
105
|
+
process.exitCode = 1;
|
|
104
106
|
});
|
package/dist/server.js
CHANGED
|
@@ -152,7 +152,7 @@ export function serve() {
|
|
|
152
152
|
console.log("The board already runs. Open http://127.0.0.1:" + config.port);
|
|
153
153
|
else
|
|
154
154
|
console.error(err.message);
|
|
155
|
-
process.
|
|
155
|
+
process.exitCode = err.code === "EADDRINUSE" ? 0 : 1;
|
|
156
156
|
});
|
|
157
157
|
server.listen(config.port, "127.0.0.1", () => {
|
|
158
158
|
console.log(config.title + ": http://127.0.0.1:" + config.port + " (project: " + (config.project || "all") + ")");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bungeegum-senpai/session-board",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "One local page for your Claude Code desktop sessions: who waits for you, who works, and a chat for each. Pixel-game look.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "brend0nc",
|