windmill-cli 1.675.1 → 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.
Files changed (2) hide show
  1. package/esm/main.js +37 -4
  2. 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.675.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,
@@ -12303,6 +12306,7 @@ __export(exports_services_gen, {
12303
12306
  listPostgresReplicationSlot: () => listPostgresReplicationSlot,
12304
12307
  listPostgresPublication: () => listPostgresPublication,
12305
12308
  listPendingInvites: () => listPendingInvites,
12309
+ listPathAutocompletePaths: () => listPathAutocompletePaths,
12306
12310
  listOauthLogins: () => listOauthLogins,
12307
12311
  listOauthConnects: () => listOauthConnects,
12308
12312
  listNextCloudEvents: () => listNextCloudEvents,
@@ -13308,6 +13312,27 @@ var backendVersion = () => {
13308
13312
  body: data2.requestBody,
13309
13313
  mediaType: "application/json"
13310
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
+ });
13311
13336
  }, getCurrentEmail = () => {
13312
13337
  return request(OpenAPI, {
13313
13338
  method: "GET",
@@ -15836,6 +15861,14 @@ var backendVersion = () => {
15836
15861
  after_id: data2.afterId
15837
15862
  }
15838
15863
  });
15864
+ }, listPathAutocompletePaths = (data2) => {
15865
+ return request(OpenAPI, {
15866
+ method: "GET",
15867
+ url: "/w/{workspace}/path_autocomplete/list_paths",
15868
+ path: {
15869
+ workspace: data2.workspace
15870
+ }
15871
+ });
15839
15872
  }, listRawApps = (data2) => {
15840
15873
  return request(OpenAPI, {
15841
15874
  method: "GET",
@@ -65543,7 +65576,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
65543
65576
  continue;
65544
65577
  }
65545
65578
  if (language === "frontend") {
65546
- const [basePathO, ext2] = pathAssigner.assignPath(runnable.name ?? runnableId, language);
65579
+ const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
65547
65580
  const basePath = basePathO.replaceAll(SEP11, "/");
65548
65581
  const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
65549
65582
  writeIfChanged(contentPath, content);
@@ -65561,7 +65594,7 @@ async function updateRawAppRunnables(workspace, runnables, remotePath, appFolder
65561
65594
  }
65562
65595
  try {
65563
65596
  const lock = await generateInlineScriptLock(workspace, content, language, `${remotePath}/${runnableId}`, rawDeps, tempScriptRefs);
65564
- const [basePathO, ext2] = pathAssigner.assignPath(runnable.name ?? runnableId, language);
65597
+ const [basePathO, ext2] = pathAssigner.assignPath(runnableId, language);
65565
65598
  const basePath = basePathO.replaceAll(SEP11, "/");
65566
65599
  const contentPath = path11.join(runnablesFolder, `${basePath}${ext2}`);
65567
65600
  const lockPath = path11.join(runnablesFolder, `${basePath}lock`);
@@ -82830,7 +82863,7 @@ var config_default = command35;
82830
82863
 
82831
82864
  // src/main.ts
82832
82865
  await init_context();
82833
- var VERSION = "1.675.1";
82866
+ var VERSION = "1.677.0";
82834
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) => {
82835
82868
  console.log("CLI version: " + VERSION);
82836
82869
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.675.1",
3
+ "version": "1.677.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",