@lobehub/market-sdk 0.33.5 → 0.34.0-beta.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 } 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, 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';
@@ -1547,6 +1547,24 @@ interface MarketSDKOptions {
1547
1547
  * @default 'en-US'
1548
1548
  */
1549
1549
  defaultLocale?: string;
1550
+ /**
1551
+ * Owner account id for organization-scoped operations.
1552
+ *
1553
+ * When set, the SDK sends the `x-lobe-owner-account-id` header on every
1554
+ * request, instructing the Market API to attribute reads/writes to the
1555
+ * given organization account instead of the actor's personal account.
1556
+ * The Market backend rejects the call with 403 if the authenticated user
1557
+ * is not a member of that organization.
1558
+ *
1559
+ * @example
1560
+ * ```typescript
1561
+ * const sdk = new MarketSDK({
1562
+ * accessToken: userToken,
1563
+ * ownerAccountId: workspaceMarketAccountId,
1564
+ * });
1565
+ * ```
1566
+ */
1567
+ ownerAccountId?: number;
1550
1568
  /**
1551
1569
  * Base URL for root path
1552
1570
  */
@@ -3562,6 +3580,78 @@ interface UserAgentGroupItem {
3562
3580
  /** Current version number */
3563
3581
  versionNumber?: number;
3564
3582
  }
3583
+ /**
3584
+ * User Skill Item
3585
+ *
3586
+ * Represents a simplified skill item for user profile display
3587
+ */
3588
+ interface UserSkillItem {
3589
+ /** Skill category */
3590
+ category?: string;
3591
+ /** Creation timestamp */
3592
+ createdAt: string;
3593
+ /** Skill description */
3594
+ description?: string;
3595
+ /** Skill icon URL */
3596
+ icon?: string;
3597
+ /** Skill database ID */
3598
+ id: number;
3599
+ /** Skill unique identifier */
3600
+ identifier: string;
3601
+ /** Total install count */
3602
+ installCount: number;
3603
+ /** Whether the skill is featured */
3604
+ isFeatured: boolean;
3605
+ /** Whether the skill is officially maintained */
3606
+ isOfficial: boolean;
3607
+ /** Whether the skill has been validated */
3608
+ isValidated: boolean;
3609
+ /** Skill name */
3610
+ name: string;
3611
+ /** Publish status */
3612
+ status: string;
3613
+ /** Free-form tags */
3614
+ tags?: string[];
3615
+ /** Last update timestamp */
3616
+ updatedAt: string;
3617
+ }
3618
+ /**
3619
+ * User Plugin Item
3620
+ *
3621
+ * Represents a simplified plugin (MCP) item for user profile display
3622
+ */
3623
+ interface UserPluginItem {
3624
+ /** Avatar emoji or URL */
3625
+ avatar?: string;
3626
+ /** Plugin category */
3627
+ category?: string;
3628
+ /** Creation timestamp */
3629
+ createdAt: string;
3630
+ /** Plugin description */
3631
+ description?: string;
3632
+ /** Plugin database ID */
3633
+ id: number;
3634
+ /** Plugin unique identifier */
3635
+ identifier: string;
3636
+ /** Total install count */
3637
+ installCount: number;
3638
+ /** Whether the plugin has been claimed by its owner */
3639
+ isClaimed: boolean;
3640
+ /** Whether the plugin is featured */
3641
+ isFeatured: boolean;
3642
+ /** Whether the plugin is officially maintained */
3643
+ isOfficial: boolean;
3644
+ /** Whether the plugin has been validated */
3645
+ isValidated: boolean;
3646
+ /** Plugin name */
3647
+ name: string;
3648
+ /** Publish status */
3649
+ status: string;
3650
+ /** Free-form tags */
3651
+ tags?: string[];
3652
+ /** Last update timestamp */
3653
+ updatedAt: string;
3654
+ }
3565
3655
  /**
3566
3656
  * User Info Query
3567
3657
  *
@@ -3589,6 +3679,10 @@ interface UserInfoResponse {
3589
3679
  forkedAgentGroups: UserAgentGroupItem[];
3590
3680
  /** List of user's forked agents (excludes shallow forks) */
3591
3681
  forkedAgents: UserAgentItem[];
3682
+ /** List of user's owned plugins (MCPs) */
3683
+ plugins: UserPluginItem[];
3684
+ /** List of user's owned skills */
3685
+ skills: UserSkillItem[];
3592
3686
  /** User profile information */
3593
3687
  user: UserProfile;
3594
3688
  }
