@lobehub/market-sdk 0.31.10 → 0.31.11-beta.1

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
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { AgentItem, MarketItemBase, PluginConnectionType, InstallFailureAnalysisQuery, InstallFailureAnalysis, RangeQuery, RangeStats, TopPluginsQuery, TopPlugin, PluginManifest, AdminPluginItem, AdminPluginItemDetail, PluginVersion, PluginVersionLocalization, AdminDeploymentOption, InstallationDetails, SystemDependency, IncompleteI18nPlugin, BatchUpsertSkillCollectionLocalizationsRequest, SkillCollectionLocalizationBatchResponse, SkillCollectionLocalization, UpsertSkillCollectionLocalizationRequest, AgentEventRequest, CategoryListQuery, CategoryItem, PluginItemDetail, InstallReportRequest, InstallReportResponse, CallReportRequest, CallReportResponse, PluginEventRequest, CloudGatewayRequest, CloudGatewayResponse } from '@lobehub/market-types';
2
+ import { AgentItem, UserCredSummary, MarketItemBase, PluginConnectionType, InstallFailureAnalysisQuery, InstallFailureAnalysis, RangeQuery, RangeStats, TopPluginsQuery, TopPlugin, PluginManifest, AdminPluginItem, AdminPluginItemDetail, PluginVersion, PluginVersionLocalization, AdminDeploymentOption, InstallationDetails, SystemDependency, IncompleteI18nPlugin, BatchUpsertSkillCollectionLocalizationsRequest, SkillCollectionLocalizationBatchResponse, SkillCollectionLocalization, UpsertSkillCollectionLocalizationRequest, AgentEventRequest, SkillCredStatus, InjectCredsRequest, InjectCredsResponse, CategoryListQuery, CategoryItem, PluginItemDetail, InstallReportRequest, InstallReportResponse, CallReportRequest, CallReportResponse, PluginEventRequest, CloudGatewayRequest, CloudGatewayResponse } from '@lobehub/market-types';
3
3
  export * from '@lobehub/market-types';
4
- export { CategoryItem, CategoryListQuery, CategoryListResponse } from '@lobehub/market-types';
4
+ export { CategoryItem, CategoryListQuery, CategoryListResponse, CredType, InjectCredsRequest, InjectCredsResponse, SkillCredStatus, UserCredSummary } from '@lobehub/market-types';
5
5
  import { JSONSchema7 } from 'json-schema';
6
6
 
