@adhd/agent-mcp 0.0.5 → 0.0.7

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 (47) hide show
  1. package/drizzle/0002_lumpy_silver_centurion.sql +2 -0
  2. package/drizzle/0003_nifty_shriek.sql +2 -0
  3. package/drizzle/meta/0002_snapshot.json +509 -0
  4. package/drizzle/meta/0003_snapshot.json +523 -0
  5. package/drizzle/meta/_journal.json +14 -0
  6. package/package.json +2 -4
  7. package/src/db/schema.d.ts +70 -0
  8. package/src/db/schema.d.ts.map +1 -1
  9. package/src/db/schema.js +9 -0
  10. package/src/db/schema.js.map +1 -1
  11. package/src/engine/orchestrator.d.ts.map +1 -1
  12. package/src/engine/orchestrator.js +34 -5
  13. package/src/engine/orchestrator.js.map +1 -1
  14. package/src/index.d.ts +2 -0
  15. package/src/index.d.ts.map +1 -1
  16. package/src/index.js +4 -2
  17. package/src/index.js.map +1 -1
  18. package/src/plugins/usage-plugin.d.ts.map +1 -1
  19. package/src/plugins/usage-plugin.js +23 -0
  20. package/src/plugins/usage-plugin.js.map +1 -1
  21. package/src/providers/anthropic.d.ts +2 -0
  22. package/src/providers/anthropic.d.ts.map +1 -1
  23. package/src/providers/anthropic.js +108 -6
  24. package/src/providers/anthropic.js.map +1 -1
  25. package/src/providers/claudecli.d.ts.map +1 -1
  26. package/src/providers/claudecli.js +13 -6
  27. package/src/providers/claudecli.js.map +1 -1
  28. package/src/providers/openai.d.ts.map +1 -1
  29. package/src/providers/openai.js +11 -1
  30. package/src/providers/openai.js.map +1 -1
  31. package/src/store/session-store.d.ts +12 -0
  32. package/src/store/session-store.d.ts.map +1 -1
  33. package/src/store/session-store.js +40 -0
  34. package/src/store/session-store.js.map +1 -1
  35. package/src/tools/usage.d.ts.map +1 -1
  36. package/src/tools/usage.js +9 -0
  37. package/src/tools/usage.js.map +1 -1
  38. package/src/validation/errors.d.ts +4 -0
  39. package/src/validation/errors.d.ts.map +1 -1
  40. package/src/validation/errors.js +4 -0
  41. package/src/validation/errors.js.map +1 -1
  42. package/src/validation/task.d.ts +2 -0
  43. package/src/validation/task.d.ts.map +1 -1
  44. package/src/validation/usage.d.ts +3 -0
  45. package/src/validation/usage.d.ts.map +1 -1
  46. package/src/validation/usage.js +1 -0
  47. package/src/validation/usage.js.map +1 -1
