@lobehub/market-sdk 0.41.0 → 0.42.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 +403 -354
- package/dist/index.mjs +783 -448
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgentMarketListQuery, AgentSkill, UserCredSummary, SandboxMode, AdminAgentCreateInput, AdminAgentCreateResponse, AgentItemDetail, AdminAgentVersionUpdateInput, AdminAgentVersionCreateInput, 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, AdminSkillCreateRequest, AdminSkillUpdateResponse, AdminSkillGitHubImportRequest, AdminSkillImportResponse, AdminSkillDetail, AdminSkillUpdateRequest, AdminSkillListQuery, AdminSkillListResponse, AssetCategoryAdminListQuery, AssetCategoryAdminList, AssetCategoryType, AssetCategoryCreate, AssetCategory, AssetCategoryUpdate, AssetCategoryDelete, AdminSandboxSessionQuery, AdminSandboxSessionList, AdminSandboxSession, AdminSandboxEfsUsage, AdminSandboxStorageQuery, AdminSandboxStorageList, AdminSandboxStorage, AgentListResponse, SitemapResponse, AgentEventRequest, SkillCredStatus, InjectCredsRequest, InjectCredsResponse, InjectCredsForSkillRequest, InjectCredsForSkillResponse, PrepareDeploymentUploadRequest, IngestedDeploymentUpload, PluginListResponse, CategoryListQuery, CategoryItem, PluginItemDetail, InstallReportRequest, InstallReportResponse, CallReportRequest, CallReportResponse, PluginEventRequest, CloudGatewayRequest, CloudGatewayResponse, SandboxStorageInfo, SandboxStorageFileList, SandboxStorageFileContent, SandboxStorageWriteResult, SandboxSessionList, SandboxInstanceList, MyOrganizationItem, CreateOrganizationRequest, CreateOrganizationResponse, UpdateOrganizationRequest, OrganizationItem, OrganizationMemberItem, OrganizationMemberRole, AddMemberResponse, UpdateMemberRoleResponse, ReconcileMembersRequest, ReconcileMembersResponse, AssetCategoryItem, SandboxStorageClaim } from '@lobehub/market-types';
|
|
2
2
|
export * from '@lobehub/market-types';
|
|
3
|
-
export { CategoryItem, CategoryListQuery, CategoryListResponse, CredType, InjectCredsForSkillRequest, InjectCredsForSkillResponse, InjectCredsRequest, InjectCredsResponse, InjectedFileInfo, SkillCredStatus, UserCredSummary } from '@lobehub/market-types';
|
|
3
|
+
export { AgentItemDetail, AgentListResponse, AgentSkill, CategoryItem, CategoryListQuery, CategoryListResponse, CredType, IngestedDeploymentUpload, InjectCredsForSkillRequest, InjectCredsForSkillResponse, InjectCredsRequest, InjectCredsResponse, InjectedFileInfo, MarketPluginItem as PluginItem, PluginListResponse, PrepareDeploymentUploadRequest, PublishPlanLimits, PublishTarget, SandboxInstance, SandboxInstanceList, SandboxInstanceSnapshot, SandboxSessionEndReason, SandboxSessionKind, SandboxSessionList, SandboxSessionRecord, SandboxStorageClaim, SandboxStorageFileContent, SandboxStorageFileEntry, SandboxStorageFileList, SandboxStorageInfo, SandboxStorageStatus, SandboxStorageWriteResult, SkillCredStatus, UserCredSummary } from '@lobehub/market-types';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
|
6
6
|
|
|
@@ -118,6 +118,8 @@ interface PluginVersionCreateParams {
|
|
|
118
118
|
readme?: string;
|
|
119
119
|
/** Array of resource definitions */
|
|
120
120
|
resources?: any[];
|
|
121
|
+
/** Clone deployment options and dependency links from a version of the same plugin. */
|
|
122
|
+
sourceVersionId?: number;
|
|
121
123
|
/** Summary of the plugin version */
|
|
122
124
|
summary?: string;
|
|
123
125
|
/** Array of tags for categorization */
|
|
@@ -328,48 +330,10 @@ interface UpdateAgentProfileResponse {
|
|
|
328
330
|
agent: AgentProfileEntity;
|
|
329
331
|
}
|
|
330
332
|
|
|
331
|
-
/**
|
|
332
|
-
|
|
333
|
-
* Defines the query parameters for filtering and paginating agent results
|
|
334
|
-
*/
|
|
335
|
-
interface AgentListQuery {
|
|
336
|
-
/** Filter by category */
|
|
337
|
-
category?: string;
|
|
338
|
-
/** Include category counts derived from the same search candidate set */
|
|
339
|
-
includeCategoryCounts?: boolean;
|
|
340
|
-
/** Filter by official status */
|
|
341
|
-
isOfficial?: 'true' | 'false';
|
|
342
|
-
/** Locale for localized content */
|
|
343
|
-
locale?: string;
|
|
344
|
-
/** Sort order */
|
|
345
|
-
order?: 'asc' | 'desc';
|
|
346
|
-
/** Filter by owner ID */
|
|
333
|
+
/** SDK callers may pass a numeric owner ID as a string. */
|
|
334
|
+
type AgentListQuery = Omit<AgentMarketListQuery, 'ownerId'> & {
|
|
347
335
|
ownerId?: number | string;
|
|
348
|
-
|
|
349
|
-
page?: number;
|
|
350
|
-
/** Number of items per page */
|
|
351
|
-
pageSize?: number;
|
|
352
|
-
/** Search query string */
|
|
353
|
-
q?: string;
|
|
354
|
-
/** Sort field */
|
|
355
|
-
sort?: 'createdAt' | 'knowledgeCount' | 'mostUsage' | 'name' | 'pluginCount' | 'recommended' | 'relevance' | 'tokenUsage' | 'updatedAt';
|
|
356
|
-
/** Publication status filter */
|
|
357
|
-
status?: 'published' | 'unpublished' | 'archived' | 'deprecated' | 'all';
|
|
358
|
-
/** Visibility filter */
|
|
359
|
-
visibility?: 'public' | 'private' | 'internal' | 'all';
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Agent list response structure
|
|
363
|
-
* Defines the structure of the agent list API response
|
|
364
|
-
*/
|
|
365
|
-
interface AgentListResponse {
|
|
366
|
-
categoryCounts?: CategoryItem[];
|
|
367
|
-
currentPage: number;
|
|
368
|
-
items: AgentItem[];
|
|
369
|
-
pageSize: number;
|
|
370
|
-
totalCount: number;
|
|
371
|
-
totalPages: number;
|
|
372
|
-
}
|
|
336
|
+
};
|
|
373
337
|
/**
|
|
374
338
|
* Agent detail query parameters
|
|
375
339
|
* Defines the query parameters for retrieving agent details
|
|
@@ -380,139 +344,6 @@ interface AgentDetailQuery {
|
|
|
380
344
|
/** Specific version number to retrieve */
|
|
381
345
|
version?: string;
|
|
382
346
|
}
|
|
383
|
-
/**
|
|
384
|
-
* Agent detail response structure
|
|
385
|
-
* Represents the complete agent information including A2A AgentCard data
|
|
386
|
-
*/
|
|
387
|
-
interface AgentItemDetail extends AgentItem {
|
|
388
|
-
/** A2A protocol version */
|
|
389
|
-
a2aProtocolVersion?: string;
|
|
390
|
-
/** Author or organization name */
|
|
391
|
-
author?: string;
|
|
392
|
-
/** Avatar URL for the agent, can be a emoji */
|
|
393
|
-
avatar: string;
|
|
394
|
-
/** Category name used for classification */
|
|
395
|
-
category?: string;
|
|
396
|
-
/** Total comment count */
|
|
397
|
-
commentCount?: number;
|
|
398
|
-
/** Optional: Compatibility information for different platforms or versions */
|
|
399
|
-
compatibility?: Record<string, any>;
|
|
400
|
-
/** Agent configuration JSON */
|
|
401
|
-
config: any;
|
|
402
|
-
/** Resource creation date in the marketplace (ISO 8601 format) */
|
|
403
|
-
createdAt: string;
|
|
404
|
-
/** Current version id */
|
|
405
|
-
currentVersionId?: number;
|
|
406
|
-
/** Localized short description displayed in the marketplace listing */
|
|
407
|
-
description: string;
|
|
408
|
-
/** URL to human-readable documentation */
|
|
409
|
-
documentationUrl?: string;
|
|
410
|
-
/** Editor data for saving prompt content in editor mode */
|
|
411
|
-
editorData?: Record<string, any>;
|
|
412
|
-
/** Examples for usage */
|
|
413
|
-
examples?: string[];
|
|
414
|
-
/** Supported protocol extensions */
|
|
415
|
-
extensions?: any[];
|
|
416
|
-
/** Whether push notifications are supported */
|
|
417
|
-
hasPushNotifications?: boolean;
|
|
418
|
-
/** Whether state transition history is supported */
|
|
419
|
-
hasStateTransitionHistory?: boolean;
|
|
420
|
-
/** Whether streaming is supported */
|
|
421
|
-
hasStreaming?: boolean;
|
|
422
|
-
/** URL to the resource's homepage or documentation */
|
|
423
|
-
homepage?: string;
|
|
424
|
-
/** Icon URL or Emoji character */
|
|
425
|
-
icon?: string;
|
|
426
|
-
/** Agent database id */
|
|
427
|
-
id?: number;
|
|
428
|
-
/** Globally unique identifier, typically contains author/namespace and name */
|
|
429
|
-
identifier: string;
|
|
430
|
-
/** Total install count */
|
|
431
|
-
installCount?: number;
|
|
432
|
-
/** Additional interfaces supported */
|
|
433
|
-
interfaces?: any[];
|
|
434
|
-
/** Whether featured */
|
|
435
|
-
isFeatured?: boolean;
|
|
436
|
-
/** Whether officially maintained */
|
|
437
|
-
isOfficial?: boolean;
|
|
438
|
-
/** Locale */
|
|
439
|
-
locale?: string;
|
|
440
|
-
/** URL pointing to the detailed manifest file for this resource */
|
|
441
|
-
manifestUrl: string;
|
|
442
|
-
/** Localized display name shown in the marketplace listing */
|
|
443
|
-
name: string;
|
|
444
|
-
/** Owner ID */
|
|
445
|
-
ownerId?: number;
|
|
446
|
-
/** The transport of the preferred endpoint */
|
|
447
|
-
preferredTransport?: string;
|
|
448
|
-
/** Average rating */
|
|
449
|
-
ratingAverage?: number | null;
|
|
450
|
-
/** Rating count */
|
|
451
|
-
ratingCount?: number;
|
|
452
|
-
/** Security requirements */
|
|
453
|
-
securityRequirements?: any[];
|
|
454
|
-
/** Security schemes */
|
|
455
|
-
securitySchemes?: any;
|
|
456
|
-
/** Agent skills */
|
|
457
|
-
skills?: AgentSkill[];
|
|
458
|
-
/** Publication status */
|
|
459
|
-
status?: 'published' | 'unpublished' | 'archived' | 'deprecated' | 'all' | string | null;
|
|
460
|
-
/** A summary that helps find the correct agent */
|
|
461
|
-
summary?: string;
|
|
462
|
-
/** Whether the agent supports authenticated extended card */
|
|
463
|
-
supportsAuthenticatedExtendedCard?: boolean;
|
|
464
|
-
/** List of localized tags for filtering and categorization */
|
|
465
|
-
tags?: string[];
|
|
466
|
-
/** Token usage */
|
|
467
|
-
tokenUsage?: number;
|
|
468
|
-
/** Resource's last update date in the marketplace (ISO 8601 format) */
|
|
469
|
-
updatedAt: string;
|
|
470
|
-
/** Agent or A2A implementation version string */
|
|
471
|
-
version: string;
|
|
472
|
-
/** Version display name */
|
|
473
|
-
versionName?: string;
|
|
474
|
-
/** Incremental version number */
|
|
475
|
-
versionNumber: number;
|
|
476
|
-
/** Version list summary */
|
|
477
|
-
versions?: Array<{
|
|
478
|
-
isLatest: boolean;
|
|
479
|
-
isValidated: boolean;
|
|
480
|
-
status: string | null;
|
|
481
|
-
updatedAt: string;
|
|
482
|
-
version: string;
|
|
483
|
-
versionNumber: number;
|
|
484
|
-
}>;
|
|
485
|
-
/** Visibility */
|
|
486
|
-
visibility?: 'public' | 'private' | 'internal' | 'all' | string;
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* Agent skill structure
|
|
490
|
-
* Represents a skill that an agent can perform
|
|
491
|
-
*/
|
|
492
|
-
interface AgentSkill {
|
|
493
|
-
/** Skill description */
|
|
494
|
-
description: string;
|
|
495
|
-
/** Example prompts or use cases */
|
|
496
|
-
examples?: string[];
|
|
497
|
-
/** Input Media Types for this skill */
|
|
498
|
-
inputModes?: string[];
|
|
499
|
-
/** Localized skill information */
|
|
500
|
-
localizations?: Array<{
|
|
501
|
-
description: string;
|
|
502
|
-
examples?: string[];
|
|
503
|
-
locale: string;
|
|
504
|
-
name: string;
|
|
505
|
-
tags: string[];
|
|
506
|
-
}>;
|
|
507
|
-
/** Human-readable skill name */
|
|
508
|
-
name: string;
|
|
509
|
-
/** Output Media Types for this skill */
|
|
510
|
-
outputModes?: string[];
|
|
511
|
-
/** Unique skill identifier within the agent */
|
|
512
|
-
skillId: string;
|
|
513
|
-
/** Keywords/categories for discoverability */
|
|
514
|
-
tags: string[];
|
|
515
|
-
}
|
|
516
347
|
/**
|
|
517
348
|
* Agent Create Request
|
|
518
349
|
* Parameters for creating a new agent
|
|
@@ -1752,18 +1583,6 @@ interface Deployment {
|
|
|
1752
1583
|
title: string | null;
|
|
1753
1584
|
updatedAt: string;
|
|
1754
1585
|
}
|
|
1755
|
-
interface PrepareDeploymentUploadRequest {
|
|
1756
|
-
artifactIdentifier: string;
|
|
1757
|
-
externalMessageId: string;
|
|
1758
|
-
externalTopicId: string;
|
|
1759
|
-
files: Array<{
|
|
1760
|
-
contentType: string;
|
|
1761
|
-
path: string;
|
|
1762
|
-
sizeBytes: number;
|
|
1763
|
-
}>;
|
|
1764
|
-
requestedSlug?: string;
|
|
1765
|
-
title?: string;
|
|
1766
|
-
}
|
|
1767
1586
|
interface PreparedDeploymentUpload {
|
|
1768
1587
|
expiresAt: string;
|
|
1769
1588
|
files: Array<{
|
|
@@ -1774,12 +1593,6 @@ interface PreparedDeploymentUpload {
|
|
|
1774
1593
|
}>;
|
|
1775
1594
|
uploadId: string;
|
|
1776
1595
|
}
|
|
1777
|
-
interface IngestedDeploymentUpload {
|
|
1778
|
-
artifactIdentifier: string;
|
|
1779
|
-
externalTopicId: string;
|
|
1780
|
-
sizeBytes: number;
|
|
1781
|
-
uploadId: string;
|
|
1782
|
-
}
|
|
1783
1596
|
|
|
1784
1597
|
interface ClientRegistrationRequest {
|
|
1785
1598
|
/** Client name (required) */
|
|
@@ -1872,72 +1685,6 @@ interface OAuthTokenResponse {
|
|
|
1872
1685
|
tokenType: string;
|
|
1873
1686
|
}
|
|
1874
1687
|
|
|
1875
|
-
/**
|
|
1876
|
-
* Plugin item in the marketplace
|
|
1877
|
-
* Represents a plugin as displayed in the marketplace listing.
|
|
1878
|
-
*/
|
|
1879
|
-
interface PluginItem extends MarketItemBase {
|
|
1880
|
-
/** Plugin capabilities */
|
|
1881
|
-
capabilities: {
|
|
1882
|
-
/** Whether the plugin provides custom prompts */
|
|
1883
|
-
prompts: boolean;
|
|
1884
|
-
/** Whether the plugin provides resources (assets) */
|
|
1885
|
-
resources: boolean;
|
|
1886
|
-
/** Whether the plugin provides tools (functions) */
|
|
1887
|
-
tools: boolean;
|
|
1888
|
-
};
|
|
1889
|
-
/** Number of comments on this plugin */
|
|
1890
|
-
commentCount?: number;
|
|
1891
|
-
/** Connection type strategy for communicating with the plugin */
|
|
1892
|
-
connectionType?: PluginConnectionType;
|
|
1893
|
-
/** GitHub repository information */
|
|
1894
|
-
github?: {
|
|
1895
|
-
language?: string;
|
|
1896
|
-
license?: string;
|
|
1897
|
-
stars?: number;
|
|
1898
|
-
url: string;
|
|
1899
|
-
};
|
|
1900
|
-
/** Number of installations */
|
|
1901
|
-
installCount?: number;
|
|
1902
|
-
/** Installation method required by the plugin's recommended deployment option */
|
|
1903
|
-
installationMethods?: string;
|
|
1904
|
-
/** Whether this plugin has been claimed by its original author */
|
|
1905
|
-
isClaimed?: boolean;
|
|
1906
|
-
/** Whether the plugin is featured */
|
|
1907
|
-
isFeatured?: boolean;
|
|
1908
|
-
/** Whether this plugin is officially maintained by LobeHub */
|
|
1909
|
-
isOfficial?: boolean;
|
|
1910
|
-
/** Whether this plugin has been validated */
|
|
1911
|
-
isValidated?: boolean;
|
|
1912
|
-
/** Number of prompts provided by this plugin */
|
|
1913
|
-
promptsCount?: number;
|
|
1914
|
-
/** Average rating (typically 1-5 scale) */
|
|
1915
|
-
ratingAverage?: number;
|
|
1916
|
-
/** Number of ratings received */
|
|
1917
|
-
ratingCount?: number;
|
|
1918
|
-
/** Number of resources provided by this plugin */
|
|
1919
|
-
resourcesCount?: number;
|
|
1920
|
-
/** Number of tools provided by this plugin */
|
|
1921
|
-
toolsCount?: number;
|
|
1922
|
-
}
|
|
1923
|
-
/**
|
|
1924
|
-
* Response structure for plugin listing endpoints
|
|
1925
|
-
* Contains both the plugin items and pagination/filtering metadata.
|
|
1926
|
-
*/
|
|
1927
|
-
interface PluginListResponse {
|
|
1928
|
-
/** Available categories for filtering */
|
|
1929
|
-
categories: string[];
|
|
1930
|
-
/** Current page number (1-based) */
|
|
1931
|
-
currentPage: number;
|
|
1932
|
-
/** Array of plugin items for the current page */
|
|
1933
|
-
items: PluginItem[];
|
|
1934
|
-
/** Number of items per page */
|
|
1935
|
-
pageSize: number;
|
|
1936
|
-
/** Total number of items across all pages */
|
|
1937
|
-
totalCount: number;
|
|
1938
|
-
/** Total number of pages */
|
|
1939
|
-
totalPages: number;
|
|
1940
|
-
}
|
|
1941
1688
|
/**
|
|
1942
1689
|
* Query parameters for plugin listing
|
|
1943
1690
|
* Used to filter, sort, and paginate plugin results.
|
|
@@ -1969,7 +1716,7 @@ interface PluginQueryParams {
|
|
|
1969
1716
|
* internally by the server - sessions are automatically created when needed and
|
|
1970
1717
|
* recreated if expired.
|
|
1971
1718
|
*/
|
|
1972
|
-
type CodeInterpreterToolName = 'editLocalFile' | 'executeCode' | 'exportFile' | 'getCommandOutput' | 'globLocalFiles' | 'grepContent' | 'killCommand' | 'listLocalFiles' | 'moveLocalFiles' | 'readLocalFile' | 'renameLocalFile' | 'runCommand' | 'searchLocalFiles' | 'writeLocalFile';
|
|
1719
|
+
type CodeInterpreterToolName = 'editLocalFile' | 'execScript' | 'executeCode' | 'exportFile' | 'getCommandOutput' | 'globLocalFiles' | 'grepContent' | 'killCommand' | 'listLocalFiles' | 'moveLocalFiles' | 'readLocalFile' | 'renameLocalFile' | 'runCommand' | 'searchLocalFiles' | 'writeLocalFile';
|
|
1973
1720
|
/**
|
|
1974
1721
|
* Request for RunBuildInTools API
|
|
1975
1722
|
*
|
|
@@ -1986,6 +1733,45 @@ interface RunBuildInToolsRequest {
|
|
|
1986
1733
|
paramsB64?: string;
|
|
1987
1734
|
/** Encoding used for `paramsB64`. Omitted means `params` carries plain JSON. */
|
|
1988
1735
|
paramsEncoding?: 'base64';
|
|
1736
|
+
/**
|
|
1737
|
+
* Subdirectory of the persistent workspace this call runs in, relative to its
|
|
1738
|
+
* root (e.g. `drafts/report`). Relative paths in the tool params resolve
|
|
1739
|
+
* against it and shell commands run there.
|
|
1740
|
+
*
|
|
1741
|
+
* Must be a relative path that stays inside the workspace: no leading `/` or
|
|
1742
|
+
* `~`, and no `.`, `..` or empty segments. A value that does not resolve
|
|
1743
|
+
* inside the workspace is rejected rather than ignored, so a bad one fails
|
|
1744
|
+
* loudly instead of silently writing to the workspace root. Meaningless
|
|
1745
|
+
* without a persistent workspace, where there is nothing to be relative to.
|
|
1746
|
+
*/
|
|
1747
|
+
sandboxCwd?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* Environment instance the topic runs (LobeHub's instance id) — its installed
|
|
1750
|
+
* toolchain, carried between sessions. The runtime binds a session to
|
|
1751
|
+
* whichever instance its *first* call names, so the same value has to travel
|
|
1752
|
+
* with every call for a topic.
|
|
1753
|
+
*/
|
|
1754
|
+
sandboxInstanceId?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* Which sandbox this call runs in. Honoured only for a caller whose trust
|
|
1757
|
+
* token carries a workspace entitlement; everyone else gets the throwaway
|
|
1758
|
+
* sandbox whatever they ask for.
|
|
1759
|
+
*
|
|
1760
|
+
* The same value has to travel with every call for a given topic: naming the
|
|
1761
|
+
* throwaway runtime on a topic that is already persistent tears its existing
|
|
1762
|
+
* sandbox down.
|
|
1763
|
+
*/
|
|
1764
|
+
sandboxMode?: SandboxMode;
|
|
1765
|
+
/**
|
|
1766
|
+
* The instance's environment specification (LOBE-14206), forwarded to the
|
|
1767
|
+
* runtime unchanged. Structural only: market does not interpret it.
|
|
1768
|
+
*/
|
|
1769
|
+
sandboxSpecification?: Record<string, unknown>;
|
|
1770
|
+
/**
|
|
1771
|
+
* Absolute working directory on the sandbox's local disk, under `/root/work/`
|
|
1772
|
+
* (LOBE-14206). Mutually exclusive with `sandboxCwd`; not charged to quota.
|
|
1773
|
+
*/
|
|
1774
|
+
sandboxWorkingDir?: string;
|
|
1989
1775
|
/** Tool name to execute */
|
|
1990
1776
|
toolName: CodeInterpreterToolName;
|
|
1991
1777
|
/** Topic/conversation ID for session isolation */
|
|
@@ -1993,6 +1779,31 @@ interface RunBuildInToolsRequest {
|
|
|
1993
1779
|
/** User ID for session isolation */
|
|
1994
1780
|
userId: string;
|
|
1995
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* What a built-in tool call needs to know about the topic it belongs to.
|
|
1784
|
+
*
|
|
1785
|
+
* Shared by `runBuildInTool` and every convenience wrapper, so a caller cannot
|
|
1786
|
+
* reach a sandbox-selecting field through one entry point and not another:
|
|
1787
|
+
* naming `sandboxMode` on a topic that is already persistent routes the call to
|
|
1788
|
+
* the throwaway runtime, which tears the existing sandbox down — the same value
|
|
1789
|
+
* has to travel with every call for a given topic.
|
|
1790
|
+
*/
|
|
1791
|
+
interface RunBuildInToolsContext {
|
|
1792
|
+
/** See {@link RunBuildInToolsRequest.sandboxCwd}. */
|
|
1793
|
+
sandboxCwd?: string;
|
|
1794
|
+
/** See {@link RunBuildInToolsRequest.sandboxInstanceId}. */
|
|
1795
|
+
sandboxInstanceId?: string;
|
|
1796
|
+
/** See {@link RunBuildInToolsRequest.sandboxMode}. */
|
|
1797
|
+
sandboxMode?: SandboxMode;
|
|
1798
|
+
/** See {@link RunBuildInToolsRequest.sandboxSpecification}. */
|
|
1799
|
+
sandboxSpecification?: Record<string, unknown>;
|
|
1800
|
+
/** See {@link RunBuildInToolsRequest.sandboxWorkingDir}. */
|
|
1801
|
+
sandboxWorkingDir?: string;
|
|
1802
|
+
/** Topic/conversation ID for session isolation */
|
|
1803
|
+
topicId: string;
|
|
1804
|
+
/** User ID for session isolation */
|
|
1805
|
+
userId: string;
|
|
1806
|
+
}
|
|
1996
1807
|
/**
|
|
1997
1808
|
* Success response data from RunBuildInTools
|
|
1998
1809
|
*/
|
|
@@ -2039,13 +1850,32 @@ interface ExecuteCodeParams {
|
|
|
2039
1850
|
}
|
|
2040
1851
|
/** Parameters for runCommand tool */
|
|
2041
1852
|
interface RunCommandParams {
|
|
2042
|
-
/**
|
|
1853
|
+
/** Request native background execution; unsupported providers return an error. */
|
|
2043
1854
|
background?: boolean;
|
|
2044
1855
|
/** Command to execute */
|
|
2045
1856
|
command: string;
|
|
1857
|
+
/** Explicitly identify an lh hetero exec launch for credential injection. */
|
|
1858
|
+
heteroExec?: boolean;
|
|
2046
1859
|
/** Timeout in milliseconds */
|
|
2047
1860
|
timeout?: number;
|
|
2048
1861
|
}
|
|
1862
|
+
/** Parameters for executing a command with optional skill package extraction. */
|
|
1863
|
+
interface ExecScriptParams {
|
|
1864
|
+
/** Shell command to execute */
|
|
1865
|
+
command: string;
|
|
1866
|
+
/** Skill configuration context */
|
|
1867
|
+
config?: {
|
|
1868
|
+
description?: string;
|
|
1869
|
+
id?: string;
|
|
1870
|
+
name?: string;
|
|
1871
|
+
};
|
|
1872
|
+
/** Description of the command */
|
|
1873
|
+
description?: string;
|
|
1874
|
+
/** Skill names mapped to package ZIP URLs */
|
|
1875
|
+
skillZipUrls?: Record<string, string>;
|
|
1876
|
+
/** URL of a single skill package ZIP */
|
|
1877
|
+
zipUrl?: string;
|
|
1878
|
+
}
|
|
2049
1879
|
/** Parameters for getCommandOutput tool */
|
|
2050
1880
|
interface GetCommandOutputParams {
|
|
2051
1881
|
/** Background command ID */
|
|
@@ -2152,6 +1982,7 @@ interface ExportFileParams {
|
|
|
2152
1982
|
*/
|
|
2153
1983
|
interface CodeInterpreterToolParams {
|
|
2154
1984
|
editLocalFile: EditLocalFileParams;
|
|
1985
|
+
execScript: ExecScriptParams;
|
|
2155
1986
|
executeCode: ExecuteCodeParams;
|
|
2156
1987
|
exportFile: ExportFileParams;
|
|
2157
1988
|
getCommandOutput: GetCommandOutputParams;
|
|
@@ -2275,6 +2106,22 @@ interface PluginCommentReactionResponse {
|
|
|
2275
2106
|
type: string;
|
|
2276
2107
|
}
|
|
2277
2108
|
|
|
2109
|
+
/**
|
|
2110
|
+
* Persistent sandbox storage types.
|
|
2111
|
+
*
|
|
2112
|
+
* Every `path` in this API is relative to the storage root — the absolute
|
|
2113
|
+
* mount path inside the sandbox stays a server-side detail.
|
|
2114
|
+
*/
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Topic whose sandbox session backs a storage call. Pass the topic the user
|
|
2118
|
+
* is already working in to reuse its warm sandbox; omit it to use a dedicated
|
|
2119
|
+
* management session, which may have to start one first.
|
|
2120
|
+
*/
|
|
2121
|
+
interface SandboxStorageRequestContext {
|
|
2122
|
+
topicId?: string;
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2278
2125
|
/**
|
|
2279
2126
|
* Connect Types for LobeHub Market SDK
|
|
2280
2127
|
*
|
|
@@ -2696,6 +2543,30 @@ interface SkillCallParams {
|
|
|
2696
2543
|
* Arguments to pass to the tool
|
|
2697
2544
|
*/
|
|
2698
2545
|
args?: Record<string, unknown>;
|
|
2546
|
+
/**
|
|
2547
|
+
* Subdirectory of the workspace the topic works in — the same value its
|
|
2548
|
+
* built-in tool calls send, so a `gh repo clone` and a later `readLocalFile`
|
|
2549
|
+
* land in the same place.
|
|
2550
|
+
*/
|
|
2551
|
+
sandboxCwd?: string;
|
|
2552
|
+
/**
|
|
2553
|
+
* Environment instance the CLI session runs. Same value the topic's tool
|
|
2554
|
+
* calls send — a CLI call is often what creates the session, and the runtime
|
|
2555
|
+
* binds it to the first instance it sees.
|
|
2556
|
+
*/
|
|
2557
|
+
sandboxInstanceId?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* Which sandbox a CLI-based provider runs in. Same meaning as on
|
|
2560
|
+
* `runBuildInTools`, and it has to carry the same value for a given topic:
|
|
2561
|
+
* the topic has one sandbox, so a CLI call that disagrees about the runtime
|
|
2562
|
+
* tears down the sandbox the built-in tools are using, losing its installs,
|
|
2563
|
+
* its logins and anything written outside the workspace.
|
|
2564
|
+
*/
|
|
2565
|
+
sandboxMode?: SandboxMode;
|
|
2566
|
+
/** See {@link RunBuildInToolsRequest.sandboxSpecification}. */
|
|
2567
|
+
sandboxSpecification?: Record<string, unknown>;
|
|
2568
|
+
/** See {@link RunBuildInToolsRequest.sandboxWorkingDir}. */
|
|
2569
|
+
sandboxWorkingDir?: string;
|
|
2699
2570
|
/**
|
|
2700
2571
|
* Name of the tool to call
|
|
2701
2572
|
*/
|
|
@@ -4464,6 +4335,8 @@ interface AdminAgentListQueryParams extends AdminListQueryParams {
|
|
|
4464
4335
|
* Agent update parameters
|
|
4465
4336
|
*/
|
|
4466
4337
|
interface AgentUpdateParams {
|
|
4338
|
+
/** Omit to preserve; null or an empty string clears the image on the entity and current version. */
|
|
4339
|
+
avatar?: string | null;
|
|
4467
4340
|
/** Official homepage or repository URL for the agent */
|
|
4468
4341
|
homepage?: string | null;
|
|
4469
4342
|
/** Unique identifier for the agent */
|
|
@@ -4482,33 +4355,14 @@ interface AgentUpdateParams {
|
|
|
4482
4355
|
visibility?: 'public' | 'private' | 'internal';
|
|
4483
4356
|
}
|
|
4484
4357
|
/**
|
|
4485
|
-
*
|
|
4358
|
+
* Optional cloud Agent version fields, including arbitrary config and A2A metadata.
|
|
4486
4359
|
*/
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
defaultOutputModes?: string[];
|
|
4494
|
-
description?: string;
|
|
4495
|
-
documentationUrl?: null | string;
|
|
4496
|
-
editorData?: null | Record<string, unknown>;
|
|
4497
|
-
examples?: null | unknown[];
|
|
4498
|
-
extensions?: null | unknown[];
|
|
4499
|
-
hasPushNotifications?: boolean;
|
|
4500
|
-
hasStateTransitionHistory?: boolean;
|
|
4501
|
-
hasStreaming?: boolean;
|
|
4502
|
-
interfaces?: null | unknown[];
|
|
4503
|
-
name?: string;
|
|
4504
|
-
preferredTransport?: string;
|
|
4505
|
-
securityRequirements?: null | unknown[];
|
|
4506
|
-
securitySchemes?: null | Record<string, unknown>;
|
|
4507
|
-
summary?: null | string;
|
|
4508
|
-
supportsAuthenticatedExtendedCard?: boolean;
|
|
4509
|
-
tags?: null | string[];
|
|
4510
|
-
url?: string;
|
|
4511
|
-
}
|
|
4360
|
+
type AgentVersionUpdateParams = AdminAgentVersionUpdateInput;
|
|
4361
|
+
/**
|
|
4362
|
+
* Agent version creation parameters. Unspecified A2A-level fields are
|
|
4363
|
+
* inherited from the version the agent currently points to.
|
|
4364
|
+
*/
|
|
4365
|
+
type AgentVersionCreateParams = AdminAgentVersionCreateInput;
|
|
4512
4366
|
/**
|
|
4513
4367
|
* Agent version mutation response.
|
|
4514
4368
|
*/
|
|
@@ -4547,12 +4401,14 @@ interface AgentVersionByStatusItem {
|
|
|
4547
4401
|
*/
|
|
4548
4402
|
declare class AgentService$1 extends BaseSDK {
|
|
4549
4403
|
/**
|
|
4550
|
-
* Creates
|
|
4404
|
+
* Creates a cloud Agent and its current initial version, including required A2A metadata.
|
|
4551
4405
|
*/
|
|
4552
|
-
createAgent(data:
|
|
4406
|
+
createAgent(data: AdminAgentCreateInput): Promise<AdminAgentCreateResponse>;
|
|
4553
4407
|
/**
|
|
4554
4408
|
* Retrieves a list of agents with admin details
|
|
4555
4409
|
*
|
|
4410
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
4411
|
+
*
|
|
4556
4412
|
* Supports filtering, pagination, and sorting of results.
|
|
4557
4413
|
*
|
|
4558
4414
|
* @param params - Query parameters for filtering and pagination
|
|
@@ -4607,6 +4463,15 @@ declare class AgentService$1 extends BaseSDK {
|
|
|
4607
4463
|
* @returns Promise resolving to the updated Agent version
|
|
4608
4464
|
*/
|
|
4609
4465
|
updateAgentVersion(id: number | string, version: string, data: AgentVersionUpdateParams): Promise<AdminAgentVersion>;
|
|
4466
|
+
/**
|
|
4467
|
+
* Creates a new version for an existing agent, inheriting A2A-level fields
|
|
4468
|
+
* from the version the agent currently points to.
|
|
4469
|
+
*
|
|
4470
|
+
* @param id - Agent ID or identifier
|
|
4471
|
+
* @param data - Version creation parameters (version string required)
|
|
4472
|
+
* @returns Promise resolving to the created Agent version
|
|
4473
|
+
*/
|
|
4474
|
+
createAgentVersion(id: number | string, data: AgentVersionCreateParams): Promise<AdminAgentVersion>;
|
|
4610
4475
|
/**
|
|
4611
4476
|
* Updates agent publication status
|
|
4612
4477
|
*
|
|
@@ -4936,6 +4801,8 @@ declare class PluginService extends BaseSDK {
|
|
|
4936
4801
|
/**
|
|
4937
4802
|
* Retrieves a list of plugins with admin details
|
|
4938
4803
|
*
|
|
4804
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
4805
|
+
*
|
|
4939
4806
|
* Supports filtering, pagination, and sorting of results.
|
|
4940
4807
|
*
|
|
4941
4808
|
* @param params - Query parameters for filtering and pagination
|
|
@@ -5134,7 +5001,9 @@ declare class PluginService extends BaseSDK {
|
|
|
5134
5001
|
createDeploymentOption(pluginId: number, versionId: number, data: {
|
|
5135
5002
|
connectionArgs?: string[];
|
|
5136
5003
|
connectionCommand?: string;
|
|
5004
|
+
connectionConfigSchema?: Record<string, unknown>;
|
|
5137
5005
|
connectionType: string;
|
|
5006
|
+
connectionUrl?: string;
|
|
5138
5007
|
description?: string;
|
|
5139
5008
|
installationDetails?: InstallationDetails;
|
|
5140
5009
|
installationMethod: string;
|
|
@@ -5150,10 +5019,11 @@ declare class PluginService extends BaseSDK {
|
|
|
5150
5019
|
* @returns Promise resolving to the updated deployment option
|
|
5151
5020
|
*/
|
|
5152
5021
|
updateDeploymentOption(pluginId: number, versionId: number, optionId: number, data: {
|
|
5153
|
-
configSchema?: Record<string, any>;
|
|
5154
5022
|
connectionArgs?: string[];
|
|
5155
5023
|
connectionCommand?: string;
|
|
5024
|
+
connectionConfigSchema?: Record<string, unknown>;
|
|
5156
5025
|
connectionType?: string;
|
|
5026
|
+
connectionUrl?: string;
|
|
5157
5027
|
description?: string;
|
|
5158
5028
|
installationDetails?: Record<string, any>;
|
|
5159
5029
|
installationMethod?: string;
|
|
@@ -5260,23 +5130,6 @@ declare class SystemDependencyService extends BaseSDK {
|
|
|
5260
5130
|
}>;
|
|
5261
5131
|
}
|
|
5262
5132
|
|
|
5263
|
-
/**
|
|
5264
|
-
* Settings entity representing a system setting
|
|
5265
|
-
*/
|
|
5266
|
-
interface Settings {
|
|
5267
|
-
/** Creation timestamp (ISO 8601 format) */
|
|
5268
|
-
createdAt: string;
|
|
5269
|
-
/** Optional description of the setting's purpose */
|
|
5270
|
-
description?: string;
|
|
5271
|
-
/** Unique identifier for the setting */
|
|
5272
|
-
id: number;
|
|
5273
|
-
/** Setting key name used for retrieving the setting */
|
|
5274
|
-
key: string;
|
|
5275
|
-
/** Last update timestamp (ISO 8601 format) */
|
|
5276
|
-
updatedAt: string;
|
|
5277
|
-
/** Setting value (stored as string) */
|
|
5278
|
-
value: string;
|
|
5279
|
-
}
|
|
5280
5133
|
/**
|
|
5281
5134
|
* Configuration for enabled resource types
|
|
5282
5135
|
*/
|
|
@@ -5331,8 +5184,8 @@ interface CreateSettingsParams {
|
|
|
5331
5184
|
description?: string;
|
|
5332
5185
|
/** Setting key name */
|
|
5333
5186
|
key: string;
|
|
5334
|
-
/**
|
|
5335
|
-
value:
|
|
5187
|
+
/** JSON setting value */
|
|
5188
|
+
value: unknown;
|
|
5336
5189
|
}
|
|
5337
5190
|
/**
|
|
5338
5191
|
* Parameters for updating an existing setting
|
|
@@ -5341,7 +5194,7 @@ interface UpdateSettingsParams {
|
|
|
5341
5194
|
/** Optional new description */
|
|
5342
5195
|
description?: string;
|
|
5343
5196
|
/** New setting value */
|
|
5344
|
-
value:
|
|
5197
|
+
value: unknown;
|
|
5345
5198
|
}
|
|
5346
5199
|
/**
|
|
5347
5200
|
* Settings Management Service
|
|
@@ -5366,18 +5219,14 @@ declare class SettingsService extends BaseSDK {
|
|
|
5366
5219
|
* @param key - Setting key name
|
|
5367
5220
|
* @returns Promise resolving to the setting details
|
|
5368
5221
|
*/
|
|
5369
|
-
getSettingByKey(key: string): Promise<
|
|
5370
|
-
data: Settings;
|
|
5371
|
-
}>;
|
|
5222
|
+
getSettingByKey(key: string): Promise<Record<string, unknown>>;
|
|
5372
5223
|
/**
|
|
5373
5224
|
* Creates a new system setting
|
|
5374
5225
|
*
|
|
5375
5226
|
* @param data - Setting creation parameters
|
|
5376
5227
|
* @returns Promise resolving to the created setting
|
|
5377
5228
|
*/
|
|
5378
|
-
createSetting(data: CreateSettingsParams): Promise<
|
|
5379
|
-
data: Settings;
|
|
5380
|
-
}>;
|
|
5229
|
+
createSetting(data: CreateSettingsParams): Promise<Record<string, unknown>>;
|
|
5381
5230
|
/**
|
|
5382
5231
|
* Updates an existing setting
|
|
5383
5232
|
*
|
|
@@ -5385,9 +5234,7 @@ declare class SettingsService extends BaseSDK {
|
|
|
5385
5234
|
* @param data - Setting update parameters
|
|
5386
5235
|
* @returns Promise resolving to the updated setting
|
|
5387
5236
|
*/
|
|
5388
|
-
updateSetting(key: string, data: UpdateSettingsParams): Promise<
|
|
5389
|
-
data: Settings;
|
|
5390
|
-
}>;
|
|
5237
|
+
updateSetting(key: string, data: UpdateSettingsParams): Promise<Record<string, unknown>>;
|
|
5391
5238
|
/**
|
|
5392
5239
|
* Deletes a setting
|
|
5393
5240
|
*
|
|
@@ -5496,6 +5343,8 @@ declare class SkillCollectionService extends BaseSDK {
|
|
|
5496
5343
|
interface ImportSkillPackageOptions {
|
|
5497
5344
|
/** Filename sent with the multipart upload when `file` is a plain Blob */
|
|
5498
5345
|
filename?: string;
|
|
5346
|
+
/** Omit to preserve the image; null clears it. */
|
|
5347
|
+
icon?: string | null;
|
|
5499
5348
|
/** Optional skill identifier override */
|
|
5500
5349
|
identifier?: string;
|
|
5501
5350
|
}
|
|
@@ -5503,9 +5352,27 @@ interface ImportSkillPackageOptions {
|
|
|
5503
5352
|
* Administrative skill management methods.
|
|
5504
5353
|
*/
|
|
5505
5354
|
declare class SkillService$1 extends BaseSDK {
|
|
5355
|
+
/** Create a manual Skill. Self-hosted category names resolve to directory identifiers. */
|
|
5356
|
+
createSkill(data: AdminSkillCreateRequest): Promise<AdminSkillUpdateResponse>;
|
|
5357
|
+
/** Import a GitHub Skill; omit icon to preserve it, or pass null to clear it. */
|
|
5358
|
+
importFromGitHub(data: AdminSkillGitHubImportRequest): Promise<AdminSkillImportResponse>;
|
|
5359
|
+
/** Retrieve raw Admin detail and image metadata for editing. */
|
|
5360
|
+
getSkill(id: number): Promise<AdminSkillDetail>;
|
|
5361
|
+
/**
|
|
5362
|
+
* Update publication settings and the current version's category atomically.
|
|
5363
|
+
*
|
|
5364
|
+
* @param id - Skill database ID
|
|
5365
|
+
* @param data - Omit category to preserve it, or pass null to clear it
|
|
5366
|
+
* Self-hosted categories accept directory identifiers or unique names; unknown names return 400.
|
|
5367
|
+
* @returns Updated Skill metadata; read the category through the Skill detail endpoint
|
|
5368
|
+
* @throws If the Skill does not exist, or category is supplied without a current version
|
|
5369
|
+
*/
|
|
5370
|
+
updateSkill(id: number, data: AdminSkillUpdateRequest): Promise<AdminSkillUpdateResponse>;
|
|
5506
5371
|
/**
|
|
5507
5372
|
* Retrieve Skills with Admin API status and visibility fields.
|
|
5508
5373
|
*
|
|
5374
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
5375
|
+
*
|
|
5509
5376
|
* @param params - Query parameters for filtering and pagination
|
|
5510
5377
|
* @returns Paginated Skill list
|
|
5511
5378
|
*/
|
|
@@ -5706,6 +5573,44 @@ declare class OrganizationService$1 extends BaseSDK {
|
|
|
5706
5573
|
}>;
|
|
5707
5574
|
}
|
|
5708
5575
|
|
|
5576
|
+
/** Enterprise-only category CRUD and atomic asset reassignment (MARKET_SELF_HOSTED=true). */
|
|
5577
|
+
declare class CategoryService$1 extends BaseSDK {
|
|
5578
|
+
/** Lists categories and counts assets referencing them in any version. */
|
|
5579
|
+
list(params: AssetCategoryAdminListQuery): Promise<AssetCategoryAdminList>;
|
|
5580
|
+
/** Creates a category with a server-generated stable identifier. */
|
|
5581
|
+
create(assetType: AssetCategoryType, data: AssetCategoryCreate): Promise<AssetCategory>;
|
|
5582
|
+
/** Updates presentation fields; icon: null clears the image, omission preserves it. */
|
|
5583
|
+
update(assetType: AssetCategoryType, identifier: string, data: AssetCategoryUpdate): Promise<AssetCategory>;
|
|
5584
|
+
/** Deletes up to 200 categories and reassigns or clears all affected asset versions atomically. */
|
|
5585
|
+
delete(assetType: AssetCategoryType, data: AssetCategoryDelete): Promise<{
|
|
5586
|
+
success: boolean;
|
|
5587
|
+
}>;
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5590
|
+
declare class SandboxSessionService extends BaseSDK {
|
|
5591
|
+
list(params?: AdminSandboxSessionQuery): Promise<AdminSandboxSessionList>;
|
|
5592
|
+
get(id: number): Promise<{
|
|
5593
|
+
data: AdminSandboxSession;
|
|
5594
|
+
}>;
|
|
5595
|
+
related(id: number, params?: {
|
|
5596
|
+
current?: number;
|
|
5597
|
+
pageSize?: number;
|
|
5598
|
+
}): Promise<AdminSandboxSessionList>;
|
|
5599
|
+
}
|
|
5600
|
+
|
|
5601
|
+
declare class SandboxStorageService$1 extends BaseSDK {
|
|
5602
|
+
measure(key: string): Promise<{
|
|
5603
|
+
status: 'success' | 'failed' | 'running' | 'superseded';
|
|
5604
|
+
}>;
|
|
5605
|
+
efs(): Promise<{
|
|
5606
|
+
data: AdminSandboxEfsUsage;
|
|
5607
|
+
}>;
|
|
5608
|
+
list(params?: AdminSandboxStorageQuery): Promise<AdminSandboxStorageList>;
|
|
5609
|
+
get(key: string): Promise<{
|
|
5610
|
+
data: AdminSandboxStorage;
|
|
5611
|
+
}>;
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5709
5614
|
/**
|
|
5710
5615
|
* LobeHub Market Admin SDK Client
|
|
5711
5616
|
*
|
|
@@ -5714,6 +5619,9 @@ declare class OrganizationService$1 extends BaseSDK {
|
|
|
5714
5619
|
* system settings, and dependencies. It requires admin-level authentication.
|
|
5715
5620
|
*/
|
|
5716
5621
|
declare class MarketAdmin extends BaseSDK {
|
|
5622
|
+
readonly sandboxStorage: SandboxStorageService$1;
|
|
5623
|
+
readonly sandboxSessions: SandboxSessionService;
|
|
5624
|
+
readonly categories: CategoryService$1;
|
|
5717
5625
|
/**
|
|
5718
5626
|
* Agent management service
|
|
5719
5627
|
* Provides methods for creating, updating, and managing agents
|
|
@@ -5817,6 +5725,8 @@ declare class AgentService extends BaseSDK {
|
|
|
5817
5725
|
/**
|
|
5818
5726
|
* Retrieves a list of agents from the marketplace
|
|
5819
5727
|
*
|
|
5728
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
5729
|
+
*
|
|
5820
5730
|
* Supports filtering, pagination, and localization of results.
|
|
5821
5731
|
*
|
|
5822
5732
|
* @param params - Query parameters for filtering and pagination
|
|
@@ -6872,6 +6782,8 @@ declare class PluginsService extends BaseSDK {
|
|
|
6872
6782
|
/**
|
|
6873
6783
|
* Retrieves a list of plugins from the marketplace
|
|
6874
6784
|
*
|
|
6785
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
6786
|
+
*
|
|
6875
6787
|
* Supports filtering, pagination, and localization of results.
|
|
6876
6788
|
*
|
|
6877
6789
|
* @param params - Query parameters for filtering and pagination
|
|
@@ -7028,10 +6940,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7028
6940
|
* );
|
|
7029
6941
|
* ```
|
|
7030
6942
|
*/
|
|
7031
|
-
runBuildInTool<T extends CodeInterpreterToolName>(toolName: T, params: CodeInterpreterToolParams[T], context:
|
|
7032
|
-
topicId: string;
|
|
7033
|
-
userId: string;
|
|
7034
|
-
}, options?: globalThis.RequestInit): Promise<RunBuildInToolsResponse>;
|
|
6943
|
+
runBuildInTool<T extends CodeInterpreterToolName>(toolName: T, params: CodeInterpreterToolParams[T], context: RunBuildInToolsContext, options?: globalThis.RequestInit): Promise<RunBuildInToolsResponse>;
|
|
7035
6944
|
/**
|
|
7036
6945
|
* Execute a shell command in the Code Interpreter sandbox
|
|
7037
6946
|
*
|
|
@@ -7040,10 +6949,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7040
6949
|
* @param options - Additional options (background, timeout)
|
|
7041
6950
|
* @returns Promise resolving to command execution result
|
|
7042
6951
|
*/
|
|
7043
|
-
runCommand(command: string, context: {
|
|
7044
|
-
topicId: string;
|
|
7045
|
-
userId: string;
|
|
7046
|
-
}, options?: {
|
|
6952
|
+
runCommand(command: string, context: RunBuildInToolsContext, options?: {
|
|
7047
6953
|
background?: boolean;
|
|
7048
6954
|
timeout?: number;
|
|
7049
6955
|
}): Promise<RunBuildInToolsResponse>;
|
|
@@ -7055,10 +6961,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7055
6961
|
* @param options - Line range options (startLine, endLine)
|
|
7056
6962
|
* @returns Promise resolving to file content
|
|
7057
6963
|
*/
|
|
7058
|
-
readFile(path: string, context: {
|
|
7059
|
-
topicId: string;
|
|
7060
|
-
userId: string;
|
|
7061
|
-
}, options?: {
|
|
6964
|
+
readFile(path: string, context: RunBuildInToolsContext, options?: {
|
|
7062
6965
|
endLine?: number;
|
|
7063
6966
|
startLine?: number;
|
|
7064
6967
|
}): Promise<RunBuildInToolsResponse>;
|
|
@@ -7071,10 +6974,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7071
6974
|
* @param options - Additional options (createDirectories)
|
|
7072
6975
|
* @returns Promise resolving to write result
|
|
7073
6976
|
*/
|
|
7074
|
-
writeFile(path: string, content: string, context: {
|
|
7075
|
-
topicId: string;
|
|
7076
|
-
userId: string;
|
|
7077
|
-
}, options?: {
|
|
6977
|
+
writeFile(path: string, content: string, context: RunBuildInToolsContext, options?: {
|
|
7078
6978
|
createDirectories?: boolean;
|
|
7079
6979
|
}): Promise<RunBuildInToolsResponse>;
|
|
7080
6980
|
/**
|
|
@@ -7084,10 +6984,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7084
6984
|
* @param context - User and topic context
|
|
7085
6985
|
* @returns Promise resolving to directory listing
|
|
7086
6986
|
*/
|
|
7087
|
-
listFiles(directoryPath: string, context:
|
|
7088
|
-
topicId: string;
|
|
7089
|
-
userId: string;
|
|
7090
|
-
}): Promise<RunBuildInToolsResponse>;
|
|
6987
|
+
listFiles(directoryPath: string, context: RunBuildInToolsContext): Promise<RunBuildInToolsResponse>;
|
|
7091
6988
|
/**
|
|
7092
6989
|
* Search for files matching a glob pattern
|
|
7093
6990
|
*
|
|
@@ -7096,10 +6993,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7096
6993
|
* @param directory - Base directory (optional)
|
|
7097
6994
|
* @returns Promise resolving to matching files
|
|
7098
6995
|
*/
|
|
7099
|
-
globFiles(pattern: string, context:
|
|
7100
|
-
topicId: string;
|
|
7101
|
-
userId: string;
|
|
7102
|
-
}, directory?: string): Promise<RunBuildInToolsResponse>;
|
|
6996
|
+
globFiles(pattern: string, context: RunBuildInToolsContext, directory?: string): Promise<RunBuildInToolsResponse>;
|
|
7103
6997
|
/**
|
|
7104
6998
|
* Search file contents using regex pattern
|
|
7105
6999
|
*
|
|
@@ -7109,10 +7003,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7109
7003
|
* @param options - Additional options (filePattern, recursive)
|
|
7110
7004
|
* @returns Promise resolving to grep results
|
|
7111
7005
|
*/
|
|
7112
|
-
grepContent(pattern: string, directory: string, context: {
|
|
7113
|
-
topicId: string;
|
|
7114
|
-
userId: string;
|
|
7115
|
-
}, options?: {
|
|
7006
|
+
grepContent(pattern: string, directory: string, context: RunBuildInToolsContext, options?: {
|
|
7116
7007
|
filePattern?: string;
|
|
7117
7008
|
recursive?: boolean;
|
|
7118
7009
|
}): Promise<RunBuildInToolsResponse>;
|
|
@@ -7141,10 +7032,7 @@ declare class PluginsService extends BaseSDK {
|
|
|
7141
7032
|
* }
|
|
7142
7033
|
* ```
|
|
7143
7034
|
*/
|
|
7144
|
-
exportFile(path: string, uploadUrl: string, context:
|
|
7145
|
-
topicId: string;
|
|
7146
|
-
userId: string;
|
|
7147
|
-
}): Promise<RunBuildInToolsResponse>;
|
|
7035
|
+
exportFile(path: string, uploadUrl: string, context: RunBuildInToolsContext): Promise<RunBuildInToolsResponse>;
|
|
7148
7036
|
/**
|
|
7149
7037
|
* Submits or updates a rating for a plugin
|
|
7150
7038
|
*
|
|
@@ -7234,6 +7122,106 @@ declare class PluginsService extends BaseSDK {
|
|
|
7234
7122
|
}>;
|
|
7235
7123
|
}
|
|
7236
7124
|
|
|
7125
|
+
/**
|
|
7126
|
+
* Persistent sandbox storage management.
|
|
7127
|
+
*
|
|
7128
|
+
* The storage is the directory the caller's cloud sandbox sessions run in:
|
|
7129
|
+
* shared across their conversation topics and durable across sandbox
|
|
7130
|
+
* recycling. `current` addresses the caller's own storage, so a client never
|
|
7131
|
+
* has to derive the key itself.
|
|
7132
|
+
*
|
|
7133
|
+
* Every path is relative to the storage root (`reports/q3.md`, not
|
|
7134
|
+
* `/mnt/workspace/ws-.../reports/q3.md`).
|
|
7135
|
+
*/
|
|
7136
|
+
declare class SandboxStorageService extends BaseSDK {
|
|
7137
|
+
/** Storage directory, quota and the last measured usage. */
|
|
7138
|
+
getStorage(key?: string, options?: globalThis.RequestInit): Promise<SandboxStorageInfo>;
|
|
7139
|
+
/**
|
|
7140
|
+
* Re-measure the storage size. Costs a sandbox round trip and walks the
|
|
7141
|
+
* whole directory, so call it on demand rather than on every render.
|
|
7142
|
+
*/
|
|
7143
|
+
refreshUsage(key?: string, context?: SandboxStorageRequestContext, options?: globalThis.RequestInit): Promise<SandboxStorageInfo>;
|
|
7144
|
+
listFiles(params?: SandboxStorageRequestContext & {
|
|
7145
|
+
key?: string;
|
|
7146
|
+
path?: string;
|
|
7147
|
+
recursive?: boolean;
|
|
7148
|
+
}, options?: globalThis.RequestInit): Promise<SandboxStorageFileList>;
|
|
7149
|
+
readFile(params: SandboxStorageRequestContext & {
|
|
7150
|
+
key?: string;
|
|
7151
|
+
path: string;
|
|
7152
|
+
}, options?: globalThis.RequestInit): Promise<SandboxStorageFileContent>;
|
|
7153
|
+
writeFile(params: SandboxStorageRequestContext & {
|
|
7154
|
+
content: string;
|
|
7155
|
+
key?: string;
|
|
7156
|
+
path: string;
|
|
7157
|
+
}, options?: globalThis.RequestInit): Promise<SandboxStorageWriteResult>;
|
|
7158
|
+
/**
|
|
7159
|
+
* The storage's instances, newest first.
|
|
7160
|
+
*
|
|
7161
|
+
* Sizes come from the archives themselves rather than a cache, so they are
|
|
7162
|
+
* exact — but the call needs a live sandbox, so a cold start can take a few
|
|
7163
|
+
* seconds. Worth a loading state.
|
|
7164
|
+
*/
|
|
7165
|
+
/**
|
|
7166
|
+
* One instance's run history, newest first: every session that ran it
|
|
7167
|
+
* and every build of it. Answered from the control plane alone, so it is
|
|
7168
|
+
* cheap — no sandbox is started. Page with the `nextBefore` it returns.
|
|
7169
|
+
*/
|
|
7170
|
+
listInstanceSessions(instance: string, params?: {
|
|
7171
|
+
before?: string;
|
|
7172
|
+
key?: string;
|
|
7173
|
+
limit?: number;
|
|
7174
|
+
}, options?: globalThis.RequestInit): Promise<SandboxSessionList>;
|
|
7175
|
+
listInstances(params?: SandboxStorageRequestContext & {
|
|
7176
|
+
key?: string;
|
|
7177
|
+
}, options?: globalThis.RequestInit): Promise<SandboxInstanceList>;
|
|
7178
|
+
/** Copy an instance to a new identifier, for "start from this one". */
|
|
7179
|
+
copyInstance(params: SandboxStorageRequestContext & {
|
|
7180
|
+
/**
|
|
7181
|
+
* The copy's own directory, relative to the storage, when the source
|
|
7182
|
+
* keeps its work tree in one — never the source's (LOBE-14362).
|
|
7183
|
+
*/
|
|
7184
|
+
instanceDir?: string;
|
|
7185
|
+
key?: string;
|
|
7186
|
+
name: string;
|
|
7187
|
+
to: string;
|
|
7188
|
+
}, options?: globalThis.RequestInit): Promise<{
|
|
7189
|
+
name: string;
|
|
7190
|
+
}>;
|
|
7191
|
+
/**
|
|
7192
|
+
* Delete an instance.
|
|
7193
|
+
*
|
|
7194
|
+
* Refused with 409 `INSTANCE_IN_USE` while a live session is running it —
|
|
7195
|
+
* that session would write the archive back when it ends, so the delete would
|
|
7196
|
+
* appear to work and then silently undo itself.
|
|
7197
|
+
*/
|
|
7198
|
+
deleteInstance(params: SandboxStorageRequestContext & {
|
|
7199
|
+
key?: string;
|
|
7200
|
+
name: string;
|
|
7201
|
+
}, options?: globalThis.RequestInit): Promise<{
|
|
7202
|
+
name: string;
|
|
7203
|
+
}>;
|
|
7204
|
+
/**
|
|
7205
|
+
* Create a directory, parents included.
|
|
7206
|
+
*
|
|
7207
|
+
* Idempotent: a directory that already exists is reported as created, so a
|
|
7208
|
+
* picker can call it without checking first.
|
|
7209
|
+
*/
|
|
7210
|
+
createDirectory(params: SandboxStorageRequestContext & {
|
|
7211
|
+
key?: string;
|
|
7212
|
+
path: string;
|
|
7213
|
+
}, options?: globalThis.RequestInit): Promise<{
|
|
7214
|
+
path: string;
|
|
7215
|
+
}>;
|
|
7216
|
+
deleteFile(params: SandboxStorageRequestContext & {
|
|
7217
|
+
key?: string;
|
|
7218
|
+
path: string;
|
|
7219
|
+
recursive?: boolean;
|
|
7220
|
+
}, options?: globalThis.RequestInit): Promise<{
|
|
7221
|
+
path: string;
|
|
7222
|
+
}>;
|
|
7223
|
+
}
|
|
7224
|
+
|
|
7237
7225
|
/**
|
|
7238
7226
|
* Skill Service
|
|
7239
7227
|
*
|
|
@@ -7372,6 +7360,8 @@ declare class MarketSkillService extends BaseSDK {
|
|
|
7372
7360
|
/**
|
|
7373
7361
|
* Retrieves a list of skills from the marketplace
|
|
7374
7362
|
*
|
|
7363
|
+
* Set category to UNCATEGORIZED_CATEGORY to select assets with no assigned category.
|
|
7364
|
+
*
|
|
7375
7365
|
* Supports filtering, pagination, search, and various sorting options
|
|
7376
7366
|
* including GitHub stats (stars, forks, watchers). Locale localizes
|
|
7377
7367
|
* descriptions and summaries, but the returned skill name stays canonical.
|
|
@@ -8548,6 +8538,12 @@ declare class UserPublishService extends BaseSDK {
|
|
|
8548
8538
|
deletePluginLocalization(identifier: string, locale: string, version?: string, options?: globalThis.RequestInit): Promise<DeletePluginLocalizationResponse>;
|
|
8549
8539
|
}
|
|
8550
8540
|
|
|
8541
|
+
/** Enterprise-only public category directory; no authentication is required (MARKET_SELF_HOSTED=true). */
|
|
8542
|
+
declare class CategoryService extends BaseSDK {
|
|
8543
|
+
/** Lists configured categories with nullable HTTP(S) image URLs or lucide:<name> icons and public asset counts, including empty categories. */
|
|
8544
|
+
list(assetType: AssetCategoryType, locale?: string): Promise<AssetCategoryItem[]>;
|
|
8545
|
+
}
|
|
8546
|
+
|
|
8551
8547
|
/**
|
|
8552
8548
|
* LobeHub Market SDK Client
|
|
8553
8549
|
*
|
|
@@ -8557,6 +8553,11 @@ declare class UserPublishService extends BaseSDK {
|
|
|
8557
8553
|
* by combining specialized domain services.
|
|
8558
8554
|
*/
|
|
8559
8555
|
declare class MarketSDK extends BaseSDK {
|
|
8556
|
+
readonly categories: CategoryService;
|
|
8557
|
+
/** Anonymous WebP byte URL. No signed token or public bucket is required. */
|
|
8558
|
+
getAssetImageUrl(id: string): string;
|
|
8559
|
+
/** Anonymous SVG with a safely generated single initial; name must contain 1–255 characters. */
|
|
8560
|
+
getAssetInitialUrl(name: string): string;
|
|
8560
8561
|
/**
|
|
8561
8562
|
* Agent profile service for M2M agent identity management
|
|
8562
8563
|
* Provides methods to view and update the current agent's profile
|
|
@@ -8596,6 +8597,13 @@ declare class MarketSDK extends BaseSDK {
|
|
|
8596
8597
|
* Provides methods to list, search, retrieve plugin information, and report installation attempts
|
|
8597
8598
|
*/
|
|
8598
8599
|
readonly plugins: PluginsService;
|
|
8600
|
+
/**
|
|
8601
|
+
* Sandbox storage service for the caller's persistent sandbox directory.
|
|
8602
|
+
*
|
|
8603
|
+
* Inspects quota and usage, and lists, reads, writes and deletes files that
|
|
8604
|
+
* survive sandbox recycling and are shared across the user's topics.
|
|
8605
|
+
*/
|
|
8606
|
+
readonly sandboxStorage: SandboxStorageService;
|
|
8599
8607
|
/**
|
|
8600
8608
|
* Organizations service for accessing organization-related functionality.
|
|
8601
8609
|
* Provides methods to retrieve organization profiles and their published
|
|
@@ -8696,7 +8704,9 @@ declare class MarketAPIError extends Error {
|
|
|
8696
8704
|
readonly code?: string;
|
|
8697
8705
|
/** The full error response body */
|
|
8698
8706
|
readonly errorBody?: any;
|
|
8699
|
-
|
|
8707
|
+
/** Validated trace ID returned by Market for correlating server-side diagnostics. */
|
|
8708
|
+
readonly traceId?: string;
|
|
8709
|
+
constructor(status: number, statusText: string, errorBody?: any, traceId?: string);
|
|
8700
8710
|
/**
|
|
8701
8711
|
* Check if this is a specific error code
|
|
8702
8712
|
*/
|
|
@@ -8723,6 +8733,34 @@ declare const SDK_VERSION = "0.31.3";
|
|
|
8723
8733
|
*/
|
|
8724
8734
|
declare const SDK_USER_AGENT = "LobeHub-Market-SDK/0.31.3";
|
|
8725
8735
|
|
|
8736
|
+
/**
|
|
8737
|
+
* Trusted Client Token Utilities
|
|
8738
|
+
*
|
|
8739
|
+
* Provides encryption utilities for creating trusted client tokens
|
|
8740
|
+
* that can be used with the Market SDK.
|
|
8741
|
+
*
|
|
8742
|
+
* @example
|
|
8743
|
+
* ```typescript
|
|
8744
|
+
* import { createTrustedClientToken, TrustedClientPayload } from '@lobehub/market-sdk';
|
|
8745
|
+
*
|
|
8746
|
+
* const payload: TrustedClientPayload = {
|
|
8747
|
+
* userId: 'user_xxx',
|
|
8748
|
+
* clientId: 'lobechat-com',
|
|
8749
|
+
* email: 'user@example.com',
|
|
8750
|
+
* timestamp: Date.now(),
|
|
8751
|
+
* nonce: generateNonce(),
|
|
8752
|
+
* name: 'John Doe',
|
|
8753
|
+
* // Omit for the free tier; present for a plan that includes one.
|
|
8754
|
+
* sandboxStorage: { key: 'ws-user_xxx', quotaBytes: 2 * 1024 ** 3 },
|
|
8755
|
+
* };
|
|
8756
|
+
*
|
|
8757
|
+
* const token = createTrustedClientToken(payload, secret);
|
|
8758
|
+
*
|
|
8759
|
+
* // Use with MarketSDK
|
|
8760
|
+
* const sdk = new MarketSDK({ trustedClientToken: token });
|
|
8761
|
+
* ```
|
|
8762
|
+
*/
|
|
8763
|
+
|
|
8726
8764
|
/**
|
|
8727
8765
|
* Trusted client payload structure
|
|
8728
8766
|
*/
|
|
@@ -8737,6 +8775,16 @@ interface TrustedClientPayload {
|
|
|
8737
8775
|
name?: string;
|
|
8738
8776
|
/** Random nonce for uniqueness */
|
|
8739
8777
|
nonce: string;
|
|
8778
|
+
/**
|
|
8779
|
+
* Persistent sandbox entitlement for this caller, resolved from their plan.
|
|
8780
|
+
*
|
|
8781
|
+
* Market never derives this itself — it holds no subscription data — so a
|
|
8782
|
+
* token without it gets the throwaway sandbox, which is also what every
|
|
8783
|
+
* client predating the feature keeps getting. `key` must be the same
|
|
8784
|
+
* storage key used when rewriting tool paths client-side, or the caller
|
|
8785
|
+
* would address a different directory than its own tools do.
|
|
8786
|
+
*/
|
|
8787
|
+
sandboxStorage?: SandboxStorageClaim | null;
|
|
8740
8788
|
/** Unix timestamp in milliseconds when token was created */
|
|
8741
8789
|
timestamp: number;
|
|
8742
8790
|
/** Clerk user ID (format: user_xxx) */
|
|
@@ -8775,8 +8823,9 @@ declare function buildTrustedClientPayload(params: {
|
|
|
8775
8823
|
email: string;
|
|
8776
8824
|
emailVerified?: boolean;
|
|
8777
8825
|
name?: string;
|
|
8826
|
+
sandboxStorage?: SandboxStorageClaim | null;
|
|
8778
8827
|
userId: string;
|
|
8779
8828
|
workspaceId?: string;
|
|
8780
8829
|
}): TrustedClientPayload;
|
|
8781
8830
|
|
|
8782
|
-
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
|
|
8831
|
+
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 AgentListQuery, type AgentModifyRequest, type AgentModifyResponse, type AgentProfileEntity, type AgentProfileResponse, type AgentSecurityRequirement, type AgentSecurityScheme, 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 Deployment, type DeploymentBuildSummary, type DiscoveryDocument, type EditLocalFileParams, type ExecScriptParams, 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 PluginLatestOwnComment, type PluginLocalization, type PluginQueryParams, type PluginRatingDistribution, type PluginUpdateParams, type PluginVersionCreateParams, type PluginVersionUpdateParams, type PreparedDeploymentUpload, 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 RunBuildInToolsContext, type RunBuildInToolsError, type RunBuildInToolsRequest, type RunBuildInToolsResponse, type RunBuildInToolsSuccessData, type RunCommandParams, SDK_USER_AGENT, SDK_VERSION, type SandboxStorageRequestContext, 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 };
|