tencentcloud-sdk-nodejs-ags 4.1.316 → 4.1.319
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse,
|
|
2
|
+
import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeQuotaOverviewRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, StopSandboxInstanceResponse, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, CreateRegistryRecordResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeRegistryRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSandboxInstanceListResponse, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, CreateAPIKeyResponse, DescribeSessionRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSessionSpaceRequest, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, PauseSandboxInstanceResponse, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, DescribeRegistryListResponse, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, AppendEventRequest, DeleteSessionResponse, PreviewRegistryRecordRequest, DescribeEventsRequest, CreateRegistryRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest } from "./ags_models";
|
|
3
3
|
/**
|
|
4
4
|
* ags client
|
|
5
5
|
* @class
|
|
@@ -13,7 +13,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* 对 Record 的指定 Version 或 Label 目标发起一次预览调用。VersionId 与 Label 互斥;均省略时使用 Stable。不创建 Version、不修改 Label。
|
|
15
15
|
*/
|
|
16
|
-
PreviewRegistryRecord(req
|
|
16
|
+
PreviewRegistryRecord(req: PreviewRegistryRecordRequest, cb?: (error: string, rep: PreviewRegistryRecordResponse) => void): Promise<PreviewRegistryRecordResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* 更新沙箱实例
|
|
19
19
|
*/
|
|
@@ -40,15 +40,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
40
40
|
/**
|
|
41
41
|
* 创建 Agent Registry(注册中心)。
|
|
42
42
|
*/
|
|
43
|
-
CreateRegistry(req
|
|
43
|
+
CreateRegistry(req: CreateRegistryRequest, cb?: (error: string, rep: CreateRegistryResponse) => void): Promise<CreateRegistryResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* 触发一次从远端拉取描述符 / 元数据的同步。可通过互斥的 VersionId 或 Label 指定来源 Version,均省略时默认使用 Stable。有变化时创建新 Version 并移动 Latest;来源必须 SourceType=URL_IMPORT,否则返回 UnsupportedOperation.SourceType。
|
|
46
46
|
*/
|
|
47
|
-
SyncRegistryRecord(req
|
|
47
|
+
SyncRegistryRecord(req: SyncRegistryRecordRequest, cb?: (error: string, rep: SyncRegistryRecordResponse) => void): Promise<SyncRegistryRecordResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* 分页查询指定Registry / Record / Version的审计日志。
|
|
50
50
|
*/
|
|
51
|
-
DescribeRegistryAuditLogList(req
|
|
51
|
+
DescribeRegistryAuditLogList(req: DescribeRegistryAuditLogListRequest, cb?: (error: string, rep: DescribeRegistryAuditLogListResponse) => void): Promise<DescribeRegistryAuditLogListResponse>;
|
|
52
52
|
/**
|
|
53
53
|
* 创建新的API密钥,用于调用Agent Sandbox接口。相较于腾讯云Secret ID Secret Key支持调用所有接口使用,仅有部分接口支持使用API密钥调用。
|
|
54
54
|
*/
|
|
@@ -56,7 +56,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
56
56
|
/**
|
|
57
57
|
* 更新 Registry 的可变元数据。
|
|
58
58
|
*/
|
|
59
|
-
UpdateRegistry(req
|
|
59
|
+
UpdateRegistry(req: UpdateRegistryRequest, cb?: (error: string, rep: UpdateRegistryResponse) => void): Promise<UpdateRegistryResponse>;
|
|
60
60
|
/**
|
|
61
61
|
* 创建 Deployment
|
|
62
62
|
*/
|
|
@@ -78,15 +78,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
78
78
|
/**
|
|
79
79
|
* 分页查询 Record 的 Version 列表。list 类接口不接入 CAM 转发鉴权。
|
|
80
80
|
*/
|
|
81
|
-
DescribeRegistryRecordVersionList(req
|
|
81
|
+
DescribeRegistryRecordVersionList(req: DescribeRegistryRecordVersionListRequest, cb?: (error: string, rep: DescribeRegistryRecordVersionListResponse) => void): Promise<DescribeRegistryRecordVersionListResponse>;
|
|
82
82
|
/**
|
|
83
83
|
* 通过 Version 审批:PENDING_APPROVAL → APPROVED。Comment 必填。
|
|
84
84
|
*/
|
|
85
|
-
ApproveRegistryRecord(req
|
|
85
|
+
ApproveRegistryRecord(req: ApproveRegistryRecordRequest, cb?: (error: string, rep: ApproveRegistryRecordResponse) => void): Promise<ApproveRegistryRecordResponse>;
|
|
86
86
|
/**
|
|
87
87
|
* 分页查询 Registry 下的 Record 列表。list 类接口不接入 CAM 转发鉴权;业务侧按 CAM 二次过滤。
|
|
88
88
|
*/
|
|
89
|
-
DescribeRegistryRecordList(req
|
|
89
|
+
DescribeRegistryRecordList(req: DescribeRegistryRecordListRequest, cb?: (error: string, rep: DescribeRegistryRecordListResponse) => void): Promise<DescribeRegistryRecordListResponse>;
|
|
90
90
|
/**
|
|
91
91
|
* 查询沙箱实例列表
|
|
92
92
|
*/
|
|
@@ -98,11 +98,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
98
98
|
/**
|
|
99
99
|
* 统一创建 Registry Record(含 revision 1)。请求通过 DescriptorType 与严格内容输入 Union 选择底层类型:MCPSource / AgentSource / SkillSource / CustomDescriptors 四选一,必须与 DescriptorType 对应。不接受 RecordId 或 ChangeLog;同名 Record 返回冲突,不隐式追加 Version。追加 Version 请使用 UpdateRegistryRecord。
|
|
100
100
|
*/
|
|
101
|
-
CreateRegistryRecord(req
|
|
101
|
+
CreateRegistryRecord(req: CreateRegistryRecordRequest, cb?: (error: string, rep: CreateRegistryRecordResponse) => void): Promise<CreateRegistryRecordResponse>;
|
|
102
102
|
/**
|
|
103
103
|
* PREPARING/PENDING_APPROVAL → CANCELED。Comment 必填。
|
|
104
104
|
*/
|
|
105
|
-
CancelRegistryRecord(req
|
|
105
|
+
CancelRegistryRecord(req: CancelRegistryRecordRequest, cb?: (error: string, rep: CancelRegistryRecordResponse) => void): Promise<CancelRegistryRecordResponse>;
|
|
106
106
|
/**
|
|
107
107
|
* 删除会话空间。
|
|
108
108
|
删除指定的会话空间。仅允许删除不包含会话、事件或用户状态数据的非默认会话空间;系统默认会话空间不能删除。删除成功后不再返回会话空间信息。
|
|
@@ -111,7 +111,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
111
111
|
/**
|
|
112
112
|
* 删除 Registry。
|
|
113
113
|
*/
|
|
114
|
-
DeleteRegistry(req
|
|
114
|
+
DeleteRegistry(req: DeleteRegistryRequest, cb?: (error: string, rep: DeleteRegistryResponse) => void): Promise<DeleteRegistryResponse>;
|
|
115
115
|
/**
|
|
116
116
|
* 修改会话信息
|
|
117
117
|
*/
|
|
@@ -127,11 +127,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
127
127
|
/**
|
|
128
128
|
* 为 FAILED / EXPIRED 的 TAR Skill Version 生成新的上传尝试;VersionId 与 Revision 保持不变。
|
|
129
129
|
*/
|
|
130
|
-
GetSkillPackageUploadURL(req
|
|
130
|
+
GetSkillPackageUploadURL(req: GetSkillPackageUploadURLRequest, cb?: (error: string, rep: GetSkillPackageUploadURLResponse) => void): Promise<GetSkillPackageUploadURLResponse>;
|
|
131
131
|
/**
|
|
132
132
|
* 查询 Record 详情和其中一个 Version。请求可通过互斥的 VersionId 或 Label 选择 Version;均省略时默认 Label=stable。取代原 DescribeRegistryRecordVersion。
|
|
133
133
|
*/
|
|
134
|
-
DescribeRegistryRecord(req
|
|
134
|
+
DescribeRegistryRecord(req: DescribeRegistryRecordRequest, cb?: (error: string, rep: DescribeRegistryRecordResponse) => void): Promise<DescribeRegistryRecordResponse>;
|
|
135
135
|
/**
|
|
136
136
|
* 修改会话空间。
|
|
137
137
|
修改指定会话空间的名称和描述,修改成功后返回更新后的会话空间信息。默认会话空间允许修改名称和描述。
|
|
@@ -140,7 +140,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
140
140
|
/**
|
|
141
141
|
* 删除 Registry Record 或指定 Version。省略 VersionId 时对整个 Record 进行软删除;传入 VersionId 时只删除指定 Version(Stable 指向的 Version 不允许删除;仅剩一个 Approved Version 时不允许删除)。取代原 DeleteRegistryRecordVersion。
|
|
142
142
|
*/
|
|
143
|
-
DeleteRegistryRecord(req
|
|
143
|
+
DeleteRegistryRecord(req: DeleteRegistryRecordRequest, cb?: (error: string, rep: DeleteRegistryRecordResponse) => void): Promise<DeleteRegistryRecordResponse>;
|
|
144
144
|
/**
|
|
145
145
|
* 查询会话列表
|
|
146
146
|
*/
|
|
@@ -152,11 +152,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
152
152
|
/**
|
|
153
153
|
* 获取 Skill 包下载 URL。VersionId 与 Label 互斥;均省略时使用 Stable。响应包含 ResolvedVersionId,便于调用方回填。
|
|
154
154
|
*/
|
|
155
|
-
GetSkillPackageDownloadURL(req
|
|
155
|
+
GetSkillPackageDownloadURL(req: GetSkillPackageDownloadURLRequest, cb?: (error: string, rep: GetSkillPackageDownloadURLResponse) => void): Promise<GetSkillPackageDownloadURLResponse>;
|
|
156
156
|
/**
|
|
157
157
|
* 驳回 Version 审批:PENDING_APPROVAL → REJECTED。Comment 必填。
|
|
158
158
|
*/
|
|
159
|
-
RejectRegistryRecord(req
|
|
159
|
+
RejectRegistryRecord(req: RejectRegistryRecordRequest, cb?: (error: string, rep: RejectRegistryRecordResponse) => void): Promise<RejectRegistryRecordResponse>;
|
|
160
160
|
/**
|
|
161
161
|
* 获取API密钥列表,包含API密钥简略信息,包含名称、创建时间等。
|
|
162
162
|
*/
|
|
@@ -164,7 +164,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
164
164
|
/**
|
|
165
165
|
* 更新 Registry Record。两种互斥模式:①Record 更新模式:不提交任何 Source / CustomDescriptors,可通过 Description、LabelMutations 修改元数据与 Label(至少提交一项);②Version 创建模式:提交且仅提交一种与现有 DescriptorType 匹配的内容输入,可选 VersionName / ChangeLog,禁止 Description / LabelMutations,服务端在 Record 下创建下一个 Revision。取代原 ChangeRegistryRecordStableVersion / RollbackRegistryRecordVersion / Create*RegistryRecordVersion。
|
|
166
166
|
*/
|
|
167
|
-
UpdateRegistryRecord(req
|
|
167
|
+
UpdateRegistryRecord(req: UpdateRegistryRecordRequest, cb?: (error: string, rep: UpdateRegistryRecordResponse) => void): Promise<UpdateRegistryRecordResponse>;
|
|
168
168
|
/**
|
|
169
169
|
* 删除沙箱工具
|
|
170
170
|
*/
|
|
@@ -191,7 +191,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
191
191
|
/**
|
|
192
192
|
* 分页查询当前租户可见的 Registry 列表。
|
|
193
193
|
*/
|
|
194
|
-
DescribeRegistryList(req
|
|
194
|
+
DescribeRegistryList(req: DescribeRegistryListRequest, cb?: (error: string, rep: DescribeRegistryListResponse) => void): Promise<DescribeRegistryListResponse>;
|
|
195
195
|
/**
|
|
196
196
|
* 删除会话
|
|
197
197
|
*/
|
|
@@ -211,7 +211,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
211
211
|
/**
|
|
212
212
|
* 按 RegistryId 查询 Registry 详情。
|
|
213
213
|
*/
|
|
214
|
-
DescribeRegistry(req
|
|
214
|
+
DescribeRegistry(req: DescribeRegistryRequest, cb?: (error: string, rep: DescribeRegistryResponse) => void): Promise<DescribeRegistryResponse>;
|
|
215
215
|
/**
|
|
216
216
|
* 查询会话。
|
|
217
217
|
|