You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Fixes the third-party Cloud Mode harness transition so the live harness
block is shown and scoped to the active agent-view conversation when the
harness command starts.
Previously, third-party harness startup teardown reused the generic
startup-command flag flip, which unhid/unmarked the active block. In
runs with earlier setup blocks, the active block may not be the harness
block by the time the event is handled, leaving the actual
Claude/Gemini/OpenCode/Codex block classified as setup output and hidden
from the agent view.
This PR:
- Carries the started harness `BlockId` on
`AmbientAgentViewModelEvent::HarnessCommandStarted`.
- Clears startup-command state on that specific block and attaches it to
the active conversation.
- Keeps earlier setup blocks hidden/collapsible instead of exposing them
as normal terminal blocks.
- Updates event matches for the new event payload.
- Adds a block-list regression test covering the target-block
unhide/attach behavior.
## Linked Issue
N/A
- [ ] The linked issue is labeled `ready-to-spec` or
`ready-to-implement`.
- [ ] Where appropriate, screenshots or a short video of the
implementation are included below (especially for user-visible or UI
changes).
## Testing
- Added
`test_finish_startup_commands_at_block_attaches_and_unhides_only_target_block`
in `app/src/terminal/model/blocks_tests.rs`.
- Not run locally yet.
- [ ] I have manually tested my changes locally with `./script/run`
### Screenshots / Videos
Not included yet; this is a user-visible Cloud Mode behavior change and
should be manually validated with a third-party harness run before
review/merge.
## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mod
Co-Authored-By: Oz [oz-agent@warp.dev](mailto:oz-agent@warp.dev)
0 commit comments