windmill-cli 1.556.1 → 1.558.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.556.1";
25
+ export declare const VERSION = "1.558.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;
@@ -271,7 +271,7 @@ export type FlowConversationMessage = {
271
271
  /**
272
272
  * Type of the message
273
273
  */
274
- message_type: 'user' | 'assistant' | 'system';
274
+ message_type: 'user' | 'assistant' | 'system' | 'tool';
275
275
  /**
276
276
  * The message content
277
277
  */
@@ -284,11 +284,19 @@ export type FlowConversationMessage = {
284
284
  * When the message was created
285
285
  */
286
286
  created_at: string;
287
+ /**
288
+ * The step name that produced that message
289
+ */
290
+ step_name?: string;
291
+ /**
292
+ * Whether the message is a success
293
+ */
294
+ success?: boolean;
287
295
  };
288
296
  /**
289
297
  * Type of the message
290
298
  */
291
- export type message_type = 'user' | 'assistant' | 'system';
299
+ export type message_type = 'user' | 'assistant' | 'system' | 'tool';
292
300
  export type EndpointTool = {
293
301
  /**
294
302
  * The tool name/operation ID
@@ -4978,6 +4986,10 @@ export type DeleteFlowConversationData = {
4978
4986
  };
4979
4987
  export type DeleteFlowConversationResponse = (string);
4980
4988
  export type ListConversationMessagesData = {
4989
+ /**
4990
+ * id to fetch only the messages after that id
4991
+ */
4992
+ afterId?: string;
4981
4993
  /**
4982
4994
  * conversation id
4983
4995
  */