@mondaydotcomorg/atp-server 0.19.14 → 0.19.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/atp-server",
3
- "version": "0.19.14",
3
+ "version": "0.19.16",
4
4
  "description": "Server implementation for Agent Tool Protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -49,11 +49,11 @@
49
49
  "@babel/parser": "^7.26.0",
50
50
  "@babel/traverse": "^7.26.0",
51
51
  "@babel/types": "^7.26.0",
52
- "@mondaydotcomorg/atp-compiler": "0.19.13",
53
- "@mondaydotcomorg/atp-protocol": "0.19.11",
54
- "@mondaydotcomorg/atp-provenance": "0.19.10",
55
- "@mondaydotcomorg/atp-providers": "0.19.11",
56
- "@mondaydotcomorg/atp-runtime": "0.19.10",
52
+ "@mondaydotcomorg/atp-compiler": "0.19.14",
53
+ "@mondaydotcomorg/atp-protocol": "0.19.12",
54
+ "@mondaydotcomorg/atp-provenance": "0.19.11",
55
+ "@mondaydotcomorg/atp-providers": "0.19.12",
56
+ "@mondaydotcomorg/atp-runtime": "0.19.11",
57
57
  "@opentelemetry/api": "^1.9.0",
58
58
  "@opentelemetry/auto-instrumentations-node": "^0.66.0",
59
59
  "@opentelemetry/core": "^2.2.0",
@@ -253,11 +253,10 @@ export class ExplorerService {
253
253
  [];
254
254
  if (current.children) {
255
255
  for (const [name, node] of current.children) {
256
- // Filter directories and functions based on tool rules
257
256
  if (node.type === 'directory') {
258
257
  if (!this.isDirectoryAllowed(name, currentPath, ctx)) continue;
259
258
  } else if (node.type === 'function' && node.functionDef) {
260
- if (!ctx.allowedTools.has(`${node.functionDef.group}:${name}`)) continue;
259
+ if (!ctx.allowedTools.has(`${node.functionDef.group}:${node.functionDef.func.name}`)) continue;
261
260
  }
262
261
 
263
262
  const item: { name: string; type: 'directory' | 'function'; description?: string } = {