Repository navigation
feat: expand long command outputs inline - #1577
Conversation
Co-authored-by: openhands <openhands@all-hands.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: openhands <openhands@all-hands.dev>
|
PR Artifacts Cleaned Up The |
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
|
Hey @erisfully The PR seems good. Just a small point about resusability and a couple of nits. The output pane re-implements the sibling A small of minor things:
A very last thing: switching from |
Co-authored-by: openhands <openhands@all-hands.dev>
|
@VascoSch92 thanks for the review — addressed these points in the latest push:
Also regenerated the PR screenshots after the rendering change. This comment was created by an AI agent (OpenHands) on behalf of the user. |
Co-authored-by: openhands <openhands@all-hands.dev>
|
Small follow-up: I removed the large-output plain-text fallback because it made expanded command output lose the same syntax-highlighted formatting as the collapsed/markdown path. Expanded output now stays highlighted consistently; the output is still capped while collapsed and only renders the full highlighted content after the user explicitly expands it. This comment was created by an AI agent (OpenHands) on behalf of the user. |
✅ Mock-LLM E2E Tests10/10 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
✅ Mock-LLM Docker E2E Test Results60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
|
🚀 Released in v1.2.0. |
HUMAN:
Manually tested locally long input. See:


AGENT:
This PR was created by an AI agent (OpenHands) on behalf of the user.
Validation performed by the agent:
All commands passed locally. The focused Vitest suite covered expanding and collapsing a long command output inline.
Screenshot capture note: screenshots were generated from a temporary Vite harness that imports the real
OutputPanecomponent from this branch and uses a long command-output fixture.Why
Command outputs in the message view are truncated, which makes older or long-running command results hard to inspect without switching to the terminal. This addresses #2033 by allowing long command output panes to expand inline while keeping the default compact preview.
Summary
Issue Number
Fixes #2033
How to Test
Quick checks:
Manual UI check:
npm run dev:mock.Video/Screenshots
Collapsed output preview:
Expanded full output:
Type
Notes
The PR is opened as draft because the human-tested checkbox is reserved for human contributors. The
.pr/screenshot artifacts are PR-specific and will be removed by the repository workflow after approval.🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.31.1-pythonopenhands-automation==1.1.2b89adbd50f19807b6a8f23f2b4ae6dbb74e2c7b1Pull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-b89adbdRun
All tags pushed for this build
About Multi-Architecture Support
sha-b89adbd) is a multi-arch manifest supporting both amd64 and arm64sha-b89adbd-amd64) are also available if needed