@autobe/agent 0.10.0 → 0.10.1

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 (52) hide show
  1. package/lib/constants/AutoBeSystemPromptConstant.d.ts +1 -0
  2. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  3. package/lib/factory/createAutoBeApplication.js +0 -10
  4. package/lib/factory/createAutoBeApplication.js.map +1 -1
  5. package/lib/index.mjs +490 -792
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js +0 -4
  8. package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js.map +1 -1
  9. package/lib/orchestrate/analyze/orchestrateAnalyze.js +0 -2
  10. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -1
  11. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +0 -2
  12. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
  13. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js +0 -8
  14. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js.map +1 -1
  15. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +0 -6
  16. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -1
  17. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +0 -68
  18. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
  19. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +0 -6
  20. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  21. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +0 -50
  22. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  23. package/lib/orchestrate/prisma/orchestratePrismaSchema.js +0 -58
  24. package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
  25. package/lib/orchestrate/realize/orchestrateRealize.d.ts +1 -1
  26. package/lib/orchestrate/realize/orchestrateRealize.js +25 -56
  27. package/lib/orchestrate/realize/orchestrateRealize.js.map +1 -1
  28. package/lib/orchestrate/realize/orchestrateRealizeCoder.d.ts +1 -1
  29. package/lib/orchestrate/realize/orchestrateRealizeCoder.js +4 -15
  30. package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +1 -1
  31. package/lib/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.d.ts +6 -0
  32. package/lib/orchestrate/test/orchestrateTestCorrect.js +0 -8
  33. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
  34. package/lib/orchestrate/test/orchestrateTestScenario.js +0 -16
  35. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
  36. package/lib/orchestrate/test/orchestrateTestWrite.js +0 -15
  37. package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
  38. package/lib/orchestrate/test/transformTestWriteHistories.js +0 -7
  39. package/lib/orchestrate/test/transformTestWriteHistories.js.map +1 -1
  40. package/package.json +8 -12
  41. package/src/constants/AutoBeSystemPromptConstant.ts +1 -0
  42. package/src/orchestrate/realize/orchestrateRealize.ts +48 -88
  43. package/src/orchestrate/realize/orchestrateRealizeCoder.ts +5 -13
  44. package/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.ts +10 -0
  45. package/lib/orchestrate/realize/orchestrateRealizeIntegrator.d.ts +0 -52
  46. package/lib/orchestrate/realize/orchestrateRealizeIntegrator.js +0 -57
  47. package/lib/orchestrate/realize/orchestrateRealizeIntegrator.js.map +0 -1
  48. package/lib/orchestrate/realize/orchestrateRealizeValidator.d.ts +0 -46
  49. package/lib/orchestrate/realize/orchestrateRealizeValidator.js +0 -37
  50. package/lib/orchestrate/realize/orchestrateRealizeValidator.js.map +0 -1
  51. package/src/orchestrate/realize/orchestrateRealizeIntegrator.ts +0 -75
  52. package/src/orchestrate/realize/orchestrateRealizeValidator.ts +0 -64
@@ -48,8 +48,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
48
48
  exports.orchestrateRealizeCoder = void 0;
49
49
  const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
50
50
  const core_1 = require("@agentica/core");
51
- const prettier_plugin_sort_imports_1 = __importDefault(require("@trivago/prettier-plugin-sort-imports"));
52
- const prettier_1 = require("prettier");
53
51
  const typia_1 = __importDefault(require("typia"));
54
52
  const assertSchemaModel_1 = require("../../context/assertSchemaModel");
55
53
  const enforceToolCall_1 = require("../../utils/enforceToolCall");
@@ -74,7 +72,7 @@ const transformRealizeCoderHistories_1 = require("./transformRealizeCoderHistori
74
72
  * @param props - Planning result describing what function to generate
75
73
  * @returns The generated function name and TypeScript code
76
74
  */
77
- const orchestrateRealizeCoder = (ctx, operation, props) => __awaiter(void 0, void 0, void 0, function* () {
75
+ const orchestrateRealizeCoder = (ctx, operation, props, files) => __awaiter(void 0, void 0, void 0, function* () {
78
76
  const artifacts = yield (0, getTestScenarioArtifacts_1.getTestScenarioArtifacts)(ctx, {
79
77
  endpoint: {
80
78
  method: operation.method,
@@ -107,14 +105,7 @@ const orchestrateRealizeCoder = (ctx, operation, props) => __awaiter(void 0, voi
107
105
  if (pointer.value === null) {
108
106
  return orchestrateRealize_1.FAILED;
109
107
  }
110
- pointer.value.implementationCode = yield (0, prettier_1.format)(pointer.value.implementationCode, {
111
- parser: "typescript",
112
- plugins: [prettier_plugin_sort_imports_1.default, yield Promise.resolve().then(() => __importStar(require("prettier-plugin-jsdoc")))],
113
- importOrder: ["<THIRD_PARTY_MODULES>", "^[./]"],
114
- importOrderSeparation: true,
115
- importOrderSortSpecifiers: true,
116
- importOrderParserPlugins: ["decorators-legacy", "typescript", "jsx"],
117
- });
108
+ pointer.value.implementationCode = yield ctx.compiler.typescript.beautify(pointer.value.implementationCode);
118
109
  pointer.value.implementationCode = pointer.value.implementationCode
119
110
  .replaceAll('import { MyGlobal } from "../MyGlobal";', "")
120
111
  .replaceAll('import typia, { tags } from "typia";', "")
@@ -128,6 +119,8 @@ const orchestrateRealizeCoder = (ctx, operation, props) => __awaiter(void 0, voi
128
119
  "",
129
120
  pointer.value.implementationCode,
130
121
  ].join("\n");
122
+ files[`src/providers/${props.functionName}.ts`] =
123
+ pointer.value.implementationCode;
131
124
  return Object.assign(Object.assign({}, pointer.value), { functionName: props.functionName });
132
125
  });
133
126
  exports.orchestrateRealizeCoder = orchestrateRealizeCoder;
@@ -172,12 +165,10 @@ const claude = {
172
165
  type: "object",
173
166
  properties: {
174
167
  functionName: {
175
- title: "The name of the function to be generated",
176
168
  description: "The name of the function to be generated.\n\nThis name will be used as the function's identifier and as the export\nname in the provider file.",
177
169
  type: "string"
178
170
  },
179
171
  implementationCode: {
180
- title: "The raw TypeScript code string implementing the function",
181
172
  description: "The raw TypeScript code string implementing the function.\n\n- The implementation must be valid TypeScript code.\n- It should focus solely on the logic of the function.\n- Import statements do **not** need to be included. They will be\n automatically inserted by the system.\n- Any unused imports will be automatically removed by eslint.\n- Type annotations (e.g. for parameters and return types) should be omitted\n if they can be inferred.",
182
173
  type: "string"
183
174
  }
@@ -265,12 +256,10 @@ const collection = {
265
256
  type: "object",
266
257
  properties: {
267
258
  functionName: {
268
- title: "The name of the function to be generated",
269
259
  description: "The name of the function to be generated.\n\nThis name will be used as the function's identifier and as the export\nname in the provider file.",
270
260
  type: "string"
271
261
  },
272
262
  implementationCode: {
273
- title: "The raw TypeScript code string implementing the function",
274
263
  description: "The raw TypeScript code string implementing the function.\n\n- The implementation must be valid TypeScript code.\n- It should focus solely on the logic of the function.\n- Import statements do **not** need to be included. They will be\n automatically inserted by the system.\n- Any unused imports will be automatically removed by eslint.\n- Type annotations (e.g. for parameters and return types) should be omitted\n if they can be inferred.",
275
264
  type: "string"
276
265
  }
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateRealizeCoder.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeCoder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAo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AA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IAEvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,YAAY;QAClB,WAAW;QACX,OAAO,EAAE;YACP,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE;gBACnB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACuC;KAC3C,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
1
+ {"version":3,"file":"orchestrateRealizeCoder.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeCoder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoE;AAIpE,kDAA0B;AAG1B,uEAAoE;AACpE,iEAA8D;AAC9D,uFAAoF;AAEpF,6DAA8C;AAG9C,qFAAkF;AAElF;;;;;;;;;;;;;;;;;GAiBG;AACI,MAAM,uBAAuB,GAAG,CACrC,GAAyB,EACzB,SAAmC,EACnC,KAA2B,EAC3B,KAA6B,EACwC,EAAE;IACvE,MAAM,SAAS,GACb,MAAM,IAAA,mDAAwB,EAAC,GAAG,EAAE;QAClC,QAAQ,EAAE;YACR,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,IAAI,EAAE,SAAS,CAAC,IAAI;SACrB;QACD,YAAY,EAAE,EAAE;KACjB,C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;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { AutoBeOpenApi } from "@autobe/interface";
2
+ import { FAILED } from "../orchestrateRealize";
1
3
  export interface IAutoBeRealizeCoderApplication {
2
4
  programing: (next: IAutoBeRealizeCoderApplication.IProps) => void;
3
5
  }
@@ -30,4 +32,8 @@ export declare namespace IAutoBeRealizeCoderApplication {
30
32
  */
31
33
  implementationCode: string;
32
34
  }
35
+ interface IPipeOutput {
36
+ result: RealizeCoderOutput | FAILED;
37
+ operation: AutoBeOpenApi.IOperation;
38
+ }
33
39
  }
@@ -168,22 +168,18 @@ const claude = {
168
168
  type: "string"
169
169
  },
170
170
  think_again_with_compile_error: {
171
- title: "Step 2: Compilation error analysis and root cause identification",
172
171
  description: "Step 2: Compilation error analysis and root cause identification.\n\nAI re-analyzes the scenario and implementation with full awareness of\ncompilation errors and diagnostic information. This step involves\nsystematic examination of error messages, identification of error\npatterns, and understanding of how compilation issues relate to the\nintended functionality.\n\nThe AI correlates compilation diagnostics with the original requirements\nto understand where the implementation diverged from correct TypeScript\nusage while maintaining the business logic intent. This analysis forms\nthe foundation for targeted error correction strategies.\n\nWorkflow: Error diagnostic analysis \u2192 Root cause identification \u2192\nCorrection strategy planning",
173
172
  type: "string"
174
173
  },
175
174
  draft: {
176
- title: "Step 3: Draft corrected TypeScript E2E test code implementation",
177
175
  description: "Step 3: Draft corrected TypeScript E2E test code implementation.\n\nAI generates the first corrected version of the test code based on error\nanalysis and correction strategies. This draft addresses all identified\ncompilation errors while preserving the original business logic and test\nworkflow. The code must be compilation-error-free and follow all\nestablished conventions.\n\nThe implementation incorporates lessons learned from error analysis to\nproduce properly typed, syntactically correct code that maintains the\nintended test functionality. All type safety requirements and framework\nconventions must be followed in this corrected implementation.\n\nWorkflow: Error correction \u2192 TypeScript implementation \u2192 Functional\npreservation Critical: Must resolve all compilation errors while\nmaintaining original test intent",
178
176
  type: "string"
179
177
  },
180
178
  review: {
181
- title: "Step 4: Code review and correction validation",
182
179
  description: "Step 4: Code review and correction validation.\n\nAI performs a comprehensive review of the corrected draft implementation,\nvalidating that all compilation errors have been resolved and that the\ncode maintains the original functionality. This review examines both\ntechnical correctness and business logic preservation.\n\nThe review process includes verification of TypeScript compilation\ncompatibility, API integration correctness, test workflow completeness,\nand adherence to all quality standards. Any remaining issues or potential\nimprovements are identified for incorporation into the final\nimplementation.\n\nWorkflow: Draft validation \u2192 Compilation verification \u2192 Functionality\nreview \u2192 Quality assessment",
183
180
  type: "string"
184
181
  },
185
182
  final: {
186
- title: "Step 5: Final production-ready corrected test code",
187
183
  description: "Step 5: Final production-ready corrected test code.\n\nAI produces the final, polished version of the corrected test code\nincorporating all review feedback and validation results. This code\nrepresents the completed error correction, guaranteed to compile\nsuccessfully while preserving all original test functionality and\nbusiness logic.\n\nThe final implementation resolves all compilation issues, maintains\nstrict type safety, follows all established conventions, and delivers a\nproduction-ready test that accurately validates the intended API\nbehaviors and user workflows.\n\nWorkflow: Review integration \u2192 Final refinement \u2192 Production-ready\nimplementation This is the ultimate deliverable that will replace the\ncompilation-failed code.",
188
184
  type: "string"
189
185
  }
@@ -270,22 +266,18 @@ const collection = {
270
266
  type: "string"
271
267
  },
272
268
  think_again_with_compile_error: {
273
- title: "Step 2: Compilation error analysis and root cause identification",
274
269
  description: "Step 2: Compilation error analysis and root cause identification.\n\nAI re-analyzes the scenario and implementation with full awareness of\ncompilation errors and diagnostic information. This step involves\nsystematic examination of error messages, identification of error\npatterns, and understanding of how compilation issues relate to the\nintended functionality.\n\nThe AI correlates compilation diagnostics with the original requirements\nto understand where the implementation diverged from correct TypeScript\nusage while maintaining the business logic intent. This analysis forms\nthe foundation for targeted error correction strategies.\n\nWorkflow: Error diagnostic analysis \u2192 Root cause identification \u2192\nCorrection strategy planning",
275
270
  type: "string"
276
271
  },
277
272
  draft: {
278
- title: "Step 3: Draft corrected TypeScript E2E test code implementation",
279
273
  description: "Step 3: Draft corrected TypeScript E2E test code implementation.\n\nAI generates the first corrected version of the test code based on error\nanalysis and correction strategies. This draft addresses all identified\ncompilation errors while preserving the original business logic and test\nworkflow. The code must be compilation-error-free and follow all\nestablished conventions.\n\nThe implementation incorporates lessons learned from error analysis to\nproduce properly typed, syntactically correct code that maintains the\nintended test functionality. All type safety requirements and framework\nconventions must be followed in this corrected implementation.\n\nWorkflow: Error correction \u2192 TypeScript implementation \u2192 Functional\npreservation Critical: Must resolve all compilation errors while\nmaintaining original test intent",
280
274
  type: "string"
281
275
  },
282
276
  review: {
283
- title: "Step 4: Code review and correction validation",
284
277
  description: "Step 4: Code review and correction validation.\n\nAI performs a comprehensive review of the corrected draft implementation,\nvalidating that all compilation errors have been resolved and that the\ncode maintains the original functionality. This review examines both\ntechnical correctness and business logic preservation.\n\nThe review process includes verification of TypeScript compilation\ncompatibility, API integration correctness, test workflow completeness,\nand adherence to all quality standards. Any remaining issues or potential\nimprovements are identified for incorporation into the final\nimplementation.\n\nWorkflow: Draft validation \u2192 Compilation verification \u2192 Functionality\nreview \u2192 Quality assessment",
285
278
  type: "string"
286
279
  },
287
280
  final: {
288
- title: "Step 5: Final production-ready corrected test code",
289
281
  description: "Step 5: Final production-ready corrected test code.\n\nAI produces the final, polished version of the corrected test code\nincorporating all review feedback and validation results. This code\nrepresents the completed error correction, guaranteed to compile\nsuccessfully while preserving all original test functionality and\nbusiness logic.\n\nThe final implementation resolves all compilation issues, maintains\nstrict type safety, follows all established conventions, and delivers a\nproduction-ready test that accurately validates the intended API\nbehaviors and user workflows.\n\nWorkflow: Review integration \u2192 Final refinement \u2192 Production-ready\nimplementation This is the ultimate deliverable that will replace the\ncompilation-failed code.",
290
282
  type: "string"
291
283
  }
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTestCorrect.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestCorrect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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S,CAAC,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC,CAAA,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAiC,KAI1D,EAAqC,EAAE;IACtC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IACvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,kBAAkB;QACxB,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;gBAChB,IAAI,CAAC,KAAK,GAAG,IAAA,mCAAgB,EAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC3D,IAAI,CAAC,KAAK,GAAG,IAAA,mCAAgB,EAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC3D,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACsC;KAC1C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -381,7 +381,6 @@ const claude = {
381
381
  type: "object",
382
382
  properties: {
383
383
  scenarioGroups: {
384
- title: "Array of test scenario groups",
385
384
  description: "Array of test scenario groups.",
386
385
  type: "array",
387
386
  items: {
@@ -398,12 +397,10 @@ const claude = {
398
397
  type: "object",
399
398
  properties: {
400
399
  endpoint: {
401
- title: "Target API endpoint to test",
402
400
  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.",
403
401
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
404
402
  },
405
403
  scenarios: {
406
- title: "An array of test scenarios associated with the given endpoint",
407
404
  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`.",
408
405
  type: "array",
409
406
  items: {
@@ -421,12 +418,10 @@ const claude = {
421
418
  type: "object",
422
419
  properties: {
423
420
  path: {
424
- title: "HTTP path of the API operation",
425
421
  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.",
426
422
  type: "string"
427
423
  },
428
424
  method: {
429
- title: "HTTP method of the API operation",
430
425
  description: "HTTP method of the API operation.\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",
431
426
  oneOf: [
432
427
  {
@@ -461,12 +456,10 @@ const claude = {
461
456
  type: "string"
462
457
  },
463
458
  functionName: {
464
- title: "Descriptive function name derived from the user scenario",
465
459
  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\n- Must start with `test_` prefix (mandatory requirement)\n- Use snake_case formatting throughout\n- Include the primary user action (create, get, update, delete, list, etc.)\n- Specify the target resource (user, product, order, profile, etc.)\n- Add scenario-specific context (valid_data, invalid_email, not_found,\n etc.)\n\n## Content Structure\n\nFunction names should follow this pattern:\n`test_[user_action]_[resource]_[scenario_context]`\n\nWhere:\n\n- `user_action`: What the user is trying to do\n- `resource`: What the user is interacting with\n- `scenario_context`: The specific situation or condition\n\n## User-Focused Examples\n\n- `test_create_user_profile_with_complete_information` - User providing all\n available profile data\n- `test_retrieve_user_profile_when_profile_exists` - User accessing their\n existing profile\n- `test_update_user_email_with_valid_new_address` - User changing their\n email to a valid new one\n- `test_delete_user_account_when_user_lacks_permission` - User attempting\n account deletion without authorization\n- `test_search_user_profiles_with_pagination_preferences` - User browsing\n profiles with specific pagination\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",
466
460
  type: "string"
467
461
  },
468
462
  dependencies: {
469
- title: "A list of other API endpoints that this scenario logically depends on",
470
463
  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`.",
471
464
  type: "array",
472
465
  items: {
@@ -484,7 +477,6 @@ const claude = {
484
477
  type: "object",
485
478
  properties: {
486
479
  endpoint: {
487
- title: "Target API endpoint that this scenario depends on",
488
480
  description: "Target API endpoint that this scenario depends on.",
489
481
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
490
482
  },
@@ -632,7 +624,6 @@ const collection = {
632
624
  type: "object",
633
625
  properties: {
634
626
  scenarioGroups: {
635
- title: "Array of test scenario groups",
636
627
  description: "Array of test scenario groups.",
637
628
  type: "array",
638
629
  items: {
@@ -650,11 +641,9 @@ const collection = {
650
641
  type: "object",
651
642
  properties: {
652
643
  endpoint: {
653
- title: "Target API endpoint to test",
654
644
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
655
645
  },
656
646
  scenarios: {
657
- title: "An array of test scenarios associated with the given endpoint",
658
647
  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`.",
659
648
  type: "array",
660
649
  items: {
@@ -672,12 +661,10 @@ const collection = {
672
661
  type: "object",
673
662
  properties: {
674
663
  path: {
675
- title: "HTTP path of the API operation",
676
664
  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.",
677
665
  type: "string"
678
666
  },
679
667
  method: {
680
- title: "HTTP method of the API operation",
681
668
  description: "HTTP method of the API operation.\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",
682
669
  type: "string",
683
670
  "enum": [
@@ -703,12 +690,10 @@ const collection = {
703
690
  type: "string"
704
691
  },
705
692
  functionName: {
706
- title: "Descriptive function name derived from the user scenario",
707
693
  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\n- Must start with `test_` prefix (mandatory requirement)\n- Use snake_case formatting throughout\n- Include the primary user action (create, get, update, delete, list, etc.)\n- Specify the target resource (user, product, order, profile, etc.)\n- Add scenario-specific context (valid_data, invalid_email, not_found,\n etc.)\n\n## Content Structure\n\nFunction names should follow this pattern:\n`test_[user_action]_[resource]_[scenario_context]`\n\nWhere:\n\n- `user_action`: What the user is trying to do\n- `resource`: What the user is interacting with\n- `scenario_context`: The specific situation or condition\n\n## User-Focused Examples\n\n- `test_create_user_profile_with_complete_information` - User providing all\n available profile data\n- `test_retrieve_user_profile_when_profile_exists` - User accessing their\n existing profile\n- `test_update_user_email_with_valid_new_address` - User changing their\n email to a valid new one\n- `test_delete_user_account_when_user_lacks_permission` - User attempting\n account deletion without authorization\n- `test_search_user_profiles_with_pagination_preferences` - User browsing\n profiles with specific pagination\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",
708
694
  type: "string"
709
695
  },
710
696
  dependencies: {
711
- title: "A list of other API endpoints that this scenario logically depends on",
712
697
  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`.",
713
698
  type: "array",
714
699
  items: {
@@ -727,7 +712,6 @@ const collection = {
727
712
  type: "object",
728
713
  properties: {
729
714
  endpoint: {
730
- title: "Target API endpoint that this scenario depends on",
731
715
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
732
716
  },
733
717
  purpose: {
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTestScenario.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA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AC;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,cAAc;gBACpB,MAAM;aACP,CAAC;IACR,CAAC,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,iBAAiB;QACvB,WAAW;QACX,OAAO,EAAE;YACP,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;gBACrB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACuC;KAC3C,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
1
+ {"version":3,"file":"orchestrateTestScenario.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,0DAsF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E,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,cAAc;gBACpB,MAAM;aACP,CAAC;IACR,CAAC,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,iBAAiB;QACvB,WAAW;QACX,OAAO,EAAE;YACP,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;gBACrB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACuC;KAC3C,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -151,27 +151,22 @@ const claude = {
151
151
  type: "object",
152
152
  properties: {
153
153
  scenario: {
154
- title: "Step 1: Strategic test planning and scenario analysis",
155
154
  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",
156
155
  type: "string"
157
156
  },
158
157
  domain: {
159
- title: "Step 2: Functional domain classification for test organization",
160
158
  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 that\nrepresents the primary API resource.\n\nWorkflow: Scenario analysis \u2192 Domain identification \u2192 Test organization\nstructure",
161
159
  type: "string"
162
160
  },
163
161
  draft: {
164
- title: "Step 3: Initial TypeScript E2E test code implementation",
165
162
  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",
166
163
  type: "string"
167
164
  },
168
165
  review: {
169
- title: "Step 4: Code review and quality assessment",
170
166
  description: "Step 4: Code review and quality assessment.\n\nAI performs a thorough review of the draft implementation, examining:\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-",
171
167
  type: "string"
172
168
  },
173
169
  final: {
174
- title: "Step 5: Final production-ready test code",
175
170
  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. All identified issues\nmust be resolved, and the code must meet the highest quality standards.\n\nWorkflow: Review feedback \u2192 Code refinement \u2192 Production-ready\nimplementation\n\nThis is the ultimate deliverable that will be used in the actual test\nsuite.",
176
171
  type: "string"
177
172
  }
@@ -254,27 +249,22 @@ const collection = {
254
249
  type: "object",
255
250
  properties: {
256
251
  scenario: {
257
- title: "Step 1: Strategic test planning and scenario analysis",
258
252
  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",
259
253
  type: "string"
260
254
  },
261
255
  domain: {
262
- title: "Step 2: Functional domain classification for test organization",
263
256
  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 that\nrepresents the primary API resource.\n\nWorkflow: Scenario analysis \u2192 Domain identification \u2192 Test organization\nstructure",
264
257
  type: "string"
265
258
  },
266
259
  draft: {
267
- title: "Step 3: Initial TypeScript E2E test code implementation",
268
260
  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",
269
261
  type: "string"
270
262
  },
271
263
  review: {
272
- title: "Step 4: Code review and quality assessment",
273
264
  description: "Step 4: Code review and quality assessment.\n\nAI performs a thorough review of the draft implementation, examining:\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-",
274
265
  type: "string"
275
266
  },
276
267
  final: {
277
- title: "Step 5: Final production-ready test code",
278
268
  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. All identified issues\nmust be resolved, and the code must meet the highest quality standards.\n\nWorkflow: Review feedback \u2192 Code refinement \u2192 Production-ready\nimplementation\n\nThis is the ultimate deliverable that will be used in the actual test\nsuite.",
279
269
  type: "string"
280
270
  }
@@ -360,27 +350,22 @@ const collection = {
360
350
  properties: {
361
351
  scenario: {
362
352
  type: "string",
363
- title: "Step 1: Strategic test planning and scenario analysis",
364
353
  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"
365
354
  },
366
355
  domain: {
367
356
  type: "string",
368
- title: "Step 2: Functional domain classification for test organization",
369
357
  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 that\nrepresents the primary API resource.\n\nWorkflow: Scenario analysis \u2192 Domain identification \u2192 Test organization\nstructure"
370
358
  },
371
359
  draft: {
372
360
  type: "string",
373
- title: "Step 3: Initial TypeScript E2E test code implementation",
374
361
  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"
375
362
  },
376
363
  review: {
377
364
  type: "string",
378
- title: "Step 4: Code review and quality assessment",
379
365
  description: "Step 4: Code review and quality assessment.\n\nAI performs a thorough review of the draft implementation, examining:\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-"
380
366
  },
381
367
  final: {
382
368
  type: "string",
383
- title: "Step 5: Final production-ready test code",
384
369
  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. All identified issues\nmust be resolved, and the code must meet the highest quality standards.\n\nWorkflow: Review feedback \u2192 Code refinement \u2192 Production-ready\nimplementation\n\nThis is the ultimate deliverable that will be used in the actual test\nsuite."
385
370
  }
386
371
  },
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTestWrite.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestWrite.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,oDAwCC;;AAzDD,yCAAoE;AAIpE,kDAA0B;AAG1B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA6D;CACnE,CAAC"}
@@ -18,7 +18,6 @@ function transformTestWriteHistories(scenario, artifacts) {
18
18
  type: "object",
19
19
  properties: {
20
20
  endpoint: {
21
- title: "The API endpoint being tested",
22
21
  description: "The API endpoint being tested.\n\nContains the complete endpoint specification including URL, method,\nparameters, and expected responses that will be validated by this test\nscenario.",
23
22
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
24
23
  },
@@ -27,12 +26,10 @@ function transformTestWriteHistories(scenario, artifacts) {
27
26
  type: "string"
28
27
  },
29
28
  functionName: {
30
- title: "Name of the function being tested",
31
29
  description: "Name of the function being tested.\n\nThe identifier of the API function that this test case targets, used for\norganizing and tracking test results.",
32
30
  type: "string"
33
31
  },
34
32
  dependencies: {
35
- title: "Functions that must be called before running the main test",
36
33
  description: "Functions that must be called before running the main test.\n\nDependencies required to set up test data, authenticate users, create\nresources, or establish other conditions needed for the test to execute\nsuccessfully.",
37
34
  type: "array",
38
35
  items: {
@@ -53,12 +50,10 @@ function transformTestWriteHistories(scenario, artifacts) {
53
50
  type: "object",
54
51
  properties: {
55
52
  path: {
56
- title: "HTTP path of the API operation",
57
53
  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.",
58
54
  type: "string"
59
55
  },
60
56
  method: {
61
- title: "HTTP method of the API operation",
62
57
  description: "HTTP method of the API operation.\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",
63
58
  oneOf: [
64
59
  {
@@ -89,12 +84,10 @@ function transformTestWriteHistories(scenario, artifacts) {
89
84
  type: "object",
90
85
  properties: {
91
86
  purpose: {
92
- title: "Why this dependency is needed",
93
87
  description: "Why this dependency is needed.\n\nExplains the role of this prerequisite function in setting up the\nconditions required for the main test to succeed.",
94
88
  type: "string"
95
89
  },
96
90
  endpoint: {
97
- title: "The API endpoint for this dependency function",
98
91
  description: "The API endpoint for this dependency function.\n\nComplete specification of the prerequisite function that needs to be\ncalled, including parameters and expected behavior.",
99
92
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
100
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"transformTestWriteHistories.js","sourceRoot":"","sources":["../../../src/orchestrate/test/transformTestWriteHistories.ts"],"names":[],"mappings":";;;;;AAcA,kEAyDC;AArED,yCAAqE;AACrE,8CAI0B;AAC1B,kDAA0B;AAC1B,+BAA0B;AAK1B,SAAgB,2BAA2B,CACzC,QAA4B,EAC5B,SAAuC;IAEvC,OAAO;QACL;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,mq1CAAsC,OAAO,CACjD,wBAAwB,EACxB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AE,CACT,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,IAAI,CAC/D,KAAK,CACN,CACF;aACA,IAAI,CAAC,IAAI,CAAC;;;QAGX,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC;;KAEhC,CAAC;IACJ,CAAC;IApBe,sCAAU,aAoBzB,CAAA;AACH,CAAC,EAlCgB,2BAA2B,2CAA3B,2BAA2B,QAkC3C"}
1
+ {"version":3,"file":"transformTestWriteHistories.js","sourceRoot":"","sources":["../../../src/orchestrate/test/transformTestWriteHistories.ts"],"names":[],"mappings":";;;;;AAcA,kEAyDC;AArED,yCAAqE;AACrE,8CAI0B;AAC1B,kDAA0B;AAC1B,+BAA0B;AAK1B,SAAgB,2BAA2B,CACzC,QAA4B,EAC5B,SAAuC;IAEvC,OAAO;QACL;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,mq1CAAsC,OAAO,CACjD,wBAAwB,EACxB,IAAI,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAqD,CACpE;SACF;QACD;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,kBAAU,CAAC,IAAI,CAAA;;;;;;;;;;UAUjB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;;;;;;;;;UASxB,2BAA2B,CAAC,UAAU,CAAC,SAAS,CAAC;;;;;;;;UAQjD,2BAA2B,CAAC,UAAU,CAAC,SAAS,CAAC;;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AI backend server code generator",
5
5
  "main": "lib/index.js",
6
6
  "author": "Wrtn Technologies",
@@ -21,31 +21,27 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@agentica/core": "^0.30.2",
24
- "@rollup/plugin-json": "^6.1.0",
25
24
  "@prisma/internals": "^6.7.0",
26
- "@samchon/openapi": "^4.4.1",
27
- "@types/node": "^22.15.18",
28
- "chalk": "4.1.2",
25
+ "@samchon/openapi": "^4.5.0",
29
26
  "openai": "^5.2.0",
30
27
  "tstl": "^3.0.0",
31
- "typia": "^9.4.0",
28
+ "typia": "^9.5.0",
32
29
  "uuid": "^11.1.0",
33
- "@autobe/interface": "^0.10.0",
34
- "@autobe/utils": "^0.10.0"
30
+ "@autobe/utils": "^0.10.1",
31
+ "@autobe/interface": "^0.10.1"
35
32
  },
36
33
  "devDependencies": {
34
+ "@rollup/plugin-json": "^6.1.0",
37
35
  "@rollup/plugin-terser": "^0.4.4",
38
36
  "@rollup/plugin-typescript": "^12.1.2",
39
- "@types/node": "^22.15.19",
40
37
  "@types/uuid": "^10.0.0",
41
- "chalk": "4.1.2",
42
38
  "rimraf": "^6.0.1",
43
39
  "rollup": "^4.40.1",
44
40
  "ts-node": "^10.9.2",
45
41
  "ts-patch": "^3.3.0",
46
42
  "typescript": "~5.8.3",
47
- "@autobe/filesystem": "^0.10.0",
48
- "@autobe/compiler": "^0.10.0"
43
+ "@autobe/compiler": "^0.10.1",
44
+ "@autobe/filesystem": "^0.10.1"
49
45
  },
50
46
  "keywords": [
51
47
  "ai",