Repository navigation
Hotline Computer 0.10.1
Hotline Computer 0.10.1 answers a long command with its end, and says where the rest is.
shell execanswers with the end of each stream. It used to answer with the first 64 KiB of stdout and of stderr. A build or test run reports its result at the end, so on a long log the answer left out the error the agent ran the command for. The answer is now the last 8 KiB of each stream. It starts on a whole line when one begins near the cut, and never inside a character.max_outputstill sets the size.stdout_bytesandstderr_bytesgive each stream's full size, andtruncatedstill means something was left out.- Where the rest is. When a stream is cut,
morenames its log, for example~/.hotline/jobs/<id>/stdout.log.grepcan search it, andshell readwith the job ID pages through both streams in the order they were written. When the job's 4 MiB limit dropped output,moresays so: the kept output then ends before the command did. shell readpages 32 KiB by default, down from 64 KiB, so one page fits well inside what a client keeps of a tool's answer.- Plain text. Answers and pages come back without colour or cursor codes. A progress bar redrawn with carriage returns keeps only its last draw. Window titles, character-set switches and codes ending in
~are removed too. The job's logs on disk keep every byte.
The next Hotline desk release (0.19.0) pins this computer. Its desk half (hotline#40) keeps 64 KiB of an external tool's answer and shows the model a short tail of a long command.
Native ARM64/x86_64 release gates passed all 24 scenarios per architecture, then image-identity checks and cold pulls.
Cold registry pulls: 20.45 s ARM64 / 22.77 s x86_64. Downloaded-image start-to-health: 0.302 s / 0.456 s. Compressed layers: 745,563,932 / 749,121,633 bytes. The combined image digest is sha256:19a89ce437757c982abf02fe159b3dc98efcce2f6ccf98d710148911305f87d6.
Existing computers keep their running version until they are updated from the teammate's pane. state info and state guide identify the attached computer.
Use ghcr.io/1broseidon/hotline-computer:0.10.1.