wolfpack-mcp 1.0.74 → 1.0.75
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/procedureTools.js +7 -2
- package/package.json +1 -1
package/dist/procedureTools.js
CHANGED
|
@@ -28,6 +28,11 @@ const FORM_FIELD_ITEM_SCHEMA = {
|
|
|
28
28
|
},
|
|
29
29
|
required: ['name', 'label', 'type', 'required'],
|
|
30
30
|
};
|
|
31
|
+
const DEFINITION_DESCRIPTION = 'Workflow definition: { nodes: [{id, type, position: {x, y}, data: {...}}], edges: [{id, source, target}] }. ' +
|
|
32
|
+
'An activity node needs data.activityType (task, createWorkItem, sendNotification, httpRequest, createCase, ' +
|
|
33
|
+
'setVariable, createPage, createJournalEntry, llmPrompt, jsonata, agentTask, runContainer), data.label, and ' +
|
|
34
|
+
"data.config holding that type's settings — the step body belongs in data.config.description, not data.description. " +
|
|
35
|
+
'Use activityType "task" for a step a person just reads and ticks off.';
|
|
31
36
|
export const PROCEDURE_TOOLS = [
|
|
32
37
|
{
|
|
33
38
|
name: 'list_procedures',
|
|
@@ -85,7 +90,7 @@ export const PROCEDURE_TOOLS = [
|
|
|
85
90
|
description: { type: 'string', description: 'Short description' },
|
|
86
91
|
definition: {
|
|
87
92
|
type: 'object',
|
|
88
|
-
description:
|
|
93
|
+
description: DEFINITION_DESCRIPTION,
|
|
89
94
|
},
|
|
90
95
|
form_definition: {
|
|
91
96
|
type: ['array', 'null'],
|
|
@@ -130,7 +135,7 @@ export const PROCEDURE_TOOLS = [
|
|
|
130
135
|
},
|
|
131
136
|
definition: {
|
|
132
137
|
type: 'object',
|
|
133
|
-
description:
|
|
138
|
+
description: `Updated definition — changes increment version. ${DEFINITION_DESCRIPTION}`,
|
|
134
139
|
},
|
|
135
140
|
form_definition: {
|
|
136
141
|
type: ['array', 'null'],
|