@ethosagent/core 0.4.8 → 0.4.9
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2004,7 +2004,7 @@ var DefaultToolRegistry = class {
|
|
|
2004
2004
|
};
|
|
2005
2005
|
}
|
|
2006
2006
|
const isMcpOrPluginTool = call.name.startsWith("mcp__") || entry.pluginId !== void 0;
|
|
2007
|
-
if (!isMcpOrPluginTool && allowedTools && !allowedTools.includes(call.name)) {
|
|
2007
|
+
if (!isMcpOrPluginTool && !entry.tool.alwaysInclude && allowedTools && !allowedTools.includes(call.name)) {
|
|
2008
2008
|
return {
|
|
2009
2009
|
toolCallId: call.toolCallId,
|
|
2010
2010
|
name: call.name,
|