@@ -0,0 +1,523 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "eafaec4b-d1dc-46db-af1c-3f2c430ff591",
5
+ "prevId": "9d205531-caa4-48e1-9543-0a25aac2c364",
6
+ "tables": {
7
+ "agents": {
8
+ "name": "agents",
9
+ "columns": {
10
+ "name": {
11
+ "name": "name",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "version": {
18
+ "name": "version",
19
+ "type": "integer",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false,
23
+ "default": 1
24
+ },
25
+ "data": {
26
+ "name": "data",
27
+ "type": "text",
28
+ "primaryKey": false,
29
+ "notNull": true,
30
+ "autoincrement": false
31
+ },
32
+ "created_at": {
33
+ "name": "created_at",
34
+ "type": "text",
35
+ "primaryKey": false,
36
+ "notNull": true,
37
+ "autoincrement": false
38
+ },
39
+ "updated_at": {
40
+ "name": "updated_at",
41
+ "type": "text",
42
+ "primaryKey": false,
43
+ "notNull": true,
44
+ "autoincrement": false
45
+ }
46
+ },
47
+ "indexes": {},
48
+ "foreignKeys": {},
49
+ "compositePrimaryKeys": {},
50
+ "uniqueConstraints": {},
51
+ "checkConstraints": {}
52
+ },
53
+ "messages": {
54
+ "name": "messages",
55
+ "columns": {
56
+ "id": {
57
+ "name": "id",
58
+ "type": "text",
59
+ "primaryKey": true,
60
+ "notNull": true,
61
+ "autoincrement": false
62
+ },
63
+ "session_id": {
64
+ "name": "session_id",
65
+ "type": "text",
66
+ "primaryKey": false,
67
+ "notNull": true,
68
+ "autoincrement": false
69
+ },
70
+ "role": {
71
+ "name": "role",
72
+ "type": "text",
73
+ "primaryKey": false,
74
+ "notNull": true,
75
+ "autoincrement": false
76
+ },
77
+ "content": {
78
+ "name": "content",
79
+ "type": "text",
80
+ "primaryKey": false,
81
+ "notNull": false,
82
+ "autoincrement": false
83
+ },
84
+ "tool_calls": {
85
+ "name": "tool_calls",
86
+ "type": "text",
87
+ "primaryKey": false,
88
+ "notNull": false,
89
+ "autoincrement": false
90
+ },
91
+ "tool_results": {
92
+ "name": "tool_results",
93
+ "type": "text",
94
+ "primaryKey": false,
95
+ "notNull": false,
96
+ "autoincrement": false
97
+ },
98
+ "created_at": {
99
+ "name": "created_at",
100
+ "type": "text",
101
+ "primaryKey": false,
102
+ "notNull": true,
103
+ "autoincrement": false
104
+ }
105
+ },
106
+ "indexes": {},
107
+ "foreignKeys": {
108
+ "messages_session_id_sessions_id_fk": {
109
+ "name": "messages_session_id_sessions_id_fk",
110
+ "tableFrom": "messages",
111
+ "tableTo": "sessions",
112
+ "columnsFrom": [
113
+ "session_id"
114
+ ],
115
+ "columnsTo": [
116
+ "id"
117
+ ],
118
+ "onDelete": "cascade",
119
+ "onUpdate": "no action"
120
+ }
121
+ },
122
+ "compositePrimaryKeys": {},
123
+ "uniqueConstraints": {},
124
+ "checkConstraints": {}
125
+ },
126
+ "sessions": {
127
+ "name": "sessions",
128
+ "columns": {
129
+ "id": {
130
+ "name": "id",
131
+ "type": "text",
132
+ "primaryKey": true,
133
+ "notNull": true,
134
+ "autoincrement": false
135
+ },
136
+ "agent_name": {
137
+ "name": "agent_name",
138
+ "type": "text",
139
+ "primaryKey": false,
140
+ "notNull": true,
141
+ "autoincrement": false
142
+ },
143
+ "agent_version": {
144
+ "name": "agent_version",
145
+ "type": "integer",
146
+ "primaryKey": false,
147
+ "notNull": true,
148
+ "autoincrement": false
149
+ },
150
+ "agent_data": {
151
+ "name": "agent_data",
152
+ "type": "text",
153
+ "primaryKey": false,
154
+ "notNull": true,
155
+ "autoincrement": false
156
+ },
157
+ "status": {
158
+ "name": "status",
159
+ "type": "text",
160
+ "primaryKey": false,
161
+ "notNull": true,
162
+ "autoincrement": false,
163
+ "default": "'active'"
164
+ },
165
+ "created_at": {
166
+ "name": "created_at",
167
+ "type": "text",
168
+ "primaryKey": false,
169
+ "notNull": true,
170
+ "autoincrement": false
171
+ },
172
+ "updated_at": {
173
+ "name": "updated_at",
174
+ "type": "text",
175
+ "primaryKey": false,
176
+ "notNull": true,
177
+ "autoincrement": false
178
+ },
179
+ "closed_at": {
180
+ "name": "closed_at",
181
+ "type": "text",
182
+ "primaryKey": false,
183
+ "notNull": false,
184
+ "autoincrement": false
185
+ }
186
+ },
187
+ "indexes": {},
188
+ "foreignKeys": {
189
+ "sessions_agent_name_agents_name_fk": {
190
+ "name": "sessions_agent_name_agents_name_fk",
191
+ "tableFrom": "sessions",
192
+ "tableTo": "agents",
193
+ "columnsFrom": [
194
+ "agent_name"
195
+ ],
196
+ "columnsTo": [
197
+ "name"
198
+ ],
199
+ "onDelete": "cascade",
200
+ "onUpdate": "no action"
201
+ }
202
+ },
203
+ "compositePrimaryKeys": {},
204
+ "uniqueConstraints": {},
205
+ "checkConstraints": {}
206
+ },
207
+ "task_events": {
208
+ "name": "task_events",
209
+ "columns": {
210
+ "id": {
211
+ "name": "id",
212
+ "type": "text",
213
+ "primaryKey": true,
214
+ "notNull": true,
215
+ "autoincrement": false
216
+ },
217
+ "task_id": {
218
+ "name": "task_id",
219
+ "type": "text",
220
+ "primaryKey": false,
221
+ "notNull": true,
222
+ "autoincrement": false
223
+ },
224
+ "type": {
225
+ "name": "type",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "payload": {
232
+ "name": "payload",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": false,
236
+ "autoincrement": false
237
+ },
238
+ "created_at": {
239
+ "name": "created_at",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": true,
243
+ "autoincrement": false
244
+ }
245
+ },
246
+ "indexes": {},
247
+ "foreignKeys": {
248
+ "task_events_task_id_tasks_id_fk": {
249
+ "name": "task_events_task_id_tasks_id_fk",
250
+ "tableFrom": "task_events",
251
+ "tableTo": "tasks",
252
+ "columnsFrom": [
253
+ "task_id"
254
+ ],
255
+ "columnsTo": [
256
+ "id"
257
+ ],
258
+ "onDelete": "cascade",
259
+ "onUpdate": "no action"
260
+ }
261
+ },
262
+ "compositePrimaryKeys": {},
263
+ "uniqueConstraints": {},
264
+ "checkConstraints": {}
265
+ },
266
+ "task_usage": {
267
+ "name": "task_usage",
268
+ "columns": {
269
+ "task_id": {
270
+ "name": "task_id",
271
+ "type": "text",
272
+ "primaryKey": true,
273
+ "notNull": true,
274
+ "autoincrement": false
275
+ },
276
+ "root_task_id": {
277
+ "name": "root_task_id",
278
+ "type": "text",
279
+ "primaryKey": false,
280
+ "notNull": false,
281
+ "autoincrement": false
282
+ },
283
+ "agent_name": {
284
+ "name": "agent_name",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": true,
288
+ "autoincrement": false
289
+ },
290
+ "provider_type": {
291
+ "name": "provider_type",
292
+ "type": "text",
293
+ "primaryKey": false,
294
+ "notNull": true,
295
+ "autoincrement": false
296
+ },
297
+ "model": {
298
+ "name": "model",
299
+ "type": "text",
300
+ "primaryKey": false,
301
+ "notNull": true,
302
+ "autoincrement": false
303
+ },
304
+ "input_tokens": {
305
+ "name": "input_tokens",
306
+ "type": "integer",
307
+ "primaryKey": false,
308
+ "notNull": true,
309
+ "autoincrement": false,
310
+ "default": 0
311
+ },
312
+ "output_tokens": {
313
+ "name": "output_tokens",
314
+ "type": "integer",
315
+ "primaryKey": false,
316
+ "notNull": true,
317
+ "autoincrement": false,
318
+ "default": 0
319
+ },
320
+ "tool_call_count": {
321
+ "name": "tool_call_count",
322
+ "type": "integer",
323
+ "primaryKey": false,
324
+ "notNull": true,
325
+ "autoincrement": false,
326
+ "default": 0
327
+ },
328
+ "model_calls": {
329
+ "name": "model_calls",
330
+ "type": "integer",
331
+ "primaryKey": false,
332
+ "notNull": true,
333
+ "autoincrement": false,
334
+ "default": 0
335
+ },
336
+ "latency_ms": {
337
+ "name": "latency_ms",
338
+ "type": "integer",
339
+ "primaryKey": false,
340
+ "notNull": true,
341
+ "autoincrement": false,
342
+ "default": 0
343
+ },
344
+ "is_complete": {
345
+ "name": "is_complete",
346
+ "type": "integer",
347
+ "primaryKey": false,
348
+ "notNull": true,
349
+ "autoincrement": false,
350
+ "default": 0
351
+ },
352
+ "stop_reason": {
353
+ "name": "stop_reason",
354
+ "type": "text",
355
+ "primaryKey": false,
356
+ "notNull": false,
357
+ "autoincrement": false
358
+ },
359
+ "max_tokens": {
360
+ "name": "max_tokens",
361
+ "type": "integer",
362
+ "primaryKey": false,
363
+ "notNull": false,
364
+ "autoincrement": false
365
+ },
366
+ "cache_read_input_tokens": {
367
+ "name": "cache_read_input_tokens",
368
+ "type": "integer",
369
+ "primaryKey": false,
370
+ "notNull": false,
371
+ "autoincrement": false
372
+ },
373
+ "cache_creation_input_tokens": {
374
+ "name": "cache_creation_input_tokens",
375
+ "type": "integer",
376
+ "primaryKey": false,
377
+ "notNull": false,
378
+ "autoincrement": false
379
+ },
380
+ "created_at": {
381
+ "name": "created_at",
382
+ "type": "text",
383
+ "primaryKey": false,
384
+ "notNull": true,
385
+ "autoincrement": false
386
+ }
387
+ },
388
+ "indexes": {
389
+ "idx_task_usage_root_task_id": {
390
+ "name": "idx_task_usage_root_task_id",
391
+ "columns": [
392
+ "root_task_id"
393
+ ],
394
+ "isUnique": false
395
+ }
396
+ },
397
+ "foreignKeys": {},
398
+ "compositePrimaryKeys": {},
399
+ "uniqueConstraints": {},
400
+ "checkConstraints": {}
401
+ },
402
+ "tasks": {
403
+ "name": "tasks",
404
+ "columns": {
405
+ "id": {
406
+ "name": "id",
407
+ "type": "text",
408
+ "primaryKey": true,
409
+ "notNull": true,
410
+ "autoincrement": false
411
+ },
412
+ "session_id": {
413
+ "name": "session_id",
414
+ "type": "text",
415
+ "primaryKey": false,
416
+ "notNull": true,
417
+ "autoincrement": false
418
+ },
419
+ "parent_task_id": {
420
+ "name": "parent_task_id",
421
+ "type": "text",
422
+ "primaryKey": false,
423
+ "notNull": false,
424
+ "autoincrement": false
425
+ },
426
+ "recursion_depth": {
427
+ "name": "recursion_depth",
428
+ "type": "integer",
429
+ "primaryKey": false,
430
+ "notNull": true,
431
+ "autoincrement": false,
432
+ "default": 0
433
+ },
434
+ "status": {
435
+ "name": "status",
436
+ "type": "text",
437
+ "primaryKey": false,
438
+ "notNull": true,
439
+ "autoincrement": false,
440
+ "default": "'pending'"
441
+ },
442
+ "prompt": {
443
+ "name": "prompt",
444
+ "type": "text",
445
+ "primaryKey": false,
446
+ "notNull": true,
447
+ "autoincrement": false
448
+ },
449
+ "result": {
450
+ "name": "result",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": false,
454
+ "autoincrement": false
455
+ },
456
+ "error": {
457
+ "name": "error",
458
+ "type": "text",
459
+ "primaryKey": false,
460
+ "notNull": false,
461
+ "autoincrement": false
462
+ },
463
+ "created_at": {
464
+ "name": "created_at",
465
+ "type": "text",
466
+ "primaryKey": false,
467
+ "notNull": true,
468
+ "autoincrement": false
469
+ },
470
+ "updated_at": {
471
+ "name": "updated_at",
472
+ "type": "text",
473
+ "primaryKey": false,
474
+ "notNull": true,
475
+ "autoincrement": false
476
+ },
477
+ "completed_at": {
478
+ "name": "completed_at",
479
+ "type": "text",
480
+ "primaryKey": false,
481
+ "notNull": false,
482
+ "autoincrement": false
483
+ },
484
+ "cancelled_at": {
485
+ "name": "cancelled_at",
486
+ "type": "text",
487
+ "primaryKey": false,
488
+ "notNull": false,
489
+ "autoincrement": false
490
+ }
491
+ },
492
+ "indexes": {},
493
+ "foreignKeys": {
494
+ "tasks_session_id_sessions_id_fk": {
495
+ "name": "tasks_session_id_sessions_id_fk",
496
+ "tableFrom": "tasks",
497
+ "tableTo": "sessions",
498
+ "columnsFrom": [
499
+ "session_id"
500
+ ],
501
+ "columnsTo": [
502
+ "id"
503
+ ],
504
+ "onDelete": "cascade",
505
+ "onUpdate": "no action"
506
+ }
507
+ },
508
+ "compositePrimaryKeys": {},
509
+ "uniqueConstraints": {},
510
+ "checkConstraints": {}
511
+ }
512
+ },
513
+ "views": {},
514
+ "enums": {},
515
+ "_meta": {
516
+ "schemas": {},
517
+ "tables": {},
518
+ "columns": {}
519
+ },
520
+ "internal": {
521
+ "indexes": {}
522
+ }
523
+ }
@@ -15,6 +15,20 @@
15
15
  "when": 1781059973506,
16
16
  "tag": "0001_task_usage",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1781068864364,
23
+ "tag": "0002_lumpy_silver_centurion",
24
+ "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1781069217143,
30
+ "tag": "0003_nifty_shriek",
31
+ "breakpoints": true
18
32
  }
19
33
  ]
20
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhd/agent-mcp",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Stateful MCP-native agent runtime with provider abstraction and recursive delegation",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -50,7 +50,5 @@
50
50
  "vite": "~5.0.13",
51
51
  "vite-plugin-dts": "~3.8.3",
52
52
  "vitest": "^1.6.0"
53
- },
54
- "module": "./src/index.js",
55
- "main": "./src/index.js"
53
+ }
56
54
  }
@@ -931,6 +931,76 @@ export declare const taskUsageTable: import("drizzle-orm/sqlite-core").SQLiteTab
931
931
  identity: undefined;
932
932
  generated: undefined;
933
933
  }, {}, {}>;
934
+ stopReason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
935
+ name: "stop_reason";
936
+ tableName: "task_usage";
937
+ dataType: "string";
938
+ columnType: "SQLiteText";
939
+ data: string;
940
+ driverParam: string;
941
+ notNull: false;
942
+ hasDefault: false;
943
+ isPrimaryKey: false;
944
+ isAutoincrement: false;
945
+ hasRuntimeDefault: false;
946
+ enumValues: [string, ...string[]];
947
+ baseColumn: never;
948
+ identity: undefined;
949
+ generated: undefined;
950
+ }, {}, {
951
+ length: number | undefined;
952
+ }>;
953
+ maxTokens: import("drizzle-orm/sqlite-core").SQLiteColumn<{
954
+ name: "max_tokens";
955
+ tableName: "task_usage";
956
+ dataType: "number";
957
+ columnType: "SQLiteInteger";
958
+ data: number;
959
+ driverParam: number;
960
+ notNull: false;
961
+ hasDefault: false;
962
+ isPrimaryKey: false;
963
+ isAutoincrement: false;
964
+ hasRuntimeDefault: false;
965
+ enumValues: undefined;
966
+ baseColumn: never;
967
+ identity: undefined;
968
+ generated: undefined;
969
+ }, {}, {}>;
970
+ cacheReadTokens: import("drizzle-orm/sqlite-core").SQLiteColumn<{
971
+ name: "cache_read_input_tokens";
972
+ tableName: "task_usage";
973
+ dataType: "number";
974
+ columnType: "SQLiteInteger";
975
+ data: number;
976
+ driverParam: number;
977
+ notNull: false;
978
+ hasDefault: false;
979
+ isPrimaryKey: false;
980
+ isAutoincrement: false;
981
+ hasRuntimeDefault: false;
982
+ enumValues: undefined;
983
+ baseColumn: never;
984
+ identity: undefined;
985
+ generated: undefined;
986
+ }, {}, {}>;
987
+ cacheCreationTokens: import("drizzle-orm/sqlite-core").SQLiteColumn<{
988
+ name: "cache_creation_input_tokens";
989
+ tableName: "task_usage";
990
+ dataType: "number";
991
+ columnType: "SQLiteInteger";
992
+ data: number;
993
+ driverParam: number;
994
+ notNull: false;
995
+ hasDefault: false;
996
+ isPrimaryKey: false;
997
+ isAutoincrement: false;
998
+ hasRuntimeDefault: false;
999
+ enumValues: undefined;
1000
+ baseColumn: never;
1001
+ identity: undefined;
1002
+ generated: undefined;
1003
+ }, {}, {}>;
934
1004
  createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
