@lobehub/market-sdk 0.31.7 → 0.31.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1966,6 +1966,114 @@ interface CodeInterpreterToolParams {
1966
1966
  searchLocalFiles: SearchLocalFilesParams;
1967
1967
  writeLocalFile: WriteLocalFileParams;
1968
1968
  }
1969
+ /**
1970
+ * Author information for a plugin comment
1971
+ */
1972
+ interface PluginCommentAuthor {
1973
+ avatar?: string;
1974
+ background?: string | null;
1975
+ displayName?: string | null;
1976
+ id?: number;
1977
+ identifier?: string;
1978
+ sourceType?: string | null;
1979
+ tags?: string[];
1980
+ type: 'agent' | 'user';
1981
+ }
1982
+ /**
1983
+ * A single plugin comment item
1984
+ */
1985
+ interface PluginCommentItem {
1986
+ author: PluginCommentAuthor | null;
1987
+ content: string;
1988
+ createdAt: string;
1989
+ downvotes: number;
1990
+ id: number;
1991
+ parentId: number | null;
1992
+ rating?: number;
1993
+ replyCount: number;
1994
+ updatedAt: string;
1995
+ upvotes: number;
1996
+ }
1997
+ /**
1998
+ * Created plugin comment entity
1999
+ */
2000
+ interface PluginCommentCreateItem {
2001
+ agentId: number | null;
2002
+ content: string;
2003
+ createdAt: string;
2004
+ downvotes: number;
2005
+ id: number;
2006
+ parentId: number | null;
2007
+ pluginId: number;
2008
+ updatedAt: string;
2009
+ upvotes: number;
2010
+ userId: number | null;
2011
+ }
2012
+ /**
2013
+ * Rating payload returned when creating a comment with a score
2014
+ */
2015
+ interface PluginCommentRating {
2016
+ score: number;
2017
+ }
2018
+ /**
2019
+ * Response returned by the create comment endpoint
2020
+ */
2021
+ interface PluginCommentCreateResponse extends PluginCommentCreateItem {
2022
+ rating?: PluginCommentRating;
2023
+ }
2024
+ /**
2025
+ * Latest comment for the authenticated user/agent on a plugin
2026
+ */
2027
+ interface PluginLatestOwnComment {
2028
+ createdAt: string;
2029
+ id: number;
2030
+ parentId: number | null;
2031
+ replyCount: number;
2032
+ }
2033
+ /**
2034
+ * Response returned by the delete comment endpoint
2035
+ */
2036
+ interface PluginCommentDeleteResponse {
2037
+ success: boolean;
2038
+ }
2039
+ /**
2040
+ * Query parameters for listing plugin comments
2041
+ */
2042
+ interface PluginCommentListQuery {
2043
+ order?: 'asc' | 'desc';
2044
+ page?: number;
2045
+ pageSize?: number;
2046
+ sort?: 'createdAt' | 'upvotes';
2047
+ }
2048
+ /**
2049
+ * Paginated response for plugin comments
2050
+ */
2051
+ interface PluginCommentListResponse {
2052
+ currentPage: number;
2053
+ items: PluginCommentItem[];
2054
+ pageSize: number;
2055
+ totalCount: number;
2056
+ totalPages: number;
2057
+ }
2058
+ /**
2059
+ * Rating distribution counts by score (1-5)
2060
+ */
2061
+ interface PluginRatingDistribution {
2062
+ 1: number;
2063
+ 2: number;
2064
+ 3: number;
2065
+ 4: number;
2066
+ 5: number;
2067
+ totalCount: number;
2068
+ }
2069
+ /**
2070
+ * Reaction response type
2071
+ */
2072
+ interface PluginCommentReactionResponse {
2073
+ commentId: number;
2074
+ id: number;
2075
+ type: string;
2076
+ }
1969
2077
 
1970
2078
  /**
1971
2079
  * Connect Types for LobeHub Market SDK
@@ -2495,6 +2603,14 @@ interface MarketSkillListQuery {
2495
2603
  * Filter by category
2496
2604
  */
2497
2605
  category?: string;
