File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type ChatPaneLayoutRenderParams = {
3838 sessionWorkspace : SessionWorkspaceProps ;
3939 backgroundTasks : BackgroundTasksProps ;
4040 chatProps : ChatProps ;
41- fullMessageLoader : SidebarFullMessageLoader ;
41+ fullMessageLoader : SidebarFullMessageLoader | null ;
4242 observerDigest : SessionObserverDigest | null ;
4343 observerRunId : string | null ;
4444 catalog : boolean ;
Original file line number Diff line number Diff line change @@ -47,9 +47,10 @@ export abstract class ChatPaneTaskSuggestions extends ChatPaneSharing {
4747 return ;
4848 }
4949 const offset = direction === "next" ? 1 : - 1 ;
50- const next = this . taskSuggestions [
51- ( current + offset + this . taskSuggestions . length ) % this . taskSuggestions . length
52- ] ;
50+ const next =
51+ this . taskSuggestions [
52+ ( current + offset + this . taskSuggestions . length ) % this . taskSuggestions . length
53+ ] ;
5354 if ( ! next ) {
5455 return ;
5556 }
Original file line number Diff line number Diff line change @@ -94,10 +94,7 @@ function renderChatTaskSuggestions(props: {
9494 ? props . activeId
9595 : props . suggestions [ 0 ] ?. id ;
9696 return html `
97- < div
98- class ="task-suggestions ${ multiple ? "task-suggestions--stack" : "" } "
99- aria-live ="polite "
100- >
97+ < div class ="task-suggestions ${ multiple ? "task-suggestions--stack" : "" } " aria-live ="polite ">
10198 ${ props . suggestions . map ( ( suggestion , index ) => {
10299 const busy = props . busyIds . has ( suggestion . id ) ;
103100 const title = sanitizeTaskSuggestionText ( suggestion . title ) ;
@@ -191,7 +188,8 @@ function renderChatTaskSuggestions(props: {
191188 requestAnimationFrame ( ( ) => updateTaskSuggestionPathFade ( element ) ) ;
192189 }
193190 } ) }
194- @scroll =${ ( event : Event ) => updateTaskSuggestionPathFade ( event . currentTarget as Element ) }
191+ @scroll =${ ( event : Event ) =>
192+ updateTaskSuggestionPathFade ( event . currentTarget as Element ) }
195193 > ${ cwd } </ code
196194 >
197195 < pre > ${ prompt } </ pre >
You can’t perform that action at this time.
0 commit comments