agileflow 2.99.3 → 2.99.5
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/scripts/claude-tmux.sh +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.99.5] - 2026-02-09
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Fix tmux startup after reboot by starting server before global options
|
|
14
|
+
|
|
15
|
+
## [2.99.4] - 2026-02-09
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fix tmux socket directory creation on macOS
|
|
19
|
+
|
|
10
20
|
## [2.99.3] - 2026-02-09
|
|
11
21
|
|
|
12
22
|
### Fixed
|
package/package.json
CHANGED
package/scripts/claude-tmux.sh
CHANGED
|
@@ -127,9 +127,11 @@ fi
|
|
|
127
127
|
# This causes "error connecting to ... (No such file or directory)" on every
|
|
128
128
|
# tmux command. We fix it automatically so users never see this error.
|
|
129
129
|
# Must run BEFORE any tmux command (including --kill, --attach, --refresh).
|
|
130
|
+
#
|
|
131
|
+
# IMPORTANT: tmux uses $TMUX_TMPDIR, then falls back to /tmp (NOT $TMPDIR).
|
|
132
|
+
# On macOS, $TMPDIR is /var/folders/.../T/ but tmux uses /private/tmp/.
|
|
130
133
|
if command -v tmux &> /dev/null; then
|
|
131
|
-
_TMUX_BASE="${TMUX_TMPDIR
|
|
132
|
-
# Strip trailing slash(es) to avoid double-slash in path
|
|
134
|
+
_TMUX_BASE="${TMUX_TMPDIR:-/tmp}"
|
|
133
135
|
_TMUX_BASE="${_TMUX_BASE%/}"
|
|
134
136
|
_TMUX_SOCK_DIR="${_TMUX_BASE}/tmux-$(id -u)"
|
|
135
137
|
if [ ! -d "$_TMUX_SOCK_DIR" ]; then
|
|
@@ -403,6 +405,11 @@ fi
|
|
|
403
405
|
# Create new tmux session with Claude
|
|
404
406
|
echo "Starting Claude in tmux session: $SESSION_NAME"
|
|
405
407
|
|
|
408
|
+
# Ensure tmux server is running (required for set-option when no sessions exist).
|
|
409
|
+
# Only new-session, start-server, and kill-server can start a server.
|
|
410
|
+
# Without this, set-option fails with "error connecting to..." after a reboot.
|
|
411
|
+
tmux start-server
|
|
412
|
+
|
|
406
413
|
# Set base-index globally BEFORE creating session so first window gets index 1
|
|
407
414
|
tmux set-option -g base-index 1
|
|
408
415
|
|