@autobe/agent 0.6.0 → 0.7.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 (77) hide show
  1. package/lib/constants/AutoBeSystemPromptConstant.d.ts +4 -1
  2. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  3. package/lib/factory/createAutoBeApplication.js +1 -1
  4. package/lib/factory/createAutoBeApplication.js.map +1 -1
  5. package/lib/index.mjs +1704 -144
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js +15 -18
  8. package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js.map +1 -1
  9. package/lib/orchestrate/analyze/AutoBeAnalyzeReviewer.js +3 -5
  10. package/lib/orchestrate/analyze/AutoBeAnalyzeReviewer.js.map +1 -1
  11. package/lib/orchestrate/analyze/orchestrateAnalyze.d.ts +25 -0
  12. package/lib/orchestrate/analyze/orchestrateAnalyze.js +103 -25
  13. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -1
  14. package/lib/orchestrate/index.d.ts +1 -1
  15. package/lib/orchestrate/index.js +1 -1
  16. package/lib/orchestrate/index.js.map +1 -1
  17. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +3 -1
  18. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
  19. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js +3 -1
  20. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js.map +1 -1
  21. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +3 -1
  22. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
  23. package/lib/orchestrate/interface/transformInterfaceHistories.js +26 -0
  24. package/lib/orchestrate/interface/transformInterfaceHistories.js.map +1 -1
  25. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +6 -5
  26. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  27. package/lib/orchestrate/prisma/transformPrismaComponentsHistories.d.ts +1 -1
  28. package/lib/orchestrate/prisma/transformPrismaComponentsHistories.js +21 -1
  29. package/lib/orchestrate/prisma/transformPrismaComponentsHistories.js.map +1 -1
  30. package/lib/orchestrate/{orchestrateTest.d.ts → test/orchestrateTest.d.ts} +2 -2
  31. package/lib/orchestrate/test/orchestrateTest.js +70 -0
  32. package/lib/orchestrate/test/orchestrateTest.js.map +1 -0
  33. package/lib/orchestrate/test/orchestrateTestCorrect.d.ts +4 -0
  34. package/lib/orchestrate/test/orchestrateTestCorrect.js +543 -0
  35. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -0
  36. package/lib/orchestrate/test/orchestrateTestProgress.d.ts +4 -0
  37. package/lib/orchestrate/test/orchestrateTestProgress.js +403 -0
  38. package/lib/orchestrate/test/orchestrateTestProgress.js.map +1 -0
  39. package/lib/orchestrate/test/orchestrateTestScenario.d.ts +4 -0
  40. package/lib/orchestrate/test/orchestrateTestScenario.js +700 -0
  41. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -0
  42. package/lib/orchestrate/test/transformTestCorrectHistories.d.ts +2 -0
  43. package/lib/orchestrate/test/transformTestCorrectHistories.js +47 -0
  44. package/lib/orchestrate/test/transformTestCorrectHistories.js.map +1 -0
  45. package/lib/orchestrate/test/transformTestHistories.d.ts +3 -0
  46. package/lib/orchestrate/test/transformTestHistories.js +74 -0
  47. package/lib/orchestrate/test/transformTestHistories.js.map +1 -0
  48. package/lib/orchestrate/test/transformTestProgressHistories.d.ts +2 -0
  49. package/lib/orchestrate/test/transformTestProgressHistories.js +47 -0
  50. package/lib/orchestrate/test/transformTestProgressHistories.js.map +1 -0
  51. package/lib/orchestrate/test/transformTestScenarioHistories.d.ts +4 -0
  52. package/lib/orchestrate/test/transformTestScenarioHistories.js +176 -0
  53. package/lib/orchestrate/test/transformTestScenarioHistories.js.map +1 -0
  54. package/package.json +4 -4
  55. package/src/constants/AutoBeSystemPromptConstant.ts +4 -1
  56. package/src/factory/createAutoBeApplication.ts +1 -1
  57. package/src/orchestrate/analyze/AutoBeAnalyzeAgent.ts +18 -21
  58. package/src/orchestrate/analyze/AutoBeAnalyzeReviewer.ts +2 -4
  59. package/src/orchestrate/analyze/orchestrateAnalyze.ts +53 -20
  60. package/src/orchestrate/index.ts +1 -1
  61. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +3 -1
  62. package/src/orchestrate/interface/orchestrateInterfaceComponents.ts +3 -1
  63. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +3 -1
  64. package/src/orchestrate/interface/transformInterfaceHistories.ts +25 -0
  65. package/src/orchestrate/prisma/orchestratePrismaComponent.ts +4 -1
  66. package/src/orchestrate/prisma/transformPrismaComponentsHistories.ts +21 -0
  67. package/src/orchestrate/test/orchestrateTest.ts +86 -0
  68. package/src/orchestrate/test/orchestrateTestCorrect.ts +368 -0
  69. package/src/orchestrate/test/orchestrateTestProgress.ts +264 -0
  70. package/src/orchestrate/test/orchestrateTestScenario.ts +178 -0
  71. package/src/orchestrate/test/transformTestCorrectHistories.ts +51 -0
  72. package/src/orchestrate/test/transformTestHistories.ts +77 -0
  73. package/src/orchestrate/test/transformTestProgressHistories.ts +51 -0
  74. package/src/orchestrate/test/transformTestScenarioHistories.ts +184 -0
  75. package/lib/orchestrate/orchestrateTest.js +0 -19
  76. package/lib/orchestrate/orchestrateTest.js.map +0 -1
  77. package/src/orchestrate/orchestrateTest.ts +0 -18
@@ -0,0 +1,543 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
+ return new (P || (P = Promise))(function (resolve, reject) {
38
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
42
+ });
43
+ };
44
+ var __importDefault = (this && this.__importDefault) || function (mod) {
45
+ return (mod && mod.__esModule) ? mod : { "default": mod };
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.orchestrateTestCorrect = orchestrateTestCorrect;
49
+ const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
50
+ const core_1 = require("@agentica/core");
51
+ const typia_1 = __importDefault(require("typia"));
52
+ const assertSchemaModel_1 = require("../../context/assertSchemaModel");
53
+ const transformTestCorrectHistories_1 = require("./transformTestCorrectHistories");
54
+ function orchestrateTestCorrect(ctx_1, codes_1) {
55
+ return __awaiter(this, arguments, void 0, function* (ctx, codes, retry = 8) {
56
+ var _a, _b;
57
+ // 1) Build map of new test files from progress events
58
+ const testFiles = Object.fromEntries(codes.map(({ filename, content }) => [
59
+ `test/features/api/${filename}`,
60
+ content,
61
+ ]));
62
+ // 2) Keep only files outside the test directory from current state
63
+ const retainedFiles = Object.fromEntries(Object.entries((_b = (_a = ctx.state().interface) === null || _a === void 0 ? void 0 : _a.files) !== null && _b !== void 0 ? _b : {}).filter(([filename]) => !filename.startsWith("test/features/api")));
64
+ // 3) Merge and filter: keep .ts/.json, drop anything under "benchmark"
65
+ const mergedFiles = Object.assign(Object.assign({}, retainedFiles), testFiles);
66
+ const files = Object.fromEntries(Object.entries(mergedFiles).filter(([filename]) => (filename.endsWith(".ts") && !filename.startsWith("test/benchmark/")) ||
67
+ filename.endsWith(".json")));
68
+ // 4) Ask the LLM to correct the filtered file set
69
+ const response = yield step(ctx, files, retry);
70
+ // 5) Combine original + corrected files and dispatch event
71
+ const event = Object.assign(Object.assign({}, response), { type: "testValidate", files: Object.assign(Object.assign({}, mergedFiles), response.files) });
72
+ return event;
73
+ });
74
+ }
75
+ /**
76
+ * Modifies test code for each file and checks for compilation errors. When
77
+ * compilation errors occur, it uses LLM to fix the code and attempts
78
+ * recompilation. This process repeats up to the maximum retry count until
79
+ * compilation succeeds.
80
+ *
81
+ * The function is a critical part of the test generation pipeline that ensures
82
+ * all generated test files are syntactically correct and compilable.
83
+ *
84
+ * @param ctx AutoBe context object
85
+ * @param files Map of files to compile (filename: content)
86
+ * @param life Number of remaining retry attempts
87
+ * @returns Event object containing successful compilation result and modified
88
+ * files
89
+ */
90
+ function step(ctx, files, life) {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
93
+ // COMPILE TEST CODE
94
+ const result = yield ctx.compiler.typescript({
95
+ files,
96
+ });
97
+ if (result.type === "success") {
98
+ // SUCCESS
99
+ return {
100
+ type: "testValidate",
101
+ created_at: new Date().toISOString(),
102
+ files,
103
+ result,
104
+ step: (_b = (_a = ctx.state().interface) === null || _a === void 0 ? void 0 : _a.step) !== null && _b !== void 0 ? _b : 0,
105
+ };
106
+ }
107
+ // EXCEPTION ERROR
108
+ if (result.type === "exception") {
109
+ ctx.dispatch({
110
+ type: "testValidate",
111
+ created_at: new Date().toISOString(),
112
+ files,
113
+ result,
114
+ step: (_d = (_c = ctx.state().interface) === null || _c === void 0 ? void 0 : _c.step) !== null && _d !== void 0 ? _d : 0,
115
+ });
116
+ throw new Error(JSON.stringify(result.error, null, 2));
117
+ }
118
+ // Make the diagnostics object (e.g. { "test/features/api/article.ts": [error1, error2] })
119
+ const diagnostics = {};
120
+ result.diagnostics.forEach((d) => {
121
+ var _a;
122
+ if (d.file === null)
123
+ return;
124
+ diagnostics[d.file] = (_a = diagnostics[d.file]) !== null && _a !== void 0 ? _a : [];
125
+ diagnostics[d.file].push(d);
126
+ });
127
+ if (Object.keys(diagnostics).length === 0) {
128
+ /**
129
+ * SUCCESS (Because typescript compiler can't success to compile the json
130
+ * files, so result could be failure. but it's success to compile the ts
131
+ * files.)
132
+ */
133
+ return {
134
+ type: "testValidate",
135
+ created_at: new Date().toISOString(),
136
+ files,
137
+ result: Object.assign(Object.assign({}, result), { type: "success" }),
138
+ step: (_f = (_e = ctx.state().interface) === null || _e === void 0 ? void 0 : _e.step) !== null && _f !== void 0 ? _f : 0,
139
+ };
140
+ }
141
+ // Compile Failed
142
+ ctx.dispatch({
143
+ type: "testValidate",
144
+ created_at: new Date().toISOString(),
145
+ files,
146
+ result,
147
+ step: (_h = (_g = ctx.state().interface) === null || _g === void 0 ? void 0 : _g.step) !== null && _h !== void 0 ? _h : 0,
148
+ });
149
+ if (life <= 0)
150
+ return {
151
+ type: "testValidate",
152
+ created_at: new Date().toISOString(),
153
+ files,
154
+ result,
155
+ step: (_k = (_j = ctx.state().interface) === null || _j === void 0 ? void 0 : _j.step) !== null && _k !== void 0 ? _k : 0,
156
+ };
157
+ // VALIDATION FAILED
158
+ const validate = yield Promise.all(Object.entries(diagnostics).map((_a) => __awaiter(this, [_a], void 0, function* ([filename, d]) {
159
+ var _b, _c;
160
+ const code = files[filename];
161
+ const response = yield process(ctx, d, code);
162
+ ctx.dispatch({
163
+ type: "testCorrect",
164
+ created_at: new Date().toISOString(),
165
+ files: Object.assign(Object.assign({}, files), { [filename]: response.content }),
166
+ result,
167
+ solution: response.solution,
168
+ think_without_compile_error: response.think_without_compile_error,
169
+ think_again_with_compile_error: response.think_again_with_compile_error,
170
+ step: (_c = (_b = ctx.state().interface) === null || _b === void 0 ? void 0 : _b.step) !== null && _c !== void 0 ? _c : 0,
171
+ });
172
+ // Return [filename, modified code]
173
+ return [filename, response.content];
174
+ })));
175
+ const newFiles = Object.assign(Object.assign({}, files), Object.fromEntries(validate));
176
+ return step(ctx, newFiles, life - 1);
177
+ });
178
+ }
179
+ /**
180
+ * Modifies the code of test files where errors occurred. This function
181
+ * processes TypeScript compiler diagnostics and attempts to fix compilation
182
+ * errors.
183
+ *
184
+ * @param ctx The AutoBeContext containing application state and configuration
185
+ * @param diagnostics Array of TypeScript compiler diagnostics for the errors
186
+ * @param code The source code content to be fixed
187
+ * @returns Promise resolving to corrected test function properties
188
+ */
189
+ function process(ctx, diagnostics, code) {
190
+ return __awaiter(this, void 0, void 0, function* () {
191
+ var _a, _b, _c, _d, _e;
192
+ const pointer = {
193
+ value: null,
194
+ };
195
+ const apiFiles = Object.entries((_b = (_a = ctx.state().interface) === null || _a === void 0 ? void 0 : _a.files) !== null && _b !== void 0 ? _b : {})
196
+ .filter(([filename]) => {
197
+ return filename.startsWith("src/api/");
198
+ })
199
+ .reduce((acc, [filename, content]) => {
200
+ return Object.assign(acc, { [filename]: content });
201
+ }, {});
202
+ const dtoFiles = Object.entries((_d = (_c = ctx.state().interface) === null || _c === void 0 ? void 0 : _c.files) !== null && _d !== void 0 ? _d : {})
203
+ .filter(([filename]) => {
204
+ return filename.startsWith("src/api/structures/");
205
+ })
206
+ .reduce((acc, [filename, content]) => {
207
+ return Object.assign(acc, { [filename]: content });
208
+ }, {});
209
+ const agentica = new core_1.MicroAgentica({
210
+ model: ctx.model,
211
+ vendor: Object.assign({}, ctx.vendor),
212
+ config: Object.assign({}, ((_e = ctx.config) !== null && _e !== void 0 ? _e : {})),
213
+ histories: (0, transformTestCorrectHistories_1.transformTestCorrectHistories)(apiFiles, dtoFiles),
214
+ controllers: [
215
+ createApplication({
216
+ model: ctx.model,
217
+ build: (next) => {
218
+ pointer.value = next;
219
+ },
220
+ }),
221
+ ],
222
+ });
223
+ agentica.on("request", (event) => __awaiter(this, void 0, void 0, function* () {
224
+ if (event.body.tools)
225
+ event.body.tool_choice = "required";
226
+ }));
227
+ yield agentica.conversate([
228
+ "Fix the compilation error in the provided code.",
229
+ "",
230
+ "## Original Code",
231
+ "```typescript",
232
+ code,
233
+ "```",
234
+ "",
235
+ diagnostics.map((diagnostic) => {
236
+ if (diagnostic.start === undefined || diagnostic.length === undefined)
237
+ return "";
238
+ return [
239
+ "## Error Information",
240
+ `- Position: Characters ${diagnostic.start} to ${diagnostic.start + diagnostic.length}`,
241
+ `- Error Message: ${diagnostic.messageText}`,
242
+ `- Problematic Code: \`${code.substring(diagnostic.start, diagnostic.start + diagnostic.length)}\``,
243
+ "",
244
+ ].join("\n");
245
+ }),
246
+ "## Instructions",
247
+ "1. Focus on the specific error location and message",
248
+ "2. Provide the corrected TypeScript code",
249
+ "3. Ensure the fix resolves the compilation error",
250
+ "",
251
+ "Return only the fixed code without explanations.",
252
+ ].join("\n"));
253
+ if (pointer.value === null)
254
+ throw new Error("Failed to modify test code.");
255
+ return pointer.value;
256
+ });
257
+ }
258
+ function createApplication(props) {
259
+ (0, assertSchemaModel_1.assertSchemaModel)(props.model);
260
+ const application = collection[props.model];
261
+ return {
262
+ protocol: "class",
263
+ name: "Modify Test Code",
264
+ application,
265
+ execute: {
266
+ correctTestCode: (next) => {
267
+ props.build(next);
268
+ },
269
+ },
270
+ };
271
+ }
272
+ const claude = {
273
+ model: "claude",
274
+ options: {
275
+ reference: true,
276
+ separate: null
277
+ },
278
+ functions: [
279
+ {
280
+ name: "correctTestCode",
281
+ parameters: {
282
+ description: "Current Type: {@link ICorrectTestFunctionProps}",
283
+ type: "object",
284
+ properties: {
285
+ think_without_compile_error: {
286
+ description: "Step 1: Initial self-reflection on the source code without compiler error\ncontext.\n\nThe AI agent analyzes the previously generated test code to identify\npotential issues, relying solely on its understanding of TypeScript syntax,\ntesting patterns, and best practices.\n\nThis encourages the agent to develop independent debugging skills before\nbeing influenced by external error messages.",
287
+ type: "string"
288
+ },
289
+ think_again_with_compile_error: {
290
+ description: "Step 2: Re-evaluation of the code with compiler error messages as\nadditional context.\n\nAfter the initial analysis, the AI agent reviews the same code again, this\ntime incorporating the specific TypeScript compiler error messages.\n\nThis allows the agent to correlate its initial observations with concrete\ncompilation failures and refine its understanding of what went wrong.",
291
+ type: "string"
292
+ },
293
+ solution: {
294
+ title: "Step 3: Concrete action plan for fixing the identified issues",
295
+ description: "Step 3: Concrete action plan for fixing the identified issues.\n\nBased on the analysis from steps 1 and 2, the AI agent formulates a\nspecific, step-by-step solution strategy.\n\nThis should include what changes need to be made, why those changes are\nnecessary, and how they will resolve the compilation errors while\nmaintaining the test's intended functionality.",
296
+ type: "string"
297
+ },
298
+ content: {
299
+ title: "Step 4: The corrected TypeScript test code",
300
+ description: "Step 4: The corrected TypeScript test code.\n\nThe final, properly fixed TypeScript code that should compile without\nerrors.\n\nThis represents the implementation of the solution plan from step 3,\ncontaining all necessary corrections to make the test code syntactically\nvalid and functionally correct.",
301
+ type: "string"
302
+ }
303
+ },
304
+ required: [
305
+ "think_without_compile_error",
306
+ "think_again_with_compile_error",
307
+ "solution",
308
+ "content"
309
+ ],
310
+ additionalProperties: false,
311
+ $defs: {}
312
+ },
313
+ validate: (() => { const _io0 = input => "string" === typeof input.think_without_compile_error && "string" === typeof input.think_again_with_compile_error && "string" === typeof input.solution && "string" === typeof input.content; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think_without_compile_error || _report(_exceptionable, {
314
+ path: _path + ".think_without_compile_error",
315
+ expected: "string",
316
+ value: input.think_without_compile_error
317
+ }), "string" === typeof input.think_again_with_compile_error || _report(_exceptionable, {
318
+ path: _path + ".think_again_with_compile_error",
319
+ expected: "string",
320
+ value: input.think_again_with_compile_error
321
+ }), "string" === typeof input.solution || _report(_exceptionable, {
322
+ path: _path + ".solution",
323
+ expected: "string",
324
+ value: input.solution
325
+ }), "string" === typeof input.content || _report(_exceptionable, {
326
+ path: _path + ".content",
327
+ expected: "string",
328
+ value: input.content
329
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
330
+ if (false === __is(input)) {
331
+ errors = [];
332
+ _report = __typia_transform__validateReport._validateReport(errors);
333
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
334
+ path: _path + "",
335
+ expected: "ICorrectTestFunctionProps",
336
+ value: input
337
+ })) && _vo0(input, _path + "", true) || _report(true, {
338
+ path: _path + "",
339
+ expected: "ICorrectTestFunctionProps",
340
+ value: input
341
+ }))(input, "$input", true);
342
+ const success = 0 === errors.length;
343
+ return success ? {
344
+ success,
345
+ data: input
346
+ } : {
347
+ success,
348
+ errors,
349
+ data: input
350
+ };
351
+ }
352
+ return {
353
+ success: true,
354
+ data: input
355
+ };
356
+ }; })()
357
+ }
358
+ ]
359
+ };
360
+ const collection = {
361
+ chatgpt: {
362
+ model: "chatgpt",
363
+ options: {
364
+ reference: true,
365
+ strict: false,
366
+ separate: null
367
+ },
368
+ functions: [
369
+ {
370
+ name: "correctTestCode",
371
+ parameters: {
372
+ description: "Current Type: {@link ICorrectTestFunctionProps}",
373
+ type: "object",
374
+ properties: {
375
+ think_without_compile_error: {
376
+ description: "Step 1: Initial self-reflection on the source code without compiler error\ncontext.\n\nThe AI agent analyzes the previously generated test code to identify\npotential issues, relying solely on its understanding of TypeScript syntax,\ntesting patterns, and best practices.\n\nThis encourages the agent to develop independent debugging skills before\nbeing influenced by external error messages.",
377
+ type: "string"
378
+ },
379
+ think_again_with_compile_error: {
380
+ description: "Step 2: Re-evaluation of the code with compiler error messages as\nadditional context.\n\nAfter the initial analysis, the AI agent reviews the same code again, this\ntime incorporating the specific TypeScript compiler error messages.\n\nThis allows the agent to correlate its initial observations with concrete\ncompilation failures and refine its understanding of what went wrong.",
381
+ type: "string"
382
+ },
383
+ solution: {
384
+ title: "Step 3: Concrete action plan for fixing the identified issues",
385
+ description: "Step 3: Concrete action plan for fixing the identified issues.\n\nBased on the analysis from steps 1 and 2, the AI agent formulates a\nspecific, step-by-step solution strategy.\n\nThis should include what changes need to be made, why those changes are\nnecessary, and how they will resolve the compilation errors while\nmaintaining the test's intended functionality.",
386
+ type: "string"
387
+ },
388
+ content: {
389
+ title: "Step 4: The corrected TypeScript test code",
390
+ description: "Step 4: The corrected TypeScript test code.\n\nThe final, properly fixed TypeScript code that should compile without\nerrors.\n\nThis represents the implementation of the solution plan from step 3,\ncontaining all necessary corrections to make the test code syntactically\nvalid and functionally correct.",
391
+ type: "string"
392
+ }
393
+ },
394
+ required: [
395
+ "think_without_compile_error",
396
+ "think_again_with_compile_error",
397
+ "solution",
398
+ "content"
399
+ ],
400
+ additionalProperties: false,
401
+ $defs: {}
402
+ },
403
+ validate: (() => { const _io0 = input => "string" === typeof input.think_without_compile_error && "string" === typeof input.think_again_with_compile_error && "string" === typeof input.solution && "string" === typeof input.content; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think_without_compile_error || _report(_exceptionable, {
404
+ path: _path + ".think_without_compile_error",
405
+ expected: "string",
406
+ value: input.think_without_compile_error
407
+ }), "string" === typeof input.think_again_with_compile_error || _report(_exceptionable, {
408
+ path: _path + ".think_again_with_compile_error",
409
+ expected: "string",
410
+ value: input.think_again_with_compile_error
411
+ }), "string" === typeof input.solution || _report(_exceptionable, {
412
+ path: _path + ".solution",
413
+ expected: "string",
414
+ value: input.solution
415
+ }), "string" === typeof input.content || _report(_exceptionable, {
416
+ path: _path + ".content",
417
+ expected: "string",
418
+ value: input.content
419
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
420
+ if (false === __is(input)) {
421
+ errors = [];
422
+ _report = __typia_transform__validateReport._validateReport(errors);
423
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
424
+ path: _path + "",
425
+ expected: "ICorrectTestFunctionProps",
426
+ value: input
427
+ })) && _vo0(input, _path + "", true) || _report(true, {
428
+ path: _path + "",
429
+ expected: "ICorrectTestFunctionProps",
430
+ value: input
431
+ }))(input, "$input", true);
432
+ const success = 0 === errors.length;
433
+ return success ? {
434
+ success,
435
+ data: input
436
+ } : {
437
+ success,
438
+ errors,
439
+ data: input
440
+ };
441
+ }
442
+ return {
443
+ success: true,
444
+ data: input
445
+ };
446
+ }; })()
447
+ }
448
+ ]
449
+ },
450
+ claude,
451
+ llama: claude,
452
+ deepseek: claude,
453
+ "3.1": claude,
454
+ "3.0": {
455
+ model: "3.0",
456
+ options: {
457
+ constraint: true,
458
+ recursive: 3,
459
+ separate: null
460
+ },
461
+ functions: [
462
+ {
463
+ name: "correctTestCode",
464
+ parameters: {
465
+ type: "object",
466
+ properties: {
467
+ think_without_compile_error: {
468
+ type: "string",
469
+ description: "Step 1: Initial self-reflection on the source code without compiler error\ncontext.\n\nThe AI agent analyzes the previously generated test code to identify\npotential issues, relying solely on its understanding of TypeScript syntax,\ntesting patterns, and best practices.\n\nThis encourages the agent to develop independent debugging skills before\nbeing influenced by external error messages."
470
+ },
471
+ think_again_with_compile_error: {
472
+ type: "string",
473
+ description: "Step 2: Re-evaluation of the code with compiler error messages as\nadditional context.\n\nAfter the initial analysis, the AI agent reviews the same code again, this\ntime incorporating the specific TypeScript compiler error messages.\n\nThis allows the agent to correlate its initial observations with concrete\ncompilation failures and refine its understanding of what went wrong."
474
+ },
475
+ solution: {
476
+ type: "string",
477
+ title: "Step 3: Concrete action plan for fixing the identified issues",
478
+ description: "Step 3: Concrete action plan for fixing the identified issues.\n\nBased on the analysis from steps 1 and 2, the AI agent formulates a\nspecific, step-by-step solution strategy.\n\nThis should include what changes need to be made, why those changes are\nnecessary, and how they will resolve the compilation errors while\nmaintaining the test's intended functionality."
479
+ },
480
+ content: {
481
+ type: "string",
482
+ title: "Step 4: The corrected TypeScript test code",
483
+ description: "Step 4: The corrected TypeScript test code.\n\nThe final, properly fixed TypeScript code that should compile without\nerrors.\n\nThis represents the implementation of the solution plan from step 3,\ncontaining all necessary corrections to make the test code syntactically\nvalid and functionally correct."
484
+ }
485
+ },
486
+ required: [
487
+ "think_without_compile_error",
488
+ "think_again_with_compile_error",
489
+ "solution",
490
+ "content"
491
+ ],
492
+ description: "Current Type: {@link ICorrectTestFunctionProps}",
493
+ additionalProperties: false
494
+ },
495
+ validate: (() => { const _io0 = input => "string" === typeof input.think_without_compile_error && "string" === typeof input.think_again_with_compile_error && "string" === typeof input.solution && "string" === typeof input.content; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think_without_compile_error || _report(_exceptionable, {
496
+ path: _path + ".think_without_compile_error",
497
+ expected: "string",
498
+ value: input.think_without_compile_error
499
+ }), "string" === typeof input.think_again_with_compile_error || _report(_exceptionable, {
500
+ path: _path + ".think_again_with_compile_error",
501
+ expected: "string",
502
+ value: input.think_again_with_compile_error
503
+ }), "string" === typeof input.solution || _report(_exceptionable, {
504
+ path: _path + ".solution",
505
+ expected: "string",
506
+ value: input.solution
507
+ }), "string" === typeof input.content || _report(_exceptionable, {
508
+ path: _path + ".content",
509
+ expected: "string",
510
+ value: input.content
511
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
512
+ if (false === __is(input)) {
513
+ errors = [];
514
+ _report = __typia_transform__validateReport._validateReport(errors);
515
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
516
+ path: _path + "",
517
+ expected: "ICorrectTestFunctionProps",
518
+ value: input
519
+ })) && _vo0(input, _path + "", true) || _report(true, {
520
+ path: _path + "",
521
+ expected: "ICorrectTestFunctionProps",
522
+ value: input
523
+ }))(input, "$input", true);
524
+ const success = 0 === errors.length;
525
+ return success ? {
526
+ success,
527
+ data: input
528
+ } : {
529
+ success,
530
+ errors,
531
+ data: input
532
+ };
533
+ }
534
+ return {
535
+ success: true,
536
+ data: input
537
+ };
538
+ }; })()
539
+ }
540
+ ]
541
+ },
542
+ };
543
+ //# sourceMappingURL=orchestrateTestCorrect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orchestrateTestCorrect.js","sourceRoot":"","sources":["../../../src/orchestrate/test/orchestrateTestCorrect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,wDAyCC;;AAvDD,yCAAoE;AAQpE,kDAA0B;AAG1B,uEAAoE;AACpE,mFAAgF;AAEhF,SAAsB,sBAAsB;yDAC1C,GAAyB,EACzB,KAAgC,EAChC,KAAK,GAAG,CAAC;;QAET,sDAAsD;QACtD,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAClC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;YACnC,qBAAqB,QAAQ,EAAE;YAC/B,OAAO;SACR,CAAC,CACH,CAAC;QAEF,mEAAmE;QACnE,MAAM,aAAa,GAAG,MAAM,CAAC,WAAW,CACtC,MAAM,CAAC,OAAO,CAAC,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,SAAS,0CAAE,KAAK,mCAAI,EAAE,CAAC,CAAC,MAAM,CACvD,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAC1D,CACF,CAAC;QAEF,uEAAuE;QACvE,MAAM,WAAW,mCAAQ,aAAa,GAAK,SA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;;;;;;;;;;;KAA8C;CACpD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AutoBeTest, AutoBeTestProgressEvent } from "@autobe/interface";
2
+ import { ILlmSchema } from "@samchon/openapi";
3
+ import { AutoBeContext } from "../../context/AutoBeContext";
4
+ export declare function orchestrateTestProgress<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>, scenarios: AutoBeTest.Scenario[]): Promise<AutoBeTestProgressEvent[]>;