Skip to content

Releases: kwonah0/dtui2-react

DTUI2 v1.3.5

05 Sep 08:45

Choose a tag to compare

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

03 Sep 11:09

Choose a tag to compare

๐Ÿš€ 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

03 Sep 07:44

Choose a tag to compare

๐Ÿš€ 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

02 Sep 11:00

Choose a tag to compare

๐Ÿš€ 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

02 Sep 02:12

Choose a tag to compare

๐Ÿš€ 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.AppImage

Linux (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

01 Sep 13:16

Choose a tag to compare

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

01 Sep 17:02

Choose a tag to compare

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 electron

User Config File

DTUI_USER_CONFIGFILE=my-config.json npm run electron

Files

  • DTUI2-1.0.0.AppImage: Portable Linux application
  • dtui2-react-1.0.0.tar.gz: Source archive