@lobehub/market-sdk 0.22.10-beta.0 → 0.22.12-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.
Files changed (2) hide show
  1. package/dist/index.d.mts +53 -10
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -283,39 +283,82 @@ interface AgentDetailQuery {
283
283
  */
284
284
  interface AgentItemDetail extends AgentItem {
285
285
  /** A2A protocol version */
286
- a2aProtocolVersion: string;
286
+ a2aProtocolVersion?: string;
287
+ /** Author (may come from marketplace base but ensure presence) */
288
+ author?: string;
289
+ /** Avatar URL for the agent, can be a emoji */
290
+ avatar: string;
291
+ /** Total comment count */
292
+ commentCount?: number;
287
293
  /** Agent configuration JSON */
288
- config: any;
294
+ config?: any;
295
+ /** Current version id */
296
+ currentVersionId?: number;
289
297
  /** URL to human-readable documentation */
290
298
  documentationUrl?: string;
299
+ /** Examples for usage */
300
+ examples?: string[];
291
301
  /** Supported protocol extensions */
292
302
  extensions?: any[];
293
303
  /** Whether push notifications are supported */
294
- hasPushNotifications: boolean;
304
+ hasPushNotifications?: boolean;
295
305
  /** Whether state transition history is supported */
296
- hasStateTransitionHistory: boolean;
306
+ hasStateTransitionHistory?: boolean;
297
307
  /** Whether streaming is supported */
298
- hasStreaming: boolean;
308
+ hasStreaming?: boolean;
309
+ /** Agent database id */
310
+ id?: number;
311
+ /** Total install count */
312
+ installCount?: number;
299
313
  /** Additional interfaces supported */
300
314
  interfaces?: any[];
315
+ /** Whether featured */
316
+ isFeatured?: boolean;
317
+ /** Whether officially maintained */
318
+ isOfficial?: boolean;
319
+ /** Locale */
320
+ locale?: string;
301
321
  /** Owner ID */
302
- ownerId?: string;
322
+ ownerId?: number;
303
323
  /** The transport of the preferred endpoint */
304
- preferredTransport: string;
324
+ preferredTransport?: string;
325
+ /** Average rating */
326
+ ratingAverage?: number | null;
327
+ /** Rating count */
328
+ ratingCount?: number;
305
329
  /** Security requirements */
306
330
  securityRequirements?: any[];
307
331
  /** Security schemes */
308
332
  securitySchemes?: any;
309
333
  /** Agent skills */
310
334
  skills?: AgentSkill[];
335
+ /** Publication status */
336
+ status?: 'published' | 'unpublished' | 'archived' | 'deprecated' | 'all' | string | null;
311
337
  /** A summary that helps find the correct agent */
312
338
  summary?: string;
313
339
  /** Whether the agent supports authenticated extended card */
314
- supportsAuthenticatedExtendedCard: boolean;
340
+ supportsAuthenticatedExtendedCard?: boolean;
341
+ /** Tags */
342
+ tags?: string[];
343
+ /** Token usage */
344
+ tokenUsage?: number;
315
345
  /** Agent or A2A implementation version string */
316
- version: string;
346
+ version?: string;
347
+ /** Version display name */
348
+ versionName?: string;
317
349
  /** Incremental version number */
318
- versionNumber: number;
350
+ versionNumber?: number;
351
+ /** Version list summary */
352
+ versions?: Array<{
353
+ isLatest: boolean;
354
+ isValidated: boolean;
355
+ status: string | null;
356
+ updatedAt: string;
357
+ version: string;
358
+ versionNumber: number;
359
+ }>;
360
+ /** Visibility */
361
+ visibility?: 'public' | 'private' | 'internal' | 'all' | string;
319
362
  }
320
363
  /**
321
364
  * Agent skill structure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/market-sdk",
3
- "version": "0.22.10-beta.0",
3
+ "version": "0.22.12-beta.0",
4
4
  "description": "LobeHub Market JavaScript SDK",
5
5
  "keywords": [
6
6
  "lobehub",