windmill-cli 1.763.0 → 1.764.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 +116 -64
- 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.
|
|
16787
|
+
VERSION: "1.764.0",
|
|
16788
16788
|
WITH_CREDENTIALS: true,
|
|
16789
16789
|
interceptors: {
|
|
16790
16790
|
request: new Interceptors,
|
|
@@ -17251,7 +17251,7 @@ __export(exports_services_gen, {
|
|
|
17251
17251
|
logout: () => logout,
|
|
17252
17252
|
loginWithOauth: () => loginWithOauth,
|
|
17253
17253
|
login: () => login,
|
|
17254
|
-
|
|
17254
|
+
logFeatureUsage: () => logFeatureUsage,
|
|
17255
17255
|
loadTableRowCount: () => loadTableRowCount,
|
|
17256
17256
|
loadParquetPreview: () => loadParquetPreview,
|
|
17257
17257
|
loadGitRepoFilePreview: () => loadGitRepoFilePreview,
|
|
@@ -17529,6 +17529,7 @@ __export(exports_services_gen, {
|
|
|
17529
17529
|
getGlobal: () => getGlobal,
|
|
17530
17530
|
getGithubAppToken: () => getGithubAppToken,
|
|
17531
17531
|
getGitSyncEnabled: () => getGitSyncEnabled,
|
|
17532
|
+
getGitSyncDeployMode: () => getGitSyncDeployMode,
|
|
17532
17533
|
getGitCommitHash: () => getGitCommitHash,
|
|
17533
17534
|
getGhesConfig: () => getGhesConfig,
|
|
17534
17535
|
getGcpTrigger: () => getGcpTrigger,
|
|
@@ -19436,6 +19437,17 @@ var backendVersion = () => {
|
|
|
19436
19437
|
workspace: data3.workspace
|
|
19437
19438
|
}
|
|
19438
19439
|
});
|
|
19440
|
+
}, getGitSyncDeployMode = (data3) => {
|
|
19441
|
+
return request(OpenAPI, {
|
|
19442
|
+
method: "GET",
|
|
19443
|
+
url: "/w/{workspace}/workspaces/git_sync_deploy_mode",
|
|
19444
|
+
path: {
|
|
19445
|
+
workspace: data3.workspace
|
|
19446
|
+
},
|
|
19447
|
+
query: {
|
|
19448
|
+
branch: data3.branch
|
|
19449
|
+
}
|
|
19450
|
+
});
|
|
19439
19451
|
}, editWorkspaceGitSyncConfig = (data3) => {
|
|
19440
19452
|
return request(OpenAPI, {
|
|
19441
19453
|
method: "POST",
|
|
@@ -19936,10 +19948,10 @@ var backendVersion = () => {
|
|
|
19936
19948
|
400: "invalid input or request closed"
|
|
19937
19949
|
}
|
|
19938
19950
|
});
|
|
19939
|
-
},
|
|
19951
|
+
}, logFeatureUsage = (data3) => {
|
|
19940
19952
|
return request(OpenAPI, {
|
|
19941
19953
|
method: "POST",
|
|
19942
|
-
url: "/w/{workspace}/workspaces/
|
|
19954
|
+
url: "/w/{workspace}/workspaces/log_feature_usage",
|
|
19943
19955
|
path: {
|
|
19944
19956
|
workspace: data3.workspace
|
|
19945
19957
|
},
|
|
@@ -25978,7 +25990,7 @@ __export(exports_gen, {
|
|
|
25978
25990
|
logout: () => logout,
|
|
25979
25991
|
loginWithOauth: () => loginWithOauth,
|
|
25980
25992
|
login: () => login,
|
|
25981
|
-
|
|
25993
|
+
logFeatureUsage: () => logFeatureUsage,
|
|
25982
25994
|
loadTableRowCount: () => loadTableRowCount,
|
|
25983
25995
|
loadParquetPreview: () => loadParquetPreview,
|
|
25984
25996
|
loadGitRepoFilePreview: () => loadGitRepoFilePreview,
|
|
@@ -26256,6 +26268,7 @@ __export(exports_gen, {
|
|
|
26256
26268
|
getGlobal: () => getGlobal,
|
|
26257
26269
|
getGithubAppToken: () => getGithubAppToken,
|
|
26258
26270
|
getGitSyncEnabled: () => getGitSyncEnabled,
|
|
26271
|
+
getGitSyncDeployMode: () => getGitSyncDeployMode,
|
|
26259
26272
|
getGitCommitHash: () => getGitCommitHash,
|
|
26260
26273
|
getGhesConfig: () => getGhesConfig,
|
|
26261
26274
|
getGcpTrigger: () => getGcpTrigger,
|
|
@@ -26667,7 +26680,7 @@ var init_auth = __esm(async () => {
|
|
|
26667
26680
|
});
|
|
26668
26681
|
|
|
26669
26682
|
// src/core/constants.ts
|
|
26670
|
-
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.
|
|
26683
|
+
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.764.0";
|
|
26671
26684
|
|
|
26672
26685
|
// src/utils/git.ts
|
|
26673
26686
|
var exports_git = {};
|
|
@@ -80340,11 +80353,45 @@ var init_push = __esm(async () => {
|
|
|
80340
80353
|
]);
|
|
80341
80354
|
});
|
|
80342
80355
|
|
|
80356
|
+
// src/commands/gitsync-settings/status.ts
|
|
80357
|
+
async function gitSyncStatus(opts) {
|
|
80358
|
+
const workspace = await resolveWorkspace(opts);
|
|
80359
|
+
await requireLogin(opts);
|
|
80360
|
+
const branch = isGitRepository() ? getCurrentGitBranch() : null;
|
|
80361
|
+
const mode = await getGitSyncDeployMode({
|
|
80362
|
+
workspace: workspace.workspaceId,
|
|
80363
|
+
branch: branch ?? undefined
|
|
80364
|
+
});
|
|
80365
|
+
const deployCommand = mode.deploy_on_push ? "git push" : null;
|
|
80366
|
+
if (opts.jsonOutput) {
|
|
80367
|
+
console.log(JSON.stringify({ ...mode, current_branch: branch, deploy_command: deployCommand }, null, 2));
|
|
80368
|
+
return;
|
|
80369
|
+
}
|
|
80370
|
+
if (mode.deploy_on_push) {
|
|
80371
|
+
info(colors.green(`Git-sync auto-pull deploys this branch: pushing '${branch}' deploys to the workspace.`));
|
|
80372
|
+
info(`Recommended deploy command: ${colors.bold("git push")}`);
|
|
80373
|
+
} else {
|
|
80374
|
+
info(colors.yellow(mode.configured ? "Couldn't confirm a backend auto-pull deploy for this checkout (no single repo unambiguously tracks this branch)." : "No git-sync repository is configured for this workspace on the backend."));
|
|
80375
|
+
info("This is not confirmed deploy-on-push, not a definite no. Ask the user how this repo deploys: `git push` (a CI workflow, or a git-sync repo that couldn't be disambiguated) or `wmill sync push`. Record the answer as a `Deploy mode:` line in AGENTS.md so later sessions skip the question (see the Deploying section).");
|
|
80376
|
+
}
|
|
80377
|
+
}
|
|
80378
|
+
var init_status = __esm(async () => {
|
|
80379
|
+
init_colors2();
|
|
80380
|
+
init_log();
|
|
80381
|
+
init_services_gen();
|
|
80382
|
+
init_git();
|
|
80383
|
+
await __promiseAll([
|
|
80384
|
+
init_auth(),
|
|
80385
|
+
init_context()
|
|
80386
|
+
]);
|
|
80387
|
+
});
|
|
80388
|
+
|
|
80343
80389
|
// src/commands/gitsync-settings/gitsync-settings.ts
|
|
80344
80390
|
var exports_gitsync_settings = {};
|
|
80345
80391
|
__export(exports_gitsync_settings, {
|
|
80346
80392
|
pushGitSyncSettings: () => pushGitSyncSettings,
|
|
80347
80393
|
pullGitSyncSettings: () => pullGitSyncSettings,
|
|
80394
|
+
gitSyncStatus: () => gitSyncStatus,
|
|
80348
80395
|
default: () => gitsync_settings_default
|
|
80349
80396
|
});
|
|
80350
80397
|
var command23, gitsync_settings_default;
|
|
@@ -80352,9 +80399,10 @@ var init_gitsync_settings = __esm(async () => {
|
|
|
80352
80399
|
init_mod3();
|
|
80353
80400
|
await __promiseAll([
|
|
80354
80401
|
init_pull2(),
|
|
80355
|
-
init_push()
|
|
80402
|
+
init_push(),
|
|
80403
|
+
init_status()
|
|
80356
80404
|
]);
|
|
80357
|
-
command23 = new Command().description("Manage git-sync settings between local wmill.yaml and Windmill backend").command("pull").description("Pull git-sync settings from Windmill backend to local wmill.yaml").option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)").option("--default", "Write settings to top-level defaults instead of overrides").option("--replace", "Replace existing settings (non-interactive mode)").option("--override", "Add branch-specific override (non-interactive mode)").option("--diff", "Show differences without applying changes").option("--json-output", "Output in JSON format").option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)").option("--yes", "Skip interactive prompts and use default behavior").option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides").action(pullGitSyncSettings).command("push").description("Push git-sync settings from local wmill.yaml to Windmill backend").option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)").option("--diff", "Show what would be pushed without applying changes").option("--json-output", "Output in JSON format").option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)").option("--yes", "Skip interactive prompts and use default behavior").option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides").action(pushGitSyncSettings);
|
|
80405
|
+
command23 = new Command().description("Manage git-sync settings between local wmill.yaml and Windmill backend").command("pull").description("Pull git-sync settings from Windmill backend to local wmill.yaml").option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)").option("--default", "Write settings to top-level defaults instead of overrides").option("--replace", "Replace existing settings (non-interactive mode)").option("--override", "Add branch-specific override (non-interactive mode)").option("--diff", "Show differences without applying changes").option("--json-output", "Output in JSON format").option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)").option("--yes", "Skip interactive prompts and use default behavior").option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides").action(pullGitSyncSettings).command("push").description("Push git-sync settings from local wmill.yaml to Windmill backend").option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)").option("--diff", "Show what would be pushed without applying changes").option("--json-output", "Output in JSON format").option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)").option("--yes", "Skip interactive prompts and use default behavior").option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides").action(pushGitSyncSettings).command("status").description("Report how local changes deploy to the workspace (git push vs wmill sync push)").option("--json-output", "Output in JSON format").action(gitSyncStatus);
|
|
80358
80406
|
gitsync_settings_default = command23;
|
|
80359
80407
|
});
|
|
80360
80408
|
|
|
@@ -80460,23 +80508,24 @@ There are two ways local changes reach the workspace. Pick based on how the repo
|
|
|
80460
80508
|
|
|
80461
80509
|
### Detecting the setup
|
|
80462
80510
|
|
|
80463
|
-
|
|
80511
|
+
A \`git push\` deploys when either mechanism is in place: **server-handled git sync** (the workspace auto-pulls the remote, so Windmill deploys what you push) or a **CI workflow that runs \`wmill sync push\` on push**. Check for either:
|
|
80464
80512
|
|
|
80465
|
-
-
|
|
80513
|
+
- Run \`wmill gitsync-settings status\`. If it reports \`deploy_on_push\`, pushing the current branch deploys via backend auto-pull — no CI needed.
|
|
80514
|
+
- Otherwise look for a \`.github/workflows/*.yml\` (or other CI config) that invokes \`wmill sync push\` or similar \`wmill\` deployment commands.
|
|
80466
80515
|
|
|
80467
|
-
If
|
|
80516
|
+
If either is present → **use \`git push\`** (Option A). If \`status\` reports no auto-pull and there is no CI wiring, **ask the user** how this repo deploys (a CI pipeline you didn't recognize → \`git push\`, or manual → \`wmill sync push\`) rather than assuming — then record the answer (below). Only use \`wmill sync push\` directly (Option B) once you've confirmed there is no deploy-on-push path.
|
|
80468
80517
|
|
|
80469
|
-
**Save the preference so you don't re-detect it every session.** Once you've determined which option this repo uses (or the user tells you), record it in the **project-specific instructions** section of \`AGENTS.md\` (user-owned — never overwritten by \`wmill refresh prompts\`), e.g. a line like \`Deploy mode: git push (CI runs wmill sync push)
|
|
80518
|
+
**Save the preference so you don't re-detect it every session.** Once you've determined which option this repo uses (or the user tells you), record it in the **project-specific instructions** section of \`AGENTS.md\` (user-owned — never overwritten by \`wmill refresh prompts\`), e.g. a line like \`Deploy mode: git push (backend auto-pull)\`, \`Deploy mode: git push (CI runs wmill sync push)\`, or \`Deploy mode: wmill sync push (no git-push deploy)\`. On later sessions, read that line first and skip the scan. Re-detect only if the wiring visibly changed.
|
|
80470
80519
|
|
|
80471
|
-
### Option A — \`git push\` (CI
|
|
80520
|
+
### Option A — \`git push\` (backend auto-pull or CI deploys on push)
|
|
80472
80521
|
|
|
80473
|
-
|
|
80522
|
+
Pushing the commit deploys it: the backend auto-pulls the remote, or a CI workflow runs \`wmill sync push\`. This is how deployments are intended to happen in this repo. Don't bypass it.
|
|
80474
80523
|
|
|
80475
80524
|
1. \`git add\` + \`git commit\` the local changes.
|
|
80476
|
-
2. \`git push\` to the branch the CI runs on.
|
|
80477
|
-
3. The
|
|
80525
|
+
2. \`git push\` to the tracked branch (the one the backend pulls or CI runs on).
|
|
80526
|
+
3. The deploy happens on the backend.
|
|
80478
80527
|
|
|
80479
|
-
Only fall back to Option B if the user explicitly asks to bypass
|
|
80528
|
+
Only fall back to Option B if the user explicitly asks to bypass this for this change (e.g. the pipeline is broken, urgent hotfix), or if the tracked branch doesn't cover the current branch.
|
|
80480
80529
|
|
|
80481
80530
|
### Option B — \`wmill sync push\` (no CI wiring)
|
|
80482
80531
|
|
|
@@ -80584,7 +80633,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
80584
80633
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
80585
80634
|
- \`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.
|
|
80586
80635
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
80587
|
-
- \`wmill sync push\`
|
|
80636
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
80588
80637
|
|
|
80589
80638
|
### Preview vs run — choose by intent, not habit
|
|
80590
80639
|
|
|
@@ -80614,7 +80663,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
80614
80663
|
|
|
80615
80664
|
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.
|
|
80616
80665
|
|
|
80617
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
80666
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
80618
80667
|
|
|
80619
80668
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
80620
80669
|
|
|
@@ -80724,7 +80773,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
80724
80773
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
80725
80774
|
- \`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.
|
|
80726
80775
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
80727
|
-
- \`wmill sync push\`
|
|
80776
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
80728
80777
|
|
|
80729
80778
|
### Preview vs run — choose by intent, not habit
|
|
80730
80779
|
|
|
@@ -80754,7 +80803,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
80754
80803
|
|
|
80755
80804
|
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.
|
|
80756
80805
|
|
|
80757
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
80806
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
80758
80807
|
|
|
80759
80808
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
80760
80809
|
|
|
@@ -80824,7 +80873,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
80824
80873
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
80825
80874
|
- \`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.
|
|
80826
80875
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
80827
|
-
- \`wmill sync push\`
|
|
80876
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
80828
80877
|
|
|
80829
80878
|
### Preview vs run — choose by intent, not habit
|
|
80830
80879
|
|
|
@@ -80854,7 +80903,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
80854
80903
|
|
|
80855
80904
|
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.
|
|
80856
80905
|
|
|
80857
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
80906
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
80858
80907
|
|
|
80859
80908
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
80860
80909
|
|
|
@@ -80917,7 +80966,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
80917
80966
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
80918
80967
|
- \`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.
|
|
80919
80968
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
80920
|
-
- \`wmill sync push\`
|
|
80969
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
80921
80970
|
|
|
80922
80971
|
### Preview vs run — choose by intent, not habit
|
|
80923
80972
|
|
|
@@ -80947,7 +80996,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
80947
80996
|
|
|
80948
80997
|
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.
|
|
80949
80998
|
|
|
80950
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
80999
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
80951
81000
|
|
|
80952
81001
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
80953
81002
|
|
|
@@ -81681,7 +81730,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
81681
81730
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
81682
81731
|
- \`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.
|
|
81683
81732
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
81684
|
-
- \`wmill sync push\`
|
|
81733
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
81685
81734
|
|
|
81686
81735
|
### Preview vs run — choose by intent, not habit
|
|
81687
81736
|
|
|
@@ -81711,7 +81760,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
81711
81760
|
|
|
81712
81761
|
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.
|
|
81713
81762
|
|
|
81714
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
81763
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
81715
81764
|
|
|
81716
81765
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
81717
81766
|
|
|
@@ -82445,7 +82494,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
82445
82494
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
82446
82495
|
- \`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.
|
|
82447
82496
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
82448
|
-
- \`wmill sync push\`
|
|
82497
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
82449
82498
|
|
|
82450
82499
|
### Preview vs run — choose by intent, not habit
|
|
82451
82500
|
|
|
@@ -82475,7 +82524,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
82475
82524
|
|
|
82476
82525
|
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.
|
|
82477
82526
|
|
|
82478
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
82527
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
82479
82528
|
|
|
82480
82529
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
82481
82530
|
|
|
@@ -82537,7 +82586,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
82537
82586
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
82538
82587
|
- \`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.
|
|
82539
82588
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
82540
|
-
- \`wmill sync push\`
|
|
82589
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
82541
82590
|
|
|
82542
82591
|
### Preview vs run — choose by intent, not habit
|
|
82543
82592
|
|
|
@@ -82567,7 +82616,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
82567
82616
|
|
|
82568
82617
|
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.
|
|
82569
82618
|
|
|
82570
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
82619
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
82571
82620
|
|
|
82572
82621
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
82573
82622
|
|
|
@@ -83301,7 +83350,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83301
83350
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83302
83351
|
- \`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.
|
|
83303
83352
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83304
|
-
- \`wmill sync push\`
|
|
83353
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83305
83354
|
|
|
83306
83355
|
### Preview vs run — choose by intent, not habit
|
|
83307
83356
|
|
|
@@ -83331,7 +83380,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83331
83380
|
|
|
83332
83381
|
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.
|
|
83333
83382
|
|
|
83334
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83383
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83335
83384
|
|
|
83336
83385
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83337
83386
|
|
|
@@ -83427,7 +83476,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83427
83476
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83428
83477
|
- \`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.
|
|
83429
83478
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83430
|
-
- \`wmill sync push\`
|
|
83479
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83431
83480
|
|
|
83432
83481
|
### Preview vs run — choose by intent, not habit
|
|
83433
83482
|
|
|
@@ -83457,7 +83506,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83457
83506
|
|
|
83458
83507
|
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.
|
|
83459
83508
|
|
|
83460
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83509
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83461
83510
|
|
|
83462
83511
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83463
83512
|
|
|
@@ -83536,7 +83585,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83536
83585
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83537
83586
|
- \`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.
|
|
83538
83587
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83539
|
-
- \`wmill sync push\`
|
|
83588
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83540
83589
|
|
|
83541
83590
|
### Preview vs run — choose by intent, not habit
|
|
83542
83591
|
|
|
@@ -83566,7 +83615,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83566
83615
|
|
|
83567
83616
|
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.
|
|
83568
83617
|
|
|
83569
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83618
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83570
83619
|
|
|
83571
83620
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83572
83621
|
|
|
@@ -83632,7 +83681,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83632
83681
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83633
83682
|
- \`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.
|
|
83634
83683
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83635
|
-
- \`wmill sync push\`
|
|
83684
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83636
83685
|
|
|
83637
83686
|
### Preview vs run — choose by intent, not habit
|
|
83638
83687
|
|
|
@@ -83662,7 +83711,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83662
83711
|
|
|
83663
83712
|
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.
|
|
83664
83713
|
|
|
83665
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83714
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83666
83715
|
|
|
83667
83716
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83668
83717
|
|
|
@@ -83721,7 +83770,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83721
83770
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83722
83771
|
- \`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.
|
|
83723
83772
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83724
|
-
- \`wmill sync push\`
|
|
83773
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83725
83774
|
|
|
83726
83775
|
### Preview vs run — choose by intent, not habit
|
|
83727
83776
|
|
|
@@ -83751,7 +83800,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83751
83800
|
|
|
83752
83801
|
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.
|
|
83753
83802
|
|
|
83754
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83803
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83755
83804
|
|
|
83756
83805
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83757
83806
|
|
|
@@ -83813,7 +83862,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83813
83862
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83814
83863
|
- \`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.
|
|
83815
83864
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83816
|
-
- \`wmill sync push\`
|
|
83865
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83817
83866
|
|
|
83818
83867
|
### Preview vs run — choose by intent, not habit
|
|
83819
83868
|
|
|
@@ -83843,7 +83892,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83843
83892
|
|
|
83844
83893
|
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.
|
|
83845
83894
|
|
|
83846
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83895
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83847
83896
|
|
|
83848
83897
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83849
83898
|
|
|
@@ -83906,7 +83955,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
83906
83955
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
83907
83956
|
- \`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.
|
|
83908
83957
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
83909
|
-
- \`wmill sync push\`
|
|
83958
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
83910
83959
|
|
|
83911
83960
|
### Preview vs run — choose by intent, not habit
|
|
83912
83961
|
|
|
@@ -83936,7 +83985,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
83936
83985
|
|
|
83937
83986
|
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.
|
|
83938
83987
|
|
|
83939
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
83988
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
83940
83989
|
|
|
83941
83990
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
83942
83991
|
|
|
@@ -84014,7 +84063,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
84014
84063
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
84015
84064
|
- \`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.
|
|
84016
84065
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
84017
|
-
- \`wmill sync push\`
|
|
84066
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
84018
84067
|
|
|
84019
84068
|
### Preview vs run — choose by intent, not habit
|
|
84020
84069
|
|
|
@@ -84044,7 +84093,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
84044
84093
|
|
|
84045
84094
|
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.
|
|
84046
84095
|
|
|
84047
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
84096
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
84048
84097
|
|
|
84049
84098
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
84050
84099
|
|
|
@@ -84105,7 +84154,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
84105
84154
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
84106
84155
|
- \`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.
|
|
84107
84156
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
84108
|
-
- \`wmill sync push\`
|
|
84157
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
84109
84158
|
|
|
84110
84159
|
### Preview vs run — choose by intent, not habit
|
|
84111
84160
|
|
|
@@ -84135,7 +84184,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
84135
84184
|
|
|
84136
84185
|
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.
|
|
84137
84186
|
|
|
84138
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
84187
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
84139
84188
|
|
|
84140
84189
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
84141
84190
|
|
|
@@ -84211,7 +84260,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
84211
84260
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
84212
84261
|
- \`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.
|
|
84213
84262
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
84214
|
-
- \`wmill sync push\`
|
|
84263
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
84215
84264
|
|
|
84216
84265
|
### Preview vs run — choose by intent, not habit
|
|
84217
84266
|
|
|
@@ -84241,7 +84290,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
84241
84290
|
|
|
84242
84291
|
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.
|
|
84243
84292
|
|
|
84244
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
84293
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
84245
84294
|
|
|
84246
84295
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
84247
84296
|
|
|
@@ -85114,7 +85163,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
85114
85163
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
85115
85164
|
- \`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.
|
|
85116
85165
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
85117
|
-
- \`wmill sync push\`
|
|
85166
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
85118
85167
|
|
|
85119
85168
|
### Preview vs run — choose by intent, not habit
|
|
85120
85169
|
|
|
@@ -85144,7 +85193,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
85144
85193
|
|
|
85145
85194
|
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.
|
|
85146
85195
|
|
|
85147
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
85196
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
85148
85197
|
|
|
85149
85198
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
85150
85199
|
|
|
@@ -85250,7 +85299,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
85250
85299
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
85251
85300
|
- \`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.
|
|
85252
85301
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
85253
|
-
- \`wmill sync push\`
|
|
85302
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
85254
85303
|
|
|
85255
85304
|
### Preview vs run — choose by intent, not habit
|
|
85256
85305
|
|
|
@@ -85280,7 +85329,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
85280
85329
|
|
|
85281
85330
|
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.
|
|
85282
85331
|
|
|
85283
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
85332
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
85284
85333
|
|
|
85285
85334
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
85286
85335
|
|
|
@@ -85376,7 +85425,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
85376
85425
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
85377
85426
|
- \`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.
|
|
85378
85427
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
85379
|
-
- \`wmill sync push\`
|
|
85428
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
85380
85429
|
|
|
85381
85430
|
### Preview vs run — choose by intent, not habit
|
|
85382
85431
|
|
|
@@ -85406,7 +85455,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
85406
85455
|
|
|
85407
85456
|
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.
|
|
85408
85457
|
|
|
85409
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
85458
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
85410
85459
|
|
|
85411
85460
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
85412
85461
|
|
|
@@ -85506,7 +85555,7 @@ After writing, act on the user's intent instead of just listing commands. Run \`
|
|
|
85506
85555
|
- \`wmill flow preview <flow_path>\` — **default when iterating on a local flow.** Runs the local \`flow.yaml\` against local inline scripts without deploying. Add \`--remote\` to use deployed workspace scripts for PathScript steps instead of local files. Add \`--step <step_id>\` to run only one module in isolation (see "Single-step vs whole-flow preview" below).
|
|
85507
85556
|
- \`wmill flow run <path>\` — runs the flow **already deployed** in the workspace. Use only when the user explicitly wants to test the deployed version, not local edits.
|
|
85508
85557
|
- \`wmill generate-metadata\` — regenerate stale local \`.lock\` files for the flow and its inline scripts and refresh their content hashes in \`wmill-lock.yaml\`. Writes local files only (not a deploy). Run it after editing inline scripts whose imports or arguments changed, so \`wmill-lock.yaml\` doesn't drift and add noise to git-sync/CI. By default it scans **scripts, flows, and apps** across the workspace but only regenerates stale ones; pass the flow's folder as an argument (or run from that subdirectory) to limit the scope to the flow you edited. Note a flow (or script) that imports a changed shared script is pulled in too — run \`wmill generate-metadata --dry-run\` to see exactly what is stale and why (\`content changed\` vs \`depends on <path>\`) before applying.
|
|
85509
|
-
- \`wmill sync push\`
|
|
85558
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
85510
85559
|
|
|
85511
85560
|
### Preview vs run — choose by intent, not habit
|
|
85512
85561
|
|
|
@@ -86317,7 +86366,7 @@ Text/HTML/inline parts are placed inline in \`body\` as strings.
|
|
|
86317
86366
|
|
|
86318
86367
|
## CLI Commands
|
|
86319
86368
|
|
|
86320
|
-
|
|
86369
|
+
Deploying local changes to the workspace can be destructive to remote state — only suggest/run a deploy when the user explicitly asks to deploy/publish/push, not when they say "run", "try", or "test". Deploy via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). \`sync pull\` is safe to run yourself — it never mutates remote state, though it does overwrite local files to match the remote (use \`sync pull --dry-run\` to only preview).
|
|
86321
86370
|
|
|
86322
86371
|
\`\`\`bash
|
|
86323
86372
|
# Push trigger configuration — only when the user explicitly asks to deploy
|
|
@@ -86368,7 +86417,7 @@ Windmill uses 6-field cron expressions (includes seconds):
|
|
|
86368
86417
|
|
|
86369
86418
|
## CLI Commands
|
|
86370
86419
|
|
|
86371
|
-
|
|
86420
|
+
Deploying local changes to the workspace can be destructive to remote state — only suggest/run a deploy when the user explicitly asks to deploy/publish/push, not when they say "run", "try", or "test". Deploy via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). The commands below never mutate remote state, so they're safe to run yourself — note that \`sync pull\` does overwrite local files to match the remote (use \`sync pull --dry-run\` to only preview), while \`schedule\` just lists.
|
|
86372
86421
|
|
|
86373
86422
|
\`\`\`bash
|
|
86374
86423
|
# Push schedules to Windmill — only when the user explicitly asks to deploy
|
|
@@ -86625,8 +86674,9 @@ wmill resource-type list --schema
|
|
|
86625
86674
|
# Get specific resource type schema
|
|
86626
86675
|
wmill resource-type get postgresql
|
|
86627
86676
|
|
|
86628
|
-
#
|
|
86629
|
-
#
|
|
86677
|
+
# Deploy resources to the workspace — destructive to remote state, so only run when
|
|
86678
|
+
# the user explicitly asks to deploy/publish/push. Depending on how the repo is wired,
|
|
86679
|
+
# deploy via \`git push\` or \`wmill sync push\` (see the Deploying section in AGENTS.wmill.md).
|
|
86630
86680
|
wmill sync push
|
|
86631
86681
|
\`\`\`
|
|
86632
86682
|
`,
|
|
@@ -86644,7 +86694,7 @@ After writing, tell the user which command fits what they want to do:
|
|
|
86644
86694
|
- \`wmill script preview <script_path>\` — **default when iterating on a local script.** Runs the local file without deploying.
|
|
86645
86695
|
- \`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.
|
|
86646
86696
|
- \`wmill generate-metadata\` — regenerate the local \`.script.yaml\` (input schema) and \`.lock\` (resolved dependencies) for scripts you changed, and refresh their content hashes in \`wmill-lock.yaml\`. Local files only — **not** a deploy. See "Keep metadata in sync" below.
|
|
86647
|
-
- \`wmill sync push\`
|
|
86697
|
+
- Deploy local changes to the workspace — via \`git push\` or \`wmill sync push\` depending on how the repo is wired (see the **Deploying** section in \`AGENTS.wmill.md\`). Only suggest/run a deploy when the user explicitly asks to deploy/publish/push — not when they say "run", "try", or "test".
|
|
86648
86698
|
|
|
86649
86699
|
### Preview vs run — choose by intent, not habit
|
|
86650
86700
|
|
|
@@ -86674,7 +86724,7 @@ If the user hasn't already told you to run/test/preview the script, offer it as
|
|
|
86674
86724
|
|
|
86675
86725
|
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.
|
|
86676
86726
|
|
|
86677
|
-
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above.
|
|
86727
|
+
\`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 generate-metadata\` does not deploy either — it only writes local files (locks, schemas, hashes) — but offer it before running (or run automatically if the project's \`AGENTS.md\` opts in), per "Keep metadata in sync" above. Deploying to the workspace (\`git push\` or \`wmill sync push\` depending on how the repo is wired — see the **Deploying** section) is the only step that mutates remote state — do it only when the user explicitly asks to deploy/publish/push.
|
|
86678
86728
|
|
|
86679
86729
|
For a **visual** open-the-script-in-the-dev-page preview (rather than \`script preview\`'s run-and-print-result), use the \`preview\` skill.
|
|
86680
86730
|
|
|
@@ -87338,6 +87388,8 @@ Manage git-sync settings between local wmill.yaml and Windmill backend
|
|
|
87338
87388
|
- \`--with-backend-settings <json:string>\` - Use provided JSON settings instead of querying backend (for testing)
|
|
87339
87389
|
- \`--yes\` - Skip interactive prompts and use default behavior
|
|
87340
87390
|
- \`--promotion <branch:string>\` - Use promotionOverrides from the specified branch instead of regular overrides
|
|
87391
|
+
- \`gitsync-settings status\` - Report how local changes deploy to the workspace (git push vs wmill sync push)
|
|
87392
|
+
- \`--json-output\` - Output in JSON format
|
|
87341
87393
|
|
|
87342
87394
|
### group
|
|
87343
87395
|
|