File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717
1818## M3: Verification & Integration
1919### T3.1: Testing & Quality Gates | agent: Reviewer | depends: M2
20- - [ ] S3.1.1: Run unit tests and e2e tests for notifications | size: M
21- - [ ] S3.1.2: Run lint and typecheck | size: S
22- - [ ] S3.1.3: Wait for CI and create PR | size: S
20+ - [x ] S3.1.1: Run unit tests and e2e tests for notifications | size: M
21+ - [x ] S3.1.2: Run lint and typecheck | size: S
22+ - [x ] S3.1.3: Wait for CI and create PR | size: S
Original file line number Diff line number Diff line change @@ -948,7 +948,7 @@ async function loadNotificationSnapshots(
948948) : Promise < NotificationSnapshot [ ] > {
949949 const isMatch = ( n : NotificationSnapshot ) => {
950950 if ( ! types || types . length === 0 ) return true ;
951- return types . includes ( n . type ) || ( n . extracted_data && types . includes ( n . extracted_data . notification_category ) ) ;
951+ return types . includes ( n . type ) || ( n . extracted_data && types . includes ( n . extracted_data . notification_category as string ) ) ;
952952 } ;
953953
954954 const maxScrolls = 20 ;
@@ -1755,7 +1755,7 @@ export class LinkedInNotificationsService {
17551755 if ( notification . extracted_data ) {
17561756 mapped . extracted_data = notification . extracted_data ;
17571757 }
1758- return mapped as LinkedInNotification ;
1758+ return mapped as unknown as LinkedInNotification ;
17591759 } ) ;
17601760 } ,
17611761 ) ;
Original file line number Diff line number Diff line change @@ -1776,7 +1776,7 @@ async function handleNotificationsList(args: ToolArgs): Promise<ToolResult> {
17761776 const notifications = await runtime . notifications . listNotifications ( {
17771777 profileName,
17781778 limit,
1779- types,
1779+ ... ( types && types . length > 0 ? { types } : { } ) ,
17801780 } ) ;
17811781
17821782 runtime . logger . log ( "info" , "mcp.notifications.list.done" , {
You can’t perform that action at this time.
0 commit comments