@@ -3927,6 +4021,82 @@ interface SubmitFeedbackResponse {
3927
4021
  success: boolean;
3928
4022
  }
3929
4023
 
4024
+ /**
4025
+ * Organization-related type definitions for LobeHub Market SDK
4026
+ *
4027
+ * Public-facing types for the `/v1/organization/info/:id` endpoint. The item
4028
+ * shapes (agents/groups/skills/plugins) intentionally re-export their `User*`
4029
+ * equivalents from `user.ts` — they describe the same rows, owned by an
4030
+ * account whose `type='organization'`.
4031
+ */
4032
+
4033
+ /**
4034
+ * Organization Profile
4035
+ *
4036
+ * Public-facing organization metadata returned alongside the org's published
4037
+ * content. `id` is the underlying `accounts.id` (same primary key space as
4038
+ * {@link UserProfile.id}); cloud workspaces map to these via
4039
+ * `workspace_market_identities.marketAccountId`.
4040
+ */
4041
+ interface OrganizationProfile {
4042
+ /** Organization avatar URL */
4043
+ avatarUrl: string | null;
4044
+ /** Organization banner/background image URL */
4045
+ bannerUrl: string | null;
4046
+ /** Account creation timestamp (ISO string) */
4047
+ createdAt: string;
4048
+ /** Long-form description / bio */
4049
+ description: string | null;
4050
+ /** Organization display name */
4051
+ displayName: string | null;
4052
+ /** Contact email (admin-curated) */
4053
+ email: string | null;
4054
+ /** Number of followers (always 0 today — orgs are not currently followable) */
4055
+ followerCount: number;
4056
+ /** Number of accounts this org follows (always 0 today) */
4057
+ followingCount: number;
4058
+ /** Account ID (primary key, alias of `accounts.id`) */
4059
+ id: number;
4060
+ /** Globally-unique namespace; cloud workspace mirrors use `ws-<slug>` */
4061
+ namespace: string;
4062
+ /** Always `'organization'` — present so consumers can branch off the same field shape as UserProfile */
4063
+ type: 'organization';
4064
+ /** Last profile update timestamp (ISO string) */
4065
+ updatedAt: string | null;
4066
+ /** Public website URL */
4067
+ websiteUrl: string | null;
4068
+ }
4069
+ /**
4070
+ * Organization Info Query
4071
+ *
4072
+ * Query parameters for `getOrganizationInfo`
4073
+ */
4074
+ interface OrganizationInfoQuery {
4075
+ /** Locale for localized content */
4076
+ locale?: string;
4077
+ }
4078
+ /**
4079
+ * Organization Info Response
4080
+ *
4081
+ * Response payload from `GET /api/v1/organization/info/:id`.
4082
+ *
4083
+ * Unlike {@link UserInfoResponse}, there are no `favorite*` or `forked*`
4084
+ * fields — favoriting and forking happen at the member (user) level, not the
4085
+ * org level.
4086
+ */
4087
+ interface OrganizationInfoResponse {
4088
+ /** Organization's published agent groups */
4089
+ agentGroups: UserAgentGroupItem[];
4090
+ /** Organization's published agents */
4091
+ agents: UserAgentItem[];
4092
+ /** Organization profile */
4093
+ organization: OrganizationProfile;
4094
+ /** Organization's published plugins (MCPs) */
4095
+ plugins: UserPluginItem[];
4096
+ /** Organization's published skills */
4097
+ skills: UserSkillItem[];
4098
+ }
4099
+
3930
4100
  /**
3931
4101
  * Base SDK class
3932
4102
  *
@@ -3963,6 +4133,20 @@ declare class BaseSDK {
3963
4133
  * @param sharedTokenState - Optional shared token state object for reuse across services
3964
4134
  */
3965
4135
  constructor(options?: MarketSDKOptions, sharedHeaders?: Record<string, string>, sharedTokenState?: SharedTokenState);
