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.
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/src/commands/init/init.js +5 -7
- package/esm/src/commands/trigger/trigger.js +3 -7
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/types.gen.d.ts +2 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/commands/init/init.d.ts.map +1 -1
- package/types/src/commands/trigger/trigger.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +2 -0
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/esm/gen/core/OpenAPI.js
CHANGED
|
@@ -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
|
-
|
|
184
|
+
You are a helpful assistant that can help with Windmill scripts and flows creation.
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
## Script Guidance
|
|
187
|
+
${scriptGuidanceContent}
|
|
187
188
|
|
|
188
|
-
|
|
189
|
-
|
|
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:
|
|
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:
|
|
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.
|
|
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
package/types/gen/types.gen.d.ts
CHANGED
|
@@ -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;
|