Skip to content

Conversation

@ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Dec 5, 2025

Stack:

  1. 🤖 feat: add UI styling for background bash processes #923 <- This PR
  2. 🤖 feat: add background bash process execution with SSH support #920 (base)

Adds custom UI components for background bash tools:

  • BashToolCall: Shows ⚡ background • display_name for background spawns instead of timeout/duration; shows output file paths in expanded view
  • BashBackgroundListToolCall: New component showing process list with status badges, exit codes, uptimes, scripts, and output file paths
  • BashBackgroundTerminateToolCall: New component showing terminated process with display_name from result
image

Generated with mux

- BashToolCall: show '⚡ background • display_name' for background spawns
  instead of timeout/duration; show output file paths in expanded view
- BashBackgroundListToolCall: new component showing process list with
  status badges, exit codes, uptimes, scripts, and output file paths
- BashBackgroundTerminateToolCall: new component showing terminated
  process with display_name from result
- Wire up new components in ToolMessage.tsx

_Generated with mux_
@ethanndickson ethanndickson force-pushed the bash-background-ui-styling branch from aaaf93f to 0a76e44 Compare December 5, 2025 05:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

…aths, formatDuration)

DRY up tool components by extracting common patterns:
- ToolIcon: emoji + tooltip wrapper used in all tools
- ErrorBox: danger-styled error display box
- OutputPaths: stdout/stderr file path display
- formatDuration: human-readable time formatting (ms/s/m/h)

Net reduction of ~39 lines in new components while improving consistency.
@ethanndickson ethanndickson force-pushed the bash-background-ui-styling branch from c26f91a to 1eade3f Compare December 5, 2025 05:57
Update FileReadToolCall, FileEditToolCall, WebFetchToolCall,
StatusSetToolCall, and TodoToolCall to use ToolIcon and ErrorBox
primitives instead of duplicated TooltipWrapper/Tooltip and
manual error styling.

Net removal of ~26 lines while ensuring consistent styling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant