@axonity-ai/mcp 0.17.0 → 0.19.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.
Files changed (38) hide show
  1. package/README.md +82 -16
  2. package/dist/errors.js +41 -11
  3. package/dist/errors.js.map +1 -1
  4. package/dist/generated/listFilters.js +23 -1
  5. package/dist/generated/listFilters.js.map +1 -1
  6. package/dist/index.js +250 -27
  7. package/dist/index.js.map +1 -1
  8. package/dist/tools/access.d.ts +19 -0
  9. package/dist/tools/access.js +71 -0
  10. package/dist/tools/access.js.map +1 -0
  11. package/dist/tools/applications.d.ts +24 -0
  12. package/dist/tools/applications.js +145 -0
  13. package/dist/tools/applications.js.map +1 -0
  14. package/dist/tools/concepts.js +68 -3
  15. package/dist/tools/concepts.js.map +1 -1
  16. package/dist/tools/conventions.d.ts +2 -2
  17. package/dist/tools/conventions.js +37 -10
  18. package/dist/tools/conventions.js.map +1 -1
  19. package/dist/tools/dataSources.d.ts +5 -5
  20. package/dist/tools/dataSources.js +38 -14
  21. package/dist/tools/dataSources.js.map +1 -1
  22. package/dist/tools/dataTables.js +7 -5
  23. package/dist/tools/dataTables.js.map +1 -1
  24. package/dist/tools/knowledgeGraph.d.ts +28 -0
  25. package/dist/tools/knowledgeGraph.js +126 -0
  26. package/dist/tools/knowledgeGraph.js.map +1 -0
  27. package/dist/tools/measureFormula.d.ts +5 -5
  28. package/dist/tools/measureFormula.js +33 -12
  29. package/dist/tools/measureFormula.js.map +1 -1
  30. package/dist/tools/queries.d.ts +18 -0
  31. package/dist/tools/queries.js +70 -0
  32. package/dist/tools/queries.js.map +1 -0
  33. package/dist/tools/register.d.ts +12 -0
  34. package/dist/tools/register.js +4 -2
  35. package/dist/tools/register.js.map +1 -1
  36. package/dist/tools/validation.js +21 -3
  37. package/dist/tools/validation.js.map +1 -1
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -55,8 +55,9 @@ was kept here. A conformance test asserts their absence.
55
55
 
56
56
  ### The generic entity family
57
57
 
58
- Twelve entities — **workflow, agent, tool, skill, policy, reference_doc,
59
- persona, output_schema, prompt_snippet, flow, data_table, measure** — share one shape,
58
+ Thirteen entities — **workflow, agent, tool, skill, policy, reference_doc,
59
+ persona, output_schema, prompt_snippet, flow, data_table, measure,
60
+ application** — share one shape,
60
61
  though not every entity gets every verb (see the per-entity notes below for the
61
62
  exceptions):
62
63
 
@@ -73,8 +74,9 @@ exceptions):
73
74
  | `request_publish_<entity>` | Ask for a draft to be published — creates a pending approval; never publishes. |
74
75
 
75
76
  Exceptions: `persona` has no `create_persona` (create only via
76
- `create_agent_persona`). And `list_data_tables` answers **one page**, not the
77
- whole library — see Tables below.
77
+ `create_agent_persona`). And `list_data_tables` (like `list_measures` and
78
+ `list_applications`) answers **one page**, not the whole library — see Tables
79
+ below.
78
80
 
79
81
  Three more entities use the same verbs **without** the draft ones —
80
82
  **data_source, table_relationship, dashboard**. None is versioned: a change is
@@ -91,7 +93,8 @@ backend applies it before the rows come back:
91
93
  `list_prompt_snippets({ deleted? })`,
92
94
  `list_data_tables({ name?, status?, isDynamic? })`,
93
95
  `list_data_sources({ enabled? })`,
94
- `list_table_relationships({ tableId? })`.
96
+ `list_table_relationships({ tableId? })`,
97
+ `list_applications({ name? })`.
95
98
 
96
99
  That table is **generated** from the pinned schema's own query parameters
97
100
  (`npm run generate:filters` → `src/generated/listFilters.ts`), not hand-listed.
@@ -129,7 +132,8 @@ Plus:
129
132
 
130
133
  ### Version history, rollback, and version-level delete
131
134
 
132
- For the eleven versioned entities (including `flow` and `data_table`):
135
+ For the versioned entities (including `flow`, `data_table`, `measure` and
136
+ `application`):
133
137
 
134
138
  | Tool | What it does |
135
139
  |------|--------------|
@@ -255,10 +259,11 @@ across these routes — the tool parameter names say which.
255
259
  would yield), `toolId` (whether a row exists) and `isLive` (whether a run
256
260
  can reach it) separately — an author who ticked "may add rows" and has not
257
261
  published has granted nothing yet.
258
- - **The semantic model** (`data_source`, `data_table` with provenance,
259
- `table_relationship`, `measure`, concepts, `dashboard`): a workspace
260
- connects a warehouse such as BigQuery, dynamic tables are filled from it on
261
- a schedule, measures define the numbers over those tables, concepts say
262
+ - **The semantic model** (`data_source`, `query`, `data_table`,
263
+ `table_relationship`, `measure`, concepts and their links, `dashboard`): a
264
+ workspace connects a warehouse such as BigQuery, named queries read it,
265
+ dynamic tables are filled by those queries on a schedule, measures define
266
+ the numbers over those tables, concepts say
262
267
  what each word and number means, and dashboards show the measures. Read
263
268
  `axonity_semantic_conventions` before building one — the platform serves
264
269
  those rules.
@@ -273,12 +278,24 @@ across these routes — the tool parameter names say which.
273
278
  `query_data_source` runs read-only SQL with capped rows (`truncated` says
274
279
  when rows were left out); a 422 is the query being refused, a 502 is the
275
280
  warehouse.
