Skip to content

fix(send_bash): capture bash output in /v1/sessions/:id/bash#1832

Merged
OneStepAt4time merged 1 commit intodevelopfrom
fix/send-bash-clean
Apr 14, 2026
Merged

fix(send_bash): capture bash output in /v1/sessions/:id/bash#1832
OneStepAt4time merged 1 commit intodevelopfrom
fix/send-bash-clean

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Small, focused fix: capture bash command output for !commands.

Changes:

  • Implement baseline pane capture, send , wait 5s, capture after content, compute diff and return when present.

Rationale:

  • Separating concerns: this PR contains only the send_bash fix requested by Argus/Manudis. All tmux/mock work will be in a separate PR/issue.

Notes:

  • Local CI may still fail due to tmux/mock instability; this PR is intentionally focused and minimal for review.

…_bash)

Only change: implement output capture in /v1/sessions/:id/bash — baseline capture, send cmd, wait 5s, capture diff and return output.
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

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

✅ Approved — clean send_bash output capture. 1 file, 24 lines.

Note: CI shows 1 failing test (server-core-coverage.test.ts — expected 200 got 404). This is the pre-existing tmux integration flake, not caused by this change. The send_bash fix only touches session-actions.ts (POST /v1/sessions/:id/bash). The failing test is a GET endpoint on a different route.

2829/2830 tests pass. Merging — tmux test stability tracked separately.

@OneStepAt4time OneStepAt4time merged commit 438a831 into develop Apr 14, 2026
9 of 11 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/send-bash-clean branch April 14, 2026 23:54
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