@agentrun/sdk 0.0.1-test.2d1b17b
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/LICENSE +201 -0
- package/README.md +225 -0
- package/dist/index.cjs +7452 -0
- package/dist/index.js +7447 -0
- package/dist/src/add.d.ts +2 -0
- package/dist/src/add.d.ts.map +1 -0
- package/dist/src/agent-runtime/api/control.d.ts +190 -0
- package/dist/src/agent-runtime/api/control.d.ts.map +1 -0
- package/dist/src/agent-runtime/api/data.d.ts +38 -0
- package/dist/src/agent-runtime/api/data.d.ts.map +1 -0
- package/dist/src/agent-runtime/api/index.d.ts +5 -0
- package/dist/src/agent-runtime/api/index.d.ts.map +1 -0
- package/dist/src/agent-runtime/client.d.ts +146 -0
- package/dist/src/agent-runtime/client.d.ts.map +1 -0
- package/dist/src/agent-runtime/endpoint.d.ts +132 -0
- package/dist/src/agent-runtime/endpoint.d.ts.map +1 -0
- package/dist/src/agent-runtime/index.d.ts +12 -0
- package/dist/src/agent-runtime/index.d.ts.map +1 -0
- package/dist/src/agent-runtime/model.d.ts +327 -0
- package/dist/src/agent-runtime/model.d.ts.map +1 -0
- package/dist/src/agent-runtime/runtime.d.ts +203 -0
- package/dist/src/agent-runtime/runtime.d.ts.map +1 -0
- package/dist/src/credential/api/control.d.ts +90 -0
- package/dist/src/credential/api/control.d.ts.map +1 -0
- package/dist/src/credential/api/index.d.ts +5 -0
- package/dist/src/credential/api/index.d.ts.map +1 -0
- package/dist/src/credential/client.d.ts +57 -0
- package/dist/src/credential/client.d.ts.map +1 -0
- package/dist/src/credential/credential.d.ts +68 -0
- package/dist/src/credential/credential.d.ts.map +1 -0
- package/dist/src/credential/index.d.ts +9 -0
- package/dist/src/credential/index.d.ts.map +1 -0
- package/dist/src/credential/model.d.ts +116 -0
- package/dist/src/credential/model.d.ts.map +1 -0
- package/dist/src/index.d.ts +32 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/integration/adapter.d.ts +128 -0
- package/dist/src/integration/adapter.d.ts.map +1 -0
- package/dist/src/integration/index.d.ts +14 -0
- package/dist/src/integration/index.d.ts.map +1 -0
- package/dist/src/integration/mastra/adapter.d.ts +112 -0
- package/dist/src/integration/mastra/adapter.d.ts.map +1 -0
- package/dist/src/integration/mastra/index.d.ts +15 -0
- package/dist/src/integration/mastra/index.d.ts.map +1 -0
- package/dist/src/integration/mastra/types.d.ts +62 -0
- package/dist/src/integration/mastra/types.d.ts.map +1 -0
- package/dist/src/model/api/control.d.ts +162 -0
- package/dist/src/model/api/control.d.ts.map +1 -0
- package/dist/src/model/client.d.ts +87 -0
- package/dist/src/model/client.d.ts.map +1 -0
- package/dist/src/model/index.d.ts +10 -0
- package/dist/src/model/index.d.ts.map +1 -0
- package/dist/src/model/model-proxy.d.ts +173 -0
- package/dist/src/model/model-proxy.d.ts.map +1 -0
- package/dist/src/model/model-service.d.ts +172 -0
- package/dist/src/model/model-service.d.ts.map +1 -0
- package/dist/src/model/model.d.ts +227 -0
- package/dist/src/model/model.d.ts.map +1 -0
- package/dist/src/sandbox/aio-sandbox.d.ts +235 -0
- package/dist/src/sandbox/aio-sandbox.d.ts.map +1 -0
- package/dist/src/sandbox/api/aio-data.d.ts +50 -0
- package/dist/src/sandbox/api/aio-data.d.ts.map +1 -0
- package/dist/src/sandbox/api/browser-data.d.ts +82 -0
- package/dist/src/sandbox/api/browser-data.d.ts.map +1 -0
- package/dist/src/sandbox/api/code-interpreter-data.d.ts +189 -0
- package/dist/src/sandbox/api/code-interpreter-data.d.ts.map +1 -0
- package/dist/src/sandbox/api/control.d.ts +146 -0
- package/dist/src/sandbox/api/control.d.ts.map +1 -0
- package/dist/src/sandbox/api/sandbox-data.d.ts +168 -0
- package/dist/src/sandbox/api/sandbox-data.d.ts.map +1 -0
- package/dist/src/sandbox/browser-sandbox.d.ts +91 -0
- package/dist/src/sandbox/browser-sandbox.d.ts.map +1 -0
- package/dist/src/sandbox/client.d.ts +122 -0
- package/dist/src/sandbox/client.d.ts.map +1 -0
- package/dist/src/sandbox/code-interpreter-sandbox.d.ts +218 -0
- package/dist/src/sandbox/code-interpreter-sandbox.d.ts.map +1 -0
- package/dist/src/sandbox/index.d.ts +16 -0
- package/dist/src/sandbox/index.d.ts.map +1 -0
- package/dist/src/sandbox/model.d.ts +231 -0
- package/dist/src/sandbox/model.d.ts.map +1 -0
- package/dist/src/sandbox/sandbox.d.ts +90 -0
- package/dist/src/sandbox/sandbox.d.ts.map +1 -0
- package/dist/src/sandbox/template.d.ts +115 -0
- package/dist/src/sandbox/template.d.ts.map +1 -0
- package/dist/src/server/agui-protocol.d.ts +127 -0
- package/dist/src/server/agui-protocol.d.ts.map +1 -0
- package/dist/src/server/index.d.ts +8 -0
- package/dist/src/server/index.d.ts.map +1 -0
- package/dist/src/server/model.d.ts +150 -0
- package/dist/src/server/model.d.ts.map +1 -0
- package/dist/src/server/server.d.ts +66 -0
- package/dist/src/server/server.d.ts.map +1 -0
- package/dist/src/toolset/api/control.d.ts +74 -0
- package/dist/src/toolset/api/control.d.ts.map +1 -0
- package/dist/src/toolset/api/index.d.ts +10 -0
- package/dist/src/toolset/api/index.d.ts.map +1 -0
- package/dist/src/toolset/api/mcp.d.ts +79 -0
- package/dist/src/toolset/api/mcp.d.ts.map +1 -0
- package/dist/src/toolset/client.d.ts +65 -0
- package/dist/src/toolset/client.d.ts.map +1 -0
- package/dist/src/toolset/index.d.ts +15 -0
- package/dist/src/toolset/index.d.ts.map +1 -0
- package/dist/src/toolset/model.d.ts +246 -0
- package/dist/src/toolset/model.d.ts.map +1 -0
- package/dist/src/toolset/openapi.d.ts +174 -0
- package/dist/src/toolset/openapi.d.ts.map +1 -0
- package/dist/src/toolset/toolset.d.ts +154 -0
- package/dist/src/toolset/toolset.d.ts.map +1 -0
- package/dist/src/utils/config.d.ts +124 -0
- package/dist/src/utils/config.d.ts.map +1 -0
- package/dist/src/utils/control-api.d.ts +24 -0
- package/dist/src/utils/control-api.d.ts.map +1 -0
- package/dist/src/utils/data-api.d.ts +163 -0
- package/dist/src/utils/data-api.d.ts.map +1 -0
- package/dist/src/utils/exception.d.ts +67 -0
- package/dist/src/utils/exception.d.ts.map +1 -0
- package/dist/src/utils/helper.d.ts +2 -0
- package/dist/src/utils/helper.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +9 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/log.d.ts +25 -0
- package/dist/src/utils/log.d.ts.map +1 -0
- package/dist/src/utils/model.d.ts +77 -0
- package/dist/src/utils/model.d.ts.map +1 -0
- package/dist/src/utils/resource.d.ts +72 -0
- package/dist/src/utils/resource.d.ts.map +1 -0
- package/dist/tests/e2e/a.test.d.ts +2 -0
- package/dist/tests/e2e/a.test.d.ts.map +1 -0
- package/dist/tests/e2e/agent-runtime/agent-runtime.test.d.ts +14 -0
- package/dist/tests/e2e/agent-runtime/agent-runtime.test.d.ts.map +1 -0
- package/dist/tests/e2e/credential/credential.test.d.ts +2 -0
- package/dist/tests/e2e/credential/credential.test.d.ts.map +1 -0
- package/dist/tests/e2e/model/model.test.d.ts +20 -0
- package/dist/tests/e2e/model/model.test.d.ts.map +1 -0
- package/dist/tests/e2e/model/model_service.test.d.ts +12 -0
- package/dist/tests/e2e/model/model_service.test.d.ts.map +1 -0
- package/dist/tests/e2e/sandbox/aio-sandbox.test.d.ts +18 -0
- package/dist/tests/e2e/sandbox/aio-sandbox.test.d.ts.map +1 -0
- package/dist/tests/e2e/sandbox/browser-sandbox.test.d.ts +15 -0
- package/dist/tests/e2e/sandbox/browser-sandbox.test.d.ts.map +1 -0
- package/dist/tests/e2e/sandbox/code-interpreter-sandbox.test.d.ts +16 -0
- package/dist/tests/e2e/sandbox/code-interpreter-sandbox.test.d.ts.map +1 -0
- package/dist/tests/e2e/sandbox/sandbox.test.d.ts +13 -0
- package/dist/tests/e2e/sandbox/sandbox.test.d.ts.map +1 -0
- package/dist/tests/e2e/sandbox/template.test.d.ts +12 -0
- package/dist/tests/e2e/sandbox/template.test.d.ts.map +1 -0
- package/dist/tests/e2e/toolset/toolset.test.d.ts +2 -0
- package/dist/tests/e2e/toolset/toolset.test.d.ts.map +1 -0
- package/dist/tests/integration/adapter.test.d.ts +8 -0
- package/dist/tests/integration/adapter.test.d.ts.map +1 -0
- package/dist/tests/setup.d.ts +8 -0
- package/dist/tests/setup.d.ts.map +1 -0
- package/dist/tests/unittests/integration/mastra.test.d.ts +8 -0
- package/dist/tests/unittests/integration/mastra.test.d.ts.map +1 -0
- package/dist/tests/unittests/server/agui-protocol.test.d.ts +7 -0
- package/dist/tests/unittests/server/agui-protocol.test.d.ts.map +1 -0
- package/dist/tests/unittests/server/server.test.d.ts +7 -0
- package/dist/tests/unittests/server/server.test.d.ts.map +1 -0
- package/dist/tests/unittests/toolset/openapi.test.d.ts +10 -0
- package/dist/tests/unittests/toolset/openapi.test.d.ts.map +1 -0
- package/dist/tests/unittests/toolset/toolset.test.d.ts +8 -0
- package/dist/tests/unittests/toolset/toolset.test.d.ts.map +1 -0
- package/dist/tests/unittests/utils/config.test.d.ts +7 -0
- package/dist/tests/unittests/utils/config.test.d.ts.map +1 -0
- package/dist/tests/unittests/utils/data-api.test.d.ts +8 -0
- package/dist/tests/unittests/utils/data-api.test.d.ts.map +1 -0
- package/dist/tests/unittests/utils/exception.test.d.ts +5 -0
- package/dist/tests/unittests/utils/exception.test.d.ts.map +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent Runtime Data Models
|
|
3
|
+
*
|
|
4
|
+
* 此模块定义 Agent Runtime 相关的所有数据模型、枚举和输入输出对象。
|
|
5
|
+
* This module defines all data models, enums, and input/output objects related to Agent Runtime.
|
|
6
|
+
*/
|
|
7
|
+
import { Status } from "../utils/model";
|
|
8
|
+
import type { NetworkConfig, PageableInput } from "../utils/model";
|
|
9
|
+
/**
|
|
10
|
+
* Agent Runtime artifact type
|
|
11
|
+
*/
|
|
12
|
+
export type AgentRuntimeArtifact = "Code" | "Container";
|
|
13
|
+
export declare const AgentRuntimeArtifact: {
|
|
14
|
+
CODE: AgentRuntimeArtifact;
|
|
15
|
+
CONTAINER: AgentRuntimeArtifact;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Agent Runtime language
|
|
19
|
+
*/
|
|
20
|
+
export type AgentRuntimeLanguage = "python3.10" | "python3.12" | "nodejs18" | "nodejs20" | "java8" | "java11";
|
|
21
|
+
export declare const AgentRuntimeLanguage: {
|
|
22
|
+
PYTHON310: AgentRuntimeLanguage;
|
|
23
|
+
PYTHON312: AgentRuntimeLanguage;
|
|
24
|
+
NODEJS18: AgentRuntimeLanguage;
|
|
25
|
+
NODEJS20: AgentRuntimeLanguage;
|
|
26
|
+
JAVA8: AgentRuntimeLanguage;
|
|
27
|
+
JAVA11: AgentRuntimeLanguage;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Agent Runtime protocol type
|
|
31
|
+
*/
|
|
32
|
+
export type AgentRuntimeProtocolType = "HTTP" | "MCP";
|
|
33
|
+
export declare const AgentRuntimeProtocolType: {
|
|
34
|
+
HTTP: AgentRuntimeProtocolType;
|
|
35
|
+
MCP: AgentRuntimeProtocolType;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Agent Runtime code configuration
|
|
39
|
+
*/
|
|
40
|
+
export interface AgentRuntimeCode {
|
|
41
|
+
/** CRC-64 checksum of the code package */
|
|
42
|
+
checksum?: string;
|
|
43
|
+
/** Command to run in the runtime (e.g., ["python"]) */
|
|
44
|
+
command?: string[];
|
|
45
|
+
/** Programming language runtime */
|
|
46
|
+
language?: AgentRuntimeLanguage;
|
|
47
|
+
/** OSS bucket name */
|
|
48
|
+
ossBucketName?: string;
|
|
49
|
+
/** OSS object name */
|
|
50
|
+
ossObjectName?: string;
|
|
51
|
+
/** Base64 encoded ZIP file */
|
|
52
|
+
zipFile?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Create AgentRuntimeCode from a ZIP file
|
|
56
|
+
*/
|
|
57
|
+
export declare function codeFromZipFile(language: AgentRuntimeLanguage, command: string[], zipFilePath: string): Promise<AgentRuntimeCode>;
|
|
58
|
+
/**
|
|
59
|
+
* Create AgentRuntimeCode from OSS
|
|
60
|
+
*/
|
|
61
|
+
export declare function codeFromOss(language: AgentRuntimeLanguage, command: string[], bucket: string, object: string): AgentRuntimeCode;
|
|
62
|
+
/**
|
|
63
|
+
* Create AgentRuntimeCode from a file or directory
|
|
64
|
+
*/
|
|
65
|
+
export declare function codeFromFile(language: AgentRuntimeLanguage, command: string[], filePath: string): Promise<AgentRuntimeCode>;
|
|
66
|
+
/**
|
|
67
|
+
* Agent Runtime container configuration
|
|
68
|
+
*/
|
|
69
|
+
export interface AgentRuntimeContainer {
|
|
70
|
+
/** Command to run in the runtime */
|
|
71
|
+
command?: string[];
|
|
72
|
+
/** Container image address */
|
|
73
|
+
image?: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Agent Runtime health check configuration
|
|
77
|
+
*/
|
|
78
|
+
export interface AgentRuntimeHealthCheckConfig {
|
|
79
|
+
/** Failure threshold before marking unhealthy */
|
|
80
|
+
failureThreshold?: number;
|
|
81
|
+
/** HTTP GET URL for health check */
|
|
82
|
+
httpGetUrl?: string;
|
|
83
|
+
/** Initial delay before first health check (seconds) */
|
|
84
|
+
initialDelaySeconds?: number;
|
|
85
|
+
/** Health check interval (seconds) */
|
|
86
|
+
periodSeconds?: number;
|
|
87
|
+
/** Success threshold before marking healthy */
|
|
88
|
+
successThreshold?: number;
|
|
89
|
+
/** Health check timeout (seconds) */
|
|
90
|
+
timeoutSeconds?: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Agent Runtime log configuration
|
|
94
|
+
*/
|
|
95
|
+
export interface AgentRuntimeLogConfig {
|
|
96
|
+
/** SLS project name */
|
|
97
|
+
project: string;
|
|
98
|
+
/** SLS logstore name */
|
|
99
|
+
logstore: string;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Agent Runtime protocol configuration
|
|
103
|
+
*/
|
|
104
|
+
export interface AgentRuntimeProtocolConfig {
|
|
105
|
+
/** Protocol type */
|
|
106
|
+
type?: AgentRuntimeProtocolType;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Endpoint routing weight configuration
|
|
110
|
+
*/
|
|
111
|
+
export interface AgentRuntimeEndpointRoutingWeight {
|
|
112
|
+
/** Version identifier */
|
|
113
|
+
version?: string;
|
|
114
|
+
/** Weight value */
|
|
115
|
+
weight?: number;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Endpoint routing configuration
|
|
119
|
+
*/
|
|
120
|
+
export interface AgentRuntimeEndpointRoutingConfig {
|
|
121
|
+
/** Version weights list */
|
|
122
|
+
versionWeights?: AgentRuntimeEndpointRoutingWeight[];
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Agent Runtime create input
|
|
126
|
+
*/
|
|
127
|
+
export interface AgentRuntimeCreateInput {
|
|
128
|
+
/** Agent Runtime name */
|
|
129
|
+
agentRuntimeName?: string;
|
|
130
|
+
/** Artifact type (Code or Container) */
|
|
131
|
+
artifactType?: AgentRuntimeArtifact;
|
|
132
|
+
/** Code configuration */
|
|
133
|
+
codeConfiguration?: AgentRuntimeCode;
|
|
134
|
+
/** Container configuration */
|
|
135
|
+
containerConfiguration?: AgentRuntimeContainer;
|
|
136
|
+
/** CPU cores */
|
|
137
|
+
cpu?: number;
|
|
138
|
+
/** Credential name */
|
|
139
|
+
credentialName?: string;
|
|
140
|
+
/** Description */
|
|
141
|
+
description?: string;
|
|
142
|
+
/** Environment variables */
|
|
143
|
+
environmentVariables?: Record<string, string>;
|
|
144
|
+
/** Execution role ARN */
|
|
145
|
+
executionRoleArn?: string;
|
|
146
|
+
/** Health check configuration */
|
|
147
|
+
healthCheckConfiguration?: AgentRuntimeHealthCheckConfig;
|
|
148
|
+
/** Log configuration */
|
|
149
|
+
logConfiguration?: AgentRuntimeLogConfig;
|
|
150
|
+
/** Memory in MB */
|
|
151
|
+
memory?: number;
|
|
152
|
+
/** Network configuration */
|
|
153
|
+
networkConfiguration?: NetworkConfig;
|
|
154
|
+
/** Port number */
|
|
155
|
+
port?: number;
|
|
156
|
+
/** Protocol configuration */
|
|
157
|
+
protocolConfiguration?: AgentRuntimeProtocolConfig;
|
|
158
|
+
/** Session concurrency limit per instance */
|
|
159
|
+
sessionConcurrencyLimitPerInstance?: number;
|
|
160
|
+
/** Session idle timeout in seconds */
|
|
161
|
+
sessionIdleTimeoutSeconds?: number;
|
|
162
|
+
/** Tags */
|
|
163
|
+
tags?: string[];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Agent Runtime update input
|
|
167
|
+
*/
|
|
168
|
+
export interface AgentRuntimeUpdateInput {
|
|
169
|
+
/** Agent Runtime name */
|
|
170
|
+
agentRuntimeName?: string;
|
|
171
|
+
/** Artifact type (Code or Container) */
|
|
172
|
+
artifactType?: AgentRuntimeArtifact;
|
|
173
|
+
/** Code configuration */
|
|
174
|
+
codeConfiguration?: AgentRuntimeCode;
|
|
175
|
+
/** Container configuration */
|
|
176
|
+
containerConfiguration?: AgentRuntimeContainer;
|
|
177
|
+
/** CPU cores */
|
|
178
|
+
cpu?: number;
|
|
179
|
+
/** Credential name */
|
|
180
|
+
credentialName?: string;
|
|
181
|
+
/** Description */
|
|
182
|
+
description?: string;
|
|
183
|
+
/** Environment variables */
|
|
184
|
+
environmentVariables?: Record<string, string>;
|
|
185
|
+
/** Execution role ARN */
|
|
186
|
+
executionRoleArn?: string;
|
|
187
|
+
/** Health check configuration */
|
|
188
|
+
healthCheckConfiguration?: AgentRuntimeHealthCheckConfig;
|
|
189
|
+
/** Log configuration */
|
|
190
|
+
logConfiguration?: AgentRuntimeLogConfig;
|
|
191
|
+
/** Memory in MB */
|
|
192
|
+
memory?: number;
|
|
193
|
+
/** Network configuration */
|
|
194
|
+
networkConfiguration?: NetworkConfig;
|
|
195
|
+
/** Port number */
|
|
196
|
+
port?: number;
|
|
197
|
+
/** Protocol configuration */
|
|
198
|
+
protocolConfiguration?: AgentRuntimeProtocolConfig;
|
|
199
|
+
/** Session concurrency limit per instance */
|
|
200
|
+
sessionConcurrencyLimitPerInstance?: number;
|
|
201
|
+
/** Session idle timeout in seconds */
|
|
202
|
+
sessionIdleTimeoutSeconds?: number;
|
|
203
|
+
/** Tags */
|
|
204
|
+
tags?: string[];
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Agent Runtime list input
|
|
208
|
+
*/
|
|
209
|
+
export interface AgentRuntimeListInput extends PageableInput {
|
|
210
|
+
/** Filter by name */
|
|
211
|
+
agentRuntimeName?: string;
|
|
212
|
+
/** Filter by tags (comma separated) */
|
|
213
|
+
tags?: string;
|
|
214
|
+
/** Search mode */
|
|
215
|
+
searchMode?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Agent Runtime endpoint create input
|
|
219
|
+
*/
|
|
220
|
+
export interface AgentRuntimeEndpointCreateInput {
|
|
221
|
+
/** Endpoint name */
|
|
222
|
+
agentRuntimeEndpointName?: string;
|
|
223
|
+
/** Description */
|
|
224
|
+
description?: string;
|
|
225
|
+
/** Routing configuration */
|
|
226
|
+
routingConfiguration?: AgentRuntimeEndpointRoutingConfig;
|
|
227
|
+
/** Tags */
|
|
228
|
+
tags?: string[];
|
|
229
|
+
/** Target version */
|
|
230
|
+
targetVersion?: string;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Agent Runtime endpoint update input
|
|
234
|
+
*/
|
|
235
|
+
export interface AgentRuntimeEndpointUpdateInput {
|
|
236
|
+
/** Endpoint name */
|
|
237
|
+
agentRuntimeEndpointName?: string;
|
|
238
|
+
/** Description */
|
|
239
|
+
description?: string;
|
|
240
|
+
/** Routing configuration */
|
|
241
|
+
routingConfiguration?: AgentRuntimeEndpointRoutingConfig;
|
|
242
|
+
/** Tags */
|
|
243
|
+
tags?: string[];
|
|
244
|
+
/** Target version */
|
|
245
|
+
targetVersion?: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Agent Runtime endpoint list input
|
|
249
|
+
*/
|
|
250
|
+
export interface AgentRuntimeEndpointListInput extends PageableInput {
|
|
251
|
+
/** Filter by endpoint name */
|
|
252
|
+
endpointName?: string;
|
|
253
|
+
/** Search mode */
|
|
254
|
+
searchMode?: string;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Agent Runtime version
|
|
258
|
+
*/
|
|
259
|
+
export interface AgentRuntimeVersion {
|
|
260
|
+
/** Agent Runtime ARN */
|
|
261
|
+
agentRuntimeArn?: string;
|
|
262
|
+
/** Agent Runtime ID */
|
|
263
|
+
agentRuntimeId?: string;
|
|
264
|
+
/** Agent Runtime name */
|
|
265
|
+
agentRuntimeName?: string;
|
|
266
|
+
/** Version number */
|
|
267
|
+
agentRuntimeVersion?: string;
|
|
268
|
+
/** Version description */
|
|
269
|
+
description?: string;
|
|
270
|
+
/** Last update timestamp */
|
|
271
|
+
lastUpdatedAt?: string;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Agent Runtime version list input
|
|
275
|
+
*/
|
|
276
|
+
export interface AgentRuntimeVersionListInput extends PageableInput {
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Agent Runtime data (internal representation from API)
|
|
280
|
+
*/
|
|
281
|
+
export interface AgentRuntimeData {
|
|
282
|
+
agentRuntimeArn?: string;
|
|
283
|
+
agentRuntimeId?: string;
|
|
284
|
+
agentRuntimeName?: string;
|
|
285
|
+
agentRuntimeVersion?: string;
|
|
286
|
+
artifactType?: string;
|
|
287
|
+
codeConfiguration?: AgentRuntimeCode;
|
|
288
|
+
containerConfiguration?: AgentRuntimeContainer;
|
|
289
|
+
cpu?: number;
|
|
290
|
+
createdAt?: string;
|
|
291
|
+
credentialName?: string;
|
|
292
|
+
description?: string;
|
|
293
|
+
environmentVariables?: Record<string, string>;
|
|
294
|
+
executionRoleArn?: string;
|
|
295
|
+
healthCheckConfiguration?: AgentRuntimeHealthCheckConfig;
|
|
296
|
+
lastUpdatedAt?: string;
|
|
297
|
+
logConfiguration?: AgentRuntimeLogConfig;
|
|
298
|
+
memory?: number;
|
|
299
|
+
networkConfiguration?: NetworkConfig;
|
|
300
|
+
port?: number;
|
|
301
|
+
protocolConfiguration?: AgentRuntimeProtocolConfig;
|
|
302
|
+
resourceName?: string;
|
|
303
|
+
sessionConcurrencyLimitPerInstance?: number;
|
|
304
|
+
sessionIdleTimeoutSeconds?: number;
|
|
305
|
+
status?: Status;
|
|
306
|
+
statusReason?: string;
|
|
307
|
+
tags?: string[];
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Agent Runtime endpoint data (internal representation from API)
|
|
311
|
+
*/
|
|
312
|
+
export interface AgentRuntimeEndpointData {
|
|
313
|
+
agentRuntimeEndpointArn?: string;
|
|
314
|
+
agentRuntimeEndpointId?: string;
|
|
315
|
+
agentRuntimeEndpointName?: string;
|
|
316
|
+
agentRuntimeId?: string;
|
|
317
|
+
description?: string;
|
|
318
|
+
endpointPublicUrl?: string;
|
|
319
|
+
resourceName?: string;
|
|
320
|
+
routingConfiguration?: AgentRuntimeEndpointRoutingConfig;
|
|
321
|
+
status?: Status;
|
|
322
|
+
statusReason?: string;
|
|
323
|
+
tags?: string[];
|
|
324
|
+
targetVersion?: string;
|
|
325
|
+
}
|
|
326
|
+
export { Status, NetworkConfig };
|
|
327
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/model.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEnE;;G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Aa,EAAE,CAAC"}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent Runtime Resource
|
|
3
|
+
*
|
|
4
|
+
* 此模块定义 Agent Runtime 资源类。
|
|
5
|
+
* This module defines the Agent Runtime resource class.
|
|
6
|
+
*/
|
|
7
|
+
import * as $AgentRun from "@alicloud/agentrun20250910";
|
|
8
|
+
import { Config } from "../utils/config";
|
|
9
|
+
import { Status } from "../utils/model";
|
|
10
|
+
import type { NetworkConfig } from "../utils/model";
|
|
11
|
+
import { InvokeArgs } from "./api/data";
|
|
12
|
+
import { AgentRuntimeEndpoint } from "./endpoint";
|
|
13
|
+
import { AgentRuntimeCode, AgentRuntimeContainer, AgentRuntimeCreateInput, AgentRuntimeData, AgentRuntimeEndpointCreateInput, AgentRuntimeEndpointUpdateInput, AgentRuntimeHealthCheckConfig, AgentRuntimeListInput, AgentRuntimeLogConfig, AgentRuntimeProtocolConfig, AgentRuntimeUpdateInput, AgentRuntimeVersion, AgentRuntimeVersionListInput } from "./model";
|
|
14
|
+
/**
|
|
15
|
+
* Agent Runtime resource class
|
|
16
|
+
*/
|
|
17
|
+
export declare class AgentRuntime implements AgentRuntimeData {
|
|
18
|
+
agentRuntimeArn?: string;
|
|
19
|
+
agentRuntimeId?: string;
|
|
20
|
+
agentRuntimeName?: string;
|
|
21
|
+
agentRuntimeVersion?: string;
|
|
22
|
+
artifactType?: string;
|
|
23
|
+
codeConfiguration?: AgentRuntimeCode;
|
|
24
|
+
containerConfiguration?: AgentRuntimeContainer;
|
|
25
|
+
cpu?: number;
|
|
26
|
+
createdAt?: string;
|
|
27
|
+
credentialName?: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
environmentVariables?: Record<string, string>;
|
|
30
|
+
executionRoleArn?: string;
|
|
31
|
+
healthCheckConfiguration?: AgentRuntimeHealthCheckConfig;
|
|
32
|
+
lastUpdatedAt?: string;
|
|
33
|
+
logConfiguration?: AgentRuntimeLogConfig;
|
|
34
|
+
memory?: number;
|
|
35
|
+
networkConfiguration?: NetworkConfig;
|
|
36
|
+
port?: number;
|
|
37
|
+
protocolConfiguration?: AgentRuntimeProtocolConfig;
|
|
38
|
+
resourceName?: string;
|
|
39
|
+
sessionConcurrencyLimitPerInstance?: number;
|
|
40
|
+
sessionIdleTimeoutSeconds?: number;
|
|
41
|
+
status?: Status;
|
|
42
|
+
statusReason?: string;
|
|
43
|
+
tags?: string[];
|
|
44
|
+
private _config?;
|
|
45
|
+
private _dataApiCache;
|
|
46
|
+
constructor(data?: Partial<AgentRuntimeData>, config?: Config);
|
|
47
|
+
/**
|
|
48
|
+
* Create runtime from SDK response object
|
|
49
|
+
*/
|
|
50
|
+
static fromInnerObject(obj: $AgentRun.AgentRuntime, config?: Config): AgentRuntime;
|
|
51
|
+
private static getClient;
|
|
52
|
+
/**
|
|
53
|
+
* Create a new Agent Runtime
|
|
54
|
+
*/
|
|
55
|
+
static create(input: AgentRuntimeCreateInput, config?: Config): Promise<AgentRuntime>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete an Agent Runtime by ID
|
|
58
|
+
*/
|
|
59
|
+
static deleteById(params: {
|
|
60
|
+
id: string;
|
|
61
|
+
config?: Config;
|
|
62
|
+
}): Promise<AgentRuntime>;
|
|
63
|
+
/**
|
|
64
|
+
* Update an Agent Runtime by ID
|
|
65
|
+
*/
|
|
66
|
+
static updateById(params: {
|
|
67
|
+
id: string;
|
|
68
|
+
input: AgentRuntimeUpdateInput;
|
|
69
|
+
config?: Config;
|
|
70
|
+
}): Promise<AgentRuntime>;
|
|
71
|
+
/**
|
|
72
|
+
* Get an Agent Runtime by ID
|
|
73
|
+
*/
|
|
74
|
+
static getById(params: {
|
|
75
|
+
id: string;
|
|
76
|
+
config?: Config;
|
|
77
|
+
}): Promise<AgentRuntime>;
|
|
78
|
+
/**
|
|
79
|
+
* List Agent Runtimes
|
|
80
|
+
*/
|
|
81
|
+
static list(input?: AgentRuntimeListInput, config?: Config): Promise<AgentRuntime[]>;
|
|
82
|
+
/**
|
|
83
|
+
* List all Agent Runtimes (with pagination)
|
|
84
|
+
*/
|
|
85
|
+
static listAll(options?: {
|
|
86
|
+
agentRuntimeName?: string;
|
|
87
|
+
tags?: string;
|
|
88
|
+
searchMode?: string;
|
|
89
|
+
}, config?: Config): Promise<AgentRuntime[]>;
|
|
90
|
+
/**
|
|
91
|
+
* List Agent Runtime versions by ID
|
|
92
|
+
*/
|
|
93
|
+
static listVersionsById(params: {
|
|
94
|
+
agentRuntimeId: string;
|
|
95
|
+
input?: AgentRuntimeVersionListInput;
|
|
96
|
+
config?: Config;
|
|
97
|
+
}): Promise<AgentRuntimeVersion[]>;
|
|
98
|
+
/**
|
|
99
|
+
* Delete this runtime
|
|
100
|
+
*/
|
|
101
|
+
delete(params?: {
|
|
102
|
+
config?: Config;
|
|
103
|
+
}): Promise<AgentRuntime>;
|
|
104
|
+
/**
|
|
105
|
+
* Update this runtime
|
|
106
|
+
*/
|
|
107
|
+
update(params: {
|
|
108
|
+
input: AgentRuntimeUpdateInput;
|
|
109
|
+
config?: Config;
|
|
110
|
+
}): Promise<AgentRuntime>;
|
|
111
|
+
/**
|
|
112
|
+
* Refresh this runtime's data
|
|
113
|
+
*/
|
|
114
|
+
refresh(params?: {
|
|
115
|
+
config?: Config;
|
|
116
|
+
}): Promise<AgentRuntime>;
|
|
117
|
+
/**
|
|
118
|
+
* Create an endpoint for this runtime
|
|
119
|
+
*/
|
|
120
|
+
createEndpoint(params: {
|
|
121
|
+
input: AgentRuntimeEndpointCreateInput;
|
|
122
|
+
config?: Config;
|
|
123
|
+
}): Promise<AgentRuntimeEndpoint>;
|
|
124
|
+
/**
|
|
125
|
+
* Delete an endpoint from this runtime
|
|
126
|
+
*/
|
|
127
|
+
deleteEndpoint(params: {
|
|
128
|
+
endpointId: string;
|
|
129
|
+
config?: Config;
|
|
130
|
+
}): Promise<AgentRuntimeEndpoint>;
|
|
131
|
+
/**
|
|
132
|
+
* Update an endpoint of this runtime
|
|
133
|
+
*/
|
|
134
|
+
updateEndpoint(params: {
|
|
135
|
+
endpointId: string;
|
|
136
|
+
input: AgentRuntimeEndpointUpdateInput;
|
|
137
|
+
config?: Config;
|
|
138
|
+
}): Promise<AgentRuntimeEndpoint>;
|
|
139
|
+
/**
|
|
140
|
+
* Get an endpoint of this runtime
|
|
141
|
+
*/
|
|
142
|
+
getEndpoint(params: {
|
|
143
|
+
endpointId: string;
|
|
144
|
+
config?: Config;
|
|
145
|
+
}): Promise<AgentRuntimeEndpoint>;
|
|
146
|
+
/**
|
|
147
|
+
* List endpoints of this runtime
|
|
148
|
+
*/
|
|
149
|
+
listEndpoints(params?: {
|
|
150
|
+
config?: Config;
|
|
151
|
+
}): Promise<AgentRuntimeEndpoint[]>;
|
|
152
|
+
/**
|
|
153
|
+
* List versions of this runtime
|
|
154
|
+
*/
|
|
155
|
+
listVersions(params?: {
|
|
156
|
+
config?: Config;
|
|
157
|
+
}): Promise<AgentRuntimeVersion[]>;
|
|
158
|
+
/**
|
|
159
|
+
* Wait until the runtime is ready
|
|
160
|
+
*/
|
|
161
|
+
waitUntilReady(options?: {
|
|
162
|
+
timeoutSeconds?: number;
|
|
163
|
+
intervalSeconds?: number;
|
|
164
|
+
beforeCheck?: (runtime: AgentRuntime) => void;
|
|
165
|
+
}, config?: Config): Promise<AgentRuntime>;
|
|
166
|
+
/**
|
|
167
|
+
* Wait until agent runtime reaches READY or any FAILED state
|
|
168
|
+
* Similar to waitUntilReady but does not throw on FAILED states
|
|
169
|
+
* Compatible with Python SDK's wait_until_ready_or_failed method
|
|
170
|
+
*/
|
|
171
|
+
waitUntilReadyOrFailed(options?: {
|
|
172
|
+
timeoutSeconds?: number;
|
|
173
|
+
intervalSeconds?: number;
|
|
174
|
+
beforeCheck?: (runtime: AgentRuntime) => void;
|
|
175
|
+
}, config?: Config): Promise<AgentRuntime>;
|
|
176
|
+
/**
|
|
177
|
+
* Invoke agent runtime using OpenAI-compatible API
|
|
178
|
+
*
|
|
179
|
+
* This method provides an OpenAI-compatible interface to invoke the agent runtime.
|
|
180
|
+
* It creates a Data API client and forwards the invocation request.
|
|
181
|
+
*
|
|
182
|
+
* @param args - Invocation arguments
|
|
183
|
+
* @returns OpenAI chat completion response
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* ```typescript
|
|
187
|
+
* const runtime = await AgentRuntime.getById({ id: "runtime-id" });
|
|
188
|
+
* const response = await runtime.invokeOpenai({
|
|
189
|
+
* agentRuntimeEndpointName: "Default",
|
|
190
|
+
* messages: [{ role: "user", content: "Hello" }],
|
|
191
|
+
* stream: false
|
|
192
|
+
* });
|
|
193
|
+
* ```
|
|
194
|
+
*/
|
|
195
|
+
invokeOpenai(args: InvokeArgs & {
|
|
196
|
+
agentRuntimeEndpointName?: string;
|
|
197
|
+
}): Promise<(import("openai/core/streaming").Stream<import("openai/resources").ChatCompletionChunk> & {
|
|
198
|
+
_request_id?: string | null;
|
|
199
|
+
}) | (import("openai/resources").ChatCompletion & {
|
|
200
|
+
_request_id?: string | null;
|
|
201
|
+
})>;
|
|
202
|
+
}
|
|
203
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/runtime.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAe,MAAM,gBAAgB,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,OAAO,EAAuB,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAEL,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,+BAA+B,EAC/B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M,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAYlF;;OAEG;IACG,YAAY,CAAC,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAYhF;;OAEG;IACG,cAAc,CAClB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;KAC/C,EACD,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,YAAY,CAAC;IAgCxB;;;;OAIG;IACG,sBAAsB,CAC1B,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;KAC/C,EACD,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,YAAY,CAAC;IA8BxB;;;;;;;;;;;;;;;;;;OAkBG;IACG,YAAY,CAChB,IAAI,EAAE,UAAU,GAAG;QAAE,wBAAwB,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;CA+B3D"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto generated by the code generation script.
|
|
3
|
+
* Do not modify this file manually.
|
|
4
|
+
* Use the `bun run codegen` command to regenerate.
|
|
5
|
+
*
|
|
6
|
+
* 当前文件为自动生成的控制 API 客户端代码。请勿手动修改此文件。
|
|
7
|
+
* 使用 `bun run codegen` 命令重新生成。
|
|
8
|
+
*/
|
|
9
|
+
import * as $AgentRun from "@alicloud/agentrun20250910";
|
|
10
|
+
import { Config } from "../../utils/config";
|
|
11
|
+
import { ControlAPI } from "../../utils/control-api";
|
|
12
|
+
/**
|
|
13
|
+
* Credential Control API
|
|
14
|
+
*/
|
|
15
|
+
export declare class CredentialControlAPI extends ControlAPI {
|
|
16
|
+
constructor(config?: Config);
|
|
17
|
+
/**
|
|
18
|
+
* Create credential
|
|
19
|
+
*
|
|
20
|
+
* @param params - Method parameters
|
|
21
|
+
* @param params.input - Credential configuration
|
|
22
|
+
* @param params.headers - Custom request headers
|
|
23
|
+
* @param params.config - Optional config override
|
|
24
|
+
* @returns Created credential object
|
|
25
|
+
*/
|
|
26
|
+
createCredential(params: {
|
|
27
|
+
input: $AgentRun.CreateCredentialInput;
|
|
28
|
+
headers?: Record<string, string>;
|
|
29
|
+
config?: Config;
|
|
30
|
+
}): Promise<$AgentRun.Credential>;
|
|
31
|
+
/**
|
|
32
|
+
* Delete credential
|
|
33
|
+
*
|
|
34
|
+
* @param params - Method parameters
|
|
35
|
+
* @param params.credentialName - Credential name
|
|
36
|
+
* @param params.headers - Custom request headers
|
|
37
|
+
* @param params.config - Optional config override
|
|
38
|
+
* @returns Deleted credential object
|
|
39
|
+
*/
|
|
40
|
+
deleteCredential(params: {
|
|
41
|
+
credentialName: string;
|
|
42
|
+
headers?: Record<string, string>;
|
|
43
|
+
config?: Config;
|
|
44
|
+
}): Promise<$AgentRun.Credential>;
|
|
45
|
+
/**
|
|
46
|
+
* Update credential
|
|
47
|
+
*
|
|
48
|
+
* @param params - Method parameters
|
|
49
|
+
* @param params.credentialName - Credential name
|
|
50
|
+
* @param params.input - Credential configuration
|
|
51
|
+
* @param params.headers - Custom request headers
|
|
52
|
+
* @param params.config - Optional config override
|
|
53
|
+
* @returns Updated credential object
|
|
54
|
+
*/
|
|
55
|
+
updateCredential(params: {
|
|
56
|
+
credentialName: string;
|
|
57
|
+
input: $AgentRun.UpdateCredentialInput;
|
|
58
|
+
headers?: Record<string, string>;
|
|
59
|
+
config?: Config;
|
|
60
|
+
}): Promise<$AgentRun.Credential>;
|
|
61
|
+
/**
|
|
62
|
+
* Get credential
|
|
63
|
+
*
|
|
64
|
+
* @param params - Method parameters
|
|
65
|
+
* @param params.credentialName - Credential name
|
|
66
|
+
* @param params.headers - Custom request headers
|
|
67
|
+
* @param params.config - Optional config override
|
|
68
|
+
* @returns Credential object
|
|
69
|
+
*/
|
|
70
|
+
getCredential(params: {
|
|
71
|
+
credentialName: string;
|
|
72
|
+
headers?: Record<string, string>;
|
|
73
|
+
config?: Config;
|
|
74
|
+
}): Promise<$AgentRun.Credential>;
|
|
75
|
+
/**
|
|
76
|
+
* List credentials
|
|
77
|
+
*
|
|
78
|
+
* @param params - Method parameters
|
|
79
|
+
* @param params.input - List options
|
|
80
|
+
* @param params.headers - Custom request headers
|
|
81
|
+
* @param params.config - Optional config override
|
|
82
|
+
* @returns List of credential objects
|
|
83
|
+
*/
|
|
84
|
+
listCredentials(params: {
|
|
85
|
+
input: $AgentRun.ListCredentialsRequest;
|
|
86
|
+
headers?: Record<string, string>;
|
|
87
|
+
config?: Config;
|
|
88
|
+
}): Promise<$AgentRun.ListCredentialsOutput>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../src/credential/api/control.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AAGxD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,UAAU;gBACtC,MAAM,CAAC,EAAE,MAAM;IAI3B;;;;;;;;OAQG;IACG,gBAAgB,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,SAAS,CAAC,qBAAqB,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAAC,MAAM,CA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