windmill-cli 1.563.4 → 1.565.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.
@@ -22,7 +22,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
22
22
  import { pull, push } from "./commands/sync/sync.js";
23
23
  import { add as workspaceAdd } from "./commands/workspace/workspace.js";
24
24
  export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
25
- export declare const VERSION = "1.563.4";
25
+ export declare const VERSION = "1.565.0";
26
26
  export declare const WM_FORK_PREFIX = "wm-fork";
27
27
  declare const command: Command<{
28
28
  workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
@@ -164,7 +164,18 @@ export type AiAgent = {
164
164
  input_transforms: {
165
165
  [key: string]: InputTransform;
166
166
  };
167
- tools: Array<FlowModule>;
167
+ tools: Array<{
168
+ id: string;
169
+ summary?: string;
170
+ value: (({
171
+ tool_type: 'flowmodule';
172
+ } & FlowModuleValue) | {
173
+ tool_type: 'mcp';
174
+ resource_path: string;
175
+ include_tools?: Array<(string)>;
176
+ exclude_tools?: Array<(string)>;
177
+ });
178
+ }>;
168
179
  type: 'aiagent';
169
180
  parallel?: boolean;
170
181
  };
@@ -223,6 +234,14 @@ export type FlowStatusModule = {
223
234
  function_name: string;
224
235
  type: 'tool_call';
225
236
  module_id: string;
237
+ } | {
238
+ call_id: string;
239
+ function_name: string;
240
+ resource_path: string;
241
+ type: 'mcp_tool_call';
242
+ arguments?: {
243
+ [key: string]: unknown;
244
+ };
226
245
  } | {
227
246
  type: 'message';
228
247
  })>;
@@ -3899,6 +3918,17 @@ export type ListSearchResourceResponse = (Array<{
3899
3918
  path: string;
3900
3919
  value: unknown;
3901
3920
  }>);
3921
+ export type GetMcpToolsData = {
3922
+ path: string;
3923
+ workspace: string;
3924
+ };
3925
+ export type GetMcpToolsResponse = (Array<{
3926
+ name: string;
3927
+ description?: string;
3928
+ parameters: {
3929
+ [key: string]: unknown;
3930
+ };
3931
+ }>);
3902
3932
  export type ListResourceNamesData = {
3903
3933
  name: string;
3904
3934
  workspace: string;