Skip to content

v1.0.7 - 5-Line Box Clamping, Continuous Loading Spinner & System Env Awareness

Choose a tag to compare

@PwnedBytes0x1 PwnedBytes0x1 released this 07 Sep 18:32
· 3 commits to main since this release

🚀 What's New in v1.0.7

📦 5-Line Viewport Clamping & Auto-Collapsing

  • Clamped Middle Boxes: Tool inputs/outputs across all tools (replace_file_content, read_file, write_file, list_dir, grep_search, bash, etc.) and LLM thinking boxes are clamped to a max of 5 lines, displaying a clean … (+N more lines, Ctrl+O to expand) hint.
  • Unconstrained Assistant Responses: Assistant text and answers remain fully rendered and unconstrained as intended.
  • Live Stream Clamping: Live thinking stream preview during token generation is capped to 5 lines for zero terminal flicker and instant responsiveness.
  • Auto-Collapse: Pressing Ctrl+O collapses thinking and tool outputs into minimal badges (⚡ Thinking (folded), Output collapsed (N chars)).

⚡ Continuous Loading Spinner

  • Added an active background daemon ticker thread (_start_spinner_ticker) that repaints UI invalidation at ~12 FPS whenever the harness is busy.
  • The spinner in the header (⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏) now rotates continuously during slow LLM reasoning, waiting on network tokens, or background tool execution, ensuring the user immediately knows the harness has not frozen or hung.

🌐 System & Environment Awareness

  • Implemented get_system_environment_info() to detect OS, Android Termux app container sandbox, user, shell, and user home directory.
  • Injected system environment context into the agent's initialization prompt (XDHarness.__init__), explicitly alerting the model of the Android Termux sandbox and warning that /root and / are read-only.
  • Added friendly error guidance for PermissionError and [Errno 30] Read-only file system in write_file.

🛠️ Visual & Layout Fixes

  • Fixed sidecar drawer container dimension in XDHApp using to_dimension for smooth F2 / Ctrl+B toggles without layout exceptions.