@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
@@ -276,7 +276,11 @@ function createController(props) {
276
276
  }
277
277
  return result;
278
278
  };
279
- const application = collection[props.model === "chatgpt" ? "chatgpt" : "claude"](validate);
279
+ const application = collection[props.model === "chatgpt"
280
+ ? "chatgpt"
281
+ : props.model === "gemini"
282
+ ? "gemini"
283
+ : "claude"](validate);
280
284
  return {
281
285
  protocol: "class",
282
286
  name: "Test Scenario Reviewer",
@@ -336,10 +340,10 @@ const collection = {
336
340
  additionalProperties: false,
337
341
  $defs: {
338
342
  "IAutoBeTestScenarioApplication.IScenarioGroup": {
339
- description: "### Description of {@link endpoint} property:\n\n> Target API endpoint to test.\n> \n> This must be **unique** across all scenario groups. An endpoint is\n> identified by its `path` and `method` combination.\n> \n> Multiple test scenarios may exist for a single endpoint.",
340
343
  type: "object",
341
344
  properties: {
342
345
  endpoint: {
346
+ description: "Target API endpoint to test.\n\nThis must be **unique** across all scenario groups. An endpoint is\nidentified by its `path` and `method` combination.\n\nMultiple test scenarios may exist for a single endpoint.",
343
347
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
344
348
  },
345
349
  scenarios: {
@@ -407,10 +411,10 @@ const collection = {
407
411
  ]
408
412
  },
409
413
  "IAutoBeTestScenarioApplication.IDependencies": {
410
- description: "### Description of {@link endpoint} property:\n\n> Target API endpoint that this scenario depends on.\n> \n> This endpoint MUST exist in the available API operations list.\n> Non-existent endpoints will cause test implementation failures.",
411
414
  type: "object",
412
415
  properties: {
413
416
  endpoint: {
417
+ description: "Target API endpoint that this scenario depends on.\n\nThis endpoint MUST exist in the available API operations list.\nNon-existent endpoints will cause test implementation failures.",
414
418
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
415
419
  },
416
420
  purpose: {
@@ -852,5 +856,279 @@ const collection = {
852
856
  }), { equals: false }));
853
857
  return application;
854
858
  })(),
859
+ gemini: (validate) => (() => {
860
+ const application = {
861
+ model: "gemini",
862
+ options: {
863
+ reference: true,
864
+ separate: null
865
+ },
866
+ functions: [
867
+ {
868
+ name: "review",
869
+ parameters: {
870
+ description: "Current Type: {@link IAutoBeTestScenarioReviewApplication.IProps}",
871
+ type: "object",
872
+ properties: {
873
+ review: {
874
+ description: "Concise review summary focusing on critical findings and key\nimprovements.\n\nShould include:\n\n- Executive summary of overall quality\n- Critical issues requiring immediate fixes\n- Key improvement recommendations\n- Database schema compliance status\n- Modified scenarios identification by functionName",
875
+ type: "string"
876
+ },
877
+ plan: {
878
+ description: "Structured action plan with priority-based improvements.\n\nShould contain:\n\n- Critical fixes required immediately\n- High priority enhancements\n- Implementation guidance\n- Success criteria\n- Specific scenario action items by functionName",
879
+ type: "string"
880
+ },
881
+ pass: {
882
+ description: "If the scenario groups pass the review, Set to true.",
883
+ type: "boolean"
884
+ },
885
+ scenarioGroups: {
886
+ description: "The reviewed and improved scenario groups with all quality fixes applied.\n\nThis is the primary output containing:\n\n- All critical issues resolved\n- Authentication flows corrected\n- Database dependencies validated\n- Quality enhancements implemented\n- Only implementable scenarios retained",
887
+ type: "array",
888
+ items: {
889
+ $ref: "#/$defs/IAutoBeTestScenarioApplication.IScenarioGroup"
890
+ }
891
+ }
892
+ },
893
+ required: [
894
+ "review",
895
+ "plan",
896
+ "pass",
897
+ "scenarioGroups"
898
+ ],
899
+ additionalProperties: false,
900
+ $defs: {
901
+ "IAutoBeTestScenarioApplication.IScenarioGroup": {
902
+ type: "object",
903
+ properties: {
904
+ endpoint: {
905
+ description: "Target API endpoint to test.\n\nThis must be **unique** across all scenario groups. An endpoint is\nidentified by its `path` and `method` combination.\n\nMultiple test scenarios may exist for a single endpoint.",
906
+ $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
907
+ },
908
+ scenarios: {
909
+ description: "An array of test scenarios associated with the given endpoint.\n\nEach scenario represents a specific test case for the same `path` and\n`method`.\n\nIMPORTANT: Each scenario must be actually implementable. A scenario's\nimplementability is determined by the existence of ALL APIs (endpoints)\nrequired to test it. This includes not only the primary endpoint being\ntested, but also ALL dependency endpoints needed for setup,\nauthentication, and data preparation. If even one required dependency API\nis missing from the available operations, the scenario cannot be\nimplemented and should not be generated.\n\nExample: A \"test banned user login\" scenario requires both a login API\nAND a ban user API. If the ban API doesn't exist, this scenario is not\nimplementable regardless of database schema fields.\n\n\n@minItems 1",
910
+ type: "array",
911
+ items: {
912
+ $ref: "#/$defs/IAutoBeTestScenarioApplication.IScenario"
913
+ }
914
+ }
915
+ },
916
+ required: [
917
+ "endpoint",
918
+ "scenarios"
919
+ ]
920
+ },
921
+ "AutoBeOpenApi.IEndpoint": {
922
+ description: "API endpoint information.",
923
+ type: "object",
924
+ properties: {
925
+ path: {
926
+ description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.\n\nPath validation rules:\n\n- Must start with a forward slash (/)\n- Can contain only: letters (a-z, A-Z), numbers (0-9), forward slashes (/),\n curly braces for parameters ({paramName}), hyphens (-), and underscores\n (_)\n- Parameters must be enclosed in curly braces: {paramName}\n- Resource names should be in camelCase\n- No quotes, spaces, or invalid special characters allowed\n- No domain or role-based prefixes\n\nValid examples:\n\n- \"/users\"\n- \"/users/{userId}\"\n- \"/articles/{articleId}/comments\"\n- \"/attachmentFiles\"\n- \"/orders/{orderId}/items/{itemId}\"\n\nInvalid examples:\n\n- \"'/users'\" (contains quotes)\n- \"/user profile\" (contains space)\n- \"/users/[userId]\" (wrong bracket format)\n- \"/admin/users\" (role prefix)\n- \"/api/v1/users\" (API prefix)\n\n\n@pattern ^\\/[a-zA-Z0-9\\/_{}.-]*$",
927
+ type: "string"
928
+ },
929
+ method: {
930
+ description: "HTTP method of the API operation.\n\n**IMPORTANT**: Methods must be written in lowercase only (e.g., \"get\",\nnot \"GET\").\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
931
+ type: "string",
932
+ "enum": [
933
+ "get",
934
+ "post",
935
+ "put",
936
+ "delete",
937
+ "patch"
938
+ ]
939
+ }
940
+ },
941
+ required: [
942
+ "path",
943
+ "method"
944
+ ]
945
+ },
946
+ "IAutoBeTestScenarioApplication.IScenario": {
947
+ description: "Represents a test scenario for a single API operation.\n\nThis interface defines a structured, user-centric test draft that includes\na descriptive function name, a detailed scenario draft, and logical\ndependencies on other endpoints required for context or setup.\n\nCRITICAL: All referenced endpoints MUST exist in the provided API\noperations. Do NOT create scenarios for non-existent APIs, even if database\nschema fields suggest their existence. Test scenarios must be implementable\nwith available APIs only.",
948
+ type: "object",
949
+ properties: {
950
+ draft: {
951
+ description: "A detailed natural language description of how this API endpoint should\nbe tested. This should include both successful and failure scenarios,\nbusiness rule validations, edge cases, and any sequence of steps\nnecessary to perform the test. A subsequent agent will use this draft to\ngenerate multiple concrete test cases.",
952
+ type: "string"
953
+ },
954
+ functionName: {
955
+ description: "Descriptive function name derived from the user scenario.\n\nThe function name serves as a concise, technical identifier that clearly\nrepresents the specific user scenario being described. It should be\nimmediately understandable and directly correspond to the user situation\nwithout requiring additional context.\n\n## Naming Convention\n\nDO: Use snake_case naming convention.\n\n- Must start with `test_api_` prefix (mandatory requirement)\n- ALWAYS start with business feature, NOT action verbs\n- Business feature comes first, followed by scenario context\n- Embed action verbs within the scenario description, not at the beginning\n\n## Content Structure\n\nFunction names should follow this pattern:\n`test_api_[core_feature]_[specific_scenario]`\n\nWhere:\n\n- `core_feature`: The main business feature or entity being tested\n (customer, seller, cart, push_message, etc.)\n- `specific_scenario`: The specific operation or scenario context\n (join_verification_not_found, login_success,\n moderator_assignment_update, discountable_ticket_duplicated,\n csv_export, etc.)\n\n## Business Feature-Based Examples\n\n- `test_api_customer_join_verification_not_found` - Customer join\n verification when verification code not found\n- `test_api_seller_login` - Seller login operation\n- `test_api_cart_discountable_ticket_duplicated` - Cart discountable ticket\n with duplication scenario\n- `test_api_push_message_csv` - Push message functionality with CSV format\n- `test_api_product_review_update` - Product review update operation\n\n## Clarity Guidelines\n\n- Prioritize clarity over brevity\n- Avoid technical jargon or implementation terms\n- Use terminology that reflects user perspective\n- Ensure the name alone conveys the user's intent\n- Make it understandable to non-technical stakeholders\n- Keep consistent with user scenario description\n\n## Single Endpoint Alignment\n\nFunction names must reflect scenarios that:\n\n- Accomplish user goals through this single endpoint only\n- Don't imply dependency on other API operations\n- Represent complete user interactions",
956
+ type: "string"
957
+ },
958
+ dependencies: {
959
+ description: "A list of other API endpoints that this scenario logically depends on.\n\nThese dependencies represent context or prerequisite conditions, such as\nauthentication, resource creation, or data setup, that are relevant to\nthe test. This list is not a strict execution order \u2014 if ordering is\nimportant, it must be described explicitly in the `purpose`.\n\nWARNING: Every endpoint referenced here MUST exist in the provided API\noperations. Do NOT reference endpoints that are not explicitly available,\neven if they seem logically necessary based on database schema or\nbusiness logic.",
960
+ type: "array",
961
+ items: {
962
+ $ref: "#/$defs/IAutoBeTestScenarioApplication.IDependencies"
963
+ }
964
+ }
965
+ },
966
+ required: [
967
+ "draft",
968
+ "functionName",
969
+ "dependencies"
970
+ ]
971
+ },
972
+ "IAutoBeTestScenarioApplication.IDependencies": {
973
+ type: "object",
974
+ properties: {
975
+ endpoint: {
976
+ description: "Target API endpoint that this scenario depends on.\n\nThis endpoint MUST exist in the available API operations list.\nNon-existent endpoints will cause test implementation failures.",
977
+ $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
978
+ },
979
+ purpose: {
980
+ description: "A concise explanation of why this API call is relevant or required for\nthe main test scenario.\n\nThis should describe the contextual or setup role of the dependency, such\nas creating necessary data or establishing user authentication.\n\nExample: \"Creates a category so that a product can be linked to it during\ncreation.\"",
981
+ type: "string"
982
+ }
983
+ },
984
+ required: [
985
+ "endpoint",
986
+ "purpose"
987
+ ]
988
+ }
989
+ }
990
+ },
991
+ validate: (() => { const _io0 = input => "string" === typeof input.review && "string" === typeof input.plan && "boolean" === typeof input.pass && (Array.isArray(input.scenarioGroups) && input.scenarioGroups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "object" === typeof input.endpoint && null !== input.endpoint && _io2(input.endpoint) && (Array.isArray(input.scenarios) && (1 <= input.scenarios.length && input.scenarios.every(elem => "object" === typeof elem && null !== elem && _io3(elem)))); const _io2 = input => "string" === typeof input.path && RegExp("^\\/[a-zA-Z0-9\\/_{}.-]*$").test(input.path) && ("get" === input.method || "post" === input.method || "put" === input.method || "delete" === input.method || "patch" === input.method); const _io3 = input => "string" === typeof input.draft && "string" === typeof input.functionName && (Array.isArray(input.dependencies) && input.dependencies.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "object" === typeof input.endpoint && null !== input.endpoint && _io2(input.endpoint) && "string" === typeof input.purpose; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
992
+ path: _path + ".review",
993
+ expected: "string",
994
+ value: input.review
995
+ }), "string" === typeof input.plan || _report(_exceptionable, {
996
+ path: _path + ".plan",
997
+ expected: "string",
998
+ value: input.plan
999
+ }), "boolean" === typeof input.pass || _report(_exceptionable, {
1000
+ path: _path + ".pass",
1001
+ expected: "boolean",
1002
+ value: input.pass
1003
+ }), (Array.isArray(input.scenarioGroups) || _report(_exceptionable, {
1004
+ path: _path + ".scenarioGroups",
1005
+ expected: "Array<IAutoBeTestScenarioApplication.IScenarioGroup>",
1006
+ value: input.scenarioGroups
1007
+ })) && input.scenarioGroups.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1008
+ path: _path + ".scenarioGroups[" + _index4 + "]",
1009
+ expected: "IAutoBeTestScenarioApplication.IScenarioGroup",
1010
+ value: elem
1011
+ })) && _vo1(elem, _path + ".scenarioGroups[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
1012
+ path: _path + ".scenarioGroups[" + _index4 + "]",
1013
+ expected: "IAutoBeTestScenarioApplication.IScenarioGroup",
1014
+ value: elem
1015
+ })).every(flag => flag) || _report(_exceptionable, {
1016
+ path: _path + ".scenarioGroups",
1017
+ expected: "Array<IAutoBeTestScenarioApplication.IScenarioGroup>",
1018
+ value: input.scenarioGroups
1019
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [("object" === typeof input.endpoint && null !== input.endpoint || _report(_exceptionable, {
1020
+ path: _path + ".endpoint",
1021
+ expected: "AutoBeOpenApi.IEndpoint",
1022
+ value: input.endpoint
1023
+ })) && _vo2(input.endpoint, _path + ".endpoint", true && _exceptionable) || _report(_exceptionable, {
1024
+ path: _path + ".endpoint",
1025
+ expected: "AutoBeOpenApi.IEndpoint",
1026
+ value: input.endpoint
1027
+ }), (Array.isArray(input.scenarios) || _report(_exceptionable, {
1028
+ path: _path + ".scenarios",
1029
+ expected: "(Array<IAutoBeTestScenarioApplication.IScenario> & MinItems<1>)",
1030
+ value: input.scenarios
1031
+ })) && ((1 <= input.scenarios.length || _report(_exceptionable, {
1032
+ path: _path + ".scenarios",
1033
+ expected: "Array<> & MinItems<1>",
1034
+ value: input.scenarios
1035
+ })) && input.scenarios.map((elem, _index5) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1036
+ path: _path + ".scenarios[" + _index5 + "]",
1037
+ expected: "IAutoBeTestScenarioApplication.IScenario",
1038
+ value: elem
1039
+ })) && _vo3(elem, _path + ".scenarios[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
1040
+ path: _path + ".scenarios[" + _index5 + "]",
1041
+ expected: "IAutoBeTestScenarioApplication.IScenario",
1042
+ value: elem
1043
+ })).every(flag => flag)) || _report(_exceptionable, {
1044
+ path: _path + ".scenarios",
1045
+ expected: "(Array<IAutoBeTestScenarioApplication.IScenario> & MinItems<1>)",
1046
+ value: input.scenarios
1047
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.path && (RegExp("^\\/[a-zA-Z0-9\\/_{}.-]*$").test(input.path) || _report(_exceptionable, {
1048
+ path: _path + ".path",
1049
+ expected: "string & Pattern<\"^\\\\/[a-zA-Z0-9\\\\/_{}.-]*$\">",
1050
+ value: input.path
1051
+ })) || _report(_exceptionable, {
1052
+ path: _path + ".path",
1053
+ expected: "(string & Pattern<\"^\\\\/[a-zA-Z0-9\\\\/_{}.-]*$\">)",
1054
+ value: input.path
1055
+ }), "get" === input.method || "post" === input.method || "put" === input.method || "delete" === input.method || "patch" === input.method || _report(_exceptionable, {
1056
+ path: _path + ".method",
1057
+ expected: "(\"delete\" | \"get\" | \"patch\" | \"post\" | \"put\")",
1058
+ value: input.method
1059
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.draft || _report(_exceptionable, {
1060
+ path: _path + ".draft",
1061
+ expected: "string",
1062
+ value: input.draft
1063
+ }), "string" === typeof input.functionName || _report(_exceptionable, {
1064
+ path: _path + ".functionName",
1065
+ expected: "string",
1066
+ value: input.functionName
1067
+ }), (Array.isArray(input.dependencies) || _report(_exceptionable, {
1068
+ path: _path + ".dependencies",
1069
+ expected: "Array<IAutoBeTestScenarioApplication.IDependencies>",
1070
+ value: input.dependencies
1071
+ })) && input.dependencies.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1072
+ path: _path + ".dependencies[" + _index6 + "]",
1073
+ expected: "IAutoBeTestScenarioApplication.IDependencies",
1074
+ value: elem
1075
+ })) && _vo4(elem, _path + ".dependencies[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
1076
+ path: _path + ".dependencies[" + _index6 + "]",
1077
+ expected: "IAutoBeTestScenarioApplication.IDependencies",
1078
+ value: elem
1079
+ })).every(flag => flag) || _report(_exceptionable, {
1080
+ path: _path + ".dependencies",
1081
+ expected: "Array<IAutoBeTestScenarioApplication.IDependencies>",
1082
+ value: input.dependencies
1083
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [("object" === typeof input.endpoint && null !== input.endpoint || _report(_exceptionable, {
1084
+ path: _path + ".endpoint",
1085
+ expected: "AutoBeOpenApi.IEndpoint",
1086
+ value: input.endpoint
1087
+ })) && _vo2(input.endpoint, _path + ".endpoint", true && _exceptionable) || _report(_exceptionable, {
1088
+ path: _path + ".endpoint",
1089
+ expected: "AutoBeOpenApi.IEndpoint",
1090
+ value: input.endpoint
1091
+ }), "string" === typeof input.purpose || _report(_exceptionable, {
1092
+ path: _path + ".purpose",
1093
+ expected: "string",
1094
+ value: input.purpose
1095
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
1096
+ if (false === __is(input)) {
1097
+ errors = [];
1098
+ _report = __typia_transform__validateReport._validateReport(errors);
1099
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
1100
+ path: _path + "",
1101
+ expected: "IAutoBeTestScenarioReviewApplication.IProps",
1102
+ value: input
1103
+ })) && _vo0(input, _path + "", true) || _report(true, {
1104
+ path: _path + "",
1105
+ expected: "IAutoBeTestScenarioReviewApplication.IProps",
1106
+ value: input
1107
+ }))(input, "$input", true);
1108
+ const success = 0 === errors.length;
1109
+ return success ? {
1110
+ success,
1111
+ data: input
1112
+ } : {
1113
+ success,
1114
+ errors,
1115
+ data: input
1116
+ };
1117
+ }
1118
+ return {
1119
+ success: true,
1120
+ data: input
1121
+ };
1122
+ }; })()
1123
+ }
1124
+ ]
1125
+ };
1126
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
1127
+ validate: {
1128
+ review: validate,
1129
+ },
1130
+ }), { equals: false }));
1131
+ return application;
1132
+ })(),
855
1133
  };
