@autobe/agent 0.27.0 → 0.28.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 (109) hide show
  1. package/lib/constants/AutoBeSystemPromptConstant.d.ts +1 -1
  2. package/lib/context/assertSchemaModel.d.ts +1 -1
  3. package/lib/context/assertSchemaModel.js +4 -7
  4. package/lib/context/assertSchemaModel.js.map +1 -1
  5. package/lib/index.mjs +18395 -8004
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +1 -1
  8. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -1
  9. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js +164 -86
  10. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -1
  11. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +637 -321
  12. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
  13. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +143 -74
  14. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -1
  15. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +17 -52
  16. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +25 -22
  17. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +7 -23
  18. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +165 -2
  19. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js.map +1 -1
  20. package/lib/orchestrate/facade/createAutoBeFacadeController.js +773 -403
  21. package/lib/orchestrate/facade/createAutoBeFacadeController.js.map +1 -1
  22. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js +739 -2
  23. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -1
  24. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +1625 -9
  25. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
  26. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +248 -131
  27. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -1
  28. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js +255 -133
  29. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js.map +1 -1
  30. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js +339 -226
  31. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -1
  32. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +625 -1
  33. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
  34. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js +776 -3
  35. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -1
  36. package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js +205 -3
  37. package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js.map +1 -1
  38. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +107 -1
  39. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js.map +1 -1
  40. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +1664 -9
  41. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
  42. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js +1625 -9
  43. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -1
  44. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +389 -196
  45. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  46. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +1166 -590
  47. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  48. package/lib/orchestrate/prisma/orchestratePrismaReview.js +1184 -599
  49. package/lib/orchestrate/prisma/orchestratePrismaReview.js.map +1 -1
  50. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js +4 -2
  51. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -1
  52. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js +360 -179
  53. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -1
  54. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +396 -197
  55. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -1
  56. package/lib/orchestrate/realize/orchestrateRealizeCorrect.js +130 -2
  57. package/lib/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -1
  58. package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js +165 -2
  59. package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js.map +1 -1
  60. package/lib/orchestrate/realize/orchestrateRealizeWrite.js +130 -2
  61. package/lib/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -1
  62. package/lib/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -1
  63. package/lib/orchestrate/test/orchestrateTestCorrect.js +131 -2
  64. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
  65. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js +166 -2
  66. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js.map +1 -1
  67. package/lib/orchestrate/test/orchestrateTestScenario.js +255 -3
  68. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
  69. package/lib/orchestrate/test/orchestrateTestScenarioReview.js +281 -3
  70. package/lib/orchestrate/test/orchestrateTestScenarioReview.js.map +1 -1
  71. package/lib/orchestrate/test/orchestrateTestWrite.js +139 -2
  72. package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
  73. package/package.json +9 -9
  74. package/src/constants/AutoBeSystemPromptConstant.ts +1 -1
  75. package/src/context/assertSchemaModel.ts +5 -8
  76. package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +7 -9
  77. package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +13 -9
  78. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +7 -9
  79. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +19 -54
  80. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +25 -22
  81. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.ts +8 -24
  82. package/src/orchestrate/common/orchestrateCommonCorrectCasting.ts +15 -1
  83. package/src/orchestrate/facade/createAutoBeFacadeController.ts +7 -6
  84. package/src/orchestrate/interface/orchestrateInterfaceAuthorizations.ts +11 -1
  85. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +11 -1
  86. package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +13 -9
  87. package/src/orchestrate/interface/orchestrateInterfaceEndpointsReview.ts +13 -9
  88. package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +17 -14
  89. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +11 -1
  90. package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +14 -1
  91. package/src/orchestrate/interface/orchestrateInterfacePrerequisites.ts +11 -1
  92. package/src/orchestrate/interface/orchestrateInterfaceSchemaRename.ts +9 -1
  93. package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +14 -1
  94. package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +11 -1
  95. package/src/orchestrate/prisma/orchestratePrismaComponent.ts +13 -9
  96. package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +7 -9
  97. package/src/orchestrate/prisma/orchestratePrismaReview.ts +7 -10
  98. package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +13 -9
  99. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +13 -9
  100. package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +11 -1
  101. package/src/orchestrate/realize/orchestrateRealizeCorrectCasting.ts +15 -1
  102. package/src/orchestrate/realize/orchestrateRealizeWrite.ts +11 -1
  103. package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +5 -1
  104. package/src/orchestrate/test/histories/transformTestWriteHistories.ts +1 -1
  105. package/src/orchestrate/test/orchestrateTestCorrect.ts +11 -1
  106. package/src/orchestrate/test/orchestrateTestCorrectInvalidRequest.ts +18 -1
  107. package/src/orchestrate/test/orchestrateTestScenario.ts +11 -1
  108. package/src/orchestrate/test/orchestrateTestScenarioReview.ts +11 -1
  109. package/src/orchestrate/test/orchestrateTestWrite.ts +11 -1
