@mondaydotcomorg/agent-toolkit 5.22.1 → 5.32.0

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.
@@ -52,7 +52,7 @@ type ToolsConfiguration = {
52
52
  enableToolManager?: boolean;
53
53
  };
54
54
  type MondayAgentToolkitConfig = {
55
- mondayApiToken: ApiClientConfig['token'];
55
+ mondayApiToken: ApiClientConfig['token'] | (() => string);
56
56
  mondayApiVersion?: ApiClientConfig['apiVersion'];
57
57
  mondayApiEndpoint?: ApiClientConfig['endpoint'];
58
58
  mondayApiRequestConfig?: ApiClientConfig['requestConfig'];
@@ -70,6 +70,7 @@ declare class MondayAgentToolkit extends McpServer {
70
70
  private readonly mondayApiClient;
71
71
  private readonly mondayApiToken;
72
72
  private readonly context?;
73
+ private readonly toolkitConfig;
73
74
  private readonly dynamicToolManager;
74
75
  private toolInstances;
75
76
  private managementTool;
@@ -78,6 +79,7 @@ declare class MondayAgentToolkit extends McpServer {
78
79
  * @param config Configuration for the toolkit
79
80
  */
80
81
  constructor(config: MondayAgentToolkitConfig);
82
+ private createApiClientFromToken;
81
83
  /**
82
84
  * Create and configure the Monday API client
83
85
  */