@agent-relay/sandbox 0.1.2 → 0.1.3
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/README.md +226 -5
- package/dist/agent37/client.d.ts +115 -0
- package/dist/agent37/client.d.ts.map +1 -0
- package/dist/agent37/client.js +270 -0
- package/dist/agent37/client.js.map +1 -0
- package/dist/agent37/runtime.d.ts +415 -0
- package/dist/agent37/runtime.d.ts.map +1 -0
- package/dist/agent37/runtime.js +855 -0
- package/dist/agent37/runtime.js.map +1 -0
- package/dist/agentcore/bench.d.ts +93 -0
- package/dist/agentcore/bench.d.ts.map +1 -0
- package/dist/agentcore/bench.js +125 -0
- package/dist/agentcore/bench.js.map +1 -0
- package/dist/agentcore/capabilities.d.ts +169 -0
- package/dist/agentcore/capabilities.d.ts.map +1 -0
- package/dist/agentcore/capabilities.js +153 -0
- package/dist/agentcore/capabilities.js.map +1 -0
- package/dist/agentcore/config.d.ts +156 -0
- package/dist/agentcore/config.d.ts.map +1 -0
- package/dist/agentcore/config.js +12 -0
- package/dist/agentcore/config.js.map +1 -0
- package/dist/agentcore/internal/sdk.d.ts +181 -0
- package/dist/agentcore/internal/sdk.d.ts.map +1 -0
- package/dist/agentcore/internal/sdk.js +223 -0
- package/dist/agentcore/internal/sdk.js.map +1 -0
- package/dist/agentcore/runtime.d.ts +177 -0
- package/dist/agentcore/runtime.d.ts.map +1 -0
- package/dist/agentcore/runtime.js +706 -0
- package/dist/agentcore/runtime.js.map +1 -0
- package/dist/daytona/runtime.d.ts +23 -0
- package/dist/daytona/runtime.d.ts.map +1 -1
- package/dist/daytona/runtime.js +167 -5
- package/dist/daytona/runtime.js.map +1 -1
- package/dist/daytona/wire-supplement.d.ts +25 -0
- package/dist/daytona/wire-supplement.d.ts.map +1 -0
- package/dist/daytona/wire-supplement.js +16 -0
- package/dist/daytona/wire-supplement.js.map +1 -0
- package/dist/e2b/runtime.d.ts +107 -72
- package/dist/e2b/runtime.d.ts.map +1 -1
- package/dist/e2b/runtime.js +675 -190
- package/dist/e2b/runtime.js.map +1 -1
- package/dist/freestyle/capabilities.d.ts +28 -0
- package/dist/freestyle/capabilities.d.ts.map +1 -0
- package/dist/freestyle/capabilities.js +42 -0
- package/dist/freestyle/capabilities.js.map +1 -0
- package/dist/freestyle/config.d.ts +36 -0
- package/dist/freestyle/config.d.ts.map +1 -0
- package/dist/freestyle/config.js +2 -0
- package/dist/freestyle/config.js.map +1 -0
- package/dist/freestyle/internal/sdk.d.ts +69 -0
- package/dist/freestyle/internal/sdk.d.ts.map +1 -0
- package/dist/freestyle/internal/sdk.js +19 -0
- package/dist/freestyle/internal/sdk.js.map +1 -0
- package/dist/freestyle/runtime.d.ts +163 -0
- package/dist/freestyle/runtime.d.ts.map +1 -0
- package/dist/freestyle/runtime.js +798 -0
- package/dist/freestyle/runtime.js.map +1 -0
- package/dist/index.d.ts +35 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/microsandbox/runtime.d.ts +793 -0
- package/dist/microsandbox/runtime.d.ts.map +1 -0
- package/dist/microsandbox/runtime.js +2303 -0
- package/dist/microsandbox/runtime.js.map +1 -0
- package/dist/modal/bench.d.ts +199 -0
- package/dist/modal/bench.d.ts.map +1 -0
- package/dist/modal/bench.js +450 -0
- package/dist/modal/bench.js.map +1 -0
- package/dist/modal/capabilities.d.ts +180 -0
- package/dist/modal/capabilities.d.ts.map +1 -0
- package/dist/modal/capabilities.js +159 -0
- package/dist/modal/capabilities.js.map +1 -0
- package/dist/modal/config.d.ts +192 -0
- package/dist/modal/config.d.ts.map +1 -0
- package/dist/modal/config.js +169 -0
- package/dist/modal/config.js.map +1 -0
- package/dist/modal/internal/sdk.d.ts +141 -0
- package/dist/modal/internal/sdk.d.ts.map +1 -0
- package/dist/modal/internal/sdk.js +51 -0
- package/dist/modal/internal/sdk.js.map +1 -0
- package/dist/modal/runtime.d.ts +271 -0
- package/dist/modal/runtime.d.ts.map +1 -0
- package/dist/modal/runtime.js +871 -0
- package/dist/modal/runtime.js.map +1 -0
- package/dist/mount-script.d.ts +16 -1
- package/dist/mount-script.d.ts.map +1 -1
- package/dist/mount-script.js +76 -15
- package/dist/mount-script.js.map +1 -1
- package/dist/orchestrator.d.ts +15 -0
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +13 -1
- package/dist/orchestrator.js.map +1 -1
- package/dist/port.d.ts +144 -6
- package/dist/port.d.ts.map +1 -1
- package/dist/port.js +27 -5
- package/dist/port.js.map +1 -1
- package/dist/types.d.ts +50 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/vercel/bench.d.ts +169 -0
- package/dist/vercel/bench.d.ts.map +1 -0
- package/dist/vercel/bench.js +337 -0
- package/dist/vercel/bench.js.map +1 -0
- package/dist/vercel/capabilities.d.ts +106 -0
- package/dist/vercel/capabilities.d.ts.map +1 -0
- package/dist/vercel/capabilities.js +128 -0
- package/dist/vercel/capabilities.js.map +1 -0
- package/dist/vercel/config.d.ts +119 -0
- package/dist/vercel/config.d.ts.map +1 -0
- package/dist/vercel/config.js +8 -0
- package/dist/vercel/config.js.map +1 -0
- package/dist/vercel/internal/sdk.d.ts +173 -0
- package/dist/vercel/internal/sdk.d.ts.map +1 -0
- package/dist/vercel/internal/sdk.js +117 -0
- package/dist/vercel/internal/sdk.js.map +1 -0
- package/dist/vercel/runtime.d.ts +305 -0
- package/dist/vercel/runtime.d.ts.map +1 -0
- package/dist/vercel/runtime.js +1169 -0
- package/dist/vercel/runtime.js.map +1 -0
- package/docs/freestyle.md +110 -0
- package/package.json +35 -4
package/dist/e2b/runtime.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Buffer } from "node:buffer";
|
|
2
|
-
import type { RuntimeHandle } from "../types.js";
|
|
3
|
-
import type {
|
|
2
|
+
import type { AsyncExecStartResult, AsyncExecStatus, ExecOptions, ExecResult, LaunchOptions, RuntimeCapabilities, RuntimeHandle, WorkflowRuntime } from "../types.js";
|
|
3
|
+
import type { RunScriptResult, SandboxRuntime } from "../port.js";
|
|
4
|
+
/** Terminal status used when E2B confirms that an admitted process is gone
|
|
5
|
+
* before it can publish an exit sidecar. */
|
|
6
|
+
export declare const E2B_ASYNC_PROCESS_LOST_EXIT_CODE = 255;
|
|
4
7
|
type E2BCommandResult = {
|
|
5
8
|
exitCode: number;
|
|
6
9
|
error?: string;
|
|
@@ -10,13 +13,19 @@ type E2BCommandResult = {
|
|
|
10
13
|
type E2BCommandHandle = {
|
|
11
14
|
pid: number;
|
|
12
15
|
};
|
|
16
|
+
type E2BProcessInfo = {
|
|
17
|
+
pid: number;
|
|
18
|
+
cmd: string;
|
|
19
|
+
args: string[];
|
|
20
|
+
envs: Record<string, string>;
|
|
21
|
+
};
|
|
13
22
|
type E2BRunOpts = {
|
|
14
23
|
background?: boolean;
|
|
15
24
|
cwd?: string;
|
|
16
25
|
envs?: Record<string, string>;
|
|
17
|
-
/** Command
|
|
26
|
+
/** Command lifetime cap in milliseconds. */
|
|
18
27
|
timeoutMs?: number;
|
|
19
|
-
/** HTTP request
|
|
28
|
+
/** HTTP request cap in milliseconds. */
|
|
20
29
|
requestTimeoutMs?: number;
|
|
21
30
|
};
|
|
22
31
|
interface E2BSandbox {
|
|
@@ -28,15 +37,20 @@ interface E2BSandbox {
|
|
|
28
37
|
run(cmd: string, opts: E2BRunOpts & {
|
|
29
38
|
background: true;
|
|
30
39
|
}): Promise<E2BCommandHandle>;
|
|
40
|
+
list(): Promise<E2BProcessInfo[]>;
|
|
41
|
+
kill(pid: number): Promise<boolean>;
|
|
31
42
|
};
|
|
32
43
|
files: {
|
|
33
44
|
write(path: string, data: string | ArrayBuffer): Promise<unknown>;
|
|
34
45
|
read(path: string, opts?: {
|
|
35
|
-
format?: "text"
|
|
36
|
-
|
|
46
|
+
format?: "text";
|
|
47
|
+
requestTimeoutMs?: number;
|
|
48
|
+
}): Promise<string>;
|
|
49
|
+
read(path: string, opts: {
|
|
50
|
+
format: "bytes";
|
|
51
|
+
}): Promise<Uint8Array>;
|
|
37
52
|
};
|
|
38
53
|
setTimeout(timeoutMs: number): Promise<void>;
|
|
39
|
-
kill(): Promise<boolean>;
|
|
40
54
|
}
|
|
41
55
|
type E2BSandboxState = "running" | "paused";
|
|
42
56
|
type E2BSandboxInfo = {
|
|
@@ -52,116 +66,137 @@ interface E2BSandboxPaginator {
|
|
|
52
66
|
}
|
|
53
67
|
type E2BConnectionOpts = {
|
|
54
68
|
apiKey?: string;
|
|
69
|
+
requestTimeoutMs?: number;
|
|
70
|
+
timeoutMs?: number;
|
|
55
71
|
};
|
|
56
72
|
export interface E2BSandboxStatics {
|
|
57
73
|
create(template: string, opts?: E2BConnectionOpts & {
|
|
58
74
|
metadata?: Record<string, string>;
|
|
59
75
|
envs?: Record<string, string>;
|
|
60
|
-
timeoutMs?: number;
|
|
61
76
|
}): Promise<E2BSandbox>;
|
|
62
77
|
connect(sandboxId: string, opts?: E2BConnectionOpts): Promise<E2BSandbox>;
|
|
78
|
+
getInfo(sandboxId: string, opts?: E2BConnectionOpts): Promise<E2BSandboxInfo>;
|
|
63
79
|
list(opts?: E2BConnectionOpts & {
|
|
64
80
|
query?: {
|
|
65
|
-
metadata?: string
|
|
81
|
+
metadata?: Record<string, string>;
|
|
82
|
+
state?: E2BSandboxState[];
|
|
66
83
|
};
|
|
84
|
+
limit?: number;
|
|
67
85
|
}): E2BSandboxPaginator;
|
|
68
|
-
|
|
86
|
+
pause(sandboxId: string, opts?: E2BConnectionOpts & {
|
|
87
|
+
keepMemory?: boolean;
|
|
88
|
+
}): Promise<boolean>;
|
|
89
|
+
kill(sandboxId: string, opts?: E2BConnectionOpts): Promise<boolean>;
|
|
90
|
+
}
|
|
91
|
+
export interface E2BAttachedSandboxOptions {
|
|
92
|
+
homeDir?: string;
|
|
93
|
+
workdir?: string;
|
|
94
|
+
owned?: boolean;
|
|
95
|
+
states?: readonly string[] | null;
|
|
69
96
|
}
|
|
70
|
-
|
|
97
|
+
export interface E2BFindByLabelsOptions extends E2BAttachedSandboxOptions {
|
|
71
98
|
states?: readonly string[] | null;
|
|
72
99
|
limit?: number;
|
|
100
|
+
/** @deprecated Use limit. */
|
|
73
101
|
pageSize?: number;
|
|
74
|
-
owned?: boolean;
|
|
75
102
|
excludeIds?: readonly string[];
|
|
76
103
|
timeoutMs?: number;
|
|
77
|
-
}
|
|
78
|
-
|
|
104
|
+
}
|
|
105
|
+
export interface E2BCountByLabelsOptions {
|
|
79
106
|
states?: readonly string[] | null;
|
|
80
107
|
limit?: number;
|
|
108
|
+
/** @deprecated Use limit. */
|
|
81
109
|
pageSize?: number;
|
|
82
110
|
maxCount?: number;
|
|
83
111
|
timeoutMs?: number;
|
|
84
|
-
}
|
|
112
|
+
}
|
|
113
|
+
export interface E2BRunScriptOptions extends ExecOptions {
|
|
114
|
+
command: string;
|
|
115
|
+
sessionId?: string;
|
|
116
|
+
suppressInputEcho?: boolean;
|
|
117
|
+
}
|
|
118
|
+
export interface E2BBundleFile {
|
|
119
|
+
source: string | Buffer;
|
|
120
|
+
destination: string;
|
|
121
|
+
}
|
|
122
|
+
export interface E2BUploadBundleOptions {
|
|
123
|
+
files: E2BBundleFile[];
|
|
124
|
+
manifest?: unknown;
|
|
125
|
+
manifestPath?: string;
|
|
126
|
+
}
|
|
85
127
|
export type E2BSandboxRuntimeOptions = {
|
|
86
128
|
apiKey: string;
|
|
87
|
-
/**
|
|
88
|
-
* E2B template to launch. Required: templates are account-specific, so there
|
|
89
|
-
* is no default that is correct for any other consumer.
|
|
90
|
-
*/
|
|
129
|
+
/** Account-specific template or snapshot identifier used for every launch. */
|
|
91
130
|
template: string;
|
|
131
|
+
/** Maximum lifetime granted to an asynchronous command and its sandbox. */
|
|
92
132
|
runBudgetMs?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Command lifetime cap applied to a *synchronous* run when the caller passes
|
|
135
|
+
* no `timeoutMs`. Defaults to `runBudgetMs`. Set it only to give synchronous
|
|
136
|
+
* work a different wall than asynchronous work; it never overrides an
|
|
137
|
+
* explicit caller timeout and never extends the sandbox lifetime.
|
|
138
|
+
*/
|
|
139
|
+
syncRunBudgetMs?: number;
|
|
140
|
+
/** Sandbox lifetime applied on create, connect, and each synchronous use. */
|
|
141
|
+
sandboxLifetimeMs?: number;
|
|
142
|
+
/** Default timeout for the create HTTP request, not sandbox lifetime. */
|
|
93
143
|
createTimeoutMs?: number;
|
|
94
|
-
/** Injection seam for tests
|
|
144
|
+
/** Injection seam for tests; defaults to lazy `import("e2b")`. */
|
|
95
145
|
sandbox?: E2BSandboxStatics;
|
|
96
146
|
};
|
|
97
|
-
export declare class E2BSandboxRuntime implements SandboxRuntime {
|
|
147
|
+
export declare class E2BSandboxRuntime implements SandboxRuntime, WorkflowRuntime {
|
|
98
148
|
readonly id = "e2b";
|
|
149
|
+
readonly capabilities: RuntimeCapabilities;
|
|
99
150
|
readonly declaredCapabilities: {
|
|
100
151
|
readonly warmLease: true;
|
|
101
|
-
readonly lifecycle:
|
|
152
|
+
readonly lifecycle: true;
|
|
102
153
|
};
|
|
103
154
|
private readonly apiKey;
|
|
104
155
|
private readonly template;
|
|
105
156
|
private readonly runBudgetMs;
|
|
157
|
+
private readonly syncRunBudgetMs;
|
|
158
|
+
private readonly sandboxLifetimeMs;
|
|
106
159
|
private readonly createTimeoutMs;
|
|
107
160
|
private readonly injectedStatics?;
|
|
108
161
|
private staticsPromise?;
|
|
109
|
-
private readonly
|
|
162
|
+
private readonly registrations;
|
|
163
|
+
private readonly asyncAdmissions;
|
|
110
164
|
constructor(options: E2BSandboxRuntimeOptions);
|
|
111
|
-
findByLabels(labels: Record<string, string>, options?:
|
|
112
|
-
findAllByLabels(labels: Record<string, string>, options?:
|
|
113
|
-
countByLabels(labels: Record<string, string>, options?:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
launch(options?: {
|
|
122
|
-
name?: string;
|
|
123
|
-
env?: Record<string, string>;
|
|
124
|
-
labels?: Record<string, string>;
|
|
125
|
-
createTimeoutSeconds?: number;
|
|
126
|
-
}): Promise<RuntimeHandle>;
|
|
127
|
-
launchDetached(options?: {
|
|
128
|
-
name?: string;
|
|
129
|
-
env?: Record<string, string>;
|
|
130
|
-
labels?: Record<string, string>;
|
|
131
|
-
createTimeoutSeconds?: number;
|
|
132
|
-
}): Promise<RuntimeHandle>;
|
|
133
|
-
getById(id: string, options?: {
|
|
134
|
-
states?: readonly string[] | null;
|
|
135
|
-
owned?: boolean;
|
|
136
|
-
}): Promise<RuntimeHandle | null>;
|
|
137
|
-
uploadBundle(handle: RuntimeHandle, options: {
|
|
138
|
-
files: Array<{
|
|
139
|
-
source: string | Buffer;
|
|
140
|
-
destination: string;
|
|
141
|
-
}>;
|
|
142
|
-
}): Promise<void>;
|
|
143
|
-
runScript(handle: RuntimeHandle, options: {
|
|
144
|
-
command: string;
|
|
145
|
-
sessionId?: string;
|
|
146
|
-
timeoutMs?: number;
|
|
147
|
-
env?: Record<string, string>;
|
|
148
|
-
}): Promise<RunScriptResult>;
|
|
149
|
-
startScript(handle: RuntimeHandle, options: {
|
|
150
|
-
command: string;
|
|
151
|
-
sessionId?: string;
|
|
152
|
-
timeoutMs?: number;
|
|
153
|
-
env?: Record<string, string>;
|
|
154
|
-
suppressInputEcho?: boolean;
|
|
155
|
-
}): Promise<AsyncRunStartResult>;
|
|
156
|
-
getScriptStatus(handle: RuntimeHandle, sessionId: string, _commandId: string): Promise<AsyncRunStatus>;
|
|
165
|
+
findByLabels(labels: Record<string, string>, options?: E2BFindByLabelsOptions): Promise<RuntimeHandle | null>;
|
|
166
|
+
findAllByLabels(labels: Record<string, string>, options?: E2BFindByLabelsOptions): Promise<RuntimeHandle[]>;
|
|
167
|
+
countByLabels(labels: Record<string, string>, options?: E2BCountByLabelsOptions): Promise<number>;
|
|
168
|
+
launch(options?: LaunchOptions): Promise<RuntimeHandle>;
|
|
169
|
+
getById(id: string, options?: E2BAttachedSandboxOptions): Promise<RuntimeHandle | null>;
|
|
170
|
+
attachSandbox(sandbox: E2BSandbox, options?: E2BAttachedSandboxOptions): RuntimeHandle;
|
|
171
|
+
exec(handle: RuntimeHandle, command: string, options?: ExecOptions): Promise<ExecResult>;
|
|
172
|
+
runScript(handle: RuntimeHandle, options: E2BRunScriptOptions): Promise<RunScriptResult>;
|
|
173
|
+
startScript(handle: RuntimeHandle, options: E2BRunScriptOptions): Promise<AsyncExecStartResult>;
|
|
174
|
+
getScriptStatus(handle: RuntimeHandle, sessionId: string, commandId: string): Promise<AsyncExecStatus>;
|
|
157
175
|
getScriptLogs(handle: RuntimeHandle, sessionId: string, commandId: string): Promise<RunScriptResult>;
|
|
176
|
+
startExec(handle: RuntimeHandle, command: string, options?: ExecOptions & {
|
|
177
|
+
sessionId?: string;
|
|
178
|
+
}): Promise<AsyncExecStartResult>;
|
|
179
|
+
getExecStatus(handle: RuntimeHandle, sessionId: string, commandId: string): Promise<AsyncExecStatus>;
|
|
180
|
+
getExecLogs(handle: RuntimeHandle, sessionId: string, commandId: string): Promise<ExecResult>;
|
|
181
|
+
uploadFile(handle: RuntimeHandle, source: string | Buffer, destination: string): Promise<void>;
|
|
182
|
+
uploadBundle(handle: RuntimeHandle, options: E2BUploadBundleOptions): Promise<void>;
|
|
183
|
+
downloadFile(handle: RuntimeHandle, source: string, destination?: string): Promise<Buffer | void>;
|
|
184
|
+
getHomeDir(handle: RuntimeHandle): Promise<string>;
|
|
185
|
+
stop(handle: RuntimeHandle): Promise<void>;
|
|
158
186
|
start(handle: RuntimeHandle): Promise<RuntimeHandle>;
|
|
159
|
-
stop(_handle: RuntimeHandle): Promise<void>;
|
|
160
187
|
destroy(handle: RuntimeHandle): Promise<void>;
|
|
161
188
|
private statics;
|
|
189
|
+
private listSandboxes;
|
|
190
|
+
private registerInfo;
|
|
191
|
+
private registerSandbox;
|
|
162
192
|
private requireSandbox;
|
|
163
|
-
private
|
|
164
|
-
private
|
|
193
|
+
private verifyUploadedBundleFiles;
|
|
194
|
+
private reconcileExistingAdmission;
|
|
195
|
+
private reconcileOutcomeUnknownAdmission;
|
|
196
|
+
private killDuplicateProcesses;
|
|
197
|
+
private killProcessesExcept;
|
|
198
|
+
private readOptionalTextFile;
|
|
199
|
+
private readBoundedFile;
|
|
165
200
|
}
|
|
166
201
|
export {};
|
|
167
202
|
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/e2b/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/e2b/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACf,MAAM,YAAY,CAAC;AAmBpB;4CAC4C;AAC5C,eAAO,MAAM,gCAAgC,MAAM,CAAC;AAEpD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAExC,KAAK,cAAc,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9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