@@ -184,7 +184,11 @@ const createController = (props) => {
184
184
  }
185
185
  : result;
186
186
  };
187
- const application = collection[props.model === "chatgpt" ? "chatgpt" : "claude"](validate);
187
+ const application = collection[props.model === "chatgpt"
188
+ ? "chatgpt"
189
+ : props.model === "gemini"
190
+ ? "gemini"
191
+ : "claude"](validate);
188
192
  return {
189
193
  protocol: "class",
190
194
  name: "correctInvalidRequest",
@@ -212,7 +216,7 @@ const collection = {
212
216
  {
213
217
  name: "rewrite",
214
218
  parameters: {
215
- description: " - The analysis and correction properties\n\n------------------------------\n\nCurrent Type: {@link IAutoBeCommonCorrectCastingApplication.IProps}\n\n### Description of {@link revise} property:\n\n> Review and finalization of type casting corrections.\n> \n> Contains the review of applied corrections and the final code with all\n> type casting issues resolved while preserving type safety and validation\n> intent.",
219
+ description: " - The analysis and correction properties\n\n------------------------------\n\nCurrent Type: {@link IAutoBeCommonCorrectCastingApplication.IProps}",
216
220
  type: "object",
217
221
  properties: {
218
222
  think: {
@@ -224,6 +228,7 @@ const collection = {
224
228
  type: "string"
225
229
  },
226
230
  revise: {
231
+ description: "Review and finalization of type casting corrections.\n\nContains the review of applied corrections and the final code with all\ntype casting issues resolved while preserving type safety and validation\nintent.",
227
232
  $ref: "#/$defs/IAutoBeCommonCorrectCastingApplication.IReviseProps"
228
233
  }
229
234
  },
@@ -516,5 +521,163 @@ const collection = {
516
521
  }), { equals: false }));
517
522
  return application;
518
523
  })(),
