@lobehub/market-sdk 0.28.3 → 0.29.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
@@ -802,6 +802,433 @@ interface OwnAgentListQuery {
802
802
  status?: AgentStatus;
803
803
  }
804
804
 
805
+ /**
806
+ * Agent Group Types
807
+ *
808
+ * Type definitions for agent group-related API requests and responses
809
+ */
810
+ /**
811
+ * Agent group list query parameters
812
+ */
813
+ interface AgentGroupListQuery {
814
+ /** Filter by category */
815
+ category?: string;
816
+ /** Filter by official status */
817
+ isOfficial?: 'true' | 'false';
818
+ /** Locale for localized content */
819
+ locale?: string;
820
+ /** Sort order */
821
+ order?: 'asc' | 'desc';
822
+ /** Filter by owner ID */
823
+ ownerId?: number | string;
824
+ /** Current page number (1-based) */
825
+ page?: number;
826
+ /** Number of items per page */
827
+ pageSize?: number;
828
+ /** Search query string */
829
+ q?: string;
830
+ /** Sort field */
831
+ sort?: 'createdAt' | 'updatedAt' | 'name' | 'recommended';
832
+ /** Publication status filter */
833
+ status?: 'published' | 'unpublished' | 'archived' | 'deprecated' | 'all';
834
+ /** Visibility filter */
835
+ visibility?: 'public' | 'private' | 'internal' | 'all';
836
+ }
837
+ /**
838
+ * Own agent groups list query parameters (authenticated)
839
+ */
840
+ interface OwnAgentGroupListQuery {
841
+ /** Locale for localized content */
842
+ locale?: string;
843
+ /** Sort order */
844
+ order?: 'asc' | 'desc';
845
+ /** Current page number (1-based) */
846
+ page?: number;
847
+ /** Number of items per page */
848
+ pageSize?: number;
849
+ /** Search query string */
850
+ q?: string;
851
+ /** Sort field */
852
+ sort?: 'createdAt' | 'updatedAt' | 'name';
853
+ }
854
+ /**
855
+ * Agent group item in list
856
+ * Aligned with AgentItem structure for consistency
857
+ */
858
+ interface AgentGroupItem {
859
+ /** Avatar URL (from current version) */
860
+ avatar?: string;
861
+ /** Background color (from current version) */
862
+ backgroundColor?: string;
863
+ /** Category (from current version) */
864
+ category?: string;
865
+ /** Comment count */
866
+ commentCount?: number;
867
+ /** Creation timestamp */
868
+ createdAt: string;
869
+ /** Current version ID */
870
+ currentVersionId?: number;
871
+ /** Description (from current version) */
872
+ description?: string;
873
+ /** Favorite count */
874
+ favoriteCount?: number;
875
+ /** Homepage URL */
876
+ homepage?: string;
877
+ /** Unique identifier (used as id for consistency) */
878
+ id: string;
879
+ /** Unique identifier */
880
+ identifier: string;
881
+ /** Install count */
882
+ installCount?: number;
883
+ /** Whether this is a featured group */
884
+ isFeatured?: boolean;
885
+ /** Whether this is official */
886
+ isOfficial?: boolean;
887
+ /** Like count */
888
+ likeCount?: number;
889
+ /** Group name */
890
+ name: string;
891
+ /** Owner account ID */
892
+ ownerId: number;
893
+ /** Average rating */
894
+ ratingAverage?: number;
895
+ /** Rating count */
896
+ ratingCount?: number;
897
+ /** Safety check status */
898
+ safetyCheck?: string;
899
+ /** Publication status */
900
+ status?: 'published' | 'unpublished' | 'archived' | 'deprecated';
901
+ /** Last update timestamp */
902
+ updatedAt: string;
903
+ /** Version number (from current version) */
904
+ versionNumber?: number;
905
+ /** Visibility */
906
+ visibility?: 'public' | 'private' | 'internal';
907
+ }
908
+ /**
909
+ * Agent group list response
910
+ * Aligned with AgentListResponse structure for consistency
911
+ */
912
+ interface AgentGroupListResponse {
913
+ currentPage: number;
914
+ items: AgentGroupItem[];
915
+ pageSize: number;
916
+ totalCount: number;
917
+ totalPages: number;
918
+ }
919
+ /**
920
+ * Agent group detail query parameters
921
+ */
922
+ interface AgentGroupDetailQuery {
923
+ /** Group identifier */
924
+ identifier: string;
925
+ /** Locale for localized content */
926
+ locale?: string;
927
+ /** Specific version number to retrieve */
928
+ version?: number;
929
+ }
930
+ /**
931
+ * Member agent in group
932
+ */
933
+ interface MemberAgent {
934
+ /** A2A protocol version */
935
+ a2aProtocolVersion?: string;
936
+ /** Avatar */
937
+ avatar?: string;
938
+ /** Category */
939
+ category?: string;
940
+ /** Configuration */
941
+ config: any;
942
+ /** Default input modes */
943
+ defaultInputModes?: string[];
944
+ /** Default output modes */
945
+ defaultOutputModes?: string[];
946
+ /** Description */
947
+ description: string;
948
+ /** Display order */
949
+ displayOrder: number;
950
+ /** Documentation URL */
951
+ documentationUrl?: string;
952
+ /** Whether enabled */
953
+ enabled: boolean;
954
+ /** Extensions */
955
+ extensions?: any[];
956
+ /** Whether push notifications are supported */
957
+ hasPushNotifications?: boolean;
958
+ /** Whether state transition history is supported */
959
+ hasStateTransitionHistory?: boolean;
960
+ /** Whether streaming is supported */
961
+ hasStreaming?: boolean;
962
+ /** Unique identifier */
963
+ identifier: string;
964
+ /** Interfaces */
965
+ interfaces?: any[];
966
+ /** Name */
967
+ name: string;
968
+ /** Preferred transport */
969
+ preferredTransport?: string;
970
+ /** Role */
971
+ role: 'supervisor' | 'participant';
972
+ /** Security requirements */
973
+ securityRequirements?: any[];
974
+ /** Security schemes */
975
+ securitySchemes?: any;
976
+ /** Summary */
977
+ summary?: string;
978
+ /** Whether authenticated extended card is supported */
979
+ supportsAuthenticatedExtendedCard?: boolean;
980
+ /** Tags */
981
+ tags?: any;
982
+ /** URL */
983
+ url: string;
984
+ /** Version */
985
+ version: string;
986
+ }
987
+ /**
988
+ * Agent group detail response
989
+ */
990
+ interface AgentGroupDetail {
991
+ /** Author/owner information */
992
+ author?: {
993
+ avatar?: string;
994
+ name?: string;
995
+ userName?: string;
996
+ };
997
+ group: {
998
+ avatar?: string;
999
+ backgroundColor?: string;
1000
+ category?: string;
1001
+ commentCount?: number;
1002
+ config?: any;
1003
+ createdAt: string;
1004
+ currentVersionId?: number;
1005
+ description: string;
1006
+ favoriteCount?: number;
1007
+ homepage?: string;
1008
+ identifier: string;
1009
+ installCount?: number;
1010
+ isFeatured?: boolean;
1011
+ isOfficial?: boolean;
1012
+ likeCount?: number;
1013
+ name: string;
1014
+ ownerId: number;
1015
+ ratingAverage?: number;
1016
+ ratingCount?: number;
1017
+ safetyCheck?: string;
1018
+ status: string;
1019
+ tags?: any;
1020
+ updatedAt: string;
1021
+ version: string;
1022
+ versionNumber: number;
1023
+ visibility: string;
1024
+ };
1025
+ /** Locale for localized content */
1026
+ locale?: string;
1027
+ memberAgents: MemberAgent[];
1028
+ /** Summary extracted from description (auto-filled, max 200 chars) */
1029
+ summary?: string;
1030
+ /** All versions of this group */
1031
+ versions?: Array<{
1032
+ isLatest: boolean;
1033
+ status: string;
1034
+ updatedAt: string;
1035
+ version: string;
1036
+ versionNumber: number;
1037
+ }>;
1038
+ }
1039
+ /**
1040
+ * Member agent for creation
1041
+ */
1042
+ interface CreateMemberAgent {
1043
+ a2aProtocolVersion?: string;
1044
+ avatar?: string;
1045
+ category?: string;
1046
+ config: any;
1047
+ defaultInputModes?: string[];
1048
+ defaultOutputModes?: string[];
1049
+ description: string;
1050
+ displayOrder?: number;
1051
+ documentationUrl?: string;
1052
+ extensions?: any[];
1053
+ hasPushNotifications?: boolean;
1054
+ hasStateTransitionHistory?: boolean;
1055
+ hasStreaming?: boolean;
1056
+ identifier: string;
1057
+ interfaces?: any[];
1058
+ name: string;
1059
+ preferredTransport?: string;
1060
+ role: 'supervisor' | 'participant';
1061
+ securityRequirements?: any[];
1062
+ securitySchemes?: any;
1063
+ summary?: string;
1064
+ supportsAuthenticatedExtendedCard?: boolean;
1065
+ tags?: any;
1066
+ url: string;
1067
+ }
1068
+ /**
1069
+ * Create agent group request
1070
+ */
1071
+ interface AgentGroupCreateRequest {
1072
+ avatar?: string;
1073
+ backgroundColor?: string;
1074
+ category?: string;
1075
+ config?: any;
1076
+ description: string;
1077
+ homepage?: string;
1078
+ identifier: string;
1079
+ memberAgents: CreateMemberAgent[];
1080
+ name: string;
1081
+ versionName?: string;
1082
+ visibility?: 'public' | 'private' | 'internal';
1083
+ }
1084
+ /**
1085
+ * Create agent group response
1086
+ */
1087
+ interface AgentGroupCreateResponse {
1088
+ group: {
1089
+ avatar?: string;
1090
+ backgroundColor?: string;
1091
+ category?: string;
1092
+ createdAt: string;
1093
+ currentVersionId?: number;
1094
+ description: string;
1095
+ homepage?: string;
1096
+ id: number;
1097
+ identifier: string;
1098
+ isFeatured: boolean;
1099
+ isOfficial: boolean;
1100
+ name: string;
1101
+ ownerId: number;
1102
+ status: string;
1103
+ updatedAt: string;
1104
+ visibility: string;
1105
+ };
1106
+ groupVersion: {
1107
+ agentGroupId: number;
1108
+ createdAt: string;
1109
+ description: string;
1110
+ id: number;
1111
+ isLatest: boolean;
1112
+ name: string;
1113
+ status: string;
1114
+ version: string;
1115
+ versionNumber: number;
1116
+ };
1117
+ memberAgents: Array<{
1118
+ agentGroupId: number;
1119
+ createdAt: string;
1120
+ displayOrder: number;
1121
+ enabled: boolean;
1122
+ id: number;
1123
+ identifier: string;
1124
+ name: string;
1125
+ role: string;
1126
+ updatedAt: string;
1127
+ }>;
1128
+ }
1129
+ /**
1130
+ * Member agent update for version create
1131
+ */
1132
+ interface UpdateMemberAgent {
1133
+ avatar?: string;
1134
+ category?: string;
1135
+ config?: any;
1136
+ description?: string;
1137
+ identifier: string;
1138
+ name?: string;
1139
+ url?: string;
1140
+ }
1141
+ /**
1142
+ * Create agent group version request
1143
+ */
1144
+ interface AgentGroupVersionCreateRequest {
1145
+ avatar?: string;
1146
+ backgroundColor?: string;
1147
+ category?: string;
1148
+ changelog?: string;
1149
+ config?: any;
1150
+ description?: string;
1151
+ identifier: string;
1152
+ memberAgents?: UpdateMemberAgent[];
1153
+ name?: string;
1154
+ tags?: any;
1155
+ }
1156
+ /**
1157
+ * Create agent group version response
1158
+ */
1159
+ interface AgentGroupVersionCreateResponse {
1160
+ groupVersion: {
1161
+ agentGroupId: number;
1162
+ changelog?: string;
1163
+ createdAt: string;
1164
+ description: string;
1165
+ id: number;
1166
+ isLatest: boolean;
1167
+ name: string;
1168
+ status: string;
1169
+ version: string;
1170
+ versionNumber: number;
1171
+ };
1172
+ memberVersions: Array<{
1173
+ agentForGroupId: number;
1174
+ createdAt: string;
1175
+ description: string;
1176
+ id: number;
1177
+ name: string;
1178
+ url: string;
1179
+ version: string;
1180
+ versionNumber: number;
1181
+ }>;
1182
+ }
1183
+ /**
1184
+ * Modify agent group request
1185
+ */
1186
+ interface AgentGroupModifyRequest {
1187
+ avatar?: string;
1188
+ backgroundColor?: string;
1189
+ category?: string;
1190
+ homepage?: string;
1191
+ identifier: string;
1192
+ isFeatured?: boolean;
1193
+ isOfficial?: boolean;
1194
+ name?: string;
1195
+ status?: 'published' | 'unpublished' | 'archived' | 'deprecated';
1196
+ visibility?: 'public' | 'private' | 'internal';
1197
+ }
1198
+ /**
1199
+ * Modify agent group response
1200
+ */
1201
+ interface AgentGroupModifyResponse {
1202
+ avatar?: string;
1203
+ backgroundColor?: string;
1204
+ category?: string;
1205
+ createdAt: string;
1206
+ currentVersionId?: number;
1207
+ description: string;
1208
+ homepage?: string;
1209
+ id: number;
1210
+ identifier: string;
1211
+ isFeatured: boolean;
1212
+ isOfficial: boolean;
1213
+ name: string;
1214
+ ownerId: number;
1215
+ status: string;
1216
+ updatedAt: string;
1217
+ visibility: string;
1218
+ }
1219
+ /**
1220
+ * Agent group status
1221
+ */
1222
+ type AgentGroupStatus = 'published' | 'unpublished' | 'archived' | 'deprecated';
1223
+ /**
1224
+ * Agent group status change response
1225
+ */
1226
+ interface AgentGroupStatusChangeResponse {
1227
+ identifier: string;
1228
+ status: AgentGroupStatus;
1229
+ success: boolean;
1230
+ }
1231
+
805
1232
  /**
806
1233
  * Market Service Discovery Document
807
1234
  *
@@ -1862,6 +2289,43 @@ interface UserAgentItem {
1862
2289
  /** Last update timestamp */
