windmill-cli 1.589.3 → 1.591.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.
- package/esm/deps/jsr.io/@windmill-labs/shared-utils/{1.0.10 → 1.0.11}/lib.es.js +4 -4
- package/esm/deps.js +1 -1
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +167 -27
- package/esm/src/commands/app/app_metadata.js +81 -47
- package/esm/src/commands/app/apps.js +2 -0
- package/esm/src/commands/app/bundle.js +6 -2
- package/esm/src/commands/app/dev.js +40 -14
- package/esm/src/commands/app/lint.js +159 -0
- package/esm/src/commands/app/raw_apps.js +169 -24
- package/esm/src/commands/init/init.js +8 -0
- package/esm/src/commands/resource-type/resource-type.js +29 -2
- package/esm/src/commands/script/script.js +11 -0
- package/esm/src/commands/sync/sync.js +55 -21
- package/esm/src/main.js +1 -1
- package/esm/src/utils/resource_types.js +32 -0
- package/esm/src/utils/utils.js +8 -0
- package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +78 -0
- package/package.json +1 -1
- package/types/bootstrap/common.d.ts +12 -0
- package/types/bootstrap/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@windmill-labs/shared-utils/{1.0.10 → 1.0.11}/lib.es.d.ts.map +1 -1
- package/types/deps.d.ts +1 -1
- package/types/gen/services.gen.d.ts +82 -16
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +582 -62
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/commands/app/app_metadata.d.ts +1 -1
- package/types/src/commands/app/app_metadata.d.ts.map +1 -1
- package/types/src/commands/app/apps.d.ts.map +1 -1
- package/types/src/commands/app/bundle.d.ts.map +1 -1
- package/types/src/commands/app/dev.d.ts.map +1 -1
- package/types/src/commands/app/lint.d.ts +12 -0
- package/types/src/commands/app/lint.d.ts.map +1 -0
- package/types/src/commands/app/metadata.d.ts +2 -3
- package/types/src/commands/app/metadata.d.ts.map +1 -1
- package/types/src/commands/app/raw_apps.d.ts +26 -1
- package/types/src/commands/app/raw_apps.d.ts.map +1 -1
- package/types/src/commands/init/init.d.ts.map +1 -1
- package/types/src/commands/resource-type/resource-type.d.ts +3 -1
- package/types/src/commands/resource-type/resource-type.d.ts.map +1 -1
- package/types/src/commands/script/script.d.ts +5 -0
- package/types/src/commands/script/script.d.ts.map +1 -1
- package/types/src/commands/sync/sync.d.ts +1 -1
- package/types/src/commands/sync/sync.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/src/utils/resource_types.d.ts +3 -0
- package/types/src/utils/resource_types.d.ts.map +1 -0
- package/types/src/utils/utils.d.ts +2 -0
- package/types/src/utils/utils.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +582 -62
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +22 -0
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
- /package/types/deps/jsr.io/@windmill-labs/shared-utils/{1.0.10 → 1.0.11}/lib.es.d.ts +0 -0
|
@@ -15,7 +15,7 @@ import { removePathPrefix } from "../../types.js";
|
|
|
15
15
|
import { listSyncCodebases } from "../../utils/codebase.js";
|
|
16
16
|
import { generateScriptMetadataInternal, getRawWorkspaceDependencies, readLockfile, workspaceDependenciesPathToLanguageAndFilename, } from "../../utils/metadata.js";
|
|
17
17
|
import { pushResource } from "../resource/resource.js";
|
|
18
|
-
import { newPathAssigner, } from "../../../windmill-utils-internal/src/path-utils/path-assigner.js";
|
|
18
|
+
import { newPathAssigner, newRawAppPathAssigner, } from "../../../windmill-utils-internal/src/path-utils/path-assigner.js";
|
|
19
19
|
import { extractInlineScripts as extractInlineScriptsForFlows } from "../../../windmill-utils-internal/src/inline-scripts/extractor.js";
|
|
20
20
|
import { generateFlowLockInternal } from "../flow/flow_metadata.js";
|
|
21
21
|
import { isExecutionModeAnonymous } from "../app/apps.js";
|
|
@@ -189,10 +189,6 @@ function extractFields(fields) {
|
|
|
189
189
|
fields[k] = undefined;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
// if (k == 'runType') {
|
|
193
|
-
// fields["type"] = undefined
|
|
194
|
-
// fields["schema"] = undefined
|
|
195
|
-
// }
|
|
196
192
|
});
|
|
197
193
|
}
|
|
198
194
|
export function extractFieldsForRawApps(runnables) {
|
|
@@ -204,18 +200,13 @@ export function extractFieldsForRawApps(runnables) {
|
|
|
204
200
|
}
|
|
205
201
|
});
|
|
206
202
|
}
|
|
207
|
-
export function extractInlineScriptsForApps(key, rec, pathAssigner, toId) {
|
|
203
|
+
export function extractInlineScriptsForApps(key, rec, pathAssigner, toId, removeSchema) {
|
|
208
204
|
if (!rec) {
|
|
209
205
|
return [];
|
|
210
206
|
}
|
|
211
207
|
if (typeof rec == "object") {
|
|
212
208
|
return Object.entries(rec).flatMap(([k, v]) => {
|
|
213
|
-
if (k == "
|
|
214
|
-
rec["type"] = undefined;
|
|
215
|
-
rec["schema"] = undefined;
|
|
216
|
-
return [];
|
|
217
|
-
}
|
|
218
|
-
else if (k == "inlineScript" && typeof v == "object") {
|
|
209
|
+
if (k == "inlineScript" && typeof v == "object") {
|
|
219
210
|
rec["type"] = undefined;
|
|
220
211
|
const o = v;
|
|
221
212
|
const name = toId(key ?? "", rec);
|
|
@@ -238,11 +229,13 @@ export function extractInlineScriptsForApps(key, rec, pathAssigner, toId) {
|
|
|
238
229
|
content: lock,
|
|
239
230
|
});
|
|
240
231
|
}
|
|
241
|
-
|
|
232
|
+
if (removeSchema) {
|
|
233
|
+
o.schema = undefined;
|
|
234
|
+
}
|
|
242
235
|
return r;
|
|
243
236
|
}
|
|
244
237
|
else {
|
|
245
|
-
return extractInlineScriptsForApps(k, v, pathAssigner, toId);
|
|
238
|
+
return extractInlineScriptsForApps(k, v, pathAssigner, toId, removeSchema);
|
|
246
239
|
}
|
|
247
240
|
});
|
|
248
241
|
}
|
|
@@ -336,7 +329,7 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, ig
|
|
|
336
329
|
}
|
|
337
330
|
let inlineScripts;
|
|
338
331
|
try {
|
|
339
|
-
inlineScripts = extractInlineScriptsForApps(undefined, app?.["value"], newPathAssigner(defaultTs), (_, val) => val["name"]);
|
|
332
|
+
inlineScripts = extractInlineScriptsForApps(undefined, app?.["value"], newPathAssigner(defaultTs), (_, val) => val["name"], false);
|
|
340
333
|
}
|
|
341
334
|
catch (error) {
|
|
342
335
|
log.error(`Failed to extract inline scripts for app at path: ${p}`);
|
|
@@ -383,10 +376,11 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, ig
|
|
|
383
376
|
rawApp.policy = undefined;
|
|
384
377
|
let inlineScripts;
|
|
385
378
|
const value = rawApp?.["value"];
|
|
379
|
+
const runnables = value?.["runnables"] ?? {};
|
|
386
380
|
// console.log("FOOB", value?.["runnables"])
|
|
387
|
-
extractFieldsForRawApps(
|
|
381
|
+
extractFieldsForRawApps(runnables);
|
|
388
382
|
try {
|
|
389
|
-
inlineScripts = extractInlineScriptsForApps(undefined, value,
|
|
383
|
+
inlineScripts = extractInlineScriptsForApps(undefined, value, newRawAppPathAssigner(defaultTs), (key, val_) => key, true);
|
|
390
384
|
}
|
|
391
385
|
catch (error) {
|
|
392
386
|
log.error(`Failed to extract inline scripts for raw app at path: ${p}`);
|
|
@@ -412,6 +406,7 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, ig
|
|
|
412
406
|
log.error(`Failed to extract files for raw app at path: ${p}`);
|
|
413
407
|
throw error;
|
|
414
408
|
}
|
|
409
|
+
// Yield inline script content and lock files
|
|
415
410
|
for (const s of inlineScripts) {
|
|
416
411
|
yield {
|
|
417
412
|
isDirectory: false,
|
|
@@ -423,11 +418,50 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, ig
|
|
|
423
418
|
},
|
|
424
419
|
};
|
|
425
420
|
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
421
|
+
// Yield each runnable as a separate YAML file in the backend folder
|
|
422
|
+
// For inline scripts, simplify the YAML - inlineScript is not needed since
|
|
423
|
+
// content/lock/language can be derived from sibling files
|
|
424
|
+
for (const [runnableId, runnable] of Object.entries(runnables)) {
|
|
425
|
+
const runnableObj = runnable;
|
|
426
|
+
let simplifiedRunnable;
|
|
427
|
+
if (runnableObj.inlineScript) {
|
|
428
|
+
// For inline scripts, remove inlineScript and just keep type: 'inline'
|
|
429
|
+
// plus any other metadata (name, fields, etc.)
|
|
430
|
+
simplifiedRunnable = { type: "inline" };
|
|
431
|
+
// Copy over any other fields that aren't inlineScript or type
|
|
432
|
+
for (const [key, value] of Object.entries(runnableObj)) {
|
|
433
|
+
if (key !== "inlineScript" && key !== "type") {
|
|
434
|
+
simplifiedRunnable[key] = value;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
else if (runnableObj.type === "path" && runnableObj.runType) {
|
|
439
|
+
// For path-based runnables, convert from API format to file format
|
|
440
|
+
// { type: "path", runType: "script" } -> { type: "script" }
|
|
441
|
+
// Also remove schema field
|
|
442
|
+
const { type: _type, runType, schema: _schema, ...rest } = runnableObj;
|
|
443
|
+
simplifiedRunnable = {
|
|
444
|
+
type: runType,
|
|
445
|
+
...rest,
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
else {
|
|
449
|
+
// For other runnables, keep as-is
|
|
450
|
+
simplifiedRunnable = runnableObj;
|
|
451
|
+
}
|
|
452
|
+
yield {
|
|
453
|
+
isDirectory: false,
|
|
454
|
+
path: path.join(finalPath, APP_BACKEND_FOLDER, `${runnableId}.yaml`),
|
|
455
|
+
async *getChildren() { },
|
|
456
|
+
// deno-lint-ignore require-await
|
|
457
|
+
async getContentText() {
|
|
458
|
+
return yamlStringify(simplifiedRunnable, yamlOptions);
|
|
459
|
+
},
|
|
460
|
+
};
|
|
430
461
|
}
|
|
462
|
+
// Remove runnables and value from raw_app.yaml - they are now in separate files
|
|
463
|
+
delete rawApp?.["value"];
|
|
464
|
+
// Don't include runnables in raw_app.yaml anymore
|
|
431
465
|
yield {
|
|
432
466
|
isDirectory: false,
|
|
433
467
|
path: path.join(finalPath, "raw_app.yaml"),
|
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.
|
|
43
|
+
export const VERSION = "1.591.0";
|
|
44
44
|
export const WM_FORK_PREFIX = "wm-fork";
|
|
45
45
|
const command = new Command()
|
|
46
46
|
.name("wmill")
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function compileResourceTypeToTsType(schema) {
|
|
2
|
+
function rec(x, root = false) {
|
|
3
|
+
let res = "{\n";
|
|
4
|
+
const entries = Object.entries(x);
|
|
5
|
+
if (entries.length == 0) {
|
|
6
|
+
return "any";
|
|
7
|
+
}
|
|
8
|
+
let i = 0;
|
|
9
|
+
for (let [name, prop] of entries) {
|
|
10
|
+
if (prop.type == "object") {
|
|
11
|
+
res += ` ${name}: ${rec(prop.properties ?? {})}`;
|
|
12
|
+
}
|
|
13
|
+
else if (prop.type == "array") {
|
|
14
|
+
res += ` ${name}: ${prop?.items?.type ?? "any"}[]`;
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
let typ = prop?.type ?? "any";
|
|
18
|
+
if (typ == "integer") {
|
|
19
|
+
typ = "number";
|
|
20
|
+
}
|
|
21
|
+
res += ` ${name}: ${typ}`;
|
|
22
|
+
}
|
|
23
|
+
i++;
|
|
24
|
+
if (i < entries.length) {
|
|
25
|
+
res += ",\n";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
res += "\n}";
|
|
29
|
+
return res;
|
|
30
|
+
}
|
|
31
|
+
return rec(schema.properties, true);
|
|
32
|
+
}
|
package/esm/src/utils/utils.js
CHANGED
|
@@ -223,3 +223,11 @@ export async function fetchRemoteVersion(workspace) {
|
|
|
223
223
|
}
|
|
224
224
|
log.info(colors.gray("Remote version: " + version));
|
|
225
225
|
}
|
|
226
|
+
export function toCamel(s) {
|
|
227
|
+
return s.replace(/([-_][a-z])/gi, ($1) => {
|
|
228
|
+
return $1.toUpperCase().replace("-", "").replace("_", "");
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
export function capitalize(str) {
|
|
232
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
233
|
+
}
|
|
@@ -42,6 +42,55 @@ export function getLanguageExtension(language, defaultTs = "bun") {
|
|
|
42
42
|
}
|
|
43
43
|
return LANGUAGE_EXTENSIONS[language] || "no_ext";
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Reverse mapping from file extensions to languages.
|
|
47
|
+
* Used when deriving language from file extension.
|
|
48
|
+
*/
|
|
49
|
+
export const EXTENSION_TO_LANGUAGE = {
|
|
50
|
+
"py": "python3",
|
|
51
|
+
"bun.ts": "bun",
|
|
52
|
+
"deno.ts": "deno",
|
|
53
|
+
"go": "go",
|
|
54
|
+
"sh": "bash",
|
|
55
|
+
"ps1": "powershell",
|
|
56
|
+
"pg.sql": "postgresql",
|
|
57
|
+
"my.sql": "mysql",
|
|
58
|
+
"bq.sql": "bigquery",
|
|
59
|
+
"odb.sql": "oracledb",
|
|
60
|
+
"sf.sql": "snowflake",
|
|
61
|
+
"ms.sql": "mssql",
|
|
62
|
+
"gql": "graphql",
|
|
63
|
+
"native.ts": "nativets",
|
|
64
|
+
"frontend.js": "frontend",
|
|
65
|
+
"php": "php",
|
|
66
|
+
"rs": "rust",
|
|
67
|
+
"cs": "csharp",
|
|
68
|
+
"nu": "nu",
|
|
69
|
+
"playbook.yml": "ansible",
|
|
70
|
+
"java": "java",
|
|
71
|
+
"duckdb.sql": "duckdb",
|
|
72
|
+
// Plain .ts defaults to bun (will be overridden by defaultTs setting)
|
|
73
|
+
"ts": "bun",
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Gets the language from a file extension.
|
|
77
|
+
*
|
|
78
|
+
* @param ext - File extension (e.g., "py", "ts", "bun.ts")
|
|
79
|
+
* @param defaultTs - Default TypeScript runtime for plain .ts files
|
|
80
|
+
* @returns The language, or undefined if not recognized
|
|
81
|
+
*/
|
|
82
|
+
export function getLanguageFromExtension(ext, defaultTs = "bun") {
|
|
83
|
+
// Check for compound extensions first (e.g., "bun.ts", "pg.sql")
|
|
84
|
+
const lang = EXTENSION_TO_LANGUAGE[ext];
|
|
85
|
+
if (lang) {
|
|
86
|
+
// For plain .ts, return the default TypeScript runtime
|
|
87
|
+
if (ext === "ts") {
|
|
88
|
+
return defaultTs;
|
|
89
|
+
}
|
|
90
|
+
return lang;
|
|
91
|
+
}
|
|
92
|
+
return undefined;
|
|
93
|
+
}
|
|
45
94
|
/**
|
|
46
95
|
* Creates a new path assigner for inline scripts.
|
|
47
96
|
*
|
|
@@ -69,3 +118,32 @@ export function newPathAssigner(defaultTs) {
|
|
|
69
118
|
}
|
|
70
119
|
return { assignPath };
|
|
71
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new path assigner for raw app runnables.
|
|
123
|
+
* Unlike newPathAssigner, this does NOT add ".inline_script." prefix since
|
|
124
|
+
* everything in raw_app/backend/ is already known to be for inline scripts.
|
|
125
|
+
*
|
|
126
|
+
* @param defaultTs - Default TypeScript runtime ("bun" or "deno")
|
|
127
|
+
* @returns Path assigner function
|
|
128
|
+
*/
|
|
129
|
+
export function newRawAppPathAssigner(defaultTs) {
|
|
130
|
+
let counter = 0;
|
|
131
|
+
const seen_names = new Set();
|
|
132
|
+
function assignPath(summary, language) {
|
|
133
|
+
let name;
|
|
134
|
+
name = summary?.toLowerCase()?.replaceAll(" ", "_") ?? "";
|
|
135
|
+
let original_name = name;
|
|
136
|
+
if (name == "") {
|
|
137
|
+
original_name = "runnable";
|
|
138
|
+
name = `runnable_0`;
|
|
139
|
+
}
|
|
140
|
+
while (seen_names.has(name)) {
|
|
141
|
+
counter++;
|
|
142
|
+
name = `${original_name}_${counter}`;
|
|
143
|
+
}
|
|
144
|
+
seen_names.add(name);
|
|
145
|
+
const ext = getLanguageExtension(language, defaultTs);
|
|
146
|
+
return [`${name}.`, ext];
|
|
147
|
+
}
|
|
148
|
+
return { assignPath };
|
|
149
|
+
}
|
package/package.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
import type { ScriptLang } from "../gen/types.gen.js";
|
|
1
2
|
export type EnumType = string[] | undefined;
|
|
3
|
+
export type Schema = {
|
|
4
|
+
$schema: string | undefined;
|
|
5
|
+
type: string;
|
|
6
|
+
"x-windmill-dyn-select-code"?: string;
|
|
7
|
+
"x-windmill-dyn-select-lang"?: ScriptLang;
|
|
8
|
+
properties: {
|
|
9
|
+
[name: string]: SchemaProperty;
|
|
10
|
+
};
|
|
11
|
+
order?: string[];
|
|
12
|
+
required: string[];
|
|
13
|
+
};
|
|
2
14
|
export interface SchemaProperty {
|
|
3
15
|
type: string | undefined;
|
|
4
16
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/bootstrap/common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,eAAe,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,EAAE,QAAQ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AAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.es.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@windmill-labs/shared-utils/1.0.
|
|
1
|
+
{"version":3,"file":"lib.es.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@windmill-labs/shared-utils/1.0.11/lib.es.js"],"names":[],"mappings":"AA+4CA,wCAEC;AA7DD,2CAmCC;AAzJD,2DA4EC;AA8ED,iEAMC;AAgBG,sCAA0F"}
|
package/types/deps.d.ts
CHANGED
|
@@ -30,6 +30,6 @@ export { WebSocketServer, WebSocket } from "ws";
|
|
|
30
30
|
export * as getPort from "get-port";
|
|
31
31
|
export * as open from "open";
|
|
32
32
|
export * as esMain from "es-main";
|
|
33
|
-
export * as windmillUtils from "./deps/jsr.io/@windmill-labs/shared-utils/1.0.
|
|
33
|
+
export * as windmillUtils from "./deps/jsr.io/@windmill-labs/shared-utils/1.0.11/lib.es.js";
|
|
34
34
|
export declare function setClient(token?: string, baseUrl?: string): void;
|
|
35
35
|
//# sourceMappingURL=deps.d.ts.map
|