524
+ gemini: (validate) => (() => {
525
+ const application = {
526
+ model: "gemini",
527
+ options: {
528
+ reference: true,
529
+ separate: null
530
+ },
531
+ functions: [
532
+ {
533
+ name: "rewrite",
534
+ parameters: {
535
+ description: " - The analysis and correction properties\n\n------------------------------\n\nCurrent Type: {@link IAutoBeCommonCorrectCastingApplication.IProps}",
536
+ type: "object",
537
+ properties: {
538
+ think: {
539
+ description: "Initial analysis of the type casting or assignment error.\n\nContains the agent's analysis of the specific type mismatch pattern:\n\n- Type of casting error (tag incompatibility, nullable assignment, literal\n type conversion, etc.)\n- Whether nullable or undefined types are involved\n- If Date to string conversions are needed\n- The chosen fix strategy for the specific error type",
540
+ type: "string"
541
+ },
542
+ draft: {
543
+ description: "Draft correction with initial type casting fixes.\n\nThe code after applying the first round of fixes:\n\n- Satisfies patterns for tag stripping\n- Date.toISOString() conversions where needed\n- Nullable type narrowing checks\n- Literal type assertions\n- Optional chaining result handling",
544
+ type: "string"
545
+ },
546
+ revise: {
547
+ description: "Review and finalization of type casting corrections.\n\nContains the review of applied corrections and the final code with all\ntype casting issues resolved while preserving type safety and validation\nintent.",
548
+ $ref: "#/$defs/IAutoBeCommonCorrectCastingApplication.IReviseProps"
549
+ }
550
+ },
551
+ required: [
552
+ "think",
553
+ "draft",
554
+ "revise"
555
+ ],
556
+ additionalProperties: false,
557
+ $defs: {
558
+ "IAutoBeCommonCorrectCastingApplication.IReviseProps": {
559
+ type: "object",
560
+ properties: {
561
+ review: {
562
+ description: "Review of the type casting correction patterns applied.\n\nExplains which correction strategies were used:\n\n- Which satisfies patterns were applied for tag issues\n- Where typia.assert or assertGuard was used\n- How Date conversions were handled\n- What nullable type narrowing was applied\n- How literal type conversions were resolved\n- Confirmation that all type casting issues are resolved",
563
+ type: "string"
564
+ },
565
+ final: {
566
+ description: "Final corrected code with all type casting issues resolved.\n\nThe complete code ready for TypeScript compilation, with all type casting\nand assignment errors properly fixed using appropriate patterns while\nmaintaining type safety and the original validation logic. When the draft\nalready successfully resolves all type casting issues with no problems\nfound during review, this value can be null, indicating no further\nrefinements are necessary.\n\nA `null` value signifies the draft corrections were already optimal and\nrequire no additional modifications.",
567
+ anyOf: [
568
+ {
569
+ type: "null"
570
+ },
571
+ {
572
+ type: "string"
573
+ }
574
+ ]
575
+ }
576
+ },
577
+ required: [
578
+ "review",
579
+ "final"
580
+ ]
581
+ }
582
+ }
583
+ },
584
+ description: "Rewrite function to fix type casting and assignment errors.\n\nThis function is called when the agent detects any type casting or\nassignment related compilation error patterns.\n\nThe agent applies various fix strategies based on the error type:\n\n- **Typia tag incompatibilities**: Uses `satisfies ... as ...` pattern to\n strip incompatible tags, or `typia.assert<T>()` as a last resort\n- **Date conversions**: Uses `.toISOString()` method for Date to string\n conversions\n- **Nullable type narrowing**: Applies exhaustive checks (e.g., !== null &&\n !== undefined)\n- **typia.assert vs assertGuard**: Uses assert for value assignment,\n assertGuard for type narrowing\n- **Literal type conversions**: Uses `typia.assert<T>()` for runtime\n validation\n- **Optional chaining results**: Uses `=== true` or `??` operators\n- **\"No overlap\" errors**: Removes redundant comparisons",
585
+ validate: (() => { const _io0 = input => "string" === typeof input.think && "string" === typeof input.draft && ("object" === typeof input.revise && null !== input.revise && _io1(input.revise)); const _io1 = input => "string" === typeof input.review && (null === input.final || "string" === typeof input.final); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think || _report(_exceptionable, {
586
+ path: _path + ".think",
587
+ expected: "string",
588
+ value: input.think
589
+ }), "string" === typeof input.draft || _report(_exceptionable, {
590
+ path: _path + ".draft",
591
+ expected: "string",
592
+ value: input.draft
593
+ }), ("object" === typeof input.revise && null !== input.revise || _report(_exceptionable, {
594
+ path: _path + ".revise",
595
+ expected: "IAutoBeCommonCorrectCastingApplication.IReviseProps",
596
+ value: input.revise
597
+ })) && _vo1(input.revise, _path + ".revise", true && _exceptionable) || _report(_exceptionable, {
598
+ path: _path + ".revise",
599
+ expected: "IAutoBeCommonCorrectCastingApplication.IReviseProps",
600
+ value: input.revise
601
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
602
+ path: _path + ".review",
603
+ expected: "string",
604
+ value: input.review
605
+ }), null === input.final || "string" === typeof input.final || _report(_exceptionable, {
606
+ path: _path + ".final",
607
+ expected: "(null | string)",
608
+ value: input.final
609
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
610
+ if (false === __is(input)) {
611
+ errors = [];
612
+ _report = __typia_transform__validateReport._validateReport(errors);
613
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
614
+ path: _path + "",
615
+ expected: "IAutoBeCommonCorrectCastingApplication.IProps",
616
+ value: input
617
+ })) && _vo0(input, _path + "", true) || _report(true, {
618
+ path: _path + "",
619
+ expected: "IAutoBeCommonCorrectCastingApplication.IProps",
620
+ value: input
621
+ }))(input, "$input", true);
622
+ const success = 0 === errors.length;
623
+ return success ? {
624
+ success,
625
+ data: input
626
+ } : {
627
+ success,
628
+ errors,
629
+ data: input
630
+ };
631
+ }
632
+ return {
633
+ success: true,
634
+ data: input
635
+ };
636
+ }; })()
637
+ },
638
+ {
639
+ name: "reject",
640
+ parameters: {
641
+ type: "object",
642
+ properties: {},
643
+ additionalProperties: false,
644
+ required: [],
645
+ $defs: {}
646
+ },
647
+ description: "Reject function when error is not related to type casting or assignment.\n\nThis function is called when the compilation error is unrelated to type\ncasting issues (e.g., missing imports, syntax errors, undefined variables),\nindicating the error should be handled by a different agent.",
648
+ validate: (() => { const __is = input => true; let errors; let _report; return input => {
649
+ if (false === __is(input)) {
650
+ errors = [];
651
+ _report = __typia_transform__validateReport._validateReport(errors);
652
+ ((input, _path, _exceptionable = true) => true)(input, "$input", true);
653
+ const success = 0 === errors.length;
654
+ return success ? {
655
+ success,
656
+ data: input
657
+ } : {
658
+ success,
659
+ errors,
660
+ data: input
661
+ };
662
+ }
663
+ return {
664
+ success: true,
665
+ data: input
666
+ };
667
+ }; })()
668
+ }
669
+ ]
670
+ };
671
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
672
+ validate: {
673
+ rewrite: validate,
674
+ reject: () => ({
675
+ success: true,
676
+ data: undefined,
677
+ }),
678
+ },
679
+ }), { equals: false }));
680
+ return application;
681
+ })(),
519
682
  };