856
1134
  //# sourceMappingURL=orchestrateTestScenarioReview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTestScenarioReview.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestScenarioReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,sEAeC;;;AA3BD,yCAAgE;AAEhE,+BAA+C;AAC/C,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,2GAAwG;AAIxG,SAAsB,6BAA6B,CAGjD,GAAyB,EACzB,KAIC;;QAED,MAAM,GAAG,GAAoD,MAAM,MAAM,CACvE,GAAG,EACH,KAAK,CACN,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;CAAA;AAED,SAAe,MAAM,CACnB,GAAyB,EACzB,KAIC;;;QAED,IAAI,CAAC;YACH,MAAM,OAAO,GACX;gBACE,KAAK,EAAE,IAAI;aACZ,CAAC;YACJ,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC;gBAClD,MAAM,EAAE,oBAAoB;gBAC5B,UAAU,EAAE,gBAAgB,CAAC;oBAC3B,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,OAAO;oBACP,cAAc,EAAE,KAAK,CAAC,MAAM;iBAC7B,CAAC;gBACF,SAAS,EAAE,IAAA,2EAAoC,EAAC;oBAC9C,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE;oBAClB,MAAM,EAAE,KAAK,CAAC,MAAM;oBACpB,WAAW,EAAE,KAAK,CAAC,WAAW;iBAC/B,CAAC;gBACF,mBAAmB,EAAE,IAAI;gBACzB,OAAO,EAAE,2BAA2B;aACrC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHACwC;YACrE,QAAQ,EAAE;gBACR,MAAM,EAAE,QAAQ;aACjB;SACF;;QAAC;IACJ,MAAM,EAAE,CAAC,QAAmB,EAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHACwC;YACpE,QAAQ,EAAE;gBACR,MAAM,EAAE,QAAQ;aACjB;SACF;;QAAC;CACL,CAAC"}
