@lobehub/market-sdk 0.27.0 → 0.27.2

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 +22 -2
  2. package/package.json +3 -4
package/dist/index.d.mts CHANGED
@@ -288,16 +288,24 @@ interface AgentDetailQuery {
288
288
  interface AgentItemDetail extends AgentItem {
289
289
  /** A2A protocol version */
290
290
  a2aProtocolVersion?: string;
291
- /** Author (may come from marketplace base but ensure presence) */
291
+ /** Author or organization name */
292
292
  author?: string;
293
293
  /** Avatar URL for the agent, can be a emoji */
294
294
  avatar: string;
295
+ /** Category name used for classification */
296
+ category?: string;
295
297
  /** Total comment count */
296
298
  commentCount?: number;
299
+ /** Optional: Compatibility information for different platforms or versions */
300
+ compatibility?: Record<string, any>;
297
301
  /** Agent configuration JSON */
298
302
  config: any;
303
+ /** Resource creation date in the marketplace (ISO 8601 format) */
304
+ createdAt: string;
299
305
  /** Current version id */
300
306
  currentVersionId?: number;
307
+ /** Localized short description displayed in the marketplace listing */
308
+ description: string;
301
309
  /** URL to human-readable documentation */
302
310
  documentationUrl?: string;
303
311
  /** Editor data for saving prompt content in editor mode */
@@ -312,8 +320,14 @@ interface AgentItemDetail extends AgentItem {
312
320
  hasStateTransitionHistory?: boolean;
313
321
  /** Whether streaming is supported */
314
322
  hasStreaming?: boolean;
323
+ /** URL to the resource's homepage or documentation */
324
+ homepage?: string;
325
+ /** Icon URL or Emoji character */
326
+ icon?: string;
315
327
  /** Agent database id */
316
328
  id?: number;
329
+ /** Globally unique identifier, typically contains author/namespace and name */
330
+ identifier: string;
317
331
  /** Total install count */
318
332
  installCount?: number;
319
333
  /** Additional interfaces supported */
@@ -324,6 +338,10 @@ interface AgentItemDetail extends AgentItem {
324
338
  isOfficial?: boolean;
325
339
  /** Locale */
326
340
  locale?: string;
341
+ /** URL pointing to the detailed manifest file for this resource */
342
+ manifestUrl: string;
343
+ /** Localized display name shown in the marketplace listing */
344
+ name: string;
327
345
  /** Owner ID */
328
346
  ownerId?: number;
329
347
  /** The transport of the preferred endpoint */
@@ -344,10 +362,12 @@ interface AgentItemDetail extends AgentItem {
344
362
  summary?: string;
345
363
  /** Whether the agent supports authenticated extended card */
346
364
  supportsAuthenticatedExtendedCard?: boolean;
347
- /** Tags */
365
+ /** List of localized tags for filtering and categorization */
348
366
  tags?: string[];
349
367
  /** Token usage */
350
368
  tokenUsage?: number;
369
+ /** Resource's last update date in the marketplace (ISO 8601 format) */
370
+ updatedAt: string;
351
371
  /** Agent or A2A implementation version string */
352
372
  version: string;
353
373
  /** Version display name */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/market-sdk",
3
- "version": "0.27.0",
3
+ "version": "0.27.2",
4
4
  "description": "LobeHub Market JavaScript SDK",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -25,13 +25,12 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@lobehub/market-types": "1.11.4",
29
28
  "debug": "^4.4.1",
30
29
  "jose": "^6.0.11",
31
- "url-join": "^5.0.0"
30
+ "url-join": "^5.0.0",
31
+ "@lobehub/market-types": "1.12.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@lobehub/market-types": "1.11.4",
35
34
  "zod": "^3.24.4"
36
35
  }
37
36
  }