@mondaydotcomorg/agent-toolkit 5.70.3 → 5.71.1

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.
@@ -39,6 +39,7 @@ type MondayApiToolContext = {
39
39
  agentClientName?: string;
40
40
  clientRedirectUris?: string[];
41
41
  fetchConfig?: FetchConfig;
42
+ deps?: MondayAgentToolkitDeps;
42
43
  };
43
44
 
44
45
  declare enum ToolMode {
@@ -66,6 +67,14 @@ type MondayFetch = (request: MondayFetchRequest) => Promise<Response>;
66
67
  type FetchConfig = {
67
68
  fetch?: MondayFetch;
68
69
  };
70
+ type FlagChecker = (flagKey: string) => boolean;
71
+ type ToolkitLogger = {
72
+ warn(fields: Record<string, unknown>, message: string): void;
73
+ };
74
+ type MondayAgentToolkitDeps = {
75
+ flagChecker?: FlagChecker;
76
+ logger?: ToolkitLogger;
77
+ };
69
78
  type MondayAgentToolkitConfig = {
70
79
  mondayApiToken: ApiClientConfig['token'] | (() => string);
71
80
  mondayApiVersion?: ApiClientConfig['apiVersion'];
@@ -74,6 +83,7 @@ type MondayAgentToolkitConfig = {
74
83
  toolsConfiguration?: ToolsConfiguration;
75
84
  context?: MondayApiToolContext;
76
85
  fetchConfig?: FetchConfig;
86
+ deps?: MondayAgentToolkitDeps;
77
87
  };
78
88
 
79
89
  declare class MondayAgentToolkit {