Skip to content

0.4.1

Choose a tag to compare

@AmriaLin AmriaLin released this 10 Oct 11:01
· 5 commits to main since this release
ef23405

UTF-8-safe, resumable remote file reads, and quieter session diagnostics.

  • read_file no longer prints the [CONTENT TRUNCATED ...] notice twice: FileManager.read_file returns a structured FileContent and the notice is rendered exactly once, in server.py
  • reads are line-windowed, so the byte cap lands on a line boundary and a trailing partial character is trimmed by an incremental decoder — the result is always valid UTF-8
  • added start_line (1-based) and max_lines; a truncated read reports its line range and the next_start_line to resume from, plus total_lines when the whole file was read
  • the sudo cat fallback base64-wraps its payload so the byte cap cannot split a character on the wire, and uses sed for the line window
  • get_session_diagnostics collapses each recent command to a single short line, so a heredoc no longer floods the Recent field

Full Changelog: 0.4.0...0.4.1