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
{{ message }}
Repository navigation
List methods accept cursor: false and return the first page #751
The shared paginator checks the cursor only when it is truthy. A JSON false cursor therefore skips the check and returns the first page, while a number such as 1 gets Invalid Params (-32602). The cursor is a string in the schema. The same paginator serves tools/list, prompts/list, resources/list, resources/templates/list and the Skills extension's skills/list, with or without page_size; the script below shows the first four.
To Reproduce
Save as repro.rb in the repository root and run bundle exec ruby -Ilib repro.rb on main (2e07497):
Activity