@@ -143,9 +143,9 @@ export function parseToolCallDetails(
143143 const file = parsedContent . fileA ?? parsedContent . fileB ;
144144 const fileLabel = file && toFileLabel ( file ) ;
145145 return {
146- toolName : fileLabel === '' ? 'View repository' : 'View ' ,
147- invocationMessage : fileLabel ? `View [](${ fileLabel } )` : 'View repository' ,
148- pastTenseMessage : fileLabel ? `View [](${ fileLabel } )` : 'View repository' ,
146+ toolName : fileLabel === '' ? 'Read repository' : 'Read ' ,
147+ invocationMessage : fileLabel ? `Read [](${ fileLabel } )` : 'Read repository' ,
148+ pastTenseMessage : fileLabel ? `Read [](${ fileLabel } )` : 'Read repository' ,
149149 toolSpecificData : fileLabel ? {
150150 command : 'view' ,
151151 filePath : file ,
@@ -161,21 +161,21 @@ export function parseToolCallDetails(
161161 fileLabel = filePath ;
162162
163163 return {
164- toolName : fileLabel ? `View ${ fileLabel } ` : 'View repository' ,
165- invocationMessage : fileLabel ? `View ${ fileLabel } ` : 'View repository' ,
166- pastTenseMessage : fileLabel ? `View ${ fileLabel } ` : 'View repository' ,
164+ toolName : fileLabel ? `Read ${ fileLabel } ` : 'Read repository' ,
165+ invocationMessage : fileLabel ? `Read ${ fileLabel } ` : 'Read repository' ,
166+ pastTenseMessage : fileLabel ? `Read ${ fileLabel } ` : 'Read repository' ,
167167 } ;
168168 } else if ( fileLabel === '' ) {
169169 return {
170- toolName : 'View repository' ,
171- invocationMessage : 'View repository' ,
172- pastTenseMessage : 'View repository' ,
170+ toolName : 'Read repository' ,
171+ invocationMessage : 'Read repository' ,
172+ pastTenseMessage : 'Read repository' ,
173173 } ;
174174 } else {
175175 return {
176- toolName : `View ` ,
177- invocationMessage : `View ${ fileLabel } ` ,
178- pastTenseMessage : `View ${ fileLabel } ` ,
176+ toolName : `Read ` ,
177+ invocationMessage : `Read ${ fileLabel } ` ,
178+ pastTenseMessage : `Read ${ fileLabel } ` ,
179179 toolSpecificData : {
180180 command : 'view' ,
181181 filePath : filePath ,
@@ -206,7 +206,7 @@ export function parseToolCallDetails(
206206 } else if ( name === 'report_progress' ) {
207207 const details : ParsedToolCallDetails = {
208208 toolName : 'Progress Update' ,
209- invocationMessage : `\`\`\`\n ${ args . prDescription } \`\`\` ` || content
209+ invocationMessage : `${ args . prDescription } ` || content
210210 } ;
211211 if ( args . commitMessage ) {
212212 details . originMessage = `Commit: ${ args . commitMessage } ` ;
0 commit comments