File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export class Server {
190190
191191 if ( command === "start" ) {
192192 event . properties . startup_time_ms = commandDuration ;
193- event . properties . read_only_mode = this . userConfig . readOnly || false ;
193+ event . properties . read_only_mode = this . userConfig . readOnly ? "true" : " false" ;
194194 event . properties . disabled_tools = this . userConfig . disabledTools || [ ] ;
195195 event . properties . confirmation_required_tools = this . userConfig . confirmationRequiredTools || [ ] ;
196196 }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export type ServerEventProperties = {
4343 reason ?: string ;
4444 startup_time_ms ?: number ;
4545 runtime_duration_ms ?: number ;
46- read_only_mode ?: boolean ;
46+ read_only_mode ?: TelemetryBoolSet ;
4747 disabled_tools ?: string [ ] ;
4848 confirmation_required_tools ?: string [ ] ;
4949} ;
You can’t perform that action at this time.
0 commit comments