# Conflicts: # .agents/notes/implemented/architecture/2026-07-20-canonical-tool-output-contract.i18n.yaml # .agents/notes/implemented/feature/2026-07-20-code-mode-typed-tool-returns.i18n.yaml # examples/acp-agent/tests/snapshots/code-mode-workspace-context/session.jsonl # examples/tui-agent/tests/snapshots/code-mode/terminal.expected.txt
90 lines
4.5 KiB
Plaintext
90 lines
4.5 KiB
Plaintext
terminal 100x36 buffer=normal length=38 base=2 viewport=2
|
|
lifecycle started=1 stopped=0 progress=inactive
|
|
title "Using ONE run_code program: call — DSH TUI snapshot"
|
|
cursor hidden column=1 viewportRow=31 bufferRow=33
|
|
buffer
|
|
0| " DEEPSEEK HARNESS"
|
|
style 1-8 fg=bright-blue bold
|
|
style 10-16 bold
|
|
1| " Using ONE run_code program: call"
|
|
style 1-32 fg=bright-black
|
|
2| " deepseek-v4-flash • main-session"
|
|
style 1-34 dim
|
|
3| <blank>
|
|
4| "▌ "
|
|
style 0-0 fg=bright-blue
|
|
5| "▌ You "
|
|
style 0-0 fg=bright-blue
|
|
style 2-4 fg=bright-blue bold
|
|
6| "▌ Using ONE run_code program: call the bash tool twice — exactly echo CODE_ONE then exactly echo "
|
|
style 0-0 fg=bright-blue
|
|
style 65-77 fg=cyan
|
|
style 92-99 fg=cyan
|
|
7| "▌ CODE_TWO. Inside that same program, console.log exactly captured output, then return the two "
|
|
style 0-0 fg=bright-blue
|
|
style 2-9 fg=cyan
|
|
style 58-72 fg=cyan
|
|
8| "▌ outputs joined with a plus sign. Reply with that joined string only and stop. "
|
|
style 0-0 fg=bright-blue
|
|
9| "▌ "
|
|
style 0-0 fg=bright-blue
|
|
10| <blank>
|
|
11| " Reasoning "
|
|
style 1-9 fg=bright-black italic
|
|
12| " The user wants me to write a single run_code program that: "
|
|
style 1-58 fg=bright-black italic
|
|
13| " 1. Calls bash tool twice - first with echo CODE_ONE, then with echo CODE_TWO "
|
|
style 1-3 fg=bright-blue
|
|
style 4-38 fg=bright-black italic
|
|
style 39-51 fg=cyan
|
|
style 52-63 fg=bright-black italic
|
|
style 64-76 fg=cyan
|
|
14| " 2. console.log exactly captured output "
|
|
style 1-3 fg=bright-blue
|
|
style 4-23 fg=bright-black italic
|
|
style 24-38 fg=cyan
|
|
15| " 3. Return the two outputs joined with a plus sign "
|
|
style 1-3 fg=bright-blue
|
|
style 4-49 fg=bright-black italic
|
|
16| " "
|
|
17| " Let me write this carefully. "
|
|
style 1-28 fg=bright-black italic
|
|
18| <blank>
|
|
19| "▌ "
|
|
style 0-0 fg=green
|
|
20| "▌ ✓ const result1 = await tools.bash({ command: \"echo CODE_ONE\", description: \"First echo\" }); "
|
|
style 0-0 fg=green
|
|
style 2-2 fg=green bold
|
|
style 3-99 bold
|
|
21| "▌ cons "
|
|
style 0-0 fg=green
|
|
style 2-5 bold
|
|
22| "▌ captured output "
|
|
style 0-0 fg=green
|
|
23| "▌ CODE_ONE+CODE_TWO "
|
|
style 0-0 fg=green
|
|
24| "▌ "
|
|
style 0-0 fg=green
|
|
25| <blank>
|
|
26| " Reasoning "
|
|
style 1-9 fg=bright-black italic
|
|
27| " The user asked me to reply with that joined string only and stop. The joined string is "
|
|
style 1-99 fg=bright-black italic
|
|
28| " CODE_ONE+CODE_TWO. "
|
|
style 1-17 fg=cyan
|
|
style 18-18 fg=bright-black italic
|
|
29| <blank>
|
|
30| " Assistant "
|
|
style 1-9 fg=bright-magenta bold
|
|
31| " CODE_ONE+CODE_TWO "
|
|
32| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
|
style 0-99 dim
|
|
33| " "
|
|
style 1-1 inverse
|
|
34| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
|
style 0-99 dim
|
|
35| "deepseek-v4-flash /workspace/project ↑4.1k ↓227 cache 53% 4% context tools:"
|
|
style 0-79 dim
|
|
style 82-99 dim
|
|
36-37| <blank>
|