windmill-cli 1.676.0 → 1.677.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 +28 -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.677.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,
|
|
@@ -13309,6 +13312,27 @@ var backendVersion = () => {
|
|
|
13309
13312
|
body: data2.requestBody,
|
|
13310
13313
|
mediaType: "application/json"
|
|
13311
13314
|
});
|
|
13315
|
+
}, testAwsSmBackend = (data2) => {
|
|
13316
|
+
return request(OpenAPI, {
|
|
13317
|
+
method: "POST",
|
|
13318
|
+
url: "/settings/test_aws_sm_backend",
|
|
13319
|
+
body: data2.requestBody,
|
|
13320
|
+
mediaType: "application/json"
|
|
13321
|
+
});
|
|
13322
|
+
}, migrateSecretsToAwsSm = (data2) => {
|
|
13323
|
+
return request(OpenAPI, {
|
|
13324
|
+
method: "POST",
|
|
13325
|
+
url: "/settings/migrate_secrets_to_aws_sm",
|
|
13326
|
+
body: data2.requestBody,
|
|
13327
|
+
mediaType: "application/json"
|
|
13328
|
+
});
|
|
13329
|
+
}, migrateSecretsFromAwsSm = (data2) => {
|
|
13330
|
+
return request(OpenAPI, {
|
|
13331
|
+
method: "POST",
|
|
13332
|
+
url: "/settings/migrate_secrets_from_aws_sm",
|
|
13333
|
+
body: data2.requestBody,
|
|
13334
|
+
mediaType: "application/json"
|
|
13335
|
+
});
|
|
13312
13336
|
}, getCurrentEmail = () => {
|
|
13313
13337
|
return request(OpenAPI, {
|
|
13314
13338
|
method: "GET",
|
|
@@ -65552,7 +65576,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
|
|
|
65552
65576
|
continue;
|
|
65553
65577
|
}
|
|
65554
65578
|
if (language === "frontend") {
|
|
65555
|
-
const [basePathO, ext2] = pathAssigner.assignPath(
|
|
65579
|
+
const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
|
|
65556
65580
|
const basePath = basePathO.replaceAll(SEP11, "/");
|
|
65557
65581
|
const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
|
|
65558
65582
|
writeIfChanged(contentPath, content);
|
|
@@ -65570,7 +65594,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
|
|
|
65570
65594
|
}
|
|
65571
65595
|
try {
|
|
65572
65596
|
const lock = await generateInlineScriptLock(workspace, content, language, `${remotePath}/${runnableId}`, rawDeps, tempScriptRefs);
|
|
65573
|
-
const [basePathO, ext2] = pathAssigner.assignPath(
|
|
65597
|
+
const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
|
|
65574
65598
|
const basePath = basePathO.replaceAll(SEP11, "/");
|
|
65575
65599
|
const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
|
|
65576
65600
|
const lockPath = path11.join(runnablesFolder, `${basePath}lock`);
|
|
@@ -82839,7 +82863,7 @@ var config_default = command35;
|
|
|
82839
82863
|
|
|
82840
82864
|
// src/main.ts
|
|
82841
82865
|
await init_context();
|
|
82842
|
-
var VERSION = "1.
|
|
82866
|
+
var VERSION = "1.677.0";
|
|
82843
82867
|
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
82868
|
console.log("CLI version: " + VERSION);
|
|
82845
82869
|
try {
|