276
- - **There is no sync object.** A dynamic table carries its own
277
- `provenance` — `{ sourceId, sql, grain, keyColumns, mode, cron, timezone,
278
- enabled }` — on `create_data_table` / `update_data_table`, so a changed
279
- query is published like a changed column. `refresh_data_table` fills it
280
- now instead of at its next turn (it does not wait for the result; read
281
- the table's `fill` afterwards).
281
+ - **A query is its own versioned entity** (`query`): the generic family
282
+ plus the version tools, `request_publish_query`, `test_query` (run it
283
+ once with values; it suggests the `returns`), `read_query_usage` (the
284
+ read tool its publication mints, and which agents hold it) and
285
+ `list_query_live_versions`. It carries the SQL, the source, the grain,
286
+ its typed `parameters` and its described `returns`.
287
+ - **There is no sync object, and no `provenance`.** A table says what fills
288
+ it in `filledBy` — `author`, `workflow` or `query` — and a query-filled
289
+ table names its query in `fillingQueryId` and when it runs in `rhythm`
290
+ (`{ cron, timezone, keyColumns, mode, enabled }`). Only a table filled by
291
+ a query or a workflow is dynamic, and only a dynamic table can be read by
292
+ a measure. `refresh_data_table` fills it now instead of at its next turn
293
+ (it does not wait for the result; read the table's `fill` afterwards).
294
+ - **Concept links**: a concept's `refersTo` points at one thing;
295
+ `link_concept`, `unlink_concept` and `list_concept_links` hang the same
296
+ word on every column, table, measure, value or query that means it. The
297
+ links are rows of the `concept_links` table and go live when that table
298
+ is published.
282
299
  - **A measure is its own versioned entity**: the generic family plus the
283
300
  version tools, `request_publish_measure`, and `list_measure_live_versions`.
284
301
  It names the concept it means in `concept`, and the questions it answers
@@ -294,6 +311,19 @@ across these routes — the tool parameter names say which.
294
311
  beside the stored tree and the aggregations it folds down to. The fields
295
312
  from before the formula (`tableId`, `clearTable`, `aggregation`,
296
313
  `column`, `numerator`, `denominator`) are refused with `legacy_field`.
314
+ - **Time over a date table**: `create_data_table` / `update_data_table`
315
+ take `dateTable: true` and `calendars` (name, the column per grain, one
316
+ default) — what `shift`, `to_date`, `rolling` and `running` are measured
317
+ in. `read_measure_design` shows them.
318
+ - **Explaining a number**: `query_measures` takes `explain: true` (what
319
+ each part of the formula gave, on the total, per period and per group)
320
+ and `useDraftChain`; a refusal carries its `code`. `read_measure` says
321
+ what a measure rests on (`dependsOn`) and what rests on it (`usedBy`,
322
+ `dashboards`). `delete_measure` is refused with `still_referenced`,
323
+ publishing with `depends_on_unpublished` / `unverified_relationship`
324
+ (the approval names what moves with it in `changesWith`), and a table or
325
+ relationship change that would break a published measure with
326
+ `breaks_measure`.
297
327
  - **Concepts**: `list_concepts`, `create_concept`, `update_concept`,
298
328
  `delete_concept` — kind (concept, state, metric, rule), name, meaning,
299
329
  synonyms, what it refers to, owner. They are rows of one table the
@@ -304,6 +334,42 @@ across these routes — the tool parameter names say which.
304
334
  tile). Plus `duplicate_dashboard`.
305
335
  - A reference doc has no `semanticKind` any more; the platform refuses it
306
336
  and the other retired fields and says where each one went.
337
+ - **Applications** (`application`): a program an agent operates through an
338
+ executor — a Windows program (`win32`) or a website (`web`) — with its
339
+ `limits`, what the agent may never do in it (processes, windows, keys,
340
+ buttons, folders, domains, secrets by name). The generic family and the
341
+ version tools, and `request_publish_application`: an executor receives only
342
+ the published limits, so only a human makes them live.
343
+ - **Executors**: `set_application_executors` / `read_application_executors`
344
+ choose the machines an application runs on (the whole set at once);
345
+ `list_executors`, `read_executor`, `read_executor_applications` and
346
+ `list_executor_commands` only read. Registering or revoking an executor
347
+ is a human's job — it mints a token, and no tool here ever returns one.
348
+ - **What it has learned**: `list_application_knowledge` (elements,
349
+ instructions, lessons, one page at a time) and
350
+ `list_application_knowledge_versions`; `forget_application_knowledge`,
351
+ `restore_application_knowledge` and `write_application_knowledge` to
352
+ correct it. Linking executors and changing knowledge are reserved for a
353
+ workspace administrator on the platform, and a service token always
354
+ counts as a member, so today those answer with a refusal that says so.
355
+ - **Who may read what** (labels, audiences, roles): every policy, skill,
356
+ reference doc and table carries a label — `level` (public, internal,
357
+ confidential) and `audienceIds`, whom it is meant for. `list_audiences` /
358
+ `read_audience` give the ids to put there, `list_roles` / `read_role` say
359
+ what each role reads and maintains, and `read_member_roles` which roles a
360
+ colleague holds. Leave the label out and it gets the default (internal, for
361
+ Staff); `level: null` makes a thing readable by nobody. Narrowing a label is
362
+ always allowed; widening it is a colleague's act, and the refusal says so.
363
+ An agent's `clearance` is set by an administrator; a workflow's by its
364
+ author, through the publish approval. Managing audiences and roles is not
365
+ here yet.
366
+ - **The knowledge graph** (Cortex), read with the token's own clearance:
367
+ `search_knowledge_graph`, `list_knowledge_topics`, `list_topic_facts`,
368
+ `read_fact` (passages, sources, certainty, validity, which run taught it),
369
+ `read_source`, `list_knowledge_tree`, `list_related_topics` and
370
+ `list_archived_facts`. Looking only: confirming, correcting, archiving or
371
+ relabelling a fact ends with a person. With the module off, every call says
372
+ so in plain words.
307
373
  - `list_deleted_prompt_snippets` calls `/api/v1/prompt-snippets/deleted`; the
308
374
  backend returns it as `{ items: [... ] }`, and the tool forwards that response
309
375
  unchanged.
package/dist/errors.js CHANGED
@@ -167,21 +167,51 @@ export class AuthError extends AxonityApiError {
167
167
  * cannot…" here sends it and its human to the token settings for something no
168
168
  * token setting fixes (#78).
169
169
  */
170
- const ADMIN_ONLY_SENTENCE = /only administrators/i;
170
+ const ADMIN_ONLY_SENTENCE = /only (administrators|an administrator)\b/i;
171
+ /**
172
+ * The platform's sentence when a whole MODULE is off in the workspace
173
+ * ("Cortex is switched off in this workspace…"). Not the token's fault and not
174
+ * the call's: the advice is the opposite of the scope advice, so it gets its
175
+ * own words (axonity-mcp#88).
176
+ */
177
+ const MODULE_OFF_SENTENCE = /is switched off in this workspace/i;
178
+ /**
179
+ * The platform's refusal to WIDEN a label — make knowledge readable for more
180
+ * people. Widening is publishing, and only a colleague who maintains the
181
+ * audiences may do it; a token never can, whatever its scopes (axonity-mcp#88).
182
+ */
183
+ const WIDENING_SENTENCE = /widen(ing)? a label/i;
184
+ /** The 403 explanation for a refusal whose body says why. */
185
+ function forbiddenExplanation(said) {
186
+ if (MODULE_OFF_SENTENCE.test(said)) {
187
+ return ("Forbidden (403): MODULE SWITCHED OFF. This part of Axonity is switched " +
188
+ "off in this workspace, so nothing in it can be read or changed — this " +
189
+ "is not a mistake in your call and not a limit of your token. Tell your " +
190
+ "human: a platform administrator can switch it on.");
191
+ }
192
+ if (WIDENING_SENTENCE.test(said)) {
193
+ return ("Forbidden (403): WIDENING A LABEL. Making something readable for more " +
194
+ "people (a lower level, or an audience added) is publishing it, and only " +
195
+ "a colleague who maintains those audiences may do that — never an agent " +
196
+ "or a token. Narrowing is always allowed. Keep the label as it is, or ask " +
197
+ "a colleague to widen it in Axonity.");
198
+ }
199
+ if (ADMIN_ONLY_SENTENCE.test(said)) {
200
+ return ("Forbidden (403): ADMINISTRATOR ONLY. This action is reserved for a " +
201
+ "workspace administrator, and a service token always counts as a " +
202
+ "member — so no token can do it, whatever its scopes. This is not a " +
203
+ "mistake in your call and retrying will not help. Tell your human: " +
204
+ "an administrator can do it in Axonity.");
205
+ }
206
+ return ("Forbidden (403): this service token is not allowed to perform that action. " +
207
+ "A read-only token cannot create, update, delete, or request-publish, and no " +
208
+ "token may publish directly — use request_publish_* and let a human approve.");
209
+ }
171
210
  /** 403 — the token lacks the scope for this action (e.g. read-only on a write). */
172
211
  export class ForbiddenError extends AxonityApiError {
173
212
  constructor(body) {
174
213
  const env = asEnvelope(body);
175
- const adminOnly = ADMIN_ONLY_SENTENCE.test(describeBody(body) ?? "");
176
- super(withDetail(adminOnly
177
- ? "Forbidden (403): ADMINISTRATOR ONLY. This action is reserved for a " +
178
- "workspace administrator, and a service token always counts as a " +
179
- "member — so no token can do it, whatever its scopes. This is not a " +
180
- "mistake in your call and retrying will not help. Tell your human: " +
181
- "an administrator can do it in Axonity."
182
- : "Forbidden (403): this service token is not allowed to perform that action. " +
183
- "A read-only token cannot create, update, delete, or request-publish, and no " +
184
- "token may publish directly — use request_publish_* and let a human approve.", body), 403, body, env?.code ?? "forbidden", env?.retryable ?? false);
214
+ super(withDetail(forbiddenExplanation(describeBody(body) ?? ""), body), 403, body, env?.code ?? "forbidden", env?.retryable ?? false);
185
215
  this.name = "ForbiddenError";
186
216
  }
187
217
  }
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkCH,4FAA4F;AAC5F,MAAM,CAAC,MAAM,eAAe,GAA2B,IAAI,GAAG,CAAC;IAC7D,kBAAkB;IAClB,cAAc;IACd,8BAA8B;CAC/B,CAAC,CAAC;AAUH,mFAAmF;AACnF,SAAS,UAAU,CAAC,IAAa;IAC/B,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IACvF,MAAM,CAAC,GAAG,IAA+B,CAAC;IAC1C,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;QACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,K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,+EAA+E;AAC/E,MAAM,UAAU,YAAY,CAC1B,MAAc,EACd,IAAY,EACZ,MAAc,EACd,IAAc;IAEd,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,IAAI,MAAM,KAAK,GAAG,EAAE,CAAC;QACnB,OAAO,IAAI,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;QAC5B,OAAO,IAAI,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -91,7 +91,13 @@ export const LIST_FILTERS = {
91
91
  arg: "isDynamic",
92
92
  query: "is_dynamic",
93
93
  type: "boolean",
94
- description: "true: only tables a workflow may change. false: only reference data the author maintains. Omit for both.",
94
+ description: "true: only tables whose rows change without an author typing them. false: only reference data the author maintains. Omit for both. Derived from filledBy, which is the more precise question.",
95
+ },
96
+ {
97
+ arg: "filledBy",
98
+ query: "filled_by",
99
+ type: "string",
100
+ description: "Only tables filled this way: author, workflow or query. A value outside the three is refused rather than silently ignored.",
95
101
  },
96
102
  ],
97
103
  "data_source": [
@@ -118,5 +124,21 @@ export const LIST_FILTERS = {
118
124
  description: "Only the measures that read this table — what a table page shows.",
119
125
  },
120
126
  ],
127
+ "application": [
128
+ {
129
+ arg: "name",
130
+ query: "name",
131
+ type: "string",
132
+ description: "Only the application with exactly this name.",
133
+ },
134
+ ],
135
+ "query": [
136
+ {
137
+ arg: "dataSourceId",
138
+ query: "dataSourceId",
139
+ type: "string",
140
+ description: "Only the queries that read this source.",
141
+ },
142
+ ],
121
143
  };
122
144
  //# sourceMappingURL=listFilters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listFilters.js","sourceRoot":"","sources":["../../src/generated/listFilters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,UAAU,EAAE;QACV;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sGAAsG;SACzG;QACD;YACE,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,kFAAkF;SACrF;KACF;IACD,OAAO,EAAE;QACP;YACE,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,uNAAuN;SAC1N;KACF;IACD,QAAQ,EAAE;QACR;YACE,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0PAA0P;SAC7P;QACD;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,uGAAuG;SAC1G;KACF;IACD,eAAe,EAAE;QACf;YACE,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0PAA0P;SAC7P;QACD;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,uGAAuG;SAC1G;KACF;IACD,gBAAgB,EAAE;QAChB;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,oKAAoK;SACvK;KACF;IACD,YAAY,EAAE;QACZ;YACE,GAAG,EAAE,MAAM;YACX,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,gOAAgO;SACnO;QACD;YACE,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,2JAA2J;SAC9J;QACD;YACE,GAAG,EAAE,WAAW;YAChB,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,0GAA0G;SAC7G;KACF;IACD,aAAa,EAAE;QACb;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,4FAA4F;SAC/F;KACF;IACD,oBAAoB,EAAE;QACpB;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0IAA0I;SAC7I;KACF;IACD,SAAS,EAAE;QACT;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,mEAAmE;SACtE;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"listFilters.js","sourceRoot":"","sources":["../../src/generated/listFilters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,UAAU,EAAE;QACV;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sGAAsG;SACzG;QACD;YACE,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,kFAAkF;SACrF;KACF;IACD,OAAO,EAAE;QACP;YACE,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,uNAAuN;SAC1N;KACF;IACD,QAAQ,EAAE;QACR;YACE,GAAG,EAAE,OAAO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