mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2026-01-30 06:12:05 +00:00
fix: Add missing loadTUI function for no-argument invocation (#1592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com> Fixes #1589
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user