Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(tools): show images from MCP and OpenCode outputs #30389

MergedYash-Singh1(GitHub profile, opens in a new tab)merged 8 commits intomain fromrefs/pull/30389/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Showing 20 changed files with 63 additions and 14 deletions (loading 17).

x
0 of 20 viewed, 20 left
7 additions and 1 deletion.github/workflows/ci.ymlModified
View file
@@ -272,12 +272,18 @@
env:
TEST_PACKAGES: ${{ needs.changes.outputs.test_packages }}
run: |
+ set -o pipefail
filters=(--filter '!t3' --filter '!@t3tools/monorepo' --filter '!@t3tools/web')
if [[ -n "$TEST_PACKAGES" ]]; then
filters=()
for package in $TEST_PACKAGES; do filters+=(--filter "$package"); done
- vp run --parallel --concurrency-limit 4 "${filters[@]}" test
+ # The runner's trace writer can crash on surrogate pairs in test output.
+ vp run --parallel --concurrency-limit 4 "${filters[@]}" test 2>&1 | python3 -u -c '
+ import sys
+ for line in sys.stdin:
+ sys.stdout.write(line.encode("ascii", "backslashreplace").decode("ascii"))
+ '
​
# The web suite is the largest outside the server. In the shared Test job it
# started last and ran alone for about 40s after everything else finished.
43 additions and 12 deletionsapps/mobile/src/features/threads/thread-work-log.tsxModified
View file
@@ -69,6 +69,7 @@
workEntryRowLabel,
} from "../../lib/threadActivity";
import {
+ isJsonToolText,
toolCallLines,