Releases: kwonah0/dtui2-react
Releases ยท kwonah0/dtui2-react
DTUI2 v1.3.5
Changes in v1.3.5
Bug Fixes
- Fixed marker-based extraction not working for PTY output paths
- Fixed marker extraction bypassing issue in ElectronShellAIAgent
- Removed legacy prefixes ([DTUI-SHELL], [FALLBACK]) from all configuration paths
- Set useCodeBlock to false everywhere for consistent output formatting
- Added extraction configuration to all fallback and test handlers
- Disabled DevTools in production builds
Technical Improvements
- Enhanced marker extraction to work consistently across PTY and non-PTY execution paths
- Fixed TypeScript compilation errors in agent declarations
- Improved configuration system reliability for fallback scenarios
๐ค Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
DTUI2 v1.3.4 - Production Ready Release
๐ DTUI2 v1.3.4 Release - Production Ready
๐ง Critical Fixes
- โ Fixed PTY Output Marker Extraction: PTY shell output now properly applies marker-based extraction
- ๐ฏ Disabled DevTools in Production: Clean user experience without developer tools auto-opening
- ๐ Enhanced Debug Logging: Better visibility into marker extraction process
๐ฏ Marker Extraction Improvements
- PTY Path Fixed: Both PTY and regular output paths now apply marker extraction
- Debug Visibility: Added comprehensive logging to troubleshoot extraction issues
- Config Verification: Enhanced configuration loading verification
๐จ User Experience
- Clean Production UI: No more unwanted developer tools in packaged apps
- Proper Markdown: Bold text works correctly with
**text**(no spaces) - Better Error Handling: Improved extraction fallback behavior
๐ฆ Quick Start
Download and Run:
# Download AppImage
wget https://github.com/kwonah0/dtui2-react/releases/download/v1.3.4/DTUI2-1.3.4.AppImage
chmod +x DTUI2-1.3.4.AppImage
# Run
./DTUI2-1.3.4.AppImage๐ Marker Extraction Features
- Inline Support:
<RESPONSE>content</RESPONSE>anywhere in text - Case-Insensitive: Matches various case combinations
- HTML-Safe: Works with iframe and complex output formats
- Fallback Mode: Uses full output when markers not found
- Debug Logging: Console logs show extraction process
๐ Configuration Example
{
"ai": {
"provider": "shell",
"shell": {
"outputFormat": {
"useCodeBlock": false,
"extraction": {
"enabled": true,
"startMarker": "<RESPONSE>",
"endMarker": "</RESPONSE>"
}
}
}
}
}๐ Bug Fixes
- PTY output marker extraction now works correctly
- Developer tools no longer open in production builds
- Enhanced configuration loading with proper fallbacks
๐ Documentation
Ready for production use with clean UI and reliable marker extraction ๐ฏ
DTUI2 v1.3.3 - Enhanced Marker Extraction
๐ DTUI2 v1.3.3 Release - Enhanced Marker Extraction
โจ What's New
- ๐ฏ Enhanced Marker Extraction: Case-insensitive fallback search for markers
- ๐ Position-Independent Markers: Works with markers anywhere in text (not just line start)
- ๐ง Improved Logging: Detailed extraction process logging with previews
- ๐ Comprehensive Testing: Full test suite for marker functionality
- ๐จ Better Error Handling: Graceful fallback when markers are missing
๐ Marker Features
- Basic extraction:
<RESPONSE>content</RESPONSE> - Inline markers: Works mid-line or anywhere in text
- Case-insensitive: Matches
<response>,<Response>,<RESPONSE> - Custom markers: Support for
### START ###/### END ###style - Multi-line content: Preserves formatting in extracted content
- Nested handling: Correctly extracts first marker pair
- Fallback mode: Uses full output when markers not found
๐ฆ Quick Start
Download and Run:
# Download AppImage
wget https://github.com/kwonah0/dtui2-react/releases/download/v1.3.3/DTUI2-1.3.3.AppImage
chmod +x DTUI2-1.3.3.AppImage
# Run
./DTUI2-1.3.3.AppImage๐ฎ Configuration Example
{
"ai": {
"provider": "shell",
"shell": {
"command": "your-llm-command",
"outputFormat": {
"useCodeBlock": false,
"extraction": {
"enabled": true,
"startMarker": "<RESPONSE>",
"endMarker": "</RESPONSE>"
}
}
}
}
}๐ Previous Features
- Real PTY terminal support with colors
- Shell command execution
- AI agent integration
- Markdown rendering
- Cross-platform support
๐ Documentation
Enhanced marker extraction for better LLM output processing ๐ฏ
DTUI2 v1.3.2 - Portable Release
๐ DTUI2 v1.3.2 Release
๐ฆ Quick Installation
Download and Extract:
# Download
wget https://github.com/kwonah0/dtui2-react/releases/download/v1.3.2/dtui2-v1.3.2.tar.gz
# Extract
tar -xzf dtui2-v1.3.2.tar.gz
cd dtui2-v1.3.2
# Install dependencies
npm ci --production
# Run
npm run electronโจ What's New
- ๐ฏ Marker-based output extraction with
<RESPONSE></RESPONSE>tags - ๐ง Fixed multiline command handling
- ๐ Improved newline rendering in UI
- ๐ณ Docker and Singularity support
- ๐ Portable release package
๐ Features
- Real PTY terminal support with colors
- Shell command execution
- AI agent integration
- Markdown rendering
- Cross-platform support
๐ง Configuration
Environment variables or dtui.json file supported.
๐ Documentation
๐ Known Issues
- Docker automated build pending fixes
- Use this portable release as alternative
Portable release includes all source files for local building
Release v1.1.0: Complete node-pty Integration
๐ DTUI2 v1.1.0: Complete node-pty Integration
This major release introduces full PTY (pseudo-terminal) support, providing a professional terminal experience with real ANSI colors, interactive commands, and superior shell functionality.
๐ฏ Major Features
โจ Real PTY Support
- @homebridge/node-pty-prebuilt-multiarch integration for cross-platform compatibility
- Real terminal functionality - supports interactive programs like
vi,top,htop - ANSI color preservation - full color support with proper terminal formatting
- Command piping - support for complex shell operations like
ls | head -5 - Environment variable substitution - dynamic commands with
$(date),$PWD, etc.
๐จ Professional Terminal UI
- xterm.js integration - industry-standard terminal emulator
- Proper cursor handling - blinking cursor and terminal controls
- Resize support - dynamic terminal resizing with PTY coordination
- Web links addon - clickable URLs in terminal output
๐ง Technical Improvements
- IPC handler redesign - unified support for both node-pty and child_process interfaces
- Clean output capture - one-time PTY processes for reliable command output
- DevTools management - prevents interference during automated testing
- Comprehensive test suite - Playwright automation for UI and PTY functionality
๐ฆ Installation
Linux (AppImage)
# Download and run
chmod +x DTUI2-1.1.0.AppImage
./DTUI2-1.1.0.AppImageLinux (tar.gz)
# Extract and run
tar -xzf dtui2-react-1.1.0.tar.gz
cd linux-unpacked
./dtui2-react๐ฎ New Shell Commands
All shell commands now support full PTY features:
!ls --color=always # Colored file listings
!ls -la | head -10 # Pipe commands
!echo "Today is $(date)" # Environment substitution
!vi filename # Interactive editors
!top # Interactive monitoring
!htop # Advanced system monitor๐ Compatibility
- Node.js: >=18.0.0 <25.0.0
- Electron: 37.4.0
- Platform: Linux, Windows, macOS
- PTY Fallback: Script-based emulation for unsupported platforms
๐ Bug Fixes
- Fixed DevTools auto-opening during test mode
- Resolved marker-based output capture timing issues
- Improved error handling for PTY unavailable scenarios
- Enhanced escape sequence processing for clean output
๐ง Technical Notes
- Uses prebuilt binaries to avoid native compilation issues
- Automatic electron-rebuild on postinstall for PTY compatibility
- Fallback mechanisms ensure functionality even without PTY support
- Comprehensive logging for debugging PTY-related issues
Full Changelog: v1.0.0...v1.1.0
๐ค Generated with Claude Code
DTUI2 v1.0.0 - Shared Memory Fix
DTUI2 v1.0.0 - All Issues Fixed
โ Latest Fix: Shared Memory Permissions
- Fixed "/dev/shm" permission errors for non-root users
- Added --disable-dev-shm-usage flag
- Added --in-process-gpu flag
- No sudo required
๐ฆ Download
- DTUI2-1.0.0.AppImage - Linux portable executable (119MB)
๐ Usage
# Standard usage
chmod +x DTUI2-1.0.0.AppImage
./DTUI2-1.0.0.AppImage
# If you still get shared memory errors:
./DTUI2-1.0.0.AppImage --no-sandbox --disable-dev-shm-usage
# If FUSE not available:
./DTUI2-1.0.0.AppImage --appimage-extract
./squashfs-root/dtui2-react --no-sandbox --disable-dev-shm-usageโ All Issues Resolved
- Shared memory permission errors
- GPU/libva warnings
- DevTools disabled in production
- Test code execution disabled
- Config auto-creation
๐ฏ Features
- Works without root/sudo
- Real shell command execution
- Configurable code blocks
- Markdown rendering
- Dark theme UI
๐ Notes
- Fully portable - no installation
- F12 to open DevTools if needed
- Config at ~/.config/DTUI2/dtui.json
v0.0.3 - Shell Agent with Echo Command Defaults
Changes
- ๐ง Configuration System: Implemented complete 3-stage configuration priority system (Environment > User Config File > Built-in Defaults)
- ๐ Shell Agent: Changed default shell command from bash to echo for better compatibility
- ๐ Environment Variables: Added support for DTUI_CFG__* environment variables with deep object merging
- ๐งช Testing: Added configuration test scripts for easy verification
- ๐ Debug: Fixed environment variable parsing and IPC communication
New Features
- Environment variable configuration with DTUI_CFG__ prefix
- User config file support via DTUI_USER_CONFIGFILE
- Built-in safe defaults compatible with both regular and HPC environments
- Test scripts: test-env-vars.sh and test-temp-config.sh
Usage
Environment Variables
DTUI_CFG__ai__shell__command=echo \
DTUI_CFG__ai__shell__args='["[CUSTOM]:"]' \
npm run electronUser Config File
DTUI_USER_CONFIGFILE=my-config.json npm run electronFiles
- DTUI2-1.0.0.AppImage: Portable Linux application
- dtui2-react-1.0.0.tar.gz: Source archive