1863
2290
  updatedAt: string;
1864
2291
  }
2292
+ /**
2293
+ * User Agent Group Item
2294
+ *
2295
+ * Represents a simplified agent group item for user profile display
2296
+ */
2297
+ interface UserAgentGroupItem {
2298
+ /** Avatar emoji or URL */
2299
+ avatar?: string;
2300
+ /** Background color hex code */
2301
+ backgroundColor?: string;
2302
+ /** Agent group category */
2303
+ category?: string;
2304
+ /** Creation timestamp */
2305
+ createdAt: string;
2306
+ /** Agent group description */
2307
+ description?: string;
2308
+ /** Total favorite count */
2309
+ favoriteCount: number;
2310
+ /** Agent group database ID */
2311
+ id: string;
2312
+ /** Agent group unique identifier */
2313
+ identifier: string;
2314
+ /** Total install count */
2315
+ installCount: number;
2316
+ /** Whether the agent group is featured */
2317
+ isFeatured: boolean;
2318
+ /** Whether the agent group is officially maintained */
2319
+ isOfficial: boolean;
2320
+ /** Total like count */
2321
+ likeCount: number;
2322
+ /** Agent group name */
2323
+ name: string;
2324
+ /** Last update timestamp */
2325
+ updatedAt: string;
2326
+ /** Current version number */
2327
+ versionNumber?: number;
2328
+ }
1865
2329
  /**
1866
2330
  * User Info Query
1867
2331
  *
@@ -1877,6 +2341,8 @@ interface UserInfoQuery {
1877
2341
  * Response structure for getUserInfo endpoint
1878
2342
  */
