@@ -805,7 +805,7 @@ function listItemFromShell(
805805 threadId : shell . id ,
806806 projectId : shell . projectId ,
807807 title : shell . title ,
808- link : threadLinkFor ( scope , shell . id ) ,
808+ link : threadLinkFor ( scope , shell . id , shell . title ) ,
809809 createdBy : shell . createdBy ,
810810 creationSource : shell . creationSource ,
811811 status : shell . activityRunStatus ?? shell . status ,
@@ -839,7 +839,7 @@ function threadDetail(
839839 threadId : projection . thread . id ,
840840 projectId : projection . thread . projectId ,
841841 title : projection . thread . title ,
842- link : threadLinkFor ( scope , projection . thread . id ) ,
842+ link : threadLinkFor ( scope , projection . thread . id , projection . thread . title ) ,
843843 createdBy : projection . thread . createdBy ,
844844 creationSource : projection . thread . creationSource ,
845845 status : active ?. status ?? latest ?. status ?? "idle" ,
@@ -1630,10 +1630,10 @@ const make = Effect.gen(function* () {
16301630 const result = {
16311631 taskId : task . id ,
16321632 childThreadId : task . childThreadId ,
1633- link : formatThreadLink ( {
1634- environmentId : scope . environmentId ,
1635- threadId : task . childThreadId ,
1636- } ) ,
1633+ link : formatThreadLink (
1634+ { environmentId : scope . environmentId , threadId : task . childThreadId } ,
1635+ childControls . thread . title ,
1636+ ) ,
16371637 childRunId : childRun ?. id ?? null ,
16381638 childNodeId : task . id ,
16391639 status,
@@ -1804,7 +1804,10 @@ const make = Effect.gen(function* () {
18041804 childThreadId : null ,
18051805 ...( task . remoteChild === undefined
18061806 ? { }
1807- : { remoteChild : task . remoteChild , link : formatThreadLink ( task . remoteChild ) } ) ,
1807+ : {
1808+ remoteChild : task . remoteChild ,
1809+ link : formatThreadLink ( task . remoteChild , task . remoteChild . title ) ,
1810+ } ) ,
18081811 childRunId : null ,
18091812 childNodeId : task . id ,
18101813 status,
@@ -2992,7 +2995,10 @@ const make = Effect.gen(function* () {
29922995 ) ;
29932996 return {
29942997 threadId,
2995- link : formatThreadLink ( { environmentId : scope . environmentId , threadId } ) ,
2998+ link : formatThreadLink (
2999+ { environmentId : scope . environmentId , threadId } ,
3000+ projection . thread . title ,
3001+ ) ,
29963002 runId : run ?. id ?? null ,
29973003 status : run ?. status ?? "idle" ,
29983004 title : projection . thread . title ,
@@ -3209,7 +3215,7 @@ const make = Effect.gen(function* () {
32093215 ) ;
32103216 return {
32113217 threadId : input . threadId ,
3212- link : threadLinkFor ( scope , input . threadId ) ,
3218+ link : threadLinkFor ( scope , input . threadId , target . thread . title ) ,
32133219 messageId,
32143220 runId : result . run . id ,
32153221 ...( result . run . delegatedTaskId === undefined ? { } : { taskId : result . run . delegatedTaskId } ) ,
0 commit comments