Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

chore(release): v0.3.13

review33211003b2e8
diff --git a/docs/release-notes/v0.3.13.md b/docs/release-notes/v0.3.13.md
new file mode 100644
index 000000000..e8e7bce18
--- /dev/null
+++ b/docs/release-notes/v0.3.13.md
@@ -0,0 +1,9 @@
+**This supersedes the incomplete v0.3.10–v0.3.12 prereleases and is the urgent macOS compatibility
+release for v0.3.9.** The bundled tmux in v0.3.9 could crash at startup on older macOS versions,
+leaving terminals unable to start for users without a separately installed tmux. The rebuilt
+binary uses private bundled compatibility functions instead of newer-SDK-only system symbols, and
+the release build rejects unguarded weak imports before they can ship.
+
+This release also includes the account controls and reliability improvements merged since v0.3.9,
+including local and SSH account switching, configurable terminal parking, browser zoom, and fixes
+across agent approvals, retained launches, hooks, context links, Windows updates, and editor UI.
diff --git a/package-lock.json b/package-lock.json
index 29010a66b..d647ba63b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "node-terminal",
- "version": "0.3.12",
+ "version": "0.3.13",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "node-terminal",
- "version": "0.3.12",
+ "version": "0.3.13",
"hasInstallScript": true,
"license": "BUSL-1.1",
"dependencies": {
diff --git a/package.json b/package.json
index b500830f4..f3896d187 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-terminal",
- "version": "0.3.12",
+ "version": "0.3.13",
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
diff --git a/scripts/build-tmux.mjs b/scripts/build-tmux.mjs
index c2d342d47..1eab9f7c2 100644
--- a/scripts/build-tmux.mjs
+++ b/scripts/build-tmux.mjs
@@ -73,8 +73,8 @@ const licenseDir = path.join(repoRoot, 'resources', 'licenses')
const markerFile = path.join(outDir, '.tmux-build-version')
/** Bump when the build RECIPE changes in a way the pins above do not capture, so a binary built by
* the old recipe on the (self-hosted, persistent) release runner is rebuilt instead of reused.
- * r2 = issue #896 (pipe2 weak import). */
-const RECIPE_REV = 'r2'
+ * r3 = issue #896 (pipe2 and strtonum weak imports). */
+const RECIPE_REV = 'r3'
const MARKER = `tmux-${TMUX_VERSION} libevent-${LIBEVENT_VERSION} utf8proc-${UTF8PROC_VERSION} universal(${ARCHS.map((a) => a.arch).join('+')}) ${RECIPE_REV}\n`
const force = process.argv.includes('--force')
@@ -221,7 +221,12 @@ function buildArch({ arch, triple, minOs }, work, tarballs) {
// link is static with no -static flag and no chance of picking up a system libevent.dylib.
const tmuxEnv = {
...env,
- CPPFLAGS: `-I${path.join(prefix, 'include')}`,
+ // tmux tests strtonum with AC_RUN_IFELSE, which has no cache variable to pre-answer. On an
+ // Apple Silicon runner executing Node under Rosetta, the x86_64 probe runs successfully and
+ // selects the new SDK symbol even for our 10.15 deployment target. Rename every reference so
+ // the probe cannot link, tmux adds compat/strtonum.c, and that definition plus every caller
+ // resolve to the private bundled symbol instead of weak-importing libSystem's `_strtonum`.
+ CPPFLAGS: `-I${path.join(prefix, 'include')} -Dstrtonum=nodeterm_strtonum`,
LDFLAGS: `${flags} -L${path.join(prefix, 'lib')}`,
// Pre-answer tmux's PKG_CHECK_MODULES for utf8proc. That macro is invoked with NO
// action-if-not-found, so with pkg-config disabled it would abort configure outright
@@ -246,9 +251,6 @@ function buildArch({ arch, triple, minOs }, work, tarballs) {
// rendering the same. The price is the third vendored library above: one more pinned
// tarball to download, verify, cross-build statically and carry a license for.
'--enable-utf8proc',
- // tmux itself probes strtonum (not libevent). The runner SDK exposes it even though our
- // deployment target does not, so force tmux's bundled compat implementation.
- 'ac_cv_func_strtonum=no',
...hostArg
],
{ cwd: tmuxDir, env: tmuxEnv }