Skip to content

Smooth agent chat state transitions - #312

Merged
SergeSerb2 merged 3 commits into
mainfrom
sergecode/chat-animation-audit
Jul 28, 2026
Merged

Smooth agent chat state transitions#312
SergeSerb2 merged 3 commits into
mainfrom
sergecode/chat-animation-audit

Conversation

@SergeSerb2

Copy link
Copy Markdown
Owner

Summary

  • Stabilize the live agent activity dock with reserved phase, tool-tape, and timer geometry so state changes no longer make the transcript breathe sideways.
  • Crossfade command completion and decision-submission states inside fixed-size regions while preserving Reduce Motion behavior.
  • Track in-flight approval and user-input responses in the model to acknowledge clicks immediately and prevent duplicate provider submissions.
  • Preserve the existing streaming timeline safeguards: high-frequency token and row-layout updates remain intentionally unanimated to avoid scroll jitter and LazyVStack blanking.

Area

  • apps/mac — Native macOS app
  • apps/server — Local server and orchestration
  • apps/mobile — Expo / React Native companion
  • apps/windows — Windows desktop app
  • packages/* — Shared contracts, runtime, or utilities
  • Other

Verification

  • T3_SERVER_TEST_WORKERS=3 pnpm run verify --all
  • pnpm run test:mac --filter approvalResponseState
  • Mock UI probe captures inspected for approval cards, command task cards, and the live activity dock

The final full gate passed all five steps, including 1,678 TypeScript tests and 722 macOS tests. The UI probe wrote all target chat captures; its later unrelated settings cleanup exited after those captures were complete.

Screenshots / Recordings

Not attached. The target chat surfaces were inspected from the debug-only in-process UI probe captures; the visible changes are primarily transitions between states.

Release notes

Smoother agent activity, command completion, and decision-card transitions in macOS chat.

…ion-audit

# Conflicts:
#	apps/mac/Sources/SergeCodeMac/UI/Chat/AgentActivityDock.swift
#	apps/mac/Tests/SergeCodeMacTests/AppModelBugHuntRegressionTests.swift
@SergeSerb2
SergeSerb2 merged commit ccddf3d into main Jul 28, 2026
0 of 2 checks passed
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