1
+ {"version":3,"file":"orchestrateTestScenarioReview.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestScenarioReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,sEAeC;;;AA3BD,yCAAgE;AAEhE,+BAA+C;AAC/C,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,2GAAwG;AAIxG,SAAsB,6BAA6B,CAGjD,GAAyB,EACzB,KAIC;;QAED,MAAM,GAAG,GAAoD,MAAM,MAAM,CACvE,GAAG,EACH,KAAK,CACN,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;CAAA;AAED,SAAe,MAAM,CACnB,GAAyB,EACzB,KAIC;;;QAED,IAAI,CAAC;YACH,MAAM,OAAO,GACX;gBACE,KAAK,EAAE,IAAI;aACZ,CAAC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AM,EAAE,CAAC,QAAmB,EAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHACwC;YACpE,QAAQ,EAAE;gBACR,MAAM,EAAE,QAAQ;aACjB;SACF;;QAAC;CACL,CAAC"}
@@ -218,7 +218,11 @@ function createController(props) {
218
218
  }
219
219
  : result;
220
220
  };
221
- const application = collection[props.model === "chatgpt" ? "chatgpt" : "claude"](validate);
221
+ const application = collection[props.model === "chatgpt"
222
+ ? "chatgpt"
223
+ : props.model === "gemini"
224
+ ? "gemini"
225
+ : "claude"](validate);
222
226
  return {
223
227
  protocol: "class",
224
228
  name: "Create Test Code",
@@ -243,7 +247,7 @@ const collection = {
243
247
  {
244
248
  name: "write",
245
249
  parameters: {
246
- description: " Complete specification for test generation including scenario,\ndomain, and implementation steps\n\n------------------------------\n\nCurrent Type: {@link IAutoBeTestWriteApplication.IProps}\n\n### Description of {@link revise} property:\n\n> Steps 4-5: Code review and final refinement process.\n> \n> Contains the iterative improvement workflow that transforms the initial\n> draft into production-ready test code. The review phase identifies issues\n> to fix or code to delete, followed by the final phase that produces the\n> polished, production-ready test implementation.\n> \n> Workflow: Draft \u2192 Review analysis \u2192 Final implementation",
250
+ description: " Complete specification for test generation including scenario,\ndomain, and implementation steps\n\n------------------------------\n\nCurrent Type: {@link IAutoBeTestWriteApplication.IProps}",
247
251
  type: "object",
248
252
  properties: {
249
253
  scenario: {
@@ -259,6 +263,7 @@ const collection = {
259
263
  type: "string"
260
264
  },
261
265
  revise: {
266
+ description: "Steps 4-5: Code review and final refinement process.\n\nContains the iterative improvement workflow that transforms the initial\ndraft into production-ready test code. The review phase identifies issues\nto fix or code to delete, followed by the final phase that produces the\npolished, production-ready test implementation.\n\nWorkflow: Draft \u2192 Review analysis \u2192 Final implementation",
262
267
  $ref: "#/$defs/IAutoBeTestWriteApplication.IReviseProps"
263
268
  }
264
269
  },
@@ -495,5 +500,137 @@ const collection = {
495
500
  }), { equals: false }));
496
501
  return application;
497
502
  })(),
503
+ gemini: (validate) => (() => {
504
+ const application = {
505
+ model: "gemini",
506
+ options: {
507
+ reference: true,
508
+ separate: null
509
+ },
510
+ functions: [
511
+ {
512
+ name: "write",
513
+ parameters: {
514
+ description: " Complete specification for test generation including scenario,\ndomain, and implementation steps\n\n------------------------------\n\nCurrent Type: {@link IAutoBeTestWriteApplication.IProps}",
515
+ type: "object",
516
+ properties: {
517
+ scenario: {
518
+ description: "Step 1: Strategic test planning and scenario analysis.\n\nAI analyzes the given test scenario and creates a comprehensive\nimplementation strategy. This planning phase is crucial for generating\nwell-structured, maintainable test code. The AI must define test\nmethodology, data preparation, execution flow, and validation logic\nbefore proceeding to code implementation.\n\nWorkflow: Input scenario \u2192 Strategic analysis \u2192 Detailed test plan",
519
+ type: "string"
520
+ },
521
+ domain: {
522
+ description: "Step 2: Functional domain classification for test organization.\n\nAI determines the appropriate domain category based on the scenario\nanalysis. This classification drives file structure, test categorization,\nand logical grouping. The domain must be a single, lowercase word in\nsnake_case format that represents the primary API resource.\n\nWorkflow: Scenario analysis \u2192 Domain identification \u2192 Test organization\nstructure",
523
+ type: "string"
524
+ },
525
+ draft: {
526
+ description: "Step 3: Initial TypeScript E2E test code implementation.\n\nAI generates the first working version of the test code based on the\nstrategic plan. This draft must be compilation-error-free and follow",
527
+ type: "string"
528
+ },
529
+ revise: {
530
+ description: "Steps 4-5: Code review and final refinement process.\n\nContains the iterative improvement workflow that transforms the initial\ndraft into production-ready test code. The review phase identifies issues\nto fix or code to delete, followed by the final phase that produces the\npolished, production-ready test implementation.\n\nWorkflow: Draft \u2192 Review analysis \u2192 Final implementation",
531
+ $ref: "#/$defs/IAutoBeTestWriteApplication.IReviseProps"
532
+ }
533
+ },
534
+ required: [
535
+ "scenario",
536
+ "domain",
537
+ "draft",
538
+ "revise"
539
+ ],
540
+ additionalProperties: false,
541
+ $defs: {
542
+ "IAutoBeTestWriteApplication.IReviseProps": {
543
+ type: "object",
544
+ properties: {
545
+ review: {
546
+ description: "Step 4: Code review and quality assessment.\n\n**\uD83D\uDEA8 TWO TYPES OF REVISIONS: FIX AND DELETE \uD83D\uDEA8**\n\nAI performs a thorough review of the draft implementation for:\n\n**1. FIX - Improve existing code:**\n\n**Compilation & Syntax:**\n\n- TypeScript compilation errors and type mismatches\n- Syntax errors and missing semicolons/brackets\n- Correct function signatures and parameter types\n\n**Framework Compliance:**\n\n-",
547
+ type: "string"
548
+ },
549
+ final: {
550
+ description: "Step 5: Final production-ready test code.\n\nAI produces the final, polished version of the test code incorporating\nall review feedback. This code represents the completed test\nimplementation, ready for production deployment. When the draft code is\nalready perfect with no issues found during review, this value can be\nnull, indicating no revisions were necessary.\n\n**\uD83D\uDEA8 CRITICAL: APPLY ALL FIXES AND DELETIONS FROM REVIEW \uD83D\uDEA8**\n\n- FIX all correctable issues identified in review\n- DELETE all prohibited code identified in review\n- If review found type error tests, they MUST be deleted in final\n- If review found code to DELETE, final MUST be different from draft\n- If review finds NO issues requiring changes, set to null\n\nAll identified issues must be resolved, and the code must meet the\nhighest quality standards. A null value indicates the draft code already\nmeets all requirements without modification.\n\nWorkflow: Review feedback \u2192 Apply FIXES \u2192 Apply DELETIONS \u2192\nProduction-ready implementation (or null if no changes needed)\n\nThis is the ultimate deliverable that will be used in the actual test\nsuite when provided, otherwise the draft is used as-is.",
551
+ anyOf: [
552
+ {
553
+ type: "null"
554
+ },
555
+ {
556
+ type: "string"
557
+ }
558
+ ]
559
+ }
560
+ },
561
+ required: [
562
+ "review",
563
+ "final"
564
+ ]
565
+ }
566
+ }
567
+ },
568
+ description: "Main entry point for AI Function Call - generates complete E2E test code.\n\nThe AI executes this function to perform the entire test generation\nworkflow: scenario analysis \u2192 draft implementation \u2192 code review \u2192 final\ncode production. This structured approach ensures high-quality,\ncompilation-error-free test code.",
569
+ validate: (() => { const _io0 = input => "string" === typeof input.scenario && "string" === typeof input.domain && "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.scenario || _report(_exceptionable, {
570
+ path: _path + ".scenario",
571
+ expected: "string",
572
+ value: input.scenario
573
+ }), "string" === typeof input.domain || _report(_exceptionable, {
574
+ path: _path + ".domain",
575
+ expected: "string",
576
+ value: input.domain
577
+ }), "string" === typeof input.draft || _report(_exceptionable, {
578
+ path: _path + ".draft",
579
+ expected: "string",
580
+ value: input.draft
581
+ }), ("object" === typeof input.revise && null !== input.revise || _report(_exceptionable, {
582
+ path: _path + ".revise",
583
+ expected: "IAutoBeTestWriteApplication.IReviseProps",
584
+ value: input.revise
585
+ })) && _vo1(input.revise, _path + ".revise", true && _exceptionable) || _report(_exceptionable, {
586
+ path: _path + ".revise",
587
+ expected: "IAutoBeTestWriteApplication.IReviseProps",
588
+ value: input.revise
589
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
590
+ path: _path + ".review",
591
+ expected: "string",
592
+ value: input.review
593
+ }), null === input.final || "string" === typeof input.final || _report(_exceptionable, {
594
+ path: _path + ".final",
595
+ expected: "(null | string)",
596
+ value: input.final
597
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
598
+ if (false === __is(input)) {
599
+ errors = [];
600
+ _report = __typia_transform__validateReport._validateReport(errors);
601
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
602
+ path: _path + "",
603
+ expected: "IAutoBeTestWriteApplication.IProps",
604
+ value: input
605
+ })) && _vo0(input, _path + "", true) || _report(true, {
606
+ path: _path + "",
607
+ expected: "IAutoBeTestWriteApplication.IProps",
608
+ value: input
609
+ }))(input, "$input", true);
610
+ const success = 0 === errors.length;
611
+ return success ? {
612
+ success,
613
+ data: input
614
+ } : {
615
+ success,
616
+ errors,
617
+ data: input
618
+ };
619
+ }
620
+ return {
621
+ success: true,
622
+ data: input
623
+ };
624
+ }; })()
625
+ }
626
+ ]
627
+ };
628
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
629
+ validate: {
630
+ write: validate,
631
+ },
632
+ }), { equals: false }));
633
+ return application;
634
+ })(),
498
635
  };
499
636
  //# sourceMappingURL=orchestrateTestWrite.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTestWrite.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestWrite.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,oDAwCC;;;AAvDD,kDAA0B;AAC1B,uEAAoE;AACpE,+BAA0B;AAG1B,uEAAoE;AACpE,uEAAoE;AACpE,qEAAkE;AAClE,iEAA8D;AAC9D,iFAA8E;AAC9E,yFAAsF;AAKtF,SAAsB,oBAAoB,CACxC,GAAyB,EACzB,KAGC;;QAED,MAAM,QAAQ,GAA4B;YACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;YAC7B,SAAS,EAAE,CAAC;SACb,CAAC;QACF,MAAM,MAAM,GAAyC,MAAM,IAAA,uCAAkB;QAC3E;;;;WAIG;QACH,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAO,cAAc,EAAE,EAAE;YACzD,IAAI,CAAC;gBACH,MAAM,SAAS,GACb,MAAM,IAAA,mDAAwB,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;gBAChD,MAAM,KAAK,GAAyB,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHAC+B;YAC5D,QAAQ,EAAE;gBACR,KAAK,EAAE,QAAQ;aAChB;SACF;;QAAC;IACJ,MAAM,EAAE,CAAC,QAAmB,EAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHAC+B;YAC3D,QAAQ,EAAE;gBACR,KAAK,EAAE,QAAQ;aAChB;SACF;;QAAC;IACJ,MAAM,EAAE,CAAC,QAAmB,EAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHAC+B;YAC3D,QAAQ,EAAE;gBACR,KAAK,EAAE,QAAQ;aAChB;SACF;;QAAC;CACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobe/agent",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "AI backend server code generator",
5
5
  "main": "lib/index.js",
6
6
  "author": "Wrtn Technologies",
@@ -20,15 +20,15 @@
20
20
  "README.md"
21
21
  ],
22
22
  "dependencies": {
23
- "@agentica/core": "^0.33.1",
23
+ "@agentica/core": "^0.34.0",
24
24
  "@prisma/internals": "^6.16.2",
25
- "@samchon/openapi": "^4.7.2",
25
+ "@samchon/openapi": "^5.0.0",
26
26
  "openai": "^6.7.0",
27
27
  "tstl": "^3.0.0",
28
- "typia": "^9.7.2",
28
+ "typia": "^10.0.0",
29
29
  "uuid": "^11.1.0",
30
- "@autobe/interface": "^0.27.0",
31
- "@autobe/utils": "^0.27.0"
30
+ "@autobe/interface": "^0.28.0",
31
+ "@autobe/utils": "^0.28.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@rollup/plugin-json": "^6.1.0",
@@ -39,9 +39,9 @@
39
39
  "rollup": "^4.40.1",
40
40
  "ts-node": "^10.9.2",
41
41
  "ts-patch": "^3.3.0",
42
- "typescript": "~5.9.2",
43
- "@autobe/filesystem": "^0.27.0",
44
- "@autobe/compiler": "^0.27.0"
42
+ "typescript": "~5.9.3",
43
+ "@autobe/compiler": "^0.28.0",
44
+ "@autobe/filesystem": "^0.28.0"
45
45
  },
46
46
  "keywords": [
47
47
  "ai",