520
683
  //# sourceMappingURL=orchestrateCommonCorrectCasting.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateCommonCorrectCasting.js","sourceRoot":"","sources":["../../../src/orchestrate/common/orchestrateCommonCorrectCasting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,yCAA2C;AAQ3C,kDAA0B;AAG1B,uEAAoE;AACpE,qEAAkE;AAClE,+GAA4G;AAsBrG,MAAM,+BAA+B,GAAG,CAK7C,GAAyB,EACzB,OAAmD,EACnD,MAAc,EACU,EAAE;IAC1B,MAAM,KAAK,GAAkB,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5D,OAAO,MAAM,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;AACrE,CAAC,CAAA,CAAC;AAXW,QAAA,+BAA+B,mCAW1C;AAEF,MAAM,SAAS,GAAG,CAKhB,GAAyB,EACzB,OAAmD,EACnD,QAAyB,EACzB,MAAc,EACd,KAAoB,EACpB,IAAY,EACY,EAAE;IAC1B,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QACpC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpB,OAAO,MAAM,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAG,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,OAAO,EAAE,QAAQ;gBACjB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;oBACb,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,SAAS;iBAChB,CAAC;aACH;SACF;;QAAC;CACL,CAAC"}
1
+ {"version":3,"file":"orchestrateCommonCorrectCasting.js","sourceRoot":"","sources":["../../../src/orchestrate/common/orchestrateCommonCorrectCasting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,yCAA2C;AAQ3C,kDAA0B;AAG1B,uEAAoE;AACpE,qEAAkE;AAClE,+GAA4G;AAsBrG,MAAM,+BAA+B,GAAG,CAK7C,GAAyB,EACzB,OAAmD,EACnD,MAAc,EACU,EAAE;IAC1B,MAAM,KAAK,GAAkB,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5D,OAAO,MAAM,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;AACrE,CAAC,CAAA,CAAC;AAXW,QAAA,+BAA+B,mCAW1C;AAEF,MAAM,SAAS,GAAG,CAKhB,GAAyB,EACzB,OAAmD,EACnD,QAAyB,EACzB,MAAc,EACd,KAAoB,EACpB,IAAY,EACY,EAAE;IAC1B,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QACpC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpB,OAAO,MAAM,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAG,CAKd,GAAyB,EACzB,OAAmD,EACnD,QAAyB,EACzB,MAAc,EACd,KAAoB,EACpB,IAAY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