mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 00:49:41 +02:00
chore: bump version to 0.1610
This commit is contained in:
@@ -35,7 +35,7 @@ When user says "COM":
|
|||||||
1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`)
|
1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`)
|
||||||
2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web`
|
2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web`
|
||||||
|
|
||||||
**Version**: 0.1609 (must match `package.json`)
|
**Version**: 0.1610 (must match `package.json`)
|
||||||
|
|
||||||
## Project Overview
|
## Project Overview
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claudeman",
|
"name": "claudeman",
|
||||||
"version": "0.1609",
|
"version": "0.1610",
|
||||||
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
|
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
+7
-5
@@ -261,9 +261,13 @@ export class TmuxManager extends EventEmitter implements TerminalMultiplexer {
|
|||||||
// cold-start (common on macOS first run) completes before we query it.
|
// cold-start (common on macOS first run) completes before we query it.
|
||||||
// -d: don't attach, -s: session name, -c: starting directory
|
// -d: don't attach, -s: session name, -c: starting directory
|
||||||
// -x/-y: initial window size
|
// -x/-y: initial window size
|
||||||
|
//
|
||||||
|
// CRITICAL: set remain-on-exit BEFORE spawning the command. If the command
|
||||||
|
// exits quickly (e.g. Claude CLI not found), tmux destroys the session
|
||||||
|
// before we can query it. Setting it as a server default first prevents this.
|
||||||
const shellCmd = fullCmd.replace(/'/g, "'\\''");
|
const shellCmd = fullCmd.replace(/'/g, "'\\''");
|
||||||
execSync(
|
execSync(
|
||||||
`tmux new-session -ds "${muxName}" -c "${workingDir}" -x 120 -y 40 bash -c '${shellCmd}'`,
|
`tmux set-option -g remain-on-exit on 2>/dev/null; tmux new-session -ds "${muxName}" -c "${workingDir}" -x 120 -y 40 bash -c '${shellCmd}'`,
|
||||||
{ cwd: workingDir, timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
{ cwd: workingDir, timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -278,11 +282,9 @@ export class TmuxManager extends EventEmitter implements TerminalMultiplexer {
|
|||||||
// Disable tmux status bar — Claudeman's web UI provides session info
|
// Disable tmux status bar — Claudeman's web UI provides session info
|
||||||
execAsync(`tmux set-option -t "${muxName}" status off`, { timeout: EXEC_TIMEOUT_MS })
|
execAsync(`tmux set-option -t "${muxName}" status off`, { timeout: EXEC_TIMEOUT_MS })
|
||||||
.then(() => {}).catch(() => { /* Non-critical — session still works with status bar */ }),
|
.then(() => {}).catch(() => { /* Non-critical — session still works with status bar */ }),
|
||||||
// Keep pane alive after command exits — prevents session loss when Claude exits.
|
// Override global remain-on-exit with session-level setting
|
||||||
// Without this, tmux destroys the session entirely, losing all buffer/history.
|
|
||||||
// With remain-on-exit, the pane shows [Exited] and can be respawned.
|
|
||||||
execAsync(`tmux set-option -t "${muxName}" remain-on-exit on`, { timeout: EXEC_TIMEOUT_MS })
|
execAsync(`tmux set-option -t "${muxName}" remain-on-exit on`, { timeout: EXEC_TIMEOUT_MS })
|
||||||
.then(() => {}).catch(() => { /* Non-critical — old behavior (session destroyed on exit) */ }),
|
.then(() => {}).catch(() => { /* Already set globally as fallback */ }),
|
||||||
];
|
];
|
||||||
|
|
||||||
// Enable 24-bit true color passthrough — server-wide, set once per lifetime
|
// Enable 24-bit true color passthrough — server-wide, set once per lifetime
|
||||||
|
|||||||
Reference in New Issue
Block a user