@@ -143,9 +143,9 @@ export function parseToolCallDetails(
143
143
const file = parsedContent . fileA ?? parsedContent . fileB ;
144
144
const fileLabel = file && toFileLabel ( file ) ;
145
145
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' ,
149
149
toolSpecificData : fileLabel ? {
150
150
command : 'view' ,
151
151
filePath : file ,
@@ -161,21 +161,21 @@ export function parseToolCallDetails(
161
161
fileLabel = filePath ;
162
162
163
163
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' ,
167
167
} ;
168
168
} else if ( fileLabel === '' ) {
169
169
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' ,
173
173
} ;
174
174
} else {
175
175
return {
176
- toolName : `View ` ,
177
- invocationMessage : `View ${ fileLabel } ` ,
178
- pastTenseMessage : `View ${ fileLabel } ` ,
176
+ toolName : `Read ` ,
177
+ invocationMessage : `Read ${ fileLabel } ` ,
178
+ pastTenseMessage : `Read ${ fileLabel } ` ,
179
179
toolSpecificData : {
180
180
command : 'view' ,
181
181
filePath : filePath ,
@@ -206,7 +206,7 @@ export function parseToolCallDetails(
206
206
} else if ( name === 'report_progress' ) {
207
207
const details : ParsedToolCallDetails = {
208
208
toolName : 'Progress Update' ,
209
- invocationMessage : `\`\`\`\n ${ args . prDescription } \`\`\` ` || content
209
+ invocationMessage : `${ args . prDescription } ` || content
210
210
} ;
211
211
if ( args . commitMessage ) {
212
212
details . originMessage = `Commit: ${ args . commitMessage } ` ;
0 commit comments