windmill-cli 1.676.0 → 1.678.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/main.js +38 -4
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -11812,7 +11812,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
11812
11812
|
PASSWORD: undefined,
|
|
11813
11813
|
TOKEN: getEnv2("WM_TOKEN"),
|
|
11814
11814
|
USERNAME: undefined,
|
|
11815
|
-
VERSION: "1.
|
|
11815
|
+
VERSION: "1.678.0",
|
|
11816
11816
|
WITH_CREDENTIALS: true,
|
|
11817
11817
|
interceptors: {
|
|
11818
11818
|
request: new Interceptors,
|
|
@@ -12140,6 +12140,7 @@ __export(exports_services_gen, {
|
|
|
12140
12140
|
testGcpConnection: () => testGcpConnection,
|
|
12141
12141
|
testCriticalChannels: () => testCriticalChannels,
|
|
12142
12142
|
testAzureKvBackend: () => testAzureKvBackend,
|
|
12143
|
+
testAwsSmBackend: () => testAwsSmBackend,
|
|
12143
12144
|
syncNativeTriggers: () => syncNativeTriggers,
|
|
12144
12145
|
submitOnboardingData: () => submitOnboardingData,
|
|
12145
12146
|
storeRawScriptTemp: () => storeRawScriptTemp,
|
|
@@ -12250,7 +12251,9 @@ __export(exports_services_gen, {
|
|
|
12250
12251
|
migrateSecretsToVault: () => migrateSecretsToVault,
|
|
12251
12252
|
migrateSecretsToDatabase: () => migrateSecretsToDatabase,
|
|
12252
12253
|
migrateSecretsToAzureKv: () => migrateSecretsToAzureKv,
|
|
12254
|
+
migrateSecretsToAwsSm: () => migrateSecretsToAwsSm,
|
|
12253
12255
|
migrateSecretsFromAzureKv: () => migrateSecretsFromAzureKv,
|
|
12256
|
+
migrateSecretsFromAwsSm: () => migrateSecretsFromAwsSm,
|
|
12254
12257
|
mcpOauthCallback: () => mcpOauthCallback,
|
|
12255
12258
|
logout: () => logout,
|
|
12256
12259
|
loginWithOauth: () => loginWithOauth,
|
|
@@ -12511,6 +12514,7 @@ __export(exports_services_gen, {
|
|
|
12511
12514
|
getFlowDebugInfo: () => getFlowDebugInfo,
|
|
12512
12515
|
getFlowByPathWithDraft: () => getFlowByPathWithDraft,
|
|
12513
12516
|
getFlowByPath: () => getFlowByPath,
|
|
12517
|
+
getFlowAllLogs: () => getFlowAllLogs,
|
|
12514
12518
|
getEmailTrigger: () => getEmailTrigger,
|
|
12515
12519
|
getDeployTo: () => getDeployTo,
|
|
12516
12520
|
getDependentsAmounts: () => getDependentsAmounts,
|
|
@@ -13309,6 +13313,27 @@ var backendVersion = () => {
|
|
|
13309
13313
|
body: data2.requestBody,
|
|
13310
13314
|
mediaType: "application/json"
|
|
13311
13315
|
});
|
|
13316
|
+
}, testAwsSmBackend = (data2) => {
|
|
13317
|
+
return request(OpenAPI, {
|
|
13318
|
+
method: "POST",
|
|
13319
|
+
url: "/settings/test_aws_sm_backend",
|
|
13320
|
+
body: data2.requestBody,
|
|
13321
|
+
mediaType: "application/json"
|
|
13322
|
+
});
|
|
13323
|
+
}, migrateSecretsToAwsSm = (data2) => {
|
|
13324
|
+
return request(OpenAPI, {
|
|
13325
|
+
method: "POST",
|
|
13326
|
+
url: "/settings/migrate_secrets_to_aws_sm",
|
|
13327
|
+
body: data2.requestBody,
|
|
13328
|
+
mediaType: "application/json"
|
|
13329
|
+
});
|
|
13330
|
+
}, migrateSecretsFromAwsSm = (data2) => {
|
|
13331
|
+
return request(OpenAPI, {
|
|
13332
|
+
method: "POST",
|
|
13333
|
+
url: "/settings/migrate_secrets_from_aws_sm",
|
|
13334
|
+
body: data2.requestBody,
|
|
13335
|
+
mediaType: "application/json"
|
|
13336
|
+
});
|
|
13312
13337
|
}, getCurrentEmail = () => {
|
|
13313
13338
|
return request(OpenAPI, {
|
|
13314
13339
|
method: "GET",
|
|
@@ -16716,6 +16741,15 @@ var backendVersion = () => {
|
|
|
16716
16741
|
remove_ansi_warnings: data2.removeAnsiWarnings
|
|
16717
16742
|
}
|
|
16718
16743
|
});
|
|
16744
|
+
}, getFlowAllLogs = (data2) => {
|
|
16745
|
+
return request(OpenAPI, {
|
|
16746
|
+
method: "GET",
|
|
16747
|
+
url: "/w/{workspace}/jobs_u/get_flow_all_logs/{id}",
|
|
16748
|
+
path: {
|
|
16749
|
+
workspace: data2.workspace,
|
|
16750
|
+
id: data2.id
|
|
16751
|
+
}
|
|
16752
|
+
});
|
|
16719
16753
|
}, getCompletedJobLogsTail = (data2) => {
|
|
16720
16754
|
return request(OpenAPI, {
|
|
16721
16755
|
method: "GET",
|
|
@@ -65552,7 +65586,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
|
|
|
65552
65586
|
continue;
|
|
65553
65587
|
}
|
|
65554
65588
|
if (language === "frontend") {
|
|
65555
|
-
const [basePathO, ext2] = pathAssigner.assignPath(
|
|
65589
|
+
const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
|
|
65556
65590
|
const basePath = basePathO.replaceAll(SEP11, "/");
|
|
65557
65591
|
const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
|
|
65558
65592
|
writeIfChanged(contentPath, content);
|
|
@@ -65570,7 +65604,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
|
|
|
65570
65604
|
}
|
|
65571
65605
|
try {
|
|
65572
65606
|
const lock = await generateInlineScriptLock(workspace, content, language, `${remotePath}/${runnableId}`, rawDeps, tempScriptRefs);
|
|
65573
|
-
const [basePathO, ext2] = pathAssigner.assignPath(
|
|
65607
|
+
const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
|
|
65574
65608
|
const basePath = basePathO.replaceAll(SEP11, "/");
|
|
65575
65609
|
const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
|
|
65576
65610
|
const lockPath = path11.join(runnablesFolder, `${basePath}lock`);
|
|
@@ -82839,7 +82873,7 @@ var config_default = command35;
|
|
|
82839
82873
|
|
|
82840
82874
|
// src/main.ts
|
|
82841
82875
|
await init_context();
|
|
82842
|
-
var VERSION = "1.
|
|
82876
|
+
var VERSION = "1.678.0";
|
|
82843
82877
|
var command36 = new Command().name("wmill").action(() => info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`)).description("Windmill CLI").globalOption("--workspace <workspace:string>", "Specify the target workspace. This overrides the default workspace.").globalOption("--debug --verbose", "Show debug/verbose logs").globalOption("--show-diffs", "Show diff informations when syncing (may show sensitive informations)").globalOption("--token <token:string>", "Specify an API token. This will override any stored token.").globalOption("--base-url <baseUrl:string>", "Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.").globalOption("--config-dir <configDir:string>", "Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.").env("HEADERS <headers:string>", `Specify headers to use for all requests. e.g: "HEADERS='h1: v1, h2: v2'"`).version(VERSION).versionOption(false).command("init", init_default).command("app", app_default).command("flow", flow_default).command("script", script_default).command("workspace", workspace_default).command("resource", resource_default).command("resource-type", resource_type_default).command("user", user_default).command("variable", variable_default).command("hub", hub_default).command("folder", folder_default).command("schedule", schedule_default).command("trigger", trigger_default).command("dev", dev_default2).command("sync", sync_default).command("lint", lint_default).command("gitsync-settings", gitsync_settings_default).command("instance", instance_default).command("worker-groups", worker_groups_default).command("workers", workers_default).command("queues", queues_default).command("dependencies", dependencies_default).command("jobs", jobs_default).command("job", job_default).command("group", group_default).command("audit", audit_default).command("token", token_default).command("generate-metadata", generate_metadata_default).command("docs", docs_default).command("config", config_default).command("version --version", "Show version information").action(async (opts) => {
|
|
82844
82878
|
console.log("CLI version: " + VERSION);
|
|
82845
82879
|
try {
|