Commit Graph
15925 Commits
Author SHA1 Message Date
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
Ruben FiszelandClaude Opus 5.5 e810cbb93a feat(cli): 30-day CLI login tokens with expiry picker and token roll (#12621)
* feat(cli): 30-day default CLI login tokens, expiry picker and wmill workspace login

The browser authorization page minted CLI tokens that never expired. It now
offers an expiration (30 days by default) within max_token_expiration_days.
An expired or revoked stored token gets a clear message before the CLI signs
in again, and `wmill workspace login` replaces a profile's token on demand,
revoking the previous one when the browser login created it.

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

* fix(cli): keep re-login output off stdout, reject a mismatched --base-url

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

* fix(cli): keep a token other profiles still use, log login port to stderr

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:17:57 +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
AlexRV12 a87ab5d6ac fix: stop AI sessions rewriting the tab's copy of the AI settings (#12615)
* fix: stop AI sessions rewriting the tab's copy of the AI settings

* chore: clarify the template picker's session config comment
2026-11-24 10:23:12 +01:00
hugocasaandClaude Opus 5.5 5044d02325 fix: serialize BigInt and non-finite elements of sql template arrays (#12616)
* fix: serialize BigInt and non-finite elements of sql template array args

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

* docs: note how json-typed array args keep serialized elements

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:22:05 +01: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
hugocasaandClaude Opus 5.5 ff8f2e05fb fix(cli): require the dot in .fetch.ts/.bun.ts/.deno.ts language suffixes (#12583)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:28:16 +01:00
Ruben FiszelandClaude Opus 5.5 ba0ef82eed feat: show who deployed each version in script and flow history (#12587)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:28:03 +01:00
hugocasaandClaude Opus 5.5 a5c7dd4f69 fix: steps inside expanded subflows on the flow detail and run pages (#12591)
* fix: flow detail page steps inside expanded subflows, show approvers

- Resolve a step inside an expanded subflow from the expansion's modules, so
  its detail panel shows the step instead of a bare node id.
- Key expanded subflows' groups and modules by their prefixed node ids, so
  expanding the same subflow at two steps no longer trips cycle detection and
  inner step ids no longer shadow the parent flow's steps.
- Show an approval step's approvers, required approvals and timeout in the
  step panel.

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

* fix: drop the approval section from the step panel

Approvers will be shown in a separate change.

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

* fix: show definitions of expanded subflow steps on the run page, link subflow paths

The run page's Node definition tab looked the selected step up in the run's
top-level modules only, so a step inside an expanded subflow showed nothing.
Both viewers now resolve it through expandedSubflowStepOf. A subflow step's
path in the step panel links to that flow.

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

* fix: render script and subflow paths in the step panel as the same accent link

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

* fix: step panel path links use the graph's step icon and an external link icon

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

* fix: drop the copy path button from the subflow step panel

The path is shown in full as a link, as for workspace script steps.

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

* feat: show which subflow an expanded step belongs to

The step panel of a step inside an expanded subflow names the subflows crossed
to reach it, each linking to its flow, on the detail and run pages. The graph
node's hover popover gives the step's full position (g › a › b) instead of the
badge's slow native tooltip.

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

* fix: graph node tooltips use the standard tooltip, step parentage on the id badge

The step label's tooltip moves off the deprecated popover onto the shared
Tooltip, and no longer repeats the path when it is the label. An expanded
step's subflow steps show as badges in a tooltip on its id badge.

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

* feat: link the script or subflow path from a graph node's tooltip

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

* fix: address review findings on the step links and tooltips

- No link for a script or flow step whose path is still empty.
- An inline script with a path and no summary keeps its label in the tooltip.
- Hub flow paths link to the hub from the step panel.
- subflowPathChain uses $bindable() without a default.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:27:40 +01:00
AlexRV12 3ceff81e72 fix: use the session's AI config in session editor tabs (#12593)
* fix: AI features in session editor tabs use the session's AI config

* fix: hide the completion toggle until the session's AI config loads
2026-11-23 21:27:27 +01:00
Guilhem 1fe3704515 fix: make schedule and trigger lists usable on small screens (#12594)
* fix: make schedule and trigger lists usable on small screens

* fix: keep row actions on the title line for draft rows on phones

* fix: let native trigger titles shrink on phones
2026-11-23 21:27:05 +01:00
GuilhemandClaude Opus 5.5 344694ada7 feat: redesign the token scope picker and add a scope search (#12595)
* feat: redesign the token scope picker and add a scope search

Put label and expiration before permissions and hold the picker in one
card: selected scopes on top, a search over groups and scopes, and one
checkbox per scope showing its exact scope string. Read-only groups
(Trigger History, Documentation, Data Metrics) can now be ticked as a
whole, and the first row of selected scopes no longer shifts the list.

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

* feat: pick token scope paths with a path picker

Restricting a scope to paths now uses one select-like field per scope:
browse folders, search items, or type a path that matches nothing. It
reuses the workspace tree the chat context picker builds, so drafts show
under their friendly path, and offers empty folders for scopes on other
resources. The group counter now counts the read scope implied by write.

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

* fix: list the token's workspace in the path picker and keep Escape for its list

- The path picker lists the folders and items of the token's own workspace, which an
  edited token may hold apart from the workspace on screen.
- An open picker sits on the overlay stack, so Escape closes its list instead of the
  token edit dialog around it.
- A group checkbox also grants bare run scopes (apps:run, resources:run).

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:26:50 +01:00
GuilhemandClaude Opus 5.5 3a720da989 fix: derive chat lookup grouping from tool definitions (#12596)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:26:33 +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>
v1.882.0
2026-11-22 16:13:27 +01:00
Ruben FiszelandClaude Opus 5.5 374d9d1c37 chore: publish npm packages with trusted publishing (#12579)
* chore: publish the client and cli with npm trusted publishing

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

* chore: drop the npm token script and pass the client's access level

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:49:14 +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>
v1.881.1
2026-11-21 09:13:56 +01:00
Ruben Fiszel dc84446e47 fix: pin oracle instantclient stage to amd64 in full ee image 2026-11-21 09:00:55 +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>
v1.881.0
2026-11-20 18:08:28 +01:00
AlexRV12 2390f11c78 fix: offer script-step test and edit to compose roles with code (#12574) 2026-11-20 18:08:02 +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
AlexRV12 8b3b692b3c fix: session chat shows its own workspace's AI config (#12573) 2026-11-20 17:43:02 +01:00
6ec19f0fe5 feat: lead the run graph's error handler to the node that receives its output (#12516)
* fix: show retries, subflow error handlers and empty branches in the run graph

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

* fix: keep stale and preprocessor retries off other steps, show empty-branch note only on success

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

* fix: list retry attempts in the graph node panel, align approval page with brand guidelines

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

* fix: isolate retry attempt viewers and mount one list per view

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

* fix: give retry attempt viewers their own loop selection scope

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

* fix: mark a denied or timed-out approval on its own step in the run graph

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

* fix: show a recovered subflow as the failed step its parent records

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

* feat: lead the run graph's error handler to the node that receives its output

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

* fix: end a continuing branch-one's handler edge at the branch-one

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

* fix: hang the error handler of a denied approval from the approval step

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

* refactor: draw the handler edge on the same path instead of bowing around the column

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

* fix: pick a retried step's attempt on the graph, as a loop's iteration

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

* fix: clear a subflow's step states when switching attempts, keep the retry line for the preprocessor and error handler

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

* feat: one step settings bar with the attempt picker in its menu

* fix: keep a nested attempt pick, open loop and branch settings from the bar

* feat: show how many steps were retried inside a collapsed subflow

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

* feat: expand a subflow from its retried-inside line

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

* fix: use the design-system button for the retried-inside line

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

* feat: mark error handlers and the path a run took in the run graph

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

* fix: count error handlers only where one can have run, a few requests at a time

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

* fix: skip successful iterations when counting a subflow's error handlers

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

* feat: draw the run's path plain and dashed, with a dashed outline on steps that did not run

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

* feat: show retry and error handler counts together under a collapsed subflow, drop the not-run outline

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guilhem Lemouel <guilhemlemouel@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 17:13:42 +01:00
hugocasaandClaude Opus 5.5 5819ced95b fix(cli): show the workspace commands actually target in workspace list (#12464)
* fix(cli): show the git-branch-resolved workspace in workspace list/whoami/switch

When the current git branch matches a wmill.yaml workspace's gitBranch,
commands target that workspace regardless of the active profile, but
`workspace list`, `whoami` and `switch` only printed the stored profile.
Print a note naming the workspace commands actually target, as is already
done for fork branches. Skip it when --workspace is passed, since that wins.

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

* fix(cli): cover unmatched-branch and fork-base cases in the workspace target note

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

* fix(cli): read wmill.yaml diagnostics-safe in the workspace target note

Use a peek that never exits, throws or chdirs, flag a target with no local
profile, and drop the multi-workspace claim that the active profile is skipped.

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

* fix(cli): tolerate empty legacy entries and name the effective id in the single-workspace note

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:56:01 +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
GuilhemandClaude Opus 5.5 c8d047905e feat: give the chat's deploy confirmation a card of its own (#12571)
* feat: give the chat's deploy confirmation a card with editable fields and a diff

* fix: refuse a picked deploy path that is already taken

* fix: show the folder default user a first deploy will run as

* fix: close the run-as picker once a user is chosen

* fix: let Escape stop a turn in a drawer and seed the card from the staged path

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

* fix: read a raw app's staged path before canonicalizing its unsaved draft

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

* chore: drop the deploy card dev page

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:50:42 +01:00
GuilhemandClaude Opus 5.5 a8f7c56c7e fix: store an artifact edit only when made on its latest version (#12477)
* fix: store an artifact edit only when made on its latest version

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

* fix: retry a session save with its latest state after making room

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

* refactor: drop artifact write branches no saved write can reach

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

* fix: keep a renamed plan's approval and catch stale edits earlier

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

* fix: word the stale artifact refusal without naming another tab

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

* fix: tell a private window apart from full storage in artifact refusals

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:37:52 +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
GuilhemandClaude Opus 5.5 1d38a6bd25 feat: outline an expanded subflow on hover and selection (#12560)
* feat: outline an expanded subflow on hover and selection in the flow graph

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

* fix: keep subflow layout linear when nested and below reserved head space

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

* fix: recognise expanded subflows by node type, not by id suffix

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:33:10 +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
fb13514e50 fix: retries, subflow error handlers and empty branches in the run graph (#12511)
* fix: show retries, subflow error handlers and empty branches in the run graph

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

* fix: keep stale and preprocessor retries off other steps, show empty-branch note only on success

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

* fix: list retry attempts in the graph node panel, align approval page with brand guidelines

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

* fix: isolate retry attempt viewers and mount one list per view

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

* fix: give retry attempt viewers their own loop selection scope

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

* fix: mark a denied or timed-out approval on its own step in the run graph

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

* fix: show a recovered subflow as the failed step its parent records

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

* fix: hang the error handler of a denied approval from the approval step

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

* fix: pick a retried step's attempt on the graph, as a loop's iteration

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

* fix: clear a subflow's step states when switching attempts, keep the retry line for the preprocessor and error handler

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

* feat: one step settings bar with the attempt picker in its menu

* fix: keep a nested attempt pick, open loop and branch settings from the bar

* feat: show how many steps were retried inside a collapsed subflow

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

* feat: expand a subflow from its retried-inside line

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

* fix: use the design-system button for the retried-inside line

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guilhem Lemouel <guilhemlemouel@gmail.com>
2026-11-20 13:58:42 +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
GuilhemandClaude Opus 5.5 775c371737 feat: show selection actions in the flow canvas right-click menu (#12561)
* feat: show selection actions in the flow canvas right-click menu

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

* fix: keep the flow canvas right-click menu inside the canvas

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:28 +01:00
Ruben FiszelandClaude Opus 5.5 67b1f15a63 chore: bump windmill-parser-wasm-ts and -csharp to 1.880.1 (#12565)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:46:16 +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
8ee2a7e500 fix: list running jobs in the inputs history of an older script version (#12493)
* fix: list running jobs in the inputs history of an older script version

On an older version of a script the Inputs library is keyed by the HEAD
hash, and the "currently running" list filtered jobs by that hash as a
path, so it never showed a running job. List running jobs by the script
or flow path instead, as on the latest version's page.

* refactor: reuse runsPath for the running jobs path

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 12:07:10 +01:00
Ruben FiszelandClaude Opus 5.5 554cfd0620 chore: remove the akeyless icon, the hub ships no akeyless type (#12564)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:02:47 +01:00
Ruben FiszelandClaude Opus 5.5 8dc728ec99 show workspace fairness settings and events only when relevant (#12562)
* feat: show workspace fairness settings and events only when they can matter

The three fairness tuning settings show only while workspace fairness is on,
and the Queues drawer's fairness events section hides when fairness is off and
there is no history to look back on.

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

* fix: keep the fairness events section hidden while its events load when fairness is off

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 11:07:42 +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 d23f4d46bb perf: keep only the open session's column off the sessions route (#12558)
* fix: re-read AI visibility and protection rules on return to sessions

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

* perf: keep only the open session's column off the sessions route

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

* fix: drop protection reads superseded by a refresh

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:59:54 +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 Fiszel 666f3e5577 fix: send null for untouched nullable inputs in run forms (#12553)
* fix: send null for untouched nullable inputs in run forms

* fix: fill nullable defaults only in forms submitted as run args

* fix: keep the nullable opt-out through nested object forms
2026-11-20 08:42:58 +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