@forge/manifest 13.5.0-next.4 → 13.5.0-next.5
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/CHANGELOG.md
CHANGED
package/out/text/errors.js
CHANGED
|
@@ -197,7 +197,7 @@ exports.errors = {
|
|
|
197
197
|
incorrectMcp: (module, toolKey) => `${module} references undefined action module with key '${toolKey}'.`
|
|
198
198
|
},
|
|
199
199
|
action: {
|
|
200
|
-
unreferencedAction: (action) => `Action '${action}' is not referenced by any Rovo
|
|
200
|
+
unreferencedAction: (action) => `Action '${action}' is not referenced by any Rovo module or automation:actionProvider module.`,
|
|
201
201
|
tooManyAutomationActions: (limit) => `App is allowed to define max ${limit} actions within automation:actionProvider modules`,
|
|
202
202
|
undefinedAutomationActionReference: (module, moduleKey) => `${module} references undefined action module with key '${moduleKey}'.`
|
|
203
203
|
},
|
|
@@ -18,6 +18,7 @@ function getUnreferencedActions(allModules) {
|
|
|
18
18
|
const allActions = new Set((allModules[actionKey]?.map((action) => action.key) ?? []));
|
|
19
19
|
const rovoAgents = allModules[types_1.AllModuleTypes.RovoAgent];
|
|
20
20
|
const rovoSkills = allModules[types_1.AllModuleTypes.RovoSkill];
|
|
21
|
+
const rovoMcps = allModules[types_1.AllModuleTypes.RovoMcp];
|
|
21
22
|
const automationActionProviders = allModules[types_1.AllModuleTypes.AutomationActionProvider];
|
|
22
23
|
rovoAgents?.forEach((agent) => {
|
|
23
24
|
agent.actions?.forEach((action) => {
|
|
@@ -29,6 +30,11 @@ function getUnreferencedActions(allModules) {
|
|
|
29
30
|
allActions.delete(tool);
|
|
30
31
|
});
|
|
31
32
|
});
|
|
33
|
+
rovoMcps?.forEach((mcp) => {
|
|
34
|
+
mcp.tools?.forEach((tool) => {
|
|
35
|
+
allActions.delete(tool);
|
|
36
|
+
});
|
|
37
|
+
});
|
|
32
38
|
automationActionProviders?.forEach((actionProvider) => {
|
|
33
39
|
actionProvider.actions?.forEach((action) => {
|
|
34
40
|
allActions.delete(action);
|