@backendkit-labs/agent-enterprise 0.3.1 → 0.3.6
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 +2 -0
- package/dist/__tests__/integration/EventPublisher.integration.test.d.ts +2 -0
- package/dist/__tests__/integration/EventPublisher.integration.test.d.ts.map +1 -0
- package/dist/__tests__/integration/EventPublisher.integration.test.js +122 -0
- package/dist/__tests__/integration/EventPublisher.integration.test.js.map +1 -0
- package/dist/__tests__/unit/ComplianceGate.test.d.ts +2 -0
- package/dist/__tests__/unit/ComplianceGate.test.d.ts.map +1 -0
- package/dist/__tests__/unit/ComplianceGate.test.js +271 -0
- package/dist/__tests__/unit/ComplianceGate.test.js.map +1 -0
- package/dist/__tests__/unit/EventPublisher.test.d.ts +2 -0
- package/dist/__tests__/unit/EventPublisher.test.d.ts.map +1 -0
- package/dist/__tests__/unit/EventPublisher.test.js +160 -0
- package/dist/__tests__/unit/EventPublisher.test.js.map +1 -0
- package/dist/__tests__/unit/FlowLoader.test.d.ts +2 -0
- package/dist/__tests__/unit/FlowLoader.test.d.ts.map +1 -0
- package/dist/__tests__/unit/FlowLoader.test.js +283 -0
- package/dist/__tests__/unit/FlowLoader.test.js.map +1 -0
- package/dist/__tests__/unit/FlowRunner.test.d.ts +2 -0
- package/dist/__tests__/unit/FlowRunner.test.d.ts.map +1 -0
- package/dist/__tests__/unit/FlowRunner.test.js +386 -0
- package/dist/__tests__/unit/FlowRunner.test.js.map +1 -0
- package/dist/__tests__/unit/PolicySeeder.test.d.ts +2 -0
- package/dist/__tests__/unit/PolicySeeder.test.d.ts.map +1 -0
- package/dist/__tests__/unit/PolicySeeder.test.js +146 -0
- package/dist/__tests__/unit/PolicySeeder.test.js.map +1 -0
- package/dist/__tests__/unit/ProfilePolicies.test.d.ts +2 -0
- package/dist/__tests__/unit/ProfilePolicies.test.d.ts.map +1 -0
- package/dist/__tests__/unit/ProfilePolicies.test.js +70 -0
- package/dist/__tests__/unit/ProfilePolicies.test.js.map +1 -0
- package/dist/__tests__/unit/ReconciliationSweeper.test.d.ts +2 -0
- package/dist/__tests__/unit/ReconciliationSweeper.test.d.ts.map +1 -0
- package/dist/__tests__/unit/ReconciliationSweeper.test.js +235 -0
- package/dist/__tests__/unit/ReconciliationSweeper.test.js.map +1 -0
- package/dist/__tests__/unit/n8nTriggerTool.test.d.ts +2 -0
- package/dist/__tests__/unit/n8nTriggerTool.test.d.ts.map +1 -0
- package/dist/__tests__/unit/n8nTriggerTool.test.js +103 -0
- package/dist/__tests__/unit/n8nTriggerTool.test.js.map +1 -0
- package/dist/events/EventPublisher.d.ts +47 -0
- package/dist/events/EventPublisher.d.ts.map +1 -0
- package/dist/events/EventPublisher.js +75 -0
- package/dist/events/EventPublisher.js.map +1 -0
- package/dist/events/ReconciliationSweeper.d.ts +37 -0
- package/dist/events/ReconciliationSweeper.d.ts.map +1 -0
- package/dist/events/ReconciliationSweeper.js +151 -0
- package/dist/events/ReconciliationSweeper.js.map +1 -0
- package/dist/events/index.d.ts +6 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +8 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/types.d.ts +48 -0
- package/dist/events/types.d.ts.map +1 -0
- package/dist/events/types.js +3 -0
- package/dist/events/types.js.map +1 -0
- package/dist/factory.d.ts +6 -0
- package/dist/factory.d.ts.map +1 -1
- package/dist/factory.js +11 -5
- package/dist/factory.js.map +1 -1
- package/dist/flow/ComplianceGate.d.ts +80 -0
- package/dist/flow/ComplianceGate.d.ts.map +1 -0
- package/dist/flow/ComplianceGate.js +214 -0
- package/dist/flow/ComplianceGate.js.map +1 -0
- package/dist/flow/FlowLoader.d.ts +22 -0
- package/dist/flow/FlowLoader.d.ts.map +1 -0
- package/dist/flow/FlowLoader.js +170 -0
- package/dist/flow/FlowLoader.js.map +1 -0
- package/dist/flow/FlowRunner.d.ts +66 -0
- package/dist/flow/FlowRunner.d.ts.map +1 -0
- package/dist/flow/FlowRunner.js +153 -0
- package/dist/flow/FlowRunner.js.map +1 -0
- package/dist/flow/index.d.ts +8 -0
- package/dist/flow/index.d.ts.map +1 -0
- package/dist/flow/index.js +21 -0
- package/dist/flow/index.js.map +1 -0
- package/dist/flow/types.d.ts +306 -0
- package/dist/flow/types.d.ts.map +1 -0
- package/dist/flow/types.js +63 -0
- package/dist/flow/types.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/index.d.ts +3 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +6 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/integrations/n8nTriggerTool.d.ts +12 -0
- package/dist/integrations/n8nTriggerTool.d.ts.map +1 -0
- package/dist/integrations/n8nTriggerTool.js +45 -0
- package/dist/integrations/n8nTriggerTool.js.map +1 -0
- package/dist/policies/PolicySeeder.d.ts +31 -0
- package/dist/policies/PolicySeeder.d.ts.map +1 -0
- package/dist/policies/PolicySeeder.js +270 -0
- package/dist/policies/PolicySeeder.js.map +1 -0
- package/dist/policies/index.d.ts +3 -0
- package/dist/policies/index.d.ts.map +1 -0
- package/dist/policies/index.js +6 -0
- package/dist/policies/index.js.map +1 -0
- package/dist/profiles/constants.d.ts +4 -0
- package/dist/profiles/constants.d.ts.map +1 -1
- package/dist/profiles/constants.js +4 -0
- package/dist/profiles/constants.js.map +1 -1
- package/dist/profiles/finance.d.ts.map +1 -1
- package/dist/profiles/finance.js +7 -8
- package/dist/profiles/finance.js.map +1 -1
- package/dist/profiles/general.d.ts.map +1 -1
- package/dist/profiles/general.js +1 -0
- package/dist/profiles/general.js.map +1 -1
- package/dist/profiles/hr.d.ts.map +1 -1
- package/dist/profiles/hr.js +6 -8
- package/dist/profiles/hr.js.map +1 -1
- package/dist/profiles/ops.d.ts.map +1 -1
- package/dist/profiles/ops.js +6 -10
- package/dist/profiles/ops.js.map +1 -1
- package/dist/profiles/sales.d.ts.map +1 -1
- package/dist/profiles/sales.js +3 -1
- package/dist/profiles/sales.js.map +1 -1
- package/dist/profiles/support.d.ts.map +1 -1
- package/dist/profiles/support.js +2 -4
- package/dist/profiles/support.js.map +1 -1
- package/dist/rag/ObsidianRAGProvider.js +4 -4
- package/dist/rag/ObsidianRAGProvider.js.map +1 -1
- package/package.json +6 -2
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const fs = __importStar(require("fs/promises"));
|
|
37
|
+
const path = __importStar(require("path"));
|
|
38
|
+
const os = __importStar(require("os"));
|
|
39
|
+
const FlowLoader_1 = require("../../flow/FlowLoader");
|
|
40
|
+
// ── Helpers ───────────────────────────────────────────────────────────────────
|
|
41
|
+
const VALID_FLOW = `
|
|
42
|
+
flow: onboarding-empleado
|
|
43
|
+
version: 1
|
|
44
|
+
trigger:
|
|
45
|
+
type: queue
|
|
46
|
+
queue: eventos.contratacion
|
|
47
|
+
steps:
|
|
48
|
+
- id: preparar-ficha
|
|
49
|
+
agent: rrhh
|
|
50
|
+
prompt: "Prepara la ficha del empleado: {{payload}}"
|
|
51
|
+
tools: [odoo_employee_create, search_knowledge]
|
|
52
|
+
gate:
|
|
53
|
+
criteria:
|
|
54
|
+
- "Ficha creada en Odoo"
|
|
55
|
+
evaluator: auditor
|
|
56
|
+
evidence: required
|
|
57
|
+
- id: bienvenida
|
|
58
|
+
agent: onboarding
|
|
59
|
+
after: [preparar-ficha]
|
|
60
|
+
prompt: "Envía el email de bienvenida"
|
|
61
|
+
- id: preliquidacion
|
|
62
|
+
agent: nomina
|
|
63
|
+
after: [preparar-ficha]
|
|
64
|
+
prompt: "Prepara la preliquidación"
|
|
65
|
+
gate:
|
|
66
|
+
approval: human
|
|
67
|
+
compensation:
|
|
68
|
+
- on: preliquidacion.failed
|
|
69
|
+
agent: nomina
|
|
70
|
+
prompt: "Revierte la preliquidación"
|
|
71
|
+
`;
|
|
72
|
+
function expectLoadError(yamlContent, issueFragment) {
|
|
73
|
+
try {
|
|
74
|
+
(0, FlowLoader_1.parseFlow)(yamlContent);
|
|
75
|
+
fail('expected FlowLoadError');
|
|
76
|
+
}
|
|
77
|
+
catch (err) {
|
|
78
|
+
expect(err).toBeInstanceOf(FlowLoader_1.FlowLoadError);
|
|
79
|
+
const issues = err.issues.join('\n');
|
|
80
|
+
expect(issues).toContain(issueFragment);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// ── parseFlow: valid input ────────────────────────────────────────────────────
|
|
84
|
+
describe('parseFlow — valid flows', () => {
|
|
85
|
+
it('parses a complete flow definition', () => {
|
|
86
|
+
const def = (0, FlowLoader_1.parseFlow)(VALID_FLOW);
|
|
87
|
+
expect(def.flow).toBe('onboarding-empleado');
|
|
88
|
+
expect(def.steps).toHaveLength(3);
|
|
89
|
+
expect(def.compensation).toHaveLength(1);
|
|
90
|
+
});
|
|
91
|
+
it('applies defaults: version 1, empty after, optional evidence', () => {
|
|
92
|
+
const def = (0, FlowLoader_1.parseFlow)(`
|
|
93
|
+
flow: minimal
|
|
94
|
+
trigger: { type: manual }
|
|
95
|
+
steps:
|
|
96
|
+
- id: solo
|
|
97
|
+
agent: general
|
|
98
|
+
prompt: "Haz algo"
|
|
99
|
+
gate:
|
|
100
|
+
criteria: ["criterio"]
|
|
101
|
+
evaluator: auditor
|
|
102
|
+
`);
|
|
103
|
+
expect(def.version).toBe(1);
|
|
104
|
+
expect(def.steps[0].after).toEqual([]);
|
|
105
|
+
expect(def.steps[0].gate?.evidence).toBe('optional');
|
|
106
|
+
expect(def.steps[0].gate?.approval).toBe('none');
|
|
107
|
+
expect(def.compensation).toEqual([]);
|
|
108
|
+
});
|
|
109
|
+
it('preserves gate metadata for later ComplianceGate enforcement', () => {
|
|
110
|
+
const def = (0, FlowLoader_1.parseFlow)(VALID_FLOW);
|
|
111
|
+
const gate = def.steps[0].gate;
|
|
112
|
+
expect(gate?.criteria).toEqual(['Ficha creada en Odoo']);
|
|
113
|
+
expect(gate?.evaluator).toBe('auditor');
|
|
114
|
+
expect(gate?.evidence).toBe('required');
|
|
115
|
+
});
|
|
116
|
+
it('parses parallel steps (same after) without errors', () => {
|
|
117
|
+
const def = (0, FlowLoader_1.parseFlow)(VALID_FLOW);
|
|
118
|
+
expect(def.steps[1].after).toEqual(['preparar-ficha']);
|
|
119
|
+
expect(def.steps[2].after).toEqual(['preparar-ficha']);
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
// ── parseFlow: structural validation ──────────────────────────────────────────
|
|
123
|
+
describe('parseFlow — structural validation', () => {
|
|
124
|
+
it('rejects YAML syntax errors', () => {
|
|
125
|
+
expectLoadError('flow: [unclosed', 'YAML syntax error');
|
|
126
|
+
});
|
|
127
|
+
it('rejects a missing flow name', () => {
|
|
128
|
+
expectLoadError(`
|
|
129
|
+
trigger: { type: manual }
|
|
130
|
+
steps:
|
|
131
|
+
- { id: a, agent: x, prompt: p }
|
|
132
|
+
`, 'flow');
|
|
133
|
+
});
|
|
134
|
+
it('rejects an empty steps array', () => {
|
|
135
|
+
expectLoadError(`
|
|
136
|
+
flow: empty
|
|
137
|
+
trigger: { type: manual }
|
|
138
|
+
steps: []
|
|
139
|
+
`, 'steps');
|
|
140
|
+
});
|
|
141
|
+
it('rejects a step without prompt', () => {
|
|
142
|
+
expectLoadError(`
|
|
143
|
+
flow: noprompt
|
|
144
|
+
trigger: { type: manual }
|
|
145
|
+
steps:
|
|
146
|
+
- { id: a, agent: x }
|
|
147
|
+
`, 'prompt');
|
|
148
|
+
});
|
|
149
|
+
it('rejects an invalid compensation selector', () => {
|
|
150
|
+
expectLoadError(`
|
|
151
|
+
flow: badcomp
|
|
152
|
+
trigger: { type: manual }
|
|
153
|
+
steps:
|
|
154
|
+
- { id: a, agent: x, prompt: p }
|
|
155
|
+
compensation:
|
|
156
|
+
- { on: "a.exploded", agent: x, prompt: p }
|
|
157
|
+
`, 'must be "<stepId>.failed"');
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
// ── parseFlow: semantic validation ────────────────────────────────────────────
|
|
161
|
+
describe('parseFlow — semantic validation', () => {
|
|
162
|
+
it('rejects duplicate step ids', () => {
|
|
163
|
+
expectLoadError(`
|
|
164
|
+
flow: dup
|
|
165
|
+
trigger: { type: manual }
|
|
166
|
+
steps:
|
|
167
|
+
- { id: a, agent: x, prompt: p }
|
|
168
|
+
- { id: a, agent: y, prompt: q }
|
|
169
|
+
`, 'duplicate step id "a"');
|
|
170
|
+
});
|
|
171
|
+
it('rejects unknown after references', () => {
|
|
172
|
+
expectLoadError(`
|
|
173
|
+
flow: ghost
|
|
174
|
+
trigger: { type: manual }
|
|
175
|
+
steps:
|
|
176
|
+
- { id: a, agent: x, prompt: p, after: [nope] }
|
|
177
|
+
`, 'unknown step "nope"');
|
|
178
|
+
});
|
|
179
|
+
it('rejects self-dependency', () => {
|
|
180
|
+
expectLoadError(`
|
|
181
|
+
flow: selfdep
|
|
182
|
+
trigger: { type: manual }
|
|
183
|
+
steps:
|
|
184
|
+
- { id: a, agent: x, prompt: p, after: [a] }
|
|
185
|
+
`, 'cannot depend on itself');
|
|
186
|
+
});
|
|
187
|
+
it('rejects dependency cycles', () => {
|
|
188
|
+
expectLoadError(`
|
|
189
|
+
flow: cycle
|
|
190
|
+
trigger: { type: manual }
|
|
191
|
+
steps:
|
|
192
|
+
- { id: a, agent: x, prompt: p, after: [b] }
|
|
193
|
+
- { id: b, agent: y, prompt: q, after: [a] }
|
|
194
|
+
`, 'dependency cycle');
|
|
195
|
+
});
|
|
196
|
+
it('rejects gate evaluator equal to the executing agent (evaluador ≠ ejecutor)', () => {
|
|
197
|
+
expectLoadError(`
|
|
198
|
+
flow: selfeval
|
|
199
|
+
trigger: { type: manual }
|
|
200
|
+
steps:
|
|
201
|
+
- id: a
|
|
202
|
+
agent: rrhh
|
|
203
|
+
prompt: p
|
|
204
|
+
gate:
|
|
205
|
+
criteria: ["c"]
|
|
206
|
+
evaluator: rrhh
|
|
207
|
+
`, 'must differ from the executing agent');
|
|
208
|
+
});
|
|
209
|
+
it('rejects compensation referencing an unknown step', () => {
|
|
210
|
+
expectLoadError(`
|
|
211
|
+
flow: orphancomp
|
|
212
|
+
trigger: { type: manual }
|
|
213
|
+
steps:
|
|
214
|
+
- { id: a, agent: x, prompt: p }
|
|
215
|
+
compensation:
|
|
216
|
+
- { on: "ghost.failed", agent: x, prompt: p }
|
|
217
|
+
`, 'unknown step "ghost"');
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
// ── parseFlow: trigger coherence ──────────────────────────────────────────────
|
|
221
|
+
describe('parseFlow — trigger coherence', () => {
|
|
222
|
+
it('requires queue name for queue triggers', () => {
|
|
223
|
+
expectLoadError(`
|
|
224
|
+
flow: q
|
|
225
|
+
trigger: { type: queue }
|
|
226
|
+
steps:
|
|
227
|
+
- { id: a, agent: x, prompt: p }
|
|
228
|
+
`, 'requires a queue name');
|
|
229
|
+
});
|
|
230
|
+
it('requires path for webhook triggers', () => {
|
|
231
|
+
expectLoadError(`
|
|
232
|
+
flow: w
|
|
233
|
+
trigger: { type: webhook }
|
|
234
|
+
steps:
|
|
235
|
+
- { id: a, agent: x, prompt: p }
|
|
236
|
+
`, 'requires a path');
|
|
237
|
+
});
|
|
238
|
+
it('requires schedule for cron triggers', () => {
|
|
239
|
+
expectLoadError(`
|
|
240
|
+
flow: c
|
|
241
|
+
trigger: { type: cron }
|
|
242
|
+
steps:
|
|
243
|
+
- { id: a, agent: x, prompt: p }
|
|
244
|
+
`, 'requires a schedule');
|
|
245
|
+
});
|
|
246
|
+
it('accepts manual triggers with no extra fields', () => {
|
|
247
|
+
const def = (0, FlowLoader_1.parseFlow)(`
|
|
248
|
+
flow: m
|
|
249
|
+
trigger: { type: manual }
|
|
250
|
+
steps:
|
|
251
|
+
- { id: a, agent: x, prompt: p }
|
|
252
|
+
`);
|
|
253
|
+
expect(def.trigger.type).toBe('manual');
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
// ── loadFlow / loadFlowsFromDir ───────────────────────────────────────────────
|
|
257
|
+
describe('loadFlow / loadFlowsFromDir', () => {
|
|
258
|
+
let tmpDir;
|
|
259
|
+
beforeEach(async () => {
|
|
260
|
+
tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), 'flow-loader-'));
|
|
261
|
+
});
|
|
262
|
+
afterEach(async () => {
|
|
263
|
+
await fs.rm(tmpDir, { recursive: true, force: true });
|
|
264
|
+
});
|
|
265
|
+
it('loads a flow from a file', async () => {
|
|
266
|
+
const file = path.join(tmpDir, 'onboarding.yaml');
|
|
267
|
+
await fs.writeFile(file, VALID_FLOW, 'utf-8');
|
|
268
|
+
const def = await (0, FlowLoader_1.loadFlow)(file);
|
|
269
|
+
expect(def.flow).toBe('onboarding-empleado');
|
|
270
|
+
});
|
|
271
|
+
it('loads all yaml files from a directory in sorted order', async () => {
|
|
272
|
+
await fs.writeFile(path.join(tmpDir, 'b-second.yaml'), VALID_FLOW.replace('onboarding-empleado', 'flujo-b'), 'utf-8');
|
|
273
|
+
await fs.writeFile(path.join(tmpDir, 'a-first.yml'), VALID_FLOW.replace('onboarding-empleado', 'flujo-a'), 'utf-8');
|
|
274
|
+
await fs.writeFile(path.join(tmpDir, 'ignored.txt'), 'not yaml', 'utf-8');
|
|
275
|
+
const flows = await (0, FlowLoader_1.loadFlowsFromDir)(tmpDir);
|
|
276
|
+
expect(flows.map(f => f.flow)).toEqual(['flujo-a', 'flujo-b']);
|
|
277
|
+
});
|
|
278
|
+
it('throws FlowLoadError for an invalid file in the directory', async () => {
|
|
279
|
+
await fs.writeFile(path.join(tmpDir, 'bad.yaml'), 'flow: bad\ntrigger: { type: manual }\nsteps: []', 'utf-8');
|
|
280
|
+
await expect((0, FlowLoader_1.loadFlowsFromDir)(tmpDir)).rejects.toThrow(FlowLoader_1.FlowLoadError);
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
//# sourceMappingURL=FlowLoader.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowLoader.test.js","sourceRoot":"","sources":["../../../src/__tests__/unit/FlowLoader.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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