deer-flow/frontend/tests
Ryker_Feng 00161811bd
feat: add workspace change review for agent runs (#3945)
* feat: add workspace change review

* chore: format workspace change files

* fix: optimize workspace change summaries

* style: refine workspace change badge scale

* fix: restore workspace change user context import

* fix(frontend): gate workspace change badge to assistant messages

Only pass run_id to assistant MessageListItems so the workspace-change
badge can never render under a user's prompt, which carries the same
run_id. Assert single badge render in the E2E flow.

* fix(workspace-changes): address review feedback on diff parsing and badge

- Restrict unified-diff header detection to "+++ "/"--- " (trailing space)
  in both backend _count_diff_lines and frontend getWorkspaceChangeLineClass
  so content lines beginning with +++/--- are counted/styled correctly
- Gate WorkspaceChangeBadge to ai messages so tool messages folded into an
  assistant group don't render a duplicate badge
- Add regression tests for both diff-classification fixes
- Apply prettier formatting to workspace-changes files flagged by CI

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-07-05 15:38:01 +08:00
..
e2e feat: add workspace change review for agent runs (#3945) 2026-07-05 15:38:01 +08:00
e2e-real-backend fix(title): avoid default LLM call before stream end (#3885) 2026-06-30 18:58:02 +08:00
e2e-record fix(title): avoid default LLM call before stream end (#3885) 2026-06-30 18:58:02 +08:00
unit feat: add workspace change review for agent runs (#3945) 2026-07-05 15:38:01 +08:00