@lobehub/market-sdk 0.39.1 → 0.40.0

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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { AgentItem, UserCredSummary, MarketItemBase, PluginConnectionType, InstallFailureAnalysisQuery, InstallFailureAnalysis, RangeQuery, RangeStats, TopPluginsQuery, TopPlugin, PluginManifest, AdminPluginItem, AdminPluginItemDetail, PluginVersion, PluginVersionLocalization, AdminDeploymentOption, InstallationDetails, SystemDependency, IncompleteI18nPlugin, CreateSkillCollectionRequest, AdminSkillCollectionDetail, AdminSkillCollectionListQuery, AdminSkillCollectionListResponse, BatchUpsertSkillCollectionLocalizationsRequest, SkillCollectionLocalizationBatchResponse, SkillCollectionLocalization, UpdateSkillCollectionRequest, UpsertSkillCollectionLocalizationRequest, SitemapResponse, AgentEventRequest, SkillCredStatus, InjectCredsRequest, InjectCredsResponse, InjectCredsForSkillRequest, InjectCredsForSkillResponse, CategoryListQuery, CategoryItem, PluginItemDetail, InstallReportRequest, InstallReportResponse, CallReportRequest, CallReportResponse, PluginEventRequest, CloudGatewayRequest, CloudGatewayResponse, MyOrganizationItem, CreateOrganizationRequest, CreateOrganizationResponse, UpdateOrganizationRequest, OrganizationItem, OrganizationMemberItem, OrganizationMemberRole, AddMemberResponse, UpdateMemberRoleResponse, ReconcileMembersRequest, ReconcileMembersResponse } from '@lobehub/market-types';
2
+ import { AgentItem, UserCredSummary, MarketItemBase, PluginConnectionType, InstallFailureAnalysisQuery, InstallFailureAnalysis, RangeQuery, RangeStats, TopPluginsQuery, TopPlugin, OfficialMcpRegistryImportRequest, OfficialMcpRegistryImportResponse, OfficialMcpRegistrySyncRequest, OfficialMcpRegistrySyncResponse, PluginManifest, AdminPluginItem, AdminPluginItemDetail, PluginVersion, PluginVersionLocalization, AdminDeploymentOption, InstallationDetails, SystemDependency, IncompleteI18nPlugin, CreateSkillCollectionRequest, AdminSkillCollectionDetail, AdminSkillCollectionListQuery, AdminSkillCollectionListResponse, BatchUpsertSkillCollectionLocalizationsRequest, SkillCollectionLocalizationBatchResponse, SkillCollectionLocalization, UpdateSkillCollectionRequest, UpsertSkillCollectionLocalizationRequest, SitemapResponse, AgentEventRequest, SkillCredStatus, InjectCredsRequest, InjectCredsResponse, InjectCredsForSkillRequest, InjectCredsForSkillResponse, CategoryListQuery, CategoryItem, PluginItemDetail, InstallReportRequest, InstallReportResponse, CallReportRequest, CallReportResponse, PluginEventRequest, CloudGatewayRequest, CloudGatewayResponse, MyOrganizationItem, CreateOrganizationRequest, CreateOrganizationResponse, UpdateOrganizationRequest, OrganizationItem, OrganizationMemberItem, OrganizationMemberRole, AddMemberResponse, UpdateMemberRoleResponse, ReconcileMembersRequest, ReconcileMembersResponse } from '@lobehub/market-types';
3
3
  export * from '@lobehub/market-types';
4
4
  export { CategoryItem, CategoryListQuery, CategoryListResponse, CredType, InjectCredsForSkillRequest, InjectCredsForSkillResponse, InjectCredsRequest, InjectCredsResponse, InjectedFileInfo, SkillCredStatus, UserCredSummary } from '@lobehub/market-types';
5
5
  import { JSONSchema7 } from 'json-schema';
