@deepagents/context 0.39.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -11
- package/dist/browser.js +171 -15
- package/dist/browser.js.map +3 -3
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3037 -1573
- package/dist/index.js.map +4 -4
- package/dist/lib/agent.d.ts +6 -0
- package/dist/lib/agent.d.ts.map +1 -1
- package/dist/lib/chain-summary.d.ts +18 -0
- package/dist/lib/chain-summary.d.ts.map +1 -0
- package/dist/lib/engine.d.ts +25 -6
- package/dist/lib/engine.d.ts.map +1 -1
- package/dist/lib/fragments/message/user.d.ts +21 -2
- package/dist/lib/fragments/message/user.d.ts.map +1 -1
- package/dist/lib/fragments.d.ts +8 -3
- package/dist/lib/fragments.d.ts.map +1 -1
- package/dist/lib/resolvers/async-resolver.d.ts +8 -0
- package/dist/lib/resolvers/async-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/function-resolver.d.ts +8 -0
- package/dist/lib/resolvers/function-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/generator-resolver.d.ts +13 -0
- package/dist/lib/resolvers/generator-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/index.d.ts +10 -0
- package/dist/lib/resolvers/index.d.ts.map +1 -0
- package/dist/lib/resolvers/iterable-resolver.d.ts +12 -0
- package/dist/lib/resolvers/iterable-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/loader-resolver.d.ts +13 -0
- package/dist/lib/resolvers/loader-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/promise-resolver.d.ts +7 -0
- package/dist/lib/resolvers/promise-resolver.d.ts.map +1 -0
- package/dist/lib/resolvers/types.d.ts +45 -0
- package/dist/lib/resolvers/types.d.ts.map +1 -0
- package/dist/lib/sandbox/abort.d.ts +24 -0
- package/dist/lib/sandbox/abort.d.ts.map +1 -0
- package/dist/lib/sandbox/agent-os-sandbox.d.ts +3 -6
- package/dist/lib/sandbox/agent-os-sandbox.d.ts.map +1 -1
- package/dist/lib/sandbox/ast-utils.d.ts +5 -2
- package/dist/lib/sandbox/ast-utils.d.ts.map +1 -1
- package/dist/lib/sandbox/bash-tool.d.ts +29 -16
- package/dist/lib/sandbox/bash-tool.d.ts.map +1 -1
- package/dist/lib/sandbox/container-tool.d.ts +47 -21
- package/dist/lib/sandbox/container-tool.d.ts.map +1 -1
- package/dist/lib/sandbox/docker-sandbox-errors.d.ts +74 -0
- package/dist/lib/sandbox/docker-sandbox-errors.d.ts.map +1 -0
- package/dist/lib/sandbox/docker-sandbox.d.ts +148 -371
- package/dist/lib/sandbox/docker-sandbox.d.ts.map +1 -1
- package/dist/lib/sandbox/file-events.d.ts +24 -38
- package/dist/lib/sandbox/file-events.d.ts.map +1 -1
- package/dist/lib/sandbox/index.d.ts +3 -7
- package/dist/lib/sandbox/index.d.ts.map +1 -1
- package/dist/lib/sandbox/installers/github-release.d.ts +46 -0
- package/dist/lib/sandbox/installers/github-release.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/index.d.ts +7 -0
- package/dist/lib/sandbox/installers/index.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/installer.d.ts +44 -0
- package/dist/lib/sandbox/installers/installer.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/npm.d.ts +32 -0
- package/dist/lib/sandbox/installers/npm.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/package-manager.d.ts +19 -0
- package/dist/lib/sandbox/installers/package-manager.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/pip.d.ts +37 -0
- package/dist/lib/sandbox/installers/pip.d.ts.map +1 -0
- package/dist/lib/sandbox/installers/url-binary.d.ts +41 -0
- package/dist/lib/sandbox/installers/url-binary.d.ts.map +1 -0
- package/dist/lib/sandbox/subcommand.d.ts +11 -11
- package/dist/lib/sandbox/subcommand.d.ts.map +1 -1
- package/dist/lib/sandbox/types.d.ts +51 -6
- package/dist/lib/sandbox/types.d.ts.map +1 -1
- package/dist/lib/sandbox/upload-skills.d.ts +6 -0
- package/dist/lib/sandbox/upload-skills.d.ts.map +1 -1
- package/dist/lib/sandbox/virtual-sandbox.d.ts +10 -0
- package/dist/lib/sandbox/virtual-sandbox.d.ts.map +1 -0
- package/dist/lib/save/reminder-target-handler.d.ts +36 -0
- package/dist/lib/save/reminder-target-handler.d.ts.map +1 -0
- package/dist/lib/save/save-pipeline.d.ts +28 -0
- package/dist/lib/save/save-pipeline.d.ts.map +1 -0
- package/dist/lib/save/tool-output-target-handler.d.ts +7 -0
- package/dist/lib/save/tool-output-target-handler.d.ts.map +1 -0
- package/dist/lib/save/user-target-handler.d.ts +7 -0
- package/dist/lib/save/user-target-handler.d.ts.map +1 -0
- package/dist/lib/stream/change-source.d.ts +11 -0
- package/dist/lib/stream/change-source.d.ts.map +1 -0
- package/dist/lib/stream/ddl.stream.postgres-notify.d.ts +3 -0
- package/dist/lib/stream/ddl.stream.postgres-notify.d.ts.map +1 -0
- package/dist/lib/stream/ddl.stream.postgres.d.ts +2 -0
- package/dist/lib/stream/ddl.stream.postgres.d.ts.map +1 -0
- package/dist/lib/stream/polling-change-source.d.ts +27 -0
- package/dist/lib/stream/polling-change-source.d.ts.map +1 -0
- package/dist/lib/stream/polling-policy.d.ts +0 -1
- package/dist/lib/stream/polling-policy.d.ts.map +1 -1
- package/dist/lib/stream/postgres-notify-change-source.d.ts +15 -0
- package/dist/lib/stream/postgres-notify-change-source.d.ts.map +1 -0
- package/dist/lib/stream/postgres.stream-store.d.ts +29 -0
- package/dist/lib/stream/postgres.stream-store.d.ts.map +1 -0
- package/dist/lib/stream/stream-manager.d.ts +8 -27
- package/dist/lib/stream/stream-manager.d.ts.map +1 -1
- package/dist/lib/ui-message-guards.d.ts +10 -0
- package/dist/lib/ui-message-guards.d.ts.map +1 -0
- package/package.json +4 -17
- package/dist/lib/sandbox/extension.d.ts +0 -39
- package/dist/lib/sandbox/extension.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/demo.d.ts +0 -2
- package/dist/lib/sandbox/openapi/demo.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/extension.d.ts +0 -19
- package/dist/lib/sandbox/openapi/extension.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/format.d.ts +0 -11
- package/dist/lib/sandbox/openapi/format.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/schema.d.ts +0 -9
- package/dist/lib/sandbox/openapi/schema.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/skill/index.d.ts +0 -6
- package/dist/lib/sandbox/openapi/skill/index.d.ts.map +0 -1
- package/dist/lib/sandbox/openapi/skill/index.js +0 -14
- package/dist/lib/sandbox/openapi/skill/index.js.map +0 -7
- package/dist/lib/sandbox/openapi/skill/openapi-cli/SKILL.md +0 -109
- package/dist/lib/sandbox/openapi/validate.d.ts +0 -7
- package/dist/lib/sandbox/openapi/validate.d.ts.map +0 -1
- package/dist/lib/sandbox/routing-sandbox.d.ts +0 -28
- package/dist/lib/sandbox/routing-sandbox.d.ts.map +0 -1
- package/dist/lib/sandboxes/openai.d.ts +0 -6
- package/dist/lib/sandboxes/openai.d.ts.map +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { CreateBashToolOptions } from 'bash-tool';
|
|
2
|
-
import { type
|
|
2
|
+
import { type DockerResources, type DockerSandboxVolume } from './docker-sandbox.ts';
|
|
3
|
+
import type { Installer } from './installers/installer.ts';
|
|
3
4
|
import type { AgentSandbox, SkillUploadInput } from './types.ts';
|
|
4
5
|
/**
|
|
5
6
|
* Base options shared by RuntimeContainerToolOptions and DockerfileContainerToolOptions.
|
|
6
7
|
*/
|
|
7
8
|
interface BaseContainerToolOptions extends Omit<CreateBashToolOptions, 'sandbox' | 'uploadDirectory'> {
|
|
8
|
-
/**
|
|
9
|
-
|
|
9
|
+
/** Bind paths or Docker-managed volumes to attach to the container. */
|
|
10
|
+
volumes?: DockerSandboxVolume[];
|
|
10
11
|
/** Resource limits for the container */
|
|
11
12
|
resources?: DockerResources;
|
|
12
13
|
/** Environment variables to set in the container */
|
|
@@ -16,6 +17,14 @@ interface BaseContainerToolOptions extends Omit<CreateBashToolOptions, 'sandbox'
|
|
|
16
17
|
* contents are copied to `sandbox` and parsed into `sandbox.skills`.
|
|
17
18
|
*/
|
|
18
19
|
skills?: SkillUploadInput[];
|
|
20
|
+
/**
|
|
21
|
+
* Stable container name suffix. When set, the container is named
|
|
22
|
+
* `sandbox-<name>`; subsequent calls with the same `name` attach to the
|
|
23
|
+
* running (or stopped) container instead of creating a new one — skipping
|
|
24
|
+
* installers, volume setup, and env. Otherwise a randomized
|
|
25
|
+
* `sandbox-<8hex>` name is used per call.
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
19
28
|
}
|
|
20
29
|
/**
|
|
21
30
|
* Options for container tool using RuntimeStrategy.
|
|
@@ -24,10 +33,31 @@ interface BaseContainerToolOptions extends Omit<CreateBashToolOptions, 'sandbox'
|
|
|
24
33
|
export interface RuntimeContainerToolOptions extends BaseContainerToolOptions {
|
|
25
34
|
/** Docker image to use (default: 'alpine:latest') */
|
|
26
35
|
image?: string;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Ordered list of installers run after the container starts.
|
|
38
|
+
*
|
|
39
|
+
* Built-in factory helpers:
|
|
40
|
+
* - `pkg([...])` — OS packages (apk/apt-get auto-detected)
|
|
41
|
+
* - `urlBinary({ name, url, binaryPath? })` — pre-built binary from a URL
|
|
42
|
+
* - `npm(name, { ensureRuntime?, version? })` — global npm install
|
|
43
|
+
* - `pip(name, { ensureRuntime?, version? })` — pip install
|
|
44
|
+
* - `githubRelease({ owner, repo, version, name, asset })` — GitHub release asset
|
|
45
|
+
*
|
|
46
|
+
* For anything else, subclass `Installer` and pass an instance directly.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* import { pkg, urlBinary, npm } from '@deepagents/context';
|
|
51
|
+
*
|
|
52
|
+
* createContainerTool({
|
|
53
|
+
* installers: [
|
|
54
|
+
* pkg(['curl', 'jq']),
|
|
55
|
+
* npm('prettier', { ensureRuntime: true }),
|
|
56
|
+
* ],
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
installers?: Installer[];
|
|
31
61
|
}
|
|
32
62
|
/**
|
|
33
63
|
* Options for container tool using DockerfileStrategy.
|
|
@@ -63,14 +93,6 @@ export interface ComposeContainerToolOptions extends Omit<CreateBashToolOptions,
|
|
|
63
93
|
* - ComposeContainerToolOptions: Multi-container environments via Docker Compose
|
|
64
94
|
*/
|
|
65
95
|
export type ContainerToolOptions = RuntimeContainerToolOptions | DockerfileContainerToolOptions | ComposeContainerToolOptions;
|
|
66
|
-
/**
|
|
67
|
-
* Result of creating a container tool. Extends AgentSandbox (so
|
|
68
|
-
* `sandbox.skills` is populated from the `skills` option) but with
|
|
69
|
-
* DockerSandbox (which has dispose()) as the underlying sandbox.
|
|
70
|
-
*/
|
|
71
|
-
export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
72
|
-
sandbox: DockerSandbox;
|
|
73
|
-
};
|
|
74
96
|
/**
|
|
75
97
|
* Creates a bash tool that runs in a Docker container.
|
|
76
98
|
*
|
|
@@ -89,9 +111,12 @@ export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
|
89
111
|
*
|
|
90
112
|
* @example RuntimeStrategy (default)
|
|
91
113
|
* ```typescript
|
|
114
|
+
* import { createContainerTool, pkg } from '@deepagents/context';
|
|
115
|
+
*
|
|
92
116
|
* const sandbox = await createContainerTool({
|
|
93
|
-
*
|
|
94
|
-
*
|
|
117
|
+
* installers: [pkg(['curl', 'jq'])],
|
|
118
|
+
* volumes: [{
|
|
119
|
+
* type: 'bind',
|
|
95
120
|
* hostPath: process.cwd(),
|
|
96
121
|
* containerPath: '/workspace',
|
|
97
122
|
* readOnly: false,
|
|
@@ -112,7 +137,7 @@ export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
|
112
137
|
* @example RuntimeStrategy with skills
|
|
113
138
|
* ```typescript
|
|
114
139
|
* const sandbox = await createContainerTool({
|
|
115
|
-
*
|
|
140
|
+
* installers: [pkg(['curl', 'jq'])],
|
|
116
141
|
* skills: [
|
|
117
142
|
* { host: './skills', sandbox: '/workspace/skills' },
|
|
118
143
|
* ],
|
|
@@ -129,7 +154,8 @@ export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
|
129
154
|
* RUN pip install pandas numpy
|
|
130
155
|
* `,
|
|
131
156
|
* context: '.',
|
|
132
|
-
*
|
|
157
|
+
* volumes: [{
|
|
158
|
+
* type: 'bind',
|
|
133
159
|
* hostPath: process.cwd(),
|
|
134
160
|
* containerPath: '/workspace',
|
|
135
161
|
* }],
|
|
@@ -149,7 +175,7 @@ export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
|
149
175
|
* @example With hooks for logging
|
|
150
176
|
* ```typescript
|
|
151
177
|
* const sandbox = await createContainerTool({
|
|
152
|
-
*
|
|
178
|
+
* installers: [pkg(['python3'])],
|
|
153
179
|
* onBeforeBashCall: ({ command }) => {
|
|
154
180
|
* console.log('Running:', command);
|
|
155
181
|
* },
|
|
@@ -159,6 +185,6 @@ export type ContainerToolResult = Omit<AgentSandbox, 'sandbox'> & {
|
|
|
159
185
|
* });
|
|
160
186
|
* ```
|
|
161
187
|
*/
|
|
162
|
-
export declare function createContainerTool(options?: ContainerToolOptions): Promise<
|
|
188
|
+
export declare function createContainerTool(options?: ContainerToolOptions): Promise<AgentSandbox>;
|
|
163
189
|
export {};
|
|
164
190
|
//# sourceMappingURL=container-tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-tool.d.ts","sourceRoot":"","sources":["../../../src/lib/sandbox/container-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,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AAS,GAAG,iBAAiB,CAC9B;IACC,sCAAsC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAC5B,2BAA2B,GAC3B,8BAA8B,GAC9B,2BAA2B,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,YAAY,CAAC,CAuDvB"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare class DockerSandboxError extends Error {
|
|
2
|
+
readonly containerId?: string;
|
|
3
|
+
constructor(message: string, containerId?: string);
|
|
4
|
+
}
|
|
5
|
+
export declare class DockerNotAvailableError extends DockerSandboxError {
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
8
|
+
export declare class ContainerCreationError extends DockerSandboxError {
|
|
9
|
+
readonly image: string;
|
|
10
|
+
cause?: Error;
|
|
11
|
+
constructor(message: string, image: string, cause?: Error);
|
|
12
|
+
}
|
|
13
|
+
export declare class PackageInstallError extends DockerSandboxError {
|
|
14
|
+
readonly packages: string[];
|
|
15
|
+
readonly image: string;
|
|
16
|
+
readonly packageManager: 'apk' | 'apt-get';
|
|
17
|
+
readonly stderr: string;
|
|
18
|
+
constructor(packages: string[], image: string, packageManager: 'apk' | 'apt-get', stderr: string, containerId?: string);
|
|
19
|
+
}
|
|
20
|
+
export type InstallSource = 'url' | 'npm' | 'pypi' | 'github-release';
|
|
21
|
+
export interface InstallErrorOptions {
|
|
22
|
+
/** Logical name of the thing being installed (e.g. `'prettier'`, `'presenterm'`). */
|
|
23
|
+
target: string;
|
|
24
|
+
/** Where it was being fetched from. */
|
|
25
|
+
source: InstallSource;
|
|
26
|
+
/** Underlying failure message (typically stderr). */
|
|
27
|
+
reason: string;
|
|
28
|
+
/** Resolved URL when applicable (URL binary / GitHub release). */
|
|
29
|
+
url?: string;
|
|
30
|
+
containerId?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class InstallError extends DockerSandboxError {
|
|
33
|
+
readonly target: string;
|
|
34
|
+
readonly source: InstallSource;
|
|
35
|
+
readonly reason: string;
|
|
36
|
+
readonly url?: string;
|
|
37
|
+
constructor(opts: InstallErrorOptions);
|
|
38
|
+
}
|
|
39
|
+
export declare class MissingRuntimeError extends DockerSandboxError {
|
|
40
|
+
readonly runtime: string;
|
|
41
|
+
readonly required: string[];
|
|
42
|
+
constructor(runtime: string, required: string[], details?: string, containerId?: string);
|
|
43
|
+
}
|
|
44
|
+
export declare class VolumePathError extends DockerSandboxError {
|
|
45
|
+
readonly source: string;
|
|
46
|
+
readonly containerPath: string;
|
|
47
|
+
readonly reason: string;
|
|
48
|
+
constructor(source: string, containerPath: string, reason: string);
|
|
49
|
+
}
|
|
50
|
+
export declare class VolumeInspectError extends DockerSandboxError {
|
|
51
|
+
readonly volume: string;
|
|
52
|
+
readonly reason: string;
|
|
53
|
+
constructor(volume: string, reason: string);
|
|
54
|
+
}
|
|
55
|
+
export declare class VolumeCreateError extends DockerSandboxError {
|
|
56
|
+
readonly volume: string;
|
|
57
|
+
readonly reason: string;
|
|
58
|
+
constructor(volume: string, reason: string);
|
|
59
|
+
}
|
|
60
|
+
export declare class VolumeRemoveError extends DockerSandboxError {
|
|
61
|
+
readonly volume: string;
|
|
62
|
+
readonly reason: string;
|
|
63
|
+
constructor(volume: string, reason: string);
|
|
64
|
+
}
|
|
65
|
+
export declare class DockerfileBuildError extends DockerSandboxError {
|
|
66
|
+
readonly stderr: string;
|
|
67
|
+
constructor(stderr: string);
|
|
68
|
+
}
|
|
69
|
+
export declare class ComposeStartError extends DockerSandboxError {
|
|
70
|
+
readonly composeFile: string;
|
|
71
|
+
readonly stderr: string;
|
|
72
|
+
constructor(composeFile: string, stderr: string);
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=docker-sandbox-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker-sandbox-errors.d.ts","sourceRoot":"","sources":["../../../src/lib/sandbox/docker-sandbox-errors.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;gBAElB,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM;CAKlD;AAED,qBAAa,uBAAwB,SAAQ,kBAAkB;;CAK9D;AAED,qBAAa,sBAAuB,SAAQ,kBAAkB;IAC5D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;gBAEX,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;CAM1D;AAED,qBAAa,mBAAoB,SAAQ,kBAAkB;IACzD,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,cAAc,EAAE,KAAK,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAGtB,QAAQ,EAAE,MAAM,EAAE,EAClB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,KAAK,GAAG,SAAS,EACjC,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM;CAavB;AAED,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAEtE,MAAM,WAAW,mBAAmB;IAClC,qFAAqF;IACrF,MAAM,EAAE,MAAM,CAAC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