7
7
  /**
@@ -1602,6 +1602,93 @@ interface SharedTokenState {
1602
1602
  tokenPromise?: Promise<string>;
1603
1603
  }
1604
1604
 
1605
+ /**
1606
+ * Creds SDK Types
1607
+ *
1608
+ * Type definitions for user credential management operations.
1609
+ */
1610
+
1611
+ /**
1612
+ * Request for creating a KV credential (kv-env or kv-header)
1613
+ */
1614
+ interface CreateKVCredRequest {
1615
+ /** Optional description of the credential */
1616
+ description?: string;
1617
+ /** Unique key identifying this credential */
1618
+ key: string;
1619
+ /** Display name for the credential */
1620
+ name: string;
1621
+ /** Credential type: 'kv-env' or 'kv-header' */
1622
+ type: 'kv-env' | 'kv-header';
1623
+ /** Key-value pairs to store */
1624
+ values: Record<string, string>;
1625
+ }
1626
+ /**
1627
+ * Request for creating an OAuth credential
1628
+ */
1629
+ interface CreateOAuthCredRequest {
1630
+ /** Optional description of the credential */
1631
+ description?: string;
1632
+ /** Unique key identifying this credential */
1633
+ key: string;
1634
+ /** Display name for the credential */
1635
+ name: string;
1636
+ /** ID of the existing OAuth connection to link */
1637
+ oauthConnectionId: number;
1638
+ }
1639
+ /**
1640
+ * Request for creating a file credential
1641
+ */
1642
+ interface CreateFileCredRequest {
1643
+ /** Optional description of the credential */
1644
+ description?: string;
1645
+ /** Hash ID of the uploaded file */
1646
+ fileHashId: string;
1647
+ /** Original file name */
1648
+ fileName: string;
1649
+ /** Unique key identifying this credential */
1650
+ key: string;
1651
+ /** Display name for the credential */
1652
+ name: string;
1653
+ }
1654
+ /**
1655
+ * Request for updating a credential
1656
+ */
1657
+ interface UpdateCredRequest {
1658
+ /** Updated description */
1659
+ description?: string;
1660
+ /** Updated display name */
1661
+ name?: string;
1662
+ /** Updated key-value pairs (KV types only) */
1663
+ values?: Record<string, string>;
1664
+ }
1665
+ /**
1666
+ * Options for getting a credential
1667
+ */
1668
+ interface GetCredOptions {
1669
+ /** Set to true to include decrypted plaintext values (KV types only) */
1670
+ decrypt?: boolean;
1671
+ }
1672
+ /**
1673
+ * Response containing a list of credentials
1674
+ */
1675
+ interface ListCredsResponse {
1676
+ data: UserCredSummary[];
1677
+ }
1678
+ /**
1679
+ * Response for successful deletion
1680
+ */
1681
+ interface DeleteCredResponse {
1682
+ success: boolean;
1683
+ }
1684
+ /**
1685
+ * Extended credential summary with optional plaintext values
1686
+ */
1687
+ interface CredWithPlaintext extends UserCredSummary {
1688
+ /** Decrypted plaintext values (KV types only, when decrypt=true) */
1689
+ plaintext?: Record<string, string>;
1690
+ }
1691
+
1605
1692
  interface ClientRegistrationRequest {
1606
1693
  /** Client name (required) */
1607
1694
  clientName: string;
@@ -5791,6 +5878,182 @@ declare class ConnectService extends BaseSDK {
5791
5878
  revoke(provider: string, options?: globalThis.RequestInit): Promise<RevokeConnectionResponse>;
5792
5879
  }
5793
5880
 
5881
+ /**
5882
+ * Cred Service
5883
+ *
5884
+ * Provides user credential management functionality.
5885
+ * This service allows:
5886
+ * - Creating KV, OAuth, and file credentials
5887
+ * - Listing and retrieving credentials
5888
+ * - Updating and deleting credentials
5889
+ * - Checking credential status for skills
5890
+ * - Injecting credentials into sandbox environments
5891
+ *
5892
+ * @example
5893
+ * ```typescript
5894
+ * const sdk = new MarketSDK({ accessToken: 'user-token' });
5895
+ *
5896
+ * // Create a KV credential
5897
+ * const cred = await sdk.creds.createKV({
5898
+ * key: 'openai',
5899
+ * name: 'OpenAI API Key',
5900
+ * type: 'kv-env',
5901
+ * values: { OPENAI_API_KEY: 'sk-xxx' }
5902
+ * });
5903
+ *
5904
+ * // List all credentials
5905
+ * const { data } = await sdk.creds.list();
5906
+ *
5907
+ * // Inject credentials for a skill
5908
+ * const result = await sdk.creds.inject({
5909
+ * skillIdentifier: 'my-skill',
5910
+ * sandbox: true
5911
+ * });
5912
+ * ```
5913
+ */
5914
+ declare class CredService extends BaseSDK {
5915
+ /**
5916
+ * Lists all credentials for the authenticated user
5917
+ *
5918
+ * Returns credential summaries with masked values.
5919
+ * Requires authentication.
5920
+ *
5921
+ * @param options - Optional request options
5922
+ * @returns Promise resolving to the list of credentials
5923
+ */
5924
+ list(options?: globalThis.RequestInit): Promise<ListCredsResponse>;
5925
+ /**
5926
+ * Gets a specific credential by ID
5927
+ *
5928
+ * Optionally returns decrypted plaintext values for KV types.
5929
+ * Requires authentication.
5930
+ *
5931
+ * @param id - The credential ID
5932
+ * @param getOptions - Options for getting the credential
5933
+ * @param options - Optional request options
5934
+ * @returns Promise resolving to the credential details
5935
+ */
5936
+ get(id: number, getOptions?: GetCredOptions, options?: globalThis.RequestInit): Promise<CredWithPlaintext>;
5937
+ /**
5938
+ * Creates a new KV credential (kv-env or kv-header)
5939
+ *
5940
+ * Use `kv-env` for environment variables (supported in sandbox).
5941
+ * Use `kv-header` for HTTP headers (not supported in sandbox).
5942
+ *
5943
+ * Requires authentication.
5944
+ *
5945
+ * @param data - The credential data to create
5946
+ * @param options - Optional request options
5947
+ * @returns Promise resolving to the created credential
5948
+ */
5949
+ createKV(data: CreateKVCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
5950
+ /**
5951
+ * Creates a new OAuth credential by linking to an existing OAuth connection
5952
+ *
5953
+ * The OAuth connection must already exist (use ConnectService to establish connections).
5954
+ * Requires authentication.
5955
+ *
5956
+ * @param data - The credential data to create
5957
+ * @param options - Optional request options
5958
+ * @returns Promise resolving to the created credential
5959
+ */
5960
+ createOAuth(data: CreateOAuthCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
5961
+ /**
5962
+ * Creates a new file credential
5963
+ *
5964
+ * The file must be uploaded first and the fileHashId obtained.
5965
+ * Requires authentication.
5966
+ *
5967
+ * @param data - The credential data to create
5968
+ * @param options - Optional request options
5969
+ * @returns Promise resolving to the created credential
5970
+ */
5971
+ createFile(data: CreateFileCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
5972
+ /**
5973
+ * Updates an existing credential
5974
+ *
5975
+ * Can update name, description, and values (for KV types).
5976
+ * Requires authentication.
5977
+ *
5978
+ * @param id - The credential ID to update
5979
+ * @param data - The data to update
5980
+ * @param options - Optional request options
5981
+ * @returns Promise resolving to the updated credential
5982
+ */
5983
+ update(id: number, data: UpdateCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
5984
+ /**
5985
+ * Deletes a credential by ID
5986
+ *
5987
+ * Requires authentication.
5988
+ *
5989
+ * @param id - The credential ID to delete
5990
+ * @param options - Optional request options
5991
+ * @returns Promise resolving to the delete result
5992
+ */
5993
+ delete(id: number, options?: globalThis.RequestInit): Promise<DeleteCredResponse>;
5994
+ /**
5995
+ * Deletes a credential by key
5996
+ *
5997
+ * Useful when you know the credential key but not the ID.
5998
+ * Requires authentication.
5999
+ *
6000
+ * @param key - The credential key to delete
6001
+ * @param options - Optional request options
6002
+ * @returns Promise resolving to the delete result
6003
+ */
6004
+ deleteByKey(key: string, options?: globalThis.RequestInit): Promise<DeleteCredResponse>;
6005
+ /**
6006
+ * Gets the credential status for a skill
6007
+ *
6008
+ * Returns which credentials are required by the skill and
6009
+ * whether the user has provided them.
6010
+ *
6011
+ * Requires authentication.
6012
+ *
6013
+ * @param skillIdentifier - The skill identifier
6014
+ * @param options - Optional request options
6015
+ * @returns Promise resolving to the credential status list
6016
+ */
6017
+ getSkillCredStatus(skillIdentifier: string, options?: globalThis.RequestInit): Promise<SkillCredStatus[]>;
6018
+ /**
6019
+ * Injects credentials for a skill into a sandbox environment
6020
+ *
6021
+ * Returns decrypted credentials that can be used to set environment
6022
+ * variables and write files in the sandbox.
6023
+ *
6024
+ * Note: `kv-header` type credentials are not supported in sandbox mode.
6025
+ *
6026
+ * Requires authentication.
6027
+ *
6028
+ * @param request - The injection request
6029
+ * @param options - Optional request options
6030
+ * @returns Promise resolving to the injection result
6031
+ *
6032
+ * @example
6033
+ * ```typescript
6034
+ * const result = await sdk.creds.inject({
6035
+ * skillIdentifier: 'my-skill',
6036
+ * sandbox: true
6037
+ * });
6038
+ *
6039
+ * if (result.success) {
6040
+ * // Set environment variables
6041
+ * for (const [key, value] of Object.entries(result.credentials.env)) {
6042
+ * process.env[key] = value;
6043
+ * }
6044
+ *
6045
+ * // Write files
6046
+ * for (const file of result.credentials.files) {
6047
+ * fs.writeFileSync(file.fileName, Buffer.from(file.content, 'base64'));
6048
+ * }
6049
+ * } else {
6050
+ * console.log('Missing credentials:', result.missing);
6051
+ * }
6052
+ * ```
6053
+ */
6054
+ inject(request: InjectCredsRequest, options?: globalThis.RequestInit): Promise<InjectCredsResponse>;
6055
+ }
6056
+
5794
6057
  /**
5795
6058
  * Feedback Service
5796
6059
  *
@@ -6967,6 +7230,11 @@ declare class MarketSDK extends BaseSDK {
6967
7230
  * Provides methods to list providers, initiate OAuth flows, and manage connections
6968
7231
  */
6969
7232
  readonly connect: ConnectService;
7233
+ /**
7234
+ * Creds service for user credential management
7235
+ * Provides methods to create, list, update, delete credentials, and inject into sandboxes
7236
+ */
7237
+ readonly creds: CredService;
6970
7238
  /**
6971
7239
  * Plugins service for accessing plugin-related functionality
6972
7240
  * Provides methods to list, search, retrieve plugin information, and report installation attempts
@@ -7154,4 +7422,4 @@ declare function buildTrustedClientPayload(params: {
7154
7422
  userId: string;
7155
7423
  }): TrustedClientPayload;
7156
7424
 
7157
- 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 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 };
7425
+ 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 CreateFileCredRequest, type CreateKVCredRequest, type CreateMemberAgent, type CreateOAuthCredRequest, type CredWithPlaintext, type DeleteCredResponse, 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 GetCredOptions, type GetSkillStatusResponse, type GetSkillToolResponse, type GlobLocalFilesParams, type GrepContentParams, type InteractionTargetType, type KillCommandParams, type LikeListResponse, type LikeQuery, type LikeRequest, type ListConnectProvidersResponse, type ListConnectionsResponse, type ListCredsResponse, 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 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 UpdateCredRequest, type UpdateMemberAgent, type UpdateUserInfoRequest, type UpdateUserInfoResponse, type UserAgentGroupItem, type UserAgentItem, type UserInfoQuery, type UserInfoResponse, type UserProfile, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };