Files
deepseek-harness/apps/web/tests/snapshots/code-mode-round/ui.expected.md
creatixchu 84a6bae1c7 fix(web): drop the branch action from user and steering bubbles
The branch control on user and consumed-steering bubbles could enable
only when a completed turn ended with no node after the message at all,
so readers saw a permanently unavailable control whose tooltip promised
a state it could not reach. An enabled one would mislead anyway: a fork
at a message seq cuts at the containing turn/end and takes the answer
along, the opposite of the branch-to-re-ask reading a control on one's
own bubble suggests.

MessageItem loses its fork props, PendingSteeringBubble loses the
showBranch special case, and messageBranchSeqs narrows to
assistantBranchSeqs: only a completed turn's transcript tail that is
the turn's own content-text assistant may fork. A steered turn keeps
its fork point under the settled answer, because fork is a log-prefix
cut and the steer is model-visible history the child inherits.

Web aria goldens drop the user-bubble disabled-branch row and its
hidden explanation text; the nested-subagent golden also loses the one
enabled user-tail fork handle, a loss the decision note accepts.
2026-08-06 17:46:18 +08:00

1.8 KiB

  • banner:
    • navigation "Session hierarchy":
      • 'button "Using ONE run_code program: run" [disabled]'
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
  • text: "Using ONE run_code program: run bash echo CODE_ROUND_OK, then read the file missing.txt catching its error in the program. Return an object with both outcomes. Then reply DONE and stop. {{clock}}"
  • button "Copy":
    • img
  • button "Context injection @deepseek-ai/dsh-system-prompt":
    • img
    • img
    • text: Context injection @deepseek-ai/dsh-system-prompt
  • 'button "Think The user wants me to write a single run_code program that:"':
    • img
    • img
    • text: "Think The user wants me to write a single run_code program that:"
  • button "Code Run bash echo and catch missing file read":
    • img
    • img
    • text: Code Run bash echo and catch missing file read
  • img
  • text: Bash Echo CODE_ROUND_OK Failed
  • 'button "Read Error: cannot read "{{cwd}}/workspace/missing.txt": not found"':
    • img
    • text: "Read Error: cannot read "{{cwd}}/workspace/missing.txt": not found"
  • button "Think The program ran successfully. Let me now reply DONE as instructed.":
    • img
    • img
    • text: Think The program ran successfully. Let me now reply DONE as instructed.
  • paragraph: DONE
  • button "Copy":
    • img
  • button "Branch into a new conversation":
    • img
  • text: {{clock}} Ran for {{duration}} TTFT {{duration}} {{throughput}} tok/s
  • textbox "Message the agent"
  • button "Commands":
    • img
  • 'button "Access mode, current: Workspace Write"': Workspace Write
  • button "Select model, current DeepSeek-V4-Flash":
    • text: DeepSeek-V4-Flash
    • img
  • button "7% of context used"
  • button "Send message" [disabled]
  • text: 1 turns · 2 steps LLM {{duration}} · Tool call {{duration}} TTFT avg {{duration}} · {{throughput}} tok/s Cache hit 52% Input 17.2K tok · Output 252 tok