fix(tools): make code result cards authoritative
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
terminal 100x36 buffer=normal length=36 base=0 viewport=0
|
||||
terminal 100x36 buffer=normal length=40 base=4 viewport=4
|
||||
lifecycle started=1 stopped=0 progress=inactive
|
||||
title "DSH TUI snapshot"
|
||||
cursor hidden column=1 viewportRow=30 bufferRow=30
|
||||
cursor hidden column=1 viewportRow=31 bufferRow=35
|
||||
buffer
|
||||
0| "╭──────────────────────────────────────────────────────────────────────────────────────────────────╮"
|
||||
style 0-99 fg=bright-blue
|
||||
@@ -30,52 +30,70 @@ buffer
|
||||
style 0-0 fg=bright-blue
|
||||
style 65-77 fg=cyan
|
||||
style 92-99 fg=cyan
|
||||
9| "▌ CODE_TWO — and return the two outputs joined with a plus sign. Then reply with that joined string "
|
||||
9| "▌ 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
|
||||
10| "▌ only and stop. "
|
||||
style 58-72 fg=cyan
|
||||
10| "▌ outputs joined with a plus sign. Reply with that joined string only and stop. "
|
||||
style 0-0 fg=bright-blue
|
||||
11| "▌ "
|
||||
style 0-0 fg=bright-blue
|
||||
12| <blank>
|
||||
13| " Reasoning "
|
||||
style 1-9 fg=bright-black italic
|
||||
14| " The user wants a single run_code program that calls bash twice, then returns the two outputs "
|
||||
style 1-99 fg=bright-black italic
|
||||
15| " joined with a plus sign. Let me write this. "
|
||||
style 1-43 fg=bright-black italic
|
||||
16| <blank>
|
||||
17| "▌ "
|
||||
14| " The user wants me to write a single run_code program that: "
|
||||
style 1-58 fg=bright-black italic
|
||||
15| " 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
|
||||
16| " 2. console.log exactly captured output "
|
||||
style 1-3 fg=bright-blue
|
||||
style 4-23 fg=bright-black italic
|
||||
style 24-38 fg=cyan
|
||||
17| " 3. Return the two outputs joined with a plus sign "
|
||||
style 1-3 fg=bright-blue
|
||||
style 4-49 fg=bright-black italic
|
||||
18| " "
|
||||
19| " Let me write this carefully. "
|
||||
style 1-28 fg=bright-black italic
|
||||
20| <blank>
|
||||
21| "▌ "
|
||||
style 0-0 fg=green
|
||||
18| "▌ ✓ const out1 = await tools.bash({ command: \"echo CODE_ONE\", description: \"First echo\" }); "
|
||||
22| "▌ ✓ 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
|
||||
19| "▌ const o "
|
||||
23| "▌ cons "
|
||||
style 0-0 fg=green
|
||||
style 2-8 bold
|
||||
20| "▌ captured output "
|
||||
style 2-5 bold
|
||||
24| "▌ captured output "
|
||||
style 0-0 fg=green
|
||||
21| "▌ CODE_ONE+CODE_TWO "
|
||||
25| "▌ CODE_ONE+CODE_TWO "
|
||||
style 0-0 fg=green
|
||||
22| "▌ "
|
||||
26| "▌ "
|
||||
style 0-0 fg=green
|
||||
23| <blank>
|
||||
24| " Reasoning "
|
||||
27| <blank>
|
||||
28| " Reasoning "
|
||||
style 1-9 fg=bright-black italic
|
||||
25| " The output is exactly what the user asked for: CODE_ONE+CODE_TWO "
|
||||
style 1-64 fg=bright-black italic
|
||||
26| <blank>
|
||||
27| " Assistant "
|
||||
29| " The user asked me to reply with that joined string only and stop. The joined string is "
|
||||
style 1-99 fg=bright-black italic
|
||||
30| " CODE_ONE+CODE_TWO. "
|
||||
style 1-17 fg=cyan
|
||||
style 18-18 fg=bright-black italic
|
||||
31| <blank>
|
||||
32| " Assistant "
|
||||
style 1-9 fg=bright-magenta bold
|
||||
28| " CODE_ONE+CODE_TWO "
|
||||
29| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
||||
33| " CODE_ONE+CODE_TWO "
|
||||
34| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
||||
style 0-99 dim
|
||||
30| " "
|
||||
35| " "
|
||||
style 1-1 inverse
|
||||
31| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
||||
36| "────────────────────────────────────────────────────────────────────────────────────────────────────"
|
||||
style 0-99 dim
|
||||
32| "/workspace/project ↑3.1k ↓158 idle reasoning:on tools:compact"
|
||||
37| "/workspace/project ↑4.1k ↓227 idle reasoning:on tools:compact"
|
||||
style 0-49 dim
|
||||
style 67-99 dim
|
||||
33-35| <blank>
|
||||
38-39| <blank>
|
||||
|
||||
Reference in New Issue
Block a user