4136
+ /**
4137
+ * Sets the owner account id header for subsequent requests.
4138
+ *
4139
+ * Mirrors the constructor `ownerAccountId` option. Useful when the
4140
+ * organization context is not known at SDK construction time.
4141
+ *
4142
+ * @param ownerAccountId - The organization account id to act on behalf of
4143
+ */
4144
+ setOwnerAccountId(ownerAccountId: number): void;
4145
+ /**
4146
+ * Clears the owner account id header. Subsequent requests will be
4147
+ * attributed to the actor's personal account.
4148
+ */
4149
+ clearOwnerAccountId(): void;
3966
4150
  /**
3967
4151
  * Sends an HTTP request to the API and handles the response
3968
4152
  *
@@ -7019,6 +7203,199 @@ declare class MarketSkillService extends BaseSDK {
7019
7203
  }>;
7020
7204
  }
7021
7205
 
7206
+ /**
7207
+ * Organization Credentials Service
7208
+ *
7209
+ * Surfaces the org-scoped cred endpoints (`/v1/organizations/:orgId/creds/*`)
7210
+ * with the same method shape as {@link CredService}, but with the org id
7211
+ * bound at construction time so individual calls don't have to thread it
7212
+ * through.
7213
+ *
7214
+ * Don't construct directly — get one from
7215
+ * {@link OrganizationService.creds | `market.organizations.creds(orgId)`}.
7216
+ * That factory wires the shared headers / token state so the org-creds
7217
+ * service reuses the same auth token refresh state as the rest of the SDK.
7218
+ *
7219
+ * @example
7220
+ * ```typescript
7221
+ * const orgCreds = market.organizations.creds(42);
7222
+ * const { data } = await orgCreds.list();
7223
+ * await orgCreds.createKV({ key: 'OPENAI_KEY', name: 'OpenAI', type: 'kv-env', values: { OPENAI_KEY: 'sk-...' } });
7224
+ * ```
7225
+ */
7226
+ declare class OrganizationCredsService extends BaseSDK {
7227
+ /**
7228
+ * Numeric organization account ID this service is bound to. Stored so every
7229
+ * URL builder method below can prefix `/v1/organizations/${orgId}/`.
7230
+ */
7231
+ private readonly orgId;
7232
+ constructor(orgId: number, options?: MarketSDKOptions, sharedHeaders?: Record<string, string>, sharedTokenState?: SharedTokenState);
7233
+ private base;
7234
+ list(options?: globalThis.RequestInit): Promise<ListCredsResponse>;
7235
+ get(id: number, getOptions?: GetCredOptions, options?: globalThis.RequestInit): Promise<CredWithPlaintext>;
7236
+ createKV(data: CreateKVCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
7237
+ createOAuth(data: CreateOAuthCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
7238
+ createFile(data: CreateFileCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
7239
+ update(id: number, data: UpdateCredRequest, options?: globalThis.RequestInit): Promise<UserCredSummary>;
7240
+ delete(id: number, options?: globalThis.RequestInit): Promise<DeleteCredResponse>;
7241
+ deleteByKey(key: string, options?: globalThis.RequestInit): Promise<DeleteCredResponse>;
7242
+ /**
7243
+ * Returns this org's credential status for a skill — which required creds
7244
+ * the org has bound vs. is missing. Reads only; any org member may call.
7245
+ */
7246
+ getSkillCredStatus(skillIdentifier: string, options?: globalThis.RequestInit): Promise<SkillCredStatus[]>;
7247
+ }
7248
+
7249
+ /**
7250
+ * Organization Service
7251
+ *
7252
+ * Read-side access to organization accounts in the LobeHub Marketplace.
7253
+ * Organization accounts share the same `accounts` table as users, but are
7254
+ * mirrored from cloud workspaces (one workspace = one organization). Cloud
7255
+ * publishes everything under `agents.ownerId = orgAccountId`; this service
7256
+ * surfaces the org profile + published content in a single round-trip.
7257
+ */
7258
+ declare class OrganizationService extends BaseSDK {
7259
+ /**
7260
+ * SDK options captured at construction time. Re-passed to org-scoped sub-
7261
+ * services (e.g. {@link OrganizationCredsService}) created via {@link creds}
7262
+ * so they pick up the same baseURL / locale / api key configuration as the
7263
+ * top-level `MarketSDK` instance.
7264
+ */
7265
+ private readonly initOptions;
7266
+ /**
7267
+ * Shared token state passed from `MarketSDK`. Forwarded to sub-services so
7268
+ * refresh-token cycles initiated by other services (e.g. `auth`) are visible
7269
+ * here too.
7270
+ */
7271
+ private readonly tokenState?;
7272
+ constructor(options?: MarketSDKOptions, sharedHeaders?: Record<string, string>, sharedTokenState?: SharedTokenState);
7273
+ /**
7274
+ * Returns an org-scoped credentials sub-service bound to `orgId`.
7275
+ *
7276
+ * The returned service hits `/v1/organizations/:orgId/creds/*` and shares
7277
+ * this `OrganizationService`'s headers + token state, so it inherits the
7278
+ * same auth context as the rest of the SDK (no need to re-attach an access
7279
+ * token).
7280
+ *
7281
+ * Returns a fresh instance per call; suitable for short-lived UIs where the
7282
+ * orgId varies. For long-lived use, cache the returned service.
7283
+ *
7284
+ * @example
7285
+ * ```typescript
7286
+ * const orgCreds = market.organizations.creds(42);
7287
+ * await orgCreds.list();
7288
+ * ```
7289
+ */
7290
+ creds(orgId: number): OrganizationCredsService;
7291
+ /**
7292
+ * Retrieves an organization's public profile and everything it has
7293
+ * published — agents, agent groups, skills, plugins.
7294
+ *
7295
+ * Public endpoint; authentication is optional. If the caller is an
7296
+ * authenticated admin of the organization, the response additionally
7297
+ * includes unpublished/private content (useful for the workspace owner's
7298
+ * own Community page).
7299
+ *
7300
+ * @param idOrNamespace - The account ID (number) or organization namespace string (e.g. `ws-acme`)
7301
+ * @param params - Query parameters for locale
7302
+ * @param options - Optional request options
7303
+ * @returns Promise resolving to the organization info response
7304
+ */
7305
+ getOrganizationInfo(idOrNamespace: number | string, params?: OrganizationInfoQuery, options?: globalThis.RequestInit): Promise<OrganizationInfoResponse>;
7306
+ /**
7307
+ * Lists the organizations the authenticated user belongs to, each annotated
7308
+ * with the caller's membership role. Excludes archived organizations.
7309
+ *
7310
+ * @returns Promise resolving to the user's organizations
7311
+ */
7312
+ listMyOrganizations(options?: globalThis.RequestInit): Promise<MyOrganizationItem[]>;
7313
+ /**
7314
+ * Idempotently creates an organization (mirrors a cloud workspace).
7315
+ *
7316
+ * Trusted-client only — construct the SDK with `{ trustedClientToken }`. Uses
7317
+ * `clerkId` as the idempotency key; a second call with the same `clerkId`
7318
+ * returns the existing org with `created: false` (and revives it if archived).
7319
+ *
7320
+ * @param data - Organization fields + optional initial members
7321
+ * @returns The created/existing organization and whether it was newly created
7322
+ */
7323
+ createOrganization(data: CreateOrganizationRequest, options?: globalThis.RequestInit): Promise<CreateOrganizationResponse>;
7324
+ /**
7325
+ * Updates an organization's metadata. Requires org admin (or trusted client).
7326
+ *
7327
+ * @param orgId - Organization account id
7328
+ * @param data - Fields to update
7329
+ * @returns The updated organization
7330
+ */
7331
+ updateOrganization(orgId: number, data: UpdateOrganizationRequest, options?: globalThis.RequestInit): Promise<OrganizationItem>;
7332
+ /**
7333
+ * Soft-disables an organization (e.g. its cloud workspace was deleted).
7334
+ * Trusted-client only. Reversible; creds and published content are preserved.
7335
+ *
7336
+ * @param orgId - Organization account id
7337
+ * @returns The archived organization
7338
+ */
7339
+ archiveOrganization(orgId: number, options?: globalThis.RequestInit): Promise<OrganizationItem>;
7340
+ /**
7341
+ * Reactivates a previously archived organization. Trusted-client only.
7342
+ *
7343
+ * @param orgId - Organization account id
7344
+ * @returns The reactivated organization
7345
+ */
7346
+ unarchiveOrganization(orgId: number, options?: globalThis.RequestInit): Promise<OrganizationItem>;
7347
+ /**
7348
+ * Lists the members of an organization. Any authenticated org member may call.
7349
+ *
7350
+ * @param orgId - Organization account id
7351
+ * @returns Hydrated member rows
7352
+ */
7353
+ listMembers(orgId: number, options?: globalThis.RequestInit): Promise<OrganizationMemberItem[]>;
7354
+ /**
7355
+ * Adds a member to an organization. Trusted-client only. Idempotent: if the
7356
+ * user is already a member, the existing role is preserved (`added: false`).
7357
+ *
7358
+ * @param orgId - Organization account id
7359
+ * @param userAccountId - The user's account id
7360
+ * @param role - Role to grant (defaults server-side to `member`)
7361
+ * @returns Whether the member was newly added and their effective role
7362
+ */
7363
+ addMember(orgId: number, userAccountId: number, role?: OrganizationMemberRole, options?: globalThis.RequestInit): Promise<AddMemberResponse>;
7364
+ /**
7365
+ * Removes a member from an organization. Trusted-client only. Refuses to
7366
+ * remove the last admin (server returns 409).
7367
+ *
7368
+ * @param orgId - Organization account id
7369
+ * @param userAccountId - The user's account id
7370
+ * @returns Whether a membership row was removed
7371
+ */
7372
+ removeMember(orgId: number, userAccountId: number, options?: globalThis.RequestInit): Promise<{
7373
+ removed: boolean;
7374
+ }>;
7375
+ /**
7376
+ * Updates a member's role. Trusted-client only. Refuses to demote the last
7377
+ * admin (server returns 409).
7378
+ *
7379
+ * @param orgId - Organization account id
7380
+ * @param userAccountId - The user's account id
7381
+ * @param role - The new role
7382
+ * @returns The effective role and whether it changed
7383
+ */
7384
+ updateMemberRole(orgId: number, userAccountId: number, role: OrganizationMemberRole, options?: globalThis.RequestInit): Promise<UpdateMemberRoleResponse>;
7385
+ /**
7386
+ * Reconciles the full member list against a desired snapshot (idempotent).
7387
+ * Trusted-client only — the canonical way for Cloud to mirror a workspace's
7388
+ * complete membership: absent members are removed, missing ones added, and
7389
+ * changed roles updated, all in one transaction. Rejects a snapshot with no
7390
+ * admin (server returns 409).
7391
+ *
7392
+ * @param orgId - Organization account id
7393
+ * @param members - The complete desired member list
7394
+ * @returns Counts of added / removed / updated members and skipped ids
7395
+ */
7396
+ reconcileMembers(orgId: number, members: ReconcileMembersRequest['members'], options?: globalThis.RequestInit): Promise<ReconcileMembersResponse>;
7397
+ }
7398
+
7022
7399
  /**
7023
7400
  * User Service
7024
7401
  *
@@ -7501,6 +7878,14 @@ declare class MarketSDK extends BaseSDK {
7501
7878
  * Provides methods to list, search, retrieve plugin information, and report installation attempts
7502
7879
  */
7503
7880
  readonly plugins: PluginsService;
7881
+ /**
7882
+ * Organizations service for accessing organization-related functionality.
7883
+ * Provides methods to retrieve organization profiles and their published
7884
+ * content (agents, agent groups, skills, plugins).
7885
+ *
7886
+ * Plural accessor for parity with the REST namespace `/v1/organizations/`.
7887
+ */
7888
+ readonly organizations: OrganizationService;
7504
7889
  /**
7505
7890
  * User service for accessing user-related functionality
7506
7891
  * Provides methods to retrieve user profiles and their published agents
@@ -7688,4 +8073,4 @@ declare function buildTrustedClientPayload(params: {
7688
8073
  userId: string;
7689
8074
  }): TrustedClientPayload;
7690
8075
 
7691
- 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 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, type SkillToolsSource, 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 };
8076
+ 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 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 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 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 UserPluginItem, type UserProfile, type UserSkillItem, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };