@genesislcap/ai-assistant 15.82.0 → 15.83.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/dist/ai-assistant.api.json +2811 -233
- package/dist/ai-assistant.d.ts +835 -93
- package/dist/chat-driver.cjs +452 -99
- package/dist/chat-driver.cjs.map +4 -4
- package/dist/chat-driver.mjs +452 -99
- package/dist/chat-driver.mjs.map +4 -4
- package/dist/custom-elements.json +1038 -42
- package/dist/dts/autopilot/autopilot-driver.d.ts +117 -11
- package/dist/dts/autopilot/autopilot-driver.d.ts.map +1 -1
- package/dist/dts/autopilot/autopilot-session.d.ts +55 -7
- package/dist/dts/autopilot/autopilot-session.d.ts.map +1 -1
- package/dist/dts/autopilot/autopilot-tools.d.ts +3 -2
- package/dist/dts/autopilot/autopilot-tools.d.ts.map +1 -1
- package/dist/dts/autopilot/decision-message.d.ts +35 -3
- package/dist/dts/autopilot/decision-message.d.ts.map +1 -1
- package/dist/dts/autopilot/hand-back/hand-back.controller.d.ts +2 -2
- package/dist/dts/autopilot/hand-back/hand-back.controller.d.ts.map +1 -1
- package/dist/dts/autopilot/hand-back/hand-back.d.ts +2 -2
- package/dist/dts/autopilot/hand-back/hand-back.d.ts.map +1 -1
- package/dist/dts/autopilot/index.d.ts +1 -0
- package/dist/dts/autopilot/index.d.ts.map +1 -1
- package/dist/dts/autopilot/widget-tools.d.ts +95 -0
- package/dist/dts/autopilot/widget-tools.d.ts.map +1 -0
- package/dist/dts/channel/ai-activity-channel.d.ts +10 -0
- package/dist/dts/channel/ai-activity-channel.d.ts.map +1 -1
- package/dist/dts/components/ai-driver/ai-driver.d.ts +25 -6
- package/dist/dts/components/ai-driver/ai-driver.d.ts.map +1 -1
- package/dist/dts/components/ai-driver/base-driver-decorator.d.ts +2 -0
- package/dist/dts/components/ai-driver/base-driver-decorator.d.ts.map +1 -1
- package/dist/dts/components/chat-driver/chat-driver.d.ts +14 -2
- package/dist/dts/components/chat-driver/chat-driver.d.ts.map +1 -1
- package/dist/dts/components/chat-driver/interaction-controller.d.ts +61 -17
- package/dist/dts/components/chat-driver/interaction-controller.d.ts.map +1 -1
- package/dist/dts/config/config.d.ts +31 -6
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/config/define-stateful-agent.d.ts +5 -1
- package/dist/dts/config/define-stateful-agent.d.ts.map +1 -1
- package/dist/dts/index.d.ts +4 -2
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +11 -0
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/notifications/agent-notifications.d.ts +6 -2
- package/dist/dts/notifications/agent-notifications.d.ts.map +1 -1
- package/dist/dts/notifications/agent-notifier.d.ts +26 -4
- package/dist/dts/notifications/agent-notifier.d.ts.map +1 -1
- package/dist/dts/state/decision-surface.d.ts +22 -4
- package/dist/dts/state/decision-surface.d.ts.map +1 -1
- package/dist/dts/state/interaction-context.d.ts +23 -4
- package/dist/dts/state/interaction-context.d.ts.map +1 -1
- package/dist/dts/state/interaction-registry.d.ts +55 -6
- package/dist/dts/state/interaction-registry.d.ts.map +1 -1
- package/dist/dts/state/live-interactions.d.ts +28 -0
- package/dist/dts/state/live-interactions.d.ts.map +1 -0
- package/dist/dts/state/persistence/session-persister.d.ts.map +1 -1
- package/dist/dts/state/persistence/session-snapshot.d.ts +16 -5
- package/dist/dts/state/persistence/session-snapshot.d.ts.map +1 -1
- package/dist/dts/state/test-interaction-context.d.ts +93 -0
- package/dist/dts/state/test-interaction-context.d.ts.map +1 -0
- package/dist/dts/types/ai-chat-widget.d.ts +7 -6
- package/dist/dts/types/ai-chat-widget.d.ts.map +1 -1
- package/dist/dts/types/interaction-context.d.ts +128 -17
- package/dist/dts/types/interaction-context.d.ts.map +1 -1
- package/dist/dts/types/interaction-interceptor.d.ts +48 -6
- package/dist/dts/types/interaction-interceptor.d.ts.map +1 -1
- package/dist/dts/types/interaction-surface.d.ts +145 -23
- package/dist/dts/types/interaction-surface.d.ts.map +1 -1
- package/dist/esm/autopilot/autopilot-driver.js +313 -60
- package/dist/esm/autopilot/autopilot-session.js +219 -40
- package/dist/esm/autopilot/autopilot-tools.js +11 -7
- package/dist/esm/autopilot/decision-message.js +105 -26
- package/dist/esm/autopilot/hand-back/hand-back.controller.js +2 -1
- package/dist/esm/autopilot/index.js +1 -0
- package/dist/esm/autopilot/widget-tools.js +39 -0
- package/dist/esm/components/ai-driver/base-driver-decorator.js +17 -0
- package/dist/esm/components/chat-driver/chat-driver.js +18 -2
- package/dist/esm/components/chat-driver/interaction-controller.js +232 -71
- package/dist/esm/components/settings-modal/settings-modal.template.js +2 -2
- package/dist/esm/config/define-stateful-agent.js +22 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/main/main.js +39 -3
- package/dist/esm/main/main.template.js +4 -1
- package/dist/esm/notifications/agent-notifications.js +11 -1
- package/dist/esm/notifications/agent-notifier.js +41 -7
- package/dist/esm/state/debug-event-log.js +5 -5
- package/dist/esm/state/decision-surface.js +137 -54
- package/dist/esm/state/interaction-context.js +41 -8
- package/dist/esm/state/interaction-registry.js +11 -0
- package/dist/esm/state/live-interactions.js +36 -0
- package/dist/esm/state/persistence/session-persister.js +44 -17
- package/dist/esm/state/persistence/session-snapshot.js +2 -2
- package/dist/esm/state/test-interaction-context.js +99 -0
- package/docs/notifications.md +55 -5
- package/docs/styling.md +33 -0
- package/package.json +19 -19
- package/sandbox/README.md +3 -2
- package/sandbox/autopilot.ts +26 -6
- package/sandbox/sandbox.ts +2 -0
- /package/dist/{tsdoc-metadata.json → dts/tsdoc-metadata.json} +0 -0
|
@@ -13,10 +13,12 @@ export type DecisionOption = string | {
|
|
|
13
13
|
/** The option's text, as the person sees it. */
|
|
14
14
|
readonly label: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* Why it cannot be chosen right now, or `undefined` when it can — the button's own guard (e.g.
|
|
17
|
+
* "2 validation errors" for a Continue that needs a validated handler). Read fresh every time.
|
|
18
|
+
* An unavailable option is listed with its reason and refused with it. Absent means always
|
|
19
|
+
* available; an empty string or a throw counts as unavailable, with a generic reason.
|
|
18
20
|
*/
|
|
19
|
-
readonly
|
|
21
|
+
readonly unavailable?: () => string | undefined;
|
|
20
22
|
};
|
|
21
23
|
/**
|
|
22
24
|
* What was decided, as handed to a short-form decision's `choose` (GENC-1660).
|
|
@@ -39,6 +41,32 @@ export type DecisionAnswer =
|
|
|
39
41
|
readonly kind: 'text';
|
|
40
42
|
readonly text: string;
|
|
41
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* One named view of a surface (GENC-1660): content a claimant reads only when it asks for it, such
|
|
46
|
+
* as a long explainer the person opens on the card, or a summary of a rich widget's state. Listed
|
|
47
|
+
* in the decision with its description; its content is not, unless it is a full-form surface's
|
|
48
|
+
* {@link SurfaceSpec.preview}.
|
|
49
|
+
*
|
|
50
|
+
* The same shape in both forms: a short-form decision's {@link DecisionSpec.views} and a full-form
|
|
51
|
+
* surface's {@link SurfaceSpec.views}.
|
|
52
|
+
*
|
|
53
|
+
* A view takes no parameters. A read that needs them (one table's rows, a page at an offset) is a
|
|
54
|
+
* widget tool instead: see `widgetTools`.
|
|
55
|
+
*
|
|
56
|
+
* Every read is capped at about 20,000 characters, cut with a note telling the model to ask for
|
|
57
|
+
* less, so page anything that can grow.
|
|
58
|
+
*
|
|
59
|
+
* @beta
|
|
60
|
+
*/
|
|
61
|
+
export interface SurfaceView {
|
|
62
|
+
/**
|
|
63
|
+
* For the model: what the view holds and when it is worth reading. Shown with every decision, so
|
|
64
|
+
* keep it to a sentence — it is what tells the model the view exists at all.
|
|
65
|
+
*/
|
|
66
|
+
readonly description: string;
|
|
67
|
+
/** The view's content, as JSON. Read fresh on every `widget_read({ view })`. */
|
|
68
|
+
read(): unknown;
|
|
69
|
+
}
|
|
42
70
|
/**
|
|
43
71
|
* A short-form decision: the surface most widgets need (GENC-1660). Its actions are its options,
|
|
44
72
|
* all finishing, plus `select` for a multi-select and `reply` for a written answer.
|
|
@@ -49,13 +77,47 @@ export interface DecisionSpec {
|
|
|
49
77
|
readonly options: readonly DecisionOption[];
|
|
50
78
|
/** Adds a `select({ options })` action that picks several. */
|
|
51
79
|
readonly multi?: boolean;
|
|
52
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Adds a `reply({ text })` action: an answer in the chooser's own words. It refines, so it counts
|
|
82
|
+
* against the autopilot's per-step refinement limit and is withdrawn past it.
|
|
83
|
+
*/
|
|
53
84
|
readonly freeText?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Why the `reply` action cannot be used right now, or `undefined` when it can: the same guard
|
|
87
|
+
* pattern as an option's {@link DecisionOption} `unavailable`, read fresh. For a widget whose
|
|
88
|
+
* written answer only makes sense in some states (a review gate that failed, say, where only
|
|
89
|
+
* handing back is left). Ignored without `freeText`.
|
|
90
|
+
*/
|
|
91
|
+
readonly freeTextUnavailable?: () => string | undefined;
|
|
54
92
|
/**
|
|
55
93
|
* What a decision needs that the person sees on screen in some other form — e.g.
|
|
56
94
|
* `{ validated: true }`. A getter, so it is read fresh whenever the decision is described.
|
|
57
95
|
*/
|
|
58
96
|
readonly facts?: () => Readonly<Record<string, unknown>>;
|
|
97
|
+
/**
|
|
98
|
+
* Named views a claimant may read on demand: content too long to send with every decision but
|
|
99
|
+
* sometimes needed to make it. Each is listed in the decision with its description, and read with
|
|
100
|
+
* `widget_read({ view })`; a view not listed here is refused. `widget_read()` with no view still
|
|
101
|
+
* reads the decision's `facts`.
|
|
102
|
+
*
|
|
103
|
+
* The same shape as the full form's {@link SurfaceSpec.views}, so a widget can offer something
|
|
104
|
+
* to read and keep the short form's generated options.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```ts
|
|
108
|
+
* ctx.exposeDecision({
|
|
109
|
+
* options: ['Yes, add one', 'No, skip this step'],
|
|
110
|
+
* choose,
|
|
111
|
+
* views: {
|
|
112
|
+
* moreInfo: {
|
|
113
|
+
* description: 'The "More info" explainer the person can open on the card.',
|
|
114
|
+
* read: () => data.moreInfo,
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* });
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
readonly views?: Readonly<Record<string, SurfaceView>>;
|
|
59
121
|
/**
|
|
60
122
|
* Model-only guidance the person would not see. The decision's own text comes from the
|
|
61
123
|
* widget's `asText`, which is what the person saw.
|
|
@@ -74,7 +136,7 @@ export interface DecisionSpec {
|
|
|
74
136
|
* @beta
|
|
75
137
|
*/
|
|
76
138
|
export interface SurfaceAction {
|
|
77
|
-
/** The name to invoke it by: an option's id,
|
|
139
|
+
/** The name to invoke it by: an option's id, `select` / `reply`, or a full-form action's name. */
|
|
78
140
|
readonly name: string;
|
|
79
141
|
/** The text the person sees for it, where it has one. */
|
|
80
142
|
readonly label?: string;
|
|
@@ -82,11 +144,20 @@ export interface SurfaceAction {
|
|
|
82
144
|
readonly finishes: boolean;
|
|
83
145
|
/** Whether it can be run right now. */
|
|
84
146
|
readonly enabled: boolean;
|
|
147
|
+
/** Why it cannot be run right now, when it is not enabled. */
|
|
148
|
+
readonly unavailable?: string;
|
|
85
149
|
/**
|
|
86
150
|
* What its `args` must look like, where it takes any: `options` (a multi-select's picks), `text`
|
|
87
|
-
* (a written answer
|
|
151
|
+
* (one free-text argument: a written answer, or a full-form action declared with
|
|
152
|
+
* {@link SurfaceActionSpec.text}) or `fields` (an object, described by `argsSchema`).
|
|
88
153
|
*/
|
|
89
154
|
readonly args?: 'options' | 'text' | 'fields';
|
|
155
|
+
/**
|
|
156
|
+
* Whether it counts against the autopilot's per-step refinement limit (`maxRefinements`), and is
|
|
157
|
+
* withdrawn once the limit is reached: `reply`, and a full-form action declared with
|
|
158
|
+
* {@link SurfaceActionSpec.refines}.
|
|
159
|
+
*/
|
|
160
|
+
readonly refines?: boolean;
|
|
90
161
|
/** A full-form action's own description, for the model. Short-form options have none. */
|
|
91
162
|
readonly description?: string;
|
|
92
163
|
/** For `fields`: the JSON schema its arguments are checked against. */
|
|
@@ -96,6 +167,9 @@ export interface SurfaceAction {
|
|
|
96
167
|
* One action of a full-form surface (GENC-1660 §4.2): a named thing a claimant can do, which may or
|
|
97
168
|
* may not settle the interaction.
|
|
98
169
|
*
|
|
170
|
+
* It takes nothing, one free-text argument (`text`), or a form (`argsSchema`), never both of the
|
|
171
|
+
* last two.
|
|
172
|
+
*
|
|
99
173
|
* @beta
|
|
100
174
|
*/
|
|
101
175
|
export interface SurfaceActionSpec {
|
|
@@ -103,16 +177,42 @@ export interface SurfaceActionSpec {
|
|
|
103
177
|
readonly description: string;
|
|
104
178
|
/** Whether it settles the interaction. An editing action (`edit_rows`) does not. */
|
|
105
179
|
readonly finishes?: boolean;
|
|
106
|
-
/** The button's own guard, read fresh: the claimant can never do what the view would refuse. */
|
|
107
|
-
readonly enabledWhen?: () => boolean;
|
|
108
180
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
181
|
+
* Why it cannot be run right now, or `undefined` when it can: the button's own guard, read fresh,
|
|
182
|
+
* so the claimant can never do what the view would refuse. The reason is shown with the action
|
|
183
|
+
* and given when a call is refused. Absent means always available; an empty string or a throw
|
|
184
|
+
* counts as unavailable, with a generic reason.
|
|
185
|
+
*/
|
|
186
|
+
readonly unavailable?: () => string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* It takes one free-text argument, which the claimant passes as `widget_act`'s own `text`, as
|
|
189
|
+
* for `reply` — e.g. a regenerate's instruction. `run` then receives that text, trimmed, as a
|
|
190
|
+
* string; an empty one is refused before it runs. Prefer it to an `argsSchema` with one string
|
|
191
|
+
* property: plain text needs no JSON inside a string, which models get wrong.
|
|
192
|
+
*/
|
|
193
|
+
readonly text?: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* The JSON schema of its arguments, an object, for a real form. Its `properties` and `required`
|
|
196
|
+
* are checked before it runs; a mismatch is refused with the reason, so the model can correct
|
|
197
|
+
* itself. The claimant sends them as JSON text in `widget_act`'s `fields`, which is parsed
|
|
198
|
+
* leniently (an object is taken as it is, a code fence is stripped), and invalid JSON is refused
|
|
199
|
+
* with an example built from this schema. For one free-text argument use
|
|
200
|
+
* {@link SurfaceActionSpec.text} instead.
|
|
111
201
|
*/
|
|
112
202
|
readonly argsSchema?: Readonly<Record<string, unknown>>;
|
|
203
|
+
/**
|
|
204
|
+
* It refines rather than accepts — a regenerate with instructions, a retry with changes — so it
|
|
205
|
+
* counts against the autopilot's per-step refinement limit (`maxRefinements`) exactly as a
|
|
206
|
+
* written `reply` does, and is withdrawn (not listed, and refused) once the limit is reached.
|
|
207
|
+
* Counted per step, not per interaction, so a refine that opens a new review of the same step
|
|
208
|
+
* still counts. A claimant's limit only: a person's button is never limited by it.
|
|
209
|
+
*/
|
|
210
|
+
readonly refines?: boolean;
|
|
113
211
|
/**
|
|
114
212
|
* Do it — the SAME code the view's control runs. A finishing action resolves the interaction; an
|
|
115
|
-
* editing one returns what changed (fresh errors, say), which the claimant is shown.
|
|
213
|
+
* editing one returns what changed (fresh errors, say), which the claimant is shown. Receives
|
|
214
|
+
* the text for a {@link SurfaceActionSpec.text} action, the checked object for an `argsSchema`
|
|
215
|
+
* one, and `{}` otherwise.
|
|
116
216
|
*
|
|
117
217
|
* A finishing action should settle promptly. While one runs asynchronously, the claimant can run
|
|
118
218
|
* nothing else, and it keeps the claimant's credit even if the interaction is handed to the person
|
|
@@ -133,13 +233,20 @@ export interface SurfaceActionSpec {
|
|
|
133
233
|
export interface SurfaceSpec {
|
|
134
234
|
/** For the model: what this is, and what good looks like. Read fresh. */
|
|
135
235
|
describe(): string;
|
|
136
|
-
/** The names of the views `read` answers, e.g. `['summary', 'rows', 'errors']`. */
|
|
137
|
-
readonly views?: readonly string[];
|
|
138
236
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
237
|
+
* Named views a claimant may read with `widget_read({ view })`, each listed in the decision with
|
|
238
|
+
* its description — the same shape as a short-form decision's {@link DecisionSpec.views}. Fixed
|
|
239
|
+
* names with no parameters: a read that takes any (one table's rows) is a widget tool (see
|
|
240
|
+
* `widgetTools`), and a view not listed here is refused.
|
|
241
|
+
*/
|
|
242
|
+
readonly views?: Readonly<Record<string, SurfaceView>>;
|
|
243
|
+
/**
|
|
244
|
+
* The view sent with the decision, as `Now:`, to save a round trip; `widget_read()` with no view
|
|
245
|
+
* reads it again. One of {@link SurfaceSpec.views}; unset sends none. Keep it small, and do not
|
|
246
|
+
* repeat the widget's `asText`, which opens the same decision message: send what the text form
|
|
247
|
+
* does not already say.
|
|
141
248
|
*/
|
|
142
|
-
|
|
249
|
+
readonly preview?: string;
|
|
143
250
|
readonly actions: Readonly<Record<string, SurfaceActionSpec>>;
|
|
144
251
|
/** Model-only guidance, beside `describe`. */
|
|
145
252
|
readonly prompt?: string;
|
|
@@ -153,20 +260,35 @@ export interface SurfaceSpec {
|
|
|
153
260
|
export interface InteractionSurface {
|
|
154
261
|
/** Model-only guidance, from the decision's `prompt`. */
|
|
155
262
|
readonly prompt?: string;
|
|
156
|
-
/** Read fresh on every call. */
|
|
263
|
+
/** Read fresh on every call. Always `{}` on a full-form surface. */
|
|
157
264
|
facts(): Readonly<Record<string, unknown>>;
|
|
158
265
|
/** A full-form surface's description. Absent on a short-form decision. */
|
|
159
266
|
describe?(): string;
|
|
160
|
-
/**
|
|
161
|
-
|
|
162
|
-
|
|
267
|
+
/**
|
|
268
|
+
* Its views, by name, each with the description the model is shown: a full-form surface's or a
|
|
269
|
+
* short-form decision's. Absent when it has none.
|
|
270
|
+
*/
|
|
271
|
+
readonly views?: Readonly<Record<string, string>>;
|
|
272
|
+
/** A full-form surface's {@link SurfaceSpec.preview}: the view sent with the decision. */
|
|
273
|
+
readonly preview?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Read one view by name, or the default with none: a short-form decision's facts, or a full-form
|
|
276
|
+
* surface's preview (`undefined` when it names none). A name it does not list reads as
|
|
277
|
+
* `undefined`. Absent when it has no views.
|
|
278
|
+
*/
|
|
163
279
|
read?(view?: string): unknown;
|
|
164
280
|
/** Read fresh on every call: `enabled` reflects each option's guard right now. */
|
|
165
281
|
actions(): readonly SurfaceAction[];
|
|
166
282
|
/**
|
|
167
|
-
* Whether a
|
|
168
|
-
*
|
|
169
|
-
*
|
|
283
|
+
* Whether a decision is due now: what a claimant is sent a decision on (`onSurfaceReady`).
|
|
284
|
+
*
|
|
285
|
+
* First, what the controller said through `ctx.setWorking`: while it is working, never, whatever
|
|
286
|
+
* is enabled; once it is asking, always, even with every action unavailable — the claimant is
|
|
287
|
+
* then sent the decision with the actions marked unavailable, and can only hand it back. When it
|
|
288
|
+
* has said neither, the surface's own rule: a short-form decision is ready once one of its
|
|
289
|
+
* finishing options is enabled (a `reply` counts, having no guard); a full-form surface once any
|
|
290
|
+
* of its actions is, since editing comes before finishing (its Save may be disabled until
|
|
291
|
+
* something is edited).
|
|
170
292
|
*/
|
|
171
293
|
isReady(): boolean;
|
|
172
294
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction-surface.d.ts","sourceRoot":"","sources":["../../../src/types/interaction-surface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN;IACE;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,gDAAgD;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB
|
|
1
|
+
{"version":3,"file":"interaction-surface.d.ts","sourceRoot":"","sources":["../../../src/types/interaction-surface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN;IACE;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,gDAAgD;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,MAA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