You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'🚨 Advanced tools like create_wrapped_video should be enabled after creating entries/tags. The server must dynamically enable/disable tools based on content.',
726
-
).toContain('create_wrapped_video')
725
+
'🚨 Tools requiring entries like get_entry should be enabled after creating entries/tags. The server must dynamically enable/disable tools based on content.',
726
+
).toContain('get_entry')
727
727
728
728
// Verify that tools are properly enabled with correct count
'🚨 Did not receive resources/listChanged notification when expected. Make sure your server calls sendResourceListChanged when resources change.',
636
+
'🚨 Did not receive resources/listChanged notification when expected. Make sure your server calls sendResourceListChanged when resources are enabled/disabled.',
629
637
)
630
638
}
631
639
expect(
632
640
resourceNotif,
633
-
'🚨 Did not receive resources/listChanged notification when expected. Make sure your server calls sendResourceListChanged when resources change.',
641
+
'🚨 Did not receive resources/listChanged notification when expected. Make sure your server calls sendResourceListChanged when resources are enabled/disabled.',
634
642
).toBeDefined()
643
+
644
+
// After notification, resources should now be available
645
+
constenabledResources=awaitclient.listResources()
646
+
expect(
647
+
enabledResources.resources.length,
648
+
'🚨 Resources should be enabled after creating entries/tags. The server must dynamically enable/disable resources based on content.',
'🚨 Tools requiring entries like get_entry should be enabled after creating entries/tags. The server must dynamically enable/disable tools based on content.',
726
+
).toContain('get_entry')
727
+
728
+
// Verify that tools are properly enabled with correct count
729
+
expect(
730
+
enabledTools.tools.length,
731
+
'🚨 Should have more tools available after creating content',
0 commit comments