windmill-cli 1.693.0 → 1.693.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.
Files changed (2) hide show
  1. package/esm/main.js +444 -2
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16710,7 +16710,7 @@ var init_OpenAPI = __esm(() => {
16710
16710
  PASSWORD: undefined,
16711
16711
  TOKEN: getEnv3("WM_TOKEN"),
16712
16712
  USERNAME: undefined,
16713
- VERSION: "1.693.0",
16713
+ VERSION: "1.693.2",
16714
16714
  WITH_CREDENTIALS: true,
16715
16715
  interceptors: {
16716
16716
  request: new Interceptors,
@@ -78252,6 +78252,7 @@ You are a helpful assistant that can help with Windmill scripts, flows, apps, an
78252
78252
  ## Script Writing Guide
78253
78253
 
78254
78254
  You MUST use the \`write-script-<language>\` skill to write or modify scripts in the language specified by the user. Use bun by default.
78255
+ For Workflow-as-Code scripts, use the \`write-workflow-as-code\` skill.
78255
78256
 
78256
78257
  ## Flow Writing Guide
78257
78258
 
@@ -78331,6 +78332,7 @@ var SKILLS = [
78331
78332
  { name: "triggers", description: "MUST use when configuring triggers." },
78332
78333
  { name: "schedules", description: "MUST use when configuring schedules." },
78333
78334
  { name: "resources", description: "MUST use when managing resources." },
78335
+ { name: "write-workflow-as-code", description: "MUST use when writing or modifying Windmill Workflow-as-Code scripts using workflow, task, step, sleep, approvals, taskScript, taskFlow, task_script, or task_flow." },
78334
78336
  { name: "cli-commands", description: "MUST use when using the CLI, including debugging job failures and inspecting run history via `wmill job`." },
78335
78337
  { name: "preview", description: "MUST use when opening the Windmill dev page / visual preview of a flow, script, or app. Triggers on words like preview, open, navigate to, visualize, see the flow/app/script, and after writing a flow/script/app for visual verification." }
78336
78338
  ];
@@ -84173,6 +84175,446 @@ wmill resource-type get postgresql
84173
84175
  # Push resources (tell the user to run this, do NOT run it yourself)
84174
84176
  wmill sync push
84175
84177
  \`\`\`
84178
+ `,
84179
+ "write-workflow-as-code": `---
84180
+ name: write-workflow-as-code
84181
+ description: MUST use when writing or modifying Windmill Workflow-as-Code scripts using workflow, task, step, sleep, approvals, taskScript, taskFlow, task_script, or task_flow.
84182
+ ---
84183
+
84184
+ ## CLI Commands
84185
+
84186
+ Place scripts in a folder.
84187
+
84188
+ After writing, tell the user which command fits what they want to do:
84189
+
84190
+ - \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
84191
+ - \`wmill script run <path>\` — runs the script **already deployed** in the workspace. Use only when the user explicitly wants to test the deployed version, not local edits.
84192
+ - \`wmill generate-metadata\` — generate \`.script.yaml\` and \`.lock\` files for the script you modified.
84193
+ - \`wmill sync push\` — deploy local changes to the workspace. Only suggest/run this when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
84194
+
84195
+ ### Preview vs run — choose by intent, not habit
84196
+
84197
+ If the user says "run the script", "try it", "test it", "does it work" while there are **local edits to the script file**, use \`script preview\`. Do NOT push the script to then \`script run\` it — pushing is a deploy, and deploying just to test overwrites the workspace version with untested changes.
84198
+
84199
+ Only use \`script run\` when:
84200
+ - The user explicitly says "run the deployed version" / "run what's on the server".
84201
+ - There is no local script being edited (you're just invoking an existing script).
84202
+
84203
+ Only use \`sync push\` when:
84204
+ - The user explicitly asks to deploy, publish, push, or ship.
84205
+ - The preview has already validated the change and the user wants it in the workspace.
84206
+
84207
+ ### After writing — offer to test, don't wait passively
84208
+
84209
+ If the user hasn't already told you to run/test/preview the script, offer it as a one-sentence next step (e.g. "Want me to run \`wmill script preview\` with sample args?"). Do not present a multi-option menu.
84210
+
84211
+ If the user already asked to test/run/try the script in their original request, skip the offer and just execute \`wmill script preview <path> -d '<args>'\` directly — pick plausible args from the script's declared parameters. The shape varies by language: \`main(...)\` for code languages, the SQL dialect's own placeholder syntax (\`$1\` for PostgreSQL, \`?\` for MySQL/Snowflake, \`@P1\` for MSSQL, \`@name\` for BigQuery, etc.), positional \`$1\`, \`$2\`, … for Bash, \`param(...)\` for PowerShell.
84212
+
84213
+ \`wmill script preview\` does not deploy, but it still executes script code and may cause side effects; run it yourself when the user asked to test/preview (or after confirming that execution is intended). \`wmill sync push\` and \`wmill generate-metadata\` modify workspace state or local files — only run these when the user explicitly asks; otherwise tell them which to run.
84214
+
84215
+ For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
84216
+
84217
+ Use \`wmill resource-type list --schema\` to discover available resource types.
84218
+
84219
+ Workflow-as-Code files use the normal script CLI workflow. There are no separate WAC deploy commands.
84220
+
84221
+ # Windmill Workflow-as-Code Writing Guide
84222
+
84223
+ ## Scope
84224
+
84225
+ Use this guide when writing or modifying Windmill Workflow-as-Code (WAC) scripts.
84226
+ WAC is authored as a Windmill script and deployed with the normal script workflow. It is not an OpenFlow YAML flow.
84227
+
84228
+ Supported WAC authoring targets:
84229
+ - TypeScript scripts that import from \`windmill-client\`
84230
+ - Python 3 scripts that import from \`wmill\`
84231
+
84232
+ ## File Shape
84233
+
84234
+ TypeScript:
84235
+
84236
+ \`\`\`typescript
84237
+ import {
84238
+ task,
84239
+ taskScript,
84240
+ taskFlow,
84241
+ step,
84242
+ sleep,
84243
+ waitForApproval,
84244
+ getResumeUrls,
84245
+ parallel,
84246
+ workflow,
84247
+ } from "windmill-client";
84248
+
84249
+ const process = task(async (x: string): Promise<string> => {
84250
+ return \`processed: \${x}\`;
84251
+ });
84252
+
84253
+ export const main = workflow(async (x: string) => {
84254
+ const result = await process(x);
84255
+ return { result };
84256
+ });
84257
+ \`\`\`
84258
+
84259
+ Python:
84260
+
84261
+ \`\`\`python
84262
+ from wmill import task, task_script, task_flow, step, sleep, wait_for_approval, get_resume_urls, parallel, workflow
84263
+
84264
+ @task()
84265
+ async def process(x: str) -> str:
84266
+ return f"processed: {x}"
84267
+
84268
+ @workflow
84269
+ async def main(x: str):
84270
+ result = await process(x)
84271
+ return {"result": result}
84272
+ \`\`\`
84273
+
84274
+ Rules:
84275
+ - Do not call \`main\`.
84276
+ - TypeScript should export the workflow entrypoint, preferably \`export const main = workflow(async (...) => { ... })\`.
84277
+ - Python must use \`@workflow\` on an async top-level function, usually \`main\`.
84278
+ - Define task functions and \`taskScript\`/\`task_script\` or \`taskFlow\`/\`task_flow\` assignments at module top level with stable names.
84279
+ - Use the exact SDK names. Do not alias \`workflow\`, \`task\`, \`taskScript\`, \`taskFlow\`, \`step\`, \`sleep\`, \`waitForApproval\`, \`task_script\`, \`task_flow\`, or \`wait_for_approval\`; the WAC parser recognizes these names directly.
84280
+
84281
+ ## Checkpoint And Replay Model
84282
+
84283
+ The parent workflow may rerun from the top after any suspension, retry, approval, or child task completion. Completed durable steps are replayed from the checkpoint.
84284
+
84285
+ Put every side effect or non-deterministic value behind a durable WAC boundary:
84286
+ - Use \`task()\` / \`@task()\` for substantial work that should run as its own child job.
84287
+ - Use \`taskScript()\` / \`task_script()\` for an existing script or a relative module file.
84288
+ - Use \`taskFlow()\` / \`task_flow()\` for an existing Windmill flow.
84289
+ - Use \`step(name, fn)\` for lightweight inline work whose result must be checkpointed.
84290
+ - Use \`sleep(seconds)\` for server-side sleeps that do not hold a worker.
84291
+ - Use \`waitForApproval()\` / \`wait_for_approval()\` for external approval suspension.
84292
+
84293
+ Never put API calls, database writes, notifications, random values, timestamps, or irreversible changes directly in the top-level workflow body. The workflow body can be rerun. Put those operations in a task or in \`step()\`.
84294
+
84295
+ Branching on task or step results is safe because those results are checkpointed. Branching on current time, random data, environment reads, or external state is unsafe unless the value is first captured with \`step()\`.
84296
+
84297
+ ## Tasks
84298
+
84299
+ Use \`task()\` / \`@task()\` for inline functions that become workflow steps:
84300
+
84301
+ \`\`\`typescript
84302
+ const enrich = task(async (customerId: string) => {
84303
+ return await fetchCustomer(customerId);
84304
+ });
84305
+ \`\`\`
84306
+
84307
+ \`\`\`python
84308
+ @task(timeout=600, tag="etl")
84309
+ async def enrich(customer_id: str):
84310
+ return await fetch_customer(customer_id)
84311
+ \`\`\`
84312
+
84313
+ In TypeScript, prefer assigning each task to a named top-level const. In Python, prefer top-level async functions decorated with \`@task()\` or \`@task\`.
84314
+
84315
+ For existing scripts:
84316
+
84317
+ \`\`\`typescript
84318
+ const helper = taskScript("./helper.ts");
84319
+ const existing = taskScript("f/data/extract", { timeout: 600 });
84320
+ const value = await helper({ input: x });
84321
+ \`\`\`
84322
+
84323
+ \`\`\`python
84324
+ helper = task_script("./helper.py")
84325
+ existing = task_script("f/data/extract", timeout=600)
84326
+ value = await helper(input=x)
84327
+ \`\`\`
84328
+
84329
+ For existing flows:
84330
+
84331
+ \`\`\`typescript
84332
+ const pipeline = taskFlow("f/etl/pipeline");
84333
+ const output = await pipeline({ input: data });
84334
+ \`\`\`
84335
+
84336
+ \`\`\`python
84337
+ pipeline = task_flow("f/etl/pipeline")
84338
+ output = await pipeline(input=data)
84339
+ \`\`\`
84340
+
84341
+ ## Inline Steps
84342
+
84343
+ Use \`step()\` for lightweight inline values that must not change during replay:
84344
+
84345
+ \`\`\`typescript
84346
+ const urls = await step("get_urls", () => getResumeUrls());
84347
+ const startedAt = await step("started_at", () => new Date().toISOString());
84348
+ \`\`\`
84349
+
84350
+ \`\`\`python
84351
+ urls = await step("get_urls", lambda: get_resume_urls())
84352
+ \`\`\`
84353
+
84354
+ Use stable, descriptive step names. Do not generate step names dynamically.
84355
+
84356
+ ## Parallelism
84357
+
84358
+ To run independent work in parallel, start task promises/coroutines before awaiting them together:
84359
+
84360
+ \`\`\`typescript
84361
+ const [a, b] = await Promise.all([process("a"), process("b")]);
84362
+ const many = await parallel(items, process, { concurrency: 5 });
84363
+ \`\`\`
84364
+
84365
+ \`\`\`python
84366
+ import asyncio
84367
+
84368
+ a, b = await asyncio.gather(process("a"), process("b"))
84369
+ many = await parallel(items, process, concurrency=5)
84370
+ \`\`\`
84371
+
84372
+ Only parallelize independent steps. Do not read the result of a task before it is awaited.
84373
+
84374
+ ## Approvals
84375
+
84376
+ Generate resume URLs inside \`step()\` before sending them:
84377
+
84378
+ \`\`\`typescript
84379
+ const urls = await step("get_urls", () => getResumeUrls());
84380
+ await step("notify", () => sendApprovalEmail(urls.approvalPage));
84381
+ const approval = await waitForApproval({ timeout: 3600 });
84382
+ \`\`\`
84383
+
84384
+ \`\`\`python
84385
+ urls = await step("get_urls", lambda: get_resume_urls())
84386
+ await step("notify", lambda: send_approval_email(urls["approvalPage"]))
84387
+ approval = await wait_for_approval(timeout=3600)
84388
+ \`\`\`
84389
+
84390
+ \`selfApproval: false\` and \`self_approval=False\` are Enterprise-only approval behavior. Do not use them unless the user asks for that behavior.
84391
+
84392
+ ## Error Handling
84393
+
84394
+ Let task errors fail the workflow unless the user asks for recovery logic.
84395
+
84396
+ Python: \`except Exception\` is safe around WAC calls because internal suspension inherits from \`BaseException\`. Avoid bare \`except:\` in workflow code. If the user asks for recovery logic around failed child work, catch \`TaskError\` from \`wmill\` for task failures.
84397
+
84398
+ TypeScript: avoid broad \`try/catch\` around WAC SDK calls. The SDK uses an internal suspension error during initial dispatch; catching it can break workflow suspension. If a broad catch is unavoidable, rethrow internal suspension errors before handling business errors.
84399
+
84400
+
84401
+ ## TypeScript Workflow-as-Code API (windmill-client)
84402
+
84403
+ Import: \`import { workflow, task, taskScript, taskFlow, step, sleep, waitForApproval, getResumeUrls, parallel } from "windmill-client"\`
84404
+
84405
+ \`\`\`typescript
84406
+ export interface TaskOptions {
84407
+ timeout?: number;
84408
+ tag?: string;
84409
+ cache_ttl?: number;
84410
+ priority?: number;
84411
+ concurrency_limit?: number;
84412
+ concurrency_key?: string;
84413
+ concurrency_time_window_s?: number;
84414
+ }
84415
+
84416
+ /**
84417
+ * Get URLs needed for resuming a flow after this step
84418
+ * @param approver approver name
84419
+ * @param flowLevel if true, generate resume URLs for the parent flow instead of the specific step.
84420
+ * This allows pre-approvals that can be consumed by any later suspend step in the same flow.
84421
+ * @returns approval page UI URL, resume and cancel API URLs for resuming the flow
84422
+ */
84423
+ export async function getResumeUrls(approver?: string, flowLevel?: boolean): Promise<{ approvalPage: string; resume: string; cancel: string; }>
84424
+
84425
+ /**
84426
+ * Wrap an async function as a workflow task.
84427
+ *
84428
+ * @example
84429
+ * const extract_data = task(async (url: string) => { ... });
84430
+ * const run_external = task("f/external_script", async (x: number) => { ... });
84431
+ *
84432
+ * Inside a \`workflow()\`, calling a task dispatches it as a step.
84433
+ * Outside a workflow, the function body executes directly.
84434
+ */
84435
+ export function task<T extends (...args: any[]) => Promise<any>>(fnOrPath: T | string, maybeFnOrOptions?: T | TaskOptions, maybeOptions?: TaskOptions,): T
84436
+
84437
+ /**
84438
+ * Create a task that dispatches to a separate Windmill script.
84439
+ *
84440
+ * @example
84441
+ * const extract = taskScript("f/data/extract");
84442
+ * // inside workflow: await extract({ url: "https://..." })
84443
+ */
84444
+ export function taskScript(path: string, options?: TaskOptions): (...args: any[]) => PromiseLike<any>
84445
+
84446
+ /**
84447
+ * Create a task that dispatches to a separate Windmill flow.
84448
+ *
84449
+ * @example
84450
+ * const pipeline = taskFlow("f/etl/pipeline");
84451
+ * // inside workflow: await pipeline({ input: data })
84452
+ */
84453
+ export function taskFlow(path: string, options?: TaskOptions): (...args: any[]) => PromiseLike<any>
84454
+
84455
+ /**
84456
+ * Mark an async function as a workflow-as-code entry point.
84457
+ *
84458
+ * The function must be **deterministic**: given the same inputs it must call
84459
+ * tasks in the same order on every replay. Branching on task results is fine
84460
+ * (results are replayed from checkpoint), but branching on external state
84461
+ * (current time, random values, external API calls) must use \`step()\` to
84462
+ * checkpoint the value so replays see the same result.
84463
+ */
84464
+ export function workflow<T>(fn: (...args: any[]) => Promise<T>)
84465
+
84466
+ export async function step<T>(name: string, fn: () => T | Promise<T>): Promise<T>
84467
+
84468
+ export async function sleep(seconds: number): Promise<void>
84469
+
84470
+ /**
84471
+ * Suspend the workflow and wait for an external approval.
84472
+ *
84473
+ * Use \`getResumeUrls()\` (wrapped in \`step()\`) to obtain resume/cancel/approvalPage
84474
+ * URLs before calling this function.
84475
+ *
84476
+ * @example
84477
+ * const urls = await step("urls", () => getResumeUrls());
84478
+ * await step("notify", () => sendEmail(urls.approvalPage));
84479
+ * const { value, approver } = await waitForApproval({ timeout: 3600 });
84480
+ */
84481
+ export function waitForApproval(options?: { timeout?: number; form?: object; selfApproval?: boolean; }): PromiseLike<{ value: any; approver: string; approved: boolean }>
84482
+
84483
+ /**
84484
+ * Process items in parallel with optional concurrency control.
84485
+ *
84486
+ * Each item is processed by calling \`fn(item)\`, which should be a task().
84487
+ * Items are dispatched in batches of \`concurrency\` (default: all at once).
84488
+ *
84489
+ * @example
84490
+ * const process = task(async (item: string) => { ... });
84491
+ * const results = await parallel(items, process, { concurrency: 5 });
84492
+ */
84493
+ export async function parallel<T, R>(items: T[], fn: (item: T) => PromiseLike<R> | R, options?: { concurrency?: number },): Promise<R[]>
84494
+ \`\`\`
84495
+
84496
+
84497
+ ## Python Workflow-as-Code API (wmill)
84498
+
84499
+ Import: \`from wmill import workflow, task, task_script, task_flow, step, sleep, wait_for_approval, get_resume_urls, parallel, TaskError\`
84500
+
84501
+ \`\`\`python
84502
+ # Raised when a WAC task step failed.
84503
+ #
84504
+ # Attributes:
84505
+ # step_key: The checkpoint key of the failed step.
84506
+ # child_job_id: The UUID of the failed child job.
84507
+ # result: The error result from the child job.
84508
+ class TaskError(Exception):
84509
+ def __init__(self, message: str, *, step_key: str = '', child_job_id: str = '', result = None)
84510
+
84511
+ # Get URLs needed for resuming a flow after suspension.
84512
+ #
84513
+ # Args:
84514
+ # approver: Optional approver name
84515
+ # flow_level: If True, generate resume URLs for the parent flow instead of the
84516
+ # specific step. This allows pre-approvals that can be consumed by any later
84517
+ # suspend step in the same flow.
84518
+ #
84519
+ # Returns:
84520
+ # Dictionary with approvalPage, resume, and cancel URLs
84521
+ def get_resume_urls(approver: str = None, flow_level: bool = None) -> dict
84522
+
84523
+ # Decorator that marks a function as a workflow task.
84524
+ #
84525
+ # Works in both WAC v1 (sync, HTTP-based dispatch) and WAC v2
84526
+ # (async, checkpoint/replay) modes:
84527
+ #
84528
+ # - **v2 (inside @workflow)**: dispatches as a checkpoint step.
84529
+ # - **v1 (WM_JOB_ID set, no @workflow)**: dispatches via HTTP API.
84530
+ # - **Standalone**: executes the function body directly.
84531
+ #
84532
+ # Usage::
84533
+ #
84534
+ # @task
84535
+ # async def extract_data(url: str): ...
84536
+ #
84537
+ # @task(path="f/external_script", timeout=600, tag="gpu")
84538
+ # async def run_external(x: int): ...
84539
+ def task(_func = None, *, path: Optional[str] = None, tag: Optional[str] = None, timeout: Optional[int] = None, cache_ttl: Optional[int] = None, priority: Optional[int] = None, concurrency_limit: Optional[int] = None, concurrency_key: Optional[str] = None, concurrency_time_window_s: Optional[int] = None)
84540
+
84541
+ # Create a task that dispatches to a separate Windmill script.
84542
+ #
84543
+ # Usage::
84544
+ #
84545
+ # extract = task_script("f/data/extract", timeout=600)
84546
+ #
84547
+ # @workflow
84548
+ # async def main():
84549
+ # data = await extract(url="https://...")
84550
+ def task_script(path: str, *, timeout: Optional[int] = None, tag: Optional[str] = None, cache_ttl: Optional[int] = None, priority: Optional[int] = None, concurrency_limit: Optional[int] = None, concurrency_key: Optional[str] = None, concurrency_time_window_s: Optional[int] = None)
84551
+
84552
+ # Create a task that dispatches to a separate Windmill flow.
84553
+ #
84554
+ # Usage::
84555
+ #
84556
+ # pipeline = task_flow("f/etl/pipeline", priority=10)
84557
+ #
84558
+ # @workflow
84559
+ # async def main():
84560
+ # result = await pipeline(input=data)
84561
+ def task_flow(path: str, *, timeout: Optional[int] = None, tag: Optional[str] = None, cache_ttl: Optional[int] = None, priority: Optional[int] = None, concurrency_limit: Optional[int] = None, concurrency_key: Optional[str] = None, concurrency_time_window_s: Optional[int] = None)
84562
+
84563
+ # Decorator marking an async function as a workflow-as-code entry point.
84564
+ #
84565
+ # The function must be **deterministic**: given the same inputs it must call
84566
+ # tasks in the same order on every replay. Branching on task results is fine
84567
+ # (results are replayed from checkpoint), but branching on external state
84568
+ # (current time, random values, external API calls) must use \`\`step()\`\` to
84569
+ # checkpoint the value so replays see the same result.
84570
+ def workflow(func)
84571
+
84572
+ # Execute \`\`fn\`\` inline and checkpoint the result.
84573
+ #
84574
+ # On replay the cached value is returned without re-executing \`\`fn\`\`.
84575
+ # Use for lightweight deterministic operations (timestamps, random IDs,
84576
+ # config reads) that should not incur the overhead of a child job.
84577
+ async def step(name: str, fn)
84578
+
84579
+ # Server-side sleep — suspend the workflow for the given duration without holding a worker.
84580
+ #
84581
+ # Inside a @workflow, the parent job suspends and auto-resumes after \`\`seconds\`\`.
84582
+ # Outside a workflow, falls back to \`\`asyncio.sleep\`\`.
84583
+ async def sleep(seconds: int)
84584
+
84585
+ # Suspend the workflow and wait for an external approval.
84586
+ #
84587
+ # Use \`\`get_resume_urls()\`\` (wrapped in \`\`step()\`\`) to obtain
84588
+ # resume/cancel/approval URLs before calling this function.
84589
+ #
84590
+ # Returns a dict with \`\`value\`\` (form data), \`\`approver\`\`, and \`\`approved\`\`.
84591
+ #
84592
+ # Args:
84593
+ # timeout: Approval timeout in seconds (default 1800).
84594
+ # form: Optional form schema for the approval page.
84595
+ # self_approval: Whether the user who triggered the flow can approve it (default True).
84596
+ #
84597
+ # Example::
84598
+ #
84599
+ # urls = await step("urls", lambda: get_resume_urls())
84600
+ # await step("notify", lambda: send_email(urls["approvalPage"]))
84601
+ # result = await wait_for_approval(timeout=3600)
84602
+ async def wait_for_approval(timeout: int = 1800, form: dict | None = None, self_approval: bool = True) -> dict
84603
+
84604
+ # Process items in parallel with optional concurrency control.
84605
+ #
84606
+ # Each item is processed by calling \`\`fn(item)\`\`, which should be a @task.
84607
+ # Items are dispatched in batches of \`\`concurrency\`\` (default: all at once).
84608
+ #
84609
+ # Example::
84610
+ #
84611
+ # @task
84612
+ # async def process(item: str):
84613
+ # ...
84614
+ #
84615
+ # results = await parallel(items, process, concurrency=5)
84616
+ async def parallel(items, fn, *, concurrency: Optional[int] = None)
84617
+ \`\`\`
84176
84618
  `,
84177
84619
  "cli-commands": `---
84178
84620
  name: cli-commands
@@ -87882,7 +88324,7 @@ var config_default = command35;
87882
88324
 
87883
88325
  // src/main.ts
87884
88326
  await init_context();
87885
- var VERSION = "1.693.0";
88327
+ var VERSION = "1.693.2";
87886
88328
  async function checkVersionSafe(cmd) {
87887
88329
  const mainCommand = cmd.getMainCommand();
87888
88330
  const upgradeCommand = mainCommand.getCommand("upgrade");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.693.0",
3
+ "version": "1.693.2",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",