@mondaydotcomorg/atp-server 0.19.13 → 0.19.14

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.13",
3
+ "version": "0.19.14",
4
4
  "description": "Server implementation for Agent Tool Protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -49,7 +49,7 @@
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.12",
52
+ "@mondaydotcomorg/atp-compiler": "0.19.13",
53
53
  "@mondaydotcomorg/atp-protocol": "0.19.11",
54
54
  "@mondaydotcomorg/atp-provenance": "0.19.10",
55
55
  "@mondaydotcomorg/atp-providers": "0.19.11",
@@ -9,7 +9,7 @@ import { log } from '@mondaydotcomorg/atp-runtime';
9
9
  /**
10
10
  * Callback request types
11
11
  */
12
- export type CallbackType = 'llm' | 'approval' | 'embedding';
12
+ export type CallbackType = 'llm' | 'approval' | 'embedding' | 'tool';
13
13
 
14
14
  /**
15
15
  * Callback request payload
@@ -95,7 +95,7 @@ export class ClientCallbackManager {
95
95
  * @param serviceType - Type of service
96
96
  * @returns Whether client provides this service
97
97
  */
98
- hasClientService(clientId: string, serviceType: 'llm' | 'approval' | 'embedding'): boolean {
98
+ hasClientService(clientId: string, serviceType: CallbackType): boolean {
99
99
  const client = this.clients.get(clientId);
100
100
  if (!client) return false;
101
101
 
@@ -106,6 +106,8 @@ export class ClientCallbackManager {
106
106
  return client.services.hasApproval;
107
107
  case 'embedding':
108
108
  return client.services.hasEmbedding;
109
+ case 'tool':
110
+ return client.services.hasTools;
109
111
  default:
110
112
  return false;
111
113
  }
@@ -129,3 +129,4 @@ export function filterApiGroups(
129
129
  .filter((group): group is APIGroupConfig => group !== null);
130
130
  }
131
131
 
132
+