windmill-cli 1.589.1 → 1.589.2

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.
@@ -32,7 +32,7 @@ export const OpenAPI = {
32
32
  PASSWORD: undefined,
33
33
  TOKEN: getEnv("WM_TOKEN"),
34
34
  USERNAME: undefined,
35
- VERSION: '1.589.1',
35
+ VERSION: '1.589.2',
36
36
  WITH_CREDENTIALS: true,
37
37
  interceptors: {
38
38
  request: new Interceptors(),
@@ -181,15 +181,13 @@ async function initAction(opts) {
181
181
  // Create CLAUDE.md file
182
182
  if (!(await dntShim.Deno.stat("CLAUDE.md").catch(() => null))) {
183
183
  await dntShim.Deno.writeTextFile("CLAUDE.md", `
184
- # Claude
184
+ You are a helpful assistant that can help with Windmill scripts and flows creation.
185
185
 
186
- You are a helpful assistant that can help with Windmill scripts and flows creation.
186
+ ## Script Guidance
187
+ ${scriptGuidanceContent}
187
188
 
188
- ## Script Guidance
189
- ${scriptGuidanceContent}
190
-
191
- ## Flow Guidance
192
- ${flowGuidanceContent}
189
+ ## Flow Guidance
190
+ ${flowGuidanceContent}
193
191
  `);
194
192
  log.info(colors.green("Created CLAUDE.md"));
195
193
  }
@@ -2,7 +2,7 @@ import * as dntShim from "../../../_dnt.shims.js";
2
2
  import * as wmill from "../../../gen/services.gen.js";
3
3
  import { colors, Command, log, SEP, Table } from "../../../deps.js";
4
4
  import { isSuperset, parseFromFile, removeType, TRIGGER_TYPES, } from "../../types.js";
5
- import { fromBranchSpecificPath, isBranchSpecificFile } from "../../core/specific_items.js";
5
+ import { fromBranchSpecificPath, isBranchSpecificFile, } from "../../core/specific_items.js";
6
6
  import { getCurrentGitBranch } from "../../utils/git.js";
7
7
  import { requireLogin } from "../../core/auth.js";
8
8
  import { validatePath, resolveWorkspace } from "../../core/context.js";
@@ -31,9 +31,7 @@ async function updateTrigger(triggerType, workspace, path, trigger) {
31
31
  postgres: wmill.updatePostgresTrigger,
32
32
  mqtt: wmill.updateMqttTrigger,
33
33
  sqs: wmill.updateSqsTrigger,
34
- gcp: async (args) => {
35
- throw new Error("GCP triggers are not supported yet");
36
- },
34
+ gcp: wmill.updateGcpTrigger,
37
35
  email: wmill.updateEmailTrigger,
38
36
  };
39
37
  const triggerFunction = triggerFunctions[triggerType];
@@ -48,9 +46,7 @@ async function createTrigger(triggerType, workspace, path, trigger) {
48
46
  postgres: wmill.createPostgresTrigger,
49
47
  mqtt: wmill.createMqttTrigger,
50
48
  sqs: wmill.createSqsTrigger,
51
- gcp: async (args) => {
52
- throw new Error("GCP triggers are not supported yet");
53
- },
49
+ gcp: wmill.createGcpTrigger,
54
50
  email: wmill.createEmailTrigger,
55
51
  };
56
52
  const triggerFunction = triggerFunctions[triggerType];
package/esm/src/main.js CHANGED
@@ -40,7 +40,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
40
40
  // console.error(JSON.stringify(event.error, null, 4));
41
41
  // }
42
42
  // });
43
- export const VERSION = "1.589.1";
43
+ export const VERSION = "1.589.2";
44
44
  export const WM_FORK_PREFIX = "wm-fork";
45
45
  const command = new Command()
46
46
  .name("wmill")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.589.1",
3
+ "version": "1.589.2",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4757,6 +4757,7 @@ export type GetScriptDeploymentStatusData = {
4757
4757
  export type GetScriptDeploymentStatusResponse = ({
4758
4758
  lock?: string;
4759
4759
  lock_error_logs?: string;
4760
+ job_id?: string;
4760
4761
  });
4761
4762
  export type ListSelectedJobGroupsData = {
4762
4763
  /**
@@ -5465,6 +5466,7 @@ export type GetFlowDeploymentStatusData = {
5465
5466
  };
5466
5467
  export type GetFlowDeploymentStatusResponse = ({
5467
5468
  lock_error_logs?: string;
5469
+ job_id?: string;
5468
5470
  });
5469
5471
  export type GetTriggersCountOfFlowData = {
5470
5472
  path: string;