windmill-cli 1.765.0 → 1.766.1

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 +10 -8
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16784,7 +16784,7 @@ var init_OpenAPI = __esm(() => {
16784
16784
  PASSWORD: undefined,
16785
16785
  TOKEN: getEnv3("WM_TOKEN"),
16786
16786
  USERNAME: undefined,
16787
- VERSION: "1.765.0",
16787
+ VERSION: "1.766.1",
16788
16788
  WITH_CREDENTIALS: true,
16789
16789
  interceptors: {
16790
16790
  request: new Interceptors,
@@ -26804,7 +26804,7 @@ var init_auth = __esm(async () => {
26804
26804
  });
26805
26805
 
26806
26806
  // src/core/constants.ts
26807
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.765.0";
26807
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.766.1";
26808
26808
 
26809
26809
  // src/utils/git.ts
26810
26810
  var exports_git = {};
@@ -80596,7 +80596,7 @@ You are a helpful assistant that can help with Windmill scripts, flows, apps, an
80596
80596
 
80597
80597
  ## Script Writing Guide
80598
80598
 
80599
- You MUST use the \`write-script-<language>\` skill to write or modify scripts in the language specified by the user. Use bun by default.
80599
+ You MUST use the \`write-script-<language>\` skill to write or modify scripts in the language specified by the user. Use bun by default. For TypeScript, always prefer bun (\`write-script-bun\`) over deno unless the script specifically requires the Deno runtime.
80600
80600
  For Workflow-as-Code scripts, use the \`write-workflow-as-code\` skill.
80601
80601
 
80602
80602
  ## Flow Writing Guide
@@ -80743,10 +80743,10 @@ var init_skills_gen = __esm(() => {
80743
80743
  { name: "write-script-ansible", description: "MUST use when writing Ansible playbooks.", languageKey: "ansible" },
80744
80744
  { name: "write-script-bash", description: "MUST use when writing Bash scripts.", languageKey: "bash" },
80745
80745
  { name: "write-script-bigquery", description: "MUST use when writing BigQuery queries.", languageKey: "bigquery" },
80746
- { name: "write-script-bun", description: "MUST use when writing Bun/TypeScript scripts.", languageKey: "bun" },
80746
+ { name: "write-script-bun", description: "MUST use when writing TypeScript scripts. Bun is the default and preferred TypeScript runtime — pick it for TypeScript unless the script specifically needs Deno.", languageKey: "bun" },
80747
80747
  { name: "write-script-bunnative", description: "MUST use when writing Bun Native scripts. The script must start with //native to run on the native worker.", languageKey: "bunnative" },
80748
80748
  { name: "write-script-csharp", description: "MUST use when writing C# scripts.", languageKey: "csharp" },
80749
- { name: "write-script-deno", description: "MUST use when writing Deno/TypeScript scripts.", languageKey: "deno" },
80749
+ { name: "write-script-deno", description: "Use ONLY when a TypeScript script specifically requires the Deno runtime (Deno stdlib or deno.land URL imports). For all other TypeScript, use write-script-bun instead.", languageKey: "deno" },
80750
80750
  { name: "write-script-duckdb", description: "MUST use when writing DuckDB queries.", languageKey: "duckdb" },
80751
80751
  { name: "write-script-go", description: "MUST use when writing Go scripts.", languageKey: "go" },
80752
80752
  { name: "write-script-graphql", description: "MUST use when writing GraphQL queries.", languageKey: "graphql" },
@@ -81105,7 +81105,7 @@ being buffered, bypassing the 10000-row return cap.
81105
81105
  `,
81106
81106
  "write-script-bun": `---
81107
81107
  name: write-script-bun
81108
- description: MUST use when writing Bun/TypeScript scripts.
81108
+ description: MUST use when writing TypeScript scripts. Bun is the default and preferred TypeScript runtime — pick it for TypeScript unless the script specifically needs Deno.
81109
81109
  ---
81110
81110
 
81111
81111
  ## CLI Commands
@@ -81155,7 +81155,7 @@ Use \`wmill resource-type list --schema\` to discover available resource types.
81155
81155
 
81156
81156
  # TypeScript (Bun)
81157
81157
 
81158
- Bun runtime with full npm ecosystem and fastest execution.
81158
+ Bun runtime with full npm ecosystem and fastest execution. **Bun is the default and preferred TypeScript runtime** — choose it for any TypeScript script unless there is a major reason to use Deno for that specific use-case.
81159
81159
 
81160
81160
  ## Structure
81161
81161
 
@@ -82725,7 +82725,7 @@ public class Script
82725
82725
  `,
82726
82726
  "write-script-deno": `---
82727
82727
  name: write-script-deno
82728
- description: MUST use when writing Deno/TypeScript scripts.
82728
+ description: Use ONLY when a TypeScript script specifically requires the Deno runtime (Deno stdlib or deno.land URL imports). For all other TypeScript, use write-script-bun instead.
82729
82729
  ---
82730
82730
 
82731
82731
  ## CLI Commands
@@ -82777,6 +82777,8 @@ Use \`wmill resource-type list --schema\` to discover available resource types.
82777
82777
 
82778
82778
  Deno runtime with npm support via \`npm:\` prefix and native Deno libraries.
82779
82779
 
82780
+ **Prefer Bun (\`write-script-bun\`) for TypeScript.** Only use Deno when the script specifically requires the Deno runtime — Deno's standard library or \`deno.land\` URL imports that have no npm equivalent. For all other TypeScript, use Bun instead.
82781
+
82780
82782
  ## Structure
82781
82783
 
82782
82784
  Export a single **async** function called \`main\`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.765.0",
3
+ "version": "1.766.1",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",