feat: bash tool UI component#890
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | 654386c | Apr 30 2026, 02:30 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | 654386c | Commit Preview URL | Apr 30 2026, 02:31 AM |
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @MaheshtheDev's task in 2m 0s —— View job Re-review Complete
Summary: The PR has addressed 2 of the 4 issues from the previous reviews:
Posted inline comments for the 2 remaining issues with suggested fixes. |
There was a problem hiding this comment.
Overview: Adds a specialized BashToolDisplay component for rendering bash/terminal tool calls with expandable output, exit code coloring, and loading states.
Issues found: None — this looks good to ship.
The implementation is clean and handles all states correctly:
- Loading states show spinner and "running..." indicator
- Exit code 0 shows green, non-zero shows amber warning color
- Error states handled appropriately
- Output expansion is gated on actual content existing
- React's default text escaping protects against XSS in stdout/stderr output
Minor note: PlusIcon and BookOpenIcon are now unused imports after removing the old tool entries, but this won't cause runtime issues.
Score: 9/10
Testing ResultsRan browser-based UI tests against all 5 render states of Bug 1 (Medium) —
|
| State | Result |
|---|---|
input-streaming / input-available — blue spinner + "running..." |
✅ |
output-available, exitCode=0 — green + expandable stdout |
✅ |
output-available, exitCode=1 — amber + expandable stderr |
✅ |
output-available, no output — green + "done" |
✅ |
error / output-error — red + "error" label |
✅ |
output-available, exitCode=undefined — was amber, should be green |
✅ (after fix) |
Dead TOOL_META["bash"] entry removed |
✅ (after fix) |
| Long command truncation | ✅ |
Attached Images
716ad4f to
e6df01f
Compare
There was a problem hiding this comment.
Overview: Adds a specialized BashToolDisplay component for bash/terminal tool calls with expandable output, exit code coloring, and loading states.
Previous issues addressed:
- ✅ Error text is now rendered in the expandable section (fixes the "error details silently dropped" issue)
- ✅ Legacy memory tool names (
searchMemories,addMemory,fetchMemory) are kept with a clarifying comment
Issues found: 2 remaining from vorflux's browser testing:
- Medium:
exitCode=undefinedshows amber warning color — commands that complete successfully but don't include an explicit exit code will appear as warnings - Low:
TOOL_META["bash"]entry is dead code (never reached due to early return) with incorrect "Memory" label
Score: 8/10
Good progress on the previous feedback. The two remaining issues are minor but worth addressing before merge.
Merge activity
|
e6df01f to
654386c
Compare




No description provided.