Commit Graph
2181 Commits
Author SHA1 Message Date
Ruben FiszelandClaude Opus 5.5 680e8d2ba6 refactor: consolidate request origin handling
Move request origin classification into windmill-api-auth and reuse it for session-authenticated requests; adds SESSION_COOKIE_TRUSTED_ORIGINS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:37 +00:00
Ruben FiszelandClaude Opus 5.5 24b15a72e8 fix: app rendering mode for visitors
Apps opened by viewers outside their workspace use the isolated rendering mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:20 +00:00
Ruben FiszelandClaude Opus 5.5 7365bfdf68 fix: token scope matching cleanups
Scope matching and a few missing scope checks on resource and variable routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:04 +00:00
Ruben FiszelandClaude Opus 5.5 1a43ff8500 feat(mcp): show client details on the oauth consent page
The consent page shows the registered client name and redirect address; stricter scope parsing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:00 +00:00
Ruben FiszelandClaude Opus 5.5 b9e0e06878 fix: recordings and mcp tools loading tweaks
Replay recordings load without credentials; the MCP tool panel lists tools over POST when requested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:56 +00:00
Guilhem a32ae571ca fix: tidy the mcp show tool text fallbacks (#12713)
* fix: address cubic nits on the mcp show tool texts

* fix: mark a live log line that starts mid-line
2026-11-27 18:21:13 +01:00
GuilhemandClaude Opus 5.5 84e903848a fix: give mcp show tools a text fallback for clients without cards (#12707)
* fix: give mcp show tools a text fallback and load card data in claude

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

* fix: state the deploy review text without assuming a card and test structured content

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

* refactor: move the claude card loading to its own pr

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

* fix: say the running show_run text does not update

* fix: label a canceled run's error and drop the ellipsis on the too-large note

* fix: draw the windmill mcp card in claude desktop, which drops _meta (#12708)

* fix: load mcp card data through an app-only tool so claude draws the card

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

* fix: fall back to the show tool when a host refuses load_card

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:38:36 +01:00
hugocasa cb5d6a92c2 fix(mcp): hold each MCP call to its own token, workspace and route (#12709) 2026-11-27 17:33:53 +01:00
51e9017c67 feat: flag risky tokens and add a superadmin token review (#12693)
* feat: flag risky tokens in the tokens drawer and add a superadmin token review

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

* fix: load the whole token review at once and pin the risk rules in a test

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

* fix: a job tag filter alone does not narrow a privileged token

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

* fix: flag the rights a token carries, not the rights of its owner

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

* feat: flag tokens that work in every workspace and filter the review by flag

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

* perf: compute token risks in a view and page the review with a cursor

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

* fix: trust only reserved labels or short lifetimes as server-managed, keep the review cursor on raw rows

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

* fix: leave a day of clock skew on the server-managed token lifetime

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

* feat: make the instance-wide token list and deletion an EE feature

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

* fix: keep the token list EE in the CE image, which builds private

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

* chore: update ee-repo-ref to b3c5cbb7edcc42f3db92865896d472cdd8842cf9

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

Previous ee-repo-ref: 51a2425e60989d727d40330bdfa7b2d302224c9c

New ee-repo-ref: b3c5cbb7edcc42f3db92865896d472cdd8842cf9

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-27 16:24:34 +01:00
Ruben FiszelandClaude Opus 5.5 b2f3986f94 feat: edit token expiration and allowed IPs, widen only as far as mintable (#12703)
* feat: edit token expiry and allowed IPs, widening only as far as mintable

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

* docs: correct the job-token guard comments on app token mints

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

* fix: evict an edited token's cached identity on every API server

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

* feat: audit a token's full grant on creation and before/after values on edits

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:26:48 +01:00
Ruben FiszelandClaude Opus 5.5 55aec82102 feat: add token introspection endpoint and token test UI (#12702)
* feat: add token introspection endpoint and token test UI

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

* fix: report effective superadmin rights in token introspection

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

* fix: resolve guest tokens and check webhooks by path in token introspection

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:24:00 +01:00
hugocasaandClaude Opus 5.5 0496abbad8 feat: stop a loop once a failure threshold of iterations has failed (#12686)
* feat: stop a for loop once a failure threshold of iterations has failed

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

* fix: cancel unpulled iterations at the threshold, spare ones awaiting a retry or approval

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

* fix: cancel only iterations no worker picked up, fail on the threshold after a recovery

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

* test: pin that recovered iterations still reach the failure threshold

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

* feat: make the loop failure threshold an expression and support while loops

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

* perf: evaluate the loop failure threshold from the already-parsed loop step

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

* fix: skip the failure threshold of an empty for loop

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

* chore: address review nits on the loop failure threshold

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:49:50 +01:00
hugocasaandClaude Opus 5.5 f1edefa132 fix: apply token read-only flag to HTTP route calls (#12690)
* fix: apply token read-only flag to HTTP route calls

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

* fix: keep static-asset HTTP routes readable with a read-only token

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:49:33 +01:00
f5644d7f43 feat: make new tokens workspace-bound and rights-free unless opted in (#12695)
* feat: make new tokens workspace-bound and rights-free unless opted in

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

* fix: honour withheld token rights in devops, instance db and webhook rotation

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

* chore: bump ee ref

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

* fix: name token admin explicitly in every token insert

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

* fix: carry withheld token rights through caller JWTs and keep nonmember superadmin mints working

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

* chore: bump ee ref

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

* chore: update ee-repo-ref to 74c3a4ce446d8d9abd69c69da5be8bfdb6d775f4

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

Previous ee-repo-ref: 28e9391cff06b84fff9bd420a8b244c35588523a

New ee-repo-ref: 74c3a4ce446d8d9abd69c69da5be8bfdb6d775f4

Automated by sync-ee-ref workflow.

* feat: make the instance-wide token choice explicit in the token form

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

* feat: rename the token scope switch to restrict to specific scopes

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

* fix: refuse mcp oauth approval from a token withholding admin, warn on empty scope restriction

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

* feat: workspace choice on the cli login page and hints for workspace-bound cli tokens

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

* fix: bind a cli login token only to the workspace the cli names

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

---------

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-27 11:32:15 +01:00
f555024e73 feat: restrict api tokens to allowed ip ranges (#12679)
* fix: derive the client ip from trusted proxies only

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

* fix: read forwarded-for as raw bytes and add an explicit client ip header

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

* fix: strip the source port from cloudfront-viewer-address before parsing

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

* style: rustfmt client_ip

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

* feat: restrict api tokens to allowed ip ranges

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

* fix: inherit token ip restrictions on every mint and refuse login links

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

* fix: keep a webhook token's ip restriction when rotating it

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

* test: pin that webhook token rotation keeps allowed_ips

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

* perf: resolve the client ip only for restricted tokens and throttle refusal logs

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

* chore: update ee-repo-ref to 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

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

Previous ee-repo-ref: 6c8458630cea7c3082771db9f772c964ef11dcdf

New ee-repo-ref: 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

Automated by sync-ee-ref workflow.

* feat: show the caller's ip so a device can check what to allowlist

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

* feat: make token ip allowlists an ee feature

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

* refactor: move token ip allowlist logic into ee

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

* chore: update ee-repo-ref to cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

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

Previous ee-repo-ref: 98f8ade3347f3dcfc73962f4aa39618282f73fa3

New ee-repo-ref: cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

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-26 21:27:52 +01:00
Ruben FiszelandClaude Opus 5.5 b3ab8e22b3 feat: overwrite or discard each path conflict when reassigning user items (#12683)
* feat: overwrite or discard each path conflict when reassigning user items

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

* fix: guard offboarding conflict resolution against stale rows and cascades

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

* fix: match the departing user's rows literally in offboarding cleanup

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:00:28 +01:00
71f22fc6e9 feat: add a Require SSO workspace protection rule (#12681)
* feat: add a Require SSO workspace protection rule

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

* fix: serialize the sso checks per email and count new members in all

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

* docs: describe what the Require SSO rule refuses in the AI guidance

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

* fix: lock the account row instead of an advisory lock for sso checks

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

* fix: serialize sso checks for emails that have no account yet

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

* fix: check a password transition after the update locks the account

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

* fix: serialize every sso transition on one per-email lock

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

* fix: lock sso transitions only under a rule, in bounded buckets

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

* refactor: drop the locks around the sso checks

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

* docs: say what the password-login members listing returns

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

* chore: update ee-repo-ref to 04fb511569ecb790b24e0a2f70e316de34cbb067

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

Previous ee-repo-ref: b9eb85d7908eecfc3e22612db7e8028e458f208e

New ee-repo-ref: 04fb511569ecb790b24e0a2f70e316de34cbb067

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-26 15:57:37 +01:00
c689d74505 feat: record client IP and user agent on audit entries (#12673)
* feat: record client IP and user agent on audit entries

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

* fix: trust the compose network's proxy for the audit client IP

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

* fix: treat undecodable forwarded-for entries as a stop in the client IP walk

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

* fix: keep the legacy audit view in step with the new audit columns

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

* refactor: add the audit origin columns to audit_partitioned only

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

* revert: keep the legacy audit table and view in step with the new columns

Older servers read the legacy audit table in a SELECT * UNION ALL with audit_partitioned.

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

* chore: update ee-repo-ref to 8604f6779f08ff2208e85628503877edce8e2343

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

Previous ee-repo-ref: 8c44649a51062cf4f056792c0e2da09b7b7354b5

New ee-repo-ref: 8604f6779f08ff2208e85628503877edce8e2343

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-26 12:54:08 +01:00
182356ec35 feat: show why a step waits: sleep, concurrency limit, approval (#12607)
* feat: show sleeping and concurrency-held steps in the run page and graph

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

* fix: keep waiting reasons live while a run or flow sits idle

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

* fix: stop polling waits a concurrency limit cannot hold

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

* fix: drop stale waiting-step reads and clear ended sleeps

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

* feat: show who approved a flow run and the runs waiting for your approval

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

* fix: skip consumed approvals of a workflow as code and keep agent approval requests on the run page

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

* fix: confine waiting approvals to a token's tags, track a workflow's pending approval, show continued rejections

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

* fix: mark a recent run suspended only while it waits on an approval

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

* chore: regenerate the files derived from the OpenFlow schema

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

* fix: list a step's approvers without keying on their truncated resume id

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

* fix: drop the doubled lines in the run page's approvals card

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

* feat: show the approvals section on home by default, like recently run

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

* feat: show sleep and concurrency holds across the run graph, header and timeline

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

* fix: show sleeps in the blue of a job scheduled for later

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

* feat: list a waiting approval on home only when its step opts in

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

* feat: show waiting runs in recently run in violet with how long they have waited

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

* fix: show a waiting run's age in recently run like every other row's

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

* fix: show a sleep as a wait, marked by its moon rather than a color

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

* refactor: open every waiting approval on its approval page

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

* feat: open approval pages and the recent run link in a new tab

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

* fix: word approval rows like the approval page and align them with sibling UI

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

* feat: list a subflow, branch or loop approval in the run's approvals card

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

* feat: show nested approvals on the run page, with the steps leading to them

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

* perf: read only the nested runs that can hold an approval, and chain their step ids

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

* fix: select a nested approval's own node, refetch only when its waits change

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

* fix: keep nested approvals within the token's tag scope, test which steps are followed

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

* feat: link each waiting approval row to its approval page

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

* fix: order finished approvals by decision time, count approvals instead of steps

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

* feat: say a step is retrying in the progress bar instead of above the graph

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

* fix: show a nested wait in the progress bar, drop the graph's suspended line

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

* fix: follow nested loops of deployed flows, show continued timeouts, violet waiting bar

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

* feat: show the flow progress bar on the public run page

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

* fix: list approvals that timed out with no response, refresh the count after approving

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

* refactor: read approvers with a checked query

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

* feat: name who approved a waiting step so far

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

* feat: show each approval's time on hover

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

* perf: list Home approvals from the waiting step's status, not flow definitions

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

* feat: show the Approvals card in the runs page's detail panel

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

* fix: show approval times in a popover, not a native tooltip

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

* fix: put an approval step's resume form above its buttons

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

* feat: label a step waiting for approval and move concurrency holds above the step

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

* fix: label an approval wait above the step that waits for it

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

* feat: show the approval count and times on the approval page

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

* fix: leave skipped nested approval steps out of the history

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

* fix: count only the current step's approvals on the approval page

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

* fix: count a hold live on the key badge, quote step ids, drop the step count from wait badges

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

* fix: keep wait text gray with the color in its icon, say waiting for approval in node status

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

* fix: stop counting the hold of a run canceled while held

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

* chore: update ee-repo-ref to 302da0e8e3817d5cbda5cf1053a9fe89019d7c27

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

Previous ee-repo-ref: 6f6d8e3bf42a298c5eb90edab61d5a273d304a1a

New ee-repo-ref: 302da0e8e3817d5cbda5cf1053a9fe89019d7c27

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-26 00:09:00 +01:00
hugocasaandClaude Opus 5.5 3efe1e97a7 feat: show who approved a flow run, and list opted-in approvals on home (#12604)
* feat: show who approved a flow run and the runs waiting for your approval

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

* fix: skip consumed approvals of a workflow as code and keep agent approval requests on the run page

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

* fix: confine waiting approvals to a token's tags, track a workflow's pending approval, show continued rejections

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

* fix: mark a recent run suspended only while it waits on an approval

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

* chore: regenerate the files derived from the OpenFlow schema

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

* fix: list a step's approvers without keying on their truncated resume id

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

* fix: drop the doubled lines in the run page's approvals card

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

* feat: show the approvals section on home by default, like recently run

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

* feat: list a waiting approval on home only when its step opts in

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

* feat: show waiting runs in recently run in violet with how long they have waited

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

* fix: show a waiting run's age in recently run like every other row's

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

* refactor: open every waiting approval on its approval page

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

* feat: open approval pages and the recent run link in a new tab

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

* fix: word approval rows like the approval page and align them with sibling UI

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

* feat: list a subflow, branch or loop approval in the run's approvals card

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

* feat: show nested approvals on the run page, with the steps leading to them

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

* perf: read only the nested runs that can hold an approval, and chain their step ids

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

* fix: select a nested approval's own node, refetch only when its waits change

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

* fix: keep nested approvals within the token's tag scope, test which steps are followed

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

* feat: link each waiting approval row to its approval page

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

* fix: order finished approvals by decision time, count approvals instead of steps

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

* fix: show a nested wait in the progress bar, drop the graph's suspended line

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

* fix: follow nested loops of deployed flows, show continued timeouts, violet waiting bar

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

* feat: show the flow progress bar on the public run page

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

* fix: list approvals that timed out with no response, refresh the count after approving

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

* refactor: read approvers with a checked query

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

* feat: name who approved a waiting step so far

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

* feat: show each approval's time on hover

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

* perf: list Home approvals from the waiting step's status, not flow definitions

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

* feat: show the Approvals card in the runs page's detail panel

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

* fix: show approval times in a popover, not a native tooltip

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

* fix: put an approval step's resume form above its buttons

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

* feat: show the approval count and times on the approval page

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

* fix: leave skipped nested approval steps out of the history

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

* fix: count only the current step's approvals on the approval page

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:13:10 +01:00
hugocasaandClaude Opus 5.5 4b715c422a fix: check run scope on what a schedule or trigger save names (#12618)
* fix: check run scope on what a schedule or trigger save names

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

* fix: check run scope on native trigger saves

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:46:16 +01:00
Ruben FiszelandClaude Opus 5.5 783d89a92c fix: unblock backend CI and deno jobs with a script path (#12648)
* fix: remove unused serde_json::Value import in slack approvals

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

* ci: free runner disk before building integration tests

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

* ci: run the disk cleanup step outside the backend dir

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

* 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>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 02:40:48 +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 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
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
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 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
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
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
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
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 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 Fiszel cb824de928 fix: make the mssql database manager work under case-sensitive collations (#12550) 2026-11-19 23:00:24 +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
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 FiszelandClaude Opus 5.5 98439f8521 feat: test flows from the SDKs with mocked or replaced steps, subflows included (#12538)
* feat: test flows from the SDKs with mocked or replaced steps

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

* fix: walk only real flow modules and refuse overrides a step would ignore

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

* fix: harden flow tests against sdk tokens, rls, test-run pins and built-in tools

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

* fix: require the code capability to test a flow

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

* fix: refuse overriding ai agent tools in flow tests

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

* fix: refuse overriding the preprocessor, which a flow test never runs

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

* feat: override steps inside subflows in flow tests

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

* fix: gate subflow overrides on worker version and disable caching in flow tests

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

* docs: note subflows never run their preprocessor in flow test docstrings

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:40:33 +01:00
52b7625bdf fix(api): encode non-ASCII filenames in S3 Content-Disposition (#9634)
* fix(api): encode non-ASCII filenames in S3 Content-Disposition

Multipart S3 uploads stored Content-Disposition as
`inline; filename="<raw name>"`. For a non-ASCII file name (e.g. a Chinese
name) the stored header is not valid ASCII, so on download the object store
fails to read the attribute back (`HeaderValue::to_str`) and returns a 500:
"Content-Disposition header contained non UTF-8 characters".

Encode non-ASCII names with the RFC 6266 / RFC 5987
`filename*=UTF-8''<percent-encoded>` form, which is pure ASCII and is decoded
back to the original name by clients. ASCII names are unchanged.

Addresses #7456

* fix: send an ASCII filename fallback and escape quotes in Content-Disposition, also for HTTP route static assets

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-19 11:13:09 +01:00
b9dc5f26db feat: open shared AI sessions in the app (#12486)
* feat: open shared AI sessions in the app and list the ones you opened

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

* fix: date opened shares by when the reader opened them, and navigate shared rows by keyboard

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

* fix: drop the unreachable Stop sharing on the standalone page and never offer to open a draft-only item

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

* fix: show share authors as initials and send signed-out readers of a private share to login

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

* fix: list shared sessions after show older and leave a fork session's edits unopenable

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

* fix: drop the deployed-item link when a share does not name its edits' workspace

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

* fix: block outside images in shared transcripts when rendering instead of with a page policy, so leaving a shared session no longer reloads

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

* fix: drop picture sources in shared artifacts and treat a non-member on the in-app shared page as a reader

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

* feat: open a fork session's drafts for fork members, say why a shared draft is locked, and add a menu to shared sidebar rows

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

* feat: open shared artifacts in a session-style preview panel and add sign-in to the standalone shared page

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

* fix: block outside images when a shared artifact is printed to PDF and explain locked deployed rows

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

* fix: keep mermaid off in a shared artifact's PDF and lock deployed rows for a public share's non-member reader

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

* feat: count shared session opens and removals from the reader's list

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

* chore: update ee-repo-ref to 9ffb89ad54e2ab508573f8f7779b6471b49dcb9f

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

Previous ee-repo-ref: 6b1f4121b94920baba7234be2ed3cc9e5678722b

New ee-repo-ref: 9ffb89ad54e2ab508573f8f7779b6471b49dcb9f

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-18 23:29:52 +01:00
e24a4309d0 fix: resolve the caller's role capabilities at authentication (#12501)
* fix: resolve the caller's role capabilities at authentication

* chore: update ee-repo-ref to e4bfe4229dfd07f6c356835c2ac0e80c2729d582

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

Previous ee-repo-ref: 637d417668a1c3b4203cfedf782bd72648fdb102

New ee-repo-ref: e4bfe4229dfd07f6c356835c2ac0e80c2729d582

Automated by sync-ee-ref workflow.

---------

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-18 23:21:44 +01:00
AlexRV12 2c7d3fa98f fix: serve only enabled models on the workspace's configured AI key (#12527) 2026-11-18 23:14:51 +01:00
ae178a0287 fix: disable SAML instead of crashing when its metadata cannot be loaded (#12528)
* fix: disable SAML instead of crashing when its metadata cannot be loaded

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

* fix: retry a SAML metadata URL and raise a critical alert when SAML is disabled

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

* fix: bound the SAML metadata fetch with connect and request timeouts

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

* chore: update ee-repo-ref to 000a83d34767b44c041612df31e2a3e7e305d63a

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

Previous ee-repo-ref: 532321fdc399096402e5bfce38f3d5dcd7621404

New ee-repo-ref: 000a83d34767b44c041612df31e2a3e7e305d63a

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-18 23:13:32 +01:00
Ruben FiszelandClaude Opus 5.5 67165cabfc fix: let a workspace deps push survive a client or proxy timeout (#12523)
* fix: rebuild the dependency map off the request for workspace deps

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

* fix: force dependents to relock after the background map rebuild

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

* test: read the dependency map once the background rebuild has run

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

* fix: make the background workspace deps rebuild resumable

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

* fix: let a workspace deps push outlive its client instead of rebuilding in the background

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

* fix(cli): wait for a workspace deps push that got no response

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

* fix(cli): keep Node argument errors out of the network error message

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:56:36 +01:00
91de7252b8 feat: label for-loop iterations with a per-iteration expression (#12526)
* feat: label for-loop iterations with a per-iteration expression

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

* fix: evaluate iteration labels before the push transaction, under a timeout

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

* chore: point the EE ref at the iteration_label feature usage registration

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

* fix: stop QuickJS at its deadline and bound labelling a push as a whole

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

* fix: report an interrupted expression as timed out so eval retries it

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

* feat: put the iteration label behind a custom iteration labels toggle

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

* chore: update ee-repo-ref to 3389335a8f58de7a06ae0402ec1c4fdad3bf6122

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

Previous ee-repo-ref: dde2f1656939c8fc1fc8c75f3ddffcd637cce8a3

New ee-repo-ref: 3389335a8f58de7a06ae0402ec1c4fdad3bf6122

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-18 22:45:59 +01:00
Ruben FiszelandClaude Opus 5.5 39cb251ab8 feat: get an approval step's detail by flow run id and step id (#12521)
* feat: get an approval step's detail by flow run id and step id

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

* fix: gate approval step detail like the worker and reach it from run scopes

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 15:06:18 +01:00
AlexRV12 88ef4e9f3c fix: check new hub paths when a trigger or schedule is saved (#12465) 2026-11-17 12:12:14 +01:00
GuilhemandClaude Opus 5.5 364e729a08 fix: drop runs-page rows of queued jobs that completed as skipped (#12470)
* fix: drop runs-page rows of queued jobs that complete as skipped

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

* fix: advance the runs refresh cursor past hidden skipped jobs

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

* fix: fetch hidden skipped jobs in their own request on runs refresh

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

* fix: bound the hidden skipped-jobs scan and run it after the merge

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

* fix: page through hidden skipped jobs and ignore responses from a reloaded list

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

* fix: drop listed queued rows the runs refresh no longer returns

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

* fix: only drop rows queued when the refresh was sent

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

* fix: only drop queued rows when the refresh queue half is unbounded

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:11:21 +01:00