mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 15:39:41 +02:00
chore: bump version to 0.1613
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.1612 (must match `package.json`)
|
**Version**: 0.1613 (must match `package.json`)
|
||||||
|
|
||||||
## Project Overview
|
## Project Overview
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claudeman",
|
"name": "claudeman",
|
||||||
"version": "0.1612",
|
"version": "0.1613",
|
||||||
"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",
|
||||||
|
|||||||
+8
-9
@@ -260,25 +260,24 @@ export class TmuxManager extends EventEmitter implements TerminalMultiplexer {
|
|||||||
// Build the full command to run inside tmux
|
// Build the full command to run inside tmux
|
||||||
const fullCmd = `${pathExport}${envExports} && ${cmd}`;
|
const fullCmd = `${pathExport}${envExports} && ${cmd}`;
|
||||||
|
|
||||||
// Create tmux session in two steps to handle cold-start (no server running):
|
// Create tmux session in three steps to handle cold-start (no server running)
|
||||||
// 1. Create session with default shell (starts tmux server, session stays alive)
|
// and avoid the race where the command exits before remain-on-exit is set:
|
||||||
// 2. Set remain-on-exit + other options (server now exists)
|
// 1. Create session with default shell (starts tmux server, stays alive)
|
||||||
// 3. Send actual command via send-keys
|
// 2. Set remain-on-exit (server now exists, session won't vanish on exit)
|
||||||
// This avoids the race where the command exits before remain-on-exit is set.
|
// 3. Replace shell with actual command via respawn-pane (no terminal echo)
|
||||||
const shellCmd = fullCmd.replace(/"/g, '\\"');
|
|
||||||
execSync(
|
execSync(
|
||||||
`tmux new-session -ds "${muxName}" -c "${workingDir}" -x 120 -y 40`,
|
`tmux new-session -ds "${muxName}" -c "${workingDir}" -x 120 -y 40`,
|
||||||
{ cwd: workingDir, timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
{ cwd: workingDir, timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set remain-on-exit now that the server is running
|
// Set remain-on-exit now that the server is running — must be before respawn-pane
|
||||||
try {
|
try {
|
||||||
execSync(`tmux set-option -t "${muxName}" remain-on-exit on`, { timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' });
|
execSync(`tmux set-option -t "${muxName}" remain-on-exit on`, { timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' });
|
||||||
} catch { /* Non-critical */ }
|
} catch { /* Non-critical */ }
|
||||||
|
|
||||||
// Send the actual command to the session
|
// Replace the shell with the actual command (no echo in terminal)
|
||||||
execSync(
|
execSync(
|
||||||
`tmux send-keys -t "${muxName}" "${shellCmd}" Enter`,
|
`tmux respawn-pane -k -t "${muxName}" bash -c ${JSON.stringify(fullCmd)}`,
|
||||||
{ timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
{ timeout: EXEC_TIMEOUT_MS, stdio: 'ignore' }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user