@@ -1688,6 +1688,19 @@ interface GetCredOptions {
1688
1688
  /** Set to true to include decrypted plaintext values (KV types only) */
1689
1689
  decrypt?: boolean;
1690
1690
  }
1691
+ /**
1692
+ * Request for sharing a credential with an organization
1693
+ */
1694
+ interface ShareCredRequest {
1695
+ /** Target organization: numeric account id or `workspace:<workspaceId>` key */
1696
+ orgId: string;
1697
+ /**
1698
+ * Defaults to 'public' (immediately visible to the org). Pass 'private' to
1699
+ * only link the credential as a draft — use CredService.publish() later
1700
+ * to make it visible to the rest of the organization.
1701
+ */
1702
+ visibility?: 'private' | 'public';
1703
+ }
1691
1704
  /**
1692
1705
  * Response containing a list of credentials
1693
1706
  */
@@ -2276,6 +2289,10 @@ interface CimdClientMetadata {
2276
2289
  * Supported OAuth grant types.
2277
2290
  */
2278
2291
  grant_types: string[];
2292
+ /**
2293
+ * Client logo URL shown by providers that support it.
2294
+ */
2295
+ logo_uri?: string;
2279
2296
  /**
2280
2297
  * Exact redirect URIs accepted for this client.
2281
2298
  */
@@ -2289,6 +2306,15 @@ interface CimdClientMetadata {
2289
2306
  */
2290
2307
  token_endpoint_auth_method: 'none';
2291
2308
  }
2309
+ /**
2310
+ * Parameters for fetching a CIMD client metadata document.
2311
+ */
2312
+ interface GetClientMetadataParams {
2313
+ /**
2314
+ * Metadata document version. Defaults to the current version for the provider.
2315
+ */
2316
+ version?: string;
2317
+ }
2292
2318
  /**
2293
2319
  * User's OAuth connection to a provider
2294
2320
  */
@@ -4711,6 +4737,26 @@ declare class AnalysisService extends BaseSDK {
4711
4737
  getTopPlugins(params: TopPluginsQuery): Promise<TopPlugin[]>;
4712
4738
  }
4713
4739
 
4740
+ /**
4741
+ * Provides administrative controls for source-ingestion workflows.
4742
+ */
4743
+ declare class IngestionService extends BaseSDK {
4744
+ /**
4745
+ * Promote already-synced Official MCP Registry sources into Market MCP plugins.
4746
+ *
4747
+ * This import step creates missing public MCP plugin records and completes source/version
4748
+ * ledger bindings for high-confidence matches; it does not run the registry sync itself.
4749
+ */
4750
+ importOfficialMcpRegistry(params?: OfficialMcpRegistryImportRequest): Promise<OfficialMcpRegistryImportResponse>;
4751
+ /**
4752
+ * Run the Official MCP Registry shadow sync.
4753
+ *
4754
+ * The server only writes source ledger snapshots and match/conflict results;
4755
+ * it does not create or update public plugin records.
4756
+ */
4757
+ syncOfficialMcpRegistry(params?: OfficialMcpRegistrySyncRequest): Promise<OfficialMcpRegistrySyncResponse>;
4758
+ }
4759
+
4714
4760
  /**
4715
4761
  * Plugin Management Service
4716
4762
  *
@@ -5511,6 +5557,11 @@ declare class MarketAdmin extends BaseSDK {
5511
5557
  * Plugin environment service
5512
5558
  */
5513
5559
  readonly env: PluginEnvService;
5560
+ /**
5561
+ * Source-ingestion management service
5562
+ * Provides methods for starting shadow syncs and inspecting ingestion state
5563
+ */
5564
+ readonly ingestion: IngestionService;
5514
5565
  /**
5515
5566
  * Organization management service
5516
5567
  * Provides methods for managing organization accounts (including workspace mirrors)
@@ -6147,6 +6198,7 @@ declare class AuthService extends BaseSDK {
6147
6198
  }>;
6148
6199
  }
6149
6200
 
6201
+ type GetClientMetadataSecondArg = GetClientMetadataParams | globalThis.RequestInit;
6150
6202
  /**
6151
6203
  * Connect Service
6152
6204
  *
@@ -6217,10 +6269,11 @@ declare class ConnectService extends BaseSDK {
6217
6269
  * support OAuth Client ID Metadata Documents.
6218
6270
  *
6219
6271
  * @param provider - The provider ID
6272
+ * @param params - Optional metadata document parameters
6220
6273
  * @param options - Optional request options
6221
6274
  * @returns Promise resolving to the CIMD client metadata document
6222
6275
  */
6223
- getClientMetadata(provider: string, options?: globalThis.RequestInit): Promise<CimdClientMetadata>;
6276
+ getClientMetadata(provider: string, params?: GetClientMetadataSecondArg, options?: globalThis.RequestInit): Promise<CimdClientMetadata>;
6224
6277
  /**
6225
6278
  * Requests an authorization code for initiating OAuth flow
6226
6279
  *
@@ -6448,6 +6501,45 @@ declare class CredService extends BaseSDK {
6448
6501
  * @returns Promise resolving to the updated credential
6449
6502
  */
6450
6503
  update(id: number, data: UpdateCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
6504
+ /**
6505
+ * Shares one of the caller's own credentials with an organization
6506
+ *
6507
+ * The caller must own the credential and be a member of the target
6508
+ * organization. The credential stays owned by the caller. Defaults to
6509
+ * `visibility: 'public'` (immediately visible to the org); pass
6510
+ * `visibility: 'private'` to only link it as a draft, then call
6511
+ * `publish()` later to reveal it. Requires authentication.
6512
+ *
6513
+ * @param id - The credential ID to share
6514
+ * @param data - The target organization (and optional draft visibility)
6515
+ * @param options - Optional request options
6516
+ * @returns Promise resolving to the updated credential
6517
+ */
6518
+ share(id: number, data: ShareCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
6519
+ /**
6520
+ * Publishes a draft-linked credential to its organization
6521
+ *
6522
+ * Use after calling `share()` with `visibility: 'private'` to make the
6523
+ * credential visible to the rest of the organization. Owner-only.
6524
+ * Requires authentication.
6525
+ *
6526
+ * @param id - The credential ID to publish
6527
+ * @param options - Optional request options
6528
+ * @returns Promise resolving to the updated credential
6529
+ */
6530
+ publish(id: number, options?: globalThis.RequestInit): Promise<UserCredSummary>;
6531
+ /**
6532
+ * Unshares a credential from its organization
6533
+ *
6534
+ * Flips the credential back to private without deleting it. Callable by
6535
+ * the credential's owner, or by an admin of the organization it's shared
6536
+ * to. Requires authentication.
6537
+ *
6538
+ * @param id - The credential ID to unshare
6539
+ * @param options - Optional request options
6540
+ * @returns Promise resolving to the updated credential
6541
+ */
6542
+ unshare(id: number, options?: globalThis.RequestInit): Promise<UserCredSummary>;
6451
6543
  /**
6452
6544
  * Deletes a credential by ID
6453
6545
  *
@@ -7462,7 +7554,19 @@ declare class OrganizationCredsService extends BaseSDK {
7462
7554
  private readonly orgSegment;
7463
7555
  constructor(orgId: OrgRef, options?: MarketSDKOptions, sharedHeaders?: Record<string, string>, sharedTokenState?: SharedTokenState);
7464
7556
  private base;
7557
+ /**
7558
+ * Lists every credential visible in this organization's context: the
7559
+ * org's own directly-owned credentials, any member's published
7560
+ * credentials, and the caller's own draft-linked (not yet published)
7561
+ * credentials. Each entry's `ownerAccountId`/`ownerType`/
7562
+ * `ownerDisplayName`/`ownerNamespace` identify who it actually belongs to.
7563
+ */
7465
7564
  list(options?: globalThis.RequestInit): Promise<ListCredsResponse>;
7565
+ /**
7566
+ * `decrypt: true` only works for credentials the organization owns
7567
+ * directly — a member's shared credential can only be decrypted by its
7568
+ * owner via `CredService.get(id, { decrypt: true })`.
7569
+ */
7466
7570
  get(id: number, getOptions?: GetCredOptions, options?: globalThis.RequestInit): Promise<CredWithPlaintext>;
7467
7571
  createKV(data: CreateKVCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
7468
7572
  createOAuth(data: CreateOAuthCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
@@ -7995,15 +8099,15 @@ interface ClaimAssetResponse {
7995
8099
  success: boolean;
7996
8100
  }
7997
8101
  interface SubmitRepoParams {
7998
- /** Optional branch name (only used for skill imports) */
8102
+ /** Optional branch name */
7999
8103
  branch?: string;
8000
- /** GitHub repository URL (must be owned by the authenticated user) */
8104
+ /** GitHub repository URL (authenticated user must own it or have push access) */
8001
8105
  gitUrl: string;
8002
- /** Asset type to import the repository as */
8003
- type: 'plugin' | 'skill';
8106
+ /** Repository submissions are only supported for skill imports */
8107
+ type: 'skill';
8004
8108
  }
8005
8109
  interface SubmitRepoResponse {
8006
- /** Predicted identifier (skills only; null for plugins — assigned during import) */
8110
+ /** Predicted skill identifier, when available */
8007
8111
  identifier: string | null;
8008
8112
  message: string;
8009
8113
  parsedUrl: {
@@ -8069,6 +8173,38 @@ interface PluginPublishData {
8069
8173
  tools?: Record<string, unknown>[];
8070
8174
  version: string;
8071
8175
  }
8176
+ type PluginCategory = 'business' | 'developer' | 'gaming-entertainment' | 'health-wellness' | 'lifestyle' | 'media-generate' | 'news' | 'productivity' | 'science-education' | 'social' | 'stocks-finance' | 'tools' | 'travel-transport' | 'weather' | 'web-search';
8177
+ interface FirstPluginLocalizationInput extends PluginLocalizationInput {
8178
+ description: string;
8179
+ name: string;
8180
+ }
8181
+ interface PublishPluginParams extends Omit<PluginPublishData, 'category' | 'description' | 'localizations'> {
8182
+ /** Category values supported by marketplace navigation */
8183
+ category?: PluginCategory;
8184
+ /** Required source description for the first publication */
8185
+ description: string;
8186
+ /** GitHub repository URL (authenticated user must own it or have push access) */
8187
+ gitUrl: string;
8188
+ /** Owner-declared marketplace identifier */
8189
+ identifier: string;
8190
+ /** A first publication must provide complete rows for any custom localization */
8191
+ localizations?: FirstPluginLocalizationInput[];
8192
+ }
8193
+ interface PublishPluginResponse {
8194
+ action: 'created' | 'updated';
8195
+ identifier: string;
8196
+ message: string;
8197
+ parsedUrl: {
8198
+ fullName: string;
8199
+ owner: string;
8200
+ repo: string;
8201
+ };
8202
+ status: 'processing';
8203
+ success: true;
8204
+ version: string;
8205
+ versionId: number;
8206
+ workflowRunId?: string;
8207
+ }
8072
8208
  /**
8073
8209
  * User Publish Service
8074
8210
  *
@@ -8121,17 +8257,25 @@ declare class UserPublishService extends BaseSDK {
8121
8257
  */
8122
8258
  claimAsset(assetId: number, assetType: 'plugin' | 'skill'): Promise<ClaimAssetResponse>;
8123
8259
  /**
8124
- * Submits a GitHub repository owned by the authenticated user for import as a
8125
- * new marketplace listing (skill or MCP plugin)
8260
+ * Submits a GitHub repository the authenticated user owns or can push to for
8261
+ * import as a new skill listing
8126
8262
  *
8127
8263
  * The import runs asynchronously on the server. The user must have a verified
8128
- * GitHub profile and the repository owner must match their GitHub username.
8264
+ * GitHub profile. Organization repositories require push or admin access.
8129
8265
  *
8130
8266
  * @param params - The repository submission parameters
8131
8267
  * @param options - Optional request options (must include authentication)
8132
8268
  * @returns Promise resolving to the submission result
8133
8269
  */
8134
8270
  submitRepo(params: SubmitRepoParams, options?: globalThis.RequestInit): Promise<SubmitRepoResponse>;
8271
+ /**
8272
+ * Publishes an owner-declared MCP plugin and starts repository enrichment
8273
+ *
8274
+ * @param params - Repository URL and lhm.plugin.json content
8275
+ * @param options - Optional request options (must include authentication)
8276
+ * @returns Promise resolving immediately with the plugin identifier and version
8277
+ */
8278
+ publishPlugin(params: PublishPluginParams, options?: globalThis.RequestInit): Promise<PublishPluginResponse>;
8135
8279
  /**
8136
8280
  * Deletes an owned skill permanently
8137
8281
  *
@@ -8438,4 +8582,4 @@ declare function buildTrustedClientPayload(params: {
8438
8582
  workspaceId?: string;
8439
8583
  }): TrustedClientPayload;
8440
8584
 
8441
- 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 CimdClientMetadata, 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 OrgRef, type OrganizationInfoQuery, type OrganizationInfoResponse, type OrganizationProfile, 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 RevokeTokenRequest, 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, type SkillToolsSource, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubmitRepoParams, type SubmitRepoResponse, type SuccessResponse, type TaskTemplate, type TaskTemplateCategory, type TaskTemplateConnector, type TaskTemplateConnectorReference, type TaskTemplateConnectorSource, type TaskTemplateIcon, type TaskTemplateInterestAreaKey, type TaskTemplateItem, type TaskTemplateLocalizedContent, type TaskTemplateRecommendationQuery, type TaskTemplateRecommendationResponse, 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 UserPluginItem, type UserProfile, type UserSkillItem, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce, orgRefToPathSegment };
8585
+ 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 CimdClientMetadata, 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 FirstPluginLocalizationInput, type FollowListItem, type FollowListResponse, type FollowRequest, type GetAllConnectionsHealthResponse, type GetAuthorizeUrlParams, type GetClientMetadataParams, 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 OrgRef, type OrganizationInfoQuery, type OrganizationInfoResponse, type OrganizationProfile, type OwnAgentGroupListQuery, type OwnAgentListQuery, type PaginationQuery, type PluginCategory, 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 PublishPluginParams, type PublishPluginResponse, type ReadLocalFileParams, type RefreshConnectionResponse, type RefreshTokenRequest, type RegisterUserRequest, type RegisterUserResponse, type RegisteredUserProfile, type RenameLocalFileParams, type ReviewStatus, ReviewStatusEnumSchema, type RevokeConnectionResponse, type RevokeTokenRequest, type RunBuildInToolsError, type RunBuildInToolsRequest, type RunBuildInToolsResponse, type RunBuildInToolsSuccessData, type RunCommandParams, SDK_USER_AGENT, SDK_VERSION, type SearchLocalFilesParams, type ShareCredRequest, 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, type SkillToolsSource, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubmitRepoParams, type SubmitRepoResponse, type SuccessResponse, type TaskTemplate, type TaskTemplateCategory, type TaskTemplateConnector, type TaskTemplateConnectorReference, type TaskTemplateConnectorSource, type TaskTemplateIcon, type TaskTemplateInterestAreaKey, type TaskTemplateItem, type TaskTemplateLocalizedContent, type TaskTemplateRecommendationQuery, type TaskTemplateRecommendationResponse, 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 UserPluginItem, type UserProfile, type UserSkillItem, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce, orgRefToPathSegment };