1879
2343
  interface UserInfoResponse {
2344
+ /** List of user's published public agent groups */
2345
+ agentGroups: UserAgentGroupItem[];
1880
2346
  /** List of user's published public agents */
1881
2347
  agents: UserAgentItem[];
1882
2348
  /** User profile information */
@@ -2031,14 +2497,14 @@ interface FollowListResponse {
2031
2497
  /**
2032
2498
  * Target Type for favorites and likes
2033
2499
  */
2034
- type InteractionTargetType = 'agent' | 'plugin';
2500
+ type InteractionTargetType = 'agent' | 'plugin' | 'agent-group';
2035
2501
  /**
2036
2502
  * Favorite Request
2037
2503
  *
2038
2504
  * Request body for add/remove favorite operations
2039
2505
  */
2040
2506
  interface FavoriteRequest {
2041
- /** The identifier of the target agent/plugin */
2507
+ /** The identifier of the target agent, plugin, or agent group */
2042
2508
  targetId: string;
2043
2509
  /** The type of target */
2044
2510
  targetType: InteractionTargetType;
@@ -2049,7 +2515,7 @@ interface FavoriteRequest {
2049
2515
  * Query parameters for checking favorite status
2050
2516
  */
2051
2517
  interface CheckFavoriteQuery {
2052
- /** The identifier of the target agent/plugin */
2518
+ /** The identifier of the target agent, plugin, or agent group */
2053
2519
  targetId: string;
2054
2520
  /** The type of target */
2055
2521
  targetType: InteractionTargetType;
@@ -2091,7 +2557,7 @@ interface FavoriteListResponse {
2091
2557
  * Request body for like/unlike operations
2092
2558
  */
2093
2559
  interface LikeRequest {
2094
- /** The identifier of the target agent/plugin */
2560
+ /** The identifier of the target agent, plugin, or agent group */
2095
2561
  targetId: string;
2096
2562
  /** The type of target */
2097
2563
  targetType: InteractionTargetType;
@@ -2102,7 +2568,7 @@ interface LikeRequest {
2102
2568
  * Query parameters for checking like status
2103
2569
  */
2104
2570
  interface CheckLikeQuery {
2105
- /** The identifier of the target agent/plugin */
2571
+ /** The identifier of the target agent, plugin, or agent group */
2106
2572
  targetId: string;
2107
2573
  /** The type of target */
2108
2574
  targetType: InteractionTargetType;
@@ -3656,6 +4122,149 @@ declare class AgentService extends BaseSDK {
3656
4122
  deprecate(identifier: string, options?: globalThis.RequestInit): Promise<AgentStatusChangeResponse>;
3657
4123
  }
3658
4124
 
4125
+ /**
4126
+ * Agent Groups Service
4127
+ *
4128
+ * Provides access to agent group-related functionality in the LobeHub Marketplace.
4129
+ * This service handles listing, creating, versioning, and managing agent groups.
4130
+ */
4131
+ declare class AgentGroupService extends BaseSDK {
4132
+ /**
4133
+ * Retrieves a list of agent groups from the marketplace
4134
+ *
4135
+ * Supports filtering, pagination, and localization of results.
4136
+ *
4137
+ * @param params - Query parameters for filtering and pagination
4138
+ * @param options - Optional request options
4139
+ * @returns Promise resolving to the agent group list response containing items and pagination info
4140
+ */
4141
+ getAgentGroupList(params?: AgentGroupListQuery, options?: globalThis.RequestInit): Promise<AgentGroupListResponse>;
4142
+ /**
4143
+ * Retrieves a list of agent groups owned by the authenticated user
4144
+ *
4145
+ * Returns all agent groups regardless of their publish status (published, unpublished,
4146
+ * archived, deprecated). Requires authentication.
4147
+ *
4148
+ * @param params - Query parameters for filtering and pagination
4149
+ * @param options - Optional request options (must include authentication)
4150
+ * @returns Promise resolving to the agent group list response containing items with status field
4151
+ */
4152
+ getOwnAgentGroups(params?: OwnAgentGroupListQuery, options?: globalThis.RequestInit): Promise<AgentGroupListResponse>;
4153
+ /**
4154
+ * Retrieves detailed information about a specific agent group
4155
+ *
4156
+ * Returns complete agent group information including group metadata,
4157
+ * all member agents, and localized content.
4158
+ *
4159
+ * @param identifier - Unique identifier of the agent group
4160
+ * @param params - Query parameters for locale and version
4161
+ * @param options - Optional request options
4162
+ * @returns Promise resolving to the agent group detail information
4163
+ */
4164
+ getAgentGroupDetail(identifier: string, params?: Omit<AgentGroupDetailQuery, 'identifier'>, options?: globalThis.RequestInit): Promise<AgentGroupDetail>;
4165
+ /**
4166
+ * Creates a new agent group in the marketplace
4167
+ *
4168
+ * Creates a new agent group with initial version (v1) and all member agents.
4169
+ * Requires authentication and ownership.
4170
+ *
4171
+ * @param groupData - The agent group data to create
4172
+ * @param options - Optional request options
4173
+ * @returns Promise resolving to the created agent group response
4174
+ */
4175
+ createAgentGroup(groupData: AgentGroupCreateRequest, options?: globalThis.RequestInit): Promise<AgentGroupCreateResponse>;
4176
+ /**
4177
+ * Creates a new version for an existing agent group
4178
+ *
4179
+ * Creates a new version with unified version number for the group and all member agents.
4180
+ * Fields not provided will be inherited from the latest version.
4181
+ *
4182
+ * @param versionData - The version data to create
4183
+ * @param options - Optional request options
4184
+ * @returns Promise resolving to the created version response
4185
+ */
4186
+ createAgentGroupVersion(versionData: AgentGroupVersionCreateRequest, options?: globalThis.RequestInit): Promise<AgentGroupVersionCreateResponse>;
4187
+ /**
4188
+ * Modifies an existing agent group
4189
+ *
4190
+ * Updates the agent group's base information. Can be used to change status,
4191
+ * metadata, or other group properties. Only the owner can modify the group.
4192
+ *
4193
+ * @param groupData - The agent group data to modify
4194
+ * @param options - Optional request options
4195
+ * @returns Promise resolving to the modified agent group response
4196
+ */
4197
+ modifyAgentGroup(groupData: AgentGroupModifyRequest, options?: globalThis.RequestInit): Promise<AgentGroupModifyResponse>;
4198
+ /**
4199
+ * Checks if an agent group exists in the marketplace
4200
+ *
4201
+ * @param identifier - Unique identifier of the agent group
4202
+ * @param options - Optional request options
4203
+ * @returns Promise resolving to true if agent group exists, false otherwise
4204
+ */
4205
+ checkAgentGroupExists(identifier: string, options?: globalThis.RequestInit): Promise<boolean>;
4206
+ /**
4207
+ * Changes the status of an agent group
4208
+ *
4209
+ * Internal helper method used by publish/unpublish/archive/deprecate methods.
4210
+ * Requires authentication.
4211
+ *
4212
+ * @param identifier - Unique identifier of the agent group
4213
+ * @param status - New status to set
4214
+ * @param options - Optional request options
4215
+ * @returns Promise resolving to the status change response
4216
+ */
4217
+ private changeStatus;
4218
+ /**
4219
+ * Publishes an agent group to the marketplace
4220
+ *
4221
+ * Makes the agent group publicly visible and available for use.
4222
+ * Requires authentication and ownership of the agent group.
4223
+ * Only groups with "Safe" safety check status can be published.
4224
+ *
4225
+ * @param identifier - Unique identifier of the agent group
4226
+ * @param options - Optional request options
4227
+ * @returns Promise resolving to the status change response
4228
+ */
4229
+ publish(identifier: string, options?: globalThis.RequestInit): Promise<AgentGroupStatusChangeResponse>;
4230
+ /**
4231
+ * Unpublishes an agent group from the marketplace
4232
+ *
4233
+ * Hides the agent group from public view. The agent group data is preserved
4234
+ * and can be republished later.
4235
+ * Requires authentication and ownership of the agent group.
4236
+ *
4237
+ * @param identifier - Unique identifier of the agent group
4238
+ * @param options - Optional request options
4239
+ * @returns Promise resolving to the status change response
4240
+ */
4241
+ unpublish(identifier: string, options?: globalThis.RequestInit): Promise<AgentGroupStatusChangeResponse>;
4242
+ /**
4243
+ * Archives an agent group
4244
+ *
4245
+ * Marks the agent group as archived. Archived agent groups are typically
4246
+ * no longer actively maintained but may still be accessible.
4247
+ * Requires authentication and ownership of the agent group.
4248
+ *
4249
+ * @param identifier - Unique identifier of the agent group
4250
+ * @param options - Optional request options
4251
+ * @returns Promise resolving to the status change response
4252
+ */
4253
+ archive(identifier: string, options?: globalThis.RequestInit): Promise<AgentGroupStatusChangeResponse>;
4254
+ /**
4255
+ * Deprecates an agent group
4256
+ *
4257
+ * Marks the agent group as deprecated. Deprecated agent groups are still
4258
+ * accessible but users are encouraged to migrate to alternatives.
4259
+ * Requires authentication and ownership of the agent group.
4260
+ *
4261
+ * @param identifier - Unique identifier of the agent group
4262
+ * @param options - Optional request options
4263
+ * @returns Promise resolving to the status change response
4264
+ */
4265
+ deprecate(identifier: string, options?: globalThis.RequestInit): Promise<AgentGroupStatusChangeResponse>;
4266
+ }
4267
+
3659
4268
  /**
3660
4269
  * Auth Service
3661
4270
  *
@@ -4684,6 +5293,11 @@ declare class MarketSDK extends BaseSDK {
4684
5293
  * Provides methods to list, search, retrieve agent information, and upload agents
4685
5294
  */
4686
5295
  readonly agents: AgentService;
5296
+ /**
5297
+ * Agent Groups service for accessing agent group-related functionality
5298
+ * Provides methods to list, create, version, and manage agent groups
5299
+ */
5300
+ readonly agentGroups: AgentGroupService;
4687
5301
  /**
4688
5302
  * Auth service for authentication and authorization
4689
5303
  * Provides methods for OIDC user authentication, client registration, and M2M token management
@@ -4864,4 +5478,4 @@ declare function buildTrustedClientPayload(params: {
4864
5478
  userId: string;
4865
5479
  }): TrustedClientPayload;
4866
5480
 
4867
- export { type AccountMeta, type AdminListQueryParams, type AdminListResponse, type AdminPluginParams, type AgentCreateRequest, type AgentCreateResponse, type AgentDetailQuery, type AgentExtension, type AgentInstallCountRequest, type AgentInstallCountResponse, type AgentInterface, type AgentItemDetail, type AgentListQuery, type AgentListResponse, type AgentModifyRequest, type AgentModifyResponse, 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 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, MarketSDK, type MarketSDKOptions, type MoveLocalFilesParams, type MoveOperation, type OAuthConnection, type OAuthTokenResponse, 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, type SearchLocalFilesParams, type SharedTokenState, type SkillCallParams, type SkillErrorResponse, type SkillProviderInfo, type SkillProviderStatus, type SkillTool, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SuccessResponse, type ToggleLikeResponse, type TrustedClientPayload, type UnclaimedPluginItem, type UpdateUserInfoRequest, type UpdateUserInfoResponse, type UserAgentItem, type UserInfoQuery, type UserInfoResponse, type UserProfile, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };
5481
+ export { type AccountMeta, type AdminListQueryParams, type AdminListResponse, type AdminPluginParams, type AgentCreateRequest, type AgentCreateResponse, type AgentDetailQuery, type AgentExtension, type AgentGroupCreateRequest, type AgentGroupCreateResponse, type AgentGroupDetail, type AgentGroupDetailQuery, 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 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, MarketSDK, type MarketSDKOptions, 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, type SearchLocalFilesParams, type SharedTokenState, type SkillCallParams, type SkillErrorResponse, type SkillProviderInfo, type SkillProviderStatus, type SkillTool, StatusEnumSchema, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SuccessResponse, type ToggleLikeResponse, type TrustedClientPayload, type UnclaimedPluginItem, type UpdateMemberAgent, type UpdateUserInfoRequest, type UpdateUserInfoResponse, type UserAgentGroupItem, type UserAgentItem, type UserInfoQuery, type UserInfoResponse, type UserProfile, VisibilityEnumSchema, type WriteLocalFileParams, buildTrustedClientPayload, createTrustedClientToken, generateNonce };