Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
pingdotgg
/
t3code
Pull requests
pingdotgg
t3code
Public
Synced with GitHub
Popular #1
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
fix(client-runtime): Read image previews load once the Read finishes
#27954
Send to my agent
Closed
juliusmarminge
wants to merge 8 commits into
main
from
refs/pull/27954/head
·
opened
last month
View on GitHub
Conversation
10
Commits
8
Files changed
2
Impact
Showing
2 changed files
with
21 additions
and
0 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
19 additions and 0 deletions
+19
-0
packages/client-runtime/src/work-log/presentation.test.ts
Modified
Diff
Before/After
Viewed
packages/client-runtime/src/work-log/presentation.test.ts
View file
Show all 8 lines
@@ -9,6 +9,7 @@
9
9
type
WorkLogPresentationEntry
,
10
10
workEntryIndicatesToolFailure,
11
11
workEntryDisplayIndicatesToolFailure,
12
+
workEntryViewedImagePath,
12
13
}
from
"./presentation.js"
;
13
14
14
15
function
commandItem
(
Expand up
Expand down
Show all 189 lines
@@ -204,3 +205,21 @@
204
205
).
toBeNull
();
205
206
});
206
207
});
208
+
209
+
describe
(
"workEntryViewedImagePath"
, () => {
210
+
it
(
"withholds a Read's image preview until the Read has finished"
, () => {
211
+
const
read:
WorkLogPresentationEntry
= {
212
+
id
:
"read"
,
213
+
createdAt
:
"2026-01-01T00:00:00.000Z"
,
214
+
label
:
"Read"
,
215
+
tone
:
"tool"
,
216
+
itemType
:
"dynamic_tool"
,
217
+
viewedImagePath
:
"/repo/out/later3.png"
,
218
+
};
219
+
220
+
expect
(
workEntryViewedImagePath
({ ...read,
toolLifecycleStatus
:
"inProgress"
})).
toBeNull
();
221
+
expect
(
workEntryViewedImagePath
({ ...read,
toolLifecycleStatus
:
"completed"
})).
toBe
(
222
+
"/repo/out/later3.png"
,
223
+
);
224
+
});
Home
Search
Explore
Menu