Commit Graph
7973 Commits
Author SHA1 Message Date
Ruben FiszelandClaude Opus 5.5 ef04fbf98c fix: apply deno preprocessor output to job args
The deno wrapper imports ./wm_envs.ts, but the job's import map sends every
other "./" specifier to the workspace's raw script endpoint, so a deno job
with a path failed with "Module not found .../raw/p/<folder>/wm_envs.ts"
before its preprocessor or main ran. Map ./wm_envs.ts to the job directory
like ./wrapper.ts and ./main.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:06:58 +01:00
Ruben FiszelandClaude Opus 5.5 a728082666 fix: remove unused serde_json::Value import in slack approvals
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:58:20 +01:00
Ruben Fiszelandrubenfiszel 0e6ab265a1 chore(main): release 1.884.0 (#12628)
* chore(main): release 1.884.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-24 23:04:43 +01:00
hugocasaandClaude Opus 5.5 6a0283a950 feat: rerun only the failed iterations of a parallel for-loop or branch-all (#12590)
* feat: rerun only the failed iterations of a parallel for-loop or branch-all

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: fail a failed-only restart cleanly and keep the popup's iteration per step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: refuse a failed-only restart until every worker can run it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: name the parallel step whose iterations a restart reruns

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: rerun the failed iterations of a parallel step nested in a branch-one or loop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: gate any restart chain carrying failed_only on the worker version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: add --failed-only to wmill job restart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: rerun failed iterations on the items they originally ran on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: resume each failed iteration of a failed-only restart at its failed step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: resume a failed iteration only at a step that failed, in an unchanged body

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: resume a failed iteration only at a step that ran, in an identical body

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: move failed-only restart into its own modules; say failed iterations rerun from their failed step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: show the info icon on the failed-only restart toggle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: name the failed-step restart in the failed-only toggle label

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: let a failed-only restart rerun failed iterations from their first step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: rerun failed iterations from their first step unless from_failed_step is set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: keep failed-only slot merging out of the parallel push path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:49:48 +01:00
GuilhemandClaude Opus 5.5 9536cfdab1 feat: ask for secrets and connect services in the AI chat through a secure card (#12575)
* feat: ask for secrets in the AI chat through a secure input card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: overwrite a secret only once the card shows its path as taken

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: settle a stopped secret request, keep multiline secrets, link the saving workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: sanitize the secret card's help link, report a save that lands after stop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: let the chat run the secret save, so it alone settles the card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: let a secret save land before opening a past chat

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: write a late secret save before a chat switch, recheck for a turn after waiting

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: connect a service from one secret card that saves the secrets and creates the resource

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a turn sent during new chat, set the type of a replaced resource, honour replace for its variables

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: connect postgres from a pasted connection string on the secret card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: scope replace to the path the AI asked for, save only what the connection string says

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: test a connection from the secret card through a shared connection-test module, show provider steps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: render the secret card's provider steps as markdown

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: test saved storage resources from their stored value, key retry ownership by kind

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: say how each saved-resource check reads its secrets, reattach saveSecretRequest's comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: serve request_secret to MCP clients through a signed link to a secure input page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: open the secure input page on its own, outside the app's navigation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: ask only what shapes the secret card, label its fields per the form guidelines, load the user on the secure input page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: save the secure input card's secrets and resource as drafts the AI offers to deploy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: name the resource and encrypted variables the secure input card saves, copy the reply to the assistant

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: confirm before the secret card replaces your drafts, keep a replaced secret's expiry, record and report saves landing after stop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:49:22 +01:00
Ruben FiszelandClaude Opus 5.5 a8b2228753 fix: bind datatable() args as literals and read _FLOW_PATH on previews (#12638)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:42 +01:00
Ruben FiszelandClaude Opus 5.5 90e938492a refactor: build rust crates in their own dir and quote jail mount paths (#12639)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:31 +01:00
Ruben FiszelandClaude Opus 5.5 2df2c83313 fix: pin definer function search_path and check sql contextual vars (#12640)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:22 +01:00
Ruben FiszelandClaude Opus 5.5 a2de1979bb fix: give jailed uv lock its own cache and copy no symlinked deps (#12641)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:13 +01:00
Ruben FiszelandClaude Opus 5.5 b23037e3e1 fix: pass ai agent tools only the inputs in their schema (#12642)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:03 +01:00
Ruben FiszelandClaude Opus 5.5 b8e3eff2d0 refactor: set workspace env in the jail config, per-workspace deno cache (#12643)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:55 +01:00
Ruben FiszelandClaude Opus 5.5 1683b80185 fix: scope app dependency relock to the job's workspace (#12644)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:45 +01:00
Ruben FiszelandClaude Opus 5.5 bebc6221fa refactor: per-job bun install cache, workspace-keyed bundle cache (#12645)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:27 +01:00
Ruben FiszelandClaude Opus 5.5 114d68456e fix: read request bodies as plain json and keep cancel reasons literal (#12646)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:16 +01:00
Ruben Fiszelandrubenfiszel 10a9d3bf89 chore(main): release 1.883.0 (#12608)
* chore(main): release 1.883.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-24 12:36:43 +01:00
2ca87efdb8 feat: pick how to connect a resource in a wizard, one row per provider (#12418)
* feat: pick how to connect a resource in a wizard, one row per provider

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep custom _sandbox type names and drop a stale BYO instance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep the import path on manual entry and unblock Back from an invalid form

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: stepper only for a real choice of method, badges say how a provider connects

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: fetch provider badges only with the list shown, keep scopes on method re-pick

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: drop the one-click setup badge from the provider list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: drop a comment about the removed Others section

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: mix custom resource types into the list, first and badged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: read the sign-in badge from list_connects, no request per provider

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: badge providers whose admin shares client credentials, render the list once in order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: word shared client credentials as instance-level, not an admin's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to a403f3ce12fd150dd649098e61562eda1e6a4d81

This commit updates the EE repository reference after PR #1004 was merged in windmill-ee-private.

Previous ee-repo-ref: d29259b728e6da017caeec86ef6df304d8cace17

New ee-repo-ref: a403f3ce12fd150dd649098e61562eda1e6a4d81

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-24 12:32:32 +01:00
c3cb814e9e feat: store refreshed installation JWT for managed GitHub app git sync (#12592)
* chore: bump ee ref for refreshed installation JWT storage

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: bump ee ref for x-wm-jwt-refresh header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to ab02cdcdd4b936e8f1c905fc70df182d1a58e5bb

This commit updates the EE repository reference after PR #1002 was merged in windmill-ee-private.

Previous ee-repo-ref: d383fe1e30f95607d596b17ea52347f8ff149608

New ee-repo-ref: ab02cdcdd4b936e8f1c905fc70df182d1a58e5bb

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-24 12:24:27 +01:00
Ruben FiszelandClaude Opus 5.5 304f912183 feat: alert on same-tag wait deadlocks and fail the waiting parent (#12613)
* feat: alert on same-tag wait deadlocks and fail the waiting parent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: fail a deadlocked wait only when every holder is waiting on it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: count a parent as waiting only when its sdk wait says so

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf: monitor only checks open tag deadlock alerts for recovery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(rust-client): pass wait_for_child from wait_job

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf: reach a parent's stuck child through its waiting mark

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:08:40 +01:00
Ruben FiszelandClaude Opus 5.5 b917f6f458 stop concurrent C# first builds racing in .NET first-run setup (#12625)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:05:01 +01:00
Ruben FiszelandClaude Opus 5.5 ade2a55e86 feat: let the workspace error handler skip jobs started from the UI (#12624)
* feat: let the workspace error handler skip jobs started from the UI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: address review of the ui-run error handler mute

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:44:59 +01:00
shamnad-sheriefandcubic-dev-ai[bot] 7d5a09af83 fix(worker): fall back to host RAM when cgroup v2 memory.max is max (#12588)
* fix(worker): fall back to host RAM when cgroup v2 memory.max is max

* fix(worker): preserve explicit 0 in cgroup v2 memory.max

* update comment

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-11-24 09:46:53 +00:00
shamnad-sherief 3495d42f78 perf(worker): read cgroup and proc files directly instead of spawning cat (#12614) 2026-11-24 09:46:39 +00:00
Ruben FiszelandClaude Opus 5.5 db218c0d3a fix: raise windmill-worker macro recursion limit so main builds again (#12612)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:29:13 +01:00
Ruben FiszelandClaude Opus 5.5 e6d9ff8f95 feat(nsjail): make rlimit_fsize configurable per worker (NSJAIL_RLIMIT_FSIZE_MB) (#12609)
python3, ansible and dbt nsjail run configs hard-code rlimit_fsize: 1000, so a
jailed job cannot write any single file larger than 1000 MiB, even with a
disk-backed /tmp (nsjail_tmp_backing=disk) and plenty of worker disk. Jobs that
download multi-GB files (e.g. a 1.75 GB CSV) fail, while the same job works
under unshare.

Add NSJAIL_RLIMIT_FSIZE_MB (worker env, read at startup): MiB, or
unlimited/none/inf/0 for rlimit_fsize_type: INF. Unset keeps 1000 MiB. Reuses
the rlimit_as renderer, now generic over the field name. Total space stays
bounded by the /tmp tmpfs size or, when disk-backed, the worker's disk.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:26:39 +01:00
GuilhemandClaude Opus 5.5 1fb70c4fab feat: restore working in a new fork from the Home session composer (#12559)
* feat: restore working in a new fork from the Home session composer

* feat: ask for a fork or, for a bypasser, direct work when building in a protected workspace from Home

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: let direct work be left without forking, and check staged ids with the server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: suggest a dev workspace's id, badge a staged dev workspace, and stage off a fork lock's dev workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:30:42 +01:00
1d3fcb4a06 fix: harden telemetry submission (#12606)
* [ee] fix: harden telemetry submission

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to fe0b119cd8292b1dcaf12100192ab7f4ec53fb48

This commit updates the EE repository reference after PR #1003 was merged in windmill-ee-private.

Previous ee-repo-ref: ddad2700daf20a9680de917ab0ff78a5e1444758

New ee-repo-ref: fe0b119cd8292b1dcaf12100192ab7f4ec53fb48

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-23 21:26:18 +01:00
Ruben Fiszelandrubenfiszel 28985a122c chore(main): release 1.882.0 (#12578)
* chore(main): release 1.882.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-22 16:13:27 +01:00
Ruben FiszelandClaude Opus 5.5 4e5fc300f3 feat: add an instance setting for raw app versions to keep (#12577)
* feat: add an instance setting for full-code app versions to keep

`raw_app_versions_to_keep` makes the monitor delete each raw app's versions past
the newest N, with their bundles. A version superseded less than an hour ago and
a version a draft is based on are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: validate the versions to keep in the UI as the server does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: read the drafts' bases per batch while pruning app versions

A first pass over a long history runs for minutes, so a draft saved during it
was not seen by the snapshot taken with the candidates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: never date a version's supersession before the version itself

`created_at` is when a deploy started, so a successor can carry the older one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep pruned app versions' rows while object storage is down

`get_object_store` answers `None` both for no storage and for storage that
failed to build or refresh, and deleting the rows then orphans the bundles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:24:30 +01:00
Ruben Fiszelandrubenfiszel 443f41283e chore(main): release 1.881.1 (#12576)
* chore(main): release 1.881.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-21 09:13:56 +01:00
Ruben Fiszelandrubenfiszel 184b97d2f6 chore(main): release 1.881.0 (#12554)
* chore(main): release 1.881.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-20 18:08:28 +01:00
64995fae4a feat: hide items from home's recently run panel (#12572)
* feat: hide items from home's recently run panel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: list hidden recent-run items only within the folder filter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: store hidden recent-run items server side and leave them out of counts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: carry hidden recent-run items over a workspace id change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: carry hidden recent-run items over email changes and user removal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: pin hidden recent-run items leaving every count

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: drop the hidden recent-run items test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 18:04:22 +01:00
d538f2adfa fix: relax git auto-pull polling only once the webhook has delivered (#12532)
* fix: relax git auto-pull polling only once the webhook has delivered

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a delivering webhook verified while its last pull failed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: state the caller contract of the webhook verification writer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: do not count a ref's first auto-pull as a missed webhook delivery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to 6c06d688fe435630e2827bc177f066d2646bb768

This commit updates the EE repository reference after PR #996 was merged in windmill-ee-private.

Previous ee-repo-ref: 095ef5033bff64ed5b2d08c84bb0037b83449d88

New ee-repo-ref: 6c06d688fe435630e2827bc177f066d2646bb768

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 16:55:30 +01:00
Tristan TRandClaude Fable 5.2 4fd4b04947 feat(hub): publish a folder's AI agents with their project (#12490)
* feat(hub): publish a folder's AI agents with their project

A saved AI agent is an `ai_agent` resource, and the Hub bundle shipped every
resource as an empty stub: a project built around an agent reached the Hub with
the agent's tools and without the agent.

- The publish screen lists a folder's agents as items. An agent is bundled like
  the one-step flow a run makes of it, so the scripts its tools run come along
  and its `$res:` references (provider, tools' fixed inputs) are relocated by
  the same code as a flow's. Its deploy identity and sharing switches stay here.
- Agents are synced as a set after the items (`POST /hub/agents`).
- Its demo is a conversation: "Record conversation" chats with the agent in a
  conversation of its own, one run per message, and saves each turn with its
  run (`POST /hub/projects/{slug}/agent_recording`).
- Installing a project recreates its agents after the resource stubs they
  point at.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(folders): count a folder's AI agents on their own

The Folders table counted a saved agent among the resources, so a folder built
around an agent showed nothing that said so. Agents get their own column, and
the resources count is the credentials and other resources only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(hub): hand agents to the deploy layout as the resource rows it knows

Widening the shared layout's item kind broke the workspace deploy screen, which
passes that kind on. The layout already draws an agent as a resource row it is
told about (isAgent): the publish screen now uses that, and the layout is
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* List the agents a flow or script uses in its Hub dependencies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Export the read-only AI chat components from the package

The Hub renders recorded agent conversations with the same components as the
AI Sessions share page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Record only the current turn's tool calls; address review nits

- readAgentTurn reads the messages after the turn's own user message: a run
  with memory returns the whole conversation, so turn N repeated the tools of
  turns 1..N-1. Covered by a two-turn test.
- randomUUID from $lib/utils/uuid instead of crypto.randomUUID, which is
  missing on instances served over plain http.
- The record drawer's message box uses TextInput instead of a raw textarea.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Ship agents' MCP servers and variables; keep background tool calls

- extractAgentRefs and rewriteAgentValue read an MCP tool's resource_path,
  which the flow walker skips, so its resource is stubbed and relocated
  instead of left pointing at the publisher's path.
- collectExportVarPaths visits agents, so a variable only an agent uses is
  relocated on retarget and gets its placeholder on install.
- readAgentTurn ignores the user messages that carry a background tool's
  result (tagged with agent_action) when finding the turn's start, so a turn
  that waits on a background tool keeps its call.
- The record buttons use unifiedSize instead of the deprecated size.

Tests for each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Ship nested MCP servers and linked agents; surface agent-list failures

- The flow walker reads, on every aiagent step or tool, the saved agent it
  links to (`agent`) and its MCP tools' `resource_path`, and the rewriter
  relocates both keeping their prefix. This covers agents nested as tools and
  flows with agent steps, not only an agent's own tools.
- A referenced `ai_agent` resource is pulled into the bundle as an agent,
  so a linked agent from another folder ships whole instead of as an empty
  stub.
- The agent list no longer swallows failures: agents sync as a full set, so
  publishing without them would have removed them from the Hub.

Tests for the nested MCP tool, the linked agent's retarget and the linked
agent from outside the folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Walk an agent's whole value for references; harden recording

Bundling
- A saved agent is read unvalidated and its tools nest, so references are no
  longer looked up field by field. One walk over the whole value serves
  extraction, rewriting and the install check: whole-string $res: values,
  $res: tokens in rawscript content, and the shapes that name things by path
  ({type: script|flow, path}, {type: aiagent, agent}, {tool_type: mcp,
  resource_path}) wherever they sit. Covers tool_inputs, output_schema and
  any key added later.
- Inputs are read as the worker reads them: a static value is data (only
  whole-string refs count), a JavaScript expr is never resolved. Only on real
  input entries, so nothing can be hidden beside them from the install check.
- Prose holding a $res: token mid-sentence is no longer a reference.
- enabled_tools follows an MCP server to its new path.
- An agent named by a trigger is shipped whole like one an item references.

Recording
- An agent parked on an approval or a question is detected and its run
  cancelled with a clear message; closing the drawer or disposing the session
  cancels the run in flight.
- Turns no longer keep the whole run: it names who ran it and holds the agent
  as the workspace stores it. Structured-output calls are not shown as tools;
  web searches are.
- Send is disabled while saving; a failed message is handed back to retype; a
  save does not close another agent's drawer.
- The empty agent sync ignores only a 404.

Backend: agent_recording requires the recording key (null clears). OpenAPI:
agents is required in folder usage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review: install strips identity keys, shared transcript, one agent walk

- importAgent drops on_behalf_of, run_on_behalf_of and slack_anyone, through
  the same helper as publish: an export written through the Hub API could
  otherwise bind the agent to whoever installs it.
- The recorder draws the conversation with AgentRecordingTranscript, the AI
  chat's read-only components, so tool arguments and results are seen before
  they are saved. The component and the turns-to-messages mapping are
  exported for the Hub page to use the same ones.
- readAgentTurn moves to aiAgentResult.ts on top of parseAgentResult;
  STRUCTURED_OUTPUT_CALL has one copy.
- The flow walker hands an aiagent step's agent part to walkAgentConfig
  instead of recognising the shapes itself; comments trimmed.
- deserialize_explicit is generic.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Record an agent's demo in the agent's own chat

The record drawer embeds FlowChat as the agent page's Chat tab does (new
conversation, no sidebar), so the recorder uses the same composer, transcript,
tool cards and approval/question handling. Saving reads each answered
message off its completed run with readAgentTurn; failed or unfinished runs
are left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Retarget imported agents onto an existing resource; recorder guards

- "Use an existing resource" now sees saved agents: each ai_agent resource
  is read, those in the project have their resource references moved
  (provider, MCP servers, tool inputs) with the run identity preserved, and
  any reference left unmoved, outside the project or unreadable keeps the
  stub. Before, the stub could be deleted under an agent still reading it.
- Closing the record drawer or disposing the session cancels the run in
  flight, which the chat stops following but does not stop.
- Saving waits for the message being answered instead of leaving it out,
  and says how many failed messages were left out.
- The recorder warns when the agent keeps no managed memory.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Move enabled_tools with a reused MCP resource; cancel a late run

- rewriteAgentResourceRefs goes through rewriteAgentConfig, so the
  enabled_tools entry naming an MCP server follows it when an existing
  resource replaces the stub. The worker matches names exactly and dropped
  the server otherwise.
- A run whose id comes back after the record drawer closed is cancelled:
  it was not tracked yet when the close looked for a run to stop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 16:37:39 +01:00
a44f315269 fix: respect minimal telemetry on manual stats send and download (#12570)
* fix: respect minimal telemetry on manual stats send and download

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to d01848c5a62d19896cf5c67dd0b69582e5365be9

This commit updates the EE repository reference after PR #1001 was merged in windmill-ee-private.

Previous ee-repo-ref: aa41f4277be8f39dc71cbb044f817da0fcb82a4f

New ee-repo-ref: d01848c5a62d19896cf5c67dd0b69582e5365be9

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-20 16:32:47 +01:00
hugocasaandClaude Opus 5.5 cdba6b0036 fix: resolve scoped packages in the npm proxy behind strict registries (#12568)
* fix: resolve scoped packages in the npm proxy behind strict registries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: drop the npm proxy status unit test the registry test covers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:30:01 +01:00
hugocasaandClaude Opus 5.5 a9326142d1 fix: reload the npmrc and cargo_registries settings without a restart (#12569)
* fix: reload the npmrc instance setting without a restart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: reload the cargo_registries instance setting without a restart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:27:49 +01:00
Ruben FiszelandClaude Opus 5.5 7f5bdee834 feat: let a subflow step override its worker tag (#12556)
* feat: let a subflow step override its worker tag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: route a subflow step test like the flow does and regenerate MCP session exports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: test an untagged subflow step on its preserving parent's tag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:57:49 +01:00
Ruben FiszelandClaude Opus 5.5 b8a24bdd5c rebuild std for the tree-sitter wasm parsers (#12566)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:46:01 +01:00
e061d11826 fix: hand flow previews on an agent's tag to a flow worker (#12563)
* fix: hand flow previews on an agent's tag to a flow worker

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: say which flow previews the pull requeue now covers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to 57c9ae5b1b5c594fcdd9b398052a24006a367117

This commit updates the EE repository reference after PR #1000 was merged in windmill-ee-private.

Previous ee-repo-ref: 5b81b24e5fca5933b23a830fef0c5ae6f36de11a

New ee-repo-ref: 57c9ae5b1b5c594fcdd9b398052a24006a367117

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-20 12:10:52 +01:00
2eddc5d9cc feat: fill argument descriptions from JSDoc @param and Python Args: (#12515)
* feat: fill argument descriptions from JSDoc @param and Python Args:

windmill-parser-ts reads the @param lines of the JSDoc block on the
entrypoint function and passes each description as the argument's otyp,
the way windmill-parser-py already passes docstring Args: text. The
editor's inferArgs now turns that text into the schema property's
description for Python and TypeScript, so both show in the run form.

Part of #2451

* fix: keep jsdoc descriptions apart from the union marker, describe server-side schemas

A JSDoc @param description containing both `[` and `|` would read as the
`T | T[]` union marker it shares `otyp` with, so the parser leaves it out.
main_arg_schema, used when a deploy sends no schema, now also turns a
non-union `otyp` into the property description for Python and TypeScript,
as the editor's inferArgs does.

* fix(cli): take argument descriptions from code in generate-metadata

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a typed description on an empty doc entry and skip comment collection on the job path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: let a description from code fill an empty one, never replace a typed one

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:07:01 +01:00
Ruben FiszelandClaude Opus 5.5 b08a2aada1 show the fairness reserve toggle only when it can matter (#12557)
* feat: show the fairness reserve toggle only when workspace fairness is on or the group is a reserve

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

* fix: drop the fairness-off warning once the reserve is switched off in the drawer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:07:44 +01:00
Ruben FiszelandClaude Opus 5.5 42c9cdd0dc fix: enforce access checks on cancel_persistent and flow_dependencies (#12551)
* fix: enforce access checks on cancel_persistent and flow_dependencies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: check cancel access on every persistent-cancel batch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: skip vanished and later-started runs in persistent cancel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:57:31 +01:00
Ruben Fiszelandrubenfiszel 66262f364a chore(main): release 1.880.1 (#12552)
* chore(main): release 1.880.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 23:04:58 +01:00
Ruben Fiszel cb824de928 fix: make the mssql database manager work under case-sensitive collations (#12550) 2026-11-19 23:00:24 +01:00
Ruben Fiszelandrubenfiszel b40552c5f4 chore(main): release 1.880.0 (#12548)
* chore(main): release 1.880.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 19:24:46 +01:00
Ruben FiszelandClaude Opus 5.5 50daf70337 fix: name a step inside a subflow sub:inner in flow tests (#12549)
Matches the sub:inner id the flow graph shows for a step of an expanded
subflow, and avoids reading like a field of the step's result.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:18:16 +01:00
Ruben Fiszelandwindmill-internal-app[bot] 5583c680d4 feat: record and download a worker group's autoscaling decisions (#12542)
* feat: record and download a worker group's autoscaling decisions

* fix: count decisions without fetching them and show the controls to devops only

* chore: update ee-repo-ref to cac1d382a7c22e8a4e9c56832ad12d11de5bba7f

This commit updates the EE repository reference after PR #999 was merged in windmill-ee-private.

Previous ee-repo-ref: e2232bda0cea3c1abcdac88140f48f6c7d90d15d

New ee-repo-ref: cac1d382a7c22e8a4e9c56832ad12d11de5bba7f

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-19 18:33:57 +01:00
AlexRV12 6c2c5cf46c fix: hold the configured AI key to its output token limits (#12543) 2026-11-19 17:50:41 +01:00
Alexander PetricandClaude Opus 5.5 cbf44b36f3 fix(api): noindex public app pages on cloud (#12547)
Public apps (`/public/` and custom paths `/a/`) on cloud get linked from
outside and indexed under the cloud domain. Serve them with
`X-Robots-Tag: noindex, nofollow` on cloud, next to the existing `/user/`
rule. Self-hosted instances are unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:40:32 +01:00
Ruben Fiszelandrubenfiszel 87c9d0d1fe chore(main): release 1.879.0 (#12541)
* chore(main): release 1.879.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 15:37:43 +01:00