Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): render persisted bash tool output in expanded turns #7184

Closedmaslinedwin(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/7184/headopened View on GitHub

Showing 11 changed files with 151 additions and 0 deletions (loading 10).

x
0 of 11 viewed, 11 left
151 additions and 0 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -324,6 +324,157 @@
expect(group.activities[0]?.getFullDetail()).toContain("repository.search");
});
​
+ it("includes persisted Claude Bash result content in the expanded work row", () => {
+ const turnId = TurnId.make("turn-bash");
+ const output = "hello from bash\nsecond line";
+ const thread = makeThread({
+ id: ThreadId.make("thread-bash"),
+ projectId: ProjectId.make("project-1"),
+ title: "Bash output",
+ latestTurn: {
+ turnId,
+ state: "completed",
+ requestedAt: "2026-04-01T00:00:00.000Z",
+ startedAt: "2026-04-01T00:00:01.000Z",
+ completedAt: "2026-04-01T00:00:03.000Z",
+ assistantMessageId: null,
+ },
+ activities: [
+ makeActivity({
+ id: EventId.make("bash-completed"),
+ kind: "tool.completed",
+ tone: "tool",
+ summary: "Command run",
+ createdAt: "2026-04-01T00:00:02.000Z",
+ turnId,
+ payload: {
+ title: "Command run",
+ itemType: "command_execution",