2606
+ /**
2607
+ * Filter by featured flag
2608
+ */
2609
+ isFeatured?: 'false' | 'true';
2610
+ /**
2611
+ * Filter by official flag
2612
+ */
2613
+ isOfficial?: 'false' | 'true';
2498
2614
  /**
2499
2615
  * Locale for localized content (e.g., 'en-US', 'zh-CN')
2500
2616
  */
@@ -2648,6 +2764,10 @@ interface MarketSkillListItem {
2648
2764
  * Whether the skill is featured
2649
2765
  */
2650
2766
  isFeatured: boolean;
2767
+ /**
2768
+ * Whether the skill is official
2769
+ */
2770
+ isOfficial: boolean;
2651
2771
  /**
2652
2772
  * Whether the skill is validated
2653
2773
  */
@@ -2871,6 +2991,10 @@ interface MarketSkillDetail {
2871
2991
  * Whether the skill is featured
2872
2992
  */
2873
2993
  isFeatured: boolean;
2994
+ /**
2995
+ * Whether the skill is official
2996
+ */
2997
+ isOfficial: boolean;
2874
2998
  /**
2875
2999
  * Whether the skill is validated
2876
3000
  */
@@ -3151,6 +3275,40 @@ interface SkillRatingDistribution {
3151
3275
  totalCount: number;
3152
3276
  }
3153
3277
 
3278
+ type MarketSkillCollectionItemSort = 'createdAt' | 'installCount' | 'name' | 'position' | 'ratingAverage' | 'updatedAt';
3279
+ type MarketSkillCollectionMatchType = 'manual' | 'repository';
3280
+ interface MarketSkillCollectionListQuery {
3281
+ locale?: string;
3282
+ }
3283
+ interface MarketSkillCollectionListItem {
3284
+ createdAt: string;
3285
+ description: string;
3286
+ icon: string;
3287
+ id: number;
3288
+ itemCount: number;
3289
+ matchType: MarketSkillCollectionMatchType;
3290
+ position: number;
3291
+ repository?: string;
3292
+ slug: string;
3293
+ title: string;
3294
+ updatedAt: string;
3295
+ }
3296
+ type MarketSkillCollectionListResponse = MarketSkillCollectionListItem[];
3297
+ interface MarketSkillCollectionDetailQuery {
3298
+ locale?: string;
3299
+ page?: number;
3300
+ pageSize?: number;
3301
+ q?: string;
3302
+ sort?: MarketSkillCollectionItemSort;
3303
+ }
3304
+ interface MarketSkillCollectionDetail extends MarketSkillCollectionListItem {
3305
+ currentPage: number;
3306
+ items: MarketSkillListItem[];
3307
+ pageSize: number;
3308
+ totalCount: number;
3309
+ totalPages: number;
3310
+ }
3311
+
3154
3312
  /**
3155
3313
  * User-related type definitions for LobeHub Market SDK
3156
3314
  *
@@ -5932,6 +6090,93 @@ declare class PluginsService extends BaseSDK {
5932
6090
  topicId: string;
5933
6091
  userId: string;
5934
6092
  }): Promise<RunBuildInToolsResponse>;
6093
+ /**
6094
+ * Submits or updates a rating for a plugin
6095
+ *
6096
+ * @param identifier - Unique plugin identifier
6097
+ * @param score - Rating score (1-5)
6098
+ * @param options - Optional request options
6099
+ * @returns Promise resolving to the submitted score
6100
+ */
6101
+ submitRating(identifier: string, score: number, options?: globalThis.RequestInit): Promise<{
6102
+ score: number;
6103
+ }>;
6104
+ /**
6105
+ * Deletes the current user/agent's rating for a plugin
6106
+ *
6107
+ * @param identifier - Unique plugin identifier
6108
+ * @param options - Optional request options
6109
+ * @returns Promise resolving to success status
6110
+ */
6111
+ deleteRating(identifier: string, options?: globalThis.RequestInit): Promise<{
6112
+ success: boolean;
6113
+ }>;
6114
+ /**
6115
+ * Gets the rating distribution for a plugin
6116
+ *
6117
+ * @param identifier - Unique plugin identifier
6118
+ * @param options - Optional request options
6119
+ * @returns Promise resolving to the rating distribution
6120
+ */
6121
+ getRatingDistribution(identifier: string, options?: globalThis.RequestInit): Promise<PluginRatingDistribution>;
6122
+ /**
6123
+ * Gets paginated comments for a plugin
6124
+ *
6125
+ * @param identifier - Unique plugin identifier
6126
+ * @param params - Query parameters for pagination and sorting
6127
+ * @param options - Optional request options
6128
+ * @returns Promise resolving to the paginated comment list
6129
+ */
6130
+ getComments(identifier: string, params?: PluginCommentListQuery, options?: globalThis.RequestInit): Promise<PluginCommentListResponse>;
6131
+ /**
6132
+ * Gets the latest comment for the authenticated user or agent on a plugin
6133
+ *
6134
+ * @param identifier - Unique plugin identifier
6135
+ * @param options - Optional request options
6136
+ * @returns Promise resolving to the latest own comment or null when none exists
6137
+ */
6138
+ getLatestOwnComment(identifier: string, options?: globalThis.RequestInit): Promise<PluginLatestOwnComment | null>;
6139
+ /**
6140
+ * Creates a comment on a plugin, optionally with a rating
6141
+ *
6142
+ * @param identifier - Unique plugin identifier
6143
+ * @param data - Comment data with content, optional score, and optional parentId
6144
+ * @param options - Optional request options
6145
+ * @returns Promise resolving to the created comment (with optional rating field)
6146
+ */
6147
+ createComment(identifier: string, data: {
6148
+ content: string;
6149
+ parentId?: number;
6150
+ score?: number;
6151
+ }, options?: globalThis.RequestInit): Promise<PluginCommentCreateResponse>;
6152
+ /**
6153
+ * Deletes a comment from a plugin
6154
+ *
6155
+ * @param identifier - Unique plugin identifier
6156
+ * @param commentId - Comment ID to delete
6157
+ * @param options - Optional request options
6158
+ * @returns Promise resolving to success status
6159
+ */
6160
+ deleteComment(identifier: string, commentId: number, options?: globalThis.RequestInit): Promise<PluginCommentDeleteResponse>;
6161
+ /**
6162
+ * Adds or updates a reaction on a comment
6163
+ *
6164
+ * @param commentId - Comment ID to react to
6165
+ * @param type - Reaction type ('upvote' or 'downvote')
6166
+ * @param options - Optional request options
6167
+ * @returns Promise resolving to the created reaction
6168
+ */
6169
+ addReaction(commentId: number, type: 'downvote' | 'upvote', options?: globalThis.RequestInit): Promise<PluginCommentReactionResponse>;
6170
+ /**
6171
+ * Removes a reaction from a comment
6172
+ *
6173
+ * @param commentId - Comment ID to remove reaction from
6174
+ * @param options - Optional request options
6175
+ * @returns Promise resolving to success status
6176
+ */
6177
+ removeReaction(commentId: number, options?: globalThis.RequestInit): Promise<{
6178
+ success: boolean;
6179
+ }>;
5935
6180
  }
5936
6181
 
5937
6182
  /**
@@ -6016,6 +6261,11 @@ declare class SkillService extends BaseSDK {
6016
6261
  callTool<T = unknown>(provider: string, params: SkillCallParams, options?: globalThis.RequestInit): Promise<CallSkillToolResponse<T>>;
6017
6262
  }
6018
6263
 
6264
+ declare class MarketSkillCollectionService extends BaseSDK {
6265
+ getSkillCollectionDetail(slug: string, params?: MarketSkillCollectionDetailQuery, options?: globalThis.RequestInit): Promise<MarketSkillCollectionDetail>;
6266
+ getSkillCollections(params?: MarketSkillCollectionListQuery, options?: globalThis.RequestInit): Promise<MarketSkillCollectionListResponse>;
6267
+ }
6268
+
6019
6269
  /**
6020
6270
  * Market Skill Service
6021
6271
  *
@@ -6737,6 +6987,11 @@ declare class MarketSDK extends BaseSDK {
6737
6987
  * Provides methods to list providers, list tools, and call tools on connected OAuth providers
6738
6988
  */
6739
6989
  readonly skills: SkillService;
6990
+ /**
6991
+ * Market Skill Collection service for curated marketplace skill collections
6992
+ * Provides methods to list and retrieve manually curated skill collections
6993
+ */
6994
+ readonly skillCollections: MarketSkillCollectionService;
6740
6995
  /**
6741
6996
  * Market Skill service for marketplace skill resources
6742
6997
  * Provides methods to list, search, retrieve details, and download skills from the marketplace
@@ -6884,4 +7139,4 @@ declare function buildTrustedClientPayload(params: {
6884
7139
  userId: string;
6885
7140
  }): TrustedClientPayload;
6886
7141
 
6887
- export { type AccountMeta, type AdminListQueryParams, type AdminListResponse, type AdminPluginParams, type AgentCreateRequest, type AgentCreateResponse, type AgentDetailQuery, type AgentExtension, type AgentForkItem, type AgentForkRequest, type AgentForkResponse, type AgentForkSourceResponse, type AgentForksResponse, type AgentGroupCreateRequest, type AgentGroupCreateResponse, type AgentGroupDetail, type AgentGroupDetailQuery, type AgentGroupForkItem, type AgentGroupForkRequest, type AgentGroupForkResponse, type AgentGroupForkSourceResponse, type AgentGroupForksResponse, type AgentGroupItem, type AgentGroupListQuery, type AgentGroupListResponse, type AgentGroupModifyRequest, type AgentGroupModifyResponse, type AgentGroupStatus, type AgentGroupStatusChangeResponse, type AgentGroupVersionCreateRequest, type AgentGroupVersionCreateResponse, type AgentInstallCountRequest, type AgentInstallCountResponse, type AgentInterface, type AgentItemDetail, type AgentListQuery, type AgentListResponse, type AgentModifyRequest, type AgentModifyResponse, type AgentProfileEntity, type AgentProfileResponse, type AgentSecurityRequirement, type AgentSecurityScheme, type AgentSkill, type AgentStatus, type AgentStatusChangeResponse, type AgentUploadRequest, type AgentUploadResponse, type AgentUploadVersion, type AgentVersionCreateRequest, type AgentVersionCreateResponse, type AgentVersionLocalization, type AgentVersionModifyRequest, type AgentVersionModifyResponse, type AuthorizationCodeTokenRequest, type AuthorizeParams, type AuthorizeResponse, type CallSkillToolResponse, type CheckFavoriteQuery, type CheckFavoriteResponse, type CheckFollowQuery, type CheckFollowResponse, type CheckLikeQuery, type CheckLikeResponse, type ClientRegistrationError, type ClientRegistrationRequest, type ClientRegistrationResponse, type CodeInterpreterToolName, type CodeInterpreterToolParams, type ConnectProvider, type ConnectProviderDetail, type ConnectProviderScopes, type ConnectionHealth, type ConnectionStats, type CreateMemberAgent, type DiscoveryDocument, type EditLocalFileParams, type ExecuteCodeParams, type ExportFileParams, type FavoriteListResponse, type FavoriteQuery, type FavoriteRequest, type FeedbackClientInfo, type FollowListItem, type FollowListResponse, type FollowRequest, type GetAllConnectionsHealthResponse, type GetAuthorizeUrlParams, type GetCommandOutputParams, type GetConnectProviderResponse, type GetConnectionHealthResponse, type GetConnectionStatsResponse, type GetConnectionStatusResponse, type GetSkillStatusResponse, type GetSkillToolResponse, type GlobLocalFilesParams, type GrepContentParams, type InteractionTargetType, type KillCommandParams, type LikeListResponse, type LikeQuery, type LikeRequest, type ListConnectProvidersResponse, type ListConnectionsResponse, type ListLocalFilesParams, type ListSkillProvidersResponse, type ListSkillToolsResponse, MarketAPIError, MarketAdmin, type MarketReportGitHubSkillParams, type MarketReportGitHubSkillResponse, type MarketReportSkillInstallParams, type MarketReportSkillInstallResponse, MarketSDK, type MarketSDKOptions, type MarketSkillAuthor, type MarketSkillCategory, type MarketSkillCategoryQuery, type MarketSkillDetail, type MarketSkillDetailQuery, type MarketSkillGitHubMeta, type MarketSkillListItem, type MarketSkillListQuery, type MarketSkillListResponse, type MarketSkillManifest, type MarketSkillResource, type MarketSkillVersionSummary, type MarketSkillVersionsResponse, type MemberAgent, type MoveLocalFilesParams, type MoveOperation, type OAuthConnection, type OAuthTokenResponse, type OwnAgentGroupListQuery, type OwnAgentListQuery, type PaginationQuery, type PluginI18nImportParams, type PluginI18nImportResponse, type PluginItem, type PluginListResponse, type PluginLocalization, type PluginQueryParams, type PluginUpdateParams, type PluginVersionCreateParams, type PluginVersionUpdateParams, type ProgrammingLanguage, type ReadLocalFileParams, type RefreshConnectionResponse, type RefreshTokenRequest, type RegisterUserRequest, type RegisterUserResponse, type RegisteredUserProfile, type RenameLocalFileParams, type ReviewStatus, ReviewStatusEnumSchema, type RevokeConnectionResponse, type RunBuildInToolsError, type RunBuildInToolsRequest, type RunBuildInToolsResponse, type RunBuildInToolsSuccessData, type RunCommandParams, SDK_USER_AGENT, SDK_VERSION, type SearchLocalFilesParams, type SharedTokenState, type SkillCallParams, type SkillCommentAuthor, type SkillCommentCreateItem, type SkillCommentCreateResponse, type SkillCommentDeleteResponse, type SkillCommentItem, type SkillCommentListItem, type SkillCommentListQuery, type SkillCommentListResponse, type SkillCommentRating, type SkillErrorResponse, type SkillLatestOwnComment, type SkillProviderInfo, type SkillProviderStatus, type SkillRatingDistribution, type SkillTool, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SuccessResponse, type ToggleLikeResponse, type TrustedClientPayload, type UnclaimedPluginItem, type UpdateAgentProfileRequest, type UpdateAgentProfileResponse, type UpdateMemberAgent, type UpdateUserInfoRequest, type UpdateUserInfoResponse, type UserAgentGroupItem, type UserAgentItem, type UserInfoQuery, type UserInfoResponse, type UserProfile, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };
7142
+ export { type AccountMeta, type AdminListQueryParams, type AdminListResponse, type AdminPluginParams, type AgentCreateRequest, type AgentCreateResponse, type AgentDetailQuery, type AgentExtension, type AgentForkItem, type AgentForkRequest, type AgentForkResponse, type AgentForkSourceResponse, type AgentForksResponse, type AgentGroupCreateRequest, type AgentGroupCreateResponse, type AgentGroupDetail, type AgentGroupDetailQuery, type AgentGroupForkItem, type AgentGroupForkRequest, type AgentGroupForkResponse, type AgentGroupForkSourceResponse, type AgentGroupForksResponse, type AgentGroupItem, type AgentGroupListQuery, type AgentGroupListResponse, type AgentGroupModifyRequest, type AgentGroupModifyResponse, type AgentGroupStatus, type AgentGroupStatusChangeResponse, type AgentGroupVersionCreateRequest, type AgentGroupVersionCreateResponse, type AgentInstallCountRequest, type AgentInstallCountResponse, type AgentInterface, type AgentItemDetail, type AgentListQuery, type AgentListResponse, type AgentModifyRequest, type AgentModifyResponse, type AgentProfileEntity, type AgentProfileResponse, type AgentSecurityRequirement, type AgentSecurityScheme, type AgentSkill, type AgentStatus, type AgentStatusChangeResponse, type AgentUploadRequest, type AgentUploadResponse, type AgentUploadVersion, type AgentVersionCreateRequest, type AgentVersionCreateResponse, type AgentVersionLocalization, type AgentVersionModifyRequest, type AgentVersionModifyResponse, type AuthorizationCodeTokenRequest, type AuthorizeParams, type AuthorizeResponse, type CallSkillToolResponse, type CheckFavoriteQuery, type CheckFavoriteResponse, type CheckFollowQuery, type CheckFollowResponse, type CheckLikeQuery, type CheckLikeResponse, type ClientRegistrationError, type ClientRegistrationRequest, type ClientRegistrationResponse, type CodeInterpreterToolName, type CodeInterpreterToolParams, type ConnectProvider, type ConnectProviderDetail, type ConnectProviderScopes, type ConnectionHealth, type ConnectionStats, type CreateMemberAgent, type DiscoveryDocument, type EditLocalFileParams, type ExecuteCodeParams, type ExportFileParams, type FavoriteListResponse, type FavoriteQuery, type FavoriteRequest, type FeedbackClientInfo, type FollowListItem, type FollowListResponse, type FollowRequest, type GetAllConnectionsHealthResponse, type GetAuthorizeUrlParams, type GetCommandOutputParams, type GetConnectProviderResponse, type GetConnectionHealthResponse, type GetConnectionStatsResponse, type GetConnectionStatusResponse, type GetSkillStatusResponse, type GetSkillToolResponse, type GlobLocalFilesParams, type GrepContentParams, type InteractionTargetType, type KillCommandParams, type LikeListResponse, type LikeQuery, type LikeRequest, type ListConnectProvidersResponse, type ListConnectionsResponse, type ListLocalFilesParams, type ListSkillProvidersResponse, type ListSkillToolsResponse, MarketAPIError, MarketAdmin, type MarketReportGitHubSkillParams, type MarketReportGitHubSkillResponse, type MarketReportSkillInstallParams, type MarketReportSkillInstallResponse, MarketSDK, type MarketSDKOptions, type MarketSkillAuthor, type MarketSkillCategory, type MarketSkillCategoryQuery, type MarketSkillCollectionDetail, type MarketSkillCollectionDetailQuery, type MarketSkillCollectionItemSort, type MarketSkillCollectionListItem, type MarketSkillCollectionListQuery, type MarketSkillCollectionListResponse, type MarketSkillCollectionMatchType, type MarketSkillDetail, type MarketSkillDetailQuery, type MarketSkillGitHubMeta, type MarketSkillListItem, type MarketSkillListQuery, type MarketSkillListResponse, type MarketSkillManifest, type MarketSkillResource, type MarketSkillVersionSummary, type MarketSkillVersionsResponse, type MemberAgent, type MoveLocalFilesParams, type MoveOperation, type OAuthConnection, type OAuthTokenResponse, type OwnAgentGroupListQuery, type OwnAgentListQuery, type PaginationQuery, type PluginCommentAuthor, type PluginCommentCreateItem, type PluginCommentCreateResponse, type PluginCommentDeleteResponse, type PluginCommentItem, type PluginCommentListQuery, type PluginCommentListResponse, type PluginCommentRating, type PluginCommentReactionResponse, type PluginI18nImportParams, type PluginI18nImportResponse, type PluginItem, type PluginLatestOwnComment, type PluginListResponse, type PluginLocalization, type PluginQueryParams, type PluginRatingDistribution, type PluginUpdateParams, type PluginVersionCreateParams, type PluginVersionUpdateParams, type ProgrammingLanguage, type ReadLocalFileParams, type RefreshConnectionResponse, type RefreshTokenRequest, type RegisterUserRequest, type RegisterUserResponse, type RegisteredUserProfile, type RenameLocalFileParams, type ReviewStatus, ReviewStatusEnumSchema, type RevokeConnectionResponse, type RunBuildInToolsError, type RunBuildInToolsRequest, type RunBuildInToolsResponse, type RunBuildInToolsSuccessData, type RunCommandParams, SDK_USER_AGENT, SDK_VERSION, type SearchLocalFilesParams, type SharedTokenState, type SkillCallParams, type SkillCommentAuthor, type SkillCommentCreateItem, type SkillCommentCreateResponse, type SkillCommentDeleteResponse, type SkillCommentItem, type SkillCommentListItem, type SkillCommentListQuery, type SkillCommentListResponse, type SkillCommentRating, type SkillErrorResponse, type SkillLatestOwnComment, type SkillProviderInfo, type SkillProviderStatus, type SkillRatingDistribution, type SkillTool, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SuccessResponse, type ToggleLikeResponse, type TrustedClientPayload, type UnclaimedPluginItem, type UpdateAgentProfileRequest, type UpdateAgentProfileResponse, type UpdateMemberAgent, type UpdateUserInfoRequest, type UpdateUserInfoResponse, type UserAgentGroupItem, type UserAgentItem, type UserInfoQuery, type UserInfoResponse, type UserProfile, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };