@debugg-ai/debugg-ai-mcp 2.9.0 → 2.9.2
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.
- package/dist/services/workflows.js +4 -17
- package/package.json +1 -1
|
@@ -29,23 +29,10 @@ export const createWorkflowsService = (tx) => {
|
|
|
29
29
|
return match;
|
|
30
30
|
},
|
|
31
31
|
async findEvaluationTemplate() {
|
|
32
|
-
//
|
|
33
|
-
//
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const envOverride = process.env.DEBUGGAI_EVAL_TEMPLATE;
|
|
37
|
-
const keywords = envOverride
|
|
38
|
-
? [envOverride]
|
|
39
|
-
: ['app evaluation', 'evaluation workflow'];
|
|
40
|
-
for (const keyword of keywords) {
|
|
41
|
-
try {
|
|
42
|
-
return await service.findTemplateByName(keyword);
|
|
43
|
-
}
|
|
44
|
-
catch {
|
|
45
|
-
// keyword not matched on this backend, try next
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return null;
|
|
32
|
+
// 'app evaluation workflow' is specific enough to skip 'App Evaluation Brain'
|
|
33
|
+
// (subworkflow, no browser lifecycle) which also contains 'app evaluation'.
|
|
34
|
+
const keyword = process.env.DEBUGGAI_EVAL_TEMPLATE || 'app evaluation workflow';
|
|
35
|
+
return service.findTemplateByName(keyword);
|
|
49
36
|
},
|
|
50
37
|
async executeWorkflow(workflowUuid, contextData, env) {
|
|
51
38
|
const body = { contextData };
|