Class McpSkillListContext
java.lang.Object
com.soklet.McpSkillListContext
Immutable, framework-supplied Skills pagination input.
The initial-selection optional is the authoritative phase marker: present, even for an empty list, means first-page selection was performed; absent means the application must restore a continuation snapshot. A present cursor, including an empty string, always identifies continuation. Soklet preserves opaque cursor text without authenticating or retaining application snapshots.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns exact opaque client cursor text, including present-empty values.Returns the first-page access/discovery-filtered and variant-selected registrations in canonical endpoint order.toString()
-
Method Details
-
getCursor
Returns exact opaque client cursor text, including present-empty values. The application owns integrity, authorization and content binding, expiry, retained snapshot availability, and cross-node portability.- Returns:
- client cursor, or empty when omitted on the first page
-
getInitialSkillRegistrations
public @NonNull Optional<@NonNull List<@NonNull McpSkillRegistration>> getInitialSkillRegistrations()Returns the first-page access/discovery-filtered and variant-selected registrations in canonical endpoint order. The first page must be an ordered subsequence of these exact instances. Present-empty still denotes the first page; absent requires restoration of an application-owned continuation.- Returns:
- immutable initial selection, or empty for a continuation
-
toString
-