File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ export async function buildSystemMessage(
9595 let modeContent : string | null = null ;
9696 if ( mode ) {
9797 modeContent =
98- ( contextInstructions && extractModeSection ( contextInstructions , mode ) ) ||
99- ( globalInstructions && extractModeSection ( globalInstructions , mode ) ) ||
98+ ( contextInstructions && extractModeSection ( contextInstructions , mode ) ) ??
99+ ( globalInstructions && extractModeSection ( globalInstructions , mode ) ) ??
100100 null ;
101101 }
102102
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ export const LOCAL_INSTRUCTION_FILENAME = "AGENTS.local.md";
2121/**
2222 * File reader abstraction for reading files from either local fs or Runtime.
2323 */
24- type FileReader = {
24+ interface FileReader {
2525 readFile ( filePath : string ) : Promise < string > ;
26- } ;
26+ }
2727
2828/**
2929 * Create a FileReader for local filesystem access.
You can’t perform that action at this time.
0 commit comments