@agentrun/sdk 0.0.2-test.20911071940 → 0.0.2-test.21112675887
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.cjs +6952 -7062
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +176 -353
- package/dist/index.d.ts +176 -353
- package/dist/index.js +7082 -7180
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as openai_core_streaming from 'openai/core/streaming';
|
|
2
2
|
import * as openai_resources from 'openai/resources';
|
|
3
3
|
import { ChatCompletionMessageParam } from 'openai/resources';
|
|
4
|
+
import { KeyOf } from 'zod/v4/core/util.cjs';
|
|
4
5
|
import * as $AgentRun from '@alicloud/agentrun20250910';
|
|
5
6
|
import * as ai from 'ai';
|
|
6
|
-
import * as $Devs from '@alicloud/devs20230714';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Configuration Management Module
|
|
@@ -253,6 +253,46 @@ interface InvokeArgs {
|
|
|
253
253
|
config?: Config;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
+
/**
|
|
257
|
+
资源基类模板 / Resource Base Template
|
|
258
|
+
|
|
259
|
+
此模板用于生成资源对象的基类代码。
|
|
260
|
+
This template is used to generate base class code for resource objects.
|
|
261
|
+
*/
|
|
262
|
+
|
|
263
|
+
interface ParamsWithConfig {
|
|
264
|
+
config?: Config;
|
|
265
|
+
}
|
|
266
|
+
declare abstract class ResourceBase {
|
|
267
|
+
status?: Status;
|
|
268
|
+
protected _config?: Config;
|
|
269
|
+
abstract get(params?: ParamsWithConfig): Promise<any>;
|
|
270
|
+
abstract delete(params?: ParamsWithConfig): Promise<any>;
|
|
271
|
+
waitUntil: (params: {
|
|
272
|
+
checkFinishedCallback: (resource: ResourceBase) => Promise<boolean>;
|
|
273
|
+
intervalSeconds?: number;
|
|
274
|
+
timeoutSeconds?: number;
|
|
275
|
+
}) => Promise<ResourceBase>;
|
|
276
|
+
waitUntilReadyOrFailed: (params?: {
|
|
277
|
+
callback?: (resource: ResourceBase) => void | Promise<void>;
|
|
278
|
+
intervalSeconds?: number;
|
|
279
|
+
timeoutSeconds?: number;
|
|
280
|
+
}) => Promise<ResourceBase>;
|
|
281
|
+
deleteAndWaitUntilFinished: (params?: {
|
|
282
|
+
callback: (resource: ResourceBase) => Promise<void>;
|
|
283
|
+
intervalSeconds?: number;
|
|
284
|
+
timeoutSeconds?: number;
|
|
285
|
+
}) => Promise<ResourceBase | undefined>;
|
|
286
|
+
refresh: (params?: ParamsWithConfig) => Promise<any>;
|
|
287
|
+
/**
|
|
288
|
+
* 更新实例自身的属性 / Update instance properties
|
|
289
|
+
*
|
|
290
|
+
* @param source - 源对象 / Source object
|
|
291
|
+
*/
|
|
292
|
+
updateSelf(source: any): void;
|
|
293
|
+
setConfig: (config: Config) => this;
|
|
294
|
+
}
|
|
295
|
+
|
|
256
296
|
/**
|
|
257
297
|
* Agent Runtime Data Models
|
|
258
298
|
*
|
|
@@ -569,7 +609,7 @@ interface AgentRuntimeEndpointData {
|
|
|
569
609
|
/**
|
|
570
610
|
* Agent Runtime Endpoint resource class
|
|
571
611
|
*/
|
|
572
|
-
declare class AgentRuntimeEndpoint implements AgentRuntimeEndpointData {
|
|
612
|
+
declare class AgentRuntimeEndpoint extends ResourceBase implements AgentRuntimeEndpointData {
|
|
573
613
|
agentRuntimeEndpointArn?: string;
|
|
574
614
|
agentRuntimeEndpointId?: string;
|
|
575
615
|
agentRuntimeEndpointName?: string;
|
|
@@ -582,14 +622,11 @@ declare class AgentRuntimeEndpoint implements AgentRuntimeEndpointData {
|
|
|
582
622
|
statusReason?: string;
|
|
583
623
|
tags?: string[];
|
|
584
624
|
targetVersion?: string;
|
|
585
|
-
|
|
625
|
+
protected _config?: Config;
|
|
586
626
|
private _dataApi?;
|
|
587
627
|
private _agentRuntimeName?;
|
|
588
|
-
constructor(data?:
|
|
589
|
-
|
|
590
|
-
* Create endpoint from SDK response object
|
|
591
|
-
*/
|
|
592
|
-
static fromInnerObject(obj: $AgentRun.AgentRuntimeEndpoint, config?: Config): AgentRuntimeEndpoint;
|
|
628
|
+
constructor(data?: any, config?: Config);
|
|
629
|
+
uniqIdCallback: () => string | undefined;
|
|
593
630
|
private static getClient;
|
|
594
631
|
/**
|
|
595
632
|
* Create an endpoint by Agent Runtime ID
|
|
@@ -627,11 +664,18 @@ declare class AgentRuntimeEndpoint implements AgentRuntimeEndpointData {
|
|
|
627
664
|
/**
|
|
628
665
|
* List endpoints by Agent Runtime ID
|
|
629
666
|
*/
|
|
630
|
-
static
|
|
667
|
+
static list(params: {
|
|
631
668
|
agentRuntimeId: string;
|
|
632
669
|
input?: AgentRuntimeEndpointListInput;
|
|
633
670
|
config?: Config;
|
|
634
671
|
}): Promise<AgentRuntimeEndpoint[]>;
|
|
672
|
+
static listAll: (params: {
|
|
673
|
+
agentRuntimeId: string;
|
|
674
|
+
config?: Config;
|
|
675
|
+
} & Omit<AgentRuntimeEndpointListInput, KeyOf<PageableInput>>) => Promise<any[]>;
|
|
676
|
+
get: (params?: {
|
|
677
|
+
config?: Config;
|
|
678
|
+
}) => Promise<AgentRuntimeEndpoint>;
|
|
635
679
|
/**
|
|
636
680
|
* Delete this endpoint
|
|
637
681
|
*/
|
|
@@ -651,14 +695,6 @@ declare class AgentRuntimeEndpoint implements AgentRuntimeEndpointData {
|
|
|
651
695
|
refresh: (params?: {
|
|
652
696
|
config?: Config;
|
|
653
697
|
}) => Promise<AgentRuntimeEndpoint>;
|
|
654
|
-
/**
|
|
655
|
-
* Wait until the endpoint is ready
|
|
656
|
-
*/
|
|
657
|
-
waitUntilReady: (options?: {
|
|
658
|
-
timeoutSeconds?: number;
|
|
659
|
-
intervalSeconds?: number;
|
|
660
|
-
beforeCheck?: (endpoint: AgentRuntimeEndpoint) => void;
|
|
661
|
-
}, config?: Config) => Promise<AgentRuntimeEndpoint>;
|
|
662
698
|
/**
|
|
663
699
|
* Invoke agent runtime using OpenAI-compatible API through this endpoint
|
|
664
700
|
*
|
|
@@ -690,7 +726,7 @@ declare class AgentRuntimeEndpoint implements AgentRuntimeEndpointData {
|
|
|
690
726
|
/**
|
|
691
727
|
* Agent Runtime resource class
|
|
692
728
|
*/
|
|
693
|
-
declare class AgentRuntime implements AgentRuntimeData {
|
|
729
|
+
declare class AgentRuntime extends ResourceBase implements AgentRuntimeData {
|
|
694
730
|
agentRuntimeArn?: string;
|
|
695
731
|
agentRuntimeId?: string;
|
|
696
732
|
agentRuntimeName?: string;
|
|
@@ -717,13 +753,10 @@ declare class AgentRuntime implements AgentRuntimeData {
|
|
|
717
753
|
status?: Status;
|
|
718
754
|
statusReason?: string;
|
|
719
755
|
tags?: string[];
|
|
720
|
-
|
|
756
|
+
protected _config?: Config;
|
|
721
757
|
private _dataApiCache;
|
|
722
|
-
constructor(data?:
|
|
723
|
-
|
|
724
|
-
* Create runtime from SDK response object
|
|
725
|
-
*/
|
|
726
|
-
static fromInnerObject(obj: $AgentRun.AgentRuntime, config?: Config): AgentRuntime;
|
|
758
|
+
constructor(data?: any, config?: Config);
|
|
759
|
+
uniqIdCallback: () => string | undefined;
|
|
727
760
|
private static getClient;
|
|
728
761
|
/**
|
|
729
762
|
* Create a new Agent Runtime
|
|
@@ -757,15 +790,13 @@ declare class AgentRuntime implements AgentRuntimeData {
|
|
|
757
790
|
/**
|
|
758
791
|
* List Agent Runtimes
|
|
759
792
|
*/
|
|
760
|
-
static list(
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
static listAll(
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
searchMode?: string;
|
|
768
|
-
}, config?: Config): Promise<AgentRuntime[]>;
|
|
793
|
+
static list(params?: {
|
|
794
|
+
input?: AgentRuntimeListInput;
|
|
795
|
+
config?: Config;
|
|
796
|
+
}): Promise<AgentRuntime[]>;
|
|
797
|
+
static listAll: (params?: (Omit<AgentRuntimeListInput, "pageNumber" | "pageSize"> & {
|
|
798
|
+
config?: Config;
|
|
799
|
+
}) | undefined) => Promise<any[]>;
|
|
769
800
|
/**
|
|
770
801
|
* List Agent Runtime versions by ID
|
|
771
802
|
*/
|
|
@@ -790,7 +821,7 @@ declare class AgentRuntime implements AgentRuntimeData {
|
|
|
790
821
|
/**
|
|
791
822
|
* Refresh this runtime's data
|
|
792
823
|
*/
|
|
793
|
-
|
|
824
|
+
get: (params?: {
|
|
794
825
|
config?: Config;
|
|
795
826
|
}) => Promise<AgentRuntime>;
|
|
796
827
|
/**
|
|
@@ -834,24 +865,6 @@ declare class AgentRuntime implements AgentRuntimeData {
|
|
|
834
865
|
listVersions: (params?: {
|
|
835
866
|
config?: Config;
|
|
836
867
|
}) => Promise<AgentRuntimeVersion[]>;
|
|
837
|
-
/**
|
|
838
|
-
* Wait until the runtime is ready
|
|
839
|
-
*/
|
|
840
|
-
waitUntilReady: (options?: {
|
|
841
|
-
timeoutSeconds?: number;
|
|
842
|
-
intervalSeconds?: number;
|
|
843
|
-
beforeCheck?: (runtime: AgentRuntime) => void;
|
|
844
|
-
}, config?: Config) => Promise<AgentRuntime>;
|
|
845
|
-
/**
|
|
846
|
-
* Wait until agent runtime reaches READY or any FAILED state
|
|
847
|
-
* Similar to waitUntilReady but does not throw on FAILED states
|
|
848
|
-
* Compatible with Python SDK's wait_until_ready_or_failed method
|
|
849
|
-
*/
|
|
850
|
-
waitUntilReadyOrFailed: (options?: {
|
|
851
|
-
timeoutSeconds?: number;
|
|
852
|
-
intervalSeconds?: number;
|
|
853
|
-
beforeCheck?: (runtime: AgentRuntime) => void;
|
|
854
|
-
}, config?: Config) => Promise<AgentRuntime>;
|
|
855
868
|
/**
|
|
856
869
|
* Invoke agent runtime using OpenAI-compatible API
|
|
857
870
|
*
|
|
@@ -926,17 +939,6 @@ declare class AgentRuntimeClient {
|
|
|
926
939
|
input?: AgentRuntimeListInput;
|
|
927
940
|
config?: Config;
|
|
928
941
|
}) => Promise<AgentRuntime[]>;
|
|
929
|
-
/**
|
|
930
|
-
* List all Agent Runtimes (with pagination)
|
|
931
|
-
*/
|
|
932
|
-
listAll: (params?: {
|
|
933
|
-
options?: {
|
|
934
|
-
agentRuntimeName?: string;
|
|
935
|
-
tags?: string;
|
|
936
|
-
searchMode?: string;
|
|
937
|
-
};
|
|
938
|
-
config?: Config;
|
|
939
|
-
}) => Promise<AgentRuntime[]>;
|
|
940
942
|
/**
|
|
941
943
|
* Create an endpoint for an Agent Runtime
|
|
942
944
|
*/
|
|
@@ -1227,67 +1229,6 @@ declare class AgentRuntimeControlAPI extends ControlAPI {
|
|
|
1227
1229
|
}) => Promise<$AgentRun.ListAgentRuntimeVersionsOutput>;
|
|
1228
1230
|
}
|
|
1229
1231
|
|
|
1230
|
-
/**
|
|
1231
|
-
资源基类模板 / Resource Base Template
|
|
1232
|
-
|
|
1233
|
-
此模板用于生成资源对象的基类代码。
|
|
1234
|
-
This template is used to generate base class code for resource objects.
|
|
1235
|
-
*/
|
|
1236
|
-
|
|
1237
|
-
declare abstract class ResourceBase {
|
|
1238
|
-
status?: Status;
|
|
1239
|
-
protected _config?: Config;
|
|
1240
|
-
abstract get(params?: {
|
|
1241
|
-
config?: Config;
|
|
1242
|
-
}): Promise<any>;
|
|
1243
|
-
abstract delete(params?: {
|
|
1244
|
-
config?: Config;
|
|
1245
|
-
}): Promise<any>;
|
|
1246
|
-
static list(_params: {
|
|
1247
|
-
input?: PageableInput;
|
|
1248
|
-
config?: Config;
|
|
1249
|
-
}): Promise<ThisType<ResourceBase>[]>;
|
|
1250
|
-
static listAll(params: {
|
|
1251
|
-
uniqIdCallback: (item: any) => string;
|
|
1252
|
-
input?: Record<string, any>;
|
|
1253
|
-
config?: Config;
|
|
1254
|
-
}): Promise<any[]>;
|
|
1255
|
-
waitUntil: (params: {
|
|
1256
|
-
checkFinishedCallback: (resource: ResourceBase) => Promise<boolean>;
|
|
1257
|
-
intervalSeconds?: number;
|
|
1258
|
-
timeoutSeconds?: number;
|
|
1259
|
-
}) => Promise<ResourceBase>;
|
|
1260
|
-
waitUntilReadyOrFailed: (params: {
|
|
1261
|
-
callback: (resource: ResourceBase) => Promise<void>;
|
|
1262
|
-
intervalSeconds?: number;
|
|
1263
|
-
timeoutSeconds?: number;
|
|
1264
|
-
}) => Promise<ResourceBase>;
|
|
1265
|
-
delete_and_wait_until_finished: (params: {
|
|
1266
|
-
callback: (resource: ResourceBase) => Promise<void>;
|
|
1267
|
-
intervalSeconds?: number;
|
|
1268
|
-
timeoutSeconds?: number;
|
|
1269
|
-
}) => Promise<ResourceBase | undefined>;
|
|
1270
|
-
refresh: (params?: {
|
|
1271
|
-
config?: Config;
|
|
1272
|
-
}) => Promise<any>;
|
|
1273
|
-
/**
|
|
1274
|
-
* 更新实例自身的属性 / Update instance properties
|
|
1275
|
-
*
|
|
1276
|
-
* @param source - 源对象 / Source object
|
|
1277
|
-
*/
|
|
1278
|
-
updateSelf(source: any): void;
|
|
1279
|
-
/**
|
|
1280
|
-
* 列出所有资源(带去重)/ List all resources (with deduplication)
|
|
1281
|
-
*
|
|
1282
|
-
* @param uniqIdCallback - 唯一ID回调函数 / Unique ID callback function
|
|
1283
|
-
* @param config - 配置 / Configuration
|
|
1284
|
-
* @param kwargs - 其他查询参数 / Other query parameters
|
|
1285
|
-
* @returns 资源列表 / Resource list
|
|
1286
|
-
*/
|
|
1287
|
-
protected static listAllResources(uniqIdCallback: (item: any) => string, config?: Config, kwargs?: Record<string, any>): Promise<any[]>;
|
|
1288
|
-
setConfig: (config: Config) => this;
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
1232
|
/** 凭证认证类型 / Credential Authentication Types */
|
|
1292
1233
|
type CredentialAuthType = 'jwt' | 'api_key' | 'basic' | 'aksk' | 'custom_header';
|
|
1293
1234
|
/** 凭证来源类型 / Credential Source Types */
|
|
@@ -1402,6 +1343,7 @@ declare class CredentialListOutput {
|
|
|
1402
1343
|
relatedResourceCount?: number;
|
|
1403
1344
|
updatedAt?: string;
|
|
1404
1345
|
constructor(data?: any);
|
|
1346
|
+
uniqIdCallback: () => string | undefined;
|
|
1405
1347
|
toCredential: (params?: {
|
|
1406
1348
|
config?: Config;
|
|
1407
1349
|
}) => Promise<Credential>;
|
|
@@ -1412,13 +1354,6 @@ declare class CredentialListOutput {
|
|
|
1412
1354
|
interface CredentialInterface extends CredentialMutableProps, CredentialImmutableProps, CredentialSystemProps, CredentialConfigInterface {
|
|
1413
1355
|
}
|
|
1414
1356
|
|
|
1415
|
-
/**
|
|
1416
|
-
* Credential Resource
|
|
1417
|
-
*
|
|
1418
|
-
* 此模块定义 Credential 资源类。
|
|
1419
|
-
* This module defines the Credential resource class.
|
|
1420
|
-
*/
|
|
1421
|
-
|
|
1422
1357
|
declare class Credential extends ResourceBase implements CredentialInterface {
|
|
1423
1358
|
credentialName?: string;
|
|
1424
1359
|
/** 描述 */
|
|
@@ -1460,10 +1395,9 @@ declare class Credential extends ResourceBase implements CredentialInterface {
|
|
|
1460
1395
|
* List all Credentials (with pagination)
|
|
1461
1396
|
*/
|
|
1462
1397
|
static list: (paramsOrUndefined?: any) => Promise<CredentialListOutput[]>;
|
|
1463
|
-
static listAll: (params?: {
|
|
1464
|
-
input?: CredentialListInput;
|
|
1398
|
+
static listAll: (params?: (Omit<any, "pageNumber" | "pageSize"> & {
|
|
1465
1399
|
config?: Config;
|
|
1466
|
-
}) => Promise<
|
|
1400
|
+
}) | undefined) => Promise<any[]>;
|
|
1467
1401
|
/**
|
|
1468
1402
|
* Delete this credential
|
|
1469
1403
|
*/
|
|
@@ -1527,7 +1461,7 @@ declare class CredentialClient {
|
|
|
1527
1461
|
/**
|
|
1528
1462
|
* List Credentials
|
|
1529
1463
|
*/
|
|
1530
|
-
list: (params
|
|
1464
|
+
list: (params?: {
|
|
1531
1465
|
input?: CredentialListInput;
|
|
1532
1466
|
config?: Config;
|
|
1533
1467
|
}) => Promise<CredentialListOutput[]>;
|
|
@@ -2360,7 +2294,8 @@ interface FileInfo {
|
|
|
2360
2294
|
* Base Sandbox resource class
|
|
2361
2295
|
* 基础沙箱资源类 / Base Sandbox Resource Class
|
|
2362
2296
|
*/
|
|
2363
|
-
declare class Sandbox implements SandboxData {
|
|
2297
|
+
declare class Sandbox extends ResourceBase implements SandboxData {
|
|
2298
|
+
templateType?: TemplateType;
|
|
2364
2299
|
/**
|
|
2365
2300
|
* 沙箱 ID / Sandbox ID
|
|
2366
2301
|
*/
|
|
@@ -2420,7 +2355,7 @@ declare class Sandbox implements SandboxData {
|
|
|
2420
2355
|
* 从 SDK 响应对象创建沙箱 / Create Sandbox from SDK Response Object
|
|
2421
2356
|
*/
|
|
2422
2357
|
static fromInnerObject(obj: any, config?: Config): Sandbox;
|
|
2423
|
-
|
|
2358
|
+
private static getClient;
|
|
2424
2359
|
/**
|
|
2425
2360
|
* Create a new Sandbox
|
|
2426
2361
|
* 创建新沙箱 / Create a New Sandbox
|
|
@@ -2456,6 +2391,9 @@ declare class Sandbox implements SandboxData {
|
|
|
2456
2391
|
* Handle API errors
|
|
2457
2392
|
*/
|
|
2458
2393
|
protected static handleError(error: unknown): never;
|
|
2394
|
+
get: (params?: {
|
|
2395
|
+
config?: Config;
|
|
2396
|
+
}) => Promise<Sandbox>;
|
|
2459
2397
|
/**
|
|
2460
2398
|
* Delete this sandbox
|
|
2461
2399
|
*/
|
|
@@ -2523,13 +2461,6 @@ declare class BrowserSandbox extends Sandbox {
|
|
|
2523
2461
|
status: string;
|
|
2524
2462
|
[key: string]: any;
|
|
2525
2463
|
}>;
|
|
2526
|
-
/**
|
|
2527
|
-
* Wait for browser sandbox to be ready (polls health check)
|
|
2528
|
-
*/
|
|
2529
|
-
waitUntilReady: (params?: {
|
|
2530
|
-
maxRetries?: number;
|
|
2531
|
-
retryIntervalMs?: number;
|
|
2532
|
-
}) => Promise<void>;
|
|
2533
2464
|
/**
|
|
2534
2465
|
* Get CDP WebSocket URL for browser automation
|
|
2535
2466
|
*/
|
|
@@ -2971,13 +2902,6 @@ declare class CodeInterpreterSandbox extends Sandbox {
|
|
|
2971
2902
|
status: string;
|
|
2972
2903
|
[key: string]: any;
|
|
2973
2904
|
}>;
|
|
2974
|
-
/**
|
|
2975
|
-
* Wait for sandbox to be ready (polls health check)
|
|
2976
|
-
*/
|
|
2977
|
-
waitUntilReady: (params?: {
|
|
2978
|
-
maxRetries?: number;
|
|
2979
|
-
retryIntervalMs?: number;
|
|
2980
|
-
}) => Promise<void>;
|
|
2981
2905
|
/**
|
|
2982
2906
|
* Execute code (convenience method delegating to context.execute)
|
|
2983
2907
|
*/
|
|
@@ -3000,7 +2924,7 @@ declare class CodeInterpreterSandbox extends Sandbox {
|
|
|
3000
2924
|
* Template resource class
|
|
3001
2925
|
* 模板资源类 / Template Resource Class
|
|
3002
2926
|
*/
|
|
3003
|
-
declare class Template implements TemplateData {
|
|
2927
|
+
declare class Template extends ResourceBase implements TemplateData {
|
|
3004
2928
|
/**
|
|
3005
2929
|
* 模板 ARN / Template ARN
|
|
3006
2930
|
*/
|
|
@@ -3073,13 +2997,9 @@ declare class Template implements TemplateData {
|
|
|
3073
2997
|
* 是否允许匿名管理 / Whether to allow anonymous management
|
|
3074
2998
|
*/
|
|
3075
2999
|
allowAnonymousManage?: boolean;
|
|
3076
|
-
|
|
3077
|
-
constructor(data?:
|
|
3078
|
-
|
|
3079
|
-
* Create template from SDK response object
|
|
3080
|
-
* 从 SDK 响应对象创建模板 / Create Template from SDK Response Object
|
|
3081
|
-
*/
|
|
3082
|
-
static fromInnerObject(obj: $AgentRun.Template, config?: Config): Template;
|
|
3000
|
+
protected _config?: Config;
|
|
3001
|
+
constructor(data?: any, config?: Config);
|
|
3002
|
+
uniqIdCallback: () => string | undefined;
|
|
3083
3003
|
private static getClient;
|
|
3084
3004
|
/**
|
|
3085
3005
|
* Create a new Template
|
|
@@ -3088,14 +3008,6 @@ declare class Template implements TemplateData {
|
|
|
3088
3008
|
input: TemplateCreateInput;
|
|
3089
3009
|
config?: Config;
|
|
3090
3010
|
}): Promise<Template>;
|
|
3091
|
-
/**
|
|
3092
|
-
* Get defaults based on template type
|
|
3093
|
-
*/
|
|
3094
|
-
private static getDefaults;
|
|
3095
|
-
/**
|
|
3096
|
-
* Validate template configuration
|
|
3097
|
-
*/
|
|
3098
|
-
private static validate;
|
|
3099
3011
|
/**
|
|
3100
3012
|
* Delete a Template by name
|
|
3101
3013
|
*/
|
|
@@ -3121,17 +3033,23 @@ declare class Template implements TemplateData {
|
|
|
3121
3033
|
/**
|
|
3122
3034
|
* List Templates
|
|
3123
3035
|
*/
|
|
3124
|
-
static list(
|
|
3036
|
+
static list(params?: {
|
|
3037
|
+
input?: TemplateListInput;
|
|
3038
|
+
config?: Config;
|
|
3039
|
+
}): Promise<Template[]>;
|
|
3125
3040
|
/**
|
|
3126
3041
|
* List all Templates (with pagination)
|
|
3127
3042
|
*/
|
|
3128
|
-
static listAll(
|
|
3129
|
-
|
|
3130
|
-
}
|
|
3043
|
+
static listAll: (params?: (Omit<TemplateListInput, "pageNumber" | "pageSize"> & {
|
|
3044
|
+
config?: Config;
|
|
3045
|
+
}) | undefined) => Promise<any[]>;
|
|
3131
3046
|
/**
|
|
3132
3047
|
* Handle API errors
|
|
3133
3048
|
*/
|
|
3134
3049
|
private static handleError;
|
|
3050
|
+
get: (params?: {
|
|
3051
|
+
config?: Config;
|
|
3052
|
+
}) => Promise<Template>;
|
|
3135
3053
|
/**
|
|
3136
3054
|
* Delete this template
|
|
3137
3055
|
*/
|
|
@@ -3151,14 +3069,6 @@ declare class Template implements TemplateData {
|
|
|
3151
3069
|
refresh: (params?: {
|
|
3152
3070
|
config?: Config;
|
|
3153
3071
|
}) => Promise<Template>;
|
|
3154
|
-
/**
|
|
3155
|
-
* Wait until the template is ready
|
|
3156
|
-
*/
|
|
3157
|
-
waitUntilReady: (options?: {
|
|
3158
|
-
timeoutSeconds?: number;
|
|
3159
|
-
intervalSeconds?: number;
|
|
3160
|
-
beforeCheck?: (template: Template) => void;
|
|
3161
|
-
}, config?: Config) => Promise<Template>;
|
|
3162
3072
|
}
|
|
3163
3073
|
|
|
3164
3074
|
/**
|
|
@@ -3175,6 +3085,7 @@ declare class Template implements TemplateData {
|
|
|
3175
3085
|
*/
|
|
3176
3086
|
declare class SandboxClient {
|
|
3177
3087
|
private config?;
|
|
3088
|
+
private controlApi;
|
|
3178
3089
|
constructor(config?: Config);
|
|
3179
3090
|
/**
|
|
3180
3091
|
* Create a Template
|
|
@@ -3212,15 +3123,6 @@ declare class SandboxClient {
|
|
|
3212
3123
|
input?: TemplateListInput;
|
|
3213
3124
|
config?: Config;
|
|
3214
3125
|
}) => Promise<Template[]>;
|
|
3215
|
-
/**
|
|
3216
|
-
* List all Templates
|
|
3217
|
-
*/
|
|
3218
|
-
listAllTemplates: (params?: {
|
|
3219
|
-
options?: {
|
|
3220
|
-
templateType?: TemplateType;
|
|
3221
|
-
};
|
|
3222
|
-
config?: Config;
|
|
3223
|
-
}) => Promise<Template[]>;
|
|
3224
3126
|
/**
|
|
3225
3127
|
* Create a Sandbox
|
|
3226
3128
|
*/
|
|
@@ -3289,6 +3191,9 @@ declare class SandboxClient {
|
|
|
3289
3191
|
input?: SandboxListInput;
|
|
3290
3192
|
config?: Config;
|
|
3291
3193
|
}) => Promise<Sandbox[]>;
|
|
3194
|
+
private prepareTemplateCreateInput;
|
|
3195
|
+
private getTemplateDefaults;
|
|
3196
|
+
private validateTemplateCreateInput;
|
|
3292
3197
|
}
|
|
3293
3198
|
|
|
3294
3199
|
/**
|
|
@@ -3562,13 +3467,6 @@ declare class AioSandbox extends Sandbox {
|
|
|
3562
3467
|
status: string;
|
|
3563
3468
|
[key: string]: any;
|
|
3564
3469
|
}>;
|
|
3565
|
-
/**
|
|
3566
|
-
* Wait for sandbox to be ready (polls health check)
|
|
3567
|
-
*/
|
|
3568
|
-
waitUntilReady: (params?: {
|
|
3569
|
-
maxRetries?: number;
|
|
3570
|
-
retryIntervalMs?: number;
|
|
3571
|
-
}) => Promise<void>;
|
|
3572
3470
|
/**
|
|
3573
3471
|
* Get CDP WebSocket URL for browser automation
|
|
3574
3472
|
*/
|
|
@@ -3826,6 +3724,45 @@ interface ModelProxyListInput extends PageableInput {
|
|
|
3826
3724
|
status?: Status;
|
|
3827
3725
|
}
|
|
3828
3726
|
|
|
3727
|
+
interface ModelInfo {
|
|
3728
|
+
model?: string;
|
|
3729
|
+
apiKey?: string;
|
|
3730
|
+
baseUrl?: string;
|
|
3731
|
+
headers?: Record<string, string>;
|
|
3732
|
+
provider?: string;
|
|
3733
|
+
}
|
|
3734
|
+
type GetModelInfo = (params?: {
|
|
3735
|
+
config?: Config;
|
|
3736
|
+
}) => Promise<ModelInfo>;
|
|
3737
|
+
declare class ModelAPI {
|
|
3738
|
+
getModelInfo: GetModelInfo;
|
|
3739
|
+
constructor(getModelInfo: GetModelInfo);
|
|
3740
|
+
private getProvider;
|
|
3741
|
+
private getModel;
|
|
3742
|
+
private getEmbeddingModel;
|
|
3743
|
+
completion: (params: {
|
|
3744
|
+
messages: any[];
|
|
3745
|
+
model?: string;
|
|
3746
|
+
stream?: boolean;
|
|
3747
|
+
config?: Config;
|
|
3748
|
+
[key: string]: any;
|
|
3749
|
+
}) => Promise<ai.StreamTextResult<ai.ToolSet, any> | ai.GenerateTextResult<ai.ToolSet, any>>;
|
|
3750
|
+
embedding: (params: {
|
|
3751
|
+
values: string[];
|
|
3752
|
+
model?: string;
|
|
3753
|
+
stream?: boolean;
|
|
3754
|
+
config?: Config;
|
|
3755
|
+
[key: string]: any;
|
|
3756
|
+
}) => Promise<ai.EmbedManyResult>;
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Model Proxy 高层 API / Model Proxy High-Level API
|
|
3761
|
+
*
|
|
3762
|
+
* 此模块定义模型代理资源的高级API。
|
|
3763
|
+
* This module defines the high-level API for model proxy resources.
|
|
3764
|
+
*/
|
|
3765
|
+
|
|
3829
3766
|
/**
|
|
3830
3767
|
* 模型代理 / Model Proxy
|
|
3831
3768
|
*/
|
|
@@ -3849,12 +3786,17 @@ declare class ModelProxy extends ResourceBase implements ModelProxyImmutableProp
|
|
|
3849
3786
|
createdAt?: string;
|
|
3850
3787
|
lastUpdatedAt?: string;
|
|
3851
3788
|
status?: ModelProxySystemProps['status'];
|
|
3789
|
+
private modelApi;
|
|
3790
|
+
constructor();
|
|
3791
|
+
completion: (typeof ModelAPI)['prototype']['completion'];
|
|
3792
|
+
embedding: (typeof ModelAPI)['prototype']['embedding'];
|
|
3852
3793
|
/**
|
|
3853
3794
|
* 获取客户端 / Get client
|
|
3854
3795
|
*
|
|
3855
3796
|
* @returns ModelClient 实例
|
|
3856
3797
|
*/
|
|
3857
3798
|
private static getClient;
|
|
3799
|
+
uniqIdCallback: () => string | undefined;
|
|
3858
3800
|
/**
|
|
3859
3801
|
* 创建模型代理 / Create model proxy
|
|
3860
3802
|
*
|
|
@@ -3904,19 +3846,13 @@ declare class ModelProxy extends ResourceBase implements ModelProxyImmutableProp
|
|
|
3904
3846
|
* @param kwargs - 其他查询参数 / Other query parameters
|
|
3905
3847
|
* @returns 模型代理列表 / Model proxy list
|
|
3906
3848
|
*/
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
* @param config - 配置 / Configuration
|
|
3913
|
-
* @returns 模型代理列表 / Model proxy list
|
|
3914
|
-
*/
|
|
3915
|
-
static listAll(options?: {
|
|
3916
|
-
proxyMode?: string;
|
|
3917
|
-
status?: Status;
|
|
3849
|
+
static list: (params?: {
|
|
3850
|
+
input?: ModelProxyListInput;
|
|
3851
|
+
config?: Config;
|
|
3852
|
+
}) => Promise<ModelProxy[]>;
|
|
3853
|
+
static listAll: (params?: (Omit<ModelProxyListInput, "pageNumber" | "pageSize"> & {
|
|
3918
3854
|
config?: Config;
|
|
3919
|
-
})
|
|
3855
|
+
}) | undefined) => Promise<any[]>;
|
|
3920
3856
|
/**
|
|
3921
3857
|
* 更新模型代理 / Update model proxy
|
|
3922
3858
|
*
|
|
@@ -3955,52 +3891,16 @@ declare class ModelProxy extends ResourceBase implements ModelProxyImmutableProp
|
|
|
3955
3891
|
*/
|
|
3956
3892
|
modelInfo: (params?: {
|
|
3957
3893
|
config?: Config;
|
|
3958
|
-
}) => Promise<
|
|
3959
|
-
apiKey: string;
|
|
3960
|
-
baseUrl: string;
|
|
3961
|
-
model?: string;
|
|
3962
|
-
headers?: Record<string, string>;
|
|
3963
|
-
}>;
|
|
3964
|
-
/**
|
|
3965
|
-
* 调用模型完成 / Call model completion
|
|
3966
|
-
*
|
|
3967
|
-
* @param params - 参数 / Parameters
|
|
3968
|
-
* @returns 完成结果 / Completion result
|
|
3969
|
-
*/
|
|
3970
|
-
completions: (params: {
|
|
3971
|
-
messages: any[];
|
|
3972
|
-
model?: string;
|
|
3973
|
-
stream?: boolean;
|
|
3974
|
-
config?: Config;
|
|
3975
|
-
[key: string]: any;
|
|
3976
|
-
}) => Promise<ai.StreamTextResult<ai.ToolSet, any> | ai.GenerateTextResult<ai.ToolSet, any>>;
|
|
3977
|
-
/**
|
|
3978
|
-
* 获取响应 / Get responses
|
|
3979
|
-
*
|
|
3980
|
-
* @param params - 参数 / Parameters
|
|
3981
|
-
* @returns 响应结果 / Response result
|
|
3982
|
-
*/
|
|
3983
|
-
responses: (params: {
|
|
3984
|
-
messages: any[];
|
|
3985
|
-
model?: string;
|
|
3986
|
-
stream?: boolean;
|
|
3987
|
-
config?: Config;
|
|
3988
|
-
[key: string]: any;
|
|
3989
|
-
}) => Promise<any>;
|
|
3990
|
-
/**
|
|
3991
|
-
* 等待模型代理就绪 / Wait until model proxy is ready
|
|
3992
|
-
*
|
|
3993
|
-
* @param options - 选项 / Options
|
|
3994
|
-
* @param config - 配置 / Configuration
|
|
3995
|
-
* @returns 模型代理对象 / Model proxy object
|
|
3996
|
-
*/
|
|
3997
|
-
waitUntilReady: (options?: {
|
|
3998
|
-
timeoutSeconds?: number;
|
|
3999
|
-
intervalSeconds?: number;
|
|
4000
|
-
beforeCheck?: (proxy: ModelProxy) => void;
|
|
4001
|
-
}, config?: Config) => Promise<ModelProxy>;
|
|
3894
|
+
}) => Promise<ModelInfo>;
|
|
4002
3895
|
}
|
|
4003
3896
|
|
|
3897
|
+
/**
|
|
3898
|
+
* Model Service 高层 API / Model Service High-Level API
|
|
3899
|
+
*
|
|
3900
|
+
* 此模块定义模型服务资源的高级API。
|
|
3901
|
+
* This module defines the high-level API for model service resources.
|
|
3902
|
+
*/
|
|
3903
|
+
|
|
4004
3904
|
/**
|
|
4005
3905
|
* 模型服务 / Model Service
|
|
4006
3906
|
*/
|
|
@@ -4018,12 +3918,17 @@ declare class ModelService extends ResourceBase implements ModelServiceImmutable
|
|
|
4018
3918
|
lastUpdatedAt?: string;
|
|
4019
3919
|
status?: ModelServiceSystemProps['status'];
|
|
4020
3920
|
modelType?: ModelServiceImmutableProps['modelType'];
|
|
3921
|
+
private modelApi;
|
|
3922
|
+
constructor();
|
|
3923
|
+
completion: (typeof ModelAPI)['prototype']['completion'];
|
|
3924
|
+
embedding: (typeof ModelAPI)['prototype']['embedding'];
|
|
4021
3925
|
/**
|
|
4022
3926
|
* 获取客户端 / Get client
|
|
4023
3927
|
*
|
|
4024
3928
|
* @returns ModelClient 实例
|
|
4025
3929
|
*/
|
|
4026
3930
|
private static getClient;
|
|
3931
|
+
uniqIdCallback: () => string | undefined;
|
|
4027
3932
|
/**
|
|
4028
3933
|
* 创建模型服务 / Create model service
|
|
4029
3934
|
*
|
|
@@ -4073,19 +3978,13 @@ declare class ModelService extends ResourceBase implements ModelServiceImmutable
|
|
|
4073
3978
|
* @param kwargs - 其他查询参数 / Other query parameters
|
|
4074
3979
|
* @returns 模型服务列表 / Model service list
|
|
4075
3980
|
*/
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
* 列出所有模型服务 / List all model services
|
|
4079
|
-
*
|
|
4080
|
-
* @param options - 查询选项 / Query options
|
|
4081
|
-
* @param config - 配置 / Configuration
|
|
4082
|
-
* @returns 模型服务列表 / Model service list
|
|
4083
|
-
*/
|
|
4084
|
-
static listAll(options?: {
|
|
4085
|
-
modelType?: ModelType;
|
|
4086
|
-
provider?: string;
|
|
3981
|
+
static list: (params?: {
|
|
3982
|
+
input?: ModelServiceListInput;
|
|
4087
3983
|
config?: Config;
|
|
4088
|
-
})
|
|
3984
|
+
}) => Promise<ModelService[]>;
|
|
3985
|
+
static listAll: (params?: (Omit<ModelServiceListInput, "pageNumber" | "pageSize"> & {
|
|
3986
|
+
config?: Config;
|
|
3987
|
+
}) | undefined) => Promise<any[]>;
|
|
4089
3988
|
/**
|
|
4090
3989
|
* 更新模型服务 / Update model service
|
|
4091
3990
|
*
|
|
@@ -4130,50 +4029,6 @@ declare class ModelService extends ResourceBase implements ModelServiceImmutable
|
|
|
4130
4029
|
headers?: Record<string, string>;
|
|
4131
4030
|
provider?: string;
|
|
4132
4031
|
}>;
|
|
4133
|
-
/**
|
|
4134
|
-
* 调用模型完成 / Call model completion
|
|
4135
|
-
*
|
|
4136
|
-
* @param messages - 消息列表 / Message list
|
|
4137
|
-
* @param model - 模型名称(可选)/ Model name (optional)
|
|
4138
|
-
* @param stream - 是否流式输出 / Whether to stream output
|
|
4139
|
-
* @param kwargs - 其他参数 / Other parameters
|
|
4140
|
-
* @returns 完成结果 / Completion result
|
|
4141
|
-
*/
|
|
4142
|
-
completions: (params: {
|
|
4143
|
-
messages: any[];
|
|
4144
|
-
model?: string;
|
|
4145
|
-
stream?: boolean;
|
|
4146
|
-
config?: Config;
|
|
4147
|
-
[key: string]: any;
|
|
4148
|
-
}) => Promise<ai.StreamTextResult<ai.ToolSet, any> | ai.GenerateTextResult<ai.ToolSet, any>>;
|
|
4149
|
-
/**
|
|
4150
|
-
* 获取响应 / Get responses
|
|
4151
|
-
*
|
|
4152
|
-
* @param input - 输入 / Input
|
|
4153
|
-
* @param model - 模型名称(可选)/ Model name (optional)
|
|
4154
|
-
* @param stream - 是否流式输出 / Whether to stream output
|
|
4155
|
-
* @param kwargs - 其他参数 / Other parameters
|
|
4156
|
-
* @returns 响应结果 / Response result
|
|
4157
|
-
*/
|
|
4158
|
-
responses: (params: {
|
|
4159
|
-
input: string | any;
|
|
4160
|
-
model?: string;
|
|
4161
|
-
stream?: boolean;
|
|
4162
|
-
config?: Config;
|
|
4163
|
-
[key: string]: any;
|
|
4164
|
-
}) => Promise<any>;
|
|
4165
|
-
/**
|
|
4166
|
-
* 等待模型服务就绪 / Wait until model service is ready
|
|
4167
|
-
*
|
|
4168
|
-
* @param options - 选项 / Options
|
|
4169
|
-
* @param config - 配置 / Configuration
|
|
4170
|
-
* @returns 模型服务对象 / Model service object
|
|
4171
|
-
*/
|
|
4172
|
-
waitUntilReady: (options?: {
|
|
4173
|
-
timeoutSeconds?: number;
|
|
4174
|
-
intervalSeconds?: number;
|
|
4175
|
-
beforeCheck?: (service: ModelService) => void;
|
|
4176
|
-
}, config?: Config) => Promise<ModelService>;
|
|
4177
4032
|
}
|
|
4178
4033
|
|
|
4179
4034
|
/**
|
|
@@ -4190,8 +4045,8 @@ declare class ModelService extends ResourceBase implements ModelServiceImmutable
|
|
|
4190
4045
|
* Provides create, delete, update and query functions for model services and model proxies.
|
|
4191
4046
|
*/
|
|
4192
4047
|
declare class ModelClient {
|
|
4193
|
-
private controlApi;
|
|
4194
4048
|
private config?;
|
|
4049
|
+
private controlApi;
|
|
4195
4050
|
/**
|
|
4196
4051
|
* 初始化客户端 / Initialize client
|
|
4197
4052
|
*
|
|
@@ -4258,8 +4113,8 @@ declare class ModelClient {
|
|
|
4258
4113
|
* @param params - 参数 / Parameters
|
|
4259
4114
|
* @returns 模型服务列表 / Model service list
|
|
4260
4115
|
*/
|
|
4261
|
-
list: (params
|
|
4262
|
-
input
|
|
4116
|
+
list: (params?: {
|
|
4117
|
+
input?: ModelServiceListInput | ModelProxyListInput;
|
|
4263
4118
|
config?: Config;
|
|
4264
4119
|
}) => Promise<ModelService[] | ModelProxy[]>;
|
|
4265
4120
|
}
|
|
@@ -4333,6 +4188,7 @@ interface MCPToolMeta {
|
|
|
4333
4188
|
* Tool description
|
|
4334
4189
|
*/
|
|
4335
4190
|
description?: string;
|
|
4191
|
+
inputSchema?: Record<string, any>;
|
|
4336
4192
|
}
|
|
4337
4193
|
/**
|
|
4338
4194
|
* ToolSet status outputs
|
|
@@ -4470,23 +4326,7 @@ declare class ToolSet implements ToolSetData {
|
|
|
4470
4326
|
spec?: ToolSetSpec;
|
|
4471
4327
|
status?: ToolSetStatus;
|
|
4472
4328
|
private _config?;
|
|
4473
|
-
constructor(data?:
|
|
4474
|
-
/**
|
|
4475
|
-
* Get ToolSet name (alias for name)
|
|
4476
|
-
*/
|
|
4477
|
-
get toolSetName(): string | undefined;
|
|
4478
|
-
/**
|
|
4479
|
-
* Get ToolSet ID (alias for uid)
|
|
4480
|
-
*/
|
|
4481
|
-
get toolSetId(): string | undefined;
|
|
4482
|
-
/**
|
|
4483
|
-
* Check if the toolset is ready
|
|
4484
|
-
*/
|
|
4485
|
-
get isReady(): boolean;
|
|
4486
|
-
/**
|
|
4487
|
-
* Create toolset from SDK response object
|
|
4488
|
-
*/
|
|
4489
|
-
static fromInnerObject(obj: $Devs.Toolset, config?: Config): ToolSet;
|
|
4329
|
+
constructor(data?: any, config?: Config);
|
|
4490
4330
|
/**
|
|
4491
4331
|
* Get DevS client
|
|
4492
4332
|
*/
|
|
@@ -4554,14 +4394,6 @@ declare class ToolSet implements ToolSetData {
|
|
|
4554
4394
|
refresh: (params?: {
|
|
4555
4395
|
config?: Config;
|
|
4556
4396
|
}) => Promise<ToolSet>;
|
|
4557
|
-
/**
|
|
4558
|
-
* Wait until the toolset is ready
|
|
4559
|
-
*/
|
|
4560
|
-
waitUntilReady: (options?: {
|
|
4561
|
-
timeoutSeconds?: number;
|
|
4562
|
-
intervalSeconds?: number;
|
|
4563
|
-
beforeCheck?: (toolset: ToolSet) => void;
|
|
4564
|
-
}, config?: Config) => Promise<ToolSet>;
|
|
4565
4397
|
/**
|
|
4566
4398
|
* Get toolset type
|
|
4567
4399
|
* 获取工具集类型
|
|
@@ -4622,53 +4454,44 @@ declare class ToolSet implements ToolSetData {
|
|
|
4622
4454
|
*/
|
|
4623
4455
|
declare class ToolSetClient {
|
|
4624
4456
|
private config?;
|
|
4457
|
+
private controlApi;
|
|
4625
4458
|
constructor(config?: Config);
|
|
4626
4459
|
/**
|
|
4627
4460
|
* Create a ToolSet
|
|
4628
4461
|
*/
|
|
4629
|
-
|
|
4462
|
+
create: (params: {
|
|
4630
4463
|
input: ToolSetCreateInput;
|
|
4631
4464
|
config?: Config;
|
|
4632
4465
|
}) => Promise<ToolSet>;
|
|
4633
4466
|
/**
|
|
4634
4467
|
* Delete a ToolSet by name
|
|
4635
4468
|
*/
|
|
4636
|
-
|
|
4469
|
+
delete: (params: {
|
|
4637
4470
|
name: string;
|
|
4638
4471
|
config?: Config;
|
|
4639
4472
|
}) => Promise<ToolSet>;
|
|
4640
4473
|
/**
|
|
4641
|
-
*
|
|
4474
|
+
* Update a ToolSet by name
|
|
4642
4475
|
*/
|
|
4643
|
-
|
|
4476
|
+
update: (params: {
|
|
4644
4477
|
name: string;
|
|
4478
|
+
input: ToolSetUpdateInput;
|
|
4645
4479
|
config?: Config;
|
|
4646
4480
|
}) => Promise<ToolSet>;
|
|
4647
4481
|
/**
|
|
4648
|
-
*
|
|
4482
|
+
* Get a ToolSet by name
|
|
4649
4483
|
*/
|
|
4650
|
-
|
|
4484
|
+
get: (params: {
|
|
4651
4485
|
name: string;
|
|
4652
|
-
input: ToolSetUpdateInput;
|
|
4653
4486
|
config?: Config;
|
|
4654
4487
|
}) => Promise<ToolSet>;
|
|
4655
4488
|
/**
|
|
4656
4489
|
* List ToolSets
|
|
4657
4490
|
*/
|
|
4658
|
-
|
|
4491
|
+
list: (params?: {
|
|
4659
4492
|
input?: ToolSetListInput;
|
|
4660
4493
|
config?: Config;
|
|
4661
4494
|
}) => Promise<ToolSet[]>;
|
|
4662
|
-
/**
|
|
4663
|
-
* List all ToolSets with pagination
|
|
4664
|
-
*/
|
|
4665
|
-
listAllToolSets: (params?: {
|
|
4666
|
-
options?: {
|
|
4667
|
-
prefix?: string;
|
|
4668
|
-
labels?: Record<string, string>;
|
|
4669
|
-
};
|
|
4670
|
-
config?: Config;
|
|
4671
|
-
}) => Promise<ToolSet[]>;
|
|
4672
4495
|
}
|
|
4673
4496
|
|
|
4674
4497
|
/**
|