935
1005
  name: "created_at";
936
1006
  tableName: "task_usage";
@@ -1 +1 @@
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AAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB1B,CAAC;AAOH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC1B,CAAC"}
package/src/db/schema.js CHANGED
@@ -121,6 +121,15 @@ export const taskUsageTable = sqliteTable("task_usage", {
121
121
  latencyMs: integer("latency_ms").notNull().default(0),
122
122
  // 0 = in-progress or crashed before terminal; 1 = terminal event fired.
123
123
  isComplete: integer("is_complete").notNull().default(0),
124
+ // null until first post:model_response — most-severe stop reason across all
125
+ // model calls for this task. See [ref:normalised-stop-reason].
126
+ stopReason: text("stop_reason"),
127
+ // null for claudecli (no maxTokens in config) and for tasks started before
128
+ // this migration. Written once at task-start from provider.maxTokens.
129
+ maxTokens: integer("max_tokens"),
130
+ // Anthropic prompt-caching tokens — null for other providers and non-caching tiers
131
+ cacheReadTokens: integer("cache_read_input_tokens"),
132
+ cacheCreationTokens: integer("cache_creation_input_tokens"),
124
133
  createdAt: text("created_at").notNull(),
125
134
  }, (table) => [
126
135
  // Critical for O(1) subtree aggregation:
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../../packages/ai/agent-mcp/src/db/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,EACL,OAAO,EACP,WAAW,EACX,IAAI,EACP,M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