Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

fix: Add missing loadTUI function for no-argument invocation (#1592)

Ben Coombs4b515c60b21b
diff --git a/.changeset/adopt-modifyjson-pattern.md b/.changeset/adopt-modifyjson-pattern.md
deleted file mode 100644
index 6cdd4731..00000000
--- a/.changeset/adopt-modifyjson-pattern.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-"task-master-ai": patch
----
-
-Improve concurrency safety by adopting modifyJson pattern in file-storage
-
-- Refactor saveTasks, createTag, deleteTag, renameTag to use modifyJson for atomic read-modify-write operations
-- This prevents lost updates when multiple processes concurrently modify tasks.json
-- Complements the cross-process file locking added in PR #1566
diff --git a/.changeset/fix-file-locking.md b/.changeset/fix-file-locking.md
deleted file mode 100644
index 4ffebd13..00000000
--- a/.changeset/fix-file-locking.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-"task-master-ai": patch
----
-
-Fix race condition when multiple Claude Code windows write to tasks.json simultaneously
-
-- Add cross-process file locking to prevent concurrent write collisions
-- Implement atomic writes using temp file + rename pattern to prevent partial writes
-- Re-read file inside lock to get current state, preventing lost updates from stale snapshots
-- Add stale lock detection and automatic cleanup (10-second timeout)
-- Export `withFileLock` and `withFileLockSync` utilities for use by other modules
-
-This fix prevents data loss that could occur when multiple Task Master instances (e.g., multiple Claude Code windows) access the same tasks.json file concurrently.
diff --git a/.changeset/list-blocks-ready-filter.md b/.changeset/list-blocks-ready-filter.md
deleted file mode 100644
index 03f192d5..00000000
--- a/.changeset/list-blocks-ready-filter.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-"task-master-ai": minor
----
-
-Add --ready and --blocking filters to list command for identifying parallelizable tasks
-
-- Add `--ready` filter to show only tasks with satisfied dependencies (ready to work on)
-- Add `--blocking` filter to show only tasks that block other tasks
-- Combine `--ready --blocking` to find high-impact tasks (ready AND blocking others)
-- Add "Blocks" column to task table showing which tasks depend on each task
-- Blocks field included in JSON output for programmatic access
-- Add "Ready" column to `tags` command showing count of ready tasks per tag
-- Add `--ready` filter to `tags` command to show only tags with available work
-- Excludes deferred/blocked tasks from ready count (only actionable statuses)
-- Add `--all-tags` option to list ready tasks across all tags (use with `--ready`)
-- Tag column shown as first column when using `--all-tags` for easy scanning
diff --git a/.changeset/loop-error-handling.md b/.changeset/loop-error-handling.md
deleted file mode 100644
index 4f0445b7..00000000
--- a/.changeset/loop-error-handling.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"task-master-ai": "patch"
----
-
-Improve loop command error handling and use dangerously-skip-permissions
-
-- Add proper spawn error handling (ENOENT, EACCES) with actionable messages
-- Return error info from checkSandboxAuth and runInteractiveAuth instead of silent failures
-- Use --dangerously-skip-permissions for unattended loop execution
-- Fix null exit code masking issue
diff --git a/.changeset/loop-sandbox-optional.md b/.changeset/loop-sandbox-optional.md
deleted file mode 100644
index b1bfe944..00000000
--- a/.changeset/loop-sandbox-optional.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-"task-master-ai": patch
----
-
-Make Docker sandbox mode opt-in for loop command
-
-- Add `--sandbox` flag to `task-master loop` (default: use plain `claude -p`)
-- Preserve progress.txt between runs (append instead of overwrite)
-- Display execution mode in loop startup output
diff --git a/.changeset/update-codex-cli-models.md b/.changeset/update-codex-cli-models.md
deleted file mode 100644
index 30db424e..00000000
--- a/.changeset/update-codex-cli-models.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"task-master-ai": patch
----
-
-Update Codex CLI supported models to match current available models
-
-- Remove deprecated models: gpt-5, gpt-5-codex, gpt-5.1
-- Add gpt-5.2-codex as the current default model
-- Add gpt-5.1-codex-mini for faster, cheaper option
-- Keep gpt-5.1-codex-max and gpt-5.2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8bcccb7c..040ce3ff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,54 @@
# task-master-ai
+## 0.42.0
+
+### Minor Changes
+
+- [#1533](https://github.com/eyaltoledano/claude-task-master/pull/1533) [`6c3a92c`](https://github.com/eyaltoledano/claude-task-master/commit/6c3a92c439d4573ff5046e3d251a4a26d85d0deb) Thanks [@bjcoombs](https://github.com/bjcoombs)! - Add --ready and --blocking filters to list command for identifying parallelizable tasks
+ - Add `--ready` filter to show only tasks with satisfied dependencies (ready to work on)
+ - Add `--blocking` filter to show only tasks that block other tasks
+ - Combine `--ready --blocking` to find high-impact tasks (ready AND blocking others)
+ - Add "Blocks" column to task table showing which tasks depend on each task
+ - Blocks field included in JSON output for programmatic access
+ - Add "Ready" column to `tags` command showing count of ready tasks per tag
+ - Add `--ready` filter to `tags` command to show only tags with available work
+ - Excludes deferred/blocked tasks from ready count (only actionable statuses)
+ - Add `--all-tags` option to list ready tasks across all tags (use with `--ready`)
+ - Tag column shown as first column when using `--all-tags` for easy scanning
+
+### Patch Changes
+
+- [#1569](https://github.com/eyaltoledano/claude-task-master/pull/1569) [`4cfde1c`](https://github.com/eyaltoledano/claude-task-master/commit/4cfde1c3d54b94701e0fcfc8dbdedbc3bbaf4339) Thanks [@bjcoombs](https://github.com/bjcoombs)! - Improve concurrency safety by adopting modifyJson pattern in file-storage
+ - Refactor saveTasks, createTag, deleteTag, renameTag to use modifyJson for atomic read-modify-write operations
+ - This prevents lost updates when multiple processes concurrently modify tasks.json
+ - Complements the cross-process file locking added in PR #1566
+
+- [#1566](https://github.com/eyaltoledano/claude-task-master/pull/1566) [`3cc6174`](https://github.com/eyaltoledano/claude-task-master/commit/3cc6174b471fc1ea7f12955095d0d35b4dc5904c) Thanks [@bjcoombs](https://github.com/bjcoombs)! - Fix race condition when multiple Claude Code windows write to tasks.json simultaneously
+ - Add cross-process file locking to prevent concurrent write collisions
+ - Implement atomic writes using temp file + rename pattern to prevent partial writes
+ - Re-read file inside lock to get current state, preventing lost updates from stale snapshots
+ - Add stale lock detection and automatic cleanup (10-second timeout)
+ - Export `withFileLock` and `withFileLockSync` utilities for use by other modules
+
+ This fix prevents data loss that could occur when multiple Task Master instances (e.g., multiple Claude Code windows) access the same tasks.json file concurrently.
+
+- [#1576](https://github.com/eyaltoledano/claude-task-master/pull/1576) [`097c8ed`](https://github.com/eyaltoledano/claude-task-master/commit/097c8edcb0ca065218e9b51758ad370ac7475f1a) Thanks [@Crunchyman-ralph](https://github.com/Crunchyman-ralph)! - Improve loop command error handling and use dangerously-skip-permissions
+ - Add proper spawn error handling (ENOENT, EACCES) with actionable messages
+ - Return error info from checkSandboxAuth and runInteractiveAuth instead of silent failures
+ - Use --dangerously-skip-permissions for unattended loop execution
+ - Fix null exit code masking issue
+
+- [#1577](https://github.com/eyaltoledano/claude-task-master/pull/1577) [`e762e4f`](https://github.com/eyaltoledano/claude-task-master/commit/e762e4f64608a77d248ac8ce5eeb218000b51907) Thanks [@Crunchyman-ralph](https://github.com/Crunchyman-ralph)! - Make Docker sandbox mode opt-in for loop command
+ - Add `--sandbox` flag to `task-master loop` (default: use plain `claude -p`)
+ - Preserve progress.txt between runs (append instead of overwrite)
+ - Display execution mode in loop startup output
+
+- [#1580](https://github.com/eyaltoledano/claude-task-master/pull/1580) [`940ab58`](https://github.com/eyaltoledano/claude-task-master/commit/940ab587e50cff43c3a2639bbbd210fdd577c3f1) Thanks [@Crunchyman-ralph](https://github.com/Crunchyman-ralph)! - Update Codex CLI supported models to match current available models
+ - Remove deprecated models: gpt-5, gpt-5-codex, gpt-5.1
+ - Add gpt-5.2-codex as the current default model
+ - Add gpt-5.1-codex-mini for faster, cheaper option
+ - Keep gpt-5.1-codex-max and gpt-5.2
+
## 0.42.0-rc.0
### Minor Changes
diff --git a/package-lock.json b/package-lock.json
index 27ba2d33..12fdde1b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "task-master-ai",
- "version": "0.40.1",
+ "version": "0.42.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "task-master-ai",
- "version": "0.40.1",
+ "version": "0.42.0",
"license": "MIT WITH Commons-Clause",
"workspaces": [
"apps/*",
diff --git a/package.json b/package.json
index 6a7fa295..0e827f1c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "task-master-ai",
- "version": "0.42.0-rc.0",
+ "version": "0.42.0",
"description": "A task management system for ambitious AI-driven development that doesn't overwhelm and confuse Cursor.",
"main": "index.js",
"type": "module",
diff --git a/scripts/modules/commands.js b/scripts/modules/commands.js
index e3ca7061..3474d0a7 100644
--- a/scripts/modules/commands.js
+++ b/scripts/modules/commands.js
@@ -5249,6 +5249,15 @@ Examples:
return programInstance;
}
+/**
+ * Load the TUI module (coming soon)
+ * @returns {Promise<object|null>} null - TUI not yet available
+ */
+async function loadTUI() {
+ // TUI is coming soon - return null for now
+ return null;
+}
+
/**
* Launch the interactive TUI REPL
*/
@@ -5257,10 +5266,8 @@ async function launchREPL() {
const tui = await loadTUI();
if (!tui) {
- // Fallback to help if TUI not available
- console.log(
- chalk.yellow('TUI mode not available. Install @tm/tui to enable.')
- );
+ // TUI coming soon - show help for now
+ console.log(chalk.yellow('TUI mode coming soon!'));
console.log(chalk.dim('Showing help instead...\n'));
if (isConnectedToHamster()) {
displayHamsterHelp();