- heading "Code typescript Wrap lines Copy code" [level=3]:
- button "Code":
- text: Code
- img
- text: typescript
- button "Wrap lines"
- button "Copy code":
- img
- code: "const bashResult = await tools.bash({ command: \"echo CODE_ROUND_OK\", description: \"Echo CODE_ROUND_OK\" }); let readError = null; try { await tools.read({ file_path: \"missing.txt\" }); } catch (e) { readError = { toolName: e.toolName, message: e.message }; } return { bash: bashResult.stdout.text.trim(), readError };"
- heading "Output Copy output" [level=3]:
- button "Output":
- text: Output
- img
- button "Copy output":
- img
- text: "{"
- tree "Result JSON":
- treeitem "bash:\"CODE_ROUND_OK\","
- 'treeitem "Expand readError:{toolName: \"read\", message: \"cannot read \\"{{cwd}}/workspace/missing.txt\\": not found\"}"':
- button "Expand"
- text: "readError:{toolName: \"read\", message: \"cannot read \\"{{cwd}}/workspace/missing.txt\\": not found\"}"
- text: "}"